@wix/auto_sdk_portfolio_projects 1.0.17 → 1.0.19

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 (134) hide show
  1. package/build/index.d.mts +120 -0
  2. package/build/index.d.ts +120 -0
  3. package/build/index.js +1439 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +1396 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +120 -0
  8. package/build/internal/index.d.ts +120 -0
  9. package/build/internal/index.js +1439 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +1396 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/internal/meta.d.mts +515 -0
  14. package/build/internal/meta.d.ts +515 -0
  15. package/build/internal/meta.js +836 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +801 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/internal/{cjs/src/portfolio-projects-v1-project-projects.universal.d.ts → portfolio-projects-v1-project-projects.universal-D18FmjD0.d.mts} +130 -320
  20. package/build/internal/{es/src/portfolio-projects-v1-project-projects.universal.d.ts → portfolio-projects-v1-project-projects.universal-D18FmjD0.d.ts} +130 -320
  21. package/build/meta.d.mts +515 -0
  22. package/build/meta.d.ts +515 -0
  23. package/build/meta.js +836 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +801 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/build/{cjs/src/portfolio-projects-v1-project-projects.universal.d.ts → portfolio-projects-v1-project-projects.universal-D18FmjD0.d.mts} +130 -320
  28. package/build/{es/src/portfolio-projects-v1-project-projects.universal.d.ts → portfolio-projects-v1-project-projects.universal-D18FmjD0.d.ts} +130 -320
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/portfolio-projects-v1-project-projects.context.d.ts +0 -29
  40. package/build/cjs/src/portfolio-projects-v1-project-projects.context.js +0 -40
  41. package/build/cjs/src/portfolio-projects-v1-project-projects.context.js.map +0 -1
  42. package/build/cjs/src/portfolio-projects-v1-project-projects.http.d.ts +0 -42
  43. package/build/cjs/src/portfolio-projects-v1-project-projects.http.js +0 -658
  44. package/build/cjs/src/portfolio-projects-v1-project-projects.http.js.map +0 -1
  45. package/build/cjs/src/portfolio-projects-v1-project-projects.meta.d.ts +0 -30
  46. package/build/cjs/src/portfolio-projects-v1-project-projects.meta.js +0 -202
  47. package/build/cjs/src/portfolio-projects-v1-project-projects.meta.js.map +0 -1
  48. package/build/cjs/src/portfolio-projects-v1-project-projects.public.d.ts +0 -98
  49. package/build/cjs/src/portfolio-projects-v1-project-projects.public.js +0 -176
  50. package/build/cjs/src/portfolio-projects-v1-project-projects.public.js.map +0 -1
  51. package/build/cjs/src/portfolio-projects-v1-project-projects.types.d.ts +0 -1321
  52. package/build/cjs/src/portfolio-projects-v1-project-projects.types.js +0 -143
  53. package/build/cjs/src/portfolio-projects-v1-project-projects.types.js.map +0 -1
  54. package/build/cjs/src/portfolio-projects-v1-project-projects.universal.js +0 -721
  55. package/build/cjs/src/portfolio-projects-v1-project-projects.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/portfolio-projects-v1-project-projects.context.d.ts +0 -29
  67. package/build/es/src/portfolio-projects-v1-project-projects.context.js +0 -29
  68. package/build/es/src/portfolio-projects-v1-project-projects.context.js.map +0 -1
  69. package/build/es/src/portfolio-projects-v1-project-projects.http.d.ts +0 -42
  70. package/build/es/src/portfolio-projects-v1-project-projects.http.js +0 -646
  71. package/build/es/src/portfolio-projects-v1-project-projects.http.js.map +0 -1
  72. package/build/es/src/portfolio-projects-v1-project-projects.meta.d.ts +0 -30
  73. package/build/es/src/portfolio-projects-v1-project-projects.meta.js +0 -167
  74. package/build/es/src/portfolio-projects-v1-project-projects.meta.js.map +0 -1
  75. package/build/es/src/portfolio-projects-v1-project-projects.public.d.ts +0 -98
  76. package/build/es/src/portfolio-projects-v1-project-projects.public.js +0 -156
  77. package/build/es/src/portfolio-projects-v1-project-projects.public.js.map +0 -1
  78. package/build/es/src/portfolio-projects-v1-project-projects.types.d.ts +0 -1321
  79. package/build/es/src/portfolio-projects-v1-project-projects.types.js +0 -140
  80. package/build/es/src/portfolio-projects-v1-project-projects.types.js.map +0 -1
  81. package/build/es/src/portfolio-projects-v1-project-projects.universal.js +0 -686
  82. package/build/es/src/portfolio-projects-v1-project-projects.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.context.d.ts +0 -29
  93. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.context.js +0 -40
  94. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.context.js.map +0 -1
  95. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.http.d.ts +0 -42
  96. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.http.js +0 -658
  97. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.http.js.map +0 -1
  98. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.meta.d.ts +0 -30
  99. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.meta.js +0 -202
  100. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.meta.js.map +0 -1
  101. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.public.d.ts +0 -98
  102. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.public.js +0 -176
  103. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.public.js.map +0 -1
  104. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.types.d.ts +0 -1321
  105. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.types.js +0 -143
  106. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.types.js.map +0 -1
  107. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.universal.js +0 -721
  108. package/build/internal/cjs/src/portfolio-projects-v1-project-projects.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/portfolio-projects-v1-project-projects.context.d.ts +0 -29
  119. package/build/internal/es/src/portfolio-projects-v1-project-projects.context.js +0 -29
  120. package/build/internal/es/src/portfolio-projects-v1-project-projects.context.js.map +0 -1
  121. package/build/internal/es/src/portfolio-projects-v1-project-projects.http.d.ts +0 -42
  122. package/build/internal/es/src/portfolio-projects-v1-project-projects.http.js +0 -646
  123. package/build/internal/es/src/portfolio-projects-v1-project-projects.http.js.map +0 -1
  124. package/build/internal/es/src/portfolio-projects-v1-project-projects.meta.d.ts +0 -30
  125. package/build/internal/es/src/portfolio-projects-v1-project-projects.meta.js +0 -167
  126. package/build/internal/es/src/portfolio-projects-v1-project-projects.meta.js.map +0 -1
  127. package/build/internal/es/src/portfolio-projects-v1-project-projects.public.d.ts +0 -98
  128. package/build/internal/es/src/portfolio-projects-v1-project-projects.public.js +0 -156
  129. package/build/internal/es/src/portfolio-projects-v1-project-projects.public.js.map +0 -1
  130. package/build/internal/es/src/portfolio-projects-v1-project-projects.types.d.ts +0 -1321
  131. package/build/internal/es/src/portfolio-projects-v1-project-projects.types.js +0 -140
  132. package/build/internal/es/src/portfolio-projects-v1-project-projects.types.js.map +0 -1
  133. package/build/internal/es/src/portfolio-projects-v1-project-projects.universal.js +0 -686
  134. package/build/internal/es/src/portfolio-projects-v1-project-projects.universal.js.map +0 -1
