@wix/pro-gallery 1.0.55 → 1.0.56

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/pro-gallery",
3
- "version": "1.0.55",
3
+ "version": "1.0.56",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,7 +18,7 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/pro-gallery_pro-gallery": "1.0.25"
21
+ "@wix/pro-gallery_pro-gallery": "1.0.26"
22
22
  },
23
23
  "devDependencies": {
24
24
  "glob": "^10.4.1",
@@ -43,5 +43,5 @@
43
43
  "fqdn": ""
44
44
  }
45
45
  },
46
- "falconPackageHash": "f1e5c9d345ceeb44ec3ff8987e1ebfd8a855732f8bf117119a1c1c30"
46
+ "falconPackageHash": "d50c7a9af44375b31dd44fb1494dcb3816bad3310ffd799f6e250678"
47
47
  }
@@ -1,3 +1,47 @@
1
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2
+ interface HttpClient {
3
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4
+ fetchWithAuth: typeof fetch;
5
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6
+ }
7
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
8
+ type HttpResponse<T = any> = {
9
+ data: T;
10
+ status: number;
11
+ statusText: string;
12
+ headers: any;
13
+ request?: any;
14
+ };
15
+ type RequestOptions<_TResponse = any, Data = any> = {
16
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
17
+ url: string;
18
+ data?: Data;
19
+ params?: URLSearchParams;
20
+ } & APIMetadata;
21
+ type APIMetadata = {
22
+ methodFqn?: string;
23
+ entityFqdn?: string;
24
+ packageName?: string;
25
+ };
26
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
27
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
28
+ __type: 'event-definition';
29
+ type: Type;
30
+ isDomainEvent?: boolean;
31
+ transformations?: (envelope: unknown) => Payload;
32
+ __payload: Payload;
33
+ };
34
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
35
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
36
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
37
+
38
+ declare global {
39
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
40
+ interface SymbolConstructor {
41
+ readonly observable: symbol;
42
+ }
43
+ }
44
+
1
45
  interface Gallery {
2
46
  /**
3
47
  * Gallery ID.
@@ -1237,62 +1281,167 @@ interface DeleteGalleryItemIdentifiers {
1237
1281
  itemId: string;
1238
1282
  }
1239
1283
 
1240
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
1241
- interface HttpClient {
1242
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
1243
- fetchWithAuth: typeof fetch;
1244
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
1284
+ declare function listGalleries$1(httpClient: HttpClient): ListGalleriesSignature;
1285
+ interface ListGalleriesSignature {
1286
+ /**
1287
+ * Retrieves a list of galleries.
1288
+ *
1289
+ * This function retrieves a list of up to 10 galleries at a given time. To list the next 10 galleries in your site's backend, use the `offset` parameter.
1290
+ * @param - Options to use when getting the list of galleries.
1291
+ */
1292
+ (options?: ListGalleriesOptions | undefined): Promise<ListGalleriesResponse & ListGalleriesResponseNonNullableFields>;
1245
1293
  }
