@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
@@ -1,5 +1,4 @@
1
- import { NonNullablePaths } from '@wix/sdk-types';
2
- export interface Project extends ProjectCoverOneOf {
1
+ interface Project extends ProjectCoverOneOf {
3
2
  /** Project cover image. */
4
3
  coverImage?: Image;
5
4
  /** Project cover video. */
@@ -53,32 +52,30 @@ export interface Project extends ProjectCoverOneOf {
53
52
  seoData?: SeoSchema;
54
53
  }
55
54
  /** @oneof */
56
- export interface ProjectCoverOneOf {
55
+ interface ProjectCoverOneOf {
57
56
  /** Project cover image. */
58
57
  coverImage?: Image;
59
58
  /** Project cover video. */
60
59
  coverVideo?: Video;
61
60
  }
62
- export interface Image {
61
+ interface Image {
63
62
  /** Information about the Wix Media image. */
64
63
  imageInfo?: string;
65
64
  /** Focal point of the image. */
66
65
  focalPoint?: Point;
67
66
  }
68
- export declare enum ImageType {
67
+ declare enum ImageType {
69
68
  UNDEFINED = "UNDEFINED",
70
69
  WIX_MEDIA = "WIX_MEDIA",
71
70
  EXTERNAL = "EXTERNAL"
72
71
  }
73
- /** @enumType */
74
- export type ImageTypeWithLiterals = ImageType | 'UNDEFINED' | 'WIX_MEDIA' | 'EXTERNAL';
75
- export interface Point {
72
+ interface Point {
76
73
  /** X-coordinate of the focal point. */
77
74
  x?: number;
78
75
  /** Y-coordinate of the focal point. */
79
76
  y?: number;
80
77
  }
81
- export interface UnsharpMasking {
78
+ interface UnsharpMasking {
82
79
  /**
83
80
  * Unsharp masking amount. Controls the sharpening strength. <br />
84
81
  *
@@ -98,13 +95,13 @@ export interface UnsharpMasking {
98
95
  */
99
96
  threshold?: number | null;
100
97
  }
101
- export interface Video {
98
+ interface Video {
102
99
  /** Information about the Wix Media video. */
103
100
  videoInfo?: string;
104
101
  /** Manually defined Video duration in milliseconds. */
105
102
  durationInMillis?: number | null;
106
103
  }
107
- export interface VideoResolution {
104
+ interface VideoResolution {
108
105
  /** Video URL. Required. */
109
106
  url?: string;
110
107
  /** Video height. Required. */
@@ -124,7 +121,7 @@ export interface VideoResolution {
124
121
  * + `text`
125
122
  * + `link`
126
123
  */
127
- export interface ProjectDetail extends ProjectDetailValueOneOf {
124
+ interface ProjectDetail extends ProjectDetailValueOneOf {
128
125
  /** Project label in plain text format. */
129
126
  text?: string;
130
127
  /** Project label in link format. */
@@ -133,13 +130,13 @@ export interface ProjectDetail extends ProjectDetailValueOneOf {
133
130
  label?: string;
134
131
  }
135
132
  /** @oneof */
136
- export interface ProjectDetailValueOneOf {
133
+ interface ProjectDetailValueOneOf {
137
134
  /** Project label in plain text format. */
138
135
  text?: string;
139
136
  /** Project label in link format. */
140
137
  link?: DetailsLink;
141
138
  }
142
- export interface DetailsLink {
139
+ interface DetailsLink {
143
140
  /** Display text of the link. */
144
141
  text?: string | null;
145
142
  /**
@@ -154,7 +151,7 @@ export interface DetailsLink {
154
151
  */
155
152
  target?: string | null;
156
153
  }
157
- export interface ProjectSource {
154
+ interface ProjectSource {
158
155
  /**
159
156
  * App definition id
160
157
  * @immutable
@@ -188,25 +185,25 @@ export interface ProjectSource {
188
185
  /** last date the project was synced */
189
186
  lastSync?: Date | null;
190
187
  }
191
- export declare enum SyncStatus {
188
+ declare enum SyncStatus {
192
189
  SYNCED = "SYNCED",
193
190
  SYNCING = "SYNCING",
194
191
  NOT_SYNCED = "NOT_SYNCED"
195
192
  }
196
193
  /** @enumType */
197
- export type SyncStatusWithLiterals = SyncStatus | 'SYNCED' | 'SYNCING' | 'NOT_SYNCED';
194
+ type SyncStatusWithLiterals = SyncStatus | 'SYNCED' | 'SYNCING' | 'NOT_SYNCED';
198
195
  /**
199
196
  * 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.
200
197
  * The search engines use this information for ranking purposes, or to display snippets in the search results.
201
198
  * 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.
202
199
  */
203
- export interface SeoSchema {
200
+ interface SeoSchema {
204
201
  /** SEO tag information. */
205
202
  tags?: Tag[];
206
203
  /** SEO general settings. */
207
204
  settings?: Settings;
208
205
  }
209
- export interface Keyword {
206
+ interface Keyword {
210
207
  /** Keyword value. */
211
208
  term?: string;
212
209
  /** Whether the keyword is the main focus keyword. */
@@ -217,7 +214,7 @@ export interface Keyword {
217
214
  */
218
215
  origin?: string | null;
219
216
  }
220
- export interface Tag {
217
+ interface Tag {
221
218
  /**
222
219
  * SEO tag type.
223
220
  *
@@ -239,7 +236,7 @@ export interface Tag {
239
236
  /** Whether the tag is disabled. */
240
237
  disabled?: boolean;
241
238
  }
242
- export interface Settings {
239
+ interface Settings {
243
240
  /**
244
241
  * Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
245
242
  *
@@ -253,15 +250,15 @@ export interface Settings {
253
250
  */
254
251
  keywords?: Keyword[];
255
252
  }
256
- export interface MenuSettingUpdatedEvent {
253
+ interface MenuSettingUpdatedEvent {
257
254
  }
258
- export interface GetProjectPageDataRequest {
255
+ interface GetProjectPageDataRequest {
259
256
  /** Slug of the project's current collection */
260
257
  collectionSlug?: string;
261
258
  /** Project's slug */
262
259
  projectSlug?: string;
263
260
  }
264
- export interface GetProjectPageDataResponse {
261
+ interface GetProjectPageDataResponse {
265
262
  /** Project data */
266
263
  project?: Project;
267
264
  /** Previous project slug */
@@ -269,7 +266,7 @@ export interface GetProjectPageDataResponse {
269
266
  /** Next project slug */
270
267
  nextProject?: ProjectSlug;
271
268
  }
272
- export interface ProjectSlug {
269
+ interface ProjectSlug {
273
270
  /**
274
271
  * Project id
275
272
  * @format GUID
@@ -278,11 +275,11 @@ export interface ProjectSlug {
278
275
  /** Project slug */
279
276
  slug?: string;
280
277
  }
281
- export interface CreateNewPortfolioAppRequest {
278
+ interface CreateNewPortfolioAppRequest {
282
279
  }
283
- export interface CreateNewPortfolioAppResponse {
280
+ interface CreateNewPortfolioAppResponse {
284
281
  }
285
- export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
282
+ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
286
283
  /** Emitted on a meta site creation. */
287
284
  siteCreated?: SiteCreated;
288
285
  /** Emitted on a meta site transfer completion. */
@@ -348,7 +345,7 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
348
345
  assets?: Asset[];
349
346
  }
350
347
  /** @oneof */
351
- export interface MetaSiteSpecialEventPayloadOneOf {
348
+ interface MetaSiteSpecialEventPayloadOneOf {
352
349
  /** Emitted on a meta site creation. */
353
350
  siteCreated?: SiteCreated;
354
351
  /** Emitted on a meta site transfer completion. */
@@ -398,7 +395,7 @@ export interface MetaSiteSpecialEventPayloadOneOf {
398
395
  /** Emitted when Picasso is detached. */
399
396
  picassoUnassigned?: PicassoUnassigned;
400
397
  }
401
- export interface Asset {
398
+ interface Asset {
402
399
  /**
403
400
  * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
404
401
  * @maxLength 36
@@ -412,7 +409,7 @@ export interface Asset {
412
409
  /** An application state. */
413
410
  state?: StateWithLiterals;
414
411
  }
415
- export declare enum State {
412
+ declare enum State {
416
413
  UNKNOWN = "UNKNOWN",
417
414
  ENABLED = "ENABLED",
418
415
  DISABLED = "DISABLED",
@@ -420,8 +417,8 @@ export declare enum State {
420
417
  DEMO = "DEMO"
421
418
  }
422
419
  /** @enumType */
423
- export type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
424
- export interface SiteCreated {
420
+ type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
421
+ interface SiteCreated {
425
422
  /**
426
423
  * A template identifier (empty if not created from a template).
427
424
  * @maxLength 36
@@ -450,7 +447,7 @@ export interface SiteCreated {
450
447
  /** A namespace. */
451
448
  namespace?: NamespaceWithLiterals;
452
449
  }
453
- export declare enum SiteCreatedContext {
450
+ declare enum SiteCreatedContext {
454
451
  /** A valid option, we don't expose all reasons why site might be created. */
455
452
  OTHER = "OTHER",
456
453
  /** A meta site was created from template. */
@@ -465,8 +462,8 @@ export declare enum SiteCreatedContext {
465
462
  FLASH = "FLASH"
466
463
  }
467
464
  /** @enumType */
468
- export type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
469
- export declare enum Namespace {
465
+ type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
466
+ declare enum Namespace {
470
467
  UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
471
468
  /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
472
469
  WIX = "WIX",
@@ -549,9 +546,9 @@ export declare enum Namespace {
549
546
  MIMIR = "MIMIR"
550
547
  }
551
548
  /** @enumType */
552
- export type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
549
+ type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
553
550
  /** Site transferred to another user. */
554
- export interface SiteTransferred {
551
+ interface SiteTransferred {
555
552
  /**
556
553
  * A previous owner id (user that transfers meta site).
557
554
  * @format GUID
@@ -564,11 +561,11 @@ export interface SiteTransferred {
564
561
  newOwnerId?: string;
565
562
  }
566
563
  /** Soft deletion of the meta site. Could be restored. */
567
- export interface SiteDeleted {
564
+ interface SiteDeleted {
568
565
  /** A deletion context. */
569
566
  deleteContext?: DeleteContext;
570
567
  }
571
- export interface DeleteContext {
568
+ interface DeleteContext {
572
569
  /** When the meta site was deleted. */
573
570
  dateDeleted?: Date | null;
574
571
  /** A status. */
@@ -584,7 +581,7 @@ export interface DeleteContext {
584
581
  */
585
582
  initiatorId?: string | null;
586
583
  }
587
- export declare enum DeleteStatus {
584
+ declare enum DeleteStatus {
588
585
  UNKNOWN = "UNKNOWN",
589
586
  TRASH = "TRASH",
590
587
  DELETED = "DELETED",
@@ -592,14 +589,14 @@ export declare enum DeleteStatus {
592
589
  PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
593
590
  }
594
591
  /** @enumType */
595
- export type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
592
+ type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
596
593
  /** Restoration of the meta site. */
597
- export interface SiteUndeleted {
594
+ interface SiteUndeleted {
598
595
  }
599
596
  /** First publish of a meta site. Or subsequent publish after unpublish. */
600
- export interface SitePublished {
597
+ interface SitePublished {
601
598
  }
602
- export interface SiteUnpublished {
599
+ interface SiteUnpublished {
603
600
  /**
604
601
  * A list of URLs previously associated with the meta site.
605
602
  * @maxLength 4000
@@ -607,9 +604,9 @@ export interface SiteUnpublished {
607
604
  */
608
605
  urls?: string[];
609
606
  }
610
- export interface SiteMarkedAsTemplate {
607
+ interface SiteMarkedAsTemplate {
611
608
  }
612
- export interface SiteMarkedAsWixSite {
609
+ interface SiteMarkedAsWixSite {
613
610
  }
614
611
  /**
615
612
  * Represents a service provisioned a site.
@@ -626,7 +623,7 @@ export interface SiteMarkedAsWixSite {
626
623
  * changes made to the original template afterward.
627
624
  * To ensure this, the TPA on the template gets a new instance_id.
628
625
  */
629
- export interface ServiceProvisioned {
626
+ interface ServiceProvisioned {
630
627
  /**
631
628
  * Either UUID or EmbeddedServiceType.
632
629
  * @maxLength 36
@@ -653,7 +650,7 @@ export interface ServiceProvisioned {
653
650
  */
654
651
  originMetaSiteId?: string | null;
655
652
  }
656
- export interface ServiceRemoved {
653
+ interface ServiceRemoved {
657
654
  /**
658
655
  * Either UUID or EmbeddedServiceType.
659
656
  * @maxLength 36
@@ -671,7 +668,7 @@ export interface ServiceRemoved {
671
668
  version?: string | null;
672
669
  }
673
670
  /** Rename of the site. Meaning, free public url has been changed as well. */
674
- export interface SiteRenamed {
671
+ interface SiteRenamed {
675
672
  /**
676
673
  * A new meta site name (URL slug).
677
674
  * @maxLength 20
@@ -688,21 +685,21 @@ export interface SiteRenamed {
688
685
  *
689
686
  * Could not be restored. Therefore it's desirable to cleanup data.
690
687
  */
691
- export interface SiteHardDeleted {
688
+ interface SiteHardDeleted {
692
689
  /** A deletion context. */
693
690
  deleteContext?: DeleteContext;
694
691
  }
695
- export interface NamespaceChanged {
692
+ interface NamespaceChanged {
696
693
  /** A previous namespace. */
697
694
  oldNamespace?: NamespaceWithLiterals;
698
695
  /** A new namespace. */
699
696
  newNamespace?: NamespaceWithLiterals;
700
697
  }
701
698
  /** Assigned Studio editor */
702
- export interface StudioAssigned {
699
+ interface StudioAssigned {
703
700
  }
704
701
  /** Unassigned Studio editor */
705
- export interface StudioUnassigned {
702
+ interface StudioUnassigned {
706
703
  }
707
704
  /**
708
705
  * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
@@ -712,13 +709,13 @@ export interface StudioUnassigned {
712
709
  *
713
710
  * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
714
711
  */
715
- export interface SiteUrlChanged {
712
+ interface SiteUrlChanged {
716
713
  }
717
714
  /**
718
715
  * Used at the end of the deletion flow for both draft sites and when a user deletes a site.
719
716
  * Consumed by other teams to remove relevant data.
720
717
  */
721
- export interface SitePurgedExternally {
718
+ interface SitePurgedExternally {
722
719
  /**
723
720
  * @maxLength 2048
724
721
  * @maxSize 100
@@ -728,20 +725,20 @@ export interface SitePurgedExternally {
728
725
  appDefId?: string[];
729
726
  }
730
727
  /** Assigned Odeditor */
731
- export interface OdeditorAssigned {
728
+ interface OdeditorAssigned {
732
729
  }
733
730
  /** Unassigned Odeditor */
734
- export interface OdeditorUnassigned {
731
+ interface OdeditorUnassigned {
735
732
  }
736
733
  /** Assigned Picasso editor */
737
- export interface PicassoAssigned {
734
+ interface PicassoAssigned {
738
735
  }
739
736
  /** Unassigned Picasso */
740
- export interface PicassoUnassigned {
737
+ interface PicassoUnassigned {
741
738
  }
742
- export interface Empty {
739
+ interface Empty {
743
740
  }
744
- export interface MessageEnvelope {
741
+ interface MessageEnvelope {
745
742
  /**
746
743
  * App instance ID.
747
744
  * @format GUID
@@ -757,7 +754,7 @@ export interface MessageEnvelope {
757
754
  /** Stringify payload. */
758
755
  data?: string;
759
756
  }
760
- export interface IdentificationData extends IdentificationDataIdOneOf {
757
+ interface IdentificationData extends IdentificationDataIdOneOf {
761
758
  /**
762
759
  * ID of a site visitor that has not logged in to the site.
763
760
  * @format GUID
@@ -782,7 +779,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
782
779
  identityType?: WebhookIdentityTypeWithLiterals;
783
780
  }
784
781
  /** @oneof */
785
- export interface IdentificationDataIdOneOf {
782
+ interface IdentificationDataIdOneOf {
786
783
  /**
787
784
  * ID of a site visitor that has not logged in to the site.
788
785
  * @format GUID
@@ -804,7 +801,7 @@ export interface IdentificationDataIdOneOf {
804
801
  */
805
802
  appId?: string;
806
803
  }
807
- export declare enum WebhookIdentityType {
804
+ declare enum WebhookIdentityType {
808
805
  UNKNOWN = "UNKNOWN",
809
806
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
810
807
  MEMBER = "MEMBER",
@@ -812,8 +809,8 @@ export declare enum WebhookIdentityType {
812
809
  APP = "APP"
813
810
  }
814
811
  /** @enumType */
815
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
816
- export interface InvalidateCache extends InvalidateCacheGetByOneOf {
812
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
813
+ interface InvalidateCache extends InvalidateCacheGetByOneOf {
817
814
  /**
818
815
  * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
819
816
  * @format GUID
@@ -844,7 +841,7 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
844
841
  hardPurge?: boolean;
845
842
  }
846
843
  /** @oneof */
847
- export interface InvalidateCacheGetByOneOf {
844
+ interface InvalidateCacheGetByOneOf {
848
845
  /**
849
846
  * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
850
847
  * @format GUID
@@ -866,7 +863,7 @@ export interface InvalidateCacheGetByOneOf {
866
863
  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
867
864
  customTag?: CustomTag;
868
865
  }
869
- export interface App {
866
+ interface App {
870
867
  /**
871
868
  * The AppDefId
872
869
  * @minLength 1
@@ -878,7 +875,7 @@ export interface App {
878
875
  */
879
876
  instanceId?: string;
880
877
  }
881
- export interface Page {
878
+ interface Page {
882
879
  /**
883
880
  * the msid the page is on
884
881
  * @format GUID
@@ -890,7 +887,7 @@ export interface Page {
890
887
  */
891
888
  pageId?: string;
892
889
  }
893
- export interface URI {
890
+ interface URI {
894
891
  /**
895
892
  * the msid the URI is on
896
893
  * @format GUID
@@ -902,7 +899,7 @@ export interface URI {
902
899
  */
903
900
  uriPath?: string;
904
901
  }
905
- export interface File {
902
+ interface File {
906
903
  /**
907
904
  * the msid the file is related to
908
905
  * @format GUID
@@ -915,7 +912,7 @@ export interface File {
915
912
  */
916
913
  fileName?: string;
917
914
  }
918
- export interface CustomTag {
915
+ interface CustomTag {
919
916
  /**
920
917
  * the msid the tag is related to
921
918
  * @format GUID
@@ -928,7 +925,7 @@ export interface CustomTag {
928
925
  */
929
926
  tag?: string;
930
927
  }
931
- export interface SyncProjectWithCollectionMappings {
928
+ interface SyncProjectWithCollectionMappings {
932
929
  /**
933
930
  * Id of recently updated Project
934
931
  * @format GUID
@@ -940,7 +937,7 @@ export interface SyncProjectWithCollectionMappings {
940
937
  */
941
938
  fieldMaskPaths?: string[];
942
939
  }
943
- export interface DeletedProjectRestored {
940
+ interface DeletedProjectRestored {
944
941
  /**
945
942
  * the id of the project that was restored
946
943
  * @format GUID
@@ -949,15 +946,15 @@ export interface DeletedProjectRestored {
949
946
  /** timestamp for when the project was originally deleted. */
950
947
  deletionTimestamp?: Date | null;
951
948
  }
952
- export interface CreateProjectRequest {
949
+ interface CreateProjectRequest {
953
950
  /** Project to create. */
954
951
  project: Project;
955
952
  }
956
- export interface CreateProjectResponse {
953
+ interface CreateProjectResponse {
957
954
  /** Created project. */
958
955
  project?: Project;
959
956
  }
960
- export interface GetProjectRequest {
957
+ interface GetProjectRequest {
961
958
  /**
962
959
  * ID of the project to retrieve.
963
960
  * @format GUID
@@ -966,17 +963,17 @@ export interface GetProjectRequest {
966
963
  /** Whether to include the project's relative path and full URL in the response. Default: `false` */
967
964
  includePageUrl?: boolean | null;
968
965
  }
969
- export interface GetProjectResponse {
966
+ interface GetProjectResponse {
970
967
  /** The requested project. */
971
968
  project?: Project;
972
969
  }
973
- export interface ListProjectsRequest {
970
+ interface ListProjectsRequest {
974
971
  /** Projects limit per response is maximum 100, In the first request the cursor is None ? */
975
972
  paging?: CursorPaging;
976
973
  /** Whether to include the project's relative path and full URL in the response. Default: `false` */
977
974
  includePageUrl?: boolean | null;
978
975
  }
979
- export interface CursorPaging {
976
+ interface CursorPaging {
980
977
  /**
981
978
  * Maximum number of items to return in the results.
982
979
  * @max 100
@@ -991,13 +988,13 @@ export interface CursorPaging {
991
988
  */
992
989
  cursor?: string | null;
993
990
  }
994
- export interface ListProjectsResponse {
991
+ interface ListProjectsResponse {
995
992
  /** List of projects. */
996
993
  projects?: Project[];
997
994
  /** Paging metadata. */
998
995
  metadata?: PagingMetadataV2;
999
996
  }
1000
- export interface PagingMetadataV2 {
997
+ interface PagingMetadataV2 {
1001
998
  /** Number of items returned in the response. */
1002
999
  count?: number | null;
1003
1000
  /** Offset that was requested. */
@@ -1009,7 +1006,7 @@ export interface PagingMetadataV2 {
1009
1006
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
1010
1007
  cursors?: Cursors;
1011
1008
  }
1012
- export interface Cursors {
1009
+ interface Cursors {
1013
1010
  /**
1014
1011
  * Cursor string pointing to the next page in the list of results.
1015
1012
  * @maxLength 16000
@@ -1021,15 +1018,15 @@ export interface Cursors {
1021
1018
  */
1022
1019
  prev?: string | null;
1023
1020
  }
1024
- export interface UpdateProjectRequest {
1021
+ interface UpdateProjectRequest {
1025
1022
  /** Project to update. */
1026
1023
  project: Project;
1027
1024
  }
1028
- export interface UpdateProjectResponse {
1025
+ interface UpdateProjectResponse {
1029
1026
  /** Updated project. */
1030
1027
  project?: Project;
1031
1028
  }
1032
- export interface BulkUpdateProjectsRequest {
1029
+ interface BulkUpdateProjectsRequest {
1033
1030
  /**
1034
1031
  * Projects to update.
1035
1032
  * @maxSize 100
@@ -1038,23 +1035,23 @@ export interface BulkUpdateProjectsRequest {
1038
1035
  /** Whether to include the updated projects in the response. Set to `true` to receive the projects in the response. Default: `false` */
1039
1036
  returnFullEntity?: boolean | null;
1040
1037
  }
1041
- export interface MaskedProject {
1038
+ interface MaskedProject {
1042
1039
  /** Project to update. */
1043
1040
  project?: Project;
1044
1041
  }
1045
- export interface BulkUpdateProjectsResponse {
1042
+ interface BulkUpdateProjectsResponse {
1046
1043
  /** Items created by bulk action. */
1047
1044
  results?: BulkUpdateProjectsResult[];
1048
1045
  /** Bulk action metadata. */
1049
1046
  bulkActionMetadata?: BulkActionMetadata;
1050
1047
  }
1051
- export interface BulkUpdateProjectsResult {
1048
+ interface BulkUpdateProjectsResult {
1052
1049
  /** Item metadata. */
1053
1050
  itemMetadata?: ItemMetadata;
1054
1051
  /** Updated project. */
1055
1052
  project?: Project;
1056
1053
  }
1057
- export interface ItemMetadata {
1054
+ interface ItemMetadata {
1058
1055
  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
1059
1056
  _id?: string | null;
1060
1057
  /** Index of the item within the request array. Allows for correlation between request and response items. */
@@ -1064,7 +1061,7 @@ export interface ItemMetadata {
1064
1061
  /** Details about the error in case of failure. */
1065
1062
  error?: ApplicationError;
1066
1063
  }
1067
- export interface ApplicationError {
1064
+ interface ApplicationError {
1068
1065
  /** Error code. */
1069
1066
  code?: string;
1070
1067
  /** Description of the error. */
@@ -1072,7 +1069,7 @@ export interface ApplicationError {
1072
1069
  /** Data related to the error. */
1073
1070
  data?: Record<string, any> | null;
1074
1071
  }
1075
- export interface BulkActionMetadata {
1072
+ interface BulkActionMetadata {
1076
1073
  /** Number of items that were successfully processed. */
1077
1074
  totalSuccesses?: number;
1078
1075
  /** Number of items that couldn't be processed. */
@@ -1080,27 +1077,27 @@ export interface BulkActionMetadata {
1080
1077
  /** Number of failures without details because detailed failure threshold was exceeded. */
1081
1078
  undetailedFailures?: number;
1082
1079
  }
1083
- export interface DeleteProjectRequest {
1080
+ interface DeleteProjectRequest {
1084
1081
  /**
1085
1082
  * ID of the project to delete.
1086
1083
  * @format GUID
1087
1084
  */
1088
1085
  projectId: string;
1089
1086
  }
1090
- export interface DeleteProjectResponse {
1087
+ interface DeleteProjectResponse {
1091
1088
  /**
1092
1089
  * ID of the deleted project.
1093
1090
  * @format GUID
1094
1091
  */
1095
1092
  projectId?: string;
1096
1093
  }
1097
- export interface QueryProjectsRequest {
1094
+ interface QueryProjectsRequest {
1098
1095
  /** Query options. */
1099
1096
  query: QueryV2;
1100
1097
  /** Whether to include the project's relative path and full URL in the response. Default: `false` */
1101
1098
  includePageUrl?: boolean | null;
1102
1099
  }
1103
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
1100
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
1104
1101
  /** Paging options to limit and skip the number of items. */
1105
1102
  paging?: Paging;
1106
1103
  /** 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`. */
@@ -1123,13 +1120,13 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
1123
1120
  fieldsets?: string[];
1124
1121
  }
1125
1122
  /** @oneof */
1126
- export interface QueryV2PagingMethodOneOf {
1123
+ interface QueryV2PagingMethodOneOf {
1127
1124
  /** Paging options to limit and skip the number of items. */
1128
1125
  paging?: Paging;
1129
1126
  /** 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`. */
1130
1127
  cursorPaging?: CursorPaging;
1131
1128
  }
1132
- export interface Sorting {
1129
+ interface Sorting {
1133
1130
  /**
1134
1131
  * Name of the field to sort by.
1135
1132
  * @maxLength 512
@@ -1138,25 +1135,25 @@ export interface Sorting {
1138
1135
  /** Sort order. */
1139
1136
  order?: SortOrderWithLiterals;
1140
1137
  }
1141
- export declare enum SortOrder {
1138
+ declare enum SortOrder {
1142
1139
  ASC = "ASC",
1143
1140
  DESC = "DESC"
1144
1141
  }
1145
1142
  /** @enumType */
1146
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
1147
- export interface Paging {
1143
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
1144
+ interface Paging {
1148
1145
  /** Number of items to load. */
1149
1146
  limit?: number | null;
1150
1147
  /** Number of items to skip in the current sort order. */
1151
1148
  offset?: number | null;
1152
1149
  }
1153
- export interface QueryProjectsResponse {
1150
+ interface QueryProjectsResponse {
1154
1151
  /** List of projects. */
1155
1152
  projects?: Project[];
1156
1153
  /** Paging metadata. */
1157
1154
  metadata?: PagingMetadataV2;
1158
1155
  }
1159
- export interface UpdateProjectOrderInCollectionRequest {
1156
+ interface UpdateProjectOrderInCollectionRequest {
1160
1157
  /**
1161
1158
  * ID of the project to update.
1162
1159
  * @format GUID
@@ -1170,11 +1167,11 @@ export interface UpdateProjectOrderInCollectionRequest {
1170
1167
  /** Index that determines the placement of a project within the collection. */
1171
1168
  sortOrder: number | null;
1172
1169
  }
1173
- export interface UpdateProjectOrderInCollectionResponse {
1170
+ interface UpdateProjectOrderInCollectionResponse {
1174
1171
  /** Updated project placement within the specified collection. */
1175
1172
  projectInCollection?: ProjectsInCollections;
1176
1173
  }
1177
- export interface ProjectsInCollections {
1174
+ interface ProjectsInCollections {
1178
1175
  /**
1179
1176
  * Collection ID.
1180
1177
  * @format GUID
@@ -1195,30 +1192,30 @@ export interface ProjectsInCollections {
1195
1192
  */
1196
1193
  _id?: string | null;
1197
1194
  }
1198
- export interface QueryProjectWithCollectionInfoRequest {
1195
+ interface QueryProjectWithCollectionInfoRequest {
1199
1196
  /** WQL expression */
1200
1197
  query: QueryV2;
1201
1198
  /** Include page url */
1202
1199
  includePageUrl?: boolean | null;
1203
1200
  }
1204
- export interface QueryProjectWithCollectionInfoResponse {
1201
+ interface QueryProjectWithCollectionInfoResponse {
1205
1202
  /** The retrieved Projects in Collection */
1206
1203
  projects?: ProjectsInCollections[];
1207
1204
  /** Paging metadata */
1208
1205
  metadata?: PagingMetadataV2;
1209
1206
  }
1210
- export interface RestoreProjectFromTrashBinRequest {
1207
+ interface RestoreProjectFromTrashBinRequest {
1211
1208
  /**
1212
1209
  * id of deleted project to restore from trash bin.
1213
1210
  * @format GUID
1214
1211
  */
1215
1212
  projectId?: string;
1216
1213
  }
1217
- export interface RestoreProjectFromTrashBinResponse {
1214
+ interface RestoreProjectFromTrashBinResponse {
1218
1215
  /** project that was restored from trash bin */
1219
1216
  project?: Project;
1220
1217
  }
1221
- export interface DomainEvent extends DomainEventBodyOneOf {
1218
+ interface DomainEvent extends DomainEventBodyOneOf {
1222
1219
  createdEvent?: EntityCreatedEvent;
1223
1220
  updatedEvent?: EntityUpdatedEvent;
1224
1221
  deletedEvent?: EntityDeletedEvent;
@@ -1253,19 +1250,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1253
1250
  entityEventSequence?: string | null;
1254
1251
  }
1255
1252
  /** @oneof */
1256
- export interface DomainEventBodyOneOf {
1253
+ interface DomainEventBodyOneOf {
1257
1254
  createdEvent?: EntityCreatedEvent;
1258
1255
  updatedEvent?: EntityUpdatedEvent;
1259
1256
  deletedEvent?: EntityDeletedEvent;
1260
1257
  actionEvent?: ActionEvent;
1261
1258
  }
1262
- export interface EntityCreatedEvent {
1259
+ interface EntityCreatedEvent {
1263
1260
  entity?: string;
1264
1261
  }
1265
- export interface RestoreInfo {
1262
+ interface RestoreInfo {
1266
1263
  deletedDate?: Date | null;
1267
1264
  }
1268
- export interface EntityUpdatedEvent {
1265
+ interface EntityUpdatedEvent {
1269
1266
  /**
1270
1267
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1271
1268
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -1273,14 +1270,14 @@ export interface EntityUpdatedEvent {
1273
1270
  */
1274
1271
  currentEntity?: string;
1275
1272
  }
1276
- export interface EntityDeletedEvent {
1273
+ interface EntityDeletedEvent {
1277
1274
  /** Entity that was deleted. */
1278
1275
  deletedEntity?: string | null;
1279
1276
  }
1280
- export interface ActionEvent {
1277
+ interface ActionEvent {
1281
1278
  body?: string;
1282
1279
  }
1283
- export interface BaseEventMetadata {
1280
+ interface BaseEventMetadata {
1284
1281
  /**
1285
1282
  * App instance ID.
1286
1283
  * @format GUID
@@ -1294,7 +1291,7 @@ export interface BaseEventMetadata {
1294
1291
  /** The identification type and identity data. */
1295
1292
  identity?: IdentificationData;
1296
1293
  }
1297
- export interface EventMetadata extends BaseEventMetadata {
1294
+ interface EventMetadata extends BaseEventMetadata {
1298
1295
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1299
1296
  _id?: string;
1300
1297
  /**
@@ -1324,124 +1321,28 @@ export interface EventMetadata extends BaseEventMetadata {
1324
1321
  */
1325
1322
  entityEventSequence?: string | null;
1326
1323
  }
1327
- export interface ProjectCreatedEnvelope {
1324
+ interface ProjectCreatedEnvelope {
1328
1325
  entity: Project;
1329
1326
  metadata: EventMetadata;
1330
1327
  }
1331
- /**
1332
- * Triggered when a project is created.
1333
- * @permissionScope Manage Portfolio
1334
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1335
- * @permissionId PORTFOLIO.PROJECT_READ
1336
- * @webhook
1337
- * @eventType wix.portfolio.projects.v1.project_created
1338
- * @serviceIdentifier com.wixpress.portfolio.projects.ProjectsService
1339
- * @slug created
1340
- * @documentationMaturity preview
1341
- */
1342
- export declare function onProjectCreated(handler: (event: ProjectCreatedEnvelope) => void | Promise<void>): void;
1343
- export interface ProjectDeletedEnvelope {
1328
+ interface ProjectDeletedEnvelope {
1344
1329
  metadata: EventMetadata;
1345
1330
  }
1346
- /**
1347
- * Triggered when a project is deleted.
1348
- * @permissionScope Manage Portfolio
1349
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1350
- * @permissionId PORTFOLIO.PROJECT_READ
1351
- * @webhook
1352
- * @eventType wix.portfolio.projects.v1.project_deleted
1353
- * @serviceIdentifier com.wixpress.portfolio.projects.ProjectsService
1354
- * @slug deleted
1355
- * @documentationMaturity preview
1356
- */
1357
- export declare function onProjectDeleted(handler: (event: ProjectDeletedEnvelope) => void | Promise<void>): void;
1358
- export interface ProjectUpdatedEnvelope {
1331
+ interface ProjectUpdatedEnvelope {
1359
1332
  entity: Project;
1360
1333
  metadata: EventMetadata;
1361
1334
  }
1362
- /**
1363
- * Triggered when a project is updated.
1364
- * @permissionScope Manage Portfolio
1365
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1366
- * @permissionId PORTFOLIO.PROJECT_READ
1367
- * @webhook
1368
- * @eventType wix.portfolio.projects.v1.project_updated
1369
- * @serviceIdentifier com.wixpress.portfolio.projects.ProjectsService
1370
- * @slug updated
1371
- * @documentationMaturity preview
1372
- */
1373
- export declare function onProjectUpdated(handler: (event: ProjectUpdatedEnvelope) => void | Promise<void>): void;
1374
- type ProjectNonNullablePaths = `coverImage.focalPoint.x` | `coverImage.focalPoint.y` | `collectionIds` | `details` | `details.${number}.text` | `details.${number}.label` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`;
1375
- /**
1376
- * Creates a project.
1377
- * @param project - Project to create.
1378
- * @public
1379
- * @documentationMaturity preview
1380
- * @requiredField project
1381
- * @permissionId PORTFOLIO.PROJECT_CREATE
1382
- * @permissionScope Manage Portfolio
1383
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1384
- * @applicableIdentity APP
1385
- * @returns Created project.
1386
- * @fqn com.wixpress.portfolio.projects.ProjectsService.CreateProject
1387
- */
1388
- export declare function createProject(project: Project): Promise<NonNullablePaths<Project, ProjectNonNullablePaths>>;
1389
- /**
1390
- * Retrieves a project.
1391
- * @param projectId - ID of the project to retrieve.
1392
- * @public
1393
- * @documentationMaturity preview
1394
- * @requiredField projectId
1395
- * @permissionId PORTFOLIO.PROJECT_READ
1396
- * @permissionScope Manage Portfolio
1397
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1398
- * @applicableIdentity APP
1399
- * @applicableIdentity VISITOR
1400
- * @returns The requested project.
1401
- * @fqn com.wixpress.portfolio.projects.ProjectsService.GetProject
1402
- */
1403
- export declare function getProject(projectId: string, options?: GetProjectOptions): Promise<NonNullablePaths<Project, ProjectNonNullablePaths>>;
1404
- export interface GetProjectOptions {
1335
+ interface GetProjectOptions {
1405
1336
  /** Whether to include the project's relative path and full URL in the response. Default: `false` */
1406
1337
  includePageUrl?: boolean | null;
1407
1338
  }
1408
- /**
1409
- * Retrieves a list of all projects in a portfolio.
1410
- * @public
1411
- * @documentationMaturity preview
1412
- * @permissionId PORTFOLIO.PROJECT_READ
1413
- * @permissionScope Manage Portfolio
1414
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1415
- * @applicableIdentity APP
1416
- * @applicableIdentity VISITOR
1417
- * @fqn com.wixpress.portfolio.projects.ProjectsService.ListProjects
1418
- */
1419
- export declare function listProjects(options?: ListProjectsOptions): Promise<NonNullablePaths<ListProjectsResponse, {
1420
- [P in ProjectNonNullablePaths]: `projects.${number}.${P}`;
1421
- }[ProjectNonNullablePaths]>>;
1422
- export interface ListProjectsOptions {
1339
+ interface ListProjectsOptions {
1423
1340
  /** Projects limit per response is maximum 100, In the first request the cursor is None ? */
1424
1341
  paging?: CursorPaging;
1425
1342
  /** Whether to include the project's relative path and full URL in the response. Default: `false` */
1426
1343
  includePageUrl?: boolean | null;
1427
1344
  }
1428
- /**
1429
- * Updates a project.
1430
- * @param _id - Project ID.
1431
- * @public
1432
- * @documentationMaturity preview
1433
- * @requiredField _id
1434
- * @requiredField project
1435
- * @requiredField project.revision
1436
- * @permissionId PORTFOLIO.PROJECT_UPDATE
1437
- * @permissionScope Manage Portfolio
1438
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1439
- * @applicableIdentity APP
1440
- * @returns Updated project.
1441
- * @fqn com.wixpress.portfolio.projects.ProjectsService.UpdateProject
1442
- */
1443
- export declare function updateProject(_id: string, project: NonNullablePaths<UpdateProject, `revision`>): Promise<NonNullablePaths<Project, ProjectNonNullablePaths>>;
1444
- export interface UpdateProject {
1345
+ interface UpdateProject {
1445
1346
  /** Project cover image. */
1446
1347
  coverImage?: Image;
1447
1348
  /** Project cover video. */
@@ -1494,23 +1395,7 @@ export interface UpdateProject {
1494
1395
  /** Project SEO data. */
1495
1396
  seoData?: SeoSchema;
1496
1397
  }
1497
- /**
1498
- * Updates multiple projects.
1499
- * @public
1500
- * @documentationMaturity preview
1501
- * @requiredField options.projects.project
1502
- * @requiredField options.projects.project._id
1503
- * @requiredField options.projects.project.revision
1504
- * @permissionId PORTFOLIO.PROJECT_UPDATE
1505
- * @permissionScope Manage Portfolio
1506
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1507
- * @applicableIdentity APP
1508
- * @fqn com.wixpress.portfolio.projects.ProjectsService.BulkUpdateProjects
1509
- */
1510
- export declare function bulkUpdateProjects(options?: NonNullablePaths<BulkUpdateProjectsOptions, `projects.${number}.project` | `projects.${number}.project._id` | `projects.${number}.project.revision`>): Promise<NonNullablePaths<BulkUpdateProjectsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
1511
- [P in ProjectNonNullablePaths]: `results.${number}.project.${P}`;
1512
- }[ProjectNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
1513
- export interface BulkUpdateProjectsOptions {
1398
+ interface BulkUpdateProjectsOptions {
1514
1399
  /**
1515
1400
  * Projects to update.
1516
1401
  * @maxSize 100
@@ -1519,45 +1404,7 @@ export interface BulkUpdateProjectsOptions {
1519
1404
  /** Whether to include the updated projects in the response. Set to `true` to receive the projects in the response. Default: `false` */
1520
1405
  returnFullEntity?: boolean | null;
1521
1406
  }
1522
- /**
1523
- * Deletes a project.
1524
- * @param projectId - ID of the project to delete.
1525
- * @public
1526
- * @documentationMaturity preview
1527
- * @requiredField projectId
1528
- * @permissionId PORTFOLIO.PROJECT_DELETE
1529
- * @permissionScope Manage Portfolio
1530
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1531
- * @applicableIdentity APP
1532
- * @fqn com.wixpress.portfolio.projects.ProjectsService.DeleteProject
1533
- */
1534
- export declare function deleteProject(projectId: string): Promise<NonNullablePaths<DeleteProjectResponse, `projectId`>>;
1535
- /**
1536
- * Creates a query to retrieve a list of projects.
1537
- *
1538
- * The `queryProjects()` method builds a query to retrieve a list of projects and returns a `ProjectsQueryBuilder` object.
1539
- *
1540
- * The returned object contains the query definition, which is used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/find) method.
1541
- *
1542
- * You can refine the query by chaining `ProjectsQueryBuilder` methods onto the query. `ProjectsQueryBuilder` methods enable you to filter, sort, and control the results that `queryProjects()` returns.
1543
- *
1544
- * `queryProjects()` runs with the following `ProjectsQueryBuilder` defaults which you can override:
1545
- *
1546
- * + [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/limit)
1547
- * + [`ascending('_id')`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/ascending)
1548
- *
1549
- * The following `ProjectsQueryBuilder` methods are supported for `queryProjects()`. For a full description of the operations object, see the object returned for the [`items`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-result/items) property in `ProjectsQueryResult`.
1550
- * @public
1551
- * @documentationMaturity preview
1552
- * @permissionScope Manage Portfolio
1553
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1554
- * @permissionId PORTFOLIO.PROJECT_READ
1555
- * @applicableIdentity APP
1556
- * @applicableIdentity VISITOR
1557
- * @fqn com.wixpress.portfolio.projects.ProjectsService.QueryProjects
1558
- */
1559
- export declare function queryProjects(options?: QueryProjectsOptions): ProjectsQueryBuilder;
1560
- export interface QueryProjectsOptions {
1407
+ interface QueryProjectsOptions {
1561
1408
  /** Whether to include the project's relative path and full URL in the response. Default: `false` */
1562
1409
  includePageUrl?: boolean | null | undefined;
1563
1410
  }
@@ -1568,13 +1415,13 @@ interface QueryCursorResult {
1568
1415
  length: number;
1569
1416
  pageSize: number;
1570
1417
  }
1571
- export interface ProjectsQueryResult extends QueryCursorResult {
1418
+ interface ProjectsQueryResult extends QueryCursorResult {
1572
1419
  items: Project[];
1573
1420
  query: ProjectsQueryBuilder;
1574
1421
  next: () => Promise<ProjectsQueryResult>;
1575
1422
  prev: () => Promise<ProjectsQueryResult>;
1576
1423
  }
1577
- export interface ProjectsQueryBuilder {
1424
+ interface ProjectsQueryBuilder {
1578
1425
  /** @param propertyName - Property whose value is compared with `value`.
1579
1426
  * @param value - Value to compare against.
1580
1427
  * @documentationMaturity preview
@@ -1643,27 +1490,7 @@ export interface ProjectsQueryBuilder {
1643
1490
  /** @documentationMaturity preview */
1644
1491
  find: () => Promise<ProjectsQueryResult>;
1645
1492
  }
1646
- /**
1647
- * Deprecated - please use ProjectsInCollectionsService.UpdateProjectOrderInCollection instead
1648
- * our Client still use it
1649
- * @param sortOrder - Index that determines the placement of a project within the collection.
1650
- * @public
1651
- * @documentationMaturity preview
1652
- * @requiredField identifiers
1653
- * @requiredField identifiers.collectionId
1654
- * @requiredField identifiers.projectId
1655
- * @requiredField sortOrder
1656
- * @permissionId PORTFOLIO.PROJECT_UPDATE
1657
- * @permissionScope Manage Portfolio
1658
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1659
- * @applicableIdentity APP
1660
- * @fqn com.wixpress.portfolio.projects.ProjectsService.UpdateProjectOrderInCollection
1661
- * @deprecated
1662
- */
1663
- export declare function updateProjectOrderInCollection(identifiers: NonNullablePaths<UpdateProjectOrderInCollectionIdentifiers, `collectionId` | `projectId`>, sortOrder: number): Promise<NonNullablePaths<UpdateProjectOrderInCollectionResponse, `projectInCollection.collectionId` | {
1664
- [P in ProjectNonNullablePaths]: `projectInCollection.project.${P}`;
1665
- }[ProjectNonNullablePaths]>>;
1666
- export interface UpdateProjectOrderInCollectionIdentifiers {
1493
+ interface UpdateProjectOrderInCollectionIdentifiers {
1667
1494
  /**
1668
1495
  * ID of the project to update.
1669
1496
  * @format GUID
@@ -1675,26 +1502,9 @@ export interface UpdateProjectOrderInCollectionIdentifiers {
1675
1502
  */
1676
1503
  collectionId: string;
1677
1504
  }
1678
- /**
1679
- * Deprecated - please use ProjectsInCollectionsService.QueryProjectsInCollections instead
1680
- * our Client still use it
1681
- * @param query - WQL expression
1682
- * @public
1683
- * @documentationMaturity preview
1684
- * @requiredField query
1685
- * @permissionId PORTFOLIO.PROJECT_READ
1686
- * @permissionScope Manage Portfolio
1687
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1688
- * @applicableIdentity APP
1689
- * @applicableIdentity VISITOR
1690
- * @fqn com.wixpress.portfolio.projects.ProjectsService.QueryProjectsWithCollectionInfo
1691
- * @deprecated
1692
- */
1693
- export declare function queryProjectsWithCollectionInfo(query: QueryV2, options?: QueryProjectsWithCollectionInfoOptions): Promise<NonNullablePaths<QueryProjectWithCollectionInfoResponse, `projects` | `projects.${number}.collectionId` | {
1694
- [P in ProjectNonNullablePaths]: `projects.${number}.project.${P}`;
1695
- }[ProjectNonNullablePaths]>>;
1696
- export interface QueryProjectsWithCollectionInfoOptions {
1505
+ interface QueryProjectsWithCollectionInfoOptions {
1697
1506
  /** Include page url */
1698
1507
  includePageUrl?: boolean | null;
1699
1508
  }
1700
- export {};
1509
+
1510
+ export { type SiteUndeleted as $, type GetProjectPageDataRequest as A, type BulkUpdateProjectsOptions as B, type GetProjectPageDataResponse as C, type DeleteProjectResponse as D, type ProjectSlug as E, type CreateNewPortfolioAppRequest as F, type GetProjectOptions as G, type CreateNewPortfolioAppResponse as H, ImageType as I, type MetaSiteSpecialEvent as J, type Keyword as K, type ListProjectsOptions as L, type MenuSettingUpdatedEvent as M, Namespace as N, type MetaSiteSpecialEventPayloadOneOf as O, type Project as P, type QueryProjectsOptions as Q, type Asset as R, SyncStatus as S, type Tag as T, type UpdateProject as U, type Video as V, WebhookIdentityType as W, type SiteCreated as X, type SiteTransferred as Y, type SiteDeleted as Z, type DeleteContext as _, type ListProjectsResponse as a, type ActionEvent as a$, type SitePublished as a0, type SiteUnpublished as a1, type SiteMarkedAsTemplate as a2, type SiteMarkedAsWixSite as a3, type ServiceProvisioned as a4, type ServiceRemoved as a5, type SiteRenamed as a6, type SiteHardDeleted as a7, type NamespaceChanged as a8, type StudioAssigned as a9, type PagingMetadataV2 as aA, type Cursors as aB, type UpdateProjectRequest as aC, type UpdateProjectResponse as aD, type BulkUpdateProjectsRequest as aE, type MaskedProject as aF, type BulkUpdateProjectsResult as aG, type ItemMetadata as aH, type ApplicationError as aI, type BulkActionMetadata as aJ, type DeleteProjectRequest as aK, type QueryProjectsRequest as aL, type QueryV2PagingMethodOneOf as aM, type Sorting as aN, type Paging as aO, type QueryProjectsResponse as aP, type UpdateProjectOrderInCollectionRequest as aQ, type ProjectsInCollections as aR, type QueryProjectWithCollectionInfoRequest as aS, type RestoreProjectFromTrashBinRequest as aT, type RestoreProjectFromTrashBinResponse as aU, type DomainEvent as aV, type DomainEventBodyOneOf as aW, type EntityCreatedEvent as aX, type RestoreInfo as aY, type EntityUpdatedEvent as aZ, type EntityDeletedEvent as a_, type StudioUnassigned as aa, type SiteUrlChanged as ab, type SitePurgedExternally as ac, type OdeditorAssigned as ad, type OdeditorUnassigned as ae, type PicassoAssigned as af, type PicassoUnassigned as ag, type Empty as ah, type MessageEnvelope as ai, type IdentificationData as aj, type IdentificationDataIdOneOf as ak, type InvalidateCache as al, type InvalidateCacheGetByOneOf as am, type App as an, type Page as ao, type URI as ap, type File as aq, type CustomTag as ar, type SyncProjectWithCollectionMappings as as, type DeletedProjectRestored as at, type CreateProjectRequest as au, type CreateProjectResponse as av, type GetProjectRequest as aw, type GetProjectResponse as ax, type ListProjectsRequest as ay, type CursorPaging as az, type BulkUpdateProjectsResponse as b, type BaseEventMetadata as b0, type EventMetadata as b1, type ProjectsQueryResult as b2, type ProjectsQueryBuilder as c, type UpdateProjectOrderInCollectionIdentifiers as d, type UpdateProjectOrderInCollectionResponse as e, type QueryV2 as f, type QueryProjectsWithCollectionInfoOptions as g, type QueryProjectWithCollectionInfoResponse as h, type ProjectCreatedEnvelope as i, type ProjectDeletedEnvelope as j, type ProjectUpdatedEnvelope as k, State as l, SiteCreatedContext as m, DeleteStatus as n, SortOrder as o, type ProjectCoverOneOf as p, type Image as q, type Point as r, type UnsharpMasking as s, type VideoResolution as t, type ProjectDetail as u, type ProjectDetailValueOneOf as v, type DetailsLink as w, type ProjectSource as x, type SeoSchema as y, type Settings as z };