@@ -0,0 +1,515 @@
1
+ import { au as CreateProjectRequest$1, av as CreateProjectResponse$1, aw as GetProjectRequest$1, ax as GetProjectResponse$1, ay as ListProjectsRequest$1, a as ListProjectsResponse$1, aC as UpdateProjectRequest$1, aD as UpdateProjectResponse$1, aE as BulkUpdateProjectsRequest$1, b as BulkUpdateProjectsResponse$1, aK as DeleteProjectRequest$1, D as DeleteProjectResponse$1, aL as QueryProjectsRequest$1, aP as QueryProjectsResponse$1, aQ as UpdateProjectOrderInCollectionRequest$1, e as UpdateProjectOrderInCollectionResponse$1, aS as QueryProjectWithCollectionInfoRequest$1, h as QueryProjectWithCollectionInfoResponse$1 } from './portfolio-projects-v1-project-projects.universal-D18FmjD0.mjs';
2
+
3
+ interface Project extends ProjectCoverOneOf {
4
+ /** Project cover image. */
5
+ coverImage?: Image;
6
+ /** Project cover video. */
7
+ coverVideo?: Video;
8
+ /**
9
+ * Project ID.
10
+ * @readonly
11
+ * @format GUID
12
+ */
13
+ id?: string | null;
14
+ /**
15
+ * Revision number, which increments by 1 each time the project is updated. To prevent conflicting changes, the existing revision must be passed when updating the project object.
16
+ * @readonly
17
+ */
18
+ revision?: string | null;
19
+ /**
20
+ * Project title.
21
+ * @maxLength 100
22
+ */
23
+ title?: string | null;
24
+ /** Project description. */
25
+ description?: string | null;
26
+ /** Whether the project is hidden from the portfolio. Default: `false` */
27
+ hidden?: boolean | null;
28
+ /**
29
+ * IDs of the collections that include the project.
30
+ * @format GUID
31
+ * @maxSize 1000
32
+ */
33
+ collectionIds?: string[];
34
+ /** Project details. */
35
+ details?: ProjectDetail[];
36
+ /** Project slug. */
37
+ slug?: string | null;
38
+ /**
39
+ * Date and time the project was created.
40
+ * @readonly
41
+ */
42
+ createdDate?: Date | null;
43
+ /**
44
+ * Date and time the project was updated.
45
+ * @readonly
46
+ */
47
+ updatedDate?: Date | null;
48
+ /**
49
+ * Project page URL and relative path. Returned when `includePageUrl` is `true` in the request.
50
+ * @readonly
51
+ */
52
+ url?: PageUrlV2;
53
+ /** Project SEO data. */
54
+ seoData?: SeoSchema;
55
+ }
56
+ /** @oneof */
57
+ interface ProjectCoverOneOf {
58
+ /** Project cover image. */
59
+ coverImage?: Image;
60
+ /** Project cover video. */
61
+ coverVideo?: Video;
62
+ }
63
+ interface Image {
64
+ /** Information about the Wix Media image. */
65
+ imageInfo?: CommonImage;
66
+ /** Focal point of the image. */
67
+ focalPoint?: Point;
68
+ }
69
+ interface CommonImage {
70
+ /** WixMedia image ID. Required. */
71
+ id?: string;
72
+ /**
73
+ * Image URL.
74
+ * @readonly
75
+ */
76
+ url?: string;
77
+ /** Original image height. Required. */
78
+ height?: number;
79
+ /** Original image width. Required. */
80
+ width?: number;
81
+ /** Image alt text. */
82
+ altText?: string | null;
83
+ /** Image filename. */
84
+ filename?: string | null;
85
+ }
86
+ interface Point {
87
+ /** X-coordinate of the focal point. */
88
+ x?: number;
89
+ /** Y-coordinate of the focal point. */
90
+ y?: number;
91
+ }
92
+ interface Video {
93
+ /** Information about the Wix Media video. */
94
+ videoInfo?: VideoV2;
95
+ /** Manually defined Video duration in milliseconds. */
96
+ durationInMillis?: number | null;
97
+ }
98
+ interface VideoV2 {
99
+ /** WixMedia ID. Required. */
100
+ id?: string;
101
+ /** Video URL. */
102
+ url?: string;
103
+ /**
104
+ * Available resolutions for the video, starting with the optimal resolution.
105
+ * @maxSize 100
106
+ */
107
+ resolutions?: VideoResolution[];
108
+ /** Video filename. */
109
+ filename?: string | null;
110
+ /** Video posters. */
111
+ posters?: CommonImage[];
112
+ }
113
+ interface VideoResolution {
114
+ /** Video URL. Required. */
115
+ url?: string;
116
+ /** Video height. Required. */
117
+ height?: number;
118
+ /** Video width. Required. */
119
+ width?: number;
120
+ /** Video format for example, mp4, hls. Required. */
121
+ format?: string;
122
+ /** Video quality for example 480p, 720p. */
123
+ quality?: string | null;
124
+ /** Video filename. */
125
+ filename?: string | null;
126
+ }
127
+ /**
128
+ * Project label.
129
+ * One of:
130
+ * + `text`
131
+ * + `link`
132
+ */
133
+ interface ProjectDetail extends ProjectDetailValueOneOf {
134
+ /** Project label in plain text format. */
135
+ text?: string;
136
+ /** Project label in link format. */
137
+ link?: DetailsLink;
138
+ /** Project label. */
139
+ label?: string;
140
+ }
141
+ /** @oneof */
142
+ interface ProjectDetailValueOneOf {
143
+ /** Project label in plain text format. */
144
+ text?: string;
145
+ /** Project label in link format. */
146
+ link?: DetailsLink;
147
+ }
148
+ interface DetailsLink {
149
+ /** Display text of the link. */
150
+ text?: string | null;
151
+ /**
152
+ * Target URL of the link.
153
+ * @format WEB_URL
154
+ */
155
+ url?: string | null;
156
+ /**
157
+ * Whether the link opens in a new tab or window. One of:
158
+ * * `'_blank'`: The link opens in a new tab or window.
159
+ * * `'_self'`: The link opens in the same tab or window.
160
+ */
161
+ target?: string | null;
162
+ }
163
+ interface PageUrlV2 {
164
+ /** The relative path for the page within the site. For example, `/product-page/a-product`. */
165
+ relativePath?: string;
166
+ /** The page's full URL. For example, `https://mysite.com/product-page/a-product`. */
167
+ url?: string | null;
168
+ }
169
+ /**
170
+ * 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.
171
+ * The search engines use this information for ranking purposes, or to display snippets in the search results.
172
+ * 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.
173
+ */
174
+ interface SeoSchema {
175
+ /** SEO tag information. */
176
+ tags?: Tag[];
177
+ /** SEO general settings. */
178
+ settings?: Settings;
179
+ }
180
+ interface Keyword {
181
+ /** Keyword value. */
182
+ term?: string;
183
+ /** Whether the keyword is the main focus keyword. */
184
+ isMain?: boolean;
185
+ /**
186
+ * The source that added the keyword terms to the SEO settings.
187
+ * @maxLength 1000
188
+ */
189
+ origin?: string | null;
190
+ }
191
+ interface Tag {
192
+ /**
193
+ * SEO tag type.
194
+ *
195
+ *
196
+ * Supported values: `title`, `meta`, `script`, `link`.
197
+ */
198
+ type?: string;
199
+ /**
200
+ * A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value.
201
+ * For example: `{"name": "description", "content": "the description itself"}`.
202
+ */
203
+ props?: Record<string, any> | null;
204
+ /** SEO tag meta data. For example, `{"height": 300, "width": 240}`. */
205
+ meta?: Record<string, any> | null;
206
+ /** SEO tag inner content. For example, `<title> inner content </title>`. */
207
+ children?: string;
208
+ /** Whether the tag is a custom tag. */
209
+ custom?: boolean;
210
+ /** Whether the tag is disabled. */
211
+ disabled?: boolean;
212
+ }
213
+ interface Settings {
214
+ /**
215
+ * Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
216
+ *
217
+ *
218
+ * Default: `false` (Auto Redirect is enabled.)
219
+ */
220
+ preventAutoRedirect?: boolean;
221
+ /**
222
+ * User-selected keyword terms for a specific page.
223
+ * @maxSize 5
224
+ */
225
+ keywords?: Keyword[];
226
+ }
227
+ interface CreateProjectRequest {
228
+ /** Project to create. */
229
+ project: Project;
230
+ }
231
+ interface CreateProjectResponse {
232
+ /** Created project. */
233
+ project?: Project;
234
+ }
235
+ interface GetProjectRequest {
236
+ /**
237
+ * ID of the project to retrieve.
238
+ * @format GUID
239
+ */
240
+ projectId: string;
241
+ /** Whether to include the project's relative path and full URL in the response. Default: `false` */
242
+ includePageUrl?: boolean | null;
243
+ }
244
+ interface GetProjectResponse {
245
+ /** The requested project. */
246
+ project?: Project;
247
+ }
248
+ interface ListProjectsRequest {
249
+ /** Projects limit per response is maximum 100, In the first request the cursor is None ? */
250
+ paging?: CursorPaging;
251
+ /** Whether to include the project's relative path and full URL in the response. Default: `false` */
252
+ includePageUrl?: boolean | null;
253
+ }
254
+ interface CursorPaging {
255
+ /**
256
+ * Maximum number of items to return in the results.
257
+ * @max 100
258
+ */
259
+ limit?: number | null;
260
+ /**
261
+ * Pointer to the next or previous page in the list of results.
262
+ *
263
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
264
+ * Not relevant for the first request.
265
+ * @maxLength 16000
266
+ */
267
+ cursor?: string | null;
268
+ }
269
+ interface ListProjectsResponse {
270
+ /** List of projects. */
271
+ projects?: Project[];
272
+ /** Paging metadata. */
273
+ metadata?: PagingMetadataV2;
274
+ }
275
+ interface PagingMetadataV2 {
276
+ /** Number of items returned in the response. */
277
+ count?: number | null;
278
+ /** Offset that was requested. */
279
+ offset?: number | null;
280
+ /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
281
+ total?: number | null;
282
+ /** Flag that indicates the server failed to calculate the `total` field. */
283
+ tooManyToCount?: boolean | null;
284
+ /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
285
+ cursors?: Cursors;
286
+ }
287
+ interface Cursors {
288
+ /**
289
+ * Cursor string pointing to the next page in the list of results.
290
+ * @maxLength 16000
291
+ */
292
+ next?: string | null;
293
+ /**
294
+ * Cursor pointing to the previous page in the list of results.
295
+ * @maxLength 16000
296
+ */
297
+ prev?: string | null;
298
+ }
299
+ interface UpdateProjectRequest {
300
+ /** Project to update. */
301
+ project: Project;
302
+ }
303
+ interface UpdateProjectResponse {
304
+ /** Updated project. */
305
+ project?: Project;
306
+ }
307
+ interface BulkUpdateProjectsRequest {
308
+ /**
309
+ * Projects to update.
310
+ * @maxSize 100
311
+ */
312
+ projects?: MaskedProject[];
313
+ /** Whether to include the updated projects in the response. Set to `true` to receive the projects in the response. Default: `false` */
314
+ returnFullEntity?: boolean | null;
315
+ }
316
+ interface MaskedProject {
317
+ /** Project to update. */
318
+ project?: Project;
319
+ }
320
+ interface BulkUpdateProjectsResponse {
321
+ /** Items created by bulk action. */
322
+ results?: BulkUpdateProjectsResult[];
323
+ /** Bulk action metadata. */
324
+ bulkActionMetadata?: BulkActionMetadata;
325
+ }
326
+ interface BulkUpdateProjectsResult {
327
+ /** Item metadata. */
328
+ itemMetadata?: ItemMetadata;
329
+ /** Updated project. */
330
+ project?: Project;
331
+ }
332
+ interface ItemMetadata {
333
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
334
+ id?: string | null;
335
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
336
+ originalIndex?: number;
337
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
338
+ success?: boolean;
339
+ /** Details about the error in case of failure. */
340
+ error?: ApplicationError;
341
+ }
342
+ interface ApplicationError {
343
+ /** Error code. */
344
+ code?: string;
345
+ /** Description of the error. */
346
+ description?: string;
347
+ /** Data related to the error. */
348
+ data?: Record<string, any> | null;
349
+ }
350
+ interface BulkActionMetadata {
351
+ /** Number of items that were successfully processed. */
352
+ totalSuccesses?: number;
353
+ /** Number of items that couldn't be processed. */
354
+ totalFailures?: number;
355
+ /** Number of failures without details because detailed failure threshold was exceeded. */
356
+ undetailedFailures?: number;
357
+ }
358
+ interface DeleteProjectRequest {
359
+ /**
360
+ * ID of the project to delete.
361
+ * @format GUID
362
+ */
363
+ projectId: string;
364
+ }
365
+ interface DeleteProjectResponse {
366
+ /**
367
+ * ID of the deleted project.
368
+ * @format GUID
369
+ */
370
+ projectId?: string;
371
+ }
372
+ interface QueryProjectsRequest {
373
+ /** Query options. */
374
+ query: QueryV2;
375
+ /** Whether to include the project's relative path and full URL in the response. Default: `false` */
376
+ includePageUrl?: boolean | null;
377
+ }
378
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
379
+ /** Paging options to limit and skip the number of items. */
380
+ paging?: Paging;
381
+ /** 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`. */
382
+ cursorPaging?: CursorPaging;
383
+ /**
384
+ * Filter object.
385
+ *
386
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
387
+ */
388
+ filter?: Record<string, any> | null;
389
+ /**
390
+ * Sort object.
391
+ *
392
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
393
+ */
394
+ sort?: Sorting[];
395
+ /** 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. */
396
+ fields?: string[];
397
+ /** 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. */
398
+ fieldsets?: string[];
399
+ }
400
+ /** @oneof */
401
+ interface QueryV2PagingMethodOneOf {
402
+ /** Paging options to limit and skip the number of items. */
403
+ paging?: Paging;
404
+ /** 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`. */
405
+ cursorPaging?: CursorPaging;
406
+ }
407
+ interface Sorting {
408
+ /**
409
+ * Name of the field to sort by.
410
+ * @maxLength 512
411
+ */
412
+ fieldName?: string;
413
+ /** Sort order. */
414
+ order?: SortOrderWithLiterals;
415
+ }
416
+ declare enum SortOrder {
417
+ ASC = "ASC",
418
+ DESC = "DESC"
419
+ }
420
+ /** @enumType */
421
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
422
+ interface Paging {
423
+ /** Number of items to load. */
424
+ limit?: number | null;
425
+ /** Number of items to skip in the current sort order. */
426
+ offset?: number | null;
427
+ }
428
+ interface QueryProjectsResponse {
429
+ /** List of projects. */
430
+ projects?: Project[];
431
+ /** Paging metadata. */
432
+ metadata?: PagingMetadataV2;
433
+ }
434
+ interface UpdateProjectOrderInCollectionRequest {
435
+ /**
436
+ * ID of the project to update.
437
+ * @format GUID
438
+ */
439
+ projectId: string;
440
+ /**
441
+ * Collection ID.
442
+ * @format GUID
443
+ */
444
+ collectionId: string;
445
+ /** Index that determines the placement of a project within the collection. */
446
+ sortOrder: number | null;
447
+ }
448
+ interface UpdateProjectOrderInCollectionResponse {
449
+ /** Updated project placement within the specified collection. */
450
+ projectInCollection?: ProjectsInCollections;
451
+ }
452
+ interface ProjectsInCollections {
453
+ /**
454
+ * Collection ID.
455
+ * @format GUID
456
+ */
457
+ collectionId?: string;
458
+ /** Project object. */
459
+ project?: Project;
460
+ /**
461
+ * Index that determines the placement of a project within the collection. <br />
462
+ *
463
+ * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
464
+ */
465
+ sortOrder?: number | null;
466
+ /**
467
+ * Project placement ID.
468
+ * @readonly
469
+ * @format GUID
470
+ */
471
+ id?: string | null;
472
+ }
473
+ interface QueryProjectWithCollectionInfoRequest {
474
+ /** WQL expression */
475
+ query: QueryV2;
476
+ /** Include page url */
477
+ includePageUrl?: boolean | null;
478
+ }
479
+ interface QueryProjectWithCollectionInfoResponse {
480
+ /** The retrieved Projects in Collection */
481
+ projects?: ProjectsInCollections[];
482
+ /** Paging metadata */
483
+ metadata?: PagingMetadataV2;
484
+ }
485
+
486
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
487
+ getUrl: (context: any) => string;
488
+ httpMethod: K;
489
+ path: string;
490
+ pathParams: M;
491
+ __requestType: T;
492
+ __originalRequestType: S;
493
+ __responseType: Q;
494
+ __originalResponseType: R;
495
+ };
496
+ declare function createProject(): __PublicMethodMetaInfo<'POST', {}, CreateProjectRequest$1, CreateProjectRequest, CreateProjectResponse$1, CreateProjectResponse>;
497
+ declare function getProject(): __PublicMethodMetaInfo<'GET', {
498
+ projectId: string;
499
+ }, GetProjectRequest$1, GetProjectRequest, GetProjectResponse$1, GetProjectResponse>;
500
+ declare function listProjects(): __PublicMethodMetaInfo<'GET', {}, ListProjectsRequest$1, ListProjectsRequest, ListProjectsResponse$1, ListProjectsResponse>;
501
+ declare function updateProject(): __PublicMethodMetaInfo<'PATCH', {
502
+ projectId: string;
503
+ }, UpdateProjectRequest$1, UpdateProjectRequest, UpdateProjectResponse$1, UpdateProjectResponse>;
504
+ declare function bulkUpdateProjects(): __PublicMethodMetaInfo<'PATCH', {}, BulkUpdateProjectsRequest$1, BulkUpdateProjectsRequest, BulkUpdateProjectsResponse$1, BulkUpdateProjectsResponse>;
505
+ declare function deleteProject(): __PublicMethodMetaInfo<'DELETE', {
506
+ projectId: string;
507
+ }, DeleteProjectRequest$1, DeleteProjectRequest, DeleteProjectResponse$1, DeleteProjectResponse>;
508
+ declare function queryProjects(): __PublicMethodMetaInfo<'POST', {}, QueryProjectsRequest$1, QueryProjectsRequest, QueryProjectsResponse$1, QueryProjectsResponse>;
509
+ declare function updateProjectOrderInCollection(): __PublicMethodMetaInfo<'PATCH', {
510
+ projectId: string;
511
+ collectionId: string;
512
+ }, UpdateProjectOrderInCollectionRequest$1, UpdateProjectOrderInCollectionRequest, UpdateProjectOrderInCollectionResponse$1, UpdateProjectOrderInCollectionResponse>;
513
+ declare function queryProjectsWithCollectionInfo(): __PublicMethodMetaInfo<'POST', {}, QueryProjectWithCollectionInfoRequest$1, QueryProjectWithCollectionInfoRequest, QueryProjectWithCollectionInfoResponse$1, QueryProjectWithCollectionInfoResponse>;
514
+
515
+ export { type __PublicMethodMetaInfo, bulkUpdateProjects, createProject, deleteProject, getProject, listProjects, queryProjects, queryProjectsWithCollectionInfo, updateProject, updateProjectOrderInCollection };