@wix/pro-gallery 1.0.34 → 1.0.35

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.
Files changed (57) hide show
  1. package/build/cjs/context.d.ts +1 -1
  2. package/build/cjs/context.js +1 -1
  3. package/build/cjs/index.d.ts +1 -1
  4. package/build/cjs/index.js +1 -1
  5. package/build/cjs/index.js.map +1 -1
  6. package/build/cjs/meta.d.ts +1 -1
  7. package/build/cjs/meta.js +1 -1
  8. package/build/es/context.d.ts +1 -1
  9. package/build/es/context.js +1 -1
  10. package/build/es/index.d.ts +1 -1
  11. package/build/es/index.js +1 -1
  12. package/build/es/index.js.map +1 -1
  13. package/build/es/meta.d.ts +1 -1
  14. package/build/es/meta.js +1 -1
  15. package/package.json +11 -9
  16. package/build/cjs/index.typings.d.ts +0 -1
  17. package/build/cjs/index.typings.js +0 -28
  18. package/build/cjs/index.typings.js.map +0 -1
  19. package/build/cjs/src/pro-gallery-v2-gallery.context.d.ts +0 -12
  20. package/build/cjs/src/pro-gallery-v2-gallery.context.js +0 -115
  21. package/build/cjs/src/pro-gallery-v2-gallery.context.js.map +0 -1
  22. package/build/cjs/src/pro-gallery-v2-gallery.http.d.ts +0 -130
  23. package/build/cjs/src/pro-gallery-v2-gallery.http.js +0 -823
  24. package/build/cjs/src/pro-gallery-v2-gallery.http.js.map +0 -1
  25. package/build/cjs/src/pro-gallery-v2-gallery.meta.d.ts +0 -41
  26. package/build/cjs/src/pro-gallery-v2-gallery.meta.js +0 -218
  27. package/build/cjs/src/pro-gallery-v2-gallery.meta.js.map +0 -1
  28. package/build/cjs/src/pro-gallery-v2-gallery.public.d.ts +0 -120
  29. package/build/cjs/src/pro-gallery-v2-gallery.public.js +0 -82
  30. package/build/cjs/src/pro-gallery-v2-gallery.public.js.map +0 -1
  31. package/build/cjs/src/pro-gallery-v2-gallery.types.d.ts +0 -1768
  32. package/build/cjs/src/pro-gallery-v2-gallery.types.js +0 -82
  33. package/build/cjs/src/pro-gallery-v2-gallery.types.js.map +0 -1
  34. package/build/cjs/src/pro-gallery-v2-gallery.universal.d.ts +0 -1398
  35. package/build/cjs/src/pro-gallery-v2-gallery.universal.js +0 -887
  36. package/build/cjs/src/pro-gallery-v2-gallery.universal.js.map +0 -1
  37. package/build/es/index.typings.d.ts +0 -1
  38. package/build/es/index.typings.js +0 -2
  39. package/build/es/index.typings.js.map +0 -1
  40. package/build/es/src/pro-gallery-v2-gallery.context.d.ts +0 -12
  41. package/build/es/src/pro-gallery-v2-gallery.context.js +0 -102
  42. package/build/es/src/pro-gallery-v2-gallery.context.js.map +0 -1
  43. package/build/es/src/pro-gallery-v2-gallery.http.d.ts +0 -130
  44. package/build/es/src/pro-gallery-v2-gallery.http.js +0 -810
  45. package/build/es/src/pro-gallery-v2-gallery.http.js.map +0 -1
  46. package/build/es/src/pro-gallery-v2-gallery.meta.d.ts +0 -41
  47. package/build/es/src/pro-gallery-v2-gallery.meta.js +0 -182
  48. package/build/es/src/pro-gallery-v2-gallery.meta.js.map +0 -1
  49. package/build/es/src/pro-gallery-v2-gallery.public.d.ts +0 -120
  50. package/build/es/src/pro-gallery-v2-gallery.public.js +0 -55
  51. package/build/es/src/pro-gallery-v2-gallery.public.js.map +0 -1
  52. package/build/es/src/pro-gallery-v2-gallery.types.d.ts +0 -1768
  53. package/build/es/src/pro-gallery-v2-gallery.types.js +0 -79
  54. package/build/es/src/pro-gallery-v2-gallery.types.js.map +0 -1
  55. package/build/es/src/pro-gallery-v2-gallery.universal.d.ts +0 -1398
  56. package/build/es/src/pro-gallery-v2-gallery.universal.js +0 -851
  57. package/build/es/src/pro-gallery-v2-gallery.universal.js.map +0 -1
