@wix/pro-gallery 1.0.50 → 1.0.52

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.
@@ -478,6 +478,8 @@ interface HtmlSiteRCPublished {
478
478
  revision?: string;
479
479
  /** Optional branch Id */
480
480
  branchId?: string | null;
481
+ /** Site's publish date */
482
+ publishDate?: string;
481
483
  }
482
484
  interface DomainEvent extends DomainEventBodyOneOf {
483
485
  /** Information about a newly-created gallery. */
@@ -532,6 +534,9 @@ interface DomainEventBodyOneOf {
532
534
  interface EntityCreatedEvent {
533
535
  entity?: string;
534
536
  }
537
+ interface RestoreInfo {
538
+ deletedDate?: Date;
539
+ }
535
540
  interface EntityUpdatedEvent {
536
541
  /**
537
542
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -843,6 +848,19 @@ interface DeleteGalleryItemsResponse {
843
848
  /** Gallery that previously included the deleted media item. */
844
849
  gallery?: Gallery;
845
850
  }
851
+ interface BulkDeleteGalleryItemsRequest {
852
+ /** Gallery ID. */
853
+ galleryId?: string;
854
+ /** ID of the media item to delete. */
855
+ itemIds?: string[];
856
+ }
857
+ interface BulkDeleteGalleryItemsResponse {
858
+ /**
859
+ * ID of the deleted media items.
860
+ * @readonly
861
+ */
862
+ itemIds?: string[];
863
+ }
846
864
  interface CreateGalleryItemRequest {
847
865
  /** Gallery ID. */
848
866
  galleryId: string;
@@ -894,192 +912,123 @@ interface PublishGalleryResponse {
894
912
  /** Published gallery. */
895
913
  gallery?: Gallery;
896
914
  }
897
- interface UndeleteInfo {
898
- deletedDate?: Date;
915
+ interface PointNonNullableFields {
916
+ x: number;
917
+ y: number;
918
+ }
919
+ interface ImageNonNullableFields {
920
+ type: ImageType;
921
+ imageInfo: string;
922
+ focalPoint?: PointNonNullableFields;
923
+ }
924
+ interface VideoNonNullableFields {
925
+ type: VideoType;
926
+ videoInfo: string;
927
+ }
928
+ interface ExternalLinkNonNullableFields {
929
+ url: string;
930
+ }
931
+ interface PageLinkNonNullableFields {
932
+ pageId: string;
933
+ rel: LinkRel[];
934
+ }
935
+ interface AnchorLinkNonNullableFields {
936
+ anchorName: string;
937
+ anchorDataId: string;
938
+ pageId: string;
939
+ rel: LinkRel[];
940
+ }
941
+ interface DynamicPageLinkNonNullableFields {
942
+ routerId: string;
943
+ innerRoute: string;
944
+ rel: LinkRel[];
945
+ }
946
+ interface DocumentLinkNonNullableFields {
947
+ docId: string;
948
+ indexable: boolean;
949
+ }
950
+ interface EmailLinkNonNullableFields {
951
+ recipient: string;
952
+ }
953
+ interface PhoneLinkNonNullableFields {
954
+ phoneNumber: string;
955
+ }
956
+ interface AddressLinkNonNullableFields {
957
+ address: string;
958
+ }
959
+ interface WhatsAppLinkNonNullableFields {
960
+ phoneNumber: string;
961
+ }
962
+ interface TpaPageLinkNonNullableFields {
963
+ itemTypeIdentifier: string;
964
+ itemId: string;
965
+ pageId: string;
966
+ appDefinitionId: string;
967
+ path: string;
968
+ rel: LinkRel[];
969
+ }
970
+ interface WixLinkNonNullableFields {
971
+ external?: ExternalLinkNonNullableFields;
972
+ page?: PageLinkNonNullableFields;
973
+ anchor?: AnchorLinkNonNullableFields;
974
+ dynamicPage?: DynamicPageLinkNonNullableFields;
975
+ document?: DocumentLinkNonNullableFields;
976
+ email?: EmailLinkNonNullableFields;
977
+ phone?: PhoneLinkNonNullableFields;
978
+ address?: AddressLinkNonNullableFields;
979
+ whatsApp?: WhatsAppLinkNonNullableFields;
980
+ tpaPage?: TpaPageLinkNonNullableFields;
981
+ }
982
+ interface LinkNonNullableFields {
983
+ type: LinkType;
984
+ wixLinkData?: WixLinkNonNullableFields;
985
+ }
986
+ interface TagsNonNullableFields {
987
+ values: string[];
988
+ }
989
+ interface SecondaryMediaNonNullableFields {
990
+ image?: ImageNonNullableFields;
991
+ }
992
+ interface ItemNonNullableFields {
993
+ image?: ImageNonNullableFields;
994
+ video?: VideoNonNullableFields;
995
+ link?: LinkNonNullableFields;
996
+ type: Type;
997
+ tags?: TagsNonNullableFields;
998
+ secondaryMedia?: SecondaryMediaNonNullableFields;
999
+ }
1000
+ interface GalleryNonNullableFields {
1001
+ items: ItemNonNullableFields[];
899
1002
  }
900
1003
  interface ListGalleriesResponseNonNullableFields {
901
- galleries: {
902
- items: {
903
- image?: {
904
- imageInfo: string;
905
- focalPoint?: {
906
- x: number;
907
- y: number;
908
- };
909
- };
910
- video?: {
911
- type: VideoType;
912
- videoInfo: string;
913
- };
914
- type: Type;
915
- tags?: {
916
- values: string[];
917
- };
918
- }[];
919
- }[];
1004
+ galleries: GalleryNonNullableFields[];
920
1005
  }
921
1006
  interface GetGalleryResponseNonNullableFields {
922
- gallery?: {
923
- items: {
924
- image?: {
925
- imageInfo: string;
926
- focalPoint?: {
927
- x: number;
928
- y: number;
929
- };
930
- };
931
- video?: {
932
- type: VideoType;
933
- videoInfo: string;
934
- };
935
- type: Type;
936
- tags?: {
937
- values: string[];
938
- };
939
- }[];
940
- };
1007
+ gallery?: GalleryNonNullableFields;
941
1008
  }
942
1009
  interface ListGalleryItemsResponseNonNullableFields {
943
- items: {
944
- image?: {
945
- imageInfo: string;
946
- focalPoint?: {
947
- x: number;
948
- y: number;
949
- };
950
- };
951
- video?: {
952
- type: VideoType;
953
- videoInfo: string;
954
- };
955
- type: Type;
956
- tags?: {
957
- values: string[];
958
- };
959
- }[];
1010
+ items: ItemNonNullableFields[];
960
1011
  }
961
1012
  interface GetGalleryItemResponseNonNullableFields {
962
- item?: {
963
- image?: {
964
- imageInfo: string;
965
- focalPoint?: {
966
- x: number;
967
- y: number;
968
- };
969
- };
970
- video?: {
971
- type: VideoType;
972
- videoInfo: string;
973
- };
974
- type: Type;
975
- tags?: {
976
- values: string[];
977
- };
978
- };
1013
+ item?: ItemNonNullableFields;
979
1014
  }
980
1015
  interface CreateGalleryResponseNonNullableFields {
981
- gallery?: {
982
- items: {
983
- image?: {
984
- imageInfo: string;
985
- focalPoint?: {
986
- x: number;
987
- y: number;
988
- };
989
- };
990
- video?: {
991
- type: VideoType;
992
- videoInfo: string;
993
- };
994
- type: Type;
995
- tags?: {
996
- values: string[];
997
- };
998
- }[];
999
- };
1016
+ gallery?: GalleryNonNullableFields;
1000
1017
  }
1001
1018
  interface UpdateGalleryResponseNonNullableFields {
1002
- gallery?: {
1003
- items: {
1004
- image?: {
1005
- imageInfo: string;
1006
- focalPoint?: {
1007
- x: number;
1008
- y: number;
1009
- };
1010
- };
1011
- video?: {
1012
- type: VideoType;
1013
- videoInfo: string;
1014
- };
1015
- type: Type;
1016
- tags?: {
1017
- values: string[];
1018
- };
1019
- }[];
1020
- };
1019
+ gallery?: GalleryNonNullableFields;
1021
1020
  }
1022
1021
  interface DeleteGalleryResponseNonNullableFields {
1023
1022
  galleryId: string;
1024
1023
  }
1025
1024
  interface DeleteGalleryItemsResponseNonNullableFields {
1026
- gallery?: {
1027
- items: {
1028
- image?: {
1029
- imageInfo: string;
1030
- focalPoint?: {
1031
- x: number;
1032
- y: number;
1033
- };
1034
- };
1035
- video?: {
1036
- type: VideoType;
1037
- videoInfo: string;
1038
- };
1039
- type: Type;
1040
- tags?: {
1041
- values: string[];
1042
- };
1043
- }[];
1044
- };
1025
+ gallery?: GalleryNonNullableFields;
1045
1026
  }
1046
1027
  interface CreateGalleryItemResponseNonNullableFields {
1047
- item?: {
1048
- image?: {
1049
- imageInfo: string;
1050
- focalPoint?: {
1051
- x: number;
1052
- y: number;
1053
- };
1054
- };
1055
- video?: {
1056
- type: VideoType;
1057
- videoInfo: string;
1058
- };
1059
- type: Type;
1060
- tags?: {
1061
- values: string[];
1062
- };
1063
- };
1028
+ item?: ItemNonNullableFields;
1064
1029
  }
1065
1030
  interface UpdateGalleryItemResponseNonNullableFields {
1066
- item?: {
1067
- image?: {
1068
- imageInfo: string;
1069
- focalPoint?: {
1070
- x: number;
1071
- y: number;
1072
- };
1073
- };
1074
- video?: {
1075
- type: VideoType;
1076
- videoInfo: string;
1077
- };
1078
- type: Type;
1079
- tags?: {
1080
- values: string[];
1081
- };
1082
- };
1031
+ item?: ItemNonNullableFields;
1083
1032
  }
1084
1033
  interface DeleteGalleryItemResponseNonNullableFields {
1085
1034
  itemId: string;
@@ -1285,9 +1234,11 @@ interface DeleteGalleryItemIdentifiers {
1285
1234
  itemId: string;
1286
1235
  }
1287
1236
 
1237
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
1288
1238
  interface HttpClient {
1289
1239
  request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
1290
- fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
1240
+ fetchWithAuth: typeof fetch;
1241
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
1291
1242
  }
1292
1243
  type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
1293
1244
  type HttpResponse<T = any> = {
@@ -1308,6 +1259,7 @@ type APIMetadata = {
1308
1259
  entityFqdn?: string;
1309
1260
  packageName?: string;
1310
1261
  };
1262
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
1311
1263
  type EventDefinition<Payload = unknown, Type extends string = string> = {
1312
1264
  __type: 'event-definition';
1313
1265
  type: Type;
@@ -1316,6 +1268,8 @@ type EventDefinition<Payload = unknown, Type extends string = string> = {
1316
1268
  __payload: Payload;
1317
1269
  };
1318
1270
  declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
1271
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
1272
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
1319
1273
 
1320
1274
  declare global {
1321
1275
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
@@ -1324,134 +1278,35 @@ declare global {
1324
1278
  }
1325
1279
  }
1326
1280
 
1327
- declare const __metadata: {
1328
- PACKAGE_NAME: string;
1329
- };
1330
- declare function listGalleries(httpClient: HttpClient): (options?: ListGalleriesOptions) => Promise<ListGalleriesResponse & ListGalleriesResponseNonNullableFields>;
1331
- declare function getGallery(httpClient: HttpClient): (galleryId: string, options?: GetGalleryOptions) => Promise<Gallery & {
1332
- items: {
1333
- image?: {
1334
- imageInfo: string;
1335
- focalPoint?: {
1336
- x: number;
1337
- y: number;
1338
- } | undefined;
1339
- } | undefined;
1340
- video?: {
1341
- type: VideoType;
1342
- videoInfo: string;
1343
- } | undefined;
1344
- type: Type;
1345
- tags?: {
1346
- values: string[];
1347
- } | undefined;
1348
- }[];
1349
- }>;
1350
- declare function listGalleryItems(httpClient: HttpClient): (galleryId: string, options?: ListGalleryItemsOptions) => Promise<ListGalleryItemsResponse & ListGalleryItemsResponseNonNullableFields>;
1351
- declare function getGalleryItem(httpClient: HttpClient): (identifiers: GetGalleryItemIdentifiers) => Promise<Item & {
1352
- image?: {
1353
- imageInfo: string;
1354
- focalPoint?: {
1355
- x: number;
1356
- y: number;
1357
- } | undefined;
1358
- } | undefined;
1359
- video?: {
1360
- type: VideoType;
1361
- videoInfo: string;
1362
- } | undefined;
1363
- type: Type;
1364
- tags?: {
1365
- values: string[];
1366
- } | undefined;
1367
- }>;
1368
- declare function createGallery(httpClient: HttpClient): (options?: CreateGalleryOptions) => Promise<Gallery & {
1369
- items: {
1370
- image?: {
1371
- imageInfo: string;
1372
- focalPoint?: {
1373
- x: number;
1374
- y: number;
1375
- } | undefined;
1376
- } | undefined;
1377
- video?: {
1378
- type: VideoType;
1379
- videoInfo: string;
1380
- } | undefined;
1381
- type: Type;
1382
- tags?: {
1383
- values: string[];
1384
- } | undefined;
1385
- }[];
1386
- }>;
1387
- declare function updateGallery(httpClient: HttpClient): (_id: string | null, gallery: UpdateGallery) => Promise<Gallery & {
1388
- items: {
1389
- image?: {
1390
- imageInfo: string;
1391
- focalPoint?: {
1392
- x: number;
1393
- y: number;
1394
- } | undefined;
1395
- } | undefined;
1396
- video?: {
1397
- type: VideoType;
1398
- videoInfo: string;
1399
- } | undefined;
1400
- type: Type;
1401
- tags?: {
1402
- values: string[];
1403
- } | undefined;
1404
- }[];
1405
- }>;
1406
- declare function deleteGallery(httpClient: HttpClient): (galleryId: string) => Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
1407
- declare function deleteGalleryItems(httpClient: HttpClient): (galleryId: string, options?: DeleteGalleryItemsOptions) => Promise<DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields>;
1408
- declare function createGalleryItem(httpClient: HttpClient): (galleryId: string, item: Item) => Promise<Item & {
1409
- image?: {
1410
- imageInfo: string;
1411
- focalPoint?: {
1412
- x: number;
1413
- y: number;
1414
- } | undefined;
1415
- } | undefined;
1416
- video?: {
1417
- type: VideoType;
1418
- videoInfo: string;
1419
- } | undefined;
1420
- type: Type;
1421
- tags?: {
1422
- values: string[];
1423
- } | undefined;
1424
- }>;
1425
- declare function updateGalleryItem(httpClient: HttpClient): (identifiers: UpdateGalleryItemIdentifiers, item: UpdateGalleryItem) => Promise<Item & {
1426
- image?: {
1427
- imageInfo: string;
1428
- focalPoint?: {
1429
- x: number;
1430
- y: number;
1431
- } | undefined;
1432
- } | undefined;
1433
- video?: {
1434
- type: VideoType;
1435
- videoInfo: string;
1436
- } | undefined;
1437
- type: Type;
1438
- tags?: {
1439
- values: string[];
1440
- } | undefined;
1441
- }>;
1442
- declare function deleteGalleryItem(httpClient: HttpClient): (identifiers: DeleteGalleryItemIdentifiers) => Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
1443
- declare const onGalleryCreated: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
1444
- declare const onGalleryUpdated: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
1445
- declare const onGalleryDeleted: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
1446
- declare const onGalleryItemCreated: EventDefinition<GalleryItemCreatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_created">;
1447
- declare const onGalleryItemUpdated: EventDefinition<GalleryItemUpdatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_updated">;
1448
- declare const onGalleryItemDeleted: EventDefinition<GalleryItemDeletedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_deleted">;
1281
+ declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1282
+
1283
+ declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1284
+
1285
+ declare const listGalleries: ReturnType<typeof createRESTModule<typeof publicListGalleries>>;
1286
+ declare const getGallery: ReturnType<typeof createRESTModule<typeof publicGetGallery>>;
1287
+ declare const listGalleryItems: ReturnType<typeof createRESTModule<typeof publicListGalleryItems>>;
1288
+ declare const getGalleryItem: ReturnType<typeof createRESTModule<typeof publicGetGalleryItem>>;
1289
+ declare const createGallery: ReturnType<typeof createRESTModule<typeof publicCreateGallery>>;
1290
+ declare const updateGallery: ReturnType<typeof createRESTModule<typeof publicUpdateGallery>>;
1291
+ declare const deleteGallery: ReturnType<typeof createRESTModule<typeof publicDeleteGallery>>;
1292
+ declare const deleteGalleryItems: ReturnType<typeof createRESTModule<typeof publicDeleteGalleryItems>>;
1293
+ declare const createGalleryItem: ReturnType<typeof createRESTModule<typeof publicCreateGalleryItem>>;
1294
+ declare const updateGalleryItem: ReturnType<typeof createRESTModule<typeof publicUpdateGalleryItem>>;
1295
+ declare const deleteGalleryItem: ReturnType<typeof createRESTModule<typeof publicDeleteGalleryItem>>;
1296
+ declare const onGalleryCreated: ReturnType<typeof createEventModule<typeof publicOnGalleryCreated>>;
1297
+ declare const onGalleryUpdated: ReturnType<typeof createEventModule<typeof publicOnGalleryUpdated>>;
1298
+ declare const onGalleryDeleted: ReturnType<typeof createEventModule<typeof publicOnGalleryDeleted>>;
1299
+ declare const onGalleryItemCreated: ReturnType<typeof createEventModule<typeof publicOnGalleryItemCreated>>;
1300
+ declare const onGalleryItemUpdated: ReturnType<typeof createEventModule<typeof publicOnGalleryItemUpdated>>;
1301
+ declare const onGalleryItemDeleted: ReturnType<typeof createEventModule<typeof publicOnGalleryItemDeleted>>;
1449
1302
 
1450
1303
  type index_d_ActionEvent = ActionEvent;
1451
1304
  type index_d_AddressLink = AddressLink;
1452
1305
  type index_d_AnchorLink = AnchorLink;
1453
1306
  type index_d_App = App;
1454
1307
  type index_d_BaseEventMetadata = BaseEventMetadata;
1308
+ type index_d_BulkDeleteGalleryItemsRequest = BulkDeleteGalleryItemsRequest;
1309
+ type index_d_BulkDeleteGalleryItemsResponse = BulkDeleteGalleryItemsResponse;
1455
1310
  type index_d_CleanDeletedGalleriesEvent = CleanDeletedGalleriesEvent;
1456
1311
  type index_d_CreateGalleryItemRequest = CreateGalleryItemRequest;
1457
1312
  type index_d_CreateGalleryItemResponse = CreateGalleryItemResponse;
@@ -1502,6 +1357,7 @@ type index_d_GalleryItemDeleted = GalleryItemDeleted;
1502
1357
  type index_d_GalleryItemDeletedEnvelope = GalleryItemDeletedEnvelope;
1503
1358
  type index_d_GalleryItemUpdated = GalleryItemUpdated;
1504
1359
  type index_d_GalleryItemUpdatedEnvelope = GalleryItemUpdatedEnvelope;
1360
+ type index_d_GalleryNonNullableFields = GalleryNonNullableFields;
1505
1361
  type index_d_GalleryPublished = GalleryPublished;
1506
1362
  type index_d_GalleryUpdatedEnvelope = GalleryUpdatedEnvelope;
1507
1363
  type index_d_GetGalleryItemIdentifiers = GetGalleryItemIdentifiers;
@@ -1526,6 +1382,7 @@ type index_d_InvalidateCacheGetByOneOf = InvalidateCacheGetByOneOf;
1526
1382
  type index_d_Item = Item;
1527
1383
  type index_d_ItemId = ItemId;
1528
1384
  type index_d_ItemMetadataOneOf = ItemMetadataOneOf;
1385
+ type index_d_ItemNonNullableFields = ItemNonNullableFields;
1529
1386
  type index_d_ItemsInGallery = ItemsInGallery;
1530
1387
  type index_d_Link = Link;
1531
1388
  type index_d_LinkRel = LinkRel;
@@ -1555,6 +1412,7 @@ type index_d_PublishGalleryItemsRequest = PublishGalleryItemsRequest;
1555
1412
  type index_d_PublishGalleryItemsResponse = PublishGalleryItemsResponse;
1556
1413
  type index_d_PublishGalleryRequest = PublishGalleryRequest;
1557
1414
  type index_d_PublishGalleryResponse = PublishGalleryResponse;
1415
+ type index_d_RestoreInfo = RestoreInfo;
1558
1416
  type index_d_SearchIndexingNotification = SearchIndexingNotification;
1559
1417
  type index_d_SearchIndexingNotificationState = SearchIndexingNotificationState;
1560
1418
  declare const index_d_SearchIndexingNotificationState: typeof SearchIndexingNotificationState;
@@ -1568,7 +1426,6 @@ type index_d_TpaPageLink = TpaPageLink;
1568
1426
  type index_d_Type = Type;
1569
1427
  declare const index_d_Type: typeof Type;
1570
1428
  type index_d_URI = URI;
1571
- type index_d_UndeleteInfo = UndeleteInfo;
1572
1429
  type index_d_UnsharpMasking = UnsharpMasking;
1573
1430
  type index_d_UpdateByFilterOperation = UpdateByFilterOperation;
1574
1431
  type index_d_UpdateDocumentsEvent = UpdateDocumentsEvent;
@@ -1592,7 +1449,6 @@ declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
1592
1449
  type index_d_WhatsAppLink = WhatsAppLink;
1593
1450
  type index_d_WixLink = WixLink;
1594
1451
  type index_d_WixLinkLinkOneOf = WixLinkLinkOneOf;
1595
- declare const index_d___metadata: typeof __metadata;
1596
1452
  declare const index_d_createGallery: typeof createGallery;
1597
1453
  declare const index_d_createGalleryItem: typeof createGalleryItem;
1598
1454
  declare const index_d_deleteGallery: typeof deleteGallery;
@@ -1611,7 +1467,7 @@ declare const index_d_onGalleryUpdated: typeof onGalleryUpdated;
1611
1467
  declare const index_d_updateGallery: typeof updateGallery;
1612
1468
  declare const index_d_updateGalleryItem: typeof updateGalleryItem;
1613
1469
  declare namespace index_d {
1614
- export { type index_d_ActionEvent as ActionEvent, type index_d_AddressLink as AddressLink, type index_d_AnchorLink as AnchorLink, type index_d_App as App, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CleanDeletedGalleriesEvent as CleanDeletedGalleriesEvent, type index_d_CreateGalleryItemRequest as CreateGalleryItemRequest, type index_d_CreateGalleryItemResponse as CreateGalleryItemResponse, type index_d_CreateGalleryItemResponseNonNullableFields as CreateGalleryItemResponseNonNullableFields, type index_d_CreateGalleryItemsRequest as CreateGalleryItemsRequest, type index_d_CreateGalleryItemsResponse as CreateGalleryItemsResponse, type index_d_CreateGalleryOptions as CreateGalleryOptions, type index_d_CreateGalleryRequest as CreateGalleryRequest, type index_d_CreateGalleryResponse as CreateGalleryResponse, type index_d_CreateGalleryResponseNonNullableFields as CreateGalleryResponseNonNullableFields, type index_d_DeleteByFilterOperation as DeleteByFilterOperation, type index_d_DeleteByIdsOperation as DeleteByIdsOperation, type index_d_DeleteGalleryItemIdentifiers as DeleteGalleryItemIdentifiers, type index_d_DeleteGalleryItemRequest as DeleteGalleryItemRequest, type index_d_DeleteGalleryItemResponse as DeleteGalleryItemResponse, type index_d_DeleteGalleryItemResponseNonNullableFields as DeleteGalleryItemResponseNonNullableFields, type index_d_DeleteGalleryItemsOptions as DeleteGalleryItemsOptions, type index_d_DeleteGalleryItemsRequest as DeleteGalleryItemsRequest, type index_d_DeleteGalleryItemsResponse as DeleteGalleryItemsResponse, type index_d_DeleteGalleryItemsResponseNonNullableFields as DeleteGalleryItemsResponseNonNullableFields, type index_d_DeleteGalleryRequest as DeleteGalleryRequest, type index_d_DeleteGalleryResponse as DeleteGalleryResponse, type index_d_DeleteGalleryResponseNonNullableFields as DeleteGalleryResponseNonNullableFields, type index_d_DocumentImage as DocumentImage, type index_d_DocumentLink as DocumentLink, type index_d_DocumentPayload as DocumentPayload, type index_d_DocumentUpdateOperation as DocumentUpdateOperation, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_DynamicPageLink as DynamicPageLink, type index_d_EmailLink as EmailLink, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, index_d_Enum as Enum, type index_d_EventMetadata as EventMetadata, type index_d_EventsPage as EventsPage, type index_d_ExternalLink as ExternalLink, type index_d_File as File, type index_d_Gallery as Gallery, type index_d_GalleryCreatedEnvelope as GalleryCreatedEnvelope, type index_d_GalleryDeletedEnvelope as GalleryDeletedEnvelope, type index_d_GalleryItemCreated as GalleryItemCreated, type index_d_GalleryItemCreatedEnvelope as GalleryItemCreatedEnvelope, type index_d_GalleryItemDeleted as GalleryItemDeleted, type index_d_GalleryItemDeletedEnvelope as GalleryItemDeletedEnvelope, type index_d_GalleryItemUpdated as GalleryItemUpdated, type index_d_GalleryItemUpdatedEnvelope as GalleryItemUpdatedEnvelope, type index_d_GalleryPublished as GalleryPublished, type index_d_GalleryUpdatedEnvelope as GalleryUpdatedEnvelope, type index_d_GetGalleryItemIdentifiers as GetGalleryItemIdentifiers, type index_d_GetGalleryItemRequest as GetGalleryItemRequest, type index_d_GetGalleryItemResponse as GetGalleryItemResponse, type index_d_GetGalleryItemResponseNonNullableFields as GetGalleryItemResponseNonNullableFields, type index_d_GetGalleryOptions as GetGalleryOptions, type index_d_GetGalleryRequest as GetGalleryRequest, type index_d_GetGalleryRequestVersionOneOf as GetGalleryRequestVersionOneOf, type index_d_GetGalleryResponse as GetGalleryResponse, type index_d_GetGalleryResponseNonNullableFields as GetGalleryResponseNonNullableFields, type index_d_HtmlSitePublished as HtmlSitePublished, type index_d_HtmlSiteRCPublished as HtmlSiteRCPublished, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Image as Image, index_d_ImageType as ImageType, type index_d_IndexDocument as IndexDocument, type index_d_InvalidateCache as InvalidateCache, type index_d_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d_Item as Item, type index_d_ItemId as ItemId, type index_d_ItemMetadataOneOf as ItemMetadataOneOf, type index_d_ItemsInGallery as ItemsInGallery, type index_d_Link as Link, index_d_LinkRel as LinkRel, index_d_LinkType as LinkType, type index_d_ListGalleriesItemsRequest as ListGalleriesItemsRequest, type index_d_ListGalleriesItemsResponse as ListGalleriesItemsResponse, type index_d_ListGalleriesOptions as ListGalleriesOptions, type index_d_ListGalleriesRequest as ListGalleriesRequest, type index_d_ListGalleriesResponse as ListGalleriesResponse, type index_d_ListGalleriesResponseNonNullableFields as ListGalleriesResponseNonNullableFields, type index_d_ListGalleryItemsOptions as ListGalleryItemsOptions, type index_d_ListGalleryItemsRequest as ListGalleryItemsRequest, type index_d_ListGalleryItemsResponse as ListGalleryItemsResponse, type index_d_ListGalleryItemsResponseNonNullableFields as ListGalleryItemsResponseNonNullableFields, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Page as Page, type index_d_PageLink as PageLink, type index_d_PhoneLink as PhoneLink, type index_d_Point as Point, type index_d_ProgallerypublisherPublishGalleryRequest as ProgallerypublisherPublishGalleryRequest, type index_d_ProgallerypublisherPublishGalleryResponse as ProgallerypublisherPublishGalleryResponse, type index_d_PublishGalleryItemRequest as PublishGalleryItemRequest, type index_d_PublishGalleryItemResponse as PublishGalleryItemResponse, type index_d_PublishGalleryItemsRequest as PublishGalleryItemsRequest, type index_d_PublishGalleryItemsResponse as PublishGalleryItemsResponse, type index_d_PublishGalleryRequest as PublishGalleryRequest, type index_d_PublishGalleryResponse as PublishGalleryResponse, type index_d_SearchIndexingNotification as SearchIndexingNotification, index_d_SearchIndexingNotificationState as SearchIndexingNotificationState, type index_d_SecondaryMedia as SecondaryMedia, type index_d_SecondaryMediaMetadataOneOf as SecondaryMediaMetadataOneOf, index_d_State as State, type index_d_Tags as Tags, type index_d_Text as Text, type index_d_TpaPageLink as TpaPageLink, index_d_Type as Type, type index_d_URI as URI, type index_d_UndeleteInfo as UndeleteInfo, type index_d_UnsharpMasking as UnsharpMasking, type index_d_UpdateByFilterOperation as UpdateByFilterOperation, type index_d_UpdateDocumentsEvent as UpdateDocumentsEvent, type index_d_UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOf, type index_d_UpdateExistingOperation as UpdateExistingOperation, type index_d_UpdateGallery as UpdateGallery, type index_d_UpdateGalleryItem as UpdateGalleryItem, type index_d_UpdateGalleryItemIdentifiers as UpdateGalleryItemIdentifiers, type index_d_UpdateGalleryItemRequest as UpdateGalleryItemRequest, type index_d_UpdateGalleryItemResponse as UpdateGalleryItemResponse, type index_d_UpdateGalleryItemResponseNonNullableFields as UpdateGalleryItemResponseNonNullableFields, type index_d_UpdateGalleryRequest as UpdateGalleryRequest, type index_d_UpdateGalleryResponse as UpdateGalleryResponse, type index_d_UpdateGalleryResponseNonNullableFields as UpdateGalleryResponseNonNullableFields, type index_d_Video as Video, type index_d_VideoResolution as VideoResolution, index_d_VideoType as VideoType, index_d_WebhookIdentityType as WebhookIdentityType, type index_d_WhatsAppLink as WhatsAppLink, type index_d_WixLink as WixLink, type index_d_WixLinkLinkOneOf as WixLinkLinkOneOf, index_d___metadata as __metadata, index_d_createGallery as createGallery, index_d_createGalleryItem as createGalleryItem, index_d_deleteGallery as deleteGallery, index_d_deleteGalleryItem as deleteGalleryItem, index_d_deleteGalleryItems as deleteGalleryItems, index_d_getGallery as getGallery, index_d_getGalleryItem as getGalleryItem, index_d_listGalleries as listGalleries, index_d_listGalleryItems as listGalleryItems, index_d_onGalleryCreated as onGalleryCreated, index_d_onGalleryDeleted as onGalleryDeleted, index_d_onGalleryItemCreated as onGalleryItemCreated, index_d_onGalleryItemDeleted as onGalleryItemDeleted, index_d_onGalleryItemUpdated as onGalleryItemUpdated, index_d_onGalleryUpdated as onGalleryUpdated, index_d_updateGallery as updateGallery, index_d_updateGalleryItem as updateGalleryItem };
1470
+ export { type index_d_ActionEvent as ActionEvent, type index_d_AddressLink as AddressLink, type index_d_AnchorLink as AnchorLink, type index_d_App as App, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BulkDeleteGalleryItemsRequest as BulkDeleteGalleryItemsRequest, type index_d_BulkDeleteGalleryItemsResponse as BulkDeleteGalleryItemsResponse, type index_d_CleanDeletedGalleriesEvent as CleanDeletedGalleriesEvent, type index_d_CreateGalleryItemRequest as CreateGalleryItemRequest, type index_d_CreateGalleryItemResponse as CreateGalleryItemResponse, type index_d_CreateGalleryItemResponseNonNullableFields as CreateGalleryItemResponseNonNullableFields, type index_d_CreateGalleryItemsRequest as CreateGalleryItemsRequest, type index_d_CreateGalleryItemsResponse as CreateGalleryItemsResponse, type index_d_CreateGalleryOptions as CreateGalleryOptions, type index_d_CreateGalleryRequest as CreateGalleryRequest, type index_d_CreateGalleryResponse as CreateGalleryResponse, type index_d_CreateGalleryResponseNonNullableFields as CreateGalleryResponseNonNullableFields, type index_d_DeleteByFilterOperation as DeleteByFilterOperation, type index_d_DeleteByIdsOperation as DeleteByIdsOperation, type index_d_DeleteGalleryItemIdentifiers as DeleteGalleryItemIdentifiers, type index_d_DeleteGalleryItemRequest as DeleteGalleryItemRequest, type index_d_DeleteGalleryItemResponse as DeleteGalleryItemResponse, type index_d_DeleteGalleryItemResponseNonNullableFields as DeleteGalleryItemResponseNonNullableFields, type index_d_DeleteGalleryItemsOptions as DeleteGalleryItemsOptions, type index_d_DeleteGalleryItemsRequest as DeleteGalleryItemsRequest, type index_d_DeleteGalleryItemsResponse as DeleteGalleryItemsResponse, type index_d_DeleteGalleryItemsResponseNonNullableFields as DeleteGalleryItemsResponseNonNullableFields, type index_d_DeleteGalleryRequest as DeleteGalleryRequest, type index_d_DeleteGalleryResponse as DeleteGalleryResponse, type index_d_DeleteGalleryResponseNonNullableFields as DeleteGalleryResponseNonNullableFields, type index_d_DocumentImage as DocumentImage, type index_d_DocumentLink as DocumentLink, type index_d_DocumentPayload as DocumentPayload, type index_d_DocumentUpdateOperation as DocumentUpdateOperation, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_DynamicPageLink as DynamicPageLink, type index_d_EmailLink as EmailLink, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, index_d_Enum as Enum, type index_d_EventMetadata as EventMetadata, type index_d_EventsPage as EventsPage, type index_d_ExternalLink as ExternalLink, type index_d_File as File, type index_d_Gallery as Gallery, type index_d_GalleryCreatedEnvelope as GalleryCreatedEnvelope, type index_d_GalleryDeletedEnvelope as GalleryDeletedEnvelope, type index_d_GalleryItemCreated as GalleryItemCreated, type index_d_GalleryItemCreatedEnvelope as GalleryItemCreatedEnvelope, type index_d_GalleryItemDeleted as GalleryItemDeleted, type index_d_GalleryItemDeletedEnvelope as GalleryItemDeletedEnvelope, type index_d_GalleryItemUpdated as GalleryItemUpdated, type index_d_GalleryItemUpdatedEnvelope as GalleryItemUpdatedEnvelope, type index_d_GalleryNonNullableFields as GalleryNonNullableFields, type index_d_GalleryPublished as GalleryPublished, type index_d_GalleryUpdatedEnvelope as GalleryUpdatedEnvelope, type index_d_GetGalleryItemIdentifiers as GetGalleryItemIdentifiers, type index_d_GetGalleryItemRequest as GetGalleryItemRequest, type index_d_GetGalleryItemResponse as GetGalleryItemResponse, type index_d_GetGalleryItemResponseNonNullableFields as GetGalleryItemResponseNonNullableFields, type index_d_GetGalleryOptions as GetGalleryOptions, type index_d_GetGalleryRequest as GetGalleryRequest, type index_d_GetGalleryRequestVersionOneOf as GetGalleryRequestVersionOneOf, type index_d_GetGalleryResponse as GetGalleryResponse, type index_d_GetGalleryResponseNonNullableFields as GetGalleryResponseNonNullableFields, type index_d_HtmlSitePublished as HtmlSitePublished, type index_d_HtmlSiteRCPublished as HtmlSiteRCPublished, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Image as Image, index_d_ImageType as ImageType, type index_d_IndexDocument as IndexDocument, type index_d_InvalidateCache as InvalidateCache, type index_d_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d_Item as Item, type index_d_ItemId as ItemId, type index_d_ItemMetadataOneOf as ItemMetadataOneOf, type index_d_ItemNonNullableFields as ItemNonNullableFields, type index_d_ItemsInGallery as ItemsInGallery, type index_d_Link as Link, index_d_LinkRel as LinkRel, index_d_LinkType as LinkType, type index_d_ListGalleriesItemsRequest as ListGalleriesItemsRequest, type index_d_ListGalleriesItemsResponse as ListGalleriesItemsResponse, type index_d_ListGalleriesOptions as ListGalleriesOptions, type index_d_ListGalleriesRequest as ListGalleriesRequest, type index_d_ListGalleriesResponse as ListGalleriesResponse, type index_d_ListGalleriesResponseNonNullableFields as ListGalleriesResponseNonNullableFields, type index_d_ListGalleryItemsOptions as ListGalleryItemsOptions, type index_d_ListGalleryItemsRequest as ListGalleryItemsRequest, type index_d_ListGalleryItemsResponse as ListGalleryItemsResponse, type index_d_ListGalleryItemsResponseNonNullableFields as ListGalleryItemsResponseNonNullableFields, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Page as Page, type index_d_PageLink as PageLink, type index_d_PhoneLink as PhoneLink, type index_d_Point as Point, type index_d_ProgallerypublisherPublishGalleryRequest as ProgallerypublisherPublishGalleryRequest, type index_d_ProgallerypublisherPublishGalleryResponse as ProgallerypublisherPublishGalleryResponse, type index_d_PublishGalleryItemRequest as PublishGalleryItemRequest, type index_d_PublishGalleryItemResponse as PublishGalleryItemResponse, type index_d_PublishGalleryItemsRequest as PublishGalleryItemsRequest, type index_d_PublishGalleryItemsResponse as PublishGalleryItemsResponse, type index_d_PublishGalleryRequest as PublishGalleryRequest, type index_d_PublishGalleryResponse as PublishGalleryResponse, type index_d_RestoreInfo as RestoreInfo, type index_d_SearchIndexingNotification as SearchIndexingNotification, index_d_SearchIndexingNotificationState as SearchIndexingNotificationState, type index_d_SecondaryMedia as SecondaryMedia, type index_d_SecondaryMediaMetadataOneOf as SecondaryMediaMetadataOneOf, index_d_State as State, type index_d_Tags as Tags, type index_d_Text as Text, type index_d_TpaPageLink as TpaPageLink, index_d_Type as Type, type index_d_URI as URI, type index_d_UnsharpMasking as UnsharpMasking, type index_d_UpdateByFilterOperation as UpdateByFilterOperation, type index_d_UpdateDocumentsEvent as UpdateDocumentsEvent, type index_d_UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOf, type index_d_UpdateExistingOperation as UpdateExistingOperation, type index_d_UpdateGallery as UpdateGallery, type index_d_UpdateGalleryItem as UpdateGalleryItem, type index_d_UpdateGalleryItemIdentifiers as UpdateGalleryItemIdentifiers, type index_d_UpdateGalleryItemRequest as UpdateGalleryItemRequest, type index_d_UpdateGalleryItemResponse as UpdateGalleryItemResponse, type index_d_UpdateGalleryItemResponseNonNullableFields as UpdateGalleryItemResponseNonNullableFields, type index_d_UpdateGalleryRequest as UpdateGalleryRequest, type index_d_UpdateGalleryResponse as UpdateGalleryResponse, type index_d_UpdateGalleryResponseNonNullableFields as UpdateGalleryResponseNonNullableFields, type index_d_Video as Video, type index_d_VideoResolution as VideoResolution, index_d_VideoType as VideoType, index_d_WebhookIdentityType as WebhookIdentityType, type index_d_WhatsAppLink as WhatsAppLink, type index_d_WixLink as WixLink, type index_d_WixLinkLinkOneOf as WixLinkLinkOneOf, index_d_createGallery as createGallery, index_d_createGalleryItem as createGalleryItem, index_d_deleteGallery as deleteGallery, index_d_deleteGalleryItem as deleteGalleryItem, index_d_deleteGalleryItems as deleteGalleryItems, index_d_getGallery as getGallery, index_d_getGalleryItem as getGalleryItem, index_d_listGalleries as listGalleries, index_d_listGalleryItems as listGalleryItems, index_d_onGalleryCreated as onGalleryCreated, index_d_onGalleryDeleted as onGalleryDeleted, index_d_onGalleryItemCreated as onGalleryItemCreated, index_d_onGalleryItemDeleted as onGalleryItemDeleted, index_d_onGalleryItemUpdated as onGalleryItemUpdated, index_d_onGalleryUpdated as onGalleryUpdated, index_d_updateGallery as updateGallery, index_d_updateGalleryItem as updateGalleryItem };
1615
1471
  }
1616
1472
 
1617
1473
  export { index_d as proGallery };