@wix/portfolio 1.0.114 → 1.0.116
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/portfolio",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.116",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"type-bundles"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@wix/portfolio_collections": "1.0.
|
|
24
|
+
"@wix/portfolio_collections": "1.0.37",
|
|
25
25
|
"@wix/portfolio_portfolio-settings": "1.0.23",
|
|
26
|
-
"@wix/portfolio_project-in-collections": "1.0.
|
|
27
|
-
"@wix/portfolio_project-items": "1.0.
|
|
28
|
-
"@wix/portfolio_projects": "1.0.
|
|
29
|
-
"@wix/portfolio_synced-project": "1.0.
|
|
26
|
+
"@wix/portfolio_project-in-collections": "1.0.40",
|
|
27
|
+
"@wix/portfolio_project-items": "1.0.43",
|
|
28
|
+
"@wix/portfolio_projects": "1.0.55",
|
|
29
|
+
"@wix/portfolio_synced-project": "1.0.19"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"glob": "^10.4.1",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"fqdn": ""
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"falconPackageHash": "
|
|
54
|
+
"falconPackageHash": "5726dd40503341acaf279401e274861ba9a008e79e2d011d8cff6cb1"
|
|
55
55
|
}
|
|
@@ -487,13 +487,15 @@ interface Collection {
|
|
|
487
487
|
* @readonly
|
|
488
488
|
*/
|
|
489
489
|
revision?: string | null;
|
|
490
|
+
/** Collection title. */
|
|
490
491
|
title?: string | null;
|
|
492
|
+
/** Collection description. */
|
|
491
493
|
description?: string | null;
|
|
492
494
|
/** Collection slug. */
|
|
493
495
|
slug?: string | null;
|
|
494
496
|
/** Collection cover image. */
|
|
495
497
|
coverImage?: Image$3;
|
|
496
|
-
/** Whether the collection is hidden from the portfolio. */
|
|
498
|
+
/** Whether the collection is hidden from the portfolio. Default: `false` */
|
|
497
499
|
hidden?: boolean | null;
|
|
498
500
|
/**
|
|
499
501
|
* Index that determines which position a media item is displayed in the gallery. <br />
|
|
@@ -793,7 +795,12 @@ interface CreateCollectionResponse {
|
|
|
793
795
|
interface GetCollectionRequest {
|
|
794
796
|
/** ID of the collection to retrieve. */
|
|
795
797
|
collectionId: string;
|
|
796
|
-
/**
|
|
798
|
+
/**
|
|
799
|
+
* Whether to include the collection's page URL and relative path in the response.
|
|
800
|
+
* One of:
|
|
801
|
+
* + `true`
|
|
802
|
+
* + `false`
|
|
803
|
+
*/
|
|
797
804
|
includePageUrl?: boolean | null;
|
|
798
805
|
}
|
|
799
806
|
interface GetCollectionResponse {
|
|
@@ -801,9 +808,13 @@ interface GetCollectionResponse {
|
|
|
801
808
|
collection?: Collection;
|
|
802
809
|
}
|
|
803
810
|
interface ListCollectionsRequest {
|
|
804
|
-
/** Maximum limit per response is 100, in first request cursor is None ? */
|
|
805
811
|
paging?: CursorPaging$4;
|
|
806
|
-
/**
|
|
812
|
+
/**
|
|
813
|
+
* Whether to include the collection's page URL and relative path in the response.
|
|
814
|
+
* One of:
|
|
815
|
+
* + `true`
|
|
816
|
+
* + `false`
|
|
817
|
+
*/
|
|
807
818
|
includePageUrl?: boolean | null;
|
|
808
819
|
}
|
|
809
820
|
interface CursorPaging$4 {
|
|
@@ -965,13 +976,22 @@ interface QueryCollectionsResponseNonNullableFields {
|
|
|
965
976
|
collections: CollectionNonNullableFields[];
|
|
966
977
|
}
|
|
967
978
|
interface GetCollectionOptions {
|
|
968
|
-
/**
|
|
979
|
+
/**
|
|
980
|
+
* Whether to include the collection's page URL and relative path in the response.
|
|
981
|
+
* One of:
|
|
982
|
+
* + `true`
|
|
983
|
+
* + `false`
|
|
984
|
+
*/
|
|
969
985
|
includePageUrl?: boolean | null;
|
|
970
986
|
}
|
|
971
987
|
interface ListCollectionsOptions {
|
|
972
|
-
/** Maximum limit per response is 100, in first request cursor is None ? */
|
|
973
988
|
paging?: CursorPaging$4;
|
|
974
|
-
/**
|
|
989
|
+
/**
|
|
990
|
+
* Whether to include the collection's page URL and relative path in the response.
|
|
991
|
+
* One of:
|
|
992
|
+
* + `true`
|
|
993
|
+
* + `false`
|
|
994
|
+
*/
|
|
975
995
|
includePageUrl?: boolean | null;
|
|
976
996
|
}
|
|
977
997
|
interface UpdateCollection {
|
|
@@ -985,13 +1005,15 @@ interface UpdateCollection {
|
|
|
985
1005
|
* @readonly
|
|
986
1006
|
*/
|
|
987
1007
|
revision?: string | null;
|
|
1008
|
+
/** Collection title. */
|
|
988
1009
|
title?: string | null;
|
|
1010
|
+
/** Collection description. */
|
|
989
1011
|
description?: string | null;
|
|
990
1012
|
/** Collection slug. */
|
|
991
1013
|
slug?: string | null;
|
|
992
1014
|
/** Collection cover image. */
|
|
993
1015
|
coverImage?: Image$3;
|
|
994
|
-
/** Whether the collection is hidden from the portfolio. */
|
|
1016
|
+
/** Whether the collection is hidden from the portfolio. Default: `false` */
|
|
995
1017
|
hidden?: boolean | null;
|
|
996
1018
|
/**
|
|
997
1019
|
* Index that determines which position a media item is displayed in the gallery. <br />
|
|
@@ -1452,7 +1474,6 @@ declare namespace context$4 {
|
|
|
1452
1474
|
export { type ActionEvent$4 as ActionEvent, context$4_AddItemDirection as AddItemDirection, type context$4_CreatePortfolioSettingsRequest as CreatePortfolioSettingsRequest, type context$4_CreatePortfolioSettingsResponse as CreatePortfolioSettingsResponse, type context$4_CreatePortfolioSettingsResponseNonNullableFields as CreatePortfolioSettingsResponseNonNullableFields, context$4_DefaultItemName as DefaultItemName, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type context$4_GetPortfolioSettingsRequest as GetPortfolioSettingsRequest, type context$4_GetPortfolioSettingsResponse as GetPortfolioSettingsResponse, type context$4_GetPortfolioSettingsResponseNonNullableFields as GetPortfolioSettingsResponseNonNullableFields, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, type context$4_MediaSettings as MediaSettings, type MessageEnvelope$4 as MessageEnvelope, type context$4_PortfolioSettings as PortfolioSettings, type context$4_PortfolioSettingsNonNullableFields as PortfolioSettingsNonNullableFields, type context$4_ProjectItemSettings as ProjectItemSettings, type RestoreInfo$4 as RestoreInfo, type context$4_SiteMenuSettings as SiteMenuSettings, type context$4_UpdatePortfolioSettingsRequest as UpdatePortfolioSettingsRequest, type context$4_UpdatePortfolioSettingsResponse as UpdatePortfolioSettingsResponse, type context$4_UpdatePortfolioSettingsResponseNonNullableFields as UpdatePortfolioSettingsResponseNonNullableFields, WebhookIdentityType$4 as WebhookIdentityType, context$4_createPortfolioSettings as createPortfolioSettings, context$4_getPortfolioSettings as getPortfolioSettings, context$4_updatePortfolioSettings as updatePortfolioSettings };
|
|
1453
1475
|
}
|
|
1454
1476
|
|
|
1455
|
-
/** ProjectItem is the main entity of ProjectItemsService */
|
|
1456
1477
|
interface Item extends ItemMetadataOneOf {
|
|
1457
1478
|
/** Information about the Wix Media image. */
|
|
1458
1479
|
image?: Image$2;
|
|
@@ -2341,7 +2362,7 @@ interface Project$1 extends ProjectCoverOneOf$1 {
|
|
|
2341
2362
|
title?: string | null;
|
|
2342
2363
|
/** Project description. */
|
|
2343
2364
|
description?: string | null;
|
|
2344
|
-
/** Whether the project is hidden from the portfolio. */
|
|
2365
|
+
/** Whether the project is hidden from the portfolio. Default: `false` */
|
|
2345
2366
|
hidden?: boolean | null;
|
|
2346
2367
|
/** IDs of the collections that include the project. */
|
|
2347
2368
|
collectionIds?: string[];
|
|
@@ -2440,6 +2461,7 @@ interface ProjectDetail$1 extends ProjectDetailValueOneOf$1 {
|
|
|
2440
2461
|
text?: string;
|
|
2441
2462
|
/** Project label in link format. */
|
|
2442
2463
|
link?: DetailsLink$1;
|
|
2464
|
+
/** Project label. */
|
|
2443
2465
|
label?: string;
|
|
2444
2466
|
}
|
|
2445
2467
|
/** @oneof */
|
|
@@ -2753,7 +2775,9 @@ declare enum Namespace$1 {
|
|
|
2753
2775
|
*/
|
|
2754
2776
|
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
2755
2777
|
/** Codux Headless Sites */
|
|
2756
|
-
CODUX = "CODUX"
|
|
2778
|
+
CODUX = "CODUX",
|
|
2779
|
+
/** Bobb - AI Design Creator. */
|
|
2780
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR"
|
|
2757
2781
|
}
|
|
2758
2782
|
/** Site transferred to another user. */
|
|
2759
2783
|
interface SiteTransferred$1 {
|
|
@@ -2978,7 +3002,12 @@ interface GetProjectResponse {
|
|
|
2978
3002
|
interface ListProjectsRequest {
|
|
2979
3003
|
/** Projects limit per response is maximum 100, In the first request the cursor is None ? */
|
|
2980
3004
|
paging?: CursorPaging$2;
|
|
2981
|
-
/**
|
|
3005
|
+
/**
|
|
3006
|
+
* Whether to include the project's relative path and full URL in the response.
|
|
3007
|
+
* One of:
|
|
3008
|
+
* + `true`
|
|
3009
|
+
* + `false`
|
|
3010
|
+
*/
|
|
2982
3011
|
includePageUrl?: boolean | null;
|
|
2983
3012
|
}
|
|
2984
3013
|
interface CursorPaging$2 {
|
|
@@ -3421,7 +3450,12 @@ interface GetProjectOptions {
|
|
|
3421
3450
|
interface ListProjectsOptions {
|
|
3422
3451
|
/** Projects limit per response is maximum 100, In the first request the cursor is None ? */
|
|
3423
3452
|
paging?: CursorPaging$2;
|
|
3424
|
-
/**
|
|
3453
|
+
/**
|
|
3454
|
+
* Whether to include the project's relative path and full URL in the response.
|
|
3455
|
+
* One of:
|
|
3456
|
+
* + `true`
|
|
3457
|
+
* + `false`
|
|
3458
|
+
*/
|
|
3425
3459
|
includePageUrl?: boolean | null;
|
|
3426
3460
|
}
|
|
3427
3461
|
interface UpdateProject {
|
|
@@ -3443,7 +3477,7 @@ interface UpdateProject {
|
|
|
3443
3477
|
title?: string | null;
|
|
3444
3478
|
/** Project description. */
|
|
3445
3479
|
description?: string | null;
|
|
3446
|
-
/** Whether the project is hidden from the portfolio. */
|
|
3480
|
+
/** Whether the project is hidden from the portfolio. Default: `false` */
|
|
3447
3481
|
hidden?: boolean | null;
|
|
3448
3482
|
/** IDs of the collections that include the project. */
|
|
3449
3483
|
collectionIds?: string[];
|
|
@@ -3682,7 +3716,9 @@ type _publicOnProjectDeletedType = typeof onProjectDeleted$1;
|
|
|
3682
3716
|
declare const onProjectDeleted: ReturnType<typeof createEventModule$1<_publicOnProjectDeletedType>>;
|
|
3683
3717
|
|
|
3684
3718
|
type _publicOnProjectUpdatedType = typeof onProjectUpdated$1;
|
|
3685
|
-
/**
|
|
3719
|
+
/**
|
|
3720
|
+
* Triggered when a project is updated.
|
|
3721
|
+
*/
|
|
3686
3722
|
declare const onProjectUpdated: ReturnType<typeof createEventModule$1<_publicOnProjectUpdatedType>>;
|
|
3687
3723
|
|
|
3688
3724
|
type context$2_App = App;
|
|
@@ -3795,7 +3831,7 @@ interface Project extends ProjectCoverOneOf {
|
|
|
3795
3831
|
title?: string | null;
|
|
3796
3832
|
/** Project description. */
|
|
3797
3833
|
description?: string | null;
|
|
3798
|
-
/** Whether the project is hidden from the portfolio. */
|
|
3834
|
+
/** Whether the project is hidden from the portfolio. Default: `false` */
|
|
3799
3835
|
hidden?: boolean | null;
|
|
3800
3836
|
/** IDs of the collections that include the project. */
|
|
3801
3837
|
collectionIds?: string[];
|
|
@@ -3894,6 +3930,7 @@ interface ProjectDetail extends ProjectDetailValueOneOf {
|
|
|
3894
3930
|
text?: string;
|
|
3895
3931
|
/** Project label in link format. */
|
|
3896
3932
|
link?: DetailsLink;
|
|
3933
|
+
/** Project label. */
|
|
3897
3934
|
label?: string;
|
|
3898
3935
|
}
|
|
3899
3936
|
/** @oneof */
|
|
@@ -4327,7 +4364,7 @@ interface UpdateProjectOrderInCollectionIdentifiers {
|
|
|
4327
4364
|
declare function updateProjectOrderInCollection$1(httpClient: HttpClient): UpdateProjectOrderInCollectionSignature;
|
|
4328
4365
|
interface UpdateProjectOrderInCollectionSignature {
|
|
4329
4366
|
/**
|
|
4330
|
-
* Updates the order of a project within
|
|
4367
|
+
* Updates the order of a project within a specified collection.
|
|
4331
4368
|
* @param - Sort order of the project within the specified collection.
|
|
4332
4369
|
*/
|
|
4333
4370
|
(identifiers: UpdateProjectOrderInCollectionIdentifiers, sortOrder: number | null): Promise<UpdateProjectOrderInCollectionResponse & UpdateProjectOrderInCollectionResponseNonNullableFields>;
|
|
@@ -4339,7 +4376,9 @@ declare function createEventModule<T extends EventDefinition<any, string>>(event
|
|
|
4339
4376
|
declare const updateProjectOrderInCollection: MaybeContext<BuildRESTFunction<typeof updateProjectOrderInCollection$1> & typeof updateProjectOrderInCollection$1>;
|
|
4340
4377
|
|
|
4341
4378
|
type _publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType = typeof onProjectInCollectionProjectOrderInCollectionUpdatedEvent$1;
|
|
4342
|
-
/**
|
|
4379
|
+
/**
|
|
4380
|
+
* Triggered when the order of a project within a specified collection is updated.
|
|
4381
|
+
*/
|
|
4343
4382
|
declare const onProjectInCollectionProjectOrderInCollectionUpdatedEvent: ReturnType<typeof createEventModule<_publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType>>;
|
|
4344
4383
|
|
|
4345
4384
|
type context$1_BaseEventMetadata = BaseEventMetadata;
|
|
@@ -4848,7 +4887,9 @@ declare enum Namespace {
|
|
|
4848
4887
|
*/
|
|
4849
4888
|
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
4850
4889
|
/** Codux Headless Sites */
|
|
4851
|
-
CODUX = "CODUX"
|
|
4890
|
+
CODUX = "CODUX",
|
|
4891
|
+
/** Bobb - AI Design Creator. */
|
|
4892
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR"
|
|
4852
4893
|
}
|
|
4853
4894
|
/** Site transferred to another user. */
|
|
4854
4895
|
interface SiteTransferred {
|
|
@@ -487,13 +487,15 @@ interface Collection {
|
|
|
487
487
|
* @readonly
|
|
488
488
|
*/
|
|
489
489
|
revision?: string | null;
|
|
490
|
+
/** Collection title. */
|
|
490
491
|
title?: string | null;
|
|
492
|
+
/** Collection description. */
|
|
491
493
|
description?: string | null;
|
|
492
494
|
/** Collection slug. */
|
|
493
495
|
slug?: string | null;
|
|
494
496
|
/** Collection cover image. */
|
|
495
497
|
coverImage?: Image$3;
|
|
496
|
-
/** Whether the collection is hidden from the portfolio. */
|
|
498
|
+
/** Whether the collection is hidden from the portfolio. Default: `false` */
|
|
497
499
|
hidden?: boolean | null;
|
|
498
500
|
/**
|
|
499
501
|
* Index that determines which position a media item is displayed in the gallery. <br />
|
|
@@ -793,7 +795,12 @@ interface CreateCollectionResponse {
|
|
|
793
795
|
interface GetCollectionRequest {
|
|
794
796
|
/** ID of the collection to retrieve. */
|
|
795
797
|
collectionId: string;
|
|
796
|
-
/**
|
|
798
|
+
/**
|
|
799
|
+
* Whether to include the collection's page URL and relative path in the response.
|
|
800
|
+
* One of:
|
|
801
|
+
* + `true`
|
|
802
|
+
* + `false`
|
|
803
|
+
*/
|
|
797
804
|
includePageUrl?: boolean | null;
|
|
798
805
|
}
|
|
799
806
|
interface GetCollectionResponse {
|
|
@@ -801,9 +808,13 @@ interface GetCollectionResponse {
|
|
|
801
808
|
collection?: Collection;
|
|
802
809
|
}
|
|
803
810
|
interface ListCollectionsRequest {
|
|
804
|
-
/** Maximum limit per response is 100, in first request cursor is None ? */
|
|
805
811
|
paging?: CursorPaging$4;
|
|
806
|
-
/**
|
|
812
|
+
/**
|
|
813
|
+
* Whether to include the collection's page URL and relative path in the response.
|
|
814
|
+
* One of:
|
|
815
|
+
* + `true`
|
|
816
|
+
* + `false`
|
|
817
|
+
*/
|
|
807
818
|
includePageUrl?: boolean | null;
|
|
808
819
|
}
|
|
809
820
|
interface CursorPaging$4 {
|
|
@@ -965,13 +976,22 @@ interface QueryCollectionsResponseNonNullableFields {
|
|
|
965
976
|
collections: CollectionNonNullableFields[];
|
|
966
977
|
}
|
|
967
978
|
interface GetCollectionOptions {
|
|
968
|
-
/**
|
|
979
|
+
/**
|
|
980
|
+
* Whether to include the collection's page URL and relative path in the response.
|
|
981
|
+
* One of:
|
|
982
|
+
* + `true`
|
|
983
|
+
* + `false`
|
|
984
|
+
*/
|
|
969
985
|
includePageUrl?: boolean | null;
|
|
970
986
|
}
|
|
971
987
|
interface ListCollectionsOptions {
|
|
972
|
-
/** Maximum limit per response is 100, in first request cursor is None ? */
|
|
973
988
|
paging?: CursorPaging$4;
|
|
974
|
-
/**
|
|
989
|
+
/**
|
|
990
|
+
* Whether to include the collection's page URL and relative path in the response.
|
|
991
|
+
* One of:
|
|
992
|
+
* + `true`
|
|
993
|
+
* + `false`
|
|
994
|
+
*/
|
|
975
995
|
includePageUrl?: boolean | null;
|
|
976
996
|
}
|
|
977
997
|
interface UpdateCollection {
|
|
@@ -985,13 +1005,15 @@ interface UpdateCollection {
|
|
|
985
1005
|
* @readonly
|
|
986
1006
|
*/
|
|
987
1007
|
revision?: string | null;
|
|
1008
|
+
/** Collection title. */
|
|
988
1009
|
title?: string | null;
|
|
1010
|
+
/** Collection description. */
|
|
989
1011
|
description?: string | null;
|
|
990
1012
|
/** Collection slug. */
|
|
991
1013
|
slug?: string | null;
|
|
992
1014
|
/** Collection cover image. */
|
|
993
1015
|
coverImage?: Image$3;
|
|
994
|
-
/** Whether the collection is hidden from the portfolio. */
|
|
1016
|
+
/** Whether the collection is hidden from the portfolio. Default: `false` */
|
|
995
1017
|
hidden?: boolean | null;
|
|
996
1018
|
/**
|
|
997
1019
|
* Index that determines which position a media item is displayed in the gallery. <br />
|
|
@@ -1452,7 +1474,6 @@ declare namespace index_d$4 {
|
|
|
1452
1474
|
export { type ActionEvent$4 as ActionEvent, index_d$4_AddItemDirection as AddItemDirection, type index_d$4_CreatePortfolioSettingsRequest as CreatePortfolioSettingsRequest, type index_d$4_CreatePortfolioSettingsResponse as CreatePortfolioSettingsResponse, type index_d$4_CreatePortfolioSettingsResponseNonNullableFields as CreatePortfolioSettingsResponseNonNullableFields, index_d$4_DefaultItemName as DefaultItemName, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type index_d$4_GetPortfolioSettingsRequest as GetPortfolioSettingsRequest, type index_d$4_GetPortfolioSettingsResponse as GetPortfolioSettingsResponse, type index_d$4_GetPortfolioSettingsResponseNonNullableFields as GetPortfolioSettingsResponseNonNullableFields, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, type index_d$4_MediaSettings as MediaSettings, type MessageEnvelope$4 as MessageEnvelope, type index_d$4_PortfolioSettings as PortfolioSettings, type index_d$4_PortfolioSettingsNonNullableFields as PortfolioSettingsNonNullableFields, type index_d$4_ProjectItemSettings as ProjectItemSettings, type RestoreInfo$4 as RestoreInfo, type index_d$4_SiteMenuSettings as SiteMenuSettings, type index_d$4_UpdatePortfolioSettingsRequest as UpdatePortfolioSettingsRequest, type index_d$4_UpdatePortfolioSettingsResponse as UpdatePortfolioSettingsResponse, type index_d$4_UpdatePortfolioSettingsResponseNonNullableFields as UpdatePortfolioSettingsResponseNonNullableFields, WebhookIdentityType$4 as WebhookIdentityType, index_d$4_createPortfolioSettings as createPortfolioSettings, index_d$4_getPortfolioSettings as getPortfolioSettings, index_d$4_updatePortfolioSettings as updatePortfolioSettings };
|
|
1453
1475
|
}
|
|
1454
1476
|
|
|
1455
|
-
/** ProjectItem is the main entity of ProjectItemsService */
|
|
1456
1477
|
interface Item extends ItemMetadataOneOf {
|
|
1457
1478
|
/** Information about the Wix Media image. */
|
|
1458
1479
|
image?: Image$2;
|
|
@@ -2341,7 +2362,7 @@ interface Project$1 extends ProjectCoverOneOf$1 {
|
|
|
2341
2362
|
title?: string | null;
|
|
2342
2363
|
/** Project description. */
|
|
2343
2364
|
description?: string | null;
|
|
2344
|
-
/** Whether the project is hidden from the portfolio. */
|
|
2365
|
+
/** Whether the project is hidden from the portfolio. Default: `false` */
|
|
2345
2366
|
hidden?: boolean | null;
|
|
2346
2367
|
/** IDs of the collections that include the project. */
|
|
2347
2368
|
collectionIds?: string[];
|
|
@@ -2440,6 +2461,7 @@ interface ProjectDetail$1 extends ProjectDetailValueOneOf$1 {
|
|
|
2440
2461
|
text?: string;
|
|
2441
2462
|
/** Project label in link format. */
|
|
2442
2463
|
link?: DetailsLink$1;
|
|
2464
|
+
/** Project label. */
|
|
2443
2465
|
label?: string;
|
|
2444
2466
|
}
|
|
2445
2467
|
/** @oneof */
|
|
@@ -2753,7 +2775,9 @@ declare enum Namespace$1 {
|
|
|
2753
2775
|
*/
|
|
2754
2776
|
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
2755
2777
|
/** Codux Headless Sites */
|
|
2756
|
-
CODUX = "CODUX"
|
|
2778
|
+
CODUX = "CODUX",
|
|
2779
|
+
/** Bobb - AI Design Creator. */
|
|
2780
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR"
|
|
2757
2781
|
}
|
|
2758
2782
|
/** Site transferred to another user. */
|
|
2759
2783
|
interface SiteTransferred$1 {
|
|
@@ -2978,7 +3002,12 @@ interface GetProjectResponse {
|
|
|
2978
3002
|
interface ListProjectsRequest {
|
|
2979
3003
|
/** Projects limit per response is maximum 100, In the first request the cursor is None ? */
|
|
2980
3004
|
paging?: CursorPaging$2;
|
|
2981
|
-
/**
|
|
3005
|
+
/**
|
|
3006
|
+
* Whether to include the project's relative path and full URL in the response.
|
|
3007
|
+
* One of:
|
|
3008
|
+
* + `true`
|
|
3009
|
+
* + `false`
|
|
3010
|
+
*/
|
|
2982
3011
|
includePageUrl?: boolean | null;
|
|
2983
3012
|
}
|
|
2984
3013
|
interface CursorPaging$2 {
|
|
@@ -3421,7 +3450,12 @@ interface GetProjectOptions {
|
|
|
3421
3450
|
interface ListProjectsOptions {
|
|
3422
3451
|
/** Projects limit per response is maximum 100, In the first request the cursor is None ? */
|
|
3423
3452
|
paging?: CursorPaging$2;
|
|
3424
|
-
/**
|
|
3453
|
+
/**
|
|
3454
|
+
* Whether to include the project's relative path and full URL in the response.
|
|
3455
|
+
* One of:
|
|
3456
|
+
* + `true`
|
|
3457
|
+
* + `false`
|
|
3458
|
+
*/
|
|
3425
3459
|
includePageUrl?: boolean | null;
|
|
3426
3460
|
}
|
|
3427
3461
|
interface UpdateProject {
|
|
@@ -3443,7 +3477,7 @@ interface UpdateProject {
|
|
|
3443
3477
|
title?: string | null;
|
|
3444
3478
|
/** Project description. */
|
|
3445
3479
|
description?: string | null;
|
|
3446
|
-
/** Whether the project is hidden from the portfolio. */
|
|
3480
|
+
/** Whether the project is hidden from the portfolio. Default: `false` */
|
|
3447
3481
|
hidden?: boolean | null;
|
|
3448
3482
|
/** IDs of the collections that include the project. */
|
|
3449
3483
|
collectionIds?: string[];
|
|
@@ -3682,7 +3716,9 @@ type _publicOnProjectDeletedType = typeof onProjectDeleted$1;
|
|
|
3682
3716
|
declare const onProjectDeleted: ReturnType<typeof createEventModule$1<_publicOnProjectDeletedType>>;
|
|
3683
3717
|
|
|
3684
3718
|
type _publicOnProjectUpdatedType = typeof onProjectUpdated$1;
|
|
3685
|
-
/**
|
|
3719
|
+
/**
|
|
3720
|
+
* Triggered when a project is updated.
|
|
3721
|
+
*/
|
|
3686
3722
|
declare const onProjectUpdated: ReturnType<typeof createEventModule$1<_publicOnProjectUpdatedType>>;
|
|
3687
3723
|
|
|
3688
3724
|
type index_d$2_App = App;
|
|
@@ -3795,7 +3831,7 @@ interface Project extends ProjectCoverOneOf {
|
|
|
3795
3831
|
title?: string | null;
|
|
3796
3832
|
/** Project description. */
|
|
3797
3833
|
description?: string | null;
|
|
3798
|
-
/** Whether the project is hidden from the portfolio. */
|
|
3834
|
+
/** Whether the project is hidden from the portfolio. Default: `false` */
|
|
3799
3835
|
hidden?: boolean | null;
|
|
3800
3836
|
/** IDs of the collections that include the project. */
|
|
3801
3837
|
collectionIds?: string[];
|
|
@@ -3894,6 +3930,7 @@ interface ProjectDetail extends ProjectDetailValueOneOf {
|
|
|
3894
3930
|
text?: string;
|
|
3895
3931
|
/** Project label in link format. */
|
|
3896
3932
|
link?: DetailsLink;
|
|
3933
|
+
/** Project label. */
|
|
3897
3934
|
label?: string;
|
|
3898
3935
|
}
|
|
3899
3936
|
/** @oneof */
|
|
@@ -4327,7 +4364,7 @@ interface UpdateProjectOrderInCollectionIdentifiers {
|
|
|
4327
4364
|
declare function updateProjectOrderInCollection$1(httpClient: HttpClient): UpdateProjectOrderInCollectionSignature;
|
|
4328
4365
|
interface UpdateProjectOrderInCollectionSignature {
|
|
4329
4366
|
/**
|
|
4330
|
-
* Updates the order of a project within
|
|
4367
|
+
* Updates the order of a project within a specified collection.
|
|
4331
4368
|
* @param - Sort order of the project within the specified collection.
|
|
4332
4369
|
*/
|
|
4333
4370
|
(identifiers: UpdateProjectOrderInCollectionIdentifiers, sortOrder: number | null): Promise<UpdateProjectOrderInCollectionResponse & UpdateProjectOrderInCollectionResponseNonNullableFields>;
|
|
@@ -4339,7 +4376,9 @@ declare function createEventModule<T extends EventDefinition<any, string>>(event
|
|
|
4339
4376
|
declare const updateProjectOrderInCollection: MaybeContext<BuildRESTFunction<typeof updateProjectOrderInCollection$1> & typeof updateProjectOrderInCollection$1>;
|
|
4340
4377
|
|
|
4341
4378
|
type _publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType = typeof onProjectInCollectionProjectOrderInCollectionUpdatedEvent$1;
|
|
4342
|
-
/**
|
|
4379
|
+
/**
|
|
4380
|
+
* Triggered when the order of a project within a specified collection is updated.
|
|
4381
|
+
*/
|
|
4343
4382
|
declare const onProjectInCollectionProjectOrderInCollectionUpdatedEvent: ReturnType<typeof createEventModule<_publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType>>;
|
|
4344
4383
|
|
|
4345
4384
|
type index_d$1_BaseEventMetadata = BaseEventMetadata;
|
|
@@ -4848,7 +4887,9 @@ declare enum Namespace {
|
|
|
4848
4887
|
*/
|
|
4849
4888
|
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
4850
4889
|
/** Codux Headless Sites */
|
|
4851
|
-
CODUX = "CODUX"
|
|
4890
|
+
CODUX = "CODUX",
|
|
4891
|
+
/** Bobb - AI Design Creator. */
|
|
4892
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR"
|
|
4852
4893
|
}
|
|
4853
4894
|
/** Site transferred to another user. */
|
|
4854
4895
|
interface SiteTransferred {
|
|
@@ -9,13 +9,15 @@ interface Collection$1 {
|
|
|
9
9
|
* @readonly
|
|
10
10
|
*/
|
|
11
11
|
revision?: string | null;
|
|
12
|
+
/** Collection title. */
|
|
12
13
|
title?: string | null;
|
|
14
|
+
/** Collection description. */
|
|
13
15
|
description?: string | null;
|
|
14
16
|
/** Collection slug. */
|
|
15
17
|
slug?: string | null;
|
|
16
18
|
/** Collection cover image. */
|
|
17
19
|
coverImage?: Image$7;
|
|
18
|
-
/** Whether the collection is hidden from the portfolio. */
|
|
20
|
+
/** Whether the collection is hidden from the portfolio. Default: `false` */
|
|
19
21
|
hidden?: boolean | null;
|
|
20
22
|
/**
|
|
21
23
|
* Index that determines which position a media item is displayed in the gallery. <br />
|
|
@@ -144,7 +146,12 @@ interface CreateCollectionResponse$1 {
|
|
|
144
146
|
interface GetCollectionRequest$1 {
|
|
145
147
|
/** ID of the collection to retrieve. */
|
|
146
148
|
collectionId: string;
|
|
147
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* Whether to include the collection's page URL and relative path in the response.
|
|
151
|
+
* One of:
|
|
152
|
+
* + `true`
|
|
153
|
+
* + `false`
|
|
154
|
+
*/
|
|
148
155
|
includePageUrl?: boolean | null;
|
|
149
156
|
}
|
|
150
157
|
interface GetCollectionResponse$1 {
|
|
@@ -152,9 +159,13 @@ interface GetCollectionResponse$1 {
|
|
|
152
159
|
collection?: Collection$1;
|
|
153
160
|
}
|
|
154
161
|
interface ListCollectionsRequest$1 {
|
|
155
|
-
/** Maximum limit per response is 100, in first request cursor is None ? */
|
|
156
162
|
paging?: CursorPaging$5;
|
|
157
|
-
/**
|
|
163
|
+
/**
|
|
164
|
+
* Whether to include the collection's page URL and relative path in the response.
|
|
165
|
+
* One of:
|
|
166
|
+
* + `true`
|
|
167
|
+
* + `false`
|
|
168
|
+
*/
|
|
158
169
|
includePageUrl?: boolean | null;
|
|
159
170
|
}
|
|
160
171
|
interface CursorPaging$5 {
|
|
@@ -336,13 +347,15 @@ interface Collection {
|
|
|
336
347
|
* @readonly
|
|
337
348
|
*/
|
|
338
349
|
revision?: string | null;
|
|
350
|
+
/** Collection title. */
|
|
339
351
|
title?: string | null;
|
|
352
|
+
/** Collection description. */
|
|
340
353
|
description?: string | null;
|
|
341
354
|
/** Collection slug. */
|
|
342
355
|
slug?: string | null;
|
|
343
356
|
/** Collection cover image. */
|
|
344
357
|
coverImage?: Image$6;
|
|
345
|
-
/** Whether the collection is hidden from the portfolio. */
|
|
358
|
+
/** Whether the collection is hidden from the portfolio. Default: `false` */
|
|
346
359
|
hidden?: boolean | null;
|
|
347
360
|
/**
|
|
348
361
|
* Index that determines which position a media item is displayed in the gallery. <br />
|
|
@@ -448,7 +461,12 @@ interface CreateCollectionResponse {
|
|
|
448
461
|
interface GetCollectionRequest {
|
|
449
462
|
/** ID of the collection to retrieve. */
|
|
450
463
|
collectionId: string;
|
|
451
|
-
/**
|
|
464
|
+
/**
|
|
465
|
+
* Whether to include the collection's page URL and relative path in the response.
|
|
466
|
+
* One of:
|
|
467
|
+
* + `true`
|
|
468
|
+
* + `false`
|
|
469
|
+
*/
|
|
452
470
|
includePageUrl?: boolean | null;
|
|
453
471
|
}
|
|
454
472
|
interface GetCollectionResponse {
|
|
@@ -456,9 +474,13 @@ interface GetCollectionResponse {
|
|
|
456
474
|
collection?: Collection;
|
|
457
475
|
}
|
|
458
476
|
interface ListCollectionsRequest {
|
|
459
|
-
/** Maximum limit per response is 100, in first request cursor is None ? */
|
|
460
477
|
paging?: CursorPaging$4;
|
|
461
|
-
/**
|
|
478
|
+
/**
|
|
479
|
+
* Whether to include the collection's page URL and relative path in the response.
|
|
480
|
+
* One of:
|
|
481
|
+
* + `true`
|
|
482
|
+
* + `false`
|
|
483
|
+
*/
|
|
462
484
|
includePageUrl?: boolean | null;
|
|
463
485
|
}
|
|
464
486
|
interface CursorPaging$4 {
|
|
@@ -838,7 +860,6 @@ declare namespace meta$4 {
|
|
|
838
860
|
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_createPortfolioSettings as createPortfolioSettings, meta$4_getPortfolioSettings as getPortfolioSettings, meta$4_updatePortfolioSettings as updatePortfolioSettings };
|
|
839
861
|
}
|
|
840
862
|
|
|
841
|
-
/** ProjectItem is the main entity of ProjectItemsService */
|
|
842
863
|
interface Item$1 extends ItemMetadataOneOf$1 {
|
|
843
864
|
/** Information about the Wix Media image. */
|
|
844
865
|
image?: Image$5;
|
|
@@ -1251,7 +1272,6 @@ interface DuplicateProjectItemsResponseNonNullableFields$1 {
|
|
|
1251
1272
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$3;
|
|
1252
1273
|
}
|
|
1253
1274
|
|
|
1254
|
-
/** ProjectItem is the main entity of ProjectItemsService */
|
|
1255
1275
|
interface Item extends ItemMetadataOneOf {
|
|
1256
1276
|
/** Information about the Wix Media image. */
|
|
1257
1277
|
image?: Image$4;
|
|
@@ -1662,7 +1682,7 @@ interface Project$3 extends ProjectCoverOneOf$3 {
|
|
|
1662
1682
|
title?: string | null;
|
|
1663
1683
|
/** Project description. */
|
|
1664
1684
|
description?: string | null;
|
|
1665
|
-
/** Whether the project is hidden from the portfolio. */
|
|
1685
|
+
/** Whether the project is hidden from the portfolio. Default: `false` */
|
|
1666
1686
|
hidden?: boolean | null;
|
|
1667
1687
|
/** IDs of the collections that include the project. */
|
|
1668
1688
|
collectionIds?: string[];
|
|
@@ -1772,6 +1792,7 @@ interface ProjectDetail$3 extends ProjectDetailValueOneOf$3 {
|
|
|
1772
1792
|
text?: string;
|
|
1773
1793
|
/** Project label in link format. */
|
|
1774
1794
|
link?: DetailsLink$3;
|
|
1795
|
+
/** Project label. */
|
|
1775
1796
|
label?: string;
|
|
1776
1797
|
}
|
|
1777
1798
|
/** @oneof */
|
|
@@ -1877,7 +1898,12 @@ interface GetProjectResponse$1 {
|
|
|
1877
1898
|
interface ListProjectsRequest$1 {
|
|
1878
1899
|
/** Projects limit per response is maximum 100, In the first request the cursor is None ? */
|
|
1879
1900
|
paging?: CursorPaging$3;
|
|
1880
|
-
/**
|
|
1901
|
+
/**
|
|
1902
|
+
* Whether to include the project's relative path and full URL in the response.
|
|
1903
|
+
* One of:
|
|
1904
|
+
* + `true`
|
|
1905
|
+
* + `false`
|
|
1906
|
+
*/
|
|
1881
1907
|
includePageUrl?: boolean | null;
|
|
1882
1908
|
}
|
|
1883
1909
|
interface CursorPaging$3 {
|
|
@@ -2220,7 +2246,7 @@ interface Project$2 extends ProjectCoverOneOf$2 {
|
|
|
2220
2246
|
title?: string | null;
|
|
2221
2247
|
/** Project description. */
|
|
2222
2248
|
description?: string | null;
|
|
2223
|
-
/** Whether the project is hidden from the portfolio. */
|
|
2249
|
+
/** Whether the project is hidden from the portfolio. Default: `false` */
|
|
2224
2250
|
hidden?: boolean | null;
|
|
2225
2251
|
/** IDs of the collections that include the project. */
|
|
2226
2252
|
collectionIds?: string[];
|
|
@@ -2287,6 +2313,7 @@ interface ProjectDetail$2 extends ProjectDetailValueOneOf$2 {
|
|
|
2287
2313
|
text?: string;
|
|
2288
2314
|
/** Project label in link format. */
|
|
2289
2315
|
link?: DetailsLink$2;
|
|
2316
|
+
/** Project label. */
|
|
2290
2317
|
label?: string;
|
|
2291
2318
|
}
|
|
2292
2319
|
/** @oneof */
|
|
@@ -2386,7 +2413,12 @@ interface GetProjectResponse {
|
|
|
2386
2413
|
interface ListProjectsRequest {
|
|
2387
2414
|
/** Projects limit per response is maximum 100, In the first request the cursor is None ? */
|
|
2388
2415
|
paging?: CursorPaging$2;
|
|
2389
|
-
/**
|
|
2416
|
+
/**
|
|
2417
|
+
* Whether to include the project's relative path and full URL in the response.
|
|
2418
|
+
* One of:
|
|
2419
|
+
* + `true`
|
|
2420
|
+
* + `false`
|
|
2421
|
+
*/
|
|
2390
2422
|
includePageUrl?: boolean | null;
|
|
2391
2423
|
}
|
|
2392
2424
|
interface CursorPaging$2 {
|
|
@@ -2765,7 +2797,7 @@ interface Project$1 extends ProjectCoverOneOf$1 {
|
|
|
2765
2797
|
title?: string | null;
|
|
2766
2798
|
/** Project description. */
|
|
2767
2799
|
description?: string | null;
|
|
2768
|
-
/** Whether the project is hidden from the portfolio. */
|
|
2800
|
+
/** Whether the project is hidden from the portfolio. Default: `false` */
|
|
2769
2801
|
hidden?: boolean | null;
|
|
2770
2802
|
/** IDs of the collections that include the project. */
|
|
2771
2803
|
collectionIds?: string[];
|
|
@@ -2875,6 +2907,7 @@ interface ProjectDetail$1 extends ProjectDetailValueOneOf$1 {
|
|
|
2875
2907
|
text?: string;
|
|
2876
2908
|
/** Project label in link format. */
|
|
2877
2909
|
link?: DetailsLink$1;
|
|
2910
|
+
/** Project label. */
|
|
2878
2911
|
label?: string;
|
|
2879
2912
|
}
|
|
2880
2913
|
/** @oneof */
|
|
@@ -3088,7 +3121,7 @@ interface Project extends ProjectCoverOneOf {
|
|
|
3088
3121
|
title?: string | null;
|
|
3089
3122
|
/** Project description. */
|
|
3090
3123
|
description?: string | null;
|
|
3091
|
-
/** Whether the project is hidden from the portfolio. */
|
|
3124
|
+
/** Whether the project is hidden from the portfolio. Default: `false` */
|
|
3092
3125
|
hidden?: boolean | null;
|
|
3093
3126
|
/** IDs of the collections that include the project. */
|
|
3094
3127
|
collectionIds?: string[];
|
|
@@ -3155,6 +3188,7 @@ interface ProjectDetail extends ProjectDetailValueOneOf {
|
|
|
3155
3188
|
text?: string;
|
|
3156
3189
|
/** Project label in link format. */
|
|
3157
3190
|
link?: DetailsLink;
|
|
3191
|
+
/** Project label. */
|
|
3158
3192
|
label?: string;
|
|
3159
3193
|
}
|
|
3160
3194
|
/** @oneof */
|