@wix/auto_sdk_portfolio_projects 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,7 @@ export interface Project extends ProjectCoverOneOf {
6
6
  /**
7
7
  * Project ID.
8
8
  * @readonly
9
+ * @format GUID
9
10
  */
10
11
  _id?: string | null;
11
12
  /**
@@ -13,13 +14,20 @@ export interface Project extends ProjectCoverOneOf {
13
14
  * @readonly
14
15
  */
15
16
  revision?: string | null;
16
- /** Project title. */
17
+ /**
18
+ * Project title.
19
+ * @maxLength 100
20
+ */
17
21
  title?: string | null;
18
22
  /** Project description. */
19
23
  description?: string | null;
20
24
  /** Whether the project is hidden from the portfolio. Default: `false` */
21
25
  hidden?: boolean | null;
22
- /** IDs of the collections that include the project. */
26
+ /**
27
+ * IDs of the collections that include the project.
28
+ * @format GUID
29
+ * @maxSize 1000
30
+ */
23
31
  collectionIds?: string[];
24
32
  /** Project details. */
25
33
  details?: ProjectDetail[];
@@ -36,7 +44,7 @@ export interface Project extends ProjectCoverOneOf {
36
44
  */
37
45
  _updatedDate?: Date | null;
38
46
  /**
39
- * Project page URL and and relative path. Returned when `includePageUrl` is `true` in the request.
47
+ * Project page URL and relative path. Returned when `includePageUrl` is `true` in the request.
40
48
  * @readonly
41
49
  */
42
50
  url?: string;
@@ -73,6 +81,7 @@ export interface UnsharpMasking {
73
81
  *
74
82
  * Min: `0` <br />
75
83
  * Max: `5`
84
+ * @max 5
76
85
  */
77
86
  amount?: number | null;
78
87
  /** Unsharp masking radius in pixels. Controls the sharpening width. */
@@ -82,6 +91,7 @@ export interface UnsharpMasking {
82
91
  *
83
92
  * Min: `0` <br />
84
93
  * Max: `1`
94
+ * @max 1
85
95
  */
86
96
  threshold?: number | null;
87
97
  }
@@ -129,7 +139,10 @@ export interface ProjectDetailValueOneOf {
129
139
  export interface DetailsLink {
130
140
  /** Display text of the link. */
131
141
  text?: string | null;
132
- /** Target URL of the link. */
142
+ /**
143
+ * Target URL of the link.
144
+ * @format WEB_URL
145
+ */
133
146
  url?: string | null;
134
147
  /**
135
148
  * Whether the link opens in a new tab or window. One of:
@@ -139,15 +152,31 @@ export interface DetailsLink {
139
152
  target?: string | null;
140
153
  }
141
154
  export interface ProjectSource {
142
- /** App definition id */
155
+ /**
156
+ * App definition id
157
+ * @immutable
158
+ */
143
159
  appDefId?: string;
144
- /** External source id */
160
+ /**
161
+ * External source id
162
+ * @immutable
163
+ */
145
164
  externalId?: string;
146
- /** Source name */
165
+ /**
166
+ * Source name
167
+ * @maxLength 100
168
+ * @immutable
169
+ */
147
170
  sourceName?: string;
148
- /** Source description */
171
+ /**
172
+ * Source description
173
+ * @immutable
174
+ */
149
175
  description?: string | null;
150
- /** link to external source */
176
+ /**
177
+ * link to external source
178
+ * @format WEB_URL
179
+ */
151
180
  link?: string | null;
152
181
  /** Sync status */
153
182
  syncStatus?: SyncStatus;
@@ -177,7 +206,10 @@ export interface Keyword {
177
206
  term?: string;
178
207
  /** Whether the keyword is the main focus keyword. */
179
208
  isMain?: boolean;
180
- /** The source that added the keyword terms to the SEO settings. */
209
+ /**
210
+ * The source that added the keyword terms to the SEO settings.
211
+ * @maxLength 1000
212
+ */
181
213
  origin?: string | null;
182
214
  }
183
215
  export interface Tag {
@@ -210,7 +242,10 @@ export interface Settings {
210
242
  * Default: `false` (Auto Redirect is enabled.)
211
243
  */
212
244
  preventAutoRedirect?: boolean;
213
- /** User-selected keyword terms for a specific page. */
245
+ /**
246
+ * User-selected keyword terms for a specific page.
247
+ * @maxSize 5
248
+ */
214
249
  keywords?: Keyword[];
215
250
  }
216
251
  export interface MenuSettingUpdatedEvent {
@@ -230,7 +265,10 @@ export interface GetProjectPageDataResponse {
230
265
  nextProject?: ProjectSlug;
231
266
  }
232
267
  export interface ProjectSlug {
233
- /** Project id */
268
+ /**
269
+ * Project id
270
+ * @format GUID
271
+ */
234
272
  projectId?: string;
235
273
  /** Project slug */
236
274
  slug?: string;
@@ -270,7 +308,10 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
270
308
  studioAssigned?: StudioAssigned;
271
309
  /** Emitted when Studio is detached. */
272
310
  studioUnassigned?: StudioUnassigned;
273
- /** A meta site id. */
311
+ /**
312
+ * A meta site id.
313
+ * @format GUID
314
+ */
274
315
  metaSiteId?: string;
275
316
  /** A meta site version. Monotonically increasing. */
276
317
  version?: string;
@@ -279,6 +320,7 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
279
320
  /**
280
321
  * TODO(meta-site): Change validation once validations are disabled for consumers
281
322
  * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
323
+ * @maxSize 4000
282
324
  */
283
325
  assets?: Asset[];
284
326
  }
@@ -316,9 +358,15 @@ export interface MetaSiteSpecialEventPayloadOneOf {
316
358
  studioUnassigned?: StudioUnassigned;
317
359
  }
318
360
  export interface Asset {
319
- /** An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum). */
361
+ /**
362
+ * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
363
+ * @maxLength 36
364
+ */
320
365
  appDefId?: string;
321
- /** An instance id. For legacy reasons may be UUID or a string. */
366
+ /**
367
+ * An instance id. For legacy reasons may be UUID or a string.
368
+ * @maxLength 200
369
+ */
322
370
  instanceId?: string;
323
371
  /** An application state. */
324
372
  state?: State;
@@ -331,9 +379,15 @@ export declare enum State {
331
379
  DEMO = "DEMO"
332
380
  }
333
381
  export interface SiteCreated {
334
- /** A template identifier (empty if not created from a template). */
382
+ /**
383
+ * A template identifier (empty if not created from a template).
384
+ * @maxLength 36
385
+ */
335
386
  originTemplateId?: string;
336
- /** An account id of the owner. */
387
+ /**
388
+ * An account id of the owner.
389
+ * @format GUID
390
+ */
337
391
  ownerId?: string;
338
392
  /** A context in which meta site was created. */
339
393
  context?: SiteCreatedContext;
@@ -342,9 +396,13 @@ export interface SiteCreated {
342
396
  *
343
397
  * In case of a creation from a template it's a template id.
344
398
  * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
399
+ * @format GUID
345
400
  */
346
401
  originMetaSiteId?: string | null;
347
- /** A meta site name (URL slug). */
402
+ /**
403
+ * A meta site name (URL slug).
404
+ * @maxLength 20
405
+ */
348
406
  siteName?: string;
349
407
  /** A namespace. */
350
408
  namespace?: Namespace;
@@ -441,9 +499,15 @@ export declare enum Namespace {
441
499
  }
442
500
  /** Site transferred to another user. */
443
501
  export interface SiteTransferred {
444
- /** A previous owner id (user that transfers meta site). */
502
+ /**
503
+ * A previous owner id (user that transfers meta site).
504
+ * @format GUID
505
+ */
445
506
  oldOwnerId?: string;
446
- /** A new owner id (user that accepts meta site). */
507
+ /**
508
+ * A new owner id (user that accepts meta site).
509
+ * @format GUID
510
+ */
447
511
  newOwnerId?: string;
448
512
  }
449
513
  /** Soft deletion of the meta site. Could be restored. */
@@ -456,9 +520,15 @@ export interface DeleteContext {
456
520
  dateDeleted?: Date | null;
457
521
  /** A status. */
458
522
  deleteStatus?: DeleteStatus;
459
- /** A reason (flow). */
523
+ /**
524
+ * A reason (flow).
525
+ * @maxLength 255
526
+ */
460
527
  deleteOrigin?: string;
461
- /** A service that deleted it. */
528
+ /**
529
+ * A service that deleted it.
530
+ * @maxLength 255
531
+ */
462
532
  initiatorId?: string | null;
463
533
  }
464
534
  export declare enum DeleteStatus {
@@ -474,7 +544,11 @@ export interface SiteUndeleted {
474
544
  export interface SitePublished {
475
545
  }
476
546
  export interface SiteUnpublished {
477
- /** A list of URLs previously associated with the meta site. */
547
+ /**
548
+ * A list of URLs previously associated with the meta site.
549
+ * @maxLength 4000
550
+ * @maxSize 10000
551
+ */
478
552
  urls?: string[];
479
553
  }
480
554
  export interface SiteMarkedAsTemplate {
@@ -497,30 +571,60 @@ export interface SiteMarkedAsWixSite {
497
571
  * To ensure this, the TPA on the template gets a new instance_id.
498
572
  */
499
573
  export interface ServiceProvisioned {
500
- /** Either UUID or EmbeddedServiceType. */
574
+ /**
575
+ * Either UUID or EmbeddedServiceType.
576
+ * @maxLength 36
577
+ */
501
578
  appDefId?: string;
502
- /** Not only UUID. Something here could be something weird. */
579
+ /**
580
+ * Not only UUID. Something here could be something weird.
581
+ * @maxLength 36
582
+ */
503
583
  instanceId?: string;
504
- /** An instance id from which this instance is originated. */
584
+ /**
585
+ * An instance id from which this instance is originated.
586
+ * @maxLength 36
587
+ */
505
588
  originInstanceId?: string;
506
- /** A version. */
589
+ /**
590
+ * A version.
591
+ * @maxLength 500
592
+ */
507
593
  version?: string | null;
508
- /** The origin meta site id */
594
+ /**
595
+ * The origin meta site id
596
+ * @format GUID
597
+ */
509
598
  originMetaSiteId?: string | null;
510
599
  }
511
600
  export interface ServiceRemoved {
512
- /** Either UUID or EmbeddedServiceType. */
601
+ /**
602
+ * Either UUID or EmbeddedServiceType.
603
+ * @maxLength 36
604
+ */
513
605
  appDefId?: string;
514
- /** Not only UUID. Something here could be something weird. */
606
+ /**
607
+ * Not only UUID. Something here could be something weird.
608
+ * @maxLength 36
609
+ */
515
610
  instanceId?: string;
516
- /** A version. */
611
+ /**
612
+ * A version.
613
+ * @maxLength 500
614
+ */
517
615
  version?: string | null;
518
616
  }
519
617
  /** Rename of the site. Meaning, free public url has been changed as well. */
520
618
  export interface SiteRenamed {
521
- /** A new meta site name (URL slug). */
619
+ /**
620
+ * A new meta site name (URL slug).
621
+ * @maxLength 20
622
+ */
522
623
  newSiteName?: string;
523
- /** A previous meta site name (URL slug). */
624
+ /**
625
+ * A previous meta site name (URL slug).
626
+ * @maxLength 255
627
+ */
524
628
  oldSiteName?: string;
525
629
  }
526
630
  /**
@@ -547,9 +651,15 @@ export interface StudioUnassigned {
547
651
  export interface Empty {
548
652
  }
549
653
  export interface MessageEnvelope {
550
- /** App instance ID. */
654
+ /**
655
+ * App instance ID.
656
+ * @format GUID
657
+ */
551
658
  instanceId?: string | null;
552
- /** Event type. */
659
+ /**
660
+ * Event type.
661
+ * @maxLength 150
662
+ */
553
663
  eventType?: string;
554
664
  /** The identification type and identity data. */
555
665
  identity?: IdentificationData;
@@ -557,26 +667,50 @@ export interface MessageEnvelope {
557
667
  data?: string;
558
668
  }
559
669
  export interface IdentificationData extends IdentificationDataIdOneOf {
560
- /** ID of a site visitor that has not logged in to the site. */
670
+ /**
671
+ * ID of a site visitor that has not logged in to the site.
672
+ * @format GUID
673
+ */
561
674
  anonymousVisitorId?: string;
562
- /** ID of a site visitor that has logged in to the site. */
675
+ /**
676
+ * ID of a site visitor that has logged in to the site.
677
+ * @format GUID
678
+ */
563
679
  memberId?: string;
564
- /** ID of a Wix user (site owner, contributor, etc.). */
680
+ /**
681
+ * ID of a Wix user (site owner, contributor, etc.).
682
+ * @format GUID
683
+ */
565
684
  wixUserId?: string;
566
- /** ID of an app. */
685
+ /**
686
+ * ID of an app.
687
+ * @format GUID
688
+ */
567
689
  appId?: string;
568
690
  /** @readonly */
569
691
  identityType?: WebhookIdentityType;
570
692
  }
571
693
  /** @oneof */
572
694
  export interface IdentificationDataIdOneOf {
573
- /** ID of a site visitor that has not logged in to the site. */
695
+ /**
696
+ * ID of a site visitor that has not logged in to the site.
697
+ * @format GUID
698
+ */
574
699
  anonymousVisitorId?: string;
575
- /** ID of a site visitor that has logged in to the site. */
700
+ /**
701
+ * ID of a site visitor that has logged in to the site.
702
+ * @format GUID
703
+ */
576
704
  memberId?: string;
577
- /** ID of a Wix user (site owner, contributor, etc.). */
705
+ /**
706
+ * ID of a Wix user (site owner, contributor, etc.).
707
+ * @format GUID
708
+ */
578
709
  wixUserId?: string;
579
- /** ID of an app. */
710
+ /**
711
+ * ID of an app.
712
+ * @format GUID
713
+ */
580
714
  appId?: string;
581
715
  }
582
716
  export declare enum WebhookIdentityType {
@@ -587,9 +721,15 @@ export declare enum WebhookIdentityType {
587
721
  APP = "APP"
588
722
  }
589
723
  export interface InvalidateCache extends InvalidateCacheGetByOneOf {
590
- /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
724
+ /**
725
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
726
+ * @format GUID
727
+ */
591
728
  metaSiteId?: string;
592
- /** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
729
+ /**
730
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
731
+ * @format GUID
732
+ */
593
733
  siteId?: string;
594
734
  /** Invalidate by App */
595
735
  app?: App;
@@ -599,7 +739,10 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
599
739
  uri?: URI;
600
740
  /** Invalidate by file (for media files such as PDFs) */
601
741
  file?: File;
602
- /** tell us why you're invalidating the cache. You don't need to add your app name */
742
+ /**
743
+ * tell us why you're invalidating the cache. You don't need to add your app name
744
+ * @maxLength 256
745
+ */
603
746
  reason?: string | null;
604
747
  /** Is local DS */
605
748
  localDc?: boolean;
@@ -607,9 +750,15 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
607
750
  }
608
751
  /** @oneof */
609
752
  export interface InvalidateCacheGetByOneOf {
610
- /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
753
+ /**
754
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
755
+ * @format GUID
756
+ */
611
757
  metaSiteId?: string;
612
- /** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
758
+ /**
759
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
760
+ * @format GUID
761
+ */
613
762
  siteId?: string;
614
763
  /** Invalidate by App */
615
764
  app?: App;
@@ -621,37 +770,71 @@ export interface InvalidateCacheGetByOneOf {
621
770
  file?: File;
622
771
  }
623
772
  export interface App {
624
- /** The AppDefId */
773
+ /**
774
+ * The AppDefId
775
+ * @minLength 1
776
+ */
625
777
  appDefId?: string;
626
- /** The instance Id */
778
+ /**
779
+ * The instance Id
780
+ * @format GUID
781
+ */
627
782
  instanceId?: string;
628
783
  }
629
784
  export interface Page {
630
- /** the msid the page is on */
785
+ /**
786
+ * the msid the page is on
787
+ * @format GUID
788
+ */
631
789
  metaSiteId?: string;
632
- /** Invalidate by Page ID */
790
+ /**
791
+ * Invalidate by Page ID
792
+ * @minLength 1
793
+ */
633
794
  pageId?: string;
634
795
  }
635
796
  export interface URI {
636
- /** the msid the URI is on */
797
+ /**
798
+ * the msid the URI is on
799
+ * @format GUID
800
+ */
637
801
  metaSiteId?: string;
638
- /** URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes */
802
+ /**
803
+ * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
804
+ * @minLength 1
805
+ */
639
806
  uriPath?: string;
640
807
  }
641
808
  export interface File {
642
- /** the msid the file is related to */
809
+ /**
810
+ * the msid the file is related to
811
+ * @format GUID
812
+ */
643
813
  metaSiteId?: string;
644
- /** Invalidate by filename (for media files such as PDFs) */
814
+ /**
815
+ * Invalidate by filename (for media files such as PDFs)
816
+ * @minLength 1
817
+ * @maxLength 256
818
+ */
645
819
  fileName?: string;
646
820
  }
647
821
  export interface SyncProjectWithCollectionMappings {
648
- /** Id of recently updated Project */
822
+ /**
823
+ * Id of recently updated Project
824
+ * @format GUID
825
+ */
649
826
  projectId?: string;
650
- /** fields that were updated in the given project */
827
+ /**
828
+ * fields that were updated in the given project
829
+ * @maxSize 100
830
+ */
651
831
  fieldMaskPaths?: string[];
652
832
  }
653
833
  export interface DeletedProjectRestored {
654
- /** the id of the project that was restored */
834
+ /**
835
+ * the id of the project that was restored
836
+ * @format GUID
837
+ */
655
838
  projectId?: string;
656
839
  /** timestamp for when the project was originally deleted. */
657
840
  deletionTimestamp?: Date | null;
@@ -665,7 +848,10 @@ export interface CreateProjectResponse {
665
848
  project?: Project;
666
849
  }
667
850
  export interface GetProjectRequest {
668
- /** ID of the project to retrieve. */
851
+ /**
852
+ * ID of the project to retrieve.
853
+ * @format GUID
854
+ */
669
855
  projectId: string;
670
856
  /** Whether to include the project's relative path and full URL in the response. Default: `false` */
671
857
  includePageUrl?: boolean | null;
@@ -681,13 +867,17 @@ export interface ListProjectsRequest {
681
867
  includePageUrl?: boolean | null;
682
868
  }
683
869
  export interface CursorPaging {
684
- /** Maximum number of items to return in the results. */
870
+ /**
871
+ * Maximum number of items to return in the results.
872
+ * @max 100
873
+ */
685
874
  limit?: number | null;
686
875
  /**
687
876
  * Pointer to the next or previous page in the list of results.
688
877
  *
689
878
  * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
690
879
  * Not relevant for the first request.
880
+ * @maxLength 16000
691
881
  */
692
882
  cursor?: string | null;
693
883
  }
@@ -710,9 +900,15 @@ export interface PagingMetadataV2 {
710
900
  cursors?: Cursors;
711
901
  }
712
902
  export interface Cursors {
713
- /** Cursor string pointing to the next page in the list of results. */
903
+ /**
904
+ * Cursor string pointing to the next page in the list of results.
905
+ * @maxLength 16000
906
+ */
714
907
  next?: string | null;
715
- /** Cursor pointing to the previous page in the list of results. */
908
+ /**
909
+ * Cursor pointing to the previous page in the list of results.
910
+ * @maxLength 16000
911
+ */
716
912
  prev?: string | null;
717
913
  }
718
914
  export interface UpdateProjectRequest {
@@ -724,7 +920,10 @@ export interface UpdateProjectResponse {
724
920
  project?: Project;
725
921
  }
726
922
  export interface BulkUpdateProjectsRequest {
727
- /** Projects to update. */
923
+ /**
924
+ * Projects to update.
925
+ * @maxSize 100
926
+ */
728
927
  projects?: MaskedProject[];
729
928
  /** Whether to include the updated projects in the response. Set to `true` to receive the projects in the response. Default: `false` */
730
929
  returnFullEntity?: boolean | null;
@@ -772,11 +971,17 @@ export interface BulkActionMetadata {
772
971
  undetailedFailures?: number;
773
972
  }
774
973
  export interface DeleteProjectRequest {
775
- /** ID of the project to delete. */
974
+ /**
975
+ * ID of the project to delete.
976
+ * @format GUID
977
+ */
776
978
  projectId: string;
777
979
  }
778
980
  export interface DeleteProjectResponse {
779
- /** ID of the deleted project. */
981
+ /**
982
+ * ID of the deleted project.
983
+ * @format GUID
984
+ */
780
985
  projectId?: string;
781
986
  }
782
987
  export interface QueryProjectsRequest {
@@ -815,7 +1020,10 @@ export interface QueryV2PagingMethodOneOf {
815
1020
  cursorPaging?: CursorPaging;
816
1021
  }
817
1022
  export interface Sorting {
818
- /** Name of the field to sort by. */
1023
+ /**
1024
+ * Name of the field to sort by.
1025
+ * @maxLength 512
1026
+ */
819
1027
  fieldName?: string;
820
1028
  /** Sort order. */
821
1029
  order?: SortOrder;
@@ -837,9 +1045,15 @@ export interface QueryProjectsResponse {
837
1045
  metadata?: PagingMetadataV2;
838
1046
  }
839
1047
  export interface UpdateProjectOrderInCollectionRequest {
840
- /** ID of the project to update. */
1048
+ /**
1049
+ * ID of the project to update.
1050
+ * @format GUID
1051
+ */
841
1052
  projectId: string;
842
- /** Collection ID. */
1053
+ /**
1054
+ * Collection ID.
1055
+ * @format GUID
1056
+ */
843
1057
  collectionId: string;
844
1058
  /** Index that determines the placement of a project within the collection. */
845
1059
  sortOrder: number | null;
@@ -849,7 +1063,10 @@ export interface UpdateProjectOrderInCollectionResponse {
849
1063
  projectInCollection?: ProjectsInCollections;
850
1064
  }
851
1065
  export interface ProjectsInCollections {
852
- /** Collection ID. */
1066
+ /**
1067
+ * Collection ID.
1068
+ * @format GUID
1069
+ */
853
1070
  collectionId?: string;
854
1071
  /** Project object. */
855
1072
  project?: Project;
@@ -862,6 +1079,7 @@ export interface ProjectsInCollections {
862
1079
  /**
863
1080
  * Project placement ID.
864
1081
  * @readonly
1082
+ * @format GUID
865
1083
  */
866
1084
  _id?: string | null;
867
1085
  }
@@ -878,7 +1096,10 @@ export interface QueryProjectWithCollectionInfoResponse {
878
1096
  metadata?: PagingMetadataV2;
879
1097
  }
880
1098
  export interface RestoreProjectFromTrashBinRequest {
881
- /** id of deleted project to restore from trash bin. */
1099
+ /**
1100
+ * id of deleted project to restore from trash bin.
1101
+ * @format GUID
1102
+ */
882
1103
  projectId?: string;
883
1104
  }
884
1105
  export interface RestoreProjectFromTrashBinResponse {
@@ -1057,9 +1278,15 @@ export interface QueryProjectWithCollectionInfoResponseNonNullableFields {
1057
1278
  projects: ProjectsInCollectionsNonNullableFields[];
1058
1279
  }
1059
1280
  export interface BaseEventMetadata {
1060
- /** App instance ID. */
1281
+ /**
1282
+ * App instance ID.
1283
+ * @format GUID
1284
+ */
1061
1285
  instanceId?: string | null;
1062
- /** Event type. */
1286
+ /**
1287
+ * Event type.
1288
+ * @maxLength 150
1289
+ */
1063
1290
  eventType?: string;
1064
1291
  /** The identification type and identity data. */
1065
1292
  identity?: IdentificationData;
@@ -1113,6 +1340,8 @@ export interface ProjectCreatedEnvelope {
1113
1340
  * @permissionId PORTFOLIO.PROJECT_READ
1114
1341
  * @webhook
1115
1342
  * @eventType wix.portfolio.projects.v1.project_created
1343
+ * @serviceIdentifier com.wixpress.portfolio.projects.ProjectsService
1344
+ * @slug created
1116
1345
  * @documentationMaturity preview
1117
1346
  */
1118
1347
  export declare function onProjectCreated(handler: (event: ProjectCreatedEnvelope) => void | Promise<void>): void;
@@ -1126,6 +1355,8 @@ export interface ProjectDeletedEnvelope {
1126
1355
  * @permissionId PORTFOLIO.PROJECT_READ
1127
1356
  * @webhook
1128
1357
  * @eventType wix.portfolio.projects.v1.project_deleted
1358
+ * @serviceIdentifier com.wixpress.portfolio.projects.ProjectsService
1359
+ * @slug deleted
1129
1360
  * @documentationMaturity preview
1130
1361
  */
1131
1362
  export declare function onProjectDeleted(handler: (event: ProjectDeletedEnvelope) => void | Promise<void>): void;
@@ -1140,6 +1371,8 @@ export interface ProjectUpdatedEnvelope {
1140
1371
  * @permissionId PORTFOLIO.PROJECT_READ
1141
1372
  * @webhook
1142
1373
  * @eventType wix.portfolio.projects.v1.project_updated
1374
+ * @serviceIdentifier com.wixpress.portfolio.projects.ProjectsService
1375
+ * @slug updated
1143
1376
  * @documentationMaturity preview
1144
1377
  */
1145
1378
  export declare function onProjectUpdated(handler: (event: ProjectUpdatedEnvelope) => void | Promise<void>): void;
@@ -1218,6 +1451,7 @@ export interface UpdateProject {
1218
1451
  /**
1219
1452
  * Project ID.
1220
1453
  * @readonly
1454
+ * @format GUID
1221
1455
  */
1222
1456
  _id?: string | null;
1223
1457
  /**
@@ -1225,13 +1459,20 @@ export interface UpdateProject {
1225
1459
  * @readonly
1226
1460
  */
1227
1461
  revision?: string | null;
1228
- /** Project title. */
1462
+ /**
1463
+ * Project title.
1464
+ * @maxLength 100
1465
+ */
1229
1466
  title?: string | null;
1230
1467
  /** Project description. */
1231
1468
  description?: string | null;
1232
1469
  /** Whether the project is hidden from the portfolio. Default: `false` */
1233
1470
  hidden?: boolean | null;
1234
- /** IDs of the collections that include the project. */
1471
+ /**
1472
+ * IDs of the collections that include the project.
1473
+ * @format GUID
1474
+ * @maxSize 1000
1475
+ */
1235
1476
  collectionIds?: string[];
1236
1477
  /** Project details. */
1237
1478
  details?: ProjectDetail[];
@@ -1248,7 +1489,7 @@ export interface UpdateProject {
1248
1489
  */
1249
1490
  _updatedDate?: Date | null;
1250
1491
  /**
1251
- * Project page URL and and relative path. Returned when `includePageUrl` is `true` in the request.
1492
+ * Project page URL and relative path. Returned when `includePageUrl` is `true` in the request.
1252
1493
  * @readonly
1253
1494
  */
1254
1495
  url?: string;
@@ -1270,7 +1511,10 @@ export interface UpdateProject {
1270
1511
  */
1271
1512
  export declare function bulkUpdateProjects(options?: BulkUpdateProjectsOptions): Promise<BulkUpdateProjectsResponse & BulkUpdateProjectsResponseNonNullableFields>;
1272
1513
  export interface BulkUpdateProjectsOptions {
1273
- /** Projects to update. */
1514
+ /**
1515
+ * Projects to update.
1516
+ * @maxSize 100
1517
+ */
1274
1518
  projects?: MaskedProject[];
1275
1519
  /** Whether to include the updated projects in the response. Set to `true` to receive the projects in the response. Default: `false` */
1276
1520
  returnFullEntity?: boolean | null;
@@ -1418,9 +1662,15 @@ export interface ProjectsQueryBuilder {
1418
1662
  */
1419
1663
  export declare function updateProjectOrderInCollection(identifiers: UpdateProjectOrderInCollectionIdentifiers, sortOrder: number | null): Promise<UpdateProjectOrderInCollectionResponse & UpdateProjectOrderInCollectionResponseNonNullableFields>;
1420
1664
  export interface UpdateProjectOrderInCollectionIdentifiers {
1421
- /** ID of the project to update. */
1665
+ /**
1666
+ * ID of the project to update.
1667
+ * @format GUID
1668
+ */
1422
1669
  projectId: string;
1423
- /** Collection ID. */
1670
+ /**
1671
+ * Collection ID.
1672
+ * @format GUID
1673
+ */
1424
1674
  collectionId: string;
1425
1675
  }
1426
1676
  /**