@haakco/custd-sdk 0.0.0-stage → 3.71.1
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 +958 -2
- package/dist/admin-accounting-evidence.d.ts +48 -0
- package/dist/admin-accounting-evidence.js +24 -0
- package/dist/admin-app-releases.d.ts +116 -0
- package/dist/admin-app-releases.js +8 -0
- package/dist/admin-apps.d.ts +120 -0
- package/dist/admin-apps.js +47 -0
- package/dist/admin-auth-project-domain.d.ts +125 -0
- package/dist/admin-auth-project-domain.js +37 -0
- package/dist/admin-auth-projects.d.ts +989 -0
- package/dist/admin-auth-projects.js +527 -0
- package/dist/admin-campaign-email.d.ts +120 -0
- package/dist/admin-campaign-email.js +64 -0
- package/dist/admin-client-setup.d.ts +122 -0
- package/dist/admin-client-setup.js +408 -0
- package/dist/admin-data-labels.d.ts +124 -0
- package/dist/admin-data-labels.js +51 -0
- package/dist/admin-data-scopes.d.ts +93 -0
- package/dist/admin-data-scopes.js +154 -0
- package/dist/admin-email-relay.d.ts +66 -0
- package/dist/admin-email-relay.js +25 -0
- package/dist/admin-environment-policy.d.ts +32 -0
- package/dist/admin-environment-policy.js +26 -0
- package/dist/admin-error-issues.d.ts +91 -0
- package/dist/admin-error-issues.js +52 -0
- package/dist/admin-event-types.d.ts +57 -0
- package/dist/admin-event-types.js +28 -0
- package/dist/admin-impersonation.d.ts +48 -0
- package/dist/admin-impersonation.js +27 -0
- package/dist/admin-ingest-claims.d.ts +35 -0
- package/dist/admin-ingest-claims.js +26 -0
- package/dist/admin-managed-audit.d.ts +13 -0
- package/dist/admin-managed-audit.js +13 -0
- package/dist/admin-measurement-projects.d.ts +166 -0
- package/dist/admin-measurement-projects.js +120 -0
- package/dist/admin-notification-destinations.d.ts +31 -0
- package/dist/admin-notification-destinations.js +19 -0
- package/dist/admin-notification-webhooks.d.ts +64 -0
- package/dist/admin-notification-webhooks.js +42 -0
- package/dist/admin-oauth-client-admissions.d.ts +65 -0
- package/dist/admin-oauth-client-admissions.js +46 -0
- package/dist/admin-offboarding.d.ts +123 -0
- package/dist/admin-offboarding.js +129 -0
- package/dist/admin-predictions.d.ts +266 -0
- package/dist/admin-predictions.js +93 -0
- package/dist/admin-privacy-erasures.d.ts +74 -0
- package/dist/admin-privacy-erasures.js +73 -0
- package/dist/admin-retention.d.ts +99 -0
- package/dist/admin-retention.js +60 -0
- package/dist/admin-rls.d.ts +94 -0
- package/dist/admin-rls.js +33 -0
- package/dist/admin-sdk-usage.d.ts +41 -0
- package/dist/admin-sdk-usage.js +23 -0
- package/dist/admin-site-ai.d.ts +72 -0
- package/dist/admin-site-ai.js +1 -0
- package/dist/admin-site-analytics.d.ts +52 -0
- package/dist/admin-site-analytics.js +14 -0
- package/dist/admin-site-audit-pages.d.ts +76 -0
- package/dist/admin-site-audit-pages.js +27 -0
- package/dist/admin-site-campaign-links.d.ts +40 -0
- package/dist/admin-site-campaign-links.js +9 -0
- package/dist/admin-site-domains.d.ts +733 -0
- package/dist/admin-site-domains.js +768 -0
- package/dist/admin-site-export.d.ts +76 -0
- package/dist/admin-site-export.js +15 -0
- package/dist/admin-site-insights-tasks.d.ts +44 -0
- package/dist/admin-site-insights-tasks.js +28 -0
- package/dist/admin-site-insights.d.ts +527 -0
- package/dist/admin-site-insights.js +61 -0
- package/dist/admin-site-links.d.ts +87 -0
- package/dist/admin-site-links.js +16 -0
- package/dist/admin-site-monitors.d.ts +110 -0
- package/dist/admin-site-monitors.js +25 -0
- package/dist/admin-site-next-actions.d.ts +93 -0
- package/dist/admin-site-next-actions.js +36 -0
- package/dist/admin-site-page-queries.d.ts +63 -0
- package/dist/admin-site-page-queries.js +20 -0
- package/dist/admin-site-rankings.d.ts +98 -0
- package/dist/admin-site-rankings.js +46 -0
- package/dist/admin-site-regional-trends.d.ts +30 -0
- package/dist/admin-site-regional-trends.js +1 -0
- package/dist/admin-site-saved-reports.d.ts +45 -0
- package/dist/admin-site-saved-reports.js +13 -0
- package/dist/admin-site-search-pool.d.ts +77 -0
- package/dist/admin-site-search-pool.js +41 -0
- package/dist/admin-site-search-value.d.ts +97 -0
- package/dist/admin-site-search-value.js +29 -0
- package/dist/admin-site-status-page.d.ts +57 -0
- package/dist/admin-site-status-page.js +10 -0
- package/dist/admin-site-traffic.d.ts +145 -0
- package/dist/admin-site-traffic.js +32 -0
- package/dist/admin-site-web-data.d.ts +258 -0
- package/dist/admin-site-web-data.js +60 -0
- package/dist/admin-subject-exports.d.ts +79 -0
- package/dist/admin-subject-exports.js +44 -0
- package/dist/admin-support-access.d.ts +32 -0
- package/dist/admin-support-access.js +21 -0
- package/dist/admin-system.d.ts +283 -0
- package/dist/admin-system.js +65 -0
- package/dist/admin-tenant-storage.d.ts +35 -0
- package/dist/admin-tenant-storage.js +24 -0
- package/dist/admin-timeplans.d.ts +512 -0
- package/dist/admin-timeplans.js +200 -0
- package/dist/admin-uncertainty-models.d.ts +42 -0
- package/dist/admin-uncertainty-models.js +53 -0
- package/dist/admin-usage.d.ts +124 -0
- package/dist/admin-usage.js +169 -0
- package/dist/admin-users.d.ts +124 -0
- package/dist/admin-users.js +82 -0
- package/dist/admin-workflow-timings.d.ts +367 -0
- package/dist/admin-workflow-timings.js +117 -0
- package/dist/analytics-events.d.ts +167 -0
- package/dist/analytics-events.js +197 -0
- package/dist/analytics-reads.d.ts +81 -0
- package/dist/analytics-reads.js +5 -0
- package/dist/app-account.d.ts +84 -0
- package/dist/app-account.js +177 -0
- package/dist/app-alerts.d.ts +120 -0
- package/dist/app-alerts.js +44 -0
- package/dist/app-items.d.ts +786 -0
- package/dist/app-items.js +524 -0
- package/dist/app-live.d.ts +84 -0
- package/dist/app-live.js +228 -0
- package/dist/app-meetings.d.ts +95 -0
- package/dist/app-meetings.js +26 -0
- package/dist/app-models.d.ts +271 -0
- package/dist/app-models.js +83 -0
- package/dist/app-push.d.ts +64 -0
- package/dist/app-push.js +178 -0
- package/dist/backend-lifecycle.d.ts +85 -0
- package/dist/backend-lifecycle.js +212 -0
- package/dist/browser-manifest.json +7 -0
- package/dist/browser-script-BWnwDjAC.js +711 -0
- package/dist/browser-script.d.ts +1 -0
- package/dist/browser-script.js +5 -0
- package/dist/browser-sign-in.d.ts +153 -0
- package/dist/browser-sign-in.js +410 -0
- package/dist/browser-tracker.d.ts +142 -0
- package/dist/browser-tracker.js +775 -0
- package/dist/browser-web-vitals.d.ts +22 -0
- package/dist/browser-web-vitals.js +116 -0
- package/dist/browser.d.ts +10 -0
- package/dist/browser.js +10 -0
- package/dist/download-stream.d.ts +16 -0
- package/dist/download-stream.js +55 -0
- package/dist/error-capture.d.ts +62 -0
- package/dist/error-capture.js +168 -0
- package/dist/hosted-app.d.ts +115 -0
- package/dist/hosted-app.js +275 -0
- package/dist/index.d.ts +2324 -0
- package/dist/index.js +2226 -0
- package/dist/ingest-operations.d.ts +483 -0
- package/dist/ingest-operations.js +154 -0
- package/dist/measurement.d.ts +164 -0
- package/dist/measurement.js +104 -0
- package/dist/mobile-adapter.d.ts +25 -0
- package/dist/mobile-adapter.js +57 -0
- package/dist/mobile-context.d.ts +32 -0
- package/dist/mobile-context.js +156 -0
- package/dist/mobile-queue.d.ts +22 -0
- package/dist/mobile-queue.js +73 -0
- package/dist/oauth.d.ts +1 -0
- package/dist/oauth.js +8 -0
- package/dist/parsers.d.ts +149 -0
- package/dist/parsers.js +115 -0
- package/dist/public-reads.d.ts +79 -0
- package/dist/public-reads.js +57 -0
- package/dist/reporting-catalogue.d.ts +264 -0
- package/dist/reporting-catalogue.js +5 -0
- package/dist/reporting-state.d.ts +46 -0
- package/dist/reporting-state.js +76 -0
- package/dist/response-lists.d.ts +16 -0
- package/dist/response-lists.generated.d.ts +7 -0
- package/dist/response-lists.generated.js +1927 -0
- package/dist/response-lists.js +70 -0
- package/dist/response-validation.d.ts +30 -0
- package/dist/response-validation.js +94 -0
- package/dist/runtime-readiness.d.ts +30 -0
- package/dist/runtime-readiness.js +150 -0
- package/dist/schema-registry.d.ts +45 -0
- package/dist/schema-registry.js +9 -0
- package/dist/secure-url.d.ts +4 -0
- package/dist/secure-url.js +23 -0
- package/dist/site-ai-owner.d.ts +34 -0
- package/dist/site-ai-owner.js +99 -0
- package/dist/site-monitor-reports.d.ts +15 -0
- package/dist/site-monitor-reports.js +87 -0
- package/dist/testing/fake-custd.d.ts +150 -0
- package/dist/testing/fake-custd.js +842 -0
- package/dist/testing/fake-results.d.ts +30 -0
- package/dist/testing/fake-results.js +293 -0
- package/dist/testing.d.ts +2 -0
- package/dist/testing.js +3 -0
- package/dist/version.d.ts +10 -0
- package/dist/version.js +10 -0
- package/package.json +57 -4
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
// Reports a domain's own monitors send with only the write credential that create or rotate returned:
|
|
2
|
+
// a scheduled job's heartbeat, and the private uptime probe's observations and pending work. They never
|
|
3
|
+
// carry a Custd client credential.
|
|
4
|
+
import { secureOrLocalUrl } from "./secure-url.js";
|
|
5
|
+
import { SDK_IDENTITY } from "./version.js";
|
|
6
|
+
const heartbeatReportPrefix = "/api/v1/site-heartbeat-reports/";
|
|
7
|
+
const privateUptimeReportPrefix = "/api/v1/site-private-uptime-reports/";
|
|
8
|
+
const maxReceiptBytes = 1024;
|
|
9
|
+
/** Sends a job result and returns the first accepted receipt for that occurrence. */
|
|
10
|
+
export async function submitSiteHeartbeat(destination, report, options) {
|
|
11
|
+
const scheduledFor = Date.parse(report.scheduledFor);
|
|
12
|
+
if (Number.isNaN(scheduledFor) || (report.outcome !== "succeeded" && report.outcome !== "failed")) {
|
|
13
|
+
throw new Error("custd: heartbeat requires a scheduled time and succeeded or failed outcome");
|
|
14
|
+
}
|
|
15
|
+
const response = await sendMonitorRequest(destination, heartbeatReportPrefix, "POST", report, options);
|
|
16
|
+
if (response.status !== 200)
|
|
17
|
+
throw new Error(`custd: heartbeat report returned HTTP ${response.status}`);
|
|
18
|
+
const receipt = await readBoundedJson(response, "heartbeat receipt");
|
|
19
|
+
if (!receipt.receivedAt ||
|
|
20
|
+
Date.parse(receipt.report?.scheduledFor ?? "") !== scheduledFor ||
|
|
21
|
+
receipt.report.outcome !== report.outcome) {
|
|
22
|
+
throw new Error("custd: heartbeat receipt does not match the submitted occurrence");
|
|
23
|
+
}
|
|
24
|
+
return receipt;
|
|
25
|
+
}
|
|
26
|
+
/** Sends one private uptime observation. */
|
|
27
|
+
export async function submitPrivateUptime(destination, report, options) {
|
|
28
|
+
const response = await sendMonitorRequest(destination, privateUptimeReportPrefix, "POST", report, options);
|
|
29
|
+
if (response.status !== 204)
|
|
30
|
+
throw new Error(`custd: uptime report returned HTTP ${response.status}`);
|
|
31
|
+
}
|
|
32
|
+
/** Reads the check queued for the private probe; requestedAt is absent when nothing is pending. */
|
|
33
|
+
export async function getPrivateUptimeWork(destination, options) {
|
|
34
|
+
const response = await sendMonitorRequest(destination, privateUptimeReportPrefix, "GET", undefined, options);
|
|
35
|
+
if (response.status !== 200)
|
|
36
|
+
throw new Error(`custd: uptime work returned HTTP ${response.status}`);
|
|
37
|
+
return readBoundedJson(response, "uptime work");
|
|
38
|
+
}
|
|
39
|
+
async function sendMonitorRequest(destination, prefix, method, body, options) {
|
|
40
|
+
const endpoint = monitorEndpoint(destination, prefix);
|
|
41
|
+
const fetchImpl = destination.fetch ?? fetch;
|
|
42
|
+
return fetchImpl(endpoint, {
|
|
43
|
+
method,
|
|
44
|
+
headers: {
|
|
45
|
+
...(body === undefined ? {} : { "Content-Type": "application/json" }),
|
|
46
|
+
Authorization: `Bearer ${destination.writeToken}`,
|
|
47
|
+
"X-Custd-Sdk": SDK_IDENTITY,
|
|
48
|
+
},
|
|
49
|
+
body: body === undefined ? undefined : JSON.stringify(body),
|
|
50
|
+
redirect: "manual",
|
|
51
|
+
signal: options?.signal,
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
function monitorEndpoint(destination, prefix) {
|
|
55
|
+
const base = secureOrLocalUrl(destination.baseUrl);
|
|
56
|
+
if (base === undefined || base.pathname !== "/")
|
|
57
|
+
throw new Error("custd: site monitor requires an HTTPS API origin");
|
|
58
|
+
const [tenant, monitor, ...rest] = destination.reportPath.startsWith(prefix)
|
|
59
|
+
? destination.reportPath.slice(prefix.length).split("/")
|
|
60
|
+
: [];
|
|
61
|
+
if (rest.length > 0 ||
|
|
62
|
+
!validMonitorSegment(tenant) ||
|
|
63
|
+
!validMonitorSegment(monitor) ||
|
|
64
|
+
destination.writeToken.length !== 64) {
|
|
65
|
+
throw new Error("custd: site monitor requires a report path and write credential");
|
|
66
|
+
}
|
|
67
|
+
return `${base.origin}${destination.reportPath}`;
|
|
68
|
+
}
|
|
69
|
+
function validMonitorSegment(segment) {
|
|
70
|
+
if (!segment)
|
|
71
|
+
return false;
|
|
72
|
+
let decoded;
|
|
73
|
+
try {
|
|
74
|
+
decoded = decodeURIComponent(segment);
|
|
75
|
+
}
|
|
76
|
+
catch {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
return decoded !== "" && decoded !== "." && decoded !== ".." && !/[/\\?#]/.test(decoded);
|
|
80
|
+
}
|
|
81
|
+
async function readBoundedJson(response, label) {
|
|
82
|
+
const text = await response.text();
|
|
83
|
+
if (new TextEncoder().encode(text).byteLength > maxReceiptBytes) {
|
|
84
|
+
throw new Error(`custd: ${label} exceeds ${maxReceiptBytes} bytes`);
|
|
85
|
+
}
|
|
86
|
+
return JSON.parse(text);
|
|
87
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { AppItemsClient } from "../app-items.js";
|
|
2
|
+
import type { BrowserSignIn, SignInSession, SignInStorage } from "../browser-sign-in.js";
|
|
3
|
+
import type { CaptureExceptionRequest } from "../error-capture.js";
|
|
4
|
+
import { type HostedAppCapability, type HostedAppDiscovery, type HostedAppOptions } from "../hosted-app.js";
|
|
5
|
+
export declare const FAKE_CUSTD_ORIGIN = "https://app.custd.test";
|
|
6
|
+
export declare const FAKE_CUSTD_SITE_KEY = "site_pk_fake";
|
|
7
|
+
export declare const FAKE_CUSTD_API_PATH = "/__custd";
|
|
8
|
+
export declare const FAKE_CUSTD_AUTH_PATH = "/__auth";
|
|
9
|
+
/** A request as a browser route interceptor sees it. Header names may use any case. */
|
|
10
|
+
export type FakeCustdRequest = {
|
|
11
|
+
method: string;
|
|
12
|
+
url: string;
|
|
13
|
+
headers: Record<string, string>;
|
|
14
|
+
body: string | null;
|
|
15
|
+
};
|
|
16
|
+
export type FakeCustdResponse = {
|
|
17
|
+
status: number;
|
|
18
|
+
headers: Record<string, string>;
|
|
19
|
+
body?: string;
|
|
20
|
+
};
|
|
21
|
+
/** One answered request, with lowercase header names and the parsed JSON body when there is one. */
|
|
22
|
+
export type FakeCustdRecordedRequest = FakeCustdRequest & {
|
|
23
|
+
path: string;
|
|
24
|
+
json?: unknown;
|
|
25
|
+
};
|
|
26
|
+
/** One event the hosted app's tracker was handed. */
|
|
27
|
+
export type FakeTrackedEvent = {
|
|
28
|
+
eventTypeSlug: string;
|
|
29
|
+
payload?: Record<string, unknown>;
|
|
30
|
+
};
|
|
31
|
+
/** One error the hosted app's error capture was handed; the error itself is reduced to its type, as Custd would. */
|
|
32
|
+
export type FakeCapturedError = {
|
|
33
|
+
exceptionType: string;
|
|
34
|
+
mode?: CaptureExceptionRequest["mode"];
|
|
35
|
+
correlationId?: string;
|
|
36
|
+
};
|
|
37
|
+
export type FakeCustdOptions = {
|
|
38
|
+
/** The app's origin; the API is served under `/__custd` on it. Defaults to `https://app.custd.test`. */
|
|
39
|
+
origin?: string;
|
|
40
|
+
siteKey?: string;
|
|
41
|
+
/** The sign-in public client's id. */
|
|
42
|
+
clientId?: string;
|
|
43
|
+
/** Defaults to every capability: tracking and error capture are recorded, never sent. */
|
|
44
|
+
capabilities?: HostedAppCapability[];
|
|
45
|
+
/** The clock every timestamp and estimate age uses. Defaults to `Date.now`. */
|
|
46
|
+
now?: () => number;
|
|
47
|
+
/** False makes alert email subscriptions refuse with `app_alert_no_verified_email`. */
|
|
48
|
+
signedInUsersHaveVerifiedEmail?: boolean;
|
|
49
|
+
};
|
|
50
|
+
/** Sign-in storage held in memory, for tests that have no `sessionStorage`. */
|
|
51
|
+
export declare function memorySignInStorage(): SignInStorage;
|
|
52
|
+
/** Signs `user` in through the real PKCE flow of `signIn`, against the fake's authorize and token endpoints. */
|
|
53
|
+
export declare function signInWithFake(fake: FakeCustd, signIn: BrowserSignIn, user?: string): Promise<SignInSession>;
|
|
54
|
+
export declare class FakeCustd {
|
|
55
|
+
readonly origin: string;
|
|
56
|
+
readonly apiBaseUrl: string;
|
|
57
|
+
readonly siteKey: string;
|
|
58
|
+
/** Every request the fake answered, oldest first. */
|
|
59
|
+
readonly requests: FakeCustdRecordedRequest[];
|
|
60
|
+
/** Every event the hosted app tracked, oldest first. Page views appear as `page-view`. */
|
|
61
|
+
readonly trackedEvents: FakeTrackedEvent[];
|
|
62
|
+
/** Every error the hosted app captured, oldest first. */
|
|
63
|
+
readonly capturedErrors: FakeCapturedError[];
|
|
64
|
+
private readonly clientId;
|
|
65
|
+
private readonly capabilities;
|
|
66
|
+
private readonly now;
|
|
67
|
+
private readonly verifiedEmail;
|
|
68
|
+
private readonly items;
|
|
69
|
+
private readonly links;
|
|
70
|
+
private readonly codes;
|
|
71
|
+
private readonly routes;
|
|
72
|
+
private sequence;
|
|
73
|
+
private userCount;
|
|
74
|
+
constructor(options?: FakeCustdOptions);
|
|
75
|
+
discovery(): HostedAppDiscovery;
|
|
76
|
+
/** Options for `startHostedApp` (or `CustdHostedAppProvider`) that reach this fake. */
|
|
77
|
+
hostedAppOptions(): HostedAppOptions;
|
|
78
|
+
private recordingTracker;
|
|
79
|
+
private recordingErrorCapture;
|
|
80
|
+
/** A client that reaches this fake; `userToken` is the signed-in user, as the fake names them. */
|
|
81
|
+
appItemsClient(options?: {
|
|
82
|
+
userToken?: string;
|
|
83
|
+
}): AppItemsClient;
|
|
84
|
+
/** Approves a sign-in as `user` (a new user when absent) and returns the redirect back to the app. */
|
|
85
|
+
authorize(authorizationUrl: string, user?: string): string;
|
|
86
|
+
/** The fake as a `fetch`, for the SDK's clients. */
|
|
87
|
+
readonly fetch: typeof fetch;
|
|
88
|
+
/** Answers one request, as a browser route interceptor hands it over. */
|
|
89
|
+
handle(raw: FakeCustdRequest): FakeCustdResponse;
|
|
90
|
+
private dispatch;
|
|
91
|
+
private auth;
|
|
92
|
+
private itemRoutes;
|
|
93
|
+
private resultRoutes;
|
|
94
|
+
private alertRoutes;
|
|
95
|
+
private routeWithId;
|
|
96
|
+
private remove;
|
|
97
|
+
private conditional;
|
|
98
|
+
private caller;
|
|
99
|
+
private linkCaller;
|
|
100
|
+
private owned;
|
|
101
|
+
private touch;
|
|
102
|
+
private change;
|
|
103
|
+
private nextSequence;
|
|
104
|
+
private uuid;
|
|
105
|
+
/** 43 base64url characters, the shape of a real link token. */
|
|
106
|
+
private token;
|
|
107
|
+
private nowIso;
|
|
108
|
+
private create;
|
|
109
|
+
private newItem;
|
|
110
|
+
private issueLinks;
|
|
111
|
+
private newModel;
|
|
112
|
+
private newProject;
|
|
113
|
+
private issue;
|
|
114
|
+
private rotate;
|
|
115
|
+
private revoke;
|
|
116
|
+
private linkOf;
|
|
117
|
+
private itemRead;
|
|
118
|
+
private read;
|
|
119
|
+
private ownership;
|
|
120
|
+
private linksOf;
|
|
121
|
+
private mine;
|
|
122
|
+
private claim;
|
|
123
|
+
private projectOf;
|
|
124
|
+
private meetingOf;
|
|
125
|
+
private settings;
|
|
126
|
+
private complete;
|
|
127
|
+
private setStatus;
|
|
128
|
+
private measure;
|
|
129
|
+
private estimate;
|
|
130
|
+
private addEntry;
|
|
131
|
+
private advance;
|
|
132
|
+
private runForecast;
|
|
133
|
+
private latestForecast;
|
|
134
|
+
private forecastRun;
|
|
135
|
+
private story;
|
|
136
|
+
private saveVersion;
|
|
137
|
+
private modelVersion;
|
|
138
|
+
private copyModel;
|
|
139
|
+
private runModel;
|
|
140
|
+
private calculate;
|
|
141
|
+
private latestModelRun;
|
|
142
|
+
private alertSettings;
|
|
143
|
+
private addRule;
|
|
144
|
+
private addWebhook;
|
|
145
|
+
private addSlack;
|
|
146
|
+
private subscribe;
|
|
147
|
+
private conditionMet;
|
|
148
|
+
private evaluateAlerts;
|
|
149
|
+
private deliver;
|
|
150
|
+
}
|