1246
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
1247
- type HttpResponse<T = any> = {
1248
- data: T;
1249
- status: number;
1250
- statusText: string;
1251
- headers: any;
1252
- request?: any;
1253
- };
1254
- type RequestOptions<_TResponse = any, Data = any> = {
1255
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
1256
- url: string;
1257
- data?: Data;
1258
- params?: URLSearchParams;
1259
- } & APIMetadata;
1260
- type APIMetadata = {
1261
- methodFqn?: string;
1262
- entityFqdn?: string;
1263
- packageName?: string;
1264
- };
1265
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
1266
- type EventDefinition<Payload = unknown, Type extends string = string> = {
1267
- __type: 'event-definition';
1268
- type: Type;
1269
- isDomainEvent?: boolean;
1270
- transformations?: (envelope: unknown) => Payload;
1271
- __payload: Payload;
1272
- };
1273
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
1274
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
1275
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
1276
-
1277
- declare global {
1278
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
1279
- interface SymbolConstructor {
1280
- readonly observable: symbol;
1281
- }
1294
+ declare function getGallery$1(httpClient: HttpClient): GetGallerySignature;
1295
+ interface GetGallerySignature {
1296
+ /**
1297
+ * Retrieves a gallery by ID.
1298
+ * @param - Gallery ID.
1299
+ * @param - Options to use when getting the gallery.
1300
+ * @returns Returned gallery.
1301
+ */
1302
+ (galleryId: string, options?: GetGalleryOptions | undefined): Promise<Gallery & GalleryNonNullableFields>;
1303
+ }
1304
+ declare function listGalleryItems$1(httpClient: HttpClient): ListGalleryItemsSignature;
1305
+ interface ListGalleryItemsSignature {
1306
+ /**
1307
+ * Retrieves a list of media items in a specified gallery.
1308
+ *
1309
+ * This function retrieves a list of up to 100 gallery items. The gallery items are listed by `sortOrder` in descending order.
1310
+ * @param - Gallery ID.
1311
+ * @param - Options to use when getting the list of gallery items.
1312
+ */
1313
+ (galleryId: string, options?: ListGalleryItemsOptions | undefined): Promise<ListGalleryItemsResponse & ListGalleryItemsResponseNonNullableFields>;
1314
+ }
1315
+ declare function getGalleryItem$1(httpClient: HttpClient): GetGalleryItemSignature;
1316
+ interface GetGalleryItemSignature {
1317
+ /**
1318
+ * Retrieves a gallery item by ID.
1319
+ * @param - Gallery ID and Item ID.
1320
+ * @returns Returned media item.
1321
+ */
1322
+ (identifiers: GetGalleryItemIdentifiers): Promise<Item & ItemNonNullableFields>;
1323
+ }
1324
+ declare function createGallery$1(httpClient: HttpClient): CreateGallerySignature;
1325
+ interface CreateGallerySignature {
1326
+ /**
1327
+ * Creates a new gallery.
1328
+ *
1329
+ * You can create your own gallery by providing the gallery information, or clone an existing gallery using the ID of that existing gallery. When a gallery is cloned, the newly-created gallery includes the same properties as the existing gallery except for the gallery and item IDs, sort order, and created and updated dates.
1330
+ *
1331
+ * The newly-created gallery is only available on your backend, and doesn't appear on your live site. To display your backend gallery on your live site, you need to connect it to a gallery component on your live site. To do this, import the `createGallery()` function to your page code, and write code to convert the backend gallery object to the frontend gallery component object. Once converted, the newly created backend gallery is visible on your live site. For reference, check out the code example, "Create a gallery and display it on your live site". To learn more, see [Displaying a Pro Gallery on Your Site Using the Pro Gallery Backend API](https://support.wix.com/en/article/velo-tutorial-displaying-a-pro-gallery-on-your-site-using-the-pro-gallery-backend-api).
1332
+ *
1333
+ * <blockquote class="important">
1334
+ *
1335
+ * __Important:__
1336
+ * When creating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
1337
+ *
1338
+ * </blockquote>
1339
+ * @param - Options to use when creating the gallery.
1340
+ * @returns Created gallery.
1341
+ */
1342
+ (options?: CreateGalleryOptions | undefined): Promise<Gallery & GalleryNonNullableFields>;
1343
+ }
1344
+ declare function updateGallery$1(httpClient: HttpClient): UpdateGallerySignature;
1345
+ interface UpdateGallerySignature {
1346
+ /**
1347
+ * Updates a gallery.
1348
+ *
1349
+ * Only the fields in the `gallery` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
1350
+ *
1351
+ * <blockquote class="important">
1352
+ *
1353
+ * __Important:__
1354
+ * When updating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
1355
+ *
1356
+ * </blockquote>
1357
+ * @param - ID of the gallery to update.
1358
+ * @param - The information for the gallery being updated.
1359
+ * @returns Updated gallery.
1360
+ */
1361
+ (_id: string | null, gallery: UpdateGallery): Promise<Gallery & GalleryNonNullableFields>;
1362
+ }
1363
+ declare function deleteGallery$1(httpClient: HttpClient): DeleteGallerySignature;
1364
+ interface DeleteGallerySignature {
1365
+ /**
1366
+ * Deletes a gallery.
1367
+ *
1368
+ * When a gallery is deleted, the deleted gallery is no longer returned when calling the [`listGalleries()`](/pro-gallery/list-galleries) function.
1369
+ * @param - ID of the gallery to delete.
1370
+ */
1371
+ (galleryId: string): Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
1372
+ }
1373
+ declare function deleteGalleryItems$1(httpClient: HttpClient): DeleteGalleryItemsSignature;
1374
+ interface DeleteGalleryItemsSignature {
1375
+ /**
1376
+ * Deletes multiple media items from a gallery.
1377
+ * @param - Gallery ID.
1378
+ * @deprecated
1379
+ */
1380
+ (galleryId: string, options?: DeleteGalleryItemsOptions | undefined): Promise<DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields>;
1381
+ }
1382
+ declare function bulkDeleteGalleryItems$1(httpClient: HttpClient): BulkDeleteGalleryItemsSignature;
1383
+ interface BulkDeleteGalleryItemsSignature {
1384
+ /**
1385
+ * Deletes multiple media items from a gallery.
1386
+ * @param - Gallery ID.
1387
+ * @param - IDs of the media items to delete.
1388
+ */
1389
+ (galleryId: string, itemIds: string[]): Promise<BulkDeleteGalleryItemsResponse & BulkDeleteGalleryItemsResponseNonNullableFields>;
1390
+ }
1391
+ declare function createGalleryItem$1(httpClient: HttpClient): CreateGalleryItemSignature;
1392
+ interface CreateGalleryItemSignature {
1393
+ /**
1394
+ * Creates a media item in a specified gallery.
1395
+ *
1396
+ * The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
1397
+ *
1398
+ * <blockquote class="important">
1399
+ *
1400
+ * __Important:__
1401
+ * When creating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
1402
+ *
1403
+ * </blockquote>
1404
+ *
1405
+ * #### Override permissions
1406
+ * This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
1407
+ * <blockquote class='warning'>
1408
+ * <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
1409
+ * </blockquote>
1410
+ * @param - Gallery ID.
1411
+ * @param - Media item to create.
1412
+ * @returns Created media item.
1413
+ */
1414
+ (galleryId: string, item: Item): Promise<Item & ItemNonNullableFields>;
1415
+ }
1416
+ declare function updateGalleryItem$1(httpClient: HttpClient): UpdateGalleryItemSignature;
1417
+ interface UpdateGalleryItemSignature {
1418
+ /**
1419
+ * Updates a media item in a specified gallery.
1420
+ *
1421
+ * Only the fields in the `item` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
1422
+ *
1423
+ * <blockquote class="important">
1424
+ *
1425
+ * __Important:__
1426
+ * When updating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
1427
+ *
1428
+ * </blockquote>
1429
+ * @param - The information for the gallery item being updated.
1430
+ * @param - Gallery ID and Item ID.
1431
+ * @returns Updated media item.
1432
+ */
1433
+ (identifiers: UpdateGalleryItemIdentifiers, item: UpdateGalleryItem): Promise<Item & ItemNonNullableFields>;
1434
+ }
1435
+ declare function deleteGalleryItem$1(httpClient: HttpClient): DeleteGalleryItemSignature;
1436
+ interface DeleteGalleryItemSignature {
1437
+ /**
1438
+ * Deletes a media item from a gallery.
1439
+ *
1440
+ * When a gallery item is deleted, the deleted gallery item is no longer returned when calling the [`listGalleryItems()`](/pro-gallery/list-gallery-items) function.
1441
+ * @param - Gallery ID and Item ID.
1442
+ */
1443
+ (identifiers: DeleteGalleryItemIdentifiers): Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
1282
1444
  }
1283
-
1284
- declare function listGalleries$1(httpClient: HttpClient): (options?: ListGalleriesOptions) => Promise<ListGalleriesResponse & ListGalleriesResponseNonNullableFields>;
1285
- declare function getGallery$1(httpClient: HttpClient): (galleryId: string, options?: GetGalleryOptions) => Promise<Gallery & GalleryNonNullableFields>;
1286
- declare function listGalleryItems$1(httpClient: HttpClient): (galleryId: string, options?: ListGalleryItemsOptions) => Promise<ListGalleryItemsResponse & ListGalleryItemsResponseNonNullableFields>;
1287
- declare function getGalleryItem$1(httpClient: HttpClient): (identifiers: GetGalleryItemIdentifiers) => Promise<Item & ItemNonNullableFields>;
1288
- declare function createGallery$1(httpClient: HttpClient): (options?: CreateGalleryOptions) => Promise<Gallery & GalleryNonNullableFields>;
1289
- declare function updateGallery$1(httpClient: HttpClient): (_id: string | null, gallery: UpdateGallery) => Promise<Gallery & GalleryNonNullableFields>;
1290
- declare function deleteGallery$1(httpClient: HttpClient): (galleryId: string) => Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
1291
- declare function deleteGalleryItems$1(httpClient: HttpClient): (galleryId: string, options?: DeleteGalleryItemsOptions) => Promise<DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields>;
1292
- declare function bulkDeleteGalleryItems$1(httpClient: HttpClient): (galleryId: string, itemIds: string[]) => Promise<BulkDeleteGalleryItemsResponse & BulkDeleteGalleryItemsResponseNonNullableFields>;
1293
- declare function createGalleryItem$1(httpClient: HttpClient): (galleryId: string, item: Item) => Promise<Item & ItemNonNullableFields>;
1294
- declare function updateGalleryItem$1(httpClient: HttpClient): (identifiers: UpdateGalleryItemIdentifiers, item: UpdateGalleryItem) => Promise<Item & ItemNonNullableFields>;
1295
- declare function deleteGalleryItem$1(httpClient: HttpClient): (identifiers: DeleteGalleryItemIdentifiers) => Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
1296
1445
  declare const onGalleryCreated$1: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
1297
1446
  declare const onGalleryUpdated$1: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
1298
1447
  declare const onGalleryDeleted$1: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
@@ -1300,51 +1449,64 @@ declare const onGalleryItemCreated$1: EventDefinition<GalleryItemCreatedEnvelope
1300
1449
  declare const onGalleryItemUpdated$1: EventDefinition<GalleryItemUpdatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_updated">;
1301
1450
  declare const onGalleryItemDeleted$1: EventDefinition<GalleryItemDeletedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_deleted">;
1302
1451
 
1303
- declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1304
-
1305
1452
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1306
1453
 
1307
- type _publicListGalleriesType = typeof listGalleries$1;
1308
- declare const listGalleries: ReturnType<typeof createRESTModule<_publicListGalleriesType>>;
1309
- type _publicGetGalleryType = typeof getGallery$1;
1310
- declare const getGallery: ReturnType<typeof createRESTModule<_publicGetGalleryType>>;
1311
- type _publicListGalleryItemsType = typeof listGalleryItems$1;
1312
- declare const listGalleryItems: ReturnType<typeof createRESTModule<_publicListGalleryItemsType>>;
1313
- type _publicGetGalleryItemType = typeof getGalleryItem$1;
1314
- declare const getGalleryItem: ReturnType<typeof createRESTModule<_publicGetGalleryItemType>>;
1315
- type _publicCreateGalleryType = typeof createGallery$1;
1316
- declare const createGallery: ReturnType<typeof createRESTModule<_publicCreateGalleryType>>;
1317
- type _publicUpdateGalleryType = typeof updateGallery$1;
1318
- declare const updateGallery: ReturnType<typeof createRESTModule<_publicUpdateGalleryType>>;
1319
- type _publicDeleteGalleryType = typeof deleteGallery$1;
1320
- declare const deleteGallery: ReturnType<typeof createRESTModule<_publicDeleteGalleryType>>;
1321
- type _publicDeleteGalleryItemsType = typeof deleteGalleryItems$1;
1322
- declare const deleteGalleryItems: ReturnType<typeof createRESTModule<_publicDeleteGalleryItemsType>>;
1323
- type _publicBulkDeleteGalleryItemsType = typeof bulkDeleteGalleryItems$1;
1324
- declare const bulkDeleteGalleryItems: ReturnType<typeof createRESTModule<_publicBulkDeleteGalleryItemsType>>;
1325
- type _publicCreateGalleryItemType = typeof createGalleryItem$1;
1326
- declare const createGalleryItem: ReturnType<typeof createRESTModule<_publicCreateGalleryItemType>>;
1327
- type _publicUpdateGalleryItemType = typeof updateGalleryItem$1;
1328
- declare const updateGalleryItem: ReturnType<typeof createRESTModule<_publicUpdateGalleryItemType>>;
1329
- type _publicDeleteGalleryItemType = typeof deleteGalleryItem$1;
1330
- declare const deleteGalleryItem: ReturnType<typeof createRESTModule<_publicDeleteGalleryItemType>>;
1454
+ declare const listGalleries: BuildRESTFunction<typeof listGalleries$1> & typeof listGalleries$1;
1455
+ declare const getGallery: BuildRESTFunction<typeof getGallery$1> & typeof getGallery$1;
1456
+ declare const listGalleryItems: BuildRESTFunction<typeof listGalleryItems$1> & typeof listGalleryItems$1;
1457
+ declare const getGalleryItem: BuildRESTFunction<typeof getGalleryItem$1> & typeof getGalleryItem$1;
1458
+ declare const createGallery: BuildRESTFunction<typeof createGallery$1> & typeof createGallery$1;
1459
+ declare const updateGallery: BuildRESTFunction<typeof updateGallery$1> & typeof updateGallery$1;
1460
+ declare const deleteGallery: BuildRESTFunction<typeof deleteGallery$1> & typeof deleteGallery$1;
1461
+ declare const deleteGalleryItems: BuildRESTFunction<typeof deleteGalleryItems$1> & typeof deleteGalleryItems$1;
1462
+ declare const bulkDeleteGalleryItems: BuildRESTFunction<typeof bulkDeleteGalleryItems$1> & typeof bulkDeleteGalleryItems$1;
1463
+ declare const createGalleryItem: BuildRESTFunction<typeof createGalleryItem$1> & typeof createGalleryItem$1;
1464
+ declare const updateGalleryItem: BuildRESTFunction<typeof updateGalleryItem$1> & typeof updateGalleryItem$1;
1465
+ declare const deleteGalleryItem: BuildRESTFunction<typeof deleteGalleryItem$1> & typeof deleteGalleryItem$1;
1331
1466
 
1332
1467
  type _publicOnGalleryCreatedType = typeof onGalleryCreated$1;
1468
+ /**
1469
+ * Triggered when a gallery is created.
1470
+ *
1471
+ * > __Note:__ The event data doesn't include gallery items or their IDs.
1472
+ * > To receive information about the created items you need to listen to the [Gallery Item Created webhook](https://dev.wix.com/api/rest/site-content/pro-gallery/gallery-item-created-webhook).
1473
+ */
1333
1474
  declare const onGalleryCreated: ReturnType<typeof createEventModule<_publicOnGalleryCreatedType>>;
1334
1475
 
1335
1476
  type _publicOnGalleryUpdatedType = typeof onGalleryUpdated$1;
1477
+ /**
1478
+ * Triggered when a gallery is updated.
1479
+ *
1480
+ * > __Note:__ The event data doesn't include gallery items or their IDs.
1481
+ * > To receive information about the updated items you need to listen to the [Gallery Item Updated webhook](https://dev.wix.com/api/rest/site-content/pro-gallery/gallery-item-updated-webhook).
1482
+ */
1336
1483
  declare const onGalleryUpdated: ReturnType<typeof createEventModule<_publicOnGalleryUpdatedType>>;
1337
1484
 
1338
1485
  type _publicOnGalleryDeletedType = typeof onGalleryDeleted$1;
1486
+ /**
1487
+ * Triggered when a gallery is deleted.
1488
+ */
1339
1489
  declare const onGalleryDeleted: ReturnType<typeof createEventModule<_publicOnGalleryDeletedType>>;
1340
1490
 
1341
1491
  type _publicOnGalleryItemCreatedType = typeof onGalleryItemCreated$1;
1492
+ /**
1493
+ * Triggered when a media item in a specified gallery is created.
1494
+ */
1342
1495
  declare const onGalleryItemCreated: ReturnType<typeof createEventModule<_publicOnGalleryItemCreatedType>>;
1343
1496
 
1344
1497
  type _publicOnGalleryItemUpdatedType = typeof onGalleryItemUpdated$1;
1498
+ /**
1499
+ * Triggered when a media item in a specified gallery is updated.
1500
+ */
1345
1501
  declare const onGalleryItemUpdated: ReturnType<typeof createEventModule<_publicOnGalleryItemUpdatedType>>;
1346
1502
 
1347
1503
  type _publicOnGalleryItemDeletedType = typeof onGalleryItemDeleted$1;
1504
+ /**
1505
+ * Triggered when a media item in a specified gallery is deleted.
1506
+ *
1507
+ * > __Note:__ The event is triggered when a gallery item is deleted individually and when a gallery item is deleted because its gallery is deleted.
1508
+ * > The property `originatedFrom` has the value `Gallery Deleted` if the entire gallery is deleted. If the gallery item is deleted individually, this field is empty.
1509
+ */
1348
1510
  declare const onGalleryItemDeleted: ReturnType<typeof createEventModule<_publicOnGalleryItemDeletedType>>;
1349
1511
 
1350
1512
  type context_ActionEvent = ActionEvent;
@@ -1497,24 +1659,12 @@ declare const context_WebhookIdentityType: typeof WebhookIdentityType;
1497
1659
  type context_WhatsAppLink = WhatsAppLink;
1498
1660
  type context_WixLink = WixLink;
1499
1661
  type context_WixLinkLinkOneOf = WixLinkLinkOneOf;
1500
- type context__publicBulkDeleteGalleryItemsType = _publicBulkDeleteGalleryItemsType;
1501
- type context__publicCreateGalleryItemType = _publicCreateGalleryItemType;
1502
- type context__publicCreateGalleryType = _publicCreateGalleryType;
1503
- type context__publicDeleteGalleryItemType = _publicDeleteGalleryItemType;
1504
- type context__publicDeleteGalleryItemsType = _publicDeleteGalleryItemsType;
1505
- type context__publicDeleteGalleryType = _publicDeleteGalleryType;
1506
- type context__publicGetGalleryItemType = _publicGetGalleryItemType;
1507
- type context__publicGetGalleryType = _publicGetGalleryType;
1508
- type context__publicListGalleriesType = _publicListGalleriesType;
1509
- type context__publicListGalleryItemsType = _publicListGalleryItemsType;
1510
1662
  type context__publicOnGalleryCreatedType = _publicOnGalleryCreatedType;
1511
1663
  type context__publicOnGalleryDeletedType = _publicOnGalleryDeletedType;
1512
1664
  type context__publicOnGalleryItemCreatedType = _publicOnGalleryItemCreatedType;
1513
1665
  type context__publicOnGalleryItemDeletedType = _publicOnGalleryItemDeletedType;
1514
1666
  type context__publicOnGalleryItemUpdatedType = _publicOnGalleryItemUpdatedType;
1515
1667
  type context__publicOnGalleryUpdatedType = _publicOnGalleryUpdatedType;
1516
- type context__publicUpdateGalleryItemType = _publicUpdateGalleryItemType;
1517
- type context__publicUpdateGalleryType = _publicUpdateGalleryType;
1518
1668
  declare const context_bulkDeleteGalleryItems: typeof bulkDeleteGalleryItems;
1519
1669
  declare const context_createGallery: typeof createGallery;
1520
1670
  declare const context_createGalleryItem: typeof createGalleryItem;
@@ -1534,7 +1684,7 @@ declare const context_onGalleryUpdated: typeof onGalleryUpdated;
1534
1684
  declare const context_updateGallery: typeof updateGallery;
1535
1685
  declare const context_updateGalleryItem: typeof updateGalleryItem;
1536
1686
  declare namespace context {
1537
- export { type context_ActionEvent as ActionEvent, type context_AddressLink as AddressLink, type context_AnchorLink as AnchorLink, type context_App as App, type context_BaseEventMetadata as BaseEventMetadata, type context_BulkDeleteGalleryItemsRequest as BulkDeleteGalleryItemsRequest, type context_BulkDeleteGalleryItemsResponse as BulkDeleteGalleryItemsResponse, type context_BulkDeleteGalleryItemsResponseNonNullableFields as BulkDeleteGalleryItemsResponseNonNullableFields, type context_CleanDeletedGalleriesEvent as CleanDeletedGalleriesEvent, type context_CreateGalleryItemRequest as CreateGalleryItemRequest, type context_CreateGalleryItemResponse as CreateGalleryItemResponse, type context_CreateGalleryItemResponseNonNullableFields as CreateGalleryItemResponseNonNullableFields, type context_CreateGalleryItemsRequest as CreateGalleryItemsRequest, type context_CreateGalleryItemsResponse as CreateGalleryItemsResponse, type context_CreateGalleryOptions as CreateGalleryOptions, type context_CreateGalleryRequest as CreateGalleryRequest, type context_CreateGalleryResponse as CreateGalleryResponse, type context_CreateGalleryResponseNonNullableFields as CreateGalleryResponseNonNullableFields, type context_DeleteByFilterOperation as DeleteByFilterOperation, type context_DeleteByIdsOperation as DeleteByIdsOperation, type context_DeleteGalleryItemIdentifiers as DeleteGalleryItemIdentifiers, type context_DeleteGalleryItemRequest as DeleteGalleryItemRequest, type context_DeleteGalleryItemResponse as DeleteGalleryItemResponse, type context_DeleteGalleryItemResponseNonNullableFields as DeleteGalleryItemResponseNonNullableFields, type context_DeleteGalleryItemsOptions as DeleteGalleryItemsOptions, type context_DeleteGalleryItemsRequest as DeleteGalleryItemsRequest, type context_DeleteGalleryItemsResponse as DeleteGalleryItemsResponse, type context_DeleteGalleryItemsResponseNonNullableFields as DeleteGalleryItemsResponseNonNullableFields, type context_DeleteGalleryRequest as DeleteGalleryRequest, type context_DeleteGalleryResponse as DeleteGalleryResponse, type context_DeleteGalleryResponseNonNullableFields as DeleteGalleryResponseNonNullableFields, type context_DocumentImage as DocumentImage, type context_DocumentLink as DocumentLink, type context_DocumentPayload as DocumentPayload, type context_DocumentUpdateOperation as DocumentUpdateOperation, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_DynamicPageLink as DynamicPageLink, type context_EmailLink as EmailLink, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, context_Enum as Enum, type context_EventMetadata as EventMetadata, type context_EventsPage as EventsPage, type context_ExternalLink as ExternalLink, type context_File as File, type context_Gallery as Gallery, type context_GalleryCreatedEnvelope as GalleryCreatedEnvelope, type context_GalleryDeletedEnvelope as GalleryDeletedEnvelope, type context_GalleryItemCreated as GalleryItemCreated, type context_GalleryItemCreatedEnvelope as GalleryItemCreatedEnvelope, type context_GalleryItemDeleted as GalleryItemDeleted, type context_GalleryItemDeletedEnvelope as GalleryItemDeletedEnvelope, type context_GalleryItemUpdated as GalleryItemUpdated, type context_GalleryItemUpdatedEnvelope as GalleryItemUpdatedEnvelope, type context_GalleryNonNullableFields as GalleryNonNullableFields, type context_GalleryPublished as GalleryPublished, type context_GalleryUpdatedEnvelope as GalleryUpdatedEnvelope, type context_GetGalleryItemIdentifiers as GetGalleryItemIdentifiers, type context_GetGalleryItemRequest as GetGalleryItemRequest, type context_GetGalleryItemResponse as GetGalleryItemResponse, type context_GetGalleryItemResponseNonNullableFields as GetGalleryItemResponseNonNullableFields, type context_GetGalleryOptions as GetGalleryOptions, type context_GetGalleryRequest as GetGalleryRequest, type context_GetGalleryRequestVersionOneOf as GetGalleryRequestVersionOneOf, type context_GetGalleryResponse as GetGalleryResponse, type context_GetGalleryResponseNonNullableFields as GetGalleryResponseNonNullableFields, type context_HtmlSitePublished as HtmlSitePublished, type context_HtmlSiteRCPublished as HtmlSiteRCPublished, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Image as Image, context_ImageType as ImageType, type context_IndexDocument as IndexDocument, type context_InvalidateCache as InvalidateCache, type context_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context_Item as Item, type context_ItemId as ItemId, type context_ItemMetadataOneOf as ItemMetadataOneOf, type context_ItemNonNullableFields as ItemNonNullableFields, type context_ItemsInGallery as ItemsInGallery, type context_Link as Link, context_LinkRel as LinkRel, context_LinkType as LinkType, type context_ListGalleriesItemsRequest as ListGalleriesItemsRequest, type context_ListGalleriesItemsResponse as ListGalleriesItemsResponse, type context_ListGalleriesOptions as ListGalleriesOptions, type context_ListGalleriesRequest as ListGalleriesRequest, type context_ListGalleriesResponse as ListGalleriesResponse, type context_ListGalleriesResponseNonNullableFields as ListGalleriesResponseNonNullableFields, type context_ListGalleryItemsOptions as ListGalleryItemsOptions, type context_ListGalleryItemsRequest as ListGalleryItemsRequest, type context_ListGalleryItemsResponse as ListGalleryItemsResponse, type context_ListGalleryItemsResponseNonNullableFields as ListGalleryItemsResponseNonNullableFields, type context_MessageEnvelope as MessageEnvelope, type context_Page as Page, type context_PageLink as PageLink, type context_PhoneLink as PhoneLink, type context_Point as Point, type context_ProgallerypublisherPublishGalleryRequest as ProgallerypublisherPublishGalleryRequest, type context_ProgallerypublisherPublishGalleryResponse as ProgallerypublisherPublishGalleryResponse, type context_PublishGalleryItemRequest as PublishGalleryItemRequest, type context_PublishGalleryItemResponse as PublishGalleryItemResponse, type context_PublishGalleryItemsRequest as PublishGalleryItemsRequest, type context_PublishGalleryItemsResponse as PublishGalleryItemsResponse, type context_PublishGalleryRequest as PublishGalleryRequest, type context_PublishGalleryResponse as PublishGalleryResponse, type context_RestoreInfo as RestoreInfo, type context_SearchIndexingNotification as SearchIndexingNotification, context_SearchIndexingNotificationState as SearchIndexingNotificationState, type context_SecondaryMedia as SecondaryMedia, type context_SecondaryMediaMetadataOneOf as SecondaryMediaMetadataOneOf, context_State as State, type context_Tags as Tags, type context_Text as Text, type context_TpaPageLink as TpaPageLink, context_Type as Type, type context_URI as URI, type context_UnsharpMasking as UnsharpMasking, type context_UpdateByFilterOperation as UpdateByFilterOperation, type context_UpdateDocumentsEvent as UpdateDocumentsEvent, type context_UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOf, type context_UpdateExistingOperation as UpdateExistingOperation, type context_UpdateGallery as UpdateGallery, type context_UpdateGalleryItem as UpdateGalleryItem, type context_UpdateGalleryItemIdentifiers as UpdateGalleryItemIdentifiers, type context_UpdateGalleryItemRequest as UpdateGalleryItemRequest, type context_UpdateGalleryItemResponse as UpdateGalleryItemResponse, type context_UpdateGalleryItemResponseNonNullableFields as UpdateGalleryItemResponseNonNullableFields, type context_UpdateGalleryRequest as UpdateGalleryRequest, type context_UpdateGalleryResponse as UpdateGalleryResponse, type context_UpdateGalleryResponseNonNullableFields as UpdateGalleryResponseNonNullableFields, type context_Video as Video, type context_VideoResolution as VideoResolution, context_VideoType as VideoType, context_WebhookIdentityType as WebhookIdentityType, type context_WhatsAppLink as WhatsAppLink, type context_WixLink as WixLink, type context_WixLinkLinkOneOf as WixLinkLinkOneOf, type context__publicBulkDeleteGalleryItemsType as _publicBulkDeleteGalleryItemsType, type context__publicCreateGalleryItemType as _publicCreateGalleryItemType, type context__publicCreateGalleryType as _publicCreateGalleryType, type context__publicDeleteGalleryItemType as _publicDeleteGalleryItemType, type context__publicDeleteGalleryItemsType as _publicDeleteGalleryItemsType, type context__publicDeleteGalleryType as _publicDeleteGalleryType, type context__publicGetGalleryItemType as _publicGetGalleryItemType, type context__publicGetGalleryType as _publicGetGalleryType, type context__publicListGalleriesType as _publicListGalleriesType, type context__publicListGalleryItemsType as _publicListGalleryItemsType, type context__publicOnGalleryCreatedType as _publicOnGalleryCreatedType, type context__publicOnGalleryDeletedType as _publicOnGalleryDeletedType, type context__publicOnGalleryItemCreatedType as _publicOnGalleryItemCreatedType, type context__publicOnGalleryItemDeletedType as _publicOnGalleryItemDeletedType, type context__publicOnGalleryItemUpdatedType as _publicOnGalleryItemUpdatedType, type context__publicOnGalleryUpdatedType as _publicOnGalleryUpdatedType, type context__publicUpdateGalleryItemType as _publicUpdateGalleryItemType, type context__publicUpdateGalleryType as _publicUpdateGalleryType, context_bulkDeleteGalleryItems as bulkDeleteGalleryItems, context_createGallery as createGallery, context_createGalleryItem as createGalleryItem, context_deleteGallery as deleteGallery, context_deleteGalleryItem as deleteGalleryItem, context_deleteGalleryItems as deleteGalleryItems, context_getGallery as getGallery, context_getGalleryItem as getGalleryItem, context_listGalleries as listGalleries, context_listGalleryItems as listGalleryItems, context_onGalleryCreated as onGalleryCreated, context_onGalleryDeleted as onGalleryDeleted, context_onGalleryItemCreated as onGalleryItemCreated, context_onGalleryItemDeleted as onGalleryItemDeleted, context_onGalleryItemUpdated as onGalleryItemUpdated, context_onGalleryUpdated as onGalleryUpdated, onGalleryCreated$1 as publicOnGalleryCreated, onGalleryDeleted$1 as publicOnGalleryDeleted, onGalleryItemCreated$1 as publicOnGalleryItemCreated, onGalleryItemDeleted$1 as publicOnGalleryItemDeleted, onGalleryItemUpdated$1 as publicOnGalleryItemUpdated, onGalleryUpdated$1 as publicOnGalleryUpdated, context_updateGallery as updateGallery, context_updateGalleryItem as updateGalleryItem };
1687
+ export { type context_ActionEvent as ActionEvent, type context_AddressLink as AddressLink, type context_AnchorLink as AnchorLink, type context_App as App, type context_BaseEventMetadata as BaseEventMetadata, type context_BulkDeleteGalleryItemsRequest as BulkDeleteGalleryItemsRequest, type context_BulkDeleteGalleryItemsResponse as BulkDeleteGalleryItemsResponse, type context_BulkDeleteGalleryItemsResponseNonNullableFields as BulkDeleteGalleryItemsResponseNonNullableFields, type context_CleanDeletedGalleriesEvent as CleanDeletedGalleriesEvent, type context_CreateGalleryItemRequest as CreateGalleryItemRequest, type context_CreateGalleryItemResponse as CreateGalleryItemResponse, type context_CreateGalleryItemResponseNonNullableFields as CreateGalleryItemResponseNonNullableFields, type context_CreateGalleryItemsRequest as CreateGalleryItemsRequest, type context_CreateGalleryItemsResponse as CreateGalleryItemsResponse, type context_CreateGalleryOptions as CreateGalleryOptions, type context_CreateGalleryRequest as CreateGalleryRequest, type context_CreateGalleryResponse as CreateGalleryResponse, type context_CreateGalleryResponseNonNullableFields as CreateGalleryResponseNonNullableFields, type context_DeleteByFilterOperation as DeleteByFilterOperation, type context_DeleteByIdsOperation as DeleteByIdsOperation, type context_DeleteGalleryItemIdentifiers as DeleteGalleryItemIdentifiers, type context_DeleteGalleryItemRequest as DeleteGalleryItemRequest, type context_DeleteGalleryItemResponse as DeleteGalleryItemResponse, type context_DeleteGalleryItemResponseNonNullableFields as DeleteGalleryItemResponseNonNullableFields, type context_DeleteGalleryItemsOptions as DeleteGalleryItemsOptions, type context_DeleteGalleryItemsRequest as DeleteGalleryItemsRequest, type context_DeleteGalleryItemsResponse as DeleteGalleryItemsResponse, type context_DeleteGalleryItemsResponseNonNullableFields as DeleteGalleryItemsResponseNonNullableFields, type context_DeleteGalleryRequest as DeleteGalleryRequest, type context_DeleteGalleryResponse as DeleteGalleryResponse, type context_DeleteGalleryResponseNonNullableFields as DeleteGalleryResponseNonNullableFields, type context_DocumentImage as DocumentImage, type context_DocumentLink as DocumentLink, type context_DocumentPayload as DocumentPayload, type context_DocumentUpdateOperation as DocumentUpdateOperation, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_DynamicPageLink as DynamicPageLink, type context_EmailLink as EmailLink, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, context_Enum as Enum, type context_EventMetadata as EventMetadata, type context_EventsPage as EventsPage, type context_ExternalLink as ExternalLink, type context_File as File, type context_Gallery as Gallery, type context_GalleryCreatedEnvelope as GalleryCreatedEnvelope, type context_GalleryDeletedEnvelope as GalleryDeletedEnvelope, type context_GalleryItemCreated as GalleryItemCreated, type context_GalleryItemCreatedEnvelope as GalleryItemCreatedEnvelope, type context_GalleryItemDeleted as GalleryItemDeleted, type context_GalleryItemDeletedEnvelope as GalleryItemDeletedEnvelope, type context_GalleryItemUpdated as GalleryItemUpdated, type context_GalleryItemUpdatedEnvelope as GalleryItemUpdatedEnvelope, type context_GalleryNonNullableFields as GalleryNonNullableFields, type context_GalleryPublished as GalleryPublished, type context_GalleryUpdatedEnvelope as GalleryUpdatedEnvelope, type context_GetGalleryItemIdentifiers as GetGalleryItemIdentifiers, type context_GetGalleryItemRequest as GetGalleryItemRequest, type context_GetGalleryItemResponse as GetGalleryItemResponse, type context_GetGalleryItemResponseNonNullableFields as GetGalleryItemResponseNonNullableFields, type context_GetGalleryOptions as GetGalleryOptions, type context_GetGalleryRequest as GetGalleryRequest, type context_GetGalleryRequestVersionOneOf as GetGalleryRequestVersionOneOf, type context_GetGalleryResponse as GetGalleryResponse, type context_GetGalleryResponseNonNullableFields as GetGalleryResponseNonNullableFields, type context_HtmlSitePublished as HtmlSitePublished, type context_HtmlSiteRCPublished as HtmlSiteRCPublished, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Image as Image, context_ImageType as ImageType, type context_IndexDocument as IndexDocument, type context_InvalidateCache as InvalidateCache, type context_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context_Item as Item, type context_ItemId as ItemId, type context_ItemMetadataOneOf as ItemMetadataOneOf, type context_ItemNonNullableFields as ItemNonNullableFields, type context_ItemsInGallery as ItemsInGallery, type context_Link as Link, context_LinkRel as LinkRel, context_LinkType as LinkType, type context_ListGalleriesItemsRequest as ListGalleriesItemsRequest, type context_ListGalleriesItemsResponse as ListGalleriesItemsResponse, type context_ListGalleriesOptions as ListGalleriesOptions, type context_ListGalleriesRequest as ListGalleriesRequest, type context_ListGalleriesResponse as ListGalleriesResponse, type context_ListGalleriesResponseNonNullableFields as ListGalleriesResponseNonNullableFields, type context_ListGalleryItemsOptions as ListGalleryItemsOptions, type context_ListGalleryItemsRequest as ListGalleryItemsRequest, type context_ListGalleryItemsResponse as ListGalleryItemsResponse, type context_ListGalleryItemsResponseNonNullableFields as ListGalleryItemsResponseNonNullableFields, type context_MessageEnvelope as MessageEnvelope, type context_Page as Page, type context_PageLink as PageLink, type context_PhoneLink as PhoneLink, type context_Point as Point, type context_ProgallerypublisherPublishGalleryRequest as ProgallerypublisherPublishGalleryRequest, type context_ProgallerypublisherPublishGalleryResponse as ProgallerypublisherPublishGalleryResponse, type context_PublishGalleryItemRequest as PublishGalleryItemRequest, type context_PublishGalleryItemResponse as PublishGalleryItemResponse, type context_PublishGalleryItemsRequest as PublishGalleryItemsRequest, type context_PublishGalleryItemsResponse as PublishGalleryItemsResponse, type context_PublishGalleryRequest as PublishGalleryRequest, type context_PublishGalleryResponse as PublishGalleryResponse, type context_RestoreInfo as RestoreInfo, type context_SearchIndexingNotification as SearchIndexingNotification, context_SearchIndexingNotificationState as SearchIndexingNotificationState, type context_SecondaryMedia as SecondaryMedia, type context_SecondaryMediaMetadataOneOf as SecondaryMediaMetadataOneOf, context_State as State, type context_Tags as Tags, type context_Text as Text, type context_TpaPageLink as TpaPageLink, context_Type as Type, type context_URI as URI, type context_UnsharpMasking as UnsharpMasking, type context_UpdateByFilterOperation as UpdateByFilterOperation, type context_UpdateDocumentsEvent as UpdateDocumentsEvent, type context_UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOf, type context_UpdateExistingOperation as UpdateExistingOperation, type context_UpdateGallery as UpdateGallery, type context_UpdateGalleryItem as UpdateGalleryItem, type context_UpdateGalleryItemIdentifiers as UpdateGalleryItemIdentifiers, type context_UpdateGalleryItemRequest as UpdateGalleryItemRequest, type context_UpdateGalleryItemResponse as UpdateGalleryItemResponse, type context_UpdateGalleryItemResponseNonNullableFields as UpdateGalleryItemResponseNonNullableFields, type context_UpdateGalleryRequest as UpdateGalleryRequest, type context_UpdateGalleryResponse as UpdateGalleryResponse, type context_UpdateGalleryResponseNonNullableFields as UpdateGalleryResponseNonNullableFields, type context_Video as Video, type context_VideoResolution as VideoResolution, context_VideoType as VideoType, context_WebhookIdentityType as WebhookIdentityType, type context_WhatsAppLink as WhatsAppLink, type context_WixLink as WixLink, type context_WixLinkLinkOneOf as WixLinkLinkOneOf, type context__publicOnGalleryCreatedType as _publicOnGalleryCreatedType, type context__publicOnGalleryDeletedType as _publicOnGalleryDeletedType, type context__publicOnGalleryItemCreatedType as _publicOnGalleryItemCreatedType, type context__publicOnGalleryItemDeletedType as _publicOnGalleryItemDeletedType, type context__publicOnGalleryItemUpdatedType as _publicOnGalleryItemUpdatedType, type context__publicOnGalleryUpdatedType as _publicOnGalleryUpdatedType, context_bulkDeleteGalleryItems as bulkDeleteGalleryItems, context_createGallery as createGallery, context_createGalleryItem as createGalleryItem, context_deleteGallery as deleteGallery, context_deleteGalleryItem as deleteGalleryItem, context_deleteGalleryItems as deleteGalleryItems, context_getGallery as getGallery, context_getGalleryItem as getGalleryItem, context_listGalleries as listGalleries, context_listGalleryItems as listGalleryItems, context_onGalleryCreated as onGalleryCreated, context_onGalleryDeleted as onGalleryDeleted, context_onGalleryItemCreated as onGalleryItemCreated, context_onGalleryItemDeleted as onGalleryItemDeleted, context_onGalleryItemUpdated as onGalleryItemUpdated, context_onGalleryUpdated as onGalleryUpdated, onGalleryCreated$1 as publicOnGalleryCreated, onGalleryDeleted$1 as publicOnGalleryDeleted, onGalleryItemCreated$1 as publicOnGalleryItemCreated, onGalleryItemDeleted$1 as publicOnGalleryItemDeleted, onGalleryItemUpdated$1 as publicOnGalleryItemUpdated, onGalleryUpdated$1 as publicOnGalleryUpdated, context_updateGallery as updateGallery, context_updateGalleryItem as updateGalleryItem };
1538
1688
  }
1539
1689
 
1540
1690
  export { context as proGallery };
@@ -1,3 +1,47 @@
1
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2
+ interface HttpClient {
3
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4
+ fetchWithAuth: typeof fetch;
5
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6
+ }
7
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
8
+ type HttpResponse<T = any> = {
9
+ data: T;
10
+ status: number;
11
+ statusText: string;
12
+ headers: any;
13
+ request?: any;
14
+ };
15
+ type RequestOptions<_TResponse = any, Data = any> = {
16
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
17
+ url: string;
18
+ data?: Data;
19
+ params?: URLSearchParams;
20
+ } & APIMetadata;
21
+ type APIMetadata = {
22
+ methodFqn?: string;
23
+ entityFqdn?: string;
24
+ packageName?: string;
25
+ };
26
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
27
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
28
+ __type: 'event-definition';
29
+ type: Type;
30
+ isDomainEvent?: boolean;
31
+ transformations?: (envelope: unknown) => Payload;
32
+ __payload: Payload;
33
+ };
34
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
35
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
36
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
37
+
38
+ declare global {
39
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
40
+ interface SymbolConstructor {
41
+ readonly observable: symbol;
42
+ }
43
+ }
44
+
1
45
  interface Gallery {
2
46
  /**
3
47
  * Gallery ID.
@@ -1237,62 +1281,167 @@ interface DeleteGalleryItemIdentifiers {
1237
1281
  itemId: string;
1238
1282
  }
1239
1283
 
1240
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
1241
- interface HttpClient {
1242
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
1243
- fetchWithAuth: typeof fetch;
1244
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
1284
+ declare function listGalleries$1(httpClient: HttpClient): ListGalleriesSignature;
1285
+ interface ListGalleriesSignature {
1286
+ /**
1287
+ * Retrieves a list of galleries.
1288
+ *
1289
+ * This function retrieves a list of up to 10 galleries at a given time. To list the next 10 galleries in your site's backend, use the `offset` parameter.
1290
+ * @param - Options to use when getting the list of galleries.
1291
+ */
1292
+ (options?: ListGalleriesOptions | undefined): Promise<ListGalleriesResponse & ListGalleriesResponseNonNullableFields>;
1245
1293
  }
