@wix/portfolio 1.0.96 → 1.0.97

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.
@@ -1645,55 +1645,56 @@ declare namespace meta$3 {
1645
1645
  export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$3_bulkCreateProjectItems as bulkCreateProjectItems, meta$3_bulkDeleteProjectItems as bulkDeleteProjectItems, meta$3_bulkUpdateProjectItems as bulkUpdateProjectItems, meta$3_createProjectItem as createProjectItem, meta$3_deleteProjectItem as deleteProjectItem, meta$3_duplicateProjectItems as duplicateProjectItems, meta$3_getProjectItem as getProjectItem, meta$3_listProjectItems as listProjectItems, meta$3_updateProjectItem as updateProjectItem };
1646
1646
  }
1647
1647
 
1648
- /** Project is the main entity of ProjectsService */
1649
1648
  interface Project$3 extends ProjectCoverOneOf$3 {
1650
- /** project's cover photo */
1649
+ /** Project cover image. */
1651
1650
  coverImage?: Image$3;
1652
- /** project's cover video */
1651
+ /** Project cover video. */
1653
1652
  coverVideo?: Video$3;
1654
1653
  /**
1655
- * Project ID
1654
+ * Project ID.
1656
1655
  * @readonly
1657
1656
  */
1658
1657
  id?: string | null;
1659
1658
  /**
1660
- * 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
1659
+ * Revision number, which increments by 1 each time the project is updated. To prevent conflicting changes, the existing revision must be passed when updating the project object.
1661
1660
  * @readonly
1662
1661
  */
1663
1662
  revision?: string | null;
1663
+ /** Project title. */
1664
1664
  title?: string | null;
1665
+ /** Project description. */
1665
1666
  description?: string | null;
1666
- /** indicates if the project should be hidden from Portfolio */
1667
+ /** Whether the project is hidden from the portfolio. */
1667
1668
  hidden?: boolean | null;
1668
- /** Collections must exist to be added to a project. Can be created/updated/deleted using [Collection Service](https://dev.wix.com/docs/rest/business-solutions/portfolio/collection) */
1669
+ /** IDs of the collections that include the project. */
1669
1670
  collectionIds?: string[];
1670
- /** Custom project details */
1671
+ /** Project details. */
1671
1672
  details?: ProjectDetail$3[];
1672
- /** Project's slug */
1673
+ /** Project slug. */
1673
1674
  slug?: string | null;
1674
1675
  /**
1675
- * Represents the time this Project was created
1676
+ * Date and time the project was created.
1676
1677
  * @readonly
1677
1678
  */
1678
1679
  createdDate?: Date;
1679
1680
  /**
1680
- * Represents the time this Project was last updated
1681
+ * Date and time the project was updated.
1681
1682
  * @readonly
1682
1683
  */
1683
1684
  updatedDate?: Date;
1684
1685
  /**
1685
- * 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
1686
+ * Project's page URL and relative path. To receive this field in the response, pass the `includePageUrl` query parameter in the request.
1686
1687
  * @readonly
1687
1688
  */
1688
1689
  url?: PageUrlV2$1;
1689
- /** SEO data for the project */
1690
+ /** Project SEO data. */
1690
1691
  seoData?: SeoSchema$3;
1691
1692
  }
1692
1693
  /** @oneof */
1693
1694
  interface ProjectCoverOneOf$3 {
1694
- /** project's cover photo */
1695
+ /** Project cover image. */
1695
1696
  coverImage?: Image$3;
1696
- /** project's cover video */
1697
+ /** Project cover video. */
1697
1698
  coverVideo?: Video$3;
1698
1699
  }
