@wix/auto_sdk_fast-gallery_galleries 1.0.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/build/cjs/fastgallery-gallery-v1-gallery-galleries.universal-D2SCxAXG.d.ts +707 -0
- package/build/cjs/index.d.ts +136 -0
- package/build/cjs/index.js +1030 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/meta.d.ts +404 -0
- package/build/cjs/meta.js +736 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/es/fastgallery-gallery-v1-gallery-galleries.universal-D2SCxAXG.d.mts +707 -0
- package/build/es/index.d.mts +136 -0
- package/build/es/index.mjs +990 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/meta.d.mts +404 -0
- package/build/es/meta.mjs +697 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/es/package.json +3 -0
- package/build/internal/cjs/fastgallery-gallery-v1-gallery-galleries.universal-D2SCxAXG.d.ts +707 -0
- package/build/internal/cjs/index.d.ts +136 -0
- package/build/internal/cjs/index.js +1030 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +404 -0
- package/build/internal/cjs/meta.js +736 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/es/fastgallery-gallery-v1-gallery-galleries.universal-D2SCxAXG.d.mts +707 -0
- package/build/internal/es/index.d.mts +136 -0
- package/build/internal/es/index.mjs +990 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +404 -0
- package/build/internal/es/meta.mjs +697 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +53 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { G as Gallery, a as GetGalleryByDraftGalleryIdResponse, U as UpdateGallery, b as GalleriesQueryBuilder, c as UpdateExtendedFieldsOptions, d as UpdateExtendedFieldsResponse, B as BulkCreateGalleriesOptions, e as BulkCreateGalleriesResponse, M as MaskedGallery, f as BulkUpdateGalleriesOptions, g as BulkUpdateGalleriesResponse, h as BulkDeleteGalleriesResponse, i as GetDeletedGalleryResponse, L as ListDeletedGalleriesOptions, j as ListDeletedGalleriesResponse, R as RestoreGalleryFromTrashBinResponse, k as GalleryRemovedFromTrashBinEnvelope } from './fastgallery-gallery-v1-gallery-galleries.universal-D2SCxAXG.mjs';
|
|
3
|
+
export { a8 as ActionEvent, H as ApplicationError, ac as BaseEventMetadata, K as BulkActionMetadata, F as BulkCreateGalleriesRequest, P as BulkDeleteGalleriesRequest, T as BulkDeleteGalleriesResponseBulkGalleryResult, J as BulkGalleryResult, N as BulkUpdateGalleriesRequest, O as BulkUpdateGalleriesResponseBulkGalleryResult, C as CreateGalleryRequest, m as CreateGalleryResponse, w as CursorPaging, y as CursorPagingMetadata, t as CursorQuery, u as CursorQueryPagingMethodOneOf, z as Cursors, D as DeleteGalleryRequest, s as DeleteGalleryResponse, a0 as DeleteOutdatedGalleryVersionsRequest, a1 as DeleteOutdatedGalleryVersionsResponse, a2 as DomainEvent, a3 as DomainEventBodyOneOf, a4 as EntityCreatedEvent, a7 as EntityDeletedEvent, a6 as EntityUpdatedEvent, ad as EventMetadata, E as ExtendedFields, ae as GalleriesQueryResult, l as GalleryRemovedFromTrashBin, X as GetDeletedGalleryRequest, p as GetGalleryByDraftGalleryIdRequest, n as GetGalleryRequest, o as GetGalleryResponse, aa as IdentificationData, ab as IdentificationDataIdOneOf, I as ItemMetadata, Y as ListDeletedGalleriesRequest, a9 as MessageEnvelope, Q as QueryGalleriesRequest, x as QueryGalleriesResponse, _ as RemoveGalleryFromTrashBinRequest, $ as RemoveGalleryFromTrashBinResponse, Z as RestoreGalleryFromTrashBinRequest, a5 as RestoreInfo, S as SortOrder, v as Sorting, A as UpdateExtendedFieldsRequest, q as UpdateGalleryRequest, r as UpdateGalleryResponse, V as Variant, W as WebhookIdentityType } from './fastgallery-gallery-v1-gallery-galleries.universal-D2SCxAXG.mjs';
|
|
4
|
+
|
|
5
|
+
declare function createGallery$1(httpClient: HttpClient): CreateGallerySignature;
|
|
6
|
+
interface CreateGallerySignature {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new Gallery
|
|
9
|
+
* @param - Gallery to be created.
|
|
10
|
+
* @returns The created Gallery.
|
|
11
|
+
*/
|
|
12
|
+
(gallery: Gallery): Promise<Gallery>;
|
|
13
|
+
}
|
|
14
|
+
declare function getGallery$1(httpClient: HttpClient): GetGallerySignature;
|
|
15
|
+
interface GetGallerySignature {
|
|
16
|
+
/**
|
|
17
|
+
* Get a Gallery by id
|
|
18
|
+
* @param - ID of the Gallery to retrieve.
|
|
19
|
+
* @returns The requested Gallery.
|
|
20
|
+
*/
|
|
21
|
+
(galleryId: string): Promise<Gallery>;
|
|
22
|
+
}
|
|
23
|
+
declare function getGalleryByDraftGalleryId$1(httpClient: HttpClient): GetGalleryByDraftGalleryIdSignature;
|
|
24
|
+
interface GetGalleryByDraftGalleryIdSignature {
|
|
25
|
+
/**
|
|
26
|
+
* Get a Gallery by draft gallery id
|
|
27
|
+
* @param - Id of the draftGallery the Gallery originates from
|
|
28
|
+
*/
|
|
29
|
+
(draftGalleryId: string): Promise<GetGalleryByDraftGalleryIdResponse>;
|
|
30
|
+
}
|
|
31
|
+
declare function updateGallery$1(httpClient: HttpClient): UpdateGallerySignature;
|
|
32
|
+
interface UpdateGallerySignature {
|
|
33
|
+
/**
|
|
34
|
+
* Update a Gallery, supports partial update
|
|
35
|
+
* Pass the latest `revision` for a successful update
|
|
36
|
+
* @param - Gallery ID.
|
|
37
|
+
* @returns Updated Gallery.
|
|
38
|
+
*/
|
|
39
|
+
(_id: string, gallery: UpdateGallery): Promise<Gallery>;
|
|
40
|
+
}
|
|
41
|
+
declare function queryGalleries$1(httpClient: HttpClient): QueryGalleriesSignature;
|
|
42
|
+
interface QueryGalleriesSignature {
|
|
43
|
+
/**
|
|
44
|
+
* Creates a query to retrieve a list of galleries.
|
|
45
|
+
*
|
|
46
|
+
* The `queryGalleries()` method builds a query to retrieve a list of galleries and returns a `GalleriesQueryBuilder` object.
|
|
47
|
+
*
|
|
48
|
+
* The returned object contains the query definition, which is used to run the query using the `find()` method.
|
|
49
|
+
*
|
|
50
|
+
* You can refine the query by chaining `GalleriesQueryBuilder` methods onto the query. `GalleriesQueryBuilder` methods enable you to filter, sort, and control the results that `queryGalleries()` returns.
|
|
51
|
+
*/
|
|
52
|
+
(): GalleriesQueryBuilder;
|
|
53
|
+
}
|
|
54
|
+
declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
|
|
55
|
+
interface UpdateExtendedFieldsSignature {
|
|
56
|
+
/**
|
|
57
|
+
* Updates extended fields of a Gallery without incrementing revision
|
|
58
|
+
* @param - ID of the entity to update.
|
|
59
|
+
* @param - Identifier for the app whose extended fields are being updated.
|
|
60
|
+
*/
|
|
61
|
+
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse>;
|
|
62
|
+
}
|
|
63
|
+
declare function bulkCreateGalleries$1(httpClient: HttpClient): BulkCreateGalleriesSignature;
|
|
64
|
+
interface BulkCreateGalleriesSignature {
|
|
65
|
+
/**
|
|
66
|
+
* Create multiple Galleries in a single request. Works synchronously.
|
|
67
|
+
* @param - List of Galleries to be created
|
|
68
|
+
*/
|
|
69
|
+
(galleries: Gallery[], options?: BulkCreateGalleriesOptions | undefined): Promise<BulkCreateGalleriesResponse>;
|
|
70
|
+
}
|
|
71
|
+
declare function bulkUpdateGalleries$1(httpClient: HttpClient): BulkUpdateGalleriesSignature;
|
|
72
|
+
interface BulkUpdateGalleriesSignature {
|
|
73
|
+
/**
|
|
74
|
+
* Update multiple Galleries in a single request. Works synchronously.
|
|
75
|
+
* @param - List of Galleries to be updated.
|
|
76
|
+
*/
|
|
77
|
+
(galleries: MaskedGallery[], options?: BulkUpdateGalleriesOptions | undefined): Promise<BulkUpdateGalleriesResponse>;
|
|
78
|
+
}
|
|
79
|
+
declare function bulkDeleteGalleries$1(httpClient: HttpClient): BulkDeleteGalleriesSignature;
|
|
80
|
+
interface BulkDeleteGalleriesSignature {
|
|
81
|
+
/**
|
|
82
|
+
* Delete multiple Galleries in a single request. Works synchronously.
|
|
83
|
+
* @param - Gallery ids to be deleted
|
|
84
|
+
*/
|
|
85
|
+
(galleryIds: string[]): Promise<BulkDeleteGalleriesResponse>;
|
|
86
|
+
}
|
|
87
|
+
declare function getDeletedGallery$1(httpClient: HttpClient): GetDeletedGallerySignature;
|
|
88
|
+
interface GetDeletedGallerySignature {
|
|
89
|
+
/**
|
|
90
|
+
* Get a deleted Gallery by id
|
|
91
|
+
* @param - Id of the deleted Gallery to retrieve
|
|
92
|
+
*/
|
|
93
|
+
(galleryId: string): Promise<GetDeletedGalleryResponse>;
|
|
94
|
+
}
|
|
95
|
+
declare function listDeletedGalleries$1(httpClient: HttpClient): ListDeletedGalleriesSignature;
|
|
96
|
+
interface ListDeletedGalleriesSignature {
|
|
97
|
+
/**
|
|
98
|
+
* Get all deleted Galleries, or specific ones specified by ids
|
|
99
|
+
*/
|
|
100
|
+
(options?: ListDeletedGalleriesOptions | undefined): Promise<ListDeletedGalleriesResponse>;
|
|
101
|
+
}
|
|
102
|
+
declare function restoreGalleryFromTrashBin$1(httpClient: HttpClient): RestoreGalleryFromTrashBinSignature;
|
|
103
|
+
interface RestoreGalleryFromTrashBinSignature {
|
|
104
|
+
/**
|
|
105
|
+
* Restore a deleted Gallery from the trash bin by id
|
|
106
|
+
* @param - Id of the deleted Gallery to restore
|
|
107
|
+
*/
|
|
108
|
+
(galleryId: string): Promise<RestoreGalleryFromTrashBinResponse>;
|
|
109
|
+
}
|
|
110
|
+
declare function removeGalleryFromTrashBin$1(httpClient: HttpClient): RemoveGalleryFromTrashBinSignature;
|
|
111
|
+
interface RemoveGalleryFromTrashBinSignature {
|
|
112
|
+
/**
|
|
113
|
+
* Permanently delete a Gallery from the trash bin by id
|
|
114
|
+
* @param - Id of the Gallery to delete permanently
|
|
115
|
+
*/
|
|
116
|
+
(galleryId: string): Promise<void>;
|
|
117
|
+
}
|
|
118
|
+
declare const onGalleryRemovedFromTrashBin$1: EventDefinition<GalleryRemovedFromTrashBinEnvelope, "wix.fastgallery.gallery.v1.gallery_gallery_removed_from_trash_bin">;
|
|
119
|
+
|
|
120
|
+
declare const createGallery: MaybeContext<BuildRESTFunction<typeof createGallery$1> & typeof createGallery$1>;
|
|
121
|
+
declare const getGallery: MaybeContext<BuildRESTFunction<typeof getGallery$1> & typeof getGallery$1>;
|
|
122
|
+
declare const getGalleryByDraftGalleryId: MaybeContext<BuildRESTFunction<typeof getGalleryByDraftGalleryId$1> & typeof getGalleryByDraftGalleryId$1>;
|
|
123
|
+
declare const updateGallery: MaybeContext<BuildRESTFunction<typeof updateGallery$1> & typeof updateGallery$1>;
|
|
124
|
+
declare const queryGalleries: MaybeContext<BuildRESTFunction<typeof queryGalleries$1> & typeof queryGalleries$1>;
|
|
125
|
+
declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1>;
|
|
126
|
+
declare const bulkCreateGalleries: MaybeContext<BuildRESTFunction<typeof bulkCreateGalleries$1> & typeof bulkCreateGalleries$1>;
|
|
127
|
+
declare const bulkUpdateGalleries: MaybeContext<BuildRESTFunction<typeof bulkUpdateGalleries$1> & typeof bulkUpdateGalleries$1>;
|
|
128
|
+
declare const bulkDeleteGalleries: MaybeContext<BuildRESTFunction<typeof bulkDeleteGalleries$1> & typeof bulkDeleteGalleries$1>;
|
|
129
|
+
declare const getDeletedGallery: MaybeContext<BuildRESTFunction<typeof getDeletedGallery$1> & typeof getDeletedGallery$1>;
|
|
130
|
+
declare const listDeletedGalleries: MaybeContext<BuildRESTFunction<typeof listDeletedGalleries$1> & typeof listDeletedGalleries$1>;
|
|
131
|
+
declare const restoreGalleryFromTrashBin: MaybeContext<BuildRESTFunction<typeof restoreGalleryFromTrashBin$1> & typeof restoreGalleryFromTrashBin$1>;
|
|
132
|
+
declare const removeGalleryFromTrashBin: MaybeContext<BuildRESTFunction<typeof removeGalleryFromTrashBin$1> & typeof removeGalleryFromTrashBin$1>;
|
|
133
|
+
/** */
|
|
134
|
+
declare const onGalleryRemovedFromTrashBin: BuildEventDefinition<typeof onGalleryRemovedFromTrashBin$1>;
|
|
135
|
+
|
|
136
|
+
export { BulkCreateGalleriesOptions, BulkCreateGalleriesResponse, BulkDeleteGalleriesResponse, BulkUpdateGalleriesOptions, BulkUpdateGalleriesResponse, GalleriesQueryBuilder, Gallery, GalleryRemovedFromTrashBinEnvelope, GetDeletedGalleryResponse, GetGalleryByDraftGalleryIdResponse, ListDeletedGalleriesOptions, ListDeletedGalleriesResponse, MaskedGallery, RestoreGalleryFromTrashBinResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateGallery, bulkCreateGalleries, bulkDeleteGalleries, bulkUpdateGalleries, createGallery, getDeletedGallery, getGallery, getGalleryByDraftGalleryId, listDeletedGalleries, onGalleryRemovedFromTrashBin, queryGalleries, removeGalleryFromTrashBin, restoreGalleryFromTrashBin, updateExtendedFields, updateGallery };
|