@wix/auto_sdk_pro-gallery_pro-gallery 1.0.20 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{index.d.ts → cjs/index.d.ts} +20 -15
- package/build/{internal → cjs}/index.js +1 -0
- package/build/cjs/index.js.map +1 -0
- package/build/{pro-gallery-v2-gallery-pro-gallery.universal-CExTgtbV.d.mts → cjs/index.typings.d.ts} +327 -3
- package/build/cjs/index.typings.js +1467 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/{internal → cjs}/meta.d.ts +2 -1
- package/build/{index.d.mts → es/index.d.mts} +20 -15
- package/build/{index.mjs → es/index.mjs} +1 -0
- package/build/es/index.mjs.map +1 -0
- package/build/{internal/pro-gallery-v2-gallery-pro-gallery.universal-CExTgtbV.d.ts → es/index.typings.d.mts} +327 -3
- package/build/es/index.typings.mjs +1422 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/{internal → es}/meta.d.mts +2 -1
- package/build/internal/{index.d.ts → cjs/index.d.ts} +20 -15
- package/build/{index.js → internal/cjs/index.js} +1 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/{pro-gallery-v2-gallery-pro-gallery.universal-CExTgtbV.d.ts → internal/cjs/index.typings.d.ts} +327 -3
- package/build/internal/cjs/index.typings.js +1467 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/{meta.d.ts → internal/cjs/meta.d.ts} +2 -1
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/{index.d.mts → es/index.d.mts} +20 -15
- package/build/internal/{index.mjs → es/index.mjs} +1 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/{pro-gallery-v2-gallery-pro-gallery.universal-CExTgtbV.d.mts → es/index.typings.d.mts} +327 -3
- package/build/internal/es/index.typings.mjs +1422 -0
- package/build/internal/{index.js.map → es/index.typings.mjs.map} +1 -1
- package/build/{meta.d.mts → internal/es/meta.d.mts} +2 -1
- package/build/internal/es/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/index.js.map +0 -1
- package/build/index.mjs.map +0 -1
- package/build/internal/index.mjs.map +0 -1
- package/build/meta.js.map +0 -1
- package/build/meta.mjs.map +0 -1
- /package/build/{internal → cjs}/meta.js +0 -0
- /package/build/{internal → cjs}/meta.js.map +0 -0
- /package/build/{internal → es}/meta.mjs +0 -0
- /package/build/{internal → es}/meta.mjs.map +0 -0
- /package/build/{meta.js → internal/cjs/meta.js} +0 -0
- /package/build/{meta.mjs → internal/es/meta.mjs} +0 -0
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { ListGalleriesRequest as ListGalleriesRequest$1, ListGalleriesResponse as ListGalleriesResponse$1, GetGalleryRequest as GetGalleryRequest$1, GetGalleryResponse as GetGalleryResponse$1, ListGalleryItemsRequest as ListGalleryItemsRequest$1, ListGalleryItemsResponse as ListGalleryItemsResponse$1, GetGalleryItemRequest as GetGalleryItemRequest$1, GetGalleryItemResponse as GetGalleryItemResponse$1, CreateGalleryRequest as CreateGalleryRequest$1, CreateGalleryResponse as CreateGalleryResponse$1, UpdateGalleryRequest as UpdateGalleryRequest$1, UpdateGalleryResponse as UpdateGalleryResponse$1, DeleteGalleryRequest as DeleteGalleryRequest$1, DeleteGalleryResponse as DeleteGalleryResponse$1, DeleteGalleryItemsRequest as DeleteGalleryItemsRequest$1, DeleteGalleryItemsResponse as DeleteGalleryItemsResponse$1, BulkDeleteGalleryItemsRequest as BulkDeleteGalleryItemsRequest$1, BulkDeleteGalleryItemsResponse as BulkDeleteGalleryItemsResponse$1, CreateGalleryItemRequest as CreateGalleryItemRequest$1, CreateGalleryItemResponse as CreateGalleryItemResponse$1, UpdateGalleryItemRequest as UpdateGalleryItemRequest$1, UpdateGalleryItemResponse as UpdateGalleryItemResponse$1, DeleteGalleryItemRequest as DeleteGalleryItemRequest$1, DeleteGalleryItemResponse as DeleteGalleryItemResponse$1 } from './index.typings.mjs';
|
2
|
+
import '@wix/sdk-types';
|
2
3
|
|
3
4
|
interface Gallery {
|
4
5
|
/**
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/pro-gallery-v2-gallery-pro-gallery.http.ts","../../../src/pro-gallery-v2-gallery-pro-gallery.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressExposureProgalleryProGalleryUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _: [\n {\n srcPath: '/_api/pro-gallery-server',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/pro-gallery-server',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/pro-gallery-server',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/pro-gallery-server',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/pro-gallery-server',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/pro-gallery-server',\n destPath: '',\n },\n ],\n 'progallery.wixapps.net': [\n {\n srcPath: '/_api/pro-gallery-server',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/progallery',\n destPath: '',\n },\n {\n srcPath: '/pro-gallery/v2/galleries',\n destPath: '/v2/galleries',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/pro-gallery-server',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/prime-server-proxy',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_pro-gallery_pro-gallery';\n\n/**\n * Retrieves a list of galleries.\n *\n * 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.\n */\nexport function listGalleries(payload: object): RequestOptionsFactory<any> {\n function __listGalleries({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fields' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.pro_gallery.v2.gallery',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.exposure.progallery.ProGallery.ListGalleries',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureProgalleryProGalleryUrl({\n protoPath: '/v2/galleries',\n data: serializedData,\n host,\n }),\n params: toURLSearchParams(serializedData),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'galleries.sortOrder' },\n { path: 'galleries.items.sortOrder' },\n { path: 'galleries.items.image.focalPoint.x' },\n { path: 'galleries.items.image.focalPoint.y' },\n { path: 'galleries.items.secondaryMedia.image.focalPoint.x' },\n { path: 'galleries.items.secondaryMedia.image.focalPoint.y' },\n { path: 'galleries.items.image.unsharpMasking.amount' },\n { path: 'galleries.items.image.unsharpMasking.radius' },\n { path: 'galleries.items.image.unsharpMasking.threshold' },\n {\n path: 'galleries.items.secondaryMedia.image.unsharpMasking.amount',\n },\n {\n path: 'galleries.items.secondaryMedia.image.unsharpMasking.radius',\n },\n {\n path: 'galleries.items.secondaryMedia.image.unsharpMasking.threshold',\n },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'galleries.createdDate' },\n { path: 'galleries.items.createdDate' },\n { path: 'galleries.items.updatedDate' },\n { path: 'galleries.items.image.imageInfo.urlExpirationDate' },\n { path: 'galleries.items.video.videoInfo.urlExpirationDate' },\n {\n path: 'galleries.items.video.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'galleries.items.video.videoInfo.posters.urlExpirationDate',\n },\n {\n path: 'galleries.items.secondaryMedia.image.imageInfo.urlExpirationDate',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listGalleries;\n}\n\n/** Retrieves a gallery by ID. */\nexport function getGallery(payload: object): RequestOptionsFactory<any> {\n function __getGallery({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.pro_gallery.v2.gallery',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.exposure.progallery.ProGallery.GetGallery',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureProgalleryProGalleryUrl({\n protoPath: '/v2/galleries/{galleryId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'gallery.sortOrder' },\n { path: 'gallery.items.sortOrder' },\n { path: 'gallery.items.image.focalPoint.x' },\n { path: 'gallery.items.image.focalPoint.y' },\n { path: 'gallery.items.secondaryMedia.image.focalPoint.x' },\n { path: 'gallery.items.secondaryMedia.image.focalPoint.y' },\n { path: 'gallery.items.image.unsharpMasking.amount' },\n { path: 'gallery.items.image.unsharpMasking.radius' },\n { path: 'gallery.items.image.unsharpMasking.threshold' },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.amount',\n },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.radius',\n },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.threshold',\n },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.items.createdDate' },\n { path: 'gallery.items.updatedDate' },\n { path: 'gallery.items.image.imageInfo.urlExpirationDate' },\n { path: 'gallery.items.video.videoInfo.urlExpirationDate' },\n {\n path: 'gallery.items.video.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'gallery.items.video.videoInfo.posters.urlExpirationDate',\n },\n {\n path: 'gallery.items.secondaryMedia.image.imageInfo.urlExpirationDate',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getGallery;\n}\n\n/**\n * Retrieves a list of media items in a specified gallery.\n *\n * This function retrieves a list of up to 100 gallery items. The gallery items are listed by `sortOrder` in descending order.\n */\nexport function listGalleryItems(payload: object): RequestOptionsFactory<any> {\n function __listGalleryItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.pro_gallery.v2.gallery',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.exposure.progallery.ProGallery.ListGalleryItems',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureProgalleryProGalleryUrl({\n protoPath: '/v2/galleries/{galleryId}/items',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'items.sortOrder' },\n { path: 'items.image.focalPoint.x' },\n { path: 'items.image.focalPoint.y' },\n { path: 'items.secondaryMedia.image.focalPoint.x' },\n { path: 'items.secondaryMedia.image.focalPoint.y' },\n { path: 'items.image.unsharpMasking.amount' },\n { path: 'items.image.unsharpMasking.radius' },\n { path: 'items.image.unsharpMasking.threshold' },\n { path: 'items.secondaryMedia.image.unsharpMasking.amount' },\n { path: 'items.secondaryMedia.image.unsharpMasking.radius' },\n { path: 'items.secondaryMedia.image.unsharpMasking.threshold' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'items.createdDate' },\n { path: 'items.updatedDate' },\n { path: 'items.image.imageInfo.urlExpirationDate' },\n { path: 'items.video.videoInfo.urlExpirationDate' },\n {\n path: 'items.video.videoInfo.resolutions.poster.urlExpirationDate',\n },\n { path: 'items.video.videoInfo.posters.urlExpirationDate' },\n {\n path: 'items.secondaryMedia.image.imageInfo.urlExpirationDate',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listGalleryItems;\n}\n\n/** Retrieves a gallery item by ID. */\nexport function getGalleryItem(payload: object): RequestOptionsFactory<any> {\n function __getGalleryItem({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.pro_gallery.v2.gallery',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.exposure.progallery.ProGallery.GetGalleryItem',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureProgalleryProGalleryUrl({\n protoPath: '/v2/galleries/{galleryId}/items/{itemId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'item.sortOrder' },\n { path: 'item.image.focalPoint.x' },\n { path: 'item.image.focalPoint.y' },\n { path: 'item.secondaryMedia.image.focalPoint.x' },\n { path: 'item.secondaryMedia.image.focalPoint.y' },\n { path: 'item.image.unsharpMasking.amount' },\n { path: 'item.image.unsharpMasking.radius' },\n { path: 'item.image.unsharpMasking.threshold' },\n { path: 'item.secondaryMedia.image.unsharpMasking.amount' },\n { path: 'item.secondaryMedia.image.unsharpMasking.radius' },\n { path: 'item.secondaryMedia.image.unsharpMasking.threshold' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'item.createdDate' },\n { path: 'item.updatedDate' },\n { path: 'item.image.imageInfo.urlExpirationDate' },\n { path: 'item.video.videoInfo.urlExpirationDate' },\n {\n path: 'item.video.videoInfo.resolutions.poster.urlExpirationDate',\n },\n { path: 'item.video.videoInfo.posters.urlExpirationDate' },\n { path: 'item.secondaryMedia.image.imageInfo.urlExpirationDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getGalleryItem;\n}\n\n/**\n * Creates a new gallery.\n *\n * 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.\n *\n * 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).\n *\n * <blockquote class=\"important\">\n *\n * __Important:__\n * 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.\n *\n * </blockquote>\n */\nexport function createGallery(payload: object): RequestOptionsFactory<any> {\n function __createGallery({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'gallery.sortOrder' },\n { path: 'gallery.items.sortOrder' },\n { path: 'gallery.items.image.focalPoint.x' },\n { path: 'gallery.items.image.focalPoint.y' },\n { path: 'gallery.items.secondaryMedia.image.focalPoint.x' },\n { path: 'gallery.items.secondaryMedia.image.focalPoint.y' },\n { path: 'gallery.items.image.unsharpMasking.amount' },\n { path: 'gallery.items.image.unsharpMasking.radius' },\n { path: 'gallery.items.image.unsharpMasking.threshold' },\n { path: 'gallery.items.secondaryMedia.image.unsharpMasking.amount' },\n { path: 'gallery.items.secondaryMedia.image.unsharpMasking.radius' },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.threshold',\n },\n ],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.items.createdDate' },\n { path: 'gallery.items.updatedDate' },\n { path: 'gallery.items.image.imageInfo.urlExpirationDate' },\n { path: 'gallery.items.video.videoInfo.urlExpirationDate' },\n {\n path: 'gallery.items.video.videoInfo.resolutions.poster.urlExpirationDate',\n },\n { path: 'gallery.items.video.videoInfo.posters.urlExpirationDate' },\n {\n path: 'gallery.items.secondaryMedia.image.imageInfo.urlExpirationDate',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.pro_gallery.v2.gallery',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.exposure.progallery.ProGallery.CreateGallery',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureProgalleryProGalleryUrl({\n protoPath: '/v2/galleries',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'gallery.sortOrder' },\n { path: 'gallery.items.sortOrder' },\n { path: 'gallery.items.image.focalPoint.x' },\n { path: 'gallery.items.image.focalPoint.y' },\n { path: 'gallery.items.secondaryMedia.image.focalPoint.x' },\n { path: 'gallery.items.secondaryMedia.image.focalPoint.y' },\n { path: 'gallery.items.image.unsharpMasking.amount' },\n { path: 'gallery.items.image.unsharpMasking.radius' },\n { path: 'gallery.items.image.unsharpMasking.threshold' },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.amount',\n },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.radius',\n },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.threshold',\n },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.items.createdDate' },\n { path: 'gallery.items.updatedDate' },\n { path: 'gallery.items.image.imageInfo.urlExpirationDate' },\n { path: 'gallery.items.video.videoInfo.urlExpirationDate' },\n {\n path: 'gallery.items.video.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'gallery.items.video.videoInfo.posters.urlExpirationDate',\n },\n {\n path: 'gallery.items.secondaryMedia.image.imageInfo.urlExpirationDate',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createGallery;\n}\n\n/**\n * Updates a gallery.\n *\n * Only the fields in the `gallery` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.\n *\n * <blockquote class=\"important\">\n *\n * __Important:__\n * 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.\n *\n * </blockquote>\n */\nexport function updateGallery(payload: object): RequestOptionsFactory<any> {\n function __updateGallery({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'gallery.sortOrder' },\n { path: 'gallery.items.sortOrder' },\n { path: 'gallery.items.image.focalPoint.x' },\n { path: 'gallery.items.image.focalPoint.y' },\n { path: 'gallery.items.secondaryMedia.image.focalPoint.x' },\n { path: 'gallery.items.secondaryMedia.image.focalPoint.y' },\n { path: 'gallery.items.image.unsharpMasking.amount' },\n { path: 'gallery.items.image.unsharpMasking.radius' },\n { path: 'gallery.items.image.unsharpMasking.threshold' },\n { path: 'gallery.items.secondaryMedia.image.unsharpMasking.amount' },\n { path: 'gallery.items.secondaryMedia.image.unsharpMasking.radius' },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.threshold',\n },\n ],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.items.createdDate' },\n { path: 'gallery.items.updatedDate' },\n { path: 'gallery.items.image.imageInfo.urlExpirationDate' },\n { path: 'gallery.items.video.videoInfo.urlExpirationDate' },\n {\n path: 'gallery.items.video.videoInfo.resolutions.poster.urlExpirationDate',\n },\n { path: 'gallery.items.video.videoInfo.posters.urlExpirationDate' },\n {\n path: 'gallery.items.secondaryMedia.image.imageInfo.urlExpirationDate',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.pro_gallery.v2.gallery',\n method: 'PATCH' as any,\n methodFqn: 'com.wixpress.exposure.progallery.ProGallery.UpdateGallery',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureProgalleryProGalleryUrl({\n protoPath: '/v2/galleries/{gallery.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'gallery.sortOrder' },\n { path: 'gallery.items.sortOrder' },\n { path: 'gallery.items.image.focalPoint.x' },\n { path: 'gallery.items.image.focalPoint.y' },\n { path: 'gallery.items.secondaryMedia.image.focalPoint.x' },\n { path: 'gallery.items.secondaryMedia.image.focalPoint.y' },\n { path: 'gallery.items.image.unsharpMasking.amount' },\n { path: 'gallery.items.image.unsharpMasking.radius' },\n { path: 'gallery.items.image.unsharpMasking.threshold' },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.amount',\n },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.radius',\n },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.threshold',\n },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.items.createdDate' },\n { path: 'gallery.items.updatedDate' },\n { path: 'gallery.items.image.imageInfo.urlExpirationDate' },\n { path: 'gallery.items.video.videoInfo.urlExpirationDate' },\n {\n path: 'gallery.items.video.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'gallery.items.video.videoInfo.posters.urlExpirationDate',\n },\n {\n path: 'gallery.items.secondaryMedia.image.imageInfo.urlExpirationDate',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateGallery;\n}\n\n/**\n * Deletes a gallery.\n *\n * When a gallery is deleted, the deleted gallery is no longer returned when calling the [`listGalleries()`](/pro-gallery/list-galleries) function.\n */\nexport function deleteGallery(payload: object): RequestOptionsFactory<any> {\n function __deleteGallery({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.pro_gallery.v2.gallery',\n method: 'DELETE' as any,\n methodFqn: 'com.wixpress.exposure.progallery.ProGallery.DeleteGallery',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureProgalleryProGalleryUrl({\n protoPath: '/v2/galleries/{galleryId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteGallery;\n}\n\n/**\n * Deletes multiple media items from a gallery.\n * @deprecated It has been replaced with wix.pro_gallery.v2.gallery.BulkDeleteGalleryItems(), and will be removed on 2024-08-15.\n */\nexport function deleteGalleryItems(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteGalleryItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.pro_gallery.v2.gallery',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.exposure.progallery.ProGallery.DeleteGalleryItems',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureProgalleryProGalleryUrl({\n protoPath: '/v2/galleries/{galleryId}/items',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'gallery.sortOrder' },\n { path: 'gallery.items.sortOrder' },\n { path: 'gallery.items.image.focalPoint.x' },\n { path: 'gallery.items.image.focalPoint.y' },\n { path: 'gallery.items.secondaryMedia.image.focalPoint.x' },\n { path: 'gallery.items.secondaryMedia.image.focalPoint.y' },\n { path: 'gallery.items.image.unsharpMasking.amount' },\n { path: 'gallery.items.image.unsharpMasking.radius' },\n { path: 'gallery.items.image.unsharpMasking.threshold' },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.amount',\n },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.radius',\n },\n {\n path: 'gallery.items.secondaryMedia.image.unsharpMasking.threshold',\n },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.items.createdDate' },\n { path: 'gallery.items.updatedDate' },\n { path: 'gallery.items.image.imageInfo.urlExpirationDate' },\n { path: 'gallery.items.video.videoInfo.urlExpirationDate' },\n {\n path: 'gallery.items.video.videoInfo.resolutions.poster.urlExpirationDate',\n },\n {\n path: 'gallery.items.video.videoInfo.posters.urlExpirationDate',\n },\n {\n path: 'gallery.items.secondaryMedia.image.imageInfo.urlExpirationDate',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __deleteGalleryItems;\n}\n\n/** Deletes multiple media items from a gallery. */\nexport function bulkDeleteGalleryItems(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteGalleryItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.pro_gallery.v2.gallery',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.exposure.progallery.ProGallery.BulkDeleteGalleryItems',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureProgalleryProGalleryUrl({\n protoPath: '/v2/galleries/{galleryId}/items/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteGalleryItems;\n}\n\n/**\n * Creates a media item in a specified gallery.\n *\n * The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.\n *\n * <blockquote class=\"important\">\n *\n * __Important:__\n * 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.\n *\n * </blockquote>\n */\nexport function createGalleryItem(payload: object): RequestOptionsFactory<any> {\n function __createGalleryItem({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'item.sortOrder' },\n { path: 'item.image.focalPoint.x' },\n { path: 'item.image.focalPoint.y' },\n { path: 'item.secondaryMedia.image.focalPoint.x' },\n { path: 'item.secondaryMedia.image.focalPoint.y' },\n { path: 'item.image.unsharpMasking.amount' },\n { path: 'item.image.unsharpMasking.radius' },\n { path: 'item.image.unsharpMasking.threshold' },\n { path: 'item.secondaryMedia.image.unsharpMasking.amount' },\n { path: 'item.secondaryMedia.image.unsharpMasking.radius' },\n { path: 'item.secondaryMedia.image.unsharpMasking.threshold' },\n ],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'item.createdDate' },\n { path: 'item.updatedDate' },\n { path: 'item.image.imageInfo.urlExpirationDate' },\n { path: 'item.video.videoInfo.urlExpirationDate' },\n { path: 'item.video.videoInfo.resolutions.poster.urlExpirationDate' },\n { path: 'item.video.videoInfo.posters.urlExpirationDate' },\n { path: 'item.secondaryMedia.image.imageInfo.urlExpirationDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.pro_gallery.v2.gallery',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.exposure.progallery.ProGallery.CreateGalleryItem',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureProgalleryProGalleryUrl({\n protoPath: '/v2/galleries/{galleryId}/items',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'item.sortOrder' },\n { path: 'item.image.focalPoint.x' },\n { path: 'item.image.focalPoint.y' },\n { path: 'item.secondaryMedia.image.focalPoint.x' },\n { path: 'item.secondaryMedia.image.focalPoint.y' },\n { path: 'item.image.unsharpMasking.amount' },\n { path: 'item.image.unsharpMasking.radius' },\n { path: 'item.image.unsharpMasking.threshold' },\n { path: 'item.secondaryMedia.image.unsharpMasking.amount' },\n { path: 'item.secondaryMedia.image.unsharpMasking.radius' },\n { path: 'item.secondaryMedia.image.unsharpMasking.threshold' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'item.createdDate' },\n { path: 'item.updatedDate' },\n { path: 'item.image.imageInfo.urlExpirationDate' },\n { path: 'item.video.videoInfo.urlExpirationDate' },\n {\n path: 'item.video.videoInfo.resolutions.poster.urlExpirationDate',\n },\n { path: 'item.video.videoInfo.posters.urlExpirationDate' },\n { path: 'item.secondaryMedia.image.imageInfo.urlExpirationDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createGalleryItem;\n}\n\n/**\n * Updates a media item in a specified gallery.\n *\n * Only the fields in the `item` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.\n *\n * <blockquote class=\"important\">\n *\n * __Important:__\n * 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.\n *\n * </blockquote>\n */\nexport function updateGalleryItem(payload: object): RequestOptionsFactory<any> {\n function __updateGalleryItem({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'item.sortOrder' },\n { path: 'item.image.focalPoint.x' },\n { path: 'item.image.focalPoint.y' },\n { path: 'item.secondaryMedia.image.focalPoint.x' },\n { path: 'item.secondaryMedia.image.focalPoint.y' },\n { path: 'item.image.unsharpMasking.amount' },\n { path: 'item.image.unsharpMasking.radius' },\n { path: 'item.image.unsharpMasking.threshold' },\n { path: 'item.secondaryMedia.image.unsharpMasking.amount' },\n { path: 'item.secondaryMedia.image.unsharpMasking.radius' },\n { path: 'item.secondaryMedia.image.unsharpMasking.threshold' },\n ],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'item.createdDate' },\n { path: 'item.updatedDate' },\n { path: 'item.image.imageInfo.urlExpirationDate' },\n { path: 'item.video.videoInfo.urlExpirationDate' },\n { path: 'item.video.videoInfo.resolutions.poster.urlExpirationDate' },\n { path: 'item.video.videoInfo.posters.urlExpirationDate' },\n { path: 'item.secondaryMedia.image.imageInfo.urlExpirationDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.pro_gallery.v2.gallery',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.exposure.progallery.ProGallery.UpdateGalleryItem',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureProgalleryProGalleryUrl({\n protoPath: '/v2/galleries/{galleryId}/items/{item.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'item.sortOrder' },\n { path: 'item.image.focalPoint.x' },\n { path: 'item.image.focalPoint.y' },\n { path: 'item.secondaryMedia.image.focalPoint.x' },\n { path: 'item.secondaryMedia.image.focalPoint.y' },\n { path: 'item.image.unsharpMasking.amount' },\n { path: 'item.image.unsharpMasking.radius' },\n { path: 'item.image.unsharpMasking.threshold' },\n { path: 'item.secondaryMedia.image.unsharpMasking.amount' },\n { path: 'item.secondaryMedia.image.unsharpMasking.radius' },\n { path: 'item.secondaryMedia.image.unsharpMasking.threshold' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'item.createdDate' },\n { path: 'item.updatedDate' },\n { path: 'item.image.imageInfo.urlExpirationDate' },\n { path: 'item.video.videoInfo.urlExpirationDate' },\n {\n path: 'item.video.videoInfo.resolutions.poster.urlExpirationDate',\n },\n { path: 'item.video.videoInfo.posters.urlExpirationDate' },\n { path: 'item.secondaryMedia.image.imageInfo.urlExpirationDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateGalleryItem;\n}\n\n/**\n * Deletes a media item from a gallery.\n *\n * When a gallery item is deleted, the deleted gallery item is no longer returned when calling the [`listGalleryItems()`](/pro-gallery/list-gallery-items) function.\n */\nexport function deleteGalleryItem(payload: object): RequestOptionsFactory<any> {\n function __deleteGalleryItem({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.pro_gallery.v2.gallery',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.exposure.progallery.ProGallery.DeleteGalleryItem',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureProgalleryProGalleryUrl({\n protoPath: '/v2/galleries/{galleryId}/items/{itemId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteGalleryItem;\n}\n","import * as ambassadorWixProGalleryV2Gallery from './pro-gallery-v2-gallery-pro-gallery.http.js';\nimport * as ambassadorWixProGalleryV2GalleryTypes from './pro-gallery-v2-gallery-pro-gallery.types.js';\nimport * as ambassadorWixProGalleryV2GalleryUniversalTypes from './pro-gallery-v2-gallery-pro-gallery.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function listGalleries(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixProGalleryV2GalleryUniversalTypes.ListGalleriesRequest,\n ambassadorWixProGalleryV2GalleryTypes.ListGalleriesRequest,\n ambassadorWixProGalleryV2GalleryUniversalTypes.ListGalleriesResponse,\n ambassadorWixProGalleryV2GalleryTypes.ListGalleriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixProGalleryV2Gallery.listGalleries(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v2/galleries',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getGallery(): __PublicMethodMetaInfo<\n 'GET',\n { galleryId: string },\n ambassadorWixProGalleryV2GalleryUniversalTypes.GetGalleryRequest,\n ambassadorWixProGalleryV2GalleryTypes.GetGalleryRequest,\n ambassadorWixProGalleryV2GalleryUniversalTypes.GetGalleryResponse,\n ambassadorWixProGalleryV2GalleryTypes.GetGalleryResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixProGalleryV2Gallery.getGallery(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v2/galleries/{galleryId}',\n pathParams: { galleryId: 'galleryId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function listGalleryItems(): __PublicMethodMetaInfo<\n 'GET',\n { galleryId: string },\n ambassadorWixProGalleryV2GalleryUniversalTypes.ListGalleryItemsRequest,\n ambassadorWixProGalleryV2GalleryTypes.ListGalleryItemsRequest,\n ambassadorWixProGalleryV2GalleryUniversalTypes.ListGalleryItemsResponse,\n ambassadorWixProGalleryV2GalleryTypes.ListGalleryItemsResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixProGalleryV2Gallery.listGalleryItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v2/galleries/{galleryId}/items',\n pathParams: { galleryId: 'galleryId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getGalleryItem(): __PublicMethodMetaInfo<\n 'GET',\n { galleryId: string; itemId: string },\n ambassadorWixProGalleryV2GalleryUniversalTypes.GetGalleryItemRequest,\n ambassadorWixProGalleryV2GalleryTypes.GetGalleryItemRequest,\n ambassadorWixProGalleryV2GalleryUniversalTypes.GetGalleryItemResponse,\n ambassadorWixProGalleryV2GalleryTypes.GetGalleryItemResponse\n> {\n const payload = { galleryId: ':galleryId', itemId: ':itemId' } as any;\n\n const getRequestOptions =\n ambassadorWixProGalleryV2Gallery.getGalleryItem(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v2/galleries/{galleryId}/items/{itemId}',\n pathParams: { galleryId: 'galleryId', itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function createGallery(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixProGalleryV2GalleryUniversalTypes.CreateGalleryRequest,\n ambassadorWixProGalleryV2GalleryTypes.CreateGalleryRequest,\n ambassadorWixProGalleryV2GalleryUniversalTypes.CreateGalleryResponse,\n ambassadorWixProGalleryV2GalleryTypes.CreateGalleryResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixProGalleryV2Gallery.createGallery(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/galleries',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateGallery(): __PublicMethodMetaInfo<\n 'PATCH',\n { galleryId: string },\n ambassadorWixProGalleryV2GalleryUniversalTypes.UpdateGalleryRequest,\n ambassadorWixProGalleryV2GalleryTypes.UpdateGalleryRequest,\n ambassadorWixProGalleryV2GalleryUniversalTypes.UpdateGalleryResponse,\n ambassadorWixProGalleryV2GalleryTypes.UpdateGalleryResponse\n> {\n const payload = { gallery: { id: ':galleryId' } } as any;\n\n const getRequestOptions =\n ambassadorWixProGalleryV2Gallery.updateGallery(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v2/galleries/{gallery.id}',\n pathParams: { galleryId: 'galleryId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteGallery(): __PublicMethodMetaInfo<\n 'DELETE',\n { galleryId: string },\n ambassadorWixProGalleryV2GalleryUniversalTypes.DeleteGalleryRequest,\n ambassadorWixProGalleryV2GalleryTypes.DeleteGalleryRequest,\n ambassadorWixProGalleryV2GalleryUniversalTypes.DeleteGalleryResponse,\n ambassadorWixProGalleryV2GalleryTypes.DeleteGalleryResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixProGalleryV2Gallery.deleteGallery(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v2/galleries/{galleryId}',\n pathParams: { galleryId: 'galleryId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteGalleryItems(): __PublicMethodMetaInfo<\n 'DELETE',\n { galleryId: string },\n ambassadorWixProGalleryV2GalleryUniversalTypes.DeleteGalleryItemsRequest,\n ambassadorWixProGalleryV2GalleryTypes.DeleteGalleryItemsRequest,\n ambassadorWixProGalleryV2GalleryUniversalTypes.DeleteGalleryItemsResponse,\n ambassadorWixProGalleryV2GalleryTypes.DeleteGalleryItemsResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixProGalleryV2Gallery.deleteGalleryItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v2/galleries/{galleryId}/items',\n pathParams: { galleryId: 'galleryId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkDeleteGalleryItems(): __PublicMethodMetaInfo<\n 'POST',\n { galleryId: string },\n ambassadorWixProGalleryV2GalleryUniversalTypes.BulkDeleteGalleryItemsRequest,\n ambassadorWixProGalleryV2GalleryTypes.BulkDeleteGalleryItemsRequest,\n ambassadorWixProGalleryV2GalleryUniversalTypes.BulkDeleteGalleryItemsResponse,\n ambassadorWixProGalleryV2GalleryTypes.BulkDeleteGalleryItemsResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixProGalleryV2Gallery.bulkDeleteGalleryItems(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/galleries/{galleryId}/items/delete',\n pathParams: { galleryId: 'galleryId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function createGalleryItem(): __PublicMethodMetaInfo<\n 'POST',\n { galleryId: string },\n ambassadorWixProGalleryV2GalleryUniversalTypes.CreateGalleryItemRequest,\n ambassadorWixProGalleryV2GalleryTypes.CreateGalleryItemRequest,\n ambassadorWixProGalleryV2GalleryUniversalTypes.CreateGalleryItemResponse,\n ambassadorWixProGalleryV2GalleryTypes.CreateGalleryItemResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixProGalleryV2Gallery.createGalleryItem(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/galleries/{galleryId}/items',\n pathParams: { galleryId: 'galleryId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateGalleryItem(): __PublicMethodMetaInfo<\n 'PATCH',\n { galleryId: string; itemId: string },\n ambassadorWixProGalleryV2GalleryUniversalTypes.UpdateGalleryItemRequest,\n ambassadorWixProGalleryV2GalleryTypes.UpdateGalleryItemRequest,\n ambassadorWixProGalleryV2GalleryUniversalTypes.UpdateGalleryItemResponse,\n ambassadorWixProGalleryV2GalleryTypes.UpdateGalleryItemResponse\n> {\n const payload = { galleryId: ':galleryId', item: { id: ':itemId' } } as any;\n\n const getRequestOptions =\n ambassadorWixProGalleryV2Gallery.updateGalleryItem(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v2/galleries/{galleryId}/items/{item.id}',\n pathParams: { galleryId: 'galleryId', itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteGalleryItem(): __PublicMethodMetaInfo<\n 'DELETE',\n { galleryId: string; itemId: string },\n ambassadorWixProGalleryV2GalleryUniversalTypes.DeleteGalleryItemRequest,\n ambassadorWixProGalleryV2GalleryTypes.DeleteGalleryItemRequest,\n ambassadorWixProGalleryV2GalleryUniversalTypes.DeleteGalleryItemResponse,\n ambassadorWixProGalleryV2GalleryTypes.DeleteGalleryItemResponse\n> {\n const payload = { galleryId: ':galleryId', itemId: ':itemId' } as any;\n\n const getRequestOptions =\n ambassadorWixProGalleryV2Gallery.deleteGalleryItem(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v2/galleries/{galleryId}/items/{itemId}',\n pathParams: { galleryId: 'galleryId', itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,kDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;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kBAAkB,OAAO;AAE5D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,WAAW,aAAa,QAAQ,SAAS;AAAA,IACvD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,qBAOd;AACA,QAAM,UAAU,EAAE,WAAW,cAAc,QAAQ,UAAU;AAE7D,QAAM,oBAC6B,kBAAkB,OAAO;AAE5D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,WAAW,aAAa,QAAQ,SAAS;AAAA,IACvD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","listGalleries","getGallery","listGalleryItems","getGalleryItem","createGallery","updateGallery","deleteGallery","deleteGalleryItems","bulkDeleteGalleryItems","createGalleryItem","updateGalleryItem","deleteGalleryItem"]}
|
package/package.json
CHANGED
@@ -1,25 +1,26 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wix/auto_sdk_pro-gallery_pro-gallery",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.22",
|
4
|
+
"license": "MIT",
|
4
5
|
"publishConfig": {
|
5
6
|
"registry": "https://registry.npmjs.org/",
|
6
7
|
"access": "public"
|
7
8
|
},
|
8
9
|
"keywords": [],
|
9
10
|
"sideEffects": false,
|
10
|
-
"main": "
|
11
|
-
"types": "./build/index.d.
|
11
|
+
"main": "./build/cjs/index.js",
|
12
|
+
"types": "./build/cjs/index.d.ts",
|
12
13
|
"exports": {
|
13
14
|
".": {
|
14
|
-
"import": "./build/index.mjs",
|
15
|
-
"require": "./build/index.js",
|
16
|
-
"types": "./build/index.d.mts"
|
15
|
+
"import": "./build/es/index.mjs",
|
16
|
+
"require": "./build/cjs/index.js",
|
17
|
+
"types": "./build/es/index.d.mts"
|
17
18
|
},
|
18
19
|
"./package.json": "./package.json",
|
19
20
|
"./meta": {
|
20
|
-
"import": "./build/meta.mjs",
|
21
|
-
"require": "./build/meta.js",
|
22
|
-
"types": "./build/meta.d.mts"
|
21
|
+
"import": "./build/es/meta.mjs",
|
22
|
+
"require": "./build/cjs/meta.js",
|
23
|
+
"types": "./build/es/meta.d.mts"
|
23
24
|
}
|
24
25
|
},
|
25
26
|
"files": [
|
@@ -28,7 +29,7 @@
|
|
28
29
|
"service-plugins"
|
29
30
|
],
|
30
31
|
"dependencies": {
|
31
|
-
"@wix/sdk-runtime": "^0.3.
|
32
|
+
"@wix/sdk-runtime": "^0.3.55",
|
32
33
|
"@wix/sdk-types": "^1.13.28"
|
33
34
|
},
|
34
35
|
"devDependencies": {
|
@@ -49,5 +50,5 @@
|
|
49
50
|
"fqdn": "wix.pro_gallery.v2.gallery"
|
50
51
|
}
|
51
52
|
},
|
52
|
-
"falconPackageHash": "
|
53
|
+
"falconPackageHash": "f5e3f2485dbdd40668bbd7cae1863dc08b6cd280dab9ad478ac631fb"
|
53
54
|
}
|