@wix/auto_sdk_fast-gallery_galleries 1.0.11 → 1.0.13

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/fastgallery-gallery-v1-gallery-galleries.http.ts","../../src/fastgallery-gallery-v1-gallery-galleries.types.ts","../../src/fastgallery-gallery-v1-gallery-galleries.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\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 resolveWixFastgalleryGalleryV1GalleryServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'editor._base_domain_': [\n {\n srcPath: '/_api/gallery',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/gallery',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/gallery',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/gallery',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/gallery',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/fastgallery/gallery/v1/bulk/galleries',\n destPath: '/v1/bulk/galleries',\n },\n {\n srcPath: '/fastgallery/gallery/v1/galleries',\n destPath: '/v1/galleries',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_fast-gallery_galleries';\n\n/** Creates a new Gallery */\nexport function createGallery(payload: object): RequestOptionsFactory<any> {\n function __createGallery({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'POST' as any,\n methodFqn: 'wix.fastgallery.gallery.v1.GalleryService.CreateGallery',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createGallery;\n}\n\n/** Get a Gallery by id */\nexport function getGallery(payload: object): RequestOptionsFactory<any> {\n function __getGallery({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'GET' as any,\n methodFqn: 'wix.fastgallery.gallery.v1.GalleryService.GetGallery',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/{galleryId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getGallery;\n}\n\n/** Get a Gallery by draft gallery id */\nexport function getGalleryByDraftGalleryId(\n payload: object\n): RequestOptionsFactory<any> {\n function __getGalleryByDraftGalleryId({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'GET' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.GetGalleryByDraftGalleryId',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/draft-gallery-id/{draftGalleryId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getGalleryByDraftGalleryId;\n}\n\n/**\n * Update a Gallery, supports partial update\n * Pass the latest `revision` for a successful update\n */\nexport function updateGallery(payload: object): RequestOptionsFactory<any> {\n function __updateGallery({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'PATCH' as any,\n methodFqn: 'wix.fastgallery.gallery.v1.GalleryService.UpdateGallery',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/{gallery.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateGallery;\n}\n\n/**\n * Creates a query to retrieve a list of galleries.\n *\n * The `queryGalleries()` method builds a query to retrieve a list of galleries and returns a `GalleriesQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the `find()` method.\n *\n * You can refine the query by chaining `GalleriesQueryBuilder` methods onto the query. `GalleriesQueryBuilder` methods enable you to filter, sort, and control the results that `queryGalleries()` returns.\n */\nexport function queryGalleries(payload: object): RequestOptionsFactory<any> {\n function __queryGalleries({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'GET' as any,\n methodFqn: 'wix.fastgallery.gallery.v1.GalleryService.QueryGalleries',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'galleries.createdDate' },\n { path: 'galleries.updatedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryGalleries;\n}\n\n/** Updates extended fields of a Gallery without incrementing revision */\nexport function updateExtendedFields(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateExtendedFields({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'POST' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.UpdateExtendedFields',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/{id}/update-extended-fields',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateExtendedFields;\n}\n\n/** Create multiple Galleries in a single request. Works synchronously. */\nexport function bulkCreateGalleries(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateGalleries({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'galleries.createdDate' },\n { path: 'galleries.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'POST' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.BulkCreateGalleries',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/bulk/galleries/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateGalleries;\n}\n\n/** Update multiple Galleries in a single request. Works synchronously. */\nexport function bulkUpdateGalleries(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateGalleries({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'galleries.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'galleries.gallery.createdDate' },\n { path: 'galleries.gallery.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'POST' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.BulkUpdateGalleries',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/bulk/galleries/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateGalleries;\n}\n\n/** Delete multiple Galleries in a single request. Works synchronously. */\nexport function bulkDeleteGalleries(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteGalleries({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'POST' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.BulkDeleteGalleries',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/bulk/galleries/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteGalleries;\n}\n\n/** Get a deleted Gallery by id */\nexport function getDeletedGallery(payload: object): RequestOptionsFactory<any> {\n function __getDeletedGallery({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'GET' as any,\n methodFqn: 'wix.fastgallery.gallery.v1.GalleryService.GetDeletedGallery',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/trash-bin/{galleryId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDeletedGallery;\n}\n\n/** Get all deleted Galleries, or specific ones specified by ids */\nexport function listDeletedGalleries(\n payload: object\n): RequestOptionsFactory<any> {\n function __listDeletedGalleries({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'GET' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.ListDeletedGalleries',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/trash-bin',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'galleries.createdDate' },\n { path: 'galleries.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listDeletedGalleries;\n}\n\n/** Restore a deleted Gallery from the trash bin by id */\nexport function restoreGalleryFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __restoreGalleryFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'POST' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.RestoreGalleryFromTrashBin',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/trash-bin/{galleryId}/restore',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __restoreGalleryFromTrashBin;\n}\n\n/** Permanently delete a Gallery from the trash bin by id */\nexport function removeGalleryFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeGalleryFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.RemoveGalleryFromTrashBin',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/trash-bin/{galleryId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __removeGalleryFromTrashBin;\n}\n","/** Gallery is the main entity of GalleryService */\nexport interface Gallery {\n /**\n * Gallery ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Represents the current state of the Gallery. Each time the gallery is modified, its `revision` changes by the server. for an update operation to succeed, you MUST pass the latest revision\n * @readonly\n */\n revision?: string | null;\n /**\n * DraftGallery ID this Gallery was published from\n * @format GUID\n * @immutable\n */\n draftGalleryId?: string | null;\n /**\n * The site version the gallery was published to\n * @readonly\n */\n siteVersion?: string | null;\n /** Total number of items this Gallery contains */\n itemsCount?: number | null;\n /**\n * Represents the time this Gallery was created\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Represents the time this Gallery was last updated\n * @readonly\n */\n updatedDate?: Date | null;\n /** Data extensions ExtendedFields */\n extendedFields?: ExtendedFields;\n /**\n * Variant of the gallery, whether it's a live or RC\n * @immutable\n */\n variant?: VariantWithLiterals;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport enum Variant {\n /** Default value, unused */\n UNKNOWN_VARIANT = 'UNKNOWN_VARIANT',\n /** Live version, there can be only one live */\n LIVE = 'LIVE',\n /** Release Candidate version */\n RC = 'RC',\n}\n\n/** @enumType */\nexport type VariantWithLiterals = Variant | 'UNKNOWN_VARIANT' | 'LIVE' | 'RC';\n\nexport interface GalleryRemovedFromTrashBin {\n /** The Gallery that was removed from the trash bin */\n gallery?: Gallery;\n}\n\nexport interface CreateGalleryRequest {\n /** Gallery to be created. */\n gallery: Gallery;\n}\n\nexport interface CreateGalleryResponse {\n /** The created Gallery. */\n gallery?: Gallery;\n}\n\nexport interface GetGalleryRequest {\n /**\n * ID of the Gallery to retrieve.\n * @format GUID\n */\n galleryId: string;\n}\n\nexport interface GetGalleryResponse {\n /** The requested Gallery. */\n gallery?: Gallery;\n}\n\nexport interface GetGalleryByDraftGalleryIdRequest {\n /**\n * Id of the draftGallery the Gallery originates from\n * @format GUID\n */\n draftGalleryId: string;\n}\n\nexport interface GetGalleryByDraftGalleryIdResponse {\n /** The retrieved Gallery */\n gallery?: Gallery;\n}\n\nexport interface UpdateGalleryRequest {\n /** Gallery to be updated, may be partial. */\n gallery: Gallery;\n}\n\nexport interface UpdateGalleryResponse {\n /** Updated Gallery. */\n gallery?: Gallery;\n}\n\nexport interface DeleteGalleryRequest {\n /**\n * Id of the Gallery to delete.\n * @format GUID\n */\n galleryId?: string;\n}\n\nexport interface DeleteGalleryResponse {}\n\nexport interface QueryGalleriesRequest {\n /** WQL expression. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryGalleriesResponse {\n /** List of Galleries. */\n galleries?: Gallery[];\n /** Paging metadata */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface UpdateExtendedFieldsRequest {\n /** ID of the entity to update. */\n id: string;\n /** Identifier for the app whose extended fields are being updated. */\n namespace: string;\n /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */\n namespaceData: Record<string, any> | null;\n}\n\nexport interface UpdateExtendedFieldsResponse {\n /** Updated Gallery. */\n gallery?: Gallery;\n}\n\nexport interface BulkCreateGalleriesRequest {\n /**\n * List of Galleries to be created\n * @minSize 1\n * @maxSize 100\n */\n galleries: Gallery[];\n /** set to `true` if you wish to receive back the created Galleries in the response */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateGalleriesResponse {\n /**\n * List of the bulk create operation results including the Galleries and metadata.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkGalleryResult[];\n /** Metadata regarding the bulk create operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @format GUID\n */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkGalleryResult {\n /** Metadata regarding the specific single create operation */\n itemMetadata?: ItemMetadata;\n /** Only exists if `returnEntity` was set to true in the request */\n item?: Gallery;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdateGalleriesRequest {\n /**\n * List of Galleries to be updated.\n * @minSize 1\n * @maxSize 100\n */\n galleries: MaskedGallery[];\n /** set to `true` if you wish to receive back the updated Galleries in the response */\n returnEntity?: boolean;\n}\n\nexport interface MaskedGallery {\n /** Gallery to be updated, may be partial */\n gallery?: Gallery;\n}\n\nexport interface BulkUpdateGalleriesResponse {\n /**\n * Results\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateGalleriesResponseBulkGalleryResult[];\n /** Metadata regarding the bulk update operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateGalleriesResponseBulkGalleryResult {\n /** Metadata regarding the specific single update operation */\n itemMetadata?: ItemMetadata;\n /** Only exists if `returnEntity` was set to true in the request */\n item?: Gallery;\n}\n\nexport interface BulkDeleteGalleriesRequest {\n /**\n * Gallery ids to be deleted\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n galleryIds: string[];\n}\n\nexport interface BulkDeleteGalleriesResponse {\n /**\n * Results\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkDeleteGalleriesResponseBulkGalleryResult[];\n /** Metadata regarding the bulk delete operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteGalleriesResponseBulkGalleryResult {\n /** Metadata regarding the specific single delete operation */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface GetDeletedGalleryRequest {\n /**\n * Id of the deleted Gallery to retrieve\n * @format GUID\n */\n galleryId: string;\n}\n\nexport interface GetDeletedGalleryResponse {\n /** The retrieved Gallery */\n gallery?: Gallery;\n}\n\nexport interface ListDeletedGalleriesRequest {\n /** WQL expression */\n cursorPaging?: CursorPaging;\n /**\n * gallery ids to list\n * @format GUID\n * @maxSize 100\n */\n galleryIds?: string[];\n}\n\nexport interface ListDeletedGalleriesResponse {\n /**\n * The retrieved deleted Galleries\n * @maxSize 100\n */\n galleries?: Gallery[];\n /** WQL expression */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface RestoreGalleryFromTrashBinRequest {\n /**\n * Id of the deleted Gallery to restore\n * @format GUID\n */\n galleryId: string;\n}\n\nexport interface RestoreGalleryFromTrashBinResponse {\n /** The retrieved Gallery */\n gallery?: Gallery;\n}\n\nexport interface RemoveGalleryFromTrashBinRequest {\n /**\n * Id of the Gallery to delete permanently\n * @format GUID\n */\n galleryId: string;\n}\n\nexport interface RemoveGalleryFromTrashBinResponse {}\n\nexport interface DeleteOutdatedGalleryVersionsRequest {\n /** galleries with site version smaller than this will be deleted */\n publishedSiteVersion?: string;\n}\n\nexport interface DeleteOutdatedGalleryVersionsResponse {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n","import * as ambassadorWixFastgalleryGalleryV1Gallery from './fastgallery-gallery-v1-gallery-galleries.http.js';\nimport * as ambassadorWixFastgalleryGalleryV1GalleryTypes from './fastgallery-gallery-v1-gallery-galleries.types.js';\nimport * as ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes from './fastgallery-gallery-v1-gallery-galleries.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 createGallery(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.CreateGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.CreateGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.CreateGalleryResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.CreateGalleryResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.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: '/v1/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 ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.GetGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.GetGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.GetGalleryResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.GetGalleryResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.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: '/v1/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 getGalleryByDraftGalleryId(): __PublicMethodMetaInfo<\n 'GET',\n { draftGalleryId: string },\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.GetGalleryByDraftGalleryIdRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.GetGalleryByDraftGalleryIdRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.GetGalleryByDraftGalleryIdResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.GetGalleryByDraftGalleryIdResponse\n> {\n const payload = { draftGalleryId: ':draftGalleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.getGalleryByDraftGalleryId(\n payload\n );\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: '/v1/galleries/draft-gallery-id/{draftGalleryId}',\n pathParams: { draftGalleryId: 'draftGalleryId' },\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 ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.UpdateGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.UpdateGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.UpdateGalleryResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.UpdateGalleryResponse\n> {\n const payload = { gallery: { id: ':galleryId' } } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.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: '/v1/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 queryGalleries(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.QueryGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.QueryGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.QueryGalleriesResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.QueryGalleriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.queryGalleries(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: '/v1/galleries/query',\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 updateExtendedFields(): __PublicMethodMetaInfo<\n 'POST',\n { id: string },\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.UpdateExtendedFieldsRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.UpdateExtendedFieldsRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.UpdateExtendedFieldsResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.UpdateExtendedFieldsResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.updateExtendedFields(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: '/v1/galleries/{id}/update-extended-fields',\n pathParams: { id: 'id' },\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 bulkCreateGalleries(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.BulkCreateGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.BulkCreateGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.BulkCreateGalleriesResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.BulkCreateGalleriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.bulkCreateGalleries(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: '/v1/bulk/galleries/create',\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 bulkUpdateGalleries(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.BulkUpdateGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.BulkUpdateGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.BulkUpdateGalleriesResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.BulkUpdateGalleriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.bulkUpdateGalleries(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: '/v1/bulk/galleries/update',\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 bulkDeleteGalleries(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.BulkDeleteGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.BulkDeleteGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.BulkDeleteGalleriesResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.BulkDeleteGalleriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.bulkDeleteGalleries(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: '/v1/bulk/galleries/delete',\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 getDeletedGallery(): __PublicMethodMetaInfo<\n 'GET',\n { galleryId: string },\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.GetDeletedGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.GetDeletedGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.GetDeletedGalleryResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.GetDeletedGalleryResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.getDeletedGallery(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: '/v1/galleries/trash-bin/{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 listDeletedGalleries(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.ListDeletedGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.ListDeletedGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.ListDeletedGalleriesResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.ListDeletedGalleriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.listDeletedGalleries(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: '/v1/galleries/trash-bin',\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 restoreGalleryFromTrashBin(): __PublicMethodMetaInfo<\n 'POST',\n { galleryId: string },\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.RestoreGalleryFromTrashBinRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.RestoreGalleryFromTrashBinRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.RestoreGalleryFromTrashBinResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.RestoreGalleryFromTrashBinResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.restoreGalleryFromTrashBin(\n payload\n );\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: '/v1/galleries/trash-bin/{galleryId}/restore',\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 removeGalleryFromTrashBin(): __PublicMethodMetaInfo<\n 'DELETE',\n { galleryId: string },\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.RemoveGalleryFromTrashBinRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.RemoveGalleryFromTrashBinRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.RemoveGalleryFromTrashBinResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.RemoveGalleryFromTrashBinResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.removeGalleryFromTrashBin(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: '/v1/galleries/trash-bin/{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 {\n Gallery as GalleryOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n Variant as VariantOriginal,\n VariantWithLiterals as VariantWithLiteralsOriginal,\n GalleryRemovedFromTrashBin as GalleryRemovedFromTrashBinOriginal,\n CreateGalleryRequest as CreateGalleryRequestOriginal,\n CreateGalleryResponse as CreateGalleryResponseOriginal,\n GetGalleryRequest as GetGalleryRequestOriginal,\n GetGalleryResponse as GetGalleryResponseOriginal,\n GetGalleryByDraftGalleryIdRequest as GetGalleryByDraftGalleryIdRequestOriginal,\n GetGalleryByDraftGalleryIdResponse as GetGalleryByDraftGalleryIdResponseOriginal,\n UpdateGalleryRequest as UpdateGalleryRequestOriginal,\n UpdateGalleryResponse as UpdateGalleryResponseOriginal,\n DeleteGalleryRequest as DeleteGalleryRequestOriginal,\n DeleteGalleryResponse as DeleteGalleryResponseOriginal,\n QueryGalleriesRequest as QueryGalleriesRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryGalleriesResponse as QueryGalleriesResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal,\n UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal,\n BulkCreateGalleriesRequest as BulkCreateGalleriesRequestOriginal,\n BulkCreateGalleriesResponse as BulkCreateGalleriesResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkGalleryResult as BulkGalleryResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdateGalleriesRequest as BulkUpdateGalleriesRequestOriginal,\n MaskedGallery as MaskedGalleryOriginal,\n BulkUpdateGalleriesResponse as BulkUpdateGalleriesResponseOriginal,\n BulkUpdateGalleriesResponseBulkGalleryResult as BulkUpdateGalleriesResponseBulkGalleryResultOriginal,\n BulkDeleteGalleriesRequest as BulkDeleteGalleriesRequestOriginal,\n BulkDeleteGalleriesResponse as BulkDeleteGalleriesResponseOriginal,\n BulkDeleteGalleriesResponseBulkGalleryResult as BulkDeleteGalleriesResponseBulkGalleryResultOriginal,\n GetDeletedGalleryRequest as GetDeletedGalleryRequestOriginal,\n GetDeletedGalleryResponse as GetDeletedGalleryResponseOriginal,\n ListDeletedGalleriesRequest as ListDeletedGalleriesRequestOriginal,\n ListDeletedGalleriesResponse as ListDeletedGalleriesResponseOriginal,\n RestoreGalleryFromTrashBinRequest as RestoreGalleryFromTrashBinRequestOriginal,\n RestoreGalleryFromTrashBinResponse as RestoreGalleryFromTrashBinResponseOriginal,\n RemoveGalleryFromTrashBinRequest as RemoveGalleryFromTrashBinRequestOriginal,\n RemoveGalleryFromTrashBinResponse as RemoveGalleryFromTrashBinResponseOriginal,\n DeleteOutdatedGalleryVersionsRequest as DeleteOutdatedGalleryVersionsRequestOriginal,\n DeleteOutdatedGalleryVersionsResponse as DeleteOutdatedGalleryVersionsResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n} from './fastgallery-gallery-v1-gallery-galleries.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,gDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,cAAc,SAA6C;AACzE,WAAS,gBAAgB,EAAE,KAAK,GAAQ;AACtC,UAAM,iBAAiB,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AA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,8BAOd;AACA,QAAM,UAAU,EAAE,WAAW,aAAa;AAE1C,QAAM,oBACqC;AAAA,IACvC;AAAA,EACF;AAEF,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,YAAY;AAAA,IACrC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,6BAOd;AACA,QAAM,UAAU,EAAE,WAAW,aAAa;AAE1C,QAAM,oBACqC,0BAA0B,OAAO;AAE5E,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,YAAY;AAAA,IACrC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","Variant","SortOrder","WebhookIdentityType","createGallery","getGallery","getGalleryByDraftGalleryId","updateGallery","queryGalleries","updateExtendedFields","bulkCreateGalleries","bulkUpdateGalleries","bulkDeleteGalleries","getDeletedGallery","listDeletedGalleries","restoreGalleryFromTrashBin","removeGalleryFromTrashBin"]}
1
+ {"version":3,"sources":["../../src/fastgallery-gallery-v1-gallery-galleries.http.ts","../../src/fastgallery-gallery-v1-gallery-galleries.types.ts","../../src/fastgallery-gallery-v1-gallery-galleries.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\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 resolveWixFastgalleryGalleryV1GalleryServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'editor._base_domain_': [\n {\n srcPath: '/_api/gallery',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/gallery',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/gallery',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/gallery',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/gallery',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/fastgallery/gallery/v1/bulk/galleries',\n destPath: '/v1/bulk/galleries',\n },\n {\n srcPath: '/fastgallery/gallery/v1/galleries',\n destPath: '/v1/galleries',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_fast-gallery_galleries';\n\n/** Creates a new Gallery */\nexport function createGallery(payload: object): RequestOptionsFactory<any> {\n function __createGallery({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'POST' as any,\n methodFqn: 'wix.fastgallery.gallery.v1.GalleryService.CreateGallery',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createGallery;\n}\n\n/** Get a Gallery by id */\nexport function getGallery(payload: object): RequestOptionsFactory<any> {\n function __getGallery({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'GET' as any,\n methodFqn: 'wix.fastgallery.gallery.v1.GalleryService.GetGallery',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/{galleryId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getGallery;\n}\n\n/** Get a Gallery by draft gallery id */\nexport function getGalleryByDraftGalleryId(\n payload: object\n): RequestOptionsFactory<any> {\n function __getGalleryByDraftGalleryId({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'GET' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.GetGalleryByDraftGalleryId',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/draft-gallery-id/{draftGalleryId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getGalleryByDraftGalleryId;\n}\n\n/**\n * Update a Gallery, supports partial update\n * Pass the latest `revision` for a successful update\n */\nexport function updateGallery(payload: object): RequestOptionsFactory<any> {\n function __updateGallery({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'PATCH' as any,\n methodFqn: 'wix.fastgallery.gallery.v1.GalleryService.UpdateGallery',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/{gallery.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateGallery;\n}\n\n/**\n * Creates a query to retrieve a list of galleries.\n *\n * The `queryGalleries()` method builds a query to retrieve a list of galleries and returns a `GalleriesQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the `find()` method.\n *\n * You can refine the query by chaining `GalleriesQueryBuilder` methods onto the query. `GalleriesQueryBuilder` methods enable you to filter, sort, and control the results that `queryGalleries()` returns.\n */\nexport function queryGalleries(payload: object): RequestOptionsFactory<any> {\n function __queryGalleries({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'GET' as any,\n methodFqn: 'wix.fastgallery.gallery.v1.GalleryService.QueryGalleries',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'galleries.createdDate' },\n { path: 'galleries.updatedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryGalleries;\n}\n\n/** Updates extended fields of a Gallery without incrementing revision */\nexport function updateExtendedFields(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateExtendedFields({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'POST' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.UpdateExtendedFields',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/{id}/update-extended-fields',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateExtendedFields;\n}\n\n/** Create multiple Galleries in a single request. Works synchronously. */\nexport function bulkCreateGalleries(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateGalleries({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'galleries.createdDate' },\n { path: 'galleries.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'POST' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.BulkCreateGalleries',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/bulk/galleries/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateGalleries;\n}\n\n/** Update multiple Galleries in a single request. Works synchronously. */\nexport function bulkUpdateGalleries(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateGalleries({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'galleries.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'galleries.gallery.createdDate' },\n { path: 'galleries.gallery.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'POST' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.BulkUpdateGalleries',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/bulk/galleries/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateGalleries;\n}\n\n/** Delete multiple Galleries in a single request. Works synchronously. */\nexport function bulkDeleteGalleries(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteGalleries({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'POST' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.BulkDeleteGalleries',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/bulk/galleries/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteGalleries;\n}\n\n/** Get a deleted Gallery by id */\nexport function getDeletedGallery(payload: object): RequestOptionsFactory<any> {\n function __getDeletedGallery({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'GET' as any,\n methodFqn: 'wix.fastgallery.gallery.v1.GalleryService.GetDeletedGallery',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/trash-bin/{galleryId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDeletedGallery;\n}\n\n/** Get all deleted Galleries, or specific ones specified by ids */\nexport function listDeletedGalleries(\n payload: object\n): RequestOptionsFactory<any> {\n function __listDeletedGalleries({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'GET' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.ListDeletedGalleries',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/trash-bin',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'galleries.createdDate' },\n { path: 'galleries.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listDeletedGalleries;\n}\n\n/** Restore a deleted Gallery from the trash bin by id */\nexport function restoreGalleryFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __restoreGalleryFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'POST' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.RestoreGalleryFromTrashBin',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/trash-bin/{galleryId}/restore',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'gallery.createdDate' },\n { path: 'gallery.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __restoreGalleryFromTrashBin;\n}\n\n/** Permanently delete a Gallery from the trash bin by id */\nexport function removeGalleryFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeGalleryFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.fastgallery.gallery.v1.gallery',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.fastgallery.gallery.v1.GalleryService.RemoveGalleryFromTrashBin',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({\n protoPath: '/v1/galleries/trash-bin/{galleryId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __removeGalleryFromTrashBin;\n}\n","/** Gallery is the main entity of GalleryService */\nexport interface Gallery {\n /**\n * Gallery ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Represents the current state of the Gallery. Each time the gallery is modified, its `revision` changes by the server. for an update operation to succeed, you MUST pass the latest revision\n * @readonly\n */\n revision?: string | null;\n /**\n * DraftGallery ID this Gallery was published from\n * @format GUID\n * @immutable\n */\n draftGalleryId?: string | null;\n /**\n * The site version the gallery was published to\n * @readonly\n */\n siteVersion?: string | null;\n /** Total number of items this Gallery contains */\n itemsCount?: number | null;\n /**\n * Represents the time this Gallery was created\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Represents the time this Gallery was last updated\n * @readonly\n */\n updatedDate?: Date | null;\n /** Data extensions ExtendedFields */\n extendedFields?: ExtendedFields;\n /**\n * Variant of the gallery, whether it's a live or RC\n * @immutable\n */\n variant?: VariantWithLiterals;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport enum Variant {\n /** Default value, unused */\n UNKNOWN_VARIANT = 'UNKNOWN_VARIANT',\n /** Live version, there can be only one live */\n LIVE = 'LIVE',\n /** Release Candidate version */\n RC = 'RC',\n}\n\n/** @enumType */\nexport type VariantWithLiterals = Variant | 'UNKNOWN_VARIANT' | 'LIVE' | 'RC';\n\nexport interface GalleryRemovedFromTrashBin {\n /** The Gallery that was removed from the trash bin */\n gallery?: Gallery;\n}\n\nexport interface CreateGalleryRequest {\n /** Gallery to be created. */\n gallery: Gallery;\n}\n\nexport interface CreateGalleryResponse {\n /** The created Gallery. */\n gallery?: Gallery;\n}\n\nexport interface GetGalleryRequest {\n /**\n * ID of the Gallery to retrieve.\n * @format GUID\n */\n galleryId: string;\n}\n\nexport interface GetGalleryResponse {\n /** The requested Gallery. */\n gallery?: Gallery;\n}\n\nexport interface GetGalleryByDraftGalleryIdRequest {\n /**\n * Id of the draftGallery the Gallery originates from\n * @format GUID\n */\n draftGalleryId: string;\n}\n\nexport interface GetGalleryByDraftGalleryIdResponse {\n /** The retrieved Gallery */\n gallery?: Gallery;\n}\n\nexport interface UpdateGalleryRequest {\n /** Gallery to be updated, may be partial. */\n gallery: Gallery;\n}\n\nexport interface UpdateGalleryResponse {\n /** Updated Gallery. */\n gallery?: Gallery;\n}\n\nexport interface DeleteGalleryRequest {\n /**\n * Id of the Gallery to delete.\n * @format GUID\n */\n galleryId?: string;\n}\n\nexport interface DeleteGalleryResponse {}\n\nexport interface QueryGalleriesRequest {\n /** WQL expression. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryGalleriesResponse {\n /** List of Galleries. */\n galleries?: Gallery[];\n /** Paging metadata */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface UpdateExtendedFieldsRequest {\n /** ID of the entity to update. */\n id: string;\n /** Identifier for the app whose extended fields are being updated. */\n namespace: string;\n /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */\n namespaceData: Record<string, any> | null;\n}\n\nexport interface UpdateExtendedFieldsResponse {\n /** Updated Gallery. */\n gallery?: Gallery;\n}\n\nexport interface BulkCreateGalleriesRequest {\n /**\n * List of Galleries to be created\n * @minSize 1\n * @maxSize 100\n */\n galleries: Gallery[];\n /** set to `true` if you wish to receive back the created Galleries in the response */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateGalleriesResponse {\n /**\n * List of the bulk create operation results including the Galleries and metadata.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkGalleryResult[];\n /** Metadata regarding the bulk create operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @format GUID\n */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkGalleryResult {\n /** Metadata regarding the specific single create operation */\n itemMetadata?: ItemMetadata;\n /** Only exists if `returnEntity` was set to true in the request */\n item?: Gallery;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdateGalleriesRequest {\n /**\n * List of Galleries to be updated.\n * @minSize 1\n * @maxSize 100\n */\n galleries: MaskedGallery[];\n /** set to `true` if you wish to receive back the updated Galleries in the response */\n returnEntity?: boolean;\n}\n\nexport interface MaskedGallery {\n /** Gallery to be updated, may be partial */\n gallery?: Gallery;\n}\n\nexport interface BulkUpdateGalleriesResponse {\n /**\n * Results\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateGalleriesResponseBulkGalleryResult[];\n /** Metadata regarding the bulk update operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateGalleriesResponseBulkGalleryResult {\n /** Metadata regarding the specific single update operation */\n itemMetadata?: ItemMetadata;\n /** Only exists if `returnEntity` was set to true in the request */\n item?: Gallery;\n}\n\nexport interface BulkDeleteGalleriesRequest {\n /**\n * Gallery ids to be deleted\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n galleryIds: string[];\n}\n\nexport interface BulkDeleteGalleriesResponse {\n /**\n * Results\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkDeleteGalleriesResponseBulkGalleryResult[];\n /** Metadata regarding the bulk delete operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteGalleriesResponseBulkGalleryResult {\n /** Metadata regarding the specific single delete operation */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface GetDeletedGalleryRequest {\n /**\n * Id of the deleted Gallery to retrieve\n * @format GUID\n */\n galleryId: string;\n}\n\nexport interface GetDeletedGalleryResponse {\n /** The retrieved Gallery */\n gallery?: Gallery;\n}\n\nexport interface ListDeletedGalleriesRequest {\n /** WQL expression */\n cursorPaging?: CursorPaging;\n /**\n * gallery ids to list\n * @format GUID\n * @maxSize 100\n */\n galleryIds?: string[];\n}\n\nexport interface ListDeletedGalleriesResponse {\n /**\n * The retrieved deleted Galleries\n * @maxSize 100\n */\n galleries?: Gallery[];\n /** WQL expression */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface RestoreGalleryFromTrashBinRequest {\n /**\n * Id of the deleted Gallery to restore\n * @format GUID\n */\n galleryId: string;\n}\n\nexport interface RestoreGalleryFromTrashBinResponse {\n /** The retrieved Gallery */\n gallery?: Gallery;\n}\n\nexport interface RemoveGalleryFromTrashBinRequest {\n /**\n * Id of the Gallery to delete permanently\n * @format GUID\n */\n galleryId: string;\n}\n\nexport interface RemoveGalleryFromTrashBinResponse {}\n\nexport interface DeleteOutdatedGalleryVersionsRequest {\n /** galleries with site version smaller than this will be deleted */\n publishedSiteVersion?: string;\n}\n\nexport interface DeleteOutdatedGalleryVersionsResponse {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountDetails {\n /**\n * ID of the account.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the site, if applicable.\n * @format GUID\n */\n siteId?: string | null;\n}\n","import * as ambassadorWixFastgalleryGalleryV1Gallery from './fastgallery-gallery-v1-gallery-galleries.http.js';\nimport * as ambassadorWixFastgalleryGalleryV1GalleryTypes from './fastgallery-gallery-v1-gallery-galleries.types.js';\nimport * as ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes from './fastgallery-gallery-v1-gallery-galleries.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 createGallery(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.CreateGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.CreateGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.CreateGalleryResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.CreateGalleryResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.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: '/v1/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 ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.GetGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.GetGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.GetGalleryResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.GetGalleryResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.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: '/v1/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 getGalleryByDraftGalleryId(): __PublicMethodMetaInfo<\n 'GET',\n { draftGalleryId: string },\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.GetGalleryByDraftGalleryIdRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.GetGalleryByDraftGalleryIdRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.GetGalleryByDraftGalleryIdResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.GetGalleryByDraftGalleryIdResponse\n> {\n const payload = { draftGalleryId: ':draftGalleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.getGalleryByDraftGalleryId(\n payload\n );\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: '/v1/galleries/draft-gallery-id/{draftGalleryId}',\n pathParams: { draftGalleryId: 'draftGalleryId' },\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 ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.UpdateGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.UpdateGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.UpdateGalleryResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.UpdateGalleryResponse\n> {\n const payload = { gallery: { id: ':galleryId' } } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.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: '/v1/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 queryGalleries(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.QueryGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.QueryGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.QueryGalleriesResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.QueryGalleriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.queryGalleries(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: '/v1/galleries/query',\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 updateExtendedFields(): __PublicMethodMetaInfo<\n 'POST',\n { id: string },\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.UpdateExtendedFieldsRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.UpdateExtendedFieldsRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.UpdateExtendedFieldsResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.UpdateExtendedFieldsResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.updateExtendedFields(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: '/v1/galleries/{id}/update-extended-fields',\n pathParams: { id: 'id' },\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 bulkCreateGalleries(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.BulkCreateGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.BulkCreateGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.BulkCreateGalleriesResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.BulkCreateGalleriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.bulkCreateGalleries(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: '/v1/bulk/galleries/create',\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 bulkUpdateGalleries(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.BulkUpdateGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.BulkUpdateGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.BulkUpdateGalleriesResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.BulkUpdateGalleriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.bulkUpdateGalleries(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: '/v1/bulk/galleries/update',\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 bulkDeleteGalleries(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.BulkDeleteGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.BulkDeleteGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.BulkDeleteGalleriesResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.BulkDeleteGalleriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.bulkDeleteGalleries(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: '/v1/bulk/galleries/delete',\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 getDeletedGallery(): __PublicMethodMetaInfo<\n 'GET',\n { galleryId: string },\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.GetDeletedGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.GetDeletedGalleryRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.GetDeletedGalleryResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.GetDeletedGalleryResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.getDeletedGallery(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: '/v1/galleries/trash-bin/{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 listDeletedGalleries(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.ListDeletedGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.ListDeletedGalleriesRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.ListDeletedGalleriesResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.ListDeletedGalleriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.listDeletedGalleries(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: '/v1/galleries/trash-bin',\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 restoreGalleryFromTrashBin(): __PublicMethodMetaInfo<\n 'POST',\n { galleryId: string },\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.RestoreGalleryFromTrashBinRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.RestoreGalleryFromTrashBinRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.RestoreGalleryFromTrashBinResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.RestoreGalleryFromTrashBinResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.restoreGalleryFromTrashBin(\n payload\n );\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: '/v1/galleries/trash-bin/{galleryId}/restore',\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 removeGalleryFromTrashBin(): __PublicMethodMetaInfo<\n 'DELETE',\n { galleryId: string },\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.RemoveGalleryFromTrashBinRequest,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.RemoveGalleryFromTrashBinRequest,\n ambassadorWixFastgalleryGalleryV1GalleryUniversalTypes.RemoveGalleryFromTrashBinResponse,\n ambassadorWixFastgalleryGalleryV1GalleryTypes.RemoveGalleryFromTrashBinResponse\n> {\n const payload = { galleryId: ':galleryId' } as any;\n\n const getRequestOptions =\n ambassadorWixFastgalleryGalleryV1Gallery.removeGalleryFromTrashBin(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: '/v1/galleries/trash-bin/{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 {\n Gallery as GalleryOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n Variant as VariantOriginal,\n VariantWithLiterals as VariantWithLiteralsOriginal,\n GalleryRemovedFromTrashBin as GalleryRemovedFromTrashBinOriginal,\n CreateGalleryRequest as CreateGalleryRequestOriginal,\n CreateGalleryResponse as CreateGalleryResponseOriginal,\n GetGalleryRequest as GetGalleryRequestOriginal,\n GetGalleryResponse as GetGalleryResponseOriginal,\n GetGalleryByDraftGalleryIdRequest as GetGalleryByDraftGalleryIdRequestOriginal,\n GetGalleryByDraftGalleryIdResponse as GetGalleryByDraftGalleryIdResponseOriginal,\n UpdateGalleryRequest as UpdateGalleryRequestOriginal,\n UpdateGalleryResponse as UpdateGalleryResponseOriginal,\n DeleteGalleryRequest as DeleteGalleryRequestOriginal,\n DeleteGalleryResponse as DeleteGalleryResponseOriginal,\n QueryGalleriesRequest as QueryGalleriesRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryGalleriesResponse as QueryGalleriesResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal,\n UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal,\n BulkCreateGalleriesRequest as BulkCreateGalleriesRequestOriginal,\n BulkCreateGalleriesResponse as BulkCreateGalleriesResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkGalleryResult as BulkGalleryResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdateGalleriesRequest as BulkUpdateGalleriesRequestOriginal,\n MaskedGallery as MaskedGalleryOriginal,\n BulkUpdateGalleriesResponse as BulkUpdateGalleriesResponseOriginal,\n BulkUpdateGalleriesResponseBulkGalleryResult as BulkUpdateGalleriesResponseBulkGalleryResultOriginal,\n BulkDeleteGalleriesRequest as BulkDeleteGalleriesRequestOriginal,\n BulkDeleteGalleriesResponse as BulkDeleteGalleriesResponseOriginal,\n BulkDeleteGalleriesResponseBulkGalleryResult as BulkDeleteGalleriesResponseBulkGalleryResultOriginal,\n GetDeletedGalleryRequest as GetDeletedGalleryRequestOriginal,\n GetDeletedGalleryResponse as GetDeletedGalleryResponseOriginal,\n ListDeletedGalleriesRequest as ListDeletedGalleriesRequestOriginal,\n ListDeletedGalleriesResponse as ListDeletedGalleriesResponseOriginal,\n RestoreGalleryFromTrashBinRequest as RestoreGalleryFromTrashBinRequestOriginal,\n RestoreGalleryFromTrashBinResponse as RestoreGalleryFromTrashBinResponseOriginal,\n RemoveGalleryFromTrashBinRequest as RemoveGalleryFromTrashBinRequestOriginal,\n RemoveGalleryFromTrashBinResponse as RemoveGalleryFromTrashBinResponseOriginal,\n DeleteOutdatedGalleryVersionsRequest as DeleteOutdatedGalleryVersionsRequestOriginal,\n DeleteOutdatedGalleryVersionsResponse as DeleteOutdatedGalleryVersionsResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountDetails as AccountDetailsOriginal,\n} from './fastgallery-gallery-v1-gallery-galleries.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,gDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,cAAc,SAA6C;AACzE,WAAS,gBAAgB,EAAE,KAAK,GAAQ;AACtC,UAAM,iBAAiB,eAAe,SAAS;AAAA,MAC7C;AAAA,QACE,aAAa;AAAA,QACb,OAAO;AAAA,UACL,EAAE,MAAM,sBAAsB;AAAA,UAC9B,EAAE,MAAM,sBAAsB;AAAA,QAChC;AA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W,aAAa;AAE1C,QAAM,oBACqC;AAAA,IACvC;AAAA,EACF;AAEF,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,YAAY;AAAA,IACrC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,6BAOd;AACA,QAAM,UAAU,EAAE,WAAW,aAAa;AAE1C,QAAM,oBACqC,0BAA0B,OAAO;AAE5E,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,YAAY;AAAA,IACrC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","Variant","SortOrder","WebhookIdentityType","createGallery","getGallery","getGalleryByDraftGalleryId","updateGallery","queryGalleries","updateExtendedFields","bulkCreateGalleries","bulkUpdateGalleries","bulkDeleteGalleries","getDeletedGallery","listDeletedGalleries","restoreGalleryFromTrashBin","removeGalleryFromTrashBin"]}
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { Gallery, GetGalleryByDraftGalleryIdResponse, UpdateGallery, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, BulkCreateGalleriesOptions, BulkCreateGalleriesResponse, MaskedGallery, BulkUpdateGalleriesOptions, BulkUpdateGalleriesResponse, BulkDeleteGalleriesResponse, GetDeletedGalleryResponse, ListDeletedGalleriesOptions, ListDeletedGalleriesResponse, RestoreGalleryFromTrashBinResponse, GalleryRemovedFromTrashBinEnvelope, GalleriesQueryBuilder, CursorQuery, typedQueryGalleries } from './index.typings.js';
3
- export { ActionEvent, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateGalleriesRequest, BulkDeleteGalleriesRequest, BulkDeleteGalleriesResponseBulkGalleryResult, BulkGalleryResult, BulkUpdateGalleriesRequest, BulkUpdateGalleriesResponseBulkGalleryResult, CreateGalleryRequest, CreateGalleryResponse, CursorPaging, CursorPagingMetadata, CursorQueryPagingMethodOneOf, Cursors, DeleteGalleryRequest, DeleteGalleryResponse, DeleteOutdatedGalleryVersionsRequest, DeleteOutdatedGalleryVersionsResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GalleriesQueryResult, GalleryRemovedFromTrashBin, GetDeletedGalleryRequest, GetGalleryByDraftGalleryIdRequest, GetGalleryRequest, GetGalleryResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, ListDeletedGalleriesRequest, MessageEnvelope, QueryGalleriesRequest, QueryGalleriesResponse, RemoveGalleryFromTrashBinRequest, RemoveGalleryFromTrashBinResponse, RestoreGalleryFromTrashBinRequest, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, UpdateExtendedFieldsRequest, UpdateGalleryRequest, UpdateGalleryResponse, Variant, VariantWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
2
+ import { Gallery, GetGalleryByDraftGalleryIdResponse, UpdateGallery, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, BulkCreateGalleriesOptions, BulkCreateGalleriesResponse, MaskedGallery, BulkUpdateGalleriesOptions, BulkUpdateGalleriesResponse, BulkDeleteGalleriesResponse, GetDeletedGalleryResponse, ListDeletedGalleriesOptions, ListDeletedGalleriesResponse, RestoreGalleryFromTrashBinResponse, GalleryRemovedFromTrashBinEnvelope, GalleriesQueryBuilder, GalleryQuery, typedQueryGalleries } from './index.typings.js';
3
+ export { AccountDetails, ActionEvent, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateGalleriesRequest, BulkDeleteGalleriesRequest, BulkDeleteGalleriesResponseBulkGalleryResult, BulkGalleryResult, BulkUpdateGalleriesRequest, BulkUpdateGalleriesResponseBulkGalleryResult, CommonQueryWithEntityContext, CreateGalleryRequest, CreateGalleryResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteGalleryRequest, DeleteGalleryResponse, DeleteOutdatedGalleryVersionsRequest, DeleteOutdatedGalleryVersionsResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GalleriesQueryResult, GalleryQuerySpec, GalleryRemovedFromTrashBin, GetDeletedGalleryRequest, GetGalleryByDraftGalleryIdRequest, GetGalleryRequest, GetGalleryResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, ListDeletedGalleriesRequest, MessageEnvelope, QueryGalleriesRequest, QueryGalleriesResponse, RemoveGalleryFromTrashBinRequest, RemoveGalleryFromTrashBinResponse, RestoreGalleryFromTrashBinRequest, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, UpdateExtendedFieldsRequest, UpdateGalleryRequest, UpdateGalleryResponse, Variant, VariantWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
4
4
 
5
5
  declare function createGallery$1(httpClient: HttpClient): CreateGallerySignature;
6
6
  interface CreateGallerySignature {
@@ -106,7 +106,7 @@ declare const onGalleryRemovedFromTrashBin$1: EventDefinition<GalleryRemovedFrom
106
106
 
107
107
  declare function customQueryGalleries(httpClient: HttpClient): {
108
108
  (): GalleriesQueryBuilder;
109
- (query: CursorQuery): ReturnType<typeof typedQueryGalleries>;
109
+ (query: GalleryQuery): ReturnType<typeof typedQueryGalleries>;
110
110
  };
111
111
  declare const createGallery: MaybeContext<BuildRESTFunction<typeof createGallery$1> & typeof createGallery$1>;
112
112
  declare const getGallery: MaybeContext<BuildRESTFunction<typeof getGallery$1> & typeof getGallery$1>;
@@ -124,4 +124,4 @@ declare const queryGalleries: MaybeContext<BuildRESTFunction<typeof customQueryG
124
124
  /** */
125
125
  declare const onGalleryRemovedFromTrashBin: BuildEventDefinition<typeof onGalleryRemovedFromTrashBin$1> & typeof onGalleryRemovedFromTrashBin$1;
126
126
 
127
- export { BulkCreateGalleriesOptions, BulkCreateGalleriesResponse, BulkDeleteGalleriesResponse, BulkUpdateGalleriesOptions, BulkUpdateGalleriesResponse, CursorQuery, GalleriesQueryBuilder, Gallery, GalleryRemovedFromTrashBinEnvelope, GetDeletedGalleryResponse, GetGalleryByDraftGalleryIdResponse, ListDeletedGalleriesOptions, ListDeletedGalleriesResponse, MaskedGallery, RestoreGalleryFromTrashBinResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateGallery, bulkCreateGalleries, bulkDeleteGalleries, bulkUpdateGalleries, createGallery, getDeletedGallery, getGallery, getGalleryByDraftGalleryId, listDeletedGalleries, onGalleryRemovedFromTrashBin, queryGalleries, removeGalleryFromTrashBin, restoreGalleryFromTrashBin, updateExtendedFields, updateGallery };
127
+ export { BulkCreateGalleriesOptions, BulkCreateGalleriesResponse, BulkDeleteGalleriesResponse, BulkUpdateGalleriesOptions, BulkUpdateGalleriesResponse, GalleriesQueryBuilder, Gallery, GalleryQuery, GalleryRemovedFromTrashBinEnvelope, GetDeletedGalleryResponse, GetGalleryByDraftGalleryIdResponse, ListDeletedGalleriesOptions, ListDeletedGalleriesResponse, MaskedGallery, RestoreGalleryFromTrashBinResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateGallery, bulkCreateGalleries, bulkDeleteGalleries, bulkUpdateGalleries, createGallery, getDeletedGallery, getGallery, getGalleryByDraftGalleryId, listDeletedGalleries, onGalleryRemovedFromTrashBin, queryGalleries, removeGalleryFromTrashBin, restoreGalleryFromTrashBin, updateExtendedFields, updateGallery };