@productcraft/waitlist 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -960,26 +960,60 @@ interface components {
960
960
  waitlist_id: string;
961
961
  workspace_id: string;
962
962
  };
963
- ErrorResponseDto: {
963
+ ErrorParamDto: {
964
964
  /**
965
- * @description Stable, machine-readable error code; branch on this, not on `message`. Always present. A route-specific code when the route defines one (e.g. `WEBHOOK_ENDPOINT_NOT_FOUND`, `SERVICE_NOT_ENABLED`), otherwise the generic code for the status: `BAD_REQUEST`, `VALIDATION_ERROR` (400 from request validation), `UNAUTHORIZED`, `FORBIDDEN`, `NOT_FOUND`, `CONFLICT`, `PAYLOAD_TOO_LARGE`, `UNPROCESSABLE_ENTITY`, `RATE_LIMITED`, `INTERNAL_SERVER_ERROR`, `SERVICE_UNAVAILABLE`.
966
- * @example SERVICE_NOT_ENABLED
965
+ * @description The failed rule (class-validator constraint name, e.g. `isEmail`, `isUuid`, `whitelistValidation` for a field the operation does not declare), or `invalid`.
966
+ * @example isEmail
967
967
  */
968
968
  code: string;
969
969
  /**
970
- * @description Human-readable error message. May be a class-validator array on 400.
971
- * @example Policy denies waitlist.read on pcft:workspace/7a0c2f7e-2b8d-4f7f-9a51-3f1f0e1f3c11
970
+ * @description What is wrong with it; the same text as the field's entry in an array `message`.
971
+ * @example email must be an email
972
+ */
973
+ message: string;
974
+ /**
975
+ * @description Wire path of the invalid field: `email`, `items.0.display_name`.
976
+ * @example email
977
+ */
978
+ param: string;
979
+ };
980
+ ErrorResponseDto: {
981
+ /**
982
+ * @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>.
983
+ * @example NOT_FOUND
984
+ */
985
+ code: components["schemas"]["WaitlistErrorCode"];
986
+ /**
987
+ * @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.
988
+ * @example {
989
+ * "fqdn": "mail.example.com",
990
+ * "reason": "not_verified"
991
+ * }
992
+ */
993
+ details?: {
994
+ [key: string]: unknown;
995
+ };
996
+ /** @description One entry per invalid request field on a `VALIDATION_ERROR`; empty on every other error. */
997
+ errors: components["schemas"]["ErrorParamDto"][];
998
+ /**
999
+ * @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.
1000
+ * @example Domain not found
972
1001
  */
973
1002
  message: string | string[];
1003
+ /**
1004
+ * @description The request's id, same as the `X-Request-Id` response header. Quote it when contacting support.
1005
+ * @example req_6f1c2a9d4b7e4f0a8c3d2e1f0a9b8c7d
1006
+ */
1007
+ request_id: string;
974
1008
  /**
975
1009
  * @deprecated
976
1010
  * @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.
977
- * @example 403
1011
+ * @example 404
978
1012
  */
979
1013
  statusCode?: number;
980
1014
  /**
981
- * @description HTTP status code echoed in the body (`status_code`). `statusCode` carries the same value as a deprecated alias.
982
- * @example 403
1015
+ * @description HTTP status code, same as the response status.
1016
+ * @example 404
983
1017
  */
984
1018
  status_code: number;
985
1019
  };
@@ -1359,6 +1393,8 @@ interface components {
1359
1393
  /** Format: uuid */
1360
1394
  waitlist_id: string;
1361
1395
  };
1396
+ /** @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>. */
1397
+ WaitlistErrorCode: ("BAD_REQUEST" | "VALIDATION_ERROR" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_ALLOWED" | "NOT_ACCEPTABLE" | "REQUEST_TIMEOUT" | "CONFLICT" | "GONE" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_ENTITY" | "PRECONDITION_REQUIRED" | "RATE_LIMITED" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "SERVICE_NOT_ENABLED" | "INVALID_CREDENTIALS" | "SESSION_REVOKED" | "MCP_NOT_PERMITTED" | "MCP_WORKSPACE_MISMATCH" | "PAK_NOT_PERMITTED" | "ACTIONS_NOT_GRANTABLE" | "IDEMPOTENCY_KEY_REUSE" | "IDEMPOTENCY_KEY_REQUIRED" | "WEBHOOK_ENDPOINT_LIMIT" | "WEBHOOK_ENDPOINT_NOT_FOUND" | "WEBHOOK_ENDPOINT_NOT_SUBSCRIBED" | "WEBHOOK_EVENT_NOT_FOUND" | "WEBHOOK_EVENT_TYPE_UNKNOWN" | "MAIL_UNREACHABLE" | "ORIGIN_NOT_ALLOWED" | "WAITLIST_NOT_FOUND" | "domain_not_verified_by_provider" | "from_domain_not_verified" | "no_default_sender") | string;
1362
1398
  WaitlistListPaginationDto: {
1363
1399
  has_more: boolean;
1364
1400
  next_cursor: string | null;
@@ -1837,7 +1873,10 @@ interface components {
1837
1873
  responses: never;
1838
1874
  parameters: never;
1839
1875
  requestBodies: never;
1840
- headers: never;
1876
+ headers: {
1877
+ /** @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. */
1878
+ RequestId: string;
1879
+ };
1841
1880
  pathItems: never;
1842
1881
  }
1843
1882
  interface operations {
@@ -1859,6 +1898,7 @@ interface operations {
1859
1898
  /** @description Public waitlist info */
1860
1899
  200: {
1861
1900
  headers: {
1901
+ "X-Request-Id": components["headers"]["RequestId"];
1862
1902
  [name: string]: unknown;
1863
1903
  };
1864
1904
  content: {
@@ -1868,6 +1908,7 @@ interface operations {
1868
1908
  /** @description Code `WAITLIST_NOT_FOUND`: no such waitlist, not active, or its workspace was deleted. The answer is the same in every case. */
1869
1909
  404: {
1870
1910
  headers: {
1911
+ "X-Request-Id": components["headers"]["RequestId"];
1871
1912
  [name: string]: unknown;
1872
1913
  };
1873
1914
  content: {
@@ -1895,6 +1936,7 @@ interface operations {
1895
1936
  /** @description Entry created. Persist `referral_code` client-side to build the referral URL; `status` is `approved` when the waitlist auto-approves. A sign-up from an Amazon SES mailbox-simulator address (`…@simulator.amazonses.com`) is stored as a test entry (`is_test: true`, negative `position`), so test runs never land on the real list. */
1896
1937
  201: {
1897
1938
  headers: {
1939
+ "X-Request-Id": components["headers"]["RequestId"];
1898
1940
  [name: string]: unknown;
1899
1941
  };
1900
1942
  content: {
@@ -1904,6 +1946,7 @@ interface operations {
1904
1946
  /** @description Validation or spam check failed */
1905
1947
  400: {
1906
1948
  headers: {
1949
+ "X-Request-Id": components["headers"]["RequestId"];
1907
1950
  [name: string]: unknown;
1908
1951
  };
1909
1952
  content: {
@@ -1913,6 +1956,7 @@ interface operations {
1913
1956
  /** @description The request came from a web origin (`Origin` header) that is not on the waitlist's `allowed_origins` list. Requests without an `Origin` header (server-side calls) are not checked. A CORS preflight from such an origin gets the same 403. */
1914
1957
  403: {
1915
1958
  headers: {
1959
+ "X-Request-Id": components["headers"]["RequestId"];
1916
1960
  [name: string]: unknown;
1917
1961
  };
1918
1962
  content: {
@@ -1922,6 +1966,7 @@ interface operations {
1922
1966
  /** @description Code `WAITLIST_NOT_FOUND`: no such waitlist, or its workspace was deleted. The answer is the same in both cases. */
1923
1967
  404: {
1924
1968
  headers: {
1969
+ "X-Request-Id": components["headers"]["RequestId"];
1925
1970
  [name: string]: unknown;
1926
1971
  };
1927
1972
  content: {
@@ -1931,6 +1976,7 @@ interface operations {
1931
1976
  /** @description Email already on this waitlist */
1932
1977
  409: {
1933
1978
  headers: {
1979
+ "X-Request-Id": components["headers"]["RequestId"];
1934
1980
  [name: string]: unknown;
1935
1981
  };
1936
1982
  content: {
@@ -1940,6 +1986,7 @@ interface operations {
1940
1986
  /** @description Waitlist is not active or is full */
1941
1987
  422: {
1942
1988
  headers: {
1989
+ "X-Request-Id": components["headers"]["RequestId"];
1943
1990
  [name: string]: unknown;
1944
1991
  };
1945
1992
  content: {
@@ -1949,6 +1996,7 @@ interface operations {
1949
1996
  /** @description Too many requests from this IP */
1950
1997
  429: {
1951
1998
  headers: {
1999
+ "X-Request-Id": components["headers"]["RequestId"];
1952
2000
  [name: string]: unknown;
1953
2001
  };
1954
2002
  content: {
@@ -1975,6 +2023,7 @@ interface operations {
1975
2023
  /** @description Array of `{ position, referral_count, masked_email }` */
1976
2024
  200: {
1977
2025
  headers: {
2026
+ "X-Request-Id": components["headers"]["RequestId"];
1978
2027
  [name: string]: unknown;
1979
2028
  };
1980
2029
  content: {
@@ -1984,6 +2033,7 @@ interface operations {
1984
2033
  /** @description Code `WAITLIST_NOT_FOUND`: no such waitlist, not active, or its workspace was deleted. The answer is the same in every case. */
1985
2034
  404: {
1986
2035
  headers: {
2036
+ "X-Request-Id": components["headers"]["RequestId"];
1987
2037
  [name: string]: unknown;
1988
2038
  };
1989
2039
  content: {
@@ -2010,6 +2060,7 @@ interface operations {
2010
2060
  /** @description Waitlist stats. */
2011
2061
  200: {
2012
2062
  headers: {
2063
+ "X-Request-Id": components["headers"]["RequestId"];
2013
2064
  [name: string]: unknown;
2014
2065
  };
2015
2066
  content: {
@@ -2019,6 +2070,7 @@ interface operations {
2019
2070
  /** @description `window` is not one of 1d, 7d, 30d. */
2020
2071
  400: {
2021
2072
  headers: {
2073
+ "X-Request-Id": components["headers"]["RequestId"];
2022
2074
  [name: string]: unknown;
2023
2075
  };
2024
2076
  content: {
@@ -2028,6 +2080,7 @@ interface operations {
2028
2080
  /** @description Caller lacks `waitlist.read` on the workspace, or Waitlist is not enabled on it (`SERVICE_NOT_ENABLED`). */
2029
2081
  403: {
2030
2082
  headers: {
2083
+ "X-Request-Id": components["headers"]["RequestId"];
2031
2084
  [name: string]: unknown;
2032
2085
  };
2033
2086
  content: {
@@ -2037,6 +2090,7 @@ interface operations {
2037
2090
  /** @description Workspace not found: the id is unknown, is not a UUID, or is not visible to the caller. Same answer as the service's other workspace routes. */
2038
2091
  404: {
2039
2092
  headers: {
2093
+ "X-Request-Id": components["headers"]["RequestId"];
2040
2094
  [name: string]: unknown;
2041
2095
  };
2042
2096
  content: {
@@ -2059,6 +2113,7 @@ interface operations {
2059
2113
  /** @description Workspace Waitlist settings with the email setup state. */
2060
2114
  200: {
2061
2115
  headers: {
2116
+ "X-Request-Id": components["headers"]["RequestId"];
2062
2117
  [name: string]: unknown;
2063
2118
  };
2064
2119
  content: {
@@ -2068,6 +2123,7 @@ interface operations {
2068
2123
  /** @description No valid session or API key. */
2069
2124
  401: {
2070
2125
  headers: {
2126
+ "X-Request-Id": components["headers"]["RequestId"];
2071
2127
  [name: string]: unknown;
2072
2128
  };
2073
2129
  content: {
@@ -2077,6 +2133,7 @@ interface operations {
2077
2133
  /** @description Caller lacks `waitlist.settings.read` on the workspace. */
2078
2134
  403: {
2079
2135
  headers: {
2136
+ "X-Request-Id": components["headers"]["RequestId"];
2080
2137
  [name: string]: unknown;
2081
2138
  };
2082
2139
  content: {
@@ -2086,6 +2143,7 @@ interface operations {
2086
2143
  /** @description Workspace does not exist or is not Waitlist-enabled. */
2087
2144
  404: {
2088
2145
  headers: {
2146
+ "X-Request-Id": components["headers"]["RequestId"];
2089
2147
  [name: string]: unknown;
2090
2148
  };
2091
2149
  content: {
@@ -2112,6 +2170,7 @@ interface operations {
2112
2170
  /** @description Updated workspace Waitlist settings with the email setup state. */
2113
2171
  200: {
2114
2172
  headers: {
2173
+ "X-Request-Id": components["headers"]["RequestId"];
2115
2174
  [name: string]: unknown;
2116
2175
  };
2117
2176
  content: {
@@ -2121,6 +2180,7 @@ interface operations {
2121
2180
  /** @description Validation failure on the patch body (per `UpdateSettingsDto`). */
2122
2181
  400: {
2123
2182
  headers: {
2183
+ "X-Request-Id": components["headers"]["RequestId"];
2124
2184
  [name: string]: unknown;
2125
2185
  };
2126
2186
  content: {
@@ -2130,6 +2190,7 @@ interface operations {
2130
2190
  /** @description No valid session or API key. */
2131
2191
  401: {
2132
2192
  headers: {
2193
+ "X-Request-Id": components["headers"]["RequestId"];
2133
2194
  [name: string]: unknown;
2134
2195
  };
2135
2196
  content: {
@@ -2139,6 +2200,7 @@ interface operations {
2139
2200
  /** @description Caller lacks `waitlist.settings.update` on the workspace. */
2140
2201
  403: {
2141
2202
  headers: {
2203
+ "X-Request-Id": components["headers"]["RequestId"];
2142
2204
  [name: string]: unknown;
2143
2205
  };
2144
2206
  content: {
@@ -2148,6 +2210,7 @@ interface operations {
2148
2210
  /** @description Workspace does not exist or is not Waitlist-enabled. */
2149
2211
  404: {
2150
2212
  headers: {
2213
+ "X-Request-Id": components["headers"]["RequestId"];
2151
2214
  [name: string]: unknown;
2152
2215
  };
2153
2216
  content: {
@@ -2175,6 +2238,7 @@ interface operations {
2175
2238
  /** @description Accepted by Mail and queued for delivery. */
2176
2239
  202: {
2177
2240
  headers: {
2241
+ "X-Request-Id": components["headers"]["RequestId"];
2178
2242
  [name: string]: unknown;
2179
2243
  };
2180
2244
  content: {
@@ -2184,6 +2248,7 @@ interface operations {
2184
2248
  /** @description Unknown `slot`, or `workspaceId` is not a UUID. */
2185
2249
  400: {
2186
2250
  headers: {
2251
+ "X-Request-Id": components["headers"]["RequestId"];
2187
2252
  [name: string]: unknown;
2188
2253
  };
2189
2254
  content: {
@@ -2193,6 +2258,7 @@ interface operations {
2193
2258
  /** @description No valid session or API key. */
2194
2259
  401: {
2195
2260
  headers: {
2261
+ "X-Request-Id": components["headers"]["RequestId"];
2196
2262
  [name: string]: unknown;
2197
2263
  };
2198
2264
  content: {
@@ -2202,6 +2268,7 @@ interface operations {
2202
2268
  /** @description Caller lacks `waitlist.settings.update`, or Mail refused the send for your role (you need Mail send access in this workspace). */
2203
2269
  403: {
2204
2270
  headers: {
2271
+ "X-Request-Id": components["headers"]["RequestId"];
2205
2272
  [name: string]: unknown;
2206
2273
  };
2207
2274
  content: {
@@ -2211,6 +2278,7 @@ interface operations {
2211
2278
  /** @description Workspace not Waitlist-enabled, or the slot's template no longer exists in Mail. */
2212
2279
  404: {
2213
2280
  headers: {
2281
+ "X-Request-Id": components["headers"]["RequestId"];
2214
2282
  [name: string]: unknown;
2215
2283
  };
2216
2284
  content: {
@@ -2220,6 +2288,7 @@ interface operations {
2220
2288
  /** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
2221
2289
  409: {
2222
2290
  headers: {
2291
+ "X-Request-Id": components["headers"]["RequestId"];
2223
2292
  [name: string]: unknown;
2224
2293
  };
2225
2294
  content: {
@@ -2229,6 +2298,7 @@ interface operations {
2229
2298
  /** @description `no_template`: the slot has no template. `no_sender_address`: custom sender mode with no address. */
2230
2299
  412: {
2231
2300
  headers: {
2301
+ "X-Request-Id": components["headers"]["RequestId"];
2232
2302
  [name: string]: unknown;
2233
2303
  };
2234
2304
  content: {
@@ -2238,6 +2308,7 @@ interface operations {
2238
2308
  /** @description `operator_email_unavailable`: the caller has no verified account email (API keys included). From Mail: `no_default_sender` (workspace mode and no default sender set in Mail), `from_domain_not_verified`, `domain_not_verified_by_provider`, a suppressed address, or a render failure. */
2239
2309
  422: {
2240
2310
  headers: {
2311
+ "X-Request-Id": components["headers"]["RequestId"];
2241
2312
  [name: string]: unknown;
2242
2313
  };
2243
2314
  content: {
@@ -2247,6 +2318,7 @@ interface operations {
2247
2318
  /** @description More than 10 tests by you in the last hour (`RATE_LIMITED`), or over a Mail send limit. */
2248
2319
  429: {
2249
2320
  headers: {
2321
+ "X-Request-Id": components["headers"]["RequestId"];
2250
2322
  [name: string]: unknown;
2251
2323
  };
2252
2324
  content: {
@@ -2256,6 +2328,7 @@ interface operations {
2256
2328
  /** @description `MAIL_UNREACHABLE`: Mail did not answer. */
2257
2329
  503: {
2258
2330
  headers: {
2331
+ "X-Request-Id": components["headers"]["RequestId"];
2259
2332
  [name: string]: unknown;
2260
2333
  };
2261
2334
  content: {
@@ -2284,6 +2357,7 @@ interface operations {
2284
2357
  /** @description Page of waitlists. */
2285
2358
  200: {
2286
2359
  headers: {
2360
+ "X-Request-Id": components["headers"]["RequestId"];
2287
2361
  [name: string]: unknown;
2288
2362
  };
2289
2363
  content: {
@@ -2313,6 +2387,7 @@ interface operations {
2313
2387
  /** @description Waitlist created. */
2314
2388
  201: {
2315
2389
  headers: {
2390
+ "X-Request-Id": components["headers"]["RequestId"];
2316
2391
  [name: string]: unknown;
2317
2392
  };
2318
2393
  content: {
@@ -2322,6 +2397,7 @@ interface operations {
2322
2397
  /** @description Validation failure, including an `allowed_origins` entry that is not a plain origin. */
2323
2398
  400: {
2324
2399
  headers: {
2400
+ "X-Request-Id": components["headers"]["RequestId"];
2325
2401
  [name: string]: unknown;
2326
2402
  };
2327
2403
  content: {
@@ -2331,6 +2407,7 @@ interface operations {
2331
2407
  /** @description Caller lacks `waitlist.create`, or workspace has not enabled the `waitlist` service. */
2332
2408
  403: {
2333
2409
  headers: {
2410
+ "X-Request-Id": components["headers"]["RequestId"];
2334
2411
  [name: string]: unknown;
2335
2412
  };
2336
2413
  content: {
@@ -2340,6 +2417,7 @@ interface operations {
2340
2417
  /** @description Slug already taken in this workspace. */
2341
2418
  409: {
2342
2419
  headers: {
2420
+ "X-Request-Id": components["headers"]["RequestId"];
2343
2421
  [name: string]: unknown;
2344
2422
  };
2345
2423
  content: {
@@ -2363,6 +2441,7 @@ interface operations {
2363
2441
  /** @description Waitlist row. */
2364
2442
  200: {
2365
2443
  headers: {
2444
+ "X-Request-Id": components["headers"]["RequestId"];
2366
2445
  [name: string]: unknown;
2367
2446
  };
2368
2447
  content: {
@@ -2372,6 +2451,7 @@ interface operations {
2372
2451
  /** @description Waitlist not found. */
2373
2452
  404: {
2374
2453
  headers: {
2454
+ "X-Request-Id": components["headers"]["RequestId"];
2375
2455
  [name: string]: unknown;
2376
2456
  };
2377
2457
  content: {
@@ -2395,6 +2475,7 @@ interface operations {
2395
2475
  /** @description Waitlist deleted. */
2396
2476
  204: {
2397
2477
  headers: {
2478
+ "X-Request-Id": components["headers"]["RequestId"];
2398
2479
  [name: string]: unknown;
2399
2480
  };
2400
2481
  content?: never;
@@ -2402,6 +2483,7 @@ interface operations {
2402
2483
  /** @description Caller lacks `waitlist.delete`. */
2403
2484
  403: {
2404
2485
  headers: {
2486
+ "X-Request-Id": components["headers"]["RequestId"];
2405
2487
  [name: string]: unknown;
2406
2488
  };
2407
2489
  content: {
@@ -2411,6 +2493,7 @@ interface operations {
2411
2493
  /** @description Waitlist not found. */
2412
2494
  404: {
2413
2495
  headers: {
2496
+ "X-Request-Id": components["headers"]["RequestId"];
2414
2497
  [name: string]: unknown;
2415
2498
  };
2416
2499
  content: {
@@ -2438,6 +2521,7 @@ interface operations {
2438
2521
  /** @description Waitlist updated. */
2439
2522
  200: {
2440
2523
  headers: {
2524
+ "X-Request-Id": components["headers"]["RequestId"];
2441
2525
  [name: string]: unknown;
2442
2526
  };
2443
2527
  content: {
@@ -2447,6 +2531,7 @@ interface operations {
2447
2531
  /** @description Validation failure, including an `allowed_origins` entry that is not a plain origin. */
2448
2532
  400: {
2449
2533
  headers: {
2534
+ "X-Request-Id": components["headers"]["RequestId"];
2450
2535
  [name: string]: unknown;
2451
2536
  };
2452
2537
  content: {
@@ -2456,6 +2541,7 @@ interface operations {
2456
2541
  /** @description Waitlist not found. */
2457
2542
  404: {
2458
2543
  headers: {
2544
+ "X-Request-Id": components["headers"]["RequestId"];
2459
2545
  [name: string]: unknown;
2460
2546
  };
2461
2547
  content: {
@@ -2483,6 +2569,7 @@ interface operations {
2483
2569
  /** @description Status updated. */
2484
2570
  200: {
2485
2571
  headers: {
2572
+ "X-Request-Id": components["headers"]["RequestId"];
2486
2573
  [name: string]: unknown;
2487
2574
  };
2488
2575
  content: {
@@ -2492,6 +2579,7 @@ interface operations {
2492
2579
  /** @description Invalid status transition. */
2493
2580
  400: {
2494
2581
  headers: {
2582
+ "X-Request-Id": components["headers"]["RequestId"];
2495
2583
  [name: string]: unknown;
2496
2584
  };
2497
2585
  content: {
@@ -2501,6 +2589,7 @@ interface operations {
2501
2589
  /** @description Waitlist not found. */
2502
2590
  404: {
2503
2591
  headers: {
2592
+ "X-Request-Id": components["headers"]["RequestId"];
2504
2593
  [name: string]: unknown;
2505
2594
  };
2506
2595
  content: {
@@ -2527,6 +2616,7 @@ interface operations {
2527
2616
  /** @description Aggregated analytics payload for the waitlist. */
2528
2617
  200: {
2529
2618
  headers: {
2619
+ "X-Request-Id": components["headers"]["RequestId"];
2530
2620
  [name: string]: unknown;
2531
2621
  };
2532
2622
  content: {
@@ -2536,6 +2626,7 @@ interface operations {
2536
2626
  /** @description Caller lacks `waitlist.read` on the workspace. */
2537
2627
  403: {
2538
2628
  headers: {
2629
+ "X-Request-Id": components["headers"]["RequestId"];
2539
2630
  [name: string]: unknown;
2540
2631
  };
2541
2632
  content: {
@@ -2545,6 +2636,7 @@ interface operations {
2545
2636
  /** @description Waitlist does not exist or is not in the path workspace. */
2546
2637
  404: {
2547
2638
  headers: {
2639
+ "X-Request-Id": components["headers"]["RequestId"];
2548
2640
  [name: string]: unknown;
2549
2641
  };
2550
2642
  content: {
@@ -2575,6 +2667,7 @@ interface operations {
2575
2667
  /** @description Daily timeline array, oldest first, zero-count days included. */
2576
2668
  200: {
2577
2669
  headers: {
2670
+ "X-Request-Id": components["headers"]["RequestId"];
2578
2671
  [name: string]: unknown;
2579
2672
  };
2580
2673
  content: {
@@ -2584,6 +2677,7 @@ interface operations {
2584
2677
  /** @description `since` / `until` missing, malformed, or `until <= since`. */
2585
2678
  400: {
2586
2679
  headers: {
2680
+ "X-Request-Id": components["headers"]["RequestId"];
2587
2681
  [name: string]: unknown;
2588
2682
  };
2589
2683
  content: {
@@ -2593,6 +2687,7 @@ interface operations {
2593
2687
  /** @description Caller lacks `waitlist.read` on the workspace. */
2594
2688
  403: {
2595
2689
  headers: {
2690
+ "X-Request-Id": components["headers"]["RequestId"];
2596
2691
  [name: string]: unknown;
2597
2692
  };
2598
2693
  content: {
@@ -2602,6 +2697,7 @@ interface operations {
2602
2697
  /** @description Waitlist does not exist or is not in the path workspace. */
2603
2698
  404: {
2604
2699
  headers: {
2700
+ "X-Request-Id": components["headers"]["RequestId"];
2605
2701
  [name: string]: unknown;
2606
2702
  };
2607
2703
  content: {
@@ -2639,6 +2735,7 @@ interface operations {
2639
2735
  /** @description Page of entries with pagination cursor. */
2640
2736
  200: {
2641
2737
  headers: {
2738
+ "X-Request-Id": components["headers"]["RequestId"];
2642
2739
  [name: string]: unknown;
2643
2740
  };
2644
2741
  content: {
@@ -2648,6 +2745,7 @@ interface operations {
2648
2745
  /** @description Invalid cursor, overlong `search`, malformed `since` / `until`, or `until <= since`. */
2649
2746
  400: {
2650
2747
  headers: {
2748
+ "X-Request-Id": components["headers"]["RequestId"];
2651
2749
  [name: string]: unknown;
2652
2750
  };
2653
2751
  content: {
@@ -2657,6 +2755,7 @@ interface operations {
2657
2755
  /** @description Caller lacks `entry.read`, or workspace has not enabled the `waitlist` service. */
2658
2756
  403: {
2659
2757
  headers: {
2758
+ "X-Request-Id": components["headers"]["RequestId"];
2660
2759
  [name: string]: unknown;
2661
2760
  };
2662
2761
  content: {
@@ -2666,6 +2765,7 @@ interface operations {
2666
2765
  /** @description Waitlist not found in this workspace. */
2667
2766
  404: {
2668
2767
  headers: {
2768
+ "X-Request-Id": components["headers"]["RequestId"];
2669
2769
  [name: string]: unknown;
2670
2770
  };
2671
2771
  content: {
@@ -2693,6 +2793,7 @@ interface operations {
2693
2793
  /** @description `{ requested, succeeded, failed, results }`. Each row in `results` carries `{ id, status: "ok" | "error", error?: { code, message } }` so a partial failure (one bad id) doesn't fail the whole batch. */
2694
2794
  200: {
2695
2795
  headers: {
2796
+ "X-Request-Id": components["headers"]["RequestId"];
2696
2797
  [name: string]: unknown;
2697
2798
  };
2698
2799
  content: {
@@ -2702,6 +2803,7 @@ interface operations {
2702
2803
  /** @description Empty `ids`, more than 100 ids, or unknown action. */
2703
2804
  400: {
2704
2805
  headers: {
2806
+ "X-Request-Id": components["headers"]["RequestId"];
2705
2807
  [name: string]: unknown;
2706
2808
  };
2707
2809
  content: {
@@ -2711,6 +2813,7 @@ interface operations {
2711
2813
  /** @description Caller lacks `entry.update`. */
2712
2814
  403: {
2713
2815
  headers: {
2816
+ "X-Request-Id": components["headers"]["RequestId"];
2714
2817
  [name: string]: unknown;
2715
2818
  };
2716
2819
  content: {
@@ -2720,6 +2823,7 @@ interface operations {
2720
2823
  /** @description Waitlist not found. */
2721
2824
  404: {
2722
2825
  headers: {
2826
+ "X-Request-Id": components["headers"]["RequestId"];
2723
2827
  [name: string]: unknown;
2724
2828
  };
2725
2829
  content: {
@@ -2746,6 +2850,7 @@ interface operations {
2746
2850
  /** @description Entry count. */
2747
2851
  200: {
2748
2852
  headers: {
2853
+ "X-Request-Id": components["headers"]["RequestId"];
2749
2854
  [name: string]: unknown;
2750
2855
  };
2751
2856
  content: {
@@ -2755,6 +2860,7 @@ interface operations {
2755
2860
  /** @description Waitlist not found in this workspace. */
2756
2861
  404: {
2757
2862
  headers: {
2863
+ "X-Request-Id": components["headers"]["RequestId"];
2758
2864
  [name: string]: unknown;
2759
2865
  };
2760
2866
  content: {
@@ -2781,6 +2887,7 @@ interface operations {
2781
2887
  /** @description text/csv stream — one header row + one row per entry. Content-Disposition: attachment. */
2782
2888
  200: {
2783
2889
  headers: {
2890
+ "X-Request-Id": components["headers"]["RequestId"];
2784
2891
  [name: string]: unknown;
2785
2892
  };
2786
2893
  content: {
@@ -2790,6 +2897,7 @@ interface operations {
2790
2897
  /** @description Caller lacks `waitlist.export`. */
2791
2898
  403: {
2792
2899
  headers: {
2900
+ "X-Request-Id": components["headers"]["RequestId"];
2793
2901
  [name: string]: unknown;
2794
2902
  };
2795
2903
  content: {
@@ -2799,6 +2907,7 @@ interface operations {
2799
2907
  /** @description Waitlist not found in this workspace. */
2800
2908
  404: {
2801
2909
  headers: {
2910
+ "X-Request-Id": components["headers"]["RequestId"];
2802
2911
  [name: string]: unknown;
2803
2912
  };
2804
2913
  content: {
@@ -2823,6 +2932,7 @@ interface operations {
2823
2932
  /** @description Entry row. */
2824
2933
  200: {
2825
2934
  headers: {
2935
+ "X-Request-Id": components["headers"]["RequestId"];
2826
2936
  [name: string]: unknown;
2827
2937
  };
2828
2938
  content: {
@@ -2832,6 +2942,7 @@ interface operations {
2832
2942
  /** @description Entry not found. */
2833
2943
  404: {
2834
2944
  headers: {
2945
+ "X-Request-Id": components["headers"]["RequestId"];
2835
2946
  [name: string]: unknown;
2836
2947
  };
2837
2948
  content: {
@@ -2856,6 +2967,7 @@ interface operations {
2856
2967
  /** @description Entry deleted. */
2857
2968
  204: {
2858
2969
  headers: {
2970
+ "X-Request-Id": components["headers"]["RequestId"];
2859
2971
  [name: string]: unknown;
2860
2972
  };
2861
2973
  content?: never;
@@ -2863,6 +2975,7 @@ interface operations {
2863
2975
  /** @description Caller lacks `entry.update`. */
2864
2976
  403: {
2865
2977
  headers: {
2978
+ "X-Request-Id": components["headers"]["RequestId"];
2866
2979
  [name: string]: unknown;
2867
2980
  };
2868
2981
  content: {
@@ -2872,6 +2985,7 @@ interface operations {
2872
2985
  /** @description Entry not found. */
2873
2986
  404: {
2874
2987
  headers: {
2988
+ "X-Request-Id": components["headers"]["RequestId"];
2875
2989
  [name: string]: unknown;
2876
2990
  };
2877
2991
  content: {
@@ -2900,6 +3014,7 @@ interface operations {
2900
3014
  /** @description Entry status updated. */
2901
3015
  200: {
2902
3016
  headers: {
3017
+ "X-Request-Id": components["headers"]["RequestId"];
2903
3018
  [name: string]: unknown;
2904
3019
  };
2905
3020
  content: {
@@ -2909,6 +3024,7 @@ interface operations {
2909
3024
  /** @description Invalid status transition. */
2910
3025
  400: {
2911
3026
  headers: {
3027
+ "X-Request-Id": components["headers"]["RequestId"];
2912
3028
  [name: string]: unknown;
2913
3029
  };
2914
3030
  content: {
@@ -2918,6 +3034,7 @@ interface operations {
2918
3034
  /** @description Caller lacks `entry.update`. */
2919
3035
  403: {
2920
3036
  headers: {
3037
+ "X-Request-Id": components["headers"]["RequestId"];
2921
3038
  [name: string]: unknown;
2922
3039
  };
2923
3040
  content: {
@@ -2927,6 +3044,7 @@ interface operations {
2927
3044
  /** @description Entry not found in this waitlist. */
2928
3045
  404: {
2929
3046
  headers: {
3047
+ "X-Request-Id": components["headers"]["RequestId"];
2930
3048
  [name: string]: unknown;
2931
3049
  };
2932
3050
  content: {
@@ -2955,6 +3073,7 @@ interface operations {
2955
3073
  /** @description Invite created in Auth */
2956
3074
  200: {
2957
3075
  headers: {
3076
+ "X-Request-Id": components["headers"]["RequestId"];
2958
3077
  [name: string]: unknown;
2959
3078
  };
2960
3079
  content: {
@@ -2964,6 +3083,7 @@ interface operations {
2964
3083
  /** @description No linked Auth app for this workspace */
2965
3084
  422: {
2966
3085
  headers: {
3086
+ "X-Request-Id": components["headers"]["RequestId"];
2967
3087
  [name: string]: unknown;
2968
3088
  };
2969
3089
  content: {
@@ -2994,6 +3114,7 @@ interface operations {
2994
3114
  /** @description Test entry created. */
2995
3115
  201: {
2996
3116
  headers: {
3117
+ "X-Request-Id": components["headers"]["RequestId"];
2997
3118
  [name: string]: unknown;
2998
3119
  };
2999
3120
  content: {
@@ -3003,6 +3124,7 @@ interface operations {
3003
3124
  /** @description Validation failure. */
3004
3125
  400: {
3005
3126
  headers: {
3127
+ "X-Request-Id": components["headers"]["RequestId"];
3006
3128
  [name: string]: unknown;
3007
3129
  };
3008
3130
  content: {
@@ -3012,6 +3134,7 @@ interface operations {
3012
3134
  /** @description Caller lacks `waitlist.update`, or workspace has not enabled the `waitlist` service. */
3013
3135
  403: {
3014
3136
  headers: {
3137
+ "X-Request-Id": components["headers"]["RequestId"];
3015
3138
  [name: string]: unknown;
3016
3139
  };
3017
3140
  content: {
@@ -3021,6 +3144,7 @@ interface operations {
3021
3144
  /** @description Waitlist not found in this workspace. */
3022
3145
  404: {
3023
3146
  headers: {
3147
+ "X-Request-Id": components["headers"]["RequestId"];
3024
3148
  [name: string]: unknown;
3025
3149
  };
3026
3150
  content: {
@@ -3030,6 +3154,7 @@ interface operations {
3030
3154
  /** @description Idempotency-Key reused with a different body. */
3031
3155
  409: {
3032
3156
  headers: {
3157
+ "X-Request-Id": components["headers"]["RequestId"];
3033
3158
  [name: string]: unknown;
3034
3159
  };
3035
3160
  content: {
@@ -3039,6 +3164,7 @@ interface operations {
3039
3164
  /** @description The waitlist is closed. */
3040
3165
  422: {
3041
3166
  headers: {
3167
+ "X-Request-Id": components["headers"]["RequestId"];
3042
3168
  [name: string]: unknown;
3043
3169
  };
3044
3170
  content: {
@@ -3067,6 +3193,7 @@ interface operations {
3067
3193
  /** @description Page of variants in (kind, locale, created_at) order with a pagination cursor. */
3068
3194
  200: {
3069
3195
  headers: {
3196
+ "X-Request-Id": components["headers"]["RequestId"];
3070
3197
  [name: string]: unknown;
3071
3198
  };
3072
3199
  content: {
@@ -3076,6 +3203,7 @@ interface operations {
3076
3203
  /** @description Invalid cursor. */
3077
3204
  400: {
3078
3205
  headers: {
3206
+ "X-Request-Id": components["headers"]["RequestId"];
3079
3207
  [name: string]: unknown;
3080
3208
  };
3081
3209
  content: {
@@ -3085,6 +3213,7 @@ interface operations {
3085
3213
  /** @description Waitlist not found in this workspace */
3086
3214
  404: {
3087
3215
  headers: {
3216
+ "X-Request-Id": components["headers"]["RequestId"];
3088
3217
  [name: string]: unknown;
3089
3218
  };
3090
3219
  content: {
@@ -3112,6 +3241,7 @@ interface operations {
3112
3241
  /** @description Variant created */
3113
3242
  201: {
3114
3243
  headers: {
3244
+ "X-Request-Id": components["headers"]["RequestId"];
3115
3245
  [name: string]: unknown;
3116
3246
  };
3117
3247
  content: {
@@ -3121,6 +3251,7 @@ interface operations {
3121
3251
  /** @description Validation failure */
3122
3252
  400: {
3123
3253
  headers: {
3254
+ "X-Request-Id": components["headers"]["RequestId"];
3124
3255
  [name: string]: unknown;
3125
3256
  };
3126
3257
  content: {
@@ -3130,6 +3261,7 @@ interface operations {
3130
3261
  /** @description Waitlist not found in this workspace */
3131
3262
  404: {
3132
3263
  headers: {
3264
+ "X-Request-Id": components["headers"]["RequestId"];
3133
3265
  [name: string]: unknown;
3134
3266
  };
3135
3267
  content: {
@@ -3154,6 +3286,7 @@ interface operations {
3154
3286
  /** @description Variant deleted */
3155
3287
  204: {
3156
3288
  headers: {
3289
+ "X-Request-Id": components["headers"]["RequestId"];
3157
3290
  [name: string]: unknown;
3158
3291
  };
3159
3292
  content?: never;
@@ -3161,6 +3294,7 @@ interface operations {
3161
3294
  /** @description Variant not found */
3162
3295
  404: {
3163
3296
  headers: {
3297
+ "X-Request-Id": components["headers"]["RequestId"];
3164
3298
  [name: string]: unknown;
3165
3299
  };
3166
3300
  content: {
@@ -3189,6 +3323,7 @@ interface operations {
3189
3323
  /** @description Variant updated */
3190
3324
  200: {
3191
3325
  headers: {
3326
+ "X-Request-Id": components["headers"]["RequestId"];
3192
3327
  [name: string]: unknown;
3193
3328
  };
3194
3329
  content: {
@@ -3198,6 +3333,7 @@ interface operations {
3198
3333
  /** @description Variant not found */
3199
3334
  404: {
3200
3335
  headers: {
3336
+ "X-Request-Id": components["headers"]["RequestId"];
3201
3337
  [name: string]: unknown;
3202
3338
  };
3203
3339
  content: {
@@ -3225,6 +3361,7 @@ interface operations {
3225
3361
  /** @description Page of webhooks for the workspace. */
3226
3362
  200: {
3227
3363
  headers: {
3364
+ "X-Request-Id": components["headers"]["RequestId"];
3228
3365
  [name: string]: unknown;
3229
3366
  };
3230
3367
  content: {
@@ -3234,6 +3371,7 @@ interface operations {
3234
3371
  /** @description Invalid cursor. */
3235
3372
  400: {
3236
3373
  headers: {
3374
+ "X-Request-Id": components["headers"]["RequestId"];
3237
3375
  [name: string]: unknown;
3238
3376
  };
3239
3377
  content: {
@@ -3263,6 +3401,7 @@ interface operations {
3263
3401
  /** @description Webhook created. Includes plaintext `signing_secret` exactly once. */
3264
3402
  201: {
3265
3403
  headers: {
3404
+ "X-Request-Id": components["headers"]["RequestId"];
3266
3405
  [name: string]: unknown;
3267
3406
  };
3268
3407
  content: {
@@ -3272,6 +3411,7 @@ interface operations {
3272
3411
  /** @description The workspace already has 10 webhooks. */
3273
3412
  409: {
3274
3413
  headers: {
3414
+ "X-Request-Id": components["headers"]["RequestId"];
3275
3415
  [name: string]: unknown;
3276
3416
  };
3277
3417
  content: {
@@ -3293,6 +3433,7 @@ interface operations {
3293
3433
  responses: {
3294
3434
  200: {
3295
3435
  headers: {
3436
+ "X-Request-Id": components["headers"]["RequestId"];
3296
3437
  [name: string]: unknown;
3297
3438
  };
3298
3439
  content: {
@@ -3302,6 +3443,7 @@ interface operations {
3302
3443
  /** @description The scope id in the path is malformed. */
3303
3444
  400: {
3304
3445
  headers: {
3446
+ "X-Request-Id": components["headers"]["RequestId"];
3305
3447
  [name: string]: unknown;
3306
3448
  };
3307
3449
  content: {
@@ -3311,6 +3453,7 @@ interface operations {
3311
3453
  /** @description Missing or invalid bearer token. */
3312
3454
  401: {
3313
3455
  headers: {
3456
+ "X-Request-Id": components["headers"]["RequestId"];
3314
3457
  [name: string]: unknown;
3315
3458
  };
3316
3459
  content: {
@@ -3320,6 +3463,7 @@ interface operations {
3320
3463
  /** @description Caller lacks `waitlist.webhook.read` (reads) or `waitlist.webhook.manage` (changes, Send test, replay), or Waitlist is not enabled for the workspace (`SERVICE_NOT_ENABLED`). */
3321
3464
  403: {
3322
3465
  headers: {
3466
+ "X-Request-Id": components["headers"]["RequestId"];
3323
3467
  [name: string]: unknown;
3324
3468
  };
3325
3469
  content: {
@@ -3348,6 +3492,7 @@ interface operations {
3348
3492
  responses: {
3349
3493
  201: {
3350
3494
  headers: {
3495
+ "X-Request-Id": components["headers"]["RequestId"];
3351
3496
  [name: string]: unknown;
3352
3497
  };
3353
3498
  content: {
@@ -3357,6 +3502,7 @@ interface operations {
3357
3502
  /** @description Validation failure: URL not https with a public host, or an unknown event type (`WEBHOOK_EVENT_TYPE_UNKNOWN`). */
3358
3503
  400: {
3359
3504
  headers: {
3505
+ "X-Request-Id": components["headers"]["RequestId"];
3360
3506
  [name: string]: unknown;
3361
3507
  };
3362
3508
  content: {
@@ -3366,6 +3512,7 @@ interface operations {
3366
3512
  /** @description Missing or invalid bearer token. */
3367
3513
  401: {
3368
3514
  headers: {
3515
+ "X-Request-Id": components["headers"]["RequestId"];
3369
3516
  [name: string]: unknown;
3370
3517
  };
3371
3518
  content: {
@@ -3375,6 +3522,7 @@ interface operations {
3375
3522
  /** @description Caller lacks `waitlist.webhook.read` (reads) or `waitlist.webhook.manage` (changes, Send test, replay), or Waitlist is not enabled for the workspace (`SERVICE_NOT_ENABLED`). */
3376
3523
  403: {
3377
3524
  headers: {
3525
+ "X-Request-Id": components["headers"]["RequestId"];
3378
3526
  [name: string]: unknown;
3379
3527
  };
3380
3528
  content: {
@@ -3384,6 +3532,7 @@ interface operations {
3384
3532
  /** @description Already 10 endpoints (`WEBHOOK_ENDPOINT_LIMIT`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
3385
3533
  409: {
3386
3534
  headers: {
3535
+ "X-Request-Id": components["headers"]["RequestId"];
3387
3536
  [name: string]: unknown;
3388
3537
  };
3389
3538
  content: {
@@ -3393,6 +3542,7 @@ interface operations {
3393
3542
  /** @description The URL points at a private, loopback or internal address. */
3394
3543
  422: {
3395
3544
  headers: {
3545
+ "X-Request-Id": components["headers"]["RequestId"];
3396
3546
  [name: string]: unknown;
3397
3547
  };
3398
3548
  content: {
@@ -3415,6 +3565,7 @@ interface operations {
3415
3565
  responses: {
3416
3566
  200: {
3417
3567
  headers: {
3568
+ "X-Request-Id": components["headers"]["RequestId"];
3418
3569
  [name: string]: unknown;
3419
3570
  };
3420
3571
  content: {
@@ -3424,6 +3575,7 @@ interface operations {
3424
3575
  /** @description `endpoint_id` is not a UUID. */
3425
3576
  400: {
3426
3577
  headers: {
3578
+ "X-Request-Id": components["headers"]["RequestId"];
3427
3579
  [name: string]: unknown;
3428
3580
  };
3429
3581
  content: {
@@ -3433,6 +3585,7 @@ interface operations {
3433
3585
  /** @description Missing or invalid bearer token. */
3434
3586
  401: {
3435
3587
  headers: {
3588
+ "X-Request-Id": components["headers"]["RequestId"];
3436
3589
  [name: string]: unknown;
3437
3590
  };
3438
3591
  content: {
@@ -3442,6 +3595,7 @@ interface operations {
3442
3595
  /** @description Caller lacks `waitlist.webhook.read` (reads) or `waitlist.webhook.manage` (changes, Send test, replay), or Waitlist is not enabled for the workspace (`SERVICE_NOT_ENABLED`). */
3443
3596
  403: {
3444
3597
  headers: {
3598
+ "X-Request-Id": components["headers"]["RequestId"];
3445
3599
  [name: string]: unknown;
3446
3600
  };
3447
3601
  content: {
@@ -3451,6 +3605,7 @@ interface operations {
3451
3605
  /** @description No such endpoint here (`WEBHOOK_ENDPOINT_NOT_FOUND`). */
3452
3606
  404: {
3453
3607
  headers: {
3608
+ "X-Request-Id": components["headers"]["RequestId"];
3454
3609
  [name: string]: unknown;
3455
3610
  };
3456
3611
  content: {
@@ -3474,6 +3629,7 @@ interface operations {
3474
3629
  /** @description Deleted. */
3475
3630
  204: {
3476
3631
  headers: {
3632
+ "X-Request-Id": components["headers"]["RequestId"];
3477
3633
  [name: string]: unknown;
3478
3634
  };
3479
3635
  content?: never;
@@ -3481,6 +3637,7 @@ interface operations {
3481
3637
  /** @description `endpoint_id` is not a UUID. */
3482
3638
  400: {
3483
3639
  headers: {
3640
+ "X-Request-Id": components["headers"]["RequestId"];
3484
3641
  [name: string]: unknown;
3485
3642
  };
3486
3643
  content: {
@@ -3490,6 +3647,7 @@ interface operations {
3490
3647
  /** @description Missing or invalid bearer token. */
3491
3648
  401: {
3492
3649
  headers: {
3650
+ "X-Request-Id": components["headers"]["RequestId"];
3493
3651
  [name: string]: unknown;
3494
3652
  };
3495
3653
  content: {
@@ -3499,6 +3657,7 @@ interface operations {
3499
3657
  /** @description Caller lacks `waitlist.webhook.read` (reads) or `waitlist.webhook.manage` (changes, Send test, replay), or Waitlist is not enabled for the workspace (`SERVICE_NOT_ENABLED`). */
3500
3658
  403: {
3501
3659
  headers: {
3660
+ "X-Request-Id": components["headers"]["RequestId"];
3502
3661
  [name: string]: unknown;
3503
3662
  };
3504
3663
  content: {
@@ -3508,6 +3667,7 @@ interface operations {
3508
3667
  /** @description No such endpoint here (`WEBHOOK_ENDPOINT_NOT_FOUND`). */
3509
3668
  404: {
3510
3669
  headers: {
3670
+ "X-Request-Id": components["headers"]["RequestId"];
3511
3671
  [name: string]: unknown;
3512
3672
  };
3513
3673
  content: {
@@ -3537,6 +3697,7 @@ interface operations {
3537
3697
  responses: {
3538
3698
  200: {
3539
3699
  headers: {
3700
+ "X-Request-Id": components["headers"]["RequestId"];
3540
3701
  [name: string]: unknown;
3541
3702
  };
3542
3703
  content: {
@@ -3546,6 +3707,7 @@ interface operations {
3546
3707
  /** @description Validation failure, or `endpoint_id` is not a UUID. */
3547
3708
  400: {
3548
3709
  headers: {
3710
+ "X-Request-Id": components["headers"]["RequestId"];
3549
3711
  [name: string]: unknown;
3550
3712
  };
3551
3713
  content: {
@@ -3555,6 +3717,7 @@ interface operations {
3555
3717
  /** @description Missing or invalid bearer token. */
3556
3718
  401: {
3557
3719
  headers: {
3720
+ "X-Request-Id": components["headers"]["RequestId"];
3558
3721
  [name: string]: unknown;
3559
3722
  };
3560
3723
  content: {
@@ -3564,6 +3727,7 @@ interface operations {
3564
3727
  /** @description Caller lacks `waitlist.webhook.read` (reads) or `waitlist.webhook.manage` (changes, Send test, replay), or Waitlist is not enabled for the workspace (`SERVICE_NOT_ENABLED`). */
3565
3728
  403: {
3566
3729
  headers: {
3730
+ "X-Request-Id": components["headers"]["RequestId"];
3567
3731
  [name: string]: unknown;
3568
3732
  };
3569
3733
  content: {
@@ -3573,6 +3737,7 @@ interface operations {
3573
3737
  /** @description No such endpoint here (`WEBHOOK_ENDPOINT_NOT_FOUND`). */
3574
3738
  404: {
3575
3739
  headers: {
3740
+ "X-Request-Id": components["headers"]["RequestId"];
3576
3741
  [name: string]: unknown;
3577
3742
  };
3578
3743
  content: {
@@ -3582,6 +3747,7 @@ interface operations {
3582
3747
  /** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
3583
3748
  409: {
3584
3749
  headers: {
3750
+ "X-Request-Id": components["headers"]["RequestId"];
3585
3751
  [name: string]: unknown;
3586
3752
  };
3587
3753
  content: {
@@ -3591,6 +3757,7 @@ interface operations {
3591
3757
  /** @description The new URL points at a private, loopback or internal address. */
3592
3758
  422: {
3593
3759
  headers: {
3760
+ "X-Request-Id": components["headers"]["RequestId"];
3594
3761
  [name: string]: unknown;
3595
3762
  };
3596
3763
  content: {
@@ -3620,6 +3787,7 @@ interface operations {
3620
3787
  responses: {
3621
3788
  200: {
3622
3789
  headers: {
3790
+ "X-Request-Id": components["headers"]["RequestId"];
3623
3791
  [name: string]: unknown;
3624
3792
  };
3625
3793
  content: {
@@ -3629,6 +3797,7 @@ interface operations {
3629
3797
  /** @description `grace_hours` out of range, or `endpoint_id` is not a UUID. */
3630
3798
  400: {
3631
3799
  headers: {
3800
+ "X-Request-Id": components["headers"]["RequestId"];
3632
3801
  [name: string]: unknown;
3633
3802
  };
3634
3803
  content: {
@@ -3638,6 +3807,7 @@ interface operations {
3638
3807
  /** @description Missing or invalid bearer token. */
3639
3808
  401: {
3640
3809
  headers: {
3810
+ "X-Request-Id": components["headers"]["RequestId"];
3641
3811
  [name: string]: unknown;
3642
3812
  };
3643
3813
  content: {
@@ -3647,6 +3817,7 @@ interface operations {
3647
3817
  /** @description Caller lacks `waitlist.webhook.read` (reads) or `waitlist.webhook.manage` (changes, Send test, replay), or Waitlist is not enabled for the workspace (`SERVICE_NOT_ENABLED`). */
3648
3818
  403: {
3649
3819
  headers: {
3820
+ "X-Request-Id": components["headers"]["RequestId"];
3650
3821
  [name: string]: unknown;
3651
3822
  };
3652
3823
  content: {
@@ -3656,6 +3827,7 @@ interface operations {
3656
3827
  /** @description No such endpoint here (`WEBHOOK_ENDPOINT_NOT_FOUND`). */
3657
3828
  404: {
3658
3829
  headers: {
3830
+ "X-Request-Id": components["headers"]["RequestId"];
3659
3831
  [name: string]: unknown;
3660
3832
  };
3661
3833
  content: {
@@ -3665,6 +3837,7 @@ interface operations {
3665
3837
  /** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
3666
3838
  409: {
3667
3839
  headers: {
3840
+ "X-Request-Id": components["headers"]["RequestId"];
3668
3841
  [name: string]: unknown;
3669
3842
  };
3670
3843
  content: {
@@ -3695,6 +3868,7 @@ interface operations {
3695
3868
  /** @description The attempt, successful or not. */
3696
3869
  200: {
3697
3870
  headers: {
3871
+ "X-Request-Id": components["headers"]["RequestId"];
3698
3872
  [name: string]: unknown;
3699
3873
  };
3700
3874
  content: {
@@ -3704,6 +3878,7 @@ interface operations {
3704
3878
  /** @description Unknown `event_type`, or `endpoint_id` is not a UUID. */
3705
3879
  400: {
3706
3880
  headers: {
3881
+ "X-Request-Id": components["headers"]["RequestId"];
3707
3882
  [name: string]: unknown;
3708
3883
  };
3709
3884
  content: {
@@ -3713,6 +3888,7 @@ interface operations {
3713
3888
  /** @description Missing or invalid bearer token. */
3714
3889
  401: {
3715
3890
  headers: {
3891
+ "X-Request-Id": components["headers"]["RequestId"];
3716
3892
  [name: string]: unknown;
3717
3893
  };
3718
3894
  content: {
@@ -3722,6 +3898,7 @@ interface operations {
3722
3898
  /** @description Caller lacks `waitlist.webhook.read` (reads) or `waitlist.webhook.manage` (changes, Send test, replay), or Waitlist is not enabled for the workspace (`SERVICE_NOT_ENABLED`). */
3723
3899
  403: {
3724
3900
  headers: {
3901
+ "X-Request-Id": components["headers"]["RequestId"];
3725
3902
  [name: string]: unknown;
3726
3903
  };
3727
3904
  content: {
@@ -3731,6 +3908,7 @@ interface operations {
3731
3908
  /** @description No such endpoint here (`WEBHOOK_ENDPOINT_NOT_FOUND`). */
3732
3909
  404: {
3733
3910
  headers: {
3911
+ "X-Request-Id": components["headers"]["RequestId"];
3734
3912
  [name: string]: unknown;
3735
3913
  };
3736
3914
  content: {
@@ -3740,6 +3918,7 @@ interface operations {
3740
3918
  /** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
3741
3919
  409: {
3742
3920
  headers: {
3921
+ "X-Request-Id": components["headers"]["RequestId"];
3743
3922
  [name: string]: unknown;
3744
3923
  };
3745
3924
  content: {
@@ -3761,6 +3940,7 @@ interface operations {
3761
3940
  responses: {
3762
3941
  200: {
3763
3942
  headers: {
3943
+ "X-Request-Id": components["headers"]["RequestId"];
3764
3944
  [name: string]: unknown;
3765
3945
  };
3766
3946
  content: {
@@ -3770,6 +3950,7 @@ interface operations {
3770
3950
  /** @description Missing or invalid bearer token. */
3771
3951
  401: {
3772
3952
  headers: {
3953
+ "X-Request-Id": components["headers"]["RequestId"];
3773
3954
  [name: string]: unknown;
3774
3955
  };
3775
3956
  content: {
@@ -3779,6 +3960,7 @@ interface operations {
3779
3960
  /** @description Caller lacks `waitlist.webhook.read` (reads) or `waitlist.webhook.manage` (changes, Send test, replay), or Waitlist is not enabled for the workspace (`SERVICE_NOT_ENABLED`). */
3780
3961
  403: {
3781
3962
  headers: {
3963
+ "X-Request-Id": components["headers"]["RequestId"];
3782
3964
  [name: string]: unknown;
3783
3965
  };
3784
3966
  content: {
@@ -3813,6 +3995,7 @@ interface operations {
3813
3995
  responses: {
3814
3996
  200: {
3815
3997
  headers: {
3998
+ "X-Request-Id": components["headers"]["RequestId"];
3816
3999
  [name: string]: unknown;
3817
4000
  };
3818
4001
  content: {
@@ -3822,6 +4005,7 @@ interface operations {
3822
4005
  /** @description Invalid filter value or cursor. */
3823
4006
  400: {
3824
4007
  headers: {
4008
+ "X-Request-Id": components["headers"]["RequestId"];
3825
4009
  [name: string]: unknown;
3826
4010
  };
3827
4011
  content: {
@@ -3831,6 +4015,7 @@ interface operations {
3831
4015
  /** @description Missing or invalid bearer token. */
3832
4016
  401: {
3833
4017
  headers: {
4018
+ "X-Request-Id": components["headers"]["RequestId"];
3834
4019
  [name: string]: unknown;
3835
4020
  };
3836
4021
  content: {
@@ -3840,6 +4025,7 @@ interface operations {
3840
4025
  /** @description Caller lacks `waitlist.webhook.read` (reads) or `waitlist.webhook.manage` (changes, Send test, replay), or Waitlist is not enabled for the workspace (`SERVICE_NOT_ENABLED`). */
3841
4026
  403: {
3842
4027
  headers: {
4028
+ "X-Request-Id": components["headers"]["RequestId"];
3843
4029
  [name: string]: unknown;
3844
4030
  };
3845
4031
  content: {
@@ -3863,6 +4049,7 @@ interface operations {
3863
4049
  responses: {
3864
4050
  200: {
3865
4051
  headers: {
4052
+ "X-Request-Id": components["headers"]["RequestId"];
3866
4053
  [name: string]: unknown;
3867
4054
  };
3868
4055
  content: {
@@ -3872,6 +4059,7 @@ interface operations {
3872
4059
  /** @description `event_id` is not `evt_<uuid>`. */
3873
4060
  400: {
3874
4061
  headers: {
4062
+ "X-Request-Id": components["headers"]["RequestId"];
3875
4063
  [name: string]: unknown;
3876
4064
  };
3877
4065
  content: {
@@ -3881,6 +4069,7 @@ interface operations {
3881
4069
  /** @description Missing or invalid bearer token. */
3882
4070
  401: {
3883
4071
  headers: {
4072
+ "X-Request-Id": components["headers"]["RequestId"];
3884
4073
  [name: string]: unknown;
3885
4074
  };
3886
4075
  content: {
@@ -3890,6 +4079,7 @@ interface operations {
3890
4079
  /** @description Caller lacks `waitlist.webhook.read` (reads) or `waitlist.webhook.manage` (changes, Send test, replay), or Waitlist is not enabled for the workspace (`SERVICE_NOT_ENABLED`). */
3891
4080
  403: {
3892
4081
  headers: {
4082
+ "X-Request-Id": components["headers"]["RequestId"];
3893
4083
  [name: string]: unknown;
3894
4084
  };
3895
4085
  content: {
@@ -3899,6 +4089,7 @@ interface operations {
3899
4089
  /** @description No such event here (`WEBHOOK_EVENT_NOT_FOUND`); events are kept for 30 days. */
3900
4090
  404: {
3901
4091
  headers: {
4092
+ "X-Request-Id": components["headers"]["RequestId"];
3902
4093
  [name: string]: unknown;
3903
4094
  };
3904
4095
  content: {
@@ -3928,6 +4119,7 @@ interface operations {
3928
4119
  responses: {
3929
4120
  200: {
3930
4121
  headers: {
4122
+ "X-Request-Id": components["headers"]["RequestId"];
3931
4123
  [name: string]: unknown;
3932
4124
  };
3933
4125
  content: {
@@ -3937,6 +4129,7 @@ interface operations {
3937
4129
  /** @description `event_id` is not `evt_<uuid>`, or `endpoint_id` is not a UUID. */
3938
4130
  400: {
3939
4131
  headers: {
4132
+ "X-Request-Id": components["headers"]["RequestId"];
3940
4133
  [name: string]: unknown;
3941
4134
  };
3942
4135
  content: {
@@ -3946,6 +4139,7 @@ interface operations {
3946
4139
  /** @description Missing or invalid bearer token. */
3947
4140
  401: {
3948
4141
  headers: {
4142
+ "X-Request-Id": components["headers"]["RequestId"];
3949
4143
  [name: string]: unknown;
3950
4144
  };
3951
4145
  content: {
@@ -3955,6 +4149,7 @@ interface operations {
3955
4149
  /** @description Caller lacks `waitlist.webhook.read` (reads) or `waitlist.webhook.manage` (changes, Send test, replay), or Waitlist is not enabled for the workspace (`SERVICE_NOT_ENABLED`). */
3956
4150
  403: {
3957
4151
  headers: {
4152
+ "X-Request-Id": components["headers"]["RequestId"];
3958
4153
  [name: string]: unknown;
3959
4154
  };
3960
4155
  content: {
@@ -3964,6 +4159,7 @@ interface operations {
3964
4159
  /** @description No such event here (`WEBHOOK_EVENT_NOT_FOUND`); events are kept for 30 days. Or No such endpoint here (`WEBHOOK_ENDPOINT_NOT_FOUND`). */
3965
4160
  404: {
3966
4161
  headers: {
4162
+ "X-Request-Id": components["headers"]["RequestId"];
3967
4163
  [name: string]: unknown;
3968
4164
  };
3969
4165
  content: {
@@ -3973,6 +4169,7 @@ interface operations {
3973
4169
  /** @description `endpoint_id` is switched off or does not receive this event type (`WEBHOOK_ENDPOINT_NOT_SUBSCRIBED`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
3974
4170
  409: {
3975
4171
  headers: {
4172
+ "X-Request-Id": components["headers"]["RequestId"];
3976
4173
  [name: string]: unknown;
3977
4174
  };
3978
4175
  content: {
@@ -3996,6 +4193,7 @@ interface operations {
3996
4193
  /** @description Webhook. */
3997
4194
  200: {
3998
4195
  headers: {
4196
+ "X-Request-Id": components["headers"]["RequestId"];
3999
4197
  [name: string]: unknown;
4000
4198
  };
4001
4199
  content: {
@@ -4005,6 +4203,7 @@ interface operations {
4005
4203
  /** @description `id` is not a UUID. */
4006
4204
  400: {
4007
4205
  headers: {
4206
+ "X-Request-Id": components["headers"]["RequestId"];
4008
4207
  [name: string]: unknown;
4009
4208
  };
4010
4209
  content: {
@@ -4014,6 +4213,7 @@ interface operations {
4014
4213
  /** @description Webhook not found. */
4015
4214
  404: {
4016
4215
  headers: {
4216
+ "X-Request-Id": components["headers"]["RequestId"];
4017
4217
  [name: string]: unknown;
4018
4218
  };
4019
4219
  content: {
@@ -4037,6 +4237,7 @@ interface operations {
4037
4237
  /** @description Deleted. */
4038
4238
  204: {
4039
4239
  headers: {
4240
+ "X-Request-Id": components["headers"]["RequestId"];
4040
4241
  [name: string]: unknown;
4041
4242
  };
4042
4243
  content?: never;
@@ -4044,6 +4245,7 @@ interface operations {
4044
4245
  /** @description Webhook not found. */
4045
4246
  404: {
4046
4247
  headers: {
4248
+ "X-Request-Id": components["headers"]["RequestId"];
4047
4249
  [name: string]: unknown;
4048
4250
  };
4049
4251
  content: {
@@ -4071,6 +4273,7 @@ interface operations {
4071
4273
  /** @description Updated webhook (secret masked). */
4072
4274
  200: {
4073
4275
  headers: {
4276
+ "X-Request-Id": components["headers"]["RequestId"];
4074
4277
  [name: string]: unknown;
4075
4278
  };
4076
4279
  content: {
@@ -4080,6 +4283,7 @@ interface operations {
4080
4283
  /** @description Webhook not found. */
4081
4284
  404: {
4082
4285
  headers: {
4286
+ "X-Request-Id": components["headers"]["RequestId"];
4083
4287
  [name: string]: unknown;
4084
4288
  };
4085
4289
  content: {
@@ -4110,6 +4314,7 @@ interface operations {
4110
4314
  /** @description Delivery attempts, newest first. */
4111
4315
  200: {
4112
4316
  headers: {
4317
+ "X-Request-Id": components["headers"]["RequestId"];
4113
4318
  [name: string]: unknown;
4114
4319
  };
4115
4320
  content: {
@@ -4119,6 +4324,7 @@ interface operations {
4119
4324
  /** @description Invalid cursor or unknown `status` filter. */
4120
4325
  400: {
4121
4326
  headers: {
4327
+ "X-Request-Id": components["headers"]["RequestId"];
4122
4328
  [name: string]: unknown;
4123
4329
  };
4124
4330
  content: {
@@ -4128,6 +4334,7 @@ interface operations {
4128
4334
  /** @description Webhook not found. */
4129
4335
  404: {
4130
4336
  headers: {
4337
+ "X-Request-Id": components["headers"]["RequestId"];
4131
4338
  [name: string]: unknown;
4132
4339
  };
4133
4340
  content: {
@@ -4151,6 +4358,7 @@ interface operations {
4151
4358
  /** @description Secret rotated. Includes the new plaintext secret exactly once. */
4152
4359
  201: {
4153
4360
  headers: {
4361
+ "X-Request-Id": components["headers"]["RequestId"];
4154
4362
  [name: string]: unknown;
4155
4363
  };
4156
4364
  content: {
@@ -4160,6 +4368,7 @@ interface operations {
4160
4368
  /** @description Webhook not found. */
4161
4369
  404: {
4162
4370
  headers: {
4371
+ "X-Request-Id": components["headers"]["RequestId"];
4163
4372
  [name: string]: unknown;
4164
4373
  };
4165
4374
  content: {
@@ -4187,6 +4396,7 @@ interface operations {
4187
4396
  /** @description Sent. Read the outcome from `/deliveries`. */
4188
4397
  202: {
4189
4398
  headers: {
4399
+ "X-Request-Id": components["headers"]["RequestId"];
4190
4400
  [name: string]: unknown;
4191
4401
  };
4192
4402
  content?: never;
@@ -4194,6 +4404,7 @@ interface operations {
4194
4404
  /** @description Webhook not found. */
4195
4405
  404: {
4196
4406
  headers: {
4407
+ "X-Request-Id": components["headers"]["RequestId"];
4197
4408
  [name: string]: unknown;
4198
4409
  };
4199
4410
  content: {
@@ -4203,6 +4414,7 @@ interface operations {
4203
4414
  /** @description The webhook is switched off. */
4204
4415
  422: {
4205
4416
  headers: {
4417
+ "X-Request-Id": components["headers"]["RequestId"];
4206
4418
  [name: string]: unknown;
4207
4419
  };
4208
4420
  content: {