@forumulate/sdk 0.12.5 → 0.13.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/heartbeat.d.ts +35 -0
- package/dist/heartbeat.js +48 -0
- package/dist/http.d.ts +1 -1
- package/dist/http.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/operations.gen.d.ts +42 -1
- package/dist/operations.gen.js +8 -3
- package/dist/schema.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `startHeartbeat` — keep a heartbeat monitor green from a long-running
|
|
3
|
+
* process (FormFlow 2026-11). Three lines replace the copy-pasted ping loop:
|
|
4
|
+
*
|
|
5
|
+
* const stop = startHeartbeat({ url: process.env.PING_URL!, everyMs: 60_000 });
|
|
6
|
+
*
|
|
7
|
+
* It never throws and never lets a rejected ping escape as an unhandled
|
|
8
|
+
* rejection: a monitoring helper that crashed the job it watches would be worse
|
|
9
|
+
* than no monitoring. A `check` that throws (or answers `ok: false`) is
|
|
10
|
+
* reported as `{ ok: false, detail }`, which the page reads as a partial
|
|
11
|
+
* outage in the job's own words rather than the silence that only reads as an
|
|
12
|
+
* outage after 1.5x the interval. Every ping carries its own timeout, so a
|
|
13
|
+
* hung endpoint cannot stack up requests behind one another.
|
|
14
|
+
*/
|
|
15
|
+
export interface HeartbeatCheckResult {
|
|
16
|
+
ok: boolean;
|
|
17
|
+
/** Kept to 500 characters by the API; shown to your organization only. */
|
|
18
|
+
detail?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface StartHeartbeatOptions {
|
|
21
|
+
/** The monitor's `pingUrl`. It holds the monitor's secret: keep it in a secret store. */
|
|
22
|
+
url: string;
|
|
23
|
+
/** Interval between pings. Ping at least once per monitor interval; the monitor goes down after 1.5x. */
|
|
24
|
+
everyMs: number;
|
|
25
|
+
/** Is the job healthy? Throwing is reported as a failed pass. Omit to ping a plain `ok`. */
|
|
26
|
+
check?: () => Promise<HeartbeatCheckResult> | HeartbeatCheckResult;
|
|
27
|
+
/** Per-ping timeout (default 10 000 ms, never longer than `everyMs`). */
|
|
28
|
+
timeoutMs?: number;
|
|
29
|
+
/** Called with a ping that could not be delivered. The default is silence. */
|
|
30
|
+
onError?: (err: unknown) => void;
|
|
31
|
+
/** For a runtime without a global `fetch`, and for tests. */
|
|
32
|
+
fetch?: typeof fetch;
|
|
33
|
+
}
|
|
34
|
+
export declare function startHeartbeat(opts: StartHeartbeatOptions): () => void;
|
|
35
|
+
//# sourceMappingURL=heartbeat.d.ts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.startHeartbeat = startHeartbeat;
|
|
4
|
+
function startHeartbeat(opts) {
|
|
5
|
+
const doFetch = opts.fetch ?? globalThis.fetch;
|
|
6
|
+
const timeoutMs = Math.min(opts.timeoutMs ?? 10_000, opts.everyMs);
|
|
7
|
+
let stopped = false;
|
|
8
|
+
const beat = async () => {
|
|
9
|
+
try {
|
|
10
|
+
let body = { ok: true };
|
|
11
|
+
if (opts.check) {
|
|
12
|
+
try {
|
|
13
|
+
body = await opts.check();
|
|
14
|
+
}
|
|
15
|
+
catch (err) {
|
|
16
|
+
body = { ok: false, detail: err instanceof Error ? err.message : String(err) };
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
if (stopped)
|
|
20
|
+
return;
|
|
21
|
+
const res = await doFetch(opts.url, {
|
|
22
|
+
method: 'POST',
|
|
23
|
+
headers: { 'content-type': 'application/json' },
|
|
24
|
+
body: JSON.stringify(body.ok ? { ok: true } : { ok: false, detail: (body.detail ?? '').slice(0, 500) }),
|
|
25
|
+
signal: AbortSignal.timeout(timeoutMs),
|
|
26
|
+
});
|
|
27
|
+
if (!res.ok)
|
|
28
|
+
opts.onError?.(new Error(`heartbeat ping answered ${res.status}`));
|
|
29
|
+
}
|
|
30
|
+
catch (err) {
|
|
31
|
+
try {
|
|
32
|
+
opts.onError?.(err);
|
|
33
|
+
}
|
|
34
|
+
catch {
|
|
35
|
+
/* a throwing onError must not break the loop either */
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
void beat();
|
|
40
|
+
const timer = setInterval(() => void beat(), opts.everyMs);
|
|
41
|
+
// Never keep a process alive just to ping: the job's own work decides that.
|
|
42
|
+
timer.unref?.();
|
|
43
|
+
return () => {
|
|
44
|
+
stopped = true;
|
|
45
|
+
clearInterval(timer);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=heartbeat.js.map
|
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.
|
|
9
|
+
export declare const SDK_VERSION = "0.13.0";
|
|
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.
|
|
14
|
+
exports.SDK_VERSION = '0.13.0';
|
|
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/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -23,6 +23,7 @@ __exportStar(require("./content"), exports);
|
|
|
23
23
|
__exportStar(require("./translations"), exports);
|
|
24
24
|
__exportStar(require("./policies"), exports);
|
|
25
25
|
__exportStar(require("./cache"), exports);
|
|
26
|
+
__exportStar(require("./heartbeat"), exports);
|
|
26
27
|
__exportStar(require("./policy-tokens"), exports);
|
|
27
28
|
__exportStar(require("./policy-tickets"), exports);
|
|
28
29
|
__exportStar(require("./policy-feed"), exports);
|
package/dist/operations.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** The newest API version this table was generated from; sent by the namespace methods. */
|
|
2
|
-
export declare const API_VERSION = "2027-
|
|
2
|
+
export declare const API_VERSION = "2027-03-01";
|
|
3
3
|
export declare const PATH_PREFIXES: {
|
|
4
4
|
readonly '~P': "/public/orgs/{orgId}/spaces/{spaceId}";
|
|
5
5
|
readonly '~L': "/orgs/{orgId}/content/libraries/{libraryId}";
|
|
@@ -12,6 +12,9 @@ export declare const OPERATIONS: {
|
|
|
12
12
|
readonly setDetails: "PUT ~s/about";
|
|
13
13
|
readonly patchDetails: "PATCH ~s/about";
|
|
14
14
|
readonly prefill: "GET ~s/about/prefill";
|
|
15
|
+
readonly suggest: "POST ~s/about/import";
|
|
16
|
+
readonly history: "GET ~s/about/history p";
|
|
17
|
+
readonly revert: "POST ~s/about/history/{entryId}/revert";
|
|
15
18
|
readonly preview: "GET ~s/about/preview";
|
|
16
19
|
}];
|
|
17
20
|
readonly Activitypub: readonly ["activitypub", {
|
|
@@ -426,6 +429,11 @@ export declare const OPERATIONS: {
|
|
|
426
429
|
readonly test: "POST ~s/careers/indexing/test";
|
|
427
430
|
readonly submit: "POST ~s/careers/indexing/submit";
|
|
428
431
|
}];
|
|
432
|
+
readonly CareersIndexNow: readonly ["careers.indexNow", {
|
|
433
|
+
readonly read: "GET ~s/careers/indexing/indexnow";
|
|
434
|
+
readonly write: "PUT ~s/careers/indexing/indexnow";
|
|
435
|
+
readonly get: "=read GET ~s/careers/indexing/indexnow";
|
|
436
|
+
}];
|
|
429
437
|
readonly PublicCareers: readonly ["careers.public", {
|
|
430
438
|
readonly form: "GET ~P/careers/form";
|
|
431
439
|
readonly answer: "POST ~P/careers/answers m";
|
|
@@ -444,6 +452,15 @@ export declare const OPERATIONS: {
|
|
|
444
452
|
readonly status: "GET ~P/careers/status/{token}";
|
|
445
453
|
readonly answer: "POST ~P/careers/status/{token}/offer";
|
|
446
454
|
}];
|
|
455
|
+
readonly CareersTalent: readonly ["careers.talent", {
|
|
456
|
+
readonly subscribers: "GET ~s/careers/talent/subscribers p";
|
|
457
|
+
readonly subscribersCsv: "GET ~s/careers/talent/subscribers.csv";
|
|
458
|
+
readonly setSubscriberTags: "PUT ~s/careers/talent/subscribers/{subscriberId}/tags";
|
|
459
|
+
readonly removeSubscriber: "DELETE ~s/careers/talent/subscribers/{subscriberId}";
|
|
460
|
+
readonly subscriberTags: "GET ~s/careers/talent/subscriber-tags p";
|
|
461
|
+
readonly broadcasts: "GET ~s/careers/talent/broadcasts p";
|
|
462
|
+
readonly sendBroadcast: "POST ~s/careers/talent/broadcasts";
|
|
463
|
+
}];
|
|
447
464
|
readonly Changelog: readonly ["changelog", {
|
|
448
465
|
readonly list: "GET ~s/changelog p";
|
|
449
466
|
readonly create: "POST ~s/changelog";
|
|
@@ -727,6 +744,18 @@ export declare const OPERATIONS: {
|
|
|
727
744
|
readonly pending: "GET ~o/community/reputation/by-subject/external/pending p";
|
|
728
745
|
readonly delete: "=remove DELETE ~o/community/reputation/by-subject/external";
|
|
729
746
|
}];
|
|
747
|
+
readonly Compare: readonly ["compare", {
|
|
748
|
+
readonly catalog: "GET ~s/compare/catalog";
|
|
749
|
+
readonly setCatalog: "PUT ~s/compare/catalog";
|
|
750
|
+
readonly patchCatalog: "PATCH ~s/compare/catalog";
|
|
751
|
+
readonly catalogCsv: "GET ~s/compare/catalog.csv t";
|
|
752
|
+
readonly importCsv: "PUT ~s/compare/catalog.csv";
|
|
753
|
+
readonly staleCells: "GET ~s/compare/stale";
|
|
754
|
+
readonly verify: "POST ~s/compare/verify";
|
|
755
|
+
readonly generate: "POST ~s/compare/generate";
|
|
756
|
+
readonly prefill: "POST ~s/compare/prefill";
|
|
757
|
+
readonly preview: "GET ~s/compare/preview";
|
|
758
|
+
}];
|
|
730
759
|
readonly ConnectorKnowledgeAdmin: readonly ["connectorKnowledgeAdmin", {
|
|
731
760
|
readonly readers: "GET ~s/kb-readers p";
|
|
732
761
|
readonly rotate: "POST ~o/connector-identity/rotate";
|
|
@@ -3025,6 +3054,14 @@ export declare const OPERATIONS: {
|
|
|
3025
3054
|
readonly socialCard: "GET ~P/social-card.svg";
|
|
3026
3055
|
readonly pageSocialCard: "GET ~P/pages/{pageId}/social-card.svg";
|
|
3027
3056
|
}];
|
|
3057
|
+
readonly PublicCompare: readonly ["public.compare", {
|
|
3058
|
+
readonly hub: "GET ~P/compare";
|
|
3059
|
+
readonly catalog: "GET ~P/compare/catalog";
|
|
3060
|
+
readonly search: "GET ~P/compare/search p";
|
|
3061
|
+
readonly oembed: "GET ~P/compare/oembed";
|
|
3062
|
+
readonly page: "GET ~P/compare/pages/{slug}";
|
|
3063
|
+
readonly product: "GET ~P/compare/products/{productId}";
|
|
3064
|
+
}];
|
|
3028
3065
|
readonly ConnectorIdentityPublic: readonly ["public.connectorIdentity", {
|
|
3029
3066
|
readonly jwks: "GET /public/orgs/{orgId}/connector-identity/jwks.json p";
|
|
3030
3067
|
readonly assert: "POST ~P/connectors/{connectorId}/identity";
|
|
@@ -3168,6 +3205,9 @@ export declare const OPERATIONS: {
|
|
|
3168
3205
|
readonly ReaderJwtCheck: readonly ["readers.jwtCheck", {
|
|
3169
3206
|
readonly check: "POST ~o/reader-auth/jwt/check";
|
|
3170
3207
|
}];
|
|
3208
|
+
readonly ReaderJwtVectors: readonly ["readers.jwtVectors", {
|
|
3209
|
+
readonly get: "GET /docs/reader-jwt-vectors";
|
|
3210
|
+
}];
|
|
3171
3211
|
readonly ReaderMeta: readonly ["readers.meta", {
|
|
3172
3212
|
readonly bundle: "GET ~P/reader-meta";
|
|
3173
3213
|
}];
|
|
@@ -3791,6 +3831,7 @@ export declare const OPERATIONS: {
|
|
|
3791
3831
|
readonly update: "=patch PATCH ~s/status/access";
|
|
3792
3832
|
}];
|
|
3793
3833
|
readonly StatusAuthoring: readonly ["status.authoring", {
|
|
3834
|
+
readonly pingUrl: "GET ~s/status/monitors/{monitorId}/ping-url";
|
|
3794
3835
|
readonly regions: "GET ~s/status/regions";
|
|
3795
3836
|
readonly reorder: "PUT ~s/status/monitors/order";
|
|
3796
3837
|
readonly editUpdate: "PATCH ~s/status/incidents/{incidentId}/updates/{updateId}";
|
package/dist/operations.gen.js
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.OPERATIONS = exports.PATH_PREFIXES = exports.API_VERSION = void 0;
|
|
9
9
|
/** The newest API version this table was generated from; sent by the namespace methods. */
|
|
10
|
-
exports.API_VERSION = '2027-
|
|
10
|
+
exports.API_VERSION = '2027-03-01';
|
|
11
11
|
exports.PATH_PREFIXES = { '~P': '/public/orgs/{orgId}/spaces/{spaceId}', '~L': '/orgs/{orgId}/content/libraries/{libraryId}', '~s': '/orgs/{orgId}/spaces/{spaceId}', '~o': '/orgs/{orgId}' };
|
|
12
12
|
exports.OPERATIONS = {
|
|
13
|
-
About: ['about', { details: 'GET ~s/about', setDetails: 'PUT ~s/about', patchDetails: 'PATCH ~s/about', prefill: 'GET ~s/about/prefill', preview: 'GET ~s/about/preview' }],
|
|
13
|
+
About: ['about', { details: 'GET ~s/about', setDetails: 'PUT ~s/about', patchDetails: 'PATCH ~s/about', prefill: 'GET ~s/about/prefill', suggest: 'POST ~s/about/import', history: 'GET ~s/about/history p', revert: 'POST ~s/about/history/{entryId}/revert', preview: 'GET ~s/about/preview' }],
|
|
14
14
|
Activitypub: ['activitypub', { webfinger: 'GET /public/activitypub/webfinger t', hostMeta: 'GET /public/activitypub/host-meta', nodeinfoIndex: 'GET /public/activitypub/nodeinfo', nodeinfo: 'GET /public/activitypub/nodeinfo/2.1', actor: 'GET /public/activitypub/o/{orgId}/actors/{actorId} t', outbox: 'GET /public/activitypub/o/{orgId}/actors/{actorId}/outbox t', followers: 'GET /public/activitypub/o/{orgId}/actors/{actorId}/followers t', following: 'GET /public/activitypub/o/{orgId}/actors/{actorId}/following t', object: 'GET /public/activitypub/o/{orgId}/objects/{postId} t', actorInbox: 'POST /public/activitypub/o/{orgId}/actors/{actorId}/inbox', sharedInbox: 'POST /public/activitypub/o/{orgId}/inbox' }],
|
|
15
15
|
Ai: ['ai', { review: 'POST ~s/pages/{pageId}/ai/review', rewrite: 'POST ~s/pages/{pageId}/ai/rewrite', translate: 'POST ~s/pages/{pageId}/ai/translate', ask: 'POST ~s/docs/ask', askStream: 'POST ~s/docs/ask/stream b', askFeedback: 'POST ~s/docs/ask/{queryId}/feedback', agent: 'POST ~s/docs/agent' }],
|
|
16
16
|
OrgLens: ['ai.lens', { ask: 'POST ~o/ask' }],
|
|
@@ -71,9 +71,11 @@ exports.OPERATIONS = {
|
|
|
71
71
|
GoogleIndexing: ['careers.googleIndexing', { status: 'GET ~o/google-indexing', configure: 'PUT ~o/google-indexing', patch: 'PATCH ~o/google-indexing', clear: 'DELETE ~o/google-indexing', update: '=patch PATCH ~o/google-indexing' }],
|
|
72
72
|
CareersHiring: ['careers.hiring', { bulk: 'POST ~s/careers/applications/bulk', report: 'GET ~s/careers/report', statusLink: 'POST ~s/careers/applications/{id}/status-link', getOffer: 'GET ~s/careers/applications/{id}/offer', putOffer: 'PUT ~s/careers/applications/{id}/offer', offerAction: 'POST ~s/careers/applications/{id}/offer/{action}' }],
|
|
73
73
|
CareersIndexing: ['careers.indexing', { view: 'GET ~s/careers/indexing', test: 'POST ~s/careers/indexing/test', submit: 'POST ~s/careers/indexing/submit' }],
|
|
74
|
+
CareersIndexNow: ['careers.indexNow', { read: 'GET ~s/careers/indexing/indexnow', write: 'PUT ~s/careers/indexing/indexnow', get: '=read GET ~s/careers/indexing/indexnow' }],
|
|
74
75
|
PublicCareers: ['careers.public', { form: 'GET ~P/careers/form', answer: 'POST ~P/careers/answers m', attach: 'POST ~P/careers/attachments m', apply: 'POST ~P/careers/apply' }],
|
|
75
76
|
PublicCareersChannels: ['careers.publicChannels', { rss: 'GET ~P/careers/rss.xml', atom: 'GET ~P/careers/atom.xml', jsonFeed: 'GET ~P/careers/feed.json', subscribe: 'POST ~P/careers/subscribe', indeed: 'GET ~P/careers/jobs.xml t', linkedin: 'GET ~P/careers/linkedin.xml t' }],
|
|
76
77
|
PublicCareersStatus: ['careers.publicStatus', { status: 'GET ~P/careers/status/{token}', answer: 'POST ~P/careers/status/{token}/offer' }],
|
|
78
|
+
CareersTalent: ['careers.talent', { subscribers: 'GET ~s/careers/talent/subscribers p', subscribersCsv: 'GET ~s/careers/talent/subscribers.csv', setSubscriberTags: 'PUT ~s/careers/talent/subscribers/{subscriberId}/tags', removeSubscriber: 'DELETE ~s/careers/talent/subscribers/{subscriberId}', subscriberTags: 'GET ~s/careers/talent/subscriber-tags p', broadcasts: 'GET ~s/careers/talent/broadcasts p', sendBroadcast: 'POST ~s/careers/talent/broadcasts' }],
|
|
77
79
|
Changelog: ['changelog', { list: 'GET ~s/changelog p', create: 'POST ~s/changelog', compile: 'GET ~s/changelog/compile', widgetStats: 'GET ~s/changelog/widget-stats', publish: 'POST ~s/changelog/{releaseId}/publish', get: 'GET ~s/changelog/{releaseId}', update: 'PATCH ~s/changelog/{releaseId}', remove: 'DELETE ~s/changelog/{releaseId}', schedule: 'POST ~s/changelog/{releaseId}/schedule', unschedule: 'DELETE ~s/changelog/{releaseId}/schedule', delete: '=remove DELETE ~s/changelog/{releaseId}' }],
|
|
78
80
|
ChangelogChannels: ['changelog.channels', { list: 'GET ~s/changelog/channels p', add: 'POST ~s/changelog/channels', remove: 'DELETE ~s/changelog/channels/{channelId}', delete: '=remove DELETE ~s/changelog/channels/{channelId}' }],
|
|
79
81
|
ChangelogDuplicate: ['changelog.duplicate', { duplicate: 'POST ~s/changelog/{releaseId}/duplicate' }],
|
|
@@ -105,6 +107,7 @@ exports.OPERATIONS = {
|
|
|
105
107
|
Relationship: ['community.relationships', { setStatus: 'POST ~o/community/status', clearStatus: 'DELETE ~o/community/status', list: 'GET ~o/community/ignored p', mute: 'POST ~o/community/members/{targetUserId}/mute', unmute: 'DELETE ~o/community/members/{targetUserId}/mute', follow: 'POST ~o/community/members/{targetUserId}/follow', unfollow: 'DELETE ~o/community/members/{targetUserId}/follow', card: 'GET ~o/community/members/{targetUserId}/card' }],
|
|
106
108
|
Reputation: ['community.reputation', { profile: 'GET ~o/community/members/{userId}/profile', catalog: 'GET ~o/community/reputation/catalog', createBadge: 'POST ~o/community/reputation/badges', updateBadge: 'POST ~o/community/reputation/badges/{badgeId}', deleteBadge: 'DELETE ~o/community/reputation/badges/{badgeId}', grantBadge: 'POST ~o/community/reputation/{userId}/badges', revokeBadge: 'DELETE ~o/community/reputation/{userId}/badges/{slug}', recompute: 'POST ~o/community/reputation/recompute', me: 'GET ~o/community/reputation/me', setExternal: 'PUT ~o/community/reputation/{userId}/external', removeExternal: 'DELETE ~o/community/reputation/{userId}/external/{source}', externalLeaderboard: 'GET ~o/community/reputation/external/{source}/leaderboard', getFeatured: 'GET ~o/community/reputation/me/featured', setFeatured: 'PUT ~o/community/reputation/me/featured', setFeaturedTopic: 'PUT ~o/community/reputation/me/featured-topic', setBackgrounds: 'PUT ~o/community/reputation/me/backgrounds', leaderboard: 'GET ~o/community/reputation/leaderboard p', pointsLeaderboard: 'GET ~o/community/reputation/points', directory: 'GET ~o/community/directory p', forUser: 'GET ~o/community/reputation/{userId}', setLevel: 'POST ~o/community/reputation/{userId}/level', unfurlLink: 'GET ~o/community/unfurl' }],
|
|
107
109
|
ReputationSubject: ['community.reputationSubject', { set: 'PUT ~o/community/reputation/by-subject/external', remove: 'DELETE ~o/community/reputation/by-subject/external', pending: 'GET ~o/community/reputation/by-subject/external/pending p', delete: '=remove DELETE ~o/community/reputation/by-subject/external' }],
|
|
110
|
+
Compare: ['compare', { catalog: 'GET ~s/compare/catalog', setCatalog: 'PUT ~s/compare/catalog', patchCatalog: 'PATCH ~s/compare/catalog', catalogCsv: 'GET ~s/compare/catalog.csv t', importCsv: 'PUT ~s/compare/catalog.csv', staleCells: 'GET ~s/compare/stale', verify: 'POST ~s/compare/verify', generate: 'POST ~s/compare/generate', prefill: 'POST ~s/compare/prefill', preview: 'GET ~s/compare/preview' }],
|
|
108
111
|
ConnectorKnowledgeAdmin: ['connectorKnowledgeAdmin', { readers: 'GET ~s/kb-readers p', rotate: 'POST ~o/connector-identity/rotate' }],
|
|
109
112
|
ContentAi: ['content.ai', { status: 'GET ~L/ai/status', translate: 'POST ~L/ai/translate', auto: 'POST ~L/entries/{entryId}/translations/{locale}/auto', seo: 'POST ~L/entries/{entryId}/ai/seo', draft: 'POST ~L/entries/{entryId}/ai/draft' }],
|
|
110
113
|
LibraryAsset: ['content.assetCandidates', { list: 'GET ~L/asset-candidates p' }],
|
|
@@ -420,6 +423,7 @@ exports.OPERATIONS = {
|
|
|
420
423
|
PublicAddressIndex: ['public.addressIndex', { addressIndex: 'GET ~P/address-index', root: 'GET ~P/root' }],
|
|
421
424
|
PublicCaptcha: ['public.captcha', { get: 'GET /public/orgs/{orgId}/captcha' }],
|
|
422
425
|
PublicCards: ['public.cards', { socialCardPng: 'GET ~P/social-card.png b', pageSocialCardPng: 'GET ~P/pages/{pageId}/social-card.png b', collectionSocialCardPng: 'GET ~P/c/{collection}/social-card.png b', topicSocialCardPng: 'GET ~P/t/{topicId}/social-card.png b', topicSocialCard: 'GET ~P/t/{topicId}/social-card.svg', socialCard: 'GET ~P/social-card.svg', pageSocialCard: 'GET ~P/pages/{pageId}/social-card.svg' }],
|
|
426
|
+
PublicCompare: ['public.compare', { hub: 'GET ~P/compare', catalog: 'GET ~P/compare/catalog', search: 'GET ~P/compare/search p', oembed: 'GET ~P/compare/oembed', page: 'GET ~P/compare/pages/{slug}', product: 'GET ~P/compare/products/{productId}' }],
|
|
423
427
|
ConnectorIdentityPublic: ['public.connectorIdentity', { jwks: 'GET /public/orgs/{orgId}/connector-identity/jwks.json p', assert: 'POST ~P/connectors/{connectorId}/identity' }],
|
|
424
428
|
PublicFederation: ['public.federation', { handle: 'GET ~P/forum-federation' }],
|
|
425
429
|
PublicGeo: ['public.geo', { country: 'GET /public/geo' }],
|
|
@@ -447,6 +451,7 @@ exports.OPERATIONS = {
|
|
|
447
451
|
ReaderDomain: ['readers.domain', { get: 'GET ~o/reader-domain', configure: 'PUT ~o/reader-domain', remove: 'DELETE ~o/reader-domain', verify: 'POST ~o/reader-domain/verify', delete: '=remove DELETE ~o/reader-domain' }],
|
|
448
452
|
ReaderImageSign: ['readers.imageSign', { sign: 'POST /public/orgs/{orgId}/me/images/sign' }],
|
|
449
453
|
ReaderJwtCheck: ['readers.jwtCheck', { check: 'POST ~o/reader-auth/jwt/check' }],
|
|
454
|
+
ReaderJwtVectors: ['readers.jwtVectors', { get: 'GET /docs/reader-jwt-vectors' }],
|
|
450
455
|
ReaderMeta: ['readers.meta', { bundle: 'GET ~P/reader-meta' }],
|
|
451
456
|
ReaderPolicy: ['readers.policy', { getLegalGate: 'GET ~s/legal-gate', setLegalGate: 'PUT ~s/legal-gate', patchLegalGate: 'PATCH ~s/legal-gate', deleteLegalGate: 'DELETE ~s/legal-gate', getReaderIdentity: 'GET ~s/reader-identity', setReaderIdentity: 'PUT ~s/reader-identity', patchReaderIdentity: 'PATCH ~s/reader-identity', deleteReaderIdentity: 'DELETE ~s/reader-identity' }],
|
|
452
457
|
ReaderAuthPublic: ['readers.publicAuth', { resolved: 'GET ~P/reader-auth' }],
|
|
@@ -532,7 +537,7 @@ exports.OPERATIONS = {
|
|
|
532
537
|
ScimAdmin: ['sso.scim', { status: 'GET ~o/scim/token', create: 'POST ~o/scim/token', revoke: 'DELETE ~o/scim/token' }],
|
|
533
538
|
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' }],
|
|
534
539
|
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' }],
|
|
535
|
-
StatusAuthoring: ['status.authoring', { 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}' }],
|
|
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}' }],
|
|
536
541
|
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}' }],
|
|
537
542
|
StatusEventsIngest: ['status.eventsIngest', { ingest: 'POST ~s/status/events' }],
|
|
538
543
|
StatusHeartbeat: ['status.heartbeat', { pingGet: 'GET /status/ping/{monitorId}/{token}', pingPost: 'POST /status/ping/{monitorId}/{token}' }],
|
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: 37895534 bytes
|
|
4
|
+
sha256: 8e9e54962b9e65f52e01e1d08bc80e153205e0cd4658202455cfde30f0b78a0f
|