1699
1700
  interface Image$3 {
@@ -1762,21 +1763,30 @@ interface VideoResolution$1 {
1762
1763
  /** Video filename. */
1763
1764
  filename?: string | null;
1764
1765
  }
1766
+ /**
1767
+ * Project label.
1768
+ * One of:
1769
+ * + `text`
1770
+ * + `link`
1771
+ */
1765
1772
  interface ProjectDetail$3 extends ProjectDetailValueOneOf$3 {
1773
+ /** Project label in plain text format. */
1766
1774
  text?: string;
1767
- /** Details link */
1775
+ /** Project label in link format. */
1768
1776
  link?: DetailsLink$3;
1769
1777
  label?: string;
1770
1778
  }
1771
1779
  /** @oneof */
1772
1780
  interface ProjectDetailValueOneOf$3 {
1781
+ /** Project label in plain text format. */
1773
1782
  text?: string;
1774
- /** Details link */
1783
+ /** Project label in link format. */
1775
1784
  link?: DetailsLink$3;
1776
1785
  }
1777
1786
  interface DetailsLink$3 {
1787
+ /** Display text of the link. */
1778
1788
  text?: string | null;
1779
- /** link to external source */
1789
+ /** Target URL of the link. */
1780
1790
  url?: string | null;
1781
1791
  /**
1782
1792
  * Whether the link opens in a new tab or window. One of:
@@ -1869,27 +1879,27 @@ interface ProjectSlug$1 {
1869
1879
  slug?: string;
1870
1880
  }
1871
1881
  interface CreateProjectRequest$1 {
1872
- /** Project to be created */
1882
+ /** Project to create. */
1873
1883
  project: Project$3;
1874
1884
  }
1875
1885
  interface CreateProjectResponse$1 {
1876
- /** The created Project */
1886
+ /** Created project. */
1877
1887
  project?: Project$3;
1878
1888
  }
1879
1889
  interface GetProjectRequest$1 {
1880
- /** Id of the Project to retrieve */
1890
+ /** ID of the project to retrieve. */
1881
1891
  projectId: string;
1882
1892
  /** Include page url */
1883
1893
  includePageUrl?: boolean | null;
1884
1894
  }
1885
1895
  interface GetProjectResponse$1 {
1886
- /** The retrieved Project */
1896
+ /** The requested project. */
1887
1897
  project?: Project$3;
1888
1898
  }
1889
1899
  interface ListProjectsRequest$1 {
1890
- /** Projects limit per response is maximum 100, In the first request the cursor is None */
1900
+ /** Projects limit per response is maximum 100, In the first request the cursor is None ? */
1891
1901
  paging?: CursorPaging$5;
1892
- /** Include page url */
1902
+ /** Include page url ? */
1893
1903
  includePageUrl?: boolean | null;
1894
1904
  }
1895
1905
  interface CursorPaging$5 {
@@ -1904,9 +1914,9 @@ interface CursorPaging$5 {
1904
1914
  cursor?: string | null;
1905
1915
  }
1906
1916
  interface ListProjectsResponse$1 {
1907
- /** The retrieved Projects */
1917
+ /** List of projects. */
1908
1918
  projects?: Project$3[];
1909
- /** Paging metadata */
1919
+ /** Paging metadata ? */
1910
1920
  metadata?: PagingMetadataV2$5;
1911
1921
  }
1912
1922
  interface PagingMetadataV2$5 {
@@ -1928,33 +1938,33 @@ interface Cursors$5 {
1928
1938
  prev?: string | null;
1929
1939
  }
1930
1940
  interface UpdateProjectRequest$1 {
1931
- /** Project to be updated, may be partial */
1941
+ /** Project to update. */
1932
1942
  project: Project$3;
1933
1943
  }
1934
1944
  interface UpdateProjectResponse$1 {
1935
- /** The updated Project */
1945
+ /** Updated project. */
1936
1946
  project?: Project$3;
1937
1947
  }
1938
1948
  interface BulkUpdateProjectsRequest$1 {
1939
- /** projects to be updated. */
1949
+ /** Projects to update. */
1940
1950
  projects?: MaskedProject$1[];
1941
- /** Flag to return full entity in response */
1951
+ /** Whether to include the updated projects in the response. Set to `true`` to receive the projects in the response. */
1942
1952
  returnFullEntity?: boolean | null;
1943
1953
  }
1944
1954
  interface MaskedProject$1 {
1945
- /** Project to be updated */
1955
+ /** Project to update. */
1946
1956
  project?: Project$3;
1947
1957
  }
1948
1958
  interface BulkUpdateProjectsResponse$1 {
1949
- /** Array with all updated items results. */
1959
+ /** Items created by bulk action. */
1950
1960
  results?: BulkUpdateProjectsResult$1[];
1951
- /** Holds metadata of the entire bulk update operation */
1961
+ /** Bulk action metadata. */
1952
1962
  bulkActionMetadata?: BulkActionMetadata$1;
1953
1963
  }
1954
1964
  interface BulkUpdateProjectsResult$1 {
1955
- /** Holds information about an item in bulk update - id, index in original request array, action successful, error (if failed). */
1965
+ /** Item metadata. */
1956
1966
  itemMetadata?: ItemMetadata$1;
1957
- /** Updated Project */
1967
+ /** Updated project. */
1958
1968
  project?: Project$3;
1959
1969
  }
1960
1970
  interface ItemMetadata$1 {
@@ -1984,17 +1994,17 @@ interface BulkActionMetadata$1 {
1984
1994
  undetailedFailures?: number;
1985
1995
  }
1986
1996
  interface DeleteProjectRequest$1 {
1987
- /** Id of the Project to delete */
1997
+ /** ID of the project to delete. */
1988
1998
  projectId: string;
1989
1999
  }
1990
2000
  interface DeleteProjectResponse$1 {
1991
- /** Id of the deleted Project */
2001
+ /** ID of the deleted project. */
1992
2002
  projectId?: string;
1993
2003
  }
1994
2004
  interface QueryProjectsRequest$1 {
1995
- /** WQL expression */
2005
+ /** Query options. */
1996
2006
  query: QueryV2$3;
1997
- /** Include page url */
2007
+ /** Include page url ? */
1998
2008
  includePageUrl?: boolean | null;
1999
2009
  }
2000
2010
  interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
@@ -2043,9 +2053,9 @@ interface Paging$3 {
2043
2053
  offset?: number | null;
2044
2054
  }
2045
2055
  interface QueryProjectsResponse$1 {
2046
- /** The retrieved Projects */
2056
+ /** List of projects. */
2047
2057
  projects?: Project$3[];
2048
- /** Paging metadata */
2058
+ /** Paging metadata ? */
2049
2059
  metadata?: PagingMetadataV2$5;
2050
2060
  }
2051
2061
  interface UpdateProjectOrderInCollectionRequest$3 {
@@ -2213,55 +2223,56 @@ interface QueryProjectWithCollectionInfoResponseNonNullableFields$1 {
2213
2223
  projects: ProjectInCollectionNonNullableFields$3[];
2214
2224
  }
2215
2225
 
2216
- /** Project is the main entity of ProjectsService */
2217
2226
  interface Project$2 extends ProjectCoverOneOf$2 {
2218
- /** project's cover photo */
2227
+ /** Project cover image. */
2219
2228
  coverImage?: Image$2;
2220
- /** project's cover video */
2229
+ /** Project cover video. */
2221
2230
  coverVideo?: Video$2;
2222
2231
  /**
2223
- * Project ID
2232
+ * Project ID.
2224
2233
  * @readonly
2225
2234
  */
2226
2235
  _id?: string | null;
2227
2236
  /**
2228
- * 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
2237
+ * Revision number, which increments by 1 each time the project is updated. To prevent conflicting changes, the existing revision must be passed when updating the project object.
2229
2238
  * @readonly
2230
2239
  */
2231
2240
  revision?: string | null;
2241
+ /** Project title. */
2232
2242
  title?: string | null;
2243
+ /** Project description. */
2233
2244
  description?: string | null;
2234
- /** indicates if the project should be hidden from Portfolio */
2245
+ /** Whether the project is hidden from the portfolio. */
2235
2246
  hidden?: boolean | null;
2236
- /** Collections must exist to be added to a project. Can be created/updated/deleted using [Collection Service](https://dev.wix.com/docs/rest/business-solutions/portfolio/collection) */
2247
+ /** IDs of the collections that include the project. */
2237
2248
  collectionIds?: string[];
2238
- /** Custom project details */
2249
+ /** Project details. */
2239
2250
  details?: ProjectDetail$2[];
2240
- /** Project's slug */
2251
+ /** Project slug. */
2241
2252
  slug?: string | null;
2242
2253
  /**
2243
- * Represents the time this Project was created
2254
+ * Date and time the project was created.
2244
2255
  * @readonly
2245
2256
  */
2246
2257
  _createdDate?: Date;
2247
2258
  /**
2248
- * Represents the time this Project was last updated
2259
+ * Date and time the project was updated.
2249
2260
  * @readonly
2250
2261
  */
2251
2262
  _updatedDate?: Date;
2252
2263
  /**
2253
- * 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
2264
+ * Project's page URL and relative path. To receive this field in the response, pass the `includePageUrl` query parameter in the request.
2254
2265
  * @readonly
2255
2266
  */
2256
2267
  url?: string;
2257
- /** SEO data for the project */
2268
+ /** Project SEO data. */
2258
2269
  seoData?: SeoSchema$2;
2259
2270
  }
2260
2271
  /** @oneof */
2261
2272
  interface ProjectCoverOneOf$2 {
2262
- /** project's cover photo */
2273
+ /** Project cover image. */
2263
2274
  coverImage?: Image$2;
2264
- /** project's cover video */
2275
+ /** Project cover video. */
2265
2276
  coverVideo?: Video$2;
2266
2277
  }
2267
2278
  interface Image$2 {
@@ -2287,21 +2298,30 @@ interface Video$2 {
2287
2298
  /** Manually defined Video duration in milliseconds. */
2288
2299
  durationInMillis?: number | null;
2289
2300
  }
2301
+ /**
2302
+ * Project label.
2303
+ * One of:
2304
+ * + `text`
2305
+ * + `link`
2306
+ */
2290
2307
  interface ProjectDetail$2 extends ProjectDetailValueOneOf$2 {
2308
+ /** Project label in plain text format. */
2291
2309
  text?: string;
2292
- /** Details link */
2310
+ /** Project label in link format. */
2293
2311
  link?: DetailsLink$2;
2294
2312
  label?: string;
2295
2313
  }
2296
2314
  /** @oneof */
2297
2315
  interface ProjectDetailValueOneOf$2 {
2316
+ /** Project label in plain text format. */
2298
2317
  text?: string;
2299
- /** Details link */
2318
+ /** Project label in link format. */
2300
2319
  link?: DetailsLink$2;
2301
2320
  }
2302
2321
  interface DetailsLink$2 {
2322
+ /** Display text of the link. */
2303
2323
  text?: string | null;
2304
- /** link to external source */
2324
+ /** Target URL of the link. */
2305
2325
  url?: string | null;
2306
2326
  /**
2307
2327
  * Whether the link opens in a new tab or window. One of:
@@ -2388,27 +2408,27 @@ interface ProjectSlug {
2388
2408
  slug?: string;
2389
2409
  }
2390
2410
  interface CreateProjectRequest {
2391
- /** Project to be created */
2411
+ /** Project to create. */
2392
2412
  project: Project$2;
2393
2413
  }
2394
2414
  interface CreateProjectResponse {
2395
- /** The created Project */
2415
+ /** Created project. */
2396
2416
  project?: Project$2;
2397
2417
  }
2398
2418
  interface GetProjectRequest {
2399
- /** Id of the Project to retrieve */
2419
+ /** ID of the project to retrieve. */
2400
2420
  projectId: string;
2401
2421
  /** Include page url */
2402
2422
  includePageUrl?: boolean | null;
2403
2423
  }
2404
2424
  interface GetProjectResponse {
2405
- /** The retrieved Project */
2425
+ /** The requested project. */
2406
2426
  project?: Project$2;
2407
2427
  }
2408
2428
  interface ListProjectsRequest {
2409
- /** Projects limit per response is maximum 100, In the first request the cursor is None */
2429
+ /** Projects limit per response is maximum 100, In the first request the cursor is None ? */
2410
2430
  paging?: CursorPaging$4;
2411
- /** Include page url */
2431
+ /** Include page url ? */
2412
2432
  includePageUrl?: boolean | null;
2413
2433
  }
2414
2434
  interface CursorPaging$4 {
@@ -2423,9 +2443,9 @@ interface CursorPaging$4 {
2423
2443
  cursor?: string | null;
2424
2444
  }
2425
2445
  interface ListProjectsResponse {
2426
- /** The retrieved Projects */
2446
+ /** List of projects. */
2427
2447
  projects?: Project$2[];
2428
- /** Paging metadata */
2448
+ /** Paging metadata ? */
2429
2449
  metadata?: PagingMetadataV2$4;
2430
2450
  }
2431
2451
  interface PagingMetadataV2$4 {
@@ -2447,33 +2467,33 @@ interface Cursors$4 {
2447
2467
  prev?: string | null;
2448
2468
  }
2449
2469
  interface UpdateProjectRequest {
2450
- /** Project to be updated, may be partial */
2470
+ /** Project to update. */
2451
2471
  project: Project$2;
2452
2472
  }
2453
2473
  interface UpdateProjectResponse {
2454
- /** The updated Project */
2474
+ /** Updated project. */
2455
2475
  project?: Project$2;
2456
2476
  }
2457
2477
  interface BulkUpdateProjectsRequest {
2458
- /** projects to be updated. */
2478
+ /** Projects to update. */
2459
2479
  projects?: MaskedProject[];
2460
- /** Flag to return full entity in response */
2480
+ /** Whether to include the updated projects in the response. Set to `true`` to receive the projects in the response. */
2461
2481
  returnFullEntity?: boolean | null;
2462
2482
  }
2463
2483
  interface MaskedProject {
2464
- /** Project to be updated */
2484
+ /** Project to update. */
2465
2485
  project?: Project$2;
2466
2486
  }
2467
2487
  interface BulkUpdateProjectsResponse {
2468
- /** Array with all updated items results. */
2488
+ /** Items created by bulk action. */
2469
2489
  results?: BulkUpdateProjectsResult[];
2470
- /** Holds metadata of the entire bulk update operation */
2490
+ /** Bulk action metadata. */
2471
2491
  bulkActionMetadata?: BulkActionMetadata;
2472
2492
  }
2473
2493
  interface BulkUpdateProjectsResult {
2474
- /** Holds information about an item in bulk update - id, index in original request array, action successful, error (if failed). */
2494
+ /** Item metadata. */
2475
2495
  itemMetadata?: ItemMetadata;
2476
- /** Updated Project */
2496
+ /** Updated project. */
2477
2497
  project?: Project$2;
2478
2498
  }
2479
2499
  interface ItemMetadata {
@@ -2503,17 +2523,17 @@ interface BulkActionMetadata {
2503
2523
  undetailedFailures?: number;
2504
2524
  }
2505
2525
  interface DeleteProjectRequest {
2506
- /** Id of the Project to delete */
2526
+ /** ID of the project to delete. */
2507
2527
  projectId: string;
2508
2528
  }
2509
2529
  interface DeleteProjectResponse {
2510
- /** Id of the deleted Project */
2530
+ /** ID of the deleted project. */
2511
2531
  projectId?: string;
2512
2532
  }
2513
2533
  interface QueryProjectsRequest {
2514
- /** WQL expression */
2534
+ /** Query options. */
2515
2535
  query: QueryV2$2;
2516
- /** Include page url */
2536
+ /** Include page url ? */
2517
2537
  includePageUrl?: boolean | null;
2518
2538
  }
2519
2539
  interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
@@ -2562,9 +2582,9 @@ interface Paging$2 {
2562
2582
  offset?: number | null;
2563
2583
  }
2564
2584
  interface QueryProjectsResponse {
2565
- /** The retrieved Projects */
2585
+ /** List of projects. */
2566
2586
  projects?: Project$2[];
2567
- /** Paging metadata */
2587
+ /** Paging metadata ? */
2568
2588
  metadata?: PagingMetadataV2$4;
2569
2589
  }
2570
2590
  interface UpdateProjectOrderInCollectionRequest$2 {
@@ -2764,55 +2784,56 @@ interface ProjectInCollection$1 {
2764
2784
  /** The sort order of the project in the given Collection */
2765
2785
  sortOrder?: number | null;
2766
2786
  }
2767
- /** Project is the main entity of ProjectsService */
2768
2787
  interface Project$1 extends ProjectCoverOneOf$1 {
2769
- /** project's cover photo */
2788
+ /** Project cover image. */
2770
2789
  coverImage?: Image$1;
2771
- /** project's cover video */
2790
+ /** Project cover video. */
2772
2791
  coverVideo?: Video$1;
2773
2792
  /**
2774
- * Project ID
2793
+ * Project ID.
2775
2794
  * @readonly
2776
2795
  */
2777
2796
  id?: string | null;
2778
2797
  /**
2779
- * 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
2798
+ * Revision number, which increments by 1 each time the project is updated. To prevent conflicting changes, the existing revision must be passed when updating the project object.
2780
2799
  * @readonly
2781
2800
  */
2782
2801
  revision?: string | null;
2802
+ /** Project title. */
2783
2803
  title?: string | null;
2804
+ /** Project description. */
2784
2805
  description?: string | null;
2785
- /** indicates if the project should be hidden from Portfolio */
2806
+ /** Whether the project is hidden from the portfolio. */
2786
2807
  hidden?: boolean | null;
2787
- /** Collections must exist to be added to a project. Can be created/updated/deleted using [Collection Service](https://dev.wix.com/docs/rest/business-solutions/portfolio/collection) */
2808
+ /** IDs of the collections that include the project. */
2788
2809
  collectionIds?: string[];
2789
- /** Custom project details */
2810
+ /** Project details. */
2790
2811
  details?: ProjectDetail$1[];
2791
- /** Project's slug */
2812
+ /** Project slug. */
2792
2813
  slug?: string | null;
2793
2814
  /**
2794
- * Represents the time this Project was created
2815
+ * Date and time the project was created.
2795
2816
  * @readonly
2796
2817
  */
2797
2818
  createdDate?: Date;
2798
2819
  /**
2799
- * Represents the time this Project was last updated
2820
+ * Date and time the project was updated.
2800
2821
  * @readonly
2801
2822
  */
2802
2823
  updatedDate?: Date;
2803
2824
  /**
2804
- * 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
2825
+ * Project's page URL and relative path. To receive this field in the response, pass the `includePageUrl` query parameter in the request.
2805
2826
  * @readonly
2806
2827
  */
2807
2828
  url?: PageUrlV2;
2808
- /** SEO data for the project */
2829
+ /** Project SEO data. */
2809
2830
  seoData?: SeoSchema$1;
2810
2831
  }
2811
2832
  /** @oneof */
2812
2833
  interface ProjectCoverOneOf$1 {
2813
- /** project's cover photo */
2834
+ /** Project cover image. */
2814
2835
  coverImage?: Image$1;
2815
- /** project's cover video */
2836
+ /** Project cover video. */
2816
2837
  coverVideo?: Video$1;
2817
2838
  }
2818
2839
  interface Image$1 {
@@ -2881,21 +2902,30 @@ interface VideoResolution {
2881
2902
  /** Video filename. */
2882
2903
  filename?: string | null;
2883
2904
  }
2905
+ /**
2906
+ * Project label.
2907
+ * One of:
2908
+ * + `text`
2909
+ * + `link`
2910
+ */
2884
2911
  interface ProjectDetail$1 extends ProjectDetailValueOneOf$1 {
2912
+ /** Project label in plain text format. */
2885
2913
  text?: string;
2886
- /** Details link */
2914
+ /** Project label in link format. */
2887
2915
  link?: DetailsLink$1;
2888
2916
  label?: string;
2889
2917
  }
2890
2918
  /** @oneof */
2891
2919
  interface ProjectDetailValueOneOf$1 {
2920
+ /** Project label in plain text format. */
2892
2921
  text?: string;
2893
- /** Details link */
2922
+ /** Project label in link format. */
2894
2923
  link?: DetailsLink$1;
2895
2924
  }
2896
2925
  interface DetailsLink$1 {
2926
+ /** Display text of the link. */
2897
2927
  text?: string | null;
2898
- /** link to external source */
2928
+ /** Target URL of the link. */
2899
2929
  url?: string | null;
2900
2930
  /**
2901
2931
  * Whether the link opens in a new tab or window. One of:
@@ -3157,55 +3187,56 @@ interface ProjectInCollection {
3157
3187
  /** The sort order of the project in the given Collection */
3158
3188
  sortOrder?: number | null;
3159
3189
  }
3160
- /** Project is the main entity of ProjectsService */
3161
3190
  interface Project extends ProjectCoverOneOf {
3162
- /** project's cover photo */
3191
+ /** Project cover image. */
3163
3192
  coverImage?: Image;
3164
- /** project's cover video */
3193
+ /** Project cover video. */
3165
3194
  coverVideo?: Video;
3166
3195
  /**
3167
- * Project ID
3196
+ * Project ID.
3168
3197
  * @readonly
3169
3198
  */
3170
3199
  _id?: string | null;
3171
3200
  /**
3172
- * 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
3201
+ * Revision number, which increments by 1 each time the project is updated. To prevent conflicting changes, the existing revision must be passed when updating the project object.
3173
3202
  * @readonly
3174
3203
  */
3175
3204
  revision?: string | null;
3205
+ /** Project title. */
3176
3206
  title?: string | null;
3207
+ /** Project description. */
3177
3208
  description?: string | null;
3178
- /** indicates if the project should be hidden from Portfolio */
3209
+ /** Whether the project is hidden from the portfolio. */
3179
3210
  hidden?: boolean | null;
3180
- /** Collections must exist to be added to a project. Can be created/updated/deleted using [Collection Service](https://dev.wix.com/docs/rest/business-solutions/portfolio/collection) */
3211
+ /** IDs of the collections that include the project. */
3181
3212
  collectionIds?: string[];
3182
- /** Custom project details */
3213
+ /** Project details. */
3183
3214
  details?: ProjectDetail[];
3184
- /** Project's slug */
3215
+ /** Project slug. */
3185
3216
  slug?: string | null;
3186
3217
  /**
3187
- * Represents the time this Project was created
3218
+ * Date and time the project was created.
3188
3219
  * @readonly
3189
3220
  */
3190
3221
  _createdDate?: Date;
3191
3222
  /**
3192
- * Represents the time this Project was last updated
3223
+ * Date and time the project was updated.
3193
3224
  * @readonly
3194
3225
  */
3195
3226
  _updatedDate?: Date;
3196
3227
  /**
3197
- * 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
3228
+ * Project's page URL and relative path. To receive this field in the response, pass the `includePageUrl` query parameter in the request.
3198
3229
  * @readonly
3199
3230
  */
3200
3231
  url?: string;
3201
- /** SEO data for the project */
3232
+ /** Project SEO data. */
3202
3233
  seoData?: SeoSchema;
3203
3234
  }
3204
3235
  /** @oneof */
3205
3236
  interface ProjectCoverOneOf {
3206
- /** project's cover photo */
3237
+ /** Project cover image. */
3207
3238
  coverImage?: Image;
3208
- /** project's cover video */
3239
+ /** Project cover video. */
3209
3240
  coverVideo?: Video;
3210
3241
  }
3211
3242
  interface Image {
@@ -3231,21 +3262,30 @@ interface Video {
3231
3262
  /** Manually defined Video duration in milliseconds. */
3232
3263
  durationInMillis?: number | null;
3233
3264
  }
3265
+ /**
3266
+ * Project label.
3267
+ * One of:
3268
+ * + `text`
3269
+ * + `link`
3270
+ */
3234
3271
  interface ProjectDetail extends ProjectDetailValueOneOf {
3272
+ /** Project label in plain text format. */
3235
3273
  text?: string;
3236
- /** Details link */
3274
+ /** Project label in link format. */
3237
3275
  link?: DetailsLink;
3238
3276
  label?: string;
3239
3277
  }
3240
3278
  /** @oneof */
3241
3279
  interface ProjectDetailValueOneOf {
3280
+ /** Project label in plain text format. */
3242
3281
  text?: string;
3243
- /** Details link */
3282
+ /** Project label in link format. */
3244
3283
  link?: DetailsLink;
3245
3284
  }
3246
3285
  interface DetailsLink {
3286
+ /** Display text of the link. */
3247
3287
  text?: string | null;
3248
- /** link to external source */
3288
+ /** Target URL of the link. */
3249
3289
  url?: string | null;
3250
3290
  /**
3251
3291
  * Whether the link opens in a new tab or window. One of: