@forumulate/sdk 0.13.1 → 0.13.3
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/CHANGELOG.md +8 -0
- package/dist/heartbeat.d.ts +12 -2
- package/dist/heartbeat.js +4 -1
- package/dist/http.d.ts +1 -1
- package/dist/http.js +1 -1
- package/dist/operations.gen.d.ts +16 -0
- package/dist/operations.gen.js +9 -7
- package/dist/schema.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
Releases of `@forumulate/sdk`. Earlier versions are described in the git history of
|
|
4
4
|
`packages/sdk` (`release(sdk): …` commits).
|
|
5
5
|
|
|
6
|
+
## 0.13.2
|
|
7
|
+
|
|
8
|
+
- An authenticated write now refuses a query parameter it does not read: `400`
|
|
9
|
+
`request.malformed`, `reason: "unknown_parameter"`, `param` naming it. Nothing is
|
|
10
|
+
written. `dryRun` / `dry_run` / `dryrun` still plan, and link tags (`utm_*`) pass.
|
|
11
|
+
- Manifest `spaces[].description`: one sentence about the space, shorthand for
|
|
12
|
+
`seo.description`.
|
|
13
|
+
|
|
6
14
|
## 0.13.1
|
|
7
15
|
|
|
8
16
|
- Types for the 2026-11-04 batch: the manifest's `readerAuth` is described (its three
|
package/dist/heartbeat.d.ts
CHANGED
|
@@ -2,7 +2,15 @@
|
|
|
2
2
|
* `startHeartbeat` — keep a heartbeat monitor green from a long-running
|
|
3
3
|
* process (FormFlow 2026-11). Three lines replace the copy-pasted ping loop:
|
|
4
4
|
*
|
|
5
|
-
* const stop = startHeartbeat({
|
|
5
|
+
* const stop = startHeartbeat({
|
|
6
|
+
* url: process.env.PING_ENDPOINT!, token: process.env.PING_TOKEN!, everyMs: 60_000,
|
|
7
|
+
* });
|
|
8
|
+
*
|
|
9
|
+
* With `token`, the secret travels as `Authorization: Bearer` and `url` is the
|
|
10
|
+
* monitor's `pingEndpoint`, which holds no secret — so a tracer recording the
|
|
11
|
+
* request URL (OpenTelemetry `url.full`, a crash reporter's breadcrumbs)
|
|
12
|
+
* records nothing that can report the job healthy. Without it, `url` is the
|
|
13
|
+
* path-form `pingUrl`, as before.
|
|
6
14
|
*
|
|
7
15
|
* It never throws and never lets a rejected ping escape as an unhandled
|
|
8
16
|
* rejection: a monitoring helper that crashed the job it watches would be worse
|
|
@@ -18,8 +26,10 @@ export interface HeartbeatCheckResult {
|
|
|
18
26
|
detail?: string;
|
|
19
27
|
}
|
|
20
28
|
export interface StartHeartbeatOptions {
|
|
21
|
-
/** The monitor's `
|
|
29
|
+
/** The monitor's `pingEndpoint` with `token` (preferred), or its `pingUrl`, which holds the secret. */
|
|
22
30
|
url: string;
|
|
31
|
+
/** The monitor's `pingToken`, sent as `Authorization: Bearer`. Keep it in a secret store. */
|
|
32
|
+
token?: string;
|
|
23
33
|
/** Interval between pings. Ping at least once per monitor interval; the monitor goes down after 1.5x. */
|
|
24
34
|
everyMs: number;
|
|
25
35
|
/** Is the job healthy? Throwing is reported as a failed pass. Omit to ping a plain `ok`. */
|
package/dist/heartbeat.js
CHANGED
|
@@ -20,7 +20,10 @@ function startHeartbeat(opts) {
|
|
|
20
20
|
return;
|
|
21
21
|
const res = await doFetch(opts.url, {
|
|
22
22
|
method: 'POST',
|
|
23
|
-
headers: {
|
|
23
|
+
headers: {
|
|
24
|
+
'content-type': 'application/json',
|
|
25
|
+
...(opts.token ? { authorization: `Bearer ${opts.token}` } : {}),
|
|
26
|
+
},
|
|
24
27
|
body: JSON.stringify(body.ok ? { ok: true } : { ok: false, detail: (body.detail ?? '').slice(0, 500) }),
|
|
25
28
|
signal: AbortSignal.timeout(timeoutMs),
|
|
26
29
|
});
|
package/dist/http.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* and not another.
|
|
7
7
|
*/
|
|
8
8
|
/** Kept in step with package.json by `coverage.test.ts`. */
|
|
9
|
-
export declare const SDK_VERSION = "0.13.
|
|
9
|
+
export declare const SDK_VERSION = "0.13.3";
|
|
10
10
|
/** The API's error envelope: `{ error: { code, message, details? }, requestId? }`. */
|
|
11
11
|
export interface ForumulateErrorInit {
|
|
12
12
|
/** Field-level detail, e.g. `{ title: ['Required'] }` for `validation.failed`. */
|
package/dist/http.js
CHANGED
|
@@ -11,7 +11,7 @@ exports.EXPORT_WAIT_MS = exports.ForumulateError = exports.SDK_VERSION = void 0;
|
|
|
11
11
|
exports.retryDelayMs = retryDelayMs;
|
|
12
12
|
exports.send = send;
|
|
13
13
|
/** Kept in step with package.json by `coverage.test.ts`. */
|
|
14
|
-
exports.SDK_VERSION = '0.13.
|
|
14
|
+
exports.SDK_VERSION = '0.13.3';
|
|
15
15
|
/**
|
|
16
16
|
* Thrown for any non-2xx API response, and for a network failure that
|
|
17
17
|
* outlived its retries (`status: 0`, `code: 'network.error'`). Mirrors the
|
package/dist/operations.gen.d.ts
CHANGED
|
@@ -1291,6 +1291,8 @@ export declare const OPERATIONS: {
|
|
|
1291
1291
|
readonly Import: readonly ["docs.import", {
|
|
1292
1292
|
readonly importHelpdesk: "POST ~s/docs/import/helpdesk";
|
|
1293
1293
|
readonly dedupeTitles: "POST ~s/docs/import/dedupe-titles";
|
|
1294
|
+
readonly convert: "POST ~s/docs/import/convert";
|
|
1295
|
+
readonly compare: "POST ~s/docs/import/compare";
|
|
1294
1296
|
readonly importFiles: "POST ~s/docs/import";
|
|
1295
1297
|
readonly importZip: "POST ~s/docs/import/zip m";
|
|
1296
1298
|
readonly importUrl: "POST ~s/docs/import/url";
|
|
@@ -2329,6 +2331,11 @@ export declare const OPERATIONS: {
|
|
|
2329
2331
|
readonly apply: "POST ~o/legal/clause-updates/{generationId}/apply";
|
|
2330
2332
|
readonly dismiss: "POST ~o/legal/clause-updates/{generationId}/dismiss";
|
|
2331
2333
|
}];
|
|
2334
|
+
readonly LegalPreview: readonly ["legal.preview", {
|
|
2335
|
+
readonly preview: "GET ~o/legal/acceptance-preview";
|
|
2336
|
+
readonly remove: "DELETE ~o/legal/preview/{kind}";
|
|
2337
|
+
readonly delete: "=remove DELETE ~o/legal/preview/{kind}";
|
|
2338
|
+
}];
|
|
2332
2339
|
readonly LegalPublic: readonly ["legal.public", {
|
|
2333
2340
|
readonly list: "GET /public/orgs/{orgId}/legal";
|
|
2334
2341
|
readonly accept: "POST /public/orgs/{orgId}/legal/{kind}/accept";
|
|
@@ -2411,6 +2418,7 @@ export declare const OPERATIONS: {
|
|
|
2411
2418
|
readonly connect: "PUT ~o/mail/provider";
|
|
2412
2419
|
readonly patch: "PATCH ~o/mail/provider";
|
|
2413
2420
|
readonly disconnect: "DELETE ~o/mail/provider";
|
|
2421
|
+
readonly domain: "GET ~o/mail/provider/domain";
|
|
2414
2422
|
readonly test: "POST ~o/mail/provider/test";
|
|
2415
2423
|
readonly update: "=patch PATCH ~o/mail/provider";
|
|
2416
2424
|
}];
|
|
@@ -3279,6 +3287,9 @@ export declare const OPERATIONS: {
|
|
|
3279
3287
|
readonly delete: "=remove DELETE ~o/referrals/providers/{provider}";
|
|
3280
3288
|
readonly update: "=patch PATCH ~o/referrals/providers/{provider}";
|
|
3281
3289
|
}];
|
|
3290
|
+
readonly ReleaseFromGithub: readonly ["releaseFromGithub", {
|
|
3291
|
+
readonly fromGithub: "POST ~s/releases/from-github";
|
|
3292
|
+
}];
|
|
3282
3293
|
readonly Reports: readonly ["reports", {
|
|
3283
3294
|
readonly catalog: "GET ~o/reports p";
|
|
3284
3295
|
readonly healthIndex: "GET ~o/reports/health";
|
|
@@ -3832,6 +3843,7 @@ export declare const OPERATIONS: {
|
|
|
3832
3843
|
}];
|
|
3833
3844
|
readonly StatusAuthoring: readonly ["status.authoring", {
|
|
3834
3845
|
readonly pingUrl: "GET ~s/status/monitors/{monitorId}/ping-url";
|
|
3846
|
+
readonly rotatePingSecret: "POST ~s/status/monitors/{monitorId}/ping-url/rotate";
|
|
3835
3847
|
readonly regions: "GET ~s/status/regions";
|
|
3836
3848
|
readonly reorder: "PUT ~s/status/monitors/order";
|
|
3837
3849
|
readonly editUpdate: "PATCH ~s/status/incidents/{incidentId}/updates/{updateId}";
|
|
@@ -3859,6 +3871,7 @@ export declare const OPERATIONS: {
|
|
|
3859
3871
|
readonly StatusHeartbeat: readonly ["status.heartbeat", {
|
|
3860
3872
|
readonly pingGet: "GET /status/ping/{monitorId}/{token}";
|
|
3861
3873
|
readonly pingPost: "POST /status/ping/{monitorId}/{token}";
|
|
3874
|
+
readonly pingHeader: "POST /status/ping/{monitorId}";
|
|
3862
3875
|
}];
|
|
3863
3876
|
readonly StatusIntegrations: readonly ["status.integrations", {
|
|
3864
3877
|
readonly listAlerts: "GET ~s/status/alerts p";
|
|
@@ -3866,6 +3879,7 @@ export declare const OPERATIONS: {
|
|
|
3866
3879
|
readonly listInbound: "GET ~s/status/inbound p";
|
|
3867
3880
|
readonly createInbound: "POST ~s/status/inbound";
|
|
3868
3881
|
readonly removeInbound: "DELETE ~s/status/inbound/{hookId}";
|
|
3882
|
+
readonly rotateInbound: "POST ~s/status/inbound/{hookId}/rotate";
|
|
3869
3883
|
}];
|
|
3870
3884
|
readonly StatusMetrics: readonly ["status.metrics", {
|
|
3871
3885
|
readonly list: "GET ~s/status/metrics p";
|
|
@@ -3920,6 +3934,7 @@ export declare const OPERATIONS: {
|
|
|
3920
3934
|
readonly bannerJs: "GET ~P/status/banner.js";
|
|
3921
3935
|
}];
|
|
3922
3936
|
readonly PublicStatusHooks: readonly ["status.publicHooks", {
|
|
3937
|
+
readonly receiveBearer: "POST /public/status-hooks";
|
|
3923
3938
|
readonly receive: "POST /public/status-hooks/{token}";
|
|
3924
3939
|
}];
|
|
3925
3940
|
readonly PublicStatusIncidents: readonly ["status.publicIncidents", {
|
|
@@ -3952,6 +3967,7 @@ export declare const OPERATIONS: {
|
|
|
3952
3967
|
readonly update: "PUT ~P/status/subscription";
|
|
3953
3968
|
}];
|
|
3954
3969
|
readonly StatusRestart: readonly ["status.restart", {
|
|
3970
|
+
readonly reportHeader: "POST /status/restart/{monitorId}";
|
|
3955
3971
|
readonly report: "POST /status/restart/{monitorId}/{token}";
|
|
3956
3972
|
}];
|
|
3957
3973
|
readonly StatusSlack: readonly ["status.slack", {
|
package/dist/operations.gen.js
CHANGED
|
@@ -179,7 +179,7 @@ exports.OPERATIONS = {
|
|
|
179
179
|
DeliverySite: ['delivery.site', { routes: 'GET /delivery/v1/libraries/{libraryId}/routes p', routesByKey: 'GET /delivery/v1/k/{keyId}/routes p', resolve: 'GET /delivery/v1/libraries/{libraryId}/routes/resolve', resolveByKey: 'GET /delivery/v1/k/{keyId}/routes/resolve', redirects: 'GET /delivery/v1/libraries/{libraryId}/redirects p', redirectsByKey: 'GET /delivery/v1/k/{keyId}/redirects p', sitemap: 'GET /delivery/v1/libraries/{libraryId}/sitemap.json p', sitemapByKey: 'GET /delivery/v1/k/{keyId}/sitemap.json p', search: 'GET /delivery/v1/libraries/{libraryId}/search p', searchByKey: 'GET /delivery/v1/k/{keyId}/search p' }],
|
|
180
180
|
ContentRule: ['docs.contentRules', { list: 'GET ~o/content-rules p', create: 'POST ~o/content-rules', remove: 'DELETE ~o/content-rules/{id}', delete: '=remove DELETE ~o/content-rules/{id}' }],
|
|
181
181
|
Discovery: ['docs.discovery', { analyticsSummary: 'GET ~s/docs/analytics', feedbackComments: 'GET ~s/docs/feedback p', feedbackCsv: 'GET ~s/docs/feedback.csv', llmsFull: 'GET ~s/docs/llms-full.txt', tags: 'GET ~s/docs/tags p', tagPages: 'GET ~s/docs/tags/{tag} p', skillMd: 'GET ~s/docs/skill.md', llmsTxt: 'GET ~s/docs/llms.txt', pageMarkdown: 'GET ~s/pages/{pageId}/markdown t', draftMarkdown: 'GET ~s/pages/{pageId}/draft/markdown', checkLinks: 'POST ~s/docs/check-links', emptySections: 'GET ~s/docs/empty-sections p', orphans: 'GET ~s/docs/orphans', backlinks: 'GET ~s/pages/{pageId}/backlinks p', stale: 'GET ~s/docs/stale p' }],
|
|
182
|
-
Import: ['docs.import', { importHelpdesk: 'POST ~s/docs/import/helpdesk', dedupeTitles: 'POST ~s/docs/import/dedupe-titles', importFiles: 'POST ~s/docs/import', importZip: 'POST ~s/docs/import/zip m', importUrl: 'POST ~s/docs/import/url', importDocx: 'POST ~s/docs/import/docx m' }],
|
|
182
|
+
Import: ['docs.import', { importHelpdesk: 'POST ~s/docs/import/helpdesk', dedupeTitles: 'POST ~s/docs/import/dedupe-titles', convert: 'POST ~s/docs/import/convert', compare: 'POST ~s/docs/import/compare', importFiles: 'POST ~s/docs/import', importZip: 'POST ~s/docs/import/zip m', importUrl: 'POST ~s/docs/import/url', importDocx: 'POST ~s/docs/import/docx m' }],
|
|
183
183
|
Search: ['docs.search', { run: 'GET ~s/docs/search' }],
|
|
184
184
|
Translation: ['docs.translations', { list: 'GET ~s/docs/locales p', create: 'POST ~s/docs/locales', update: 'PATCH ~s/docs/locales/{code}', remove: 'DELETE ~s/docs/locales/{code}', delete: '=remove DELETE ~s/docs/locales/{code}' }],
|
|
185
185
|
TranslationCoverage: ['docs.translationsCoverage', { coverage: 'GET ~s/translations' }],
|
|
@@ -319,6 +319,7 @@ exports.OPERATIONS = {
|
|
|
319
319
|
Jobs: ['jobs', { list: 'GET ~o/jobs p', get: 'GET ~o/jobs/{jobId}' }],
|
|
320
320
|
Keys: ['keys', { keys: 'GET /v1/keys p', revokeLeaked: 'POST /v1/keys/revoke_leaked', revokeLink: 'POST /v1/keys/revoke-link' }],
|
|
321
321
|
LegalPolicy: ['legal.policy', { generate: 'POST ~s/legal/policies', updates: 'GET ~o/legal/clause-updates p', apply: 'POST ~o/legal/clause-updates/{generationId}/apply', dismiss: 'POST ~o/legal/clause-updates/{generationId}/dismiss' }],
|
|
322
|
+
LegalPreview: ['legal.preview', { preview: 'GET ~o/legal/acceptance-preview', remove: 'DELETE ~o/legal/preview/{kind}', delete: '=remove DELETE ~o/legal/preview/{kind}' }],
|
|
322
323
|
LegalPublic: ['legal.public', { list: 'GET /public/orgs/{orgId}/legal', accept: 'POST /public/orgs/{orgId}/legal/{kind}/accept', versions: 'GET /public/orgs/{orgId}/legal/{kind}/versions', edition: 'GET /public/orgs/{orgId}/legal/{kind}/versions/{edition}', diff: 'GET /public/orgs/{orgId}/legal/{kind}/diff', rss: 'GET /public/orgs/{orgId}/legal/rss.xml', atom: 'GET /public/orgs/{orgId}/legal/atom.xml', jsonFeed: 'GET /public/orgs/{orgId}/legal/feed.json', trust: 'GET /public/orgs/{orgId}/legal/trust.json', subprocessors: 'GET /public/orgs/{orgId}/legal/{kind}/subprocessors', get: 'GET /public/orgs/{orgId}/legal/{kind}' }],
|
|
323
324
|
PublicLegalTrust: ['legal.publicTrust', { editionComments: 'GET /public/orgs/{orgId}/trust/editions/{kind}/next/comments p', comment: 'POST /public/orgs/{orgId}/trust/editions/{kind}/next/comments', privacyRequest: 'POST /public/orgs/{orgId}/trust/privacy-requests', request: 'POST /public/orgs/{orgId}/trust/access-requests', open: 'GET /public/orgs/{orgId}/trust/access/{token}', watermarked: 'GET /public/orgs/{orgId}/trust/access/{token}/document.pdf b', securityTxt: 'GET /public/orgs/{orgId}/trust/security.txt t' }],
|
|
324
325
|
ReaderLegalGate: ['legal.readerGate', { status: 'GET ~P/legal-gate', accept: 'POST ~P/legal-gate/{kind}/accept' }],
|
|
@@ -332,7 +333,7 @@ exports.OPERATIONS = {
|
|
|
332
333
|
LtiDeepLink: ['ltiDeepLink', { answer: 'POST ~o/lti/deep-link t' }],
|
|
333
334
|
MailAdmin: ['mail.admin', { list: 'GET ~o/mail/suppressions p', suppress: 'POST ~o/mail/suppressions', unsuppress: 'DELETE ~o/mail/suppressions', log: 'GET ~o/mail/log p', check: 'GET ~o/mail/suppression' }],
|
|
334
335
|
MailEvents: ['mail.events', { ingest: 'POST /mail/events' }],
|
|
335
|
-
MailProvider: ['mail.provider', { status: 'GET ~o/mail/provider', connect: 'PUT ~o/mail/provider', patch: 'PATCH ~o/mail/provider', disconnect: 'DELETE ~o/mail/provider', test: 'POST ~o/mail/provider/test', update: '=patch PATCH ~o/mail/provider' }],
|
|
336
|
+
MailProvider: ['mail.provider', { status: 'GET ~o/mail/provider', connect: 'PUT ~o/mail/provider', patch: 'PATCH ~o/mail/provider', disconnect: 'DELETE ~o/mail/provider', domain: 'GET ~o/mail/provider/domain', test: 'POST ~o/mail/provider/test', update: '=patch PATCH ~o/mail/provider' }],
|
|
336
337
|
EmailTemplates: ['mail.templates', { list: 'GET ~o/email-templates p', get: 'GET ~o/email-templates/{key}', save: 'PUT ~o/email-templates/{key}', reset: 'DELETE ~o/email-templates/{key}', preview: 'POST ~o/email-templates/{key}/preview', test: 'POST ~o/email-templates/{key}/test' }],
|
|
337
338
|
Unsubscribe: ['mail.unsubscribe', { oneClick: 'POST /mail/unsubscribe', page: 'GET /mail/unsubscribe t' }],
|
|
338
339
|
MailWebhook: ['mail.webhook', { ingest: 'POST /mail/webhooks/{provider}/{orgId}/{token}' }],
|
|
@@ -464,6 +465,7 @@ exports.OPERATIONS = {
|
|
|
464
465
|
VisitorOidc: ['readers.visitorOidc', { redeemJwtPost: 'POST ~P/reader-auth/jwt', redeemJwtGet: 'GET ~P/reader-auth/jwt', start: 'GET ~P/visitor-oidc/start', callback: 'GET /public/visitor-oidc/callback', adopt: 'GET /public/visitor-oidc/adopt' }],
|
|
465
466
|
RedirectManager: ['redirectManager', { exportSpace: 'GET ~s/redirects.csv t', importSpace: 'POST ~s/redirects/import', notFoundReport: 'GET ~s/redirects/not-found', dismiss: 'DELETE ~s/redirects/not-found', exportSite: 'GET ~o/sites/{siteId}/redirects.csv t', importSite: 'POST ~o/sites/{siteId}/redirects/import' }],
|
|
466
467
|
Referrals: ['referrals', { presets: 'GET ~o/referrals/presets p', list: 'GET ~o/referrals/providers p', get: 'GET ~o/referrals/providers/{provider}', put: 'PUT ~o/referrals/providers/{provider}', patch: 'PATCH ~o/referrals/providers/{provider}', remove: 'DELETE ~o/referrals/providers/{provider}', verify: 'POST ~o/referrals/providers/{provider}/verify', delete: '=remove DELETE ~o/referrals/providers/{provider}', update: '=patch PATCH ~o/referrals/providers/{provider}' }],
|
|
468
|
+
ReleaseFromGithub: ['releaseFromGithub', { fromGithub: 'POST ~s/releases/from-github' }],
|
|
467
469
|
Reports: ['reports', { catalog: 'GET ~o/reports p', healthIndex: 'GET ~o/reports/health', membersCsv: 'GET ~o/reports/members.csv t', reportCsv: 'GET ~o/reports/{report}/export.csv t' }],
|
|
468
470
|
Resolve: ['resolve', { resolve: 'GET /resolve' }],
|
|
469
471
|
Roadmap: ['roadmap', { setLaneOrder: 'PUT ~s/roadmap/lanes/{status}/order', board: 'GET ~s/roadmap p', submit: 'POST ~s/roadmap', get: 'GET ~s/roadmap/{topicId}', update: 'PATCH ~s/roadmap/{topicId}', vote: 'POST ~s/roadmap/{topicId}/vote', comment: 'POST ~s/roadmap/{topicId}/comments', proxyVotes: 'GET ~s/roadmap/{topicId}/proxy-votes p', recordProxyVote: 'POST ~s/roadmap/{topicId}/proxy-votes', removeProxyVote: 'DELETE ~s/roadmap/{topicId}/proxy-votes/{voteId}', merge: 'POST ~s/roadmap/{topicId}/merge', setStatus: 'POST ~s/roadmap/{topicId}/status' }],
|
|
@@ -537,25 +539,25 @@ exports.OPERATIONS = {
|
|
|
537
539
|
ScimAdmin: ['sso.scim', { status: 'GET ~o/scim/token', create: 'POST ~o/scim/token', revoke: 'DELETE ~o/scim/token' }],
|
|
538
540
|
Status: ['status', { updateIncident: 'PATCH ~s/status/incidents/{incidentId}', listChannels: 'GET ~s/status/channels p', addChannel: 'POST ~s/status/channels', removeChannel: 'DELETE ~s/status/channels/{channelId}', monitors: 'GET ~s/status/monitors p', addMonitor: 'POST ~s/status/monitors', updateMonitor: 'PATCH ~s/status/monitors/{monitorId}', removeMonitor: 'DELETE ~s/status/monitors/{monitorId}', getSettings: 'GET ~s/status/settings', setSettings: 'PUT ~s/status/settings', patchSettings: 'PATCH ~s/status/settings', getGroups: 'GET ~s/status/groups p', setGroups: 'PUT ~s/status/groups', patchGroups: 'PATCH ~s/status/groups', board: 'GET ~s/status/board', createIncident: 'POST ~s/status/incidents', addIncidentUpdate: 'POST ~s/status/incidents/{incidentId}/updates' }],
|
|
539
541
|
StatusAccess: ['status.access', { read: 'GET ~s/status/access p', write: 'PUT ~s/status/access', patch: 'PATCH ~s/status/access', get: '=read GET ~s/status/access p', update: '=patch PATCH ~s/status/access' }],
|
|
540
|
-
StatusAuthoring: ['status.authoring', { pingUrl: 'GET ~s/status/monitors/{monitorId}/ping-url', regions: 'GET ~s/status/regions', reorder: 'PUT ~s/status/monitors/order', editUpdate: 'PATCH ~s/status/incidents/{incidentId}/updates/{updateId}', deleteUpdate: 'DELETE ~s/status/incidents/{incidentId}/updates/{updateId}', deleteIncident: 'DELETE ~s/status/incidents/{incidentId}' }],
|
|
542
|
+
StatusAuthoring: ['status.authoring', { pingUrl: 'GET ~s/status/monitors/{monitorId}/ping-url', rotatePingSecret: 'POST ~s/status/monitors/{monitorId}/ping-url/rotate', regions: 'GET ~s/status/regions', reorder: 'PUT ~s/status/monitors/order', editUpdate: 'PATCH ~s/status/incidents/{incidentId}/updates/{updateId}', deleteUpdate: 'DELETE ~s/status/incidents/{incidentId}/updates/{updateId}', deleteIncident: 'DELETE ~s/status/incidents/{incidentId}' }],
|
|
541
543
|
StatusDepth: ['status.depth', { listUpstreams: 'GET ~s/upstreams p', replaceUpstreams: 'PUT ~s/upstreams', patchUpstreams: 'PATCH ~s/upstreams', listMirrorGrants: 'GET ~s/status/mirror-grants', replaceMirrorGrants: 'PUT ~s/status/mirror-grants', maintenance: 'POST ~s/status/maintenance', slaReport: 'GET ~s/status/sla-report', slaReportCsv: 'GET ~s/status/sla-report.csv', listEvents: 'GET ~s/status/events p', acknowledge: 'POST ~s/status/events/{eventId}/acknowledge', listKeys: 'GET ~s/status/event-keys p', mintKey: 'POST ~s/status/event-keys', revokeKey: 'DELETE ~s/status/event-keys/{keyId}' }],
|
|
542
544
|
StatusEventsIngest: ['status.eventsIngest', { ingest: 'POST ~s/status/events' }],
|
|
543
|
-
StatusHeartbeat: ['status.heartbeat', { pingGet: 'GET /status/ping/{monitorId}/{token}', pingPost: 'POST /status/ping/{monitorId}/{token}' }],
|
|
544
|
-
StatusIntegrations: ['status.integrations', { listAlerts: 'GET ~s/status/alerts p', removeAlert: 'DELETE ~s/status/alerts/{alertId}', listInbound: 'GET ~s/status/inbound p', createInbound: 'POST ~s/status/inbound', removeInbound: 'DELETE ~s/status/inbound/{hookId}' }],
|
|
545
|
+
StatusHeartbeat: ['status.heartbeat', { pingGet: 'GET /status/ping/{monitorId}/{token}', pingPost: 'POST /status/ping/{monitorId}/{token}', pingHeader: 'POST /status/ping/{monitorId}' }],
|
|
546
|
+
StatusIntegrations: ['status.integrations', { listAlerts: 'GET ~s/status/alerts p', removeAlert: 'DELETE ~s/status/alerts/{alertId}', listInbound: 'GET ~s/status/inbound p', createInbound: 'POST ~s/status/inbound', removeInbound: 'DELETE ~s/status/inbound/{hookId}', rotateInbound: 'POST ~s/status/inbound/{hookId}/rotate' }],
|
|
545
547
|
StatusMetrics: ['status.metrics', { list: 'GET ~s/status/metrics p', upsert: 'PUT ~s/status/metrics/{key}', remove: 'DELETE ~s/status/metrics/{key}', push: 'POST ~s/status/metrics/{key}/points', delete: '=remove DELETE ~s/status/metrics/{key}' }],
|
|
546
548
|
StatusOps: ['status.ops', { startImport: 'POST ~s/status/imports', getImport: 'GET ~s/status/imports/{importId}', metricSource: 'PUT ~s/status/metrics/{key}/source', addCredentialChannel: 'POST ~s/status/channels/credential', integrations: 'GET ~s/status/integrations p', setIntegration: 'PUT ~s/status/integrations/{kind}', removeIntegration: 'DELETE ~s/status/integrations/{kind}', schedules: 'GET ~s/status/oncall p', addSchedule: 'POST ~s/status/oncall', updateSchedule: 'PUT ~s/status/oncall/{scheduleId}', removeSchedule: 'DELETE ~s/status/oncall/{scheduleId}', publish: 'POST ~s/status/incidents/{incidentId}/publish', postmortem: 'PUT ~s/status/incidents/{incidentId}/postmortem', draftUpdate: 'POST ~s/status/incidents/{incidentId}/draft-update' }],
|
|
547
549
|
PublicStatus: ['status.public', { subscribe: 'POST ~P/status/subscribe', board: 'GET ~P/status', uptimeCsv: 'GET ~P/status/uptime.csv', badge: 'GET ~P/status/badge.svg', summary: 'GET ~P/status/summary.json', rss: 'GET ~P/status/rss.xml', atom: 'GET ~P/status/atom.xml', jsonFeed: 'GET ~P/status/feed.json', maintenanceIcs: 'GET ~P/status/maintenance.ics' }],
|
|
548
550
|
PublicStatusAccess: ['status.publicAccess', { facts: 'GET ~P/status/access', check: 'GET ~P/status/access/check' }],
|
|
549
551
|
PublicStatusAlerts: ['status.publicAlerts', { options: 'GET ~P/status/alerts p', start: 'POST ~P/status/alerts', verify: 'POST ~P/status/alerts/{alertId}/verify', unsubscribe: 'POST ~P/status/alerts/{alertId}/unsubscribe' }],
|
|
550
552
|
PublicStatusEmbeds: ['status.publicEmbeds', { day: 'GET ~P/status/day.json', latency: 'GET ~P/status/latency', metricSeries: 'GET ~P/status/metrics', widgetJson: 'GET ~P/status/widget.json', widgetJs: 'GET ~P/status/widget.js', bannerJs: 'GET ~P/status/banner.js' }],
|
|
551
|
-
PublicStatusHooks: ['status.publicHooks', { receive: 'POST /public/status-hooks/{token}' }],
|
|
553
|
+
PublicStatusHooks: ['status.publicHooks', { receiveBearer: 'POST /public/status-hooks', receive: 'POST /public/status-hooks/{token}' }],
|
|
552
554
|
PublicStatusIncidents: ['status.publicIncidents', { archive: 'GET ~P/status/incidents', card: 'GET ~P/status/incidents/{incidentId}/social-card.png b', one: 'GET ~P/status/incidents/{incidentId}' }],
|
|
553
555
|
PublicStatusOncall: ['status.publicOncall', { ackGet: 'GET /public/status/oncall/ack/{token}', ack: 'POST /public/status/oncall/ack/{token}' }],
|
|
554
556
|
PublicStatuspage: ['status.publicPage', { summary: 'GET ~P/status/api/v2/summary.json', status: 'GET ~P/status/api/v2/status.json', components: 'GET ~P/status/api/v2/components.json', incidents: 'GET ~P/status/api/v2/incidents.json', unresolved: 'GET ~P/status/api/v2/incidents/unresolved.json', maintenances: 'GET ~P/status/api/v2/scheduled-maintenances.json', upcoming: 'GET ~P/status/api/v2/scheduled-maintenances/upcoming.json', active: 'GET ~P/status/api/v2/scheduled-maintenances/active.json' }],
|
|
555
557
|
PublicStatusSearch: ['status.publicSearch', { search: 'GET ~P/status/search p' }],
|
|
556
558
|
PublicStatusSiblings: ['status.publicSiblings', { siblings: 'GET ~P/status/siblings p' }],
|
|
557
559
|
PublicStatusSubscription: ['status.publicSubscription', { view: 'GET ~P/status/subscription', update: 'PUT ~P/status/subscription' }],
|
|
558
|
-
StatusRestart: ['status.restart', { report: 'POST /status/restart/{monitorId}/{token}' }],
|
|
560
|
+
StatusRestart: ['status.restart', { reportHeader: 'POST /status/restart/{monitorId}', report: 'POST /status/restart/{monitorId}/{token}' }],
|
|
559
561
|
StatusSlack: ['status.slack', { command: 'POST /public/status/slack/{orgId}' }],
|
|
560
562
|
StatusSubscribers: ['status.subscribers', { list: 'GET ~s/status/subscribers p', add: 'POST ~s/status/subscribers', csv: 'GET ~s/status/subscribers/export.csv', import: 'POST ~s/status/subscribers/import', resend: 'POST ~s/status/subscribers/{subscriberId}/resend', remove: 'DELETE ~s/status/subscribers/{subscriberId}', delete: '=remove DELETE ~s/status/subscribers/{subscriberId}' }],
|
|
561
563
|
StatusTemplates: ['status.templates', { list: 'GET ~s/status/templates p', create: 'POST ~s/status/templates', update: 'PATCH ~s/status/templates/{templateId}', remove: 'DELETE ~s/status/templates/{templateId}', use: 'POST ~s/status/templates/{templateId}/incidents', delete: '=remove DELETE ~s/status/templates/{templateId}' }],
|
package/dist/schema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/dist/schema.d.ts
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 38068140 bytes
|
|
4
|
+
sha256: a3e300b12a227dccc82854aa1adffb02e5e786b280513394265e2de5d933a1b6
|