@wix/auto_sdk_media-collections_media-collections 1.0.26 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +39 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +18 -1
- package/build/cjs/index.typings.js +39 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +350 -1
- package/build/cjs/meta.js +121 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +39 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +18 -1
- package/build/es/index.typings.mjs +39 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +350 -1
- package/build/es/meta.mjs +112 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +39 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +18 -1
- package/build/internal/cjs/index.typings.js +39 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +350 -1
- package/build/internal/cjs/meta.js +121 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +39 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +18 -1
- package/build/internal/es/index.typings.mjs +39 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +350 -1
- package/build/internal/es/meta.mjs +112 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../meta.ts","../../src/collections-v1-collection-media-collections.http.ts","../../src/collections-v1-collection-media-collections.meta.ts"],"sourcesContent":["export * from './src/collections-v1-collection-media-collections.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _: [\n {\n srcPath: '/media-collections-service',\n destPath: '',\n },\n {\n srcPath: '/_api/media-collections-service',\n destPath: '',\n },\n ],\n 'mediacollections.wixapps.net': [\n {\n srcPath: '/media-collections-service',\n destPath: '',\n },\n {\n srcPath: '/_api/media-collections-service',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/media-collections-service',\n destPath: '',\n },\n {\n srcPath: '/_api/media-collections-service',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/media-collections-service',\n destPath: '',\n },\n {\n srcPath: '/_api/media-collections-service',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/media-collections-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/collections/v1/mediacollections',\n destPath: '/v1/mediacollections',\n },\n {\n srcPath: '/collections/v1/mediacollections/items',\n destPath: '/v1/mediacollections/items',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_media-collections_media-collections';\n\n/** Get a specific collection by its id */\nexport function get(payload: object): RequestOptionsFactory<any> {\n function __get({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.Get',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'mediaCollection.createdDate' },\n { path: 'mediaCollection.items.addedDate' },\n { path: 'mediaCollection.items.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'mediaCollection.items.sortOrder' },\n { path: 'mediaCollection.items.photoMetadata.focalPoint.x' },\n { path: 'mediaCollection.items.photoMetadata.focalPoint.y' },\n {\n path: 'mediaCollection.items.videoMetadata.posters.focalPoint.x',\n },\n {\n path: 'mediaCollection.items.videoMetadata.posters.focalPoint.y',\n },\n {\n path: 'mediaCollection.items.photoMetadata.unsharpMasking.amount',\n },\n {\n path: 'mediaCollection.items.photoMetadata.unsharpMasking.radius',\n },\n {\n path: 'mediaCollection.items.photoMetadata.unsharpMasking.threshold',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __get;\n}\n\n/** List all collections that the member has a role in them */\nexport function listCollectionsForItem(\n payload: object\n): RequestOptionsFactory<any> {\n function __listCollectionsForItem({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionsForItem',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/items/{itemId}/collections',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'itemInCollections.firstItem.sortOrder' },\n {\n path: 'itemInCollections.firstItem.photoMetadata.focalPoint.x',\n },\n {\n path: 'itemInCollections.firstItem.photoMetadata.focalPoint.y',\n },\n {\n path: 'itemInCollections.firstItem.videoMetadata.posters.focalPoint.x',\n },\n {\n path: 'itemInCollections.firstItem.videoMetadata.posters.focalPoint.y',\n },\n {\n path: 'itemInCollections.firstItem.photoMetadata.unsharpMasking.amount',\n },\n {\n path: 'itemInCollections.firstItem.photoMetadata.unsharpMasking.radius',\n },\n {\n path: 'itemInCollections.firstItem.photoMetadata.unsharpMasking.threshold',\n },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'itemInCollections.firstItem.addedDate' },\n { path: 'itemInCollections.firstItem.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listCollectionsForItem;\n}\n\n/** Get a specific item from a collection */\nexport function getCollectionItem(payload: object): RequestOptionsFactory<any> {\n function __getCollectionItem({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.GetCollectionItem',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/items/{itemId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'item.sortOrder' },\n { path: 'item.photoMetadata.focalPoint.x' },\n { path: 'item.photoMetadata.focalPoint.y' },\n { path: 'item.videoMetadata.posters.focalPoint.x' },\n { path: 'item.videoMetadata.posters.focalPoint.y' },\n { path: 'item.photoMetadata.unsharpMasking.amount' },\n { path: 'item.photoMetadata.unsharpMasking.radius' },\n { path: 'item.photoMetadata.unsharpMasking.threshold' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'item.addedDate' }, { path: 'item.updatedDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getCollectionItem;\n}\n\n/** List all collections that the item belongs to */\nexport function list(payload: object): RequestOptionsFactory<any> {\n function __list({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.List',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n { protoPath: '/v1/mediacollections', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'collectionsStatus.mediaCollection.createdDate' },\n { path: 'collectionsStatus.mediaCollection.items.addedDate' },\n { path: 'collectionsStatus.mediaCollection.items.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'collectionsStatus.mediaCollection.items.sortOrder' },\n {\n path: 'collectionsStatus.mediaCollection.items.photoMetadata.focalPoint.x',\n },\n {\n path: 'collectionsStatus.mediaCollection.items.photoMetadata.focalPoint.y',\n },\n {\n path: 'collectionsStatus.mediaCollection.items.videoMetadata.posters.focalPoint.x',\n },\n {\n path: 'collectionsStatus.mediaCollection.items.videoMetadata.posters.focalPoint.y',\n },\n {\n path: 'collectionsStatus.mediaCollection.items.photoMetadata.unsharpMasking.amount',\n },\n {\n path: 'collectionsStatus.mediaCollection.items.photoMetadata.unsharpMasking.radius',\n },\n {\n path: 'collectionsStatus.mediaCollection.items.photoMetadata.unsharpMasking.threshold',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __list;\n}\n\n/** Create a new collection */\nexport function create(payload: object): RequestOptionsFactory<any> {\n function __create({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'items.orderIndex' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.Create',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n { protoPath: '/v1/mediacollections', data: serializedData, host }\n ),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __create;\n}\n\n/** Update a collection */\nexport function partiallyUpdate(payload: object): RequestOptionsFactory<any> {\n function __partiallyUpdate({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'mediaCollection.createdDate' },\n { path: 'mediaCollection.items.addedDate' },\n { path: 'mediaCollection.items.updatedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'mediaCollection.items.sortOrder' },\n { path: 'mediaCollection.items.photoMetadata.focalPoint.x' },\n { path: 'mediaCollection.items.photoMetadata.focalPoint.y' },\n { path: 'mediaCollection.items.videoMetadata.posters.focalPoint.x' },\n { path: 'mediaCollection.items.videoMetadata.posters.focalPoint.y' },\n { path: 'mediaCollection.items.photoMetadata.unsharpMasking.amount' },\n { path: 'mediaCollection.items.photoMetadata.unsharpMasking.radius' },\n {\n path: 'mediaCollection.items.photoMetadata.unsharpMasking.threshold',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'PUT' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.PartiallyUpdate',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollection.id}',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __partiallyUpdate;\n}\n\n/** Delete a collection */\nexport function _delete(payload: object): RequestOptionsFactory<any> {\n function ___delete({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService._delete',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return ___delete;\n}\n\n/** List all members of a collection */\nexport function listCollectionMembers(\n payload: object\n): RequestOptionsFactory<any> {\n function __listCollectionMembers({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionMembers',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/members',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __listCollectionMembers;\n}\n\n/** Add items to a collection */\nexport function addItems(payload: object): RequestOptionsFactory<any> {\n function __addItems({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'items.orderIndex' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.AddItems',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/items',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __addItems;\n}\n\n/** Remove items from a collection */\nexport function removeItems(payload: object): RequestOptionsFactory<any> {\n function __removeItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.RemoveItems',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/items',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __removeItems;\n}\n\n/** Join to a collection */\nexport function joinToCollection(payload: object): RequestOptionsFactory<any> {\n function __joinToCollection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.JoinToCollection',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/members',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __joinToCollection;\n}\n\nexport function leaveCollection(payload: object): RequestOptionsFactory<any> {\n function __leaveCollection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.LeaveCollection',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/members',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __leaveCollection;\n}\n\nexport function listCollectionItems(\n payload: object\n): RequestOptionsFactory<any> {\n function __listCollectionItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionItems',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/items',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'collectionItems.orderIndex' }],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'collectionItems.addedDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listCollectionItems;\n}\n","import * as ambassadorWixCollectionsV1Collection from './collections-v1-collection-media-collections.http.js';\nimport * as ambassadorWixCollectionsV1CollectionTypes from './collections-v1-collection-media-collections.types.js';\nimport * as ambassadorWixCollectionsV1CollectionUniversalTypes from './collections-v1-collection-media-collections.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 get(): __PublicMethodMetaInfo<\n 'GET',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.GetMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionTypes.GetMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.GetMediaCollectionResponse,\n ambassadorWixCollectionsV1CollectionTypes.GetMediaCollectionResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions = ambassadorWixCollectionsV1Collection.get(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/mediacollections/{mediaCollectionId}',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 listCollectionsForItem(): __PublicMethodMetaInfo<\n 'GET',\n { itemId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListCollectionsForItemRequest,\n ambassadorWixCollectionsV1CollectionTypes.ListCollectionsForItemRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListCollectionsForItemResponse,\n ambassadorWixCollectionsV1CollectionTypes.ListCollectionsForItemResponse\n> {\n const payload = { itemId: ':itemId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.listCollectionsForItem(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/mediacollections/items/{itemId}/collections',\n pathParams: { itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getCollectionItem(): __PublicMethodMetaInfo<\n 'GET',\n { mediaCollectionId: string; itemId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.GetCollectionItemRequest,\n ambassadorWixCollectionsV1CollectionTypes.GetCollectionItemRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.GetCollectionItemResponse,\n ambassadorWixCollectionsV1CollectionTypes.GetCollectionItemResponse\n> {\n const payload = {\n mediaCollectionId: ':mediaCollectionId',\n itemId: ':itemId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.getCollectionItem(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/mediacollections/{mediaCollectionId}/items/{itemId}',\n pathParams: { mediaCollectionId: 'mediaCollectionId', itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function list(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListMediaCollectionsRequest,\n ambassadorWixCollectionsV1CollectionTypes.ListMediaCollectionsRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListMediaCollectionsResponse,\n ambassadorWixCollectionsV1CollectionTypes.ListMediaCollectionsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixCollectionsV1Collection.list(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/mediacollections',\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 create(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCollectionsV1CollectionUniversalTypes.CreateMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionTypes.CreateMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.CreateMediaCollectionResponse,\n ambassadorWixCollectionsV1CollectionTypes.CreateMediaCollectionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.create(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/mediacollections',\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 partiallyUpdate(): __PublicMethodMetaInfo<\n 'PUT',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.PartiallyUpdateMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionTypes.PartiallyUpdateMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.PartiallyUpdateMediaCollectionResponse,\n ambassadorWixCollectionsV1CollectionTypes.PartiallyUpdateMediaCollectionResponse\n> {\n const payload = { mediaCollection: { id: ':mediaCollectionId' } } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.partiallyUpdate(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/v1/mediacollections/{mediaCollection.id}',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 _delete(): __PublicMethodMetaInfo<\n 'DELETE',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.DeleteMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionTypes.DeleteMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.DeleteMediaCollectionResponse,\n ambassadorWixCollectionsV1CollectionTypes.DeleteMediaCollectionResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection._delete(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/mediacollections/{mediaCollectionId}',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 listCollectionMembers(): __PublicMethodMetaInfo<\n 'GET',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListCollectionMembersRequest,\n ambassadorWixCollectionsV1CollectionTypes.ListCollectionMembersRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListCollectionMembersResponse,\n ambassadorWixCollectionsV1CollectionTypes.ListCollectionMembersResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.listCollectionMembers(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/mediacollections/{mediaCollectionId}/members',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 addItems(): __PublicMethodMetaInfo<\n 'POST',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.AddItemsRequest,\n ambassadorWixCollectionsV1CollectionTypes.AddItemsRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.AddItemsResponse,\n ambassadorWixCollectionsV1CollectionTypes.AddItemsResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.addItems(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/mediacollections/{mediaCollectionId}/items',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 removeItems(): __PublicMethodMetaInfo<\n 'DELETE',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.RemoveItemsRequest,\n ambassadorWixCollectionsV1CollectionTypes.RemoveItemsRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.RemoveItemsResponse,\n ambassadorWixCollectionsV1CollectionTypes.RemoveItemsResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.removeItems(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/mediacollections/{mediaCollectionId}/items',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 joinToCollection(): __PublicMethodMetaInfo<\n 'POST',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.JoinToCollectionRequest,\n ambassadorWixCollectionsV1CollectionTypes.JoinToCollectionRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.JoinToCollectionResponse,\n ambassadorWixCollectionsV1CollectionTypes.JoinToCollectionResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.joinToCollection(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/mediacollections/{mediaCollectionId}/members',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 leaveCollection(): __PublicMethodMetaInfo<\n 'DELETE',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.LeaveCollectionRequest,\n ambassadorWixCollectionsV1CollectionTypes.LeaveCollectionRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.LeaveCollectionResponse,\n ambassadorWixCollectionsV1CollectionTypes.LeaveCollectionResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.leaveCollection(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/mediacollections/{mediaCollectionId}/members',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 listCollectionItems(): __PublicMethodMetaInfo<\n 'GET',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListCollectionItemsRequest,\n ambassadorWixCollectionsV1CollectionTypes.ListCollectionItemsRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListCollectionItemsResponse,\n ambassadorWixCollectionsV1CollectionTypes.ListCollectionItemsResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.listCollectionItems(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/mediacollections/{mediaCollectionId}/items',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,iBAAAA;AAAA,EAAA,gBAAAC;AAAA,EAAA,cAAAC;AAAA,EAAA,WAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,YAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,mBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,qEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,gCAAg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E/D,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,mBAAmB,oBAAoB;AAAA,IACrD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,mBAOd;AACA,QAAM,UAAU,EAAE,mBAAmB,qBAAqB;AAE1D,QAAM,oBACiC,gBAAgB,OAAO;AAE9D,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,mBAAmB,oBAAoB;AAAA,IACrD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,uBAOd;AACA,QAAM,UAAU,EAAE,mBAAmB,qBAAqB;AAE1D,QAAM,oBACiC,oBAAoB,OAAO;AAElE,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,mBAAmB,oBAAoB;AAAA,IACrD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["_delete","addItems","create","get","getCollectionItem","joinToCollection","leaveCollection","list","listCollectionItems","listCollectionMembers","listCollectionsForItem","partiallyUpdate","removeItems","import_float","import_timestamp","import_rest_modules","payload","get","listCollectionsForItem","getCollectionItem","list","create","partiallyUpdate","_delete","listCollectionMembers","addItems","removeItems","joinToCollection","leaveCollection","listCollectionItems"]}
|
|
1
|
+
{"version":3,"sources":["../../meta.ts","../../src/collections-v1-collection-media-collections.http.ts","../../src/collections-v1-collection-media-collections.types.ts","../../src/collections-v1-collection-media-collections.meta.ts"],"sourcesContent":["export * from './src/collections-v1-collection-media-collections.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _: [\n {\n srcPath: '/media-collections-service',\n destPath: '',\n },\n {\n srcPath: '/_api/media-collections-service',\n destPath: '',\n },\n ],\n 'mediacollections.wixapps.net': [\n {\n srcPath: '/media-collections-service',\n destPath: '',\n },\n {\n srcPath: '/_api/media-collections-service',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/media-collections-service',\n destPath: '',\n },\n {\n srcPath: '/_api/media-collections-service',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/media-collections-service',\n destPath: '',\n },\n {\n srcPath: '/_api/media-collections-service',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/media-collections-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/collections/v1/mediacollections',\n destPath: '/v1/mediacollections',\n },\n {\n srcPath: '/collections/v1/mediacollections/items',\n destPath: '/v1/mediacollections/items',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_media-collections_media-collections';\n\n/** Get a specific collection by its id */\nexport function get(payload: object): RequestOptionsFactory<any> {\n function __get({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.Get',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'mediaCollection.createdDate' },\n { path: 'mediaCollection.items.addedDate' },\n { path: 'mediaCollection.items.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'mediaCollection.items.sortOrder' },\n { path: 'mediaCollection.items.photoMetadata.focalPoint.x' },\n { path: 'mediaCollection.items.photoMetadata.focalPoint.y' },\n {\n path: 'mediaCollection.items.videoMetadata.posters.focalPoint.x',\n },\n {\n path: 'mediaCollection.items.videoMetadata.posters.focalPoint.y',\n },\n {\n path: 'mediaCollection.items.photoMetadata.unsharpMasking.amount',\n },\n {\n path: 'mediaCollection.items.photoMetadata.unsharpMasking.radius',\n },\n {\n path: 'mediaCollection.items.photoMetadata.unsharpMasking.threshold',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __get;\n}\n\n/** List all collections that the member has a role in them */\nexport function listCollectionsForItem(\n payload: object\n): RequestOptionsFactory<any> {\n function __listCollectionsForItem({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionsForItem',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/items/{itemId}/collections',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'itemInCollections.firstItem.sortOrder' },\n {\n path: 'itemInCollections.firstItem.photoMetadata.focalPoint.x',\n },\n {\n path: 'itemInCollections.firstItem.photoMetadata.focalPoint.y',\n },\n {\n path: 'itemInCollections.firstItem.videoMetadata.posters.focalPoint.x',\n },\n {\n path: 'itemInCollections.firstItem.videoMetadata.posters.focalPoint.y',\n },\n {\n path: 'itemInCollections.firstItem.photoMetadata.unsharpMasking.amount',\n },\n {\n path: 'itemInCollections.firstItem.photoMetadata.unsharpMasking.radius',\n },\n {\n path: 'itemInCollections.firstItem.photoMetadata.unsharpMasking.threshold',\n },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'itemInCollections.firstItem.addedDate' },\n { path: 'itemInCollections.firstItem.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listCollectionsForItem;\n}\n\n/** Get a specific item from a collection */\nexport function getCollectionItem(payload: object): RequestOptionsFactory<any> {\n function __getCollectionItem({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.GetCollectionItem',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/items/{itemId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'item.sortOrder' },\n { path: 'item.photoMetadata.focalPoint.x' },\n { path: 'item.photoMetadata.focalPoint.y' },\n { path: 'item.videoMetadata.posters.focalPoint.x' },\n { path: 'item.videoMetadata.posters.focalPoint.y' },\n { path: 'item.photoMetadata.unsharpMasking.amount' },\n { path: 'item.photoMetadata.unsharpMasking.radius' },\n { path: 'item.photoMetadata.unsharpMasking.threshold' },\n ],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'item.addedDate' }, { path: 'item.updatedDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getCollectionItem;\n}\n\n/** List all collections that the item belongs to */\nexport function list(payload: object): RequestOptionsFactory<any> {\n function __list({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.List',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n { protoPath: '/v1/mediacollections', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'collectionsStatus.mediaCollection.createdDate' },\n { path: 'collectionsStatus.mediaCollection.items.addedDate' },\n { path: 'collectionsStatus.mediaCollection.items.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'collectionsStatus.mediaCollection.items.sortOrder' },\n {\n path: 'collectionsStatus.mediaCollection.items.photoMetadata.focalPoint.x',\n },\n {\n path: 'collectionsStatus.mediaCollection.items.photoMetadata.focalPoint.y',\n },\n {\n path: 'collectionsStatus.mediaCollection.items.videoMetadata.posters.focalPoint.x',\n },\n {\n path: 'collectionsStatus.mediaCollection.items.videoMetadata.posters.focalPoint.y',\n },\n {\n path: 'collectionsStatus.mediaCollection.items.photoMetadata.unsharpMasking.amount',\n },\n {\n path: 'collectionsStatus.mediaCollection.items.photoMetadata.unsharpMasking.radius',\n },\n {\n path: 'collectionsStatus.mediaCollection.items.photoMetadata.unsharpMasking.threshold',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __list;\n}\n\n/** Create a new collection */\nexport function create(payload: object): RequestOptionsFactory<any> {\n function __create({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'items.orderIndex' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.Create',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n { protoPath: '/v1/mediacollections', data: serializedData, host }\n ),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __create;\n}\n\n/** Update a collection */\nexport function partiallyUpdate(payload: object): RequestOptionsFactory<any> {\n function __partiallyUpdate({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'mediaCollection.createdDate' },\n { path: 'mediaCollection.items.addedDate' },\n { path: 'mediaCollection.items.updatedDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'mediaCollection.items.sortOrder' },\n { path: 'mediaCollection.items.photoMetadata.focalPoint.x' },\n { path: 'mediaCollection.items.photoMetadata.focalPoint.y' },\n { path: 'mediaCollection.items.videoMetadata.posters.focalPoint.x' },\n { path: 'mediaCollection.items.videoMetadata.posters.focalPoint.y' },\n { path: 'mediaCollection.items.photoMetadata.unsharpMasking.amount' },\n { path: 'mediaCollection.items.photoMetadata.unsharpMasking.radius' },\n {\n path: 'mediaCollection.items.photoMetadata.unsharpMasking.threshold',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'PUT' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.PartiallyUpdate',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollection.id}',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __partiallyUpdate;\n}\n\n/** Delete a collection */\nexport function _delete(payload: object): RequestOptionsFactory<any> {\n function ___delete({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService._delete',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return ___delete;\n}\n\n/** List all members of a collection */\nexport function listCollectionMembers(\n payload: object\n): RequestOptionsFactory<any> {\n function __listCollectionMembers({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionMembers',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/members',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __listCollectionMembers;\n}\n\n/** Add items to a collection */\nexport function addItems(payload: object): RequestOptionsFactory<any> {\n function __addItems({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [{ path: 'items.orderIndex' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.AddItems',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/items',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __addItems;\n}\n\n/** Remove items from a collection */\nexport function removeItems(payload: object): RequestOptionsFactory<any> {\n function __removeItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.RemoveItems',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/items',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __removeItems;\n}\n\n/** Join to a collection */\nexport function joinToCollection(payload: object): RequestOptionsFactory<any> {\n function __joinToCollection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.JoinToCollection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/members',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __joinToCollection;\n}\n\nexport function leaveCollection(payload: object): RequestOptionsFactory<any> {\n function __leaveCollection({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.LeaveCollection',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/members',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __leaveCollection;\n}\n\nexport function listCollectionItems(\n payload: object\n): RequestOptionsFactory<any> {\n function __listCollectionItems({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.collections.v1.collection',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionItems',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(\n {\n protoPath: '/v1/mediacollections/{mediaCollectionId}/items',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'collectionItems.orderIndex' }],\n },\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'collectionItems.addedDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listCollectionItems;\n}\n","export interface MediaCollection {\n /**\n * Collection id\n * @readonly\n * @format GUID\n */\n id?: string;\n /**\n * Collection name\n * @maxLength 100\n */\n name?: string;\n /** @maxLength 500 */\n description?: string | null;\n /**\n * total count of MediaCollection members\n * @readonly\n */\n membersCount?: number;\n /**\n * the member who created the MediaCollection\n * @readonly\n */\n creator?: CollectionMember;\n /**\n * when MediaCollection was created\n * @readonly\n */\n createdDate?: Date | null;\n /** Items in the collection */\n items?: MediaCollectionItem[];\n /**\n * total count of items\n * @readonly\n */\n itemsCount?: number;\n /** Privacy settings */\n privacySettings?: PrivacySettingsWithLiterals;\n /** If true, the collection is locked and should not be updated */\n locked?: boolean;\n}\n\nexport interface CollectionMember {\n /**\n * Member id\n * @readonly\n * @format GUID\n */\n memberId?: string;\n /**\n * Member nickname\n * @maxLength 100\n */\n nickname?: string | null;\n /**\n * Member slug\n * @maxLength 100\n */\n slug?: string | null;\n /**\n * Member photo url\n * @maxLength 200\n */\n photoUrl?: string | null;\n}\n\nexport interface MediaCollectionItem extends MediaCollectionItemMetadataOneOf {\n /** Photo metadata */\n photoMetadata?: PhotoMetadata;\n /** Video metadata */\n videoMetadata?: VideoMetadata;\n /** Text metadata */\n textMetadata?: TextMetadata;\n /**\n * item id\n * @readonly\n * @format GUID\n */\n id?: string | null;\n /** item url for photos or video */\n mediaUrl?: string | null;\n /** if not present in an update it mean the item will be added as currentTimestamp */\n sortOrder?: number | null;\n /** item's original filename */\n name?: string | null;\n /** item's title */\n title?: string | null;\n /** item's description */\n description?: string | null;\n /** a link from the item to something else */\n link?: Link;\n /** item type: text, photo or video */\n dataType?: DataTypeWithLiterals;\n /**\n * When the item was added to the collection\n * @readonly\n */\n addedDate?: Date | null;\n /**\n * When the item was last updated\n * @readonly\n */\n updatedDate?: Date | null;\n /** The owner of the media */\n mediaOwner?: MediaOwnerWithLiterals;\n /** Tags for media */\n tags?: string[];\n /** Token for media */\n token?: string | null;\n /** Gallery id */\n galleryId?: string;\n}\n\n/** @oneof */\nexport interface MediaCollectionItemMetadataOneOf {\n /** Photo metadata */\n photoMetadata?: PhotoMetadata;\n /** Video metadata */\n videoMetadata?: VideoMetadata;\n /** Text metadata */\n textMetadata?: TextMetadata;\n}\n\nexport interface Link {\n type?: TypeWithLiterals;\n /** Link text */\n text?: string | null;\n /** Link url */\n url?: string | null;\n /** Link target */\n target?: string | null;\n /** Data on how to construct the link from wix editor inputs */\n wixLinkData?: WixLink;\n}\n\nexport enum Type {\n /** Undefined */\n Undefined = 'Undefined',\n /** external link */\n External = 'External',\n /** link to wix pages */\n Internal = 'Internal',\n}\n\n/** @enumType */\nexport type TypeWithLiterals = Type | 'Undefined' | 'External' | 'Internal';\n\n/** The link object generated by panels in the editor and used by applications in Wix */\nexport interface WixLink extends WixLinkLinkOneOf {\n /** External link type */\n external?: ExternalLink;\n /** Page link type */\n page?: PageLink;\n /** Anchor link type */\n anchor?: AnchorLink;\n /** Dynamic page link type */\n dynamicPage?: DynamicPageLink;\n /** Document link type */\n document?: DocumentLink;\n /** Email link type */\n email?: EmailLink;\n /** Phone link type */\n phone?: PhoneLink;\n /** Address link type */\n address?: AddressLink;\n /** WhatsApp link type */\n whatsApp?: WhatsAppLink;\n /** TPA link type */\n tpaPage?: TpaPageLink;\n}\n\n/** @oneof */\nexport interface WixLinkLinkOneOf {\n /** External link type */\n external?: ExternalLink;\n /** Page link type */\n page?: PageLink;\n /** Anchor link type */\n anchor?: AnchorLink;\n /** Dynamic page link type */\n dynamicPage?: DynamicPageLink;\n /** Document link type */\n document?: DocumentLink;\n /** Email link type */\n email?: EmailLink;\n /** Phone link type */\n phone?: PhoneLink;\n /** Address link type */\n address?: AddressLink;\n /** WhatsApp link type */\n whatsApp?: WhatsAppLink;\n /** TPA link type */\n tpaPage?: TpaPageLink;\n}\n\nexport interface ExternalLink {\n /**\n * The url of the page\n * @format WEB_URL\n */\n url?: string;\n /** Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. */\n target?: string | null;\n}\n\n/**\n * The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document.\n * Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel\n * Following are the accepted 'rel' types by Wix applications.\n */\nexport enum LinkRel {\n /** default (not implemented) */\n unknown_link_rel = 'unknown_link_rel',\n /** Indicates that the current document's original author or publisher does not endorse the referenced document. */\n nofollow = 'nofollow',\n /** Instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it. */\n noopener = 'noopener',\n /** No Referer header will be included. Additionally, has the same effect as noopener. */\n noreferrer = 'noreferrer',\n /** Indicates a link that resulted from advertisements or paid placements. */\n sponsored = 'sponsored',\n}\n\n/** @enumType */\nexport type LinkRelWithLiterals =\n | LinkRel\n | 'unknown_link_rel'\n | 'nofollow'\n | 'noopener'\n | 'noreferrer'\n | 'sponsored';\n\nexport interface PageLink {\n /** The page id we want from the site */\n pageId?: string;\n /** Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. */\n target?: string | null;\n /**\n * rel of link\n * @maxSize 20\n */\n rel?: LinkRelWithLiterals[];\n}\n\nexport interface AnchorLink {\n /** The name of the anchor */\n anchorName?: string;\n /** The data id (from the JSON page) of the anchor that should be used */\n anchorDataId?: string;\n /** The page id we want from the site */\n pageId?: string;\n /**\n * rel of link\n * @maxSize 20\n */\n rel?: LinkRelWithLiterals[];\n}\n\nexport interface DynamicPageLink {\n /** The router that handles this link */\n routerId?: string;\n /** The path data we'd like */\n innerRoute?: string;\n /** The data id (from the JSON page) of the anchor that should be used */\n anchorDataId?: string | null;\n /**\n * rel of link\n * @maxSize 20\n */\n rel?: LinkRelWithLiterals[];\n}\n\nexport interface DocumentLink {\n /** The id of the document */\n docId?: string;\n /** The name of the document for download purposes */\n name?: string | null;\n /** If this document can be indexed by scrapers, default is false */\n indexable?: boolean;\n}\n\nexport interface EmailLink {\n /**\n * The email we will be sending a message to\n * @format EMAIL\n */\n recipient?: string;\n /** The subject of the email */\n subject?: string | null;\n /** The body of the email */\n body?: string | null;\n}\n\nexport interface PhoneLink {\n /**\n * The phone number we want to link to\n * @format PHONE\n * @maxLength 100\n */\n phoneNumber?: string;\n}\n\nexport interface AddressLink {\n /** An address that we can link to */\n address?: string;\n}\n\nexport interface WhatsAppLink {\n /**\n * The whatsApp phone number we want to connect with\n * @format PHONE\n */\n phoneNumber?: string;\n}\n\n/** Link to a TPA page */\nexport interface TpaPageLink {\n /** Type of item (e.g. 'wix.stores.sub_pages.product') */\n itemTypeIdentifier?: string;\n /** Id of linked item */\n itemId?: string;\n /** Id of linked page */\n pageId?: string;\n /** Id of app being linked to (AppDefId) */\n appDefinitionId?: string;\n /** The relativepath of linked page */\n path?: string;\n /**\n * rel of link\n * @maxSize 20\n */\n rel?: LinkRelWithLiterals[];\n}\n\nexport enum DataType {\n Undefined = 'Undefined',\n Photo = 'Photo',\n Video = 'Video',\n Text = 'Text',\n}\n\n/** @enumType */\nexport type DataTypeWithLiterals =\n | DataType\n | 'Undefined'\n | 'Photo'\n | 'Video'\n | 'Text';\n\nexport interface PhotoMetadata {\n /** Photo width */\n width?: number | null;\n /** Photo height */\n height?: number | null;\n /** The focal point of the image */\n focalPoint?: Point;\n /** aka Exchangeable image file format */\n exif?: Record<string, any> | null;\n /**\n * the image quality\n * @min 30\n * @max 100\n */\n quality?: number | null;\n /** photo sharpening */\n unsharpMasking?: UnsharpMasking;\n /** id in WixMedia */\n mediaId?: string | null;\n}\n\nexport interface Point {\n /** x coordinate */\n x?: number;\n /** y coordinate */\n y?: number;\n}\n\nexport interface UnsharpMasking {\n /**\n * number controls the amount of contrast that is added at the edges.\n * @max 5\n */\n amount?: number | null;\n /** number in pixels. The size of the edges to be enhanced */\n radius?: number | null;\n /**\n * The minimal level of brightness change that will be sharpened\n * @max 1\n */\n threshold?: number | null;\n}\n\nexport interface VideoMetadata {\n /** Video width */\n width?: number | null;\n /** Video height */\n height?: number | null;\n /** Video duration in milliseconds */\n duration?: string | null;\n /** Video source */\n source?: SourceWithLiterals;\n /** Video posters */\n posters?: Thumbnail[];\n /** Video resolutions */\n resolutions?: Resolution[];\n /** External source's representation for this video's id */\n externalId?: string | null;\n}\n\nexport enum Source {\n /** Undefined */\n Undefined = 'Undefined',\n /** Youtube */\n Youtube = 'Youtube',\n /** Vimeo */\n Vimeo = 'Vimeo',\n /** Custom */\n Custom = 'Custom',\n}\n\n/** @enumType */\nexport type SourceWithLiterals =\n | Source\n | 'Undefined'\n | 'Youtube'\n | 'Vimeo'\n | 'Custom';\n\nexport interface Thumbnail {\n /** Thumbnail url */\n url?: string | null;\n /** Thumbnail width */\n width?: number | null;\n /** Thumbnail height */\n height?: number | null;\n /** Is this the default thumbnail */\n default?: boolean | null;\n /** The focal point of the image */\n focalPoint?: Point;\n}\n\nexport interface Resolution {\n /** eg 720p, 1024p etc */\n videoMode?: string | null;\n /** Video width */\n width?: number | null;\n /** Video height */\n height?: number | null;\n /** Map representing the file format (eg mp4) to the url. In case of an external source the format can be youtube, vimeo, etc. */\n urls?: Record<string, string>;\n}\n\nexport interface TextMetadata {\n /** text data */\n html?: string | null;\n /** css style info for container */\n style?: Record<string, any> | null;\n /** populated via progallery app only (ck editor format) */\n editorHtml?: string | null;\n /** the wix editor's font Id used to display the text data */\n editorFontId?: string | null;\n}\n\nexport enum MediaOwner {\n /** Undefined */\n Undefined = 'Undefined',\n /** Wix */\n Wix = 'Wix',\n /** DeviantArt */\n DeviantArt = 'DeviantArt',\n /** Custom */\n Custom = 'Custom',\n}\n\n/** @enumType */\nexport type MediaOwnerWithLiterals =\n | MediaOwner\n | 'Undefined'\n | 'Wix'\n | 'DeviantArt'\n | 'Custom';\n\nexport enum PrivacySettings {\n /** Undefined */\n Undefined = 'Undefined',\n /** Public */\n Public = 'Public',\n /** Secret */\n Secret = 'Secret',\n}\n\n/** @enumType */\nexport type PrivacySettingsWithLiterals =\n | PrivacySettings\n | 'Undefined'\n | 'Public'\n | 'Secret';\n\nexport interface PermanentSiteDeletedResponse {\n /** @format GUID */\n requestId?: string;\n uniqueServiceIdentifier?: string;\n status?: StatusWithLiterals;\n /** @readonly */\n createdDate?: Date | null;\n}\n\nexport enum Status {\n UNKNOWN = 'UNKNOWN',\n HANDLED = 'HANDLED',\n NOTHING_TO_HANDLE = 'NOTHING_TO_HANDLE',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'UNKNOWN'\n | 'HANDLED'\n | 'NOTHING_TO_HANDLE';\n\nexport interface Empty {}\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\nexport interface CollectionEvent extends CollectionEventEventTypeOneOf {\n /** Collection created */\n collectionCreated?: CollectionCreated;\n /** Items added to collection */\n itemsAddedToCollection?: ItemsAddedToCollection;\n /** Items removed from collection */\n itemsRemovedFromCollection?: ItemsRemovedFromCollection;\n /** Member joined to collection */\n memberJoinedToCollection?: MemberJoinedToCollection;\n /** Member left collection */\n memberLeftCollection?: MemberLeftCollection;\n}\n\n/** @oneof */\nexport interface CollectionEventEventTypeOneOf {\n /** Collection created */\n collectionCreated?: CollectionCreated;\n /** Items added to collection */\n itemsAddedToCollection?: ItemsAddedToCollection;\n /** Items removed from collection */\n itemsRemovedFromCollection?: ItemsRemovedFromCollection;\n /** Member joined to collection */\n memberJoinedToCollection?: MemberJoinedToCollection;\n /** Member left collection */\n memberLeftCollection?: MemberLeftCollection;\n}\n\nexport interface CollectionItemId {\n /**\n * Id of the gallery in ProGallery\n * @format GUID\n */\n galleryId?: string;\n /**\n * Id of the item in ProGallery\n * @format GUID\n */\n itemId?: string;\n}\n\nexport interface CollectionCreated {\n /**\n * Collection id\n * @format GUID\n */\n id?: string;\n /**\n * Collection name\n * @maxLength 100\n */\n name?: string;\n /**\n * Collection description\n * @maxLength 500\n */\n description?: string | null;\n /**\n * Id of the member who created the collection\n * @format GUID\n */\n creatorMemberId?: string;\n /** When the collection was created */\n createdDate?: Date | null;\n /** Privacy settings */\n privacySettings?: PrivacySettingsWithLiterals;\n}\n\nexport interface ItemsAddedToCollection {\n /**\n * Id of the collection\n * @format GUID\n */\n collectionId?: string;\n /**\n * Id of the member who added items\n * @format GUID\n */\n addedByMember?: string;\n /** Ids of the items that were added */\n collectionItemIds?: CollectionItemId[];\n /** When the items were added */\n addedDate?: Date | null;\n}\n\nexport interface ItemsRemovedFromCollection {\n /**\n * Id of the collection\n * @format GUID\n */\n collectionId?: string;\n /**\n * Id of the member who removed items\n * @format GUID\n */\n removedByMember?: string;\n /**\n * Ids of the items that were removed\n * @format GUID\n */\n itemIds?: string[];\n /** When the items were removed */\n removedDate?: Date | null;\n}\n\nexport interface MemberJoinedToCollection {\n /**\n * Id of the collection\n * @format GUID\n */\n collectionId?: string;\n /**\n * Id of the member who joined\n * @format GUID\n */\n memberId?: string;\n /** When the member was joined */\n joinedDate?: Date | null;\n}\n\nexport interface MemberLeftCollection {\n /**\n * Id of the collection\n * @format GUID\n */\n collectionId?: string;\n /**\n * Id of the member who left\n * @format GUID\n */\n memberId?: string;\n /** When the member left */\n leftDate?: Date | null;\n}\n\nexport interface GetMediaCollectionRequest {\n /**\n * Collection id\n * @format GUID\n */\n mediaCollectionId: string;\n /** number of items to skip in the current sort order, default is 0 */\n offset?: number | null;\n /**\n * The amount of items per response, default is 50\n * @min 1\n * @max 200\n */\n limit?: number | null;\n}\n\nexport interface GetMediaCollectionResponse {\n /** The collection */\n mediaCollection?: MediaCollection;\n /** The member's status in the collection */\n memberStatus?: MemberStatusWithLiterals;\n}\n\nexport enum MemberStatus {\n /** Undefined */\n UNDEFINED = 'UNDEFINED',\n /** Not a member */\n NOT_MEMBER = 'NOT_MEMBER',\n /** Member */\n MEMBER = 'MEMBER',\n /** Admin */\n ADMIN = 'ADMIN',\n}\n\n/** @enumType */\nexport type MemberStatusWithLiterals =\n | MemberStatus\n | 'UNDEFINED'\n | 'NOT_MEMBER'\n | 'MEMBER'\n | 'ADMIN';\n\nexport interface ListCollectionsForItemRequest {\n /**\n * Gallery id\n * @format GUID\n */\n galleryId?: string;\n /**\n * Item id\n * @format GUID\n */\n itemId: string;\n}\n\nexport interface ListCollectionsForItemResponse {\n /** The collections that the item belongs to */\n itemInCollections?: ItemInCollection[];\n}\n\nexport interface ItemInCollection {\n /**\n * Collection id\n * @format GUID\n */\n mediaCollectionId?: string;\n /**\n * Collection name\n * @minLength 1\n * @maxLength 100\n */\n name?: string;\n /** Is the item in the collection */\n isItemInCollection?: boolean;\n /** Is the collection locked */\n isLocked?: boolean;\n /** Member's role in the collection */\n role?: MemberStatusWithLiterals;\n /** Total count of items in the collection */\n totalItemsCount?: number | null;\n /** The first item in the collection */\n firstItem?: MediaCollectionItem;\n /**\n * The creator's nickname\n * @maxLength 100\n */\n creatorNickname?: string | null;\n}\n\nexport interface GetCollectionItemRequest {\n /**\n * Collection id\n * @format GUID\n */\n mediaCollectionId: string;\n /**\n * Item id\n * @format GUID\n */\n itemId: string;\n}\n\nexport interface GetCollectionItemResponse {\n /** The item */\n item?: MediaCollectionItem;\n}\n\nexport interface ListMediaCollectionsRequest {\n /**\n * the amount of collections per response, default is 1000\n * @min 1\n * @max 2000\n */\n limit?: number | null;\n /** number of collections to skip in the current sort order, default is 0 */\n offset?: number | null;\n /**\n * If empty, no filter will be applied\n * Else, will return only collections that the member has those roles on them. Currently supporting: MEMBER, ADMIN.\n */\n filterByRoles?: FilterByRoles;\n}\n\nexport interface FilterByRoles {\n roles?: MemberStatusWithLiterals[];\n}\n\nexport interface ListMediaCollectionsResponse {\n /** The collections and the member's role in them */\n collectionsStatus?: CollectionAndStatus[];\n /**\n * total count of MediaCollection members\n * @readonly\n */\n totalCollectionsCount?: number | null;\n}\n\nexport interface CollectionAndStatus {\n /** The Media Collection */\n mediaCollection?: MediaCollection;\n /** The member's status in the collection */\n memberStatus?: MemberStatusWithLiterals;\n}\n\nexport interface CreateMediaCollectionRequest {\n /**\n * Name of the collection\n * @minLength 1\n * @maxLength 100\n */\n name: string;\n /**\n * Description of the collection\n * @maxLength 500\n */\n description?: string | null;\n /** Privacy settings of the collection */\n privacySettings?: PrivacySettingsWithLiterals;\n /** Items to add to the collection */\n items?: AddItem[];\n}\n\nexport interface AddItem {\n /**\n * Gallery id\n * @format GUID\n */\n galleryId?: string;\n /**\n * Item id\n * @format GUID\n */\n itemId?: string;\n /** Order index of the item */\n orderIndex?: number | null;\n}\n\nexport interface CreateMediaCollectionResponse {\n /**\n * id of the collection that was created\n * @format GUID\n */\n mediaCollectionId?: string;\n}\n\nexport interface PartiallyUpdateMediaCollectionRequest {\n /** Collection to update */\n mediaCollection: MediaCollection;\n /**\n * fields to update\n * supported fields: name, description, privacy_settings\n */\n fieldMask: string[];\n}\n\nexport interface PartiallyUpdateMediaCollectionResponse {}\n\nexport interface UpdateCollectionLockRequest {\n /**\n * Collection to lock\n * @format GUID\n */\n mediaCollectionId?: string;\n /** Lock status */\n locked?: boolean;\n}\n\nexport interface UpdateCollectionLockResponse {}\n\nexport interface DeleteMediaCollectionRequest {\n /**\n * the collection to delete\n * @format GUID\n */\n mediaCollectionId: string;\n}\n\nexport interface DeleteMediaCollectionResponse {}\n\nexport interface ListCollectionMembersRequest {\n /**\n * the collection to get its members\n * @format GUID\n */\n mediaCollectionId: string;\n /** Filter the members by their role in the collection */\n filterBy?: FilterBy;\n}\n\nexport interface FilterBy {\n /** Member's status in the collection */\n memberStatus?: MemberStatusWithLiterals;\n}\n\nexport interface ListCollectionMembersResponse {\n /** The collection's members and their roles */\n membersRoles?: MemberAndStatus[];\n}\n\nexport interface MemberAndStatus {\n /** The member */\n member?: CollectionMember;\n /** The member's role in the collection */\n memberStatus?: MemberStatusWithLiterals;\n}\n\nexport interface AddItemsRequest {\n /**\n * Collection to add items\n * @format GUID\n */\n mediaCollectionId: string;\n /** Items to add */\n items?: AddItem[];\n}\n\nexport interface AddItemsResponse {}\n\nexport interface RemoveItemsRequest {\n /**\n * Collection to remove items from\n * @format GUID\n */\n mediaCollectionId: string;\n /**\n * Items to remove\n * @format GUID\n */\n itemsIds?: string[];\n}\n\nexport interface RemoveItemsResponse {}\n\nexport interface UpdateItemsRequest {\n /**\n * Collection to update items\n * @format GUID\n */\n mediaCollectionId?: string;\n items?: UpdateItem[];\n}\n\nexport interface UpdateItem {\n /**\n * Item to update\n * @format GUID\n */\n itemId?: string;\n /** New order index of the item */\n orderIndex?: number;\n}\n\nexport interface UpdateItemsResponse {}\n\nexport interface JoinToCollectionRequest {\n /**\n * Collection to join\n * @format GUID\n */\n mediaCollectionId: string;\n}\n\nexport interface JoinToCollectionResponse {}\n\nexport interface RemoveMemberFromCollectionRequest {\n /**\n * Collection the member will be removed from being a member\n * @format GUID\n */\n mediaCollectionId?: string;\n /**\n * Member id to remove from the collection\n * @format GUID\n */\n memberId?: string;\n}\n\nexport interface RemoveMemberFromCollectionResponse {}\n\nexport interface LeaveCollectionRequest {\n /**\n * Collection the member will be leaving\n * @format GUID\n */\n mediaCollectionId: string;\n}\n\nexport interface LeaveCollectionResponse {}\n\nexport interface ListCollectionItemsRequest {\n /**\n * Collection to get its items\n * @format GUID\n */\n mediaCollectionId: string;\n}\n\nexport interface ListCollectionItemsResponse {\n /** The collection's items */\n collectionItems?: CollectionItem[];\n}\n\nexport interface CollectionItem {\n /**\n * Gallery id\n * @format GUID\n */\n galleryId?: string;\n /**\n * Item id\n * @format GUID\n */\n itemId?: string;\n /** Order index of the item */\n orderIndex?: number | null;\n /** Date the item was added to the collection */\n addedDate?: Date | null;\n}\n\nexport interface ListAllItemsBelongToCollectionRequest {}\n\nexport interface ListAllItemsBelongToCollectionResponse {\n /**\n * List of the item ids that belong to one or more collection\n * @format GUID\n */\n itemIds?: string[];\n}\n","import * as ambassadorWixCollectionsV1Collection from './collections-v1-collection-media-collections.http.js';\nimport * as ambassadorWixCollectionsV1CollectionTypes from './collections-v1-collection-media-collections.types.js';\nimport * as ambassadorWixCollectionsV1CollectionUniversalTypes from './collections-v1-collection-media-collections.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 get(): __PublicMethodMetaInfo<\n 'GET',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.GetMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionTypes.GetMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.GetMediaCollectionResponse,\n ambassadorWixCollectionsV1CollectionTypes.GetMediaCollectionResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions = ambassadorWixCollectionsV1Collection.get(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/mediacollections/{mediaCollectionId}',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 listCollectionsForItem(): __PublicMethodMetaInfo<\n 'GET',\n { itemId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListCollectionsForItemRequest,\n ambassadorWixCollectionsV1CollectionTypes.ListCollectionsForItemRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListCollectionsForItemResponse,\n ambassadorWixCollectionsV1CollectionTypes.ListCollectionsForItemResponse\n> {\n const payload = { itemId: ':itemId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.listCollectionsForItem(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/mediacollections/items/{itemId}/collections',\n pathParams: { itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getCollectionItem(): __PublicMethodMetaInfo<\n 'GET',\n { mediaCollectionId: string; itemId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.GetCollectionItemRequest,\n ambassadorWixCollectionsV1CollectionTypes.GetCollectionItemRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.GetCollectionItemResponse,\n ambassadorWixCollectionsV1CollectionTypes.GetCollectionItemResponse\n> {\n const payload = {\n mediaCollectionId: ':mediaCollectionId',\n itemId: ':itemId',\n } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.getCollectionItem(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/mediacollections/{mediaCollectionId}/items/{itemId}',\n pathParams: { mediaCollectionId: 'mediaCollectionId', itemId: 'itemId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function list(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListMediaCollectionsRequest,\n ambassadorWixCollectionsV1CollectionTypes.ListMediaCollectionsRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListMediaCollectionsResponse,\n ambassadorWixCollectionsV1CollectionTypes.ListMediaCollectionsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixCollectionsV1Collection.list(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/mediacollections',\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 create(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCollectionsV1CollectionUniversalTypes.CreateMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionTypes.CreateMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.CreateMediaCollectionResponse,\n ambassadorWixCollectionsV1CollectionTypes.CreateMediaCollectionResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.create(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/mediacollections',\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 partiallyUpdate(): __PublicMethodMetaInfo<\n 'PUT',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.PartiallyUpdateMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionTypes.PartiallyUpdateMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.PartiallyUpdateMediaCollectionResponse,\n ambassadorWixCollectionsV1CollectionTypes.PartiallyUpdateMediaCollectionResponse\n> {\n const payload = { mediaCollection: { id: ':mediaCollectionId' } } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.partiallyUpdate(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/v1/mediacollections/{mediaCollection.id}',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 _delete(): __PublicMethodMetaInfo<\n 'DELETE',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.DeleteMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionTypes.DeleteMediaCollectionRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.DeleteMediaCollectionResponse,\n ambassadorWixCollectionsV1CollectionTypes.DeleteMediaCollectionResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection._delete(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/mediacollections/{mediaCollectionId}',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 listCollectionMembers(): __PublicMethodMetaInfo<\n 'GET',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListCollectionMembersRequest,\n ambassadorWixCollectionsV1CollectionTypes.ListCollectionMembersRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListCollectionMembersResponse,\n ambassadorWixCollectionsV1CollectionTypes.ListCollectionMembersResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.listCollectionMembers(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/mediacollections/{mediaCollectionId}/members',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 addItems(): __PublicMethodMetaInfo<\n 'POST',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.AddItemsRequest,\n ambassadorWixCollectionsV1CollectionTypes.AddItemsRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.AddItemsResponse,\n ambassadorWixCollectionsV1CollectionTypes.AddItemsResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.addItems(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/mediacollections/{mediaCollectionId}/items',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 removeItems(): __PublicMethodMetaInfo<\n 'DELETE',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.RemoveItemsRequest,\n ambassadorWixCollectionsV1CollectionTypes.RemoveItemsRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.RemoveItemsResponse,\n ambassadorWixCollectionsV1CollectionTypes.RemoveItemsResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.removeItems(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/mediacollections/{mediaCollectionId}/items',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 joinToCollection(): __PublicMethodMetaInfo<\n 'POST',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.JoinToCollectionRequest,\n ambassadorWixCollectionsV1CollectionTypes.JoinToCollectionRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.JoinToCollectionResponse,\n ambassadorWixCollectionsV1CollectionTypes.JoinToCollectionResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.joinToCollection(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/mediacollections/{mediaCollectionId}/members',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 leaveCollection(): __PublicMethodMetaInfo<\n 'DELETE',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.LeaveCollectionRequest,\n ambassadorWixCollectionsV1CollectionTypes.LeaveCollectionRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.LeaveCollectionResponse,\n ambassadorWixCollectionsV1CollectionTypes.LeaveCollectionResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.leaveCollection(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/mediacollections/{mediaCollectionId}/members',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 listCollectionItems(): __PublicMethodMetaInfo<\n 'GET',\n { mediaCollectionId: string },\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListCollectionItemsRequest,\n ambassadorWixCollectionsV1CollectionTypes.ListCollectionItemsRequest,\n ambassadorWixCollectionsV1CollectionUniversalTypes.ListCollectionItemsResponse,\n ambassadorWixCollectionsV1CollectionTypes.ListCollectionItemsResponse\n> {\n const payload = { mediaCollectionId: ':mediaCollectionId' } as any;\n\n const getRequestOptions =\n ambassadorWixCollectionsV1Collection.listCollectionItems(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/mediacollections/{mediaCollectionId}/items',\n pathParams: { mediaCollectionId: 'mediaCollectionId' },\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 MediaCollection as MediaCollectionOriginal,\n CollectionMember as CollectionMemberOriginal,\n MediaCollectionItem as MediaCollectionItemOriginal,\n MediaCollectionItemMetadataOneOf as MediaCollectionItemMetadataOneOfOriginal,\n Link as LinkOriginal,\n Type as TypeOriginal,\n TypeWithLiterals as TypeWithLiteralsOriginal,\n WixLink as WixLinkOriginal,\n WixLinkLinkOneOf as WixLinkLinkOneOfOriginal,\n ExternalLink as ExternalLinkOriginal,\n LinkRel as LinkRelOriginal,\n LinkRelWithLiterals as LinkRelWithLiteralsOriginal,\n PageLink as PageLinkOriginal,\n AnchorLink as AnchorLinkOriginal,\n DynamicPageLink as DynamicPageLinkOriginal,\n DocumentLink as DocumentLinkOriginal,\n EmailLink as EmailLinkOriginal,\n PhoneLink as PhoneLinkOriginal,\n AddressLink as AddressLinkOriginal,\n WhatsAppLink as WhatsAppLinkOriginal,\n TpaPageLink as TpaPageLinkOriginal,\n DataType as DataTypeOriginal,\n DataTypeWithLiterals as DataTypeWithLiteralsOriginal,\n PhotoMetadata as PhotoMetadataOriginal,\n Point as PointOriginal,\n UnsharpMasking as UnsharpMaskingOriginal,\n VideoMetadata as VideoMetadataOriginal,\n Source as SourceOriginal,\n SourceWithLiterals as SourceWithLiteralsOriginal,\n Thumbnail as ThumbnailOriginal,\n Resolution as ResolutionOriginal,\n TextMetadata as TextMetadataOriginal,\n MediaOwner as MediaOwnerOriginal,\n MediaOwnerWithLiterals as MediaOwnerWithLiteralsOriginal,\n PrivacySettings as PrivacySettingsOriginal,\n PrivacySettingsWithLiterals as PrivacySettingsWithLiteralsOriginal,\n PermanentSiteDeletedResponse as PermanentSiteDeletedResponseOriginal,\n Status as StatusOriginal,\n StatusWithLiterals as StatusWithLiteralsOriginal,\n Empty as EmptyOriginal,\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 CollectionEvent as CollectionEventOriginal,\n CollectionEventEventTypeOneOf as CollectionEventEventTypeOneOfOriginal,\n CollectionItemId as CollectionItemIdOriginal,\n CollectionCreated as CollectionCreatedOriginal,\n ItemsAddedToCollection as ItemsAddedToCollectionOriginal,\n ItemsRemovedFromCollection as ItemsRemovedFromCollectionOriginal,\n MemberJoinedToCollection as MemberJoinedToCollectionOriginal,\n MemberLeftCollection as MemberLeftCollectionOriginal,\n GetMediaCollectionRequest as GetMediaCollectionRequestOriginal,\n GetMediaCollectionResponse as GetMediaCollectionResponseOriginal,\n MemberStatus as MemberStatusOriginal,\n MemberStatusWithLiterals as MemberStatusWithLiteralsOriginal,\n ListCollectionsForItemRequest as ListCollectionsForItemRequestOriginal,\n ListCollectionsForItemResponse as ListCollectionsForItemResponseOriginal,\n ItemInCollection as ItemInCollectionOriginal,\n GetCollectionItemRequest as GetCollectionItemRequestOriginal,\n GetCollectionItemResponse as GetCollectionItemResponseOriginal,\n ListMediaCollectionsRequest as ListMediaCollectionsRequestOriginal,\n FilterByRoles as FilterByRolesOriginal,\n ListMediaCollectionsResponse as ListMediaCollectionsResponseOriginal,\n CollectionAndStatus as CollectionAndStatusOriginal,\n CreateMediaCollectionRequest as CreateMediaCollectionRequestOriginal,\n AddItem as AddItemOriginal,\n CreateMediaCollectionResponse as CreateMediaCollectionResponseOriginal,\n PartiallyUpdateMediaCollectionRequest as PartiallyUpdateMediaCollectionRequestOriginal,\n PartiallyUpdateMediaCollectionResponse as PartiallyUpdateMediaCollectionResponseOriginal,\n UpdateCollectionLockRequest as UpdateCollectionLockRequestOriginal,\n UpdateCollectionLockResponse as UpdateCollectionLockResponseOriginal,\n DeleteMediaCollectionRequest as DeleteMediaCollectionRequestOriginal,\n DeleteMediaCollectionResponse as DeleteMediaCollectionResponseOriginal,\n ListCollectionMembersRequest as ListCollectionMembersRequestOriginal,\n FilterBy as FilterByOriginal,\n ListCollectionMembersResponse as ListCollectionMembersResponseOriginal,\n MemberAndStatus as MemberAndStatusOriginal,\n AddItemsRequest as AddItemsRequestOriginal,\n AddItemsResponse as AddItemsResponseOriginal,\n RemoveItemsRequest as RemoveItemsRequestOriginal,\n RemoveItemsResponse as RemoveItemsResponseOriginal,\n UpdateItemsRequest as UpdateItemsRequestOriginal,\n UpdateItem as UpdateItemOriginal,\n UpdateItemsResponse as UpdateItemsResponseOriginal,\n JoinToCollectionRequest as JoinToCollectionRequestOriginal,\n JoinToCollectionResponse as JoinToCollectionResponseOriginal,\n RemoveMemberFromCollectionRequest as RemoveMemberFromCollectionRequestOriginal,\n RemoveMemberFromCollectionResponse as RemoveMemberFromCollectionResponseOriginal,\n LeaveCollectionRequest as LeaveCollectionRequestOriginal,\n LeaveCollectionResponse as LeaveCollectionResponseOriginal,\n ListCollectionItemsRequest as ListCollectionItemsRequestOriginal,\n ListCollectionItemsResponse as ListCollectionItemsResponseOriginal,\n CollectionItem as CollectionItemOriginal,\n ListAllItemsBelongToCollectionRequest as ListAllItemsBelongToCollectionRequestOriginal,\n ListAllItemsBelongToCollectionResponse as ListAllItemsBelongToCollectionResponseOriginal,\n} from './collections-v1-collection-media-collections.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAAA;AAAA,EAAA,gBAAAC;AAAA,EAAA,cAAAC;AAAA,EAAA,WAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,YAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,mBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,qEACP,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IACN,YAAY,EAAE,mBAAmB,oBAAoB;AAAA,IACrD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,mBAOd;AACA,QAAM,UAAU,EAAE,mBAAmB,qBAAqB;AAE1D,QAAM,oBACiC,gBAAgB,OAAO;AAE9D,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,mBAAmB,oBAAoB;AAAA,IACrD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,uBAOd;AACA,QAAM,UAAU,EAAE,mBAAmB,qBAAqB;AAE1D,QAAM,oBACiC,oBAAoB,OAAO;AAElE,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,mBAAmB,oBAAoB;AAAA,IACrD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["_delete","addItems","create","get","getCollectionItem","joinToCollection","leaveCollection","list","listCollectionItems","listCollectionMembers","listCollectionsForItem","partiallyUpdate","removeItems","import_float","import_timestamp","import_rest_modules","payload","Type","LinkRel","DataType","Source","MediaOwner","PrivacySettings","Status","WebhookIdentityType","MemberStatus","get","listCollectionsForItem","getCollectionItem","list","create","partiallyUpdate","_delete","listCollectionMembers","addItems","removeItems","joinToCollection","leaveCollection","listCollectionItems"]}
|
package/build/es/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { GetOptions, MediaCollection, ListCollectionsForItemOptions, ListCollectionsForItemResponse, GetCollectionItemIdentifiers, GetCollectionItemResponse, ListOptions, ListMediaCollectionsResponse, CreateOptions, CreateMediaCollectionResponse, PartiallyUpdateMediaCollection, PartiallyUpdateOptions, ListCollectionMembersOptions, ListCollectionMembersResponse, AddItemsOptions, RemoveItemsOptions, ListCollectionItemsResponse, CollectionCreatedEnvelope } from './index.typings.mjs';
|
|
3
|
-
export { ActionEvent, AddItem, AddItemsRequest, AddItemsResponse, AddressLink, AnchorLink, BaseEventMetadata, CollectionAndStatus, CollectionCreated, CollectionEvent, CollectionEventEventTypeOneOf, CollectionItem, CollectionItemId, CollectionMember, CreateMediaCollectionRequest, DataType, DataTypeWithLiterals, DeleteMediaCollectionRequest, DeleteMediaCollectionResponse, DocumentLink, DomainEvent, DomainEventBodyOneOf, DynamicPageLink, EmailLink, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExternalLink, FilterBy, FilterByRoles, GetCollectionItemRequest, GetMediaCollectionRequest, GetMediaCollectionResponse, IdentificationData, IdentificationDataIdOneOf, ItemInCollection, ItemsAddedToCollection, ItemsRemovedFromCollection, JoinToCollectionRequest, JoinToCollectionResponse, LeaveCollectionRequest, LeaveCollectionResponse, Link, LinkRel, LinkRelWithLiterals, ListAllItemsBelongToCollectionRequest, ListAllItemsBelongToCollectionResponse, ListCollectionItemsRequest, ListCollectionMembersRequest, ListCollectionsForItemRequest, ListMediaCollectionsRequest, MediaCollectionItem, MediaCollectionItemMetadataOneOf, MediaOwner, MediaOwnerWithLiterals, MemberAndStatus, MemberJoinedToCollection, MemberLeftCollection, MemberStatus, MemberStatusWithLiterals, MessageEnvelope, PageLink, PartiallyUpdateMediaCollectionRequest, PartiallyUpdateMediaCollectionResponse, PermanentSiteDeletedResponse, PhoneLink, PhotoMetadata, Point, PrivacySettings, PrivacySettingsWithLiterals, RemoveItemsRequest, RemoveItemsResponse, RemoveMemberFromCollectionRequest, RemoveMemberFromCollectionResponse, Resolution, RestoreInfo, Source, SourceWithLiterals, Status, StatusWithLiterals, TextMetadata, Thumbnail, TpaPageLink, Type, TypeWithLiterals, UnsharpMasking, UpdateCollectionLockRequest, UpdateCollectionLockResponse, UpdateItem, UpdateItemsRequest, UpdateItemsResponse, VideoMetadata, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WhatsAppLink, WixLink, WixLinkLinkOneOf } from './index.typings.mjs';
|
|
3
|
+
export { AccountDetails, ActionEvent, AddItem, AddItemsRequest, AddItemsResponse, AddressLink, AnchorLink, BaseEventMetadata, CollectionAndStatus, CollectionCreated, CollectionEvent, CollectionEventEventTypeOneOf, CollectionItem, CollectionItemId, CollectionMember, CreateMediaCollectionRequest, DataType, DataTypeWithLiterals, DeleteMediaCollectionRequest, DeleteMediaCollectionResponse, DocumentLink, DomainEvent, DomainEventBodyOneOf, DynamicPageLink, EmailLink, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExternalLink, FilterBy, FilterByRoles, GetCollectionItemRequest, GetMediaCollectionRequest, GetMediaCollectionResponse, IdentificationData, IdentificationDataIdOneOf, ItemInCollection, ItemsAddedToCollection, ItemsRemovedFromCollection, JoinToCollectionRequest, JoinToCollectionResponse, LeaveCollectionRequest, LeaveCollectionResponse, Link, LinkRel, LinkRelWithLiterals, ListAllItemsBelongToCollectionRequest, ListAllItemsBelongToCollectionResponse, ListCollectionItemsRequest, ListCollectionMembersRequest, ListCollectionsForItemRequest, ListMediaCollectionsRequest, MediaCollectionItem, MediaCollectionItemMetadataOneOf, MediaOwner, MediaOwnerWithLiterals, MemberAndStatus, MemberJoinedToCollection, MemberLeftCollection, MemberStatus, MemberStatusWithLiterals, MessageEnvelope, PageLink, PartiallyUpdateMediaCollectionRequest, PartiallyUpdateMediaCollectionResponse, PermanentSiteDeletedResponse, PhoneLink, PhotoMetadata, Point, PrivacySettings, PrivacySettingsWithLiterals, RemoveItemsRequest, RemoveItemsResponse, RemoveMemberFromCollectionRequest, RemoveMemberFromCollectionResponse, Resolution, RestoreInfo, Source, SourceWithLiterals, Status, StatusWithLiterals, TextMetadata, Thumbnail, TpaPageLink, Type, TypeWithLiterals, UnsharpMasking, UpdateCollectionLockRequest, UpdateCollectionLockResponse, UpdateItem, UpdateItemsRequest, UpdateItemsResponse, VideoMetadata, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WhatsAppLink, WixLink, WixLinkLinkOneOf } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function get$1(httpClient: HttpClient): GetSignature;
|
|
6
6
|
interface GetSignature {
|
package/build/es/index.mjs
CHANGED
|
@@ -90,6 +90,9 @@ function get(payload) {
|
|
|
90
90
|
method: "GET",
|
|
91
91
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.Get",
|
|
92
92
|
packageName: PACKAGE_NAME,
|
|
93
|
+
migrationOptions: {
|
|
94
|
+
optInTransformResponse: true
|
|
95
|
+
},
|
|
93
96
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
94
97
|
{
|
|
95
98
|
protoPath: "/v1/mediacollections/{mediaCollectionId}",
|
|
@@ -143,6 +146,9 @@ function listCollectionsForItem(payload) {
|
|
|
143
146
|
method: "GET",
|
|
144
147
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionsForItem",
|
|
145
148
|
packageName: PACKAGE_NAME,
|
|
149
|
+
migrationOptions: {
|
|
150
|
+
optInTransformResponse: true
|
|
151
|
+
},
|
|
146
152
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
147
153
|
{
|
|
148
154
|
protoPath: "/v1/mediacollections/items/{itemId}/collections",
|
|
@@ -199,6 +205,9 @@ function getCollectionItem(payload) {
|
|
|
199
205
|
method: "GET",
|
|
200
206
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.GetCollectionItem",
|
|
201
207
|
packageName: PACKAGE_NAME,
|
|
208
|
+
migrationOptions: {
|
|
209
|
+
optInTransformResponse: true
|
|
210
|
+
},
|
|
202
211
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
203
212
|
{
|
|
204
213
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/items/{itemId}",
|
|
@@ -238,6 +247,9 @@ function list(payload) {
|
|
|
238
247
|
method: "GET",
|
|
239
248
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.List",
|
|
240
249
|
packageName: PACKAGE_NAME,
|
|
250
|
+
migrationOptions: {
|
|
251
|
+
optInTransformResponse: true
|
|
252
|
+
},
|
|
241
253
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
242
254
|
{ protoPath: "/v1/mediacollections", data: payload, host }
|
|
243
255
|
),
|
|
@@ -297,6 +309,9 @@ function create(payload) {
|
|
|
297
309
|
method: "POST",
|
|
298
310
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.Create",
|
|
299
311
|
packageName: PACKAGE_NAME,
|
|
312
|
+
migrationOptions: {
|
|
313
|
+
optInTransformResponse: true
|
|
314
|
+
},
|
|
300
315
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
301
316
|
{ protoPath: "/v1/mediacollections", data: serializedData, host }
|
|
302
317
|
),
|
|
@@ -342,6 +357,9 @@ function partiallyUpdate(payload) {
|
|
|
342
357
|
method: "PUT",
|
|
343
358
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.PartiallyUpdate",
|
|
344
359
|
packageName: PACKAGE_NAME,
|
|
360
|
+
migrationOptions: {
|
|
361
|
+
optInTransformResponse: true
|
|
362
|
+
},
|
|
345
363
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
346
364
|
{
|
|
347
365
|
protoPath: "/v1/mediacollections/{mediaCollection.id}",
|
|
@@ -362,6 +380,9 @@ function _delete(payload) {
|
|
|
362
380
|
method: "DELETE",
|
|
363
381
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService._delete",
|
|
364
382
|
packageName: PACKAGE_NAME,
|
|
383
|
+
migrationOptions: {
|
|
384
|
+
optInTransformResponse: true
|
|
385
|
+
},
|
|
365
386
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
366
387
|
{
|
|
367
388
|
protoPath: "/v1/mediacollections/{mediaCollectionId}",
|
|
@@ -382,6 +403,9 @@ function listCollectionMembers(payload) {
|
|
|
382
403
|
method: "GET",
|
|
383
404
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionMembers",
|
|
384
405
|
packageName: PACKAGE_NAME,
|
|
406
|
+
migrationOptions: {
|
|
407
|
+
optInTransformResponse: true
|
|
408
|
+
},
|
|
385
409
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
386
410
|
{
|
|
387
411
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/members",
|
|
@@ -408,6 +432,9 @@ function addItems(payload) {
|
|
|
408
432
|
method: "POST",
|
|
409
433
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.AddItems",
|
|
410
434
|
packageName: PACKAGE_NAME,
|
|
435
|
+
migrationOptions: {
|
|
436
|
+
optInTransformResponse: true
|
|
437
|
+
},
|
|
411
438
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
412
439
|
{
|
|
413
440
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/items",
|
|
@@ -428,6 +455,9 @@ function removeItems(payload) {
|
|
|
428
455
|
method: "DELETE",
|
|
429
456
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.RemoveItems",
|
|
430
457
|
packageName: PACKAGE_NAME,
|
|
458
|
+
migrationOptions: {
|
|
459
|
+
optInTransformResponse: true
|
|
460
|
+
},
|
|
431
461
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
432
462
|
{
|
|
433
463
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/items",
|
|
@@ -448,6 +478,9 @@ function joinToCollection(payload) {
|
|
|
448
478
|
method: "POST",
|
|
449
479
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.JoinToCollection",
|
|
450
480
|
packageName: PACKAGE_NAME,
|
|
481
|
+
migrationOptions: {
|
|
482
|
+
optInTransformResponse: true
|
|
483
|
+
},
|
|
451
484
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
452
485
|
{
|
|
453
486
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/members",
|
|
@@ -468,6 +501,9 @@ function leaveCollection(payload) {
|
|
|
468
501
|
method: "DELETE",
|
|
469
502
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.LeaveCollection",
|
|
470
503
|
packageName: PACKAGE_NAME,
|
|
504
|
+
migrationOptions: {
|
|
505
|
+
optInTransformResponse: true
|
|
506
|
+
},
|
|
471
507
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
472
508
|
{
|
|
473
509
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/members",
|
|
@@ -488,6 +524,9 @@ function listCollectionItems(payload) {
|
|
|
488
524
|
method: "GET",
|
|
489
525
|
methodFqn: "com.wixpress.exposure.mediacollections.MediaCollectionsService.ListCollectionItems",
|
|
490
526
|
packageName: PACKAGE_NAME,
|
|
527
|
+
migrationOptions: {
|
|
528
|
+
optInTransformResponse: true
|
|
529
|
+
},
|
|
491
530
|
url: resolveComWixpressExposureMediacollectionsMediaCollectionsServiceUrl(
|
|
492
531
|
{
|
|
493
532
|
protoPath: "/v1/mediacollections/{mediaCollectionId}/items",
|