@@ -1 +1 @@
1
- export * as proGallery from './src/pro-gallery-v2-gallery.context';
1
+ export * as proGallery from '@wix/pro-gallery_pro-gallery/context';
@@ -24,5 +24,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.proGallery = void 0;
27
- exports.proGallery = __importStar(require("./src/pro-gallery-v2-gallery.context"));
27
+ exports.proGallery = __importStar(require("@wix/pro-gallery_pro-gallery/context"));
28
28
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- export * as proGallery from './src/pro-gallery-v2-gallery.public';
1
+ export * as proGallery from '@wix/pro-gallery_pro-gallery';
@@ -24,5 +24,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.proGallery = void 0;
27
- exports.proGallery = __importStar(require("./src/pro-gallery-v2-gallery.public"));
27
+ exports.proGallery = __importStar(require("@wix/pro-gallery_pro-gallery"));
28
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kFAAkE"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2EAA2D"}
@@ -1 +1 @@
1
- export * as proGallery from './src/pro-gallery-v2-gallery.meta';
1
+ export * as proGallery from '@wix/pro-gallery_pro-gallery/meta';
package/build/cjs/meta.js CHANGED
@@ -24,5 +24,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.proGallery = void 0;
27
- exports.proGallery = __importStar(require("./src/pro-gallery-v2-gallery.meta"));
27
+ exports.proGallery = __importStar(require("@wix/pro-gallery_pro-gallery/meta"));
28
28
  //# sourceMappingURL=meta.js.map
@@ -1 +1 @@
1
- export * as proGallery from './src/pro-gallery-v2-gallery.context';
1
+ export * as proGallery from '@wix/pro-gallery_pro-gallery/context';
@@ -1,2 +1,2 @@
1
- export * as proGallery from './src/pro-gallery-v2-gallery.context';
1
+ export * as proGallery from '@wix/pro-gallery_pro-gallery/context';
2
2
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- export * as proGallery from './src/pro-gallery-v2-gallery.public';
1
+ export * as proGallery from '@wix/pro-gallery_pro-gallery';
package/build/es/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export * as proGallery from './src/pro-gallery-v2-gallery.public';
1
+ export * as proGallery from '@wix/pro-gallery_pro-gallery';
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC"}
@@ -1 +1 @@
1
- export * as proGallery from './src/pro-gallery-v2-gallery.meta';
1
+ export * as proGallery from '@wix/pro-gallery_pro-gallery/meta';
package/build/es/meta.js CHANGED
@@ -1,2 +1,2 @@
1
- export * as proGallery from './src/pro-gallery-v2-gallery.meta';
1
+ export * as proGallery from '@wix/pro-gallery_pro-gallery/meta';
2
2
  //# sourceMappingURL=meta.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/pro-gallery",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -16,14 +16,11 @@
16
16
  "context"
17
17
  ],
18
18
  "dependencies": {
19
- "@wix/metro-runtime": "^1.1528.0",
20
- "@wix/sdk-types": "^1.5.9",
21
- "@wix/sdk-runtime": "^0.2.7",
22
- "@wix/motion-edm-autogen-query-wrapper": "^1.0.37"
19
+ "@wix/pro-gallery_pro-gallery": "1.0.6"
23
20
  },
24
21
  "devDependencies": {
25
- "typescript": "^5.3.2",
26
- "@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz"
22
+ "@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
23
+ "typescript": "^5.3.2"
27
24
  },
