@andesine/sdk 0.4.0 → 0.5.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 +17 -0
- package/dist/{index-moj3WP71.d.ts → client-C8wt7f3o.d.ts} +59 -445
- package/dist/client-DioqVOxl.js +1424 -0
- package/dist/client-DioqVOxl.js.map +1 -0
- package/dist/extensions.d.ts +87 -0
- package/dist/extensions.js +220 -0
- package/dist/extensions.js.map +1 -0
- package/dist/index-B5qefVRv.d.ts +473 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.js +2 -1325
- package/dist/index.js.map +1 -1
- package/dist/{schema-BcVop8NH.d.ts → schema-CrquN_J6.d.ts} +2830 -2
- package/dist/streaming.d.ts +1 -1
- package/dist/webhooks.d.ts +1 -1
- package/openapi.json +4316 -0
- package/package.json +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
- Add the extension API operations `extensions.getSelf`,
|
|
6
|
+
`extensions.verifySession`, `extensions.listInstallations`,
|
|
7
|
+
`extensions.getSelfConfiguration`, and the storage operations
|
|
8
|
+
`extensions.getSelfStorageEntry`, `extensions.setSelfStorageEntry`,
|
|
9
|
+
`extensions.deleteSelfStorageEntry`, and `extensions.listSelfStorageEntries`. They use an
|
|
10
|
+
extension JWT (`extensionToken` security scheme), not an API key.
|
|
11
|
+
- Add `@andesine/sdk/extensions` for extension backends: `createExtensionBackend`
|
|
12
|
+
signs and caches extension JWTs (EdDSA or ES256 private JWK with `kid`),
|
|
13
|
+
`createClient(instance, extensionID?)` returns API clients for an installation
|
|
14
|
+
or app-level calls, and `verifySession(headers)` verifies a frontend session
|
|
15
|
+
token. `receive(body)` handles an extension webhook notification and
|
|
16
|
+
fetches its delivery (`extensions.getSelfDelivery`). Only the configured
|
|
17
|
+
`trustedInstances` are accepted.
|
|
18
|
+
- Add the `extensions` role permission (manage workspace extensions) to the role types.
|
|
19
|
+
|
|
3
20
|
## 0.4.0
|
|
4
21
|
|
|
5
22
|
- Document the limits: per-minute rate limits, the monthly API call and AI credit
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as ContentSchemaMetadata, R as EntryFragment, _n as operations, gn as components, mt as PublishedCollection, yt as PublishedEntryContent, z as EntryProperty } from "./schema-CrquN_J6.js";
|
|
2
2
|
//#region src/workspace.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Type-only description of one workspace and content source.
|
|
@@ -399,6 +399,62 @@ interface APIResources<Workspace extends WorkspaceTypeMap = WorkspaceTypeMap> {
|
|
|
399
399
|
*/
|
|
400
400
|
list: Operation<"entries.list", Workspace>;
|
|
401
401
|
};
|
|
402
|
+
extensions: {
|
|
403
|
+
/**
|
|
404
|
+
* Get the extension
|
|
405
|
+
*
|
|
406
|
+
* Returns the installed extension that the token's subject names, including disabled and uninstalled extensions.
|
|
407
|
+
*/
|
|
408
|
+
getSelf: Operation<"extensions.getSelf", Workspace>;
|
|
409
|
+
/**
|
|
410
|
+
* Verify a session token
|
|
411
|
+
*
|
|
412
|
+
* Verifies a session token from the extension frontend and returns its member. Tokens of other extensions, expired tokens, and tokens of an earlier extension generation fail with NOT_FOUND.
|
|
413
|
+
*/
|
|
414
|
+
verifySession: Operation<"extensions.verifySession", Workspace>;
|
|
415
|
+
/**
|
|
416
|
+
* List installations
|
|
417
|
+
*
|
|
418
|
+
* Lists the installations of the extension on this instance. Requires an app-level token: an extension JWT without a subject.
|
|
419
|
+
*/
|
|
420
|
+
listInstallations: Operation<"extensions.listInstallations", Workspace>;
|
|
421
|
+
/**
|
|
422
|
+
* Get a delivery
|
|
423
|
+
*
|
|
424
|
+
* Returns the event of a delivery to one of the extension's webhooks. Disabled and uninstalled extensions can read only lifecycle deliveries.
|
|
425
|
+
*/
|
|
426
|
+
getSelfDelivery: Operation<"extensions.getSelfDelivery", Workspace>;
|
|
427
|
+
/**
|
|
428
|
+
* Get the configuration
|
|
429
|
+
*
|
|
430
|
+
* Returns the extension's configuration, including secret fields, and its revision. Unset fields use their defaults.
|
|
431
|
+
*/
|
|
432
|
+
getSelfConfiguration: Operation<"extensions.getSelfConfiguration", Workspace>;
|
|
433
|
+
/**
|
|
434
|
+
* Get a storage entry
|
|
435
|
+
*
|
|
436
|
+
* Returns an entry of the extension's storage, or NOT_FOUND.
|
|
437
|
+
*/
|
|
438
|
+
getSelfStorageEntry: Operation<"extensions.getSelfStorageEntry", Workspace>;
|
|
439
|
+
/**
|
|
440
|
+
* Set a storage entry
|
|
441
|
+
*
|
|
442
|
+
* Creates or replaces an entry of the extension's storage. Values are JSON up to 128 KiB; the storage holds up to 10,000 entries and 10 MiB.
|
|
443
|
+
*/
|
|
444
|
+
setSelfStorageEntry: Operation<"extensions.setSelfStorageEntry", Workspace>;
|
|
445
|
+
/**
|
|
446
|
+
* Delete a storage entry
|
|
447
|
+
*
|
|
448
|
+
* Deletes an entry of the extension's storage, if it exists.
|
|
449
|
+
*/
|
|
450
|
+
deleteSelfStorageEntry: Operation<"extensions.deleteSelfStorageEntry", Workspace>;
|
|
451
|
+
/**
|
|
452
|
+
* List storage entries
|
|
453
|
+
*
|
|
454
|
+
* Lists the extension's storage entries in key order, optionally with a key prefix. A page ends early when its values reach 192 KiB.
|
|
455
|
+
*/
|
|
456
|
+
listSelfStorageEntries: Operation<"extensions.listSelfStorageEntries", Workspace>;
|
|
457
|
+
};
|
|
402
458
|
collections: {
|
|
403
459
|
/**
|
|
404
460
|
* Create a collection
|
|
@@ -1536,447 +1592,5 @@ interface ClientOptions {
|
|
|
1536
1592
|
*/
|
|
1537
1593
|
declare const createClient: <Workspace extends WorkspaceTypeMap = WorkspaceTypeMap>(config?: ClientOptions) => AndesineClient<Workspace>;
|
|
1538
1594
|
//#endregion
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
interface ContentLocation {
|
|
1542
|
-
path: string;
|
|
1543
|
-
/** Authoritative derived path returned by the API, including ID fallbacks. */
|
|
1544
|
-
slugPath?: string;
|
|
1545
|
-
anchor?: string;
|
|
1546
|
-
}
|
|
1547
|
-
interface ContentURLOptions {
|
|
1548
|
-
/** Use derived slugs (default), or percent-encoded original names. */
|
|
1549
|
-
format?: "slug" | "name";
|
|
1550
|
-
/** Decoded collection prefix to remove, matched on whole segments. Defaults to "/". */
|
|
1551
|
-
rootPath?: string;
|
|
1552
|
-
/**
|
|
1553
|
-
* Destination root: a root-relative URL such as "/docs", or an absolute HTTP(S) URL.
|
|
1554
|
-
* Its pathname is retained as a prefix. Queries, fragments, and credentials are not allowed.
|
|
1555
|
-
* Defaults to "/". Supply this as a URL; its pathname may already be percent-encoded.
|
|
1556
|
-
*/
|
|
1557
|
-
baseURL?: string;
|
|
1558
|
-
}
|
|
1559
|
-
/**
|
|
1560
|
-
* Convert a canonical Andesine path or search/citation location to a website URL.
|
|
1561
|
-
*
|
|
1562
|
-
* Uses the API slugPath when supplied, or derives slugs from decoded names.
|
|
1563
|
-
* Set format to "name" to preserve names. Heading anchors are encoded without slug conversion.
|
|
1564
|
-
* This is a pure function: it does not resolve IDs, fetch content, or pin a snapshot.
|
|
1565
|
-
* @param source - An absolute decoded path, or an API location with path, slugPath, and optional anchor.
|
|
1566
|
-
* Collection-ID-relative selectors must first be resolved through the API to a canonical path.
|
|
1567
|
-
* @param options - Source collection root and destination URL prefix.
|
|
1568
|
-
* @returns A root-relative URL by default, or an absolute URL when baseURL is absolute.
|
|
1569
|
-
* The source root itself maps to the destination root without adding a trailing slash.
|
|
1570
|
-
* @throws TypeError for invalid paths, a source outside rootPath, an invalid baseURL,
|
|
1571
|
-
* or a symbol-only name without an API slugPath. Pass the API object for ID fallbacks.
|
|
1572
|
-
* @example
|
|
1573
|
-
* toContentURL({ path: "/Docs/Getting started", anchor: "install" }, {
|
|
1574
|
-
* rootPath: "/Docs", baseURL: "/docs"
|
|
1575
|
-
* }); // "/docs/getting-started#install"
|
|
1576
|
-
*/
|
|
1577
|
-
declare const toContentURL: (source: string | ContentLocation, options?: ContentURLOptions) => string;
|
|
1578
|
-
//#endregion
|
|
1579
|
-
//#region src/error.d.ts
|
|
1580
|
-
/** An HTTP API failure with its response, error code, contract data, and suggested next steps. */
|
|
1581
|
-
declare class AndesineAPIError extends Error {
|
|
1582
|
-
readonly defined: boolean;
|
|
1583
|
-
readonly status: number;
|
|
1584
|
-
readonly code: string;
|
|
1585
|
-
readonly data: unknown;
|
|
1586
|
-
readonly response: Response;
|
|
1587
|
-
/**
|
|
1588
|
-
* @param response - Failed Fetch response, retained for status and headers such as Retry-After.
|
|
1589
|
-
* @param body - Parsed error envelope, or the original body for an unrecognized error format.
|
|
1590
|
-
*/
|
|
1591
|
-
constructor(response: Response, body: unknown);
|
|
1592
|
-
/**
|
|
1593
|
-
* Check and narrow the code and data of an error declared by the API contract.
|
|
1594
|
-
* @param code - Contract error code to match.
|
|
1595
|
-
* @returns True only when the API marks the error as defined and its code matches.
|
|
1596
|
-
*/
|
|
1597
|
-
is<C extends APIErrorCode>(code: C): this is this & {
|
|
1598
|
-
defined: true;
|
|
1599
|
-
code: C;
|
|
1600
|
-
data: APIErrorData<C>;
|
|
1601
|
-
};
|
|
1602
|
-
/** Suggested next steps. Do not use the wording for program logic. */
|
|
1603
|
-
get hints(): string[];
|
|
1604
|
-
}
|
|
1605
|
-
/** An API error frame received after SSE headers. status is the frame status, not HTTP 200. */
|
|
1606
|
-
declare class AndesineStreamError extends AndesineAPIError {
|
|
1607
|
-
readonly status: number;
|
|
1608
|
-
/**
|
|
1609
|
-
* @param response - Original SSE response; response.status retains its actual HTTP status.
|
|
1610
|
-
* @param body - Parsed error frame. Its numeric status overrides the HTTP status on this error.
|
|
1611
|
-
*/
|
|
1612
|
-
constructor(response: Response, body: unknown);
|
|
1613
|
-
}
|
|
1614
|
-
/** A local invalid/incomplete stream failure. It does not invent an API error or HTTP status. */
|
|
1615
|
-
declare class AndesineStreamProtocolError extends Error {
|
|
1616
|
-
readonly code: "INVALID_STREAM" | "INCOMPLETE_STREAM";
|
|
1617
|
-
readonly response: Response;
|
|
1618
|
-
/**
|
|
1619
|
-
* @param code - INVALID_STREAM for malformed events; INCOMPLETE_STREAM for missing completion.
|
|
1620
|
-
* @param response - Original SSE response for inspection.
|
|
1621
|
-
* @param message - Description of the protocol failure.
|
|
1622
|
-
* @param options - Optional underlying cause.
|
|
1623
|
-
*/
|
|
1624
|
-
constructor(code: "INVALID_STREAM" | "INCOMPLETE_STREAM", response: Response, message: string, options?: ErrorOptions);
|
|
1625
|
-
}
|
|
1626
|
-
declare namespace types_d_exports {
|
|
1627
|
-
export { Answer, AnswerEvent, AnswerHistoryMessage, AnswerSource, Asset, AssetAnalysis, AssetAnalysisStatus, AssetConflictErrorData, AssetFile, AssetFileFormat, AssetSearchResult, AssetStatus, AssetStorageErrorData, AssetUploadRegistration, AssetValidationErrorData, AssetVariant, AssetsAttachError, AssetsAttachInput, AssetsAttachOutput, 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, 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, EntriesCreateError, EntriesCreateInput, EntriesCreateOutput, EntriesDeleteError, EntriesDeleteInput, EntriesDeleteOutput, EntriesGetError, EntriesGetInput, EntriesGetOutput, EntriesListError, EntriesListInput, EntriesListOutput, EntriesUpdateError, EntriesUpdateInput, EntriesUpdateOutput, Entry, EntryFragment, EntryProperty, EntryPropertyKind, EntryPropertyValue, EntryPublication, EntryPublicationChannel, EntrySummary, EntryVersion, EntryVersionSummary, ErrorData, 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, 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 };
|
|
1628
|
-
}
|
|
1629
|
-
type AssetsAttachError = OperationError<"assets.attach">;
|
|
1630
|
-
type AssetsAttachInput = OperationInput<"assets.attach">;
|
|
1631
|
-
type AssetsAttachOutput = OperationOutput<"assets.attach">;
|
|
1632
|
-
type AssetsGetError = OperationError<"assets.get">;
|
|
1633
|
-
type AssetsGetInput = OperationInput<"assets.get">;
|
|
1634
|
-
type AssetsGetOutput = OperationOutput<"assets.get">;
|
|
1635
|
-
type AssetsImportURLError = OperationError<"assets.importURL">;
|
|
1636
|
-
type AssetsImportURLInput = OperationInput<"assets.importURL">;
|
|
1637
|
-
type AssetsImportURLOutput = OperationOutput<"assets.importURL">;
|
|
1638
|
-
type AssetsRegisterError = OperationError<"assets.register">;
|
|
1639
|
-
type AssetsRegisterInput = OperationInput<"assets.register">;
|
|
1640
|
-
type AssetsRegisterOutput = OperationOutput<"assets.register">;
|
|
1641
|
-
type AssetsSearchError = OperationError<"assets.search">;
|
|
1642
|
-
type AssetsSearchInput = OperationInput<"assets.search">;
|
|
1643
|
-
type AssetsSearchOutput = OperationOutput<"assets.search">;
|
|
1644
|
-
type AssetsUploadError = OperationError<"assets.upload">;
|
|
1645
|
-
type AssetsUploadInput = OperationInput<"assets.upload">;
|
|
1646
|
-
type AssetsUploadOutput = OperationOutput<"assets.upload">;
|
|
1647
|
-
type AuthGetIdentityError = OperationError<"auth.getIdentity">;
|
|
1648
|
-
type AuthGetIdentityInput = OperationInput<"auth.getIdentity">;
|
|
1649
|
-
type AuthGetIdentityOutput = OperationOutput<"auth.getIdentity">;
|
|
1650
|
-
type CollectionsBulkDeleteError = OperationError<"collections.bulkDelete">;
|
|
1651
|
-
type CollectionsBulkDeleteInput = OperationInput<"collections.bulkDelete">;
|
|
1652
|
-
type CollectionsBulkDeleteOutput = OperationOutput<"collections.bulkDelete">;
|
|
1653
|
-
type CollectionsCreateError = OperationError<"collections.create">;
|
|
1654
|
-
type CollectionsCreateInput = OperationInput<"collections.create">;
|
|
1655
|
-
type CollectionsCreateOutput = OperationOutput<"collections.create">;
|
|
1656
|
-
type CollectionsDeleteError = OperationError<"collections.delete">;
|
|
1657
|
-
type CollectionsDeleteInput = OperationInput<"collections.delete">;
|
|
1658
|
-
type CollectionsDeleteOutput = OperationOutput<"collections.delete">;
|
|
1659
|
-
type CollectionsListError = OperationError<"collections.list">;
|
|
1660
|
-
type CollectionsListInput = OperationInput<"collections.list">;
|
|
1661
|
-
type CollectionsListOutput = OperationOutput<"collections.list">;
|
|
1662
|
-
type CollectionsUpdateError = OperationError<"collections.update">;
|
|
1663
|
-
type CollectionsUpdateInput = OperationInput<"collections.update">;
|
|
1664
|
-
type CollectionsUpdateOutput = OperationOutput<"collections.update">;
|
|
1665
|
-
type ContentGetAssetError = OperationError<"content.getAsset">;
|
|
1666
|
-
type ContentGetAssetInput = OperationInput<"content.getAsset">;
|
|
1667
|
-
type ContentGetAssetOutput = OperationOutput<"content.getAsset">;
|
|
1668
|
-
type ContentGetError = OperationError<"content.get">;
|
|
1669
|
-
type ContentGetInput = OperationInput<"content.get">;
|
|
1670
|
-
type ContentGetOutput = OperationOutput<"content.get">;
|
|
1671
|
-
type ContentGetSchemaError = OperationError<"content.getSchema">;
|
|
1672
|
-
type ContentGetSchemaInput = OperationInput<"content.getSchema">;
|
|
1673
|
-
type ContentGetSchemaOutput = OperationOutput<"content.getSchema">;
|
|
1674
|
-
type ContentGetTreeError = OperationError<"content.getTree">;
|
|
1675
|
-
type ContentGetTreeInput = OperationInput<"content.getTree">;
|
|
1676
|
-
type ContentGetTreeOutput = OperationOutput<"content.getTree">;
|
|
1677
|
-
type ContentListCollectionsError = OperationError<"content.listCollections">;
|
|
1678
|
-
type ContentListCollectionsInput = OperationInput<"content.listCollections">;
|
|
1679
|
-
type ContentListCollectionsOutput = OperationOutput<"content.listCollections">;
|
|
1680
|
-
type ContentListEntriesError = OperationError<"content.listEntries">;
|
|
1681
|
-
type ContentListEntriesInput = OperationInput<"content.listEntries">;
|
|
1682
|
-
type ContentListEntriesOutput = OperationOutput<"content.listEntries">;
|
|
1683
|
-
type EntriesBulkDeleteError = OperationError<"entries.bulkDelete">;
|
|
1684
|
-
type EntriesBulkDeleteInput = OperationInput<"entries.bulkDelete">;
|
|
1685
|
-
type EntriesBulkDeleteOutput = OperationOutput<"entries.bulkDelete">;
|
|
1686
|
-
type EntriesCreateError = OperationError<"entries.create">;
|
|
1687
|
-
type EntriesCreateInput = OperationInput<"entries.create">;
|
|
1688
|
-
type EntriesCreateOutput = OperationOutput<"entries.create">;
|
|
1689
|
-
type EntriesDeleteError = OperationError<"entries.delete">;
|
|
1690
|
-
type EntriesDeleteInput = OperationInput<"entries.delete">;
|
|
1691
|
-
type EntriesDeleteOutput = OperationOutput<"entries.delete">;
|
|
1692
|
-
type EntriesGetError = OperationError<"entries.get">;
|
|
1693
|
-
type EntriesGetInput = OperationInput<"entries.get">;
|
|
1694
|
-
type EntriesGetOutput = OperationOutput<"entries.get">;
|
|
1695
|
-
type EntriesListError = OperationError<"entries.list">;
|
|
1696
|
-
type EntriesListInput = OperationInput<"entries.list">;
|
|
1697
|
-
type EntriesListOutput = OperationOutput<"entries.list">;
|
|
1698
|
-
type EntriesUpdateError = OperationError<"entries.update">;
|
|
1699
|
-
type EntriesUpdateInput = OperationInput<"entries.update">;
|
|
1700
|
-
type EntriesUpdateOutput = OperationOutput<"entries.update">;
|
|
1701
|
-
type InstanceGetError = OperationError<"instance.get">;
|
|
1702
|
-
type InstanceGetInput = OperationInput<"instance.get">;
|
|
1703
|
-
type InstanceGetOutput = OperationOutput<"instance.get">;
|
|
1704
|
-
type MembershipsInviteError = OperationError<"memberships.invite">;
|
|
1705
|
-
type MembershipsInviteInput = OperationInput<"memberships.invite">;
|
|
1706
|
-
type MembershipsInviteOutput = OperationOutput<"memberships.invite">;
|
|
1707
|
-
type MembershipsListError = OperationError<"memberships.list">;
|
|
1708
|
-
type MembershipsListInput = OperationInput<"memberships.list">;
|
|
1709
|
-
type MembershipsListInvitesError = OperationError<"memberships.listInvites">;
|
|
1710
|
-
type MembershipsListInvitesInput = OperationInput<"memberships.listInvites">;
|
|
1711
|
-
type MembershipsListInvitesOutput = OperationOutput<"memberships.listInvites">;
|
|
1712
|
-
type MembershipsListOutput = OperationOutput<"memberships.list">;
|
|
1713
|
-
type MembershipsRemoveError = OperationError<"memberships.remove">;
|
|
1714
|
-
type MembershipsRemoveInput = OperationInput<"memberships.remove">;
|
|
1715
|
-
type MembershipsRemoveOutput = OperationOutput<"memberships.remove">;
|
|
1716
|
-
type MembershipsResendInviteError = OperationError<"memberships.resendInvite">;
|
|
1717
|
-
type MembershipsResendInviteInput = OperationInput<"memberships.resendInvite">;
|
|
1718
|
-
type MembershipsResendInviteOutput = OperationOutput<"memberships.resendInvite">;
|
|
1719
|
-
type MembershipsRevokeInviteError = OperationError<"memberships.revokeInvite">;
|
|
1720
|
-
type MembershipsRevokeInviteInput = OperationInput<"memberships.revokeInvite">;
|
|
1721
|
-
type MembershipsRevokeInviteOutput = OperationOutput<"memberships.revokeInvite">;
|
|
1722
|
-
type MembershipsUpdateError = OperationError<"memberships.update">;
|
|
1723
|
-
type MembershipsUpdateInput = OperationInput<"memberships.update">;
|
|
1724
|
-
type MembershipsUpdateOutput = OperationOutput<"memberships.update">;
|
|
1725
|
-
type PublishingBulkPublishCollectionsError = OperationError<"publishing.bulkPublishCollections">;
|
|
1726
|
-
type PublishingBulkPublishCollectionsInput = OperationInput<"publishing.bulkPublishCollections">;
|
|
1727
|
-
type PublishingBulkPublishCollectionsOutput = OperationOutput<"publishing.bulkPublishCollections">;
|
|
1728
|
-
type PublishingBulkPublishEntriesError = OperationError<"publishing.bulkPublishEntries">;
|
|
1729
|
-
type PublishingBulkPublishEntriesInput = OperationInput<"publishing.bulkPublishEntries">;
|
|
1730
|
-
type PublishingBulkPublishEntriesOutput = OperationOutput<"publishing.bulkPublishEntries">;
|
|
1731
|
-
type PublishingBulkSetCollectionsError = OperationError<"publishing.bulkSetCollections">;
|
|
1732
|
-
type PublishingBulkSetCollectionsInput = OperationInput<"publishing.bulkSetCollections">;
|
|
1733
|
-
type PublishingBulkSetCollectionsOutput = OperationOutput<"publishing.bulkSetCollections">;
|
|
1734
|
-
type PublishingBulkUnpublishCollectionsError = OperationError<"publishing.bulkUnpublishCollections">;
|
|
1735
|
-
type PublishingBulkUnpublishCollectionsInput = OperationInput<"publishing.bulkUnpublishCollections">;
|
|
1736
|
-
type PublishingBulkUnpublishCollectionsOutput = OperationOutput<"publishing.bulkUnpublishCollections">;
|
|
1737
|
-
type PublishingBulkUnpublishEntriesError = OperationError<"publishing.bulkUnpublishEntries">;
|
|
1738
|
-
type PublishingBulkUnpublishEntriesInput = OperationInput<"publishing.bulkUnpublishEntries">;
|
|
1739
|
-
type PublishingBulkUnpublishEntriesOutput = OperationOutput<"publishing.bulkUnpublishEntries">;
|
|
1740
|
-
type PublishingCreateChannelError = OperationError<"publishing.createChannel">;
|
|
1741
|
-
type PublishingCreateChannelInput = OperationInput<"publishing.createChannel">;
|
|
1742
|
-
type PublishingCreateChannelOutput = OperationOutput<"publishing.createChannel">;
|
|
1743
|
-
type PublishingDeleteChannelError = OperationError<"publishing.deleteChannel">;
|
|
1744
|
-
type PublishingDeleteChannelInput = OperationInput<"publishing.deleteChannel">;
|
|
1745
|
-
type PublishingDeleteChannelOutput = OperationOutput<"publishing.deleteChannel">;
|
|
1746
|
-
type PublishingGetChannelContentError = OperationError<"publishing.getChannelContent">;
|
|
1747
|
-
type PublishingGetChannelContentInput = OperationInput<"publishing.getChannelContent">;
|
|
1748
|
-
type PublishingGetChannelContentOutput = OperationOutput<"publishing.getChannelContent">;
|
|
1749
|
-
type PublishingGetEntryVersionError = OperationError<"publishing.getEntryVersion">;
|
|
1750
|
-
type PublishingGetEntryVersionInput = OperationInput<"publishing.getEntryVersion">;
|
|
1751
|
-
type PublishingGetEntryVersionOutput = OperationOutput<"publishing.getEntryVersion">;
|
|
1752
|
-
type PublishingListChannelsError = OperationError<"publishing.listChannels">;
|
|
1753
|
-
type PublishingListChannelsInput = OperationInput<"publishing.listChannels">;
|
|
1754
|
-
type PublishingListChannelsOutput = OperationOutput<"publishing.listChannels">;
|
|
1755
|
-
type PublishingListEntryPublicationsError = OperationError<"publishing.listEntryPublications">;
|
|
1756
|
-
type PublishingListEntryPublicationsInput = OperationInput<"publishing.listEntryPublications">;
|
|
1757
|
-
type PublishingListEntryPublicationsOutput = OperationOutput<"publishing.listEntryPublications">;
|
|
1758
|
-
type PublishingPublishCollectionError = OperationError<"publishing.publishCollection">;
|
|
1759
|
-
type PublishingPublishCollectionInput = OperationInput<"publishing.publishCollection">;
|
|
1760
|
-
type PublishingPublishCollectionOutput = OperationOutput<"publishing.publishCollection">;
|
|
1761
|
-
type PublishingPublishEntryError = OperationError<"publishing.publishEntry">;
|
|
1762
|
-
type PublishingPublishEntryInput = OperationInput<"publishing.publishEntry">;
|
|
1763
|
-
type PublishingPublishEntryOutput = OperationOutput<"publishing.publishEntry">;
|
|
1764
|
-
type PublishingRevertChangesError = OperationError<"publishing.revertChanges">;
|
|
1765
|
-
type PublishingRevertChangesInput = OperationInput<"publishing.revertChanges">;
|
|
1766
|
-
type PublishingRevertChangesOutput = OperationOutput<"publishing.revertChanges">;
|
|
1767
|
-
type PublishingSetCollectionError = OperationError<"publishing.setCollection">;
|
|
1768
|
-
type PublishingSetCollectionInput = OperationInput<"publishing.setCollection">;
|
|
1769
|
-
type PublishingSetCollectionOutput = OperationOutput<"publishing.setCollection">;
|
|
1770
|
-
type PublishingUnpublishCollectionError = OperationError<"publishing.unpublishCollection">;
|
|
1771
|
-
type PublishingUnpublishCollectionInput = OperationInput<"publishing.unpublishCollection">;
|
|
1772
|
-
type PublishingUnpublishCollectionOutput = OperationOutput<"publishing.unpublishCollection">;
|
|
1773
|
-
type PublishingUnpublishEntryError = OperationError<"publishing.unpublishEntry">;
|
|
1774
|
-
type PublishingUnpublishEntryInput = OperationInput<"publishing.unpublishEntry">;
|
|
1775
|
-
type PublishingUnpublishEntryOutput = OperationOutput<"publishing.unpublishEntry">;
|
|
1776
|
-
type RolesCreateError = OperationError<"roles.create">;
|
|
1777
|
-
type RolesCreateInput = OperationInput<"roles.create">;
|
|
1778
|
-
type RolesCreateOutput = OperationOutput<"roles.create">;
|
|
1779
|
-
type RolesDeleteError = OperationError<"roles.delete">;
|
|
1780
|
-
type RolesDeleteInput = OperationInput<"roles.delete">;
|
|
1781
|
-
type RolesDeleteOutput = OperationOutput<"roles.delete">;
|
|
1782
|
-
type RolesListError = OperationError<"roles.list">;
|
|
1783
|
-
type RolesListInput = OperationInput<"roles.list">;
|
|
1784
|
-
type RolesListOutput = OperationOutput<"roles.list">;
|
|
1785
|
-
type RolesUpdateError = OperationError<"roles.update">;
|
|
1786
|
-
type RolesUpdateInput = OperationInput<"roles.update">;
|
|
1787
|
-
type RolesUpdateOutput = OperationOutput<"roles.update">;
|
|
1788
|
-
type SchemaMigrationsGetActiveError = OperationError<"schemaMigrations.getActive">;
|
|
1789
|
-
type SchemaMigrationsGetActiveInput = OperationInput<"schemaMigrations.getActive">;
|
|
1790
|
-
type SchemaMigrationsGetActiveOutput = OperationOutput<"schemaMigrations.getActive">;
|
|
1791
|
-
type SchemaMigrationsGetError = OperationError<"schemaMigrations.get">;
|
|
1792
|
-
type SchemaMigrationsGetInput = OperationInput<"schemaMigrations.get">;
|
|
1793
|
-
type SchemaMigrationsGetOutput = OperationOutput<"schemaMigrations.get">;
|
|
1794
|
-
type SchemaMigrationsListContentLossEntriesError = OperationError<"schemaMigrations.listContentLossEntries">;
|
|
1795
|
-
type SchemaMigrationsListContentLossEntriesInput = OperationInput<"schemaMigrations.listContentLossEntries">;
|
|
1796
|
-
type SchemaMigrationsListContentLossEntriesOutput = OperationOutput<"schemaMigrations.listContentLossEntries">;
|
|
1797
|
-
type SchemaVersionsGetError = OperationError<"schemaVersions.get">;
|
|
1798
|
-
type SchemaVersionsGetInput = OperationInput<"schemaVersions.get">;
|
|
1799
|
-
type SchemaVersionsGetOutput = OperationOutput<"schemaVersions.get">;
|
|
1800
|
-
type SchemaVersionsListError = OperationError<"schemaVersions.list">;
|
|
1801
|
-
type SchemaVersionsListInput = OperationInput<"schemaVersions.list">;
|
|
1802
|
-
type SchemaVersionsListOutput = OperationOutput<"schemaVersions.list">;
|
|
1803
|
-
type SchemaVersionsRevertError = OperationError<"schemaVersions.revert">;
|
|
1804
|
-
type SchemaVersionsRevertInput = OperationInput<"schemaVersions.revert">;
|
|
1805
|
-
type SchemaVersionsRevertOutput = OperationOutput<"schemaVersions.revert">;
|
|
1806
|
-
type SchemaVersionsUpdateError = OperationError<"schemaVersions.update">;
|
|
1807
|
-
type SchemaVersionsUpdateInput = OperationInput<"schemaVersions.update">;
|
|
1808
|
-
type SchemaVersionsUpdateOutput = OperationOutput<"schemaVersions.update">;
|
|
1809
|
-
type SchemasApplyError = OperationError<"schemas.apply">;
|
|
1810
|
-
type SchemasApplyInput = OperationInput<"schemas.apply">;
|
|
1811
|
-
type SchemasApplyOutput = OperationOutput<"schemas.apply">;
|
|
1812
|
-
type SchemasCreateError = OperationError<"schemas.create">;
|
|
1813
|
-
type SchemasCreateInput = OperationInput<"schemas.create">;
|
|
1814
|
-
type SchemasCreateOutput = OperationOutput<"schemas.create">;
|
|
1815
|
-
type SchemasDeleteError = OperationError<"schemas.delete">;
|
|
1816
|
-
type SchemasDeleteInput = OperationInput<"schemas.delete">;
|
|
1817
|
-
type SchemasDeleteOutput = OperationOutput<"schemas.delete">;
|
|
1818
|
-
type SchemasGetError = OperationError<"schemas.get">;
|
|
1819
|
-
type SchemasGetInput = OperationInput<"schemas.get">;
|
|
1820
|
-
type SchemasGetOutput = OperationOutput<"schemas.get">;
|
|
1821
|
-
type SchemasGetRevisionError = OperationError<"schemas.getRevision">;
|
|
1822
|
-
type SchemasGetRevisionInput = OperationInput<"schemas.getRevision">;
|
|
1823
|
-
type SchemasGetRevisionOutput = OperationOutput<"schemas.getRevision">;
|
|
1824
|
-
type SearchAskCurrentError = OperationError<"search.askCurrent">;
|
|
1825
|
-
type SearchAskCurrentInput = OperationInput<"search.askCurrent">;
|
|
1826
|
-
type SearchAskCurrentOutput = OperationOutput<"search.askCurrent">;
|
|
1827
|
-
type SearchAskCurrentStreamError = OperationError<"search.askCurrentStream">;
|
|
1828
|
-
type SearchAskCurrentStreamInput = OperationInput<"search.askCurrentStream">;
|
|
1829
|
-
type SearchAskCurrentStreamOutput = OperationOutput<"search.askCurrentStream">;
|
|
1830
|
-
type SearchAskPublishedError = OperationError<"search.askPublished">;
|
|
1831
|
-
type SearchAskPublishedInput = OperationInput<"search.askPublished">;
|
|
1832
|
-
type SearchAskPublishedOutput = OperationOutput<"search.askPublished">;
|
|
1833
|
-
type SearchAskPublishedStreamError = OperationError<"search.askPublishedStream">;
|
|
1834
|
-
type SearchAskPublishedStreamInput = OperationInput<"search.askPublishedStream">;
|
|
1835
|
-
type SearchAskPublishedStreamOutput = OperationOutput<"search.askPublishedStream">;
|
|
1836
|
-
type SearchCurrentError = OperationError<"search.current">;
|
|
1837
|
-
type SearchCurrentInput = OperationInput<"search.current">;
|
|
1838
|
-
type SearchCurrentOutput = OperationOutput<"search.current">;
|
|
1839
|
-
type SearchPublishedError = OperationError<"search.published">;
|
|
1840
|
-
type SearchPublishedInput = OperationInput<"search.published">;
|
|
1841
|
-
type SearchPublishedOutput = OperationOutput<"search.published">;
|
|
1842
|
-
type TypeMetadataGetCurrentError = OperationError<"typeMetadata.getCurrent">;
|
|
1843
|
-
type TypeMetadataGetCurrentInput = OperationInput<"typeMetadata.getCurrent">;
|
|
1844
|
-
type TypeMetadataGetCurrentOutput = OperationOutput<"typeMetadata.getCurrent">;
|
|
1845
|
-
type TypeMetadataGetPublishedError = OperationError<"typeMetadata.getPublished">;
|
|
1846
|
-
type TypeMetadataGetPublishedInput = OperationInput<"typeMetadata.getPublished">;
|
|
1847
|
-
type TypeMetadataGetPublishedOutput = OperationOutput<"typeMetadata.getPublished">;
|
|
1848
|
-
type VersionsCreateError = OperationError<"versions.create">;
|
|
1849
|
-
type VersionsCreateInput = OperationInput<"versions.create">;
|
|
1850
|
-
type VersionsCreateOutput = OperationOutput<"versions.create">;
|
|
1851
|
-
type VersionsGetError = OperationError<"versions.get">;
|
|
1852
|
-
type VersionsGetInput = OperationInput<"versions.get">;
|
|
1853
|
-
type VersionsGetOutput = OperationOutput<"versions.get">;
|
|
1854
|
-
type VersionsListError = OperationError<"versions.list">;
|
|
1855
|
-
type VersionsListInput = OperationInput<"versions.list">;
|
|
1856
|
-
type VersionsListOutput = OperationOutput<"versions.list">;
|
|
1857
|
-
type VersionsRevertError = OperationError<"versions.revert">;
|
|
1858
|
-
type VersionsRevertInput = OperationInput<"versions.revert">;
|
|
1859
|
-
type VersionsRevertOutput = OperationOutput<"versions.revert">;
|
|
1860
|
-
type VersionsUpdateError = OperationError<"versions.update">;
|
|
1861
|
-
type VersionsUpdateInput = OperationInput<"versions.update">;
|
|
1862
|
-
type VersionsUpdateOutput = OperationOutput<"versions.update">;
|
|
1863
|
-
type WebhooksBulkDeleteError = OperationError<"webhooks.bulkDelete">;
|
|
1864
|
-
type WebhooksBulkDeleteInput = OperationInput<"webhooks.bulkDelete">;
|
|
1865
|
-
type WebhooksBulkDeleteOutput = OperationOutput<"webhooks.bulkDelete">;
|
|
1866
|
-
type WebhooksBulkRedeliverError = OperationError<"webhooks.bulkRedeliver">;
|
|
1867
|
-
type WebhooksBulkRedeliverInput = OperationInput<"webhooks.bulkRedeliver">;
|
|
1868
|
-
type WebhooksBulkRedeliverOutput = OperationOutput<"webhooks.bulkRedeliver">;
|
|
1869
|
-
type WebhooksBulkSetEnabledError = OperationError<"webhooks.bulkSetEnabled">;
|
|
1870
|
-
type WebhooksBulkSetEnabledInput = OperationInput<"webhooks.bulkSetEnabled">;
|
|
1871
|
-
type WebhooksBulkSetEnabledOutput = OperationOutput<"webhooks.bulkSetEnabled">;
|
|
1872
|
-
type WebhooksCreateError = OperationError<"webhooks.create">;
|
|
1873
|
-
type WebhooksCreateInput = OperationInput<"webhooks.create">;
|
|
1874
|
-
type WebhooksCreateOutput = OperationOutput<"webhooks.create">;
|
|
1875
|
-
type WebhooksDeleteError = OperationError<"webhooks.delete">;
|
|
1876
|
-
type WebhooksDeleteInput = OperationInput<"webhooks.delete">;
|
|
1877
|
-
type WebhooksDeleteOutput = OperationOutput<"webhooks.delete">;
|
|
1878
|
-
type WebhooksGetDeliveryError = OperationError<"webhooks.getDelivery">;
|
|
1879
|
-
type WebhooksGetDeliveryInput = OperationInput<"webhooks.getDelivery">;
|
|
1880
|
-
type WebhooksGetDeliveryOutput = OperationOutput<"webhooks.getDelivery">;
|
|
1881
|
-
type WebhooksGetError = OperationError<"webhooks.get">;
|
|
1882
|
-
type WebhooksGetInput = OperationInput<"webhooks.get">;
|
|
1883
|
-
type WebhooksGetOutput = OperationOutput<"webhooks.get">;
|
|
1884
|
-
type WebhooksListAttemptsError = OperationError<"webhooks.listAttempts">;
|
|
1885
|
-
type WebhooksListAttemptsInput = OperationInput<"webhooks.listAttempts">;
|
|
1886
|
-
type WebhooksListAttemptsOutput = OperationOutput<"webhooks.listAttempts">;
|
|
1887
|
-
type WebhooksListDeliveriesError = OperationError<"webhooks.listDeliveries">;
|
|
1888
|
-
type WebhooksListDeliveriesInput = OperationInput<"webhooks.listDeliveries">;
|
|
1889
|
-
type WebhooksListDeliveriesOutput = OperationOutput<"webhooks.listDeliveries">;
|
|
1890
|
-
type WebhooksListError = OperationError<"webhooks.list">;
|
|
1891
|
-
type WebhooksListInput = OperationInput<"webhooks.list">;
|
|
1892
|
-
type WebhooksListOutput = OperationOutput<"webhooks.list">;
|
|
1893
|
-
type WebhooksListRunsError = OperationError<"webhooks.listRuns">;
|
|
1894
|
-
type WebhooksListRunsInput = OperationInput<"webhooks.listRuns">;
|
|
1895
|
-
type WebhooksListRunsOutput = OperationOutput<"webhooks.listRuns">;
|
|
1896
|
-
type WebhooksRedeliverError = OperationError<"webhooks.redeliver">;
|
|
1897
|
-
type WebhooksRedeliverInput = OperationInput<"webhooks.redeliver">;
|
|
1898
|
-
type WebhooksRedeliverOutput = OperationOutput<"webhooks.redeliver">;
|
|
1899
|
-
type WebhooksRotateSecretError = OperationError<"webhooks.rotateSecret">;
|
|
1900
|
-
type WebhooksRotateSecretInput = OperationInput<"webhooks.rotateSecret">;
|
|
1901
|
-
type WebhooksRotateSecretOutput = OperationOutput<"webhooks.rotateSecret">;
|
|
1902
|
-
type WebhooksSendTestError = OperationError<"webhooks.sendTest">;
|
|
1903
|
-
type WebhooksSendTestInput = OperationInput<"webhooks.sendTest">;
|
|
1904
|
-
type WebhooksSendTestOutput = OperationOutput<"webhooks.sendTest">;
|
|
1905
|
-
type WebhooksUpdateError = OperationError<"webhooks.update">;
|
|
1906
|
-
type WebhooksUpdateInput = OperationInput<"webhooks.update">;
|
|
1907
|
-
type WebhooksUpdateOutput = OperationOutput<"webhooks.update">;
|
|
1908
|
-
type WorkspacesListError = OperationError<"workspaces.list">;
|
|
1909
|
-
type WorkspacesListInput = OperationInput<"workspaces.list">;
|
|
1910
|
-
type WorkspacesListOutput = OperationOutput<"workspaces.list">;
|
|
1911
|
-
//#endregion
|
|
1912
|
-
//#region src/paginate.d.ts
|
|
1913
|
-
interface Page<T> {
|
|
1914
|
-
data: T[];
|
|
1915
|
-
pagination: {
|
|
1916
|
-
nextCursor: string | null;
|
|
1917
|
-
hasMore: boolean;
|
|
1918
|
-
};
|
|
1919
|
-
}
|
|
1920
|
-
interface PaginateOptions {
|
|
1921
|
-
/** Start after a saved cursor. The callback must retain its original scope and snapshot. */
|
|
1922
|
-
cursor?: string;
|
|
1923
|
-
}
|
|
1924
|
-
/**
|
|
1925
|
-
* Iterate cursor-paginated pages, retaining their metadata.
|
|
1926
|
-
*
|
|
1927
|
-
* @param getPage - Fetch one page for the supplied cursor. The first cursor is undefined unless supplied.
|
|
1928
|
-
* Keep filters stable. This generic helper does not bind snapshots; use content.paginateEntryPages()
|
|
1929
|
-
* or content.paginateCollectionPages() for automatic published snapshot handling.
|
|
1930
|
-
* @param options - Optional cursor from an earlier page to resume processing.
|
|
1931
|
-
* @returns A lazy iterator that requests the next page only after the previous page is consumed.
|
|
1932
|
-
* Save pagination.nextCursor after processing a page. Break the loop to stop further requests.
|
|
1933
|
-
* @throws Error for a missing or repeated next cursor. Callback failures pass through unchanged.
|
|
1934
|
-
*/
|
|
1935
|
-
declare const paginatePages: <P extends Page<unknown>>(getPage: (cursor?: string) => Promise<P>, options?: PaginateOptions) => AsyncGenerator<P>;
|
|
1936
|
-
/**
|
|
1937
|
-
* Iterate items across cursor-paginated pages without collecting them in memory.
|
|
1938
|
-
*
|
|
1939
|
-
* @param getPage - Fetch one page using the cursor. Keep scope and filters stable in this callback.
|
|
1940
|
-
* This generic helper does not bind snapshots; content.paginateEntries() and
|
|
1941
|
-
* content.paginateCollections() do that automatically for published content.
|
|
1942
|
-
* @param options - Optional starting cursor; retain its matching scope and snapshot yourself.
|
|
1943
|
-
* @returns Items in API order. Break the loop to prevent further page requests.
|
|
1944
|
-
* @throws Pagination errors from paginatePages(), or the original callback error.
|
|
1945
|
-
*/
|
|
1946
|
-
declare const paginate: <T>(getPage: (cursor?: string) => Promise<Page<T>>, options?: PaginateOptions) => AsyncGenerator<T>;
|
|
1947
|
-
//#endregion
|
|
1948
|
-
//#region src/structured-content.d.ts
|
|
1949
|
-
interface StructuredContentSource {
|
|
1950
|
-
properties: Readonly<Record<string, {
|
|
1951
|
-
readonly value: unknown;
|
|
1952
|
-
} | undefined>>;
|
|
1953
|
-
fragments: Readonly<Record<string, {
|
|
1954
|
-
readonly content: unknown;
|
|
1955
|
-
} | undefined>>;
|
|
1956
|
-
}
|
|
1957
|
-
type PropertyValue<T> = T extends {
|
|
1958
|
-
readonly value: infer Value;
|
|
1959
|
-
} ? Value : undefined;
|
|
1960
|
-
type FragmentContent<T> = T extends {
|
|
1961
|
-
readonly content: infer Content;
|
|
1962
|
-
} ? Content : undefined;
|
|
1963
|
-
type StructuredContent<T extends StructuredContentSource> = T extends unknown ? Omit<T, "properties" | "fragments"> & {
|
|
1964
|
-
properties: { [Key in keyof T["properties"]]: PropertyValue<T["properties"][Key]>; };
|
|
1965
|
-
fragments: { [Key in keyof T["fragments"]]: FragmentContent<T["fragments"][Key]>; };
|
|
1966
|
-
} : never;
|
|
1967
|
-
/**
|
|
1968
|
-
* Unwrap property values and fragment documents for use in application code.
|
|
1969
|
-
*
|
|
1970
|
-
* @param page - Full entry content with properties and fragments, including published list items.
|
|
1971
|
-
* @returns A new object with property.value and fragment.content exposed by key. Other fields,
|
|
1972
|
-
* including schema metadata and assets, are preserved. Nested content is shared, not cloned.
|
|
1973
|
-
* Workspace field types and revision unions are preserved. This helper does not validate content or convert formats.
|
|
1974
|
-
* @example
|
|
1975
|
-
* const tutorial = toStructuredContent(page);
|
|
1976
|
-
* const body = tutorial.fragments.body;
|
|
1977
|
-
* const enabled = tutorial.properties.enabled;
|
|
1978
|
-
*/
|
|
1979
|
-
declare const toStructuredContent: <T extends StructuredContentSource>(page: T) => StructuredContent<T>;
|
|
1980
|
-
//#endregion
|
|
1981
|
-
export { ContentGetTreeError as $, WebhooksListError as $i, RolesListError as $n, SearchCurrentError as $r, PublishingBulkPublishEntriesError as $t, CollectionsBulkDeleteInput as A, ContentClient as Aa, WebhooksBulkRedeliverInput as Ai, PublishingPublishCollectionInput as An, SchemasCreateInput as Ar, MembershipsInviteInput as At, CollectionsListOutput as B, RequestOptions as Ba, WebhooksDeleteOutput as Bi, PublishingSetCollectionOutput as Bn, SchemasGetRevisionOutput as Br, MembershipsRemoveOutput as Bt, AssetsUploadError as C, AndesineStreamProtocolError as Ca, VersionsUpdateError as Ci, PublishingListChannelsError as Cn, SchemaVersionsUpdateError as Cr, EntriesUpdateError as Ct, AuthGetIdentityInput as D, AndesineClient as Da, WebhooksBulkDeleteInput as Di, PublishingListEntryPublicationsInput as Dn, SchemasApplyInput as Dr, InstanceGetInput as Dt, AuthGetIdentityError as E, toContentURL as Ea, WebhooksBulkDeleteError as Ei, PublishingListEntryPublicationsError as En, SchemasApplyError as Er, InstanceGetError as Et, CollectionsDeleteError as F, APIResponse as Fa, WebhooksCreateError as Fi, PublishingRevertChangesError as Fn, SchemasGetError as Fr, MembershipsListInvitesInput as Ft, ContentGetAssetInput as G, WorkspaceSchema as Ga, WebhooksGetInput as Gi, PublishingUnpublishEntryInput as Gn, SearchAskCurrentStreamInput as Gr, MembershipsRevokeInviteInput as Gt, CollectionsUpdateInput as H, SchemaContent as Ha, WebhooksGetDeliveryInput as Hi, PublishingUnpublishCollectionInput as Hn, SearchAskCurrentInput as Hr, MembershipsResendInviteInput as Ht, CollectionsDeleteInput as I, NotModifiedResponse as Ia, WebhooksCreateInput as Ii, PublishingRevertChangesInput as In, SchemasGetInput as Ir, MembershipsListInvitesOutput as It, ContentGetInput as J, WebhooksListAttemptsInput as Ji, RolesCreateInput as Jn, SearchAskPublishedInput as Jr, MembershipsUpdateInput as Jt, ContentGetAssetOutput as K, WorkspaceTypeMap as Ka, WebhooksGetOutput as Ki, PublishingUnpublishEntryOutput as Kn, SearchAskCurrentStreamOutput as Kr, MembershipsRevokeInviteOutput as Kt, CollectionsDeleteOutput as L, OperationError as La, WebhooksCreateOutput as Li, PublishingRevertChangesOutput as Ln, SchemasGetOutput as Lr, MembershipsListOutput as Lt, CollectionsCreateError as M, APIErrorBody as Ma, WebhooksBulkSetEnabledError as Mi, PublishingPublishEntryError as Mn, SchemasDeleteError as Mr, MembershipsListError as Mt, CollectionsCreateInput as N, APIErrorCode as Na, WebhooksBulkSetEnabledInput as Ni, PublishingPublishEntryInput as Nn, SchemasDeleteInput as Nr, MembershipsListInput as Nt, AuthGetIdentityOutput as O, ClientOptions as Oa, WebhooksBulkDeleteOutput as Oi, PublishingListEntryPublicationsOutput as On, SchemasApplyOutput as Or, InstanceGetOutput as Ot, CollectionsCreateOutput as P, APIErrorData as Pa, WebhooksBulkSetEnabledOutput as Pi, PublishingPublishEntryOutput as Pn, SchemasDeleteOutput as Pr, MembershipsListInvitesError as Pt, ContentGetSchemaOutput as Q, WebhooksListDeliveriesOutput as Qi, RolesDeleteOutput as Qn, SearchAskPublishedStreamOutput as Qr, PublishingBulkPublishCollectionsOutput as Qt, CollectionsListError as R, OperationInput as Ra, WebhooksDeleteError as Ri, PublishingSetCollectionError as Rn, SchemasGetRevisionError as Rr, MembershipsRemoveError as Rt, AssetsSearchOutput as S, AndesineStreamError as Sa, VersionsRevertOutput as Si, PublishingGetEntryVersionOutput as Sn, SchemaVersionsRevertOutput as Sr, EntriesListOutput as St, AssetsUploadOutput as T, ContentURLOptions as Ta, VersionsUpdateOutput as Ti, PublishingListChannelsOutput as Tn, SchemaVersionsUpdateOutput as Tr, EntriesUpdateOutput as Tt, CollectionsUpdateOutput as U, WorkspaceCollection as Ua, WebhooksGetDeliveryOutput as Ui, PublishingUnpublishCollectionOutput as Un, SearchAskCurrentOutput as Ur, MembershipsResendInviteOutput as Ut, CollectionsUpdateError as V, ContentListOutput as Va, WebhooksGetDeliveryError as Vi, PublishingUnpublishCollectionError as Vn, SearchAskCurrentError as Vr, MembershipsResendInviteError as Vt, ContentGetAssetError as W, WorkspaceEntry as Wa, WebhooksGetError as Wi, PublishingUnpublishEntryError as Wn, SearchAskCurrentStreamError as Wr, MembershipsRevokeInviteError as Wt, ContentGetSchemaError as X, WebhooksListDeliveriesError as Xi, RolesDeleteError as Xn, SearchAskPublishedStreamError as Xr, PublishingBulkPublishCollectionsError as Xt, ContentGetOutput as Y, WebhooksListAttemptsOutput as Yi, RolesCreateOutput as Yn, SearchAskPublishedOutput as Yr, MembershipsUpdateOutput as Yt, ContentGetSchemaInput as Z, WebhooksListDeliveriesInput as Zi, RolesDeleteInput as Zn, SearchAskPublishedStreamInput as Zr, PublishingBulkPublishCollectionsInput as Zt, AssetsRegisterError as _, WorkspacesListError as _a, VersionsListError as _i, PublishingGetChannelContentError as _n, SchemaVersionsListError as _r, EntriesGetError as _t, PaginateOptions as a, WebhooksRedeliverError as aa, TypeMetadataGetCurrentError as ai, PublishingBulkUnpublishCollectionsError as an, SchemaMigrationsGetActiveError as ar, ContentListEntriesError as at, AssetsSearchError as b, types_d_exports as ba, VersionsRevertError as bi, PublishingGetEntryVersionError as bn, SchemaVersionsRevertError as br, EntriesListError as bt, AssetsAttachError as c, WebhooksRotateSecretError as ca, TypeMetadataGetPublishedError as ci, PublishingBulkUnpublishEntriesError as cn, SchemaMigrationsGetError as cr, EntriesBulkDeleteError as ct, AssetsGetError as d, WebhooksSendTestError as da, VersionsCreateError as di, PublishingCreateChannelError as dn, SchemaMigrationsListContentLossEntriesError as dr, EntriesCreateError as dt, WebhooksListInput as ea, SearchCurrentInput as ei, PublishingBulkPublishEntriesInput as en, RolesListInput as er, ContentGetTreeInput as et, AssetsGetInput as f, WebhooksSendTestInput as fa, VersionsCreateInput as fi, PublishingCreateChannelInput as fn, SchemaMigrationsListContentLossEntriesInput as fr, EntriesCreateInput as ft, AssetsImportURLOutput as g, WebhooksUpdateOutput as ga, VersionsGetOutput as gi, PublishingDeleteChannelOutput as gn, SchemaVersionsGetOutput as gr, EntriesDeleteOutput as gt, AssetsImportURLInput as h, WebhooksUpdateInput as ha, VersionsGetInput as hi, PublishingDeleteChannelInput as hn, SchemaVersionsGetInput as hr, EntriesDeleteInput as ht, Page as i, WebhooksListRunsOutput as ia, SearchPublishedOutput as ii, PublishingBulkSetCollectionsOutput as in, RolesUpdateOutput as ir, ContentListCollectionsOutput as it, CollectionsBulkDeleteOutput as j, ContentPaginationOptions as ja, WebhooksBulkRedeliverOutput as ji, PublishingPublishCollectionOutput as jn, SchemasCreateOutput as jr, MembershipsInviteOutput as jt, CollectionsBulkDeleteError as k, createClient as ka, WebhooksBulkRedeliverError as ki, PublishingPublishCollectionError as kn, SchemasCreateError as kr, MembershipsInviteError as kt, AssetsAttachInput as l, WebhooksRotateSecretInput as la, TypeMetadataGetPublishedInput as li, PublishingBulkUnpublishEntriesInput as ln, SchemaMigrationsGetInput as lr, EntriesBulkDeleteInput as lt, AssetsImportURLError as m, WebhooksUpdateError as ma, VersionsGetError as mi, PublishingDeleteChannelError as mn, SchemaVersionsGetError as mr, EntriesDeleteError as mt, StructuredContentSource as n, WebhooksListRunsError as na, SearchPublishedError as ni, PublishingBulkSetCollectionsError as nn, RolesUpdateError as nr, ContentListCollectionsError as nt, paginate as o, WebhooksRedeliverInput as oa, TypeMetadataGetCurrentInput as oi, PublishingBulkUnpublishCollectionsInput as on, SchemaMigrationsGetActiveInput as or, ContentListEntriesInput as ot, AssetsGetOutput as p, WebhooksSendTestOutput as pa, VersionsCreateOutput as pi, PublishingCreateChannelOutput as pn, SchemaMigrationsListContentLossEntriesOutput as pr, EntriesCreateOutput as pt, ContentGetError as q, WebhooksListAttemptsError as qi, RolesCreateError as qn, SearchAskPublishedError as qr, MembershipsUpdateError as qt, toStructuredContent as r, WebhooksListRunsInput as ra, SearchPublishedInput as ri, PublishingBulkSetCollectionsInput as rn, RolesUpdateInput as rr, ContentListCollectionsInput as rt, paginatePages as s, WebhooksRedeliverOutput as sa, TypeMetadataGetCurrentOutput as si, PublishingBulkUnpublishCollectionsOutput as sn, SchemaMigrationsGetActiveOutput as sr, ContentListEntriesOutput as st, StructuredContent as t, WebhooksListOutput as ta, SearchCurrentOutput as ti, PublishingBulkPublishEntriesOutput as tn, RolesListOutput as tr, ContentGetTreeOutput as tt, AssetsAttachOutput as u, WebhooksRotateSecretOutput as ua, TypeMetadataGetPublishedOutput as ui, PublishingBulkUnpublishEntriesOutput as un, SchemaMigrationsGetOutput as ur, EntriesBulkDeleteOutput as ut, AssetsRegisterInput as v, WorkspacesListInput as va, VersionsListInput as vi, PublishingGetChannelContentInput as vn, SchemaVersionsListInput as vr, EntriesGetInput as vt, AssetsUploadInput as w, ContentLocation as wa, VersionsUpdateInput as wi, PublishingListChannelsInput as wn, SchemaVersionsUpdateInput as wr, EntriesUpdateInput as wt, AssetsSearchInput as x, AndesineAPIError as xa, VersionsRevertInput as xi, PublishingGetEntryVersionInput as xn, SchemaVersionsRevertInput as xr, EntriesListInput as xt, AssetsRegisterOutput as y, WorkspacesListOutput as ya, VersionsListOutput as yi, PublishingGetChannelContentOutput as yn, SchemaVersionsListOutput as yr, EntriesGetOutput as yt, CollectionsListInput as z, OperationOutput as za, WebhooksDeleteInput as zi, PublishingSetCollectionInput as zn, SchemasGetRevisionInput as zr, MembershipsRemoveInput as zt };
|
|
1982
|
-
//# sourceMappingURL=index-moj3WP71.d.ts.map
|
|
1595
|
+
export { WorkspaceCollection as _, ContentPaginationOptions as a, WorkspaceTypeMap as b, APIErrorData as c, OperationError as d, OperationInput as f, SchemaContent as g, ContentListOutput as h, ContentClient as i, APIResponse as l, RequestOptions as m, ClientOptions as n, APIErrorBody as o, OperationOutput as p, createClient as r, APIErrorCode as s, AndesineClient as t, NotModifiedResponse as u, WorkspaceEntry as v, WorkspaceSchema as y };
|
|
1596
|
+
//# sourceMappingURL=client-C8wt7f3o.d.ts.map
|