@wix/auto_sdk_media-collections_media-collections 1.0.26 → 1.0.28
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 +1 -1
- package/build/cjs/index.js +39 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +18 -1
- package/build/cjs/index.typings.js +39 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +350 -1
- package/build/cjs/meta.js +121 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +39 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +18 -1
- package/build/es/index.typings.mjs +39 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +350 -1
- package/build/es/meta.mjs +112 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +39 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +18 -1
- package/build/internal/cjs/index.typings.js +39 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +350 -1
- package/build/internal/cjs/meta.js +121 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +39 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +18 -1
- package/build/internal/es/index.typings.mjs +39 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +350 -1
- package/build/internal/es/meta.mjs +112 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -588,6 +588,23 @@ declare enum WebhookIdentityType {
|
|
|
588
588
|
}
|
|
589
589
|
/** @enumType */
|
|
590
590
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
591
|
+
interface AccountDetails {
|
|
592
|
+
/**
|
|
593
|
+
* ID of the account.
|
|
594
|
+
* @format GUID
|
|
595
|
+
*/
|
|
596
|
+
accountId?: string | null;
|
|
597
|
+
/**
|
|
598
|
+
* ID of the parent account.
|
|
599
|
+
* @format GUID
|
|
600
|
+
*/
|
|
601
|
+
parentAccountId?: string | null;
|
|
602
|
+
/**
|
|
603
|
+
* ID of the site, if applicable.
|
|
604
|
+
* @format GUID
|
|
605
|
+
*/
|
|
606
|
+
siteId?: string | null;
|
|
607
|
+
}
|
|
591
608
|
interface CollectionEvent extends CollectionEventEventTypeOneOf {
|
|
592
609
|
/** Collection created */
|
|
593
610
|
collectionCreated?: CollectionCreated;
|
|
@@ -1334,4 +1351,4 @@ declare function leaveCollection(mediaCollectionId: string): Promise<void>;
|
|
|
1334
1351
|
*/
|
|
1335
1352
|
declare function listCollectionItems(mediaCollectionId: string): Promise<NonNullablePaths<ListCollectionItemsResponse, `collectionItems` | `collectionItems.${number}.galleryId` | `collectionItems.${number}.itemId`, 4>>;
|
|
1336
1353
|
|
|
1337
|
-
export { type ActionEvent, type AddItem, type AddItemsOptions, type AddItemsRequest, type AddItemsResponse, type AddressLink, type AnchorLink, type BaseEventMetadata, type CollectionAndStatus, type CollectionCreated, type CollectionCreatedEnvelope, type CollectionEvent, type CollectionEventEventTypeOneOf, type CollectionItem, type CollectionItemId, type CollectionMember, type CreateMediaCollectionRequest, type CreateMediaCollectionResponse, type CreateOptions, DataType, type DataTypeWithLiterals, type DeleteMediaCollectionRequest, type DeleteMediaCollectionResponse, type DocumentLink, type DomainEvent, type DomainEventBodyOneOf, type DynamicPageLink, type EmailLink, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExternalLink, type FilterBy, type FilterByRoles, type GetCollectionItemIdentifiers, type GetCollectionItemRequest, type GetCollectionItemResponse, type GetMediaCollectionRequest, type GetMediaCollectionResponse, type GetOptions, type IdentificationData, type IdentificationDataIdOneOf, type ItemInCollection, type ItemsAddedToCollection, type ItemsRemovedFromCollection, type JoinToCollectionRequest, type JoinToCollectionResponse, type LeaveCollectionRequest, type LeaveCollectionResponse, type Link, LinkRel, type LinkRelWithLiterals, type ListAllItemsBelongToCollectionRequest, type ListAllItemsBelongToCollectionResponse, type ListCollectionItemsRequest, type ListCollectionItemsResponse, type ListCollectionMembersOptions, type ListCollectionMembersRequest, type ListCollectionMembersResponse, type ListCollectionsForItemOptions, type ListCollectionsForItemRequest, type ListCollectionsForItemResponse, type ListMediaCollectionsRequest, type ListMediaCollectionsResponse, type ListOptions, type MediaCollection, type MediaCollectionItem, type MediaCollectionItemMetadataOneOf, MediaOwner, type MediaOwnerWithLiterals, type MemberAndStatus, type MemberJoinedToCollection, type MemberLeftCollection, MemberStatus, type MemberStatusWithLiterals, type MessageEnvelope, type PageLink, type PartiallyUpdateMediaCollection, type PartiallyUpdateMediaCollectionRequest, type PartiallyUpdateMediaCollectionResponse, type PartiallyUpdateOptions, type PermanentSiteDeletedResponse, type PhoneLink, type PhotoMetadata, type Point, PrivacySettings, type PrivacySettingsWithLiterals, type RemoveItemsOptions, type RemoveItemsRequest, type RemoveItemsResponse, type RemoveMemberFromCollectionRequest, type RemoveMemberFromCollectionResponse, type Resolution, type RestoreInfo, Source, type SourceWithLiterals, Status, type StatusWithLiterals, type TextMetadata, type Thumbnail, type TpaPageLink, Type, type TypeWithLiterals, type UnsharpMasking, type UpdateCollectionLockRequest, type UpdateCollectionLockResponse, type UpdateItem, type UpdateItemsRequest, type UpdateItemsResponse, type VideoMetadata, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WhatsAppLink, type WixLink, type WixLinkLinkOneOf, _delete, addItems, create, get, getCollectionItem, joinToCollection, leaveCollection, list, listCollectionItems, listCollectionMembers, listCollectionsForItem, onCollectionCreated, partiallyUpdate, removeItems };
|
|
1354
|
+
export { type AccountDetails, type ActionEvent, type AddItem, type AddItemsOptions, type AddItemsRequest, type AddItemsResponse, type AddressLink, type AnchorLink, type BaseEventMetadata, type CollectionAndStatus, type CollectionCreated, type CollectionCreatedEnvelope, type CollectionEvent, type CollectionEventEventTypeOneOf, type CollectionItem, type CollectionItemId, type CollectionMember, type CreateMediaCollectionRequest, type CreateMediaCollectionResponse, type CreateOptions, DataType, type DataTypeWithLiterals, type DeleteMediaCollectionRequest, type DeleteMediaCollectionResponse, type DocumentLink, type DomainEvent, type DomainEventBodyOneOf, type DynamicPageLink, type EmailLink, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExternalLink, type FilterBy, type FilterByRoles, type GetCollectionItemIdentifiers, type GetCollectionItemRequest, type GetCollectionItemResponse, type GetMediaCollectionRequest, type GetMediaCollectionResponse, type GetOptions, type IdentificationData, type IdentificationDataIdOneOf, type ItemInCollection, type ItemsAddedToCollection, type ItemsRemovedFromCollection, type JoinToCollectionRequest, type JoinToCollectionResponse, type LeaveCollectionRequest, type LeaveCollectionResponse, type Link, LinkRel, type LinkRelWithLiterals, type ListAllItemsBelongToCollectionRequest, type ListAllItemsBelongToCollectionResponse, type ListCollectionItemsRequest, type ListCollectionItemsResponse, type ListCollectionMembersOptions, type ListCollectionMembersRequest, type ListCollectionMembersResponse, type ListCollectionsForItemOptions, type ListCollectionsForItemRequest, type ListCollectionsForItemResponse, type ListMediaCollectionsRequest, type ListMediaCollectionsResponse, type ListOptions, type MediaCollection, type MediaCollectionItem, type MediaCollectionItemMetadataOneOf, MediaOwner, type MediaOwnerWithLiterals, type MemberAndStatus, type MemberJoinedToCollection, type MemberLeftCollection, MemberStatus, type MemberStatusWithLiterals, type MessageEnvelope, type PageLink, type PartiallyUpdateMediaCollection, type PartiallyUpdateMediaCollectionRequest, type PartiallyUpdateMediaCollectionResponse, type PartiallyUpdateOptions, type PermanentSiteDeletedResponse, type PhoneLink, type PhotoMetadata, type Point, PrivacySettings, type PrivacySettingsWithLiterals, type RemoveItemsOptions, type RemoveItemsRequest, type RemoveItemsResponse, type RemoveMemberFromCollectionRequest, type RemoveMemberFromCollectionResponse, type Resolution, type RestoreInfo, Source, type SourceWithLiterals, Status, type StatusWithLiterals, type TextMetadata, type Thumbnail, type TpaPageLink, Type, type TypeWithLiterals, type UnsharpMasking, type UpdateCollectionLockRequest, type UpdateCollectionLockResponse, type UpdateItem, type UpdateItemsRequest, type UpdateItemsResponse, type VideoMetadata, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WhatsAppLink, type WixLink, type WixLinkLinkOneOf, _delete, addItems, create, get, getCollectionItem, joinToCollection, leaveCollection, list, listCollectionItems, listCollectionMembers, listCollectionsForItem, onCollectionCreated, partiallyUpdate, removeItems };
|
|
@@ -127,6 +127,9 @@ function get(payload) {
|
|
|
127
127
|
method: "GET",
|
|
128
128
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.Get",
|
|
129
129
|
packageName: PACKAGE_NAME,
|
|
130
|
+
migrationOptions: {
|
|
131
|
+
optInTransformResponse: true
|
|
132
|
+
},
|
|
130
133
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
131
134
|
{
|
|
132
135
|
protoPath: "/v1/mediacollections/{mediaCollectionId}",
|
|
@@ -180,6 +183,9 @@ function listCollectionsForItem(payload) {
|
|
|
180
183
|
method: "GET",
|
|
181
184
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionsForItem",
|
|
182
185
|
packageName: PACKAGE_NAME,
|
|
186
|
+
migrationOptions: {
|
|
187
|
+
optInTransformResponse: true
|
|
188
|
+
},
|
|
183
189
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
184
190
|
{
|
|
185
191
|
protoPath: "/v1/mediacollections/items/{itemId}/collections",
|
|
@@ -236,6 +242,9 @@ function getCollectionItem(payload) {
|
|
|
236
242
|
method: "GET",
|
|
237
243
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.GetCollectionItem",
|
|
238
244
|
packageName: PACKAGE_NAME,
|
|
245
|
+
migrationOptions: {
|
|
246
|
+
optInTransformResponse: true
|
|
247
|
+
},
|
|
239
248
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
240
249
|
{
|
|
241
250
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/items/{itemId}",
|
|
@@ -275,6 +284,9 @@ function list(payload) {
|
|
|
275
284
|
method: "GET",
|
|
276
285
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.List",
|
|
277
286
|
packageName: PACKAGE_NAME,
|
|
287
|
+
migrationOptions: {
|
|
288
|
+
optInTransformResponse: true
|
|
289
|
+
},
|
|
278
290
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
279
291
|
{ protoPath: "/v1/mediacollections", data: payload, host }
|
|
280
292
|
),
|
|
@@ -334,6 +346,9 @@ function create(payload) {
|
|
|
334
346
|
method: "POST",
|
|
335
347
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.Create",
|
|
336
348
|
packageName: PACKAGE_NAME,
|
|
349
|
+
migrationOptions: {
|
|
350
|
+
optInTransformResponse: true
|
|
351
|
+
},
|
|
337
352
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
338
353
|
{ protoPath: "/v1/mediacollections", data: serializedData, host }
|
|
339
354
|
),
|
|
@@ -379,6 +394,9 @@ function partiallyUpdate(payload) {
|
|
|
379
394
|
method: "PUT",
|
|
380
395
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.PartiallyUpdate",
|
|
381
396
|
packageName: PACKAGE_NAME,
|
|
397
|
+
migrationOptions: {
|
|
398
|
+
optInTransformResponse: true
|
|
399
|
+
},
|
|
382
400
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
383
401
|
{
|
|
384
402
|
protoPath: "/v1/mediacollections/{mediaCollection.id}",
|
|
@@ -399,6 +417,9 @@ function _delete(payload) {
|
|
|
399
417
|
method: "DELETE",
|
|
400
418
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService._delete",
|
|
401
419
|
packageName: PACKAGE_NAME,
|
|
420
|
+
migrationOptions: {
|
|
421
|
+
optInTransformResponse: true
|
|
422
|
+
},
|
|
402
423
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
403
424
|
{
|
|
404
425
|
protoPath: "/v1/mediacollections/{mediaCollectionId}",
|
|
@@ -419,6 +440,9 @@ function listCollectionMembers(payload) {
|
|
|
419
440
|
method: "GET",
|
|
420
441
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionMembers",
|
|
421
442
|
packageName: PACKAGE_NAME,
|
|
443
|
+
migrationOptions: {
|
|
444
|
+
optInTransformResponse: true
|
|
445
|
+
},
|
|
422
446
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
423
447
|
{
|
|
424
448
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/members",
|
|
@@ -445,6 +469,9 @@ function addItems(payload) {
|
|
|
445
469
|
method: "POST",
|
|
446
470
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.AddItems",
|
|
447
471
|
packageName: PACKAGE_NAME,
|
|
472
|
+
migrationOptions: {
|
|
473
|
+
optInTransformResponse: true
|
|
474
|
+
},
|
|
448
475
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
449
476
|
{
|
|
450
477
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/items",
|
|
@@ -465,6 +492,9 @@ function removeItems(payload) {
|
|
|
465
492
|
method: "DELETE",
|
|
466
493
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.RemoveItems",
|
|
467
494
|
packageName: PACKAGE_NAME,
|
|
495
|
+
migrationOptions: {
|
|
496
|
+
optInTransformResponse: true
|
|
497
|
+
},
|
|
468
498
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
469
499
|
{
|
|
470
500
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/items",
|
|
@@ -485,6 +515,9 @@ function joinToCollection(payload) {
|
|
|
485
515
|
method: "POST",
|
|
486
516
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.JoinToCollection",
|
|
487
517
|
packageName: PACKAGE_NAME,
|
|
518
|
+
migrationOptions: {
|
|
519
|
+
optInTransformResponse: true
|
|
520
|
+
},
|
|
488
521
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
489
522
|
{
|
|
490
523
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/members",
|
|
@@ -505,6 +538,9 @@ function leaveCollection(payload) {
|
|
|
505
538
|
method: "DELETE",
|
|
506
539
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.LeaveCollection",
|
|
507
540
|
packageName: PACKAGE_NAME,
|
|
541
|
+
migrationOptions: {
|
|
542
|
+
optInTransformResponse: true
|
|
543
|
+
},
|
|
508
544
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
509
545
|
{
|
|
510
546
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/members",
|
|
@@ -525,6 +561,9 @@ function listCollectionItems(payload) {
|
|
|
525
561
|
method: "GET",
|
|
526
562
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionItems",
|
|
527
563
|
packageName: PACKAGE_NAME,
|
|
564
|
+
migrationOptions: {
|
|
565
|
+
optInTransformResponse: true
|
|
566
|
+
},
|
|
528
567
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
529
568
|
{
|
|
530
569
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/items",
|