@wix/auto_sdk_media-collections_media-collections 1.0.4 → 1.0.5
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/{es/src/collections-v1-collection-media-collections.types.d.ts → collections-v1-collection-media-collections.universal-CG3Rf3hZ.d.mts} +413 -247
- package/build/{cjs/src/collections-v1-collection-media-collections.types.d.ts → collections-v1-collection-media-collections.universal-CG3Rf3hZ.d.ts} +413 -247
- package/build/index.d.mts +120 -0
- package/build/index.d.ts +120 -0
- package/build/index.js +1151 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +1105 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{cjs/src/collections-v1-collection-media-collections.types.d.ts → collections-v1-collection-media-collections.universal-CG3Rf3hZ.d.mts} +413 -247
- package/build/internal/{es/src/collections-v1-collection-media-collections.types.d.ts → collections-v1-collection-media-collections.universal-CG3Rf3hZ.d.ts} +413 -247
- package/build/internal/index.d.mts +120 -0
- package/build/internal/index.d.ts +120 -0
- package/build/internal/index.js +1151 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +1105 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +765 -0
- package/build/internal/meta.d.ts +765 -0
- package/build/internal/meta.js +783 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +744 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/meta.d.mts +765 -0
- package/build/meta.d.ts +765 -0
- package/build/meta.js +783 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +744 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/collections-v1-collection-media-collections.context.d.ts +0 -21
- package/build/cjs/src/collections-v1-collection-media-collections.context.js +0 -33
- package/build/cjs/src/collections-v1-collection-media-collections.context.js.map +0 -1
- package/build/cjs/src/collections-v1-collection-media-collections.http.d.ts +0 -25
- package/build/cjs/src/collections-v1-collection-media-collections.http.js +0 -490
- package/build/cjs/src/collections-v1-collection-media-collections.http.js.map +0 -1
- package/build/cjs/src/collections-v1-collection-media-collections.meta.d.ts +0 -48
- package/build/cjs/src/collections-v1-collection-media-collections.meta.js +0 -278
- package/build/cjs/src/collections-v1-collection-media-collections.meta.js.map +0 -1
- package/build/cjs/src/collections-v1-collection-media-collections.public.d.ts +0 -104
- package/build/cjs/src/collections-v1-collection-media-collections.public.js +0 -123
- package/build/cjs/src/collections-v1-collection-media-collections.public.js.map +0 -1
- package/build/cjs/src/collections-v1-collection-media-collections.types.js +0 -94
- package/build/cjs/src/collections-v1-collection-media-collections.types.js.map +0 -1
- package/build/cjs/src/collections-v1-collection-media-collections.universal.d.ts +0 -1338
- package/build/cjs/src/collections-v1-collection-media-collections.universal.js +0 -574
- package/build/cjs/src/collections-v1-collection-media-collections.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/collections-v1-collection-media-collections.context.d.ts +0 -21
- package/build/es/src/collections-v1-collection-media-collections.context.js +0 -21
- package/build/es/src/collections-v1-collection-media-collections.context.js.map +0 -1
- package/build/es/src/collections-v1-collection-media-collections.http.d.ts +0 -25
- package/build/es/src/collections-v1-collection-media-collections.http.js +0 -474
- package/build/es/src/collections-v1-collection-media-collections.http.js.map +0 -1
- package/build/es/src/collections-v1-collection-media-collections.meta.d.ts +0 -48
- package/build/es/src/collections-v1-collection-media-collections.meta.js +0 -239
- package/build/es/src/collections-v1-collection-media-collections.meta.js.map +0 -1
- package/build/es/src/collections-v1-collection-media-collections.public.d.ts +0 -104
- package/build/es/src/collections-v1-collection-media-collections.public.js +0 -98
- package/build/es/src/collections-v1-collection-media-collections.public.js.map +0 -1
- package/build/es/src/collections-v1-collection-media-collections.types.js +0 -91
- package/build/es/src/collections-v1-collection-media-collections.types.js.map +0 -1
- package/build/es/src/collections-v1-collection-media-collections.universal.d.ts +0 -1338
- package/build/es/src/collections-v1-collection-media-collections.universal.js +0 -535
- package/build/es/src/collections-v1-collection-media-collections.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/collections-v1-collection-media-collections.context.d.ts +0 -21
- package/build/internal/cjs/src/collections-v1-collection-media-collections.context.js +0 -33
- package/build/internal/cjs/src/collections-v1-collection-media-collections.context.js.map +0 -1
- package/build/internal/cjs/src/collections-v1-collection-media-collections.http.d.ts +0 -25
- package/build/internal/cjs/src/collections-v1-collection-media-collections.http.js +0 -490
- package/build/internal/cjs/src/collections-v1-collection-media-collections.http.js.map +0 -1
- package/build/internal/cjs/src/collections-v1-collection-media-collections.meta.d.ts +0 -48
- package/build/internal/cjs/src/collections-v1-collection-media-collections.meta.js +0 -278
- package/build/internal/cjs/src/collections-v1-collection-media-collections.meta.js.map +0 -1
- package/build/internal/cjs/src/collections-v1-collection-media-collections.public.d.ts +0 -104
- package/build/internal/cjs/src/collections-v1-collection-media-collections.public.js +0 -123
- package/build/internal/cjs/src/collections-v1-collection-media-collections.public.js.map +0 -1
- package/build/internal/cjs/src/collections-v1-collection-media-collections.types.js +0 -94
- package/build/internal/cjs/src/collections-v1-collection-media-collections.types.js.map +0 -1
- package/build/internal/cjs/src/collections-v1-collection-media-collections.universal.d.ts +0 -1338
- package/build/internal/cjs/src/collections-v1-collection-media-collections.universal.js +0 -574
- package/build/internal/cjs/src/collections-v1-collection-media-collections.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/collections-v1-collection-media-collections.context.d.ts +0 -21
- package/build/internal/es/src/collections-v1-collection-media-collections.context.js +0 -21
- package/build/internal/es/src/collections-v1-collection-media-collections.context.js.map +0 -1
- package/build/internal/es/src/collections-v1-collection-media-collections.http.d.ts +0 -25
- package/build/internal/es/src/collections-v1-collection-media-collections.http.js +0 -474
- package/build/internal/es/src/collections-v1-collection-media-collections.http.js.map +0 -1
- package/build/internal/es/src/collections-v1-collection-media-collections.meta.d.ts +0 -48
- package/build/internal/es/src/collections-v1-collection-media-collections.meta.js +0 -239
- package/build/internal/es/src/collections-v1-collection-media-collections.meta.js.map +0 -1
- package/build/internal/es/src/collections-v1-collection-media-collections.public.d.ts +0 -104
- package/build/internal/es/src/collections-v1-collection-media-collections.public.js +0 -98
- package/build/internal/es/src/collections-v1-collection-media-collections.public.js.map +0 -1
- package/build/internal/es/src/collections-v1-collection-media-collections.types.js +0 -91
- package/build/internal/es/src/collections-v1-collection-media-collections.types.js.map +0 -1
- package/build/internal/es/src/collections-v1-collection-media-collections.universal.d.ts +0 -1338
- package/build/internal/es/src/collections-v1-collection-media-collections.universal.js +0 -535
- package/build/internal/es/src/collections-v1-collection-media-collections.universal.js.map +0 -1
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { G as GetOptions, M as MediaCollection, L as ListCollectionsForItemOptions, a as ListCollectionsForItemResponse, b as GetCollectionItemIdentifiers, c as GetCollectionItemResponse, d as ListOptions, e as ListMediaCollectionsResponse, C as CreateOptions, f as CreateMediaCollectionResponse, P as PartiallyUpdateMediaCollection, g as PartiallyUpdateOptions, h as ListCollectionMembersOptions, i as ListCollectionMembersResponse, A as AddItemsOptions, R as RemoveItemsOptions, j as ListCollectionItemsResponse, k as CollectionCreatedEnvelope } from './collections-v1-collection-media-collections.universal-CG3Rf3hZ.mjs';
|
|
3
|
+
export { aa as ActionEvent, al as AddItem, av as AddItemsRequest, aw as AddItemsResponse, H as AddressLink, x as AnchorLink, aQ as BaseEventMetadata, aj as CollectionAndStatus, $ as CollectionCreated, Y as CollectionEvent, Z as CollectionEventEventTypeOneOf, aJ as CollectionItem, _ as CollectionItemId, q as CollectionMember, ak as CreateMediaCollectionRequest, D as DataType, aq as DeleteMediaCollectionRequest, ar as DeleteMediaCollectionResponse, z as DocumentLink, a4 as DomainEvent, a5 as DomainEventBodyOneOf, y as DynamicPageLink, B as EmailLink, ab as Empty, a6 as EntityCreatedEvent, a9 as EntityDeletedEvent, a8 as EntityUpdatedEvent, aR as EventMetadata, E as ExternalLink, at as FilterBy, ai as FilterByRoles, ag as GetCollectionItemRequest, ac as GetMediaCollectionRequest, ad as GetMediaCollectionResponse, aN as IdentificationData, aO as IdentificationDataIdOneOf, af as ItemInCollection, a0 as ItemsAddedToCollection, a1 as ItemsRemovedFromCollection, aC as JoinToCollectionRequest, aD as JoinToCollectionResponse, aG as LeaveCollectionRequest, aH as LeaveCollectionResponse, t as Link, l as LinkRel, aK as ListAllItemsBelongToCollectionRequest, aL as ListAllItemsBelongToCollectionResponse, aI as ListCollectionItemsRequest, as as ListCollectionMembersRequest, ae as ListCollectionsForItemRequest, ah as ListMediaCollectionsRequest, r as MediaCollectionItem, s as MediaCollectionItemMetadataOneOf, m as MediaOwner, au as MemberAndStatus, a2 as MemberJoinedToCollection, a3 as MemberLeftCollection, o as MemberStatus, aM as MessageEnvelope, w as PageLink, am as PartiallyUpdateMediaCollectionRequest, an as PartiallyUpdateMediaCollectionResponse, aP as PermanentSiteDeletedResponse, F as PhoneLink, K as PhotoMetadata, N as Point, n as PrivacySettings, ax as RemoveItemsRequest, ay as RemoveItemsResponse, aE as RemoveMemberFromCollectionRequest, aF as RemoveMemberFromCollectionResponse, Q as Resolution, a7 as RestoreInfo, S as Source, p as Status, X as TextMetadata, O as Thumbnail, J as TpaPageLink, T as Type, U as UnsharpMasking, ao as UpdateCollectionLockRequest, ap as UpdateCollectionLockResponse, aA as UpdateItem, az as UpdateItemsRequest, aB as UpdateItemsResponse, V as VideoMetadata, W as WebhookIdentityType, I as WhatsAppLink, u as WixLink, v as WixLinkLinkOneOf } from './collections-v1-collection-media-collections.universal-CG3Rf3hZ.mjs';
|
|
4
|
+
|
|
5
|
+
declare function get$1(httpClient: HttpClient): GetSignature;
|
|
6
|
+
interface GetSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Get a specific collection by its id
|
|
9
|
+
* @param - Collection id
|
|
10
|
+
* @returns The collection
|
|
11
|
+
*/
|
|
12
|
+
(mediaCollectionId: string, options?: GetOptions | undefined): Promise<MediaCollection>;
|
|
13
|
+
}
|
|
14
|
+
declare function listCollectionsForItem$1(httpClient: HttpClient): ListCollectionsForItemSignature;
|
|
15
|
+
interface ListCollectionsForItemSignature {
|
|
16
|
+
/**
|
|
17
|
+
* List all collections that the member has a role in them
|
|
18
|
+
* @param - Item id
|
|
19
|
+
*/
|
|
20
|
+
(itemId: string, options?: ListCollectionsForItemOptions | undefined): Promise<ListCollectionsForItemResponse>;
|
|
21
|
+
}
|
|
22
|
+
declare function getCollectionItem$1(httpClient: HttpClient): GetCollectionItemSignature;
|
|
23
|
+
interface GetCollectionItemSignature {
|
|
24
|
+
/**
|
|
25
|
+
* Get a specific item from a collection
|
|
26
|
+
*/
|
|
27
|
+
(identifiers: GetCollectionItemIdentifiers): Promise<GetCollectionItemResponse>;
|
|
28
|
+
}
|
|
29
|
+
declare function list$1(httpClient: HttpClient): ListSignature;
|
|
30
|
+
interface ListSignature {
|
|
31
|
+
/**
|
|
32
|
+
* List all collections that the item belongs to
|
|
33
|
+
*/
|
|
34
|
+
(options?: ListOptions | undefined): Promise<ListMediaCollectionsResponse>;
|
|
35
|
+
}
|
|
36
|
+
declare function create$1(httpClient: HttpClient): CreateSignature;
|
|
37
|
+
interface CreateSignature {
|
|
38
|
+
/**
|
|
39
|
+
* Create a new collection
|
|
40
|
+
* @param - Name of the collection
|
|
41
|
+
*/
|
|
42
|
+
(name: string, options?: CreateOptions | undefined): Promise<CreateMediaCollectionResponse>;
|
|
43
|
+
}
|
|
44
|
+
declare function partiallyUpdate$1(httpClient: HttpClient): PartiallyUpdateSignature;
|
|
45
|
+
interface PartiallyUpdateSignature {
|
|
46
|
+
/**
|
|
47
|
+
* Update a collection
|
|
48
|
+
* @param - Collection id
|
|
49
|
+
*/
|
|
50
|
+
(_id: string, mediaCollection: PartiallyUpdateMediaCollection, options: PartiallyUpdateOptions): Promise<void>;
|
|
51
|
+
}
|
|
52
|
+
declare function _delete$1(httpClient: HttpClient): _deleteSignature;
|
|
53
|
+
interface _deleteSignature {
|
|
54
|
+
/**
|
|
55
|
+
* Delete a collection
|
|
56
|
+
* @param - the collection to delete
|
|
57
|
+
*/
|
|
58
|
+
(mediaCollectionId: string): Promise<void>;
|
|
59
|
+
}
|
|
60
|
+
declare function listCollectionMembers$1(httpClient: HttpClient): ListCollectionMembersSignature;
|
|
61
|
+
interface ListCollectionMembersSignature {
|
|
62
|
+
/**
|
|
63
|
+
* List all members of a collection
|
|
64
|
+
* @param - the collection to get its members
|
|
65
|
+
*/
|
|
66
|
+
(mediaCollectionId: string, options?: ListCollectionMembersOptions | undefined): Promise<ListCollectionMembersResponse>;
|
|
67
|
+
}
|
|
68
|
+
declare function addItems$1(httpClient: HttpClient): AddItemsSignature;
|
|
69
|
+
interface AddItemsSignature {
|
|
70
|
+
/**
|
|
71
|
+
* Add items to a collection
|
|
72
|
+
* @param - Collection to add items
|
|
73
|
+
*/
|
|
74
|
+
(mediaCollectionId: string, options?: AddItemsOptions | undefined): Promise<void>;
|
|
75
|
+
}
|
|
76
|
+
declare function removeItems$1(httpClient: HttpClient): RemoveItemsSignature;
|
|
77
|
+
interface RemoveItemsSignature {
|
|
78
|
+
/**
|
|
79
|
+
* Remove items from a collection
|
|
80
|
+
* @param - Collection to remove items from
|
|
81
|
+
*/
|
|
82
|
+
(mediaCollectionId: string, options?: RemoveItemsOptions | undefined): Promise<void>;
|
|
83
|
+
}
|
|
84
|
+
declare function joinToCollection$1(httpClient: HttpClient): JoinToCollectionSignature;
|
|
85
|
+
interface JoinToCollectionSignature {
|
|
86
|
+
/**
|
|
87
|
+
* Join to a collection
|
|
88
|
+
* @param - Collection to join
|
|
89
|
+
*/
|
|
90
|
+
(mediaCollectionId: string): Promise<void>;
|
|
91
|
+
}
|
|
92
|
+
declare function leaveCollection$1(httpClient: HttpClient): LeaveCollectionSignature;
|
|
93
|
+
interface LeaveCollectionSignature {
|
|
94
|
+
/** @param - Collection the member will be leaving */
|
|
95
|
+
(mediaCollectionId: string): Promise<void>;
|
|
96
|
+
}
|
|
97
|
+
declare function listCollectionItems$1(httpClient: HttpClient): ListCollectionItemsSignature;
|
|
98
|
+
interface ListCollectionItemsSignature {
|
|
99
|
+
/** @param - Collection to get its items */
|
|
100
|
+
(mediaCollectionId: string): Promise<ListCollectionItemsResponse>;
|
|
101
|
+
}
|
|
102
|
+
declare const onCollectionCreated$1: EventDefinition<CollectionCreatedEnvelope, "wix.collections.collection_created">;
|
|
103
|
+
|
|
104
|
+
declare const get: MaybeContext<BuildRESTFunction<typeof get$1> & typeof get$1>;
|
|
105
|
+
declare const listCollectionsForItem: MaybeContext<BuildRESTFunction<typeof listCollectionsForItem$1> & typeof listCollectionsForItem$1>;
|
|
106
|
+
declare const getCollectionItem: MaybeContext<BuildRESTFunction<typeof getCollectionItem$1> & typeof getCollectionItem$1>;
|
|
107
|
+
declare const list: MaybeContext<BuildRESTFunction<typeof list$1> & typeof list$1>;
|
|
108
|
+
declare const create: MaybeContext<BuildRESTFunction<typeof create$1> & typeof create$1>;
|
|
109
|
+
declare const partiallyUpdate: MaybeContext<BuildRESTFunction<typeof partiallyUpdate$1> & typeof partiallyUpdate$1>;
|
|
110
|
+
declare const _delete: MaybeContext<BuildRESTFunction<typeof _delete$1> & typeof _delete$1>;
|
|
111
|
+
declare const listCollectionMembers: MaybeContext<BuildRESTFunction<typeof listCollectionMembers$1> & typeof listCollectionMembers$1>;
|
|
112
|
+
declare const addItems: MaybeContext<BuildRESTFunction<typeof addItems$1> & typeof addItems$1>;
|
|
113
|
+
declare const removeItems: MaybeContext<BuildRESTFunction<typeof removeItems$1> & typeof removeItems$1>;
|
|
114
|
+
declare const joinToCollection: MaybeContext<BuildRESTFunction<typeof joinToCollection$1> & typeof joinToCollection$1>;
|
|
115
|
+
declare const leaveCollection: MaybeContext<BuildRESTFunction<typeof leaveCollection$1> & typeof leaveCollection$1>;
|
|
116
|
+
declare const listCollectionItems: MaybeContext<BuildRESTFunction<typeof listCollectionItems$1> & typeof listCollectionItems$1>;
|
|
117
|
+
/** */
|
|
118
|
+
declare const onCollectionCreated: BuildEventDefinition<typeof onCollectionCreated$1>;
|
|
119
|
+
|
|
120
|
+
export { AddItemsOptions, CollectionCreatedEnvelope, CreateMediaCollectionResponse, CreateOptions, GetCollectionItemIdentifiers, GetCollectionItemResponse, GetOptions, ListCollectionItemsResponse, ListCollectionMembersOptions, ListCollectionMembersResponse, ListCollectionsForItemOptions, ListCollectionsForItemResponse, ListMediaCollectionsResponse, ListOptions, MediaCollection, PartiallyUpdateMediaCollection, PartiallyUpdateOptions, RemoveItemsOptions, _delete, addItems, create, get, getCollectionItem, joinToCollection, leaveCollection, list, listCollectionItems, listCollectionMembers, listCollectionsForItem, onCollectionCreated, partiallyUpdate, removeItems };
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { G as GetOptions, M as MediaCollection, L as ListCollectionsForItemOptions, a as ListCollectionsForItemResponse, b as GetCollectionItemIdentifiers, c as GetCollectionItemResponse, d as ListOptions, e as ListMediaCollectionsResponse, C as CreateOptions, f as CreateMediaCollectionResponse, P as PartiallyUpdateMediaCollection, g as PartiallyUpdateOptions, h as ListCollectionMembersOptions, i as ListCollectionMembersResponse, A as AddItemsOptions, R as RemoveItemsOptions, j as ListCollectionItemsResponse, k as CollectionCreatedEnvelope } from './collections-v1-collection-media-collections.universal-CG3Rf3hZ.js';
|
|
3
|
+
export { aa as ActionEvent, al as AddItem, av as AddItemsRequest, aw as AddItemsResponse, H as AddressLink, x as AnchorLink, aQ as BaseEventMetadata, aj as CollectionAndStatus, $ as CollectionCreated, Y as CollectionEvent, Z as CollectionEventEventTypeOneOf, aJ as CollectionItem, _ as CollectionItemId, q as CollectionMember, ak as CreateMediaCollectionRequest, D as DataType, aq as DeleteMediaCollectionRequest, ar as DeleteMediaCollectionResponse, z as DocumentLink, a4 as DomainEvent, a5 as DomainEventBodyOneOf, y as DynamicPageLink, B as EmailLink, ab as Empty, a6 as EntityCreatedEvent, a9 as EntityDeletedEvent, a8 as EntityUpdatedEvent, aR as EventMetadata, E as ExternalLink, at as FilterBy, ai as FilterByRoles, ag as GetCollectionItemRequest, ac as GetMediaCollectionRequest, ad as GetMediaCollectionResponse, aN as IdentificationData, aO as IdentificationDataIdOneOf, af as ItemInCollection, a0 as ItemsAddedToCollection, a1 as ItemsRemovedFromCollection, aC as JoinToCollectionRequest, aD as JoinToCollectionResponse, aG as LeaveCollectionRequest, aH as LeaveCollectionResponse, t as Link, l as LinkRel, aK as ListAllItemsBelongToCollectionRequest, aL as ListAllItemsBelongToCollectionResponse, aI as ListCollectionItemsRequest, as as ListCollectionMembersRequest, ae as ListCollectionsForItemRequest, ah as ListMediaCollectionsRequest, r as MediaCollectionItem, s as MediaCollectionItemMetadataOneOf, m as MediaOwner, au as MemberAndStatus, a2 as MemberJoinedToCollection, a3 as MemberLeftCollection, o as MemberStatus, aM as MessageEnvelope, w as PageLink, am as PartiallyUpdateMediaCollectionRequest, an as PartiallyUpdateMediaCollectionResponse, aP as PermanentSiteDeletedResponse, F as PhoneLink, K as PhotoMetadata, N as Point, n as PrivacySettings, ax as RemoveItemsRequest, ay as RemoveItemsResponse, aE as RemoveMemberFromCollectionRequest, aF as RemoveMemberFromCollectionResponse, Q as Resolution, a7 as RestoreInfo, S as Source, p as Status, X as TextMetadata, O as Thumbnail, J as TpaPageLink, T as Type, U as UnsharpMasking, ao as UpdateCollectionLockRequest, ap as UpdateCollectionLockResponse, aA as UpdateItem, az as UpdateItemsRequest, aB as UpdateItemsResponse, V as VideoMetadata, W as WebhookIdentityType, I as WhatsAppLink, u as WixLink, v as WixLinkLinkOneOf } from './collections-v1-collection-media-collections.universal-CG3Rf3hZ.js';
|
|
4
|
+
|
|
5
|
+
declare function get$1(httpClient: HttpClient): GetSignature;
|
|
6
|
+
interface GetSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Get a specific collection by its id
|
|
9
|
+
* @param - Collection id
|
|
10
|
+
* @returns The collection
|
|
11
|
+
*/
|
|
12
|
+
(mediaCollectionId: string, options?: GetOptions | undefined): Promise<MediaCollection>;
|
|
13
|
+
}
|
|
14
|
+
declare function listCollectionsForItem$1(httpClient: HttpClient): ListCollectionsForItemSignature;
|
|
15
|
+
interface ListCollectionsForItemSignature {
|
|
16
|
+
/**
|
|
17
|
+
* List all collections that the member has a role in them
|
|
18
|
+
* @param - Item id
|
|
19
|
+
*/
|
|
20
|
+
(itemId: string, options?: ListCollectionsForItemOptions | undefined): Promise<ListCollectionsForItemResponse>;
|
|
21
|
+
}
|
|
22
|
+
declare function getCollectionItem$1(httpClient: HttpClient): GetCollectionItemSignature;
|
|
23
|
+
interface GetCollectionItemSignature {
|
|
24
|
+
/**
|
|
25
|
+
* Get a specific item from a collection
|
|
26
|
+
*/
|
|
27
|
+
(identifiers: GetCollectionItemIdentifiers): Promise<GetCollectionItemResponse>;
|
|
28
|
+
}
|
|
29
|
+
declare function list$1(httpClient: HttpClient): ListSignature;
|
|
30
|
+
interface ListSignature {
|
|
31
|
+
/**
|
|
32
|
+
* List all collections that the item belongs to
|
|
33
|
+
*/
|
|
34
|
+
(options?: ListOptions | undefined): Promise<ListMediaCollectionsResponse>;
|
|
35
|
+
}
|
|
36
|
+
declare function create$1(httpClient: HttpClient): CreateSignature;
|
|
37
|
+
interface CreateSignature {
|
|
38
|
+
/**
|
|
39
|
+
* Create a new collection
|
|
40
|
+
* @param - Name of the collection
|
|
41
|
+
*/
|
|
42
|
+
(name: string, options?: CreateOptions | undefined): Promise<CreateMediaCollectionResponse>;
|
|
43
|
+
}
|
|
44
|
+
declare function partiallyUpdate$1(httpClient: HttpClient): PartiallyUpdateSignature;
|
|
45
|
+
interface PartiallyUpdateSignature {
|
|
46
|
+
/**
|
|
47
|
+
* Update a collection
|
|
48
|
+
* @param - Collection id
|
|
49
|
+
*/
|
|
50
|
+
(_id: string, mediaCollection: PartiallyUpdateMediaCollection, options: PartiallyUpdateOptions): Promise<void>;
|
|
51
|
+
}
|
|
52
|
+
declare function _delete$1(httpClient: HttpClient): _deleteSignature;
|
|
53
|
+
interface _deleteSignature {
|
|
54
|
+
/**
|
|
55
|
+
* Delete a collection
|
|
56
|
+
* @param - the collection to delete
|
|
57
|
+
*/
|
|
58
|
+
(mediaCollectionId: string): Promise<void>;
|
|
59
|
+
}
|
|
60
|
+
declare function listCollectionMembers$1(httpClient: HttpClient): ListCollectionMembersSignature;
|
|
61
|
+
interface ListCollectionMembersSignature {
|
|
62
|
+
/**
|
|
63
|
+
* List all members of a collection
|
|
64
|
+
* @param - the collection to get its members
|
|
65
|
+
*/
|
|
66
|
+
(mediaCollectionId: string, options?: ListCollectionMembersOptions | undefined): Promise<ListCollectionMembersResponse>;
|
|
67
|
+
}
|
|
68
|
+
declare function addItems$1(httpClient: HttpClient): AddItemsSignature;
|
|
69
|
+
interface AddItemsSignature {
|
|
70
|
+
/**
|
|
71
|
+
* Add items to a collection
|
|
72
|
+
* @param - Collection to add items
|
|
73
|
+
*/
|
|
74
|
+
(mediaCollectionId: string, options?: AddItemsOptions | undefined): Promise<void>;
|
|
75
|
+
}
|
|
76
|
+
declare function removeItems$1(httpClient: HttpClient): RemoveItemsSignature;
|
|
77
|
+
interface RemoveItemsSignature {
|
|
78
|
+
/**
|
|
79
|
+
* Remove items from a collection
|
|
80
|
+
* @param - Collection to remove items from
|
|
81
|
+
*/
|
|
82
|
+
(mediaCollectionId: string, options?: RemoveItemsOptions | undefined): Promise<void>;
|
|
83
|
+
}
|
|
84
|
+
declare function joinToCollection$1(httpClient: HttpClient): JoinToCollectionSignature;
|
|
85
|
+
interface JoinToCollectionSignature {
|
|
86
|
+
/**
|
|
87
|
+
* Join to a collection
|
|
88
|
+
* @param - Collection to join
|
|
89
|
+
*/
|
|
90
|
+
(mediaCollectionId: string): Promise<void>;
|
|
91
|
+
}
|
|
92
|
+
declare function leaveCollection$1(httpClient: HttpClient): LeaveCollectionSignature;
|
|
93
|
+
interface LeaveCollectionSignature {
|
|
94
|
+
/** @param - Collection the member will be leaving */
|
|
95
|
+
(mediaCollectionId: string): Promise<void>;
|
|
96
|
+
}
|
|
97
|
+
declare function listCollectionItems$1(httpClient: HttpClient): ListCollectionItemsSignature;
|
|
98
|
+
interface ListCollectionItemsSignature {
|
|
99
|
+
/** @param - Collection to get its items */
|
|
100
|
+
(mediaCollectionId: string): Promise<ListCollectionItemsResponse>;
|
|
101
|
+
}
|
|
102
|
+
declare const onCollectionCreated$1: EventDefinition<CollectionCreatedEnvelope, "wix.collections.collection_created">;
|
|
103
|
+
|
|
104
|
+
declare const get: MaybeContext<BuildRESTFunction<typeof get$1> & typeof get$1>;
|
|
105
|
+
declare const listCollectionsForItem: MaybeContext<BuildRESTFunction<typeof listCollectionsForItem$1> & typeof listCollectionsForItem$1>;
|
|
106
|
+
declare const getCollectionItem: MaybeContext<BuildRESTFunction<typeof getCollectionItem$1> & typeof getCollectionItem$1>;
|
|
107
|
+
declare const list: MaybeContext<BuildRESTFunction<typeof list$1> & typeof list$1>;
|
|
108
|
+
declare const create: MaybeContext<BuildRESTFunction<typeof create$1> & typeof create$1>;
|
|
109
|
+
declare const partiallyUpdate: MaybeContext<BuildRESTFunction<typeof partiallyUpdate$1> & typeof partiallyUpdate$1>;
|
|
110
|
+
declare const _delete: MaybeContext<BuildRESTFunction<typeof _delete$1> & typeof _delete$1>;
|
|
111
|
+
declare const listCollectionMembers: MaybeContext<BuildRESTFunction<typeof listCollectionMembers$1> & typeof listCollectionMembers$1>;
|
|
112
|
+
declare const addItems: MaybeContext<BuildRESTFunction<typeof addItems$1> & typeof addItems$1>;
|
|
113
|
+
declare const removeItems: MaybeContext<BuildRESTFunction<typeof removeItems$1> & typeof removeItems$1>;
|
|
114
|
+
declare const joinToCollection: MaybeContext<BuildRESTFunction<typeof joinToCollection$1> & typeof joinToCollection$1>;
|
|
115
|
+
declare const leaveCollection: MaybeContext<BuildRESTFunction<typeof leaveCollection$1> & typeof leaveCollection$1>;
|
|
116
|
+
declare const listCollectionItems: MaybeContext<BuildRESTFunction<typeof listCollectionItems$1> & typeof listCollectionItems$1>;
|
|
117
|
+
/** */
|
|
118
|
+
declare const onCollectionCreated: BuildEventDefinition<typeof onCollectionCreated$1>;
|
|
119
|
+
|
|
120
|
+
export { AddItemsOptions, CollectionCreatedEnvelope, CreateMediaCollectionResponse, CreateOptions, GetCollectionItemIdentifiers, GetCollectionItemResponse, GetOptions, ListCollectionItemsResponse, ListCollectionMembersOptions, ListCollectionMembersResponse, ListCollectionsForItemOptions, ListCollectionsForItemResponse, ListMediaCollectionsResponse, ListOptions, MediaCollection, PartiallyUpdateMediaCollection, PartiallyUpdateOptions, RemoveItemsOptions, _delete, addItems, create, get, getCollectionItem, joinToCollection, leaveCollection, list, listCollectionItems, listCollectionMembers, listCollectionsForItem, onCollectionCreated, partiallyUpdate, removeItems };
|