@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
|
@@ -438,6 +438,302 @@ declare enum PrivacySettings {
|
|
|
438
438
|
}
|
|
439
439
|
/** @enumType */
|
|
440
440
|
type PrivacySettingsWithLiterals = PrivacySettings | 'Undefined' | 'Public' | 'Secret';
|
|
441
|
+
interface PermanentSiteDeletedResponse {
|
|
442
|
+
/** @format GUID */
|
|
443
|
+
requestId?: string;
|
|
444
|
+
uniqueServiceIdentifier?: string;
|
|
445
|
+
status?: StatusWithLiterals;
|
|
446
|
+
/** @readonly */
|
|
447
|
+
createdDate?: Date | null;
|
|
448
|
+
}
|
|
449
|
+
declare enum Status {
|
|
450
|
+
UNKNOWN = "UNKNOWN",
|
|
451
|
+
HANDLED = "HANDLED",
|
|
452
|
+
NOTHING_TO_HANDLE = "NOTHING_TO_HANDLE"
|
|
453
|
+
}
|
|
454
|
+
/** @enumType */
|
|
455
|
+
type StatusWithLiterals = Status | 'UNKNOWN' | 'HANDLED' | 'NOTHING_TO_HANDLE';
|
|
456
|
+
interface Empty {
|
|
457
|
+
}
|
|
458
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
459
|
+
createdEvent?: EntityCreatedEvent;
|
|
460
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
461
|
+
deletedEvent?: EntityDeletedEvent;
|
|
462
|
+
actionEvent?: ActionEvent;
|
|
463
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
464
|
+
id?: string;
|
|
465
|
+
/**
|
|
466
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
467
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
468
|
+
*/
|
|
469
|
+
entityFqdn?: string;
|
|
470
|
+
/**
|
|
471
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
472
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
473
|
+
*/
|
|
474
|
+
slug?: string;
|
|
475
|
+
/** ID of the entity associated with the event. */
|
|
476
|
+
entityId?: string;
|
|
477
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
478
|
+
eventTime?: Date | null;
|
|
479
|
+
/**
|
|
480
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
481
|
+
* (for example, GDPR).
|
|
482
|
+
*/
|
|
483
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
484
|
+
/** If present, indicates the action that triggered the event. */
|
|
485
|
+
originatedFrom?: string | null;
|
|
486
|
+
/**
|
|
487
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
488
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
489
|
+
*/
|
|
490
|
+
entityEventSequence?: string | null;
|
|
491
|
+
}
|
|
492
|
+
/** @oneof */
|
|
493
|
+
interface DomainEventBodyOneOf {
|
|
494
|
+
createdEvent?: EntityCreatedEvent;
|
|
495
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
496
|
+
deletedEvent?: EntityDeletedEvent;
|
|
497
|
+
actionEvent?: ActionEvent;
|
|
498
|
+
}
|
|
499
|
+
interface EntityCreatedEvent {
|
|
500
|
+
entityAsJson?: string;
|
|
501
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
502
|
+
restoreInfo?: RestoreInfo;
|
|
503
|
+
}
|
|
504
|
+
interface RestoreInfo {
|
|
505
|
+
deletedDate?: Date | null;
|
|
506
|
+
}
|
|
507
|
+
interface EntityUpdatedEvent {
|
|
508
|
+
/**
|
|
509
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
510
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
511
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
512
|
+
*/
|
|
513
|
+
currentEntityAsJson?: string;
|
|
514
|
+
}
|
|
515
|
+
interface EntityDeletedEvent {
|
|
516
|
+
/** Entity that was deleted. */
|
|
517
|
+
deletedEntityAsJson?: string | null;
|
|
518
|
+
}
|
|
519
|
+
interface ActionEvent {
|
|
520
|
+
bodyAsJson?: string;
|
|
521
|
+
}
|
|
522
|
+
interface MessageEnvelope {
|
|
523
|
+
/**
|
|
524
|
+
* App instance ID.
|
|
525
|
+
* @format GUID
|
|
526
|
+
*/
|
|
527
|
+
instanceId?: string | null;
|
|
528
|
+
/**
|
|
529
|
+
* Event type.
|
|
530
|
+
* @maxLength 150
|
|
531
|
+
*/
|
|
532
|
+
eventType?: string;
|
|
533
|
+
/** The identification type and identity data. */
|
|
534
|
+
identity?: IdentificationData;
|
|
535
|
+
/** Stringify payload. */
|
|
536
|
+
data?: string;
|
|
537
|
+
}
|
|
538
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
539
|
+
/**
|
|
540
|
+
* ID of a site visitor that has not logged in to the site.
|
|
541
|
+
* @format GUID
|
|
542
|
+
*/
|
|
543
|
+
anonymousVisitorId?: string;
|
|
544
|
+
/**
|
|
545
|
+
* ID of a site visitor that has logged in to the site.
|
|
546
|
+
* @format GUID
|
|
547
|
+
*/
|
|
548
|
+
memberId?: string;
|
|
549
|
+
/**
|
|
550
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
551
|
+
* @format GUID
|
|
552
|
+
*/
|
|
553
|
+
wixUserId?: string;
|
|
554
|
+
/**
|
|
555
|
+
* ID of an app.
|
|
556
|
+
* @format GUID
|
|
557
|
+
*/
|
|
558
|
+
appId?: string;
|
|
559
|
+
/** @readonly */
|
|
560
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
561
|
+
}
|
|
562
|
+
/** @oneof */
|
|
563
|
+
interface IdentificationDataIdOneOf {
|
|
564
|
+
/**
|
|
565
|
+
* ID of a site visitor that has not logged in to the site.
|
|
566
|
+
* @format GUID
|
|
567
|
+
*/
|
|
568
|
+
anonymousVisitorId?: string;
|
|
569
|
+
/**
|
|
570
|
+
* ID of a site visitor that has logged in to the site.
|
|
571
|
+
* @format GUID
|
|
572
|
+
*/
|
|
573
|
+
memberId?: string;
|
|
574
|
+
/**
|
|
575
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
576
|
+
* @format GUID
|
|
577
|
+
*/
|
|
578
|
+
wixUserId?: string;
|
|
579
|
+
/**
|
|
580
|
+
* ID of an app.
|
|
581
|
+
* @format GUID
|
|
582
|
+
*/
|
|
583
|
+
appId?: string;
|
|
584
|
+
}
|
|
585
|
+
declare enum WebhookIdentityType {
|
|
586
|
+
UNKNOWN = "UNKNOWN",
|
|
587
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
588
|
+
MEMBER = "MEMBER",
|
|
589
|
+
WIX_USER = "WIX_USER",
|
|
590
|
+
APP = "APP"
|
|
591
|
+
}
|
|
592
|
+
/** @enumType */
|
|
593
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
594
|
+
interface AccountDetails {
|
|
595
|
+
/**
|
|
596
|
+
* ID of the account.
|
|
597
|
+
* @format GUID
|
|
598
|
+
*/
|
|
599
|
+
accountId?: string | null;
|
|
600
|
+
/**
|
|
601
|
+
* ID of the parent account.
|
|
602
|
+
* @format GUID
|
|
603
|
+
*/
|
|
604
|
+
parentAccountId?: string | null;
|
|
605
|
+
/**
|
|
606
|
+
* ID of the site, if applicable.
|
|
607
|
+
* @format GUID
|
|
608
|
+
*/
|
|
609
|
+
siteId?: string | null;
|
|
610
|
+
}
|
|
611
|
+
interface CollectionEvent extends CollectionEventEventTypeOneOf {
|
|
612
|
+
/** Collection created */
|
|
613
|
+
collectionCreated?: CollectionCreated;
|
|
614
|
+
/** Items added to collection */
|
|
615
|
+
itemsAddedToCollection?: ItemsAddedToCollection;
|
|
616
|
+
/** Items removed from collection */
|
|
617
|
+
itemsRemovedFromCollection?: ItemsRemovedFromCollection;
|
|
618
|
+
/** Member joined to collection */
|
|
619
|
+
memberJoinedToCollection?: MemberJoinedToCollection;
|
|
620
|
+
/** Member left collection */
|
|
621
|
+
memberLeftCollection?: MemberLeftCollection;
|
|
622
|
+
}
|
|
623
|
+
/** @oneof */
|
|
624
|
+
interface CollectionEventEventTypeOneOf {
|
|
625
|
+
/** Collection created */
|
|
626
|
+
collectionCreated?: CollectionCreated;
|
|
627
|
+
/** Items added to collection */
|
|
628
|
+
itemsAddedToCollection?: ItemsAddedToCollection;
|
|
629
|
+
/** Items removed from collection */
|
|
630
|
+
itemsRemovedFromCollection?: ItemsRemovedFromCollection;
|
|
631
|
+
/** Member joined to collection */
|
|
632
|
+
memberJoinedToCollection?: MemberJoinedToCollection;
|
|
633
|
+
/** Member left collection */
|
|
634
|
+
memberLeftCollection?: MemberLeftCollection;
|
|
635
|
+
}
|
|
636
|
+
interface CollectionItemId {
|
|
637
|
+
/**
|
|
638
|
+
* Id of the gallery in ProGallery
|
|
639
|
+
* @format GUID
|
|
640
|
+
*/
|
|
641
|
+
galleryId?: string;
|
|
642
|
+
/**
|
|
643
|
+
* Id of the item in ProGallery
|
|
644
|
+
* @format GUID
|
|
645
|
+
*/
|
|
646
|
+
itemId?: string;
|
|
647
|
+
}
|
|
648
|
+
interface CollectionCreated {
|
|
649
|
+
/**
|
|
650
|
+
* Collection id
|
|
651
|
+
* @format GUID
|
|
652
|
+
*/
|
|
653
|
+
id?: string;
|
|
654
|
+
/**
|
|
655
|
+
* Collection name
|
|
656
|
+
* @maxLength 100
|
|
657
|
+
*/
|
|
658
|
+
name?: string;
|
|
659
|
+
/**
|
|
660
|
+
* Collection description
|
|
661
|
+
* @maxLength 500
|
|
662
|
+
*/
|
|
663
|
+
description?: string | null;
|
|
664
|
+
/**
|
|
665
|
+
* Id of the member who created the collection
|
|
666
|
+
* @format GUID
|
|
667
|
+
*/
|
|
668
|
+
creatorMemberId?: string;
|
|
669
|
+
/** When the collection was created */
|
|
670
|
+
createdDate?: Date | null;
|
|
671
|
+
/** Privacy settings */
|
|
672
|
+
privacySettings?: PrivacySettingsWithLiterals;
|
|
673
|
+
}
|
|
674
|
+
interface ItemsAddedToCollection {
|
|
675
|
+
/**
|
|
676
|
+
* Id of the collection
|
|
677
|
+
* @format GUID
|
|
678
|
+
*/
|
|
679
|
+
collectionId?: string;
|
|
680
|
+
/**
|
|
681
|
+
* Id of the member who added items
|
|
682
|
+
* @format GUID
|
|
683
|
+
*/
|
|
684
|
+
addedByMember?: string;
|
|
685
|
+
/** Ids of the items that were added */
|
|
686
|
+
collectionItemIds?: CollectionItemId[];
|
|
687
|
+
/** When the items were added */
|
|
688
|
+
addedDate?: Date | null;
|
|
689
|
+
}
|
|
690
|
+
interface ItemsRemovedFromCollection {
|
|
691
|
+
/**
|
|
692
|
+
* Id of the collection
|
|
693
|
+
* @format GUID
|
|
694
|
+
*/
|
|
695
|
+
collectionId?: string;
|
|
696
|
+
/**
|
|
697
|
+
* Id of the member who removed items
|
|
698
|
+
* @format GUID
|
|
699
|
+
*/
|
|
700
|
+
removedByMember?: string;
|
|
701
|
+
/**
|
|
702
|
+
* Ids of the items that were removed
|
|
703
|
+
* @format GUID
|
|
704
|
+
*/
|
|
705
|
+
itemIds?: string[];
|
|
706
|
+
/** When the items were removed */
|
|
707
|
+
removedDate?: Date | null;
|
|
708
|
+
}
|
|
709
|
+
interface MemberJoinedToCollection {
|
|
710
|
+
/**
|
|
711
|
+
* Id of the collection
|
|
712
|
+
* @format GUID
|
|
713
|
+
*/
|
|
714
|
+
collectionId?: string;
|
|
715
|
+
/**
|
|
716
|
+
* Id of the member who joined
|
|
717
|
+
* @format GUID
|
|
718
|
+
*/
|
|
719
|
+
memberId?: string;
|
|
720
|
+
/** When the member was joined */
|
|
721
|
+
joinedDate?: Date | null;
|
|
722
|
+
}
|
|
723
|
+
interface MemberLeftCollection {
|
|
724
|
+
/**
|
|
725
|
+
* Id of the collection
|
|
726
|
+
* @format GUID
|
|
727
|
+
*/
|
|
728
|
+
collectionId?: string;
|
|
729
|
+
/**
|
|
730
|
+
* Id of the member who left
|
|
731
|
+
* @format GUID
|
|
732
|
+
*/
|
|
733
|
+
memberId?: string;
|
|
734
|
+
/** When the member left */
|
|
735
|
+
leftDate?: Date | null;
|
|
736
|
+
}
|
|
441
737
|
interface GetMediaCollectionRequest {
|
|
442
738
|
/**
|
|
443
739
|
* Collection id
|
|
@@ -613,6 +909,17 @@ interface PartiallyUpdateMediaCollectionRequest {
|
|
|
613
909
|
}
|
|
614
910
|
interface PartiallyUpdateMediaCollectionResponse {
|
|
615
911
|
}
|
|
912
|
+
interface UpdateCollectionLockRequest {
|
|
913
|
+
/**
|
|
914
|
+
* Collection to lock
|
|
915
|
+
* @format GUID
|
|
916
|
+
*/
|
|
917
|
+
mediaCollectionId?: string;
|
|
918
|
+
/** Lock status */
|
|
919
|
+
locked?: boolean;
|
|
920
|
+
}
|
|
921
|
+
interface UpdateCollectionLockResponse {
|
|
922
|
+
}
|
|
616
923
|
interface DeleteMediaCollectionRequest {
|
|
617
924
|
/**
|
|
618
925
|
* the collection to delete
|
|
@@ -670,6 +977,25 @@ interface RemoveItemsRequest {
|
|
|
670
977
|
}
|
|
671
978
|
interface RemoveItemsResponse {
|
|
672
979
|
}
|
|
980
|
+
interface UpdateItemsRequest {
|
|
981
|
+
/**
|
|
982
|
+
* Collection to update items
|
|
983
|
+
* @format GUID
|
|
984
|
+
*/
|
|
985
|
+
mediaCollectionId?: string;
|
|
986
|
+
items?: UpdateItem[];
|
|
987
|
+
}
|
|
988
|
+
interface UpdateItem {
|
|
989
|
+
/**
|
|
990
|
+
* Item to update
|
|
991
|
+
* @format GUID
|
|
992
|
+
*/
|
|
993
|
+
itemId?: string;
|
|
994
|
+
/** New order index of the item */
|
|
995
|
+
orderIndex?: number;
|
|
996
|
+
}
|
|
997
|
+
interface UpdateItemsResponse {
|
|
998
|
+
}
|
|
673
999
|
interface JoinToCollectionRequest {
|
|
674
1000
|
/**
|
|
675
1001
|
* Collection to join
|
|
@@ -679,6 +1005,20 @@ interface JoinToCollectionRequest {
|
|
|
679
1005
|
}
|
|
680
1006
|
interface JoinToCollectionResponse {
|
|
681
1007
|
}
|
|
1008
|
+
interface RemoveMemberFromCollectionRequest {
|
|
1009
|
+
/**
|
|
1010
|
+
* Collection the member will be removed from being a member
|
|
1011
|
+
* @format GUID
|
|
1012
|
+
*/
|
|
1013
|
+
mediaCollectionId?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* Member id to remove from the collection
|
|
1016
|
+
* @format GUID
|
|
1017
|
+
*/
|
|
1018
|
+
memberId?: string;
|
|
1019
|
+
}
|
|
1020
|
+
interface RemoveMemberFromCollectionResponse {
|
|
1021
|
+
}
|
|
682
1022
|
interface LeaveCollectionRequest {
|
|
683
1023
|
/**
|
|
684
1024
|
* Collection the member will be leaving
|
|
@@ -715,6 +1055,15 @@ interface CollectionItem {
|
|
|
715
1055
|
/** Date the item was added to the collection */
|
|
716
1056
|
addedDate?: Date | null;
|
|
717
1057
|
}
|
|
1058
|
+
interface ListAllItemsBelongToCollectionRequest {
|
|
1059
|
+
}
|
|
1060
|
+
interface ListAllItemsBelongToCollectionResponse {
|
|
1061
|
+
/**
|
|
1062
|
+
* List of the item ids that belong to one or more collection
|
|
1063
|
+
* @format GUID
|
|
1064
|
+
*/
|
|
1065
|
+
itemIds?: string[];
|
|
1066
|
+
}
|
|
718
1067
|
|
|
719
1068
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
720
1069
|
getUrl: (context: any) => string;
|
|
@@ -763,4 +1112,4 @@ declare function listCollectionItems(): __PublicMethodMetaInfo<'GET', {
|
|
|
763
1112
|
mediaCollectionId: string;
|
|
764
1113
|
}, ListCollectionItemsRequest$1, ListCollectionItemsRequest, ListCollectionItemsResponse$1, ListCollectionItemsResponse>;
|
|
765
1114
|
|
|
766
|
-
export { type __PublicMethodMetaInfo, _delete, addItems, create, get, getCollectionItem, joinToCollection, leaveCollection, list, listCollectionItems, listCollectionMembers, listCollectionsForItem, partiallyUpdate, removeItems };
|
|
1115
|
+
export { type AccountDetails as AccountDetailsOriginal, type ActionEvent as ActionEventOriginal, type AddItem as AddItemOriginal, type AddItemsRequest as AddItemsRequestOriginal, type AddItemsResponse as AddItemsResponseOriginal, type AddressLink as AddressLinkOriginal, type AnchorLink as AnchorLinkOriginal, type CollectionAndStatus as CollectionAndStatusOriginal, type CollectionCreated as CollectionCreatedOriginal, type CollectionEventEventTypeOneOf as CollectionEventEventTypeOneOfOriginal, type CollectionEvent as CollectionEventOriginal, type CollectionItemId as CollectionItemIdOriginal, type CollectionItem as CollectionItemOriginal, type CollectionMember as CollectionMemberOriginal, type CreateMediaCollectionRequest as CreateMediaCollectionRequestOriginal, type CreateMediaCollectionResponse as CreateMediaCollectionResponseOriginal, DataType as DataTypeOriginal, type DataTypeWithLiterals as DataTypeWithLiteralsOriginal, type DeleteMediaCollectionRequest as DeleteMediaCollectionRequestOriginal, type DeleteMediaCollectionResponse as DeleteMediaCollectionResponseOriginal, type DocumentLink as DocumentLinkOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DynamicPageLink as DynamicPageLinkOriginal, type EmailLink as EmailLinkOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExternalLink as ExternalLinkOriginal, type FilterBy as FilterByOriginal, type FilterByRoles as FilterByRolesOriginal, type GetCollectionItemRequest as GetCollectionItemRequestOriginal, type GetCollectionItemResponse as GetCollectionItemResponseOriginal, type GetMediaCollectionRequest as GetMediaCollectionRequestOriginal, type GetMediaCollectionResponse as GetMediaCollectionResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemInCollection as ItemInCollectionOriginal, type ItemsAddedToCollection as ItemsAddedToCollectionOriginal, type ItemsRemovedFromCollection as ItemsRemovedFromCollectionOriginal, type JoinToCollectionRequest as JoinToCollectionRequestOriginal, type JoinToCollectionResponse as JoinToCollectionResponseOriginal, type LeaveCollectionRequest as LeaveCollectionRequestOriginal, type LeaveCollectionResponse as LeaveCollectionResponseOriginal, type Link as LinkOriginal, LinkRel as LinkRelOriginal, type LinkRelWithLiterals as LinkRelWithLiteralsOriginal, type ListAllItemsBelongToCollectionRequest as ListAllItemsBelongToCollectionRequestOriginal, type ListAllItemsBelongToCollectionResponse as ListAllItemsBelongToCollectionResponseOriginal, type ListCollectionItemsRequest as ListCollectionItemsRequestOriginal, type ListCollectionItemsResponse as ListCollectionItemsResponseOriginal, type ListCollectionMembersRequest as ListCollectionMembersRequestOriginal, type ListCollectionMembersResponse as ListCollectionMembersResponseOriginal, type ListCollectionsForItemRequest as ListCollectionsForItemRequestOriginal, type ListCollectionsForItemResponse as ListCollectionsForItemResponseOriginal, type ListMediaCollectionsRequest as ListMediaCollectionsRequestOriginal, type ListMediaCollectionsResponse as ListMediaCollectionsResponseOriginal, type MediaCollectionItemMetadataOneOf as MediaCollectionItemMetadataOneOfOriginal, type MediaCollectionItem as MediaCollectionItemOriginal, type MediaCollection as MediaCollectionOriginal, MediaOwner as MediaOwnerOriginal, type MediaOwnerWithLiterals as MediaOwnerWithLiteralsOriginal, type MemberAndStatus as MemberAndStatusOriginal, type MemberJoinedToCollection as MemberJoinedToCollectionOriginal, type MemberLeftCollection as MemberLeftCollectionOriginal, MemberStatus as MemberStatusOriginal, type MemberStatusWithLiterals as MemberStatusWithLiteralsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type PageLink as PageLinkOriginal, type PartiallyUpdateMediaCollectionRequest as PartiallyUpdateMediaCollectionRequestOriginal, type PartiallyUpdateMediaCollectionResponse as PartiallyUpdateMediaCollectionResponseOriginal, type PermanentSiteDeletedResponse as PermanentSiteDeletedResponseOriginal, type PhoneLink as PhoneLinkOriginal, type PhotoMetadata as PhotoMetadataOriginal, type Point as PointOriginal, PrivacySettings as PrivacySettingsOriginal, type PrivacySettingsWithLiterals as PrivacySettingsWithLiteralsOriginal, type RemoveItemsRequest as RemoveItemsRequestOriginal, type RemoveItemsResponse as RemoveItemsResponseOriginal, type RemoveMemberFromCollectionRequest as RemoveMemberFromCollectionRequestOriginal, type RemoveMemberFromCollectionResponse as RemoveMemberFromCollectionResponseOriginal, type Resolution as ResolutionOriginal, type RestoreInfo as RestoreInfoOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type TextMetadata as TextMetadataOriginal, type Thumbnail as ThumbnailOriginal, type TpaPageLink as TpaPageLinkOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnsharpMasking as UnsharpMaskingOriginal, type UpdateCollectionLockRequest as UpdateCollectionLockRequestOriginal, type UpdateCollectionLockResponse as UpdateCollectionLockResponseOriginal, type UpdateItem as UpdateItemOriginal, type UpdateItemsRequest as UpdateItemsRequestOriginal, type UpdateItemsResponse as UpdateItemsResponseOriginal, type VideoMetadata as VideoMetadataOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WhatsAppLink as WhatsAppLinkOriginal, type WixLinkLinkOneOf as WixLinkLinkOneOfOriginal, type WixLink as WixLinkOriginal, type __PublicMethodMetaInfo, _delete, addItems, create, get, getCollectionItem, joinToCollection, leaveCollection, list, listCollectionItems, listCollectionMembers, listCollectionsForItem, partiallyUpdate, removeItems };
|
|
@@ -76,6 +76,9 @@ function get(payload) {
|
|
|
76
76
|
method: "GET",
|
|
77
77
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.Get",
|
|
78
78
|
packageName: PACKAGE_NAME,
|
|
79
|
+
migrationOptions: {
|
|
80
|
+
optInTransformResponse: true
|
|
81
|
+
},
|
|
79
82
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
80
83
|
{
|
|
81
84
|
protoPath: "/v1/mediacollections/{mediaCollectionId}",
|
|
@@ -129,6 +132,9 @@ function listCollectionsForItem(payload) {
|
|
|
129
132
|
method: "GET",
|
|
130
133
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionsForItem",
|
|
131
134
|
packageName: PACKAGE_NAME,
|
|
135
|
+
migrationOptions: {
|
|
136
|
+
optInTransformResponse: true
|
|
137
|
+
},
|
|
132
138
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
133
139
|
{
|
|
134
140
|
protoPath: "/v1/mediacollections/items/{itemId}/collections",
|
|
@@ -185,6 +191,9 @@ function getCollectionItem(payload) {
|
|
|
185
191
|
method: "GET",
|
|
186
192
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.GetCollectionItem",
|
|
187
193
|
packageName: PACKAGE_NAME,
|
|
194
|
+
migrationOptions: {
|
|
195
|
+
optInTransformResponse: true
|
|
196
|
+
},
|
|
188
197
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
189
198
|
{
|
|
190
199
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/items/{itemId}",
|
|
@@ -224,6 +233,9 @@ function list(payload) {
|
|
|
224
233
|
method: "GET",
|
|
225
234
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.List",
|
|
226
235
|
packageName: PACKAGE_NAME,
|
|
236
|
+
migrationOptions: {
|
|
237
|
+
optInTransformResponse: true
|
|
238
|
+
},
|
|
227
239
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
228
240
|
{ protoPath: "/v1/mediacollections", data: payload, host }
|
|
229
241
|
),
|
|
@@ -283,6 +295,9 @@ function create(payload) {
|
|
|
283
295
|
method: "POST",
|
|
284
296
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.Create",
|
|
285
297
|
packageName: PACKAGE_NAME,
|
|
298
|
+
migrationOptions: {
|
|
299
|
+
optInTransformResponse: true
|
|
300
|
+
},
|
|
286
301
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
287
302
|
{ protoPath: "/v1/mediacollections", data: serializedData, host }
|
|
288
303
|
),
|
|
@@ -328,6 +343,9 @@ function partiallyUpdate(payload) {
|
|
|
328
343
|
method: "PUT",
|
|
329
344
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.PartiallyUpdate",
|
|
330
345
|
packageName: PACKAGE_NAME,
|
|
346
|
+
migrationOptions: {
|
|
347
|
+
optInTransformResponse: true
|
|
348
|
+
},
|
|
331
349
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
332
350
|
{
|
|
333
351
|
protoPath: "/v1/mediacollections/{mediaCollection.id}",
|
|
@@ -348,6 +366,9 @@ function _delete(payload) {
|
|
|
348
366
|
method: "DELETE",
|
|
349
367
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService._delete",
|
|
350
368
|
packageName: PACKAGE_NAME,
|
|
369
|
+
migrationOptions: {
|
|
370
|
+
optInTransformResponse: true
|
|
371
|
+
},
|
|
351
372
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
352
373
|
{
|
|
353
374
|
protoPath: "/v1/mediacollections/{mediaCollectionId}",
|
|
@@ -368,6 +389,9 @@ function listCollectionMembers(payload) {
|
|
|
368
389
|
method: "GET",
|
|
369
390
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionMembers",
|
|
370
391
|
packageName: PACKAGE_NAME,
|
|
392
|
+
migrationOptions: {
|
|
393
|
+
optInTransformResponse: true
|
|
394
|
+
},
|
|
371
395
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
372
396
|
{
|
|
373
397
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/members",
|
|
@@ -394,6 +418,9 @@ function addItems(payload) {
|
|
|
394
418
|
method: "POST",
|
|
395
419
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.AddItems",
|
|
396
420
|
packageName: PACKAGE_NAME,
|
|
421
|
+
migrationOptions: {
|
|
422
|
+
optInTransformResponse: true
|
|
423
|
+
},
|
|
397
424
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
398
425
|
{
|
|
399
426
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/items",
|
|
@@ -414,6 +441,9 @@ function removeItems(payload) {
|
|
|
414
441
|
method: "DELETE",
|
|
415
442
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.RemoveItems",
|
|
416
443
|
packageName: PACKAGE_NAME,
|
|
444
|
+
migrationOptions: {
|
|
445
|
+
optInTransformResponse: true
|
|
446
|
+
},
|
|
417
447
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
418
448
|
{
|
|
419
449
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/items",
|
|
@@ -434,6 +464,9 @@ function joinToCollection(payload) {
|
|
|
434
464
|
method: "POST",
|
|
435
465
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.JoinToCollection",
|
|
436
466
|
packageName: PACKAGE_NAME,
|
|
467
|
+
migrationOptions: {
|
|
468
|
+
optInTransformResponse: true
|
|
469
|
+
},
|
|
437
470
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
438
471
|
{
|
|
439
472
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/members",
|
|
@@ -454,6 +487,9 @@ function leaveCollection(payload) {
|
|
|
454
487
|
method: "DELETE",
|
|
455
488
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.LeaveCollection",
|
|
456
489
|
packageName: PACKAGE_NAME,
|
|
490
|
+
migrationOptions: {
|
|
491
|
+
optInTransformResponse: true
|
|
492
|
+
},
|
|
457
493
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
458
494
|
{
|
|
459
495
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/members",
|
|
@@ -474,6 +510,9 @@ function listCollectionItems(payload) {
|
|
|
474
510
|
method: "GET",
|
|
475
511
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionItems",
|
|
476
512
|
packageName: PACKAGE_NAME,
|
|
513
|
+
migrationOptions: {
|
|
514
|
+
optInTransformResponse: true
|
|
515
|
+
},
|
|
477
516
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
478
517
|
{
|
|
479
518
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/items",
|
|
@@ -498,6 +537,70 @@ function listCollectionItems(payload) {
|
|
|
498
537
|
return __listCollectionItems;
|
|
499
538
|
}
|
|
500
539
|
|
|
540
|
+
// src/collections-v1-collection-media-collections.types.ts
|
|
541
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
542
|
+
Type2["Undefined"] = "Undefined";
|
|
543
|
+
Type2["External"] = "External";
|
|
544
|
+
Type2["Internal"] = "Internal";
|
|
545
|
+
return Type2;
|
|
546
|
+
})(Type || {});
|
|
547
|
+
var LinkRel = /* @__PURE__ */ ((LinkRel2) => {
|
|
548
|
+
LinkRel2["unknown_link_rel"] = "unknown_link_rel";
|
|
549
|
+
LinkRel2["nofollow"] = "nofollow";
|
|
550
|
+
LinkRel2["noopener"] = "noopener";
|
|
551
|
+
LinkRel2["noreferrer"] = "noreferrer";
|
|
552
|
+
LinkRel2["sponsored"] = "sponsored";
|
|
553
|
+
return LinkRel2;
|
|
554
|
+
})(LinkRel || {});
|
|
555
|
+
var DataType = /* @__PURE__ */ ((DataType2) => {
|
|
556
|
+
DataType2["Undefined"] = "Undefined";
|
|
557
|
+
DataType2["Photo"] = "Photo";
|
|
558
|
+
DataType2["Video"] = "Video";
|
|
559
|
+
DataType2["Text"] = "Text";
|
|
560
|
+
return DataType2;
|
|
561
|
+
})(DataType || {});
|
|
562
|
+
var Source = /* @__PURE__ */ ((Source2) => {
|
|
563
|
+
Source2["Undefined"] = "Undefined";
|
|
564
|
+
Source2["Youtube"] = "Youtube";
|
|
565
|
+
Source2["Vimeo"] = "Vimeo";
|
|
566
|
+
Source2["Custom"] = "Custom";
|
|
567
|
+
return Source2;
|
|
568
|
+
})(Source || {});
|
|
569
|
+
var MediaOwner = /* @__PURE__ */ ((MediaOwner2) => {
|
|
570
|
+
MediaOwner2["Undefined"] = "Undefined";
|
|
571
|
+
MediaOwner2["Wix"] = "Wix";
|
|
572
|
+
MediaOwner2["DeviantArt"] = "DeviantArt";
|
|
573
|
+
MediaOwner2["Custom"] = "Custom";
|
|
574
|
+
return MediaOwner2;
|
|
575
|
+
})(MediaOwner || {});
|
|
576
|
+
var PrivacySettings = /* @__PURE__ */ ((PrivacySettings2) => {
|
|
577
|
+
PrivacySettings2["Undefined"] = "Undefined";
|
|
578
|
+
PrivacySettings2["Public"] = "Public";
|
|
579
|
+
PrivacySettings2["Secret"] = "Secret";
|
|
580
|
+
return PrivacySettings2;
|
|
581
|
+
})(PrivacySettings || {});
|
|
582
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
583
|
+
Status2["UNKNOWN"] = "UNKNOWN";
|
|
584
|
+
Status2["HANDLED"] = "HANDLED";
|
|
585
|
+
Status2["NOTHING_TO_HANDLE"] = "NOTHING_TO_HANDLE";
|
|
586
|
+
return Status2;
|
|
587
|
+
})(Status || {});
|
|
588
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
589
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
590
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
591
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
592
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
593
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
594
|
+
return WebhookIdentityType2;
|
|
595
|
+
})(WebhookIdentityType || {});
|
|
596
|
+
var MemberStatus = /* @__PURE__ */ ((MemberStatus2) => {
|
|
597
|
+
MemberStatus2["UNDEFINED"] = "UNDEFINED";
|
|
598
|
+
MemberStatus2["NOT_MEMBER"] = "NOT_MEMBER";
|
|
599
|
+
MemberStatus2["MEMBER"] = "MEMBER";
|
|
600
|
+
MemberStatus2["ADMIN"] = "ADMIN";
|
|
601
|
+
return MemberStatus2;
|
|
602
|
+
})(MemberStatus || {});
|
|
603
|
+
|
|
501
604
|
// src/collections-v1-collection-media-collections.meta.ts
|
|
502
605
|
function get2() {
|
|
503
606
|
const payload = { mediaCollectionId: ":mediaCollectionId" };
|
|
@@ -737,6 +840,15 @@ function listCollectionItems2() {
|
|
|
737
840
|
};
|
|
738
841
|
}
|
|
739
842
|
export {
|
|
843
|
+
DataType as DataTypeOriginal,
|
|
844
|
+
LinkRel as LinkRelOriginal,
|
|
845
|
+
MediaOwner as MediaOwnerOriginal,
|
|
846
|
+
MemberStatus as MemberStatusOriginal,
|
|
847
|
+
PrivacySettings as PrivacySettingsOriginal,
|
|
848
|
+
Source as SourceOriginal,
|
|
849
|
+
Status as StatusOriginal,
|
|
850
|
+
Type as TypeOriginal,
|
|
851
|
+
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
740
852
|
_delete2 as _delete,
|
|
741
853
|
addItems2 as addItems,
|
|
742
854
|
create2 as create,
|