@productcraft/platform-auth 0.1.1 → 0.1.3
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 +384 -9
- package/dist/index.d.ts +384 -9
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1920,26 +1920,60 @@ 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[];
|
|
1963
|
+
/**
|
|
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;
|
|
1934
1968
|
/**
|
|
1935
1969
|
* @deprecated
|
|
1936
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.
|
|
1937
|
-
* @example
|
|
1971
|
+
* @example 404
|
|
1938
1972
|
*/
|
|
1939
1973
|
statusCode?: number;
|
|
1940
1974
|
/**
|
|
1941
|
-
* @description HTTP status code
|
|
1942
|
-
* @example
|
|
1975
|
+
* @description HTTP status code, same as the response status.
|
|
1976
|
+
* @example 404
|
|
1943
1977
|
*/
|
|
1944
1978
|
status_code: number;
|
|
1945
1979
|
};
|
|
@@ -2363,6 +2397,8 @@ interface components {
|
|
|
2363
2397
|
*/
|
|
2364
2398
|
policy_id: string | null;
|
|
2365
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" | "IDEMPOTENCY_IN_PROGRESS" | "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;
|
|
2366
2402
|
PolicyBindingCountDto: {
|
|
2367
2403
|
/** @description Number of platform API keys bound to this policy. */
|
|
2368
2404
|
pak: number;
|
|
@@ -3029,7 +3065,10 @@ interface components {
|
|
|
3029
3065
|
responses: never;
|
|
3030
3066
|
parameters: never;
|
|
3031
3067
|
requestBodies: never;
|
|
3032
|
-
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
|
+
};
|
|
3033
3072
|
pathItems: never;
|
|
3034
3073
|
}
|
|
3035
3074
|
interface operations {
|
|
@@ -3044,6 +3083,7 @@ interface operations {
|
|
|
3044
3083
|
responses: {
|
|
3045
3084
|
200: {
|
|
3046
3085
|
headers: {
|
|
3086
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3047
3087
|
[name: string]: unknown;
|
|
3048
3088
|
};
|
|
3049
3089
|
content: {
|
|
@@ -3063,6 +3103,7 @@ interface operations {
|
|
|
3063
3103
|
responses: {
|
|
3064
3104
|
200: {
|
|
3065
3105
|
headers: {
|
|
3106
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3066
3107
|
[name: string]: unknown;
|
|
3067
3108
|
};
|
|
3068
3109
|
content: {
|
|
@@ -3083,6 +3124,7 @@ interface operations {
|
|
|
3083
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. */
|
|
3084
3125
|
204: {
|
|
3085
3126
|
headers: {
|
|
3127
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3086
3128
|
[name: string]: unknown;
|
|
3087
3129
|
};
|
|
3088
3130
|
content?: never;
|
|
@@ -3090,6 +3132,7 @@ interface operations {
|
|
|
3090
3132
|
/** @description Missing, invalid or expired bearer token. */
|
|
3091
3133
|
401: {
|
|
3092
3134
|
headers: {
|
|
3135
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3093
3136
|
[name: string]: unknown;
|
|
3094
3137
|
};
|
|
3095
3138
|
content: {
|
|
@@ -3099,6 +3142,7 @@ interface operations {
|
|
|
3099
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). */
|
|
3100
3143
|
403: {
|
|
3101
3144
|
headers: {
|
|
3145
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3102
3146
|
[name: string]: unknown;
|
|
3103
3147
|
};
|
|
3104
3148
|
content: {
|
|
@@ -3108,6 +3152,7 @@ interface operations {
|
|
|
3108
3152
|
/** @description No account row exists for the session principal. Should never fire for a valid session — surfaced for SDKs. */
|
|
3109
3153
|
404: {
|
|
3110
3154
|
headers: {
|
|
3155
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3111
3156
|
[name: string]: unknown;
|
|
3112
3157
|
};
|
|
3113
3158
|
content: {
|
|
@@ -3127,6 +3172,7 @@ interface operations {
|
|
|
3127
3172
|
responses: {
|
|
3128
3173
|
200: {
|
|
3129
3174
|
headers: {
|
|
3175
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3130
3176
|
[name: string]: unknown;
|
|
3131
3177
|
};
|
|
3132
3178
|
content: {
|
|
@@ -3136,6 +3182,7 @@ interface operations {
|
|
|
3136
3182
|
/** @description No bearer, or the key is unknown, revoked or expired. */
|
|
3137
3183
|
401: {
|
|
3138
3184
|
headers: {
|
|
3185
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3139
3186
|
[name: string]: unknown;
|
|
3140
3187
|
};
|
|
3141
3188
|
content: {
|
|
@@ -3145,6 +3192,7 @@ interface operations {
|
|
|
3145
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. */
|
|
3146
3193
|
403: {
|
|
3147
3194
|
headers: {
|
|
3195
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3148
3196
|
[name: string]: unknown;
|
|
3149
3197
|
};
|
|
3150
3198
|
content: {
|
|
@@ -3154,6 +3202,7 @@ interface operations {
|
|
|
3154
3202
|
/** @description The key was deleted while the request was in flight (`PAK_NOT_FOUND`). */
|
|
3155
3203
|
404: {
|
|
3156
3204
|
headers: {
|
|
3205
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3157
3206
|
[name: string]: unknown;
|
|
3158
3207
|
};
|
|
3159
3208
|
content: {
|
|
@@ -3178,6 +3227,7 @@ interface operations {
|
|
|
3178
3227
|
/** @description Logout successful (no content) */
|
|
3179
3228
|
204: {
|
|
3180
3229
|
headers: {
|
|
3230
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3181
3231
|
[name: string]: unknown;
|
|
3182
3232
|
};
|
|
3183
3233
|
content?: never;
|
|
@@ -3185,6 +3235,7 @@ interface operations {
|
|
|
3185
3235
|
/** @description Validation failed or invalid token */
|
|
3186
3236
|
400: {
|
|
3187
3237
|
headers: {
|
|
3238
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3188
3239
|
[name: string]: unknown;
|
|
3189
3240
|
};
|
|
3190
3241
|
content: {
|
|
@@ -3205,6 +3256,7 @@ interface operations {
|
|
|
3205
3256
|
/** @description Logout successful (no content) */
|
|
3206
3257
|
204: {
|
|
3207
3258
|
headers: {
|
|
3259
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3208
3260
|
[name: string]: unknown;
|
|
3209
3261
|
};
|
|
3210
3262
|
content?: never;
|
|
@@ -3212,6 +3264,7 @@ interface operations {
|
|
|
3212
3264
|
/** @description Missing or invalid access token */
|
|
3213
3265
|
401: {
|
|
3214
3266
|
headers: {
|
|
3267
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3215
3268
|
[name: string]: unknown;
|
|
3216
3269
|
};
|
|
3217
3270
|
content: {
|
|
@@ -3237,6 +3290,7 @@ interface operations {
|
|
|
3237
3290
|
responses: {
|
|
3238
3291
|
200: {
|
|
3239
3292
|
headers: {
|
|
3293
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3240
3294
|
[name: string]: unknown;
|
|
3241
3295
|
};
|
|
3242
3296
|
content: {
|
|
@@ -3246,6 +3300,7 @@ interface operations {
|
|
|
3246
3300
|
/** @description Unknown / expired state, provider state mismatch, or unknown provider id. */
|
|
3247
3301
|
400: {
|
|
3248
3302
|
headers: {
|
|
3303
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3249
3304
|
[name: string]: unknown;
|
|
3250
3305
|
};
|
|
3251
3306
|
content: {
|
|
@@ -3255,6 +3310,7 @@ interface operations {
|
|
|
3255
3310
|
/** @description Provider token verification failed, nonce replayed, or downstream identity could not be resolved. */
|
|
3256
3311
|
401: {
|
|
3257
3312
|
headers: {
|
|
3313
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3258
3314
|
[name: string]: unknown;
|
|
3259
3315
|
};
|
|
3260
3316
|
content: {
|
|
@@ -3281,6 +3337,7 @@ interface operations {
|
|
|
3281
3337
|
/** @description Redirect to provider authorize URL. */
|
|
3282
3338
|
302: {
|
|
3283
3339
|
headers: {
|
|
3340
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3284
3341
|
[name: string]: unknown;
|
|
3285
3342
|
};
|
|
3286
3343
|
content?: never;
|
|
@@ -3288,6 +3345,7 @@ interface operations {
|
|
|
3288
3345
|
/** @description Invalid `return_to` or unknown provider. */
|
|
3289
3346
|
400: {
|
|
3290
3347
|
headers: {
|
|
3348
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3291
3349
|
[name: string]: unknown;
|
|
3292
3350
|
};
|
|
3293
3351
|
content: {
|
|
@@ -3312,6 +3370,7 @@ interface operations {
|
|
|
3312
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. */
|
|
3313
3371
|
204: {
|
|
3314
3372
|
headers: {
|
|
3373
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3315
3374
|
[name: string]: unknown;
|
|
3316
3375
|
};
|
|
3317
3376
|
content?: never;
|
|
@@ -3319,6 +3378,7 @@ interface operations {
|
|
|
3319
3378
|
/** @description Body failed validation (`email` missing or not an email address). Depends only on the request shape, never on whether an account exists. */
|
|
3320
3379
|
400: {
|
|
3321
3380
|
headers: {
|
|
3381
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3322
3382
|
[name: string]: unknown;
|
|
3323
3383
|
};
|
|
3324
3384
|
content: {
|
|
@@ -3328,6 +3388,7 @@ interface operations {
|
|
|
3328
3388
|
/** @description Rate limited: more than 10 requests/min from this IP (strict `auth` bucket). `Retry-After` header set. */
|
|
3329
3389
|
429: {
|
|
3330
3390
|
headers: {
|
|
3391
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3331
3392
|
[name: string]: unknown;
|
|
3332
3393
|
};
|
|
3333
3394
|
content: {
|
|
@@ -3352,6 +3413,7 @@ interface operations {
|
|
|
3352
3413
|
/** @description Password reset; all active sessions revoked. */
|
|
3353
3414
|
204: {
|
|
3354
3415
|
headers: {
|
|
3416
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3355
3417
|
[name: string]: unknown;
|
|
3356
3418
|
};
|
|
3357
3419
|
content?: never;
|
|
@@ -3359,6 +3421,7 @@ interface operations {
|
|
|
3359
3421
|
/** @description Body failed validation, the new password fails the password policy, or the reset token is invalid or expired (`PASSWORD_RESET_INVALID`). */
|
|
3360
3422
|
400: {
|
|
3361
3423
|
headers: {
|
|
3424
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3362
3425
|
[name: string]: unknown;
|
|
3363
3426
|
};
|
|
3364
3427
|
content: {
|
|
@@ -3368,6 +3431,7 @@ interface operations {
|
|
|
3368
3431
|
/** @description Rate limited: more than 10 requests/min from this IP (strict `auth` bucket). `Retry-After` header set. */
|
|
3369
3432
|
429: {
|
|
3370
3433
|
headers: {
|
|
3434
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3371
3435
|
[name: string]: unknown;
|
|
3372
3436
|
};
|
|
3373
3437
|
content: {
|
|
@@ -3392,6 +3456,7 @@ interface operations {
|
|
|
3392
3456
|
/** @description Token response */
|
|
3393
3457
|
200: {
|
|
3394
3458
|
headers: {
|
|
3459
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3395
3460
|
[name: string]: unknown;
|
|
3396
3461
|
};
|
|
3397
3462
|
content: {
|
|
@@ -3401,6 +3466,7 @@ interface operations {
|
|
|
3401
3466
|
/** @description Validation failed or invalid token */
|
|
3402
3467
|
400: {
|
|
3403
3468
|
headers: {
|
|
3469
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3404
3470
|
[name: string]: unknown;
|
|
3405
3471
|
};
|
|
3406
3472
|
content: {
|
|
@@ -3425,6 +3491,7 @@ interface operations {
|
|
|
3425
3491
|
/** @description Token response */
|
|
3426
3492
|
200: {
|
|
3427
3493
|
headers: {
|
|
3494
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3428
3495
|
[name: string]: unknown;
|
|
3429
3496
|
};
|
|
3430
3497
|
content: {
|
|
@@ -3434,6 +3501,7 @@ interface operations {
|
|
|
3434
3501
|
/** @description Validation failed */
|
|
3435
3502
|
400: {
|
|
3436
3503
|
headers: {
|
|
3504
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3437
3505
|
[name: string]: unknown;
|
|
3438
3506
|
};
|
|
3439
3507
|
content: {
|
|
@@ -3443,6 +3511,7 @@ interface operations {
|
|
|
3443
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. */
|
|
3444
3512
|
401: {
|
|
3445
3513
|
headers: {
|
|
3514
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3446
3515
|
[name: string]: unknown;
|
|
3447
3516
|
};
|
|
3448
3517
|
content: {
|
|
@@ -3452,6 +3521,7 @@ interface operations {
|
|
|
3452
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. */
|
|
3453
3522
|
403: {
|
|
3454
3523
|
headers: {
|
|
3524
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3455
3525
|
[name: string]: unknown;
|
|
3456
3526
|
};
|
|
3457
3527
|
content: {
|
|
@@ -3461,6 +3531,7 @@ interface operations {
|
|
|
3461
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. */
|
|
3462
3532
|
429: {
|
|
3463
3533
|
headers: {
|
|
3534
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3464
3535
|
[name: string]: unknown;
|
|
3465
3536
|
};
|
|
3466
3537
|
content: {
|
|
@@ -3485,6 +3556,7 @@ interface operations {
|
|
|
3485
3556
|
/** @description Token response */
|
|
3486
3557
|
200: {
|
|
3487
3558
|
headers: {
|
|
3559
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3488
3560
|
[name: string]: unknown;
|
|
3489
3561
|
};
|
|
3490
3562
|
content: {
|
|
@@ -3494,6 +3566,7 @@ interface operations {
|
|
|
3494
3566
|
/** @description Validation failed */
|
|
3495
3567
|
400: {
|
|
3496
3568
|
headers: {
|
|
3569
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3497
3570
|
[name: string]: unknown;
|
|
3498
3571
|
};
|
|
3499
3572
|
content: {
|
|
@@ -3513,6 +3586,7 @@ interface operations {
|
|
|
3513
3586
|
responses: {
|
|
3514
3587
|
200: {
|
|
3515
3588
|
headers: {
|
|
3589
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3516
3590
|
[name: string]: unknown;
|
|
3517
3591
|
};
|
|
3518
3592
|
content: {
|
|
@@ -3522,6 +3596,7 @@ interface operations {
|
|
|
3522
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. */
|
|
3523
3597
|
429: {
|
|
3524
3598
|
headers: {
|
|
3599
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3525
3600
|
[name: string]: unknown;
|
|
3526
3601
|
};
|
|
3527
3602
|
content: {
|
|
@@ -3543,6 +3618,7 @@ interface operations {
|
|
|
3543
3618
|
responses: {
|
|
3544
3619
|
201: {
|
|
3545
3620
|
headers: {
|
|
3621
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3546
3622
|
[name: string]: unknown;
|
|
3547
3623
|
};
|
|
3548
3624
|
content: {
|
|
@@ -3552,6 +3628,7 @@ interface operations {
|
|
|
3552
3628
|
/** @description Missing or malformed `Authorization: Bearer` header, or the PAK is unknown, revoked or expired. */
|
|
3553
3629
|
401: {
|
|
3554
3630
|
headers: {
|
|
3631
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3555
3632
|
[name: string]: unknown;
|
|
3556
3633
|
};
|
|
3557
3634
|
content: {
|
|
@@ -3573,6 +3650,7 @@ interface operations {
|
|
|
3573
3650
|
responses: {
|
|
3574
3651
|
200: {
|
|
3575
3652
|
headers: {
|
|
3653
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3576
3654
|
[name: string]: unknown;
|
|
3577
3655
|
};
|
|
3578
3656
|
content: {
|
|
@@ -3582,6 +3660,7 @@ interface operations {
|
|
|
3582
3660
|
/** @description Missing or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
3583
3661
|
401: {
|
|
3584
3662
|
headers: {
|
|
3663
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3585
3664
|
[name: string]: unknown;
|
|
3586
3665
|
};
|
|
3587
3666
|
content: {
|
|
@@ -3591,6 +3670,7 @@ interface operations {
|
|
|
3591
3670
|
/** @description Workspace not found (unknown slug or id). Known workspaces the caller is not a member of answer 200 with `is_member: false`. */
|
|
3592
3671
|
404: {
|
|
3593
3672
|
headers: {
|
|
3673
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3594
3674
|
[name: string]: unknown;
|
|
3595
3675
|
};
|
|
3596
3676
|
content: {
|
|
@@ -3610,6 +3690,7 @@ interface operations {
|
|
|
3610
3690
|
responses: {
|
|
3611
3691
|
200: {
|
|
3612
3692
|
headers: {
|
|
3693
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3613
3694
|
[name: string]: unknown;
|
|
3614
3695
|
};
|
|
3615
3696
|
content: {
|
|
@@ -3619,6 +3700,7 @@ interface operations {
|
|
|
3619
3700
|
/** @description No session. */
|
|
3620
3701
|
401: {
|
|
3621
3702
|
headers: {
|
|
3703
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3622
3704
|
[name: string]: unknown;
|
|
3623
3705
|
};
|
|
3624
3706
|
content: {
|
|
@@ -3628,6 +3710,7 @@ interface operations {
|
|
|
3628
3710
|
/** @description No account row for the session principal. Should never fire for a valid session — surfaced for SDKs. */
|
|
3629
3711
|
404: {
|
|
3630
3712
|
headers: {
|
|
3713
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3631
3714
|
[name: string]: unknown;
|
|
3632
3715
|
};
|
|
3633
3716
|
content: {
|
|
@@ -3657,6 +3740,7 @@ interface operations {
|
|
|
3657
3740
|
responses: {
|
|
3658
3741
|
200: {
|
|
3659
3742
|
headers: {
|
|
3743
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3660
3744
|
[name: string]: unknown;
|
|
3661
3745
|
};
|
|
3662
3746
|
content: {
|
|
@@ -3666,6 +3750,7 @@ interface operations {
|
|
|
3666
3750
|
/** @description Invalid file: wrong mimetype, oversized, or content does not match the declared type. */
|
|
3667
3751
|
400: {
|
|
3668
3752
|
headers: {
|
|
3753
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3669
3754
|
[name: string]: unknown;
|
|
3670
3755
|
};
|
|
3671
3756
|
content: {
|
|
@@ -3675,6 +3760,7 @@ interface operations {
|
|
|
3675
3760
|
/** @description No session. */
|
|
3676
3761
|
401: {
|
|
3677
3762
|
headers: {
|
|
3763
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3678
3764
|
[name: string]: unknown;
|
|
3679
3765
|
};
|
|
3680
3766
|
content: {
|
|
@@ -3695,6 +3781,7 @@ interface operations {
|
|
|
3695
3781
|
/** @description Avatar removed (or already absent). */
|
|
3696
3782
|
204: {
|
|
3697
3783
|
headers: {
|
|
3784
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3698
3785
|
[name: string]: unknown;
|
|
3699
3786
|
};
|
|
3700
3787
|
content?: never;
|
|
@@ -3702,6 +3789,7 @@ interface operations {
|
|
|
3702
3789
|
/** @description No session. */
|
|
3703
3790
|
401: {
|
|
3704
3791
|
headers: {
|
|
3792
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3705
3793
|
[name: string]: unknown;
|
|
3706
3794
|
};
|
|
3707
3795
|
content: {
|
|
@@ -3721,6 +3809,7 @@ interface operations {
|
|
|
3721
3809
|
responses: {
|
|
3722
3810
|
200: {
|
|
3723
3811
|
headers: {
|
|
3812
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3724
3813
|
[name: string]: unknown;
|
|
3725
3814
|
};
|
|
3726
3815
|
content: {
|
|
@@ -3730,6 +3819,7 @@ interface operations {
|
|
|
3730
3819
|
/** @description No session. */
|
|
3731
3820
|
401: {
|
|
3732
3821
|
headers: {
|
|
3822
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3733
3823
|
[name: string]: unknown;
|
|
3734
3824
|
};
|
|
3735
3825
|
content: {
|
|
@@ -3739,6 +3829,7 @@ interface operations {
|
|
|
3739
3829
|
/** @description The caller authenticated with a non-human principal (e.g. a workspace API key). Hidden guides are a person's console preference. */
|
|
3740
3830
|
403: {
|
|
3741
3831
|
headers: {
|
|
3832
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3742
3833
|
[name: string]: unknown;
|
|
3743
3834
|
};
|
|
3744
3835
|
content: {
|
|
@@ -3759,6 +3850,7 @@ interface operations {
|
|
|
3759
3850
|
/** @description Every guide shows again. */
|
|
3760
3851
|
204: {
|
|
3761
3852
|
headers: {
|
|
3853
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3762
3854
|
[name: string]: unknown;
|
|
3763
3855
|
};
|
|
3764
3856
|
content?: never;
|
|
@@ -3766,6 +3858,7 @@ interface operations {
|
|
|
3766
3858
|
/** @description No session. */
|
|
3767
3859
|
401: {
|
|
3768
3860
|
headers: {
|
|
3861
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3769
3862
|
[name: string]: unknown;
|
|
3770
3863
|
};
|
|
3771
3864
|
content: {
|
|
@@ -3775,6 +3868,7 @@ interface operations {
|
|
|
3775
3868
|
/** @description The caller authenticated with a non-human principal (e.g. a workspace API key). Hidden guides are a person's console preference. */
|
|
3776
3869
|
403: {
|
|
3777
3870
|
headers: {
|
|
3871
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3778
3872
|
[name: string]: unknown;
|
|
3779
3873
|
};
|
|
3780
3874
|
content: {
|
|
@@ -3798,6 +3892,7 @@ interface operations {
|
|
|
3798
3892
|
/** @description The guide is hidden. */
|
|
3799
3893
|
200: {
|
|
3800
3894
|
headers: {
|
|
3895
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3801
3896
|
[name: string]: unknown;
|
|
3802
3897
|
};
|
|
3803
3898
|
content: {
|
|
@@ -3807,6 +3902,7 @@ interface operations {
|
|
|
3807
3902
|
/** @description The key is not a valid guide key. */
|
|
3808
3903
|
400: {
|
|
3809
3904
|
headers: {
|
|
3905
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3810
3906
|
[name: string]: unknown;
|
|
3811
3907
|
};
|
|
3812
3908
|
content: {
|
|
@@ -3816,6 +3912,7 @@ interface operations {
|
|
|
3816
3912
|
/** @description No session. */
|
|
3817
3913
|
401: {
|
|
3818
3914
|
headers: {
|
|
3915
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3819
3916
|
[name: string]: unknown;
|
|
3820
3917
|
};
|
|
3821
3918
|
content: {
|
|
@@ -3825,6 +3922,7 @@ interface operations {
|
|
|
3825
3922
|
/** @description The caller authenticated with a non-human principal (e.g. a workspace API key). Hidden guides are a person's console preference. */
|
|
3826
3923
|
403: {
|
|
3827
3924
|
headers: {
|
|
3925
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3828
3926
|
[name: string]: unknown;
|
|
3829
3927
|
};
|
|
3830
3928
|
content: {
|
|
@@ -3848,6 +3946,7 @@ interface operations {
|
|
|
3848
3946
|
/** @description The guide shows again (or was not hidden). */
|
|
3849
3947
|
204: {
|
|
3850
3948
|
headers: {
|
|
3949
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3851
3950
|
[name: string]: unknown;
|
|
3852
3951
|
};
|
|
3853
3952
|
content?: never;
|
|
@@ -3855,6 +3954,7 @@ interface operations {
|
|
|
3855
3954
|
/** @description The key is not a valid guide key. */
|
|
3856
3955
|
400: {
|
|
3857
3956
|
headers: {
|
|
3957
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3858
3958
|
[name: string]: unknown;
|
|
3859
3959
|
};
|
|
3860
3960
|
content: {
|
|
@@ -3864,6 +3964,7 @@ interface operations {
|
|
|
3864
3964
|
/** @description No session. */
|
|
3865
3965
|
401: {
|
|
3866
3966
|
headers: {
|
|
3967
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3867
3968
|
[name: string]: unknown;
|
|
3868
3969
|
};
|
|
3869
3970
|
content: {
|
|
@@ -3873,6 +3974,7 @@ interface operations {
|
|
|
3873
3974
|
/** @description The caller authenticated with a non-human principal (e.g. a workspace API key). Hidden guides are a person's console preference. */
|
|
3874
3975
|
403: {
|
|
3875
3976
|
headers: {
|
|
3977
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3876
3978
|
[name: string]: unknown;
|
|
3877
3979
|
};
|
|
3878
3980
|
content: {
|
|
@@ -3896,6 +3998,7 @@ interface operations {
|
|
|
3896
3998
|
responses: {
|
|
3897
3999
|
200: {
|
|
3898
4000
|
headers: {
|
|
4001
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3899
4002
|
[name: string]: unknown;
|
|
3900
4003
|
};
|
|
3901
4004
|
content: {
|
|
@@ -3905,6 +4008,7 @@ interface operations {
|
|
|
3905
4008
|
/** @description Validation failed (e.g. displayName outside 1-128 chars). */
|
|
3906
4009
|
400: {
|
|
3907
4010
|
headers: {
|
|
4011
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3908
4012
|
[name: string]: unknown;
|
|
3909
4013
|
};
|
|
3910
4014
|
content: {
|
|
@@ -3914,6 +4018,7 @@ interface operations {
|
|
|
3914
4018
|
/** @description No session. */
|
|
3915
4019
|
401: {
|
|
3916
4020
|
headers: {
|
|
4021
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3917
4022
|
[name: string]: unknown;
|
|
3918
4023
|
};
|
|
3919
4024
|
content: {
|
|
@@ -3923,6 +4028,7 @@ interface operations {
|
|
|
3923
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. */
|
|
3924
4029
|
403: {
|
|
3925
4030
|
headers: {
|
|
4031
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3926
4032
|
[name: string]: unknown;
|
|
3927
4033
|
};
|
|
3928
4034
|
content: {
|
|
@@ -3956,6 +4062,7 @@ interface operations {
|
|
|
3956
4062
|
/** @description Redirect to sign-in or to the consent screen. */
|
|
3957
4063
|
302: {
|
|
3958
4064
|
headers: {
|
|
4065
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3959
4066
|
[name: string]: unknown;
|
|
3960
4067
|
};
|
|
3961
4068
|
content?: never;
|
|
@@ -3963,6 +4070,7 @@ interface operations {
|
|
|
3963
4070
|
/** @description Rendered `{ error, error_description }` when the failure is in `client_id` or `redirect_uri` — those are never bounced to an unvalidated URI. */
|
|
3964
4071
|
400: {
|
|
3965
4072
|
headers: {
|
|
4073
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3966
4074
|
[name: string]: unknown;
|
|
3967
4075
|
};
|
|
3968
4076
|
content: {
|
|
@@ -3988,6 +4096,7 @@ interface operations {
|
|
|
3988
4096
|
/** @description Page of connections, newest first, with `next_cursor` and `has_more`. */
|
|
3989
4097
|
200: {
|
|
3990
4098
|
headers: {
|
|
4099
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3991
4100
|
[name: string]: unknown;
|
|
3992
4101
|
};
|
|
3993
4102
|
content: {
|
|
@@ -3997,6 +4106,7 @@ interface operations {
|
|
|
3997
4106
|
/** @description Malformed `cursor`. */
|
|
3998
4107
|
400: {
|
|
3999
4108
|
headers: {
|
|
4109
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4000
4110
|
[name: string]: unknown;
|
|
4001
4111
|
};
|
|
4002
4112
|
content: {
|
|
@@ -4006,6 +4116,7 @@ interface operations {
|
|
|
4006
4116
|
/** @description Missing, invalid or expired bearer token. */
|
|
4007
4117
|
401: {
|
|
4008
4118
|
headers: {
|
|
4119
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4009
4120
|
[name: string]: unknown;
|
|
4010
4121
|
};
|
|
4011
4122
|
content: {
|
|
@@ -4028,6 +4139,7 @@ interface operations {
|
|
|
4028
4139
|
/** @description Disconnected. */
|
|
4029
4140
|
204: {
|
|
4030
4141
|
headers: {
|
|
4142
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4031
4143
|
[name: string]: unknown;
|
|
4032
4144
|
};
|
|
4033
4145
|
content?: never;
|
|
@@ -4035,6 +4147,7 @@ interface operations {
|
|
|
4035
4147
|
/** @description Missing, invalid or expired bearer token. */
|
|
4036
4148
|
401: {
|
|
4037
4149
|
headers: {
|
|
4150
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4038
4151
|
[name: string]: unknown;
|
|
4039
4152
|
};
|
|
4040
4153
|
content: {
|
|
@@ -4044,6 +4157,7 @@ interface operations {
|
|
|
4044
4157
|
/** @description No such connection for this human. */
|
|
4045
4158
|
404: {
|
|
4046
4159
|
headers: {
|
|
4160
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4047
4161
|
[name: string]: unknown;
|
|
4048
4162
|
};
|
|
4049
4163
|
content: {
|
|
@@ -4065,6 +4179,7 @@ interface operations {
|
|
|
4065
4179
|
responses: {
|
|
4066
4180
|
200: {
|
|
4067
4181
|
headers: {
|
|
4182
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4068
4183
|
[name: string]: unknown;
|
|
4069
4184
|
};
|
|
4070
4185
|
content: {
|
|
@@ -4074,6 +4189,7 @@ interface operations {
|
|
|
4074
4189
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
4075
4190
|
401: {
|
|
4076
4191
|
headers: {
|
|
4192
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4077
4193
|
[name: string]: unknown;
|
|
4078
4194
|
};
|
|
4079
4195
|
content: {
|
|
@@ -4083,6 +4199,7 @@ interface operations {
|
|
|
4083
4199
|
/** @description No such pending request for this human. */
|
|
4084
4200
|
404: {
|
|
4085
4201
|
headers: {
|
|
4202
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4086
4203
|
[name: string]: unknown;
|
|
4087
4204
|
};
|
|
4088
4205
|
content: {
|
|
@@ -4092,6 +4209,7 @@ interface operations {
|
|
|
4092
4209
|
/** @description Request already used. */
|
|
4093
4210
|
409: {
|
|
4094
4211
|
headers: {
|
|
4212
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4095
4213
|
[name: string]: unknown;
|
|
4096
4214
|
};
|
|
4097
4215
|
content: {
|
|
@@ -4101,6 +4219,7 @@ interface operations {
|
|
|
4101
4219
|
/** @description Request expired. */
|
|
4102
4220
|
410: {
|
|
4103
4221
|
headers: {
|
|
4222
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4104
4223
|
[name: string]: unknown;
|
|
4105
4224
|
};
|
|
4106
4225
|
content: {
|
|
@@ -4126,6 +4245,7 @@ interface operations {
|
|
|
4126
4245
|
responses: {
|
|
4127
4246
|
200: {
|
|
4128
4247
|
headers: {
|
|
4248
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4129
4249
|
[name: string]: unknown;
|
|
4130
4250
|
};
|
|
4131
4251
|
content: {
|
|
@@ -4135,6 +4255,7 @@ interface operations {
|
|
|
4135
4255
|
/** @description Malformed policy, empty policy, or too many statements. */
|
|
4136
4256
|
400: {
|
|
4137
4257
|
headers: {
|
|
4258
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4138
4259
|
[name: string]: unknown;
|
|
4139
4260
|
};
|
|
4140
4261
|
content: {
|
|
@@ -4144,6 +4265,7 @@ interface operations {
|
|
|
4144
4265
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
4145
4266
|
401: {
|
|
4146
4267
|
headers: {
|
|
4268
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4147
4269
|
[name: string]: unknown;
|
|
4148
4270
|
};
|
|
4149
4271
|
content: {
|
|
@@ -4153,6 +4275,7 @@ interface operations {
|
|
|
4153
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. */
|
|
4154
4276
|
403: {
|
|
4155
4277
|
headers: {
|
|
4278
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4156
4279
|
[name: string]: unknown;
|
|
4157
4280
|
};
|
|
4158
4281
|
content: {
|
|
@@ -4162,6 +4285,7 @@ interface operations {
|
|
|
4162
4285
|
/** @description No such pending request for this human. */
|
|
4163
4286
|
404: {
|
|
4164
4287
|
headers: {
|
|
4288
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4165
4289
|
[name: string]: unknown;
|
|
4166
4290
|
};
|
|
4167
4291
|
content: {
|
|
@@ -4171,6 +4295,7 @@ interface operations {
|
|
|
4171
4295
|
/** @description Request already used. */
|
|
4172
4296
|
409: {
|
|
4173
4297
|
headers: {
|
|
4298
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4174
4299
|
[name: string]: unknown;
|
|
4175
4300
|
};
|
|
4176
4301
|
content: {
|
|
@@ -4196,6 +4321,7 @@ interface operations {
|
|
|
4196
4321
|
responses: {
|
|
4197
4322
|
200: {
|
|
4198
4323
|
headers: {
|
|
4324
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4199
4325
|
[name: string]: unknown;
|
|
4200
4326
|
};
|
|
4201
4327
|
content: {
|
|
@@ -4205,6 +4331,7 @@ interface operations {
|
|
|
4205
4331
|
/** @description Missing or malformed `Authorization` header. */
|
|
4206
4332
|
401: {
|
|
4207
4333
|
headers: {
|
|
4334
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4208
4335
|
[name: string]: unknown;
|
|
4209
4336
|
};
|
|
4210
4337
|
content: {
|
|
@@ -4230,6 +4357,7 @@ interface operations {
|
|
|
4230
4357
|
responses: {
|
|
4231
4358
|
200: {
|
|
4232
4359
|
headers: {
|
|
4360
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4233
4361
|
[name: string]: unknown;
|
|
4234
4362
|
};
|
|
4235
4363
|
content: {
|
|
@@ -4239,6 +4367,7 @@ interface operations {
|
|
|
4239
4367
|
/** @description Missing or malformed `Authorization` header. */
|
|
4240
4368
|
401: {
|
|
4241
4369
|
headers: {
|
|
4370
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4242
4371
|
[name: string]: unknown;
|
|
4243
4372
|
};
|
|
4244
4373
|
content: {
|
|
@@ -4264,6 +4393,7 @@ interface operations {
|
|
|
4264
4393
|
responses: {
|
|
4265
4394
|
200: {
|
|
4266
4395
|
headers: {
|
|
4396
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4267
4397
|
[name: string]: unknown;
|
|
4268
4398
|
};
|
|
4269
4399
|
content: {
|
|
@@ -4273,6 +4403,7 @@ interface operations {
|
|
|
4273
4403
|
/** @description Empty or oversized `actions` list. */
|
|
4274
4404
|
400: {
|
|
4275
4405
|
headers: {
|
|
4406
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4276
4407
|
[name: string]: unknown;
|
|
4277
4408
|
};
|
|
4278
4409
|
content: {
|
|
@@ -4282,6 +4413,7 @@ interface operations {
|
|
|
4282
4413
|
/** @description Missing or malformed `Authorization` header. */
|
|
4283
4414
|
401: {
|
|
4284
4415
|
headers: {
|
|
4416
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4285
4417
|
[name: string]: unknown;
|
|
4286
4418
|
};
|
|
4287
4419
|
content: {
|
|
@@ -4307,6 +4439,7 @@ interface operations {
|
|
|
4307
4439
|
responses: {
|
|
4308
4440
|
200: {
|
|
4309
4441
|
headers: {
|
|
4442
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4310
4443
|
[name: string]: unknown;
|
|
4311
4444
|
};
|
|
4312
4445
|
content: {
|
|
@@ -4316,6 +4449,7 @@ interface operations {
|
|
|
4316
4449
|
/** @description The requested `audience` is not a service we issue assertions for. */
|
|
4317
4450
|
400: {
|
|
4318
4451
|
headers: {
|
|
4452
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4319
4453
|
[name: string]: unknown;
|
|
4320
4454
|
};
|
|
4321
4455
|
content: {
|
|
@@ -4325,6 +4459,7 @@ interface operations {
|
|
|
4325
4459
|
/** @description Missing or malformed `Authorization` header, or the token/grant behind it is no longer live. */
|
|
4326
4460
|
401: {
|
|
4327
4461
|
headers: {
|
|
4462
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4328
4463
|
[name: string]: unknown;
|
|
4329
4464
|
};
|
|
4330
4465
|
content: {
|
|
@@ -4347,6 +4482,7 @@ interface operations {
|
|
|
4347
4482
|
/** @description Recorded, or nothing to record. */
|
|
4348
4483
|
204: {
|
|
4349
4484
|
headers: {
|
|
4485
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4350
4486
|
[name: string]: unknown;
|
|
4351
4487
|
};
|
|
4352
4488
|
content?: never;
|
|
@@ -4354,6 +4490,7 @@ interface operations {
|
|
|
4354
4490
|
/** @description Missing or malformed `Authorization` header. */
|
|
4355
4491
|
401: {
|
|
4356
4492
|
headers: {
|
|
4493
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4357
4494
|
[name: string]: unknown;
|
|
4358
4495
|
};
|
|
4359
4496
|
content: {
|
|
@@ -4377,6 +4514,7 @@ interface operations {
|
|
|
4377
4514
|
responses: {
|
|
4378
4515
|
200: {
|
|
4379
4516
|
headers: {
|
|
4517
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4380
4518
|
[name: string]: unknown;
|
|
4381
4519
|
};
|
|
4382
4520
|
content: {
|
|
@@ -4386,6 +4524,7 @@ interface operations {
|
|
|
4386
4524
|
/** @description `invalid_client` — client authentication failed. */
|
|
4387
4525
|
401: {
|
|
4388
4526
|
headers: {
|
|
4527
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4389
4528
|
[name: string]: unknown;
|
|
4390
4529
|
};
|
|
4391
4530
|
content: {
|
|
@@ -4409,6 +4548,7 @@ interface operations {
|
|
|
4409
4548
|
responses: {
|
|
4410
4549
|
201: {
|
|
4411
4550
|
headers: {
|
|
4551
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4412
4552
|
[name: string]: unknown;
|
|
4413
4553
|
};
|
|
4414
4554
|
content: {
|
|
@@ -4418,6 +4558,7 @@ interface operations {
|
|
|
4418
4558
|
/** @description `invalid_redirect_uri` or `invalid_client_metadata` (RFC 7591 §3.2.2). */
|
|
4419
4559
|
400: {
|
|
4420
4560
|
headers: {
|
|
4561
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4421
4562
|
[name: string]: unknown;
|
|
4422
4563
|
};
|
|
4423
4564
|
content: {
|
|
@@ -4427,6 +4568,7 @@ interface operations {
|
|
|
4427
4568
|
/** @description `invalid_request` — too many registrations from this IP. */
|
|
4428
4569
|
429: {
|
|
4429
4570
|
headers: {
|
|
4571
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4430
4572
|
[name: string]: unknown;
|
|
4431
4573
|
};
|
|
4432
4574
|
content: {
|
|
@@ -4436,6 +4578,7 @@ interface operations {
|
|
|
4436
4578
|
/** @description `temporarily_unavailable` — the rate-limit backend is unreachable, so registration fails closed. */
|
|
4437
4579
|
503: {
|
|
4438
4580
|
headers: {
|
|
4581
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4439
4582
|
[name: string]: unknown;
|
|
4440
4583
|
};
|
|
4441
4584
|
content: {
|
|
@@ -4458,6 +4601,7 @@ interface operations {
|
|
|
4458
4601
|
responses: {
|
|
4459
4602
|
200: {
|
|
4460
4603
|
headers: {
|
|
4604
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4461
4605
|
[name: string]: unknown;
|
|
4462
4606
|
};
|
|
4463
4607
|
content: {
|
|
@@ -4467,6 +4611,7 @@ interface operations {
|
|
|
4467
4611
|
/** @description `invalid_client` — bad registration access token. */
|
|
4468
4612
|
401: {
|
|
4469
4613
|
headers: {
|
|
4614
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4470
4615
|
[name: string]: unknown;
|
|
4471
4616
|
};
|
|
4472
4617
|
content: {
|
|
@@ -4493,6 +4638,7 @@ interface operations {
|
|
|
4493
4638
|
responses: {
|
|
4494
4639
|
200: {
|
|
4495
4640
|
headers: {
|
|
4641
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4496
4642
|
[name: string]: unknown;
|
|
4497
4643
|
};
|
|
4498
4644
|
content: {
|
|
@@ -4502,6 +4648,7 @@ interface operations {
|
|
|
4502
4648
|
/** @description `invalid_client` — bad registration access token. */
|
|
4503
4649
|
401: {
|
|
4504
4650
|
headers: {
|
|
4651
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4505
4652
|
[name: string]: unknown;
|
|
4506
4653
|
};
|
|
4507
4654
|
content: {
|
|
@@ -4526,6 +4673,7 @@ interface operations {
|
|
|
4526
4673
|
/** @description Revoked, or the token was already unknown. */
|
|
4527
4674
|
200: {
|
|
4528
4675
|
headers: {
|
|
4676
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4529
4677
|
[name: string]: unknown;
|
|
4530
4678
|
};
|
|
4531
4679
|
content?: never;
|
|
@@ -4533,6 +4681,7 @@ interface operations {
|
|
|
4533
4681
|
/** @description `invalid_client` — client authentication failed. */
|
|
4534
4682
|
401: {
|
|
4535
4683
|
headers: {
|
|
4684
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4536
4685
|
[name: string]: unknown;
|
|
4537
4686
|
};
|
|
4538
4687
|
content: {
|
|
@@ -4556,6 +4705,7 @@ interface operations {
|
|
|
4556
4705
|
responses: {
|
|
4557
4706
|
200: {
|
|
4558
4707
|
headers: {
|
|
4708
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4559
4709
|
[name: string]: unknown;
|
|
4560
4710
|
};
|
|
4561
4711
|
content: {
|
|
@@ -4565,6 +4715,7 @@ interface operations {
|
|
|
4565
4715
|
/** @description `invalid_request`, `invalid_grant`, `invalid_scope`, `invalid_target`, or `unsupported_grant_type`. */
|
|
4566
4716
|
400: {
|
|
4567
4717
|
headers: {
|
|
4718
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4568
4719
|
[name: string]: unknown;
|
|
4569
4720
|
};
|
|
4570
4721
|
content: {
|
|
@@ -4574,6 +4725,7 @@ interface operations {
|
|
|
4574
4725
|
/** @description `invalid_client` — client authentication failed. */
|
|
4575
4726
|
401: {
|
|
4576
4727
|
headers: {
|
|
4728
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4577
4729
|
[name: string]: unknown;
|
|
4578
4730
|
};
|
|
4579
4731
|
content: {
|
|
@@ -4601,6 +4753,7 @@ interface operations {
|
|
|
4601
4753
|
/** @description Page of connections, newest first, with `next_cursor` and `has_more`. */
|
|
4602
4754
|
200: {
|
|
4603
4755
|
headers: {
|
|
4756
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4604
4757
|
[name: string]: unknown;
|
|
4605
4758
|
};
|
|
4606
4759
|
content: {
|
|
@@ -4610,6 +4763,7 @@ interface operations {
|
|
|
4610
4763
|
/** @description Malformed `cursor`. */
|
|
4611
4764
|
400: {
|
|
4612
4765
|
headers: {
|
|
4766
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4613
4767
|
[name: string]: unknown;
|
|
4614
4768
|
};
|
|
4615
4769
|
content: {
|
|
@@ -4619,6 +4773,7 @@ interface operations {
|
|
|
4619
4773
|
/** @description Missing, invalid or expired bearer token. */
|
|
4620
4774
|
401: {
|
|
4621
4775
|
headers: {
|
|
4776
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4622
4777
|
[name: string]: unknown;
|
|
4623
4778
|
};
|
|
4624
4779
|
content: {
|
|
@@ -4628,6 +4783,7 @@ interface operations {
|
|
|
4628
4783
|
/** @description Not a member, or lacks `workspace.connection.read`. */
|
|
4629
4784
|
403: {
|
|
4630
4785
|
headers: {
|
|
4786
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4631
4787
|
[name: string]: unknown;
|
|
4632
4788
|
};
|
|
4633
4789
|
content: {
|
|
@@ -4651,6 +4807,7 @@ interface operations {
|
|
|
4651
4807
|
/** @description Disconnected. */
|
|
4652
4808
|
204: {
|
|
4653
4809
|
headers: {
|
|
4810
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4654
4811
|
[name: string]: unknown;
|
|
4655
4812
|
};
|
|
4656
4813
|
content?: never;
|
|
@@ -4658,6 +4815,7 @@ interface operations {
|
|
|
4658
4815
|
/** @description Missing, invalid or expired bearer token. */
|
|
4659
4816
|
401: {
|
|
4660
4817
|
headers: {
|
|
4818
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4661
4819
|
[name: string]: unknown;
|
|
4662
4820
|
};
|
|
4663
4821
|
content: {
|
|
@@ -4667,6 +4825,7 @@ interface operations {
|
|
|
4667
4825
|
/** @description Not a member, or lacks `workspace.connection.revoke`. */
|
|
4668
4826
|
403: {
|
|
4669
4827
|
headers: {
|
|
4828
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4670
4829
|
[name: string]: unknown;
|
|
4671
4830
|
};
|
|
4672
4831
|
content: {
|
|
@@ -4676,6 +4835,7 @@ interface operations {
|
|
|
4676
4835
|
/** @description No such connection in this workspace. */
|
|
4677
4836
|
404: {
|
|
4678
4837
|
headers: {
|
|
4838
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4679
4839
|
[name: string]: unknown;
|
|
4680
4840
|
};
|
|
4681
4841
|
content: {
|
|
@@ -4699,6 +4859,7 @@ interface operations {
|
|
|
4699
4859
|
/** @description Revocation lifted. */
|
|
4700
4860
|
204: {
|
|
4701
4861
|
headers: {
|
|
4862
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4702
4863
|
[name: string]: unknown;
|
|
4703
4864
|
};
|
|
4704
4865
|
content?: never;
|
|
@@ -4706,6 +4867,7 @@ interface operations {
|
|
|
4706
4867
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
4707
4868
|
401: {
|
|
4708
4869
|
headers: {
|
|
4870
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4709
4871
|
[name: string]: unknown;
|
|
4710
4872
|
};
|
|
4711
4873
|
content: {
|
|
@@ -4715,6 +4877,7 @@ interface operations {
|
|
|
4715
4877
|
/** @description Not a member, or lacks `workspace.connection.revoke`. */
|
|
4716
4878
|
403: {
|
|
4717
4879
|
headers: {
|
|
4880
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4718
4881
|
[name: string]: unknown;
|
|
4719
4882
|
};
|
|
4720
4883
|
content: {
|
|
@@ -4724,6 +4887,7 @@ interface operations {
|
|
|
4724
4887
|
/** @description No such connection in this workspace. */
|
|
4725
4888
|
404: {
|
|
4726
4889
|
headers: {
|
|
4890
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4727
4891
|
[name: string]: unknown;
|
|
4728
4892
|
};
|
|
4729
4893
|
content: {
|
|
@@ -4733,6 +4897,7 @@ interface operations {
|
|
|
4733
4897
|
/** @description The connection was not revoked by an administrator — there is nothing to lift. */
|
|
4734
4898
|
409: {
|
|
4735
4899
|
headers: {
|
|
4900
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4736
4901
|
[name: string]: unknown;
|
|
4737
4902
|
};
|
|
4738
4903
|
content: {
|
|
@@ -4753,6 +4918,7 @@ interface operations {
|
|
|
4753
4918
|
/** @description Active sessions */
|
|
4754
4919
|
200: {
|
|
4755
4920
|
headers: {
|
|
4921
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4756
4922
|
[name: string]: unknown;
|
|
4757
4923
|
};
|
|
4758
4924
|
content: {
|
|
@@ -4762,6 +4928,7 @@ interface operations {
|
|
|
4762
4928
|
/** @description Unauthorized */
|
|
4763
4929
|
401: {
|
|
4764
4930
|
headers: {
|
|
4931
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4765
4932
|
[name: string]: unknown;
|
|
4766
4933
|
};
|
|
4767
4934
|
content: {
|
|
@@ -4781,6 +4948,7 @@ interface operations {
|
|
|
4781
4948
|
responses: {
|
|
4782
4949
|
200: {
|
|
4783
4950
|
headers: {
|
|
4951
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4784
4952
|
[name: string]: unknown;
|
|
4785
4953
|
};
|
|
4786
4954
|
content: {
|
|
@@ -4790,6 +4958,7 @@ interface operations {
|
|
|
4790
4958
|
/** @description Unauthorized */
|
|
4791
4959
|
401: {
|
|
4792
4960
|
headers: {
|
|
4961
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4793
4962
|
[name: string]: unknown;
|
|
4794
4963
|
};
|
|
4795
4964
|
content: {
|
|
@@ -4799,6 +4968,7 @@ interface operations {
|
|
|
4799
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. */
|
|
4800
4969
|
409: {
|
|
4801
4970
|
headers: {
|
|
4971
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4802
4972
|
[name: string]: unknown;
|
|
4803
4973
|
};
|
|
4804
4974
|
content: {
|
|
@@ -4821,6 +4991,7 @@ interface operations {
|
|
|
4821
4991
|
/** @description `revoked` is false when the session was already revoked, so repeating the call is safe. */
|
|
4822
4992
|
200: {
|
|
4823
4993
|
headers: {
|
|
4994
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4824
4995
|
[name: string]: unknown;
|
|
4825
4996
|
};
|
|
4826
4997
|
content: {
|
|
@@ -4830,6 +5001,7 @@ interface operations {
|
|
|
4830
5001
|
/** @description `id` is not a UUID. */
|
|
4831
5002
|
400: {
|
|
4832
5003
|
headers: {
|
|
5004
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4833
5005
|
[name: string]: unknown;
|
|
4834
5006
|
};
|
|
4835
5007
|
content: {
|
|
@@ -4839,6 +5011,7 @@ interface operations {
|
|
|
4839
5011
|
/** @description Unauthorized */
|
|
4840
5012
|
401: {
|
|
4841
5013
|
headers: {
|
|
5014
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4842
5015
|
[name: string]: unknown;
|
|
4843
5016
|
};
|
|
4844
5017
|
content: {
|
|
@@ -4848,6 +5021,7 @@ interface operations {
|
|
|
4848
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. */
|
|
4849
5022
|
404: {
|
|
4850
5023
|
headers: {
|
|
5024
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4851
5025
|
[name: string]: unknown;
|
|
4852
5026
|
};
|
|
4853
5027
|
content: {
|
|
@@ -4868,6 +5042,7 @@ interface operations {
|
|
|
4868
5042
|
/** @description Verification email sent */
|
|
4869
5043
|
200: {
|
|
4870
5044
|
headers: {
|
|
5045
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4871
5046
|
[name: string]: unknown;
|
|
4872
5047
|
};
|
|
4873
5048
|
content: {
|
|
@@ -4877,6 +5052,7 @@ interface operations {
|
|
|
4877
5052
|
/** @description Unauthorized */
|
|
4878
5053
|
401: {
|
|
4879
5054
|
headers: {
|
|
5055
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4880
5056
|
[name: string]: unknown;
|
|
4881
5057
|
};
|
|
4882
5058
|
content: {
|
|
@@ -4901,6 +5077,7 @@ interface operations {
|
|
|
4901
5077
|
/** @description Email verified successfully */
|
|
4902
5078
|
200: {
|
|
4903
5079
|
headers: {
|
|
5080
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4904
5081
|
[name: string]: unknown;
|
|
4905
5082
|
};
|
|
4906
5083
|
content: {
|
|
@@ -4910,6 +5087,7 @@ interface operations {
|
|
|
4910
5087
|
/** @description Invalid or expired verification code */
|
|
4911
5088
|
400: {
|
|
4912
5089
|
headers: {
|
|
5090
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4913
5091
|
[name: string]: unknown;
|
|
4914
5092
|
};
|
|
4915
5093
|
content: {
|
|
@@ -4932,6 +5110,7 @@ interface operations {
|
|
|
4932
5110
|
responses: {
|
|
4933
5111
|
200: {
|
|
4934
5112
|
headers: {
|
|
5113
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4935
5114
|
[name: string]: unknown;
|
|
4936
5115
|
};
|
|
4937
5116
|
content: {
|
|
@@ -4941,6 +5120,7 @@ interface operations {
|
|
|
4941
5120
|
/** @description Malformed `cursor`. */
|
|
4942
5121
|
400: {
|
|
4943
5122
|
headers: {
|
|
5123
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4944
5124
|
[name: string]: unknown;
|
|
4945
5125
|
};
|
|
4946
5126
|
content: {
|
|
@@ -4950,6 +5130,7 @@ interface operations {
|
|
|
4950
5130
|
/** @description Missing or invalid session. */
|
|
4951
5131
|
401: {
|
|
4952
5132
|
headers: {
|
|
5133
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4953
5134
|
[name: string]: unknown;
|
|
4954
5135
|
};
|
|
4955
5136
|
content: {
|
|
@@ -4973,6 +5154,7 @@ interface operations {
|
|
|
4973
5154
|
responses: {
|
|
4974
5155
|
201: {
|
|
4975
5156
|
headers: {
|
|
5157
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4976
5158
|
[name: string]: unknown;
|
|
4977
5159
|
};
|
|
4978
5160
|
content: {
|
|
@@ -4982,6 +5164,7 @@ interface operations {
|
|
|
4982
5164
|
/** @description Missing, invalid or expired bearer token. */
|
|
4983
5165
|
401: {
|
|
4984
5166
|
headers: {
|
|
5167
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4985
5168
|
[name: string]: unknown;
|
|
4986
5169
|
};
|
|
4987
5170
|
content: {
|
|
@@ -4991,6 +5174,7 @@ interface operations {
|
|
|
4991
5174
|
/** @description Caller is a PAK (`pcft_live_*`). Workspace creation requires a human-issued session. */
|
|
4992
5175
|
403: {
|
|
4993
5176
|
headers: {
|
|
5177
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4994
5178
|
[name: string]: unknown;
|
|
4995
5179
|
};
|
|
4996
5180
|
content: {
|
|
@@ -5015,6 +5199,7 @@ interface operations {
|
|
|
5015
5199
|
/** @description The joined workspace. */
|
|
5016
5200
|
201: {
|
|
5017
5201
|
headers: {
|
|
5202
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5018
5203
|
[name: string]: unknown;
|
|
5019
5204
|
};
|
|
5020
5205
|
content: {
|
|
@@ -5024,6 +5209,7 @@ interface operations {
|
|
|
5024
5209
|
/** @description Body failed validation (`code` missing or empty). */
|
|
5025
5210
|
400: {
|
|
5026
5211
|
headers: {
|
|
5212
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5027
5213
|
[name: string]: unknown;
|
|
5028
5214
|
};
|
|
5029
5215
|
content: {
|
|
@@ -5033,6 +5219,7 @@ interface operations {
|
|
|
5033
5219
|
/** @description Missing or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
5034
5220
|
401: {
|
|
5035
5221
|
headers: {
|
|
5222
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5036
5223
|
[name: string]: unknown;
|
|
5037
5224
|
};
|
|
5038
5225
|
content: {
|
|
@@ -5042,6 +5229,7 @@ interface operations {
|
|
|
5042
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`). */
|
|
5043
5230
|
403: {
|
|
5044
5231
|
headers: {
|
|
5232
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5045
5233
|
[name: string]: unknown;
|
|
5046
5234
|
};
|
|
5047
5235
|
content: {
|
|
@@ -5051,6 +5239,7 @@ interface operations {
|
|
|
5051
5239
|
/** @description Invite code not found (`INVITE_INVALID`). */
|
|
5052
5240
|
404: {
|
|
5053
5241
|
headers: {
|
|
5242
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5054
5243
|
[name: string]: unknown;
|
|
5055
5244
|
};
|
|
5056
5245
|
content: {
|
|
@@ -5060,6 +5249,7 @@ interface operations {
|
|
|
5060
5249
|
/** @description Caller is already a member of this workspace (`ALREADY_A_MEMBER`). */
|
|
5061
5250
|
409: {
|
|
5062
5251
|
headers: {
|
|
5252
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5063
5253
|
[name: string]: unknown;
|
|
5064
5254
|
};
|
|
5065
5255
|
content: {
|
|
@@ -5069,6 +5259,7 @@ interface operations {
|
|
|
5069
5259
|
/** @description Invite revoked (`INVITE_REVOKED`), expired (`INVITE_EXPIRED`) or out of uses (`INVITE_EXHAUSTED`). */
|
|
5070
5260
|
410: {
|
|
5071
5261
|
headers: {
|
|
5262
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5072
5263
|
[name: string]: unknown;
|
|
5073
5264
|
};
|
|
5074
5265
|
content: {
|
|
@@ -5078,6 +5269,7 @@ interface operations {
|
|
|
5078
5269
|
/** @description Rate limited: more than 10 requests/min from this IP (strict `auth` bucket). `Retry-After` header set. */
|
|
5079
5270
|
429: {
|
|
5080
5271
|
headers: {
|
|
5272
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5081
5273
|
[name: string]: unknown;
|
|
5082
5274
|
};
|
|
5083
5275
|
content: {
|
|
@@ -5104,6 +5296,7 @@ interface operations {
|
|
|
5104
5296
|
/** @description Workspace stats. */
|
|
5105
5297
|
200: {
|
|
5106
5298
|
headers: {
|
|
5299
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5107
5300
|
[name: string]: unknown;
|
|
5108
5301
|
};
|
|
5109
5302
|
content: {
|
|
@@ -5113,6 +5306,7 @@ interface operations {
|
|
|
5113
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. */
|
|
5114
5307
|
400: {
|
|
5115
5308
|
headers: {
|
|
5309
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5116
5310
|
[name: string]: unknown;
|
|
5117
5311
|
};
|
|
5118
5312
|
content: {
|
|
@@ -5122,6 +5316,7 @@ interface operations {
|
|
|
5122
5316
|
/** @description Missing, invalid or expired bearer token. */
|
|
5123
5317
|
401: {
|
|
5124
5318
|
headers: {
|
|
5319
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5125
5320
|
[name: string]: unknown;
|
|
5126
5321
|
};
|
|
5127
5322
|
content: {
|
|
@@ -5131,6 +5326,7 @@ interface operations {
|
|
|
5131
5326
|
/** @description Caller is not a member of the workspace (`NOT_A_MEMBER`) or lacks `workspace.audit.read` on it. */
|
|
5132
5327
|
403: {
|
|
5133
5328
|
headers: {
|
|
5329
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5134
5330
|
[name: string]: unknown;
|
|
5135
5331
|
};
|
|
5136
5332
|
content: {
|
|
@@ -5140,6 +5336,7 @@ interface operations {
|
|
|
5140
5336
|
/** @description Workspace not found: no workspace has this id (or slug). Same answer as the service's other workspace routes. */
|
|
5141
5337
|
404: {
|
|
5142
5338
|
headers: {
|
|
5339
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5143
5340
|
[name: string]: unknown;
|
|
5144
5341
|
};
|
|
5145
5342
|
content: {
|
|
@@ -5161,6 +5358,7 @@ interface operations {
|
|
|
5161
5358
|
responses: {
|
|
5162
5359
|
200: {
|
|
5163
5360
|
headers: {
|
|
5361
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5164
5362
|
[name: string]: unknown;
|
|
5165
5363
|
};
|
|
5166
5364
|
content: {
|
|
@@ -5170,6 +5368,7 @@ interface operations {
|
|
|
5170
5368
|
/** @description Missing or invalid session. */
|
|
5171
5369
|
401: {
|
|
5172
5370
|
headers: {
|
|
5371
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5173
5372
|
[name: string]: unknown;
|
|
5174
5373
|
};
|
|
5175
5374
|
content: {
|
|
@@ -5179,6 +5378,7 @@ interface operations {
|
|
|
5179
5378
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`). */
|
|
5180
5379
|
403: {
|
|
5181
5380
|
headers: {
|
|
5381
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5182
5382
|
[name: string]: unknown;
|
|
5183
5383
|
};
|
|
5184
5384
|
content: {
|
|
@@ -5188,6 +5388,7 @@ interface operations {
|
|
|
5188
5388
|
/** @description Workspace not found (unknown slug or id). */
|
|
5189
5389
|
404: {
|
|
5190
5390
|
headers: {
|
|
5391
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5191
5392
|
[name: string]: unknown;
|
|
5192
5393
|
};
|
|
5193
5394
|
content: {
|
|
@@ -5210,6 +5411,7 @@ interface operations {
|
|
|
5210
5411
|
/** @description Workspace deleted. */
|
|
5211
5412
|
204: {
|
|
5212
5413
|
headers: {
|
|
5414
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5213
5415
|
[name: string]: unknown;
|
|
5214
5416
|
};
|
|
5215
5417
|
content?: never;
|
|
@@ -5217,6 +5419,7 @@ interface operations {
|
|
|
5217
5419
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
5218
5420
|
401: {
|
|
5219
5421
|
headers: {
|
|
5422
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5220
5423
|
[name: string]: unknown;
|
|
5221
5424
|
};
|
|
5222
5425
|
content: {
|
|
@@ -5226,6 +5429,7 @@ interface operations {
|
|
|
5226
5429
|
/** @description Caller is a PAK (`pcft_live_*`). Workspace deletion requires a human-issued session. */
|
|
5227
5430
|
403: {
|
|
5228
5431
|
headers: {
|
|
5432
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5229
5433
|
[name: string]: unknown;
|
|
5230
5434
|
};
|
|
5231
5435
|
content: {
|
|
@@ -5252,6 +5456,7 @@ interface operations {
|
|
|
5252
5456
|
/** @description Workspace updated. */
|
|
5253
5457
|
200: {
|
|
5254
5458
|
headers: {
|
|
5459
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5255
5460
|
[name: string]: unknown;
|
|
5256
5461
|
};
|
|
5257
5462
|
content: {
|
|
@@ -5261,6 +5466,7 @@ interface operations {
|
|
|
5261
5466
|
/** @description Invalid slug or display name. */
|
|
5262
5467
|
400: {
|
|
5263
5468
|
headers: {
|
|
5469
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5264
5470
|
[name: string]: unknown;
|
|
5265
5471
|
};
|
|
5266
5472
|
content: {
|
|
@@ -5270,6 +5476,7 @@ interface operations {
|
|
|
5270
5476
|
/** @description Missing, invalid or expired bearer token. */
|
|
5271
5477
|
401: {
|
|
5272
5478
|
headers: {
|
|
5479
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5273
5480
|
[name: string]: unknown;
|
|
5274
5481
|
};
|
|
5275
5482
|
content: {
|
|
@@ -5279,6 +5486,7 @@ interface operations {
|
|
|
5279
5486
|
/** @description Workspace not found. */
|
|
5280
5487
|
404: {
|
|
5281
5488
|
headers: {
|
|
5489
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5282
5490
|
[name: string]: unknown;
|
|
5283
5491
|
};
|
|
5284
5492
|
content: {
|
|
@@ -5288,6 +5496,7 @@ interface operations {
|
|
|
5288
5496
|
/** @description Slug already taken by another workspace. */
|
|
5289
5497
|
409: {
|
|
5290
5498
|
headers: {
|
|
5499
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5291
5500
|
[name: string]: unknown;
|
|
5292
5501
|
};
|
|
5293
5502
|
content: {
|
|
@@ -5322,6 +5531,7 @@ interface operations {
|
|
|
5322
5531
|
*/
|
|
5323
5532
|
200: {
|
|
5324
5533
|
headers: {
|
|
5534
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5325
5535
|
[name: string]: unknown;
|
|
5326
5536
|
};
|
|
5327
5537
|
content: {
|
|
@@ -5331,6 +5541,7 @@ interface operations {
|
|
|
5331
5541
|
/** @description Malformed `cursor`, or `include_revoked` is not `true` or `false` (`VALIDATION_ERROR`). */
|
|
5332
5542
|
400: {
|
|
5333
5543
|
headers: {
|
|
5544
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5334
5545
|
[name: string]: unknown;
|
|
5335
5546
|
};
|
|
5336
5547
|
content: {
|
|
@@ -5340,6 +5551,7 @@ interface operations {
|
|
|
5340
5551
|
/** @description Missing, invalid or expired bearer token. */
|
|
5341
5552
|
401: {
|
|
5342
5553
|
headers: {
|
|
5554
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5343
5555
|
[name: string]: unknown;
|
|
5344
5556
|
};
|
|
5345
5557
|
content: {
|
|
@@ -5365,6 +5577,7 @@ interface operations {
|
|
|
5365
5577
|
responses: {
|
|
5366
5578
|
201: {
|
|
5367
5579
|
headers: {
|
|
5580
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5368
5581
|
[name: string]: unknown;
|
|
5369
5582
|
};
|
|
5370
5583
|
content: {
|
|
@@ -5374,6 +5587,7 @@ interface operations {
|
|
|
5374
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`). */
|
|
5375
5588
|
400: {
|
|
5376
5589
|
headers: {
|
|
5590
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5377
5591
|
[name: string]: unknown;
|
|
5378
5592
|
};
|
|
5379
5593
|
content: {
|
|
@@ -5383,6 +5597,7 @@ interface operations {
|
|
|
5383
5597
|
/** @description Missing, malformed or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
5384
5598
|
401: {
|
|
5385
5599
|
headers: {
|
|
5600
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5386
5601
|
[name: string]: unknown;
|
|
5387
5602
|
};
|
|
5388
5603
|
content: {
|
|
@@ -5392,6 +5607,7 @@ interface operations {
|
|
|
5392
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. */
|
|
5393
5608
|
403: {
|
|
5394
5609
|
headers: {
|
|
5610
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5395
5611
|
[name: string]: unknown;
|
|
5396
5612
|
};
|
|
5397
5613
|
content: {
|
|
@@ -5401,6 +5617,7 @@ interface operations {
|
|
|
5401
5617
|
/** @description Workspace not found, or one of `policy_ids` does not exist in this workspace (`POLICY_NOT_FOUND`). */
|
|
5402
5618
|
404: {
|
|
5403
5619
|
headers: {
|
|
5620
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5404
5621
|
[name: string]: unknown;
|
|
5405
5622
|
};
|
|
5406
5623
|
content: {
|
|
@@ -5422,6 +5639,7 @@ interface operations {
|
|
|
5422
5639
|
responses: {
|
|
5423
5640
|
200: {
|
|
5424
5641
|
headers: {
|
|
5642
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5425
5643
|
[name: string]: unknown;
|
|
5426
5644
|
};
|
|
5427
5645
|
content: {
|
|
@@ -5431,6 +5649,7 @@ interface operations {
|
|
|
5431
5649
|
/** @description Missing, malformed or invalid session. */
|
|
5432
5650
|
401: {
|
|
5433
5651
|
headers: {
|
|
5652
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5434
5653
|
[name: string]: unknown;
|
|
5435
5654
|
};
|
|
5436
5655
|
content: {
|
|
@@ -5440,6 +5659,7 @@ interface operations {
|
|
|
5440
5659
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.apikey.read`. */
|
|
5441
5660
|
403: {
|
|
5442
5661
|
headers: {
|
|
5662
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5443
5663
|
[name: string]: unknown;
|
|
5444
5664
|
};
|
|
5445
5665
|
content: {
|
|
@@ -5449,6 +5669,7 @@ interface operations {
|
|
|
5449
5669
|
/** @description Workspace not found. */
|
|
5450
5670
|
404: {
|
|
5451
5671
|
headers: {
|
|
5672
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5452
5673
|
[name: string]: unknown;
|
|
5453
5674
|
};
|
|
5454
5675
|
content: {
|
|
@@ -5474,6 +5695,7 @@ interface operations {
|
|
|
5474
5695
|
responses: {
|
|
5475
5696
|
200: {
|
|
5476
5697
|
headers: {
|
|
5698
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5477
5699
|
[name: string]: unknown;
|
|
5478
5700
|
};
|
|
5479
5701
|
content: {
|
|
@@ -5483,6 +5705,7 @@ interface operations {
|
|
|
5483
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`. */
|
|
5484
5706
|
400: {
|
|
5485
5707
|
headers: {
|
|
5708
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5486
5709
|
[name: string]: unknown;
|
|
5487
5710
|
};
|
|
5488
5711
|
content: {
|
|
@@ -5492,6 +5715,7 @@ interface operations {
|
|
|
5492
5715
|
/** @description Missing, malformed or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
5493
5716
|
401: {
|
|
5494
5717
|
headers: {
|
|
5718
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5495
5719
|
[name: string]: unknown;
|
|
5496
5720
|
};
|
|
5497
5721
|
content: {
|
|
@@ -5501,6 +5725,7 @@ interface operations {
|
|
|
5501
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`. */
|
|
5502
5726
|
403: {
|
|
5503
5727
|
headers: {
|
|
5728
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5504
5729
|
[name: string]: unknown;
|
|
5505
5730
|
};
|
|
5506
5731
|
content: {
|
|
@@ -5510,6 +5735,7 @@ interface operations {
|
|
|
5510
5735
|
/** @description Workspace not found, or one of `policy_ids` does not exist in this workspace (`POLICY_NOT_FOUND`). */
|
|
5511
5736
|
404: {
|
|
5512
5737
|
headers: {
|
|
5738
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5513
5739
|
[name: string]: unknown;
|
|
5514
5740
|
};
|
|
5515
5741
|
content: {
|
|
@@ -5532,6 +5758,7 @@ interface operations {
|
|
|
5532
5758
|
responses: {
|
|
5533
5759
|
200: {
|
|
5534
5760
|
headers: {
|
|
5761
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5535
5762
|
[name: string]: unknown;
|
|
5536
5763
|
};
|
|
5537
5764
|
content: {
|
|
@@ -5541,6 +5768,7 @@ interface operations {
|
|
|
5541
5768
|
/** @description `id` is not a UUID. */
|
|
5542
5769
|
400: {
|
|
5543
5770
|
headers: {
|
|
5771
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5544
5772
|
[name: string]: unknown;
|
|
5545
5773
|
};
|
|
5546
5774
|
content: {
|
|
@@ -5550,6 +5778,7 @@ interface operations {
|
|
|
5550
5778
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
5551
5779
|
401: {
|
|
5552
5780
|
headers: {
|
|
5781
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5553
5782
|
[name: string]: unknown;
|
|
5554
5783
|
};
|
|
5555
5784
|
content: {
|
|
@@ -5559,6 +5788,7 @@ interface operations {
|
|
|
5559
5788
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.apikey.read`. */
|
|
5560
5789
|
403: {
|
|
5561
5790
|
headers: {
|
|
5791
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5562
5792
|
[name: string]: unknown;
|
|
5563
5793
|
};
|
|
5564
5794
|
content: {
|
|
@@ -5568,6 +5798,7 @@ interface operations {
|
|
|
5568
5798
|
/** @description Workspace not found, or PAK not found in this workspace (`PAK_NOT_FOUND`). */
|
|
5569
5799
|
404: {
|
|
5570
5800
|
headers: {
|
|
5801
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5571
5802
|
[name: string]: unknown;
|
|
5572
5803
|
};
|
|
5573
5804
|
content: {
|
|
@@ -5594,6 +5825,7 @@ interface operations {
|
|
|
5594
5825
|
/** @description PAK revoked. */
|
|
5595
5826
|
204: {
|
|
5596
5827
|
headers: {
|
|
5828
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5597
5829
|
[name: string]: unknown;
|
|
5598
5830
|
};
|
|
5599
5831
|
content?: never;
|
|
@@ -5601,6 +5833,7 @@ interface operations {
|
|
|
5601
5833
|
/** @description `id` is not a UUID. */
|
|
5602
5834
|
400: {
|
|
5603
5835
|
headers: {
|
|
5836
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5604
5837
|
[name: string]: unknown;
|
|
5605
5838
|
};
|
|
5606
5839
|
content: {
|
|
@@ -5610,6 +5843,7 @@ interface operations {
|
|
|
5610
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`). */
|
|
5611
5844
|
401: {
|
|
5612
5845
|
headers: {
|
|
5846
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5613
5847
|
[name: string]: unknown;
|
|
5614
5848
|
};
|
|
5615
5849
|
content: {
|
|
@@ -5619,6 +5853,7 @@ interface operations {
|
|
|
5619
5853
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.apikey.delete`. */
|
|
5620
5854
|
403: {
|
|
5621
5855
|
headers: {
|
|
5856
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5622
5857
|
[name: string]: unknown;
|
|
5623
5858
|
};
|
|
5624
5859
|
content: {
|
|
@@ -5628,6 +5863,7 @@ interface operations {
|
|
|
5628
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. */
|
|
5629
5864
|
404: {
|
|
5630
5865
|
headers: {
|
|
5866
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5631
5867
|
[name: string]: unknown;
|
|
5632
5868
|
};
|
|
5633
5869
|
content: {
|
|
@@ -5654,6 +5890,7 @@ interface operations {
|
|
|
5654
5890
|
responses: {
|
|
5655
5891
|
200: {
|
|
5656
5892
|
headers: {
|
|
5893
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5657
5894
|
[name: string]: unknown;
|
|
5658
5895
|
};
|
|
5659
5896
|
content: {
|
|
@@ -5663,6 +5900,7 @@ interface operations {
|
|
|
5663
5900
|
/** @description `id` is not a UUID, body failed validation, or `name` is blank (`PAK_NAME_REQUIRED`). */
|
|
5664
5901
|
400: {
|
|
5665
5902
|
headers: {
|
|
5903
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5666
5904
|
[name: string]: unknown;
|
|
5667
5905
|
};
|
|
5668
5906
|
content: {
|
|
@@ -5672,6 +5910,7 @@ interface operations {
|
|
|
5672
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`). */
|
|
5673
5911
|
401: {
|
|
5674
5912
|
headers: {
|
|
5913
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5675
5914
|
[name: string]: unknown;
|
|
5676
5915
|
};
|
|
5677
5916
|
content: {
|
|
@@ -5681,6 +5920,7 @@ interface operations {
|
|
|
5681
5920
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.apikey.update`. */
|
|
5682
5921
|
403: {
|
|
5683
5922
|
headers: {
|
|
5923
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5684
5924
|
[name: string]: unknown;
|
|
5685
5925
|
};
|
|
5686
5926
|
content: {
|
|
@@ -5690,6 +5930,7 @@ interface operations {
|
|
|
5690
5930
|
/** @description Workspace not found, or PAK not found in this workspace (`PAK_NOT_FOUND`). */
|
|
5691
5931
|
404: {
|
|
5692
5932
|
headers: {
|
|
5933
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5693
5934
|
[name: string]: unknown;
|
|
5694
5935
|
};
|
|
5695
5936
|
content: {
|
|
@@ -5699,6 +5940,7 @@ interface operations {
|
|
|
5699
5940
|
/** @description PAK is revoked (`PAK_REVOKED`). */
|
|
5700
5941
|
409: {
|
|
5701
5942
|
headers: {
|
|
5943
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5702
5944
|
[name: string]: unknown;
|
|
5703
5945
|
};
|
|
5704
5946
|
content: {
|
|
@@ -5726,6 +5968,7 @@ interface operations {
|
|
|
5726
5968
|
/** @description Updated PAK with new bindings. */
|
|
5727
5969
|
200: {
|
|
5728
5970
|
headers: {
|
|
5971
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5729
5972
|
[name: string]: unknown;
|
|
5730
5973
|
};
|
|
5731
5974
|
content: {
|
|
@@ -5735,6 +5978,7 @@ interface operations {
|
|
|
5735
5978
|
/** @description One of: bound > 25 policies; merged > 200 statements; one of the policy ids does not exist or lives in a different workspace. */
|
|
5736
5979
|
400: {
|
|
5737
5980
|
headers: {
|
|
5981
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5738
5982
|
[name: string]: unknown;
|
|
5739
5983
|
};
|
|
5740
5984
|
content: {
|
|
@@ -5744,6 +5988,7 @@ interface operations {
|
|
|
5744
5988
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
5745
5989
|
401: {
|
|
5746
5990
|
headers: {
|
|
5991
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5747
5992
|
[name: string]: unknown;
|
|
5748
5993
|
};
|
|
5749
5994
|
content: {
|
|
@@ -5753,6 +5998,7 @@ interface operations {
|
|
|
5753
5998
|
/** @description Caller cannot grant one or more actions in the merged statement set. */
|
|
5754
5999
|
403: {
|
|
5755
6000
|
headers: {
|
|
6001
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5756
6002
|
[name: string]: unknown;
|
|
5757
6003
|
};
|
|
5758
6004
|
content: {
|
|
@@ -5762,6 +6008,7 @@ interface operations {
|
|
|
5762
6008
|
/** @description PAK not found in this workspace. */
|
|
5763
6009
|
404: {
|
|
5764
6010
|
headers: {
|
|
6011
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5765
6012
|
[name: string]: unknown;
|
|
5766
6013
|
};
|
|
5767
6014
|
content: {
|
|
@@ -5771,6 +6018,7 @@ interface operations {
|
|
|
5771
6018
|
/** @description Empty bindings — revoke the PAK instead of leaving it unbound. */
|
|
5772
6019
|
409: {
|
|
5773
6020
|
headers: {
|
|
6021
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5774
6022
|
[name: string]: unknown;
|
|
5775
6023
|
};
|
|
5776
6024
|
content: {
|
|
@@ -5797,6 +6045,7 @@ interface operations {
|
|
|
5797
6045
|
responses: {
|
|
5798
6046
|
201: {
|
|
5799
6047
|
headers: {
|
|
6048
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5800
6049
|
[name: string]: unknown;
|
|
5801
6050
|
};
|
|
5802
6051
|
content: {
|
|
@@ -5806,6 +6055,7 @@ interface operations {
|
|
|
5806
6055
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
5807
6056
|
401: {
|
|
5808
6057
|
headers: {
|
|
6058
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5809
6059
|
[name: string]: unknown;
|
|
5810
6060
|
};
|
|
5811
6061
|
content: {
|
|
@@ -5815,6 +6065,7 @@ interface operations {
|
|
|
5815
6065
|
/** @description Caller is a PAK (`pcft_live_*`), or cannot grant one or more actions in the bindings being carried across. */
|
|
5816
6066
|
403: {
|
|
5817
6067
|
headers: {
|
|
6068
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5818
6069
|
[name: string]: unknown;
|
|
5819
6070
|
};
|
|
5820
6071
|
content: {
|
|
@@ -5824,6 +6075,7 @@ interface operations {
|
|
|
5824
6075
|
/** @description PAK not found in this workspace. */
|
|
5825
6076
|
404: {
|
|
5826
6077
|
headers: {
|
|
6078
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5827
6079
|
[name: string]: unknown;
|
|
5828
6080
|
};
|
|
5829
6081
|
content: {
|
|
@@ -5833,6 +6085,7 @@ interface operations {
|
|
|
5833
6085
|
/** @description The key is revoked (`PAK_REVOKED`), already expired (`PAK_EXPIRED`), or has no policy bindings to carry across. */
|
|
5834
6086
|
409: {
|
|
5835
6087
|
headers: {
|
|
6088
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5836
6089
|
[name: string]: unknown;
|
|
5837
6090
|
};
|
|
5838
6091
|
content: {
|
|
@@ -5871,6 +6124,7 @@ interface operations {
|
|
|
5871
6124
|
responses: {
|
|
5872
6125
|
200: {
|
|
5873
6126
|
headers: {
|
|
6127
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5874
6128
|
[name: string]: unknown;
|
|
5875
6129
|
};
|
|
5876
6130
|
content: {
|
|
@@ -5880,6 +6134,7 @@ interface operations {
|
|
|
5880
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. */
|
|
5881
6135
|
400: {
|
|
5882
6136
|
headers: {
|
|
6137
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5883
6138
|
[name: string]: unknown;
|
|
5884
6139
|
};
|
|
5885
6140
|
content: {
|
|
@@ -5889,6 +6144,7 @@ interface operations {
|
|
|
5889
6144
|
/** @description Missing, invalid or expired bearer token. */
|
|
5890
6145
|
401: {
|
|
5891
6146
|
headers: {
|
|
6147
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5892
6148
|
[name: string]: unknown;
|
|
5893
6149
|
};
|
|
5894
6150
|
content: {
|
|
@@ -5898,6 +6154,7 @@ interface operations {
|
|
|
5898
6154
|
/** @description The caller is signed in but lacks `workspace.audit.read` for this workspace. */
|
|
5899
6155
|
403: {
|
|
5900
6156
|
headers: {
|
|
6157
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5901
6158
|
[name: string]: unknown;
|
|
5902
6159
|
};
|
|
5903
6160
|
content: {
|
|
@@ -5907,6 +6164,7 @@ interface operations {
|
|
|
5907
6164
|
/** @description The `:workspaceSlug` path param does not resolve to a workspace the caller can see. */
|
|
5908
6165
|
404: {
|
|
5909
6166
|
headers: {
|
|
6167
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5910
6168
|
[name: string]: unknown;
|
|
5911
6169
|
};
|
|
5912
6170
|
content: {
|
|
@@ -5942,6 +6200,7 @@ interface operations {
|
|
|
5942
6200
|
/** @description Page of audit entries with `next_cursor` and `has_more`. */
|
|
5943
6201
|
200: {
|
|
5944
6202
|
headers: {
|
|
6203
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5945
6204
|
[name: string]: unknown;
|
|
5946
6205
|
};
|
|
5947
6206
|
content: {
|
|
@@ -5951,6 +6210,7 @@ interface operations {
|
|
|
5951
6210
|
/** @description Malformed `cursor`, `since`, or `until`. */
|
|
5952
6211
|
400: {
|
|
5953
6212
|
headers: {
|
|
6213
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5954
6214
|
[name: string]: unknown;
|
|
5955
6215
|
};
|
|
5956
6216
|
content: {
|
|
@@ -5960,6 +6220,7 @@ interface operations {
|
|
|
5960
6220
|
/** @description Missing, invalid or expired bearer token. */
|
|
5961
6221
|
401: {
|
|
5962
6222
|
headers: {
|
|
6223
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5963
6224
|
[name: string]: unknown;
|
|
5964
6225
|
};
|
|
5965
6226
|
content: {
|
|
@@ -5990,6 +6251,7 @@ interface operations {
|
|
|
5990
6251
|
/** @description Streamed export. `application/x-ndjson` (one JSON object per line) or `text/csv` (RFC 4180, header row first). */
|
|
5991
6252
|
200: {
|
|
5992
6253
|
headers: {
|
|
6254
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
5993
6255
|
[name: string]: unknown;
|
|
5994
6256
|
};
|
|
5995
6257
|
content: {
|
|
@@ -6000,6 +6262,7 @@ interface operations {
|
|
|
6000
6262
|
/** @description Unknown `format`, or malformed `since` / `until`. */
|
|
6001
6263
|
400: {
|
|
6002
6264
|
headers: {
|
|
6265
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6003
6266
|
[name: string]: unknown;
|
|
6004
6267
|
};
|
|
6005
6268
|
content: {
|
|
@@ -6009,6 +6272,7 @@ interface operations {
|
|
|
6009
6272
|
/** @description Missing, invalid or expired bearer token. */
|
|
6010
6273
|
401: {
|
|
6011
6274
|
headers: {
|
|
6275
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6012
6276
|
[name: string]: unknown;
|
|
6013
6277
|
};
|
|
6014
6278
|
content: {
|
|
@@ -6018,6 +6282,7 @@ interface operations {
|
|
|
6018
6282
|
/** @description Caller lacks `workspace.audit.read`. */
|
|
6019
6283
|
403: {
|
|
6020
6284
|
headers: {
|
|
6285
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6021
6286
|
[name: string]: unknown;
|
|
6022
6287
|
};
|
|
6023
6288
|
content: {
|
|
@@ -6027,6 +6292,7 @@ interface operations {
|
|
|
6027
6292
|
/** @description Workspace not found. */
|
|
6028
6293
|
404: {
|
|
6029
6294
|
headers: {
|
|
6295
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6030
6296
|
[name: string]: unknown;
|
|
6031
6297
|
};
|
|
6032
6298
|
content: {
|
|
@@ -6036,6 +6302,7 @@ interface operations {
|
|
|
6036
6302
|
/** @description More than 1,000,000 rows match. Narrow the window with `since` / `until` and retry. */
|
|
6037
6303
|
413: {
|
|
6038
6304
|
headers: {
|
|
6305
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6039
6306
|
[name: string]: unknown;
|
|
6040
6307
|
};
|
|
6041
6308
|
content: {
|
|
@@ -6067,6 +6334,7 @@ interface operations {
|
|
|
6067
6334
|
responses: {
|
|
6068
6335
|
200: {
|
|
6069
6336
|
headers: {
|
|
6337
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6070
6338
|
[name: string]: unknown;
|
|
6071
6339
|
};
|
|
6072
6340
|
content: {
|
|
@@ -6076,6 +6344,7 @@ interface operations {
|
|
|
6076
6344
|
/** @description Missing, invalid or expired bearer token. */
|
|
6077
6345
|
401: {
|
|
6078
6346
|
headers: {
|
|
6347
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6079
6348
|
[name: string]: unknown;
|
|
6080
6349
|
};
|
|
6081
6350
|
content: {
|
|
@@ -6085,6 +6354,7 @@ interface operations {
|
|
|
6085
6354
|
/** @description Caller is not a member of this workspace, or lacks workspace.settings.update. */
|
|
6086
6355
|
403: {
|
|
6087
6356
|
headers: {
|
|
6357
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6088
6358
|
[name: string]: unknown;
|
|
6089
6359
|
};
|
|
6090
6360
|
content: {
|
|
@@ -6107,6 +6377,7 @@ interface operations {
|
|
|
6107
6377
|
/** @description Avatar cleared. */
|
|
6108
6378
|
204: {
|
|
6109
6379
|
headers: {
|
|
6380
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6110
6381
|
[name: string]: unknown;
|
|
6111
6382
|
};
|
|
6112
6383
|
content?: never;
|
|
@@ -6114,6 +6385,7 @@ interface operations {
|
|
|
6114
6385
|
/** @description Missing or invalid session. */
|
|
6115
6386
|
401: {
|
|
6116
6387
|
headers: {
|
|
6388
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6117
6389
|
[name: string]: unknown;
|
|
6118
6390
|
};
|
|
6119
6391
|
content: {
|
|
@@ -6123,6 +6395,7 @@ interface operations {
|
|
|
6123
6395
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.settings.update`. */
|
|
6124
6396
|
403: {
|
|
6125
6397
|
headers: {
|
|
6398
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6126
6399
|
[name: string]: unknown;
|
|
6127
6400
|
};
|
|
6128
6401
|
content: {
|
|
@@ -6132,6 +6405,7 @@ interface operations {
|
|
|
6132
6405
|
/** @description Workspace not found (unknown slug or id). */
|
|
6133
6406
|
404: {
|
|
6134
6407
|
headers: {
|
|
6408
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6135
6409
|
[name: string]: unknown;
|
|
6136
6410
|
};
|
|
6137
6411
|
content: {
|
|
@@ -6158,6 +6432,7 @@ interface operations {
|
|
|
6158
6432
|
responses: {
|
|
6159
6433
|
200: {
|
|
6160
6434
|
headers: {
|
|
6435
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6161
6436
|
[name: string]: unknown;
|
|
6162
6437
|
};
|
|
6163
6438
|
content: {
|
|
@@ -6167,6 +6442,7 @@ interface operations {
|
|
|
6167
6442
|
/** @description Malformed `cursor`. */
|
|
6168
6443
|
400: {
|
|
6169
6444
|
headers: {
|
|
6445
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6170
6446
|
[name: string]: unknown;
|
|
6171
6447
|
};
|
|
6172
6448
|
content: {
|
|
@@ -6176,6 +6452,7 @@ interface operations {
|
|
|
6176
6452
|
/** @description Missing or invalid session. */
|
|
6177
6453
|
401: {
|
|
6178
6454
|
headers: {
|
|
6455
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6179
6456
|
[name: string]: unknown;
|
|
6180
6457
|
};
|
|
6181
6458
|
content: {
|
|
@@ -6185,6 +6462,7 @@ interface operations {
|
|
|
6185
6462
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.member.invite`. */
|
|
6186
6463
|
403: {
|
|
6187
6464
|
headers: {
|
|
6465
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6188
6466
|
[name: string]: unknown;
|
|
6189
6467
|
};
|
|
6190
6468
|
content: {
|
|
@@ -6194,6 +6472,7 @@ interface operations {
|
|
|
6194
6472
|
/** @description Workspace not found (unknown slug or id). */
|
|
6195
6473
|
404: {
|
|
6196
6474
|
headers: {
|
|
6475
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6197
6476
|
[name: string]: unknown;
|
|
6198
6477
|
};
|
|
6199
6478
|
content: {
|
|
@@ -6219,6 +6498,7 @@ interface operations {
|
|
|
6219
6498
|
responses: {
|
|
6220
6499
|
201: {
|
|
6221
6500
|
headers: {
|
|
6501
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6222
6502
|
[name: string]: unknown;
|
|
6223
6503
|
};
|
|
6224
6504
|
content: {
|
|
@@ -6228,6 +6508,7 @@ interface operations {
|
|
|
6228
6508
|
/** @description Body failed validation. */
|
|
6229
6509
|
400: {
|
|
6230
6510
|
headers: {
|
|
6511
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6231
6512
|
[name: string]: unknown;
|
|
6232
6513
|
};
|
|
6233
6514
|
content: {
|
|
@@ -6237,6 +6518,7 @@ interface operations {
|
|
|
6237
6518
|
/** @description Missing or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
6238
6519
|
401: {
|
|
6239
6520
|
headers: {
|
|
6521
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6240
6522
|
[name: string]: unknown;
|
|
6241
6523
|
};
|
|
6242
6524
|
content: {
|
|
@@ -6246,6 +6528,7 @@ interface operations {
|
|
|
6246
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`). */
|
|
6247
6529
|
403: {
|
|
6248
6530
|
headers: {
|
|
6531
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6249
6532
|
[name: string]: unknown;
|
|
6250
6533
|
};
|
|
6251
6534
|
content: {
|
|
@@ -6255,6 +6538,7 @@ interface operations {
|
|
|
6255
6538
|
/** @description Workspace not found, or role not found in this workspace (`ROLE_NOT_FOUND`). */
|
|
6256
6539
|
404: {
|
|
6257
6540
|
headers: {
|
|
6541
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6258
6542
|
[name: string]: unknown;
|
|
6259
6543
|
};
|
|
6260
6544
|
content: {
|
|
@@ -6278,6 +6562,7 @@ interface operations {
|
|
|
6278
6562
|
/** @description Invite revoked. */
|
|
6279
6563
|
204: {
|
|
6280
6564
|
headers: {
|
|
6565
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6281
6566
|
[name: string]: unknown;
|
|
6282
6567
|
};
|
|
6283
6568
|
content?: never;
|
|
@@ -6285,6 +6570,7 @@ interface operations {
|
|
|
6285
6570
|
/** @description Missing or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
6286
6571
|
401: {
|
|
6287
6572
|
headers: {
|
|
6573
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6288
6574
|
[name: string]: unknown;
|
|
6289
6575
|
};
|
|
6290
6576
|
content: {
|
|
@@ -6294,6 +6580,7 @@ interface operations {
|
|
|
6294
6580
|
/** @description Caller is a PAK (`pcft_live_*`), not a member of the invite’s workspace (`NOT_A_MEMBER`), or lacks `workspace.member.invite`. */
|
|
6295
6581
|
403: {
|
|
6296
6582
|
headers: {
|
|
6583
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6297
6584
|
[name: string]: unknown;
|
|
6298
6585
|
};
|
|
6299
6586
|
content: {
|
|
@@ -6303,6 +6590,7 @@ interface operations {
|
|
|
6303
6590
|
/** @description Workspace not found, or invite not found (`INVITE_NOT_FOUND`). */
|
|
6304
6591
|
404: {
|
|
6305
6592
|
headers: {
|
|
6593
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6306
6594
|
[name: string]: unknown;
|
|
6307
6595
|
};
|
|
6308
6596
|
content: {
|
|
@@ -6333,6 +6621,7 @@ interface operations {
|
|
|
6333
6621
|
responses: {
|
|
6334
6622
|
200: {
|
|
6335
6623
|
headers: {
|
|
6624
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6336
6625
|
[name: string]: unknown;
|
|
6337
6626
|
};
|
|
6338
6627
|
content: {
|
|
@@ -6342,6 +6631,7 @@ interface operations {
|
|
|
6342
6631
|
/** @description Malformed `cursor`. */
|
|
6343
6632
|
400: {
|
|
6344
6633
|
headers: {
|
|
6634
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6345
6635
|
[name: string]: unknown;
|
|
6346
6636
|
};
|
|
6347
6637
|
content: {
|
|
@@ -6351,6 +6641,7 @@ interface operations {
|
|
|
6351
6641
|
/** @description Missing or invalid session. */
|
|
6352
6642
|
401: {
|
|
6353
6643
|
headers: {
|
|
6644
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6354
6645
|
[name: string]: unknown;
|
|
6355
6646
|
};
|
|
6356
6647
|
content: {
|
|
@@ -6360,6 +6651,7 @@ interface operations {
|
|
|
6360
6651
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.member.read`. */
|
|
6361
6652
|
403: {
|
|
6362
6653
|
headers: {
|
|
6654
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6363
6655
|
[name: string]: unknown;
|
|
6364
6656
|
};
|
|
6365
6657
|
content: {
|
|
@@ -6369,6 +6661,7 @@ interface operations {
|
|
|
6369
6661
|
/** @description Workspace not found (unknown slug or id). */
|
|
6370
6662
|
404: {
|
|
6371
6663
|
headers: {
|
|
6664
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6372
6665
|
[name: string]: unknown;
|
|
6373
6666
|
};
|
|
6374
6667
|
content: {
|
|
@@ -6392,6 +6685,7 @@ interface operations {
|
|
|
6392
6685
|
/** @description Member removed. */
|
|
6393
6686
|
204: {
|
|
6394
6687
|
headers: {
|
|
6688
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6395
6689
|
[name: string]: unknown;
|
|
6396
6690
|
};
|
|
6397
6691
|
content?: never;
|
|
@@ -6399,6 +6693,7 @@ interface operations {
|
|
|
6399
6693
|
/** @description Missing or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
6400
6694
|
401: {
|
|
6401
6695
|
headers: {
|
|
6696
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6402
6697
|
[name: string]: unknown;
|
|
6403
6698
|
};
|
|
6404
6699
|
content: {
|
|
@@ -6408,6 +6703,7 @@ interface operations {
|
|
|
6408
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). */
|
|
6409
6704
|
403: {
|
|
6410
6705
|
headers: {
|
|
6706
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6411
6707
|
[name: string]: unknown;
|
|
6412
6708
|
};
|
|
6413
6709
|
content: {
|
|
@@ -6417,6 +6713,7 @@ interface operations {
|
|
|
6417
6713
|
/** @description Workspace not found, or target account is not a member (`NOT_A_MEMBER`). */
|
|
6418
6714
|
404: {
|
|
6419
6715
|
headers: {
|
|
6716
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6420
6717
|
[name: string]: unknown;
|
|
6421
6718
|
};
|
|
6422
6719
|
content: {
|
|
@@ -6426,6 +6723,7 @@ interface operations {
|
|
|
6426
6723
|
/** @description Target is the last member (`LAST_MEMBER`) or the sole owner (`SOLE_OWNER`). */
|
|
6427
6724
|
409: {
|
|
6428
6725
|
headers: {
|
|
6726
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6429
6727
|
[name: string]: unknown;
|
|
6430
6728
|
};
|
|
6431
6729
|
content: {
|
|
@@ -6452,6 +6750,7 @@ interface operations {
|
|
|
6452
6750
|
responses: {
|
|
6453
6751
|
200: {
|
|
6454
6752
|
headers: {
|
|
6753
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6455
6754
|
[name: string]: unknown;
|
|
6456
6755
|
};
|
|
6457
6756
|
content: {
|
|
@@ -6461,6 +6760,7 @@ interface operations {
|
|
|
6461
6760
|
/** @description Body failed validation. */
|
|
6462
6761
|
400: {
|
|
6463
6762
|
headers: {
|
|
6763
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6464
6764
|
[name: string]: unknown;
|
|
6465
6765
|
};
|
|
6466
6766
|
content: {
|
|
@@ -6470,6 +6770,7 @@ interface operations {
|
|
|
6470
6770
|
/** @description Missing or invalid session. Also a session that has been signed out (`SESSION_REVOKED`). */
|
|
6471
6771
|
401: {
|
|
6472
6772
|
headers: {
|
|
6773
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6473
6774
|
[name: string]: unknown;
|
|
6474
6775
|
};
|
|
6475
6776
|
content: {
|
|
@@ -6479,6 +6780,7 @@ interface operations {
|
|
|
6479
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. */
|
|
6480
6781
|
403: {
|
|
6481
6782
|
headers: {
|
|
6783
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6482
6784
|
[name: string]: unknown;
|
|
6483
6785
|
};
|
|
6484
6786
|
content: {
|
|
@@ -6488,6 +6790,7 @@ interface operations {
|
|
|
6488
6790
|
/** @description Workspace not found, target account is not a member (`NOT_A_MEMBER`), or role not found in this workspace (`ROLE_NOT_FOUND`). */
|
|
6489
6791
|
404: {
|
|
6490
6792
|
headers: {
|
|
6793
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6491
6794
|
[name: string]: unknown;
|
|
6492
6795
|
};
|
|
6493
6796
|
content: {
|
|
@@ -6497,6 +6800,7 @@ interface operations {
|
|
|
6497
6800
|
/** @description Would demote the only owner (`SOLE_OWNER`). Assign another owner first. */
|
|
6498
6801
|
409: {
|
|
6499
6802
|
headers: {
|
|
6803
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6500
6804
|
[name: string]: unknown;
|
|
6501
6805
|
};
|
|
6502
6806
|
content: {
|
|
@@ -6524,6 +6828,7 @@ interface operations {
|
|
|
6524
6828
|
/** @description Page of managed policies with `next_cursor` and `has_more`. */
|
|
6525
6829
|
200: {
|
|
6526
6830
|
headers: {
|
|
6831
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6527
6832
|
[name: string]: unknown;
|
|
6528
6833
|
};
|
|
6529
6834
|
content: {
|
|
@@ -6533,6 +6838,7 @@ interface operations {
|
|
|
6533
6838
|
/** @description Malformed `cursor`. */
|
|
6534
6839
|
400: {
|
|
6535
6840
|
headers: {
|
|
6841
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6536
6842
|
[name: string]: unknown;
|
|
6537
6843
|
};
|
|
6538
6844
|
content: {
|
|
@@ -6542,6 +6848,7 @@ interface operations {
|
|
|
6542
6848
|
/** @description Missing, invalid or expired bearer token. */
|
|
6543
6849
|
401: {
|
|
6544
6850
|
headers: {
|
|
6851
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6545
6852
|
[name: string]: unknown;
|
|
6546
6853
|
};
|
|
6547
6854
|
content: {
|
|
@@ -6568,6 +6875,7 @@ interface operations {
|
|
|
6568
6875
|
/** @description Policy created. */
|
|
6569
6876
|
201: {
|
|
6570
6877
|
headers: {
|
|
6878
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6571
6879
|
[name: string]: unknown;
|
|
6572
6880
|
};
|
|
6573
6881
|
content: {
|
|
@@ -6577,6 +6885,7 @@ interface operations {
|
|
|
6577
6885
|
/** @description Invalid policy shape, name, or condition block. */
|
|
6578
6886
|
400: {
|
|
6579
6887
|
headers: {
|
|
6888
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6580
6889
|
[name: string]: unknown;
|
|
6581
6890
|
};
|
|
6582
6891
|
content: {
|
|
@@ -6586,6 +6895,7 @@ interface operations {
|
|
|
6586
6895
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
6587
6896
|
401: {
|
|
6588
6897
|
headers: {
|
|
6898
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6589
6899
|
[name: string]: unknown;
|
|
6590
6900
|
};
|
|
6591
6901
|
content: {
|
|
@@ -6595,6 +6905,7 @@ interface operations {
|
|
|
6595
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. */
|
|
6596
6906
|
403: {
|
|
6597
6907
|
headers: {
|
|
6908
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6598
6909
|
[name: string]: unknown;
|
|
6599
6910
|
};
|
|
6600
6911
|
content: {
|
|
@@ -6604,6 +6915,7 @@ interface operations {
|
|
|
6604
6915
|
/** @description Name already in use, or the workspace already has 100 policies. */
|
|
6605
6916
|
409: {
|
|
6606
6917
|
headers: {
|
|
6918
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6607
6919
|
[name: string]: unknown;
|
|
6608
6920
|
};
|
|
6609
6921
|
content: {
|
|
@@ -6625,6 +6937,7 @@ interface operations {
|
|
|
6625
6937
|
responses: {
|
|
6626
6938
|
200: {
|
|
6627
6939
|
headers: {
|
|
6940
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6628
6941
|
[name: string]: unknown;
|
|
6629
6942
|
};
|
|
6630
6943
|
content: {
|
|
@@ -6634,6 +6947,7 @@ interface operations {
|
|
|
6634
6947
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
6635
6948
|
401: {
|
|
6636
6949
|
headers: {
|
|
6950
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6637
6951
|
[name: string]: unknown;
|
|
6638
6952
|
};
|
|
6639
6953
|
content: {
|
|
@@ -6643,6 +6957,7 @@ interface operations {
|
|
|
6643
6957
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.policy.read`. */
|
|
6644
6958
|
403: {
|
|
6645
6959
|
headers: {
|
|
6960
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6646
6961
|
[name: string]: unknown;
|
|
6647
6962
|
};
|
|
6648
6963
|
content: {
|
|
@@ -6652,6 +6967,7 @@ interface operations {
|
|
|
6652
6967
|
/** @description Workspace not found (unknown slug or id). */
|
|
6653
6968
|
404: {
|
|
6654
6969
|
headers: {
|
|
6970
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6655
6971
|
[name: string]: unknown;
|
|
6656
6972
|
};
|
|
6657
6973
|
content: {
|
|
@@ -6675,6 +6991,7 @@ interface operations {
|
|
|
6675
6991
|
/** @description Policy detail. `binding_count.{pak,role}` reports how many things are currently bound — surface this in delete-confirm UX. */
|
|
6676
6992
|
200: {
|
|
6677
6993
|
headers: {
|
|
6994
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6678
6995
|
[name: string]: unknown;
|
|
6679
6996
|
};
|
|
6680
6997
|
content: {
|
|
@@ -6684,6 +7001,7 @@ interface operations {
|
|
|
6684
7001
|
/** @description Missing, invalid or expired bearer token. */
|
|
6685
7002
|
401: {
|
|
6686
7003
|
headers: {
|
|
7004
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6687
7005
|
[name: string]: unknown;
|
|
6688
7006
|
};
|
|
6689
7007
|
content: {
|
|
@@ -6693,6 +7011,7 @@ interface operations {
|
|
|
6693
7011
|
/** @description Policy not found in this workspace. */
|
|
6694
7012
|
404: {
|
|
6695
7013
|
headers: {
|
|
7014
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6696
7015
|
[name: string]: unknown;
|
|
6697
7016
|
};
|
|
6698
7017
|
content: {
|
|
@@ -6716,6 +7035,7 @@ interface operations {
|
|
|
6716
7035
|
/** @description Policy deleted. `bound_key_count` is the number of live API keys that lost the binding. */
|
|
6717
7036
|
200: {
|
|
6718
7037
|
headers: {
|
|
7038
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6719
7039
|
[name: string]: unknown;
|
|
6720
7040
|
};
|
|
6721
7041
|
content: {
|
|
@@ -6725,6 +7045,7 @@ interface operations {
|
|
|
6725
7045
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
6726
7046
|
401: {
|
|
6727
7047
|
headers: {
|
|
7048
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6728
7049
|
[name: string]: unknown;
|
|
6729
7050
|
};
|
|
6730
7051
|
content: {
|
|
@@ -6734,6 +7055,7 @@ interface operations {
|
|
|
6734
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`). */
|
|
6735
7056
|
403: {
|
|
6736
7057
|
headers: {
|
|
7058
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6737
7059
|
[name: string]: unknown;
|
|
6738
7060
|
};
|
|
6739
7061
|
content: {
|
|
@@ -6743,6 +7065,7 @@ interface operations {
|
|
|
6743
7065
|
/** @description Policy not found in this workspace (`POLICY_NOT_FOUND`). */
|
|
6744
7066
|
404: {
|
|
6745
7067
|
headers: {
|
|
7068
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6746
7069
|
[name: string]: unknown;
|
|
6747
7070
|
};
|
|
6748
7071
|
content: {
|
|
@@ -6770,6 +7093,7 @@ interface operations {
|
|
|
6770
7093
|
/** @description Updated policy. `bound_key_count` is the number of live API keys the change applies to. */
|
|
6771
7094
|
200: {
|
|
6772
7095
|
headers: {
|
|
7096
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6773
7097
|
[name: string]: unknown;
|
|
6774
7098
|
};
|
|
6775
7099
|
content: {
|
|
@@ -6779,6 +7103,7 @@ interface operations {
|
|
|
6779
7103
|
/** @description Invalid policy shape, name, or condition block. */
|
|
6780
7104
|
400: {
|
|
6781
7105
|
headers: {
|
|
7106
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6782
7107
|
[name: string]: unknown;
|
|
6783
7108
|
};
|
|
6784
7109
|
content: {
|
|
@@ -6788,6 +7113,7 @@ interface operations {
|
|
|
6788
7113
|
/** @description Missing or invalid session, or a session that has been signed out (`SESSION_REVOKED`). */
|
|
6789
7114
|
401: {
|
|
6790
7115
|
headers: {
|
|
7116
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6791
7117
|
[name: string]: unknown;
|
|
6792
7118
|
};
|
|
6793
7119
|
content: {
|
|
@@ -6797,6 +7123,7 @@ interface operations {
|
|
|
6797
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`). */
|
|
6798
7124
|
403: {
|
|
6799
7125
|
headers: {
|
|
7126
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6800
7127
|
[name: string]: unknown;
|
|
6801
7128
|
};
|
|
6802
7129
|
content: {
|
|
@@ -6806,6 +7133,7 @@ interface operations {
|
|
|
6806
7133
|
/** @description Policy not found in this workspace (`POLICY_NOT_FOUND`). */
|
|
6807
7134
|
404: {
|
|
6808
7135
|
headers: {
|
|
7136
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6809
7137
|
[name: string]: unknown;
|
|
6810
7138
|
};
|
|
6811
7139
|
content: {
|
|
@@ -6815,6 +7143,7 @@ interface operations {
|
|
|
6815
7143
|
/** @description Name already in use (`POLICY_NAME_TAKEN`). */
|
|
6816
7144
|
409: {
|
|
6817
7145
|
headers: {
|
|
7146
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6818
7147
|
[name: string]: unknown;
|
|
6819
7148
|
};
|
|
6820
7149
|
content: {
|
|
@@ -6842,6 +7171,7 @@ interface operations {
|
|
|
6842
7171
|
/** @description Page of roles with `next_cursor` and `has_more`. */
|
|
6843
7172
|
200: {
|
|
6844
7173
|
headers: {
|
|
7174
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6845
7175
|
[name: string]: unknown;
|
|
6846
7176
|
};
|
|
6847
7177
|
content: {
|
|
@@ -6851,6 +7181,7 @@ interface operations {
|
|
|
6851
7181
|
/** @description Malformed `cursor`. */
|
|
6852
7182
|
400: {
|
|
6853
7183
|
headers: {
|
|
7184
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6854
7185
|
[name: string]: unknown;
|
|
6855
7186
|
};
|
|
6856
7187
|
content: {
|
|
@@ -6860,6 +7191,7 @@ interface operations {
|
|
|
6860
7191
|
/** @description Missing, invalid or expired bearer token. */
|
|
6861
7192
|
401: {
|
|
6862
7193
|
headers: {
|
|
7194
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6863
7195
|
[name: string]: unknown;
|
|
6864
7196
|
};
|
|
6865
7197
|
content: {
|
|
@@ -6885,6 +7217,7 @@ interface operations {
|
|
|
6885
7217
|
responses: {
|
|
6886
7218
|
201: {
|
|
6887
7219
|
headers: {
|
|
7220
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6888
7221
|
[name: string]: unknown;
|
|
6889
7222
|
};
|
|
6890
7223
|
content: {
|
|
@@ -6894,6 +7227,7 @@ interface operations {
|
|
|
6894
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`). */
|
|
6895
7228
|
400: {
|
|
6896
7229
|
headers: {
|
|
7230
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6897
7231
|
[name: string]: unknown;
|
|
6898
7232
|
};
|
|
6899
7233
|
content: {
|
|
@@ -6903,6 +7237,7 @@ interface operations {
|
|
|
6903
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`). */
|
|
6904
7238
|
401: {
|
|
6905
7239
|
headers: {
|
|
7240
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6906
7241
|
[name: string]: unknown;
|
|
6907
7242
|
};
|
|
6908
7243
|
content: {
|
|
@@ -6912,6 +7247,7 @@ interface operations {
|
|
|
6912
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`). */
|
|
6913
7248
|
403: {
|
|
6914
7249
|
headers: {
|
|
7250
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6915
7251
|
[name: string]: unknown;
|
|
6916
7252
|
};
|
|
6917
7253
|
content: {
|
|
@@ -6921,6 +7257,7 @@ interface operations {
|
|
|
6921
7257
|
/** @description Workspace not found, or `policy_id` not found in this workspace (`POLICY_NOT_FOUND`). */
|
|
6922
7258
|
404: {
|
|
6923
7259
|
headers: {
|
|
7260
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6924
7261
|
[name: string]: unknown;
|
|
6925
7262
|
};
|
|
6926
7263
|
content: {
|
|
@@ -6930,6 +7267,7 @@ interface operations {
|
|
|
6930
7267
|
/** @description Role name already in use or reserved for a system role (`ROLE_NAME_TAKEN`). */
|
|
6931
7268
|
409: {
|
|
6932
7269
|
headers: {
|
|
7270
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6933
7271
|
[name: string]: unknown;
|
|
6934
7272
|
};
|
|
6935
7273
|
content: {
|
|
@@ -6952,6 +7290,7 @@ interface operations {
|
|
|
6952
7290
|
responses: {
|
|
6953
7291
|
200: {
|
|
6954
7292
|
headers: {
|
|
7293
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6955
7294
|
[name: string]: unknown;
|
|
6956
7295
|
};
|
|
6957
7296
|
content: {
|
|
@@ -6961,6 +7300,7 @@ interface operations {
|
|
|
6961
7300
|
/** @description `roleId` is not a UUID. */
|
|
6962
7301
|
400: {
|
|
6963
7302
|
headers: {
|
|
7303
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6964
7304
|
[name: string]: unknown;
|
|
6965
7305
|
};
|
|
6966
7306
|
content: {
|
|
@@ -6970,6 +7310,7 @@ interface operations {
|
|
|
6970
7310
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
6971
7311
|
401: {
|
|
6972
7312
|
headers: {
|
|
7313
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6973
7314
|
[name: string]: unknown;
|
|
6974
7315
|
};
|
|
6975
7316
|
content: {
|
|
@@ -6979,6 +7320,7 @@ interface operations {
|
|
|
6979
7320
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.role.read`. */
|
|
6980
7321
|
403: {
|
|
6981
7322
|
headers: {
|
|
7323
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6982
7324
|
[name: string]: unknown;
|
|
6983
7325
|
};
|
|
6984
7326
|
content: {
|
|
@@ -6988,6 +7330,7 @@ interface operations {
|
|
|
6988
7330
|
/** @description Workspace not found, or role not found in this workspace (`ROLE_NOT_FOUND`). */
|
|
6989
7331
|
404: {
|
|
6990
7332
|
headers: {
|
|
7333
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
6991
7334
|
[name: string]: unknown;
|
|
6992
7335
|
};
|
|
6993
7336
|
content: {
|
|
@@ -7011,6 +7354,7 @@ interface operations {
|
|
|
7011
7354
|
/** @description Custom role deleted. */
|
|
7012
7355
|
204: {
|
|
7013
7356
|
headers: {
|
|
7357
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7014
7358
|
[name: string]: unknown;
|
|
7015
7359
|
};
|
|
7016
7360
|
content?: never;
|
|
@@ -7018,6 +7362,7 @@ interface operations {
|
|
|
7018
7362
|
/** @description `roleId` is not a UUID. */
|
|
7019
7363
|
400: {
|
|
7020
7364
|
headers: {
|
|
7365
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7021
7366
|
[name: string]: unknown;
|
|
7022
7367
|
};
|
|
7023
7368
|
content: {
|
|
@@ -7027,6 +7372,7 @@ interface operations {
|
|
|
7027
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`). */
|
|
7028
7373
|
401: {
|
|
7029
7374
|
headers: {
|
|
7375
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7030
7376
|
[name: string]: unknown;
|
|
7031
7377
|
};
|
|
7032
7378
|
content: {
|
|
@@ -7036,6 +7382,7 @@ interface operations {
|
|
|
7036
7382
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.role.delete`. */
|
|
7037
7383
|
403: {
|
|
7038
7384
|
headers: {
|
|
7385
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7039
7386
|
[name: string]: unknown;
|
|
7040
7387
|
};
|
|
7041
7388
|
content: {
|
|
@@ -7045,6 +7392,7 @@ interface operations {
|
|
|
7045
7392
|
/** @description Workspace not found, or role not found in this workspace (`ROLE_NOT_FOUND`). */
|
|
7046
7393
|
404: {
|
|
7047
7394
|
headers: {
|
|
7395
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7048
7396
|
[name: string]: unknown;
|
|
7049
7397
|
};
|
|
7050
7398
|
content: {
|
|
@@ -7054,6 +7402,7 @@ interface operations {
|
|
|
7054
7402
|
/** @description Role is a system role (`ROLE_SYSTEM_IMMUTABLE`) or still has members (`ROLE_HAS_MEMBERS`). */
|
|
7055
7403
|
409: {
|
|
7056
7404
|
headers: {
|
|
7405
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7057
7406
|
[name: string]: unknown;
|
|
7058
7407
|
};
|
|
7059
7408
|
content: {
|
|
@@ -7080,6 +7429,7 @@ interface operations {
|
|
|
7080
7429
|
responses: {
|
|
7081
7430
|
200: {
|
|
7082
7431
|
headers: {
|
|
7432
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7083
7433
|
[name: string]: unknown;
|
|
7084
7434
|
};
|
|
7085
7435
|
content: {
|
|
@@ -7089,6 +7439,7 @@ interface operations {
|
|
|
7089
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. */
|
|
7090
7440
|
400: {
|
|
7091
7441
|
headers: {
|
|
7442
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7092
7443
|
[name: string]: unknown;
|
|
7093
7444
|
};
|
|
7094
7445
|
content: {
|
|
@@ -7098,6 +7449,7 @@ interface operations {
|
|
|
7098
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`). */
|
|
7099
7450
|
401: {
|
|
7100
7451
|
headers: {
|
|
7452
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7101
7453
|
[name: string]: unknown;
|
|
7102
7454
|
};
|
|
7103
7455
|
content: {
|
|
@@ -7107,6 +7459,7 @@ interface operations {
|
|
|
7107
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`). */
|
|
7108
7460
|
403: {
|
|
7109
7461
|
headers: {
|
|
7462
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7110
7463
|
[name: string]: unknown;
|
|
7111
7464
|
};
|
|
7112
7465
|
content: {
|
|
@@ -7116,6 +7469,7 @@ interface operations {
|
|
|
7116
7469
|
/** @description Workspace, role (`ROLE_NOT_FOUND`) or bound policy (`POLICY_NOT_FOUND`) not found in this workspace. */
|
|
7117
7470
|
404: {
|
|
7118
7471
|
headers: {
|
|
7472
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7119
7473
|
[name: string]: unknown;
|
|
7120
7474
|
};
|
|
7121
7475
|
content: {
|
|
@@ -7125,6 +7479,7 @@ interface operations {
|
|
|
7125
7479
|
/** @description System roles cannot be renamed, edited or bound (`ROLE_SYSTEM_IMMUTABLE`), or the new name is taken (`ROLE_NAME_TAKEN`). */
|
|
7126
7480
|
409: {
|
|
7127
7481
|
headers: {
|
|
7482
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7128
7483
|
[name: string]: unknown;
|
|
7129
7484
|
};
|
|
7130
7485
|
content: {
|
|
@@ -7146,6 +7501,7 @@ interface operations {
|
|
|
7146
7501
|
responses: {
|
|
7147
7502
|
200: {
|
|
7148
7503
|
headers: {
|
|
7504
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7149
7505
|
[name: string]: unknown;
|
|
7150
7506
|
};
|
|
7151
7507
|
content: {
|
|
@@ -7155,6 +7511,7 @@ interface operations {
|
|
|
7155
7511
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
7156
7512
|
401: {
|
|
7157
7513
|
headers: {
|
|
7514
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7158
7515
|
[name: string]: unknown;
|
|
7159
7516
|
};
|
|
7160
7517
|
content: {
|
|
@@ -7164,6 +7521,7 @@ interface operations {
|
|
|
7164
7521
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.service.read`. */
|
|
7165
7522
|
403: {
|
|
7166
7523
|
headers: {
|
|
7524
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7167
7525
|
[name: string]: unknown;
|
|
7168
7526
|
};
|
|
7169
7527
|
content: {
|
|
@@ -7173,6 +7531,7 @@ interface operations {
|
|
|
7173
7531
|
/** @description Workspace not found (unknown slug or id). */
|
|
7174
7532
|
404: {
|
|
7175
7533
|
headers: {
|
|
7534
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7176
7535
|
[name: string]: unknown;
|
|
7177
7536
|
};
|
|
7178
7537
|
content: {
|
|
@@ -7199,6 +7558,7 @@ interface operations {
|
|
|
7199
7558
|
responses: {
|
|
7200
7559
|
201: {
|
|
7201
7560
|
headers: {
|
|
7561
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7202
7562
|
[name: string]: unknown;
|
|
7203
7563
|
};
|
|
7204
7564
|
content: {
|
|
@@ -7208,6 +7568,7 @@ interface operations {
|
|
|
7208
7568
|
/** @description Unknown service name (`SERVICE_UNKNOWN`) or body failed validation. */
|
|
7209
7569
|
400: {
|
|
7210
7570
|
headers: {
|
|
7571
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7211
7572
|
[name: string]: unknown;
|
|
7212
7573
|
};
|
|
7213
7574
|
content: {
|
|
@@ -7217,6 +7578,7 @@ interface operations {
|
|
|
7217
7578
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
7218
7579
|
401: {
|
|
7219
7580
|
headers: {
|
|
7581
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7220
7582
|
[name: string]: unknown;
|
|
7221
7583
|
};
|
|
7222
7584
|
content: {
|
|
@@ -7226,6 +7588,7 @@ interface operations {
|
|
|
7226
7588
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.service.enable`. */
|
|
7227
7589
|
403: {
|
|
7228
7590
|
headers: {
|
|
7591
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7229
7592
|
[name: string]: unknown;
|
|
7230
7593
|
};
|
|
7231
7594
|
content: {
|
|
@@ -7235,6 +7598,7 @@ interface operations {
|
|
|
7235
7598
|
/** @description Workspace not found (unknown slug or id). */
|
|
7236
7599
|
404: {
|
|
7237
7600
|
headers: {
|
|
7601
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7238
7602
|
[name: string]: unknown;
|
|
7239
7603
|
};
|
|
7240
7604
|
content: {
|
|
@@ -7258,6 +7622,7 @@ interface operations {
|
|
|
7258
7622
|
/** @description Service disabled. Settings preserved for re-enable. */
|
|
7259
7623
|
204: {
|
|
7260
7624
|
headers: {
|
|
7625
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7261
7626
|
[name: string]: unknown;
|
|
7262
7627
|
};
|
|
7263
7628
|
content?: never;
|
|
@@ -7265,6 +7630,7 @@ interface operations {
|
|
|
7265
7630
|
/** @description Unknown service name (`SERVICE_UNKNOWN`). */
|
|
7266
7631
|
400: {
|
|
7267
7632
|
headers: {
|
|
7633
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7268
7634
|
[name: string]: unknown;
|
|
7269
7635
|
};
|
|
7270
7636
|
content: {
|
|
@@ -7274,6 +7640,7 @@ interface operations {
|
|
|
7274
7640
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
7275
7641
|
401: {
|
|
7276
7642
|
headers: {
|
|
7643
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7277
7644
|
[name: string]: unknown;
|
|
7278
7645
|
};
|
|
7279
7646
|
content: {
|
|
@@ -7283,6 +7650,7 @@ interface operations {
|
|
|
7283
7650
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.service.disable`. */
|
|
7284
7651
|
403: {
|
|
7285
7652
|
headers: {
|
|
7653
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7286
7654
|
[name: string]: unknown;
|
|
7287
7655
|
};
|
|
7288
7656
|
content: {
|
|
@@ -7292,6 +7660,7 @@ interface operations {
|
|
|
7292
7660
|
/** @description Workspace not found (unknown slug or id). */
|
|
7293
7661
|
404: {
|
|
7294
7662
|
headers: {
|
|
7663
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7295
7664
|
[name: string]: unknown;
|
|
7296
7665
|
};
|
|
7297
7666
|
content: {
|
|
@@ -7301,6 +7670,7 @@ interface operations {
|
|
|
7301
7670
|
/** @description Service is not currently enabled (`SERVICE_NOT_ENABLED`). */
|
|
7302
7671
|
409: {
|
|
7303
7672
|
headers: {
|
|
7673
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7304
7674
|
[name: string]: unknown;
|
|
7305
7675
|
};
|
|
7306
7676
|
content: {
|
|
@@ -7330,6 +7700,7 @@ interface operations {
|
|
|
7330
7700
|
responses: {
|
|
7331
7701
|
200: {
|
|
7332
7702
|
headers: {
|
|
7703
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7333
7704
|
[name: string]: unknown;
|
|
7334
7705
|
};
|
|
7335
7706
|
content: {
|
|
@@ -7339,6 +7710,7 @@ interface operations {
|
|
|
7339
7710
|
/** @description Unknown service name (`SERVICE_UNKNOWN`). */
|
|
7340
7711
|
400: {
|
|
7341
7712
|
headers: {
|
|
7713
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7342
7714
|
[name: string]: unknown;
|
|
7343
7715
|
};
|
|
7344
7716
|
content: {
|
|
@@ -7348,6 +7720,7 @@ interface operations {
|
|
|
7348
7720
|
/** @description Missing, malformed or invalid session, or a PAK bearer (this route accepts cookie/JWT sessions only). */
|
|
7349
7721
|
401: {
|
|
7350
7722
|
headers: {
|
|
7723
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7351
7724
|
[name: string]: unknown;
|
|
7352
7725
|
};
|
|
7353
7726
|
content: {
|
|
@@ -7357,6 +7730,7 @@ interface operations {
|
|
|
7357
7730
|
/** @description Caller is not a member of this workspace (`NOT_A_MEMBER`), or lacks `workspace.service.enable`. */
|
|
7358
7731
|
403: {
|
|
7359
7732
|
headers: {
|
|
7733
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7360
7734
|
[name: string]: unknown;
|
|
7361
7735
|
};
|
|
7362
7736
|
content: {
|
|
@@ -7366,6 +7740,7 @@ interface operations {
|
|
|
7366
7740
|
/** @description Workspace not found, or the service was never activated on it (`SERVICE_NOT_ACTIVATED`). */
|
|
7367
7741
|
404: {
|
|
7368
7742
|
headers: {
|
|
7743
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
7369
7744
|
[name: string]: unknown;
|
|
7370
7745
|
};
|
|
7371
7746
|
content: {
|