@wix/portfolio 1.0.48 → 1.0.50

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 (169) hide show
  1. package/build/cjs/context.d.ts +4 -4
  2. package/build/cjs/context.js +4 -4
  3. package/build/cjs/context.js.map +1 -1
  4. package/build/cjs/index.d.ts +4 -4
  5. package/build/cjs/index.js +4 -4
  6. package/build/cjs/index.js.map +1 -1
  7. package/build/cjs/meta.d.ts +4 -4
  8. package/build/cjs/meta.js +4 -4
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/context.d.ts +4 -4
  11. package/build/es/context.js +4 -4
  12. package/build/es/context.js.map +1 -1
  13. package/build/es/index.d.ts +4 -4
  14. package/build/es/index.js +4 -4
  15. package/build/es/index.js.map +1 -1
  16. package/build/es/meta.d.ts +4 -4
  17. package/build/es/meta.js +4 -4
  18. package/build/es/meta.js.map +1 -1
  19. package/package.json +14 -9
  20. package/build/cjs/index.typings.d.ts +0 -4
  21. package/build/cjs/index.typings.js +0 -31
  22. package/build/cjs/index.typings.js.map +0 -1
  23. package/build/cjs/src/portfolio-collections-v1-collection.context.d.ts +0 -8
  24. package/build/cjs/src/portfolio-collections-v1-collection.context.js +0 -71
  25. package/build/cjs/src/portfolio-collections-v1-collection.context.js.map +0 -1
  26. package/build/cjs/src/portfolio-collections-v1-collection.http.d.ts +0 -17
  27. package/build/cjs/src/portfolio-collections-v1-collection.http.js +0 -339
  28. package/build/cjs/src/portfolio-collections-v1-collection.http.js.map +0 -1
  29. package/build/cjs/src/portfolio-collections-v1-collection.meta.d.ts +0 -24
  30. package/build/cjs/src/portfolio-collections-v1-collection.meta.js +0 -142
  31. package/build/cjs/src/portfolio-collections-v1-collection.meta.js.map +0 -1
  32. package/build/cjs/src/portfolio-collections-v1-collection.public.d.ts +0 -85
  33. package/build/cjs/src/portfolio-collections-v1-collection.public.js +0 -45
  34. package/build/cjs/src/portfolio-collections-v1-collection.public.js.map +0 -1
  35. package/build/cjs/src/portfolio-collections-v1-collection.types.d.ts +0 -578
  36. package/build/cjs/src/portfolio-collections-v1-collection.types.js +0 -15
  37. package/build/cjs/src/portfolio-collections-v1-collection.types.js.map +0 -1
  38. package/build/cjs/src/portfolio-collections-v1-collection.universal.d.ts +0 -704
  39. package/build/cjs/src/portfolio-collections-v1-collection.universal.js +0 -425
  40. package/build/cjs/src/portfolio-collections-v1-collection.universal.js.map +0 -1
  41. package/build/cjs/src/portfolio-project-items-v1-project-item.context.d.ts +0 -7
  42. package/build/cjs/src/portfolio-project-items-v1-project-item.context.js +0 -60
  43. package/build/cjs/src/portfolio-project-items-v1-project-item.context.js.map +0 -1
  44. package/build/cjs/src/portfolio-project-items-v1-project-item.http.d.ts +0 -12
  45. package/build/cjs/src/portfolio-project-items-v1-project-item.http.js +0 -337
  46. package/build/cjs/src/portfolio-project-items-v1-project-item.http.js.map +0 -1
  47. package/build/cjs/src/portfolio-project-items-v1-project-item.meta.d.ts +0 -25
  48. package/build/cjs/src/portfolio-project-items-v1-project-item.meta.js +0 -123
  49. package/build/cjs/src/portfolio-project-items-v1-project-item.meta.js.map +0 -1
  50. package/build/cjs/src/portfolio-project-items-v1-project-item.public.d.ts +0 -48
  51. package/build/cjs/src/portfolio-project-items-v1-project-item.public.js +0 -40
  52. package/build/cjs/src/portfolio-project-items-v1-project-item.public.js.map +0 -1
  53. package/build/cjs/src/portfolio-project-items-v1-project-item.types.d.ts +0 -710
  54. package/build/cjs/src/portfolio-project-items-v1-project-item.types.js +0 -21
  55. package/build/cjs/src/portfolio-project-items-v1-project-item.types.js.map +0 -1
  56. package/build/cjs/src/portfolio-project-items-v1-project-item.universal.d.ts +0 -662
  57. package/build/cjs/src/portfolio-project-items-v1-project-item.universal.js +0 -358
  58. package/build/cjs/src/portfolio-project-items-v1-project-item.universal.js.map +0 -1
  59. package/build/cjs/src/portfolio-projects-v1-project-in-collection.context.d.ts +0 -4
  60. package/build/cjs/src/portfolio-projects-v1-project-in-collection.context.js +0 -27
  61. package/build/cjs/src/portfolio-projects-v1-project-in-collection.context.js.map +0 -1
  62. package/build/cjs/src/portfolio-projects-v1-project-in-collection.http.d.ts +0 -14
  63. package/build/cjs/src/portfolio-projects-v1-project-in-collection.http.js +0 -219
  64. package/build/cjs/src/portfolio-projects-v1-project-in-collection.http.js.map +0 -1
  65. package/build/cjs/src/portfolio-projects-v1-project-in-collection.meta.d.ts +0 -17
  66. package/build/cjs/src/portfolio-projects-v1-project-in-collection.meta.js +0 -69
  67. package/build/cjs/src/portfolio-projects-v1-project-in-collection.meta.js.map +0 -1
  68. package/build/cjs/src/portfolio-projects-v1-project-in-collection.public.d.ts +0 -9
  69. package/build/cjs/src/portfolio-projects-v1-project-in-collection.public.js +0 -22
  70. package/build/cjs/src/portfolio-projects-v1-project-in-collection.public.js.map +0 -1
  71. package/build/cjs/src/portfolio-projects-v1-project-in-collection.types.d.ts +0 -635
  72. package/build/cjs/src/portfolio-projects-v1-project-in-collection.types.js +0 -21
  73. package/build/cjs/src/portfolio-projects-v1-project-in-collection.types.js.map +0 -1
  74. package/build/cjs/src/portfolio-projects-v1-project-in-collection.universal.d.ts +0 -574
  75. package/build/cjs/src/portfolio-projects-v1-project-in-collection.universal.js +0 -219
  76. package/build/cjs/src/portfolio-projects-v1-project-in-collection.universal.js.map +0 -1
  77. package/build/cjs/src/portfolio-projects-v1-project.context.d.ts +0 -8
  78. package/build/cjs/src/portfolio-projects-v1-project.context.js +0 -71
  79. package/build/cjs/src/portfolio-projects-v1-project.context.js.map +0 -1
  80. package/build/cjs/src/portfolio-projects-v1-project.http.d.ts +0 -17
  81. package/build/cjs/src/portfolio-projects-v1-project.http.js +0 -384
  82. package/build/cjs/src/portfolio-projects-v1-project.http.js.map +0 -1
  83. package/build/cjs/src/portfolio-projects-v1-project.meta.d.ts +0 -24
  84. package/build/cjs/src/portfolio-projects-v1-project.meta.js +0 -142
  85. package/build/cjs/src/portfolio-projects-v1-project.meta.js.map +0 -1
  86. package/build/cjs/src/portfolio-projects-v1-project.public.d.ts +0 -109
  87. package/build/cjs/src/portfolio-projects-v1-project.public.js +0 -50
  88. package/build/cjs/src/portfolio-projects-v1-project.public.js.map +0 -1
  89. package/build/cjs/src/portfolio-projects-v1-project.types.d.ts +0 -1211
  90. package/build/cjs/src/portfolio-projects-v1-project.types.js +0 -112
  91. package/build/cjs/src/portfolio-projects-v1-project.types.js.map +0 -1
  92. package/build/cjs/src/portfolio-projects-v1-project.universal.d.ts +0 -1198
  93. package/build/cjs/src/portfolio-projects-v1-project.universal.js +0 -527
  94. package/build/cjs/src/portfolio-projects-v1-project.universal.js.map +0 -1
  95. package/build/es/index.typings.d.ts +0 -4
  96. package/build/es/index.typings.js +0 -5
  97. package/build/es/index.typings.js.map +0 -1
  98. package/build/es/src/portfolio-collections-v1-collection.context.d.ts +0 -8
  99. package/build/es/src/portfolio-collections-v1-collection.context.js +0 -62
  100. package/build/es/src/portfolio-collections-v1-collection.context.js.map +0 -1
  101. package/build/es/src/portfolio-collections-v1-collection.http.d.ts +0 -17
  102. package/build/es/src/portfolio-collections-v1-collection.http.js +0 -330
  103. package/build/es/src/portfolio-collections-v1-collection.http.js.map +0 -1
  104. package/build/es/src/portfolio-collections-v1-collection.meta.d.ts +0 -24
  105. package/build/es/src/portfolio-collections-v1-collection.meta.js +0 -110
  106. package/build/es/src/portfolio-collections-v1-collection.meta.js.map +0 -1
  107. package/build/es/src/portfolio-collections-v1-collection.public.d.ts +0 -85
  108. package/build/es/src/portfolio-collections-v1-collection.public.js +0 -34
  109. package/build/es/src/portfolio-collections-v1-collection.public.js.map +0 -1
  110. package/build/es/src/portfolio-collections-v1-collection.types.d.ts +0 -578
  111. package/build/es/src/portfolio-collections-v1-collection.types.js +0 -12
  112. package/build/es/src/portfolio-collections-v1-collection.types.js.map +0 -1
  113. package/build/es/src/portfolio-collections-v1-collection.universal.d.ts +0 -704
  114. package/build/es/src/portfolio-collections-v1-collection.universal.js +0 -393
  115. package/build/es/src/portfolio-collections-v1-collection.universal.js.map +0 -1
  116. package/build/es/src/portfolio-project-items-v1-project-item.context.d.ts +0 -7
  117. package/build/es/src/portfolio-project-items-v1-project-item.context.js +0 -52
  118. package/build/es/src/portfolio-project-items-v1-project-item.context.js.map +0 -1
  119. package/build/es/src/portfolio-project-items-v1-project-item.http.d.ts +0 -12
  120. package/build/es/src/portfolio-project-items-v1-project-item.http.js +0 -329
  121. package/build/es/src/portfolio-project-items-v1-project-item.http.js.map +0 -1
  122. package/build/es/src/portfolio-project-items-v1-project-item.meta.d.ts +0 -25
  123. package/build/es/src/portfolio-project-items-v1-project-item.meta.js +0 -92
  124. package/build/es/src/portfolio-project-items-v1-project-item.meta.js.map +0 -1
  125. package/build/es/src/portfolio-project-items-v1-project-item.public.d.ts +0 -48
  126. package/build/es/src/portfolio-project-items-v1-project-item.public.js +0 -29
  127. package/build/es/src/portfolio-project-items-v1-project-item.public.js.map +0 -1
  128. package/build/es/src/portfolio-project-items-v1-project-item.types.d.ts +0 -710
  129. package/build/es/src/portfolio-project-items-v1-project-item.types.js +0 -18
  130. package/build/es/src/portfolio-project-items-v1-project-item.types.js.map +0 -1
  131. package/build/es/src/portfolio-project-items-v1-project-item.universal.d.ts +0 -662
  132. package/build/es/src/portfolio-project-items-v1-project-item.universal.js +0 -327
  133. package/build/es/src/portfolio-project-items-v1-project-item.universal.js.map +0 -1
  134. package/build/es/src/portfolio-projects-v1-project-in-collection.context.d.ts +0 -4
  135. package/build/es/src/portfolio-projects-v1-project-in-collection.context.js +0 -22
  136. package/build/es/src/portfolio-projects-v1-project-in-collection.context.js.map +0 -1
  137. package/build/es/src/portfolio-projects-v1-project-in-collection.http.d.ts +0 -14
  138. package/build/es/src/portfolio-projects-v1-project-in-collection.http.js +0 -214
  139. package/build/es/src/portfolio-projects-v1-project-in-collection.http.js.map +0 -1
  140. package/build/es/src/portfolio-projects-v1-project-in-collection.meta.d.ts +0 -17
  141. package/build/es/src/portfolio-projects-v1-project-in-collection.meta.js +0 -41
  142. package/build/es/src/portfolio-projects-v1-project-in-collection.meta.js.map +0 -1
  143. package/build/es/src/portfolio-projects-v1-project-in-collection.public.d.ts +0 -9
  144. package/build/es/src/portfolio-projects-v1-project-in-collection.public.js +0 -14
  145. package/build/es/src/portfolio-projects-v1-project-in-collection.public.js.map +0 -1
  146. package/build/es/src/portfolio-projects-v1-project-in-collection.types.d.ts +0 -635
  147. package/build/es/src/portfolio-projects-v1-project-in-collection.types.js +0 -18
  148. package/build/es/src/portfolio-projects-v1-project-in-collection.types.js.map +0 -1
  149. package/build/es/src/portfolio-projects-v1-project-in-collection.universal.d.ts +0 -574
  150. package/build/es/src/portfolio-projects-v1-project-in-collection.universal.js +0 -191
  151. package/build/es/src/portfolio-projects-v1-project-in-collection.universal.js.map +0 -1
  152. package/build/es/src/portfolio-projects-v1-project.context.d.ts +0 -8
  153. package/build/es/src/portfolio-projects-v1-project.context.js +0 -62
  154. package/build/es/src/portfolio-projects-v1-project.context.js.map +0 -1
  155. package/build/es/src/portfolio-projects-v1-project.http.d.ts +0 -17
  156. package/build/es/src/portfolio-projects-v1-project.http.js +0 -375
  157. package/build/es/src/portfolio-projects-v1-project.http.js.map +0 -1
  158. package/build/es/src/portfolio-projects-v1-project.meta.d.ts +0 -24
  159. package/build/es/src/portfolio-projects-v1-project.meta.js +0 -110
  160. package/build/es/src/portfolio-projects-v1-project.meta.js.map +0 -1
  161. package/build/es/src/portfolio-projects-v1-project.public.d.ts +0 -109
  162. package/build/es/src/portfolio-projects-v1-project.public.js +0 -34
  163. package/build/es/src/portfolio-projects-v1-project.public.js.map +0 -1
  164. package/build/es/src/portfolio-projects-v1-project.types.d.ts +0 -1211
  165. package/build/es/src/portfolio-projects-v1-project.types.js +0 -109
  166. package/build/es/src/portfolio-projects-v1-project.types.js.map +0 -1
  167. package/build/es/src/portfolio-projects-v1-project.universal.d.ts +0 -1198
  168. package/build/es/src/portfolio-projects-v1-project.universal.js +0 -495
  169. package/build/es/src/portfolio-projects-v1-project.universal.js.map +0 -1
