@wix/auto_sdk_media-collections_media-collections 1.0.5 → 1.0.7
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/{collections-v1-collection-media-collections.universal-CG3Rf3hZ.d.mts → collections-v1-collection-media-collections.universal-CUKnIZcW.d.mts} +152 -152
- package/build/{collections-v1-collection-media-collections.universal-CG3Rf3hZ.d.ts → collections-v1-collection-media-collections.universal-CUKnIZcW.d.ts} +152 -152
- package/build/index.d.mts +2 -2
- package/build/index.d.ts +2 -2
- package/build/index.js +23 -13
- package/build/index.js.map +1 -1
- package/build/index.mjs +23 -13
- package/build/index.mjs.map +1 -1
- package/build/internal/{collections-v1-collection-media-collections.universal-CG3Rf3hZ.d.mts → collections-v1-collection-media-collections.universal-CUKnIZcW.d.mts} +152 -152
- package/build/internal/{collections-v1-collection-media-collections.universal-CG3Rf3hZ.d.ts → collections-v1-collection-media-collections.universal-CUKnIZcW.d.ts} +152 -152
- package/build/internal/index.d.mts +2 -2
- package/build/internal/index.d.ts +2 -2
- package/build/internal/index.js +23 -13
- package/build/internal/index.js.map +1 -1
- package/build/internal/index.mjs +23 -13
- package/build/internal/index.mjs.map +1 -1
- package/build/internal/meta.d.mts +1 -1
- package/build/internal/meta.d.ts +1 -1
- package/build/internal/meta.js +10 -0
- package/build/internal/meta.js.map +1 -1
- package/build/internal/meta.mjs +10 -0
- package/build/internal/meta.mjs.map +1 -1
- package/build/meta.d.mts +1 -1
- package/build/meta.d.ts +1 -1
- package/build/meta.js +10 -0
- package/build/meta.js.map +1 -1
- package/build/meta.mjs +10 -0
- package/build/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
-
export {
|
|
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-CUKnIZcW.mjs';
|
|
3
|
+
export { a4 as ActionEvent, ap as AddItem, az as AddItemsRequest, aA as AddItemsResponse, H as AddressLink, x as AnchorLink, aQ as BaseEventMetadata, an as CollectionAndStatus, ab as CollectionCreated, a8 as CollectionEvent, a9 as CollectionEventEventTypeOneOf, aN as CollectionItem, aa as CollectionItemId, q as CollectionMember, ao as CreateMediaCollectionRequest, D as DataType, au as DeleteMediaCollectionRequest, av as DeleteMediaCollectionResponse, z as DocumentLink, _ as DomainEvent, $ as DomainEventBodyOneOf, y as DynamicPageLink, B as EmailLink, Z as Empty, a0 as EntityCreatedEvent, a3 as EntityDeletedEvent, a2 as EntityUpdatedEvent, aR as EventMetadata, E as ExternalLink, ax as FilterBy, am as FilterByRoles, ak as GetCollectionItemRequest, ag as GetMediaCollectionRequest, ah as GetMediaCollectionResponse, a6 as IdentificationData, a7 as IdentificationDataIdOneOf, aj as ItemInCollection, ac as ItemsAddedToCollection, ad as ItemsRemovedFromCollection, aG as JoinToCollectionRequest, aH as JoinToCollectionResponse, aK as LeaveCollectionRequest, aL as LeaveCollectionResponse, t as Link, l as LinkRel, aO as ListAllItemsBelongToCollectionRequest, aP as ListAllItemsBelongToCollectionResponse, aM as ListCollectionItemsRequest, aw as ListCollectionMembersRequest, ai as ListCollectionsForItemRequest, al as ListMediaCollectionsRequest, r as MediaCollectionItem, s as MediaCollectionItemMetadataOneOf, m as MediaOwner, ay as MemberAndStatus, ae as MemberJoinedToCollection, af as MemberLeftCollection, p as MemberStatus, a5 as MessageEnvelope, w as PageLink, aq as PartiallyUpdateMediaCollectionRequest, ar as PartiallyUpdateMediaCollectionResponse, Y as PermanentSiteDeletedResponse, F as PhoneLink, K as PhotoMetadata, N as Point, n as PrivacySettings, aB as RemoveItemsRequest, aC as RemoveItemsResponse, aI as RemoveMemberFromCollectionRequest, aJ as RemoveMemberFromCollectionResponse, Q as Resolution, a1 as RestoreInfo, S as Source, o as Status, X as TextMetadata, O as Thumbnail, J as TpaPageLink, T as Type, U as UnsharpMasking, as as UpdateCollectionLockRequest, at as UpdateCollectionLockResponse, aE as UpdateItem, aD as UpdateItemsRequest, aF as UpdateItemsResponse, V as VideoMetadata, W as WebhookIdentityType, I as WhatsAppLink, u as WixLink, v as WixLinkLinkOneOf } from './collections-v1-collection-media-collections.universal-CUKnIZcW.mjs';
|
|
4
4
|
|
|
5
5
|
declare function get$1(httpClient: HttpClient): GetSignature;
|
|
6
6
|
interface GetSignature {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
-
export {
|
|
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-CUKnIZcW.js';
|
|
3
|
+
export { a4 as ActionEvent, ap as AddItem, az as AddItemsRequest, aA as AddItemsResponse, H as AddressLink, x as AnchorLink, aQ as BaseEventMetadata, an as CollectionAndStatus, ab as CollectionCreated, a8 as CollectionEvent, a9 as CollectionEventEventTypeOneOf, aN as CollectionItem, aa as CollectionItemId, q as CollectionMember, ao as CreateMediaCollectionRequest, D as DataType, au as DeleteMediaCollectionRequest, av as DeleteMediaCollectionResponse, z as DocumentLink, _ as DomainEvent, $ as DomainEventBodyOneOf, y as DynamicPageLink, B as EmailLink, Z as Empty, a0 as EntityCreatedEvent, a3 as EntityDeletedEvent, a2 as EntityUpdatedEvent, aR as EventMetadata, E as ExternalLink, ax as FilterBy, am as FilterByRoles, ak as GetCollectionItemRequest, ag as GetMediaCollectionRequest, ah as GetMediaCollectionResponse, a6 as IdentificationData, a7 as IdentificationDataIdOneOf, aj as ItemInCollection, ac as ItemsAddedToCollection, ad as ItemsRemovedFromCollection, aG as JoinToCollectionRequest, aH as JoinToCollectionResponse, aK as LeaveCollectionRequest, aL as LeaveCollectionResponse, t as Link, l as LinkRel, aO as ListAllItemsBelongToCollectionRequest, aP as ListAllItemsBelongToCollectionResponse, aM as ListCollectionItemsRequest, aw as ListCollectionMembersRequest, ai as ListCollectionsForItemRequest, al as ListMediaCollectionsRequest, r as MediaCollectionItem, s as MediaCollectionItemMetadataOneOf, m as MediaOwner, ay as MemberAndStatus, ae as MemberJoinedToCollection, af as MemberLeftCollection, p as MemberStatus, a5 as MessageEnvelope, w as PageLink, aq as PartiallyUpdateMediaCollectionRequest, ar as PartiallyUpdateMediaCollectionResponse, Y as PermanentSiteDeletedResponse, F as PhoneLink, K as PhotoMetadata, N as Point, n as PrivacySettings, aB as RemoveItemsRequest, aC as RemoveItemsResponse, aI as RemoveMemberFromCollectionRequest, aJ as RemoveMemberFromCollectionResponse, Q as Resolution, a1 as RestoreInfo, S as Source, o as Status, X as TextMetadata, O as Thumbnail, J as TpaPageLink, T as Type, U as UnsharpMasking, as as UpdateCollectionLockRequest, at as UpdateCollectionLockResponse, aE as UpdateItem, aD as UpdateItemsRequest, aF as UpdateItemsResponse, V as VideoMetadata, W as WebhookIdentityType, I as WhatsAppLink, u as WixLink, v as WixLinkLinkOneOf } from './collections-v1-collection-media-collections.universal-CUKnIZcW.js';
|
|
4
4
|
|
|
5
5
|
declare function get$1(httpClient: HttpClient): GetSignature;
|
|
6
6
|
interface GetSignature {
|
package/build/internal/index.js
CHANGED
|
@@ -113,6 +113,16 @@ function resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(op
|
|
|
113
113
|
srcPath: "/_api/media-collections-service",
|
|
114
114
|
destPath: ""
|
|
115
115
|
}
|
|
116
|
+
],
|
|
117
|
+
"www.wixapis.com": [
|
|
118
|
+
{
|
|
119
|
+
srcPath: "/collections/v1/mediacollections",
|
|
120
|
+
destPath: "/v1/mediacollections"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
srcPath: "/collections/v1/mediacollections/items",
|
|
124
|
+
destPath: "/v1/mediacollections/items"
|
|
125
|
+
}
|
|
116
126
|
]
|
|
117
127
|
};
|
|
118
128
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
@@ -589,13 +599,12 @@ var PrivacySettings = /* @__PURE__ */ ((PrivacySettings2) => {
|
|
|
589
599
|
PrivacySettings2["Secret"] = "Secret";
|
|
590
600
|
return PrivacySettings2;
|
|
591
601
|
})(PrivacySettings || {});
|
|
592
|
-
var
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
})(MemberStatus || {});
|
|
602
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
603
|
+
Status2["UNKNOWN"] = "UNKNOWN";
|
|
604
|
+
Status2["HANDLED"] = "HANDLED";
|
|
605
|
+
Status2["NOTHING_TO_HANDLE"] = "NOTHING_TO_HANDLE";
|
|
606
|
+
return Status2;
|
|
607
|
+
})(Status || {});
|
|
599
608
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
600
609
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
601
610
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -604,12 +613,13 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
604
613
|
WebhookIdentityType2["APP"] = "APP";
|
|
605
614
|
return WebhookIdentityType2;
|
|
606
615
|
})(WebhookIdentityType || {});
|
|
607
|
-
var
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
616
|
+
var MemberStatus = /* @__PURE__ */ ((MemberStatus2) => {
|
|
617
|
+
MemberStatus2["UNDEFINED"] = "UNDEFINED";
|
|
618
|
+
MemberStatus2["NOT_MEMBER"] = "NOT_MEMBER";
|
|
619
|
+
MemberStatus2["MEMBER"] = "MEMBER";
|
|
620
|
+
MemberStatus2["ADMIN"] = "ADMIN";
|
|
621
|
+
return MemberStatus2;
|
|
622
|
+
})(MemberStatus || {});
|
|
613
623
|
async function get2(mediaCollectionId, options) {
|
|
614
624
|
const { httpClient, sideEffects } = arguments[2];
|
|
615
625
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|