@wix/portfolio 1.0.0

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 (79) hide show
  1. package/build/cjs/index.d.ts +3 -0
  2. package/build/cjs/index.js +26 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/src/portfolio-collections-v1-collection.http.d.ts +17 -0
  5. package/build/cjs/src/portfolio-collections-v1-collection.http.js +319 -0
  6. package/build/cjs/src/portfolio-collections-v1-collection.http.js.map +1 -0
  7. package/build/cjs/src/portfolio-collections-v1-collection.public.d.ts +10 -0
  8. package/build/cjs/src/portfolio-collections-v1-collection.public.js +45 -0
  9. package/build/cjs/src/portfolio-collections-v1-collection.public.js.map +1 -0
  10. package/build/cjs/src/portfolio-collections-v1-collection.types.d.ts +384 -0
  11. package/build/cjs/src/portfolio-collections-v1-collection.types.js +21 -0
  12. package/build/cjs/src/portfolio-collections-v1-collection.types.js.map +1 -0
  13. package/build/cjs/src/portfolio-collections-v1-collection.universal.d.ts +449 -0
  14. package/build/cjs/src/portfolio-collections-v1-collection.universal.js +385 -0
  15. package/build/cjs/src/portfolio-collections-v1-collection.universal.js.map +1 -0
  16. package/build/cjs/src/portfolio-project-items-v1-project-item.http.d.ts +18 -0
  17. package/build/cjs/src/portfolio-project-items-v1-project-item.http.js +382 -0
  18. package/build/cjs/src/portfolio-project-items-v1-project-item.http.js.map +1 -0
  19. package/build/cjs/src/portfolio-project-items-v1-project-item.public.d.ts +12 -0
  20. package/build/cjs/src/portfolio-project-items-v1-project-item.public.js +58 -0
  21. package/build/cjs/src/portfolio-project-items-v1-project-item.public.js.map +1 -0
  22. package/build/cjs/src/portfolio-project-items-v1-project-item.types.d.ts +549 -0
  23. package/build/cjs/src/portfolio-project-items-v1-project-item.types.js +28 -0
  24. package/build/cjs/src/portfolio-project-items-v1-project-item.types.js.map +1 -0
  25. package/build/cjs/src/portfolio-project-items-v1-project-item.universal.d.ts +685 -0
  26. package/build/cjs/src/portfolio-project-items-v1-project-item.universal.js +495 -0
  27. package/build/cjs/src/portfolio-project-items-v1-project-item.universal.js.map +1 -0
  28. package/build/cjs/src/portfolio-projects-v1-project.http.d.ts +29 -0
  29. package/build/cjs/src/portfolio-projects-v1-project.http.js +428 -0
  30. package/build/cjs/src/portfolio-projects-v1-project.http.js.map +1 -0
  31. package/build/cjs/src/portfolio-projects-v1-project.public.d.ts +12 -0
  32. package/build/cjs/src/portfolio-projects-v1-project.public.js +63 -0
  33. package/build/cjs/src/portfolio-projects-v1-project.public.js.map +1 -0
  34. package/build/cjs/src/portfolio-projects-v1-project.types.d.ts +755 -0
  35. package/build/cjs/src/portfolio-projects-v1-project.types.js +113 -0
  36. package/build/cjs/src/portfolio-projects-v1-project.types.js.map +1 -0
  37. package/build/cjs/src/portfolio-projects-v1-project.universal.d.ts +892 -0
  38. package/build/cjs/src/portfolio-projects-v1-project.universal.js +595 -0
  39. package/build/cjs/src/portfolio-projects-v1-project.universal.js.map +1 -0
  40. package/build/es/index.d.ts +3 -0
  41. package/build/es/index.js +4 -0
  42. package/build/es/index.js.map +1 -0
  43. package/build/es/src/portfolio-collections-v1-collection.http.d.ts +17 -0
  44. package/build/es/src/portfolio-collections-v1-collection.http.js +310 -0
  45. package/build/es/src/portfolio-collections-v1-collection.http.js.map +1 -0
  46. package/build/es/src/portfolio-collections-v1-collection.public.d.ts +10 -0
  47. package/build/es/src/portfolio-collections-v1-collection.public.js +33 -0
  48. package/build/es/src/portfolio-collections-v1-collection.public.js.map +1 -0
  49. package/build/es/src/portfolio-collections-v1-collection.types.d.ts +384 -0
  50. package/build/es/src/portfolio-collections-v1-collection.types.js +18 -0
  51. package/build/es/src/portfolio-collections-v1-collection.types.js.map +1 -0
  52. package/build/es/src/portfolio-collections-v1-collection.universal.d.ts +449 -0
  53. package/build/es/src/portfolio-collections-v1-collection.universal.js +357 -0
  54. package/build/es/src/portfolio-collections-v1-collection.universal.js.map +1 -0
  55. package/build/es/src/portfolio-project-items-v1-project-item.http.d.ts +18 -0
  56. package/build/es/src/portfolio-project-items-v1-project-item.http.js +371 -0
  57. package/build/es/src/portfolio-project-items-v1-project-item.http.js.map +1 -0
  58. package/build/es/src/portfolio-project-items-v1-project-item.public.d.ts +12 -0
  59. package/build/es/src/portfolio-project-items-v1-project-item.public.js +43 -0
  60. package/build/es/src/portfolio-project-items-v1-project-item.public.js.map +1 -0
  61. package/build/es/src/portfolio-project-items-v1-project-item.types.d.ts +549 -0
  62. package/build/es/src/portfolio-project-items-v1-project-item.types.js +25 -0
  63. package/build/es/src/portfolio-project-items-v1-project-item.types.js.map +1 -0
  64. package/build/es/src/portfolio-project-items-v1-project-item.universal.d.ts +685 -0
  65. package/build/es/src/portfolio-project-items-v1-project-item.universal.js +465 -0
  66. package/build/es/src/portfolio-project-items-v1-project-item.universal.js.map +1 -0
  67. package/build/es/src/portfolio-projects-v1-project.http.d.ts +29 -0
  68. package/build/es/src/portfolio-projects-v1-project.http.js +417 -0
  69. package/build/es/src/portfolio-projects-v1-project.http.js.map +1 -0
  70. package/build/es/src/portfolio-projects-v1-project.public.d.ts +12 -0
  71. package/build/es/src/portfolio-projects-v1-project.public.js +43 -0
  72. package/build/es/src/portfolio-projects-v1-project.public.js.map +1 -0
  73. package/build/es/src/portfolio-projects-v1-project.types.d.ts +755 -0
  74. package/build/es/src/portfolio-projects-v1-project.types.js +110 -0
  75. package/build/es/src/portfolio-projects-v1-project.types.js.map +1 -0
  76. package/build/es/src/portfolio-projects-v1-project.universal.d.ts +892 -0
  77. package/build/es/src/portfolio-projects-v1-project.universal.js +565 -0
  78. package/build/es/src/portfolio-projects-v1-project.universal.js.map +1 -0
  79. package/package.json +37 -0
