@productcraft/platform-auth 0.1.0 → 0.1.2
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.cts +390 -9
- package/dist/index.d.ts +390 -9
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1920,22 +1920,62 @@ interface components {
|
|
|
1920
1920
|
/** @description Optional per-service settings blob captured at enable time. */
|
|
1921
1921
|
settings?: Record<string, never>;
|
|
1922
1922
|
};
|
|
1923
|
-
|
|
1923
|
+
ErrorParamDto: {
|
|
1924
1924
|
/**
|
|
1925
|
-
* @description
|
|
1926
|
-
* @example
|
|
1925
|
+
* @description The failed rule (class-validator constraint name, e.g. `isEmail`, `isUuid`, `whitelistValidation` for a field the operation does not declare), or `invalid`.
|
|
1926
|
+
* @example isEmail
|
|
1927
1927
|
*/
|
|
1928
1928
|
code: string;
|
|
1929
1929
|
/**
|
|
1930
|
-
* @description
|
|
1931
|
-
* @example
|
|
1930
|
+
* @description What is wrong with it; the same text as the field's entry in an array `message`.
|
|
1931
|
+
* @example email must be an email
|
|
1932
|
+
*/
|
|
1933
|
+
message: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* @description Wire path of the invalid field: `email`, `items.0.display_name`.
|
|
1936
|
+
* @example email
|
|
1937
|
+
*/
|
|
1938
|
+
param: string;
|
|
1939
|
+
};
|
|
1940
|
+
ErrorResponseDto: {
|
|
1941
|
+
/**
|
|
1942
|
+
* @description Stable, machine-readable error code; branch on this, not on `message`. Always present. A route-specific code when the route defines one, otherwise the generic code for the status (`NOT_FOUND`, `VALIDATION_ERROR`, `RATE_LIMITED`, ...). Open set: accept codes you do not know. Each code is documented at https://productcraft.co/docs/errors#<code>.
|
|
1943
|
+
* @example NOT_FOUND
|
|
1944
|
+
*/
|
|
1945
|
+
code: components["schemas"]["PlatformErrorCode"];
|
|
1946
|
+
/**
|
|
1947
|
+
* @description Structured context for errors a client has to act on, keyed in snake_case and specific to the code (e.g. `{ fqdn, reason }` on `from_domain_not_verified`). Absent on most errors.
|
|
1948
|
+
* @example {
|
|
1949
|
+
* "fqdn": "mail.example.com",
|
|
1950
|
+
* "reason": "not_verified"
|
|
1951
|
+
* }
|
|
1952
|
+
*/
|
|
1953
|
+
details?: {
|
|
1954
|
+
[key: string]: unknown;
|
|
1955
|
+
};
|
|
1956
|
+
/** @description One entry per invalid request field on a `VALIDATION_ERROR`; empty on every other error. */
|
|
1957
|
+
errors: components["schemas"]["ErrorParamDto"][];
|
|
1958
|
+
/**
|
|
1959
|
+
* @description Human-readable error message. A string, or on a `VALIDATION_ERROR` an array with one message per invalid field (the same texts as `errors[].message`). Branch on `code`, not on this.
|
|
1960
|
+
* @example Domain not found
|
|
1932
1961
|
*/
|
|
1933
1962
|
message: string | string[];
|
|
1934
1963
|
/**
|
|
1935
|
-
* @description
|
|
1936
|
-
* @example
|
|
1964
|
+
* @description The request's id, same as the `X-Request-Id` response header. Quote it when contacting support.
|
|
1965
|
+
* @example req_6f1c2a9d4b7e4f0a8c3d2e1f0a9b8c7d
|
|
1966
|
+
*/
|
|
1967
|
+
request_id: string;
|
|
1968
|
+
/**
|
|
1969
|
+
* @deprecated
|
|
1970
|
+
* @description Deprecated alias of `status_code`, same value. Kept so existing clients keep working; read `status_code`. Error responses carry `Deprecation: true` while it is sent.
|
|
1971
|
+
* @example 404
|
|
1937
1972
|
*/
|
|
1938
|
-
statusCode
|
|
1973
|
+
statusCode?: number;
|
|
1974
|
+
/**
|
|
1975
|
+
* @description HTTP status code, same as the response status.
|
|
1976
|
+
* @example 404
|
|
1977
|
+
*/
|
|
1978
|
+
status_code: number;
|
|
1939
1979
|
};
|
|
1940
1980
|
FeedItemDto: {
|
|
1941
1981
|
/**
|
|
@@ -2357,6 +2397,8 @@ interface components {
|
|
|
2357
2397
|
*/
|
|
2358
2398
|
policy_id: string | null;
|
|
2359
2399
|
};
|
|
2400
|
+
/** @description Error codes this API returns (open set: a client must accept codes it does not know; new codes are not a breaking change). Each is documented at https://productcraft.co/docs/errors#<code>. */
|
|
2401
|
+
PlatformErrorCode: ("BAD_REQUEST" | "VALIDATION_ERROR" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_ALLOWED" | "NOT_ACCEPTABLE" | "REQUEST_TIMEOUT" | "CONFLICT" | "GONE" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_ENTITY" | "PRECONDITION_REQUIRED" | "RATE_LIMITED" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "SERVICE_NOT_ENABLED" | "INVALID_CREDENTIALS" | "SESSION_REVOKED" | "MCP_NOT_PERMITTED" | "MCP_WORKSPACE_MISMATCH" | "PAK_NOT_PERMITTED" | "ACTIONS_NOT_GRANTABLE" | "IDEMPOTENCY_KEY_REUSE" | "IDEMPOTENCY_KEY_REQUIRED" | "WEBHOOK_ENDPOINT_LIMIT" | "WEBHOOK_ENDPOINT_NOT_FOUND" | "WEBHOOK_ENDPOINT_NOT_SUBSCRIBED" | "WEBHOOK_EVENT_NOT_FOUND" | "WEBHOOK_EVENT_TYPE_UNKNOWN" | "ACCOUNT_DEACTIVATED" | "ACCOUNT_SUSPENDED" | "ALREADY_A_MEMBER" | "CROSS_ORIGIN_REJECTED" | "EMAIL_NOT_VERIFIED" | "INVITE_EMAIL_MISMATCH" | "INVITE_EXHAUSTED" | "INVITE_EXPIRED" | "INVITE_INVALID" | "INVITE_NOT_FOUND" | "INVITE_REVOKED" | "LAST_MEMBER" | "MEMBER_RANK_EXCEEDED" | "NOT_A_MEMBER" | "OAUTH_GRANT_ADMIN_REVOKED" | "OWNER_ROLE_REQUIRED" | "PAK_EXPIRED" | "PAK_NAME_REQUIRED" | "PAK_NAME_TOO_LONG" | "PAK_NOT_FOUND" | "PAK_REVOKED" | "PASSWORD_RESET_INVALID" | "POLICY_INVALID" | "POLICY_NAME_TAKEN" | "POLICY_NOT_FOUND" | "ROLE_HAS_MEMBERS" | "ROLE_NAME_TAKEN" | "ROLE_NOT_FOUND" | "ROLE_SYSTEM_IMMUTABLE" | "SERVICE_NOT_ACTIVATED" | "SERVICE_UNKNOWN" | "SOLE_OWNER" | "TOO_MANY_ATTEMPTS" | "WORKSPACE_KEY_REQUIRED") | string;
|
|
2360
2402
|
PolicyBindingCountDto: {
|
|
2361
2403
|
/** @description Number of platform API keys bound to this policy. */
|
|
2362
2404
|
pak: number;
|
|
@@ -3023,7 +3065,10 @@ interface components {
|
|
|
3023
3065
|
responses: never;
|
|
3024
3066
|
parameters: never;
|
|
3025
3067
|
requestBodies: never;
|
|
3026
|
-
headers:
|
|
3068
|
+
headers: {
|
|
3069
|
+
/** @description The request's id: the inbound `X-Request-Id` when it is 1 to 128 characters of `A-Z a-z 0-9 . _ : -`, otherwise a fresh `req_...` id. Error bodies repeat it as `request_id`. Quote it when contacting support. */
|
|
3070
|
+
RequestId: string;
|
|
3071
|
+
};
|
|
3027
3072
|
pathItems: never;
|
|
3028
3073
|
}
|
|
3029
3074
|
interface operations {
|
|
@@ -3038,6 +3083,7 @@ interface operations {
|
|
|
3038
3083
|
responses: {
|
|
3039
3084
|
200: {
|
|
3040
3085
|
headers: {
|
|
3086
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3041
3087
|
[name: string]: unknown;
|
|
3042
3088
|
};
|
|
3043
3089
|
content: {
|
|
@@ -3057,6 +3103,7 @@ interface operations {
|
|
|
3057
3103
|
responses: {
|
|
3058
3104
|
200: {
|
|
3059
3105
|
headers: {
|
|
3106
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3060
3107
|
[name: string]: unknown;
|
|
3061
3108
|
};
|
|
3062
3109
|
content: {
|
|
@@ -3077,6 +3124,7 @@ interface operations {
|
|
|
3077
3124
|
/** @description Account deleted. All sessions revoked, and any linked Sign in with Apple grant is queued for revocation with Apple. The revocation is durable and retried in the background, so a 204 does not depend on Apple being reachable. */
|
|
3078
3125
|
204: {
|
|
3079
3126
|
headers: {
|
|
3127
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3080
3128
|
[name: string]: unknown;
|
|
3081
3129
|
};
|
|
3082
3130
|
content?: never;
|
|
@@ -3084,6 +3132,7 @@ interface operations {
|
|
|
3084
3132
|
/** @description Missing, invalid or expired bearer token. */
|
|
3085
3133
|
401: {
|
|
3086
3134
|
headers: {
|
|
3135
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3087
3136
|
[name: string]: unknown;
|
|
3088
3137
|
};
|
|
3089
3138
|
content: {
|
|
@@ -3093,6 +3142,7 @@ interface operations {
|
|
|
3093
3142
|
/** @description The session lacks the required action for self-account deletion (defence-in-depth — the route is guarded but the cookie may be present without action access). */
|
|
3094
3143
|
403: {
|
|
3095
3144
|
headers: {
|
|
3145
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3096
3146
|
[name: string]: unknown;
|
|
3097
3147
|
};
|
|
3098
3148
|
content: {
|
|
@@ -3102,6 +3152,7 @@ interface operations {
|
|
|
3102
3152
|
/** @description No account row exists for the session principal. Should never fire for a valid session — surfaced for SDKs. */
|
|
3103
3153
|
404: {
|
|
3104
3154
|
headers: {
|
|
3155
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3105
3156
|
[name: string]: unknown;
|
|
3106
3157
|
};
|
|
3107
3158
|
content: {
|
|
@@ -3121,6 +3172,7 @@ interface operations {
|
|
|
3121
3172
|
responses: {
|
|
3122
3173
|
200: {
|
|
3123
3174
|
headers: {
|
|
3175
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3124
3176
|
[name: string]: unknown;
|
|
3125
3177
|
};
|
|
3126
3178
|
content: {
|
|
@@ -3130,6 +3182,7 @@ interface operations {
|
|
|
3130
3182
|
/** @description No bearer, or the key is unknown, revoked or expired. */
|
|
3131
3183
|
401: {
|
|
3132
3184
|
headers: {
|
|
3185
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3133
3186
|
[name: string]: unknown;
|
|
3134
3187
|
};
|
|
3135
3188
|
content: {
|
|
@@ -3139,6 +3192,7 @@ interface operations {
|
|
|
3139
3192
|
/** @description Signed in with a session or another token instead of a workspace key (`WORKSPACE_KEY_REQUIRED`). Send the `pcft_live_…` key as the bearer. */
|
|
3140
3193
|
403: {
|
|
3141
3194
|
headers: {
|
|
3195
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3142
3196
|
[name: string]: unknown;
|
|
3143
3197
|
};
|
|
3144
3198
|
content: {
|
|
@@ -3148,6 +3202,7 @@ interface operations {
|
|
|
3148
3202
|
/** @description The key was deleted while the request was in flight (`PAK_NOT_FOUND`). */
|
|
3149
3203
|
404: {
|
|
3150
3204
|
headers: {
|
|
3205
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3151
3206
|
[name: string]: unknown;
|
|
3152
3207
|
};
|
|
3153
3208
|
content: {
|
|
@@ -3172,6 +3227,7 @@ interface operations {
|
|
|
3172
3227
|
/** @description Logout successful (no content) */
|
|
3173
3228
|
204: {
|
|
3174
3229
|
headers: {
|
|
3230
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3175
3231
|
[name: string]: unknown;
|
|
3176
3232
|
};
|
|
3177
3233
|
content?: never;
|
|
@@ -3179,6 +3235,7 @@ interface operations {
|
|
|
3179
3235
|
/** @description Validation failed or invalid token */
|
|
3180
3236
|
400: {
|
|
3181
3237
|
headers: {
|
|
3238
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3182
3239
|
[name: string]: unknown;
|
|
3183
3240
|
};
|
|
3184
3241
|
content: {
|
|
@@ -3199,6 +3256,7 @@ interface operations {
|
|
|
3199
3256
|
/** @description Logout successful (no content) */
|
|
3200
3257
|
204: {
|
|
3201
3258
|
headers: {
|
|
3259
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3202
3260
|
[name: string]: unknown;
|
|
3203
3261
|
};
|
|
3204
3262
|
content?: never;
|
|
@@ -3206,6 +3264,7 @@ interface operations {
|
|
|
3206
3264
|
/** @description Missing or invalid access token */
|
|
3207
3265
|
401: {
|
|
3208
3266
|
headers: {
|
|
3267
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3209
3268
|
[name: string]: unknown;
|
|
3210
3269
|
};
|
|
3211
3270
|
content: {
|
|
@@ -3231,6 +3290,7 @@ interface operations {
|
|
|
3231
3290
|
responses: {
|
|
3232
3291
|
200: {
|
|
3233
3292
|
headers: {
|
|
3293
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3234
3294
|
[name: string]: unknown;
|
|
3235
3295
|
};
|
|
3236
3296
|
content: {
|
|
@@ -3240,6 +3300,7 @@ interface operations {
|
|
|
3240
3300
|
/** @description Unknown / expired state, provider state mismatch, or unknown provider id. */
|
|
3241
3301
|
400: {
|
|
3242
3302
|
headers: {
|
|
3303
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3243
3304
|
[name: string]: unknown;
|
|
3244
3305
|
};
|
|
3245
3306
|
content: {
|
|
@@ -3249,6 +3310,7 @@ interface operations {
|
|
|
3249
3310
|
/** @description Provider token verification failed, nonce replayed, or downstream identity could not be resolved. */
|
|
3250
3311
|
401: {
|
|
3251
3312
|
headers: {
|
|
3313
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3252
3314
|
[name: string]: unknown;
|
|
3253
3315
|
};
|
|
3254
3316
|
content: {
|
|
@@ -3275,6 +3337,7 @@ interface operations {
|
|
|
3275
3337
|
/** @description Redirect to provider authorize URL. */
|
|
3276
3338
|
302: {
|
|
3277
3339
|
headers: {
|
|
3340
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3278
3341
|
[name: string]: unknown;
|
|
3279
3342
|
};
|
|
3280
3343
|
content?: never;
|
|
@@ -3282,6 +3345,7 @@ interface operations {
|
|
|
3282
3345
|
/** @description Invalid `return_to` or unknown provider. */
|
|
3283
3346
|
400: {
|
|
3284
3347
|
headers: {
|
|
3348
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3285
3349
|
[name: string]: unknown;
|
|
3286
3350
|
};
|
|
3287
3351
|
content: {
|
|
@@ -3306,6 +3370,7 @@ interface operations {
|
|
|
3306
3370
|
/** @description Reset request accepted. Identical whether or not the email matched an account — in status, body, cost, and in what the server is left doing afterwards (see PasswordService.requestPasswordReset). Accepted is not delivered: if the address matched an account the mail was handed to the broker, but a broker outage is logged server-side and still answers 204, so never treat this status as proof an email was sent. */
|
|
3307
3371
|
204: {
|
|
3308
3372
|
headers: {
|
|
3373
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3309
3374
|
[name: string]: unknown;
|
|
3310
3375
|
};
|
|
3311
3376
|
content?: never;
|
|
@@ -3313,6 +3378,7 @@ interface operations {
|
|
|
3313
3378
|
/** @description Body failed validation (`email` missing or not an email address). Depends only on the request shape, never on whether an account exists. */
|
|
3314
3379
|
400: {
|
|
3315
3380
|
headers: {
|
|
3381
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3316
3382
|
[name: string]: unknown;
|
|
3317
3383
|
};
|
|
3318
3384
|
content: {
|
|
@@ -3322,6 +3388,7 @@ interface operations {
|
|
|
3322
3388
|
/** @description Rate limited: more than 10 requests/min from this IP (strict `auth` bucket). `Retry-After` header set. */
|
|
3323
3389
|
429: {
|
|
3324
3390
|
headers: {
|
|
3391
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3325
3392
|
[name: string]: unknown;
|
|
3326
3393
|
};
|
|
3327
3394
|
content: {
|
|
@@ -3346,6 +3413,7 @@ interface operations {
|
|
|
3346
3413
|
/** @description Password reset; all active sessions revoked. */
|
|
3347
3414
|
204: {
|
|
3348
3415
|
headers: {
|
|
3416
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3349
3417
|
[name: string]: unknown;
|
|
3350
3418
|
};
|
|
3351
3419
|
content?: never;
|
|
@@ -3353,6 +3421,7 @@ interface operations {
|
|
|
3353
3421
|
/** @description Body failed validation, the new password fails the password policy, or the reset token is invalid or expired (`PASSWORD_RESET_INVALID`). */
|
|
3354
3422
|
400: {
|
|
3355
3423
|
headers: {
|
|
3424
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3356
3425
|
[name: string]: unknown;
|
|
3357
3426
|
};
|
|
3358
3427
|
content: {
|
|
@@ -3362,6 +3431,7 @@ interface operations {
|
|
|
3362
3431
|
/** @description Rate limited: more than 10 requests/min from this IP (strict `auth` bucket). `Retry-After` header set. */
|
|
3363
3432
|
429: {
|
|
3364
3433
|
headers: {
|
|
3434
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3365
3435
|
[name: string]: unknown;
|
|
3366
3436
|
};
|
|
3367
3437
|
content: {
|
|
@@ -3386,6 +3456,7 @@ interface operations {
|
|
|
3386
3456
|
/** @description Token response */
|
|
3387
3457
|
200: {
|
|
3388
3458
|
headers: {
|
|
3459
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3389
3460
|
[name: string]: unknown;
|
|
3390
3461
|
};
|
|
3391
3462
|
content: {
|
|
@@ -3395,6 +3466,7 @@ interface operations {
|
|
|
3395
3466
|
/** @description Validation failed or invalid token */
|
|
3396
3467
|
400: {
|
|
3397
3468
|
headers: {
|
|
3469
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3398
3470
|
[name: string]: unknown;
|
|
3399
3471
|
};
|
|
3400
3472
|
content: {
|
|
@@ -3419,6 +3491,7 @@ interface operations {
|
|
|
3419
3491
|
/** @description Token response */
|
|
3420
3492
|
200: {
|
|
3421
3493
|
headers: {
|
|
3494
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3422
3495
|
[name: string]: unknown;
|
|
3423
3496
|
};
|
|
3424
3497
|
content: {
|
|
@@ -3428,6 +3501,7 @@ interface operations {
|
|
|
3428
3501
|
/** @description Validation failed */
|
|
3429
3502
|
400: {
|
|
3430
3503
|
headers: {
|
|
3504
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3431
3505
|
[name: string]: unknown;
|
|
3432
3506
|
};
|
|
3433
3507
|
content: {
|
|
@@ -3437,6 +3511,7 @@ interface operations {
|
|
|
3437
3511
|
/** @description Invalid credentials (`INVALID_CREDENTIALS`). Returned for every failed attempt, including a correct password offered while the account is locked out or blocked, and a wrong password against a suspended or deactivated account. The body never says which. */
|
|
3438
3512
|
401: {
|
|
3439
3513
|
headers: {
|
|
3514
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3440
3515
|
[name: string]: unknown;
|
|
3441
3516
|
};
|
|
3442
3517
|
content: {
|
|
@@ -3446,6 +3521,7 @@ interface operations {
|
|
|
3446
3521
|
/** @description The account is suspended (`ACCOUNT_SUSPENDED`) or deactivated (`ACCOUNT_DEACTIVATED`). Only reachable once the caller has proven the password — a wrong password against such an account is a 401. */
|
|
3447
3522
|
403: {
|
|
3448
3523
|
headers: {
|
|
3524
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3449
3525
|
[name: string]: unknown;
|
|
3450
3526
|
};
|
|
3451
3527
|
content: {
|
|
@@ -3455,6 +3531,7 @@ interface operations {
|
|
|
3455
3531
|
/** @description Too many attempts for this identifier (`TOO_MANY_ATTEMPTS`). Two counters produce it, both keyed purely by the submitted identifier: a burst limit of 5 attempts per minute, and a 15-minute lock after 4 failed attempts. Both fire on the same attempt for a registered and an unregistered identifier. */
|
|
3456
3532
|
429: {
|
|
3457
3533
|
headers: {
|
|
3534
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3458
3535
|
[name: string]: unknown;
|
|
3459
3536
|
};
|
|
3460
3537
|
content: {
|
|
@@ -3479,6 +3556,7 @@ interface operations {
|
|
|
3479
3556
|
/** @description Token response */
|
|
3480
3557
|
200: {
|
|
3481
3558
|
headers: {
|
|
3559
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3482
3560
|
[name: string]: unknown;
|
|
3483
3561
|
};
|
|
3484
3562
|
content: {
|
|
@@ -3488,6 +3566,7 @@ interface operations {
|
|
|
3488
3566
|
/** @description Validation failed */
|
|
3489
3567
|
400: {
|
|
3490
3568
|
headers: {
|
|
3569
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3491
3570
|
[name: string]: unknown;
|
|
3492
3571
|
};
|
|
3493
3572
|
content: {
|
|
@@ -3507,6 +3586,7 @@ interface operations {
|
|
|
3507
3586
|
responses: {
|
|
3508
3587
|
200: {
|
|
3509
3588
|
headers: {
|
|
3589
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3510
3590
|
[name: string]: unknown;
|
|
3511
3591
|
};
|
|
3512
3592
|
content: {
|
|
@@ -3516,6 +3596,7 @@ interface operations {
|
|
|
3516
3596
|
/** @description Rate limited: more than 60 requests/min from this IP (default bucket). Anonymous callers, and callers whose session has been signed out, otherwise get 200 with `is_authenticated: false`, never 401. */
|
|
3517
3597
|
429: {
|
|
3518
3598
|
headers: {
|
|
3599
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3519
3600
|
[name: string]: unknown;
|
|
3520
3601
|
};
|
|
3521
3602
|
content: {
|
|
@@ -3537,6 +3618,7 @@ interface operations {
|
|
|
3537
3618
|
responses: {
|
|
3538
3619
|
201: {
|
|
3539
3620
|
headers: {
|
|
3621
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3540
3622
|
[name: string]: unknown;
|
|
3541
3623
|
};
|
|
3542
3624
|
content: {
|
|
@@ -3546,6 +3628,7 @@ interface operations {
|
|
|
3546
3628
|
/** @description Missing or malformed `Authorization: Bearer` header, or the PAK is unknown, revoked or expired. */
|
|
3547
3629
|
401: {
|
|
3548
3630
|
headers: {
|
|
3631
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3549
3632
|
[name: string]: unknown;
|
|
3550
3633
|
};
|
|
3551
3634
|
content: {
|
|
@@ -3567,6 +3650,7 @@ interface operations {
|
|
|
3567
3650
|
responses: {
|
|
3568
3651
|
200: {
|
|
3569
3652
|
headers: {
|
|
3653
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3570
3654
|
[name: string]: unknown;
|
|
3571
3655
|
};
|
|
3572
3656
|
content: {
|
|
@@ -3576,6 +3660,7 @@ interface operations {
|
|
|
3576
3660
|
/** @description Missing or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
3577
3661
|
401: {
|
|
3578
3662
|
headers: {
|
|
3663
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3579
3664
|
[name: string]: unknown;
|
|
3580
3665
|
};
|
|
3581
3666
|
content: {
|
|
@@ -3585,6 +3670,7 @@ interface operations {
|
|
|
3585
3670
|
/** @description Workspace not found (unknown slug or id). Known workspaces the caller is not a member of answer 200 with `is_member: false`. */
|
|
3586
3671
|
404: {
|
|
3587
3672
|
headers: {
|
|
3673
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3588
3674
|
[name: string]: unknown;
|
|
3589
3675
|
};
|
|
3590
3676
|
content: {
|
|
@@ -3604,6 +3690,7 @@ interface operations {
|
|
|
3604
3690
|
responses: {
|
|
3605
3691
|
200: {
|
|
3606
3692
|
headers: {
|
|
3693
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3607
3694
|
[name: string]: unknown;
|
|
3608
3695
|
};
|
|
3609
3696
|
content: {
|
|
@@ -3613,6 +3700,7 @@ interface operations {
|
|
|
3613
3700
|
/** @description No session. */
|
|
3614
3701
|
401: {
|
|
3615
3702
|
headers: {
|
|
3703
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3616
3704
|
[name: string]: unknown;
|
|
3617
3705
|
};
|
|
3618
3706
|
content: {
|
|
@@ -3622,6 +3710,7 @@ interface operations {
|
|
|
3622
3710
|
/** @description No account row for the session principal. Should never fire for a valid session — surfaced for SDKs. */
|
|
3623
3711
|
404: {
|
|
3624
3712
|
headers: {
|
|
3713
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3625
3714
|
[name: string]: unknown;
|
|
3626
3715
|
};
|
|
3627
3716
|
content: {
|
|
@@ -3651,6 +3740,7 @@ interface operations {
|
|
|
3651
3740
|
responses: {
|
|
3652
3741
|
200: {
|
|
3653
3742
|
headers: {
|
|
3743
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3654
3744
|
[name: string]: unknown;
|
|
3655
3745
|
};
|
|
3656
3746
|
content: {
|
|
@@ -3660,6 +3750,7 @@ interface operations {
|
|
|
3660
3750
|
/** @description Invalid file: wrong mimetype, oversized, or content does not match the declared type. */
|
|
3661
3751
|
400: {
|
|
3662
3752
|
headers: {
|
|
3753
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3663
3754
|
[name: string]: unknown;
|
|
3664
3755
|
};
|
|
3665
3756
|
content: {
|
|
@@ -3669,6 +3760,7 @@ interface operations {
|
|
|
3669
3760
|
/** @description No session. */
|
|
3670
3761
|
401: {
|
|
3671
3762
|
headers: {
|
|
3763
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3672
3764
|
[name: string]: unknown;
|
|
3673
3765
|
};
|
|
3674
3766
|
content: {
|
|
@@ -3689,6 +3781,7 @@ interface operations {
|
|
|
3689
3781
|
/** @description Avatar removed (or already absent). */
|
|
3690
3782
|
204: {
|
|
3691
3783
|
headers: {
|
|
3784
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3692
3785
|
[name: string]: unknown;
|
|
3693
3786
|
};
|
|
3694
3787
|
content?: never;
|
|
@@ -3696,6 +3789,7 @@ interface operations {
|
|
|
3696
3789
|
/** @description No session. */
|
|
3697
3790
|
401: {
|
|
3698
3791
|
headers: {
|
|
3792
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3699
3793
|
[name: string]: unknown;
|
|
3700
3794
|
};
|
|
3701
3795
|
content: {
|
|
@@ -3715,6 +3809,7 @@ interface operations {
|
|
|
3715
3809
|
responses: {
|
|
3716
3810
|
200: {
|
|
3717
3811
|
headers: {
|
|
3812
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3718
3813
|
[name: string]: unknown;
|
|
3719
3814
|
};
|
|
3720
3815
|
content: {
|
|
@@ -3724,6 +3819,7 @@ interface operations {
|
|
|
3724
3819
|
/** @description No session. */
|
|
3725
3820
|
401: {
|
|
3726
3821
|
headers: {
|
|
3822
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3727
3823
|
[name: string]: unknown;
|
|
3728
3824
|
};
|
|
3729
3825
|
content: {
|
|
@@ -3733,6 +3829,7 @@ interface operations {
|
|
|
3733
3829
|
/** @description The caller authenticated with a non-human principal (e.g. a workspace API key). Hidden guides are a person's console preference. */
|
|
3734
3830
|
403: {
|
|
3735
3831
|
headers: {
|
|
3832
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3736
3833
|
[name: string]: unknown;
|
|
3737
3834
|
};
|
|
3738
3835
|
content: {
|
|
@@ -3753,6 +3850,7 @@ interface operations {
|
|
|
3753
3850
|
/** @description Every guide shows again. */
|
|
3754
3851
|
204: {
|
|
3755
3852
|
headers: {
|
|
3853
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3756
3854
|
[name: string]: unknown;
|
|
3757
3855
|
};
|
|
3758
3856
|
content?: never;
|
|
@@ -3760,6 +3858,7 @@ interface operations {
|
|
|
3760
3858
|
/** @description No session. */
|
|
3761
3859
|
401: {
|
|
3762
3860
|
headers: {
|
|
3861
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3763
3862
|
[name: string]: unknown;
|
|
3764
3863
|
};
|
|
3765
3864
|
content: {
|
|
@@ -3769,6 +3868,7 @@ interface operations {
|
|
|
3769
3868
|
/** @description The caller authenticated with a non-human principal (e.g. a workspace API key). Hidden guides are a person's console preference. */
|
|
3770
3869
|
403: {
|
|
3771
3870
|
headers: {
|
|
3871
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3772
3872
|
[name: string]: unknown;
|
|
3773
3873
|
};
|
|
3774
3874
|
content: {
|
|
@@ -3792,6 +3892,7 @@ interface operations {
|
|
|
3792
3892
|
/** @description The guide is hidden. */
|
|
3793
3893
|
200: {
|
|
3794
3894
|
headers: {
|
|
3895
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3795
3896
|
[name: string]: unknown;
|
|
3796
3897
|
};
|
|
3797
3898
|
content: {
|
|
@@ -3801,6 +3902,7 @@ interface operations {
|
|
|
3801
3902
|
/** @description The key is not a valid guide key. */
|
|
3802
3903
|
400: {
|
|
3803
3904
|
headers: {
|
|
3905
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3804
3906
|
[name: string]: unknown;
|
|
3805
3907
|
};
|
|
3806
3908
|
content: {
|
|
@@ -3810,6 +3912,7 @@ interface operations {
|
|
|
3810
3912
|
/** @description No session. */
|
|
3811
3913
|
401: {
|
|
3812
3914
|
headers: {
|
|
3915
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3813
3916
|
[name: string]: unknown;
|
|
3814
3917
|
};
|
|
3815
3918
|
content: {
|
|
@@ -3819,6 +3922,7 @@ interface operations {
|
|
|
3819
3922
|
/** @description The caller authenticated with a non-human principal (e.g. a workspace API key). Hidden guides are a person's console preference. */
|
|
3820
3923
|
403: {
|
|
3821
3924
|
headers: {
|
|
3925
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3822
3926
|
[name: string]: unknown;
|
|
3823
3927
|
};
|
|
3824
3928
|
content: {
|
|
@@ -3842,6 +3946,7 @@ interface operations {
|
|
|
3842
3946
|
/** @description The guide shows again (or was not hidden). */
|
|
3843
3947
|
204: {
|
|
3844
3948
|
headers: {
|
|
3949
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3845
3950
|
[name: string]: unknown;
|
|
3846
3951
|
};
|
|
3847
3952
|
content?: never;
|
|
@@ -3849,6 +3954,7 @@ interface operations {
|
|
|
3849
3954
|
/** @description The key is not a valid guide key. */
|
|
3850
3955
|
400: {
|
|
3851
3956
|
headers: {
|
|
3957
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3852
3958
|
[name: string]: unknown;
|
|
3853
3959
|
};
|
|
3854
3960
|
content: {
|
|
@@ -3858,6 +3964,7 @@ interface operations {
|
|
|
3858
3964
|
/** @description No session. */
|
|
3859
3965
|
401: {
|
|
3860
3966
|
headers: {
|
|
3967
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3861
3968
|
[name: string]: unknown;
|
|
3862
3969
|
};
|
|
3863
3970
|
content: {
|
|
@@ -3867,6 +3974,7 @@ interface operations {
|
|
|
3867
3974
|
/** @description The caller authenticated with a non-human principal (e.g. a workspace API key). Hidden guides are a person's console preference. */
|
|
3868
3975
|
403: {
|
|
3869
3976
|
headers: {
|
|
3977
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3870
3978
|
[name: string]: unknown;
|
|
3871
3979
|
};
|
|
3872
3980
|
content: {
|
|
@@ -3890,6 +3998,7 @@ interface operations {
|
|
|
3890
3998
|
responses: {
|
|
3891
3999
|
200: {
|
|
3892
4000
|
headers: {
|
|
4001
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3893
4002
|
[name: string]: unknown;
|
|
3894
4003
|
};
|
|
3895
4004
|
content: {
|
|
@@ -3899,6 +4008,7 @@ interface operations {
|
|
|
3899
4008
|
/** @description Validation failed (e.g. displayName outside 1-128 chars). */
|
|
3900
4009
|
400: {
|
|
3901
4010
|
headers: {
|
|
4011
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3902
4012
|
[name: string]: unknown;
|
|
3903
4013
|
};
|
|
3904
4014
|
content: {
|
|
@@ -3908,6 +4018,7 @@ interface operations {
|
|
|
3908
4018
|
/** @description No session. */
|
|
3909
4019
|
401: {
|
|
3910
4020
|
headers: {
|
|
4021
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3911
4022
|
[name: string]: unknown;
|
|
3912
4023
|
};
|
|
3913
4024
|
content: {
|
|
@@ -3917,6 +4028,7 @@ interface operations {
|
|
|
3917
4028
|
/** @description The caller authenticated with a non-human principal (e.g. PAK). Profile is per-human; only the human owner can mutate their own row. */
|
|
3918
4029
|
403: {
|
|
3919
4030
|
headers: {
|
|
4031
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3920
4032
|
[name: string]: unknown;
|
|
3921
4033
|
};
|
|
3922
4034
|
content: {
|
|
@@ -3950,6 +4062,7 @@ interface operations {
|
|
|
3950
4062
|
/** @description Redirect to sign-in or to the consent screen. */
|
|
3951
4063
|
302: {
|
|
3952
4064
|
headers: {
|
|
4065
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3953
4066
|
[name: string]: unknown;
|
|
3954
4067
|
};
|
|
3955
4068
|
content?: never;
|
|
@@ -3957,6 +4070,7 @@ interface operations {
|
|
|
3957
4070
|
/** @description Rendered `{ error, error_description }` when the failure is in `client_id` or `redirect_uri` — those are never bounced to an unvalidated URI. */
|
|
3958
4071
|
400: {
|
|
3959
4072
|
headers: {
|
|
4073
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3960
4074
|
[name: string]: unknown;
|
|
3961
4075
|
};
|
|
3962
4076
|
content: {
|
|
@@ -3982,6 +4096,7 @@ interface operations {
|
|
|
3982
4096
|
/** @description Page of connections, newest first, with `next_cursor` and `has_more`. */
|
|
3983
4097
|
200: {
|
|
3984
4098
|
headers: {
|
|
4099
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3985
4100
|
[name: string]: unknown;
|
|
3986
4101
|
};
|
|
3987
4102
|
content: {
|
|
@@ -3991,6 +4106,7 @@ interface operations {
|
|
|
3991
4106
|
/** @description Malformed `cursor`. */
|
|
3992
4107
|
400: {
|
|
3993
4108
|
headers: {
|
|
4109
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3994
4110
|
[name: string]: unknown;
|
|
3995
4111
|
};
|
|
3996
4112
|
content: {
|
|
@@ -4000,6 +4116,7 @@ interface operations {
|
|
|
4000
4116
|
/** @description Missing, invalid or expired bearer token. */
|
|
4001
4117
|
401: {
|
|
4002
4118
|
headers: {
|
|
4119
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4003
4120
|
[name: string]: unknown;
|
|
4004
4121
|
};
|
|
4005
4122
|
content: {
|
|
@@ -4022,6 +4139,7 @@ interface operations {
|
|
|
4022
4139
|
/** @description Disconnected. */
|
|
4023
4140
|
204: {
|
|
4024
4141
|
headers: {
|
|
4142
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4025
4143
|
[name: string]: unknown;
|
|
4026
4144
|
};
|
|
4027
4145
|
content?: never;
|
|
@@ -4029,6 +4147,7 @@ interface operations {
|
|
|
4029
4147
|
/** @description Missing, invalid or expired bearer token. */
|
|
4030
4148
|
401: {
|
|
4031
4149
|
headers: {
|
|
4150
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4032
4151
|
[name: string]: unknown;
|
|
4033
4152
|
};
|
|
4034
4153
|
content: {
|
|
@@ -4038,6 +4157,7 @@ interface operations {
|
|
|
4038
4157
|
/** @description No such connection for this human. */
|
|
4039
4158
|
404: {
|
|
4040
4159
|
headers: {
|
|
4160
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4041
4161
|
[name: string]: unknown;
|
|
4042
4162
|
};
|
|
4043
4163
|
content: {
|
|
@@ -4059,6 +4179,7 @@ interface operations {
|
|
|
4059
4179
|
responses: {
|
|
4060
4180
|
200: {
|
|
4061
4181
|
headers: {
|
|
4182
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4062
4183
|
[name: string]: unknown;
|
|
4063
4184
|
};
|
|
4064
4185
|
content: {
|
|
@@ -4068,6 +4189,7 @@ interface operations {
|
|
|
4068
4189
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
4069
4190
|
401: {
|
|
4070
4191
|
headers: {
|
|
4192
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4071
4193
|
[name: string]: unknown;
|
|
4072
4194
|
};
|
|
4073
4195
|
content: {
|
|
@@ -4077,6 +4199,7 @@ interface operations {
|
|
|
4077
4199
|
/** @description No such pending request for this human. */
|
|
4078
4200
|
404: {
|
|
4079
4201
|
headers: {
|
|
4202
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4080
4203
|
[name: string]: unknown;
|
|
4081
4204
|
};
|
|
4082
4205
|
content: {
|
|
@@ -4086,6 +4209,7 @@ interface operations {
|
|
|
4086
4209
|
/** @description Request already used. */
|
|
4087
4210
|
409: {
|
|
4088
4211
|
headers: {
|
|
4212
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4089
4213
|
[name: string]: unknown;
|
|
4090
4214
|
};
|
|
4091
4215
|
content: {
|
|
@@ -4095,6 +4219,7 @@ interface operations {
|
|
|
4095
4219
|
/** @description Request expired. */
|
|
4096
4220
|
410: {
|
|
4097
4221
|
headers: {
|
|
4222
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4098
4223
|
[name: string]: unknown;
|
|
4099
4224
|
};
|
|
4100
4225
|
content: {
|
|
@@ -4120,6 +4245,7 @@ interface operations {
|
|
|
4120
4245
|
responses: {
|
|
4121
4246
|
200: {
|
|
4122
4247
|
headers: {
|
|
4248
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4123
4249
|
[name: string]: unknown;
|
|
4124
4250
|
};
|
|
4125
4251
|
content: {
|
|
@@ -4129,6 +4255,7 @@ interface operations {
|
|
|
4129
4255
|
/** @description Malformed policy, empty policy, or too many statements. */
|
|
4130
4256
|
400: {
|
|
4131
4257
|
headers: {
|
|
4258
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4132
4259
|
[name: string]: unknown;
|
|
4133
4260
|
};
|
|
4134
4261
|
content: {
|
|
@@ -4138,6 +4265,7 @@ interface operations {
|
|
|
4138
4265
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
4139
4266
|
401: {
|
|
4140
4267
|
headers: {
|
|
4268
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4141
4269
|
[name: string]: unknown;
|
|
4142
4270
|
};
|
|
4143
4271
|
content: {
|
|
@@ -4147,6 +4275,7 @@ interface operations {
|
|
|
4147
4275
|
/** @description Refused before authentication with `CROSS_ORIGIN_REJECTED` when the request carries no bearer or a browser on another origin is driving it. Otherwise: not a member of the chosen workspace, or the approved policy exceeds the human’s own authority — `details.refused_statements` names which statements and why. Also `ACCOUNT_SUSPENDED` / `ACCOUNT_DEACTIVATED` when the account is no longer active, and `OAUTH_GRANT_ADMIN_REVOKED` when a workspace administrator revoked this connection and has not lifted it. */
|
|
4148
4276
|
403: {
|
|
4149
4277
|
headers: {
|
|
4278
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4150
4279
|
[name: string]: unknown;
|
|
4151
4280
|
};
|
|
4152
4281
|
content: {
|
|
@@ -4156,6 +4285,7 @@ interface operations {
|
|
|
4156
4285
|
/** @description No such pending request for this human. */
|
|
4157
4286
|
404: {
|
|
4158
4287
|
headers: {
|
|
4288
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4159
4289
|
[name: string]: unknown;
|
|
4160
4290
|
};
|
|
4161
4291
|
content: {
|
|
@@ -4165,6 +4295,7 @@ interface operations {
|
|
|
4165
4295
|
/** @description Request already used. */
|
|
4166
4296
|
409: {
|
|
4167
4297
|
headers: {
|
|
4298
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4168
4299
|
[name: string]: unknown;
|
|
4169
4300
|
};
|
|
4170
4301
|
content: {
|
|
@@ -4190,6 +4321,7 @@ interface operations {
|
|
|
4190
4321
|
responses: {
|
|
4191
4322
|
200: {
|
|
4192
4323
|
headers: {
|
|
4324
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4193
4325
|
[name: string]: unknown;
|
|
4194
4326
|
};
|
|
4195
4327
|
content: {
|
|
@@ -4199,6 +4331,7 @@ interface operations {
|
|
|
4199
4331
|
/** @description Missing or malformed `Authorization` header. */
|
|
4200
4332
|
401: {
|
|
4201
4333
|
headers: {
|
|
4334
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4202
4335
|
[name: string]: unknown;
|
|
4203
4336
|
};
|
|
4204
4337
|
content: {
|
|
@@ -4224,6 +4357,7 @@ interface operations {
|
|
|
4224
4357
|
responses: {
|
|
4225
4358
|
200: {
|
|
4226
4359
|
headers: {
|
|
4360
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4227
4361
|
[name: string]: unknown;
|
|
4228
4362
|
};
|
|
4229
4363
|
content: {
|
|
@@ -4233,6 +4367,7 @@ interface operations {
|
|
|
4233
4367
|
/** @description Missing or malformed `Authorization` header. */
|
|
4234
4368
|
401: {
|
|
4235
4369
|
headers: {
|
|
4370
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4236
4371
|
[name: string]: unknown;
|
|
4237
4372
|
};
|
|
4238
4373
|
content: {
|
|
@@ -4258,6 +4393,7 @@ interface operations {
|
|
|
4258
4393
|
responses: {
|
|
4259
4394
|
200: {
|
|
4260
4395
|
headers: {
|
|
4396
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4261
4397
|
[name: string]: unknown;
|
|
4262
4398
|
};
|
|
4263
4399
|
content: {
|
|
@@ -4267,6 +4403,7 @@ interface operations {
|
|
|
4267
4403
|
/** @description Empty or oversized `actions` list. */
|
|
4268
4404
|
400: {
|
|
4269
4405
|
headers: {
|
|
4406
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4270
4407
|
[name: string]: unknown;
|
|
4271
4408
|
};
|
|
4272
4409
|
content: {
|
|
@@ -4276,6 +4413,7 @@ interface operations {
|
|
|
4276
4413
|
/** @description Missing or malformed `Authorization` header. */
|
|
4277
4414
|
401: {
|
|
4278
4415
|
headers: {
|
|
4416
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4279
4417
|
[name: string]: unknown;
|
|
4280
4418
|
};
|
|
4281
4419
|
content: {
|
|
@@ -4301,6 +4439,7 @@ interface operations {
|
|
|
4301
4439
|
responses: {
|
|
4302
4440
|
200: {
|
|
4303
4441
|
headers: {
|
|
4442
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4304
4443
|
[name: string]: unknown;
|
|
4305
4444
|
};
|
|
4306
4445
|
content: {
|
|
@@ -4310,6 +4449,7 @@ interface operations {
|
|
|
4310
4449
|
/** @description The requested `audience` is not a service we issue assertions for. */
|
|
4311
4450
|
400: {
|
|
4312
4451
|
headers: {
|
|
4452
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4313
4453
|
[name: string]: unknown;
|
|
4314
4454
|
};
|
|
4315
4455
|
content: {
|
|
@@ -4319,6 +4459,7 @@ interface operations {
|
|
|
4319
4459
|
/** @description Missing or malformed `Authorization` header, or the token/grant behind it is no longer live. */
|
|
4320
4460
|
401: {
|
|
4321
4461
|
headers: {
|
|
4462
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4322
4463
|
[name: string]: unknown;
|
|
4323
4464
|
};
|
|
4324
4465
|
content: {
|
|
@@ -4341,6 +4482,7 @@ interface operations {
|
|
|
4341
4482
|
/** @description Recorded, or nothing to record. */
|
|
4342
4483
|
204: {
|
|
4343
4484
|
headers: {
|
|
4485
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4344
4486
|
[name: string]: unknown;
|
|
4345
4487
|
};
|
|
4346
4488
|
content?: never;
|
|
@@ -4348,6 +4490,7 @@ interface operations {
|
|
|
4348
4490
|
/** @description Missing or malformed `Authorization` header. */
|
|
4349
4491
|
401: {
|
|
4350
4492
|
headers: {
|
|
4493
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4351
4494
|
[name: string]: unknown;
|
|
4352
4495
|
};
|
|
4353
4496
|
content: {
|
|
@@ -4371,6 +4514,7 @@ interface operations {
|
|
|
4371
4514
|
responses: {
|
|
4372
4515
|
200: {
|
|
4373
4516
|
headers: {
|
|
4517
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4374
4518
|
[name: string]: unknown;
|
|
4375
4519
|
};
|
|
4376
4520
|
content: {
|
|
@@ -4380,6 +4524,7 @@ interface operations {
|
|
|
4380
4524
|
/** @description `invalid_client` — client authentication failed. */
|
|
4381
4525
|
401: {
|
|
4382
4526
|
headers: {
|
|
4527
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4383
4528
|
[name: string]: unknown;
|
|
4384
4529
|
};
|
|
4385
4530
|
content: {
|
|
@@ -4403,6 +4548,7 @@ interface operations {
|
|
|
4403
4548
|
responses: {
|
|
4404
4549
|
201: {
|
|
4405
4550
|
headers: {
|
|
4551
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4406
4552
|
[name: string]: unknown;
|
|
4407
4553
|
};
|
|
4408
4554
|
content: {
|
|
@@ -4412,6 +4558,7 @@ interface operations {
|
|
|
4412
4558
|
/** @description `invalid_redirect_uri` or `invalid_client_metadata` (RFC 7591 §3.2.2). */
|
|
4413
4559
|
400: {
|
|
4414
4560
|
headers: {
|
|
4561
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4415
4562
|
[name: string]: unknown;
|
|
4416
4563
|
};
|
|
4417
4564
|
content: {
|
|
@@ -4421,6 +4568,7 @@ interface operations {
|
|
|
4421
4568
|
/** @description `invalid_request` — too many registrations from this IP. */
|
|
4422
4569
|
429: {
|
|
4423
4570
|
headers: {
|
|
4571
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4424
4572
|
[name: string]: unknown;
|
|
4425
4573
|
};
|
|
4426
4574
|
content: {
|
|
@@ -4430,6 +4578,7 @@ interface operations {
|
|
|
4430
4578
|
/** @description `temporarily_unavailable` — the rate-limit backend is unreachable, so registration fails closed. */
|
|
4431
4579
|
503: {
|
|
4432
4580
|
headers: {
|
|
4581
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4433
4582
|
[name: string]: unknown;
|
|
4434
4583
|
};
|
|
4435
4584
|
content: {
|
|
@@ -4452,6 +4601,7 @@ interface operations {
|
|
|
4452
4601
|
responses: {
|
|
4453
4602
|
200: {
|
|
4454
4603
|
headers: {
|
|
4604
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4455
4605
|
[name: string]: unknown;
|
|
4456
4606
|
};
|
|
4457
4607
|
content: {
|
|
@@ -4461,6 +4611,7 @@ interface operations {
|
|
|
4461
4611
|
/** @description `invalid_client` — bad registration access token. */
|
|
4462
4612
|
401: {
|
|
4463
4613
|
headers: {
|
|
4614
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4464
4615
|
[name: string]: unknown;
|
|
4465
4616
|
};
|
|
4466
4617
|
content: {
|
|
@@ -4487,6 +4638,7 @@ interface operations {
|
|
|
4487
4638
|
responses: {
|
|
4488
4639
|
200: {
|
|
4489
4640
|
headers: {
|
|
4641
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4490
4642
|
[name: string]: unknown;
|
|
4491
4643
|
};
|
|
4492
4644
|
content: {
|
|
@@ -4496,6 +4648,7 @@ interface operations {
|
|
|
4496
4648
|
/** @description `invalid_client` — bad registration access token. */
|
|
4497
4649
|
401: {
|
|
4498
4650
|
headers: {
|
|
4651
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4499
4652
|
[name: string]: unknown;
|
|
4500
4653
|
};
|
|
4501
4654
|
content: {
|
|
@@ -4520,6 +4673,7 @@ interface operations {
|
|
|
4520
4673
|
/** @description Revoked, or the token was already unknown. */
|
|
4521
4674
|
200: {
|
|
4522
4675
|
headers: {
|
|
4676
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4523
4677
|
[name: string]: unknown;
|
|
4524
4678
|
};
|
|
4525
4679
|
content?: never;
|
|
@@ -4527,6 +4681,7 @@ interface operations {
|
|
|
4527
4681
|
/** @description `invalid_client` — client authentication failed. */
|
|
4528
4682
|
401: {
|
|
4529
4683
|
headers: {
|
|
4684
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4530
4685
|
[name: string]: unknown;
|
|
4531
4686
|
};
|
|
4532
4687
|
content: {
|
|
@@ -4550,6 +4705,7 @@ interface operations {
|
|
|
4550
4705
|
responses: {
|
|
4551
4706
|
200: {
|
|
4552
4707
|
headers: {
|
|
4708
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4553
4709
|
[name: string]: unknown;
|
|
4554
4710
|
};
|
|
4555
4711
|
content: {
|
|
@@ -4559,6 +4715,7 @@ interface operations {
|
|
|
4559
4715
|
/** @description `invalid_request`, `invalid_grant`, `invalid_scope`, `invalid_target`, or `unsupported_grant_type`. */
|
|
4560
4716
|
400: {
|
|
4561
4717
|
headers: {
|
|
4718
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4562
4719
|
[name: string]: unknown;
|
|
4563
4720
|
};
|
|
4564
4721
|
content: {
|
|
@@ -4568,6 +4725,7 @@ interface operations {
|
|
|
4568
4725
|
/** @description `invalid_client` — client authentication failed. */
|
|
4569
4726
|
401: {
|
|
4570
4727
|
headers: {
|
|
4728
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4571
4729
|
[name: string]: unknown;
|
|
4572
4730
|
};
|
|
4573
4731
|
content: {
|
|
@@ -4595,6 +4753,7 @@ interface operations {
|
|
|
4595
4753
|
/** @description Page of connections, newest first, with `next_cursor` and `has_more`. */
|
|
4596
4754
|
200: {
|
|
4597
4755
|
headers: {
|
|
4756
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4598
4757
|
[name: string]: unknown;
|
|
4599
4758
|
};
|
|
4600
4759
|
content: {
|
|
@@ -4604,6 +4763,7 @@ interface operations {
|
|
|
4604
4763
|
/** @description Malformed `cursor`. */
|
|
4605
4764
|
400: {
|
|
4606
4765
|
headers: {
|
|
4766
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4607
4767
|
[name: string]: unknown;
|
|
4608
4768
|
};
|
|
4609
4769
|
content: {
|
|
@@ -4613,6 +4773,7 @@ interface operations {
|
|
|
4613
4773
|
/** @description Missing, invalid or expired bearer token. */
|
|
4614
4774
|
401: {
|
|
4615
4775
|
headers: {
|
|
4776
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4616
4777
|
[name: string]: unknown;
|
|
4617
4778
|
};
|
|
4618
4779
|
content: {
|
|
@@ -4622,6 +4783,7 @@ interface operations {
|
|
|
4622
4783
|
/** @description Not a member, or lacks `workspace.connection.read`. */
|
|
4623
4784
|
403: {
|
|
4624
4785
|
headers: {
|
|
4786
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4625
4787
|
[name: string]: unknown;
|
|
4626
4788
|
};
|
|
4627
4789
|
content: {
|
|
@@ -4645,6 +4807,7 @@ interface operations {
|
|
|
4645
4807
|
/** @description Disconnected. */
|
|
4646
4808
|
204: {
|
|
4647
4809
|
headers: {
|
|
4810
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4648
4811
|
[name: string]: unknown;
|
|
4649
4812
|
};
|
|
4650
4813
|
content?: never;
|
|
@@ -4652,6 +4815,7 @@ interface operations {
|
|
|
4652
4815
|
/** @description Missing, invalid or expired bearer token. */
|
|
4653
4816
|
401: {
|
|
4654
4817
|
headers: {
|
|
4818
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4655
4819
|
[name: string]: unknown;
|
|
4656
4820
|
};
|
|
4657
4821
|
content: {
|
|
@@ -4661,6 +4825,7 @@ interface operations {
|
|
|
4661
4825
|
/** @description Not a member, or lacks `workspace.connection.revoke`. */
|
|
4662
4826
|
403: {
|
|
4663
4827
|
headers: {
|
|
4828
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4664
4829
|
[name: string]: unknown;
|
|
4665
4830
|
};
|
|
4666
4831
|
content: {
|
|
@@ -4670,6 +4835,7 @@ interface operations {
|
|
|
4670
4835
|
/** @description No such connection in this workspace. */
|
|
4671
4836
|
404: {
|
|
4672
4837
|
headers: {
|
|
4838
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4673
4839
|
[name: string]: unknown;
|
|
4674
4840
|
};
|
|
4675
4841
|
content: {
|
|
@@ -4693,6 +4859,7 @@ interface operations {
|
|
|
4693
4859
|
/** @description Revocation lifted. */
|
|
4694
4860
|
204: {
|
|
4695
4861
|
headers: {
|
|
4862
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4696
4863
|
[name: string]: unknown;
|
|
4697
4864
|
};
|
|
4698
4865
|
content?: never;
|
|
@@ -4700,6 +4867,7 @@ interface operations {
|
|
|
4700
4867
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
4701
4868
|
401: {
|
|
4702
4869
|
headers: {
|
|
4870
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4703
4871
|
[name: string]: unknown;
|
|
4704
4872
|
};
|
|
4705
4873
|
content: {
|
|
@@ -4709,6 +4877,7 @@ interface operations {
|
|
|
4709
4877
|
/** @description Not a member, or lacks `workspace.connection.revoke`. */
|
|
4710
4878
|
403: {
|
|
4711
4879
|
headers: {
|
|
4880
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4712
4881
|
[name: string]: unknown;
|
|
4713
4882
|
};
|
|
4714
4883
|
content: {
|
|
@@ -4718,6 +4887,7 @@ interface operations {
|
|
|
4718
4887
|
/** @description No such connection in this workspace. */
|
|
4719
4888
|
404: {
|
|
4720
4889
|
headers: {
|
|
4890
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4721
4891
|
[name: string]: unknown;
|
|
4722
4892
|
};
|
|
4723
4893
|
content: {
|
|
@@ -4727,6 +4897,7 @@ interface operations {
|
|
|
4727
4897
|
/** @description The connection was not revoked by an administrator — there is nothing to lift. */
|
|
4728
4898
|
409: {
|
|
4729
4899
|
headers: {
|
|
4900
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4730
4901
|
[name: string]: unknown;
|
|
4731
4902
|
};
|
|
4732
4903
|
content: {
|
|
@@ -4747,6 +4918,7 @@ interface operations {
|
|
|
4747
4918
|
/** @description Active sessions */
|
|
4748
4919
|
200: {
|
|
4749
4920
|
headers: {
|
|
4921
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4750
4922
|
[name: string]: unknown;
|
|
4751
4923
|
};
|
|
4752
4924
|
content: {
|
|
@@ -4756,6 +4928,7 @@ interface operations {
|
|
|
4756
4928
|
/** @description Unauthorized */
|
|
4757
4929
|
401: {
|
|
4758
4930
|
headers: {
|
|
4931
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4759
4932
|
[name: string]: unknown;
|
|
4760
4933
|
};
|
|
4761
4934
|
content: {
|
|
@@ -4775,6 +4948,7 @@ interface operations {
|
|
|
4775
4948
|
responses: {
|
|
4776
4949
|
200: {
|
|
4777
4950
|
headers: {
|
|
4951
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4778
4952
|
[name: string]: unknown;
|
|
4779
4953
|
};
|
|
4780
4954
|
content: {
|
|
@@ -4784,6 +4958,7 @@ interface operations {
|
|
|
4784
4958
|
/** @description Unauthorized */
|
|
4785
4959
|
401: {
|
|
4786
4960
|
headers: {
|
|
4961
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4787
4962
|
[name: string]: unknown;
|
|
4788
4963
|
};
|
|
4789
4964
|
content: {
|
|
@@ -4793,6 +4968,7 @@ interface operations {
|
|
|
4793
4968
|
/** @description The access token maps to no session (minted before sessions tracked token ids), so the current session cannot be kept. Sign in again. */
|
|
4794
4969
|
409: {
|
|
4795
4970
|
headers: {
|
|
4971
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4796
4972
|
[name: string]: unknown;
|
|
4797
4973
|
};
|
|
4798
4974
|
content: {
|
|
@@ -4815,6 +4991,7 @@ interface operations {
|
|
|
4815
4991
|
/** @description `revoked` is false when the session was already revoked, so repeating the call is safe. */
|
|
4816
4992
|
200: {
|
|
4817
4993
|
headers: {
|
|
4994
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4818
4995
|
[name: string]: unknown;
|
|
4819
4996
|
};
|
|
4820
4997
|
content: {
|
|
@@ -4824,6 +5001,7 @@ interface operations {
|
|
|
4824
5001
|
/** @description `id` is not a UUID. */
|
|
4825
5002
|
400: {
|
|
4826
5003
|
headers: {
|
|
5004
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4827
5005
|
[name: string]: unknown;
|
|
4828
5006
|
};
|
|
4829
5007
|
content: {
|
|
@@ -4833,6 +5011,7 @@ interface operations {
|
|
|
4833
5011
|
/** @description Unauthorized */
|
|
4834
5012
|
401: {
|
|
4835
5013
|
headers: {
|
|
5014
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4836
5015
|
[name: string]: unknown;
|
|
4837
5016
|
};
|
|
4838
5017
|
content: {
|
|
@@ -4842,6 +5021,7 @@ interface operations {
|
|
|
4842
5021
|
/** @description No such session, or it belongs to somebody else — deliberately the same response, so this cannot be used to probe which session ids exist. */
|
|
4843
5022
|
404: {
|
|
4844
5023
|
headers: {
|
|
5024
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4845
5025
|
[name: string]: unknown;
|
|
4846
5026
|
};
|
|
4847
5027
|
content: {
|
|
@@ -4862,6 +5042,7 @@ interface operations {
|
|
|
4862
5042
|
/** @description Verification email sent */
|
|
4863
5043
|
200: {
|
|
4864
5044
|
headers: {
|
|
5045
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4865
5046
|
[name: string]: unknown;
|
|
4866
5047
|
};
|
|
4867
5048
|
content: {
|
|
@@ -4871,6 +5052,7 @@ interface operations {
|
|
|
4871
5052
|
/** @description Unauthorized */
|
|
4872
5053
|
401: {
|
|
4873
5054
|
headers: {
|
|
5055
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4874
5056
|
[name: string]: unknown;
|
|
4875
5057
|
};
|
|
4876
5058
|
content: {
|
|
@@ -4895,6 +5077,7 @@ interface operations {
|
|
|
4895
5077
|
/** @description Email verified successfully */
|
|
4896
5078
|
200: {
|
|
4897
5079
|
headers: {
|
|
5080
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4898
5081
|
[name: string]: unknown;
|
|
4899
5082
|
};
|
|
4900
5083
|
content: {
|
|
@@ -4904,6 +5087,7 @@ interface operations {
|
|
|
4904
5087
|
/** @description Invalid or expired verification code */
|
|
4905
5088
|
400: {
|
|
4906
5089
|
headers: {
|
|
5090
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4907
5091
|
[name: string]: unknown;
|
|
4908
5092
|
};
|
|
4909
5093
|
content: {
|
|
@@ -4926,6 +5110,7 @@ interface operations {
|
|
|
4926
5110
|
responses: {
|
|
4927
5111
|
200: {
|
|
4928
5112
|
headers: {
|
|
5113
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4929
5114
|
[name: string]: unknown;
|
|
4930
5115
|
};
|
|
4931
5116
|
content: {
|
|
@@ -4935,6 +5120,7 @@ interface operations {
|
|
|
4935
5120
|
/** @description Malformed `cursor`. */
|
|
4936
5121
|
400: {
|
|
4937
5122
|
headers: {
|
|
5123
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4938
5124
|
[name: string]: unknown;
|
|
4939
5125
|
};
|
|
4940
5126
|
content: {
|
|
@@ -4944,6 +5130,7 @@ interface operations {
|
|
|
4944
5130
|
/** @description Missing or invalid session. */
|
|
4945
5131
|
401: {
|
|
4946
5132
|
headers: {
|
|
5133
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4947
5134
|
[name: string]: unknown;
|
|
4948
5135
|
};
|
|
4949
5136
|
content: {
|
|
@@ -4967,6 +5154,7 @@ interface operations {
|
|
|
4967
5154
|
responses: {
|
|
4968
5155
|
201: {
|
|
4969
5156
|
headers: {
|
|
5157
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4970
5158
|
[name: string]: unknown;
|
|
4971
5159
|
};
|
|
4972
5160
|
content: {
|
|
@@ -4976,6 +5164,7 @@ interface operations {
|
|
|
4976
5164
|
/** @description Missing, invalid or expired bearer token. */
|
|
4977
5165
|
401: {
|
|
4978
5166
|
headers: {
|
|
5167
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4979
5168
|
[name: string]: unknown;
|
|
4980
5169
|
};
|
|
4981
5170
|
content: {
|
|
@@ -4985,6 +5174,7 @@ interface operations {
|
|
|
4985
5174
|
/** @description Caller is a PAK (`pcft_live_*`). Workspace creation requires a human-issued session. */
|
|
4986
5175
|
403: {
|
|
4987
5176
|
headers: {
|
|
5177
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4988
5178
|
[name: string]: unknown;
|
|
4989
5179
|
};
|
|
4990
5180
|
content: {
|
|
@@ -5009,6 +5199,7 @@ interface operations {
|
|
|
5009
5199
|
/** @description The joined workspace. */
|
|
5010
5200
|
201: {
|
|
5011
5201
|
headers: {
|
|
5202
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5012
5203
|
[name: string]: unknown;
|
|
5013
5204
|
};
|
|
5014
5205
|
content: {
|
|
@@ -5018,6 +5209,7 @@ interface operations {
|
|
|
5018
5209
|
/** @description Body failed validation (`code` missing or empty). */
|
|
5019
5210
|
400: {
|
|
5020
5211
|
headers: {
|
|
5212
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5021
5213
|
[name: string]: unknown;
|
|
5022
5214
|
};
|
|
5023
5215
|
content: {
|
|
@@ -5027,6 +5219,7 @@ interface operations {
|
|
|
5027
5219
|
/** @description Missing or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
5028
5220
|
401: {
|
|
5029
5221
|
headers: {
|
|
5222
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5030
5223
|
[name: string]: unknown;
|
|
5031
5224
|
};
|
|
5032
5225
|
content: {
|
|
@@ -5036,6 +5229,7 @@ interface operations {
|
|
|
5036
5229
|
/** @description Caller is a PAK (`pcft_live_*`), email not verified (`EMAIL_NOT_VERIFIED`), or the invite is restricted to a different email (`INVITE_EMAIL_MISMATCH`). */
|
|
5037
5230
|
403: {
|
|
5038
5231
|
headers: {
|
|
5232
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5039
5233
|
[name: string]: unknown;
|
|
5040
5234
|
};
|
|
5041
5235
|
content: {
|
|
@@ -5045,6 +5239,7 @@ interface operations {
|
|
|
5045
5239
|
/** @description Invite code not found (`INVITE_INVALID`). */
|
|
5046
5240
|
404: {
|
|
5047
5241
|
headers: {
|
|
5242
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5048
5243
|
[name: string]: unknown;
|
|
5049
5244
|
};
|
|
5050
5245
|
content: {
|
|
@@ -5054,6 +5249,7 @@ interface operations {
|
|
|
5054
5249
|
/** @description Caller is already a member of this workspace (`ALREADY_A_MEMBER`). */
|
|
5055
5250
|
409: {
|
|
5056
5251
|
headers: {
|
|
5252
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5057
5253
|
[name: string]: unknown;
|
|
5058
5254
|
};
|
|
5059
5255
|
content: {
|
|
@@ -5063,6 +5259,7 @@ interface operations {
|
|
|
5063
5259
|
/** @description Invite revoked (`INVITE_REVOKED`), expired (`INVITE_EXPIRED`) or out of uses (`INVITE_EXHAUSTED`). */
|
|
5064
5260
|
410: {
|
|
5065
5261
|
headers: {
|
|
5262
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5066
5263
|
[name: string]: unknown;
|
|
5067
5264
|
};
|
|
5068
5265
|
content: {
|
|
@@ -5072,6 +5269,7 @@ interface operations {
|
|
|
5072
5269
|
/** @description Rate limited: more than 10 requests/min from this IP (strict `auth` bucket). `Retry-After` header set. */
|
|
5073
5270
|
429: {
|
|
5074
5271
|
headers: {
|
|
5272
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5075
5273
|
[name: string]: unknown;
|
|
5076
5274
|
};
|
|
5077
5275
|
content: {
|
|
@@ -5098,6 +5296,7 @@ interface operations {
|
|
|
5098
5296
|
/** @description Workspace stats. */
|
|
5099
5297
|
200: {
|
|
5100
5298
|
headers: {
|
|
5299
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5101
5300
|
[name: string]: unknown;
|
|
5102
5301
|
};
|
|
5103
5302
|
content: {
|
|
@@ -5107,6 +5306,7 @@ interface operations {
|
|
|
5107
5306
|
/** @description `window` is not one of 1d, 7d, 30d, or `workspaceId` is the slug of a workspace the caller can read rather than its UUID. */
|
|
5108
5307
|
400: {
|
|
5109
5308
|
headers: {
|
|
5309
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5110
5310
|
[name: string]: unknown;
|
|
5111
5311
|
};
|
|
5112
5312
|
content: {
|
|
@@ -5116,6 +5316,7 @@ interface operations {
|
|
|
5116
5316
|
/** @description Missing, invalid or expired bearer token. */
|
|
5117
5317
|
401: {
|
|
5118
5318
|
headers: {
|
|
5319
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5119
5320
|
[name: string]: unknown;
|
|
5120
5321
|
};
|
|
5121
5322
|
content: {
|
|
@@ -5125,6 +5326,7 @@ interface operations {
|
|
|
5125
5326
|
/** @description Caller is not a member of the workspace (`NOT_A_MEMBER`) or lacks `workspace.audit.read` on it. */
|
|
5126
5327
|
403: {
|
|
5127
5328
|
headers: {
|
|
5329
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5128
5330
|
[name: string]: unknown;
|
|
5129
5331
|
};
|
|
5130
5332
|
content: {
|
|
@@ -5134,6 +5336,7 @@ interface operations {
|
|
|
5134
5336
|
/** @description Workspace not found: no workspace has this id (or slug). Same answer as the service's other workspace routes. */
|
|
5135
5337
|
404: {
|
|
5136
5338
|
headers: {
|
|
5339
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5137
5340
|
[name: string]: unknown;
|
|
5138
5341
|
};
|
|
5139
5342
|
content: {
|
|
@@ -5155,6 +5358,7 @@ interface operations {
|
|
|
5155
5358
|
responses: {
|
|
5156
5359
|
200: {
|
|
5157
5360
|
headers: {
|
|
5361
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5158
5362
|
[name: string]: unknown;
|
|
5159
5363
|
};
|
|
5160
5364
|
content: {
|
|
@@ -5164,6 +5368,7 @@ interface operations {
|
|
|
5164
5368
|
/** @description Missing or invalid session. */
|
|
5165
5369
|
401: {
|
|
5166
5370
|
headers: {
|
|
5371
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5167
5372
|
[name: string]: unknown;
|
|
5168
5373
|
};
|
|
5169
5374
|
content: {
|
|
@@ -5173,6 +5378,7 @@ interface operations {
|
|
|
5173
5378
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`). */
|
|
5174
5379
|
403: {
|
|
5175
5380
|
headers: {
|
|
5381
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5176
5382
|
[name: string]: unknown;
|
|
5177
5383
|
};
|
|
5178
5384
|
content: {
|
|
@@ -5182,6 +5388,7 @@ interface operations {
|
|
|
5182
5388
|
/** @description Workspace not found (unknown slug or id). */
|
|
5183
5389
|
404: {
|
|
5184
5390
|
headers: {
|
|
5391
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5185
5392
|
[name: string]: unknown;
|
|
5186
5393
|
};
|
|
5187
5394
|
content: {
|
|
@@ -5204,6 +5411,7 @@ interface operations {
|
|
|
5204
5411
|
/** @description Workspace deleted. */
|
|
5205
5412
|
204: {
|
|
5206
5413
|
headers: {
|
|
5414
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5207
5415
|
[name: string]: unknown;
|
|
5208
5416
|
};
|
|
5209
5417
|
content?: never;
|
|
@@ -5211,6 +5419,7 @@ interface operations {
|
|
|
5211
5419
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
5212
5420
|
401: {
|
|
5213
5421
|
headers: {
|
|
5422
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5214
5423
|
[name: string]: unknown;
|
|
5215
5424
|
};
|
|
5216
5425
|
content: {
|
|
@@ -5220,6 +5429,7 @@ interface operations {
|
|
|
5220
5429
|
/** @description Caller is a PAK (`pcft_live_*`). Workspace deletion requires a human-issued session. */
|
|
5221
5430
|
403: {
|
|
5222
5431
|
headers: {
|
|
5432
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5223
5433
|
[name: string]: unknown;
|
|
5224
5434
|
};
|
|
5225
5435
|
content: {
|
|
@@ -5246,6 +5456,7 @@ interface operations {
|
|
|
5246
5456
|
/** @description Workspace updated. */
|
|
5247
5457
|
200: {
|
|
5248
5458
|
headers: {
|
|
5459
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5249
5460
|
[name: string]: unknown;
|
|
5250
5461
|
};
|
|
5251
5462
|
content: {
|
|
@@ -5255,6 +5466,7 @@ interface operations {
|
|
|
5255
5466
|
/** @description Invalid slug or display name. */
|
|
5256
5467
|
400: {
|
|
5257
5468
|
headers: {
|
|
5469
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5258
5470
|
[name: string]: unknown;
|
|
5259
5471
|
};
|
|
5260
5472
|
content: {
|
|
@@ -5264,6 +5476,7 @@ interface operations {
|
|
|
5264
5476
|
/** @description Missing, invalid or expired bearer token. */
|
|
5265
5477
|
401: {
|
|
5266
5478
|
headers: {
|
|
5479
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5267
5480
|
[name: string]: unknown;
|
|
5268
5481
|
};
|
|
5269
5482
|
content: {
|
|
@@ -5273,6 +5486,7 @@ interface operations {
|
|
|
5273
5486
|
/** @description Workspace not found. */
|
|
5274
5487
|
404: {
|
|
5275
5488
|
headers: {
|
|
5489
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5276
5490
|
[name: string]: unknown;
|
|
5277
5491
|
};
|
|
5278
5492
|
content: {
|
|
@@ -5282,6 +5496,7 @@ interface operations {
|
|
|
5282
5496
|
/** @description Slug already taken by another workspace. */
|
|
5283
5497
|
409: {
|
|
5284
5498
|
headers: {
|
|
5499
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5285
5500
|
[name: string]: unknown;
|
|
5286
5501
|
};
|
|
5287
5502
|
content: {
|
|
@@ -5316,6 +5531,7 @@ interface operations {
|
|
|
5316
5531
|
*/
|
|
5317
5532
|
200: {
|
|
5318
5533
|
headers: {
|
|
5534
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5319
5535
|
[name: string]: unknown;
|
|
5320
5536
|
};
|
|
5321
5537
|
content: {
|
|
@@ -5325,6 +5541,7 @@ interface operations {
|
|
|
5325
5541
|
/** @description Malformed `cursor`, or `include_revoked` is not `true` or `false` (`VALIDATION_ERROR`). */
|
|
5326
5542
|
400: {
|
|
5327
5543
|
headers: {
|
|
5544
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5328
5545
|
[name: string]: unknown;
|
|
5329
5546
|
};
|
|
5330
5547
|
content: {
|
|
@@ -5334,6 +5551,7 @@ interface operations {
|
|
|
5334
5551
|
/** @description Missing, invalid or expired bearer token. */
|
|
5335
5552
|
401: {
|
|
5336
5553
|
headers: {
|
|
5554
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5337
5555
|
[name: string]: unknown;
|
|
5338
5556
|
};
|
|
5339
5557
|
content: {
|
|
@@ -5359,6 +5577,7 @@ interface operations {
|
|
|
5359
5577
|
responses: {
|
|
5360
5578
|
201: {
|
|
5361
5579
|
headers: {
|
|
5580
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5362
5581
|
[name: string]: unknown;
|
|
5363
5582
|
};
|
|
5364
5583
|
content: {
|
|
@@ -5368,6 +5587,7 @@ interface operations {
|
|
|
5368
5587
|
/** @description Body failed validation (`VALIDATION_ERROR`): neither or both of `policy_ids` and `preset`, an unknown `preset`, an empty `policy_ids`, more than 25 policies, or a blank/overlong `name` (`PAK_NAME_REQUIRED` / `PAK_NAME_TOO_LONG`). */
|
|
5369
5588
|
400: {
|
|
5370
5589
|
headers: {
|
|
5590
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5371
5591
|
[name: string]: unknown;
|
|
5372
5592
|
};
|
|
5373
5593
|
content: {
|
|
@@ -5377,6 +5597,7 @@ interface operations {
|
|
|
5377
5597
|
/** @description Missing, malformed or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
5378
5598
|
401: {
|
|
5379
5599
|
headers: {
|
|
5600
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5380
5601
|
[name: string]: unknown;
|
|
5381
5602
|
};
|
|
5382
5603
|
content: {
|
|
@@ -5386,6 +5607,7 @@ interface operations {
|
|
|
5386
5607
|
/** @description Caller is a PAK (`pcft_live_*`) — mint requires a human-issued session; or is not a member (`NOT_A_MEMBER`), lacks `workspace.apikey.create`, or cannot grant one or more actions in the chosen preset or policies. */
|
|
5387
5608
|
403: {
|
|
5388
5609
|
headers: {
|
|
5610
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5389
5611
|
[name: string]: unknown;
|
|
5390
5612
|
};
|
|
5391
5613
|
content: {
|
|
@@ -5395,6 +5617,7 @@ interface operations {
|
|
|
5395
5617
|
/** @description Workspace not found, or one of `policy_ids` does not exist in this workspace (`POLICY_NOT_FOUND`). */
|
|
5396
5618
|
404: {
|
|
5397
5619
|
headers: {
|
|
5620
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5398
5621
|
[name: string]: unknown;
|
|
5399
5622
|
};
|
|
5400
5623
|
content: {
|
|
@@ -5416,6 +5639,7 @@ interface operations {
|
|
|
5416
5639
|
responses: {
|
|
5417
5640
|
200: {
|
|
5418
5641
|
headers: {
|
|
5642
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5419
5643
|
[name: string]: unknown;
|
|
5420
5644
|
};
|
|
5421
5645
|
content: {
|
|
@@ -5425,6 +5649,7 @@ interface operations {
|
|
|
5425
5649
|
/** @description Missing, malformed or invalid session. */
|
|
5426
5650
|
401: {
|
|
5427
5651
|
headers: {
|
|
5652
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5428
5653
|
[name: string]: unknown;
|
|
5429
5654
|
};
|
|
5430
5655
|
content: {
|
|
@@ -5434,6 +5659,7 @@ interface operations {
|
|
|
5434
5659
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.apikey.read`. */
|
|
5435
5660
|
403: {
|
|
5436
5661
|
headers: {
|
|
5662
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5437
5663
|
[name: string]: unknown;
|
|
5438
5664
|
};
|
|
5439
5665
|
content: {
|
|
@@ -5443,6 +5669,7 @@ interface operations {
|
|
|
5443
5669
|
/** @description Workspace not found. */
|
|
5444
5670
|
404: {
|
|
5445
5671
|
headers: {
|
|
5672
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5446
5673
|
[name: string]: unknown;
|
|
5447
5674
|
};
|
|
5448
5675
|
content: {
|
|
@@ -5468,6 +5695,7 @@ interface operations {
|
|
|
5468
5695
|
responses: {
|
|
5469
5696
|
200: {
|
|
5470
5697
|
headers: {
|
|
5698
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5471
5699
|
[name: string]: unknown;
|
|
5472
5700
|
};
|
|
5473
5701
|
content: {
|
|
@@ -5477,6 +5705,7 @@ interface operations {
|
|
|
5477
5705
|
/** @description Body failed validation (`VALIDATION_ERROR`): neither or both of `policy_ids` and `preset`, an unknown `preset`, or an empty or oversized `policy_ids`. */
|
|
5478
5706
|
400: {
|
|
5479
5707
|
headers: {
|
|
5708
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5480
5709
|
[name: string]: unknown;
|
|
5481
5710
|
};
|
|
5482
5711
|
content: {
|
|
@@ -5486,6 +5715,7 @@ interface operations {
|
|
|
5486
5715
|
/** @description Missing, malformed or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
5487
5716
|
401: {
|
|
5488
5717
|
headers: {
|
|
5718
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5489
5719
|
[name: string]: unknown;
|
|
5490
5720
|
};
|
|
5491
5721
|
content: {
|
|
@@ -5495,6 +5725,7 @@ interface operations {
|
|
|
5495
5725
|
/** @description Caller is a PAK, is not a member (`NOT_A_MEMBER`), or lacks `workspace.apikey.create`. A key you could not mint is NOT a 403 here: it comes back with `grantable: false`. */
|
|
5496
5726
|
403: {
|
|
5497
5727
|
headers: {
|
|
5728
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5498
5729
|
[name: string]: unknown;
|
|
5499
5730
|
};
|
|
5500
5731
|
content: {
|
|
@@ -5504,6 +5735,7 @@ interface operations {
|
|
|
5504
5735
|
/** @description Workspace not found, or one of `policy_ids` does not exist in this workspace (`POLICY_NOT_FOUND`). */
|
|
5505
5736
|
404: {
|
|
5506
5737
|
headers: {
|
|
5738
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5507
5739
|
[name: string]: unknown;
|
|
5508
5740
|
};
|
|
5509
5741
|
content: {
|
|
@@ -5526,6 +5758,7 @@ interface operations {
|
|
|
5526
5758
|
responses: {
|
|
5527
5759
|
200: {
|
|
5528
5760
|
headers: {
|
|
5761
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5529
5762
|
[name: string]: unknown;
|
|
5530
5763
|
};
|
|
5531
5764
|
content: {
|
|
@@ -5535,6 +5768,7 @@ interface operations {
|
|
|
5535
5768
|
/** @description `id` is not a UUID. */
|
|
5536
5769
|
400: {
|
|
5537
5770
|
headers: {
|
|
5771
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5538
5772
|
[name: string]: unknown;
|
|
5539
5773
|
};
|
|
5540
5774
|
content: {
|
|
@@ -5544,6 +5778,7 @@ interface operations {
|
|
|
5544
5778
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
5545
5779
|
401: {
|
|
5546
5780
|
headers: {
|
|
5781
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5547
5782
|
[name: string]: unknown;
|
|
5548
5783
|
};
|
|
5549
5784
|
content: {
|
|
@@ -5553,6 +5788,7 @@ interface operations {
|
|
|
5553
5788
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.apikey.read`. */
|
|
5554
5789
|
403: {
|
|
5555
5790
|
headers: {
|
|
5791
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5556
5792
|
[name: string]: unknown;
|
|
5557
5793
|
};
|
|
5558
5794
|
content: {
|
|
@@ -5562,6 +5798,7 @@ interface operations {
|
|
|
5562
5798
|
/** @description Workspace not found, or PAK not found in this workspace (`PAK_NOT_FOUND`). */
|
|
5563
5799
|
404: {
|
|
5564
5800
|
headers: {
|
|
5801
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5565
5802
|
[name: string]: unknown;
|
|
5566
5803
|
};
|
|
5567
5804
|
content: {
|
|
@@ -5588,6 +5825,7 @@ interface operations {
|
|
|
5588
5825
|
/** @description PAK revoked. */
|
|
5589
5826
|
204: {
|
|
5590
5827
|
headers: {
|
|
5828
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5591
5829
|
[name: string]: unknown;
|
|
5592
5830
|
};
|
|
5593
5831
|
content?: never;
|
|
@@ -5595,6 +5833,7 @@ interface operations {
|
|
|
5595
5833
|
/** @description `id` is not a UUID. */
|
|
5596
5834
|
400: {
|
|
5597
5835
|
headers: {
|
|
5836
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5598
5837
|
[name: string]: unknown;
|
|
5599
5838
|
};
|
|
5600
5839
|
content: {
|
|
@@ -5604,6 +5843,7 @@ interface operations {
|
|
|
5604
5843
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
5605
5844
|
401: {
|
|
5606
5845
|
headers: {
|
|
5846
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5607
5847
|
[name: string]: unknown;
|
|
5608
5848
|
};
|
|
5609
5849
|
content: {
|
|
@@ -5613,6 +5853,7 @@ interface operations {
|
|
|
5613
5853
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.apikey.delete`. */
|
|
5614
5854
|
403: {
|
|
5615
5855
|
headers: {
|
|
5856
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5616
5857
|
[name: string]: unknown;
|
|
5617
5858
|
};
|
|
5618
5859
|
content: {
|
|
@@ -5622,6 +5863,7 @@ interface operations {
|
|
|
5622
5863
|
/** @description Workspace not found, or PAK not found in this workspace (`PAK_NOT_FOUND`). Revoking an already-revoked PAK is a 204 no-op. */
|
|
5623
5864
|
404: {
|
|
5624
5865
|
headers: {
|
|
5866
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5625
5867
|
[name: string]: unknown;
|
|
5626
5868
|
};
|
|
5627
5869
|
content: {
|
|
@@ -5648,6 +5890,7 @@ interface operations {
|
|
|
5648
5890
|
responses: {
|
|
5649
5891
|
200: {
|
|
5650
5892
|
headers: {
|
|
5893
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5651
5894
|
[name: string]: unknown;
|
|
5652
5895
|
};
|
|
5653
5896
|
content: {
|
|
@@ -5657,6 +5900,7 @@ interface operations {
|
|
|
5657
5900
|
/** @description `id` is not a UUID, body failed validation, or `name` is blank (`PAK_NAME_REQUIRED`). */
|
|
5658
5901
|
400: {
|
|
5659
5902
|
headers: {
|
|
5903
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5660
5904
|
[name: string]: unknown;
|
|
5661
5905
|
};
|
|
5662
5906
|
content: {
|
|
@@ -5666,6 +5910,7 @@ interface operations {
|
|
|
5666
5910
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
5667
5911
|
401: {
|
|
5668
5912
|
headers: {
|
|
5913
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5669
5914
|
[name: string]: unknown;
|
|
5670
5915
|
};
|
|
5671
5916
|
content: {
|
|
@@ -5675,6 +5920,7 @@ interface operations {
|
|
|
5675
5920
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.apikey.update`. */
|
|
5676
5921
|
403: {
|
|
5677
5922
|
headers: {
|
|
5923
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5678
5924
|
[name: string]: unknown;
|
|
5679
5925
|
};
|
|
5680
5926
|
content: {
|
|
@@ -5684,6 +5930,7 @@ interface operations {
|
|
|
5684
5930
|
/** @description Workspace not found, or PAK not found in this workspace (`PAK_NOT_FOUND`). */
|
|
5685
5931
|
404: {
|
|
5686
5932
|
headers: {
|
|
5933
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5687
5934
|
[name: string]: unknown;
|
|
5688
5935
|
};
|
|
5689
5936
|
content: {
|
|
@@ -5693,6 +5940,7 @@ interface operations {
|
|
|
5693
5940
|
/** @description PAK is revoked (`PAK_REVOKED`). */
|
|
5694
5941
|
409: {
|
|
5695
5942
|
headers: {
|
|
5943
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5696
5944
|
[name: string]: unknown;
|
|
5697
5945
|
};
|
|
5698
5946
|
content: {
|
|
@@ -5720,6 +5968,7 @@ interface operations {
|
|
|
5720
5968
|
/** @description Updated PAK with new bindings. */
|
|
5721
5969
|
200: {
|
|
5722
5970
|
headers: {
|
|
5971
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5723
5972
|
[name: string]: unknown;
|
|
5724
5973
|
};
|
|
5725
5974
|
content: {
|
|
@@ -5729,6 +5978,7 @@ interface operations {
|
|
|
5729
5978
|
/** @description One of: bound > 25 policies; merged > 200 statements; one of the policy ids does not exist or lives in a different workspace. */
|
|
5730
5979
|
400: {
|
|
5731
5980
|
headers: {
|
|
5981
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5732
5982
|
[name: string]: unknown;
|
|
5733
5983
|
};
|
|
5734
5984
|
content: {
|
|
@@ -5738,6 +5988,7 @@ interface operations {
|
|
|
5738
5988
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
5739
5989
|
401: {
|
|
5740
5990
|
headers: {
|
|
5991
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5741
5992
|
[name: string]: unknown;
|
|
5742
5993
|
};
|
|
5743
5994
|
content: {
|
|
@@ -5747,6 +5998,7 @@ interface operations {
|
|
|
5747
5998
|
/** @description Caller cannot grant one or more actions in the merged statement set. */
|
|
5748
5999
|
403: {
|
|
5749
6000
|
headers: {
|
|
6001
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5750
6002
|
[name: string]: unknown;
|
|
5751
6003
|
};
|
|
5752
6004
|
content: {
|
|
@@ -5756,6 +6008,7 @@ interface operations {
|
|
|
5756
6008
|
/** @description PAK not found in this workspace. */
|
|
5757
6009
|
404: {
|
|
5758
6010
|
headers: {
|
|
6011
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5759
6012
|
[name: string]: unknown;
|
|
5760
6013
|
};
|
|
5761
6014
|
content: {
|
|
@@ -5765,6 +6018,7 @@ interface operations {
|
|
|
5765
6018
|
/** @description Empty bindings — revoke the PAK instead of leaving it unbound. */
|
|
5766
6019
|
409: {
|
|
5767
6020
|
headers: {
|
|
6021
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5768
6022
|
[name: string]: unknown;
|
|
5769
6023
|
};
|
|
5770
6024
|
content: {
|
|
@@ -5791,6 +6045,7 @@ interface operations {
|
|
|
5791
6045
|
responses: {
|
|
5792
6046
|
201: {
|
|
5793
6047
|
headers: {
|
|
6048
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5794
6049
|
[name: string]: unknown;
|
|
5795
6050
|
};
|
|
5796
6051
|
content: {
|
|
@@ -5800,6 +6055,7 @@ interface operations {
|
|
|
5800
6055
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
5801
6056
|
401: {
|
|
5802
6057
|
headers: {
|
|
6058
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5803
6059
|
[name: string]: unknown;
|
|
5804
6060
|
};
|
|
5805
6061
|
content: {
|
|
@@ -5809,6 +6065,7 @@ interface operations {
|
|
|
5809
6065
|
/** @description Caller is a PAK (`pcft_live_*`), or cannot grant one or more actions in the bindings being carried across. */
|
|
5810
6066
|
403: {
|
|
5811
6067
|
headers: {
|
|
6068
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5812
6069
|
[name: string]: unknown;
|
|
5813
6070
|
};
|
|
5814
6071
|
content: {
|
|
@@ -5818,6 +6075,7 @@ interface operations {
|
|
|
5818
6075
|
/** @description PAK not found in this workspace. */
|
|
5819
6076
|
404: {
|
|
5820
6077
|
headers: {
|
|
6078
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5821
6079
|
[name: string]: unknown;
|
|
5822
6080
|
};
|
|
5823
6081
|
content: {
|
|
@@ -5827,6 +6085,7 @@ interface operations {
|
|
|
5827
6085
|
/** @description The key is revoked (`PAK_REVOKED`), already expired (`PAK_EXPIRED`), or has no policy bindings to carry across. */
|
|
5828
6086
|
409: {
|
|
5829
6087
|
headers: {
|
|
6088
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5830
6089
|
[name: string]: unknown;
|
|
5831
6090
|
};
|
|
5832
6091
|
content: {
|
|
@@ -5865,6 +6124,7 @@ interface operations {
|
|
|
5865
6124
|
responses: {
|
|
5866
6125
|
200: {
|
|
5867
6126
|
headers: {
|
|
6127
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5868
6128
|
[name: string]: unknown;
|
|
5869
6129
|
};
|
|
5870
6130
|
content: {
|
|
@@ -5874,6 +6134,7 @@ interface operations {
|
|
|
5874
6134
|
/** @description Invalid query params — `actor_id` is not a well-formed UUID, or `cursor` is not a cursor this endpoint minted. `since`/`until` that do not parse as ISO-8601 are ignored rather than rejected, and `sources` silently drops unknown names; an empty result set after those filters still returns 200. */
|
|
5875
6135
|
400: {
|
|
5876
6136
|
headers: {
|
|
6137
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5877
6138
|
[name: string]: unknown;
|
|
5878
6139
|
};
|
|
5879
6140
|
content: {
|
|
@@ -5883,6 +6144,7 @@ interface operations {
|
|
|
5883
6144
|
/** @description Missing, invalid or expired bearer token. */
|
|
5884
6145
|
401: {
|
|
5885
6146
|
headers: {
|
|
6147
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5886
6148
|
[name: string]: unknown;
|
|
5887
6149
|
};
|
|
5888
6150
|
content: {
|
|
@@ -5892,6 +6154,7 @@ interface operations {
|
|
|
5892
6154
|
/** @description The caller is signed in but lacks `workspace.audit.read` for this workspace. */
|
|
5893
6155
|
403: {
|
|
5894
6156
|
headers: {
|
|
6157
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5895
6158
|
[name: string]: unknown;
|
|
5896
6159
|
};
|
|
5897
6160
|
content: {
|
|
@@ -5901,6 +6164,7 @@ interface operations {
|
|
|
5901
6164
|
/** @description The `:workspaceSlug` path param does not resolve to a workspace the caller can see. */
|
|
5902
6165
|
404: {
|
|
5903
6166
|
headers: {
|
|
6167
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5904
6168
|
[name: string]: unknown;
|
|
5905
6169
|
};
|
|
5906
6170
|
content: {
|
|
@@ -5936,6 +6200,7 @@ interface operations {
|
|
|
5936
6200
|
/** @description Page of audit entries with `next_cursor` and `has_more`. */
|
|
5937
6201
|
200: {
|
|
5938
6202
|
headers: {
|
|
6203
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5939
6204
|
[name: string]: unknown;
|
|
5940
6205
|
};
|
|
5941
6206
|
content: {
|
|
@@ -5945,6 +6210,7 @@ interface operations {
|
|
|
5945
6210
|
/** @description Malformed `cursor`, `since`, or `until`. */
|
|
5946
6211
|
400: {
|
|
5947
6212
|
headers: {
|
|
6213
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5948
6214
|
[name: string]: unknown;
|
|
5949
6215
|
};
|
|
5950
6216
|
content: {
|
|
@@ -5954,6 +6220,7 @@ interface operations {
|
|
|
5954
6220
|
/** @description Missing, invalid or expired bearer token. */
|
|
5955
6221
|
401: {
|
|
5956
6222
|
headers: {
|
|
6223
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5957
6224
|
[name: string]: unknown;
|
|
5958
6225
|
};
|
|
5959
6226
|
content: {
|
|
@@ -5984,6 +6251,7 @@ interface operations {
|
|
|
5984
6251
|
/** @description Streamed export. `application/x-ndjson` (one JSON object per line) or `text/csv` (RFC 4180, header row first). */
|
|
5985
6252
|
200: {
|
|
5986
6253
|
headers: {
|
|
6254
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5987
6255
|
[name: string]: unknown;
|
|
5988
6256
|
};
|
|
5989
6257
|
content: {
|
|
@@ -5994,6 +6262,7 @@ interface operations {
|
|
|
5994
6262
|
/** @description Unknown `format`, or malformed `since` / `until`. */
|
|
5995
6263
|
400: {
|
|
5996
6264
|
headers: {
|
|
6265
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5997
6266
|
[name: string]: unknown;
|
|
5998
6267
|
};
|
|
5999
6268
|
content: {
|
|
@@ -6003,6 +6272,7 @@ interface operations {
|
|
|
6003
6272
|
/** @description Missing, invalid or expired bearer token. */
|
|
6004
6273
|
401: {
|
|
6005
6274
|
headers: {
|
|
6275
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6006
6276
|
[name: string]: unknown;
|
|
6007
6277
|
};
|
|
6008
6278
|
content: {
|
|
@@ -6012,6 +6282,7 @@ interface operations {
|
|
|
6012
6282
|
/** @description Caller lacks `workspace.audit.read`. */
|
|
6013
6283
|
403: {
|
|
6014
6284
|
headers: {
|
|
6285
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6015
6286
|
[name: string]: unknown;
|
|
6016
6287
|
};
|
|
6017
6288
|
content: {
|
|
@@ -6021,6 +6292,7 @@ interface operations {
|
|
|
6021
6292
|
/** @description Workspace not found. */
|
|
6022
6293
|
404: {
|
|
6023
6294
|
headers: {
|
|
6295
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6024
6296
|
[name: string]: unknown;
|
|
6025
6297
|
};
|
|
6026
6298
|
content: {
|
|
@@ -6030,6 +6302,7 @@ interface operations {
|
|
|
6030
6302
|
/** @description More than 1,000,000 rows match. Narrow the window with `since` / `until` and retry. */
|
|
6031
6303
|
413: {
|
|
6032
6304
|
headers: {
|
|
6305
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6033
6306
|
[name: string]: unknown;
|
|
6034
6307
|
};
|
|
6035
6308
|
content: {
|
|
@@ -6061,6 +6334,7 @@ interface operations {
|
|
|
6061
6334
|
responses: {
|
|
6062
6335
|
200: {
|
|
6063
6336
|
headers: {
|
|
6337
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6064
6338
|
[name: string]: unknown;
|
|
6065
6339
|
};
|
|
6066
6340
|
content: {
|
|
@@ -6070,6 +6344,7 @@ interface operations {
|
|
|
6070
6344
|
/** @description Missing, invalid or expired bearer token. */
|
|
6071
6345
|
401: {
|
|
6072
6346
|
headers: {
|
|
6347
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6073
6348
|
[name: string]: unknown;
|
|
6074
6349
|
};
|
|
6075
6350
|
content: {
|
|
@@ -6079,6 +6354,7 @@ interface operations {
|
|
|
6079
6354
|
/** @description Caller is not a member of this workspace, or lacks workspace.settings.update. */
|
|
6080
6355
|
403: {
|
|
6081
6356
|
headers: {
|
|
6357
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6082
6358
|
[name: string]: unknown;
|
|
6083
6359
|
};
|
|
6084
6360
|
content: {
|
|
@@ -6101,6 +6377,7 @@ interface operations {
|
|
|
6101
6377
|
/** @description Avatar cleared. */
|
|
6102
6378
|
204: {
|
|
6103
6379
|
headers: {
|
|
6380
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6104
6381
|
[name: string]: unknown;
|
|
6105
6382
|
};
|
|
6106
6383
|
content?: never;
|
|
@@ -6108,6 +6385,7 @@ interface operations {
|
|
|
6108
6385
|
/** @description Missing or invalid session. */
|
|
6109
6386
|
401: {
|
|
6110
6387
|
headers: {
|
|
6388
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6111
6389
|
[name: string]: unknown;
|
|
6112
6390
|
};
|
|
6113
6391
|
content: {
|
|
@@ -6117,6 +6395,7 @@ interface operations {
|
|
|
6117
6395
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.settings.update`. */
|
|
6118
6396
|
403: {
|
|
6119
6397
|
headers: {
|
|
6398
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6120
6399
|
[name: string]: unknown;
|
|
6121
6400
|
};
|
|
6122
6401
|
content: {
|
|
@@ -6126,6 +6405,7 @@ interface operations {
|
|
|
6126
6405
|
/** @description Workspace not found (unknown slug or id). */
|
|
6127
6406
|
404: {
|
|
6128
6407
|
headers: {
|
|
6408
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6129
6409
|
[name: string]: unknown;
|
|
6130
6410
|
};
|
|
6131
6411
|
content: {
|
|
@@ -6152,6 +6432,7 @@ interface operations {
|
|
|
6152
6432
|
responses: {
|
|
6153
6433
|
200: {
|
|
6154
6434
|
headers: {
|
|
6435
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6155
6436
|
[name: string]: unknown;
|
|
6156
6437
|
};
|
|
6157
6438
|
content: {
|
|
@@ -6161,6 +6442,7 @@ interface operations {
|
|
|
6161
6442
|
/** @description Malformed `cursor`. */
|
|
6162
6443
|
400: {
|
|
6163
6444
|
headers: {
|
|
6445
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6164
6446
|
[name: string]: unknown;
|
|
6165
6447
|
};
|
|
6166
6448
|
content: {
|
|
@@ -6170,6 +6452,7 @@ interface operations {
|
|
|
6170
6452
|
/** @description Missing or invalid session. */
|
|
6171
6453
|
401: {
|
|
6172
6454
|
headers: {
|
|
6455
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6173
6456
|
[name: string]: unknown;
|
|
6174
6457
|
};
|
|
6175
6458
|
content: {
|
|
@@ -6179,6 +6462,7 @@ interface operations {
|
|
|
6179
6462
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.member.invite`. */
|
|
6180
6463
|
403: {
|
|
6181
6464
|
headers: {
|
|
6465
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6182
6466
|
[name: string]: unknown;
|
|
6183
6467
|
};
|
|
6184
6468
|
content: {
|
|
@@ -6188,6 +6472,7 @@ interface operations {
|
|
|
6188
6472
|
/** @description Workspace not found (unknown slug or id). */
|
|
6189
6473
|
404: {
|
|
6190
6474
|
headers: {
|
|
6475
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6191
6476
|
[name: string]: unknown;
|
|
6192
6477
|
};
|
|
6193
6478
|
content: {
|
|
@@ -6213,6 +6498,7 @@ interface operations {
|
|
|
6213
6498
|
responses: {
|
|
6214
6499
|
201: {
|
|
6215
6500
|
headers: {
|
|
6501
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6216
6502
|
[name: string]: unknown;
|
|
6217
6503
|
};
|
|
6218
6504
|
content: {
|
|
@@ -6222,6 +6508,7 @@ interface operations {
|
|
|
6222
6508
|
/** @description Body failed validation. */
|
|
6223
6509
|
400: {
|
|
6224
6510
|
headers: {
|
|
6511
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6225
6512
|
[name: string]: unknown;
|
|
6226
6513
|
};
|
|
6227
6514
|
content: {
|
|
@@ -6231,6 +6518,7 @@ interface operations {
|
|
|
6231
6518
|
/** @description Missing or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
6232
6519
|
401: {
|
|
6233
6520
|
headers: {
|
|
6521
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6234
6522
|
[name: string]: unknown;
|
|
6235
6523
|
};
|
|
6236
6524
|
content: {
|
|
@@ -6240,6 +6528,7 @@ interface operations {
|
|
|
6240
6528
|
/** @description Caller is a PAK (`pcft_live_*`), email not verified (`EMAIL_NOT_VERIFIED`), not a member (`NOT_A_MEMBER`), lacks `workspace.member.invite`, a non-owner tried to invite an owner (`OWNER_ROLE_REQUIRED`), or the role holds permissions the caller does not (`MEMBER_RANK_EXCEEDED`). */
|
|
6241
6529
|
403: {
|
|
6242
6530
|
headers: {
|
|
6531
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6243
6532
|
[name: string]: unknown;
|
|
6244
6533
|
};
|
|
6245
6534
|
content: {
|
|
@@ -6249,6 +6538,7 @@ interface operations {
|
|
|
6249
6538
|
/** @description Workspace not found, or role not found in this workspace (`ROLE_NOT_FOUND`). */
|
|
6250
6539
|
404: {
|
|
6251
6540
|
headers: {
|
|
6541
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6252
6542
|
[name: string]: unknown;
|
|
6253
6543
|
};
|
|
6254
6544
|
content: {
|
|
@@ -6272,6 +6562,7 @@ interface operations {
|
|
|
6272
6562
|
/** @description Invite revoked. */
|
|
6273
6563
|
204: {
|
|
6274
6564
|
headers: {
|
|
6565
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6275
6566
|
[name: string]: unknown;
|
|
6276
6567
|
};
|
|
6277
6568
|
content?: never;
|
|
@@ -6279,6 +6570,7 @@ interface operations {
|
|
|
6279
6570
|
/** @description Missing or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
6280
6571
|
401: {
|
|
6281
6572
|
headers: {
|
|
6573
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6282
6574
|
[name: string]: unknown;
|
|
6283
6575
|
};
|
|
6284
6576
|
content: {
|
|
@@ -6288,6 +6580,7 @@ interface operations {
|
|
|
6288
6580
|
/** @description Caller is a PAK (`pcft_live_*`), not a member of the invite’s workspace (`NOT_A_MEMBER`), or lacks `workspace.member.invite`. */
|
|
6289
6581
|
403: {
|
|
6290
6582
|
headers: {
|
|
6583
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6291
6584
|
[name: string]: unknown;
|
|
6292
6585
|
};
|
|
6293
6586
|
content: {
|
|
@@ -6297,6 +6590,7 @@ interface operations {
|
|
|
6297
6590
|
/** @description Workspace not found, or invite not found (`INVITE_NOT_FOUND`). */
|
|
6298
6591
|
404: {
|
|
6299
6592
|
headers: {
|
|
6593
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6300
6594
|
[name: string]: unknown;
|
|
6301
6595
|
};
|
|
6302
6596
|
content: {
|
|
@@ -6327,6 +6621,7 @@ interface operations {
|
|
|
6327
6621
|
responses: {
|
|
6328
6622
|
200: {
|
|
6329
6623
|
headers: {
|
|
6624
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6330
6625
|
[name: string]: unknown;
|
|
6331
6626
|
};
|
|
6332
6627
|
content: {
|
|
@@ -6336,6 +6631,7 @@ interface operations {
|
|
|
6336
6631
|
/** @description Malformed `cursor`. */
|
|
6337
6632
|
400: {
|
|
6338
6633
|
headers: {
|
|
6634
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6339
6635
|
[name: string]: unknown;
|
|
6340
6636
|
};
|
|
6341
6637
|
content: {
|
|
@@ -6345,6 +6641,7 @@ interface operations {
|
|
|
6345
6641
|
/** @description Missing or invalid session. */
|
|
6346
6642
|
401: {
|
|
6347
6643
|
headers: {
|
|
6644
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6348
6645
|
[name: string]: unknown;
|
|
6349
6646
|
};
|
|
6350
6647
|
content: {
|
|
@@ -6354,6 +6651,7 @@ interface operations {
|
|
|
6354
6651
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.member.read`. */
|
|
6355
6652
|
403: {
|
|
6356
6653
|
headers: {
|
|
6654
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6357
6655
|
[name: string]: unknown;
|
|
6358
6656
|
};
|
|
6359
6657
|
content: {
|
|
@@ -6363,6 +6661,7 @@ interface operations {
|
|
|
6363
6661
|
/** @description Workspace not found (unknown slug or id). */
|
|
6364
6662
|
404: {
|
|
6365
6663
|
headers: {
|
|
6664
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6366
6665
|
[name: string]: unknown;
|
|
6367
6666
|
};
|
|
6368
6667
|
content: {
|
|
@@ -6386,6 +6685,7 @@ interface operations {
|
|
|
6386
6685
|
/** @description Member removed. */
|
|
6387
6686
|
204: {
|
|
6388
6687
|
headers: {
|
|
6688
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6389
6689
|
[name: string]: unknown;
|
|
6390
6690
|
};
|
|
6391
6691
|
content?: never;
|
|
@@ -6393,6 +6693,7 @@ interface operations {
|
|
|
6393
6693
|
/** @description Missing or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
6394
6694
|
401: {
|
|
6395
6695
|
headers: {
|
|
6696
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6396
6697
|
[name: string]: unknown;
|
|
6397
6698
|
};
|
|
6398
6699
|
content: {
|
|
@@ -6402,6 +6703,7 @@ interface operations {
|
|
|
6402
6703
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), lacks `workspace.member.remove` (not required for self-leave), or the target outranks the caller (`MEMBER_RANK_EXCEEDED`: only an owner can remove an owner, and the target role's permissions must all be held by the caller). */
|
|
6403
6704
|
403: {
|
|
6404
6705
|
headers: {
|
|
6706
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6405
6707
|
[name: string]: unknown;
|
|
6406
6708
|
};
|
|
6407
6709
|
content: {
|
|
@@ -6411,6 +6713,7 @@ interface operations {
|
|
|
6411
6713
|
/** @description Workspace not found, or target account is not a member (`NOT_A_MEMBER`). */
|
|
6412
6714
|
404: {
|
|
6413
6715
|
headers: {
|
|
6716
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6414
6717
|
[name: string]: unknown;
|
|
6415
6718
|
};
|
|
6416
6719
|
content: {
|
|
@@ -6420,6 +6723,7 @@ interface operations {
|
|
|
6420
6723
|
/** @description Target is the last member (`LAST_MEMBER`) or the sole owner (`SOLE_OWNER`). */
|
|
6421
6724
|
409: {
|
|
6422
6725
|
headers: {
|
|
6726
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6423
6727
|
[name: string]: unknown;
|
|
6424
6728
|
};
|
|
6425
6729
|
content: {
|
|
@@ -6446,6 +6750,7 @@ interface operations {
|
|
|
6446
6750
|
responses: {
|
|
6447
6751
|
200: {
|
|
6448
6752
|
headers: {
|
|
6753
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6449
6754
|
[name: string]: unknown;
|
|
6450
6755
|
};
|
|
6451
6756
|
content: {
|
|
@@ -6455,6 +6760,7 @@ interface operations {
|
|
|
6455
6760
|
/** @description Body failed validation. */
|
|
6456
6761
|
400: {
|
|
6457
6762
|
headers: {
|
|
6763
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6458
6764
|
[name: string]: unknown;
|
|
6459
6765
|
};
|
|
6460
6766
|
content: {
|
|
@@ -6464,6 +6770,7 @@ interface operations {
|
|
|
6464
6770
|
/** @description Missing or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
6465
6771
|
401: {
|
|
6466
6772
|
headers: {
|
|
6773
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6467
6774
|
[name: string]: unknown;
|
|
6468
6775
|
};
|
|
6469
6776
|
content: {
|
|
@@ -6473,6 +6780,7 @@ interface operations {
|
|
|
6473
6780
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), lacks `workspace.member.update-role`, a non-owner tried to assign the owner role or change an owner (`OWNER_ROLE_REQUIRED`), or a non-owner tried to change a role to or from one holding permissions the caller lacks (`MEMBER_RANK_EXCEEDED`). Admins may make admins, never owners. */
|
|
6474
6781
|
403: {
|
|
6475
6782
|
headers: {
|
|
6783
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6476
6784
|
[name: string]: unknown;
|
|
6477
6785
|
};
|
|
6478
6786
|
content: {
|
|
@@ -6482,6 +6790,7 @@ interface operations {
|
|
|
6482
6790
|
/** @description Workspace not found, target account is not a member (`NOT_A_MEMBER`), or role not found in this workspace (`ROLE_NOT_FOUND`). */
|
|
6483
6791
|
404: {
|
|
6484
6792
|
headers: {
|
|
6793
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6485
6794
|
[name: string]: unknown;
|
|
6486
6795
|
};
|
|
6487
6796
|
content: {
|
|
@@ -6491,6 +6800,7 @@ interface operations {
|
|
|
6491
6800
|
/** @description Would demote the only owner (`SOLE_OWNER`). Assign another owner first. */
|
|
6492
6801
|
409: {
|
|
6493
6802
|
headers: {
|
|
6803
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6494
6804
|
[name: string]: unknown;
|
|
6495
6805
|
};
|
|
6496
6806
|
content: {
|
|
@@ -6518,6 +6828,7 @@ interface operations {
|
|
|
6518
6828
|
/** @description Page of managed policies with `next_cursor` and `has_more`. */
|
|
6519
6829
|
200: {
|
|
6520
6830
|
headers: {
|
|
6831
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6521
6832
|
[name: string]: unknown;
|
|
6522
6833
|
};
|
|
6523
6834
|
content: {
|
|
@@ -6527,6 +6838,7 @@ interface operations {
|
|
|
6527
6838
|
/** @description Malformed `cursor`. */
|
|
6528
6839
|
400: {
|
|
6529
6840
|
headers: {
|
|
6841
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6530
6842
|
[name: string]: unknown;
|
|
6531
6843
|
};
|
|
6532
6844
|
content: {
|
|
@@ -6536,6 +6848,7 @@ interface operations {
|
|
|
6536
6848
|
/** @description Missing, invalid or expired bearer token. */
|
|
6537
6849
|
401: {
|
|
6538
6850
|
headers: {
|
|
6851
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6539
6852
|
[name: string]: unknown;
|
|
6540
6853
|
};
|
|
6541
6854
|
content: {
|
|
@@ -6562,6 +6875,7 @@ interface operations {
|
|
|
6562
6875
|
/** @description Policy created. */
|
|
6563
6876
|
201: {
|
|
6564
6877
|
headers: {
|
|
6878
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6565
6879
|
[name: string]: unknown;
|
|
6566
6880
|
};
|
|
6567
6881
|
content: {
|
|
@@ -6571,6 +6885,7 @@ interface operations {
|
|
|
6571
6885
|
/** @description Invalid policy shape, name, or condition block. */
|
|
6572
6886
|
400: {
|
|
6573
6887
|
headers: {
|
|
6888
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6574
6889
|
[name: string]: unknown;
|
|
6575
6890
|
};
|
|
6576
6891
|
content: {
|
|
@@ -6580,6 +6895,7 @@ interface operations {
|
|
|
6580
6895
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
6581
6896
|
401: {
|
|
6582
6897
|
headers: {
|
|
6898
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6583
6899
|
[name: string]: unknown;
|
|
6584
6900
|
};
|
|
6585
6901
|
content: {
|
|
@@ -6589,6 +6905,7 @@ interface operations {
|
|
|
6589
6905
|
/** @description Caller is not a member (`NOT_A_MEMBER`), lacks `workspace.policy.create` (owner and admin hold it by default), or the policy grants an action the caller does not hold. */
|
|
6590
6906
|
403: {
|
|
6591
6907
|
headers: {
|
|
6908
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6592
6909
|
[name: string]: unknown;
|
|
6593
6910
|
};
|
|
6594
6911
|
content: {
|
|
@@ -6598,6 +6915,7 @@ interface operations {
|
|
|
6598
6915
|
/** @description Name already in use, or the workspace already has 100 policies. */
|
|
6599
6916
|
409: {
|
|
6600
6917
|
headers: {
|
|
6918
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6601
6919
|
[name: string]: unknown;
|
|
6602
6920
|
};
|
|
6603
6921
|
content: {
|
|
@@ -6619,6 +6937,7 @@ interface operations {
|
|
|
6619
6937
|
responses: {
|
|
6620
6938
|
200: {
|
|
6621
6939
|
headers: {
|
|
6940
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6622
6941
|
[name: string]: unknown;
|
|
6623
6942
|
};
|
|
6624
6943
|
content: {
|
|
@@ -6628,6 +6947,7 @@ interface operations {
|
|
|
6628
6947
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
6629
6948
|
401: {
|
|
6630
6949
|
headers: {
|
|
6950
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6631
6951
|
[name: string]: unknown;
|
|
6632
6952
|
};
|
|
6633
6953
|
content: {
|
|
@@ -6637,6 +6957,7 @@ interface operations {
|
|
|
6637
6957
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.policy.read`. */
|
|
6638
6958
|
403: {
|
|
6639
6959
|
headers: {
|
|
6960
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6640
6961
|
[name: string]: unknown;
|
|
6641
6962
|
};
|
|
6642
6963
|
content: {
|
|
@@ -6646,6 +6967,7 @@ interface operations {
|
|
|
6646
6967
|
/** @description Workspace not found (unknown slug or id). */
|
|
6647
6968
|
404: {
|
|
6648
6969
|
headers: {
|
|
6970
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6649
6971
|
[name: string]: unknown;
|
|
6650
6972
|
};
|
|
6651
6973
|
content: {
|
|
@@ -6669,6 +6991,7 @@ interface operations {
|
|
|
6669
6991
|
/** @description Policy detail. `binding_count.{pak,role}` reports how many things are currently bound — surface this in delete-confirm UX. */
|
|
6670
6992
|
200: {
|
|
6671
6993
|
headers: {
|
|
6994
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6672
6995
|
[name: string]: unknown;
|
|
6673
6996
|
};
|
|
6674
6997
|
content: {
|
|
@@ -6678,6 +7001,7 @@ interface operations {
|
|
|
6678
7001
|
/** @description Missing, invalid or expired bearer token. */
|
|
6679
7002
|
401: {
|
|
6680
7003
|
headers: {
|
|
7004
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6681
7005
|
[name: string]: unknown;
|
|
6682
7006
|
};
|
|
6683
7007
|
content: {
|
|
@@ -6687,6 +7011,7 @@ interface operations {
|
|
|
6687
7011
|
/** @description Policy not found in this workspace. */
|
|
6688
7012
|
404: {
|
|
6689
7013
|
headers: {
|
|
7014
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6690
7015
|
[name: string]: unknown;
|
|
6691
7016
|
};
|
|
6692
7017
|
content: {
|
|
@@ -6710,6 +7035,7 @@ interface operations {
|
|
|
6710
7035
|
/** @description Policy deleted. `bound_key_count` is the number of live API keys that lost the binding. */
|
|
6711
7036
|
200: {
|
|
6712
7037
|
headers: {
|
|
7038
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6713
7039
|
[name: string]: unknown;
|
|
6714
7040
|
};
|
|
6715
7041
|
content: {
|
|
@@ -6719,6 +7045,7 @@ interface operations {
|
|
|
6719
7045
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
6720
7046
|
401: {
|
|
6721
7047
|
headers: {
|
|
7048
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6722
7049
|
[name: string]: unknown;
|
|
6723
7050
|
};
|
|
6724
7051
|
content: {
|
|
@@ -6728,6 +7055,7 @@ interface operations {
|
|
|
6728
7055
|
/** @description Caller lacks `workspace.policy.delete`, or is not an owner and the policy is bound to a role or is a preset policy (`OWNER_ROLE_REQUIRED`). */
|
|
6729
7056
|
403: {
|
|
6730
7057
|
headers: {
|
|
7058
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6731
7059
|
[name: string]: unknown;
|
|
6732
7060
|
};
|
|
6733
7061
|
content: {
|
|
@@ -6737,6 +7065,7 @@ interface operations {
|
|
|
6737
7065
|
/** @description Policy not found in this workspace (`POLICY_NOT_FOUND`). */
|
|
6738
7066
|
404: {
|
|
6739
7067
|
headers: {
|
|
7068
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6740
7069
|
[name: string]: unknown;
|
|
6741
7070
|
};
|
|
6742
7071
|
content: {
|
|
@@ -6764,6 +7093,7 @@ interface operations {
|
|
|
6764
7093
|
/** @description Updated policy. `bound_key_count` is the number of live API keys the change applies to. */
|
|
6765
7094
|
200: {
|
|
6766
7095
|
headers: {
|
|
7096
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6767
7097
|
[name: string]: unknown;
|
|
6768
7098
|
};
|
|
6769
7099
|
content: {
|
|
@@ -6773,6 +7103,7 @@ interface operations {
|
|
|
6773
7103
|
/** @description Invalid policy shape, name, or condition block. */
|
|
6774
7104
|
400: {
|
|
6775
7105
|
headers: {
|
|
7106
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6776
7107
|
[name: string]: unknown;
|
|
6777
7108
|
};
|
|
6778
7109
|
content: {
|
|
@@ -6782,6 +7113,7 @@ interface operations {
|
|
|
6782
7113
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
6783
7114
|
401: {
|
|
6784
7115
|
headers: {
|
|
7116
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6785
7117
|
[name: string]: unknown;
|
|
6786
7118
|
};
|
|
6787
7119
|
content: {
|
|
@@ -6791,6 +7123,7 @@ interface operations {
|
|
|
6791
7123
|
/** @description Caller lacks `workspace.policy.update`, cannot grant one or more requested actions, or is not an owner and the policy is bound to a role or is a preset policy (`OWNER_ROLE_REQUIRED`). */
|
|
6792
7124
|
403: {
|
|
6793
7125
|
headers: {
|
|
7126
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6794
7127
|
[name: string]: unknown;
|
|
6795
7128
|
};
|
|
6796
7129
|
content: {
|
|
@@ -6800,6 +7133,7 @@ interface operations {
|
|
|
6800
7133
|
/** @description Policy not found in this workspace (`POLICY_NOT_FOUND`). */
|
|
6801
7134
|
404: {
|
|
6802
7135
|
headers: {
|
|
7136
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6803
7137
|
[name: string]: unknown;
|
|
6804
7138
|
};
|
|
6805
7139
|
content: {
|
|
@@ -6809,6 +7143,7 @@ interface operations {
|
|
|
6809
7143
|
/** @description Name already in use (`POLICY_NAME_TAKEN`). */
|
|
6810
7144
|
409: {
|
|
6811
7145
|
headers: {
|
|
7146
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6812
7147
|
[name: string]: unknown;
|
|
6813
7148
|
};
|
|
6814
7149
|
content: {
|
|
@@ -6836,6 +7171,7 @@ interface operations {
|
|
|
6836
7171
|
/** @description Page of roles with `next_cursor` and `has_more`. */
|
|
6837
7172
|
200: {
|
|
6838
7173
|
headers: {
|
|
7174
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6839
7175
|
[name: string]: unknown;
|
|
6840
7176
|
};
|
|
6841
7177
|
content: {
|
|
@@ -6845,6 +7181,7 @@ interface operations {
|
|
|
6845
7181
|
/** @description Malformed `cursor`. */
|
|
6846
7182
|
400: {
|
|
6847
7183
|
headers: {
|
|
7184
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6848
7185
|
[name: string]: unknown;
|
|
6849
7186
|
};
|
|
6850
7187
|
content: {
|
|
@@ -6854,6 +7191,7 @@ interface operations {
|
|
|
6854
7191
|
/** @description Missing, invalid or expired bearer token. */
|
|
6855
7192
|
401: {
|
|
6856
7193
|
headers: {
|
|
7194
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6857
7195
|
[name: string]: unknown;
|
|
6858
7196
|
};
|
|
6859
7197
|
content: {
|
|
@@ -6879,6 +7217,7 @@ interface operations {
|
|
|
6879
7217
|
responses: {
|
|
6880
7218
|
201: {
|
|
6881
7219
|
headers: {
|
|
7220
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6882
7221
|
[name: string]: unknown;
|
|
6883
7222
|
};
|
|
6884
7223
|
content: {
|
|
@@ -6888,6 +7227,7 @@ interface operations {
|
|
|
6888
7227
|
/** @description Body failed validation, invalid role name, malformed policy, both `policy_id` and `policy` sent, or an action pattern matches no known permission (`POLICY_INVALID`). */
|
|
6889
7228
|
400: {
|
|
6890
7229
|
headers: {
|
|
7230
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6891
7231
|
[name: string]: unknown;
|
|
6892
7232
|
};
|
|
6893
7233
|
content: {
|
|
@@ -6897,6 +7237,7 @@ interface operations {
|
|
|
6897
7237
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
6898
7238
|
401: {
|
|
6899
7239
|
headers: {
|
|
7240
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6900
7241
|
[name: string]: unknown;
|
|
6901
7242
|
};
|
|
6902
7243
|
content: {
|
|
@@ -6906,6 +7247,7 @@ interface operations {
|
|
|
6906
7247
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), lacks `workspace.role.create`, or the policy grants actions the caller does not hold (`ACTIONS_NOT_GRANTABLE`). */
|
|
6907
7248
|
403: {
|
|
6908
7249
|
headers: {
|
|
7250
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6909
7251
|
[name: string]: unknown;
|
|
6910
7252
|
};
|
|
6911
7253
|
content: {
|
|
@@ -6915,6 +7257,7 @@ interface operations {
|
|
|
6915
7257
|
/** @description Workspace not found, or `policy_id` not found in this workspace (`POLICY_NOT_FOUND`). */
|
|
6916
7258
|
404: {
|
|
6917
7259
|
headers: {
|
|
7260
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6918
7261
|
[name: string]: unknown;
|
|
6919
7262
|
};
|
|
6920
7263
|
content: {
|
|
@@ -6924,6 +7267,7 @@ interface operations {
|
|
|
6924
7267
|
/** @description Role name already in use or reserved for a system role (`ROLE_NAME_TAKEN`). */
|
|
6925
7268
|
409: {
|
|
6926
7269
|
headers: {
|
|
7270
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6927
7271
|
[name: string]: unknown;
|
|
6928
7272
|
};
|
|
6929
7273
|
content: {
|
|
@@ -6946,6 +7290,7 @@ interface operations {
|
|
|
6946
7290
|
responses: {
|
|
6947
7291
|
200: {
|
|
6948
7292
|
headers: {
|
|
7293
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6949
7294
|
[name: string]: unknown;
|
|
6950
7295
|
};
|
|
6951
7296
|
content: {
|
|
@@ -6955,6 +7300,7 @@ interface operations {
|
|
|
6955
7300
|
/** @description `roleId` is not a UUID. */
|
|
6956
7301
|
400: {
|
|
6957
7302
|
headers: {
|
|
7303
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6958
7304
|
[name: string]: unknown;
|
|
6959
7305
|
};
|
|
6960
7306
|
content: {
|
|
@@ -6964,6 +7310,7 @@ interface operations {
|
|
|
6964
7310
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
6965
7311
|
401: {
|
|
6966
7312
|
headers: {
|
|
7313
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6967
7314
|
[name: string]: unknown;
|
|
6968
7315
|
};
|
|
6969
7316
|
content: {
|
|
@@ -6973,6 +7320,7 @@ interface operations {
|
|
|
6973
7320
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.role.read`. */
|
|
6974
7321
|
403: {
|
|
6975
7322
|
headers: {
|
|
7323
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6976
7324
|
[name: string]: unknown;
|
|
6977
7325
|
};
|
|
6978
7326
|
content: {
|
|
@@ -6982,6 +7330,7 @@ interface operations {
|
|
|
6982
7330
|
/** @description Workspace not found, or role not found in this workspace (`ROLE_NOT_FOUND`). */
|
|
6983
7331
|
404: {
|
|
6984
7332
|
headers: {
|
|
7333
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6985
7334
|
[name: string]: unknown;
|
|
6986
7335
|
};
|
|
6987
7336
|
content: {
|
|
@@ -7005,6 +7354,7 @@ interface operations {
|
|
|
7005
7354
|
/** @description Custom role deleted. */
|
|
7006
7355
|
204: {
|
|
7007
7356
|
headers: {
|
|
7357
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7008
7358
|
[name: string]: unknown;
|
|
7009
7359
|
};
|
|
7010
7360
|
content?: never;
|
|
@@ -7012,6 +7362,7 @@ interface operations {
|
|
|
7012
7362
|
/** @description `roleId` is not a UUID. */
|
|
7013
7363
|
400: {
|
|
7014
7364
|
headers: {
|
|
7365
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7015
7366
|
[name: string]: unknown;
|
|
7016
7367
|
};
|
|
7017
7368
|
content: {
|
|
@@ -7021,6 +7372,7 @@ interface operations {
|
|
|
7021
7372
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
7022
7373
|
401: {
|
|
7023
7374
|
headers: {
|
|
7375
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7024
7376
|
[name: string]: unknown;
|
|
7025
7377
|
};
|
|
7026
7378
|
content: {
|
|
@@ -7030,6 +7382,7 @@ interface operations {
|
|
|
7030
7382
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.role.delete`. */
|
|
7031
7383
|
403: {
|
|
7032
7384
|
headers: {
|
|
7385
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7033
7386
|
[name: string]: unknown;
|
|
7034
7387
|
};
|
|
7035
7388
|
content: {
|
|
@@ -7039,6 +7392,7 @@ interface operations {
|
|
|
7039
7392
|
/** @description Workspace not found, or role not found in this workspace (`ROLE_NOT_FOUND`). */
|
|
7040
7393
|
404: {
|
|
7041
7394
|
headers: {
|
|
7395
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7042
7396
|
[name: string]: unknown;
|
|
7043
7397
|
};
|
|
7044
7398
|
content: {
|
|
@@ -7048,6 +7402,7 @@ interface operations {
|
|
|
7048
7402
|
/** @description Role is a system role (`ROLE_SYSTEM_IMMUTABLE`) or still has members (`ROLE_HAS_MEMBERS`). */
|
|
7049
7403
|
409: {
|
|
7050
7404
|
headers: {
|
|
7405
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7051
7406
|
[name: string]: unknown;
|
|
7052
7407
|
};
|
|
7053
7408
|
content: {
|
|
@@ -7074,6 +7429,7 @@ interface operations {
|
|
|
7074
7429
|
responses: {
|
|
7075
7430
|
200: {
|
|
7076
7431
|
headers: {
|
|
7432
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7077
7433
|
[name: string]: unknown;
|
|
7078
7434
|
};
|
|
7079
7435
|
content: {
|
|
@@ -7083,6 +7439,7 @@ interface operations {
|
|
|
7083
7439
|
/** @description `roleId` is not a UUID, body failed validation, malformed policy, both `policy_id` and `policy` sent, or an action pattern matches no known permission. */
|
|
7084
7440
|
400: {
|
|
7085
7441
|
headers: {
|
|
7442
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7086
7443
|
[name: string]: unknown;
|
|
7087
7444
|
};
|
|
7088
7445
|
content: {
|
|
@@ -7092,6 +7449,7 @@ interface operations {
|
|
|
7092
7449
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
7093
7450
|
401: {
|
|
7094
7451
|
headers: {
|
|
7452
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7095
7453
|
[name: string]: unknown;
|
|
7096
7454
|
};
|
|
7097
7455
|
content: {
|
|
@@ -7101,6 +7459,7 @@ interface operations {
|
|
|
7101
7459
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), lacks `workspace.role.update`, or the policy grants actions the caller does not hold (`ACTIONS_NOT_GRANTABLE`). */
|
|
7102
7460
|
403: {
|
|
7103
7461
|
headers: {
|
|
7462
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7104
7463
|
[name: string]: unknown;
|
|
7105
7464
|
};
|
|
7106
7465
|
content: {
|
|
@@ -7110,6 +7469,7 @@ interface operations {
|
|
|
7110
7469
|
/** @description Workspace, role (`ROLE_NOT_FOUND`) or bound policy (`POLICY_NOT_FOUND`) not found in this workspace. */
|
|
7111
7470
|
404: {
|
|
7112
7471
|
headers: {
|
|
7472
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7113
7473
|
[name: string]: unknown;
|
|
7114
7474
|
};
|
|
7115
7475
|
content: {
|
|
@@ -7119,6 +7479,7 @@ interface operations {
|
|
|
7119
7479
|
/** @description System roles cannot be renamed, edited or bound (`ROLE_SYSTEM_IMMUTABLE`), or the new name is taken (`ROLE_NAME_TAKEN`). */
|
|
7120
7480
|
409: {
|
|
7121
7481
|
headers: {
|
|
7482
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7122
7483
|
[name: string]: unknown;
|
|
7123
7484
|
};
|
|
7124
7485
|
content: {
|
|
@@ -7140,6 +7501,7 @@ interface operations {
|
|
|
7140
7501
|
responses: {
|
|
7141
7502
|
200: {
|
|
7142
7503
|
headers: {
|
|
7504
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7143
7505
|
[name: string]: unknown;
|
|
7144
7506
|
};
|
|
7145
7507
|
content: {
|
|
@@ -7149,6 +7511,7 @@ interface operations {
|
|
|
7149
7511
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
7150
7512
|
401: {
|
|
7151
7513
|
headers: {
|
|
7514
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7152
7515
|
[name: string]: unknown;
|
|
7153
7516
|
};
|
|
7154
7517
|
content: {
|
|
@@ -7158,6 +7521,7 @@ interface operations {
|
|
|
7158
7521
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.service.read`. */
|
|
7159
7522
|
403: {
|
|
7160
7523
|
headers: {
|
|
7524
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7161
7525
|
[name: string]: unknown;
|
|
7162
7526
|
};
|
|
7163
7527
|
content: {
|
|
@@ -7167,6 +7531,7 @@ interface operations {
|
|
|
7167
7531
|
/** @description Workspace not found (unknown slug or id). */
|
|
7168
7532
|
404: {
|
|
7169
7533
|
headers: {
|
|
7534
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7170
7535
|
[name: string]: unknown;
|
|
7171
7536
|
};
|
|
7172
7537
|
content: {
|
|
@@ -7193,6 +7558,7 @@ interface operations {
|
|
|
7193
7558
|
responses: {
|
|
7194
7559
|
201: {
|
|
7195
7560
|
headers: {
|
|
7561
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7196
7562
|
[name: string]: unknown;
|
|
7197
7563
|
};
|
|
7198
7564
|
content: {
|
|
@@ -7202,6 +7568,7 @@ interface operations {
|
|
|
7202
7568
|
/** @description Unknown service name (`SERVICE_UNKNOWN`) or body failed validation. */
|
|
7203
7569
|
400: {
|
|
7204
7570
|
headers: {
|
|
7571
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7205
7572
|
[name: string]: unknown;
|
|
7206
7573
|
};
|
|
7207
7574
|
content: {
|
|
@@ -7211,6 +7578,7 @@ interface operations {
|
|
|
7211
7578
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
7212
7579
|
401: {
|
|
7213
7580
|
headers: {
|
|
7581
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7214
7582
|
[name: string]: unknown;
|
|
7215
7583
|
};
|
|
7216
7584
|
content: {
|
|
@@ -7220,6 +7588,7 @@ interface operations {
|
|
|
7220
7588
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.service.enable`. */
|
|
7221
7589
|
403: {
|
|
7222
7590
|
headers: {
|
|
7591
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7223
7592
|
[name: string]: unknown;
|
|
7224
7593
|
};
|
|
7225
7594
|
content: {
|
|
@@ -7229,6 +7598,7 @@ interface operations {
|
|
|
7229
7598
|
/** @description Workspace not found (unknown slug or id). */
|
|
7230
7599
|
404: {
|
|
7231
7600
|
headers: {
|
|
7601
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7232
7602
|
[name: string]: unknown;
|
|
7233
7603
|
};
|
|
7234
7604
|
content: {
|
|
@@ -7252,6 +7622,7 @@ interface operations {
|
|
|
7252
7622
|
/** @description Service disabled. Settings preserved for re-enable. */
|
|
7253
7623
|
204: {
|
|
7254
7624
|
headers: {
|
|
7625
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7255
7626
|
[name: string]: unknown;
|
|
7256
7627
|
};
|
|
7257
7628
|
content?: never;
|
|
@@ -7259,6 +7630,7 @@ interface operations {
|
|
|
7259
7630
|
/** @description Unknown service name (`SERVICE_UNKNOWN`). */
|
|
7260
7631
|
400: {
|
|
7261
7632
|
headers: {
|
|
7633
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7262
7634
|
[name: string]: unknown;
|
|
7263
7635
|
};
|
|
7264
7636
|
content: {
|
|
@@ -7268,6 +7640,7 @@ interface operations {
|
|
|
7268
7640
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
7269
7641
|
401: {
|
|
7270
7642
|
headers: {
|
|
7643
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7271
7644
|
[name: string]: unknown;
|
|
7272
7645
|
};
|
|
7273
7646
|
content: {
|
|
@@ -7277,6 +7650,7 @@ interface operations {
|
|
|
7277
7650
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.service.disable`. */
|
|
7278
7651
|
403: {
|
|
7279
7652
|
headers: {
|
|
7653
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7280
7654
|
[name: string]: unknown;
|
|
7281
7655
|
};
|
|
7282
7656
|
content: {
|
|
@@ -7286,6 +7660,7 @@ interface operations {
|
|
|
7286
7660
|
/** @description Workspace not found (unknown slug or id). */
|
|
7287
7661
|
404: {
|
|
7288
7662
|
headers: {
|
|
7663
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7289
7664
|
[name: string]: unknown;
|
|
7290
7665
|
};
|
|
7291
7666
|
content: {
|
|
@@ -7295,6 +7670,7 @@ interface operations {
|
|
|
7295
7670
|
/** @description Service is not currently enabled (`SERVICE_NOT_ENABLED`). */
|
|
7296
7671
|
409: {
|
|
7297
7672
|
headers: {
|
|
7673
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7298
7674
|
[name: string]: unknown;
|
|
7299
7675
|
};
|
|
7300
7676
|
content: {
|
|
@@ -7324,6 +7700,7 @@ interface operations {
|
|
|
7324
7700
|
responses: {
|
|
7325
7701
|
200: {
|
|
7326
7702
|
headers: {
|
|
7703
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7327
7704
|
[name: string]: unknown;
|
|
7328
7705
|
};
|
|
7329
7706
|
content: {
|
|
@@ -7333,6 +7710,7 @@ interface operations {
|
|
|
7333
7710
|
/** @description Unknown service name (`SERVICE_UNKNOWN`). */
|
|
7334
7711
|
400: {
|
|
7335
7712
|
headers: {
|
|
7713
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7336
7714
|
[name: string]: unknown;
|
|
7337
7715
|
};
|
|
7338
7716
|
content: {
|
|
@@ -7342,6 +7720,7 @@ interface operations {
|
|
|
7342
7720
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
7343
7721
|
401: {
|
|
7344
7722
|
headers: {
|
|
7723
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7345
7724
|
[name: string]: unknown;
|
|
7346
7725
|
};
|
|
7347
7726
|
content: {
|
|
@@ -7351,6 +7730,7 @@ interface operations {
|
|
|
7351
7730
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.service.enable`. */
|
|
7352
7731
|
403: {
|
|
7353
7732
|
headers: {
|
|
7733
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7354
7734
|
[name: string]: unknown;
|
|
7355
7735
|
};
|
|
7356
7736
|
content: {
|
|
@@ -7360,6 +7740,7 @@ interface operations {
|
|
|
7360
7740
|
/** @description Workspace not found, or the service was never activated on it (`SERVICE_NOT_ACTIVATED`). */
|
|
7361
7741
|
404: {
|
|
7362
7742
|
headers: {
|
|
7743
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7363
7744
|
[name: string]: unknown;
|
|
7364
7745
|
};
|
|
7365
7746
|
content: {
|