28
25
  "scripts": {
29
26
  "build": "tsc -b tsconfig.json tsconfig.esm.json",
@@ -31,9 +28,14 @@
31
28
  },
32
29
  "wix": {
33
30
  "artifact": {
31
+ "groupId": "com.wixpress.public-sdk-autogen",
34
32
  "artifactId": "pro-gallery-public-sdk-autogen",
35
- "groupId": "com.wixpress.public-sdk-autogen"
33
+ "isRootPublicSdk": true
34
+ },
35
+ "sdkDependency": {
36
+ "fqdnNamespace": "",
37
+ "fqdn": ""
36
38
  }
37
39
  },
38
- "falconPackageHash": "68b0e3634d4bc78f7eb9837430eee2b9a83da113e77b80785a53ebb6"
40
+ "falconPackageHash": "6e9e419d201429fc73385678819396570232aca925fc5e2ad6485437"
39
41
  }
@@ -1 +0,0 @@
1
- export * as proGallery from './src/pro-gallery-v2-gallery.universal';
@@ -1,28 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.proGallery = void 0;
27
- exports.proGallery = __importStar(require("./src/pro-gallery-v2-gallery.universal"));
28
- //# sourceMappingURL=index.typings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qFAAqE"}
@@ -1,12 +0,0 @@
1
- import { listGalleries as publicListGalleries, getGallery as publicGetGallery, listGalleryItems as publicListGalleryItems, getGalleryItem as publicGetGalleryItem, createGallery as publicCreateGallery, updateGallery as publicUpdateGallery, deleteGallery as publicDeleteGallery, createGalleryItem as publicCreateGalleryItem, updateGalleryItem as publicUpdateGalleryItem, deleteGalleryItem as publicDeleteGalleryItem } from './pro-gallery-v2-gallery.public';
2
- import { BuildRESTFunction } from '@wix/sdk-types';
3
- export declare const listGalleries: BuildRESTFunction<typeof publicListGalleries>;
4
- export declare const getGallery: BuildRESTFunction<typeof publicGetGallery>;
5
- export declare const listGalleryItems: BuildRESTFunction<typeof publicListGalleryItems>;
6
- export declare const getGalleryItem: BuildRESTFunction<typeof publicGetGalleryItem>;
7
- export declare const createGallery: BuildRESTFunction<typeof publicCreateGallery>;
8
- export declare const updateGallery: BuildRESTFunction<typeof publicUpdateGallery>;
9
- export declare const deleteGallery: BuildRESTFunction<typeof publicDeleteGallery>;
10
- export declare const createGalleryItem: BuildRESTFunction<typeof publicCreateGalleryItem>;
11
- export declare const updateGalleryItem: BuildRESTFunction<typeof publicUpdateGalleryItem>;
12
- export declare const deleteGalleryItem: BuildRESTFunction<typeof publicDeleteGalleryItem>;
@@ -1,115 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deleteGalleryItem = exports.updateGalleryItem = exports.createGalleryItem = exports.deleteGallery = exports.updateGallery = exports.createGallery = exports.getGalleryItem = exports.listGalleryItems = exports.getGallery = exports.listGalleries = void 0;
4
- const pro_gallery_v2_gallery_public_1 = require("./pro-gallery-v2-gallery.public");
5
- const listGalleries = (...args) => {
6
- // @ts-expect-error
7
- if (!globalThis.__wix_context__) {
8
- throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
9
- }
10
- // @ts-expect-error
11
- return globalThis.__wix_context__
12
- .initWixModules(pro_gallery_v2_gallery_public_1.listGalleries)
13
- .apply(undefined, args);
14
- };
15
- exports.listGalleries = listGalleries;
16
- const getGallery = (...args) => {
17
- // @ts-expect-error
18
- if (!globalThis.__wix_context__) {
19
- throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
20
- }
21
- // @ts-expect-error
22
- return globalThis.__wix_context__
23
- .initWixModules(pro_gallery_v2_gallery_public_1.getGallery)
24
- .apply(undefined, args);
25
- };
26
- exports.getGallery = getGallery;
27
- const listGalleryItems = (...args) => {
28
- // @ts-expect-error
29
- if (!globalThis.__wix_context__) {
30
- throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
31
- }
32
- // @ts-expect-error
33
- return globalThis.__wix_context__
34
- .initWixModules(pro_gallery_v2_gallery_public_1.listGalleryItems)
35
- .apply(undefined, args);
36
- };
37
- exports.listGalleryItems = listGalleryItems;
38
- const getGalleryItem = (...args) => {
39
- // @ts-expect-error
40
- if (!globalThis.__wix_context__) {
41
- throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
42
- }
43
- // @ts-expect-error
44
- return globalThis.__wix_context__
45
- .initWixModules(pro_gallery_v2_gallery_public_1.getGalleryItem)
46
- .apply(undefined, args);
47
- };
48
- exports.getGalleryItem = getGalleryItem;
49
- const createGallery = (...args) => {
50
- // @ts-expect-error
51
- if (!globalThis.__wix_context__) {
52
- throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
53
- }
54
- // @ts-expect-error
55
- return globalThis.__wix_context__
56
- .initWixModules(pro_gallery_v2_gallery_public_1.createGallery)
57
- .apply(undefined, args);
58
- };
59
- exports.createGallery = createGallery;
60
- const updateGallery = (...args) => {
61
- // @ts-expect-error
62
- if (!globalThis.__wix_context__) {
63
- throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
64
- }
65
- // @ts-expect-error
66
- return globalThis.__wix_context__
67
- .initWixModules(pro_gallery_v2_gallery_public_1.updateGallery)
68
- .apply(undefined, args);
69
- };
70
- exports.updateGallery = updateGallery;
71
- const deleteGallery = (...args) => {
72
- // @ts-expect-error
73
- if (!globalThis.__wix_context__) {
74
- throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
75
- }
76
- // @ts-expect-error
77
- return globalThis.__wix_context__
78
- .initWixModules(pro_gallery_v2_gallery_public_1.deleteGallery)
79
- .apply(undefined, args);
80
- };
81
- exports.deleteGallery = deleteGallery;
82
- const createGalleryItem = (...args) => {
83
- // @ts-expect-error
84
- if (!globalThis.__wix_context__) {
85
- throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
86
- }
87
- // @ts-expect-error
88
- return globalThis.__wix_context__
89
- .initWixModules(pro_gallery_v2_gallery_public_1.createGalleryItem)
90
- .apply(undefined, args);
91
- };
92
- exports.createGalleryItem = createGalleryItem;
93
- const updateGalleryItem = (...args) => {
94
- // @ts-expect-error
95
- if (!globalThis.__wix_context__) {
96
- throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
97
- }
98
- // @ts-expect-error
99
- return globalThis.__wix_context__
100
- .initWixModules(pro_gallery_v2_gallery_public_1.updateGalleryItem)
101
- .apply(undefined, args);
102
- };
103
- exports.updateGalleryItem = updateGalleryItem;
104
- const deleteGalleryItem = (...args) => {
105
- // @ts-expect-error
106
- if (!globalThis.__wix_context__) {
107
- throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
108
- }
109
- // @ts-expect-error
110
- return globalThis.__wix_context__
111
- .initWixModules(pro_gallery_v2_gallery_public_1.deleteGalleryItem)
112
- .apply(undefined, args);
113
- };
114
- exports.deleteGalleryItem = deleteGalleryItem;
115
- //# sourceMappingURL=pro-gallery-v2-gallery.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pro-gallery-v2-gallery.context.js","sourceRoot":"","sources":["../../../src/pro-gallery-v2-gallery.context.ts"],"names":[],"mappings":";;;AAAA,mFAWyC;AAGlC,MAAM,aAAa,GAAkD,CAC1E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,6CAAmB,CAAC;SACnC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,aAAa,iBAaxB;AACK,MAAM,UAAU,GAA+C,CACpE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,0CAAgB,CAAC;SAChC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,UAAU,cAarB;AACK,MAAM,gBAAgB,GAEzB,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,gDAAsB,CAAC;SACtC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAA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QAAA,iBAAiB,qBAa5B"}
@@ -1,130 +0,0 @@
1
- import { RequestOptionsFactory } from '@wix/sdk-types';
2
- import { CreateGalleryItemRequest, CreateGalleryItemResponse, CreateGalleryRequest, CreateGalleryResponse, DeleteGalleryItemRequest, DeleteGalleryItemResponse, DeleteGalleryRequest, DeleteGalleryResponse, GetGalleryItemRequest, GetGalleryItemResponse, GetGalleryRequest, GetGalleryResponse, ListGalleriesRequest, ListGalleriesResponse, ListGalleryItemsRequest, ListGalleryItemsResponse, UpdateGalleryItemRequest, UpdateGalleryItemResponse, UpdateGalleryRequest, UpdateGalleryResponse, ListGalleriesResponseNonNullableFields, GetGalleryResponseNonNullableFields, ListGalleryItemsResponseNonNullableFields, GetGalleryItemResponseNonNullableFields, CreateGalleryResponseNonNullableFields, UpdateGalleryResponseNonNullableFields, DeleteGalleryResponseNonNullableFields, CreateGalleryItemResponseNonNullableFields, UpdateGalleryItemResponseNonNullableFields, DeleteGalleryItemResponseNonNullableFields } from './pro-gallery-v2-gallery.types';
3
- /**
4
- * Retrieves a list of galleries.
5
- *
6
- * The `listGalleries()` function returns a Promise that resolves to a list of up to 10 galleries at a given time. To list the next 10 galleries in your site's backend, use the `offset` parameter.
7
- */
8
- export declare function listGalleries(payload: ListGalleriesRequest): RequestOptionsFactory<ListGalleriesResponse & ListGalleriesResponseNonNullableFields>;
9
- /**
10
- * Gets a gallery by ID.
11
- *
12
- * The `getGallery()` function returns a Promise that resolves to a gallery whose ID matches the given ID.
13
- */
14
- export declare function getGallery(payload: GetGalleryRequest): RequestOptionsFactory<GetGalleryResponse & GetGalleryResponseNonNullableFields>;
15
- /**
16
- * Retrieves a list of media items in a specified gallery.
17
- *
18
- * The `listGalleryItems()` function returns a Promise that resolves to a list of up to 100 gallery items. The gallery items are listed by `sortOrder` in descending order.
19
- */
20
- export declare function listGalleryItems(payload: ListGalleryItemsRequest): RequestOptionsFactory<ListGalleryItemsResponse & ListGalleryItemsResponseNonNullableFields>;
21
- /**
22
- * Gets a gallery item by ID.
23
- *
24
- * The `getGalleryItem()` function returns a Promise that resolves to a media item in a specified gallery whose ID matches the given ID.
25
- */
26
- export declare function getGalleryItem(payload: GetGalleryItemRequest): RequestOptionsFactory<GetGalleryItemResponse & GetGalleryItemResponseNonNullableFields>;
27
- /**
28
- * Creates a gallery.
29
- *
30
- * The `createGallery()` function returns a Promise that resolves to a newly-created gallery after it has successfully been created.
31
- *
32
- * You can create your own gallery by providing the gallery information, or clone an existing gallery using the ID of that existing gallery. When a gallery is cloned, the newly-created gallery includes the same properties as the existing gallery except for the gallery and item IDs, sort order, and created and updated dates.
33
- *
34
- * The newly-created gallery is only available on your backend, and doesn't appear on your live site. To display your backend gallery on your live site, you need to connect it to a gallery component on your live site. To do this, import the `createGallery()` function to your page code, and write code to convert the backend gallery object to the frontend gallery component object. Once converted, the newly created backend gallery is visible on your live site. For reference, check out the code example, "Create a gallery and display it on your live site". To learn more, see [Displaying a Pro Gallery on Your Site Using the Pro Gallery Backend API](https://support.wix.com/en/article/velo-tutorial-displaying-a-pro-gallery-on-your-site-using-the-pro-gallery-backend-api).
35
- *
36
- * <blockquote class="important">
37
- *
38
- * __Important:__
39
- * When creating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
40
- *
41
- * </blockquote>
42
- *
43
- * #### Override permissions
44
- * This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
45
- * <blockquote class='warning'>
46
- * <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
47
- * </blockquote>
48
- */
49
- export declare function createGallery(payload: CreateGalleryRequest): RequestOptionsFactory<CreateGalleryResponse & CreateGalleryResponseNonNullableFields>;
50
- /**
51
- * Updates a gallery.
52
- *
53
- * The `updateGallery()` function returns a Promise that resolves to an updated gallery. Only the fields in the `gallery` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
54
- *
55
- * <blockquote class="important">
56
- *
57
- * __Important:__
58
- * When updating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
59
- *
60
- * </blockquote>
61
- *
62
- * #### Override permissions
63
- * This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
64
- * <blockquote class='warning'>
65
- * <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
66
- * </blockquote>
67
- */
68
- export declare function updateGallery(payload: UpdateGalleryRequest): RequestOptionsFactory<UpdateGalleryResponse & UpdateGalleryResponseNonNullableFields>;
69
- /**
70
- * Deletes a gallery.
71
- *
72
- * The `deleteGallery()` function returns a Promise that resolves to the ID of the deleted gallery. When a gallery is deleted, the deleted gallery is no longer returned when calling the [`listGalleries()`](#listgalleries) function.
73
- *
74
- * #### Override permissions
75
- * This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
76
- * <blockquote class='warning'>
77
- * <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
78
- * </blockquote>
79
- */
80
- export declare function deleteGallery(payload: DeleteGalleryRequest): RequestOptionsFactory<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
81
- /**
82
- * Creates a media item in a specified gallery.
83
- *
84
- * The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
85
- *
86
- * <blockquote class="important">
87
- *
88
- * __Important:__
89
- * When creating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
90
- *
91
- * </blockquote>
92
- *
93
- * #### Override permissions
94
- * This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
95
- * <blockquote class='warning'>
96
- * <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
97
- * </blockquote>
98
- */
99
- export declare function createGalleryItem(payload: CreateGalleryItemRequest): RequestOptionsFactory<CreateGalleryItemResponse & CreateGalleryItemResponseNonNullableFields>;
100
- /**
101
- * Updates a media item in a specified gallery.
102
- *
103
- * The `updateGalleryItem()` function returns a Promise that resolves to an updated gallery item. Only the fields in the `item` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
104
- *
105
- * <blockquote class="important">
106
- *
107
- * __Important:__
108
- * When updating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
109
- *
110
- * </blockquote>
111
- *
112
- * #### Override permissions
113
- * This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
114
- * <blockquote class='warning'>
115
- * <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
116
- * </blockquote>
117
- */
118
- export declare function updateGalleryItem(payload: UpdateGalleryItemRequest): RequestOptionsFactory<UpdateGalleryItemResponse & UpdateGalleryItemResponseNonNullableFields>;
119
- /**
120
- * Deletes a media item from a gallery.
121
- *
122
- * The `deleteGalleryItem()` function returns a Promise that resolves to the ID of the deleted gallery item. When a gallery item is deleted, the deleted gallery item is no longer returned when calling the [`listGalleryItems()`](#listgalleryitems) function.
123
- *
124
- * #### Override permissions
125
- * This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
126
- * <blockquote class='warning'>
127
- * <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
128
- * </blockquote>
129
- */
130
- export declare function deleteGalleryItem(payload: DeleteGalleryItemRequest): RequestOptionsFactory<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;