@wix/pro-gallery 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { HttpClient } from '@wix/sdk-types';
2
- import { CreateGalleryOptions, DeleteGalleryItemIdentifiers, GetGalleryItemIdentifiers, GetGalleryOptions, Item, ListGalleriesOptions, ListGalleryItemsOptions, UpdateGallery, UpdateGalleryItem, UpdateGalleryItemIdentifiers } from './pro-gallery-v2-gallery.universal';
2
+ import { GetGalleryItemIdentifiers, UpdateGallery, Item, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, CreateGalleryOptions, GetGalleryOptions, ListGalleriesOptions, ListGalleryItemsOptions } from './pro-gallery-v2-gallery.universal';
3
3
  export declare function listGalleries(httpClient: HttpClient): (options?: ListGalleriesOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").ListGalleriesResponse>;
4
4
  export declare function getGallery(httpClient: HttpClient): (galleryId: string, options?: GetGalleryOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").Gallery>;
5
5
  export declare function listGalleryItems(httpClient: HttpClient): (galleryId: string, options?: ListGalleryItemsOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").ListGalleryItemsResponse>;
@@ -71,20 +71,20 @@ export interface Item extends ItemMetadataOneOf {
71
71
  updatedDate?: Date;
72
72
  /** Item tags. */
73
73
  tags?: Tags;
74
- /** Information about the image. */
74
+ /** Details about the image. */
75
75
  image?: Image;
76
- /** Information about the video. */
76
+ /** Details about the video. */
77
77
  video?: Video;
78
- /** Information about the text file. */
78
+ /** Details about the text file. */
79
79
  text?: Text;
80
80
  }
81
81
  /** @oneof */
82
82
  export interface ItemMetadataOneOf {
83
- /** Information about the image. */
83
+ /** Details about the image. */
84
84
  image?: Image;
85
- /** Information about the video. */
85
+ /** Details about the video. */
86
86
  video?: Video;
87
- /** Information about the text file. */
87
+ /** Details about the text file. */
88
88
  text?: Text;
89
89
  }
90
90
  export interface Link {
@@ -211,7 +211,7 @@ export declare enum Type {
211
211
  TEXT = "TEXT"
212
212
  }
213
213
  export interface Image {
214
- /** Image info - Wix Media Image. Required. */
214
+ /** Information for a Wix Media image. Required. */
215
215
  imageInfo?: CommonImage;
216
216
  /** Focal point of the image. */
217
217
  focalPoint?: Point;
@@ -275,9 +275,9 @@ export interface UnsharpMasking {
275
275
  }
276
276
  export interface Video {
277
277
  type?: VideoType;
278
- /** Video info - can include Wix Media or an external link from YouTube or Vimeo. Required. */
278
+ /** Information for a Wix Media video or for a video from an external source (YouTube or Vimeo). Required. */
279
279
  videoInfo?: VideoV2;
280
- /** Manually defined Video duration in milliseconds. */
280
+ /** Manually defined video duration in milliseconds. */
281
281
  durationInMillis?: number | null;
282
282
  }
283
283
  export declare enum VideoType {
@@ -289,7 +289,7 @@ export declare enum VideoType {
289
289
  export interface VideoV2 {
290
290
  /** WixMedia ID. Required when associating an existing Wix Media video. */
291
291
  id?: string;
292
- /** Video URL. Required when associating a video from an external source (YouTube/Vimeo). */
292
+ /** Video URL. Required when associating a video from an external source. */
293
293
  url?: string;
294
294
  /** Available resolutions for the video, starting with the optimal resolution. */
295
295
  resolutions?: VideoResolution[];
@@ -305,9 +305,9 @@ export interface VideoResolution {
305
305
  height?: number;
306
306
  /** Video width. Required. */
307
307
  width?: number;
308
- /** Video format for example, mp4, hls. Required. */
308
+ /** Video format. For example, `mp4` or `hls`. Required. */
309
309
  format?: string;
310
- /** Video quality for example 480p, 720p. */
310
+ /** Video quality. For example, `480p` or `720p`. */
311
311
  quality?: string | null;
312
312
  /** Video filename. */
313
313
  filename?: string | null;
@@ -77,20 +77,20 @@ export interface Item extends ItemMetadataOneOf {
77
77
  _updatedDate?: Date;
78
78
  /** Item tags. */
79
79
  tags?: Tags;
80
- /** Information about the image. */
80
+ /** Details about the image. */
81
81
  image?: Image;
82
- /** Information about the video. */
82
+ /** Details about the video. */
83
83
  video?: Video;
84
- /** Information about the text file. */
84
+ /** Details about the text file. */
85
85
  text?: Text;
86
86
  }
87
87
  /** @oneof */
88
88
  export interface ItemMetadataOneOf {
89
- /** Information about the image. */
89
+ /** Details about the image. */
90
90
  image?: Image;
91
- /** Information about the video. */
91
+ /** Details about the video. */
92
92
  video?: Video;
93
- /** Information about the text file. */
93
+ /** Details about the text file. */
94
94
  text?: Text;
95
95
  }
96
96
  export interface Link {
@@ -264,9 +264,9 @@ export interface UnsharpMasking {
264
264
  }
265
265
  export interface Video {
266
266
  type?: VideoType;
267
- /** Video info - can include Wix Media or an external link from YouTube or Vimeo. Required. */
267
+ /** Information for a Wix Media video or for a video from an external source (YouTube or Vimeo). Required. */
268
268
  videoInfo?: string;
269
- /** Manually defined Video duration in milliseconds. */
269
+ /** Manually defined video duration in milliseconds. */
270
270
  durationInMillis?: number | null;
271
271
  }
272
272
  export declare enum VideoType {
@@ -282,9 +282,9 @@ export interface VideoResolution {
282
282
  height?: number;
283
283
  /** Video width. Required. */
284
284
  width?: number;
285
- /** Video format for example, mp4, hls. Required. */
285
+ /** Video format. For example, `mp4` or `hls`. Required. */
286
286
  format?: string;
287
- /** Video quality for example 480p, 720p. */
287
+ /** Video quality. For example, `480p` or `720p`. */
288
288
  quality?: string | null;
289
289
  /** Video filename. */
290
290
  filename?: string | null;
@@ -1078,11 +1078,11 @@ export interface UpdateGalleryItem {
1078
1078
  _updatedDate?: Date;
1079
1079
  /** Item tags. */
1080
1080
  tags?: Tags;
1081
- /** Information about the image. */
1081
+ /** Details about the image. */
1082
1082
  image?: Image;
1083
- /** Information about the video. */
1083
+ /** Details about the video. */
1084
1084
  video?: Video;
1085
- /** Information about the text file. */
1085
+ /** Details about the text file. */
1086
1086
  text?: Text;
1087
1087
  }
1088
1088
  /**
@@ -1,5 +1,5 @@
1
1
  import { HttpClient } from '@wix/sdk-types';
2
- import { CreateGalleryOptions, DeleteGalleryItemIdentifiers, GetGalleryItemIdentifiers, GetGalleryOptions, Item, ListGalleriesOptions, ListGalleryItemsOptions, UpdateGallery, UpdateGalleryItem, UpdateGalleryItemIdentifiers } from './pro-gallery-v2-gallery.universal';
2
+ import { GetGalleryItemIdentifiers, UpdateGallery, Item, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, CreateGalleryOptions, GetGalleryOptions, ListGalleriesOptions, ListGalleryItemsOptions } from './pro-gallery-v2-gallery.universal';
3
3
  export declare function listGalleries(httpClient: HttpClient): (options?: ListGalleriesOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").ListGalleriesResponse>;
4
4
  export declare function getGallery(httpClient: HttpClient): (galleryId: string, options?: GetGalleryOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").Gallery>;
5
5
  export declare function listGalleryItems(httpClient: HttpClient): (galleryId: string, options?: ListGalleryItemsOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").ListGalleryItemsResponse>;
@@ -71,20 +71,20 @@ export interface Item extends ItemMetadataOneOf {
71
71
  updatedDate?: Date;
72
72
  /** Item tags. */
73
73
  tags?: Tags;
74
- /** Information about the image. */
74
+ /** Details about the image. */
75
75
  image?: Image;
76
- /** Information about the video. */
76
+ /** Details about the video. */
77
77
  video?: Video;
78
- /** Information about the text file. */
78
+ /** Details about the text file. */
79
79
  text?: Text;
80
80
  }
81
81
  /** @oneof */
82
82
  export interface ItemMetadataOneOf {
83
- /** Information about the image. */
83
+ /** Details about the image. */
84
84
  image?: Image;
85
- /** Information about the video. */
85
+ /** Details about the video. */
86
86
  video?: Video;
87
- /** Information about the text file. */
87
+ /** Details about the text file. */
88
88
  text?: Text;
89
89
  }
90
90
  export interface Link {
@@ -211,7 +211,7 @@ export declare enum Type {
211
211
  TEXT = "TEXT"
212
212
  }
213
213
  export interface Image {
214
- /** Image info - Wix Media Image. Required. */
214
+ /** Information for a Wix Media image. Required. */
215
215
  imageInfo?: CommonImage;
216
216
  /** Focal point of the image. */
217
217
  focalPoint?: Point;
@@ -275,9 +275,9 @@ export interface UnsharpMasking {
275
275
  }
276
276
  export interface Video {
277
277
  type?: VideoType;
278
- /** Video info - can include Wix Media or an external link from YouTube or Vimeo. Required. */
278
+ /** Information for a Wix Media video or for a video from an external source (YouTube or Vimeo). Required. */
279
279
  videoInfo?: VideoV2;
280
- /** Manually defined Video duration in milliseconds. */
280
+ /** Manually defined video duration in milliseconds. */
281
281
  durationInMillis?: number | null;
282
282
  }
283
283
  export declare enum VideoType {
@@ -289,7 +289,7 @@ export declare enum VideoType {
289
289
  export interface VideoV2 {
290
290
  /** WixMedia ID. Required when associating an existing Wix Media video. */
291
291
  id?: string;
292
- /** Video URL. Required when associating a video from an external source (YouTube/Vimeo). */
292
+ /** Video URL. Required when associating a video from an external source. */
293
293
  url?: string;
294
294
  /** Available resolutions for the video, starting with the optimal resolution. */
295
295
  resolutions?: VideoResolution[];
@@ -305,9 +305,9 @@ export interface VideoResolution {
305
305
  height?: number;
306
306
  /** Video width. Required. */
307
307
  width?: number;
308
- /** Video format for example, mp4, hls. Required. */
308
+ /** Video format. For example, `mp4` or `hls`. Required. */
309
309
  format?: string;
310
- /** Video quality for example 480p, 720p. */
310
+ /** Video quality. For example, `480p` or `720p`. */
311
311
  quality?: string | null;
312
312
  /** Video filename. */
313
313
  filename?: string | null;
@@ -77,20 +77,20 @@ export interface Item extends ItemMetadataOneOf {
77
77
  _updatedDate?: Date;
78
78
  /** Item tags. */
79
79
  tags?: Tags;
80
- /** Information about the image. */
80
+ /** Details about the image. */
81
81
  image?: Image;
82
- /** Information about the video. */
82
+ /** Details about the video. */
83
83
  video?: Video;
84
- /** Information about the text file. */
84
+ /** Details about the text file. */
85
85
  text?: Text;
86
86
  }
87
87
  /** @oneof */
88
88
  export interface ItemMetadataOneOf {
89
- /** Information about the image. */
89
+ /** Details about the image. */
90
90
  image?: Image;
91
- /** Information about the video. */
91
+ /** Details about the video. */
92
92
  video?: Video;
93
- /** Information about the text file. */
93
+ /** Details about the text file. */
94
94
  text?: Text;
95
95
  }
96
96
  export interface Link {
@@ -264,9 +264,9 @@ export interface UnsharpMasking {
264
264
  }
265
265
  export interface Video {
266
266
  type?: VideoType;
267
- /** Video info - can include Wix Media or an external link from YouTube or Vimeo. Required. */
267
+ /** Information for a Wix Media video or for a video from an external source (YouTube or Vimeo). Required. */
268
268
  videoInfo?: string;
269
- /** Manually defined Video duration in milliseconds. */
269
+ /** Manually defined video duration in milliseconds. */
270
270
  durationInMillis?: number | null;
271
271
  }
272
272
  export declare enum VideoType {
@@ -282,9 +282,9 @@ export interface VideoResolution {
282
282
  height?: number;
283
283
  /** Video width. Required. */
284
284
  width?: number;
285
- /** Video format for example, mp4, hls. Required. */
285
+ /** Video format. For example, `mp4` or `hls`. Required. */
286
286
  format?: string;
287
- /** Video quality for example 480p, 720p. */
287
+ /** Video quality. For example, `480p` or `720p`. */
288
288
  quality?: string | null;
289
289
  /** Video filename. */
290
290
  filename?: string | null;
@@ -1078,11 +1078,11 @@ export interface UpdateGalleryItem {
1078
1078
  _updatedDate?: Date;
1079
1079
  /** Item tags. */
1080
1080
  tags?: Tags;
1081
- /** Information about the image. */
1081
+ /** Details about the image. */
1082
1082
  image?: Image;
1083
- /** Information about the video. */
1083
+ /** Details about the video. */
1084
1084
  video?: Video;
1085
- /** Information about the text file. */
1085
+ /** Details about the text file. */
1086
1086
  text?: Text;
1087
1087
  }
1088
1088
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/pro-gallery",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -33,5 +33,5 @@
33
33
  "groupId": "com.wixpress.public-sdk-autogen"
34
34
  }
35
35
  },
36
- "falconPackageHash": "2a75a24d94c11d897dcc84fa1c4dd26767c3b3fe6000ff042539d2dd"
36
+ "falconPackageHash": "7e24826021ab4ebaad6ffc513b4bb0311df187e5732bba591fbec10f"
37
37
  }