@wix/auto_sdk_papyrus_documents 1.0.7 → 1.0.8
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/build/cjs/index.d.ts +17 -17
- package/build/cjs/index.js +138 -138
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +524 -524
- package/build/cjs/index.typings.js +122 -122
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +532 -532
- package/build/cjs/meta.js +112 -112
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +17 -17
- package/build/es/index.mjs +138 -138
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +524 -524
- package/build/es/index.typings.mjs +122 -122
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +532 -532
- package/build/es/meta.mjs +112 -112
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +17 -17
- package/build/internal/cjs/index.typings.d.ts +552 -552
- package/build/internal/cjs/meta.d.ts +567 -567
- package/build/internal/es/index.d.mts +17 -17
- package/build/internal/es/index.typings.d.mts +552 -552
- package/build/internal/es/meta.d.mts +567 -567
- package/package.json +2 -2
|
@@ -1,21 +1,7 @@
|
|
|
1
1
|
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import {
|
|
2
|
+
import { CreateDocumentOptions, GetDocumentOptions, DeleteDocumentResponse, UpdateDocumentOptions, UpdateDocumentResponse, DownloadDocumentOptions, DownloadDocumentResponse, DownloadDocumentApplicationErrors, GetDownloadUrlOptions, GetDownloadUrlResponse, DownloadDocumentSourceOptions, DownloadDocumentSourceResponse, DownloadDocumentSourceApplicationErrors, RawHttpResponse, DocumentCreatedEnvelope, DocumentDeletedEnvelope, DocumentRenderDelayedEnvelope, DocumentRenderFailedEnvelope, DocumentRenderedEnvelope, DocumentUpdatedEnvelope, DocumentQuery, QueryDocumentOptions, typedQueryDocument, DocumentsQueryBuilder } from './index.typings.mjs';
|
|
3
3
|
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, BackgroundSetting, BaseEventMetadata, CommonQueryWithEntityContext, ContentDisposition, ContentDispositionWithLiterals, CreateDocumentRequest, CreateDocumentResponse, CursorPaging, Cursors, DebugOptions, DeleteDocumentByExternalIdRequest, DeleteDocumentByExternalIdResponse, DeleteDocumentRequest, Document, DocumentContent, DocumentFile, DocumentQuerySpec, DocumentRenderDelayed, DocumentRenderFailed, DocumentRendered, DocumentsQueryResult, DomainEvent, DomainEventBodyOneOf, DownloadDocumentRequest, DownloadDocumentSourceRequest, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, FocalPoint, Format, FormatWithLiterals, GetCachedHtmlRequest, GetDocumentRequest, GetDocumentResponse, GetDownloadPageRequest, GetDownloadUrlOptionsDocumentOneOf, GetDownloadUrlRequest, GetDownloadUrlRequestDocumentOneOf, GetRendererInfoRequest, GetRendererInfoResponse, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, ImageSetting, MessageEnvelope, PageOverflow, PageOverflowWithLiterals, PageSettings, Paging, PagingMetadataV2, PaperSize, PaperSizeWithLiterals, QueryDocumentRequest, QueryDocumentResponse, QueryV2, QueryV2PagingMethodOneOf, RedirectToDocumentRequest, RenderDelayedEventConfig, RenderDocumentByIdRequest, RenderDocumentRequest, RenderFormat, RenderFormatWithLiterals, RenderStatus, RenderStatusWithLiterals, RequestedFields, RequestedFieldsWithLiterals, ResizeOption, ResizeOptionWithLiterals, RestoreInfo, SelectSetting, SettingsGroup, SortOrder, SortOrderWithLiterals, Sorting, TemplateSettings, TemplateSettingsOverride, TextContent, TextSetting, UpdateDocumentRequest, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixMpClientVersion, WixMpClientVersionWithLiterals, utils } from './index.typings.mjs';
|
|
4
4
|
|
|
5
|
-
declare function getDownloadPage$1(httpClient: HttpClient): GetDownloadPageSignature;
|
|
6
|
-
interface GetDownloadPageSignature {
|
|
7
|
-
/**
|
|
8
|
-
* Get Document.
|
|
9
|
-
*/
|
|
10
|
-
(file: string | null): Promise<RawHttpResponse>;
|
|
11
|
-
}
|
|
12
|
-
declare function redirectToDocument$1(httpClient: HttpClient): RedirectToDocumentSignature;
|
|
13
|
-
interface RedirectToDocumentSignature {
|
|
14
|
-
/**
|
|
15
|
-
* Get Document.
|
|
16
|
-
*/
|
|
17
|
-
(file: string | null): Promise<RawHttpResponse>;
|
|
18
|
-
}
|
|
19
5
|
declare function createDocument$1(httpClient: HttpClient): CreateDocumentSignature;
|
|
20
6
|
interface CreateDocumentSignature {
|
|
21
7
|
/**
|
|
@@ -76,6 +62,20 @@ interface DownloadDocumentSourceSignature {
|
|
|
76
62
|
__applicationErrorsType?: DownloadDocumentSourceApplicationErrors;
|
|
77
63
|
}>;
|
|
78
64
|
}
|
|
65
|
+
declare function getDownloadPage$1(httpClient: HttpClient): GetDownloadPageSignature;
|
|
66
|
+
interface GetDownloadPageSignature {
|
|
67
|
+
/**
|
|
68
|
+
* Get Document.
|
|
69
|
+
*/
|
|
70
|
+
(file: string | null): Promise<RawHttpResponse>;
|
|
71
|
+
}
|
|
72
|
+
declare function redirectToDocument$1(httpClient: HttpClient): RedirectToDocumentSignature;
|
|
73
|
+
interface RedirectToDocumentSignature {
|
|
74
|
+
/**
|
|
75
|
+
* Get Document.
|
|
76
|
+
*/
|
|
77
|
+
(file: string | null): Promise<RawHttpResponse>;
|
|
78
|
+
}
|
|
79
79
|
declare const onDocumentCreated$1: EventDefinition<DocumentCreatedEnvelope, "wix.papyrus.v1.document_created">;
|
|
80
80
|
declare const onDocumentDeleted$1: EventDefinition<DocumentDeletedEnvelope, "wix.papyrus.v1.document_deleted">;
|
|
81
81
|
declare const onDocumentRenderDelayed$1: EventDefinition<DocumentRenderDelayedEnvelope, "wix.papyrus.v1.document_document_render_delayed">;
|
|
@@ -87,8 +87,6 @@ declare function customQueryDocument(httpClient: HttpClient): {
|
|
|
87
87
|
(query: DocumentQuery, options?: QueryDocumentOptions): ReturnType<typeof typedQueryDocument>;
|
|
88
88
|
(options?: QueryDocumentOptions): DocumentsQueryBuilder;
|
|
89
89
|
};
|
|
90
|
-
declare const getDownloadPage: MaybeContext<BuildRESTFunction<typeof getDownloadPage$1> & typeof getDownloadPage$1>;
|
|
91
|
-
declare const redirectToDocument: MaybeContext<BuildRESTFunction<typeof redirectToDocument$1> & typeof redirectToDocument$1>;
|
|
92
90
|
declare const createDocument: MaybeContext<BuildRESTFunction<typeof createDocument$1> & typeof createDocument$1>;
|
|
93
91
|
declare const getDocument: MaybeContext<BuildRESTFunction<typeof getDocument$1> & typeof getDocument$1>;
|
|
94
92
|
declare const deleteDocument: MaybeContext<BuildRESTFunction<typeof deleteDocument$1> & typeof deleteDocument$1>;
|
|
@@ -96,6 +94,8 @@ declare const updateDocument: MaybeContext<BuildRESTFunction<typeof updateDocume
|
|
|
96
94
|
declare const downloadDocument: MaybeContext<BuildRESTFunction<typeof downloadDocument$1> & typeof downloadDocument$1>;
|
|
97
95
|
declare const getDownloadUrl: MaybeContext<BuildRESTFunction<typeof getDownloadUrl$1> & typeof getDownloadUrl$1>;
|
|
98
96
|
declare const downloadDocumentSource: MaybeContext<BuildRESTFunction<typeof downloadDocumentSource$1> & typeof downloadDocumentSource$1>;
|
|
97
|
+
declare const getDownloadPage: MaybeContext<BuildRESTFunction<typeof getDownloadPage$1> & typeof getDownloadPage$1>;
|
|
98
|
+
declare const redirectToDocument: MaybeContext<BuildRESTFunction<typeof redirectToDocument$1> & typeof redirectToDocument$1>;
|
|
99
99
|
declare const queryDocument: MaybeContext<BuildRESTFunction<typeof customQueryDocument> & typeof customQueryDocument>;
|
|
100
100
|
/** */
|
|
101
101
|
declare const onDocumentCreated: BuildEventDefinition<typeof onDocumentCreated$1> & typeof onDocumentCreated$1;
|