1246
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
1247
- type HttpResponse<T = any> = {
1248
- data: T;
1249
- status: number;
1250
- statusText: string;
1251
- headers: any;
1252
- request?: any;
1253
- };
1254
- type RequestOptions<_TResponse = any, Data = any> = {
1255
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
1256
- url: string;
1257
- data?: Data;
1258
- params?: URLSearchParams;
1259
- } & APIMetadata;
1260
- type APIMetadata = {
1261
- methodFqn?: string;
1262
- entityFqdn?: string;
1263
- packageName?: string;
1264
- };
1265
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
1266
- type EventDefinition<Payload = unknown, Type extends string = string> = {
1267
- __type: 'event-definition';
1268
- type: Type;
1269
- isDomainEvent?: boolean;
1270
- transformations?: (envelope: unknown) => Payload;
1271
- __payload: Payload;
1272
- };
1273
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
1274
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
1275
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
1276
-
1277
- declare global {
1278
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
1279
- interface SymbolConstructor {
1280
- readonly observable: symbol;
1281
- }
1294
+ declare function getGallery$1(httpClient: HttpClient): GetGallerySignature;
1295
+ interface GetGallerySignature {
1296
+ /**
1297
+ * Retrieves a gallery by ID.
1298
+ * @param - Gallery ID.
1299
+ * @param - Options to use when getting the gallery.
1300
+ * @returns Returned gallery.
1301
+ */
1302
+ (galleryId: string, options?: GetGalleryOptions | undefined): Promise<Gallery & GalleryNonNullableFields>;
1303
+ }
1304
+ declare function listGalleryItems$1(httpClient: HttpClient): ListGalleryItemsSignature;
1305
+ interface ListGalleryItemsSignature {
1306
+ /**
1307
+ * Retrieves a list of media items in a specified gallery.
1308
+ *
1309
+ * This function retrieves a list of up to 100 gallery items. The gallery items are listed by `sortOrder` in descending order.
1310
+ * @param - Gallery ID.
1311
+ * @param - Options to use when getting the list of gallery items.
1312
+ */
1313
+ (galleryId: string, options?: ListGalleryItemsOptions | undefined): Promise<ListGalleryItemsResponse & ListGalleryItemsResponseNonNullableFields>;
1314
+ }
1315
+ declare function getGalleryItem$1(httpClient: HttpClient): GetGalleryItemSignature;
1316
+ interface GetGalleryItemSignature {
1317
+ /**
1318
+ * Retrieves a gallery item by ID.
1319
+ * @param - Gallery ID and Item ID.
1320
+ * @returns Returned media item.
1321
+ */
1322
+ (identifiers: GetGalleryItemIdentifiers): Promise<Item & ItemNonNullableFields>;
1323
+ }
1324
+ declare function createGallery$1(httpClient: HttpClient): CreateGallerySignature;
1325
+ interface CreateGallerySignature {
1326
+ /**
1327
+ * Creates a new gallery.
1328
+ *
1329
+ * You can create your own gallery by providing the gallery information, or clone an existing gallery using the ID of that existing gallery. When a gallery is cloned, the newly-created gallery includes the same properties as the existing gallery except for the gallery and item IDs, sort order, and created and updated dates.
1330
+ *
1331
+ * The newly-created gallery is only available on your backend, and doesn't appear on your live site. To display your backend gallery on your live site, you need to connect it to a gallery component on your live site. To do this, import the `createGallery()` function to your page code, and write code to convert the backend gallery object to the frontend gallery component object. Once converted, the newly created backend gallery is visible on your live site. For reference, check out the code example, "Create a gallery and display it on your live site". To learn more, see [Displaying a Pro Gallery on Your Site Using the Pro Gallery Backend API](https://support.wix.com/en/article/velo-tutorial-displaying-a-pro-gallery-on-your-site-using-the-pro-gallery-backend-api).
1332
+ *
1333
+ * <blockquote class="important">
1334
+ *
1335
+ * __Important:__
1336
+ * When creating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
1337
+ *
1338
+ * </blockquote>
1339
+ * @param - Options to use when creating the gallery.
1340
+ * @returns Created gallery.
1341
+ */
1342
+ (options?: CreateGalleryOptions | undefined): Promise<Gallery & GalleryNonNullableFields>;
1343
+ }
1344
+ declare function updateGallery$1(httpClient: HttpClient): UpdateGallerySignature;
1345
+ interface UpdateGallerySignature {
1346
+ /**
1347
+ * Updates a gallery.
1348
+ *
1349
+ * Only the fields in the `gallery` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
1350
+ *
1351
+ * <blockquote class="important">
1352
+ *
1353
+ * __Important:__
1354
+ * When updating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
1355
+ *
1356
+ * </blockquote>
1357
+ * @param - ID of the gallery to update.
1358
+ * @param - The information for the gallery being updated.
1359
+ * @returns Updated gallery.
1360
+ */
1361
+ (_id: string | null, gallery: UpdateGallery): Promise<Gallery & GalleryNonNullableFields>;
1362
+ }
1363
+ declare function deleteGallery$1(httpClient: HttpClient): DeleteGallerySignature;
1364
+ interface DeleteGallerySignature {
1365
+ /**
1366
+ * Deletes a gallery.
1367
+ *
1368
+ * When a gallery is deleted, the deleted gallery is no longer returned when calling the [`listGalleries()`](/pro-gallery/list-galleries) function.
1369
+ * @param - ID of the gallery to delete.
1370
+ */
1371
+ (galleryId: string): Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
1372
+ }
1373
+ declare function deleteGalleryItems$1(httpClient: HttpClient): DeleteGalleryItemsSignature;
1374
+ interface DeleteGalleryItemsSignature {
1375
+ /**
1376
+ * Deletes multiple media items from a gallery.
1377
+ * @param - Gallery ID.
1378
+ * @deprecated
1379
+ */
1380
+ (galleryId: string, options?: DeleteGalleryItemsOptions | undefined): Promise<DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields>;
1381
+ }
1382
+ declare function bulkDeleteGalleryItems$1(httpClient: HttpClient): BulkDeleteGalleryItemsSignature;
1383
+ interface BulkDeleteGalleryItemsSignature {
1384
+ /**
1385
+ * Deletes multiple media items from a gallery.
1386
+ * @param - Gallery ID.
1387
+ * @param - IDs of the media items to delete.
1388
+ */
1389
+ (galleryId: string, itemIds: string[]): Promise<BulkDeleteGalleryItemsResponse & BulkDeleteGalleryItemsResponseNonNullableFields>;
1390
+ }
1391
+ declare function createGalleryItem$1(httpClient: HttpClient): CreateGalleryItemSignature;
1392
+ interface CreateGalleryItemSignature {
1393
+ /**
1394
+ * Creates a media item in a specified gallery.
1395
+ *
1396
+ * The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
1397
+ *
1398
+ * <blockquote class="important">
1399
+ *
1400
+ * __Important:__
1401
+ * When creating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
1402
+ *
1403
+ * </blockquote>
1404
+ *
1405
+ * #### Override permissions
1406
+ * This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
1407
+ * <blockquote class='warning'>
1408
+ * <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
1409
+ * </blockquote>
1410
+ * @param - Gallery ID.
1411
+ * @param - Media item to create.
1412
+ * @returns Created media item.
1413
+ */
1414
+ (galleryId: string, item: Item): Promise<Item & ItemNonNullableFields>;
1415
+ }
1416
+ declare function updateGalleryItem$1(httpClient: HttpClient): UpdateGalleryItemSignature;
1417
+ interface UpdateGalleryItemSignature {
1418
+ /**
1419
+ * Updates a media item in a specified gallery.
1420
+ *
1421
+ * Only the fields in the `item` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
1422
+ *
1423
+ * <blockquote class="important">
1424
+ *
1425
+ * __Important:__
1426
+ * When updating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
1427
+ *
1428
+ * </blockquote>
1429
+ * @param - The information for the gallery item being updated.
1430
+ * @param - Gallery ID and Item ID.
1431
+ * @returns Updated media item.
1432
+ */
1433
+ (identifiers: UpdateGalleryItemIdentifiers, item: UpdateGalleryItem): Promise<Item & ItemNonNullableFields>;
1434
+ }
1435
+ declare function deleteGalleryItem$1(httpClient: HttpClient): DeleteGalleryItemSignature;
1436
+ interface DeleteGalleryItemSignature {
1437
+ /**
1438
+ * Deletes a media item from a gallery.
1439
+ *
1440
+ * When a gallery item is deleted, the deleted gallery item is no longer returned when calling the [`listGalleryItems()`](/pro-gallery/list-gallery-items) function.
1441
+ * @param - Gallery ID and Item ID.
1442
+ */
1443
+ (identifiers: DeleteGalleryItemIdentifiers): Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
1282
1444
  }
1283
-
1284
- declare function listGalleries$1(httpClient: HttpClient): (options?: ListGalleriesOptions) => Promise<ListGalleriesResponse & ListGalleriesResponseNonNullableFields>;
1285
- declare function getGallery$1(httpClient: HttpClient): (galleryId: string, options?: GetGalleryOptions) => Promise<Gallery & GalleryNonNullableFields>;
1286
- declare function listGalleryItems$1(httpClient: HttpClient): (galleryId: string, options?: ListGalleryItemsOptions) => Promise<ListGalleryItemsResponse & ListGalleryItemsResponseNonNullableFields>;
1287
- declare function getGalleryItem$1(httpClient: HttpClient): (identifiers: GetGalleryItemIdentifiers) => Promise<Item & ItemNonNullableFields>;
1288
- declare function createGallery$1(httpClient: HttpClient): (options?: CreateGalleryOptions) => Promise<Gallery & GalleryNonNullableFields>;
1289
- declare function updateGallery$1(httpClient: HttpClient): (_id: string | null, gallery: UpdateGallery) => Promise<Gallery & GalleryNonNullableFields>;
1290
- declare function deleteGallery$1(httpClient: HttpClient): (galleryId: string) => Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
1291
- declare function deleteGalleryItems$1(httpClient: HttpClient): (galleryId: string, options?: DeleteGalleryItemsOptions) => Promise<DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields>;
1292
- declare function bulkDeleteGalleryItems$1(httpClient: HttpClient): (galleryId: string, itemIds: string[]) => Promise<BulkDeleteGalleryItemsResponse & BulkDeleteGalleryItemsResponseNonNullableFields>;
1293
- declare function createGalleryItem$1(httpClient: HttpClient): (galleryId: string, item: Item) => Promise<Item & ItemNonNullableFields>;
1294
- declare function updateGalleryItem$1(httpClient: HttpClient): (identifiers: UpdateGalleryItemIdentifiers, item: UpdateGalleryItem) => Promise<Item & ItemNonNullableFields>;
1295
- declare function deleteGalleryItem$1(httpClient: HttpClient): (identifiers: DeleteGalleryItemIdentifiers) => Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
1296
1445
  declare const onGalleryCreated$1: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
1297
1446
  declare const onGalleryUpdated$1: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
1298
1447
  declare const onGalleryDeleted$1: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
@@ -1300,51 +1449,64 @@ declare const onGalleryItemCreated$1: EventDefinition<GalleryItemCreatedEnvelope
1300
1449
  declare const onGalleryItemUpdated$1: EventDefinition<GalleryItemUpdatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_updated">;
1301
1450
  declare const onGalleryItemDeleted$1: EventDefinition<GalleryItemDeletedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_deleted">;
1302
1451
 
1303
- declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1304
-
1305
1452
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1306
1453
 
1307
- type _publicListGalleriesType = typeof listGalleries$1;
1308
- declare const listGalleries: ReturnType<typeof createRESTModule<_publicListGalleriesType>>;
1309
- type _publicGetGalleryType = typeof getGallery$1;
1310
- declare const getGallery: ReturnType<typeof createRESTModule<_publicGetGalleryType>>;
1311
- type _publicListGalleryItemsType = typeof listGalleryItems$1;
1312
- declare const listGalleryItems: ReturnType<typeof createRESTModule<_publicListGalleryItemsType>>;
1313
- type _publicGetGalleryItemType = typeof getGalleryItem$1;
1314
- declare const getGalleryItem: ReturnType<typeof createRESTModule<_publicGetGalleryItemType>>;
1315
- type _publicCreateGalleryType = typeof createGallery$1;
1316
- declare const createGallery: ReturnType<typeof createRESTModule<_publicCreateGalleryType>>;
1317
- type _publicUpdateGalleryType = typeof updateGallery$1;
1318
- declare const updateGallery: ReturnType<typeof createRESTModule<_publicUpdateGalleryType>>;
1319
- type _publicDeleteGalleryType = typeof deleteGallery$1;
1320
- declare const deleteGallery: ReturnType<typeof createRESTModule<_publicDeleteGalleryType>>;
1321
- type _publicDeleteGalleryItemsType = typeof deleteGalleryItems$1;
1322
- declare const deleteGalleryItems: ReturnType<typeof createRESTModule<_publicDeleteGalleryItemsType>>;
1323
- type _publicBulkDeleteGalleryItemsType = typeof bulkDeleteGalleryItems$1;
1324
- declare const bulkDeleteGalleryItems: ReturnType<typeof createRESTModule<_publicBulkDeleteGalleryItemsType>>;
1325
- type _publicCreateGalleryItemType = typeof createGalleryItem$1;
1326
- declare const createGalleryItem: ReturnType<typeof createRESTModule<_publicCreateGalleryItemType>>;
1327
- type _publicUpdateGalleryItemType = typeof updateGalleryItem$1;
1328
- declare const updateGalleryItem: ReturnType<typeof createRESTModule<_publicUpdateGalleryItemType>>;
1329
- type _publicDeleteGalleryItemType = typeof deleteGalleryItem$1;
1330
- declare const deleteGalleryItem: ReturnType<typeof createRESTModule<_publicDeleteGalleryItemType>>;
1454
+ declare const listGalleries: BuildRESTFunction<typeof listGalleries$1> & typeof listGalleries$1;
1455
+ declare const getGallery: BuildRESTFunction<typeof getGallery$1> & typeof getGallery$1;
1456
+ declare const listGalleryItems: BuildRESTFunction<typeof listGalleryItems$1> & typeof listGalleryItems$1;
1457
+ declare const getGalleryItem: BuildRESTFunction<typeof getGalleryItem$1> & typeof getGalleryItem$1;
1458
+ declare const createGallery: BuildRESTFunction<typeof createGallery$1> & typeof createGallery$1;
1459
+ declare const updateGallery: BuildRESTFunction<typeof updateGallery$1> & typeof updateGallery$1;
1460
+ declare const deleteGallery: BuildRESTFunction<typeof deleteGallery$1> & typeof deleteGallery$1;
1461
+ declare const deleteGalleryItems: BuildRESTFunction<typeof deleteGalleryItems$1> & typeof deleteGalleryItems$1;
1462
+ declare const bulkDeleteGalleryItems: BuildRESTFunction<typeof bulkDeleteGalleryItems$1> & typeof bulkDeleteGalleryItems$1;
1463
+ declare const createGalleryItem: BuildRESTFunction<typeof createGalleryItem$1> & typeof createGalleryItem$1;
1464
+ declare const updateGalleryItem: BuildRESTFunction<typeof updateGalleryItem$1> & typeof updateGalleryItem$1;
1465
+ declare const deleteGalleryItem: BuildRESTFunction<typeof deleteGalleryItem$1> & typeof deleteGalleryItem$1;
1331
1466
 
1332
1467
  type _publicOnGalleryCreatedType = typeof onGalleryCreated$1;
1468
+ /**
1469
+ * Triggered when a gallery is created.
1470
+ *
1471
+ * > __Note:__ The event data doesn't include gallery items or their IDs.
1472
+ * > To receive information about the created items you need to listen to the [Gallery Item Created webhook](https://dev.wix.com/api/rest/site-content/pro-gallery/gallery-item-created-webhook).
1473
+ */
1333
1474
  declare const onGalleryCreated: ReturnType<typeof createEventModule<_publicOnGalleryCreatedType>>;
1334
1475
 
1335
1476
  type _publicOnGalleryUpdatedType = typeof onGalleryUpdated$1;
1477
+ /**
1478
+ * Triggered when a gallery is updated.
1479
+ *
1480
+ * > __Note:__ The event data doesn't include gallery items or their IDs.
1481
+ * > To receive information about the updated items you need to listen to the [Gallery Item Updated webhook](https://dev.wix.com/api/rest/site-content/pro-gallery/gallery-item-updated-webhook).
1482
+ */
1336
1483
  declare const onGalleryUpdated: ReturnType<typeof createEventModule<_publicOnGalleryUpdatedType>>;
1337
1484
 
1338
1485
  type _publicOnGalleryDeletedType = typeof onGalleryDeleted$1;
1486
+ /**
1487
+ * Triggered when a gallery is deleted.
1488
+ */
1339
1489
  declare const onGalleryDeleted: ReturnType<typeof createEventModule<_publicOnGalleryDeletedType>>;
1340
1490
 
1341
1491
  type _publicOnGalleryItemCreatedType = typeof onGalleryItemCreated$1;
1492
+ /**
1493
+ * Triggered when a media item in a specified gallery is created.
1494
+ */
1342
1495
  declare const onGalleryItemCreated: ReturnType<typeof createEventModule<_publicOnGalleryItemCreatedType>>;
1343
1496
 
1344
1497
  type _publicOnGalleryItemUpdatedType = typeof onGalleryItemUpdated$1;
1498
+ /**
1499
+ * Triggered when a media item in a specified gallery is updated.
1500
+ */
1345
1501
  declare const onGalleryItemUpdated: ReturnType<typeof createEventModule<_publicOnGalleryItemUpdatedType>>;
1346
1502
 
1347
1503
  type _publicOnGalleryItemDeletedType = typeof onGalleryItemDeleted$1;
1504
+ /**
1505
+ * Triggered when a media item in a specified gallery is deleted.
1506
+ *
1507
+ * > __Note:__ The event is triggered when a gallery item is deleted individually and when a gallery item is deleted because its gallery is deleted.
1508
+ * > The property `originatedFrom` has the value `Gallery Deleted` if the entire gallery is deleted. If the gallery item is deleted individually, this field is empty.
1509
+ */
1348
1510
  declare const onGalleryItemDeleted: ReturnType<typeof createEventModule<_publicOnGalleryItemDeletedType>>;
1349
1511
 
1350
1512
  type index_d_ActionEvent = ActionEvent;
@@ -1497,24 +1659,12 @@ declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
1497
1659
  type index_d_WhatsAppLink = WhatsAppLink;
1498
1660
  type index_d_WixLink = WixLink;
1499
1661
  type index_d_WixLinkLinkOneOf = WixLinkLinkOneOf;
1500
- type index_d__publicBulkDeleteGalleryItemsType = _publicBulkDeleteGalleryItemsType;
1501
- type index_d__publicCreateGalleryItemType = _publicCreateGalleryItemType;
1502
- type index_d__publicCreateGalleryType = _publicCreateGalleryType;
1503
- type index_d__publicDeleteGalleryItemType = _publicDeleteGalleryItemType;
1504
- type index_d__publicDeleteGalleryItemsType = _publicDeleteGalleryItemsType;
1505
- type index_d__publicDeleteGalleryType = _publicDeleteGalleryType;
1506
- type index_d__publicGetGalleryItemType = _publicGetGalleryItemType;
1507
- type index_d__publicGetGalleryType = _publicGetGalleryType;
1508
- type index_d__publicListGalleriesType = _publicListGalleriesType;
1509
- type index_d__publicListGalleryItemsType = _publicListGalleryItemsType;
1510
1662
  type index_d__publicOnGalleryCreatedType = _publicOnGalleryCreatedType;
1511
1663
  type index_d__publicOnGalleryDeletedType = _publicOnGalleryDeletedType;
1512
1664
  type index_d__publicOnGalleryItemCreatedType = _publicOnGalleryItemCreatedType;
1513
1665
  type index_d__publicOnGalleryItemDeletedType = _publicOnGalleryItemDeletedType;
1514
1666
  type index_d__publicOnGalleryItemUpdatedType = _publicOnGalleryItemUpdatedType;
1515
1667
  type index_d__publicOnGalleryUpdatedType = _publicOnGalleryUpdatedType;
1516
- type index_d__publicUpdateGalleryItemType = _publicUpdateGalleryItemType;
1517
- type index_d__publicUpdateGalleryType = _publicUpdateGalleryType;
1518
1668
  declare const index_d_bulkDeleteGalleryItems: typeof bulkDeleteGalleryItems;
1519
1669
  declare const index_d_createGallery: typeof createGallery;
1520
1670
  declare const index_d_createGalleryItem: typeof createGalleryItem;
@@ -1534,7 +1684,7 @@ declare const index_d_onGalleryUpdated: typeof onGalleryUpdated;
1534
1684
  declare const index_d_updateGallery: typeof updateGallery;
1535
1685
  declare const index_d_updateGalleryItem: typeof updateGalleryItem;
1536
1686
  declare namespace index_d {
1537
- 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_BulkDeleteGalleryItemsResponseNonNullableFields as BulkDeleteGalleryItemsResponseNonNullableFields, 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, type index_d__publicBulkDeleteGalleryItemsType as _publicBulkDeleteGalleryItemsType, type index_d__publicCreateGalleryItemType as _publicCreateGalleryItemType, type index_d__publicCreateGalleryType as _publicCreateGalleryType, type index_d__publicDeleteGalleryItemType as _publicDeleteGalleryItemType, type index_d__publicDeleteGalleryItemsType as _publicDeleteGalleryItemsType, type index_d__publicDeleteGalleryType as _publicDeleteGalleryType, type index_d__publicGetGalleryItemType as _publicGetGalleryItemType, type index_d__publicGetGalleryType as _publicGetGalleryType, type index_d__publicListGalleriesType as _publicListGalleriesType, type index_d__publicListGalleryItemsType as _publicListGalleryItemsType, type index_d__publicOnGalleryCreatedType as _publicOnGalleryCreatedType, type index_d__publicOnGalleryDeletedType as _publicOnGalleryDeletedType, type index_d__publicOnGalleryItemCreatedType as _publicOnGalleryItemCreatedType, type index_d__publicOnGalleryItemDeletedType as _publicOnGalleryItemDeletedType, type index_d__publicOnGalleryItemUpdatedType as _publicOnGalleryItemUpdatedType, type index_d__publicOnGalleryUpdatedType as _publicOnGalleryUpdatedType, type index_d__publicUpdateGalleryItemType as _publicUpdateGalleryItemType, type index_d__publicUpdateGalleryType as _publicUpdateGalleryType, index_d_bulkDeleteGalleryItems as bulkDeleteGalleryItems, 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, onGalleryCreated$1 as publicOnGalleryCreated, onGalleryDeleted$1 as publicOnGalleryDeleted, onGalleryItemCreated$1 as publicOnGalleryItemCreated, onGalleryItemDeleted$1 as publicOnGalleryItemDeleted, onGalleryItemUpdated$1 as publicOnGalleryItemUpdated, onGalleryUpdated$1 as publicOnGalleryUpdated, index_d_updateGallery as updateGallery, index_d_updateGalleryItem as updateGalleryItem };
1687
+ 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_BulkDeleteGalleryItemsResponseNonNullableFields as BulkDeleteGalleryItemsResponseNonNullableFields, 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, type index_d__publicOnGalleryCreatedType as _publicOnGalleryCreatedType, type index_d__publicOnGalleryDeletedType as _publicOnGalleryDeletedType, type index_d__publicOnGalleryItemCreatedType as _publicOnGalleryItemCreatedType, type index_d__publicOnGalleryItemDeletedType as _publicOnGalleryItemDeletedType, type index_d__publicOnGalleryItemUpdatedType as _publicOnGalleryItemUpdatedType, type index_d__publicOnGalleryUpdatedType as _publicOnGalleryUpdatedType, index_d_bulkDeleteGalleryItems as bulkDeleteGalleryItems, 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, onGalleryCreated$1 as publicOnGalleryCreated, onGalleryDeleted$1 as publicOnGalleryDeleted, onGalleryItemCreated$1 as publicOnGalleryItemCreated, onGalleryItemDeleted$1 as publicOnGalleryItemDeleted, onGalleryItemUpdated$1 as publicOnGalleryItemUpdated, onGalleryUpdated$1 as publicOnGalleryUpdated, index_d_updateGallery as updateGallery, index_d_updateGalleryItem as updateGalleryItem };
1538
1688
  }
1539
1689
 
1540
1690
  export { index_d as proGallery };