@@ -1,1211 +0,0 @@
1
- /** Project is the main entity of ProjectsService */
2
- export interface Project extends ProjectCoverOneOf {
3
- /** project's cover photo */
4
- coverImage?: CommonImage;
5
- /** project's cover video */
6
- coverVideo?: Video;
7
- /**
8
- * Project ID
9
- * @readonly
10
- */
11
- id?: string | null;
12
- /**
13
- * 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
14
- * @readonly
15
- */
16
- revision?: string | null;
17
- title?: string | null;
18
- description?: string | null;
19
- /** indicates if the project should be hidden from Portfolio */
20
- hidden?: boolean | null;
21
- /** Collections must exist to be added to a project. can be created/updated/deleted using this //TODO */
22
- collectionIds?: string[];
23
- /** Custom project details */
24
- details?: ProjectDetail[];
25
- slug?: string | null;
26
- /**
27
- * Represents the time this Project was created
28
- * @readonly
29
- */
30
- createdDate?: Date;
31
- /**
32
- * Represents the time this Project was last updated
33
- * @readonly
34
- */
35
- updatedDate?: Date;
36
- /**
37
- * Url and relative url of Project - 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?: PageUrlV2;
41
- seoData?: SeoSchema;
42
- /**
43
- * indicates if the project is synced from external platform (via integration page) and therefore will be updated from the external platform on daily basis
44
- * @readonly
45
- */
46
- syncedProject?: boolean | null;
47
- }
48
- /** @oneof */
49
- export interface ProjectCoverOneOf {
50
- /** project's cover photo */
51
- coverImage?: CommonImage;
52
- /** project's cover video */
53
- coverVideo?: Video;
54
- }
55
- export interface CommonImage {
56
- /** Image info - Wix Media Image. */
57
- imageInfo?: Image;
58
- /** Focal point of the image. */
59
- focalPoint?: CommonPoint;
60
- }
61
- export declare enum ImageImageType {
62
- UNDEFINED = "UNDEFINED",
63
- WIX_MEDIA = "WIX_MEDIA",
64
- EXTERNAL = "EXTERNAL"
65
- }
66
- export interface Image {
67
- /** WixMedia image ID. Required. */
68
- id?: string;
69
- /**
70
- * Image URL.
71
- * @readonly
72
- */
73
- url?: string;
74
- /** Original image height. Required. */
75
- height?: number;
76
- /** Original image width. Required. */
77
- width?: number;
78
- /** Image alt text. */
79
- altText?: string | null;
80
- /** Image filename. */
81
- filename?: string | null;
82
- }
83
- export interface CommonPoint {
84
- /** X-coordinate of the focal point. */
85
- x?: number;
86
- /** Y-coordinate of the focal point. */
87
- y?: number;
88
- }
89
- export interface CommonUnsharpMasking {
90
- /**
91
- * Unsharp masking amount. Controls the sharpening strength. <br />
92
- *
93
- * Min: `0` <br />
94
- * Max: `5`
95
- */
96
- amount?: number | null;
97
- /** Unsharp masking radius in pixels. Controls the sharpening width. */
98
- radius?: number | null;
99
- /**
100
- * Unsharp masking threshold. Controls how different neighboring pixels must be for shapening to apply. <br />
101
- *
102
- * Min: `0` <br />
103
- * Max: `1`
104
- */
105
- threshold?: number | null;
106
- }
107
- export interface Video {
108
- /** Video info - Wix Media Image. */
109
- videoInfo?: VideoV2;
110
- /** Manually defined Video duration in milliseconds. */
111
- durationInMillis?: number | null;
112
- }
113
- export interface VideoV2 {
114
- /** WixMedia ID. Required. */
115
- id?: string;
116
- /** Video URL. */
117
- url?: string;
118
- /** Available resolutions for the video, starting with the optimal resolution. */
119
- resolutions?: VideoResolution[];
120
- /** Video filename. */
121
- filename?: string | null;
122
- /** Video posters. */
123
- posters?: Image[];
124
- }
125
- export interface VideoResolution {
126
- /** Video URL. Required. */
127
- url?: string;
128
- /** Video height. Required. */
129
- height?: number;
130
- /** Video width. Required. */
131
- width?: number;
132
- /** Video format for example, mp4, hls. Required. */
133
- format?: string;
134
- /** Video quality for example 480p, 720p. */
135
- quality?: string | null;
136
- /** Video filename. */
137
- filename?: string | null;
138
- }
139
- export interface ProjectDetail extends ProjectDetailValueOneOf {
140
- text?: string;
141
- link?: DetailsLink;
142
- label?: string;
143
- }
144
- /** @oneof */
145
- export interface ProjectDetailValueOneOf {
146
- text?: string;
147
- link?: DetailsLink;
148
- }
149
- export interface DetailsLink {
150
- text?: string | null;
151
- /** link to external source */
152
- url?: string | null;
153
- /**
154
- * Whether the link opens in a new tab or window. One of:
155
- * * `'_blank'`: The link opens in a new tab or window.
156
- * * `'_self'`: The link opens in the same tab or window.
157
- */
158
- target?: string | null;
159
- }
160
- export interface ProjectSource {
161
- appDefId?: string;
162
- externalId?: string;
163
- sourceName?: string;
164
- description?: string | null;
165
- /** link to external source */
166
- link?: string | null;
167
- syncStatus?: SyncStatus;
168
- /** fields that are synced from external source, should be blocked to update in UI */
169
- notEditableFields?: string[];
170
- /** last date the project was synced */
171
- lastSync?: Date;
172
- }
173
- export declare enum SyncStatus {
174
- SYNCED = "SYNCED",
175
- SYNCING = "SYNCING",
176
- NOT_SYNCED = "NOT_SYNCED"
177
- }
178
- export interface PageUrlV2 {
179
- /** The relative path for the page within the site. For example, `/product-page/a-product`. */
180
- relativePath?: string;
181
- /** The page's full URL. For example, `https://mysite.com/product-page/a-product`. */
182
- url?: string | null;
183
- }
184
- /**
185
- * 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.
186
- * The search engines use this information for ranking purposes, or to display snippets in the search results.
187
- * 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.
188
- */
189
- export interface SeoSchema {
190
- /** SEO tag information. */
191
- tags?: Tag[];
192
- /** SEO general settings. */
193
- settings?: Settings;
194
- }
195
- export interface Keyword {
196
- /** Keyword value. */
197
- term?: string;
198
- /** Whether the keyword is the main focus keyword. */
199
- isMain?: boolean;
200
- }
201
- export interface Tag {
202
- /**
203
- * SEO tag type.
204
- *
205
- *
206
- * Supported values: `title`, `meta`, `script`, `link`.
207
- */
208
- type?: string;
209
- /**
210
- * A `{'key':'value'}` pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
211
- * For example: `{'name': 'description', 'content': 'the description itself'}`.
212
- */
213
- props?: Record<string, any> | null;
214
- /** SEO tag meta data. For example, `{height: 300, width: 240}`. */
215
- meta?: Record<string, any> | null;
216
- /** SEO tag inner content. For example, `<title> inner content </title>`. */
217
- children?: string;
218
- /** Whether the tag is a custom tag. */
219
- custom?: boolean;
220
- /** Whether the tag is disabled. */
221
- disabled?: boolean;
222
- }
223
- export interface Settings {
224
- /**
225
- * Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
226
- *
227
- *
228
- * Default: `false` (Auto Redirect is enabled.)
229
- */
230
- preventAutoRedirect?: boolean;
231
- /** User-selected keyword terms for a specific page. */
232
- keywords?: Keyword[];
233
- }
234
- export interface MenuSettingUpdatedEvent {
235
- }
236
- export interface GetProjectPageDataRequest {
237
- /** Slug of the project's current collection */
238
- collectionSlug?: string;
239
- /** Project's slug */
240
- projectSlug?: string;
241
- }
242
- export interface GetProjectPageDataResponse {
243
- project?: Project;
244
- previousProject?: ProjectSlug;
245
- nextProject?: ProjectSlug;
246
- }
247
- export interface ProjectSlug {
248
- /** Project id */
249
- projectId?: string;
250
- slug?: string;
251
- }
252
- export interface CreateNewPortfolioAppRequest {
253
- }
254
- export interface CreateNewPortfolioAppResponse {
255
- }
256
- export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
257
- /** Emitted on a meta site creation. */
258
- siteCreated?: SiteCreated;
259
- /** Emitted on a meta site transfer completion. */
260
- siteTransferred?: SiteTransferred;
261
- /** Emitted on a meta site deletion. */
262
- siteDeleted?: SiteDeleted;
263
- /** Emitted on a meta site restoration. */
264
- siteUndeleted?: SiteUndeleted;
265
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
266
- sitePublished?: SitePublished;
267
- /** Emitted on a meta site unpublish. */
268
- siteUnpublished?: SiteUnpublished;
269
- /** Emitted when meta site is marked as template. */
270
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
271
- /** Emitted when meta site is marked as a WixSite. */
272
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
273
- /** Emitted when an application is provisioned (installed). */
274
- serviceProvisioned?: ServiceProvisioned;
275
- /** Emitted when an application is removed (uninstalled). */
276
- serviceRemoved?: ServiceRemoved;
277
- /** Emitted when meta site name (URL slug) is changed. */
278
- siteRenamedPayload?: SiteRenamed;
279
- /** Emitted when meta site was permanently deleted. */
280
- hardDeleted?: SiteHardDeleted;
281
- /** Emitted on a namespace change. */
282
- namespaceChanged?: NamespaceChanged;
283
- /** Emitted when Studio is attached. */
284
- studioAssigned?: StudioAssigned;
285
- /** Emitted when Studio is detached. */
286
- studioUnassigned?: StudioUnassigned;
287
- /** A meta site id. */
288
- metaSiteId?: string;
289
- /** A meta site version. Monotonically increasing. */
290
- version?: string;
291
- /** A timestamp of the event. */
292
- timestamp?: string;
293
- /** A list of "assets" (applications). The same as MetaSiteContext. */
294
- assets?: Asset[];
295
- }
296
- /** @oneof */
297
- export interface MetaSiteSpecialEventPayloadOneOf {
298
- /** Emitted on a meta site creation. */
299
- siteCreated?: SiteCreated;
300
- /** Emitted on a meta site transfer completion. */
301
- siteTransferred?: SiteTransferred;
302
- /** Emitted on a meta site deletion. */
303
- siteDeleted?: SiteDeleted;
304
- /** Emitted on a meta site restoration. */
305
- siteUndeleted?: SiteUndeleted;
306
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
307
- sitePublished?: SitePublished;
308
- /** Emitted on a meta site unpublish. */
309
- siteUnpublished?: SiteUnpublished;
310
- /** Emitted when meta site is marked as template. */
311
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
312
- /** Emitted when meta site is marked as a WixSite. */
313
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
314
- /** Emitted when an application is provisioned (installed). */
315
- serviceProvisioned?: ServiceProvisioned;
316
- /** Emitted when an application is removed (uninstalled). */
317
- serviceRemoved?: ServiceRemoved;
318
- /** Emitted when meta site name (URL slug) is changed. */
319
- siteRenamedPayload?: SiteRenamed;
320
- /** Emitted when meta site was permanently deleted. */
321
- hardDeleted?: SiteHardDeleted;
322
- /** Emitted on a namespace change. */
323
- namespaceChanged?: NamespaceChanged;
324
- /** Emitted when Studio is attached. */
325
- studioAssigned?: StudioAssigned;
326
- /** Emitted when Studio is detached. */
327
- studioUnassigned?: StudioUnassigned;
328
- }
329
- export interface Asset {
330
- /** An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum). */
331
- appDefId?: string;
332
- /** An instance id. For legacy reasons may be UUID or a string. */
333
- instanceId?: string;
334
- /** An application state. */
335
- state?: State;
336
- }
337
- export declare enum State {
338
- UNKNOWN = "UNKNOWN",
339
- ENABLED = "ENABLED",
340
- DISABLED = "DISABLED",
341
- PENDING = "PENDING",
342
- DEMO = "DEMO"
343
- }
344
- export interface SiteCreated {
345
- /** A template identifier (empty if not created from a template). */
346
- originTemplateId?: string;
347
- /** An account id of the owner. */
348
- ownerId?: string;
349
- /** A context in which meta site was created. */
350
- context?: SiteCreatedContext;
351
- /**
352
- * A meta site id from which this site was created.
353
- *
354
- * In case of a creation from a template it's a template id.
355
- * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
356
- */
357
- originMetaSiteId?: string | null;
358
- /** A meta site name (URL slug). */
359
- siteName?: string;
360
- /** A namespace. */
361
- namespace?: Namespace;
362
- }
363
- export declare enum SiteCreatedContext {
364
- /** A valid option, we don't expose all reasons why site might be created. */
365
- OTHER = "OTHER",
366
- /** A meta site was created from template. */
367
- FROM_TEMPLATE = "FROM_TEMPLATE",
368
- /** A meta site was created by copying of the transfferred meta site. */
369
- DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
370
- /** A copy of existing meta site. */
371
- DUPLICATE = "DUPLICATE",
372
- /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
373
- OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
374
- /** deprecated A meta site was created for Flash editor. */
375
- FLASH = "FLASH"
376
- }
377
- export declare enum Namespace {
378
- UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
379
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
380
- WIX = "WIX",
381
- /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
382
- SHOUT_OUT = "SHOUT_OUT",
383
- /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
384
- ALBUMS = "ALBUMS",
385
- /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
386
- WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
387
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
388
- HOTELS = "HOTELS",
389
- /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
390
- CLUBS = "CLUBS",
391
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
392
- ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
393
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
394
- DEV_SITE = "DEV_SITE",
395
- /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
396
- LOGOS = "LOGOS",
397
- /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
398
- VIDEO_MAKER = "VIDEO_MAKER",
399
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
400
- PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
401
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
402
- DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
403
- /**
404
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
405
- *
406
- * Meta site with this namespace will *not* be shown in a user's site list by default.
407
- */
408
- HTML_DRAFT = "HTML_DRAFT",
409
- /**
410
- * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
411
- * Will be accessible from Site List and will not have a website app.
412
- * Once the user attaches a site, the site will become a regular wixsite.
413
- */
414
- SITELESS_BUSINESS = "SITELESS_BUSINESS",
415
- /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
416
- CREATOR_ECONOMY = "CREATOR_ECONOMY",
417
- /** It is to be used in the Business First efforts. */
418
- DASHBOARD_FIRST = "DASHBOARD_FIRST",
419
- /** Bookings business flow with no site. */
420
- ANYWHERE = "ANYWHERE",
421
- /** Namespace for Headless Backoffice with no editor */
422
- HEADLESS = "HEADLESS",
423
- /**
424
- * Namespace for master site that will exist in parent account that will be referenced by subaccounts
425
- * The site will be used for account level CSM feature for enterprise
426
- */
427
- ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
428
- /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
429
- RISE = "RISE",
430
- /**
431
- * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
432
- * There's a blank site behind the scene but it's blank).
433
- * The Mobile company will be the owner of this namespace.
434
- */
435
- BRANDED_FIRST = "BRANDED_FIRST"
436
- }
437
- /** Site transferred to another user. */
438
- export interface SiteTransferred {
439
- /** A previous owner id (user that transfers meta site). */
440
- oldOwnerId?: string;
441
- /** A new owner id (user that accepts meta site). */
442
- newOwnerId?: string;
443
- }
444
- /** Soft deletion of the meta site. Could be restored. */
445
- export interface SiteDeleted {
446
- /** A deletion context. */
447
- deleteContext?: DeleteContext;
448
- }
449
- export interface DeleteContext {
450
- /** When the meta site was deleted. */
451
- dateDeleted?: Date;
452
- /** A status. */
453
- deleteStatus?: DeleteStatus;
454
- /** A reason (flow). */
455
- deleteOrigin?: string;
456
- /** A service that deleted it. */
457
- initiatorId?: string | null;
458
- }
459
- export declare enum DeleteStatus {
460
- UNKNOWN = "UNKNOWN",
461
- TRASH = "TRASH",
462
- DELETED = "DELETED",
463
- PENDING_PURGE = "PENDING_PURGE"
464
- }
465
- /** Restoration of the meta site. */
466
- export interface SiteUndeleted {
467
- }
468
- /** First publish of a meta site. Or subsequent publish after unpublish. */
469
- export interface SitePublished {
470
- }
471
- export interface SiteUnpublished {
472
- /** A list of URLs previously associated with the meta site. */
473
- urls?: string[];
474
- }
475
- export interface SiteMarkedAsTemplate {
476
- }
477
- export interface SiteMarkedAsWixSite {
478
- }
479
- export interface ServiceProvisioned {
480
- /** Either UUID or EmbeddedServiceType. */
481
- appDefId?: string;
482
- /** Not only UUID. Something here could be something weird. */
483
- instanceId?: string;
484
- /** An instance id from which this instance is originated. */
485
- originInstanceId?: string;
486
- /** A version. */
487
- version?: string | null;
488
- }
489
- export interface ServiceRemoved {
490
- /** Either UUID or EmbeddedServiceType. */
491
- appDefId?: string;
492
- /** Not only UUID. Something here could be something weird. */
493
- instanceId?: string;
494
- /** A version. */
495
- version?: string | null;
496
- }
497
- /** Rename of the site. Meaning, free public url has been changed as well. */
498
- export interface SiteRenamed {
499
- /** A new meta site name (URL slug). */
500
- newSiteName?: string;
501
- /** A previous meta site name (URL slug). */
502
- oldSiteName?: string;
503
- }
504
- /**
505
- * Hard deletion of the meta site.
506
- *
507
- * Could not be restored. Therefore it's desirable to cleanup data.
508
- */
509
- export interface SiteHardDeleted {
510
- /** A deletion context. */
511
- deleteContext?: DeleteContext;
512
- }
513
- export interface NamespaceChanged {
514
- /** A previous namespace. */
515
- oldNamespace?: Namespace;
516
- /** A new namespace. */
517
- newNamespace?: Namespace;
518
- }
519
- /** Assigned Studio editor */
520
- export interface StudioAssigned {
521
- }
522
- /** Unassigned Studio editor */
523
- export interface StudioUnassigned {
524
- }
525
- export interface Empty {
526
- }
527
- export interface InvalidateCache extends InvalidateCacheGetByOneOf {
528
- /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
529
- metaSiteId?: string;
530
- /** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
531
- siteId?: string;
532
- /** Invalidate by App */
533
- app?: App;
534
- /** Invalidate by page id */
535
- page?: Page;
536
- /** Invalidate by URI path */
537
- uri?: URI;
538
- /** tell us why you're invalidating the cache. You don't need to add your app name */
539
- reason?: string | null;
540
- /** Is local DS */
541
- localDc?: boolean;
542
- }
543
- /** @oneof */
544
- export interface InvalidateCacheGetByOneOf {
545
- /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
546
- metaSiteId?: string;
547
- /** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
548
- siteId?: string;
549
- /** Invalidate by App */
550
- app?: App;
551
- /** Invalidate by page id */
552
- page?: Page;
553
- /** Invalidate by URI path */
554
- uri?: URI;
555
- }
556
- export interface App {
557
- /** The AppDefId */
558
- appDefId?: string;
559
- /** The instance Id */
560
- instanceId?: string;
561
- }
562
- export interface Page {
563
- /** the msid the page is on */
564
- metaSiteId?: string;
565
- /** Invalidate by Page ID */
566
- pageId?: string;
567
- }
568
- export interface URI {
569
- /** the msid the URI is on */
570
- metaSiteId?: string;
571
- /** URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes */
572
- uriPath?: string;
573
- }
574
- export interface SyncProjectWithCollectionMappings {
575
- /** Id of recently updated Project */
576
- projectId?: string;
577
- /** fields that were updated in the given project */
578
- fieldMaskPaths?: string[];
579
- }
580
- export interface CreateProjectRequest {
581
- /** Project to be created */
582
- project: Project;
583
- }
584
- export interface CreateProjectResponse {
585
- /** The created Project */
586
- project?: Project;
587
- }
588
- export interface GetProjectRequest {
589
- /** Id of the Project to retrieve */
590
- projectId: string;
591
- includePageUrl?: boolean | null;
592
- }
593
- export interface GetProjectResponse {
594
- /** The retrieved Project */
595
- project?: Project;
596
- }
597
- export interface ListProjectsRequest {
598
- /** Projects limit per response is maximum 100, In the first request the cursor is None */
599
- paging?: CursorPaging;
600
- includePageUrl?: boolean | null;
601
- }
602
- export interface CursorPaging {
603
- /** Maximum number of items to return in the results. */
604
- limit?: number | null;
605
- /**
606
- * Pointer to the next or previous page in the list of results.
607
- *
608
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
609
- * Not relevant for the first request.
610
- */
611
- cursor?: string | null;
612
- }
613
- export interface ListProjectsResponse {
614
- /** The retrieved Projects */
615
- projects?: Project[];
616
- /** Paging metadata */
617
- metadata?: PagingMetadataV2;
618
- }
619
- export interface PagingMetadataV2 {
620
- /** Number of items returned in the response. */
621
- count?: number | null;
622
- /** Offset that was requested. */
623
- offset?: number | null;
624
- /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
625
- total?: number | null;
626
- /** Flag that indicates the server failed to calculate the `total` field. */
627
- tooManyToCount?: boolean | null;
628
- /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
629
- cursors?: Cursors;
630
- }
631
- export interface Cursors {
632
- /** Cursor string pointing to the next page in the list of results. */
633
- next?: string | null;
634
- /** Cursor pointing to the previous page in the list of results. */
635
- prev?: string | null;
636
- }
637
- export interface UpdateProjectRequest {
638
- /** Project to be updated, may be partial */
639
- project: Project;
640
- }
641
- export interface UpdateProjectResponse {
642
- /** The updated Project */
643
- project?: Project;
644
- }
645
- export interface BulkUpdateProjectsRequest {
646
- /** projects to be updated. */
647
- projects?: MaskedProject[];
648
- returnFullEntity?: boolean | null;
649
- }
650
- export interface MaskedProject {
651
- project?: Project;
652
- }
653
- export interface BulkUpdateProjectsResponse {
654
- /** Array with all updated items results. */
655
- results?: BulkUpdateProjectsResult[];
656
- /** Holds metadata of the entire bulk update operation */
657
- bulkActionMetadata?: BulkActionMetadata;
658
- }
659
- export interface BulkUpdateProjectsResult {
660
- /** Holds information about an item in bulk update - id, index in original request array, action successful, error (if failed). */
661
- itemMetadata?: ItemMetadata;
662
- project?: Project;
663
- }
664
- export interface ItemMetadata {
665
- /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
666
- id?: string | null;
667
- /** Index of the item within the request array. Allows for correlation between request and response items. */
668
- originalIndex?: number;
669
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
670
- success?: boolean;
671
- /** Details about the error in case of failure. */
672
- error?: ApplicationError;
673
- }
674
- export interface ApplicationError {
675
- /** Error code. */
676
- code?: string;
677
- /** Description of the error. */
678
- description?: string;
679
- /** Data related to the error. */
680
- data?: Record<string, any> | null;
681
- }
682
- export interface BulkActionMetadata {
683
- /** Number of items that were successfully processed. */
684
- totalSuccesses?: number;
685
- /** Number of items that couldn't be processed. */
686
- totalFailures?: number;
687
- /** Number of failures without details because detailed failure threshold was exceeded. */
688
- undetailedFailures?: number;
689
- }
690
- export interface DeleteProjectRequest {
691
- /** Id of the Project to delete */
692
- projectId: string;
693
- }
694
- export interface DeleteProjectResponse {
695
- /** Id of the deleted Project */
696
- projectId?: string;
697
- }
698
- export interface QueryProjectsRequest {
699
- /** WQL expression */
700
- query: QueryV2;
701
- includePageUrl?: boolean | null;
702
- }
703
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
704
- /** Paging options to limit and skip the number of items. */
705
- paging?: Paging;
706
- /** 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`. */
707
- cursorPaging?: CursorPaging;
708
- /**
709
- * Filter object in the following format:
710
- * `"filter" : {
711
- * "fieldName1": "value1",
712
- * "fieldName2":{"$operator":"value2"}
713
- * }`
714
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
715
- */
716
- filter?: Record<string, any> | null;
717
- /**
718
- * Sort object in the following format:
719
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
720
- */
721
- sort?: Sorting[];
722
- /** 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. */
723
- fields?: string[];
724
- /** 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. */
725
- fieldsets?: string[];
726
- }
727
- /** @oneof */
728
- export interface QueryV2PagingMethodOneOf {
729
- /** Paging options to limit and skip the number of items. */
730
- paging?: Paging;
731
- /** 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`. */
732
- cursorPaging?: CursorPaging;
733
- }
734
- export interface Sorting {
735
- /** Name of the field to sort by. */
736
- fieldName?: string;
737
- /** Sort order. */
738
- order?: SortOrder;
739
- }
740
- export declare enum SortOrder {
741
- ASC = "ASC",
742
- DESC = "DESC"
743
- }
744
- export interface Paging {
745
- /** Number of items to load. */
746
- limit?: number | null;
747
- /** Number of items to skip in the current sort order. */
748
- offset?: number | null;
749
- }
750
- export interface QueryProjectsResponse {
751
- /** The retrieved Projects */
752
- projects?: Project[];
753
- /** Paging metadata */
754
- metadata?: PagingMetadataV2;
755
- }
756
- export interface UpdateProjectOrderInCollectionRequest {
757
- /** Id of the Project to update its order */
758
- projectId?: string;
759
- /** Id of the collection in which the project will be re-ordered */
760
- collectionId?: string;
761
- /** The new sort order of the project in the given collection */
762
- sortOrder?: number | null;
763
- }
764
- export interface UpdateProjectOrderInCollectionResponse {
765
- /** project with new sort order set */
766
- projectInCollection?: ProjectInCollection;
767
- }
768
- export interface ProjectInCollection {
769
- /** Collection ID */
770
- collectionId?: string;
771
- /** Project */
772
- project?: Project;
773
- /** The sort order of the project in the given Collection */
774
- sortOrder?: number | null;
775
- }
776
- export interface QueryProjectWithCollectionInfoRequest {
777
- /** WQL expression */
778
- query?: QueryV2;
779
- includePageUrl?: boolean | null;
780
- }
781
- export interface QueryProjectWithCollectionInfoResponse {
782
- /** The retrieved Projects in Collection */
783
- projects?: ProjectInCollection[];
784
- /** Paging metadata */
785
- metadata?: PagingMetadataV2;
786
- }
787
- export interface DomainEvent extends DomainEventBodyOneOf {
788
- createdEvent?: EntityCreatedEvent;
789
- updatedEvent?: EntityUpdatedEvent;
790
- deletedEvent?: EntityDeletedEvent;
791
- actionEvent?: ActionEvent;
792
- /**
793
- * Unique event ID.
794
- * Allows clients to ignore duplicate webhooks.
795
- */
796
- id?: string;
797
- /**
798
- * Assumes actions are also always typed to an entity_type
799
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
800
- */
801
- entityFqdn?: string;
802
- /**
803
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
804
- * This is although the created/updated/deleted notion is duplication of the oneof types
805
- * Example: created/updated/deleted/started/completed/email_opened
806
- */
807
- slug?: string;
808
- /** ID of the entity associated with the event. */
809
- entityId?: string;
810
- /** Event timestamp. */
811
- eventTime?: Date;
812
- /**
813
- * Whether the event was triggered as a result of a privacy regulation application
814
- * (for example, GDPR).
815
- */
816
- triggeredByAnonymizeRequest?: boolean | null;
817
- /** If present, indicates the action that triggered the event. */
818
- originatedFrom?: string | null;
819
- /**
820
- * A sequence number defining the order of updates to the underlying entity.
821
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
822
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
823
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
824
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
825
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
826
- */
827
- entityEventSequence?: string | null;
828
- }
829
- /** @oneof */
830
- export interface DomainEventBodyOneOf {
831
- createdEvent?: EntityCreatedEvent;
832
- updatedEvent?: EntityUpdatedEvent;
833
- deletedEvent?: EntityDeletedEvent;
834
- actionEvent?: ActionEvent;
835
- }
836
- export interface EntityCreatedEvent {
837
- entityAsJson?: string;
838
- }
839
- export interface EntityUpdatedEvent {
840
- /**
841
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
842
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
843
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
844
- */
845
- currentEntityAsJson?: string;
846
- }
847
- export interface EntityDeletedEvent {
848
- /** Entity that was deleted */
849
- deletedEntityAsJson?: string | null;
850
- }
851
- export interface ActionEvent {
852
- bodyAsJson?: string;
853
- }
854
- export interface CreateProjectResponseNonNullableFields {
855
- project?: {
856
- coverImage?: {
857
- type: ImageImageType;
858
- imageInfo?: {
859
- id: string;
860
- url: string;
861
- height: number;
862
- width: number;
863
- };
864
- focalPoint?: {
865
- x: number;
866
- y: number;
867
- };
868
- };
869
- coverVideo?: {
870
- videoInfo?: {
871
- id: string;
872
- url: string;
873
- resolutions: {
874
- url: string;
875
- height: number;
876
- width: number;
877
- poster?: {
878
- id: string;
879
- url: string;
880
- height: number;
881
- width: number;
882
- };
883
- format: string;
884
- }[];
885
- posters: {
886
- id: string;
887
- url: string;
888
- height: number;
889
- width: number;
890
- }[];
891
- };
892
- };
893
- collectionIds: string[];
894
- details: {
895
- text: string;
896
- label: string;
897
- }[];
898
- source?: {
899
- appDefId: string;
900
- externalId: string;
901
- sourceName: string;
902
- syncStatus: SyncStatus;
903
- notEditableFields: string[];
904
- };
905
- url?: {
906
- relativePath: string;
907
- };
908
- seoData?: {
909
- tags: {
910
- type: string;
911
- children: string;
912
- custom: boolean;
913
- disabled: boolean;
914
- }[];
915
- settings?: {
916
- preventAutoRedirect: boolean;
917
- keywords: {
918
- term: string;
919
- isMain: boolean;
920
- }[];
921
- };
922
- };
923
- };
924
- }
925
- export interface GetProjectResponseNonNullableFields {
926
- project?: {
927
- coverImage?: {
928
- type: ImageImageType;
929
- imageInfo?: {
930
- id: string;
931
- url: string;
932
- height: number;
933
- width: number;
934
- };
935
- focalPoint?: {
936
- x: number;
937
- y: number;
938
- };
939
- };
940
- coverVideo?: {
941
- videoInfo?: {
942
- id: string;
943
- url: string;
944
- resolutions: {
945
- url: string;
946
- height: number;
947
- width: number;
948
- poster?: {
949
- id: string;
950
- url: string;
951
- height: number;
952
- width: number;
953
- };
954
- format: string;
955
- }[];
956
- posters: {
957
- id: string;
958
- url: string;
959
- height: number;
960
- width: number;
961
- }[];
962
- };
963
- };
964
- collectionIds: string[];
965
- details: {
966
- text: string;
967
- label: string;
968
- }[];
969
- source?: {
970
- appDefId: string;
971
- externalId: string;
972
- sourceName: string;
973
- syncStatus: SyncStatus;
974
- notEditableFields: string[];
975
- };
976
- url?: {
977
- relativePath: string;
978
- };
979
- seoData?: {
980
- tags: {
981
- type: string;
982
- children: string;
983
- custom: boolean;
984
- disabled: boolean;
985
- }[];
986
- settings?: {
987
- preventAutoRedirect: boolean;
988
- keywords: {
989
- term: string;
990
- isMain: boolean;
991
- }[];
992
- };
993
- };
994
- };
995
- }
996
- export interface ListProjectsResponseNonNullableFields {
997
- projects: {
998
- coverImage?: {
999
- type: ImageImageType;
1000
- imageInfo?: {
1001
- id: string;
1002
- url: string;
1003
- height: number;
1004
- width: number;
1005
- };
1006
- focalPoint?: {
1007
- x: number;
1008
- y: number;
1009
- };
1010
- };
1011
- coverVideo?: {
1012
- videoInfo?: {
1013
- id: string;
1014
- url: string;
1015
- resolutions: {
1016
- url: string;
1017
- height: number;
1018
- width: number;
1019
- poster?: {
1020
- id: string;
1021
- url: string;
1022
- height: number;
1023
- width: number;
1024
- };
1025
- format: string;
1026
- }[];
1027
- posters: {
1028
- id: string;
1029
- url: string;
1030
- height: number;
1031
- width: number;
1032
- }[];
1033
- };
1034
- };
1035
- collectionIds: string[];
1036
- details: {
1037
- text: string;
1038
- label: string;
1039
- }[];
1040
- source?: {
1041
- appDefId: string;
1042
- externalId: string;
1043
- sourceName: string;
1044
- syncStatus: SyncStatus;
1045
- notEditableFields: string[];
1046
- };
1047
- url?: {
1048
- relativePath: string;
1049
- };
1050
- seoData?: {
1051
- tags: {
1052
- type: string;
1053
- children: string;
1054
- custom: boolean;
1055
- disabled: boolean;
1056
- }[];
1057
- settings?: {
1058
- preventAutoRedirect: boolean;
1059
- keywords: {
1060
- term: string;
1061
- isMain: boolean;
1062
- }[];
1063
- };
1064
- };
1065
- }[];
1066
- }
1067
- export interface UpdateProjectResponseNonNullableFields {
1068
- project?: {
1069
- coverImage?: {
1070
- type: ImageImageType;
1071
- imageInfo?: {
1072
- id: string;
1073
- url: string;
1074
- height: number;
1075
- width: number;
1076
- };
1077
- focalPoint?: {
1078
- x: number;
1079
- y: number;
1080
- };
1081
- };
1082
- coverVideo?: {
1083
- videoInfo?: {
1084
- id: string;
1085
- url: string;
1086
- resolutions: {
1087
- url: string;
1088
- height: number;
1089
- width: number;
1090
- poster?: {
1091
- id: string;
1092
- url: string;
1093
- height: number;
1094
- width: number;
1095
- };
1096
- format: string;
1097
- }[];
1098
- posters: {
1099
- id: string;
1100
- url: string;
1101
- height: number;
1102
- width: number;
1103
- }[];
1104
- };
1105
- };
1106
- collectionIds: string[];
1107
- details: {
1108
- text: string;
1109
- label: string;
1110
- }[];
1111
- source?: {
1112
- appDefId: string;
1113
- externalId: string;
1114
- sourceName: string;
1115
- syncStatus: SyncStatus;
1116
- notEditableFields: string[];
1117
- };
1118
- url?: {
1119
- relativePath: string;
1120
- };
1121
- seoData?: {
1122
- tags: {
1123
- type: string;
1124
- children: string;
1125
- custom: boolean;
1126
- disabled: boolean;
1127
- }[];
1128
- settings?: {
1129
- preventAutoRedirect: boolean;
1130
- keywords: {
1131
- term: string;
1132
- isMain: boolean;
1133
- }[];
1134
- };
1135
- };
1136
- };
1137
- }
1138
- export interface DeleteProjectResponseNonNullableFields {
1139
- projectId: string;
1140
- }
1141
- export interface QueryProjectsResponseNonNullableFields {
1142
- projects: {
1143
- coverImage?: {
1144
- type: ImageImageType;
1145
- imageInfo?: {
1146
- id: string;
1147
- url: string;
1148
- height: number;
1149
- width: number;
1150
- };
1151
- focalPoint?: {
1152
- x: number;
1153
- y: number;
1154
- };
1155
- };
1156
- coverVideo?: {
1157
- videoInfo?: {
1158
- id: string;
1159
- url: string;
1160
- resolutions: {
1161
- url: string;
1162
- height: number;
1163
- width: number;
1164
- poster?: {
1165
- id: string;
1166
- url: string;
1167
- height: number;
1168
- width: number;
1169
- };
1170
- format: string;
1171
- }[];
1172
- posters: {
1173
- id: string;
1174
- url: string;
1175
- height: number;
1176
- width: number;
1177
- }[];
1178
- };
1179
- };
1180
- collectionIds: string[];
1181
- details: {
1182
- text: string;
1183
- label: string;
1184
- }[];
1185
- source?: {
1186
- appDefId: string;
1187
- externalId: string;
1188
- sourceName: string;
1189
- syncStatus: SyncStatus;
1190
- notEditableFields: string[];
1191
- };
1192
- url?: {
1193
- relativePath: string;
1194
- };
1195
- seoData?: {
1196
- tags: {
1197
- type: string;
1198
- children: string;
1199
- custom: boolean;
1200
- disabled: boolean;
1201
- }[];
1202
- settings?: {
1203
- preventAutoRedirect: boolean;
1204
- keywords: {
1205
- term: string;
1206
- isMain: boolean;
1207
- }[];
1208
- };
1209
- };
1210
- }[];
1211
- }