@@ -0,0 +1,449 @@
1
+ export declare const __debug: {
2
+ verboseLogging: {
3
+ on: () => boolean;
4
+ off: () => boolean;
5
+ };
6
+ };
7
+ /** Collection is the main entity of CollectionsService */
8
+ export interface Collection {
9
+ /**
10
+ * Collection ID
11
+ * @readonly
12
+ */
13
+ _id?: string | null;
14
+ /** Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision */
15
+ revision?: string | null;
16
+ title?: string | null;
17
+ description?: string | null;
18
+ /** Url of Collection // TODO: ask Idan */
19
+ slug?: string | null;
20
+ /** Collection's cover photo */
21
+ coverImage?: Image;
22
+ /** Indicates if the collection is hidden from Portfolio */
23
+ hidden?: boolean | null;
24
+ /** if not present in an update it means the collection will be added as currentTimestamp - as the last collection */
25
+ sortOrder?: number | null;
26
+ /**
27
+ * Represents the time this Collection was created
28
+ * @readonly
29
+ */
30
+ _createdDate?: Date;
31
+ /**
32
+ * Represents the time this Collection was last updated
33
+ * @readonly
34
+ */
35
+ _updatedDate?: Date;
36
+ /**
37
+ * Url and relative url of Collection - in order to receive this field in READ requests you will need to pass the `include_page_url` field as part of request
38
+ * @readonly
39
+ */
40
+ url?: string;
41
+ seoData?: SeoSchema;
42
+ }
43
+ export interface Image {
44
+ /** Image info - Wix Media Image. Required. */
45
+ imageInfo?: string;
46
+ /** Focal point of the image. */
47
+ focalPoint?: Point;
48
+ /** Set of key-value pairs describing the media in [Exchangeable Image File format](https://en.wikipedia.org/wiki/Exif). */
49
+ exif?: Record<string, any> | null;
50
+ /**
51
+ * Image compression level. <br />
52
+ *
53
+ * Min: `30` <br />
54
+ * Max: `100`
55
+ */
56
+ quality?: number | null;
57
+ /** [Unsharp masking](https://en.wikipedia.org/wiki/Unsharp_masking) values of the image. */
58
+ unsharpMasking?: UnsharpMasking;
59
+ }
60
+ export declare enum ImageType {
61
+ UNDEFINED = "UNDEFINED",
62
+ WIX_MEDIA = "WIX_MEDIA",
63
+ EXTERNAL = "EXTERNAL"
64
+ }
65
+ export interface Point {
66
+ /** X-coordinate of the focal point. */
67
+ x?: number;
68
+ /** Y-coordinate of the focal point. */
69
+ y?: number;
70
+ }
71
+ export interface UnsharpMasking {
72
+ /**
73
+ * Unsharp masking amount. Controls the sharpening strength. <br />
74
+ *
75
+ * Min: `0` <br />
76
+ * Max: `5`
77
+ */
78
+ amount?: number | null;
79
+ /** Unsharp masking radius in pixels. Controls the sharpening width. */
80
+ radius?: number | null;
81
+ /**
82
+ * Unsharp masking threshold. Controls how different neighboring pixels must be for shapening to apply. <br />
83
+ *
84
+ * Min: `0` <br />
85
+ * Max: `1`
86
+ */
87
+ threshold?: number | null;
88
+ }
89
+ /**
90
+ * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
91
+ * The search engines use this information for ranking purposes, or to display snippets in the search results.
92
+ * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
93
+ */
94
+ export interface SeoSchema {
95
+ /** SEO tags information. */
96
+ tags?: Tag[];
97
+ /** SEO general settings. */
98
+ settings?: Settings;
99
+ }
100
+ export interface Tag {
101
+ /** SEO tag type. Supported values: `title`, `meta`, `script`, `link`. */
102
+ type?: string;
103
+ /** SEO tag attributes/properties (name, content, rel, href). */
104
+ props?: Record<string, any> | null;
105
+ /** Tag meta data, e.g. {height: 300, width: 240}. */
106
+ meta?: Record<string, any> | null;
107
+ /** Tag inner content e.g. `<title> inner content </title>`. */
108
+ children?: string;
109
+ /** Whether the tag is a custom tag. */
110
+ custom?: boolean;
111
+ /** Whether the tag is disabled. */
112
+ disabled?: boolean;
113
+ }
114
+ export interface Settings {
115
+ /** disable auto creation of 301 redirects on slug changes (enabled by default). */
116
+ preventAutoRedirect?: boolean;
117
+ }
118
+ export interface CommonImage {
119
+ /** Image info - Wix Media Image. Required. */
120
+ imageInfo?: string;
121
+ /** Focal point of the image. */
122
+ focalPoint?: CommonPoint;
123
+ /** Set of key-value pairs describing the media in [Exchangeable Image File format](https://en.wikipedia.org/wiki/Exif). */
124
+ exif?: Record<string, any> | null;
125
+ /**
126
+ * Image compression level. <br />
127
+ *
128
+ * Min: `30` <br />
129
+ * Max: `100`
130
+ */
131
+ quality?: number | null;
132
+ /** [Unsharp masking](https://en.wikipedia.org/wiki/Unsharp_masking) values of the image. */
133
+ unsharpMasking?: CommonUnsharpMasking;
134
+ }
135
+ export declare enum ImageImageType {
136
+ UNDEFINED = "UNDEFINED",
137
+ WIX_MEDIA = "WIX_MEDIA",
138
+ EXTERNAL = "EXTERNAL"
139
+ }
140
+ export interface CommonPoint {
141
+ /** X-coordinate of the focal point. */
142
+ x?: number;
143
+ /** Y-coordinate of the focal point. */
144
+ y?: number;
145
+ }
146
+ export interface CommonUnsharpMasking {
147
+ /**
148
+ * Unsharp masking amount. Controls the sharpening strength. <br />
149
+ *
150
+ * Min: `0` <br />
151
+ * Max: `5`
152
+ */
153
+ amount?: number | null;
154
+ /** Unsharp masking radius in pixels. Controls the sharpening width. */
155
+ radius?: number | null;
156
+ /**
157
+ * Unsharp masking threshold. Controls how different neighboring pixels must be for shapening to apply. <br />
158
+ *
159
+ * Min: `0` <br />
160
+ * Max: `1`
161
+ */
162
+ threshold?: number | null;
163
+ }
164
+ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
165
+ /** tell us why you're invalidating the cache. You don't need to add your app name */
166
+ reason?: string | null;
167
+ /** Is local DS */
168
+ localDc?: boolean;
169
+ /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
170
+ metaSiteId?: string;
171
+ /** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
172
+ siteId?: string;
173
+ /** Invalidate by App */
174
+ app?: App;
175
+ /** Invalidate by page id */
176
+ page?: Page;
177
+ /** Invalidate by URI path */
178
+ uri?: URI;
179
+ }
180
+ /** @oneof */
181
+ export interface InvalidateCacheGetByOneOf {
182
+ /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
183
+ metaSiteId?: string;
184
+ /** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
185
+ siteId?: string;
186
+ /** Invalidate by App */
187
+ app?: App;
188
+ /** Invalidate by page id */
189
+ page?: Page;
190
+ /** Invalidate by URI path */
191
+ uri?: URI;
192
+ }
193
+ export interface App {
194
+ /** The AppDefId */
195
+ appDefId?: string;
196
+ /** The instance Id */
197
+ instanceId?: string;
198
+ }
199
+ export interface Page {
200
+ /** the msid the page is on */
201
+ metaSiteId?: string;
202
+ /** Invalidate by Page ID */
203
+ pageId?: string;
204
+ }
205
+ export interface URI {
206
+ /** the msid the URI is on */
207
+ metaSiteId?: string;
208
+ /** URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes */
209
+ uriPath?: string;
210
+ }
211
+ export interface CreateCollectionRequest {
212
+ /** Collection to be created */
213
+ collection: Collection;
214
+ }
215
+ export interface CreateCollectionResponse {
216
+ /** The created Collection */
217
+ collection?: Collection;
218
+ }
219
+ export interface GetCollectionRequest {
220
+ /** Id of the Collection to retrieve */
221
+ collectionId: string;
222
+ includePageUrl?: boolean | null;
223
+ }
224
+ export interface GetCollectionResponse {
225
+ /** The retrieved Collection */
226
+ collection?: Collection;
227
+ }
228
+ export interface ListCollectionsRequest {
229
+ /** Maximum limit per response is 100, in first request cursor is None */
230
+ paging?: CursorPaging;
231
+ includePageUrl?: boolean | null;
232
+ }
233
+ export interface CursorPaging {
234
+ /** Number of items to load. */
235
+ limit?: number | null;
236
+ /**
237
+ * Pointer to the next or previous page in the list of results.
238
+ *
239
+ * You can get the relevant cursor token
240
+ * from the `pagingMetadata` object in the previous call's response.
241
+ * Not relevant for the first request.
242
+ */
243
+ cursor?: string | null;
244
+ }
245
+ export interface ListCollectionsResponse {
246
+ /** Retrieved Collections */
247
+ collections?: Collection[];
248
+ /** Paging metadata */
249
+ pagingMetadataV2?: PagingMetadataV2;
250
+ /** Paging metadata */
251
+ metadata?: PagingMetadataV2;
252
+ }
253
+ export interface PagingMetadataV2 {
254
+ /** Number of items returned in the response. */
255
+ count?: number | null;
256
+ /** Offset that was requested. */
257
+ offset?: number | null;
258
+ /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
259
+ total?: number | null;
260
+ /** Flag that indicates the server failed to calculate the `total` field. */
261
+ tooManyToCount?: boolean | null;
262
+ /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
263
+ cursors?: Cursors;
264
+ }
265
+ export interface Cursors {
266
+ /** Cursor pointing to next page in the list of results. */
267
+ next?: string | null;
268
+ /** Cursor pointing to previous page in the list of results. */
269
+ prev?: string | null;
270
+ }
271
+ export interface UpdateCollectionRequest {
272
+ /** Collection to be updated, may be partial */
273
+ collection: Collection;
274
+ /** Explicit list of fields to update */
275
+ mask?: string[];
276
+ }
277
+ export interface UpdateCollectionResponse {
278
+ /** The updated Collection */
279
+ collection?: Collection;
280
+ }
281
+ export interface DeleteCollectionRequest {
282
+ /** Id of the Collection to delete */
283
+ collectionId: string;
284
+ /** The revision of the Collection */
285
+ revision?: string;
286
+ }
287
+ export interface DeleteCollectionResponse {
288
+ /** Id of the Deleted Collection */
289
+ collectionId?: string;
290
+ }
291
+ export interface QueryCollectionsRequest {
292
+ /** WQL expression */
293
+ query: QueryV2;
294
+ includePageUrl?: boolean | null;
295
+ }
296
+ export interface QueryV2 extends QueryV2PagingMethodOneOf {
297
+ /**
298
+ * Filter object in the following format:
299
+ * `"filter" : {
300
+ * "fieldName1": "value1",
301
+ * "fieldName2":{"$operator":"value2"}
302
+ * }`
303
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
304
+ */
305
+ filter?: Record<string, any> | null;
306
+ /**
307
+ * Sort object in the following format:
308
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
309
+ */
310
+ sort?: Sorting[];
311
+ /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
312
+ fields?: string[];
313
+ /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
314
+ fieldsets?: string[];
315
+ /** Paging options to limit and skip the number of items. */
316
+ paging?: Paging;
317
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
318
+ cursorPaging?: CursorPaging;
319
+ }
320
+ /** @oneof */
321
+ export interface QueryV2PagingMethodOneOf {
322
+ /** Paging options to limit and skip the number of items. */
323
+ paging?: Paging;
324
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
325
+ cursorPaging?: CursorPaging;
326
+ }
327
+ export interface Sorting {
328
+ /** Name of the field to sort by. */
329
+ fieldName?: string;
330
+ /** Sort order. */
331
+ order?: SortOrder;
332
+ }
333
+ export declare enum SortOrder {
334
+ ASC = "ASC",
335
+ DESC = "DESC"
336
+ }
337
+ export interface Paging {
338
+ /** Number of items to load. */
339
+ limit?: number | null;
340
+ /** Number of items to skip in the current sort order. */
341
+ offset?: number | null;
342
+ }
343
+ export interface QueryCollectionsResponse {
344
+ /** The retrieved Collections */
345
+ collections?: Collection[];
346
+ /** Paging metadata */
347
+ pagingMetadataV2?: PagingMetadataV2;
348
+ /** Paging metadata */
349
+ metadata?: PagingMetadataV2;
350
+ }
351
+ /**
352
+ * Creates a new Collection
353
+ * @param collection - Collection to be created
354
+ * @public
355
+ * @requiredField collection
356
+ * @returns The created Collection
357
+ */
358
+ export declare function createCollection(collection: Collection): Promise<Collection>;
359
+ /**
360
+ * Get a Collection by id
361
+ * @param collectionId - Id of the Collection to retrieve
362
+ * @public
363
+ * @requiredField collectionId
364
+ * @returns The retrieved Collection
365
+ */
366
+ export declare function getCollection(collectionId: string, options?: GetCollectionOptions): Promise<Collection>;
367
+ export interface GetCollectionOptions {
368
+ includePageUrl?: boolean | null;
369
+ }
370
+ /**
371
+ * List all Collections in portfolio
372
+ * @public */
373
+ export declare function listCollections(options?: ListCollectionsOptions): Promise<ListCollectionsResponse>;
374
+ export interface ListCollectionsOptions {
375
+ /** Maximum limit per response is 100, in first request cursor is None */
376
+ paging?: CursorPaging;
377
+ includePageUrl?: boolean | null;
378
+ }
379
+ /**
380
+ * Update a Collection, supports partial update
381
+ * Pass the latest `revision` for a successful update
382
+ * @param _id - Collection ID
383
+ * @public
384
+ * @requiredField _id
385
+ * @requiredField collection
386
+ * @requiredField collection.revision
387
+ * @returns The updated Collection
388
+ */
389
+ export declare function updateCollection(_id: string | null, collection: UpdateCollection, options?: UpdateCollectionOptions): Promise<Collection>;
390
+ export interface UpdateCollection {
391
+ /**
392
+ * Collection ID
393
+ * @readonly
394
+ */
395
+ _id?: string | null;
396
+ /** Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision */
397
+ revision?: string | null;
398
+ title?: string | null;
399
+ description?: string | null;
400
+ /** Url of Collection // TODO: ask Idan */
401
+ slug?: string | null;
402
+ /** Collection's cover photo */
403
+ coverImage?: Image;
404
+ /** Indicates if the collection is hidden from Portfolio */
405
+ hidden?: boolean | null;
406
+ /** if not present in an update it means the collection will be added as currentTimestamp - as the last collection */
407
+ sortOrder?: number | null;
408
+ /**
409
+ * Represents the time this Collection was created
410
+ * @readonly
411
+ */
412
+ _createdDate?: Date;
413
+ /**
414
+ * Represents the time this Collection was last updated
415
+ * @readonly
416
+ */
417
+ _updatedDate?: Date;
418
+ /**
419
+ * Url and relative url of Collection - in order to receive this field in READ requests you will need to pass the `include_page_url` field as part of request
420
+ * @readonly
421
+ */
422
+ url?: string;
423
+ seoData?: SeoSchema;
424
+ }
425
+ export interface UpdateCollectionOptions {
426
+ /** Explicit list of fields to update */
427
+ mask?: string[];
428
+ }
429
+ /**
430
+ * Delete a Collection
431
+ * @param collectionId - Id of the Collection to delete
432
+ * @public
433
+ * @requiredField collectionId
434
+ */
435
+ export declare function deleteCollection(collectionId: string, options?: DeleteCollectionOptions): Promise<DeleteCollectionResponse>;
436
+ export interface DeleteCollectionOptions {
437
+ /** The revision of the Collection */
438
+ revision?: string;
439
+ }
440
+ /**
441
+ * Query Collections using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
442
+ * @param query - WQL expression
443
+ * @public
444
+ * @requiredField query
445
+ */
446
+ export declare function queryCollections(query: QueryV2, options?: QueryCollectionsOptions): Promise<QueryCollectionsResponse>;
447
+ export interface QueryCollectionsOptions {
448
+ includePageUrl?: boolean | null;
449
+ }