@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +39 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +18 -1
  5. package/build/cjs/index.typings.js +39 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +350 -1
  8. package/build/cjs/meta.js +121 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +39 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +18 -1
  14. package/build/es/index.typings.mjs +39 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +350 -1
  17. package/build/es/meta.mjs +112 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +39 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +18 -1
  23. package/build/internal/cjs/index.typings.js +39 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +350 -1
  26. package/build/internal/cjs/meta.js +121 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +39 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +18 -1
  32. package/build/internal/es/index.typings.mjs +39 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +350 -1
  35. package/build/internal/es/meta.mjs +112 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. 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 };
@@ -83,6 +83,9 @@ function get(payload) {
83
83
  method: "GET",
84
84
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.Get",
85
85
  packageName: PACKAGE_NAME,
86
+ migrationOptions: {
87
+ optInTransformResponse: true
88
+ },
86
89
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
87
90
  {
88
91
  protoPath: "/v1/mediacollections/{mediaCollectionId}",
@@ -136,6 +139,9 @@ function listCollectionsForItem(payload) {
136
139
  method: "GET",
137
140
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionsForItem",
138
141
  packageName: PACKAGE_NAME,
142
+ migrationOptions: {
143
+ optInTransformResponse: true
144
+ },
139
145
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
140
146
  {
141
147
  protoPath: "/v1/mediacollections/items/{itemId}/collections",
@@ -192,6 +198,9 @@ function getCollectionItem(payload) {
192
198
  method: "GET",
193
199
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.GetCollectionItem",
194
200
  packageName: PACKAGE_NAME,
201
+ migrationOptions: {
202
+ optInTransformResponse: true
203
+ },
195
204
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
196
205
  {
197
206
  protoPath: "/v1/mediacollections/{mediaCollectionId}/items/{itemId}",
@@ -231,6 +240,9 @@ function list(payload) {
231
240
  method: "GET",
232
241
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.List",
233
242
  packageName: PACKAGE_NAME,
243
+ migrationOptions: {
244
+ optInTransformResponse: true
245
+ },
234
246
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
235
247
  { protoPath: "/v1/mediacollections", data: payload, host }
236
248
  ),
@@ -290,6 +302,9 @@ function create(payload) {
290
302
  method: "POST",
291
303
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.Create",
292
304
  packageName: PACKAGE_NAME,
305
+ migrationOptions: {
306
+ optInTransformResponse: true
307
+ },
293
308
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
294
309
  { protoPath: "/v1/mediacollections", data: serializedData, host }
295
310
  ),
@@ -335,6 +350,9 @@ function partiallyUpdate(payload) {
335
350
  method: "PUT",
336
351
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.PartiallyUpdate",
337
352
  packageName: PACKAGE_NAME,
353
+ migrationOptions: {
354
+ optInTransformResponse: true
355
+ },
338
356
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
339
357
  {
340
358
  protoPath: "/v1/mediacollections/{mediaCollection.id}",
@@ -355,6 +373,9 @@ function _delete(payload) {
355
373
  method: "DELETE",
356
374
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService._delete",
357
375
  packageName: PACKAGE_NAME,
376
+ migrationOptions: {
377
+ optInTransformResponse: true
378
+ },
358
379
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
359
380
  {
360
381
  protoPath: "/v1/mediacollections/{mediaCollectionId}",
@@ -375,6 +396,9 @@ function listCollectionMembers(payload) {
375
396
  method: "GET",
376
397
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionMembers",
377
398
  packageName: PACKAGE_NAME,
399
+ migrationOptions: {
400
+ optInTransformResponse: true
401
+ },
378
402
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
379
403
  {
380
404
  protoPath: "/v1/mediacollections/{mediaCollectionId}/members",
@@ -401,6 +425,9 @@ function addItems(payload) {
401
425
  method: "POST",
402
426
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.AddItems",
403
427
  packageName: PACKAGE_NAME,
428
+ migrationOptions: {
429
+ optInTransformResponse: true
430
+ },
404
431
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
405
432
  {
406
433
  protoPath: "/v1/mediacollections/{mediaCollectionId}/items",
@@ -421,6 +448,9 @@ function removeItems(payload) {
421
448
  method: "DELETE",
422
449
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.RemoveItems",
423
450
  packageName: PACKAGE_NAME,
451
+ migrationOptions: {
452
+ optInTransformResponse: true
453
+ },
424
454
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
425
455
  {
426
456
  protoPath: "/v1/mediacollections/{mediaCollectionId}/items",
@@ -441,6 +471,9 @@ function joinToCollection(payload) {
441
471
  method: "POST",
442
472
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.JoinToCollection",
443
473
  packageName: PACKAGE_NAME,
474
+ migrationOptions: {
475
+ optInTransformResponse: true
476
+ },
444
477
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
445
478
  {
446
479
  protoPath: "/v1/mediacollections/{mediaCollectionId}/members",
@@ -461,6 +494,9 @@ function leaveCollection(payload) {
461
494
  method: "DELETE",
462
495
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.LeaveCollection",
463
496
  packageName: PACKAGE_NAME,
497
+ migrationOptions: {
498
+ optInTransformResponse: true
499
+ },
464
500
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
465
501
  {
466
502
  protoPath: "/v1/mediacollections/{mediaCollectionId}/members",
@@ -481,6 +517,9 @@ function listCollectionItems(payload) {
481
517
  method: "GET",
482
518
  methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionItems",
483
519
  packageName: PACKAGE_NAME,
520
+ migrationOptions: {
521
+ optInTransformResponse: true
522
+ },
484
523
  url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
485
524
  {
486
525
  protoPath: "/v1/mediacollections/{mediaCollectionId}/items",