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