@andesine/sdk 0.7.0 → 0.8.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/CHANGELOG.md +23 -0
- package/dist/{client-D7hqNIEY.js → client-CyhWWH37.js} +65 -1
- package/dist/client-CyhWWH37.js.map +1 -0
- package/dist/{client-TZ83eSln.d.ts → client-QR7crUNC.d.ts} +48 -3
- package/dist/extensions.d.ts +8 -3
- package/dist/extensions.js +6 -3
- package/dist/extensions.js.map +1 -1
- package/dist/{index-BL6xmKO6.d.ts → index-DcU5xEPe.d.ts} +23 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/{schema-D7yh5Hbs.d.ts → schema-CMpGUItd.d.ts} +1971 -278
- package/dist/streaming.d.ts +1 -1
- package/dist/webhooks.d.ts +1 -1
- package/openapi.json +3020 -512
- package/package.json +1 -1
- package/dist/client-D7hqNIEY.js.map +0 -1
package/dist/extensions.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClientOptions, t as AndesineClient } from "./client-
|
|
1
|
+
import { n as ClientOptions, t as AndesineClient } from "./client-QR7crUNC.js";
|
|
2
2
|
//#region src/extensions/jwt.d.ts
|
|
3
3
|
interface ExtensionPrivateKey extends JsonWebKey {
|
|
4
4
|
kid?: string;
|
|
@@ -15,6 +15,10 @@ interface ExtensionBackendOptions {
|
|
|
15
15
|
/** Options for the API clients; the backend sets the base URL and the credential. */
|
|
16
16
|
client?: Omit<ClientOptions, "baseURL" | "apiKey" | "accessToken">;
|
|
17
17
|
}
|
|
18
|
+
interface VerifySessionOptions {
|
|
19
|
+
/** Member actions to check in collections the extension can read; results are in `checks`. */
|
|
20
|
+
checks?: SessionCheck[];
|
|
21
|
+
}
|
|
18
22
|
interface ExtensionSessionContext extends VerifiedSession {
|
|
19
23
|
/** The installation's `ext_` ID. */
|
|
20
24
|
extensionID: string;
|
|
@@ -42,7 +46,7 @@ interface ExtensionBackend {
|
|
|
42
46
|
* @throws ExtensionSessionError for missing headers, an untrusted instance, or an invalid token.
|
|
43
47
|
* @throws AndesineAPIError for other API failures.
|
|
44
48
|
*/
|
|
45
|
-
verifySession(headers: HeaderSource): Promise<ExtensionSessionContext>;
|
|
49
|
+
verifySession(headers: HeaderSource, options?: VerifySessionOptions): Promise<ExtensionSessionContext>;
|
|
46
50
|
/**
|
|
47
51
|
* Confirms a webhook body by fetching its delivery; respond with 2xx once handled, or it retries.
|
|
48
52
|
* @throws ExtensionNotificationError for an invalid body, an untrusted instance, or no delivery.
|
|
@@ -51,6 +55,7 @@ interface ExtensionBackend {
|
|
|
51
55
|
receive(body: unknown): Promise<ExtensionDeliveryContext>;
|
|
52
56
|
}
|
|
53
57
|
type VerifiedSession = Awaited<ReturnType<AndesineClient["extensions"]["verifySession"]>>;
|
|
58
|
+
type SessionCheck = NonNullable<Parameters<AndesineClient["extensions"]["verifySession"]>[0]["checks"]>[number];
|
|
54
59
|
type ReceivedDelivery = Awaited<ReturnType<AndesineClient["extensions"]["getSelfDelivery"]>>;
|
|
55
60
|
type HeaderSource = Headers | Record<string, string | string[] | undefined>;
|
|
56
61
|
type ExtensionSessionErrorCode = "MISSING_SESSION" | "UNTRUSTED_INSTANCE" | "INVALID_SESSION";
|
|
@@ -75,5 +80,5 @@ declare class ExtensionNotificationError extends Error {
|
|
|
75
80
|
*/
|
|
76
81
|
declare const createExtensionBackend: (options: ExtensionBackendOptions) => ExtensionBackend;
|
|
77
82
|
//#endregion
|
|
78
|
-
export { type ExtensionBackend, type ExtensionBackendOptions, type ExtensionDeliveryContext, ExtensionNotificationError, type ExtensionNotificationErrorCode, type ExtensionPrivateKey, type ExtensionSessionContext, ExtensionSessionError, type ExtensionSessionErrorCode, createExtensionBackend };
|
|
83
|
+
export { type ExtensionBackend, type ExtensionBackendOptions, type ExtensionDeliveryContext, ExtensionNotificationError, type ExtensionNotificationErrorCode, type ExtensionPrivateKey, type ExtensionSessionContext, ExtensionSessionError, type ExtensionSessionErrorCode, type VerifySessionOptions, createExtensionBackend };
|
|
79
84
|
//# sourceMappingURL=extensions.d.ts.map
|
package/dist/extensions.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as AndesineAPIError } from "./answer-stream-7N_gLhVS.js";
|
|
2
|
-
import { t as createClient } from "./client-
|
|
2
|
+
import { t as createClient } from "./client-CyhWWH37.js";
|
|
3
3
|
//#region src/extensions/jwt.ts
|
|
4
4
|
const TOKEN_LIFETIME = 300;
|
|
5
5
|
const RENEWAL_MARGIN = 60;
|
|
@@ -165,7 +165,7 @@ const createExtensionBackend = (options) => {
|
|
|
165
165
|
};
|
|
166
166
|
return {
|
|
167
167
|
createClient: createBackendClient,
|
|
168
|
-
async verifySession(headers) {
|
|
168
|
+
async verifySession(headers, sessionOptions = {}) {
|
|
169
169
|
const token = /^Bearer\s+(\S+)$/i.exec(getHeader(headers, "Authorization") ?? "")?.[1];
|
|
170
170
|
const extensionID = getHeader(headers, "Andesine-Extension");
|
|
171
171
|
const instance = getHeader(headers, "Andesine-Instance");
|
|
@@ -175,7 +175,10 @@ const createExtensionBackend = (options) => {
|
|
|
175
175
|
const client = createBackendClient(audience, extensionID);
|
|
176
176
|
try {
|
|
177
177
|
return {
|
|
178
|
-
...await client.extensions.verifySession({
|
|
178
|
+
...await client.extensions.verifySession({
|
|
179
|
+
token,
|
|
180
|
+
checks: sessionOptions.checks
|
|
181
|
+
}),
|
|
179
182
|
extensionID,
|
|
180
183
|
instance: audience,
|
|
181
184
|
client
|
package/dist/extensions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extensions.js","names":[],"sources":["../src/extensions/jwt.ts","../src/extensions.ts"],"sourcesContent":["interface ExtensionPrivateKey extends JsonWebKey {\n kid?: string;\n}\ninterface ExtensionTokenClaims {\n /** The instance API URL. */\n audience: string;\n /** The installation's `ext_` ID; null for app-level tokens. */\n subject: string | null;\n}\ninterface ExtensionSigner {\n sign(claims: ExtensionTokenClaims): Promise<string>;\n}\ninterface CachedToken {\n token: string;\n expiresAt: number;\n}\n\n// Andesine accepts tokens up to 300 seconds old; cached tokens renew a minute before that.\nconst TOKEN_LIFETIME = 300;\nconst RENEWAL_MARGIN = 60;\nconst MAX_CACHED_TOKENS = 1_000;\nconst ALGORITHMS = {\n \"Ed25519\": {\n alg: \"EdDSA\",\n importParams: { name: \"Ed25519\" },\n signParams: { name: \"Ed25519\" }\n },\n \"P-256\": {\n alg: \"ES256\",\n importParams: { name: \"ECDSA\", namedCurve: \"P-256\" },\n signParams: { name: \"ECDSA\", hash: \"SHA-256\" }\n }\n} as const;\n\nconst encodeBase64URL = (bytes: Uint8Array): string => {\n return btoa(String.fromCharCode(...bytes))\n .replace(/\\+/g, \"-\")\n .replace(/\\//g, \"_\")\n .replace(/=+$/, \"\");\n};\nconst encodeJSON = (value: object): string => {\n return encodeBase64URL(new TextEncoder().encode(JSON.stringify(value)));\n};\n// Errors never include the key, which can come from an environment variable.\nconst parsePrivateKey = (input: string | ExtensionPrivateKey): ExtensionPrivateKey => {\n if (typeof input !== \"string\") return input;\n\n try {\n return JSON.parse(input) as ExtensionPrivateKey;\n } catch {\n throw new TypeError(\"privateKey must be a JSON Web Key\");\n }\n};\n/** Signs extension JWTs with a private Ed25519 or P-256 JWK; caches them per audience/subject. */\nconst createExtensionSigner = (\n name: string,\n privateKey: string | ExtensionPrivateKey\n): ExtensionSigner => {\n const jwk = parsePrivateKey(privateKey);\n const algorithm = ALGORITHMS[jwk.crv as keyof typeof ALGORITHMS];\n const cache = new Map<string, CachedToken>();\n\n let key: Promise<CryptoKey> | null = null;\n\n if (!algorithm || !jwk.d || !jwk.kid) {\n throw new TypeError(\"privateKey must be a private Ed25519 or P-256 JWK with a kid\");\n }\n\n // Imported on first use, so an invalid key fails the first request, not module loading.\n const getKey = (): Promise<CryptoKey> => {\n key ??= crypto.subtle.importKey(\n \"jwk\",\n { kty: jwk.kty, crv: jwk.crv, x: jwk.x, y: jwk.y, d: jwk.d },\n algorithm.importParams,\n false,\n [\"sign\"]\n );\n\n return key;\n };\n\n return {\n async sign({ audience, subject }) {\n const now = Math.floor(Date.now() / 1000);\n const cacheKey = `${audience} ${subject ?? \"\"}`;\n const cached = cache.get(cacheKey);\n\n if (cached && cached.expiresAt - RENEWAL_MARGIN > now) return cached.token;\n\n const header = encodeJSON({ alg: algorithm.alg, kid: jwk.kid, typ: \"JWT\" });\n const payload = encodeJSON({\n iss: name,\n ...(subject && { sub: subject }),\n aud: audience,\n iat: now,\n exp: now + TOKEN_LIFETIME\n });\n const signature = await crypto.subtle.sign(\n algorithm.signParams,\n await getKey(),\n new TextEncoder().encode(`${header}.${payload}`)\n );\n const token = `${header}.${payload}.${encodeBase64URL(new Uint8Array(signature))}`;\n\n if (cache.size >= MAX_CACHED_TOKENS) cache.clear();\n\n cache.set(cacheKey, { token, expiresAt: now + TOKEN_LIFETIME });\n\n return token;\n }\n };\n};\n\nexport { createExtensionSigner };\nexport type { ExtensionPrivateKey, ExtensionSigner };\n","import { createClient, type AndesineClient, type ClientOptions } from \"./client\";\nimport { AndesineAPIError } from \"./error\";\nimport { createExtensionSigner, type ExtensionPrivateKey } from \"./extensions/jwt\";\n\ninterface ExtensionBackendOptions {\n /** The extension's registry name, e.g. `acme/publish`. */\n name: string;\n /** Private Ed25519 or P-256 JWK (string or object) with the registry `kid`; keep it secret. */\n privateKey: string | ExtensionPrivateKey;\n /** API URLs of the trusted Andesine instances, e.g. `https://api.andesine.app`. */\n trustedInstances: string[];\n /** Options for the API clients; the backend sets the base URL and the credential. */\n client?: Omit<ClientOptions, \"baseURL\" | \"apiKey\" | \"accessToken\">;\n}\ninterface ExtensionSessionContext extends VerifiedSession {\n /** The installation's `ext_` ID. */\n extensionID: string;\n /** The instance API URL. */\n instance: string;\n /** An API client for the installation, with the extension's permissions. */\n client: AndesineClient;\n}\ninterface ExtensionDeliveryContext extends ReceivedDelivery {\n /** The installation's `ext_` ID. */\n extensionID: string;\n /** The instance API URL. */\n instance: string;\n /** An API client for the installation, with the extension's permissions. */\n client: AndesineClient;\n}\ninterface ExtensionBackend {\n /**\n * API client for an installation; without `extensionID`, it can only list installations.\n * @throws TypeError if the instance is not trusted.\n */\n createClient(instance: string, extensionID?: string): AndesineClient;\n /**\n * Verifies the session headers that the frontend's `backend.fetch` sends.\n * @throws ExtensionSessionError for missing headers, an untrusted instance, or an invalid token.\n * @throws AndesineAPIError for other API failures.\n */\n verifySession(headers: HeaderSource): Promise<ExtensionSessionContext>;\n /**\n * Confirms a webhook body by fetching its delivery; respond with 2xx once handled, or it retries.\n * @throws ExtensionNotificationError for an invalid body, an untrusted instance, or no delivery.\n * @throws AndesineAPIError for other API failures.\n */\n receive(body: unknown): Promise<ExtensionDeliveryContext>;\n}\n\ntype VerifiedSession = Awaited<ReturnType<AndesineClient[\"extensions\"][\"verifySession\"]>>;\ntype ReceivedDelivery = Awaited<ReturnType<AndesineClient[\"extensions\"][\"getSelfDelivery\"]>>;\ntype HeaderSource = Headers | Record<string, string | string[] | undefined>;\ntype ExtensionSessionErrorCode = \"MISSING_SESSION\" | \"UNTRUSTED_INSTANCE\" | \"INVALID_SESSION\";\ntype ExtensionNotificationErrorCode =\n \"INVALID_NOTIFICATION\" | \"UNTRUSTED_INSTANCE\" | \"UNKNOWN_DELIVERY\";\n\nclass ExtensionSessionError extends Error {\n constructor(readonly code: ExtensionSessionErrorCode) {\n super(`Extension session verification failed: ${code}`);\n }\n}\n\nclass ExtensionNotificationError extends Error {\n constructor(readonly code: ExtensionNotificationErrorCode) {\n super(`Extension notification failed: ${code}`);\n }\n}\n\nconst isRejection = (error: unknown): boolean => {\n return error instanceof AndesineAPIError && [401, 403, 404].includes(error.status);\n};\nconst parseJSON = (text: string): unknown => {\n try {\n return JSON.parse(text);\n } catch {\n return null;\n }\n};\nconst getString = (value: object, key: string): string | null => {\n const field = (value as Record<string, unknown>)[key];\n\n return typeof field === \"string\" && field ? field : null;\n};\nconst normalizeInstance = (instance: string): string | null => {\n try {\n const url = new URL(instance);\n const isHTTP = url.protocol === \"https:\" || url.protocol === \"http:\";\n\n return isHTTP ? `${url.origin}${url.pathname}`.replace(/\\/+$/, \"\") : null;\n } catch {\n return null;\n }\n};\nconst getHeader = (headers: HeaderSource, name: string): string | null => {\n if (headers instanceof Headers) return headers.get(name);\n\n const value = headers[name.toLowerCase()];\n\n return (Array.isArray(value) ? value[0] : value) ?? null;\n};\n/**\n * Creates the backend helpers, which sign and cache extension JWTs for trusted instances only.\n * @example\n * const extension = createExtensionBackend({\n * name: \"acme/publish\",\n * privateKey: process.env.ANDESINE_EXTENSION_KEY!,\n * trustedInstances: [\"https://api.andesine.app\"]\n * });\n * const session = await extension.verifySession(request.headers);\n */\nconst createExtensionBackend = (options: ExtensionBackendOptions): ExtensionBackend => {\n const signer = createExtensionSigner(options.name, options.privateKey);\n const trusted = new Set(options.trustedInstances.map(normalizeInstance));\n const fetcher = options.client?.fetch ?? globalThis.fetch;\n const getTrustedInstance = (instance: string): string | null => {\n const normalized = normalizeInstance(instance);\n\n return normalized && trusted.has(normalized) ? normalized : null;\n };\n const createBackendClient = (instance: string, extensionID?: string): AndesineClient => {\n const audience = getTrustedInstance(instance);\n\n if (!audience) throw new TypeError(\"The instance is not trusted\");\n\n return createClient({\n ...options.client,\n baseURL: audience,\n apiKey: \"\",\n fetch: async (input, init) => {\n const request = new Request(input, init);\n const token = await signer.sign({ audience, subject: extensionID ?? null });\n\n request.headers.set(\"Authorization\", `Bearer ${token}`);\n\n return fetcher(request);\n }\n });\n };\n\n return {\n createClient: createBackendClient,\n async verifySession(headers) {\n const token = /^Bearer\\s+(\\S+)$/i.exec(getHeader(headers, \"Authorization\") ?? \"\")?.[1];\n const extensionID = getHeader(headers, \"Andesine-Extension\");\n const instance = getHeader(headers, \"Andesine-Instance\");\n\n if (!token || !extensionID || !instance) throw new ExtensionSessionError(\"MISSING_SESSION\");\n\n const audience = getTrustedInstance(instance);\n\n if (!audience) throw new ExtensionSessionError(\"UNTRUSTED_INSTANCE\");\n\n const client = createBackendClient(audience, extensionID);\n\n try {\n const session = await client.extensions.verifySession({ token });\n\n return { ...session, extensionID, instance: audience, client };\n } catch (error) {\n if (isRejection(error)) throw new ExtensionSessionError(\"INVALID_SESSION\");\n\n throw error;\n }\n },\n async receive(body) {\n const notification = typeof body === \"string\" ? parseJSON(body) : body;\n const isObject = typeof notification === \"object\" && notification !== null;\n const deliveryID = isObject ? getString(notification, \"deliveryID\") : null;\n const extensionID = isObject ? getString(notification, \"extensionID\") : null;\n const instance = isObject ? getString(notification, \"instance\") : null;\n\n if (!deliveryID || !extensionID || !instance) {\n throw new ExtensionNotificationError(\"INVALID_NOTIFICATION\");\n }\n\n const audience = getTrustedInstance(instance);\n\n if (!audience) throw new ExtensionNotificationError(\"UNTRUSTED_INSTANCE\");\n\n const client = createBackendClient(audience, extensionID);\n\n try {\n const delivery = await client.extensions.getSelfDelivery({ deliveryID });\n\n return { ...delivery, extensionID, instance: audience, client };\n } catch (error) {\n if (isRejection(error)) throw new ExtensionNotificationError(\"UNKNOWN_DELIVERY\");\n\n throw error;\n }\n }\n };\n};\n\nexport { createExtensionBackend, ExtensionNotificationError, ExtensionSessionError };\nexport type {\n ExtensionBackend,\n ExtensionBackendOptions,\n ExtensionDeliveryContext,\n ExtensionNotificationErrorCode,\n ExtensionPrivateKey,\n ExtensionSessionContext,\n ExtensionSessionErrorCode\n};\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"extensions.js","names":[],"sources":["../src/extensions/jwt.ts","../src/extensions.ts"],"sourcesContent":["interface ExtensionPrivateKey extends JsonWebKey {\n kid?: string;\n}\ninterface ExtensionTokenClaims {\n /** The instance API URL. */\n audience: string;\n /** The installation's `ext_` ID; null for app-level tokens. */\n subject: string | null;\n}\ninterface ExtensionSigner {\n sign(claims: ExtensionTokenClaims): Promise<string>;\n}\ninterface CachedToken {\n token: string;\n expiresAt: number;\n}\n\n// Andesine accepts tokens up to 300 seconds old; cached tokens renew a minute before that.\nconst TOKEN_LIFETIME = 300;\nconst RENEWAL_MARGIN = 60;\nconst MAX_CACHED_TOKENS = 1_000;\nconst ALGORITHMS = {\n \"Ed25519\": {\n alg: \"EdDSA\",\n importParams: { name: \"Ed25519\" },\n signParams: { name: \"Ed25519\" }\n },\n \"P-256\": {\n alg: \"ES256\",\n importParams: { name: \"ECDSA\", namedCurve: \"P-256\" },\n signParams: { name: \"ECDSA\", hash: \"SHA-256\" }\n }\n} as const;\n\nconst encodeBase64URL = (bytes: Uint8Array): string => {\n return btoa(String.fromCharCode(...bytes))\n .replace(/\\+/g, \"-\")\n .replace(/\\//g, \"_\")\n .replace(/=+$/, \"\");\n};\nconst encodeJSON = (value: object): string => {\n return encodeBase64URL(new TextEncoder().encode(JSON.stringify(value)));\n};\n// Errors never include the key, which can come from an environment variable.\nconst parsePrivateKey = (input: string | ExtensionPrivateKey): ExtensionPrivateKey => {\n if (typeof input !== \"string\") return input;\n\n try {\n return JSON.parse(input) as ExtensionPrivateKey;\n } catch {\n throw new TypeError(\"privateKey must be a JSON Web Key\");\n }\n};\n/** Signs extension JWTs with a private Ed25519 or P-256 JWK; caches them per audience/subject. */\nconst createExtensionSigner = (\n name: string,\n privateKey: string | ExtensionPrivateKey\n): ExtensionSigner => {\n const jwk = parsePrivateKey(privateKey);\n const algorithm = ALGORITHMS[jwk.crv as keyof typeof ALGORITHMS];\n const cache = new Map<string, CachedToken>();\n\n let key: Promise<CryptoKey> | null = null;\n\n if (!algorithm || !jwk.d || !jwk.kid) {\n throw new TypeError(\"privateKey must be a private Ed25519 or P-256 JWK with a kid\");\n }\n\n // Imported on first use, so an invalid key fails the first request, not module loading.\n const getKey = (): Promise<CryptoKey> => {\n key ??= crypto.subtle.importKey(\n \"jwk\",\n { kty: jwk.kty, crv: jwk.crv, x: jwk.x, y: jwk.y, d: jwk.d },\n algorithm.importParams,\n false,\n [\"sign\"]\n );\n\n return key;\n };\n\n return {\n async sign({ audience, subject }) {\n const now = Math.floor(Date.now() / 1000);\n const cacheKey = `${audience} ${subject ?? \"\"}`;\n const cached = cache.get(cacheKey);\n\n if (cached && cached.expiresAt - RENEWAL_MARGIN > now) return cached.token;\n\n const header = encodeJSON({ alg: algorithm.alg, kid: jwk.kid, typ: \"JWT\" });\n const payload = encodeJSON({\n iss: name,\n ...(subject && { sub: subject }),\n aud: audience,\n iat: now,\n exp: now + TOKEN_LIFETIME\n });\n const signature = await crypto.subtle.sign(\n algorithm.signParams,\n await getKey(),\n new TextEncoder().encode(`${header}.${payload}`)\n );\n const token = `${header}.${payload}.${encodeBase64URL(new Uint8Array(signature))}`;\n\n if (cache.size >= MAX_CACHED_TOKENS) cache.clear();\n\n cache.set(cacheKey, { token, expiresAt: now + TOKEN_LIFETIME });\n\n return token;\n }\n };\n};\n\nexport { createExtensionSigner };\nexport type { ExtensionPrivateKey, ExtensionSigner };\n","import { createClient, type AndesineClient, type ClientOptions } from \"./client\";\nimport { AndesineAPIError } from \"./error\";\nimport { createExtensionSigner, type ExtensionPrivateKey } from \"./extensions/jwt\";\n\ninterface ExtensionBackendOptions {\n /** The extension's registry name, e.g. `acme/publish`. */\n name: string;\n /** Private Ed25519 or P-256 JWK (string or object) with the registry `kid`; keep it secret. */\n privateKey: string | ExtensionPrivateKey;\n /** API URLs of the trusted Andesine instances, e.g. `https://api.andesine.app`. */\n trustedInstances: string[];\n /** Options for the API clients; the backend sets the base URL and the credential. */\n client?: Omit<ClientOptions, \"baseURL\" | \"apiKey\" | \"accessToken\">;\n}\ninterface VerifySessionOptions {\n /** Member actions to check in collections the extension can read; results are in `checks`. */\n checks?: SessionCheck[];\n}\ninterface ExtensionSessionContext extends VerifiedSession {\n /** The installation's `ext_` ID. */\n extensionID: string;\n /** The instance API URL. */\n instance: string;\n /** An API client for the installation, with the extension's permissions. */\n client: AndesineClient;\n}\ninterface ExtensionDeliveryContext extends ReceivedDelivery {\n /** The installation's `ext_` ID. */\n extensionID: string;\n /** The instance API URL. */\n instance: string;\n /** An API client for the installation, with the extension's permissions. */\n client: AndesineClient;\n}\ninterface ExtensionBackend {\n /**\n * API client for an installation; without `extensionID`, it can only list installations.\n * @throws TypeError if the instance is not trusted.\n */\n createClient(instance: string, extensionID?: string): AndesineClient;\n /**\n * Verifies the session headers that the frontend's `backend.fetch` sends.\n * @throws ExtensionSessionError for missing headers, an untrusted instance, or an invalid token.\n * @throws AndesineAPIError for other API failures.\n */\n verifySession(\n headers: HeaderSource,\n options?: VerifySessionOptions\n ): Promise<ExtensionSessionContext>;\n /**\n * Confirms a webhook body by fetching its delivery; respond with 2xx once handled, or it retries.\n * @throws ExtensionNotificationError for an invalid body, an untrusted instance, or no delivery.\n * @throws AndesineAPIError for other API failures.\n */\n receive(body: unknown): Promise<ExtensionDeliveryContext>;\n}\n\ntype VerifiedSession = Awaited<ReturnType<AndesineClient[\"extensions\"][\"verifySession\"]>>;\ntype SessionCheck = NonNullable<\n Parameters<AndesineClient[\"extensions\"][\"verifySession\"]>[0][\"checks\"]\n>[number];\ntype ReceivedDelivery = Awaited<ReturnType<AndesineClient[\"extensions\"][\"getSelfDelivery\"]>>;\ntype HeaderSource = Headers | Record<string, string | string[] | undefined>;\ntype ExtensionSessionErrorCode = \"MISSING_SESSION\" | \"UNTRUSTED_INSTANCE\" | \"INVALID_SESSION\";\ntype ExtensionNotificationErrorCode =\n \"INVALID_NOTIFICATION\" | \"UNTRUSTED_INSTANCE\" | \"UNKNOWN_DELIVERY\";\n\nclass ExtensionSessionError extends Error {\n constructor(readonly code: ExtensionSessionErrorCode) {\n super(`Extension session verification failed: ${code}`);\n }\n}\n\nclass ExtensionNotificationError extends Error {\n constructor(readonly code: ExtensionNotificationErrorCode) {\n super(`Extension notification failed: ${code}`);\n }\n}\n\nconst isRejection = (error: unknown): boolean => {\n return error instanceof AndesineAPIError && [401, 403, 404].includes(error.status);\n};\nconst parseJSON = (text: string): unknown => {\n try {\n return JSON.parse(text);\n } catch {\n return null;\n }\n};\nconst getString = (value: object, key: string): string | null => {\n const field = (value as Record<string, unknown>)[key];\n\n return typeof field === \"string\" && field ? field : null;\n};\nconst normalizeInstance = (instance: string): string | null => {\n try {\n const url = new URL(instance);\n const isHTTP = url.protocol === \"https:\" || url.protocol === \"http:\";\n\n return isHTTP ? `${url.origin}${url.pathname}`.replace(/\\/+$/, \"\") : null;\n } catch {\n return null;\n }\n};\nconst getHeader = (headers: HeaderSource, name: string): string | null => {\n if (headers instanceof Headers) return headers.get(name);\n\n const value = headers[name.toLowerCase()];\n\n return (Array.isArray(value) ? value[0] : value) ?? null;\n};\n/**\n * Creates the backend helpers, which sign and cache extension JWTs for trusted instances only.\n * @example\n * const extension = createExtensionBackend({\n * name: \"acme/publish\",\n * privateKey: process.env.ANDESINE_EXTENSION_KEY!,\n * trustedInstances: [\"https://api.andesine.app\"]\n * });\n * const session = await extension.verifySession(request.headers);\n */\nconst createExtensionBackend = (options: ExtensionBackendOptions): ExtensionBackend => {\n const signer = createExtensionSigner(options.name, options.privateKey);\n const trusted = new Set(options.trustedInstances.map(normalizeInstance));\n const fetcher = options.client?.fetch ?? globalThis.fetch;\n const getTrustedInstance = (instance: string): string | null => {\n const normalized = normalizeInstance(instance);\n\n return normalized && trusted.has(normalized) ? normalized : null;\n };\n const createBackendClient = (instance: string, extensionID?: string): AndesineClient => {\n const audience = getTrustedInstance(instance);\n\n if (!audience) throw new TypeError(\"The instance is not trusted\");\n\n return createClient({\n ...options.client,\n baseURL: audience,\n apiKey: \"\",\n fetch: async (input, init) => {\n const request = new Request(input, init);\n const token = await signer.sign({ audience, subject: extensionID ?? null });\n\n request.headers.set(\"Authorization\", `Bearer ${token}`);\n\n return fetcher(request);\n }\n });\n };\n\n return {\n createClient: createBackendClient,\n async verifySession(headers, sessionOptions = {}) {\n const token = /^Bearer\\s+(\\S+)$/i.exec(getHeader(headers, \"Authorization\") ?? \"\")?.[1];\n const extensionID = getHeader(headers, \"Andesine-Extension\");\n const instance = getHeader(headers, \"Andesine-Instance\");\n\n if (!token || !extensionID || !instance) throw new ExtensionSessionError(\"MISSING_SESSION\");\n\n const audience = getTrustedInstance(instance);\n\n if (!audience) throw new ExtensionSessionError(\"UNTRUSTED_INSTANCE\");\n\n const client = createBackendClient(audience, extensionID);\n\n try {\n const session = await client.extensions.verifySession({\n token,\n checks: sessionOptions.checks\n });\n\n return { ...session, extensionID, instance: audience, client };\n } catch (error) {\n if (isRejection(error)) throw new ExtensionSessionError(\"INVALID_SESSION\");\n\n throw error;\n }\n },\n async receive(body) {\n const notification = typeof body === \"string\" ? parseJSON(body) : body;\n const isObject = typeof notification === \"object\" && notification !== null;\n const deliveryID = isObject ? getString(notification, \"deliveryID\") : null;\n const extensionID = isObject ? getString(notification, \"extensionID\") : null;\n const instance = isObject ? getString(notification, \"instance\") : null;\n\n if (!deliveryID || !extensionID || !instance) {\n throw new ExtensionNotificationError(\"INVALID_NOTIFICATION\");\n }\n\n const audience = getTrustedInstance(instance);\n\n if (!audience) throw new ExtensionNotificationError(\"UNTRUSTED_INSTANCE\");\n\n const client = createBackendClient(audience, extensionID);\n\n try {\n const delivery = await client.extensions.getSelfDelivery({ deliveryID });\n\n return { ...delivery, extensionID, instance: audience, client };\n } catch (error) {\n if (isRejection(error)) throw new ExtensionNotificationError(\"UNKNOWN_DELIVERY\");\n\n throw error;\n }\n }\n };\n};\n\nexport { createExtensionBackend, ExtensionNotificationError, ExtensionSessionError };\nexport type {\n ExtensionBackend,\n ExtensionBackendOptions,\n ExtensionDeliveryContext,\n ExtensionNotificationErrorCode,\n ExtensionPrivateKey,\n ExtensionSessionContext,\n ExtensionSessionErrorCode,\n VerifySessionOptions\n};\n"],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as InvitePendingErrorData, $t as TextPropertyFilter, A as ContentNodeInput, At as ResolvedSchemaField, B as EntryPropertyKind, Bt as SchemaFragment, C as Collection, Ct as PublishedVersion, D as ContentMarkInput, Dt as PublishingSnapshotErrorData, E as ContentMark, Et as PublishingChannelListItem, F as DatePropertyFilter, Ft as SchemaDefinition, G as EntryVersion, Gt as SchemaProperty, H as EntryPublication, Ht as SchemaMigrationContentLossEntry, I as EffectiveCollectionSchema, It as SchemaDraftDefinition, J as ForbiddenErrorData, Jt as SchemaVersion, K as EntryVersionSummary, Kt as SchemaPropertyValue, L as Entry, Lt as SchemaField, M as ContentSchemaIssue, Mt as Role, N as ContentSchemaMetadata, Nt as SchemaApplicationResult, O as ContentNameConflictErrorData, Ot as RateLimitErrorData, P as ContentSchemaMismatchErrorData, Pt as SchemaBlockType, Q as InviteDeliveryResult, Qt as SearchResults, R as EntryFragment, Rt as SchemaFieldKeyConflictErrorData, S as ChannelContentStatus, St as PublishedTree, T as ComparisonOperator, Tt as PublishingChannelCode, U as EntryPublicationChannel, Ut as SchemaMigrationErrorData, V as EntryPropertyValue, Vt as SchemaMigration, W as EntrySummary, Wt as SchemaMigrationStatus, X as InstanceInfo, Xt as SearchPropertyValue, Y as Identity, Yt as SchemaVersionSummary, Z as Invite, Zt as SearchResult, _ as BaseRole, _t as PublishedEntriesResult, a as Asset, an as UserProfile, at as NumberPropertyFilter, b as ChannelContentCollection, bt as PublishedEntrySummary, c as AssetConflictErrorData, cn as VersionReason, ct as PropertyFilter, d as AssetSearchResult, dn as WebhookEndpoint, dt as PublishedAnswerEvent, en as TypeMetadata, et as InviteStatus, f as AssetStatus, fn as WebhookEvent, ft as PublishedAnswerSource, g as AssetVariant, gt as PublishedContent, h as AssetValidationErrorData, hn as WorkspaceListItem, ht as PublishedCollectionSummary, i as AnswerSource, in as UnpublishedEntriesResult, it as MembershipInviteResult, j as ContentSchemaInvalidErrorData, jt as RevertPublishingChangesResult, k as ContentNode, kt as ResolvedSchemaDefinition, l as AssetFile, ln as WebhookAttempt, lt as PublishEntryTarget, m as AssetUploadRegistration, mn as WebhookRun, mt as PublishedCollection, n as AnswerEvent, nn as TypeMetadataEntry, nt as Membership, o as AssetAnalysis, on as ValidationErrorData, ot as Pagination, p as AssetStorageErrorData, pn as WebhookEventName, pt as PublishedAsset, q as ErrorData, qt as SchemaRevision, r as AnswerHistoryMessage, rn as TypeMetadataTree, rt as MembershipExistsErrorData, s as AssetAnalysisStatus, sn as ValidationIssue, st as Permission, t as Answer, tn as TypeMetadataCollection, tt as LocalCollectionSchema, u as AssetFileFormat, un as WebhookDelivery, ut as PublishedAnswer, v as BooleanPropertyFilter, vt as PublishedEntry, w as CollectionSchema, wt as PublishingChannel, x as ChannelContentEntry, xt as PublishedSearchResult, y as ChannelContent, yt as PublishedEntryContent, z as EntryProperty, zt as SchemaFieldSource } from "./schema-
|
|
2
|
-
import { c as APIErrorData, d as OperationError, f as OperationInput, p as OperationOutput, s as APIErrorCode } from "./client-
|
|
1
|
+
import { $ as InvitePendingErrorData, $t as TextPropertyFilter, A as ContentNodeInput, At as ResolvedSchemaField, B as EntryPropertyKind, Bt as SchemaFragment, C as Collection, Ct as PublishedVersion, D as ContentMarkInput, Dt as PublishingSnapshotErrorData, E as ContentMark, Et as PublishingChannelListItem, F as DatePropertyFilter, Ft as SchemaDefinition, G as EntryVersion, Gt as SchemaProperty, H as EntryPublication, Ht as SchemaMigrationContentLossEntry, I as EffectiveCollectionSchema, It as SchemaDraftDefinition, J as ForbiddenErrorData, Jt as SchemaVersion, K as EntryVersionSummary, Kt as SchemaPropertyValue, L as Entry, Lt as SchemaField, M as ContentSchemaIssue, Mt as Role, N as ContentSchemaMetadata, Nt as SchemaApplicationResult, O as ContentNameConflictErrorData, Ot as RateLimitErrorData, P as ContentSchemaMismatchErrorData, Pt as SchemaBlockType, Q as InviteDeliveryResult, Qt as SearchResults, R as EntryFragment, Rt as SchemaFieldKeyConflictErrorData, S as ChannelContentStatus, St as PublishedTree, T as ComparisonOperator, Tt as PublishingChannelCode, U as EntryPublicationChannel, Ut as SchemaMigrationErrorData, V as EntryPropertyValue, Vt as SchemaMigration, W as EntrySummary, Wt as SchemaMigrationStatus, X as InstanceInfo, Xt as SearchPropertyValue, Y as Identity, Yt as SchemaVersionSummary, Z as Invite, Zt as SearchResult, _ as BaseRole, _t as PublishedEntriesResult, a as Asset, an as UserProfile, at as NumberPropertyFilter, b as ChannelContentCollection, bt as PublishedEntrySummary, c as AssetConflictErrorData, cn as VersionReason, ct as PropertyFilter, d as AssetSearchResult, dn as WebhookEndpoint, dt as PublishedAnswerEvent, en as TypeMetadata, et as InviteStatus, f as AssetStatus, fn as WebhookEvent, ft as PublishedAnswerSource, g as AssetVariant, gt as PublishedContent, h as AssetValidationErrorData, hn as WorkspaceListItem, ht as PublishedCollectionSummary, i as AnswerSource, in as UnpublishedEntriesResult, it as MembershipInviteResult, j as ContentSchemaInvalidErrorData, jt as RevertPublishingChangesResult, k as ContentNode, kt as ResolvedSchemaDefinition, l as AssetFile, ln as WebhookAttempt, lt as PublishEntryTarget, m as AssetUploadRegistration, mn as WebhookRun, mt as PublishedCollection, n as AnswerEvent, nn as TypeMetadataEntry, nt as Membership, o as AssetAnalysis, on as ValidationErrorData, ot as Pagination, p as AssetStorageErrorData, pn as WebhookEventName, pt as PublishedAsset, q as ErrorData, qt as SchemaRevision, r as AnswerHistoryMessage, rn as TypeMetadataTree, rt as MembershipExistsErrorData, s as AssetAnalysisStatus, sn as ValidationIssue, st as Permission, t as Answer, tn as TypeMetadataCollection, tt as LocalCollectionSchema, u as AssetFileFormat, un as WebhookDelivery, ut as PublishedAnswer, v as BooleanPropertyFilter, vt as PublishedEntry, w as CollectionSchema, wt as PublishingChannel, x as ChannelContentEntry, xt as PublishedSearchResult, y as ChannelContent, yt as PublishedEntryContent, z as EntryProperty, zt as SchemaFieldSource } from "./schema-CMpGUItd.js";
|
|
2
|
+
import { c as APIErrorData, d as OperationError, f as OperationInput, p as OperationOutput, s as APIErrorCode } from "./client-QR7crUNC.js";
|
|
3
3
|
//#region src/content-url.d.ts
|
|
4
4
|
/** A decoded canonical path, optionally with a decoded heading anchor. */
|
|
5
5
|
interface ContentLocation {
|
|
@@ -88,7 +88,7 @@ declare class AndesineStreamProtocolError extends Error {
|
|
|
88
88
|
constructor(code: "INVALID_STREAM" | "INCOMPLETE_STREAM", response: Response, message: string, options?: ErrorOptions);
|
|
89
89
|
}
|
|
90
90
|
declare namespace types_d_exports {
|
|
91
|
-
export { Answer, AnswerEvent, AnswerHistoryMessage, AnswerSource, Asset, AssetAnalysis, AssetAnalysisStatus, AssetConflictErrorData, AssetFile, AssetFileFormat, AssetSearchResult, AssetStatus, AssetStorageErrorData, AssetUploadRegistration, AssetValidationErrorData, AssetVariant, AssetsGetError, AssetsGetInput, AssetsGetOutput, AssetsImportURLError, AssetsImportURLInput, AssetsImportURLOutput, AssetsRegisterError, AssetsRegisterInput, AssetsRegisterOutput, AssetsSearchError, AssetsSearchInput, AssetsSearchOutput, AssetsUploadError, AssetsUploadInput, AssetsUploadOutput, AuthGetIdentityError, AuthGetIdentityInput, AuthGetIdentityOutput, BaseRole, BooleanPropertyFilter, ChannelContent, ChannelContentCollection, ChannelContentEntry, ChannelContentStatus, Collection, CollectionSchema, CollectionsBulkDeleteError, CollectionsBulkDeleteInput, CollectionsBulkDeleteOutput, CollectionsCreateError, CollectionsCreateInput, CollectionsCreateOutput, CollectionsDeleteError, CollectionsDeleteInput, CollectionsDeleteOutput, CollectionsListError, CollectionsListInput, CollectionsListOutput, CollectionsMoveError, CollectionsMoveInput, CollectionsMoveOutput, CollectionsUpdateError, CollectionsUpdateInput, CollectionsUpdateOutput, ComparisonOperator, ContentGetAssetError, ContentGetAssetInput, ContentGetAssetOutput, ContentGetError, ContentGetInput, ContentGetOutput, ContentGetSchemaError, ContentGetSchemaInput, ContentGetSchemaOutput, ContentGetTreeError, ContentGetTreeInput, ContentGetTreeOutput, ContentListCollectionsError, ContentListCollectionsInput, ContentListCollectionsOutput, ContentListEntriesError, ContentListEntriesInput, ContentListEntriesOutput, ContentMark, ContentMarkInput, ContentNameConflictErrorData, ContentNode, ContentNodeInput, ContentSchemaInvalidErrorData, ContentSchemaIssue, ContentSchemaMetadata, ContentSchemaMismatchErrorData, DatePropertyFilter, EffectiveCollectionSchema, EntriesBulkDeleteError, EntriesBulkDeleteInput, EntriesBulkDeleteOutput, EntriesBulkMoveError, EntriesBulkMoveInput, EntriesBulkMoveOutput, EntriesBulkUpdateError, EntriesBulkUpdateInput, EntriesBulkUpdateOutput, EntriesCreateError, EntriesCreateInput, EntriesCreateOutput, EntriesDeleteError, EntriesDeleteInput, EntriesDeleteOutput, EntriesGetError, EntriesGetInput, EntriesGetOutput, EntriesListError, EntriesListInput, EntriesListOutput, EntriesMoveError, EntriesMoveInput, EntriesMoveOutput, EntriesUpdateError, EntriesUpdateInput, EntriesUpdateOutput, Entry, EntryFragment, EntryProperty, EntryPropertyKind, EntryPropertyValue, EntryPublication, EntryPublicationChannel, EntrySummary, EntryVersion, EntryVersionSummary, ErrorData, ExtensionsDeleteSelfStorageEntryError, ExtensionsDeleteSelfStorageEntryInput, ExtensionsDeleteSelfStorageEntryOutput, ExtensionsGetSelfConfigurationError, ExtensionsGetSelfConfigurationInput, ExtensionsGetSelfConfigurationOutput, ExtensionsGetSelfDeliveryError, ExtensionsGetSelfDeliveryInput, ExtensionsGetSelfDeliveryOutput, ExtensionsGetSelfError, ExtensionsGetSelfInput, ExtensionsGetSelfOutput, ExtensionsGetSelfStorageEntryError, ExtensionsGetSelfStorageEntryInput, ExtensionsGetSelfStorageEntryOutput, ExtensionsListInstallationsError, ExtensionsListInstallationsInput, ExtensionsListInstallationsOutput, ExtensionsListSelfStorageEntriesError, ExtensionsListSelfStorageEntriesInput, ExtensionsListSelfStorageEntriesOutput, ExtensionsSetSelfStorageEntryError, ExtensionsSetSelfStorageEntryInput, ExtensionsSetSelfStorageEntryOutput, ExtensionsVerifySessionError, ExtensionsVerifySessionInput, ExtensionsVerifySessionOutput, ForbiddenErrorData, Identity, InstanceGetError, InstanceGetInput, InstanceGetOutput, InstanceInfo, Invite, InviteDeliveryResult, InvitePendingErrorData, InviteStatus, LocalCollectionSchema, Membership, MembershipExistsErrorData, MembershipInviteResult, MembershipsInviteError, MembershipsInviteInput, MembershipsInviteOutput, MembershipsListError, MembershipsListInput, MembershipsListInvitesError, MembershipsListInvitesInput, MembershipsListInvitesOutput, MembershipsListOutput, MembershipsRemoveError, MembershipsRemoveInput, MembershipsRemoveOutput, MembershipsResendInviteError, MembershipsResendInviteInput, MembershipsResendInviteOutput, MembershipsRevokeInviteError, MembershipsRevokeInviteInput, MembershipsRevokeInviteOutput, MembershipsUpdateError, MembershipsUpdateInput, MembershipsUpdateOutput, NumberPropertyFilter, Pagination, Permission, PropertyFilter, PublishEntryTarget, PublishedAnswer, PublishedAnswerEvent, PublishedAnswerSource, PublishedAsset, PublishedCollection, PublishedCollectionSummary, PublishedContent, PublishedEntriesResult, PublishedEntry, PublishedEntryContent, PublishedEntrySummary, PublishedSearchResult, PublishedTree, PublishedVersion, PublishingBulkPublishCollectionsError, PublishingBulkPublishCollectionsInput, PublishingBulkPublishCollectionsOutput, PublishingBulkPublishEntriesError, PublishingBulkPublishEntriesInput, PublishingBulkPublishEntriesOutput, PublishingBulkSetCollectionsError, PublishingBulkSetCollectionsInput, PublishingBulkSetCollectionsOutput, PublishingBulkUnpublishCollectionsError, PublishingBulkUnpublishCollectionsInput, PublishingBulkUnpublishCollectionsOutput, PublishingBulkUnpublishEntriesError, PublishingBulkUnpublishEntriesInput, PublishingBulkUnpublishEntriesOutput, PublishingChannel, PublishingChannelCode, PublishingChannelListItem, PublishingCreateChannelError, PublishingCreateChannelInput, PublishingCreateChannelOutput, PublishingDeleteChannelError, PublishingDeleteChannelInput, PublishingDeleteChannelOutput, PublishingGetChannelContentError, PublishingGetChannelContentInput, PublishingGetChannelContentOutput, PublishingGetEntryVersionError, PublishingGetEntryVersionInput, PublishingGetEntryVersionOutput, PublishingListChannelsError, PublishingListChannelsInput, PublishingListChannelsOutput, PublishingListEntryPublicationsError, PublishingListEntryPublicationsInput, PublishingListEntryPublicationsOutput, PublishingPublishCollectionError, PublishingPublishCollectionInput, PublishingPublishCollectionOutput, PublishingPublishEntryError, PublishingPublishEntryInput, PublishingPublishEntryOutput, PublishingRevertChangesError, PublishingRevertChangesInput, PublishingRevertChangesOutput, PublishingSetCollectionError, PublishingSetCollectionInput, PublishingSetCollectionOutput, PublishingSnapshotErrorData, PublishingUnpublishCollectionError, PublishingUnpublishCollectionInput, PublishingUnpublishCollectionOutput, PublishingUnpublishEntryError, PublishingUnpublishEntryInput, PublishingUnpublishEntryOutput, PublishingUpdateChannelError, PublishingUpdateChannelInput, PublishingUpdateChannelOutput, RateLimitErrorData, ResolvedSchemaDefinition, ResolvedSchemaField, RevertPublishingChangesResult, Role, RolesCreateError, RolesCreateInput, RolesCreateOutput, RolesDeleteError, RolesDeleteInput, RolesDeleteOutput, RolesListError, RolesListInput, RolesListOutput, RolesUpdateError, RolesUpdateInput, RolesUpdateOutput, SchemaApplicationResult, SchemaBlockType, SchemaDefinition, SchemaDraftDefinition, SchemaField, SchemaFieldKeyConflictErrorData, SchemaFieldSource, SchemaFragment, SchemaMigration, SchemaMigrationContentLossEntry, SchemaMigrationErrorData, SchemaMigrationStatus, SchemaMigrationsGetActiveError, SchemaMigrationsGetActiveInput, SchemaMigrationsGetActiveOutput, SchemaMigrationsGetError, SchemaMigrationsGetInput, SchemaMigrationsGetOutput, SchemaMigrationsListContentLossEntriesError, SchemaMigrationsListContentLossEntriesInput, SchemaMigrationsListContentLossEntriesOutput, SchemaProperty, SchemaPropertyValue, SchemaRevision, SchemaVersion, SchemaVersionSummary, SchemaVersionsGetError, SchemaVersionsGetInput, SchemaVersionsGetOutput, SchemaVersionsListError, SchemaVersionsListInput, SchemaVersionsListOutput, SchemaVersionsRevertError, SchemaVersionsRevertInput, SchemaVersionsRevertOutput, SchemaVersionsUpdateError, SchemaVersionsUpdateInput, SchemaVersionsUpdateOutput, SchemasApplyError, SchemasApplyInput, SchemasApplyOutput, SchemasCreateError, SchemasCreateInput, SchemasCreateOutput, SchemasDeleteError, SchemasDeleteInput, SchemasDeleteOutput, SchemasGetError, SchemasGetInput, SchemasGetOutput, SchemasGetRevisionError, SchemasGetRevisionInput, SchemasGetRevisionOutput, SearchAskCurrentError, SearchAskCurrentInput, SearchAskCurrentOutput, SearchAskCurrentStreamError, SearchAskCurrentStreamInput, SearchAskCurrentStreamOutput, SearchAskPublishedError, SearchAskPublishedInput, SearchAskPublishedOutput, SearchAskPublishedStreamError, SearchAskPublishedStreamInput, SearchAskPublishedStreamOutput, SearchCurrentError, SearchCurrentInput, SearchCurrentOutput, SearchPropertyValue, SearchPublishedError, SearchPublishedInput, SearchPublishedOutput, SearchResult, SearchResults, TextPropertyFilter, TypeMetadata, TypeMetadataCollection, TypeMetadataEntry, TypeMetadataGetCurrentError, TypeMetadataGetCurrentInput, TypeMetadataGetCurrentOutput, TypeMetadataGetPublishedError, TypeMetadataGetPublishedInput, TypeMetadataGetPublishedOutput, TypeMetadataTree, UnpublishedEntriesResult, UserProfile, ValidationErrorData, ValidationIssue, VersionReason, VersionsCreateError, VersionsCreateInput, VersionsCreateOutput, VersionsGetError, VersionsGetInput, VersionsGetOutput, VersionsListError, VersionsListInput, VersionsListOutput, VersionsRevertError, VersionsRevertInput, VersionsRevertOutput, VersionsUpdateError, VersionsUpdateInput, VersionsUpdateOutput, WebhookAttempt, WebhookDelivery, WebhookEndpoint, WebhookEvent, WebhookEventName, WebhookRun, WebhooksBulkDeleteError, WebhooksBulkDeleteInput, WebhooksBulkDeleteOutput, WebhooksBulkRedeliverError, WebhooksBulkRedeliverInput, WebhooksBulkRedeliverOutput, WebhooksBulkSetEnabledError, WebhooksBulkSetEnabledInput, WebhooksBulkSetEnabledOutput, WebhooksCreateError, WebhooksCreateInput, WebhooksCreateOutput, WebhooksDeleteError, WebhooksDeleteInput, WebhooksDeleteOutput, WebhooksGetDeliveryError, WebhooksGetDeliveryInput, WebhooksGetDeliveryOutput, WebhooksGetError, WebhooksGetInput, WebhooksGetOutput, WebhooksListAttemptsError, WebhooksListAttemptsInput, WebhooksListAttemptsOutput, WebhooksListDeliveriesError, WebhooksListDeliveriesInput, WebhooksListDeliveriesOutput, WebhooksListError, WebhooksListInput, WebhooksListOutput, WebhooksListRunsError, WebhooksListRunsInput, WebhooksListRunsOutput, WebhooksRedeliverError, WebhooksRedeliverInput, WebhooksRedeliverOutput, WebhooksRotateSecretError, WebhooksRotateSecretInput, WebhooksRotateSecretOutput, WebhooksSendTestError, WebhooksSendTestInput, WebhooksSendTestOutput, WebhooksUpdateError, WebhooksUpdateInput, WebhooksUpdateOutput, WorkspaceListItem, WorkspacesListError, WorkspacesListInput, WorkspacesListOutput };
|
|
91
|
+
export { Answer, AnswerEvent, AnswerHistoryMessage, AnswerSource, Asset, AssetAnalysis, AssetAnalysisStatus, AssetConflictErrorData, AssetFile, AssetFileFormat, AssetSearchResult, AssetStatus, AssetStorageErrorData, AssetUploadRegistration, AssetValidationErrorData, AssetVariant, AssetsGetError, AssetsGetInput, AssetsGetOutput, AssetsImportURLError, AssetsImportURLInput, AssetsImportURLOutput, AssetsRegisterError, AssetsRegisterInput, AssetsRegisterOutput, AssetsSearchError, AssetsSearchInput, AssetsSearchOutput, AssetsUploadError, AssetsUploadInput, AssetsUploadOutput, AuthGetIdentityError, AuthGetIdentityInput, AuthGetIdentityOutput, BaseRole, BooleanPropertyFilter, ChannelContent, ChannelContentCollection, ChannelContentEntry, ChannelContentStatus, Collection, CollectionSchema, CollectionsBulkDeleteError, CollectionsBulkDeleteInput, CollectionsBulkDeleteOutput, CollectionsCreateError, CollectionsCreateInput, CollectionsCreateOutput, CollectionsDeleteError, CollectionsDeleteInput, CollectionsDeleteOutput, CollectionsGetError, CollectionsGetInput, CollectionsGetOutput, CollectionsListError, CollectionsListInput, CollectionsListOutput, CollectionsMoveError, CollectionsMoveInput, CollectionsMoveOutput, CollectionsUpdateError, CollectionsUpdateInput, CollectionsUpdateOutput, ComparisonOperator, ContentGetAssetError, ContentGetAssetInput, ContentGetAssetOutput, ContentGetError, ContentGetInput, ContentGetOutput, ContentGetSchemaError, ContentGetSchemaInput, ContentGetSchemaOutput, ContentGetTreeError, ContentGetTreeInput, ContentGetTreeOutput, ContentListCollectionsError, ContentListCollectionsInput, ContentListCollectionsOutput, ContentListEntriesError, ContentListEntriesInput, ContentListEntriesOutput, ContentMark, ContentMarkInput, ContentNameConflictErrorData, ContentNode, ContentNodeInput, ContentSchemaInvalidErrorData, ContentSchemaIssue, ContentSchemaMetadata, ContentSchemaMismatchErrorData, DatePropertyFilter, EffectiveCollectionSchema, EntriesBulkDeleteError, EntriesBulkDeleteInput, EntriesBulkDeleteOutput, EntriesBulkMoveError, EntriesBulkMoveInput, EntriesBulkMoveOutput, EntriesBulkUpdateError, EntriesBulkUpdateInput, EntriesBulkUpdateOutput, EntriesCreateError, EntriesCreateInput, EntriesCreateOutput, EntriesDeleteError, EntriesDeleteInput, EntriesDeleteOutput, EntriesGetError, EntriesGetInput, EntriesGetOutput, EntriesListError, EntriesListInput, EntriesListOutput, EntriesMoveError, EntriesMoveInput, EntriesMoveOutput, EntriesUpdateError, EntriesUpdateInput, EntriesUpdateOutput, Entry, EntryFragment, EntryProperty, EntryPropertyKind, EntryPropertyValue, EntryPublication, EntryPublicationChannel, EntrySummary, EntryVersion, EntryVersionSummary, ErrorData, ExtensionsCreateSelfPublishableKeyError, ExtensionsCreateSelfPublishableKeyInput, ExtensionsCreateSelfPublishableKeyOutput, ExtensionsDeleteSelfPublishableKeyError, ExtensionsDeleteSelfPublishableKeyInput, ExtensionsDeleteSelfPublishableKeyOutput, ExtensionsDeleteSelfStorageEntryError, ExtensionsDeleteSelfStorageEntryInput, ExtensionsDeleteSelfStorageEntryOutput, ExtensionsGetSelfConfigurationError, ExtensionsGetSelfConfigurationInput, ExtensionsGetSelfConfigurationOutput, ExtensionsGetSelfDeliveryError, ExtensionsGetSelfDeliveryInput, ExtensionsGetSelfDeliveryOutput, ExtensionsGetSelfError, ExtensionsGetSelfInput, ExtensionsGetSelfOutput, ExtensionsGetSelfStorageEntryError, ExtensionsGetSelfStorageEntryInput, ExtensionsGetSelfStorageEntryOutput, ExtensionsListElementsError, ExtensionsListElementsInput, ExtensionsListElementsOutput, ExtensionsListInstallationsError, ExtensionsListInstallationsInput, ExtensionsListInstallationsOutput, ExtensionsListSelfPublishableKeysError, ExtensionsListSelfPublishableKeysInput, ExtensionsListSelfPublishableKeysOutput, ExtensionsListSelfStorageEntriesError, ExtensionsListSelfStorageEntriesInput, ExtensionsListSelfStorageEntriesOutput, ExtensionsSetSelfStorageEntryError, ExtensionsSetSelfStorageEntryInput, ExtensionsSetSelfStorageEntryOutput, ExtensionsUpdateSelfPublishableKeyError, ExtensionsUpdateSelfPublishableKeyInput, ExtensionsUpdateSelfPublishableKeyOutput, ExtensionsVerifySessionError, ExtensionsVerifySessionInput, ExtensionsVerifySessionOutput, ForbiddenErrorData, Identity, InstanceGetError, InstanceGetInput, InstanceGetOutput, InstanceInfo, Invite, InviteDeliveryResult, InvitePendingErrorData, InviteStatus, LocalCollectionSchema, Membership, MembershipExistsErrorData, MembershipInviteResult, MembershipsInviteError, MembershipsInviteInput, MembershipsInviteOutput, MembershipsListError, MembershipsListInput, MembershipsListInvitesError, MembershipsListInvitesInput, MembershipsListInvitesOutput, MembershipsListOutput, MembershipsRemoveError, MembershipsRemoveInput, MembershipsRemoveOutput, MembershipsResendInviteError, MembershipsResendInviteInput, MembershipsResendInviteOutput, MembershipsRevokeInviteError, MembershipsRevokeInviteInput, MembershipsRevokeInviteOutput, MembershipsUpdateError, MembershipsUpdateInput, MembershipsUpdateOutput, NumberPropertyFilter, Pagination, Permission, PropertyFilter, PublishEntryTarget, PublishedAnswer, PublishedAnswerEvent, PublishedAnswerSource, PublishedAsset, PublishedCollection, PublishedCollectionSummary, PublishedContent, PublishedEntriesResult, PublishedEntry, PublishedEntryContent, PublishedEntrySummary, PublishedSearchResult, PublishedTree, PublishedVersion, PublishingBulkPublishCollectionsError, PublishingBulkPublishCollectionsInput, PublishingBulkPublishCollectionsOutput, PublishingBulkPublishEntriesError, PublishingBulkPublishEntriesInput, PublishingBulkPublishEntriesOutput, PublishingBulkSetCollectionsError, PublishingBulkSetCollectionsInput, PublishingBulkSetCollectionsOutput, PublishingBulkUnpublishCollectionsError, PublishingBulkUnpublishCollectionsInput, PublishingBulkUnpublishCollectionsOutput, PublishingBulkUnpublishEntriesError, PublishingBulkUnpublishEntriesInput, PublishingBulkUnpublishEntriesOutput, PublishingChannel, PublishingChannelCode, PublishingChannelListItem, PublishingCreateChannelError, PublishingCreateChannelInput, PublishingCreateChannelOutput, PublishingDeleteChannelError, PublishingDeleteChannelInput, PublishingDeleteChannelOutput, PublishingGetChannelContentError, PublishingGetChannelContentInput, PublishingGetChannelContentOutput, PublishingGetEntryVersionError, PublishingGetEntryVersionInput, PublishingGetEntryVersionOutput, PublishingListChannelsError, PublishingListChannelsInput, PublishingListChannelsOutput, PublishingListEntryPublicationsError, PublishingListEntryPublicationsInput, PublishingListEntryPublicationsOutput, PublishingPublishCollectionError, PublishingPublishCollectionInput, PublishingPublishCollectionOutput, PublishingPublishEntryError, PublishingPublishEntryInput, PublishingPublishEntryOutput, PublishingRevertChangesError, PublishingRevertChangesInput, PublishingRevertChangesOutput, PublishingSetCollectionError, PublishingSetCollectionInput, PublishingSetCollectionOutput, PublishingSnapshotErrorData, PublishingUnpublishCollectionError, PublishingUnpublishCollectionInput, PublishingUnpublishCollectionOutput, PublishingUnpublishEntryError, PublishingUnpublishEntryInput, PublishingUnpublishEntryOutput, PublishingUpdateChannelError, PublishingUpdateChannelInput, PublishingUpdateChannelOutput, RateLimitErrorData, ResolvedSchemaDefinition, ResolvedSchemaField, RevertPublishingChangesResult, Role, RolesCreateError, RolesCreateInput, RolesCreateOutput, RolesDeleteError, RolesDeleteInput, RolesDeleteOutput, RolesListError, RolesListInput, RolesListOutput, RolesUpdateError, RolesUpdateInput, RolesUpdateOutput, SchemaApplicationResult, SchemaBlockType, SchemaDefinition, SchemaDraftDefinition, SchemaField, SchemaFieldKeyConflictErrorData, SchemaFieldSource, SchemaFragment, SchemaMigration, SchemaMigrationContentLossEntry, SchemaMigrationErrorData, SchemaMigrationStatus, SchemaMigrationsGetActiveError, SchemaMigrationsGetActiveInput, SchemaMigrationsGetActiveOutput, SchemaMigrationsGetError, SchemaMigrationsGetInput, SchemaMigrationsGetOutput, SchemaMigrationsListContentLossEntriesError, SchemaMigrationsListContentLossEntriesInput, SchemaMigrationsListContentLossEntriesOutput, SchemaProperty, SchemaPropertyValue, SchemaRevision, SchemaVersion, SchemaVersionSummary, SchemaVersionsGetError, SchemaVersionsGetInput, SchemaVersionsGetOutput, SchemaVersionsListError, SchemaVersionsListInput, SchemaVersionsListOutput, SchemaVersionsRevertError, SchemaVersionsRevertInput, SchemaVersionsRevertOutput, SchemaVersionsUpdateError, SchemaVersionsUpdateInput, SchemaVersionsUpdateOutput, SchemasApplyError, SchemasApplyInput, SchemasApplyOutput, SchemasCreateError, SchemasCreateInput, SchemasCreateOutput, SchemasDeleteError, SchemasDeleteInput, SchemasDeleteOutput, SchemasGetError, SchemasGetInput, SchemasGetOutput, SchemasGetRevisionError, SchemasGetRevisionInput, SchemasGetRevisionOutput, SearchAskCurrentError, SearchAskCurrentInput, SearchAskCurrentOutput, SearchAskCurrentStreamError, SearchAskCurrentStreamInput, SearchAskCurrentStreamOutput, SearchAskPublishedError, SearchAskPublishedInput, SearchAskPublishedOutput, SearchAskPublishedStreamError, SearchAskPublishedStreamInput, SearchAskPublishedStreamOutput, SearchCurrentError, SearchCurrentInput, SearchCurrentOutput, SearchPropertyValue, SearchPublishedError, SearchPublishedInput, SearchPublishedOutput, SearchResult, SearchResults, TextPropertyFilter, TypeMetadata, TypeMetadataCollection, TypeMetadataEntry, TypeMetadataGetCurrentError, TypeMetadataGetCurrentInput, TypeMetadataGetCurrentOutput, TypeMetadataGetPublishedError, TypeMetadataGetPublishedInput, TypeMetadataGetPublishedOutput, TypeMetadataTree, UnpublishedEntriesResult, UserProfile, ValidationErrorData, ValidationIssue, VersionReason, VersionsCreateError, VersionsCreateInput, VersionsCreateOutput, VersionsGetError, VersionsGetInput, VersionsGetOutput, VersionsListError, VersionsListInput, VersionsListOutput, VersionsRevertError, VersionsRevertInput, VersionsRevertOutput, VersionsUpdateError, VersionsUpdateInput, VersionsUpdateOutput, WebhookAttempt, WebhookDelivery, WebhookEndpoint, WebhookEvent, WebhookEventName, WebhookRun, WebhooksBulkDeleteError, WebhooksBulkDeleteInput, WebhooksBulkDeleteOutput, WebhooksBulkRedeliverError, WebhooksBulkRedeliverInput, WebhooksBulkRedeliverOutput, WebhooksBulkSetEnabledError, WebhooksBulkSetEnabledInput, WebhooksBulkSetEnabledOutput, WebhooksCreateError, WebhooksCreateInput, WebhooksCreateOutput, WebhooksDeleteError, WebhooksDeleteInput, WebhooksDeleteOutput, WebhooksGetDeliveryError, WebhooksGetDeliveryInput, WebhooksGetDeliveryOutput, WebhooksGetError, WebhooksGetInput, WebhooksGetOutput, WebhooksListAttemptsError, WebhooksListAttemptsInput, WebhooksListAttemptsOutput, WebhooksListDeliveriesError, WebhooksListDeliveriesInput, WebhooksListDeliveriesOutput, WebhooksListError, WebhooksListInput, WebhooksListOutput, WebhooksListRunsError, WebhooksListRunsInput, WebhooksListRunsOutput, WebhooksRedeliverError, WebhooksRedeliverInput, WebhooksRedeliverOutput, WebhooksRotateSecretError, WebhooksRotateSecretInput, WebhooksRotateSecretOutput, WebhooksSendTestError, WebhooksSendTestInput, WebhooksSendTestOutput, WebhooksUpdateError, WebhooksUpdateInput, WebhooksUpdateOutput, WorkspaceListItem, WorkspacesListError, WorkspacesListInput, WorkspacesListOutput };
|
|
92
92
|
}
|
|
93
93
|
type AssetsGetError = OperationError<"assets.get">;
|
|
94
94
|
type AssetsGetInput = OperationInput<"assets.get">;
|
|
@@ -117,6 +117,9 @@ type CollectionsCreateOutput = OperationOutput<"collections.create">;
|
|
|
117
117
|
type CollectionsDeleteError = OperationError<"collections.delete">;
|
|
118
118
|
type CollectionsDeleteInput = OperationInput<"collections.delete">;
|
|
119
119
|
type CollectionsDeleteOutput = OperationOutput<"collections.delete">;
|
|
120
|
+
type CollectionsGetError = OperationError<"collections.get">;
|
|
121
|
+
type CollectionsGetInput = OperationInput<"collections.get">;
|
|
122
|
+
type CollectionsGetOutput = OperationOutput<"collections.get">;
|
|
120
123
|
type CollectionsListError = OperationError<"collections.list">;
|
|
121
124
|
type CollectionsListInput = OperationInput<"collections.list">;
|
|
122
125
|
type CollectionsListOutput = OperationOutput<"collections.list">;
|
|
@@ -171,6 +174,12 @@ type EntriesMoveOutput = OperationOutput<"entries.move">;
|
|
|
171
174
|
type EntriesUpdateError = OperationError<"entries.update">;
|
|
172
175
|
type EntriesUpdateInput = OperationInput<"entries.update">;
|
|
173
176
|
type EntriesUpdateOutput = OperationOutput<"entries.update">;
|
|
177
|
+
type ExtensionsCreateSelfPublishableKeyError = OperationError<"extensions.createSelfPublishableKey">;
|
|
178
|
+
type ExtensionsCreateSelfPublishableKeyInput = OperationInput<"extensions.createSelfPublishableKey">;
|
|
179
|
+
type ExtensionsCreateSelfPublishableKeyOutput = OperationOutput<"extensions.createSelfPublishableKey">;
|
|
180
|
+
type ExtensionsDeleteSelfPublishableKeyError = OperationError<"extensions.deleteSelfPublishableKey">;
|
|
181
|
+
type ExtensionsDeleteSelfPublishableKeyInput = OperationInput<"extensions.deleteSelfPublishableKey">;
|
|
182
|
+
type ExtensionsDeleteSelfPublishableKeyOutput = OperationOutput<"extensions.deleteSelfPublishableKey">;
|
|
174
183
|
type ExtensionsDeleteSelfStorageEntryError = OperationError<"extensions.deleteSelfStorageEntry">;
|
|
175
184
|
type ExtensionsDeleteSelfStorageEntryInput = OperationInput<"extensions.deleteSelfStorageEntry">;
|
|
176
185
|
type ExtensionsDeleteSelfStorageEntryOutput = OperationOutput<"extensions.deleteSelfStorageEntry">;
|
|
@@ -186,15 +195,24 @@ type ExtensionsGetSelfOutput = OperationOutput<"extensions.getSelf">;
|
|
|
186
195
|
type ExtensionsGetSelfStorageEntryError = OperationError<"extensions.getSelfStorageEntry">;
|
|
187
196
|
type ExtensionsGetSelfStorageEntryInput = OperationInput<"extensions.getSelfStorageEntry">;
|
|
188
197
|
type ExtensionsGetSelfStorageEntryOutput = OperationOutput<"extensions.getSelfStorageEntry">;
|
|
198
|
+
type ExtensionsListElementsError = OperationError<"extensions.listElements">;
|
|
199
|
+
type ExtensionsListElementsInput = OperationInput<"extensions.listElements">;
|
|
200
|
+
type ExtensionsListElementsOutput = OperationOutput<"extensions.listElements">;
|
|
189
201
|
type ExtensionsListInstallationsError = OperationError<"extensions.listInstallations">;
|
|
190
202
|
type ExtensionsListInstallationsInput = OperationInput<"extensions.listInstallations">;
|
|
191
203
|
type ExtensionsListInstallationsOutput = OperationOutput<"extensions.listInstallations">;
|
|
204
|
+
type ExtensionsListSelfPublishableKeysError = OperationError<"extensions.listSelfPublishableKeys">;
|
|
205
|
+
type ExtensionsListSelfPublishableKeysInput = OperationInput<"extensions.listSelfPublishableKeys">;
|
|
206
|
+
type ExtensionsListSelfPublishableKeysOutput = OperationOutput<"extensions.listSelfPublishableKeys">;
|
|
192
207
|
type ExtensionsListSelfStorageEntriesError = OperationError<"extensions.listSelfStorageEntries">;
|
|
193
208
|
type ExtensionsListSelfStorageEntriesInput = OperationInput<"extensions.listSelfStorageEntries">;
|
|
194
209
|
type ExtensionsListSelfStorageEntriesOutput = OperationOutput<"extensions.listSelfStorageEntries">;
|
|
195
210
|
type ExtensionsSetSelfStorageEntryError = OperationError<"extensions.setSelfStorageEntry">;
|
|
196
211
|
type ExtensionsSetSelfStorageEntryInput = OperationInput<"extensions.setSelfStorageEntry">;
|
|
197
212
|
type ExtensionsSetSelfStorageEntryOutput = OperationOutput<"extensions.setSelfStorageEntry">;
|
|
213
|
+
type ExtensionsUpdateSelfPublishableKeyError = OperationError<"extensions.updateSelfPublishableKey">;
|
|
214
|
+
type ExtensionsUpdateSelfPublishableKeyInput = OperationInput<"extensions.updateSelfPublishableKey">;
|
|
215
|
+
type ExtensionsUpdateSelfPublishableKeyOutput = OperationOutput<"extensions.updateSelfPublishableKey">;
|
|
198
216
|
type ExtensionsVerifySessionError = OperationError<"extensions.verifySession">;
|
|
199
217
|
type ExtensionsVerifySessionInput = OperationInput<"extensions.verifySession">;
|
|
200
218
|
type ExtensionsVerifySessionOutput = OperationOutput<"extensions.verifySession">;
|
|
@@ -481,5 +499,5 @@ type StructuredContent<T extends StructuredContentSource> = T extends unknown ?
|
|
|
481
499
|
*/
|
|
482
500
|
declare const toStructuredContent: <T extends StructuredContentSource>(page: T) => StructuredContent<T>;
|
|
483
501
|
//#endregion
|
|
484
|
-
export { ContentGetTreeError as $, WebhooksUpdateError as $a, VersionsGetError as $i, PublishingGetChannelContentError as $n, SchemaVersionsGetError as $r, ExtensionsListSelfStorageEntriesError as $t, CollectionsCreateInput as A, WebhooksGetInput as Aa, SearchAskCurrentStreamInput as Ai, MembershipsUpdateInput as An, PublishingUpdateChannelInput as Ar, EntriesMoveInput as At, CollectionsMoveOutput as B, WebhooksListOutput as Ba, SearchCurrentOutput as Bi, PublishingBulkSetCollectionsOutput as Bn, RolesListOutput as Br, ExtensionsGetSelfConfigurationOutput as Bt, AuthGetIdentityError as C, WebhooksDeleteError as Ca, SchemasGetRevisionError as Ci, MembershipsResendInviteError as Cn, PublishingUnpublishCollectionError as Cr, EntriesGetError as Ct, CollectionsBulkDeleteInput as D, WebhooksGetDeliveryInput as Da, SearchAskCurrentInput as Di, MembershipsRevokeInviteInput as Dn, PublishingUnpublishEntryInput as Dr, EntriesListInput as Dt, CollectionsBulkDeleteError as E, WebhooksGetDeliveryError as Ea, SearchAskCurrentError as Ei, MembershipsRevokeInviteError as En, PublishingUnpublishEntryError as Er, EntriesListError as Et, CollectionsListError as F, WebhooksListDeliveriesError as Fa, SearchAskPublishedStreamError as Fi, PublishingBulkPublishEntriesError as Fn, RolesDeleteError as Fr, ExtensionsDeleteSelfStorageEntryError as Ft, ContentGetAssetInput as G, WebhooksRedeliverInput as Ga, TypeMetadataGetCurrentInput as Gi, PublishingBulkUnpublishEntriesInput as Gn, SchemaMigrationsGetActiveInput as Gr, ExtensionsGetSelfInput as Gt, CollectionsUpdateInput as H, WebhooksListRunsInput as Ha, SearchPublishedInput as Hi, PublishingBulkUnpublishCollectionsInput as Hn, RolesUpdateInput as Hr, ExtensionsGetSelfDeliveryInput as Ht, CollectionsListInput as I, WebhooksListDeliveriesInput as Ia, SearchAskPublishedStreamInput as Ii, PublishingBulkPublishEntriesInput as In, RolesDeleteInput as Ir, ExtensionsDeleteSelfStorageEntryInput as It, ContentGetInput as J, WebhooksRotateSecretInput as Ja, TypeMetadataGetPublishedInput as Ji, PublishingCreateChannelInput as Jn, SchemaMigrationsGetInput as Jr, ExtensionsGetSelfStorageEntryInput as Jt, ContentGetAssetOutput as K, WebhooksRedeliverOutput as Ka, TypeMetadataGetCurrentOutput as Ki, PublishingBulkUnpublishEntriesOutput as Kn, SchemaMigrationsGetActiveOutput as Kr, ExtensionsGetSelfOutput as Kt, CollectionsListOutput as L, WebhooksListDeliveriesOutput as La, SearchAskPublishedStreamOutput as Li, PublishingBulkPublishEntriesOutput as Ln, RolesDeleteOutput as Lr, ExtensionsDeleteSelfStorageEntryOutput as Lt, CollectionsDeleteError as M, WebhooksListAttemptsError as Ma, SearchAskPublishedError as Mi, PublishingBulkPublishCollectionsError as Mn, RolesCreateError as Mr, EntriesUpdateError as Mt, CollectionsDeleteInput as N, WebhooksListAttemptsInput as Na, SearchAskPublishedInput as Ni, PublishingBulkPublishCollectionsInput as Nn, RolesCreateInput as Nr, EntriesUpdateInput as Nt, CollectionsBulkDeleteOutput as O, WebhooksGetDeliveryOutput as Oa, SearchAskCurrentOutput as Oi, MembershipsRevokeInviteOutput as On, PublishingUnpublishEntryOutput as Or, EntriesListOutput as Ot, CollectionsDeleteOutput as P, WebhooksListAttemptsOutput as Pa, SearchAskPublishedOutput as Pi, PublishingBulkPublishCollectionsOutput as Pn, RolesCreateOutput as Pr, EntriesUpdateOutput as Pt, ContentGetSchemaOutput as Q, WebhooksSendTestOutput as Qa, VersionsCreateOutput as Qi, PublishingDeleteChannelOutput as Qn, SchemaMigrationsListContentLossEntriesOutput as Qr, ExtensionsListInstallationsOutput as Qt, CollectionsMoveError as R, WebhooksListError as Ra, SearchCurrentError as Ri, PublishingBulkSetCollectionsError as Rn, RolesListError as Rr, ExtensionsGetSelfConfigurationError as Rt, AssetsUploadOutput as S, WebhooksCreateOutput as Sa, SchemasGetOutput as Si, MembershipsRemoveOutput as Sn, PublishingSetCollectionOutput as Sr, EntriesDeleteOutput as St, AuthGetIdentityOutput as T, WebhooksDeleteOutput as Ta, SchemasGetRevisionOutput as Ti, MembershipsResendInviteOutput as Tn, PublishingUnpublishCollectionOutput as Tr, EntriesGetOutput as Tt, CollectionsUpdateOutput as U, WebhooksListRunsOutput as Ua, SearchPublishedOutput as Ui, PublishingBulkUnpublishCollectionsOutput as Un, RolesUpdateOutput as Ur, ExtensionsGetSelfDeliveryOutput as Ut, CollectionsUpdateError as V, WebhooksListRunsError as Va, SearchPublishedError as Vi, PublishingBulkUnpublishCollectionsError as Vn, RolesUpdateError as Vr, ExtensionsGetSelfDeliveryError as Vt, ContentGetAssetError as W, WebhooksRedeliverError as Wa, TypeMetadataGetCurrentError as Wi, PublishingBulkUnpublishEntriesError as Wn, SchemaMigrationsGetActiveError as Wr, ExtensionsGetSelfError as Wt, ContentGetSchemaError as X, WebhooksSendTestError as Xa, VersionsCreateError as Xi, PublishingDeleteChannelError as Xn, SchemaMigrationsListContentLossEntriesError as Xr, ExtensionsListInstallationsError as Xt, ContentGetOutput as Y, WebhooksRotateSecretOutput as Ya, TypeMetadataGetPublishedOutput as Yi, PublishingCreateChannelOutput as Yn, SchemaMigrationsGetOutput as Yr, ExtensionsGetSelfStorageEntryOutput as Yt, ContentGetSchemaInput as Z, WebhooksSendTestInput as Za, VersionsCreateInput as Zi, PublishingDeleteChannelInput as Zn, SchemaMigrationsListContentLossEntriesInput as Zr, ExtensionsListInstallationsInput as Zt, AssetsSearchError as _, WebhooksBulkSetEnabledError as _a, SchemasDeleteError as _i, MembershipsListInvitesInput as _n, PublishingRevertChangesError as _r, EntriesCreateError as _t, PaginateOptions as a, VersionsRevertError as aa, SchemaVersionsRevertError as ai, ExtensionsVerifySessionError as an, types_d_exports as ao, PublishingListChannelsError as ar, ContentListEntriesError as at, AssetsUploadError as b, WebhooksCreateError as ba, SchemasGetError as bi, MembershipsRemoveError as bn, PublishingSetCollectionError as br, EntriesDeleteError as bt, AssetsGetError as c, VersionsUpdateError as ca, SchemaVersionsUpdateError as ci, InstanceGetError as cn, AndesineStreamProtocolError as co, PublishingListEntryPublicationsError as cr, EntriesBulkDeleteError as ct, AssetsImportURLError as d, WebhooksBulkDeleteError as da, SchemasApplyError as di, MembershipsInviteError as dn, toContentURL as do, PublishingPublishCollectionError as dr, EntriesBulkMoveError as dt, VersionsGetInput as ea, SchemaVersionsGetInput as ei, ExtensionsListSelfStorageEntriesInput as en, WebhooksUpdateInput as eo, PublishingGetChannelContentInput as er, ContentGetTreeInput as et, AssetsImportURLInput as f, WebhooksBulkDeleteInput as fa, SchemasApplyInput as fi, MembershipsInviteInput as fn, PublishingPublishCollectionInput as fr, EntriesBulkMoveInput as ft, AssetsRegisterOutput as g, WebhooksBulkRedeliverOutput as ga, SchemasCreateOutput as gi, MembershipsListInvitesError as gn, PublishingPublishEntryOutput as gr, EntriesBulkUpdateOutput as gt, AssetsRegisterInput as h, WebhooksBulkRedeliverInput as ha, SchemasCreateInput as hi, MembershipsListInput as hn, PublishingPublishEntryInput as hr, EntriesBulkUpdateInput as ht, Page as i, VersionsListOutput as ia, SchemaVersionsListOutput as ii, ExtensionsSetSelfStorageEntryOutput as in, WorkspacesListOutput as io, PublishingGetEntryVersionOutput as ir, ContentListCollectionsOutput as it, CollectionsCreateOutput as j, WebhooksGetOutput as ja, SearchAskCurrentStreamOutput as ji, MembershipsUpdateOutput as jn, PublishingUpdateChannelOutput as jr, EntriesMoveOutput as jt, CollectionsCreateError as k, WebhooksGetError as ka, SearchAskCurrentStreamError as ki, MembershipsUpdateError as kn, PublishingUpdateChannelError as kr, EntriesMoveError as kt, AssetsGetInput as l, VersionsUpdateInput as la, SchemaVersionsUpdateInput as li, InstanceGetInput as ln, ContentLocation as lo, PublishingListEntryPublicationsInput as lr, EntriesBulkDeleteInput as lt, AssetsRegisterError as m, WebhooksBulkRedeliverError as ma, SchemasCreateError as mi, MembershipsListError as mn, PublishingPublishEntryError as mr, EntriesBulkUpdateError as mt, StructuredContentSource as n, VersionsListError as na, SchemaVersionsListError as ni, ExtensionsSetSelfStorageEntryError as nn, WorkspacesListError as no, PublishingGetEntryVersionError as nr, ContentListCollectionsError as nt, paginate as o, VersionsRevertInput as oa, SchemaVersionsRevertInput as oi, ExtensionsVerifySessionInput as on, AndesineAPIError as oo, PublishingListChannelsInput as or, ContentListEntriesInput as ot, AssetsImportURLOutput as p, WebhooksBulkDeleteOutput as pa, SchemasApplyOutput as pi, MembershipsInviteOutput as pn, PublishingPublishCollectionOutput as pr, EntriesBulkMoveOutput as pt, ContentGetError as q, WebhooksRotateSecretError as qa, TypeMetadataGetPublishedError as qi, PublishingCreateChannelError as qn, SchemaMigrationsGetError as qr, ExtensionsGetSelfStorageEntryError as qt, toStructuredContent as r, VersionsListInput as ra, SchemaVersionsListInput as ri, ExtensionsSetSelfStorageEntryInput as rn, WorkspacesListInput as ro, PublishingGetEntryVersionInput as rr, ContentListCollectionsInput as rt, paginatePages as s, VersionsRevertOutput as sa, SchemaVersionsRevertOutput as si, ExtensionsVerifySessionOutput as sn, AndesineStreamError as so, PublishingListChannelsOutput as sr, ContentListEntriesOutput as st, StructuredContent as t, VersionsGetOutput as ta, SchemaVersionsGetOutput as ti, ExtensionsListSelfStorageEntriesOutput as tn, WebhooksUpdateOutput as to, PublishingGetChannelContentOutput as tr, ContentGetTreeOutput as tt, AssetsGetOutput as u, VersionsUpdateOutput as ua, SchemaVersionsUpdateOutput as ui, InstanceGetOutput as un, ContentURLOptions as uo, PublishingListEntryPublicationsOutput as ur, EntriesBulkDeleteOutput as ut, AssetsSearchInput as v, WebhooksBulkSetEnabledInput as va, SchemasDeleteInput as vi, MembershipsListInvitesOutput as vn, PublishingRevertChangesInput as vr, EntriesCreateInput as vt, AuthGetIdentityInput as w, WebhooksDeleteInput as wa, SchemasGetRevisionInput as wi, MembershipsResendInviteInput as wn, PublishingUnpublishCollectionInput as wr, EntriesGetInput as wt, AssetsUploadInput as x, WebhooksCreateInput as xa, SchemasGetInput as xi, MembershipsRemoveInput as xn, PublishingSetCollectionInput as xr, EntriesDeleteInput as xt, AssetsSearchOutput as y, WebhooksBulkSetEnabledOutput as ya, SchemasDeleteOutput as yi, MembershipsListOutput as yn, PublishingRevertChangesOutput as yr, EntriesCreateOutput as yt, CollectionsMoveInput as z, WebhooksListInput as za, SearchCurrentInput as zi, PublishingBulkSetCollectionsInput as zn, RolesListInput as zr, ExtensionsGetSelfConfigurationInput as zt };
|
|
485
|
-
//# sourceMappingURL=index-
|
|
502
|
+
export { ContentGetSchemaError as $, WebhooksListDeliveriesError as $a, SearchAskPublishedStreamError as $i, PublishingBulkPublishEntriesError as $n, RolesDeleteError as $r, ExtensionsGetSelfError as $t, CollectionsCreateInput as A, WebhooksBulkDeleteInput as Aa, SchemasApplyInput as Ai, MembershipsInviteInput as An, PublishingPublishCollectionInput as Ar, EntriesListInput as At, CollectionsListOutput as B, WebhooksCreateOutput as Ba, SchemasGetOutput as Bi, MembershipsRemoveOutput as Bn, PublishingSetCollectionOutput as Br, ExtensionsCreateSelfPublishableKeyOutput as Bt, AuthGetIdentityError as C, VersionsRevertError as Ca, SchemaVersionsRevertError as Ci, ExtensionsVerifySessionError as Cn, types_d_exports as Co, PublishingListChannelsError as Cr, EntriesDeleteError as Ct, CollectionsBulkDeleteInput as D, VersionsUpdateInput as Da, SchemaVersionsUpdateInput as Di, InstanceGetInput as Dn, ContentLocation as Do, PublishingListEntryPublicationsInput as Dr, EntriesGetInput as Dt, CollectionsBulkDeleteError as E, VersionsUpdateError as Ea, SchemaVersionsUpdateError as Ei, InstanceGetError as En, AndesineStreamProtocolError as Eo, PublishingListEntryPublicationsError as Er, EntriesGetError as Et, CollectionsGetError as F, WebhooksBulkSetEnabledError as Fa, SchemasDeleteError as Fi, MembershipsListInvitesInput as Fn, PublishingRevertChangesError as Fr, EntriesUpdateError as Ft, CollectionsUpdateInput as G, WebhooksGetDeliveryInput as Ga, SearchAskCurrentInput as Gi, MembershipsRevokeInviteInput as Gn, PublishingUnpublishEntryInput as Gr, ExtensionsDeleteSelfStorageEntryInput as Gt, CollectionsMoveInput as H, WebhooksDeleteInput as Ha, SchemasGetRevisionInput as Hi, MembershipsResendInviteInput as Hn, PublishingUnpublishCollectionInput as Hr, ExtensionsDeleteSelfPublishableKeyInput as Ht, CollectionsGetInput as I, WebhooksBulkSetEnabledInput as Ia, SchemasDeleteInput as Ii, MembershipsListInvitesOutput as In, PublishingRevertChangesInput as Ir, EntriesUpdateInput as It, ContentGetAssetInput as J, WebhooksGetInput as Ja, SearchAskCurrentStreamInput as Ji, MembershipsUpdateInput as Jn, PublishingUpdateChannelInput as Jr, ExtensionsGetSelfConfigurationInput as Jt, CollectionsUpdateOutput as K, WebhooksGetDeliveryOutput as Ka, SearchAskCurrentOutput as Ki, MembershipsRevokeInviteOutput as Kn, PublishingUnpublishEntryOutput as Kr, ExtensionsDeleteSelfStorageEntryOutput as Kt, CollectionsGetOutput as L, WebhooksBulkSetEnabledOutput as La, SchemasDeleteOutput as Li, MembershipsListOutput as Ln, PublishingRevertChangesOutput as Lr, EntriesUpdateOutput as Lt, CollectionsDeleteError as M, WebhooksBulkRedeliverError as Ma, SchemasCreateError as Mi, MembershipsListError as Mn, PublishingPublishEntryError as Mr, EntriesMoveError as Mt, CollectionsDeleteInput as N, WebhooksBulkRedeliverInput as Na, SchemasCreateInput as Ni, MembershipsListInput as Nn, PublishingPublishEntryInput as Nr, EntriesMoveInput as Nt, CollectionsBulkDeleteOutput as O, VersionsUpdateOutput as Oa, SchemaVersionsUpdateOutput as Oi, InstanceGetOutput as On, ContentURLOptions as Oo, PublishingListEntryPublicationsOutput as Or, EntriesGetOutput as Ot, CollectionsDeleteOutput as P, WebhooksBulkRedeliverOutput as Pa, SchemasCreateOutput as Pi, MembershipsListInvitesError as Pn, PublishingPublishEntryOutput as Pr, EntriesMoveOutput as Pt, ContentGetOutput as Q, WebhooksListAttemptsOutput as Qa, SearchAskPublishedOutput as Qi, PublishingBulkPublishCollectionsOutput as Qn, RolesCreateOutput as Qr, ExtensionsGetSelfDeliveryOutput as Qt, CollectionsListError as R, WebhooksCreateError as Ra, SchemasGetError as Ri, MembershipsRemoveError as Rn, PublishingSetCollectionError as Rr, ExtensionsCreateSelfPublishableKeyError as Rt, AssetsUploadOutput as S, VersionsListOutput as Sa, SchemaVersionsListOutput as Si, ExtensionsUpdateSelfPublishableKeyOutput as Sn, WorkspacesListOutput as So, PublishingGetEntryVersionOutput as Sr, EntriesCreateOutput as St, AuthGetIdentityOutput as T, VersionsRevertOutput as Ta, SchemaVersionsRevertOutput as Ti, ExtensionsVerifySessionOutput as Tn, AndesineStreamError as To, PublishingListChannelsOutput as Tr, EntriesDeleteOutput as Tt, CollectionsMoveOutput as U, WebhooksDeleteOutput as Ua, SchemasGetRevisionOutput as Ui, MembershipsResendInviteOutput as Un, PublishingUnpublishCollectionOutput as Ur, ExtensionsDeleteSelfPublishableKeyOutput as Ut, CollectionsMoveError as V, WebhooksDeleteError as Va, SchemasGetRevisionError as Vi, MembershipsResendInviteError as Vn, PublishingUnpublishCollectionError as Vr, ExtensionsDeleteSelfPublishableKeyError as Vt, CollectionsUpdateError as W, WebhooksGetDeliveryError as Wa, SearchAskCurrentError as Wi, MembershipsRevokeInviteError as Wn, PublishingUnpublishEntryError as Wr, ExtensionsDeleteSelfStorageEntryError as Wt, ContentGetError as X, WebhooksListAttemptsError as Xa, SearchAskPublishedError as Xi, PublishingBulkPublishCollectionsError as Xn, RolesCreateError as Xr, ExtensionsGetSelfDeliveryError as Xt, ContentGetAssetOutput as Y, WebhooksGetOutput as Ya, SearchAskCurrentStreamOutput as Yi, MembershipsUpdateOutput as Yn, PublishingUpdateChannelOutput as Yr, ExtensionsGetSelfConfigurationOutput as Yt, ContentGetInput as Z, WebhooksListAttemptsInput as Za, SearchAskPublishedInput as Zi, PublishingBulkPublishCollectionsInput as Zn, RolesCreateInput as Zr, ExtensionsGetSelfDeliveryInput as Zt, AssetsSearchError as _, VersionsGetError as _a, SchemaVersionsGetError as _i, ExtensionsSetSelfStorageEntryError as _n, WebhooksUpdateError as _o, PublishingGetChannelContentError as _r, EntriesBulkUpdateError as _t, PaginateOptions as a, SearchPublishedError as aa, RolesUpdateError as ai, ExtensionsListElementsError as an, WebhooksListRunsError as ao, PublishingBulkUnpublishCollectionsError as ar, ContentListCollectionsError as at, AssetsUploadError as b, VersionsListError as ba, SchemaVersionsListError as bi, ExtensionsUpdateSelfPublishableKeyError as bn, WorkspacesListError as bo, PublishingGetEntryVersionError as br, EntriesCreateError as bt, AssetsGetError as c, TypeMetadataGetCurrentError as ca, SchemaMigrationsGetActiveError as ci, ExtensionsListInstallationsError as cn, WebhooksRedeliverError as co, PublishingBulkUnpublishEntriesError as cr, ContentListEntriesError as ct, AssetsImportURLError as d, TypeMetadataGetPublishedError as da, SchemaMigrationsGetError as di, ExtensionsListSelfPublishableKeysError as dn, WebhooksRotateSecretError as do, PublishingCreateChannelError as dr, EntriesBulkDeleteError as dt, SearchAskPublishedStreamInput as ea, RolesDeleteInput as ei, ExtensionsGetSelfInput as en, WebhooksListDeliveriesInput as eo, PublishingBulkPublishEntriesInput as er, ContentGetSchemaInput as et, AssetsImportURLInput as f, TypeMetadataGetPublishedInput as fa, SchemaMigrationsGetInput as fi, ExtensionsListSelfPublishableKeysInput as fn, WebhooksRotateSecretInput as fo, PublishingCreateChannelInput as fr, EntriesBulkDeleteInput as ft, AssetsRegisterOutput as g, VersionsCreateOutput as ga, SchemaMigrationsListContentLossEntriesOutput as gi, ExtensionsListSelfStorageEntriesOutput as gn, WebhooksSendTestOutput as go, PublishingDeleteChannelOutput as gr, EntriesBulkMoveOutput as gt, AssetsRegisterInput as h, VersionsCreateInput as ha, SchemaMigrationsListContentLossEntriesInput as hi, ExtensionsListSelfStorageEntriesInput as hn, WebhooksSendTestInput as ho, PublishingDeleteChannelInput as hr, EntriesBulkMoveInput as ht, Page as i, SearchCurrentOutput as ia, RolesListOutput as ii, ExtensionsGetSelfStorageEntryOutput as in, WebhooksListOutput as io, PublishingBulkSetCollectionsOutput as ir, ContentGetTreeOutput as it, CollectionsCreateOutput as j, WebhooksBulkDeleteOutput as ja, SchemasApplyOutput as ji, MembershipsInviteOutput as jn, PublishingPublishCollectionOutput as jr, EntriesListOutput as jt, CollectionsCreateError as k, WebhooksBulkDeleteError as ka, SchemasApplyError as ki, MembershipsInviteError as kn, toContentURL as ko, PublishingPublishCollectionError as kr, EntriesListError as kt, AssetsGetInput as l, TypeMetadataGetCurrentInput as la, SchemaMigrationsGetActiveInput as li, ExtensionsListInstallationsInput as ln, WebhooksRedeliverInput as lo, PublishingBulkUnpublishEntriesInput as lr, ContentListEntriesInput as lt, AssetsRegisterError as m, VersionsCreateError as ma, SchemaMigrationsListContentLossEntriesError as mi, ExtensionsListSelfStorageEntriesError as mn, WebhooksSendTestError as mo, PublishingDeleteChannelError as mr, EntriesBulkMoveError as mt, StructuredContentSource as n, SearchCurrentError as na, RolesListError as ni, ExtensionsGetSelfStorageEntryError as nn, WebhooksListError as no, PublishingBulkSetCollectionsError as nr, ContentGetTreeError as nt, paginate as o, SearchPublishedInput as oa, RolesUpdateInput as oi, ExtensionsListElementsInput as on, WebhooksListRunsInput as oo, PublishingBulkUnpublishCollectionsInput as or, ContentListCollectionsInput as ot, AssetsImportURLOutput as p, TypeMetadataGetPublishedOutput as pa, SchemaMigrationsGetOutput as pi, ExtensionsListSelfPublishableKeysOutput as pn, WebhooksRotateSecretOutput as po, PublishingCreateChannelOutput as pr, EntriesBulkDeleteOutput as pt, ContentGetAssetError as q, WebhooksGetError as qa, SearchAskCurrentStreamError as qi, MembershipsUpdateError as qn, PublishingUpdateChannelError as qr, ExtensionsGetSelfConfigurationError as qt, toStructuredContent as r, SearchCurrentInput as ra, RolesListInput as ri, ExtensionsGetSelfStorageEntryInput as rn, WebhooksListInput as ro, PublishingBulkSetCollectionsInput as rr, ContentGetTreeInput as rt, paginatePages as s, SearchPublishedOutput as sa, RolesUpdateOutput as si, ExtensionsListElementsOutput as sn, WebhooksListRunsOutput as so, PublishingBulkUnpublishCollectionsOutput as sr, ContentListCollectionsOutput as st, StructuredContent as t, SearchAskPublishedStreamOutput as ta, RolesDeleteOutput as ti, ExtensionsGetSelfOutput as tn, WebhooksListDeliveriesOutput as to, PublishingBulkPublishEntriesOutput as tr, ContentGetSchemaOutput as tt, AssetsGetOutput as u, TypeMetadataGetCurrentOutput as ua, SchemaMigrationsGetActiveOutput as ui, ExtensionsListInstallationsOutput as un, WebhooksRedeliverOutput as uo, PublishingBulkUnpublishEntriesOutput as ur, ContentListEntriesOutput as ut, AssetsSearchInput as v, VersionsGetInput as va, SchemaVersionsGetInput as vi, ExtensionsSetSelfStorageEntryInput as vn, WebhooksUpdateInput as vo, PublishingGetChannelContentInput as vr, EntriesBulkUpdateInput as vt, AuthGetIdentityInput as w, VersionsRevertInput as wa, SchemaVersionsRevertInput as wi, ExtensionsVerifySessionInput as wn, AndesineAPIError as wo, PublishingListChannelsInput as wr, EntriesDeleteInput as wt, AssetsUploadInput as x, VersionsListInput as xa, SchemaVersionsListInput as xi, ExtensionsUpdateSelfPublishableKeyInput as xn, WorkspacesListInput as xo, PublishingGetEntryVersionInput as xr, EntriesCreateInput as xt, AssetsSearchOutput as y, VersionsGetOutput as ya, SchemaVersionsGetOutput as yi, ExtensionsSetSelfStorageEntryOutput as yn, WebhooksUpdateOutput as yo, PublishingGetChannelContentOutput as yr, EntriesBulkUpdateOutput as yt, CollectionsListInput as z, WebhooksCreateInput as za, SchemasGetInput as zi, MembershipsRemoveInput as zn, PublishingSetCollectionInput as zr, ExtensionsCreateSelfPublishableKeyInput as zt };
|
|
503
|
+
//# sourceMappingURL=index-DcU5xEPe.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as toContentSlug } from "./content-slug-C7CgtHmp.js";
|
|
2
|
-
import { $ as InvitePendingErrorData, $t as TextPropertyFilter, A as ContentNodeInput, At as ResolvedSchemaField, B as EntryPropertyKind, Bt as SchemaFragment, C as Collection, Ct as PublishedVersion, D as ContentMarkInput, Dt as PublishingSnapshotErrorData, E as ContentMark, Et as PublishingChannelListItem, F as DatePropertyFilter, Ft as SchemaDefinition, G as EntryVersion, Gt as SchemaProperty, H as EntryPublication, Ht as SchemaMigrationContentLossEntry, I as EffectiveCollectionSchema, It as SchemaDraftDefinition, J as ForbiddenErrorData, Jt as SchemaVersion, K as EntryVersionSummary, Kt as SchemaPropertyValue, L as Entry, Lt as SchemaField, M as ContentSchemaIssue, Mt as Role, N as ContentSchemaMetadata, Nt as SchemaApplicationResult, O as ContentNameConflictErrorData, Ot as RateLimitErrorData, P as ContentSchemaMismatchErrorData, Pt as SchemaBlockType, Q as InviteDeliveryResult, Qt as SearchResults, R as EntryFragment, Rt as SchemaFieldKeyConflictErrorData, S as ChannelContentStatus, St as PublishedTree, T as ComparisonOperator, Tt as PublishingChannelCode, U as EntryPublicationChannel, Ut as SchemaMigrationErrorData, V as EntryPropertyValue, Vt as SchemaMigration, W as EntrySummary, Wt as SchemaMigrationStatus, X as InstanceInfo, Xt as SearchPropertyValue, Y as Identity, Yt as SchemaVersionSummary, Z as Invite, Zt as SearchResult, _ as BaseRole, _n as operations, _t as PublishedEntriesResult, a as Asset, an as UserProfile, at as NumberPropertyFilter, b as ChannelContentCollection, bt as PublishedEntrySummary, c as AssetConflictErrorData, cn as VersionReason, ct as PropertyFilter, d as AssetSearchResult, dn as WebhookEndpoint, dt as PublishedAnswerEvent, en as TypeMetadata, et as InviteStatus, f as AssetStatus, fn as WebhookEvent, ft as PublishedAnswerSource, g as AssetVariant, gn as components, gt as PublishedContent, h as AssetValidationErrorData, hn as WorkspaceListItem, ht as PublishedCollectionSummary, i as AnswerSource, in as UnpublishedEntriesResult, it as MembershipInviteResult, j as ContentSchemaInvalidErrorData, jt as RevertPublishingChangesResult, k as ContentNode, kt as ResolvedSchemaDefinition, l as AssetFile, ln as WebhookAttempt, lt as PublishEntryTarget, m as AssetUploadRegistration, mn as WebhookRun, mt as PublishedCollection, n as AnswerEvent, nn as TypeMetadataEntry, nt as Membership, o as AssetAnalysis, on as ValidationErrorData, ot as Pagination, p as AssetStorageErrorData, pn as WebhookEventName, pt as PublishedAsset, q as ErrorData, qt as SchemaRevision, r as AnswerHistoryMessage, rn as TypeMetadataTree, rt as MembershipExistsErrorData, s as AssetAnalysisStatus, sn as ValidationIssue, st as Permission, t as Answer, tn as TypeMetadataCollection, tt as LocalCollectionSchema, u as AssetFileFormat, un as WebhookDelivery, ut as PublishedAnswer, v as BooleanPropertyFilter, vn as paths, vt as PublishedEntry, w as CollectionSchema, wt as PublishingChannel, x as ChannelContentEntry, xt as PublishedSearchResult, y as ChannelContent, yt as PublishedEntryContent, z as EntryProperty, zt as SchemaFieldSource } from "./schema-
|
|
3
|
-
import { _ as WorkspaceCollection, a as ContentPaginationOptions, b as WorkspaceTypeMap, c as APIErrorData, d as OperationError, f as OperationInput, g as SchemaContent, h as ContentListOutput, i as ContentClient, l as APIResponse, m as RequestOptions, n as ClientOptions, o as APIErrorBody, p as OperationOutput, r as createClient, s as APIErrorCode, t as AndesineClient, u as NotModifiedResponse, v as WorkspaceEntry, y as WorkspaceSchema } from "./client-
|
|
4
|
-
import { $ as ContentGetTreeError, $a as WebhooksUpdateError, $i as VersionsGetError, $n as PublishingGetChannelContentError, $r as SchemaVersionsGetError, $t as ExtensionsListSelfStorageEntriesError, A as CollectionsCreateInput, Aa as WebhooksGetInput, Ai as SearchAskCurrentStreamInput, An as MembershipsUpdateInput, Ar as PublishingUpdateChannelInput, At as EntriesMoveInput, B as CollectionsMoveOutput, Ba as WebhooksListOutput, Bi as SearchCurrentOutput, Bn as PublishingBulkSetCollectionsOutput, Br as RolesListOutput, Bt as ExtensionsGetSelfConfigurationOutput, C as AuthGetIdentityError, Ca as WebhooksDeleteError, Ci as SchemasGetRevisionError, Cn as MembershipsResendInviteError, Cr as PublishingUnpublishCollectionError, Ct as EntriesGetError, D as CollectionsBulkDeleteInput, Da as WebhooksGetDeliveryInput, Di as SearchAskCurrentInput, Dn as MembershipsRevokeInviteInput, Dr as PublishingUnpublishEntryInput, Dt as EntriesListInput, E as CollectionsBulkDeleteError, Ea as WebhooksGetDeliveryError, Ei as SearchAskCurrentError, En as MembershipsRevokeInviteError, Er as PublishingUnpublishEntryError, Et as EntriesListError, F as CollectionsListError, Fa as WebhooksListDeliveriesError, Fi as SearchAskPublishedStreamError, Fn as PublishingBulkPublishEntriesError, Fr as RolesDeleteError, Ft as ExtensionsDeleteSelfStorageEntryError, G as ContentGetAssetInput, Ga as WebhooksRedeliverInput, Gi as TypeMetadataGetCurrentInput, Gn as PublishingBulkUnpublishEntriesInput, Gr as SchemaMigrationsGetActiveInput, Gt as ExtensionsGetSelfInput, H as CollectionsUpdateInput, Ha as WebhooksListRunsInput, Hi as SearchPublishedInput, Hn as PublishingBulkUnpublishCollectionsInput, Hr as RolesUpdateInput, Ht as ExtensionsGetSelfDeliveryInput, I as CollectionsListInput, Ia as WebhooksListDeliveriesInput, Ii as SearchAskPublishedStreamInput, In as PublishingBulkPublishEntriesInput, Ir as RolesDeleteInput, It as ExtensionsDeleteSelfStorageEntryInput, J as ContentGetInput, Ja as WebhooksRotateSecretInput, Ji as TypeMetadataGetPublishedInput, Jn as PublishingCreateChannelInput, Jr as SchemaMigrationsGetInput, Jt as ExtensionsGetSelfStorageEntryInput, K as ContentGetAssetOutput, Ka as WebhooksRedeliverOutput, Ki as TypeMetadataGetCurrentOutput, Kn as PublishingBulkUnpublishEntriesOutput, Kr as SchemaMigrationsGetActiveOutput, Kt as ExtensionsGetSelfOutput, L as CollectionsListOutput, La as WebhooksListDeliveriesOutput, Li as SearchAskPublishedStreamOutput, Ln as PublishingBulkPublishEntriesOutput, Lr as RolesDeleteOutput, Lt as ExtensionsDeleteSelfStorageEntryOutput, M as CollectionsDeleteError, Ma as WebhooksListAttemptsError, Mi as SearchAskPublishedError, Mn as PublishingBulkPublishCollectionsError, Mr as RolesCreateError, Mt as EntriesUpdateError, N as CollectionsDeleteInput, Na as WebhooksListAttemptsInput, Ni as SearchAskPublishedInput, Nn as PublishingBulkPublishCollectionsInput, Nr as RolesCreateInput, Nt as EntriesUpdateInput, O as CollectionsBulkDeleteOutput, Oa as WebhooksGetDeliveryOutput, Oi as SearchAskCurrentOutput, On as MembershipsRevokeInviteOutput, Or as PublishingUnpublishEntryOutput, Ot as EntriesListOutput, P as CollectionsDeleteOutput, Pa as WebhooksListAttemptsOutput, Pi as SearchAskPublishedOutput, Pn as PublishingBulkPublishCollectionsOutput, Pr as RolesCreateOutput, Pt as EntriesUpdateOutput, Q as ContentGetSchemaOutput, Qa as WebhooksSendTestOutput, Qi as VersionsCreateOutput, Qn as PublishingDeleteChannelOutput, Qr as SchemaMigrationsListContentLossEntriesOutput, Qt as ExtensionsListInstallationsOutput, R as CollectionsMoveError, Ra as WebhooksListError, Ri as SearchCurrentError, Rn as PublishingBulkSetCollectionsError, Rr as RolesListError, Rt as ExtensionsGetSelfConfigurationError, S as AssetsUploadOutput, Sa as WebhooksCreateOutput, Si as SchemasGetOutput, Sn as MembershipsRemoveOutput, Sr as PublishingSetCollectionOutput, St as EntriesDeleteOutput, T as AuthGetIdentityOutput, Ta as WebhooksDeleteOutput, Ti as SchemasGetRevisionOutput, Tn as MembershipsResendInviteOutput, Tr as PublishingUnpublishCollectionOutput, Tt as EntriesGetOutput, U as CollectionsUpdateOutput, Ua as WebhooksListRunsOutput, Ui as SearchPublishedOutput, Un as PublishingBulkUnpublishCollectionsOutput, Ur as RolesUpdateOutput, Ut as ExtensionsGetSelfDeliveryOutput, V as CollectionsUpdateError, Va as WebhooksListRunsError, Vi as SearchPublishedError, Vn as PublishingBulkUnpublishCollectionsError, Vr as RolesUpdateError, Vt as ExtensionsGetSelfDeliveryError, W as ContentGetAssetError, Wa as WebhooksRedeliverError, Wi as TypeMetadataGetCurrentError, Wn as PublishingBulkUnpublishEntriesError, Wr as SchemaMigrationsGetActiveError, Wt as ExtensionsGetSelfError, X as ContentGetSchemaError, Xa as WebhooksSendTestError, Xi as VersionsCreateError, Xn as PublishingDeleteChannelError, Xr as SchemaMigrationsListContentLossEntriesError, Xt as ExtensionsListInstallationsError, Y as ContentGetOutput, Ya as WebhooksRotateSecretOutput, Yi as TypeMetadataGetPublishedOutput, Yn as PublishingCreateChannelOutput, Yr as SchemaMigrationsGetOutput, Yt as ExtensionsGetSelfStorageEntryOutput, Z as ContentGetSchemaInput, Za as WebhooksSendTestInput, Zi as VersionsCreateInput, Zn as PublishingDeleteChannelInput, Zr as SchemaMigrationsListContentLossEntriesInput, Zt as ExtensionsListInstallationsInput, _ as AssetsSearchError, _a as WebhooksBulkSetEnabledError, _i as SchemasDeleteError, _n as MembershipsListInvitesInput, _r as PublishingRevertChangesError, _t as EntriesCreateError, a as PaginateOptions, aa as VersionsRevertError, ai as SchemaVersionsRevertError, an as ExtensionsVerifySessionError, ao as types_d_exports, ar as PublishingListChannelsError, at as ContentListEntriesError, b as AssetsUploadError, ba as WebhooksCreateError, bi as SchemasGetError, bn as MembershipsRemoveError, br as PublishingSetCollectionError, bt as EntriesDeleteError, c as AssetsGetError, ca as VersionsUpdateError, ci as SchemaVersionsUpdateError, cn as InstanceGetError, co as AndesineStreamProtocolError, cr as PublishingListEntryPublicationsError, ct as EntriesBulkDeleteError, d as AssetsImportURLError, da as WebhooksBulkDeleteError, di as SchemasApplyError, dn as MembershipsInviteError, do as toContentURL, dr as PublishingPublishCollectionError, dt as EntriesBulkMoveError, ea as VersionsGetInput, ei as SchemaVersionsGetInput, en as ExtensionsListSelfStorageEntriesInput, eo as WebhooksUpdateInput, er as PublishingGetChannelContentInput, et as ContentGetTreeInput, f as AssetsImportURLInput, fa as WebhooksBulkDeleteInput, fi as SchemasApplyInput, fn as MembershipsInviteInput, fr as PublishingPublishCollectionInput, ft as EntriesBulkMoveInput, g as AssetsRegisterOutput, ga as WebhooksBulkRedeliverOutput, gi as SchemasCreateOutput, gn as MembershipsListInvitesError, gr as PublishingPublishEntryOutput, gt as EntriesBulkUpdateOutput, h as AssetsRegisterInput, ha as WebhooksBulkRedeliverInput, hi as SchemasCreateInput, hn as MembershipsListInput, hr as PublishingPublishEntryInput, ht as EntriesBulkUpdateInput, i as Page, ia as VersionsListOutput, ii as SchemaVersionsListOutput, in as ExtensionsSetSelfStorageEntryOutput, io as WorkspacesListOutput, ir as PublishingGetEntryVersionOutput, it as ContentListCollectionsOutput, j as CollectionsCreateOutput, ja as WebhooksGetOutput, ji as SearchAskCurrentStreamOutput, jn as MembershipsUpdateOutput, jr as PublishingUpdateChannelOutput, jt as EntriesMoveOutput, k as CollectionsCreateError, ka as WebhooksGetError, ki as SearchAskCurrentStreamError, kn as MembershipsUpdateError, kr as PublishingUpdateChannelError, kt as EntriesMoveError, l as AssetsGetInput, la as VersionsUpdateInput, li as SchemaVersionsUpdateInput, ln as InstanceGetInput, lo as ContentLocation, lr as PublishingListEntryPublicationsInput, lt as EntriesBulkDeleteInput, m as AssetsRegisterError, ma as WebhooksBulkRedeliverError, mi as SchemasCreateError, mn as MembershipsListError, mr as PublishingPublishEntryError, mt as EntriesBulkUpdateError, n as StructuredContentSource, na as VersionsListError, ni as SchemaVersionsListError, nn as ExtensionsSetSelfStorageEntryError, no as WorkspacesListError, nr as PublishingGetEntryVersionError, nt as ContentListCollectionsError, o as paginate, oa as VersionsRevertInput, oi as SchemaVersionsRevertInput, on as ExtensionsVerifySessionInput, oo as AndesineAPIError, or as PublishingListChannelsInput, ot as ContentListEntriesInput, p as AssetsImportURLOutput, pa as WebhooksBulkDeleteOutput, pi as SchemasApplyOutput, pn as MembershipsInviteOutput, pr as PublishingPublishCollectionOutput, pt as EntriesBulkMoveOutput, q as ContentGetError, qa as WebhooksRotateSecretError, qi as TypeMetadataGetPublishedError, qn as PublishingCreateChannelError, qr as SchemaMigrationsGetError, qt as ExtensionsGetSelfStorageEntryError, r as toStructuredContent, ra as VersionsListInput, ri as SchemaVersionsListInput, rn as ExtensionsSetSelfStorageEntryInput, ro as WorkspacesListInput, rr as PublishingGetEntryVersionInput, rt as ContentListCollectionsInput, s as paginatePages, sa as VersionsRevertOutput, si as SchemaVersionsRevertOutput, sn as ExtensionsVerifySessionOutput, so as AndesineStreamError, sr as PublishingListChannelsOutput, st as ContentListEntriesOutput, t as StructuredContent, ta as VersionsGetOutput, ti as SchemaVersionsGetOutput, tn as ExtensionsListSelfStorageEntriesOutput, to as WebhooksUpdateOutput, tr as PublishingGetChannelContentOutput, tt as ContentGetTreeOutput, u as AssetsGetOutput, ua as VersionsUpdateOutput, ui as SchemaVersionsUpdateOutput, un as InstanceGetOutput, uo as ContentURLOptions, ur as PublishingListEntryPublicationsOutput, ut as EntriesBulkDeleteOutput, v as AssetsSearchInput, va as WebhooksBulkSetEnabledInput, vi as SchemasDeleteInput, vn as MembershipsListInvitesOutput, vr as PublishingRevertChangesInput, vt as EntriesCreateInput, w as AuthGetIdentityInput, wa as WebhooksDeleteInput, wi as SchemasGetRevisionInput, wn as MembershipsResendInviteInput, wr as PublishingUnpublishCollectionInput, wt as EntriesGetInput, x as AssetsUploadInput, xa as WebhooksCreateInput, xi as SchemasGetInput, xn as MembershipsRemoveInput, xr as PublishingSetCollectionInput, xt as EntriesDeleteInput, y as AssetsSearchOutput, ya as WebhooksBulkSetEnabledOutput, yi as SchemasDeleteOutput, yn as MembershipsListOutput, yr as PublishingRevertChangesOutput, yt as EntriesCreateOutput, z as CollectionsMoveInput, za as WebhooksListInput, zi as SearchCurrentInput, zn as PublishingBulkSetCollectionsInput, zr as RolesListInput, zt as ExtensionsGetSelfConfigurationInput } from "./index-BL6xmKO6.js";
|
|
5
|
-
export { type APIErrorBody, type APIErrorCode, type APIErrorData, type APIResponse, type types_d_exports as Andesine, AndesineAPIError, type AndesineClient, AndesineStreamError, AndesineStreamProtocolError, type Answer, type AnswerEvent, type AnswerHistoryMessage, type AnswerSource, type Asset, type AssetAnalysis, type AssetAnalysisStatus, type AssetConflictErrorData, type AssetFile, type AssetFileFormat, type AssetSearchResult, type AssetStatus, type AssetStorageErrorData, type AssetUploadRegistration, type AssetValidationErrorData, type AssetVariant, type AssetsGetError, type AssetsGetInput, type AssetsGetOutput, type AssetsImportURLError, type AssetsImportURLInput, type AssetsImportURLOutput, type AssetsRegisterError, type AssetsRegisterInput, type AssetsRegisterOutput, type AssetsSearchError, type AssetsSearchInput, type AssetsSearchOutput, type AssetsUploadError, type AssetsUploadInput, type AssetsUploadOutput, type AuthGetIdentityError, type AuthGetIdentityInput, type AuthGetIdentityOutput, type BaseRole, type BooleanPropertyFilter, type ChannelContent, type ChannelContentCollection, type ChannelContentEntry, type ChannelContentStatus, type ClientOptions, type Collection, type CollectionSchema, type CollectionsBulkDeleteError, type CollectionsBulkDeleteInput, type CollectionsBulkDeleteOutput, type CollectionsCreateError, type CollectionsCreateInput, type CollectionsCreateOutput, type CollectionsDeleteError, type CollectionsDeleteInput, type CollectionsDeleteOutput, type CollectionsListError, type CollectionsListInput, type CollectionsListOutput, type CollectionsMoveError, type CollectionsMoveInput, type CollectionsMoveOutput, type CollectionsUpdateError, type CollectionsUpdateInput, type CollectionsUpdateOutput, type ComparisonOperator, type ContentClient, type ContentGetAssetError, type ContentGetAssetInput, type ContentGetAssetOutput, type ContentGetError, type ContentGetInput, type ContentGetOutput, type ContentGetSchemaError, type ContentGetSchemaInput, type ContentGetSchemaOutput, type ContentGetTreeError, type ContentGetTreeInput, type ContentGetTreeOutput, type ContentListCollectionsError, type ContentListCollectionsInput, type ContentListCollectionsOutput, type ContentListEntriesError, type ContentListEntriesInput, type ContentListEntriesOutput, type ContentListOutput, type ContentLocation, type ContentMark, type ContentMarkInput, type ContentNameConflictErrorData, type ContentNode, type ContentNodeInput, type ContentPaginationOptions, type ContentSchemaInvalidErrorData, type ContentSchemaIssue, type ContentSchemaMetadata, type ContentSchemaMismatchErrorData, type ContentURLOptions, type DatePropertyFilter, type EffectiveCollectionSchema, type EntriesBulkDeleteError, type EntriesBulkDeleteInput, type EntriesBulkDeleteOutput, type EntriesBulkMoveError, type EntriesBulkMoveInput, type EntriesBulkMoveOutput, type EntriesBulkUpdateError, type EntriesBulkUpdateInput, type EntriesBulkUpdateOutput, type EntriesCreateError, type EntriesCreateInput, type EntriesCreateOutput, type EntriesDeleteError, type EntriesDeleteInput, type EntriesDeleteOutput, type EntriesGetError, type EntriesGetInput, type EntriesGetOutput, type EntriesListError, type EntriesListInput, type EntriesListOutput, type EntriesMoveError, type EntriesMoveInput, type EntriesMoveOutput, type EntriesUpdateError, type EntriesUpdateInput, type EntriesUpdateOutput, type Entry, type EntryFragment, type EntryProperty, type EntryPropertyKind, type EntryPropertyValue, type EntryPublication, type EntryPublicationChannel, type EntrySummary, type EntryVersion, type EntryVersionSummary, type ErrorData, type ExtensionsDeleteSelfStorageEntryError, type ExtensionsDeleteSelfStorageEntryInput, type ExtensionsDeleteSelfStorageEntryOutput, type ExtensionsGetSelfConfigurationError, type ExtensionsGetSelfConfigurationInput, type ExtensionsGetSelfConfigurationOutput, type ExtensionsGetSelfDeliveryError, type ExtensionsGetSelfDeliveryInput, type ExtensionsGetSelfDeliveryOutput, type ExtensionsGetSelfError, type ExtensionsGetSelfInput, type ExtensionsGetSelfOutput, type ExtensionsGetSelfStorageEntryError, type ExtensionsGetSelfStorageEntryInput, type ExtensionsGetSelfStorageEntryOutput, type ExtensionsListInstallationsError, type ExtensionsListInstallationsInput, type ExtensionsListInstallationsOutput, type ExtensionsListSelfStorageEntriesError, type ExtensionsListSelfStorageEntriesInput, type ExtensionsListSelfStorageEntriesOutput, type ExtensionsSetSelfStorageEntryError, type ExtensionsSetSelfStorageEntryInput, type ExtensionsSetSelfStorageEntryOutput, type ExtensionsVerifySessionError, type ExtensionsVerifySessionInput, type ExtensionsVerifySessionOutput, type ForbiddenErrorData, type Identity, type InstanceGetError, type InstanceGetInput, type InstanceGetOutput, type InstanceInfo, type Invite, type InviteDeliveryResult, type InvitePendingErrorData, type InviteStatus, type LocalCollectionSchema, type Membership, type MembershipExistsErrorData, type MembershipInviteResult, type MembershipsInviteError, type MembershipsInviteInput, type MembershipsInviteOutput, type MembershipsListError, type MembershipsListInput, type MembershipsListInvitesError, type MembershipsListInvitesInput, type MembershipsListInvitesOutput, type MembershipsListOutput, type MembershipsRemoveError, type MembershipsRemoveInput, type MembershipsRemoveOutput, type MembershipsResendInviteError, type MembershipsResendInviteInput, type MembershipsResendInviteOutput, type MembershipsRevokeInviteError, type MembershipsRevokeInviteInput, type MembershipsRevokeInviteOutput, type MembershipsUpdateError, type MembershipsUpdateInput, type MembershipsUpdateOutput, type NotModifiedResponse, type NumberPropertyFilter, type OperationError, type OperationInput, type OperationOutput, type Page, type PaginateOptions, type Pagination, type Permission, type PropertyFilter, type PublishEntryTarget, type PublishedAnswer, type PublishedAnswerEvent, type PublishedAnswerSource, type PublishedAsset, type PublishedCollection, type PublishedCollectionSummary, type PublishedContent, type PublishedEntriesResult, type PublishedEntry, type PublishedEntryContent, type PublishedEntrySummary, type PublishedSearchResult, type PublishedTree, type PublishedVersion, type PublishingBulkPublishCollectionsError, type PublishingBulkPublishCollectionsInput, type PublishingBulkPublishCollectionsOutput, type PublishingBulkPublishEntriesError, type PublishingBulkPublishEntriesInput, type PublishingBulkPublishEntriesOutput, type PublishingBulkSetCollectionsError, type PublishingBulkSetCollectionsInput, type PublishingBulkSetCollectionsOutput, type PublishingBulkUnpublishCollectionsError, type PublishingBulkUnpublishCollectionsInput, type PublishingBulkUnpublishCollectionsOutput, type PublishingBulkUnpublishEntriesError, type PublishingBulkUnpublishEntriesInput, type PublishingBulkUnpublishEntriesOutput, type PublishingChannel, type PublishingChannelCode, type PublishingChannelListItem, type PublishingCreateChannelError, type PublishingCreateChannelInput, type PublishingCreateChannelOutput, type PublishingDeleteChannelError, type PublishingDeleteChannelInput, type PublishingDeleteChannelOutput, type PublishingGetChannelContentError, type PublishingGetChannelContentInput, type PublishingGetChannelContentOutput, type PublishingGetEntryVersionError, type PublishingGetEntryVersionInput, type PublishingGetEntryVersionOutput, type PublishingListChannelsError, type PublishingListChannelsInput, type PublishingListChannelsOutput, type PublishingListEntryPublicationsError, type PublishingListEntryPublicationsInput, type PublishingListEntryPublicationsOutput, type PublishingPublishCollectionError, type PublishingPublishCollectionInput, type PublishingPublishCollectionOutput, type PublishingPublishEntryError, type PublishingPublishEntryInput, type PublishingPublishEntryOutput, type PublishingRevertChangesError, type PublishingRevertChangesInput, type PublishingRevertChangesOutput, type PublishingSetCollectionError, type PublishingSetCollectionInput, type PublishingSetCollectionOutput, type PublishingSnapshotErrorData, type PublishingUnpublishCollectionError, type PublishingUnpublishCollectionInput, type PublishingUnpublishCollectionOutput, type PublishingUnpublishEntryError, type PublishingUnpublishEntryInput, type PublishingUnpublishEntryOutput, type PublishingUpdateChannelError, type PublishingUpdateChannelInput, type PublishingUpdateChannelOutput, type RateLimitErrorData, type RequestOptions, type ResolvedSchemaDefinition, type ResolvedSchemaField, type RevertPublishingChangesResult, type Role, type RolesCreateError, type RolesCreateInput, type RolesCreateOutput, type RolesDeleteError, type RolesDeleteInput, type RolesDeleteOutput, type RolesListError, type RolesListInput, type RolesListOutput, type RolesUpdateError, type RolesUpdateInput, type RolesUpdateOutput, type SchemaApplicationResult, type SchemaBlockType, type SchemaContent, type SchemaDefinition, type SchemaDraftDefinition, type SchemaField, type SchemaFieldKeyConflictErrorData, type SchemaFieldSource, type SchemaFragment, type SchemaMigration, type SchemaMigrationContentLossEntry, type SchemaMigrationErrorData, type SchemaMigrationStatus, type SchemaMigrationsGetActiveError, type SchemaMigrationsGetActiveInput, type SchemaMigrationsGetActiveOutput, type SchemaMigrationsGetError, type SchemaMigrationsGetInput, type SchemaMigrationsGetOutput, type SchemaMigrationsListContentLossEntriesError, type SchemaMigrationsListContentLossEntriesInput, type SchemaMigrationsListContentLossEntriesOutput, type SchemaProperty, type SchemaPropertyValue, type SchemaRevision, type SchemaVersion, type SchemaVersionSummary, type SchemaVersionsGetError, type SchemaVersionsGetInput, type SchemaVersionsGetOutput, type SchemaVersionsListError, type SchemaVersionsListInput, type SchemaVersionsListOutput, type SchemaVersionsRevertError, type SchemaVersionsRevertInput, type SchemaVersionsRevertOutput, type SchemaVersionsUpdateError, type SchemaVersionsUpdateInput, type SchemaVersionsUpdateOutput, type SchemasApplyError, type SchemasApplyInput, type SchemasApplyOutput, type SchemasCreateError, type SchemasCreateInput, type SchemasCreateOutput, type SchemasDeleteError, type SchemasDeleteInput, type SchemasDeleteOutput, type SchemasGetError, type SchemasGetInput, type SchemasGetOutput, type SchemasGetRevisionError, type SchemasGetRevisionInput, type SchemasGetRevisionOutput, type SearchAskCurrentError, type SearchAskCurrentInput, type SearchAskCurrentOutput, type SearchAskCurrentStreamError, type SearchAskCurrentStreamInput, type SearchAskCurrentStreamOutput, type SearchAskPublishedError, type SearchAskPublishedInput, type SearchAskPublishedOutput, type SearchAskPublishedStreamError, type SearchAskPublishedStreamInput, type SearchAskPublishedStreamOutput, type SearchCurrentError, type SearchCurrentInput, type SearchCurrentOutput, type SearchPropertyValue, type SearchPublishedError, type SearchPublishedInput, type SearchPublishedOutput, type SearchResult, type SearchResults, type StructuredContent, type StructuredContentSource, type TextPropertyFilter, type TypeMetadata, type TypeMetadataCollection, type TypeMetadataEntry, type TypeMetadataGetCurrentError, type TypeMetadataGetCurrentInput, type TypeMetadataGetCurrentOutput, type TypeMetadataGetPublishedError, type TypeMetadataGetPublishedInput, type TypeMetadataGetPublishedOutput, type TypeMetadataTree, type UnpublishedEntriesResult, type UserProfile, type ValidationErrorData, type ValidationIssue, type VersionReason, type VersionsCreateError, type VersionsCreateInput, type VersionsCreateOutput, type VersionsGetError, type VersionsGetInput, type VersionsGetOutput, type VersionsListError, type VersionsListInput, type VersionsListOutput, type VersionsRevertError, type VersionsRevertInput, type VersionsRevertOutput, type VersionsUpdateError, type VersionsUpdateInput, type VersionsUpdateOutput, type WebhookAttempt, type WebhookDelivery, type WebhookEndpoint, type WebhookEvent, type WebhookEventName, type WebhookRun, type WebhooksBulkDeleteError, type WebhooksBulkDeleteInput, type WebhooksBulkDeleteOutput, type WebhooksBulkRedeliverError, type WebhooksBulkRedeliverInput, type WebhooksBulkRedeliverOutput, type WebhooksBulkSetEnabledError, type WebhooksBulkSetEnabledInput, type WebhooksBulkSetEnabledOutput, type WebhooksCreateError, type WebhooksCreateInput, type WebhooksCreateOutput, type WebhooksDeleteError, type WebhooksDeleteInput, type WebhooksDeleteOutput, type WebhooksGetDeliveryError, type WebhooksGetDeliveryInput, type WebhooksGetDeliveryOutput, type WebhooksGetError, type WebhooksGetInput, type WebhooksGetOutput, type WebhooksListAttemptsError, type WebhooksListAttemptsInput, type WebhooksListAttemptsOutput, type WebhooksListDeliveriesError, type WebhooksListDeliveriesInput, type WebhooksListDeliveriesOutput, type WebhooksListError, type WebhooksListInput, type WebhooksListOutput, type WebhooksListRunsError, type WebhooksListRunsInput, type WebhooksListRunsOutput, type WebhooksRedeliverError, type WebhooksRedeliverInput, type WebhooksRedeliverOutput, type WebhooksRotateSecretError, type WebhooksRotateSecretInput, type WebhooksRotateSecretOutput, type WebhooksSendTestError, type WebhooksSendTestInput, type WebhooksSendTestOutput, type WebhooksUpdateError, type WebhooksUpdateInput, type WebhooksUpdateOutput, type WorkspaceCollection, type WorkspaceEntry, type WorkspaceListItem, type WorkspaceSchema, type WorkspaceTypeMap, type WorkspacesListError, type WorkspacesListInput, type WorkspacesListOutput, type components, createClient, type operations, paginate, paginatePages, type paths, toContentSlug, toContentURL, toStructuredContent };
|
|
2
|
+
import { $ as InvitePendingErrorData, $t as TextPropertyFilter, A as ContentNodeInput, At as ResolvedSchemaField, B as EntryPropertyKind, Bt as SchemaFragment, C as Collection, Ct as PublishedVersion, D as ContentMarkInput, Dt as PublishingSnapshotErrorData, E as ContentMark, Et as PublishingChannelListItem, F as DatePropertyFilter, Ft as SchemaDefinition, G as EntryVersion, Gt as SchemaProperty, H as EntryPublication, Ht as SchemaMigrationContentLossEntry, I as EffectiveCollectionSchema, It as SchemaDraftDefinition, J as ForbiddenErrorData, Jt as SchemaVersion, K as EntryVersionSummary, Kt as SchemaPropertyValue, L as Entry, Lt as SchemaField, M as ContentSchemaIssue, Mt as Role, N as ContentSchemaMetadata, Nt as SchemaApplicationResult, O as ContentNameConflictErrorData, Ot as RateLimitErrorData, P as ContentSchemaMismatchErrorData, Pt as SchemaBlockType, Q as InviteDeliveryResult, Qt as SearchResults, R as EntryFragment, Rt as SchemaFieldKeyConflictErrorData, S as ChannelContentStatus, St as PublishedTree, T as ComparisonOperator, Tt as PublishingChannelCode, U as EntryPublicationChannel, Ut as SchemaMigrationErrorData, V as EntryPropertyValue, Vt as SchemaMigration, W as EntrySummary, Wt as SchemaMigrationStatus, X as InstanceInfo, Xt as SearchPropertyValue, Y as Identity, Yt as SchemaVersionSummary, Z as Invite, Zt as SearchResult, _ as BaseRole, _n as operations, _t as PublishedEntriesResult, a as Asset, an as UserProfile, at as NumberPropertyFilter, b as ChannelContentCollection, bt as PublishedEntrySummary, c as AssetConflictErrorData, cn as VersionReason, ct as PropertyFilter, d as AssetSearchResult, dn as WebhookEndpoint, dt as PublishedAnswerEvent, en as TypeMetadata, et as InviteStatus, f as AssetStatus, fn as WebhookEvent, ft as PublishedAnswerSource, g as AssetVariant, gn as components, gt as PublishedContent, h as AssetValidationErrorData, hn as WorkspaceListItem, ht as PublishedCollectionSummary, i as AnswerSource, in as UnpublishedEntriesResult, it as MembershipInviteResult, j as ContentSchemaInvalidErrorData, jt as RevertPublishingChangesResult, k as ContentNode, kt as ResolvedSchemaDefinition, l as AssetFile, ln as WebhookAttempt, lt as PublishEntryTarget, m as AssetUploadRegistration, mn as WebhookRun, mt as PublishedCollection, n as AnswerEvent, nn as TypeMetadataEntry, nt as Membership, o as AssetAnalysis, on as ValidationErrorData, ot as Pagination, p as AssetStorageErrorData, pn as WebhookEventName, pt as PublishedAsset, q as ErrorData, qt as SchemaRevision, r as AnswerHistoryMessage, rn as TypeMetadataTree, rt as MembershipExistsErrorData, s as AssetAnalysisStatus, sn as ValidationIssue, st as Permission, t as Answer, tn as TypeMetadataCollection, tt as LocalCollectionSchema, u as AssetFileFormat, un as WebhookDelivery, ut as PublishedAnswer, v as BooleanPropertyFilter, vn as paths, vt as PublishedEntry, w as CollectionSchema, wt as PublishingChannel, x as ChannelContentEntry, xt as PublishedSearchResult, y as ChannelContent, yt as PublishedEntryContent, z as EntryProperty, zt as SchemaFieldSource } from "./schema-CMpGUItd.js";
|
|
3
|
+
import { _ as WorkspaceCollection, a as ContentPaginationOptions, b as WorkspaceTypeMap, c as APIErrorData, d as OperationError, f as OperationInput, g as SchemaContent, h as ContentListOutput, i as ContentClient, l as APIResponse, m as RequestOptions, n as ClientOptions, o as APIErrorBody, p as OperationOutput, r as createClient, s as APIErrorCode, t as AndesineClient, u as NotModifiedResponse, v as WorkspaceEntry, y as WorkspaceSchema } from "./client-QR7crUNC.js";
|
|
4
|
+
import { $ as ContentGetSchemaError, $a as WebhooksListDeliveriesError, $i as SearchAskPublishedStreamError, $n as PublishingBulkPublishEntriesError, $r as RolesDeleteError, $t as ExtensionsGetSelfError, A as CollectionsCreateInput, Aa as WebhooksBulkDeleteInput, Ai as SchemasApplyInput, An as MembershipsInviteInput, Ar as PublishingPublishCollectionInput, At as EntriesListInput, B as CollectionsListOutput, Ba as WebhooksCreateOutput, Bi as SchemasGetOutput, Bn as MembershipsRemoveOutput, Br as PublishingSetCollectionOutput, Bt as ExtensionsCreateSelfPublishableKeyOutput, C as AuthGetIdentityError, Ca as VersionsRevertError, Ci as SchemaVersionsRevertError, Cn as ExtensionsVerifySessionError, Co as types_d_exports, Cr as PublishingListChannelsError, Ct as EntriesDeleteError, D as CollectionsBulkDeleteInput, Da as VersionsUpdateInput, Di as SchemaVersionsUpdateInput, Dn as InstanceGetInput, Do as ContentLocation, Dr as PublishingListEntryPublicationsInput, Dt as EntriesGetInput, E as CollectionsBulkDeleteError, Ea as VersionsUpdateError, Ei as SchemaVersionsUpdateError, En as InstanceGetError, Eo as AndesineStreamProtocolError, Er as PublishingListEntryPublicationsError, Et as EntriesGetError, F as CollectionsGetError, Fa as WebhooksBulkSetEnabledError, Fi as SchemasDeleteError, Fn as MembershipsListInvitesInput, Fr as PublishingRevertChangesError, Ft as EntriesUpdateError, G as CollectionsUpdateInput, Ga as WebhooksGetDeliveryInput, Gi as SearchAskCurrentInput, Gn as MembershipsRevokeInviteInput, Gr as PublishingUnpublishEntryInput, Gt as ExtensionsDeleteSelfStorageEntryInput, H as CollectionsMoveInput, Ha as WebhooksDeleteInput, Hi as SchemasGetRevisionInput, Hn as MembershipsResendInviteInput, Hr as PublishingUnpublishCollectionInput, Ht as ExtensionsDeleteSelfPublishableKeyInput, I as CollectionsGetInput, Ia as WebhooksBulkSetEnabledInput, Ii as SchemasDeleteInput, In as MembershipsListInvitesOutput, Ir as PublishingRevertChangesInput, It as EntriesUpdateInput, J as ContentGetAssetInput, Ja as WebhooksGetInput, Ji as SearchAskCurrentStreamInput, Jn as MembershipsUpdateInput, Jr as PublishingUpdateChannelInput, Jt as ExtensionsGetSelfConfigurationInput, K as CollectionsUpdateOutput, Ka as WebhooksGetDeliveryOutput, Ki as SearchAskCurrentOutput, Kn as MembershipsRevokeInviteOutput, Kr as PublishingUnpublishEntryOutput, Kt as ExtensionsDeleteSelfStorageEntryOutput, L as CollectionsGetOutput, La as WebhooksBulkSetEnabledOutput, Li as SchemasDeleteOutput, Ln as MembershipsListOutput, Lr as PublishingRevertChangesOutput, Lt as EntriesUpdateOutput, M as CollectionsDeleteError, Ma as WebhooksBulkRedeliverError, Mi as SchemasCreateError, Mn as MembershipsListError, Mr as PublishingPublishEntryError, Mt as EntriesMoveError, N as CollectionsDeleteInput, Na as WebhooksBulkRedeliverInput, Ni as SchemasCreateInput, Nn as MembershipsListInput, Nr as PublishingPublishEntryInput, Nt as EntriesMoveInput, O as CollectionsBulkDeleteOutput, Oa as VersionsUpdateOutput, Oi as SchemaVersionsUpdateOutput, On as InstanceGetOutput, Oo as ContentURLOptions, Or as PublishingListEntryPublicationsOutput, Ot as EntriesGetOutput, P as CollectionsDeleteOutput, Pa as WebhooksBulkRedeliverOutput, Pi as SchemasCreateOutput, Pn as MembershipsListInvitesError, Pr as PublishingPublishEntryOutput, Pt as EntriesMoveOutput, Q as ContentGetOutput, Qa as WebhooksListAttemptsOutput, Qi as SearchAskPublishedOutput, Qn as PublishingBulkPublishCollectionsOutput, Qr as RolesCreateOutput, Qt as ExtensionsGetSelfDeliveryOutput, R as CollectionsListError, Ra as WebhooksCreateError, Ri as SchemasGetError, Rn as MembershipsRemoveError, Rr as PublishingSetCollectionError, Rt as ExtensionsCreateSelfPublishableKeyError, S as AssetsUploadOutput, Sa as VersionsListOutput, Si as SchemaVersionsListOutput, Sn as ExtensionsUpdateSelfPublishableKeyOutput, So as WorkspacesListOutput, Sr as PublishingGetEntryVersionOutput, St as EntriesCreateOutput, T as AuthGetIdentityOutput, Ta as VersionsRevertOutput, Ti as SchemaVersionsRevertOutput, Tn as ExtensionsVerifySessionOutput, To as AndesineStreamError, Tr as PublishingListChannelsOutput, Tt as EntriesDeleteOutput, U as CollectionsMoveOutput, Ua as WebhooksDeleteOutput, Ui as SchemasGetRevisionOutput, Un as MembershipsResendInviteOutput, Ur as PublishingUnpublishCollectionOutput, Ut as ExtensionsDeleteSelfPublishableKeyOutput, V as CollectionsMoveError, Va as WebhooksDeleteError, Vi as SchemasGetRevisionError, Vn as MembershipsResendInviteError, Vr as PublishingUnpublishCollectionError, Vt as ExtensionsDeleteSelfPublishableKeyError, W as CollectionsUpdateError, Wa as WebhooksGetDeliveryError, Wi as SearchAskCurrentError, Wn as MembershipsRevokeInviteError, Wr as PublishingUnpublishEntryError, Wt as ExtensionsDeleteSelfStorageEntryError, X as ContentGetError, Xa as WebhooksListAttemptsError, Xi as SearchAskPublishedError, Xn as PublishingBulkPublishCollectionsError, Xr as RolesCreateError, Xt as ExtensionsGetSelfDeliveryError, Y as ContentGetAssetOutput, Ya as WebhooksGetOutput, Yi as SearchAskCurrentStreamOutput, Yn as MembershipsUpdateOutput, Yr as PublishingUpdateChannelOutput, Yt as ExtensionsGetSelfConfigurationOutput, Z as ContentGetInput, Za as WebhooksListAttemptsInput, Zi as SearchAskPublishedInput, Zn as PublishingBulkPublishCollectionsInput, Zr as RolesCreateInput, Zt as ExtensionsGetSelfDeliveryInput, _ as AssetsSearchError, _a as VersionsGetError, _i as SchemaVersionsGetError, _n as ExtensionsSetSelfStorageEntryError, _o as WebhooksUpdateError, _r as PublishingGetChannelContentError, _t as EntriesBulkUpdateError, a as PaginateOptions, aa as SearchPublishedError, ai as RolesUpdateError, an as ExtensionsListElementsError, ao as WebhooksListRunsError, ar as PublishingBulkUnpublishCollectionsError, at as ContentListCollectionsError, b as AssetsUploadError, ba as VersionsListError, bi as SchemaVersionsListError, bn as ExtensionsUpdateSelfPublishableKeyError, bo as WorkspacesListError, br as PublishingGetEntryVersionError, bt as EntriesCreateError, c as AssetsGetError, ca as TypeMetadataGetCurrentError, ci as SchemaMigrationsGetActiveError, cn as ExtensionsListInstallationsError, co as WebhooksRedeliverError, cr as PublishingBulkUnpublishEntriesError, ct as ContentListEntriesError, d as AssetsImportURLError, da as TypeMetadataGetPublishedError, di as SchemaMigrationsGetError, dn as ExtensionsListSelfPublishableKeysError, do as WebhooksRotateSecretError, dr as PublishingCreateChannelError, dt as EntriesBulkDeleteError, ea as SearchAskPublishedStreamInput, ei as RolesDeleteInput, en as ExtensionsGetSelfInput, eo as WebhooksListDeliveriesInput, er as PublishingBulkPublishEntriesInput, et as ContentGetSchemaInput, f as AssetsImportURLInput, fa as TypeMetadataGetPublishedInput, fi as SchemaMigrationsGetInput, fn as ExtensionsListSelfPublishableKeysInput, fo as WebhooksRotateSecretInput, fr as PublishingCreateChannelInput, ft as EntriesBulkDeleteInput, g as AssetsRegisterOutput, ga as VersionsCreateOutput, gi as SchemaMigrationsListContentLossEntriesOutput, gn as ExtensionsListSelfStorageEntriesOutput, go as WebhooksSendTestOutput, gr as PublishingDeleteChannelOutput, gt as EntriesBulkMoveOutput, h as AssetsRegisterInput, ha as VersionsCreateInput, hi as SchemaMigrationsListContentLossEntriesInput, hn as ExtensionsListSelfStorageEntriesInput, ho as WebhooksSendTestInput, hr as PublishingDeleteChannelInput, ht as EntriesBulkMoveInput, i as Page, ia as SearchCurrentOutput, ii as RolesListOutput, in as ExtensionsGetSelfStorageEntryOutput, io as WebhooksListOutput, ir as PublishingBulkSetCollectionsOutput, it as ContentGetTreeOutput, j as CollectionsCreateOutput, ja as WebhooksBulkDeleteOutput, ji as SchemasApplyOutput, jn as MembershipsInviteOutput, jr as PublishingPublishCollectionOutput, jt as EntriesListOutput, k as CollectionsCreateError, ka as WebhooksBulkDeleteError, ki as SchemasApplyError, kn as MembershipsInviteError, ko as toContentURL, kr as PublishingPublishCollectionError, kt as EntriesListError, l as AssetsGetInput, la as TypeMetadataGetCurrentInput, li as SchemaMigrationsGetActiveInput, ln as ExtensionsListInstallationsInput, lo as WebhooksRedeliverInput, lr as PublishingBulkUnpublishEntriesInput, lt as ContentListEntriesInput, m as AssetsRegisterError, ma as VersionsCreateError, mi as SchemaMigrationsListContentLossEntriesError, mn as ExtensionsListSelfStorageEntriesError, mo as WebhooksSendTestError, mr as PublishingDeleteChannelError, mt as EntriesBulkMoveError, n as StructuredContentSource, na as SearchCurrentError, ni as RolesListError, nn as ExtensionsGetSelfStorageEntryError, no as WebhooksListError, nr as PublishingBulkSetCollectionsError, nt as ContentGetTreeError, o as paginate, oa as SearchPublishedInput, oi as RolesUpdateInput, on as ExtensionsListElementsInput, oo as WebhooksListRunsInput, or as PublishingBulkUnpublishCollectionsInput, ot as ContentListCollectionsInput, p as AssetsImportURLOutput, pa as TypeMetadataGetPublishedOutput, pi as SchemaMigrationsGetOutput, pn as ExtensionsListSelfPublishableKeysOutput, po as WebhooksRotateSecretOutput, pr as PublishingCreateChannelOutput, pt as EntriesBulkDeleteOutput, q as ContentGetAssetError, qa as WebhooksGetError, qi as SearchAskCurrentStreamError, qn as MembershipsUpdateError, qr as PublishingUpdateChannelError, qt as ExtensionsGetSelfConfigurationError, r as toStructuredContent, ra as SearchCurrentInput, ri as RolesListInput, rn as ExtensionsGetSelfStorageEntryInput, ro as WebhooksListInput, rr as PublishingBulkSetCollectionsInput, rt as ContentGetTreeInput, s as paginatePages, sa as SearchPublishedOutput, si as RolesUpdateOutput, sn as ExtensionsListElementsOutput, so as WebhooksListRunsOutput, sr as PublishingBulkUnpublishCollectionsOutput, st as ContentListCollectionsOutput, t as StructuredContent, ta as SearchAskPublishedStreamOutput, ti as RolesDeleteOutput, tn as ExtensionsGetSelfOutput, to as WebhooksListDeliveriesOutput, tr as PublishingBulkPublishEntriesOutput, tt as ContentGetSchemaOutput, u as AssetsGetOutput, ua as TypeMetadataGetCurrentOutput, ui as SchemaMigrationsGetActiveOutput, un as ExtensionsListInstallationsOutput, uo as WebhooksRedeliverOutput, ur as PublishingBulkUnpublishEntriesOutput, ut as ContentListEntriesOutput, v as AssetsSearchInput, va as VersionsGetInput, vi as SchemaVersionsGetInput, vn as ExtensionsSetSelfStorageEntryInput, vo as WebhooksUpdateInput, vr as PublishingGetChannelContentInput, vt as EntriesBulkUpdateInput, w as AuthGetIdentityInput, wa as VersionsRevertInput, wi as SchemaVersionsRevertInput, wn as ExtensionsVerifySessionInput, wo as AndesineAPIError, wr as PublishingListChannelsInput, wt as EntriesDeleteInput, x as AssetsUploadInput, xa as VersionsListInput, xi as SchemaVersionsListInput, xn as ExtensionsUpdateSelfPublishableKeyInput, xo as WorkspacesListInput, xr as PublishingGetEntryVersionInput, xt as EntriesCreateInput, y as AssetsSearchOutput, ya as VersionsGetOutput, yi as SchemaVersionsGetOutput, yn as ExtensionsSetSelfStorageEntryOutput, yo as WebhooksUpdateOutput, yr as PublishingGetChannelContentOutput, yt as EntriesBulkUpdateOutput, z as CollectionsListInput, za as WebhooksCreateInput, zi as SchemasGetInput, zn as MembershipsRemoveInput, zr as PublishingSetCollectionInput, zt as ExtensionsCreateSelfPublishableKeyInput } from "./index-DcU5xEPe.js";
|
|
5
|
+
export { type APIErrorBody, type APIErrorCode, type APIErrorData, type APIResponse, type types_d_exports as Andesine, AndesineAPIError, type AndesineClient, AndesineStreamError, AndesineStreamProtocolError, type Answer, type AnswerEvent, type AnswerHistoryMessage, type AnswerSource, type Asset, type AssetAnalysis, type AssetAnalysisStatus, type AssetConflictErrorData, type AssetFile, type AssetFileFormat, type AssetSearchResult, type AssetStatus, type AssetStorageErrorData, type AssetUploadRegistration, type AssetValidationErrorData, type AssetVariant, type AssetsGetError, type AssetsGetInput, type AssetsGetOutput, type AssetsImportURLError, type AssetsImportURLInput, type AssetsImportURLOutput, type AssetsRegisterError, type AssetsRegisterInput, type AssetsRegisterOutput, type AssetsSearchError, type AssetsSearchInput, type AssetsSearchOutput, type AssetsUploadError, type AssetsUploadInput, type AssetsUploadOutput, type AuthGetIdentityError, type AuthGetIdentityInput, type AuthGetIdentityOutput, type BaseRole, type BooleanPropertyFilter, type ChannelContent, type ChannelContentCollection, type ChannelContentEntry, type ChannelContentStatus, type ClientOptions, type Collection, type CollectionSchema, type CollectionsBulkDeleteError, type CollectionsBulkDeleteInput, type CollectionsBulkDeleteOutput, type CollectionsCreateError, type CollectionsCreateInput, type CollectionsCreateOutput, type CollectionsDeleteError, type CollectionsDeleteInput, type CollectionsDeleteOutput, type CollectionsGetError, type CollectionsGetInput, type CollectionsGetOutput, type CollectionsListError, type CollectionsListInput, type CollectionsListOutput, type CollectionsMoveError, type CollectionsMoveInput, type CollectionsMoveOutput, type CollectionsUpdateError, type CollectionsUpdateInput, type CollectionsUpdateOutput, type ComparisonOperator, type ContentClient, type ContentGetAssetError, type ContentGetAssetInput, type ContentGetAssetOutput, type ContentGetError, type ContentGetInput, type ContentGetOutput, type ContentGetSchemaError, type ContentGetSchemaInput, type ContentGetSchemaOutput, type ContentGetTreeError, type ContentGetTreeInput, type ContentGetTreeOutput, type ContentListCollectionsError, type ContentListCollectionsInput, type ContentListCollectionsOutput, type ContentListEntriesError, type ContentListEntriesInput, type ContentListEntriesOutput, type ContentListOutput, type ContentLocation, type ContentMark, type ContentMarkInput, type ContentNameConflictErrorData, type ContentNode, type ContentNodeInput, type ContentPaginationOptions, type ContentSchemaInvalidErrorData, type ContentSchemaIssue, type ContentSchemaMetadata, type ContentSchemaMismatchErrorData, type ContentURLOptions, type DatePropertyFilter, type EffectiveCollectionSchema, type EntriesBulkDeleteError, type EntriesBulkDeleteInput, type EntriesBulkDeleteOutput, type EntriesBulkMoveError, type EntriesBulkMoveInput, type EntriesBulkMoveOutput, type EntriesBulkUpdateError, type EntriesBulkUpdateInput, type EntriesBulkUpdateOutput, type EntriesCreateError, type EntriesCreateInput, type EntriesCreateOutput, type EntriesDeleteError, type EntriesDeleteInput, type EntriesDeleteOutput, type EntriesGetError, type EntriesGetInput, type EntriesGetOutput, type EntriesListError, type EntriesListInput, type EntriesListOutput, type EntriesMoveError, type EntriesMoveInput, type EntriesMoveOutput, type EntriesUpdateError, type EntriesUpdateInput, type EntriesUpdateOutput, type Entry, type EntryFragment, type EntryProperty, type EntryPropertyKind, type EntryPropertyValue, type EntryPublication, type EntryPublicationChannel, type EntrySummary, type EntryVersion, type EntryVersionSummary, type ErrorData, type ExtensionsCreateSelfPublishableKeyError, type ExtensionsCreateSelfPublishableKeyInput, type ExtensionsCreateSelfPublishableKeyOutput, type ExtensionsDeleteSelfPublishableKeyError, type ExtensionsDeleteSelfPublishableKeyInput, type ExtensionsDeleteSelfPublishableKeyOutput, type ExtensionsDeleteSelfStorageEntryError, type ExtensionsDeleteSelfStorageEntryInput, type ExtensionsDeleteSelfStorageEntryOutput, type ExtensionsGetSelfConfigurationError, type ExtensionsGetSelfConfigurationInput, type ExtensionsGetSelfConfigurationOutput, type ExtensionsGetSelfDeliveryError, type ExtensionsGetSelfDeliveryInput, type ExtensionsGetSelfDeliveryOutput, type ExtensionsGetSelfError, type ExtensionsGetSelfInput, type ExtensionsGetSelfOutput, type ExtensionsGetSelfStorageEntryError, type ExtensionsGetSelfStorageEntryInput, type ExtensionsGetSelfStorageEntryOutput, type ExtensionsListElementsError, type ExtensionsListElementsInput, type ExtensionsListElementsOutput, type ExtensionsListInstallationsError, type ExtensionsListInstallationsInput, type ExtensionsListInstallationsOutput, type ExtensionsListSelfPublishableKeysError, type ExtensionsListSelfPublishableKeysInput, type ExtensionsListSelfPublishableKeysOutput, type ExtensionsListSelfStorageEntriesError, type ExtensionsListSelfStorageEntriesInput, type ExtensionsListSelfStorageEntriesOutput, type ExtensionsSetSelfStorageEntryError, type ExtensionsSetSelfStorageEntryInput, type ExtensionsSetSelfStorageEntryOutput, type ExtensionsUpdateSelfPublishableKeyError, type ExtensionsUpdateSelfPublishableKeyInput, type ExtensionsUpdateSelfPublishableKeyOutput, type ExtensionsVerifySessionError, type ExtensionsVerifySessionInput, type ExtensionsVerifySessionOutput, type ForbiddenErrorData, type Identity, type InstanceGetError, type InstanceGetInput, type InstanceGetOutput, type InstanceInfo, type Invite, type InviteDeliveryResult, type InvitePendingErrorData, type InviteStatus, type LocalCollectionSchema, type Membership, type MembershipExistsErrorData, type MembershipInviteResult, type MembershipsInviteError, type MembershipsInviteInput, type MembershipsInviteOutput, type MembershipsListError, type MembershipsListInput, type MembershipsListInvitesError, type MembershipsListInvitesInput, type MembershipsListInvitesOutput, type MembershipsListOutput, type MembershipsRemoveError, type MembershipsRemoveInput, type MembershipsRemoveOutput, type MembershipsResendInviteError, type MembershipsResendInviteInput, type MembershipsResendInviteOutput, type MembershipsRevokeInviteError, type MembershipsRevokeInviteInput, type MembershipsRevokeInviteOutput, type MembershipsUpdateError, type MembershipsUpdateInput, type MembershipsUpdateOutput, type NotModifiedResponse, type NumberPropertyFilter, type OperationError, type OperationInput, type OperationOutput, type Page, type PaginateOptions, type Pagination, type Permission, type PropertyFilter, type PublishEntryTarget, type PublishedAnswer, type PublishedAnswerEvent, type PublishedAnswerSource, type PublishedAsset, type PublishedCollection, type PublishedCollectionSummary, type PublishedContent, type PublishedEntriesResult, type PublishedEntry, type PublishedEntryContent, type PublishedEntrySummary, type PublishedSearchResult, type PublishedTree, type PublishedVersion, type PublishingBulkPublishCollectionsError, type PublishingBulkPublishCollectionsInput, type PublishingBulkPublishCollectionsOutput, type PublishingBulkPublishEntriesError, type PublishingBulkPublishEntriesInput, type PublishingBulkPublishEntriesOutput, type PublishingBulkSetCollectionsError, type PublishingBulkSetCollectionsInput, type PublishingBulkSetCollectionsOutput, type PublishingBulkUnpublishCollectionsError, type PublishingBulkUnpublishCollectionsInput, type PublishingBulkUnpublishCollectionsOutput, type PublishingBulkUnpublishEntriesError, type PublishingBulkUnpublishEntriesInput, type PublishingBulkUnpublishEntriesOutput, type PublishingChannel, type PublishingChannelCode, type PublishingChannelListItem, type PublishingCreateChannelError, type PublishingCreateChannelInput, type PublishingCreateChannelOutput, type PublishingDeleteChannelError, type PublishingDeleteChannelInput, type PublishingDeleteChannelOutput, type PublishingGetChannelContentError, type PublishingGetChannelContentInput, type PublishingGetChannelContentOutput, type PublishingGetEntryVersionError, type PublishingGetEntryVersionInput, type PublishingGetEntryVersionOutput, type PublishingListChannelsError, type PublishingListChannelsInput, type PublishingListChannelsOutput, type PublishingListEntryPublicationsError, type PublishingListEntryPublicationsInput, type PublishingListEntryPublicationsOutput, type PublishingPublishCollectionError, type PublishingPublishCollectionInput, type PublishingPublishCollectionOutput, type PublishingPublishEntryError, type PublishingPublishEntryInput, type PublishingPublishEntryOutput, type PublishingRevertChangesError, type PublishingRevertChangesInput, type PublishingRevertChangesOutput, type PublishingSetCollectionError, type PublishingSetCollectionInput, type PublishingSetCollectionOutput, type PublishingSnapshotErrorData, type PublishingUnpublishCollectionError, type PublishingUnpublishCollectionInput, type PublishingUnpublishCollectionOutput, type PublishingUnpublishEntryError, type PublishingUnpublishEntryInput, type PublishingUnpublishEntryOutput, type PublishingUpdateChannelError, type PublishingUpdateChannelInput, type PublishingUpdateChannelOutput, type RateLimitErrorData, type RequestOptions, type ResolvedSchemaDefinition, type ResolvedSchemaField, type RevertPublishingChangesResult, type Role, type RolesCreateError, type RolesCreateInput, type RolesCreateOutput, type RolesDeleteError, type RolesDeleteInput, type RolesDeleteOutput, type RolesListError, type RolesListInput, type RolesListOutput, type RolesUpdateError, type RolesUpdateInput, type RolesUpdateOutput, type SchemaApplicationResult, type SchemaBlockType, type SchemaContent, type SchemaDefinition, type SchemaDraftDefinition, type SchemaField, type SchemaFieldKeyConflictErrorData, type SchemaFieldSource, type SchemaFragment, type SchemaMigration, type SchemaMigrationContentLossEntry, type SchemaMigrationErrorData, type SchemaMigrationStatus, type SchemaMigrationsGetActiveError, type SchemaMigrationsGetActiveInput, type SchemaMigrationsGetActiveOutput, type SchemaMigrationsGetError, type SchemaMigrationsGetInput, type SchemaMigrationsGetOutput, type SchemaMigrationsListContentLossEntriesError, type SchemaMigrationsListContentLossEntriesInput, type SchemaMigrationsListContentLossEntriesOutput, type SchemaProperty, type SchemaPropertyValue, type SchemaRevision, type SchemaVersion, type SchemaVersionSummary, type SchemaVersionsGetError, type SchemaVersionsGetInput, type SchemaVersionsGetOutput, type SchemaVersionsListError, type SchemaVersionsListInput, type SchemaVersionsListOutput, type SchemaVersionsRevertError, type SchemaVersionsRevertInput, type SchemaVersionsRevertOutput, type SchemaVersionsUpdateError, type SchemaVersionsUpdateInput, type SchemaVersionsUpdateOutput, type SchemasApplyError, type SchemasApplyInput, type SchemasApplyOutput, type SchemasCreateError, type SchemasCreateInput, type SchemasCreateOutput, type SchemasDeleteError, type SchemasDeleteInput, type SchemasDeleteOutput, type SchemasGetError, type SchemasGetInput, type SchemasGetOutput, type SchemasGetRevisionError, type SchemasGetRevisionInput, type SchemasGetRevisionOutput, type SearchAskCurrentError, type SearchAskCurrentInput, type SearchAskCurrentOutput, type SearchAskCurrentStreamError, type SearchAskCurrentStreamInput, type SearchAskCurrentStreamOutput, type SearchAskPublishedError, type SearchAskPublishedInput, type SearchAskPublishedOutput, type SearchAskPublishedStreamError, type SearchAskPublishedStreamInput, type SearchAskPublishedStreamOutput, type SearchCurrentError, type SearchCurrentInput, type SearchCurrentOutput, type SearchPropertyValue, type SearchPublishedError, type SearchPublishedInput, type SearchPublishedOutput, type SearchResult, type SearchResults, type StructuredContent, type StructuredContentSource, type TextPropertyFilter, type TypeMetadata, type TypeMetadataCollection, type TypeMetadataEntry, type TypeMetadataGetCurrentError, type TypeMetadataGetCurrentInput, type TypeMetadataGetCurrentOutput, type TypeMetadataGetPublishedError, type TypeMetadataGetPublishedInput, type TypeMetadataGetPublishedOutput, type TypeMetadataTree, type UnpublishedEntriesResult, type UserProfile, type ValidationErrorData, type ValidationIssue, type VersionReason, type VersionsCreateError, type VersionsCreateInput, type VersionsCreateOutput, type VersionsGetError, type VersionsGetInput, type VersionsGetOutput, type VersionsListError, type VersionsListInput, type VersionsListOutput, type VersionsRevertError, type VersionsRevertInput, type VersionsRevertOutput, type VersionsUpdateError, type VersionsUpdateInput, type VersionsUpdateOutput, type WebhookAttempt, type WebhookDelivery, type WebhookEndpoint, type WebhookEvent, type WebhookEventName, type WebhookRun, type WebhooksBulkDeleteError, type WebhooksBulkDeleteInput, type WebhooksBulkDeleteOutput, type WebhooksBulkRedeliverError, type WebhooksBulkRedeliverInput, type WebhooksBulkRedeliverOutput, type WebhooksBulkSetEnabledError, type WebhooksBulkSetEnabledInput, type WebhooksBulkSetEnabledOutput, type WebhooksCreateError, type WebhooksCreateInput, type WebhooksCreateOutput, type WebhooksDeleteError, type WebhooksDeleteInput, type WebhooksDeleteOutput, type WebhooksGetDeliveryError, type WebhooksGetDeliveryInput, type WebhooksGetDeliveryOutput, type WebhooksGetError, type WebhooksGetInput, type WebhooksGetOutput, type WebhooksListAttemptsError, type WebhooksListAttemptsInput, type WebhooksListAttemptsOutput, type WebhooksListDeliveriesError, type WebhooksListDeliveriesInput, type WebhooksListDeliveriesOutput, type WebhooksListError, type WebhooksListInput, type WebhooksListOutput, type WebhooksListRunsError, type WebhooksListRunsInput, type WebhooksListRunsOutput, type WebhooksRedeliverError, type WebhooksRedeliverInput, type WebhooksRedeliverOutput, type WebhooksRotateSecretError, type WebhooksRotateSecretInput, type WebhooksRotateSecretOutput, type WebhooksSendTestError, type WebhooksSendTestInput, type WebhooksSendTestOutput, type WebhooksUpdateError, type WebhooksUpdateInput, type WebhooksUpdateOutput, type WorkspaceCollection, type WorkspaceEntry, type WorkspaceListItem, type WorkspaceSchema, type WorkspaceTypeMap, type WorkspacesListError, type WorkspacesListInput, type WorkspacesListOutput, type components, createClient, type operations, paginate, paginatePages, type paths, toContentSlug, toContentURL, toStructuredContent };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as AndesineStreamProtocolError, n as AndesineAPIError, r as AndesineStreamError } from "./answer-stream-7N_gLhVS.js";
|
|
2
|
-
import { n as paginate, r as paginatePages, t as createClient } from "./client-
|
|
2
|
+
import { n as paginate, r as paginatePages, t as createClient } from "./client-CyhWWH37.js";
|
|
3
3
|
import { toContentSlug } from "./content-slug.js";
|
|
4
4
|
//#region src/content-url.ts
|
|
5
5
|
/**
|