@productcraft/waitlist 0.2.0 → 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 +234 -10
- package/dist/index.d.ts +234 -10
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -960,22 +960,62 @@ interface components {
|
|
|
960
960
|
waitlist_id: string;
|
|
961
961
|
workspace_id: string;
|
|
962
962
|
};
|
|
963
|
-
|
|
963
|
+
ErrorParamDto: {
|
|
964
964
|
/**
|
|
965
|
-
* @description
|
|
966
|
-
* @example
|
|
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
|
|
971
|
-
* @example
|
|
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[];
|
|
974
1003
|
/**
|
|
975
|
-
* @description
|
|
976
|
-
* @example
|
|
1004
|
+
* @description The request's id, same as the `X-Request-Id` response header. Quote it when contacting support.
|
|
1005
|
+
* @example req_6f1c2a9d4b7e4f0a8c3d2e1f0a9b8c7d
|
|
977
1006
|
*/
|
|
978
|
-
|
|
1007
|
+
request_id: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* @deprecated
|
|
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.
|
|
1011
|
+
* @example 404
|
|
1012
|
+
*/
|
|
1013
|
+
statusCode?: number;
|
|
1014
|
+
/**
|
|
1015
|
+
* @description HTTP status code, same as the response status.
|
|
1016
|
+
* @example 404
|
|
1017
|
+
*/
|
|
1018
|
+
status_code: number;
|
|
979
1019
|
};
|
|
980
1020
|
InviteToAppDto: {
|
|
981
1021
|
/** @description Auth app slug to invite into; defaults to the workspace Waitlist settings default (`default_heimdall_app_slug`) */
|
|
@@ -1062,8 +1102,14 @@ interface components {
|
|
|
1062
1102
|
* @example https://evil.test
|
|
1063
1103
|
*/
|
|
1064
1104
|
origin: string;
|
|
1105
|
+
/**
|
|
1106
|
+
* @deprecated
|
|
1107
|
+
* @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.
|
|
1108
|
+
* @example 403
|
|
1109
|
+
*/
|
|
1110
|
+
statusCode?: number;
|
|
1065
1111
|
/** @example 403 */
|
|
1066
|
-
|
|
1112
|
+
status_code: number;
|
|
1067
1113
|
};
|
|
1068
1114
|
PaginationDto: {
|
|
1069
1115
|
/**
|
|
@@ -1347,6 +1393,8 @@ interface components {
|
|
|
1347
1393
|
/** Format: uuid */
|
|
1348
1394
|
waitlist_id: string;
|
|
1349
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;
|
|
1350
1398
|
WaitlistListPaginationDto: {
|
|
1351
1399
|
has_more: boolean;
|
|
1352
1400
|
next_cursor: string | null;
|
|
@@ -1825,7 +1873,10 @@ interface components {
|
|
|
1825
1873
|
responses: never;
|
|
1826
1874
|
parameters: never;
|
|
1827
1875
|
requestBodies: never;
|
|
1828
|
-
headers:
|
|
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
|
+
};
|
|
1829
1880
|
pathItems: never;
|
|
1830
1881
|
}
|
|
1831
1882
|
interface operations {
|
|
@@ -1847,6 +1898,7 @@ interface operations {
|
|
|
1847
1898
|
/** @description Public waitlist info */
|
|
1848
1899
|
200: {
|
|
1849
1900
|
headers: {
|
|
1901
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
1850
1902
|
[name: string]: unknown;
|
|
1851
1903
|
};
|
|
1852
1904
|
content: {
|
|
@@ -1856,6 +1908,7 @@ interface operations {
|
|
|
1856
1908
|
/** @description Code `WAITLIST_NOT_FOUND`: no such waitlist, not active, or its workspace was deleted. The answer is the same in every case. */
|
|
1857
1909
|
404: {
|
|
1858
1910
|
headers: {
|
|
1911
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
1859
1912
|
[name: string]: unknown;
|
|
1860
1913
|
};
|
|
1861
1914
|
content: {
|
|
@@ -1883,6 +1936,7 @@ interface operations {
|
|
|
1883
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. */
|
|
1884
1937
|
201: {
|
|
1885
1938
|
headers: {
|
|
1939
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
1886
1940
|
[name: string]: unknown;
|
|
1887
1941
|
};
|
|
1888
1942
|
content: {
|
|
@@ -1892,6 +1946,7 @@ interface operations {
|
|
|
1892
1946
|
/** @description Validation or spam check failed */
|
|
1893
1947
|
400: {
|
|
1894
1948
|
headers: {
|
|
1949
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
1895
1950
|
[name: string]: unknown;
|
|
1896
1951
|
};
|
|
1897
1952
|
content: {
|
|
@@ -1901,6 +1956,7 @@ interface operations {
|
|
|
1901
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. */
|
|
1902
1957
|
403: {
|
|
1903
1958
|
headers: {
|
|
1959
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
1904
1960
|
[name: string]: unknown;
|
|
1905
1961
|
};
|
|
1906
1962
|
content: {
|
|
@@ -1910,6 +1966,7 @@ interface operations {
|
|
|
1910
1966
|
/** @description Code `WAITLIST_NOT_FOUND`: no such waitlist, or its workspace was deleted. The answer is the same in both cases. */
|
|
1911
1967
|
404: {
|
|
1912
1968
|
headers: {
|
|
1969
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
1913
1970
|
[name: string]: unknown;
|
|
1914
1971
|
};
|
|
1915
1972
|
content: {
|
|
@@ -1919,6 +1976,7 @@ interface operations {
|
|
|
1919
1976
|
/** @description Email already on this waitlist */
|
|
1920
1977
|
409: {
|
|
1921
1978
|
headers: {
|
|
1979
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
1922
1980
|
[name: string]: unknown;
|
|
1923
1981
|
};
|
|
1924
1982
|
content: {
|
|
@@ -1928,6 +1986,7 @@ interface operations {
|
|
|
1928
1986
|
/** @description Waitlist is not active or is full */
|
|
1929
1987
|
422: {
|
|
1930
1988
|
headers: {
|
|
1989
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
1931
1990
|
[name: string]: unknown;
|
|
1932
1991
|
};
|
|
1933
1992
|
content: {
|
|
@@ -1937,6 +1996,7 @@ interface operations {
|
|
|
1937
1996
|
/** @description Too many requests from this IP */
|
|
1938
1997
|
429: {
|
|
1939
1998
|
headers: {
|
|
1999
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
1940
2000
|
[name: string]: unknown;
|
|
1941
2001
|
};
|
|
1942
2002
|
content: {
|
|
@@ -1963,6 +2023,7 @@ interface operations {
|
|
|
1963
2023
|
/** @description Array of `{ position, referral_count, masked_email }` */
|
|
1964
2024
|
200: {
|
|
1965
2025
|
headers: {
|
|
2026
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
1966
2027
|
[name: string]: unknown;
|
|
1967
2028
|
};
|
|
1968
2029
|
content: {
|
|
@@ -1972,6 +2033,7 @@ interface operations {
|
|
|
1972
2033
|
/** @description Code `WAITLIST_NOT_FOUND`: no such waitlist, not active, or its workspace was deleted. The answer is the same in every case. */
|
|
1973
2034
|
404: {
|
|
1974
2035
|
headers: {
|
|
2036
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
1975
2037
|
[name: string]: unknown;
|
|
1976
2038
|
};
|
|
1977
2039
|
content: {
|
|
@@ -1998,6 +2060,7 @@ interface operations {
|
|
|
1998
2060
|
/** @description Waitlist stats. */
|
|
1999
2061
|
200: {
|
|
2000
2062
|
headers: {
|
|
2063
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2001
2064
|
[name: string]: unknown;
|
|
2002
2065
|
};
|
|
2003
2066
|
content: {
|
|
@@ -2007,6 +2070,7 @@ interface operations {
|
|
|
2007
2070
|
/** @description `window` is not one of 1d, 7d, 30d. */
|
|
2008
2071
|
400: {
|
|
2009
2072
|
headers: {
|
|
2073
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2010
2074
|
[name: string]: unknown;
|
|
2011
2075
|
};
|
|
2012
2076
|
content: {
|
|
@@ -2016,6 +2080,7 @@ interface operations {
|
|
|
2016
2080
|
/** @description Caller lacks `waitlist.read` on the workspace, or Waitlist is not enabled on it (`SERVICE_NOT_ENABLED`). */
|
|
2017
2081
|
403: {
|
|
2018
2082
|
headers: {
|
|
2083
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2019
2084
|
[name: string]: unknown;
|
|
2020
2085
|
};
|
|
2021
2086
|
content: {
|
|
@@ -2025,6 +2090,7 @@ interface operations {
|
|
|
2025
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. */
|
|
2026
2091
|
404: {
|
|
2027
2092
|
headers: {
|
|
2093
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2028
2094
|
[name: string]: unknown;
|
|
2029
2095
|
};
|
|
2030
2096
|
content: {
|
|
@@ -2047,6 +2113,7 @@ interface operations {
|
|
|
2047
2113
|
/** @description Workspace Waitlist settings with the email setup state. */
|
|
2048
2114
|
200: {
|
|
2049
2115
|
headers: {
|
|
2116
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2050
2117
|
[name: string]: unknown;
|
|
2051
2118
|
};
|
|
2052
2119
|
content: {
|
|
@@ -2056,6 +2123,7 @@ interface operations {
|
|
|
2056
2123
|
/** @description No valid session or API key. */
|
|
2057
2124
|
401: {
|
|
2058
2125
|
headers: {
|
|
2126
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2059
2127
|
[name: string]: unknown;
|
|
2060
2128
|
};
|
|
2061
2129
|
content: {
|
|
@@ -2065,6 +2133,7 @@ interface operations {
|
|
|
2065
2133
|
/** @description Caller lacks `waitlist.settings.read` on the workspace. */
|
|
2066
2134
|
403: {
|
|
2067
2135
|
headers: {
|
|
2136
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2068
2137
|
[name: string]: unknown;
|
|
2069
2138
|
};
|
|
2070
2139
|
content: {
|
|
@@ -2074,6 +2143,7 @@ interface operations {
|
|
|
2074
2143
|
/** @description Workspace does not exist or is not Waitlist-enabled. */
|
|
2075
2144
|
404: {
|
|
2076
2145
|
headers: {
|
|
2146
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2077
2147
|
[name: string]: unknown;
|
|
2078
2148
|
};
|
|
2079
2149
|
content: {
|
|
@@ -2100,6 +2170,7 @@ interface operations {
|
|
|
2100
2170
|
/** @description Updated workspace Waitlist settings with the email setup state. */
|
|
2101
2171
|
200: {
|
|
2102
2172
|
headers: {
|
|
2173
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2103
2174
|
[name: string]: unknown;
|
|
2104
2175
|
};
|
|
2105
2176
|
content: {
|
|
@@ -2109,6 +2180,7 @@ interface operations {
|
|
|
2109
2180
|
/** @description Validation failure on the patch body (per `UpdateSettingsDto`). */
|
|
2110
2181
|
400: {
|
|
2111
2182
|
headers: {
|
|
2183
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2112
2184
|
[name: string]: unknown;
|
|
2113
2185
|
};
|
|
2114
2186
|
content: {
|
|
@@ -2118,6 +2190,7 @@ interface operations {
|
|
|
2118
2190
|
/** @description No valid session or API key. */
|
|
2119
2191
|
401: {
|
|
2120
2192
|
headers: {
|
|
2193
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2121
2194
|
[name: string]: unknown;
|
|
2122
2195
|
};
|
|
2123
2196
|
content: {
|
|
@@ -2127,6 +2200,7 @@ interface operations {
|
|
|
2127
2200
|
/** @description Caller lacks `waitlist.settings.update` on the workspace. */
|
|
2128
2201
|
403: {
|
|
2129
2202
|
headers: {
|
|
2203
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2130
2204
|
[name: string]: unknown;
|
|
2131
2205
|
};
|
|
2132
2206
|
content: {
|
|
@@ -2136,6 +2210,7 @@ interface operations {
|
|
|
2136
2210
|
/** @description Workspace does not exist or is not Waitlist-enabled. */
|
|
2137
2211
|
404: {
|
|
2138
2212
|
headers: {
|
|
2213
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2139
2214
|
[name: string]: unknown;
|
|
2140
2215
|
};
|
|
2141
2216
|
content: {
|
|
@@ -2163,6 +2238,7 @@ interface operations {
|
|
|
2163
2238
|
/** @description Accepted by Mail and queued for delivery. */
|
|
2164
2239
|
202: {
|
|
2165
2240
|
headers: {
|
|
2241
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2166
2242
|
[name: string]: unknown;
|
|
2167
2243
|
};
|
|
2168
2244
|
content: {
|
|
@@ -2172,6 +2248,7 @@ interface operations {
|
|
|
2172
2248
|
/** @description Unknown `slot`, or `workspaceId` is not a UUID. */
|
|
2173
2249
|
400: {
|
|
2174
2250
|
headers: {
|
|
2251
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2175
2252
|
[name: string]: unknown;
|
|
2176
2253
|
};
|
|
2177
2254
|
content: {
|
|
@@ -2181,6 +2258,7 @@ interface operations {
|
|
|
2181
2258
|
/** @description No valid session or API key. */
|
|
2182
2259
|
401: {
|
|
2183
2260
|
headers: {
|
|
2261
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2184
2262
|
[name: string]: unknown;
|
|
2185
2263
|
};
|
|
2186
2264
|
content: {
|
|
@@ -2190,6 +2268,7 @@ interface operations {
|
|
|
2190
2268
|
/** @description Caller lacks `waitlist.settings.update`, or Mail refused the send for your role (you need Mail send access in this workspace). */
|
|
2191
2269
|
403: {
|
|
2192
2270
|
headers: {
|
|
2271
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2193
2272
|
[name: string]: unknown;
|
|
2194
2273
|
};
|
|
2195
2274
|
content: {
|
|
@@ -2199,6 +2278,7 @@ interface operations {
|
|
|
2199
2278
|
/** @description Workspace not Waitlist-enabled, or the slot's template no longer exists in Mail. */
|
|
2200
2279
|
404: {
|
|
2201
2280
|
headers: {
|
|
2281
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2202
2282
|
[name: string]: unknown;
|
|
2203
2283
|
};
|
|
2204
2284
|
content: {
|
|
@@ -2208,6 +2288,7 @@ interface operations {
|
|
|
2208
2288
|
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
2209
2289
|
409: {
|
|
2210
2290
|
headers: {
|
|
2291
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2211
2292
|
[name: string]: unknown;
|
|
2212
2293
|
};
|
|
2213
2294
|
content: {
|
|
@@ -2217,6 +2298,7 @@ interface operations {
|
|
|
2217
2298
|
/** @description `no_template`: the slot has no template. `no_sender_address`: custom sender mode with no address. */
|
|
2218
2299
|
412: {
|
|
2219
2300
|
headers: {
|
|
2301
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2220
2302
|
[name: string]: unknown;
|
|
2221
2303
|
};
|
|
2222
2304
|
content: {
|
|
@@ -2226,6 +2308,7 @@ interface operations {
|
|
|
2226
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. */
|
|
2227
2309
|
422: {
|
|
2228
2310
|
headers: {
|
|
2311
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2229
2312
|
[name: string]: unknown;
|
|
2230
2313
|
};
|
|
2231
2314
|
content: {
|
|
@@ -2235,6 +2318,7 @@ interface operations {
|
|
|
2235
2318
|
/** @description More than 10 tests by you in the last hour (`RATE_LIMITED`), or over a Mail send limit. */
|
|
2236
2319
|
429: {
|
|
2237
2320
|
headers: {
|
|
2321
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2238
2322
|
[name: string]: unknown;
|
|
2239
2323
|
};
|
|
2240
2324
|
content: {
|
|
@@ -2244,6 +2328,7 @@ interface operations {
|
|
|
2244
2328
|
/** @description `MAIL_UNREACHABLE`: Mail did not answer. */
|
|
2245
2329
|
503: {
|
|
2246
2330
|
headers: {
|
|
2331
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2247
2332
|
[name: string]: unknown;
|
|
2248
2333
|
};
|
|
2249
2334
|
content: {
|
|
@@ -2272,6 +2357,7 @@ interface operations {
|
|
|
2272
2357
|
/** @description Page of waitlists. */
|
|
2273
2358
|
200: {
|
|
2274
2359
|
headers: {
|
|
2360
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2275
2361
|
[name: string]: unknown;
|
|
2276
2362
|
};
|
|
2277
2363
|
content: {
|
|
@@ -2301,6 +2387,7 @@ interface operations {
|
|
|
2301
2387
|
/** @description Waitlist created. */
|
|
2302
2388
|
201: {
|
|
2303
2389
|
headers: {
|
|
2390
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2304
2391
|
[name: string]: unknown;
|
|
2305
2392
|
};
|
|
2306
2393
|
content: {
|
|
@@ -2310,6 +2397,7 @@ interface operations {
|
|
|
2310
2397
|
/** @description Validation failure, including an `allowed_origins` entry that is not a plain origin. */
|
|
2311
2398
|
400: {
|
|
2312
2399
|
headers: {
|
|
2400
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2313
2401
|
[name: string]: unknown;
|
|
2314
2402
|
};
|
|
2315
2403
|
content: {
|
|
@@ -2319,6 +2407,7 @@ interface operations {
|
|
|
2319
2407
|
/** @description Caller lacks `waitlist.create`, or workspace has not enabled the `waitlist` service. */
|
|
2320
2408
|
403: {
|
|
2321
2409
|
headers: {
|
|
2410
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2322
2411
|
[name: string]: unknown;
|
|
2323
2412
|
};
|
|
2324
2413
|
content: {
|
|
@@ -2328,6 +2417,7 @@ interface operations {
|
|
|
2328
2417
|
/** @description Slug already taken in this workspace. */
|
|
2329
2418
|
409: {
|
|
2330
2419
|
headers: {
|
|
2420
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2331
2421
|
[name: string]: unknown;
|
|
2332
2422
|
};
|
|
2333
2423
|
content: {
|
|
@@ -2351,6 +2441,7 @@ interface operations {
|
|
|
2351
2441
|
/** @description Waitlist row. */
|
|
2352
2442
|
200: {
|
|
2353
2443
|
headers: {
|
|
2444
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2354
2445
|
[name: string]: unknown;
|
|
2355
2446
|
};
|
|
2356
2447
|
content: {
|
|
@@ -2360,6 +2451,7 @@ interface operations {
|
|
|
2360
2451
|
/** @description Waitlist not found. */
|
|
2361
2452
|
404: {
|
|
2362
2453
|
headers: {
|
|
2454
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2363
2455
|
[name: string]: unknown;
|
|
2364
2456
|
};
|
|
2365
2457
|
content: {
|
|
@@ -2383,6 +2475,7 @@ interface operations {
|
|
|
2383
2475
|
/** @description Waitlist deleted. */
|
|
2384
2476
|
204: {
|
|
2385
2477
|
headers: {
|
|
2478
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2386
2479
|
[name: string]: unknown;
|
|
2387
2480
|
};
|
|
2388
2481
|
content?: never;
|
|
@@ -2390,6 +2483,7 @@ interface operations {
|
|
|
2390
2483
|
/** @description Caller lacks `waitlist.delete`. */
|
|
2391
2484
|
403: {
|
|
2392
2485
|
headers: {
|
|
2486
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2393
2487
|
[name: string]: unknown;
|
|
2394
2488
|
};
|
|
2395
2489
|
content: {
|
|
@@ -2399,6 +2493,7 @@ interface operations {
|
|
|
2399
2493
|
/** @description Waitlist not found. */
|
|
2400
2494
|
404: {
|
|
2401
2495
|
headers: {
|
|
2496
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2402
2497
|
[name: string]: unknown;
|
|
2403
2498
|
};
|
|
2404
2499
|
content: {
|
|
@@ -2426,6 +2521,7 @@ interface operations {
|
|
|
2426
2521
|
/** @description Waitlist updated. */
|
|
2427
2522
|
200: {
|
|
2428
2523
|
headers: {
|
|
2524
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2429
2525
|
[name: string]: unknown;
|
|
2430
2526
|
};
|
|
2431
2527
|
content: {
|
|
@@ -2435,6 +2531,7 @@ interface operations {
|
|
|
2435
2531
|
/** @description Validation failure, including an `allowed_origins` entry that is not a plain origin. */
|
|
2436
2532
|
400: {
|
|
2437
2533
|
headers: {
|
|
2534
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2438
2535
|
[name: string]: unknown;
|
|
2439
2536
|
};
|
|
2440
2537
|
content: {
|
|
@@ -2444,6 +2541,7 @@ interface operations {
|
|
|
2444
2541
|
/** @description Waitlist not found. */
|
|
2445
2542
|
404: {
|
|
2446
2543
|
headers: {
|
|
2544
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2447
2545
|
[name: string]: unknown;
|
|
2448
2546
|
};
|
|
2449
2547
|
content: {
|
|
@@ -2471,6 +2569,7 @@ interface operations {
|
|
|
2471
2569
|
/** @description Status updated. */
|
|
2472
2570
|
200: {
|
|
2473
2571
|
headers: {
|
|
2572
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2474
2573
|
[name: string]: unknown;
|
|
2475
2574
|
};
|
|
2476
2575
|
content: {
|
|
@@ -2480,6 +2579,7 @@ interface operations {
|
|
|
2480
2579
|
/** @description Invalid status transition. */
|
|
2481
2580
|
400: {
|
|
2482
2581
|
headers: {
|
|
2582
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2483
2583
|
[name: string]: unknown;
|
|
2484
2584
|
};
|
|
2485
2585
|
content: {
|
|
@@ -2489,6 +2589,7 @@ interface operations {
|
|
|
2489
2589
|
/** @description Waitlist not found. */
|
|
2490
2590
|
404: {
|
|
2491
2591
|
headers: {
|
|
2592
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2492
2593
|
[name: string]: unknown;
|
|
2493
2594
|
};
|
|
2494
2595
|
content: {
|
|
@@ -2515,6 +2616,7 @@ interface operations {
|
|
|
2515
2616
|
/** @description Aggregated analytics payload for the waitlist. */
|
|
2516
2617
|
200: {
|
|
2517
2618
|
headers: {
|
|
2619
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2518
2620
|
[name: string]: unknown;
|
|
2519
2621
|
};
|
|
2520
2622
|
content: {
|
|
@@ -2524,6 +2626,7 @@ interface operations {
|
|
|
2524
2626
|
/** @description Caller lacks `waitlist.read` on the workspace. */
|
|
2525
2627
|
403: {
|
|
2526
2628
|
headers: {
|
|
2629
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2527
2630
|
[name: string]: unknown;
|
|
2528
2631
|
};
|
|
2529
2632
|
content: {
|
|
@@ -2533,6 +2636,7 @@ interface operations {
|
|
|
2533
2636
|
/** @description Waitlist does not exist or is not in the path workspace. */
|
|
2534
2637
|
404: {
|
|
2535
2638
|
headers: {
|
|
2639
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2536
2640
|
[name: string]: unknown;
|
|
2537
2641
|
};
|
|
2538
2642
|
content: {
|
|
@@ -2563,6 +2667,7 @@ interface operations {
|
|
|
2563
2667
|
/** @description Daily timeline array, oldest first, zero-count days included. */
|
|
2564
2668
|
200: {
|
|
2565
2669
|
headers: {
|
|
2670
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2566
2671
|
[name: string]: unknown;
|
|
2567
2672
|
};
|
|
2568
2673
|
content: {
|
|
@@ -2572,6 +2677,7 @@ interface operations {
|
|
|
2572
2677
|
/** @description `since` / `until` missing, malformed, or `until <= since`. */
|
|
2573
2678
|
400: {
|
|
2574
2679
|
headers: {
|
|
2680
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2575
2681
|
[name: string]: unknown;
|
|
2576
2682
|
};
|
|
2577
2683
|
content: {
|
|
@@ -2581,6 +2687,7 @@ interface operations {
|
|
|
2581
2687
|
/** @description Caller lacks `waitlist.read` on the workspace. */
|
|
2582
2688
|
403: {
|
|
2583
2689
|
headers: {
|
|
2690
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2584
2691
|
[name: string]: unknown;
|
|
2585
2692
|
};
|
|
2586
2693
|
content: {
|
|
@@ -2590,6 +2697,7 @@ interface operations {
|
|
|
2590
2697
|
/** @description Waitlist does not exist or is not in the path workspace. */
|
|
2591
2698
|
404: {
|
|
2592
2699
|
headers: {
|
|
2700
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2593
2701
|
[name: string]: unknown;
|
|
2594
2702
|
};
|
|
2595
2703
|
content: {
|
|
@@ -2627,6 +2735,7 @@ interface operations {
|
|
|
2627
2735
|
/** @description Page of entries with pagination cursor. */
|
|
2628
2736
|
200: {
|
|
2629
2737
|
headers: {
|
|
2738
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2630
2739
|
[name: string]: unknown;
|
|
2631
2740
|
};
|
|
2632
2741
|
content: {
|
|
@@ -2636,6 +2745,7 @@ interface operations {
|
|
|
2636
2745
|
/** @description Invalid cursor, overlong `search`, malformed `since` / `until`, or `until <= since`. */
|
|
2637
2746
|
400: {
|
|
2638
2747
|
headers: {
|
|
2748
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2639
2749
|
[name: string]: unknown;
|
|
2640
2750
|
};
|
|
2641
2751
|
content: {
|
|
@@ -2645,6 +2755,7 @@ interface operations {
|
|
|
2645
2755
|
/** @description Caller lacks `entry.read`, or workspace has not enabled the `waitlist` service. */
|
|
2646
2756
|
403: {
|
|
2647
2757
|
headers: {
|
|
2758
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2648
2759
|
[name: string]: unknown;
|
|
2649
2760
|
};
|
|
2650
2761
|
content: {
|
|
@@ -2654,6 +2765,7 @@ interface operations {
|
|
|
2654
2765
|
/** @description Waitlist not found in this workspace. */
|
|
2655
2766
|
404: {
|
|
2656
2767
|
headers: {
|
|
2768
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2657
2769
|
[name: string]: unknown;
|
|
2658
2770
|
};
|
|
2659
2771
|
content: {
|
|
@@ -2681,6 +2793,7 @@ interface operations {
|
|
|
2681
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. */
|
|
2682
2794
|
200: {
|
|
2683
2795
|
headers: {
|
|
2796
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2684
2797
|
[name: string]: unknown;
|
|
2685
2798
|
};
|
|
2686
2799
|
content: {
|
|
@@ -2690,6 +2803,7 @@ interface operations {
|
|
|
2690
2803
|
/** @description Empty `ids`, more than 100 ids, or unknown action. */
|
|
2691
2804
|
400: {
|
|
2692
2805
|
headers: {
|
|
2806
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2693
2807
|
[name: string]: unknown;
|
|
2694
2808
|
};
|
|
2695
2809
|
content: {
|
|
@@ -2699,6 +2813,7 @@ interface operations {
|
|
|
2699
2813
|
/** @description Caller lacks `entry.update`. */
|
|
2700
2814
|
403: {
|
|
2701
2815
|
headers: {
|
|
2816
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2702
2817
|
[name: string]: unknown;
|
|
2703
2818
|
};
|
|
2704
2819
|
content: {
|
|
@@ -2708,6 +2823,7 @@ interface operations {
|
|
|
2708
2823
|
/** @description Waitlist not found. */
|
|
2709
2824
|
404: {
|
|
2710
2825
|
headers: {
|
|
2826
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2711
2827
|
[name: string]: unknown;
|
|
2712
2828
|
};
|
|
2713
2829
|
content: {
|
|
@@ -2734,6 +2850,7 @@ interface operations {
|
|
|
2734
2850
|
/** @description Entry count. */
|
|
2735
2851
|
200: {
|
|
2736
2852
|
headers: {
|
|
2853
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2737
2854
|
[name: string]: unknown;
|
|
2738
2855
|
};
|
|
2739
2856
|
content: {
|
|
@@ -2743,6 +2860,7 @@ interface operations {
|
|
|
2743
2860
|
/** @description Waitlist not found in this workspace. */
|
|
2744
2861
|
404: {
|
|
2745
2862
|
headers: {
|
|
2863
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2746
2864
|
[name: string]: unknown;
|
|
2747
2865
|
};
|
|
2748
2866
|
content: {
|
|
@@ -2769,6 +2887,7 @@ interface operations {
|
|
|
2769
2887
|
/** @description text/csv stream — one header row + one row per entry. Content-Disposition: attachment. */
|
|
2770
2888
|
200: {
|
|
2771
2889
|
headers: {
|
|
2890
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2772
2891
|
[name: string]: unknown;
|
|
2773
2892
|
};
|
|
2774
2893
|
content: {
|
|
@@ -2778,6 +2897,7 @@ interface operations {
|
|
|
2778
2897
|
/** @description Caller lacks `waitlist.export`. */
|
|
2779
2898
|
403: {
|
|
2780
2899
|
headers: {
|
|
2900
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2781
2901
|
[name: string]: unknown;
|
|
2782
2902
|
};
|
|
2783
2903
|
content: {
|
|
@@ -2787,6 +2907,7 @@ interface operations {
|
|
|
2787
2907
|
/** @description Waitlist not found in this workspace. */
|
|
2788
2908
|
404: {
|
|
2789
2909
|
headers: {
|
|
2910
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2790
2911
|
[name: string]: unknown;
|
|
2791
2912
|
};
|
|
2792
2913
|
content: {
|
|
@@ -2811,6 +2932,7 @@ interface operations {
|
|
|
2811
2932
|
/** @description Entry row. */
|
|
2812
2933
|
200: {
|
|
2813
2934
|
headers: {
|
|
2935
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2814
2936
|
[name: string]: unknown;
|
|
2815
2937
|
};
|
|
2816
2938
|
content: {
|
|
@@ -2820,6 +2942,7 @@ interface operations {
|
|
|
2820
2942
|
/** @description Entry not found. */
|
|
2821
2943
|
404: {
|
|
2822
2944
|
headers: {
|
|
2945
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2823
2946
|
[name: string]: unknown;
|
|
2824
2947
|
};
|
|
2825
2948
|
content: {
|
|
@@ -2844,6 +2967,7 @@ interface operations {
|
|
|
2844
2967
|
/** @description Entry deleted. */
|
|
2845
2968
|
204: {
|
|
2846
2969
|
headers: {
|
|
2970
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2847
2971
|
[name: string]: unknown;
|
|
2848
2972
|
};
|
|
2849
2973
|
content?: never;
|
|
@@ -2851,6 +2975,7 @@ interface operations {
|
|
|
2851
2975
|
/** @description Caller lacks `entry.update`. */
|
|
2852
2976
|
403: {
|
|
2853
2977
|
headers: {
|
|
2978
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2854
2979
|
[name: string]: unknown;
|
|
2855
2980
|
};
|
|
2856
2981
|
content: {
|
|
@@ -2860,6 +2985,7 @@ interface operations {
|
|
|
2860
2985
|
/** @description Entry not found. */
|
|
2861
2986
|
404: {
|
|
2862
2987
|
headers: {
|
|
2988
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2863
2989
|
[name: string]: unknown;
|
|
2864
2990
|
};
|
|
2865
2991
|
content: {
|
|
@@ -2888,6 +3014,7 @@ interface operations {
|
|
|
2888
3014
|
/** @description Entry status updated. */
|
|
2889
3015
|
200: {
|
|
2890
3016
|
headers: {
|
|
3017
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2891
3018
|
[name: string]: unknown;
|
|
2892
3019
|
};
|
|
2893
3020
|
content: {
|
|
@@ -2897,6 +3024,7 @@ interface operations {
|
|
|
2897
3024
|
/** @description Invalid status transition. */
|
|
2898
3025
|
400: {
|
|
2899
3026
|
headers: {
|
|
3027
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2900
3028
|
[name: string]: unknown;
|
|
2901
3029
|
};
|
|
2902
3030
|
content: {
|
|
@@ -2906,6 +3034,7 @@ interface operations {
|
|
|
2906
3034
|
/** @description Caller lacks `entry.update`. */
|
|
2907
3035
|
403: {
|
|
2908
3036
|
headers: {
|
|
3037
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2909
3038
|
[name: string]: unknown;
|
|
2910
3039
|
};
|
|
2911
3040
|
content: {
|
|
@@ -2915,6 +3044,7 @@ interface operations {
|
|
|
2915
3044
|
/** @description Entry not found in this waitlist. */
|
|
2916
3045
|
404: {
|
|
2917
3046
|
headers: {
|
|
3047
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2918
3048
|
[name: string]: unknown;
|
|
2919
3049
|
};
|
|
2920
3050
|
content: {
|
|
@@ -2943,6 +3073,7 @@ interface operations {
|
|
|
2943
3073
|
/** @description Invite created in Auth */
|
|
2944
3074
|
200: {
|
|
2945
3075
|
headers: {
|
|
3076
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2946
3077
|
[name: string]: unknown;
|
|
2947
3078
|
};
|
|
2948
3079
|
content: {
|
|
@@ -2952,6 +3083,7 @@ interface operations {
|
|
|
2952
3083
|
/** @description No linked Auth app for this workspace */
|
|
2953
3084
|
422: {
|
|
2954
3085
|
headers: {
|
|
3086
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2955
3087
|
[name: string]: unknown;
|
|
2956
3088
|
};
|
|
2957
3089
|
content: {
|
|
@@ -2982,6 +3114,7 @@ interface operations {
|
|
|
2982
3114
|
/** @description Test entry created. */
|
|
2983
3115
|
201: {
|
|
2984
3116
|
headers: {
|
|
3117
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2985
3118
|
[name: string]: unknown;
|
|
2986
3119
|
};
|
|
2987
3120
|
content: {
|
|
@@ -2991,6 +3124,7 @@ interface operations {
|
|
|
2991
3124
|
/** @description Validation failure. */
|
|
2992
3125
|
400: {
|
|
2993
3126
|
headers: {
|
|
3127
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
2994
3128
|
[name: string]: unknown;
|
|
2995
3129
|
};
|
|
2996
3130
|
content: {
|
|
@@ -3000,6 +3134,7 @@ interface operations {
|
|
|
3000
3134
|
/** @description Caller lacks `waitlist.update`, or workspace has not enabled the `waitlist` service. */
|
|
3001
3135
|
403: {
|
|
3002
3136
|
headers: {
|
|
3137
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3003
3138
|
[name: string]: unknown;
|
|
3004
3139
|
};
|
|
3005
3140
|
content: {
|
|
@@ -3009,6 +3144,7 @@ interface operations {
|
|
|
3009
3144
|
/** @description Waitlist not found in this workspace. */
|
|
3010
3145
|
404: {
|
|
3011
3146
|
headers: {
|
|
3147
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3012
3148
|
[name: string]: unknown;
|
|
3013
3149
|
};
|
|
3014
3150
|
content: {
|
|
@@ -3018,6 +3154,7 @@ interface operations {
|
|
|
3018
3154
|
/** @description Idempotency-Key reused with a different body. */
|
|
3019
3155
|
409: {
|
|
3020
3156
|
headers: {
|
|
3157
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3021
3158
|
[name: string]: unknown;
|
|
3022
3159
|
};
|
|
3023
3160
|
content: {
|
|
@@ -3027,6 +3164,7 @@ interface operations {
|
|
|
3027
3164
|
/** @description The waitlist is closed. */
|
|
3028
3165
|
422: {
|
|
3029
3166
|
headers: {
|
|
3167
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3030
3168
|
[name: string]: unknown;
|
|
3031
3169
|
};
|
|
3032
3170
|
content: {
|
|
@@ -3055,6 +3193,7 @@ interface operations {
|
|
|
3055
3193
|
/** @description Page of variants in (kind, locale, created_at) order with a pagination cursor. */
|
|
3056
3194
|
200: {
|
|
3057
3195
|
headers: {
|
|
3196
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3058
3197
|
[name: string]: unknown;
|
|
3059
3198
|
};
|
|
3060
3199
|
content: {
|
|
@@ -3064,6 +3203,7 @@ interface operations {
|
|
|
3064
3203
|
/** @description Invalid cursor. */
|
|
3065
3204
|
400: {
|
|
3066
3205
|
headers: {
|
|
3206
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3067
3207
|
[name: string]: unknown;
|
|
3068
3208
|
};
|
|
3069
3209
|
content: {
|
|
@@ -3073,6 +3213,7 @@ interface operations {
|
|
|
3073
3213
|
/** @description Waitlist not found in this workspace */
|
|
3074
3214
|
404: {
|
|
3075
3215
|
headers: {
|
|
3216
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3076
3217
|
[name: string]: unknown;
|
|
3077
3218
|
};
|
|
3078
3219
|
content: {
|
|
@@ -3100,6 +3241,7 @@ interface operations {
|
|
|
3100
3241
|
/** @description Variant created */
|
|
3101
3242
|
201: {
|
|
3102
3243
|
headers: {
|
|
3244
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3103
3245
|
[name: string]: unknown;
|
|
3104
3246
|
};
|
|
3105
3247
|
content: {
|
|
@@ -3109,6 +3251,7 @@ interface operations {
|
|
|
3109
3251
|
/** @description Validation failure */
|
|
3110
3252
|
400: {
|
|
3111
3253
|
headers: {
|
|
3254
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3112
3255
|
[name: string]: unknown;
|
|
3113
3256
|
};
|
|
3114
3257
|
content: {
|
|
@@ -3118,6 +3261,7 @@ interface operations {
|
|
|
3118
3261
|
/** @description Waitlist not found in this workspace */
|
|
3119
3262
|
404: {
|
|
3120
3263
|
headers: {
|
|
3264
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3121
3265
|
[name: string]: unknown;
|
|
3122
3266
|
};
|
|
3123
3267
|
content: {
|
|
@@ -3142,6 +3286,7 @@ interface operations {
|
|
|
3142
3286
|
/** @description Variant deleted */
|
|
3143
3287
|
204: {
|
|
3144
3288
|
headers: {
|
|
3289
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3145
3290
|
[name: string]: unknown;
|
|
3146
3291
|
};
|
|
3147
3292
|
content?: never;
|
|
@@ -3149,6 +3294,7 @@ interface operations {
|
|
|
3149
3294
|
/** @description Variant not found */
|
|
3150
3295
|
404: {
|
|
3151
3296
|
headers: {
|
|
3297
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3152
3298
|
[name: string]: unknown;
|
|
3153
3299
|
};
|
|
3154
3300
|
content: {
|
|
@@ -3177,6 +3323,7 @@ interface operations {
|
|
|
3177
3323
|
/** @description Variant updated */
|
|
3178
3324
|
200: {
|
|
3179
3325
|
headers: {
|
|
3326
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3180
3327
|
[name: string]: unknown;
|
|
3181
3328
|
};
|
|
3182
3329
|
content: {
|
|
@@ -3186,6 +3333,7 @@ interface operations {
|
|
|
3186
3333
|
/** @description Variant not found */
|
|
3187
3334
|
404: {
|
|
3188
3335
|
headers: {
|
|
3336
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3189
3337
|
[name: string]: unknown;
|
|
3190
3338
|
};
|
|
3191
3339
|
content: {
|
|
@@ -3213,6 +3361,7 @@ interface operations {
|
|
|
3213
3361
|
/** @description Page of webhooks for the workspace. */
|
|
3214
3362
|
200: {
|
|
3215
3363
|
headers: {
|
|
3364
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3216
3365
|
[name: string]: unknown;
|
|
3217
3366
|
};
|
|
3218
3367
|
content: {
|
|
@@ -3222,6 +3371,7 @@ interface operations {
|
|
|
3222
3371
|
/** @description Invalid cursor. */
|
|
3223
3372
|
400: {
|
|
3224
3373
|
headers: {
|
|
3374
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3225
3375
|
[name: string]: unknown;
|
|
3226
3376
|
};
|
|
3227
3377
|
content: {
|
|
@@ -3251,6 +3401,7 @@ interface operations {
|
|
|
3251
3401
|
/** @description Webhook created. Includes plaintext `signing_secret` exactly once. */
|
|
3252
3402
|
201: {
|
|
3253
3403
|
headers: {
|
|
3404
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3254
3405
|
[name: string]: unknown;
|
|
3255
3406
|
};
|
|
3256
3407
|
content: {
|
|
@@ -3260,6 +3411,7 @@ interface operations {
|
|
|
3260
3411
|
/** @description The workspace already has 10 webhooks. */
|
|
3261
3412
|
409: {
|
|
3262
3413
|
headers: {
|
|
3414
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3263
3415
|
[name: string]: unknown;
|
|
3264
3416
|
};
|
|
3265
3417
|
content: {
|
|
@@ -3281,6 +3433,7 @@ interface operations {
|
|
|
3281
3433
|
responses: {
|
|
3282
3434
|
200: {
|
|
3283
3435
|
headers: {
|
|
3436
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3284
3437
|
[name: string]: unknown;
|
|
3285
3438
|
};
|
|
3286
3439
|
content: {
|
|
@@ -3290,6 +3443,7 @@ interface operations {
|
|
|
3290
3443
|
/** @description The scope id in the path is malformed. */
|
|
3291
3444
|
400: {
|
|
3292
3445
|
headers: {
|
|
3446
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3293
3447
|
[name: string]: unknown;
|
|
3294
3448
|
};
|
|
3295
3449
|
content: {
|
|
@@ -3299,6 +3453,7 @@ interface operations {
|
|
|
3299
3453
|
/** @description Missing or invalid bearer token. */
|
|
3300
3454
|
401: {
|
|
3301
3455
|
headers: {
|
|
3456
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3302
3457
|
[name: string]: unknown;
|
|
3303
3458
|
};
|
|
3304
3459
|
content: {
|
|
@@ -3308,6 +3463,7 @@ interface operations {
|
|
|
3308
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`). */
|
|
3309
3464
|
403: {
|
|
3310
3465
|
headers: {
|
|
3466
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3311
3467
|
[name: string]: unknown;
|
|
3312
3468
|
};
|
|
3313
3469
|
content: {
|
|
@@ -3336,6 +3492,7 @@ interface operations {
|
|
|
3336
3492
|
responses: {
|
|
3337
3493
|
201: {
|
|
3338
3494
|
headers: {
|
|
3495
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3339
3496
|
[name: string]: unknown;
|
|
3340
3497
|
};
|
|
3341
3498
|
content: {
|
|
@@ -3345,6 +3502,7 @@ interface operations {
|
|
|
3345
3502
|
/** @description Validation failure: URL not https with a public host, or an unknown event type (`WEBHOOK_EVENT_TYPE_UNKNOWN`). */
|
|
3346
3503
|
400: {
|
|
3347
3504
|
headers: {
|
|
3505
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3348
3506
|
[name: string]: unknown;
|
|
3349
3507
|
};
|
|
3350
3508
|
content: {
|
|
@@ -3354,6 +3512,7 @@ interface operations {
|
|
|
3354
3512
|
/** @description Missing or invalid bearer token. */
|
|
3355
3513
|
401: {
|
|
3356
3514
|
headers: {
|
|
3515
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3357
3516
|
[name: string]: unknown;
|
|
3358
3517
|
};
|
|
3359
3518
|
content: {
|
|
@@ -3363,6 +3522,7 @@ interface operations {
|
|
|
3363
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`). */
|
|
3364
3523
|
403: {
|
|
3365
3524
|
headers: {
|
|
3525
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3366
3526
|
[name: string]: unknown;
|
|
3367
3527
|
};
|
|
3368
3528
|
content: {
|
|
@@ -3372,6 +3532,7 @@ interface operations {
|
|
|
3372
3532
|
/** @description Already 10 endpoints (`WEBHOOK_ENDPOINT_LIMIT`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
3373
3533
|
409: {
|
|
3374
3534
|
headers: {
|
|
3535
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3375
3536
|
[name: string]: unknown;
|
|
3376
3537
|
};
|
|
3377
3538
|
content: {
|
|
@@ -3381,6 +3542,7 @@ interface operations {
|
|
|
3381
3542
|
/** @description The URL points at a private, loopback or internal address. */
|
|
3382
3543
|
422: {
|
|
3383
3544
|
headers: {
|
|
3545
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3384
3546
|
[name: string]: unknown;
|
|
3385
3547
|
};
|
|
3386
3548
|
content: {
|
|
@@ -3403,6 +3565,7 @@ interface operations {
|
|
|
3403
3565
|
responses: {
|
|
3404
3566
|
200: {
|
|
3405
3567
|
headers: {
|
|
3568
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3406
3569
|
[name: string]: unknown;
|
|
3407
3570
|
};
|
|
3408
3571
|
content: {
|
|
@@ -3412,6 +3575,7 @@ interface operations {
|
|
|
3412
3575
|
/** @description `endpoint_id` is not a UUID. */
|
|
3413
3576
|
400: {
|
|
3414
3577
|
headers: {
|
|
3578
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3415
3579
|
[name: string]: unknown;
|
|
3416
3580
|
};
|
|
3417
3581
|
content: {
|
|
@@ -3421,6 +3585,7 @@ interface operations {
|
|
|
3421
3585
|
/** @description Missing or invalid bearer token. */
|
|
3422
3586
|
401: {
|
|
3423
3587
|
headers: {
|
|
3588
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3424
3589
|
[name: string]: unknown;
|
|
3425
3590
|
};
|
|
3426
3591
|
content: {
|
|
@@ -3430,6 +3595,7 @@ interface operations {
|
|
|
3430
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`). */
|
|
3431
3596
|
403: {
|
|
3432
3597
|
headers: {
|
|
3598
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3433
3599
|
[name: string]: unknown;
|
|
3434
3600
|
};
|
|
3435
3601
|
content: {
|
|
@@ -3439,6 +3605,7 @@ interface operations {
|
|
|
3439
3605
|
/** @description No such endpoint here (`WEBHOOK_ENDPOINT_NOT_FOUND`). */
|
|
3440
3606
|
404: {
|
|
3441
3607
|
headers: {
|
|
3608
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3442
3609
|
[name: string]: unknown;
|
|
3443
3610
|
};
|
|
3444
3611
|
content: {
|
|
@@ -3462,6 +3629,7 @@ interface operations {
|
|
|
3462
3629
|
/** @description Deleted. */
|
|
3463
3630
|
204: {
|
|
3464
3631
|
headers: {
|
|
3632
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3465
3633
|
[name: string]: unknown;
|
|
3466
3634
|
};
|
|
3467
3635
|
content?: never;
|
|
@@ -3469,6 +3637,7 @@ interface operations {
|
|
|
3469
3637
|
/** @description `endpoint_id` is not a UUID. */
|
|
3470
3638
|
400: {
|
|
3471
3639
|
headers: {
|
|
3640
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3472
3641
|
[name: string]: unknown;
|
|
3473
3642
|
};
|
|
3474
3643
|
content: {
|
|
@@ -3478,6 +3647,7 @@ interface operations {
|
|
|
3478
3647
|
/** @description Missing or invalid bearer token. */
|
|
3479
3648
|
401: {
|
|
3480
3649
|
headers: {
|
|
3650
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3481
3651
|
[name: string]: unknown;
|
|
3482
3652
|
};
|
|
3483
3653
|
content: {
|
|
@@ -3487,6 +3657,7 @@ interface operations {
|
|
|
3487
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`). */
|
|
3488
3658
|
403: {
|
|
3489
3659
|
headers: {
|
|
3660
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3490
3661
|
[name: string]: unknown;
|
|
3491
3662
|
};
|
|
3492
3663
|
content: {
|
|
@@ -3496,6 +3667,7 @@ interface operations {
|
|
|
3496
3667
|
/** @description No such endpoint here (`WEBHOOK_ENDPOINT_NOT_FOUND`). */
|
|
3497
3668
|
404: {
|
|
3498
3669
|
headers: {
|
|
3670
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3499
3671
|
[name: string]: unknown;
|
|
3500
3672
|
};
|
|
3501
3673
|
content: {
|
|
@@ -3525,6 +3697,7 @@ interface operations {
|
|
|
3525
3697
|
responses: {
|
|
3526
3698
|
200: {
|
|
3527
3699
|
headers: {
|
|
3700
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3528
3701
|
[name: string]: unknown;
|
|
3529
3702
|
};
|
|
3530
3703
|
content: {
|
|
@@ -3534,6 +3707,7 @@ interface operations {
|
|
|
3534
3707
|
/** @description Validation failure, or `endpoint_id` is not a UUID. */
|
|
3535
3708
|
400: {
|
|
3536
3709
|
headers: {
|
|
3710
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3537
3711
|
[name: string]: unknown;
|
|
3538
3712
|
};
|
|
3539
3713
|
content: {
|
|
@@ -3543,6 +3717,7 @@ interface operations {
|
|
|
3543
3717
|
/** @description Missing or invalid bearer token. */
|
|
3544
3718
|
401: {
|
|
3545
3719
|
headers: {
|
|
3720
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3546
3721
|
[name: string]: unknown;
|
|
3547
3722
|
};
|
|
3548
3723
|
content: {
|
|
@@ -3552,6 +3727,7 @@ interface operations {
|
|
|
3552
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`). */
|
|
3553
3728
|
403: {
|
|
3554
3729
|
headers: {
|
|
3730
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3555
3731
|
[name: string]: unknown;
|
|
3556
3732
|
};
|
|
3557
3733
|
content: {
|
|
@@ -3561,6 +3737,7 @@ interface operations {
|
|
|
3561
3737
|
/** @description No such endpoint here (`WEBHOOK_ENDPOINT_NOT_FOUND`). */
|
|
3562
3738
|
404: {
|
|
3563
3739
|
headers: {
|
|
3740
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3564
3741
|
[name: string]: unknown;
|
|
3565
3742
|
};
|
|
3566
3743
|
content: {
|
|
@@ -3570,6 +3747,7 @@ interface operations {
|
|
|
3570
3747
|
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
3571
3748
|
409: {
|
|
3572
3749
|
headers: {
|
|
3750
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3573
3751
|
[name: string]: unknown;
|
|
3574
3752
|
};
|
|
3575
3753
|
content: {
|
|
@@ -3579,6 +3757,7 @@ interface operations {
|
|
|
3579
3757
|
/** @description The new URL points at a private, loopback or internal address. */
|
|
3580
3758
|
422: {
|
|
3581
3759
|
headers: {
|
|
3760
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3582
3761
|
[name: string]: unknown;
|
|
3583
3762
|
};
|
|
3584
3763
|
content: {
|
|
@@ -3608,6 +3787,7 @@ interface operations {
|
|
|
3608
3787
|
responses: {
|
|
3609
3788
|
200: {
|
|
3610
3789
|
headers: {
|
|
3790
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3611
3791
|
[name: string]: unknown;
|
|
3612
3792
|
};
|
|
3613
3793
|
content: {
|
|
@@ -3617,6 +3797,7 @@ interface operations {
|
|
|
3617
3797
|
/** @description `grace_hours` out of range, or `endpoint_id` is not a UUID. */
|
|
3618
3798
|
400: {
|
|
3619
3799
|
headers: {
|
|
3800
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3620
3801
|
[name: string]: unknown;
|
|
3621
3802
|
};
|
|
3622
3803
|
content: {
|
|
@@ -3626,6 +3807,7 @@ interface operations {
|
|
|
3626
3807
|
/** @description Missing or invalid bearer token. */
|
|
3627
3808
|
401: {
|
|
3628
3809
|
headers: {
|
|
3810
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3629
3811
|
[name: string]: unknown;
|
|
3630
3812
|
};
|
|
3631
3813
|
content: {
|
|
@@ -3635,6 +3817,7 @@ interface operations {
|
|
|
3635
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`). */
|
|
3636
3818
|
403: {
|
|
3637
3819
|
headers: {
|
|
3820
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3638
3821
|
[name: string]: unknown;
|
|
3639
3822
|
};
|
|
3640
3823
|
content: {
|
|
@@ -3644,6 +3827,7 @@ interface operations {
|
|
|
3644
3827
|
/** @description No such endpoint here (`WEBHOOK_ENDPOINT_NOT_FOUND`). */
|
|
3645
3828
|
404: {
|
|
3646
3829
|
headers: {
|
|
3830
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3647
3831
|
[name: string]: unknown;
|
|
3648
3832
|
};
|
|
3649
3833
|
content: {
|
|
@@ -3653,6 +3837,7 @@ interface operations {
|
|
|
3653
3837
|
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
3654
3838
|
409: {
|
|
3655
3839
|
headers: {
|
|
3840
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3656
3841
|
[name: string]: unknown;
|
|
3657
3842
|
};
|
|
3658
3843
|
content: {
|
|
@@ -3683,6 +3868,7 @@ interface operations {
|
|
|
3683
3868
|
/** @description The attempt, successful or not. */
|
|
3684
3869
|
200: {
|
|
3685
3870
|
headers: {
|
|
3871
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3686
3872
|
[name: string]: unknown;
|
|
3687
3873
|
};
|
|
3688
3874
|
content: {
|
|
@@ -3692,6 +3878,7 @@ interface operations {
|
|
|
3692
3878
|
/** @description Unknown `event_type`, or `endpoint_id` is not a UUID. */
|
|
3693
3879
|
400: {
|
|
3694
3880
|
headers: {
|
|
3881
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3695
3882
|
[name: string]: unknown;
|
|
3696
3883
|
};
|
|
3697
3884
|
content: {
|
|
@@ -3701,6 +3888,7 @@ interface operations {
|
|
|
3701
3888
|
/** @description Missing or invalid bearer token. */
|
|
3702
3889
|
401: {
|
|
3703
3890
|
headers: {
|
|
3891
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3704
3892
|
[name: string]: unknown;
|
|
3705
3893
|
};
|
|
3706
3894
|
content: {
|
|
@@ -3710,6 +3898,7 @@ interface operations {
|
|
|
3710
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`). */
|
|
3711
3899
|
403: {
|
|
3712
3900
|
headers: {
|
|
3901
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3713
3902
|
[name: string]: unknown;
|
|
3714
3903
|
};
|
|
3715
3904
|
content: {
|
|
@@ -3719,6 +3908,7 @@ interface operations {
|
|
|
3719
3908
|
/** @description No such endpoint here (`WEBHOOK_ENDPOINT_NOT_FOUND`). */
|
|
3720
3909
|
404: {
|
|
3721
3910
|
headers: {
|
|
3911
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3722
3912
|
[name: string]: unknown;
|
|
3723
3913
|
};
|
|
3724
3914
|
content: {
|
|
@@ -3728,6 +3918,7 @@ interface operations {
|
|
|
3728
3918
|
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
3729
3919
|
409: {
|
|
3730
3920
|
headers: {
|
|
3921
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3731
3922
|
[name: string]: unknown;
|
|
3732
3923
|
};
|
|
3733
3924
|
content: {
|
|
@@ -3749,6 +3940,7 @@ interface operations {
|
|
|
3749
3940
|
responses: {
|
|
3750
3941
|
200: {
|
|
3751
3942
|
headers: {
|
|
3943
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3752
3944
|
[name: string]: unknown;
|
|
3753
3945
|
};
|
|
3754
3946
|
content: {
|
|
@@ -3758,6 +3950,7 @@ interface operations {
|
|
|
3758
3950
|
/** @description Missing or invalid bearer token. */
|
|
3759
3951
|
401: {
|
|
3760
3952
|
headers: {
|
|
3953
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3761
3954
|
[name: string]: unknown;
|
|
3762
3955
|
};
|
|
3763
3956
|
content: {
|
|
@@ -3767,6 +3960,7 @@ interface operations {
|
|
|
3767
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`). */
|
|
3768
3961
|
403: {
|
|
3769
3962
|
headers: {
|
|
3963
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3770
3964
|
[name: string]: unknown;
|
|
3771
3965
|
};
|
|
3772
3966
|
content: {
|
|
@@ -3801,6 +3995,7 @@ interface operations {
|
|
|
3801
3995
|
responses: {
|
|
3802
3996
|
200: {
|
|
3803
3997
|
headers: {
|
|
3998
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3804
3999
|
[name: string]: unknown;
|
|
3805
4000
|
};
|
|
3806
4001
|
content: {
|
|
@@ -3810,6 +4005,7 @@ interface operations {
|
|
|
3810
4005
|
/** @description Invalid filter value or cursor. */
|
|
3811
4006
|
400: {
|
|
3812
4007
|
headers: {
|
|
4008
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3813
4009
|
[name: string]: unknown;
|
|
3814
4010
|
};
|
|
3815
4011
|
content: {
|
|
@@ -3819,6 +4015,7 @@ interface operations {
|
|
|
3819
4015
|
/** @description Missing or invalid bearer token. */
|
|
3820
4016
|
401: {
|
|
3821
4017
|
headers: {
|
|
4018
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3822
4019
|
[name: string]: unknown;
|
|
3823
4020
|
};
|
|
3824
4021
|
content: {
|
|
@@ -3828,6 +4025,7 @@ interface operations {
|
|
|
3828
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`). */
|
|
3829
4026
|
403: {
|
|
3830
4027
|
headers: {
|
|
4028
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3831
4029
|
[name: string]: unknown;
|
|
3832
4030
|
};
|
|
3833
4031
|
content: {
|
|
@@ -3851,6 +4049,7 @@ interface operations {
|
|
|
3851
4049
|
responses: {
|
|
3852
4050
|
200: {
|
|
3853
4051
|
headers: {
|
|
4052
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3854
4053
|
[name: string]: unknown;
|
|
3855
4054
|
};
|
|
3856
4055
|
content: {
|
|
@@ -3860,6 +4059,7 @@ interface operations {
|
|
|
3860
4059
|
/** @description `event_id` is not `evt_<uuid>`. */
|
|
3861
4060
|
400: {
|
|
3862
4061
|
headers: {
|
|
4062
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3863
4063
|
[name: string]: unknown;
|
|
3864
4064
|
};
|
|
3865
4065
|
content: {
|
|
@@ -3869,6 +4069,7 @@ interface operations {
|
|
|
3869
4069
|
/** @description Missing or invalid bearer token. */
|
|
3870
4070
|
401: {
|
|
3871
4071
|
headers: {
|
|
4072
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3872
4073
|
[name: string]: unknown;
|
|
3873
4074
|
};
|
|
3874
4075
|
content: {
|
|
@@ -3878,6 +4079,7 @@ interface operations {
|
|
|
3878
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`). */
|
|
3879
4080
|
403: {
|
|
3880
4081
|
headers: {
|
|
4082
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3881
4083
|
[name: string]: unknown;
|
|
3882
4084
|
};
|
|
3883
4085
|
content: {
|
|
@@ -3887,6 +4089,7 @@ interface operations {
|
|
|
3887
4089
|
/** @description No such event here (`WEBHOOK_EVENT_NOT_FOUND`); events are kept for 30 days. */
|
|
3888
4090
|
404: {
|
|
3889
4091
|
headers: {
|
|
4092
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3890
4093
|
[name: string]: unknown;
|
|
3891
4094
|
};
|
|
3892
4095
|
content: {
|
|
@@ -3916,6 +4119,7 @@ interface operations {
|
|
|
3916
4119
|
responses: {
|
|
3917
4120
|
200: {
|
|
3918
4121
|
headers: {
|
|
4122
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3919
4123
|
[name: string]: unknown;
|
|
3920
4124
|
};
|
|
3921
4125
|
content: {
|
|
@@ -3925,6 +4129,7 @@ interface operations {
|
|
|
3925
4129
|
/** @description `event_id` is not `evt_<uuid>`, or `endpoint_id` is not a UUID. */
|
|
3926
4130
|
400: {
|
|
3927
4131
|
headers: {
|
|
4132
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3928
4133
|
[name: string]: unknown;
|
|
3929
4134
|
};
|
|
3930
4135
|
content: {
|
|
@@ -3934,6 +4139,7 @@ interface operations {
|
|
|
3934
4139
|
/** @description Missing or invalid bearer token. */
|
|
3935
4140
|
401: {
|
|
3936
4141
|
headers: {
|
|
4142
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3937
4143
|
[name: string]: unknown;
|
|
3938
4144
|
};
|
|
3939
4145
|
content: {
|
|
@@ -3943,6 +4149,7 @@ interface operations {
|
|
|
3943
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`). */
|
|
3944
4150
|
403: {
|
|
3945
4151
|
headers: {
|
|
4152
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3946
4153
|
[name: string]: unknown;
|
|
3947
4154
|
};
|
|
3948
4155
|
content: {
|
|
@@ -3952,6 +4159,7 @@ interface operations {
|
|
|
3952
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`). */
|
|
3953
4160
|
404: {
|
|
3954
4161
|
headers: {
|
|
4162
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3955
4163
|
[name: string]: unknown;
|
|
3956
4164
|
};
|
|
3957
4165
|
content: {
|
|
@@ -3961,6 +4169,7 @@ interface operations {
|
|
|
3961
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`). */
|
|
3962
4170
|
409: {
|
|
3963
4171
|
headers: {
|
|
4172
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3964
4173
|
[name: string]: unknown;
|
|
3965
4174
|
};
|
|
3966
4175
|
content: {
|
|
@@ -3984,6 +4193,7 @@ interface operations {
|
|
|
3984
4193
|
/** @description Webhook. */
|
|
3985
4194
|
200: {
|
|
3986
4195
|
headers: {
|
|
4196
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3987
4197
|
[name: string]: unknown;
|
|
3988
4198
|
};
|
|
3989
4199
|
content: {
|
|
@@ -3993,6 +4203,7 @@ interface operations {
|
|
|
3993
4203
|
/** @description `id` is not a UUID. */
|
|
3994
4204
|
400: {
|
|
3995
4205
|
headers: {
|
|
4206
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
3996
4207
|
[name: string]: unknown;
|
|
3997
4208
|
};
|
|
3998
4209
|
content: {
|
|
@@ -4002,6 +4213,7 @@ interface operations {
|
|
|
4002
4213
|
/** @description Webhook not found. */
|
|
4003
4214
|
404: {
|
|
4004
4215
|
headers: {
|
|
4216
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4005
4217
|
[name: string]: unknown;
|
|
4006
4218
|
};
|
|
4007
4219
|
content: {
|
|
@@ -4025,6 +4237,7 @@ interface operations {
|
|
|
4025
4237
|
/** @description Deleted. */
|
|
4026
4238
|
204: {
|
|
4027
4239
|
headers: {
|
|
4240
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4028
4241
|
[name: string]: unknown;
|
|
4029
4242
|
};
|
|
4030
4243
|
content?: never;
|
|
@@ -4032,6 +4245,7 @@ interface operations {
|
|
|
4032
4245
|
/** @description Webhook not found. */
|
|
4033
4246
|
404: {
|
|
4034
4247
|
headers: {
|
|
4248
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4035
4249
|
[name: string]: unknown;
|
|
4036
4250
|
};
|
|
4037
4251
|
content: {
|
|
@@ -4059,6 +4273,7 @@ interface operations {
|
|
|
4059
4273
|
/** @description Updated webhook (secret masked). */
|
|
4060
4274
|
200: {
|
|
4061
4275
|
headers: {
|
|
4276
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4062
4277
|
[name: string]: unknown;
|
|
4063
4278
|
};
|
|
4064
4279
|
content: {
|
|
@@ -4068,6 +4283,7 @@ interface operations {
|
|
|
4068
4283
|
/** @description Webhook not found. */
|
|
4069
4284
|
404: {
|
|
4070
4285
|
headers: {
|
|
4286
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4071
4287
|
[name: string]: unknown;
|
|
4072
4288
|
};
|
|
4073
4289
|
content: {
|
|
@@ -4098,6 +4314,7 @@ interface operations {
|
|
|
4098
4314
|
/** @description Delivery attempts, newest first. */
|
|
4099
4315
|
200: {
|
|
4100
4316
|
headers: {
|
|
4317
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4101
4318
|
[name: string]: unknown;
|
|
4102
4319
|
};
|
|
4103
4320
|
content: {
|
|
@@ -4107,6 +4324,7 @@ interface operations {
|
|
|
4107
4324
|
/** @description Invalid cursor or unknown `status` filter. */
|
|
4108
4325
|
400: {
|
|
4109
4326
|
headers: {
|
|
4327
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4110
4328
|
[name: string]: unknown;
|
|
4111
4329
|
};
|
|
4112
4330
|
content: {
|
|
@@ -4116,6 +4334,7 @@ interface operations {
|
|
|
4116
4334
|
/** @description Webhook not found. */
|
|
4117
4335
|
404: {
|
|
4118
4336
|
headers: {
|
|
4337
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4119
4338
|
[name: string]: unknown;
|
|
4120
4339
|
};
|
|
4121
4340
|
content: {
|
|
@@ -4139,6 +4358,7 @@ interface operations {
|
|
|
4139
4358
|
/** @description Secret rotated. Includes the new plaintext secret exactly once. */
|
|
4140
4359
|
201: {
|
|
4141
4360
|
headers: {
|
|
4361
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4142
4362
|
[name: string]: unknown;
|
|
4143
4363
|
};
|
|
4144
4364
|
content: {
|
|
@@ -4148,6 +4368,7 @@ interface operations {
|
|
|
4148
4368
|
/** @description Webhook not found. */
|
|
4149
4369
|
404: {
|
|
4150
4370
|
headers: {
|
|
4371
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4151
4372
|
[name: string]: unknown;
|
|
4152
4373
|
};
|
|
4153
4374
|
content: {
|
|
@@ -4175,6 +4396,7 @@ interface operations {
|
|
|
4175
4396
|
/** @description Sent. Read the outcome from `/deliveries`. */
|
|
4176
4397
|
202: {
|
|
4177
4398
|
headers: {
|
|
4399
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4178
4400
|
[name: string]: unknown;
|
|
4179
4401
|
};
|
|
4180
4402
|
content?: never;
|
|
@@ -4182,6 +4404,7 @@ interface operations {
|
|
|
4182
4404
|
/** @description Webhook not found. */
|
|
4183
4405
|
404: {
|
|
4184
4406
|
headers: {
|
|
4407
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4185
4408
|
[name: string]: unknown;
|
|
4186
4409
|
};
|
|
4187
4410
|
content: {
|
|
@@ -4191,6 +4414,7 @@ interface operations {
|
|
|
4191
4414
|
/** @description The webhook is switched off. */
|
|
4192
4415
|
422: {
|
|
4193
4416
|
headers: {
|
|
4417
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
4194
4418
|
[name: string]: unknown;
|
|
4195
4419
|
};
|
|
4196
4420
|
content: {
|