@sentry/api 0.96.0 → 0.98.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/dist/index.js +9 -9
- package/dist/sdk.gen.d.ts +6 -6
- package/dist/types.gen.d.ts +876 -865
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -922,15 +922,6 @@ var fetchAnOrganization_sMonitors = (options) => (options.client ?? client).get(
|
|
|
922
922
|
url: "/api/0/organizations/{organization_id_or_slug}/detectors/",
|
|
923
923
|
...options
|
|
924
924
|
});
|
|
925
|
-
var createAMonitorForAProject = (options) => (options.client ?? client).post({
|
|
926
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
927
|
-
url: "/api/0/organizations/{organization_id_or_slug}/detectors/",
|
|
928
|
-
...options,
|
|
929
|
-
headers: {
|
|
930
|
-
"Content-Type": "application/json",
|
|
931
|
-
...options.headers
|
|
932
|
-
}
|
|
933
|
-
});
|
|
934
925
|
var mutateAnOrganization_sMonitors = (options) => (options.client ?? client).put({
|
|
935
926
|
security: [{ scheme: "bearer", type: "http" }],
|
|
936
927
|
url: "/api/0/organizations/{organization_id_or_slug}/detectors/",
|
|
@@ -1290,6 +1281,15 @@ var listAnOrganization_sProjects = (options) => (options.client ?? client).get({
|
|
|
1290
1281
|
url: "/api/0/organizations/{organization_id_or_slug}/projects/",
|
|
1291
1282
|
...options
|
|
1292
1283
|
});
|
|
1284
|
+
var createAMonitorForAProject = (options) => (options.client ?? client).post({
|
|
1285
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1286
|
+
url: "/api/0/organizations/{organization_id_or_slug}/projects/{project_id_or_slug}/detectors/",
|
|
1287
|
+
...options,
|
|
1288
|
+
headers: {
|
|
1289
|
+
"Content-Type": "application/json",
|
|
1290
|
+
...options.headers
|
|
1291
|
+
}
|
|
1292
|
+
});
|
|
1293
1293
|
var listAnOrganization_sTrustedRelays = (options) => (options.client ?? client).get({
|
|
1294
1294
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1295
1295
|
url: "/api/0/organizations/{organization_id_or_slug}/relay_usage/",
|
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -283,12 +283,6 @@ export declare const bulkDeleteMonitors: <ThrowOnError extends boolean = false>(
|
|
|
283
283
|
* List an Organization's Monitors
|
|
284
284
|
*/
|
|
285
285
|
export declare const fetchAnOrganization_sMonitors: <ThrowOnError extends boolean = false>(options: Options<FetchAnOrganizationSMonitorsData, ThrowOnError>) => import("./client").RequestResult<FetchAnOrganizationSMonitorsResponses, FetchAnOrganizationSMonitorsErrors, ThrowOnError, "fields">;
|
|
286
|
-
/**
|
|
287
|
-
* ⚠️ This endpoint is currently in **beta** and may be subject to change. It is supported by [New Monitors and Alerts](/product/new-monitors-and-alerts/) and may not be viewable in the UI today.
|
|
288
|
-
*
|
|
289
|
-
* Create a Monitor for a project
|
|
290
|
-
*/
|
|
291
|
-
export declare const createAMonitorForAProject: <ThrowOnError extends boolean = false>(options: Options<CreateAMonitorForAProjectData, ThrowOnError>) => import("./client").RequestResult<CreateAMonitorForAProjectResponses, CreateAMonitorForAProjectErrors, ThrowOnError, "fields">;
|
|
292
286
|
/**
|
|
293
287
|
* ⚠️ This endpoint is currently in **beta** and may be subject to change. It is supported by [New Monitors and Alerts](/product/new-monitors-and-alerts/) and may not be viewable in the UI today.
|
|
294
288
|
*
|
|
@@ -718,6 +712,12 @@ export declare const listAnOrganization_sClientKeys: <ThrowOnError extends boole
|
|
|
718
712
|
* Return a list of projects bound to a organization.
|
|
719
713
|
*/
|
|
720
714
|
export declare const listAnOrganization_sProjects: <ThrowOnError extends boolean = false>(options: Options<ListAnOrganizationSProjectsData, ThrowOnError>) => import("./client").RequestResult<ListAnOrganizationSProjectsResponses, ListAnOrganizationSProjectsErrors, ThrowOnError, "fields">;
|
|
715
|
+
/**
|
|
716
|
+
* ⚠️ This endpoint is currently in **beta** and may be subject to change. It is supported by [New Monitors and Alerts](/product/new-monitors-and-alerts/) and may not be viewable in the UI today.
|
|
717
|
+
*
|
|
718
|
+
* Create a Monitor for a project
|
|
719
|
+
*/
|
|
720
|
+
export declare const createAMonitorForAProject: <ThrowOnError extends boolean = false>(options: Options<CreateAMonitorForAProjectData, ThrowOnError>) => import("./client").RequestResult<CreateAMonitorForAProjectResponses, CreateAMonitorForAProjectErrors, ThrowOnError, "fields">;
|
|
721
721
|
/**
|
|
722
722
|
* Return a list of trusted relays bound to an organization.
|
|
723
723
|
*/
|