@sentry/api 0.254.0 → 0.255.0
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/README.md +32 -0
- package/dist/error-results.gen.d.ts +427 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +482 -3
- package/dist/sentry-errors.d.ts +55 -0
- package/dist/sentry-pagination.d.ts +5 -11
- package/dist/zod.gen.d.ts +96 -96
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2203,6 +2203,53 @@ var getOrganizationIssueTag = (options) => (options.client ?? client).get({
|
|
|
2203
2203
|
url: "/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/tags/{key}/",
|
|
2204
2204
|
...options
|
|
2205
2205
|
});
|
|
2206
|
+
// src/sentry-errors.ts
|
|
2207
|
+
class SentryApiError extends Error {
|
|
2208
|
+
status;
|
|
2209
|
+
body;
|
|
2210
|
+
response;
|
|
2211
|
+
documented;
|
|
2212
|
+
constructor(status, body, response, documented, message = status === undefined ? "Sentry API request failed before receiving a response" : `Sentry API request failed with status ${status}`) {
|
|
2213
|
+
super(message);
|
|
2214
|
+
this.name = "SentryApiError";
|
|
2215
|
+
this.status = status;
|
|
2216
|
+
this.body = body;
|
|
2217
|
+
this.response = response;
|
|
2218
|
+
this.documented = documented;
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
var narrowError = (result, documentedStatuses) => {
|
|
2222
|
+
if (result.error === undefined) {
|
|
2223
|
+
return {
|
|
2224
|
+
ok: true,
|
|
2225
|
+
data: result.data,
|
|
2226
|
+
response: result.response
|
|
2227
|
+
};
|
|
2228
|
+
}
|
|
2229
|
+
const status = result.response?.status;
|
|
2230
|
+
if (status === undefined) {
|
|
2231
|
+
return {
|
|
2232
|
+
ok: false,
|
|
2233
|
+
error: new SentryApiError(undefined, result.error, undefined, false)
|
|
2234
|
+
};
|
|
2235
|
+
}
|
|
2236
|
+
const documented = documentedStatuses.includes(status);
|
|
2237
|
+
const error = new SentryApiError(status, result.error, result.response, documented);
|
|
2238
|
+
return {
|
|
2239
|
+
ok: false,
|
|
2240
|
+
error
|
|
2241
|
+
};
|
|
2242
|
+
};
|
|
2243
|
+
var callWithTypedErrors = async (call, documentedStatuses) => {
|
|
2244
|
+
try {
|
|
2245
|
+
return narrowError(await call(), documentedStatuses);
|
|
2246
|
+
} catch (error) {
|
|
2247
|
+
return {
|
|
2248
|
+
ok: false,
|
|
2249
|
+
error: new SentryApiError(undefined, error, undefined, false)
|
|
2250
|
+
};
|
|
2251
|
+
}
|
|
2252
|
+
};
|
|
2206
2253
|
// src/sentry-pagination.ts
|
|
2207
2254
|
var parseSentryLinkHeader = (header) => {
|
|
2208
2255
|
if (!header) {
|
|
@@ -2263,9 +2310,13 @@ var _withCursor = (options, cursor) => {
|
|
|
2263
2310
|
};
|
|
2264
2311
|
var unwrapResult = (result, context) => {
|
|
2265
2312
|
if (result.error !== undefined) {
|
|
2266
|
-
|
|
2313
|
+
const status = result.response?.status;
|
|
2314
|
+
throw new SentryApiError(status, result.error, result.response, false, status === undefined ? `${context}: API request failed before receiving a response: ${String(result.error)}` : `${context}: API request failed with status ${status}: ${JSON.stringify(result.error)}`);
|
|
2267
2315
|
}
|
|
2268
|
-
return {
|
|
2316
|
+
return {
|
|
2317
|
+
data: result.data,
|
|
2318
|
+
response: result.response
|
|
2319
|
+
};
|
|
2269
2320
|
};
|
|
2270
2321
|
var unwrapPaginatedResult = (result, context) => {
|
|
2271
2322
|
const { data, response } = unwrapResult(result, context);
|
|
@@ -2326,6 +2377,219 @@ var paginateUpTo = async (fetcher, options, context) => {
|
|
|
2326
2377
|
}
|
|
2327
2378
|
return { data: allItems.slice(0, options.limit) };
|
|
2328
2379
|
};
|
|
2380
|
+
// src/error-results.gen.ts
|
|
2381
|
+
var narrowError_addOrganizationMember = async (options) => callWithTypedErrors(() => addOrganizationMember({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2382
|
+
var narrowError_addOrganizationMemberTeam = async (options) => callWithTypedErrors(() => addOrganizationMemberTeam({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2383
|
+
var narrowError_addProjectSymbolSource = async (options) => callWithTypedErrors(() => addProjectSymbolSource({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2384
|
+
var narrowError_addProjectTeam = async (options) => callWithTypedErrors(() => addProjectTeam({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2385
|
+
var narrowError_createOrganizationDashboard = async (options) => callWithTypedErrors(() => createOrganizationDashboard({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404, 409]);
|
|
2386
|
+
var narrowError_createOrganizationDiscoverSavedQuery = async (options) => callWithTypedErrors(() => createOrganizationDiscoverSavedQuery({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2387
|
+
var narrowError_createOrganizationExternalUser = async (options) => callWithTypedErrors(() => createOrganizationExternalUser({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2388
|
+
var narrowError_createOrganizationForwarding = async (options) => callWithTypedErrors(() => createOrganizationForwarding({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2389
|
+
var narrowError_createOrganizationIssueIntegration = async (options) => callWithTypedErrors(() => createOrganizationIssueIntegration({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 404]);
|
|
2390
|
+
var narrowError_createOrganizationMonitor = async (options) => callWithTypedErrors(() => createOrganizationMonitor({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2391
|
+
var narrowError_createOrganizationNotificationsAction = async (options) => callWithTypedErrors(() => createOrganizationNotificationsAction({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2392
|
+
var narrowError_createOrganizationProject = async (options) => callWithTypedErrors(() => createOrganizationProject({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404, 409]);
|
|
2393
|
+
var narrowError_createOrganizationProjectDetector = async (options) => callWithTypedErrors(() => createOrganizationProjectDetector({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2394
|
+
var narrowError_createOrganizationRelease = async (options) => callWithTypedErrors(() => createOrganizationRelease({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403]);
|
|
2395
|
+
var narrowError_createOrganizationReleaseDeploy = async (options) => callWithTypedErrors(() => createOrganizationReleaseDeploy({ ...options, responseStyle: "fields", throwOnError: false }), [400]);
|
|
2396
|
+
var narrowError_createOrganizationSpikeProtection = async (options) => callWithTypedErrors(() => createOrganizationSpikeProtection({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2397
|
+
var narrowError_createOrganizationTeam = async (options) => callWithTypedErrors(() => createOrganizationTeam({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2398
|
+
var narrowError_createOrganizationWorkflow = async (options) => callWithTypedErrors(() => createOrganizationWorkflow({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2399
|
+
var narrowError_createProjectHook = async (options) => callWithTypedErrors(() => createProjectHook({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2400
|
+
var narrowError_createProjectKey = async (options) => callWithTypedErrors(() => createProjectKey({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2401
|
+
var narrowError_createProjectPreprodSizeAnalysisSkippedStatusCheck = async (options) => callWithTypedErrors(() => createProjectPreprodSizeAnalysisSkippedStatusCheck({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404, 429, 502]);
|
|
2402
|
+
var narrowError_createProjectPreprodSnapshotSkippedStatusCheck = async (options) => callWithTypedErrors(() => createProjectPreprodSnapshotSkippedStatusCheck({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404, 429, 502]);
|
|
2403
|
+
var narrowError_createProjectReplayDeletionJob = async (options) => callWithTypedErrors(() => createProjectReplayDeletionJob({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2404
|
+
var narrowError_createProjectUserFeedback = async (options) => callWithTypedErrors(() => createProjectUserFeedback({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404, 409]);
|
|
2405
|
+
var narrowError_createSentryAppInstallationExternalIssue = async (options) => callWithTypedErrors(() => createSentryAppInstallationExternalIssue({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2406
|
+
var narrowError_createTeamExternalTeam = async (options) => callWithTypedErrors(() => createTeamExternalTeam({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2407
|
+
var narrowError_createTeamProject = async (options) => callWithTypedErrors(() => createTeamProject({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404, 409]);
|
|
2408
|
+
var narrowError_deleteOrganizationDashboard = async (options) => callWithTypedErrors(() => deleteOrganizationDashboard({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2409
|
+
var narrowError_deleteOrganizationDetector = async (options) => callWithTypedErrors(() => deleteOrganizationDetector({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2410
|
+
var narrowError_deleteOrganizationDetectors = async (options) => callWithTypedErrors(() => deleteOrganizationDetectors({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2411
|
+
var narrowError_deleteOrganizationDiscoverSavedQuery = async (options) => callWithTypedErrors(() => deleteOrganizationDiscoverSavedQuery({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2412
|
+
var narrowError_deleteOrganizationExternalUser = async (options) => callWithTypedErrors(() => deleteOrganizationExternalUser({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2413
|
+
var narrowError_deleteOrganizationForwarding = async (options) => callWithTypedErrors(() => deleteOrganizationForwarding({ ...options, responseStyle: "fields", throwOnError: false }), [403]);
|
|
2414
|
+
var narrowError_deleteOrganizationIntegration = async (options) => callWithTypedErrors(() => deleteOrganizationIntegration({ ...options, responseStyle: "fields", throwOnError: false }), [404]);
|
|
2415
|
+
var narrowError_deleteOrganizationIssue = async (options) => callWithTypedErrors(() => deleteOrganizationIssue({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2416
|
+
var narrowError_deleteOrganizationIssueIntegration = async (options) => callWithTypedErrors(() => deleteOrganizationIssueIntegration({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2417
|
+
var narrowError_deleteOrganizationIssues = async (options) => callWithTypedErrors(() => deleteOrganizationIssues({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2418
|
+
var narrowError_deleteOrganizationMember = async (options) => callWithTypedErrors(() => deleteOrganizationMember({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2419
|
+
var narrowError_deleteOrganizationMemberTeam = async (options) => callWithTypedErrors(() => deleteOrganizationMemberTeam({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2420
|
+
var narrowError_deleteOrganizationMonitor = async (options) => callWithTypedErrors(() => deleteOrganizationMonitor({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2421
|
+
var narrowError_deleteOrganizationPreprodArtifactSnapshot = async (options) => callWithTypedErrors(() => deleteOrganizationPreprodArtifactSnapshot({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2422
|
+
var narrowError_deleteOrganizationRelease = async (options) => callWithTypedErrors(() => deleteOrganizationRelease({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2423
|
+
var narrowError_deleteOrganizationReleaseFile = async (options) => callWithTypedErrors(() => deleteOrganizationReleaseFile({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2424
|
+
var narrowError_deleteOrganizationScimV2Group = async (options) => callWithTypedErrors(() => deleteOrganizationScimV2Group({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2425
|
+
var narrowError_deleteOrganizationScimV2User = async (options) => callWithTypedErrors(() => deleteOrganizationScimV2User({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2426
|
+
var narrowError_deleteOrganizationSpikeProtections = async (options) => callWithTypedErrors(() => deleteOrganizationSpikeProtections({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2427
|
+
var narrowError_deleteOrganizationWorkflow = async (options) => callWithTypedErrors(() => deleteOrganizationWorkflow({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2428
|
+
var narrowError_deleteOrganizationWorkflows = async (options) => callWithTypedErrors(() => deleteOrganizationWorkflows({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2429
|
+
var narrowError_deleteProject = async (options) => callWithTypedErrors(() => deleteProject({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2430
|
+
var narrowError_deleteProjectHook = async (options) => callWithTypedErrors(() => deleteProjectHook({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2431
|
+
var narrowError_deleteProjectIssues = async (options) => callWithTypedErrors(() => deleteProjectIssues({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2432
|
+
var narrowError_deleteProjectKey = async (options) => callWithTypedErrors(() => deleteProjectKey({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2433
|
+
var narrowError_deleteProjectMonitor = async (options) => callWithTypedErrors(() => deleteProjectMonitor({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2434
|
+
var narrowError_deleteProjectReleaseFile = async (options) => callWithTypedErrors(() => deleteProjectReleaseFile({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2435
|
+
var narrowError_deleteProjectReplay = async (options) => callWithTypedErrors(() => deleteProjectReplay({ ...options, responseStyle: "fields", throwOnError: false }), [404]);
|
|
2436
|
+
var narrowError_deleteProjectSymbolSource = async (options) => callWithTypedErrors(() => deleteProjectSymbolSource({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2437
|
+
var narrowError_deleteProjectTeam = async (options) => callWithTypedErrors(() => deleteProjectTeam({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2438
|
+
var narrowError_deleteSentryApp = async (options) => callWithTypedErrors(() => deleteSentryApp({ ...options, responseStyle: "fields", throwOnError: false }), [403]);
|
|
2439
|
+
var narrowError_deleteSentryAppInstallationExternalIssue = async (options) => callWithTypedErrors(() => deleteSentryAppInstallationExternalIssue({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2440
|
+
var narrowError_deleteTeam = async (options) => callWithTypedErrors(() => deleteTeam({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2441
|
+
var narrowError_deleteTeamExternalTeam = async (options) => callWithTypedErrors(() => deleteTeamExternalTeam({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2442
|
+
var narrowError_getOrganization = async (options) => callWithTypedErrors(() => getOrganization({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2443
|
+
var narrowError_getOrganizationConfigIntegrations = async (options) => callWithTypedErrors(() => getOrganizationConfigIntegrations({ ...options, responseStyle: "fields", throwOnError: false }), [404]);
|
|
2444
|
+
var narrowError_getOrganizationDashboard = async (options) => callWithTypedErrors(() => getOrganizationDashboard({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2445
|
+
var narrowError_getOrganizationDetector = async (options) => callWithTypedErrors(() => getOrganizationDetector({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2446
|
+
var narrowError_getOrganizationDiscoverSavedQuery = async (options) => callWithTypedErrors(() => getOrganizationDiscoverSavedQuery({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2447
|
+
var narrowError_getOrganizationIssue = async (options) => callWithTypedErrors(() => getOrganizationIssue({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2448
|
+
var narrowError_getOrganizationIssueAutofixState = async (options) => callWithTypedErrors(() => getOrganizationIssueAutofixState({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2449
|
+
var narrowError_getOrganizationIssueEvent = async (options) => callWithTypedErrors(() => getOrganizationIssueEvent({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2450
|
+
var narrowError_getOrganizationIssueIntegration = async (options) => callWithTypedErrors(() => getOrganizationIssueIntegration({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2451
|
+
var narrowError_getOrganizationIssueTag = async (options) => callWithTypedErrors(() => getOrganizationIssueTag({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2452
|
+
var narrowError_getOrganizationMember = async (options) => callWithTypedErrors(() => getOrganizationMember({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2453
|
+
var narrowError_getOrganizationMonitor = async (options) => callWithTypedErrors(() => getOrganizationMonitor({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2454
|
+
var narrowError_getOrganizationPreprodArtifactInstallDetails = async (options) => callWithTypedErrors(() => getOrganizationPreprodArtifactInstallDetails({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2455
|
+
var narrowError_getOrganizationPreprodArtifactSizeAnalysis = async (options) => callWithTypedErrors(() => getOrganizationPreprodArtifactSizeAnalysis({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2456
|
+
var narrowError_getOrganizationPreprodArtifactSnapshot = async (options) => callWithTypedErrors(() => getOrganizationPreprodArtifactSnapshot({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2457
|
+
var narrowError_getOrganizationPreprodArtifactSnapshotImage = async (options) => callWithTypedErrors(() => getOrganizationPreprodArtifactSnapshotImage({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2458
|
+
var narrowError_getOrganizationPreprodArtifactSnapshotLatestBase = async (options) => callWithTypedErrors(() => getOrganizationPreprodArtifactSnapshotLatestBase({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2459
|
+
var narrowError_getOrganizationProfilingFlamegraph = async (options) => callWithTypedErrors(() => getOrganizationProfilingFlamegraph({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2460
|
+
var narrowError_getOrganizationRelease = async (options) => callWithTypedErrors(() => getOrganizationRelease({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2461
|
+
var narrowError_getOrganizationReleaseFile = async (options) => callWithTypedErrors(() => getOrganizationReleaseFile({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2462
|
+
var narrowError_getOrganizationReplay = async (options) => callWithTypedErrors(() => getOrganizationReplay({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2463
|
+
var narrowError_getOrganizationReplayCount = async (options) => callWithTypedErrors(() => getOrganizationReplayCount({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2464
|
+
var narrowError_getOrganizationScimV2Group = async (options) => callWithTypedErrors(() => getOrganizationScimV2Group({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2465
|
+
var narrowError_getOrganizationScimV2User = async (options) => callWithTypedErrors(() => getOrganizationScimV2User({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2466
|
+
var narrowError_getOrganizationSessions = async (options) => callWithTypedErrors(() => getOrganizationSessions({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401]);
|
|
2467
|
+
var narrowError_getOrganizationStatsSummary = async (options) => callWithTypedErrors(() => getOrganizationStatsSummary({ ...options, responseStyle: "fields", throwOnError: false }), [401, 404]);
|
|
2468
|
+
var narrowError_getOrganizationTrace = async (options) => callWithTypedErrors(() => getOrganizationTrace({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2469
|
+
var narrowError_getOrganizationTraceMeta = async (options) => callWithTypedErrors(() => getOrganizationTraceMeta({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2470
|
+
var narrowError_getOrganizationWorkflow = async (options) => callWithTypedErrors(() => getOrganizationWorkflow({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2471
|
+
var narrowError_getProject = async (options) => callWithTypedErrors(() => getProject({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2472
|
+
var narrowError_getProjectEnvironment = async (options) => callWithTypedErrors(() => getProjectEnvironment({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2473
|
+
var narrowError_getProjectEvent = async (options) => callWithTypedErrors(() => getProjectEvent({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2474
|
+
var narrowError_getProjectEventAttachment = async (options) => callWithTypedErrors(() => getProjectEventAttachment({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2475
|
+
var narrowError_getProjectEventSourceMapDebug = async (options) => callWithTypedErrors(() => getProjectEventSourceMapDebug({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2476
|
+
var narrowError_getProjectHook = async (options) => callWithTypedErrors(() => getProjectHook({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2477
|
+
var narrowError_getProjectInstallableBuildLatest = async (options) => callWithTypedErrors(() => getProjectInstallableBuildLatest({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2478
|
+
var narrowError_getProjectKey = async (options) => callWithTypedErrors(() => getProjectKey({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2479
|
+
var narrowError_getProjectMonitor = async (options) => callWithTypedErrors(() => getProjectMonitor({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2480
|
+
var narrowError_getProjectPreprodSizeAnalysisStatusCheckRules = async (options) => callWithTypedErrors(() => getProjectPreprodSizeAnalysisStatusCheckRules({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2481
|
+
var narrowError_getProjectPreprodSnapshotStatusCheckRules = async (options) => callWithTypedErrors(() => getProjectPreprodSnapshotStatusCheckRules({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2482
|
+
var narrowError_getProjectProfilingProfile = async (options) => callWithTypedErrors(() => getProjectProfilingProfile({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2483
|
+
var narrowError_getProjectReleaseFile = async (options) => callWithTypedErrors(() => getProjectReleaseFile({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2484
|
+
var narrowError_getProjectReplayDeletionJob = async (options) => callWithTypedErrors(() => getProjectReplayDeletionJob({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2485
|
+
var narrowError_getProjectReplayRecordingSegment = async (options) => callWithTypedErrors(() => getProjectReplayRecordingSegment({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2486
|
+
var narrowError_getTeam = async (options) => callWithTypedErrors(() => getTeam({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2487
|
+
var narrowError_linkProjectRepository = async (options) => callWithTypedErrors(() => linkProjectRepository({ ...options, responseStyle: "fields", throwOnError: false }), [400, 404]);
|
|
2488
|
+
var narrowError_listOrganizationDashboards = async (options) => callWithTypedErrors(() => listOrganizationDashboards({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2489
|
+
var narrowError_listOrganizationDetectors = async (options) => callWithTypedErrors(() => listOrganizationDetectors({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2490
|
+
var narrowError_listOrganizationDiscoverSavedQueries = async (options) => callWithTypedErrors(() => listOrganizationDiscoverSavedQueries({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2491
|
+
var narrowError_listOrganizationEnvironments = async (options) => callWithTypedErrors(() => listOrganizationEnvironments({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2492
|
+
var narrowError_listOrganizationEvents = async (options) => callWithTypedErrors(() => listOrganizationEvents({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2493
|
+
var narrowError_listOrganizationEventsTimeseries = async (options) => callWithTypedErrors(() => listOrganizationEventsTimeseries({ ...options, responseStyle: "fields", throwOnError: false }), [400, 404]);
|
|
2494
|
+
var narrowError_listOrganizationIssueEvents = async (options) => callWithTypedErrors(() => listOrganizationIssueEvents({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2495
|
+
var narrowError_listOrganizationIssueHashes = async (options) => callWithTypedErrors(() => listOrganizationIssueHashes({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2496
|
+
var narrowError_listOrganizationIssues = async (options) => callWithTypedErrors(() => listOrganizationIssues({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2497
|
+
var narrowError_listOrganizationIssueTagValues = async (options) => callWithTypedErrors(() => listOrganizationIssueTagValues({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2498
|
+
var narrowError_listOrganizationMembers = async (options) => callWithTypedErrors(() => listOrganizationMembers({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2499
|
+
var narrowError_listOrganizationMonitorCheckins = async (options) => callWithTypedErrors(() => listOrganizationMonitorCheckins({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2500
|
+
var narrowError_listOrganizationMonitors = async (options) => callWithTypedErrors(() => listOrganizationMonitors({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2501
|
+
var narrowError_listOrganizationNotificationsActions = async (options) => callWithTypedErrors(() => listOrganizationNotificationsActions({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2502
|
+
var narrowError_listOrganizationProfilingChunks = async (options) => callWithTypedErrors(() => listOrganizationProfilingChunks({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2503
|
+
var narrowError_listOrganizationProjectKeys = async (options) => callWithTypedErrors(() => listOrganizationProjectKeys({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2504
|
+
var narrowError_listOrganizationProjects = async (options) => callWithTypedErrors(() => listOrganizationProjects({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2505
|
+
var narrowError_listOrganizationRelayUsage = async (options) => callWithTypedErrors(() => listOrganizationRelayUsage({ ...options, responseStyle: "fields", throwOnError: false }), [404]);
|
|
2506
|
+
var narrowError_listOrganizationReleaseCommitfiles = async (options) => callWithTypedErrors(() => listOrganizationReleaseCommitfiles({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2507
|
+
var narrowError_listOrganizationReleaseCommits = async (options) => callWithTypedErrors(() => listOrganizationReleaseCommits({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2508
|
+
var narrowError_listOrganizationReleaseFiles = async (options) => callWithTypedErrors(() => listOrganizationReleaseFiles({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2509
|
+
var narrowError_listOrganizationReleases = async (options) => callWithTypedErrors(() => listOrganizationReleases({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2510
|
+
var narrowError_listOrganizationReleaseThresholdStatuses = async (options) => callWithTypedErrors(() => listOrganizationReleaseThresholdStatuses({ ...options, responseStyle: "fields", throwOnError: false }), [400]);
|
|
2511
|
+
var narrowError_listOrganizationReplays = async (options) => callWithTypedErrors(() => listOrganizationReplays({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2512
|
+
var narrowError_listOrganizationReplaySelectors = async (options) => callWithTypedErrors(() => listOrganizationReplaySelectors({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2513
|
+
var narrowError_listOrganizationRepoCommits = async (options) => callWithTypedErrors(() => listOrganizationRepoCommits({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2514
|
+
var narrowError_listOrganizationRepos = async (options) => callWithTypedErrors(() => listOrganizationRepos({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2515
|
+
var narrowError_listOrganizations = async (options) => callWithTypedErrors(() => listOrganizations({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2516
|
+
var narrowError_listOrganizationScimV2Groups = async (options) => callWithTypedErrors(() => listOrganizationScimV2Groups({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2517
|
+
var narrowError_listOrganizationScimV2Users = async (options) => callWithTypedErrors(() => listOrganizationScimV2Users({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2518
|
+
var narrowError_listOrganizationSentryAppInstallations = async (options) => callWithTypedErrors(() => listOrganizationSentryAppInstallations({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2519
|
+
var narrowError_listOrganizationStatsV2 = async (options) => callWithTypedErrors(() => listOrganizationStatsV2({ ...options, responseStyle: "fields", throwOnError: false }), [401, 404]);
|
|
2520
|
+
var narrowError_listOrganizationTags = async (options) => callWithTypedErrors(() => listOrganizationTags({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403]);
|
|
2521
|
+
var narrowError_listOrganizationTeams = async (options) => callWithTypedErrors(() => listOrganizationTeams({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2522
|
+
var narrowError_listOrganizationTraceItemAttributes = async (options) => callWithTypedErrors(() => listOrganizationTraceItemAttributes({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2523
|
+
var narrowError_listOrganizationTraceItemsStats = async (options) => callWithTypedErrors(() => listOrganizationTraceItemsStats({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2524
|
+
var narrowError_listOrganizationUserTeams = async (options) => callWithTypedErrors(() => listOrganizationUserTeams({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2525
|
+
var narrowError_listOrganizationWorkflows = async (options) => callWithTypedErrors(() => listOrganizationWorkflows({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2526
|
+
var narrowError_listProjectDebugFiles = async (options) => callWithTypedErrors(() => listProjectDebugFiles({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2527
|
+
var narrowError_listProjectEnvironments = async (options) => callWithTypedErrors(() => listProjectEnvironments({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2528
|
+
var narrowError_listProjectEventAttachments = async (options) => callWithTypedErrors(() => listProjectEventAttachments({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2529
|
+
var narrowError_listProjectEvents = async (options) => callWithTypedErrors(() => listProjectEvents({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2530
|
+
var narrowError_listProjectFilters = async (options) => callWithTypedErrors(() => listProjectFilters({ ...options, responseStyle: "fields", throwOnError: false }), [403]);
|
|
2531
|
+
var narrowError_listProjectHooks = async (options) => callWithTypedErrors(() => listProjectHooks({ ...options, responseStyle: "fields", throwOnError: false }), [403]);
|
|
2532
|
+
var narrowError_listProjectIssues = async (options) => callWithTypedErrors(() => listProjectIssues({ ...options, responseStyle: "fields", throwOnError: false }), [403]);
|
|
2533
|
+
var narrowError_listProjectKeys = async (options) => callWithTypedErrors(() => listProjectKeys({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2534
|
+
var narrowError_listProjectMembers = async (options) => callWithTypedErrors(() => listProjectMembers({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2535
|
+
var narrowError_listProjectMonitorCheckins = async (options) => callWithTypedErrors(() => listProjectMonitorCheckins({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2536
|
+
var narrowError_listProjectReleaseCommits = async (options) => callWithTypedErrors(() => listProjectReleaseCommits({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2537
|
+
var narrowError_listProjectReleaseFiles = async (options) => callWithTypedErrors(() => listProjectReleaseFiles({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2538
|
+
var narrowError_listProjectReleases = async (options) => callWithTypedErrors(() => listProjectReleases({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2539
|
+
var narrowError_listProjectReplayClicks = async (options) => callWithTypedErrors(() => listProjectReplayClicks({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2540
|
+
var narrowError_listProjectReplayDeletionJobs = async (options) => callWithTypedErrors(() => listProjectReplayDeletionJobs({ ...options, responseStyle: "fields", throwOnError: false }), [403]);
|
|
2541
|
+
var narrowError_listProjectReplayRecordingSegments = async (options) => callWithTypedErrors(() => listProjectReplayRecordingSegments({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2542
|
+
var narrowError_listProjectReplayViewedBy = async (options) => callWithTypedErrors(() => listProjectReplayViewedBy({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2543
|
+
var narrowError_listProjectStats = async (options) => callWithTypedErrors(() => listProjectStats({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2544
|
+
var narrowError_listProjectSymbolSources = async (options) => callWithTypedErrors(() => listProjectSymbolSources({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2545
|
+
var narrowError_listProjectTagValues = async (options) => callWithTypedErrors(() => listProjectTagValues({ ...options, responseStyle: "fields", throwOnError: false }), [403]);
|
|
2546
|
+
var narrowError_listProjectTeams = async (options) => callWithTypedErrors(() => listProjectTeams({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2547
|
+
var narrowError_listProjectUserFeedback = async (options) => callWithTypedErrors(() => listProjectUserFeedback({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2548
|
+
var narrowError_listProjectUsers = async (options) => callWithTypedErrors(() => listProjectUsers({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2549
|
+
var narrowError_listTeamMembers = async (options) => callWithTypedErrors(() => listTeamMembers({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2550
|
+
var narrowError_listTeamProjects = async (options) => callWithTypedErrors(() => listTeamProjects({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2551
|
+
var narrowError_provisionOrganizationScimV2Group = async (options) => callWithTypedErrors(() => provisionOrganizationScimV2Group({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2552
|
+
var narrowError_provisionOrganizationScimV2User = async (options) => callWithTypedErrors(() => provisionOrganizationScimV2User({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2553
|
+
var narrowError_resolveOrganizationEventId = async (options) => callWithTypedErrors(() => resolveOrganizationEventId({ ...options, responseStyle: "fields", throwOnError: false }), [404]);
|
|
2554
|
+
var narrowError_resolveOrganizationShortId = async (options) => callWithTypedErrors(() => resolveOrganizationShortId({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2555
|
+
var narrowError_startOrganizationIssueAutofix = async (options) => callWithTypedErrors(() => startOrganizationIssueAutofix({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2556
|
+
var narrowError_updateOrganization = async (options) => callWithTypedErrors(() => updateOrganization({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404, 409, 413]);
|
|
2557
|
+
var narrowError_updateOrganizationDashboard = async (options) => callWithTypedErrors(() => updateOrganizationDashboard({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2558
|
+
var narrowError_updateOrganizationDetector = async (options) => callWithTypedErrors(() => updateOrganizationDetector({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2559
|
+
var narrowError_updateOrganizationDetectors = async (options) => callWithTypedErrors(() => updateOrganizationDetectors({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2560
|
+
var narrowError_updateOrganizationDiscoverSavedQuery = async (options) => callWithTypedErrors(() => updateOrganizationDiscoverSavedQuery({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2561
|
+
var narrowError_updateOrganizationExternalUser = async (options) => callWithTypedErrors(() => updateOrganizationExternalUser({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2562
|
+
var narrowError_updateOrganizationForwarding = async (options) => callWithTypedErrors(() => updateOrganizationForwarding({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2563
|
+
var narrowError_updateOrganizationIssue = async (options) => callWithTypedErrors(() => updateOrganizationIssue({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2564
|
+
var narrowError_updateOrganizationIssueIntegration = async (options) => callWithTypedErrors(() => updateOrganizationIssueIntegration({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 404]);
|
|
2565
|
+
var narrowError_updateOrganizationIssues = async (options) => callWithTypedErrors(() => updateOrganizationIssues({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2566
|
+
var narrowError_updateOrganizationMember = async (options) => callWithTypedErrors(() => updateOrganizationMember({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403]);
|
|
2567
|
+
var narrowError_updateOrganizationMemberTeam = async (options) => callWithTypedErrors(() => updateOrganizationMemberTeam({ ...options, responseStyle: "fields", throwOnError: false }), [400, 404]);
|
|
2568
|
+
var narrowError_updateOrganizationMonitor = async (options) => callWithTypedErrors(() => updateOrganizationMonitor({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2569
|
+
var narrowError_updateOrganizationNotificationsAction = async (options) => callWithTypedErrors(() => updateOrganizationNotificationsAction({ ...options, responseStyle: "fields", throwOnError: false }), [400]);
|
|
2570
|
+
var narrowError_updateOrganizationRelease = async (options) => callWithTypedErrors(() => updateOrganizationRelease({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2571
|
+
var narrowError_updateOrganizationReleaseFile = async (options) => callWithTypedErrors(() => updateOrganizationReleaseFile({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2572
|
+
var narrowError_updateOrganizationScimV2Group = async (options) => callWithTypedErrors(() => updateOrganizationScimV2Group({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2573
|
+
var narrowError_updateOrganizationScimV2User = async (options) => callWithTypedErrors(() => updateOrganizationScimV2User({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2574
|
+
var narrowError_updateOrganizationWorkflow = async (options) => callWithTypedErrors(() => updateOrganizationWorkflow({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2575
|
+
var narrowError_updateOrganizationWorkflows = async (options) => callWithTypedErrors(() => updateOrganizationWorkflows({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2576
|
+
var narrowError_updateProject = async (options) => callWithTypedErrors(() => updateProject({ ...options, responseStyle: "fields", throwOnError: false }), [403, 404]);
|
|
2577
|
+
var narrowError_updateProjectEnvironment = async (options) => callWithTypedErrors(() => updateProjectEnvironment({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2578
|
+
var narrowError_updateProjectEnvironments = async (options) => callWithTypedErrors(() => updateProjectEnvironments({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2579
|
+
var narrowError_updateProjectFilter = async (options) => callWithTypedErrors(() => updateProjectFilter({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2580
|
+
var narrowError_updateProjectHook = async (options) => callWithTypedErrors(() => updateProjectHook({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2581
|
+
var narrowError_updateProjectIssues = async (options) => callWithTypedErrors(() => updateProjectIssues({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2582
|
+
var narrowError_updateProjectKey = async (options) => callWithTypedErrors(() => updateProjectKey({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2583
|
+
var narrowError_updateProjectMonitor = async (options) => callWithTypedErrors(() => updateProjectMonitor({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2584
|
+
var narrowError_updateProjectOwnership = async (options) => callWithTypedErrors(() => updateProjectOwnership({ ...options, responseStyle: "fields", throwOnError: false }), [400]);
|
|
2585
|
+
var narrowError_updateProjectReleaseFile = async (options) => callWithTypedErrors(() => updateProjectReleaseFile({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404]);
|
|
2586
|
+
var narrowError_updateProjectSymbolSource = async (options) => callWithTypedErrors(() => updateProjectSymbolSource({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403, 404]);
|
|
2587
|
+
var narrowError_updateSentryApp = async (options) => callWithTypedErrors(() => updateSentryApp({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2588
|
+
var narrowError_updateTeam = async (options) => callWithTypedErrors(() => updateTeam({ ...options, responseStyle: "fields", throwOnError: false }), [401, 403, 404]);
|
|
2589
|
+
var narrowError_updateTeamExternalTeam = async (options) => callWithTypedErrors(() => updateTeamExternalTeam({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2590
|
+
var narrowError_uploadOrganizationReleaseFile = async (options) => callWithTypedErrors(() => uploadOrganizationReleaseFile({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404, 409]);
|
|
2591
|
+
var narrowError_uploadProjectPreprodArtifactSnapshot = async (options) => callWithTypedErrors(() => uploadProjectPreprodArtifactSnapshot({ ...options, responseStyle: "fields", throwOnError: false }), [400, 403]);
|
|
2592
|
+
var narrowError_uploadProjectReleaseFile = async (options) => callWithTypedErrors(() => uploadProjectReleaseFile({ ...options, responseStyle: "fields", throwOnError: false }), [400, 401, 403, 404, 409]);
|
|
2329
2593
|
// src/pagination.gen.ts
|
|
2330
2594
|
var fetchPage_getOrganizationReplay = (options, cursor) => fetchPage((c) => getOrganizationReplay(_withCursor(options, c)), "getOrganizationReplay", cursor);
|
|
2331
2595
|
var fetchPage_listOrganizationDashboards = (options, cursor) => fetchPage((c) => listOrganizationDashboards(_withCursor(options, c)), "listOrganizationDashboards", cursor);
|
|
@@ -2566,6 +2830,219 @@ export {
|
|
|
2566
2830
|
paginateAll_listOrganizationDiscoverSavedQueries,
|
|
2567
2831
|
paginateAll_listOrganizationDashboards,
|
|
2568
2832
|
paginateAll,
|
|
2833
|
+
narrowError_uploadProjectReleaseFile,
|
|
2834
|
+
narrowError_uploadProjectPreprodArtifactSnapshot,
|
|
2835
|
+
narrowError_uploadOrganizationReleaseFile,
|
|
2836
|
+
narrowError_updateTeamExternalTeam,
|
|
2837
|
+
narrowError_updateTeam,
|
|
2838
|
+
narrowError_updateSentryApp,
|
|
2839
|
+
narrowError_updateProjectSymbolSource,
|
|
2840
|
+
narrowError_updateProjectReleaseFile,
|
|
2841
|
+
narrowError_updateProjectOwnership,
|
|
2842
|
+
narrowError_updateProjectMonitor,
|
|
2843
|
+
narrowError_updateProjectKey,
|
|
2844
|
+
narrowError_updateProjectIssues,
|
|
2845
|
+
narrowError_updateProjectHook,
|
|
2846
|
+
narrowError_updateProjectFilter,
|
|
2847
|
+
narrowError_updateProjectEnvironments,
|
|
2848
|
+
narrowError_updateProjectEnvironment,
|
|
2849
|
+
narrowError_updateProject,
|
|
2850
|
+
narrowError_updateOrganizationWorkflows,
|
|
2851
|
+
narrowError_updateOrganizationWorkflow,
|
|
2852
|
+
narrowError_updateOrganizationScimV2User,
|
|
2853
|
+
narrowError_updateOrganizationScimV2Group,
|
|
2854
|
+
narrowError_updateOrganizationReleaseFile,
|
|
2855
|
+
narrowError_updateOrganizationRelease,
|
|
2856
|
+
narrowError_updateOrganizationNotificationsAction,
|
|
2857
|
+
narrowError_updateOrganizationMonitor,
|
|
2858
|
+
narrowError_updateOrganizationMemberTeam,
|
|
2859
|
+
narrowError_updateOrganizationMember,
|
|
2860
|
+
narrowError_updateOrganizationIssues,
|
|
2861
|
+
narrowError_updateOrganizationIssueIntegration,
|
|
2862
|
+
narrowError_updateOrganizationIssue,
|
|
2863
|
+
narrowError_updateOrganizationForwarding,
|
|
2864
|
+
narrowError_updateOrganizationExternalUser,
|
|
2865
|
+
narrowError_updateOrganizationDiscoverSavedQuery,
|
|
2866
|
+
narrowError_updateOrganizationDetectors,
|
|
2867
|
+
narrowError_updateOrganizationDetector,
|
|
2868
|
+
narrowError_updateOrganizationDashboard,
|
|
2869
|
+
narrowError_updateOrganization,
|
|
2870
|
+
narrowError_startOrganizationIssueAutofix,
|
|
2871
|
+
narrowError_resolveOrganizationShortId,
|
|
2872
|
+
narrowError_resolveOrganizationEventId,
|
|
2873
|
+
narrowError_provisionOrganizationScimV2User,
|
|
2874
|
+
narrowError_provisionOrganizationScimV2Group,
|
|
2875
|
+
narrowError_listTeamProjects,
|
|
2876
|
+
narrowError_listTeamMembers,
|
|
2877
|
+
narrowError_listProjectUsers,
|
|
2878
|
+
narrowError_listProjectUserFeedback,
|
|
2879
|
+
narrowError_listProjectTeams,
|
|
2880
|
+
narrowError_listProjectTagValues,
|
|
2881
|
+
narrowError_listProjectSymbolSources,
|
|
2882
|
+
narrowError_listProjectStats,
|
|
2883
|
+
narrowError_listProjectReplayViewedBy,
|
|
2884
|
+
narrowError_listProjectReplayRecordingSegments,
|
|
2885
|
+
narrowError_listProjectReplayDeletionJobs,
|
|
2886
|
+
narrowError_listProjectReplayClicks,
|
|
2887
|
+
narrowError_listProjectReleases,
|
|
2888
|
+
narrowError_listProjectReleaseFiles,
|
|
2889
|
+
narrowError_listProjectReleaseCommits,
|
|
2890
|
+
narrowError_listProjectMonitorCheckins,
|
|
2891
|
+
narrowError_listProjectMembers,
|
|
2892
|
+
narrowError_listProjectKeys,
|
|
2893
|
+
narrowError_listProjectIssues,
|
|
2894
|
+
narrowError_listProjectHooks,
|
|
2895
|
+
narrowError_listProjectFilters,
|
|
2896
|
+
narrowError_listProjectEvents,
|
|
2897
|
+
narrowError_listProjectEventAttachments,
|
|
2898
|
+
narrowError_listProjectEnvironments,
|
|
2899
|
+
narrowError_listProjectDebugFiles,
|
|
2900
|
+
narrowError_listOrganizations,
|
|
2901
|
+
narrowError_listOrganizationWorkflows,
|
|
2902
|
+
narrowError_listOrganizationUserTeams,
|
|
2903
|
+
narrowError_listOrganizationTraceItemsStats,
|
|
2904
|
+
narrowError_listOrganizationTraceItemAttributes,
|
|
2905
|
+
narrowError_listOrganizationTeams,
|
|
2906
|
+
narrowError_listOrganizationTags,
|
|
2907
|
+
narrowError_listOrganizationStatsV2,
|
|
2908
|
+
narrowError_listOrganizationSentryAppInstallations,
|
|
2909
|
+
narrowError_listOrganizationScimV2Users,
|
|
2910
|
+
narrowError_listOrganizationScimV2Groups,
|
|
2911
|
+
narrowError_listOrganizationRepos,
|
|
2912
|
+
narrowError_listOrganizationRepoCommits,
|
|
2913
|
+
narrowError_listOrganizationReplays,
|
|
2914
|
+
narrowError_listOrganizationReplaySelectors,
|
|
2915
|
+
narrowError_listOrganizationReleases,
|
|
2916
|
+
narrowError_listOrganizationReleaseThresholdStatuses,
|
|
2917
|
+
narrowError_listOrganizationReleaseFiles,
|
|
2918
|
+
narrowError_listOrganizationReleaseCommits,
|
|
2919
|
+
narrowError_listOrganizationReleaseCommitfiles,
|
|
2920
|
+
narrowError_listOrganizationRelayUsage,
|
|
2921
|
+
narrowError_listOrganizationProjects,
|
|
2922
|
+
narrowError_listOrganizationProjectKeys,
|
|
2923
|
+
narrowError_listOrganizationProfilingChunks,
|
|
2924
|
+
narrowError_listOrganizationNotificationsActions,
|
|
2925
|
+
narrowError_listOrganizationMonitors,
|
|
2926
|
+
narrowError_listOrganizationMonitorCheckins,
|
|
2927
|
+
narrowError_listOrganizationMembers,
|
|
2928
|
+
narrowError_listOrganizationIssues,
|
|
2929
|
+
narrowError_listOrganizationIssueTagValues,
|
|
2930
|
+
narrowError_listOrganizationIssueHashes,
|
|
2931
|
+
narrowError_listOrganizationIssueEvents,
|
|
2932
|
+
narrowError_listOrganizationEventsTimeseries,
|
|
2933
|
+
narrowError_listOrganizationEvents,
|
|
2934
|
+
narrowError_listOrganizationEnvironments,
|
|
2935
|
+
narrowError_listOrganizationDiscoverSavedQueries,
|
|
2936
|
+
narrowError_listOrganizationDetectors,
|
|
2937
|
+
narrowError_listOrganizationDashboards,
|
|
2938
|
+
narrowError_linkProjectRepository,
|
|
2939
|
+
narrowError_getTeam,
|
|
2940
|
+
narrowError_getProjectReplayRecordingSegment,
|
|
2941
|
+
narrowError_getProjectReplayDeletionJob,
|
|
2942
|
+
narrowError_getProjectReleaseFile,
|
|
2943
|
+
narrowError_getProjectProfilingProfile,
|
|
2944
|
+
narrowError_getProjectPreprodSnapshotStatusCheckRules,
|
|
2945
|
+
narrowError_getProjectPreprodSizeAnalysisStatusCheckRules,
|
|
2946
|
+
narrowError_getProjectMonitor,
|
|
2947
|
+
narrowError_getProjectKey,
|
|
2948
|
+
narrowError_getProjectInstallableBuildLatest,
|
|
2949
|
+
narrowError_getProjectHook,
|
|
2950
|
+
narrowError_getProjectEventSourceMapDebug,
|
|
2951
|
+
narrowError_getProjectEventAttachment,
|
|
2952
|
+
narrowError_getProjectEvent,
|
|
2953
|
+
narrowError_getProjectEnvironment,
|
|
2954
|
+
narrowError_getProject,
|
|
2955
|
+
narrowError_getOrganizationWorkflow,
|
|
2956
|
+
narrowError_getOrganizationTraceMeta,
|
|
2957
|
+
narrowError_getOrganizationTrace,
|
|
2958
|
+
narrowError_getOrganizationStatsSummary,
|
|
2959
|
+
narrowError_getOrganizationSessions,
|
|
2960
|
+
narrowError_getOrganizationScimV2User,
|
|
2961
|
+
narrowError_getOrganizationScimV2Group,
|
|
2962
|
+
narrowError_getOrganizationReplayCount,
|
|
2963
|
+
narrowError_getOrganizationReplay,
|
|
2964
|
+
narrowError_getOrganizationReleaseFile,
|
|
2965
|
+
narrowError_getOrganizationRelease,
|
|
2966
|
+
narrowError_getOrganizationProfilingFlamegraph,
|
|
2967
|
+
narrowError_getOrganizationPreprodArtifactSnapshotLatestBase,
|
|
2968
|
+
narrowError_getOrganizationPreprodArtifactSnapshotImage,
|
|
2969
|
+
narrowError_getOrganizationPreprodArtifactSnapshot,
|
|
2970
|
+
narrowError_getOrganizationPreprodArtifactSizeAnalysis,
|
|
2971
|
+
narrowError_getOrganizationPreprodArtifactInstallDetails,
|
|
2972
|
+
narrowError_getOrganizationMonitor,
|
|
2973
|
+
narrowError_getOrganizationMember,
|
|
2974
|
+
narrowError_getOrganizationIssueTag,
|
|
2975
|
+
narrowError_getOrganizationIssueIntegration,
|
|
2976
|
+
narrowError_getOrganizationIssueEvent,
|
|
2977
|
+
narrowError_getOrganizationIssueAutofixState,
|
|
2978
|
+
narrowError_getOrganizationIssue,
|
|
2979
|
+
narrowError_getOrganizationDiscoverSavedQuery,
|
|
2980
|
+
narrowError_getOrganizationDetector,
|
|
2981
|
+
narrowError_getOrganizationDashboard,
|
|
2982
|
+
narrowError_getOrganizationConfigIntegrations,
|
|
2983
|
+
narrowError_getOrganization,
|
|
2984
|
+
narrowError_deleteTeamExternalTeam,
|
|
2985
|
+
narrowError_deleteTeam,
|
|
2986
|
+
narrowError_deleteSentryAppInstallationExternalIssue,
|
|
2987
|
+
narrowError_deleteSentryApp,
|
|
2988
|
+
narrowError_deleteProjectTeam,
|
|
2989
|
+
narrowError_deleteProjectSymbolSource,
|
|
2990
|
+
narrowError_deleteProjectReplay,
|
|
2991
|
+
narrowError_deleteProjectReleaseFile,
|
|
2992
|
+
narrowError_deleteProjectMonitor,
|
|
2993
|
+
narrowError_deleteProjectKey,
|
|
2994
|
+
narrowError_deleteProjectIssues,
|
|
2995
|
+
narrowError_deleteProjectHook,
|
|
2996
|
+
narrowError_deleteProject,
|
|
2997
|
+
narrowError_deleteOrganizationWorkflows,
|
|
2998
|
+
narrowError_deleteOrganizationWorkflow,
|
|
2999
|
+
narrowError_deleteOrganizationSpikeProtections,
|
|
3000
|
+
narrowError_deleteOrganizationScimV2User,
|
|
3001
|
+
narrowError_deleteOrganizationScimV2Group,
|
|
3002
|
+
narrowError_deleteOrganizationReleaseFile,
|
|
3003
|
+
narrowError_deleteOrganizationRelease,
|
|
3004
|
+
narrowError_deleteOrganizationPreprodArtifactSnapshot,
|
|
3005
|
+
narrowError_deleteOrganizationMonitor,
|
|
3006
|
+
narrowError_deleteOrganizationMemberTeam,
|
|
3007
|
+
narrowError_deleteOrganizationMember,
|
|
3008
|
+
narrowError_deleteOrganizationIssues,
|
|
3009
|
+
narrowError_deleteOrganizationIssueIntegration,
|
|
3010
|
+
narrowError_deleteOrganizationIssue,
|
|
3011
|
+
narrowError_deleteOrganizationIntegration,
|
|
3012
|
+
narrowError_deleteOrganizationForwarding,
|
|
3013
|
+
narrowError_deleteOrganizationExternalUser,
|
|
3014
|
+
narrowError_deleteOrganizationDiscoverSavedQuery,
|
|
3015
|
+
narrowError_deleteOrganizationDetectors,
|
|
3016
|
+
narrowError_deleteOrganizationDetector,
|
|
3017
|
+
narrowError_deleteOrganizationDashboard,
|
|
3018
|
+
narrowError_createTeamProject,
|
|
3019
|
+
narrowError_createTeamExternalTeam,
|
|
3020
|
+
narrowError_createSentryAppInstallationExternalIssue,
|
|
3021
|
+
narrowError_createProjectUserFeedback,
|
|
3022
|
+
narrowError_createProjectReplayDeletionJob,
|
|
3023
|
+
narrowError_createProjectPreprodSnapshotSkippedStatusCheck,
|
|
3024
|
+
narrowError_createProjectPreprodSizeAnalysisSkippedStatusCheck,
|
|
3025
|
+
narrowError_createProjectKey,
|
|
3026
|
+
narrowError_createProjectHook,
|
|
3027
|
+
narrowError_createOrganizationWorkflow,
|
|
3028
|
+
narrowError_createOrganizationTeam,
|
|
3029
|
+
narrowError_createOrganizationSpikeProtection,
|
|
3030
|
+
narrowError_createOrganizationReleaseDeploy,
|
|
3031
|
+
narrowError_createOrganizationRelease,
|
|
3032
|
+
narrowError_createOrganizationProjectDetector,
|
|
3033
|
+
narrowError_createOrganizationProject,
|
|
3034
|
+
narrowError_createOrganizationNotificationsAction,
|
|
3035
|
+
narrowError_createOrganizationMonitor,
|
|
3036
|
+
narrowError_createOrganizationIssueIntegration,
|
|
3037
|
+
narrowError_createOrganizationForwarding,
|
|
3038
|
+
narrowError_createOrganizationExternalUser,
|
|
3039
|
+
narrowError_createOrganizationDiscoverSavedQuery,
|
|
3040
|
+
narrowError_createOrganizationDashboard,
|
|
3041
|
+
narrowError_addProjectTeam,
|
|
3042
|
+
narrowError_addProjectSymbolSource,
|
|
3043
|
+
narrowError_addOrganizationMemberTeam,
|
|
3044
|
+
narrowError_addOrganizationMember,
|
|
3045
|
+
narrowError,
|
|
2569
3046
|
listTeamProjects,
|
|
2570
3047
|
listTeamMembers,
|
|
2571
3048
|
listSeerModels,
|
|
@@ -2787,8 +3264,10 @@ export {
|
|
|
2787
3264
|
createOrganizationExternalUser,
|
|
2788
3265
|
createOrganizationDiscoverSavedQuery,
|
|
2789
3266
|
createOrganizationDashboard,
|
|
3267
|
+
callWithTypedErrors,
|
|
2790
3268
|
addProjectTeam,
|
|
2791
3269
|
addProjectSymbolSource,
|
|
2792
3270
|
addOrganizationMemberTeam,
|
|
2793
|
-
addOrganizationMember
|
|
3271
|
+
addOrganizationMember,
|
|
3272
|
+
SentryApiError
|
|
2794
3273
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The generated SDK's non-throwing result shape.
|
|
3
|
+
*
|
|
4
|
+
* Defined locally so the hand-written helpers never import generated code.
|
|
5
|
+
*/
|
|
6
|
+
export type SdkResult<TData = unknown, TError = unknown> = {
|
|
7
|
+
data: TData;
|
|
8
|
+
error: undefined;
|
|
9
|
+
request: Request;
|
|
10
|
+
response: Response;
|
|
11
|
+
} | {
|
|
12
|
+
data: undefined;
|
|
13
|
+
error: TError;
|
|
14
|
+
request: Request;
|
|
15
|
+
response: Response | undefined;
|
|
16
|
+
};
|
|
17
|
+
type ErrorStatus<TErrorMap> = Extract<keyof TErrorMap, number>;
|
|
18
|
+
/** An API error whose status and body were declared by the operation. */
|
|
19
|
+
export type DocumentedSentryApiError<TErrorMap> = {
|
|
20
|
+
[TStatus in ErrorStatus<TErrorMap>]: SentryApiError<TStatus, TErrorMap[TStatus], true>;
|
|
21
|
+
}[ErrorStatus<TErrorMap>];
|
|
22
|
+
/** An API error returned under a status absent from the operation's schema. */
|
|
23
|
+
export type UndocumentedSentryApiError = SentryApiError<number, unknown, false>;
|
|
24
|
+
/** A request failure that happened before an HTTP response arrived. */
|
|
25
|
+
export type SentryApiTransportError = SentryApiError<undefined, unknown, false>;
|
|
26
|
+
export type SentryApiResultError<TErrorMap> = DocumentedSentryApiError<TErrorMap> | UndocumentedSentryApiError | SentryApiTransportError;
|
|
27
|
+
export type NarrowedResult<TData, TErrorMap> = {
|
|
28
|
+
ok: true;
|
|
29
|
+
data: TData;
|
|
30
|
+
response: Response;
|
|
31
|
+
} | {
|
|
32
|
+
ok: false;
|
|
33
|
+
error: SentryApiResultError<TErrorMap>;
|
|
34
|
+
};
|
|
35
|
+
/** An API failure with its parsed body and raw response. */
|
|
36
|
+
export declare class SentryApiError<TStatus extends number | undefined = number | undefined, TBody = unknown, TDocumented extends boolean = boolean> extends Error {
|
|
37
|
+
readonly status: TStatus;
|
|
38
|
+
readonly body: TBody;
|
|
39
|
+
readonly response: Response | undefined;
|
|
40
|
+
readonly documented: TDocumented;
|
|
41
|
+
constructor(status: TStatus, body: TBody, response: Response | undefined, documented: TDocumented, message?: string);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Convert an SDK result to a status-discriminated result.
|
|
45
|
+
*
|
|
46
|
+
* Prefer the generated `narrowError_<operation>` wrappers. They supply the
|
|
47
|
+
* operation's complete error map and documented statuses automatically.
|
|
48
|
+
*/
|
|
49
|
+
export declare const narrowError: <TData, TErrorMap>(result: SdkResult<TData, TErrorMap[ErrorStatus<TErrorMap>]>, documentedStatuses: ReadonlyArray<ErrorStatus<TErrorMap>>) => NarrowedResult<TData, TErrorMap>;
|
|
50
|
+
/**
|
|
51
|
+
* Call an SDK operation and convert HTTP and transport failures to one result.
|
|
52
|
+
* Generated operation wrappers use this helper.
|
|
53
|
+
*/
|
|
54
|
+
export declare const callWithTypedErrors: <TData, TErrorMap>(call: () => Promise<SdkResult<TData, TErrorMap[ErrorStatus<TErrorMap>]>>, documentedStatuses: ReadonlyArray<ErrorStatus<TErrorMap>>) => Promise<NarrowedResult<TData, TErrorMap>>;
|
|
55
|
+
export {};
|