@wix/portfolio 1.0.67 → 1.0.69
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.69",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/portfolio_collections": "1.0.
|
|
22
|
-
"@wix/portfolio_portfolio-settings": "1.0.
|
|
23
|
-
"@wix/portfolio_project-in-collections": "1.0.
|
|
24
|
-
"@wix/portfolio_project-items": "1.0.
|
|
25
|
-
"@wix/portfolio_projects": "1.0.
|
|
21
|
+
"@wix/portfolio_collections": "1.0.14",
|
|
22
|
+
"@wix/portfolio_portfolio-settings": "1.0.1",
|
|
23
|
+
"@wix/portfolio_project-in-collections": "1.0.15",
|
|
24
|
+
"@wix/portfolio_project-items": "1.0.19",
|
|
25
|
+
"@wix/portfolio_projects": "1.0.19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"fqdn": ""
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
"falconPackageHash": "
|
|
50
|
+
"falconPackageHash": "48b77fdb492305fdb4f4e9d844c78e5b30fdb2da87cdab232d9baed0"
|
|
51
51
|
}
|
|
@@ -10,7 +10,9 @@ interface Collection {
|
|
|
10
10
|
* @readonly
|
|
11
11
|
*/
|
|
12
12
|
revision?: string | null;
|
|
13
|
+
/** Title of Collection */
|
|
13
14
|
title?: string | null;
|
|
15
|
+
/** Description of Collection */
|
|
14
16
|
description?: string | null;
|
|
15
17
|
/** Url of Collection */
|
|
16
18
|
slug?: string | null;
|
|
@@ -35,6 +37,7 @@ interface Collection {
|
|
|
35
37
|
* @readonly
|
|
36
38
|
*/
|
|
37
39
|
url?: string;
|
|
40
|
+
/** SEO data for Collection */
|
|
38
41
|
seoData?: SeoSchema$2;
|
|
39
42
|
}
|
|
40
43
|
interface Image$3 {
|
|
@@ -99,6 +102,36 @@ interface Settings$2 {
|
|
|
99
102
|
/** User-selected keyword terms for a specific page. */
|
|
100
103
|
keywords?: Keyword$2[];
|
|
101
104
|
}
|
|
105
|
+
interface IdentificationData$3 extends IdentificationDataIdOneOf$3 {
|
|
106
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
107
|
+
anonymousVisitorId?: string;
|
|
108
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
109
|
+
memberId?: string;
|
|
110
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
111
|
+
wixUserId?: string;
|
|
112
|
+
/** ID of an app. */
|
|
113
|
+
appId?: string;
|
|
114
|
+
/** @readonly */
|
|
115
|
+
identityType?: WebhookIdentityType$3;
|
|
116
|
+
}
|
|
117
|
+
/** @oneof */
|
|
118
|
+
interface IdentificationDataIdOneOf$3 {
|
|
119
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
120
|
+
anonymousVisitorId?: string;
|
|
121
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
122
|
+
memberId?: string;
|
|
123
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
124
|
+
wixUserId?: string;
|
|
125
|
+
/** ID of an app. */
|
|
126
|
+
appId?: string;
|
|
127
|
+
}
|
|
128
|
+
declare enum WebhookIdentityType$3 {
|
|
129
|
+
UNKNOWN = "UNKNOWN",
|
|
130
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
131
|
+
MEMBER = "MEMBER",
|
|
132
|
+
WIX_USER = "WIX_USER",
|
|
133
|
+
APP = "APP"
|
|
134
|
+
}
|
|
102
135
|
interface CursorPaging$1 {
|
|
103
136
|
/** Maximum number of items to return in the results. */
|
|
104
137
|
limit?: number | null;
|
|
@@ -138,36 +171,6 @@ interface DeleteCollectionResponse {
|
|
|
138
171
|
/** Id of the Deleted Collection */
|
|
139
172
|
collectionId?: string;
|
|
140
173
|
}
|
|
141
|
-
interface IdentificationData$3 extends IdentificationDataIdOneOf$3 {
|
|
142
|
-
/** ID of a site visitor that has not logged in to the site. */
|
|
143
|
-
anonymousVisitorId?: string;
|
|
144
|
-
/** ID of a site visitor that has logged in to the site. */
|
|
145
|
-
memberId?: string;
|
|
146
|
-
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
147
|
-
wixUserId?: string;
|
|
148
|
-
/** ID of an app. */
|
|
149
|
-
appId?: string;
|
|
150
|
-
/** @readonly */
|
|
151
|
-
identityType?: WebhookIdentityType$3;
|
|
152
|
-
}
|
|
153
|
-
/** @oneof */
|
|
154
|
-
interface IdentificationDataIdOneOf$3 {
|
|
155
|
-
/** ID of a site visitor that has not logged in to the site. */
|
|
156
|
-
anonymousVisitorId?: string;
|
|
157
|
-
/** ID of a site visitor that has logged in to the site. */
|
|
158
|
-
memberId?: string;
|
|
159
|
-
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
160
|
-
wixUserId?: string;
|
|
161
|
-
/** ID of an app. */
|
|
162
|
-
appId?: string;
|
|
163
|
-
}
|
|
164
|
-
declare enum WebhookIdentityType$3 {
|
|
165
|
-
UNKNOWN = "UNKNOWN",
|
|
166
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
167
|
-
MEMBER = "MEMBER",
|
|
168
|
-
WIX_USER = "WIX_USER",
|
|
169
|
-
APP = "APP"
|
|
170
|
-
}
|
|
171
174
|
interface ListCollectionsResponseNonNullableFields {
|
|
172
175
|
collections: {
|
|
173
176
|
coverImage?: {
|
|
@@ -256,11 +259,13 @@ interface CollectionDeletedEnvelope {
|
|
|
256
259
|
metadata: EventMetadata$3;
|
|
257
260
|
}
|
|
258
261
|
interface GetCollectionOptions {
|
|
262
|
+
/** Include page url */
|
|
259
263
|
includePageUrl?: boolean | null;
|
|
260
264
|
}
|
|
261
265
|
interface ListCollectionsOptions {
|
|
262
266
|
/** Maximum limit per response is 100, in first request cursor is None */
|
|
263
267
|
paging?: CursorPaging$1;
|
|
268
|
+
/** Include page url */
|
|
264
269
|
includePageUrl?: boolean | null;
|
|
265
270
|
}
|
|
266
271
|
interface UpdateCollection {
|
|
@@ -274,7 +279,9 @@ interface UpdateCollection {
|
|
|
274
279
|
* @readonly
|
|
275
280
|
*/
|
|
276
281
|
revision?: string | null;
|
|
282
|
+
/** Title of Collection */
|
|
277
283
|
title?: string | null;
|
|
284
|
+
/** Description of Collection */
|
|
278
285
|
description?: string | null;
|
|
279
286
|
/** Url of Collection */
|
|
280
287
|
slug?: string | null;
|
|
@@ -299,9 +306,11 @@ interface UpdateCollection {
|
|
|
299
306
|
* @readonly
|
|
300
307
|
*/
|
|
301
308
|
url?: string;
|
|
309
|
+
/** SEO data for Collection */
|
|
302
310
|
seoData?: SeoSchema$2;
|
|
303
311
|
}
|
|
304
312
|
interface QueryCollectionsOptions {
|
|
313
|
+
/** Include page url */
|
|
305
314
|
includePageUrl?: boolean | null | undefined;
|
|
306
315
|
}
|
|
307
316
|
interface QueryCursorResult$2 {
|
|
@@ -597,7 +606,7 @@ interface Item extends ItemMetadataOneOf {
|
|
|
597
606
|
video?: Video$2;
|
|
598
607
|
/**
|
|
599
608
|
* Id of the Project the items are part of
|
|
600
|
-
* Project must exist before adding items to it.
|
|
609
|
+
* Project must exist before adding items to it. You can create a project using the [ProjectService](https://dev.wix.com/docs/rest/business-solutions/portfolio/project)
|
|
601
610
|
*/
|
|
602
611
|
projectId?: string | null;
|
|
603
612
|
/**
|
|
@@ -608,7 +617,7 @@ interface Item extends ItemMetadataOneOf {
|
|
|
608
617
|
/**
|
|
609
618
|
* Index that determines which position a media item is displayed in the gallery. <br />
|
|
610
619
|
*
|
|
611
|
-
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
|
620
|
+
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
|
612
621
|
*/
|
|
613
622
|
sortOrder?: number | null;
|
|
614
623
|
/** Item title. */
|
|
@@ -645,8 +654,11 @@ interface ItemMetadataOneOf {
|
|
|
645
654
|
video?: Video$2;
|
|
646
655
|
}
|
|
647
656
|
declare enum Type {
|
|
657
|
+
/** Undefined item type. */
|
|
648
658
|
UNDEFINED = "UNDEFINED",
|
|
659
|
+
/** Image item type. */
|
|
649
660
|
IMAGE = "IMAGE",
|
|
661
|
+
/** Video item type. */
|
|
650
662
|
VIDEO = "VIDEO"
|
|
651
663
|
}
|
|
652
664
|
interface Image$2 {
|
|
@@ -727,6 +739,7 @@ interface BulkCreateProjectItemsResponse {
|
|
|
727
739
|
interface BulkCreateProjectItemResult {
|
|
728
740
|
/** Holds information about an item in bulk create - id, index in original request array, action successful, error (if failed) */
|
|
729
741
|
itemMetadata?: ItemMetadata$1;
|
|
742
|
+
/** Created item */
|
|
730
743
|
item?: Item;
|
|
731
744
|
}
|
|
732
745
|
interface ItemMetadata$1 {
|
|
@@ -791,6 +804,7 @@ interface Cursors$2 {
|
|
|
791
804
|
prev?: string | null;
|
|
792
805
|
}
|
|
793
806
|
interface MaskedItem {
|
|
807
|
+
/** Item to be updated */
|
|
794
808
|
item?: Item;
|
|
795
809
|
}
|
|
796
810
|
interface BulkUpdateProjectItemsResponse {
|
|
@@ -802,6 +816,7 @@ interface BulkUpdateProjectItemsResponse {
|
|
|
802
816
|
interface BulkUpdateProjectItemResult {
|
|
803
817
|
/** Holds information about an item in bulk update - id, index in original request array, action successful, error (if failed). */
|
|
804
818
|
itemMetadata?: ItemMetadata$1;
|
|
819
|
+
/** Updated item */
|
|
805
820
|
item?: Item;
|
|
806
821
|
}
|
|
807
822
|
interface DeleteProjectItemResponse {
|
|
@@ -1012,7 +1027,7 @@ interface UpdateProjectItem {
|
|
|
1012
1027
|
video?: Video$2;
|
|
1013
1028
|
/**
|
|
1014
1029
|
* Id of the Project the items are part of
|
|
1015
|
-
* Project must exist before adding items to it.
|
|
1030
|
+
* Project must exist before adding items to it. You can create a project using the [ProjectService](https://dev.wix.com/docs/rest/business-solutions/portfolio/project)
|
|
1016
1031
|
*/
|
|
1017
1032
|
projectId?: string | null;
|
|
1018
1033
|
/**
|
|
@@ -1023,7 +1038,7 @@ interface UpdateProjectItem {
|
|
|
1023
1038
|
/**
|
|
1024
1039
|
* Index that determines which position a media item is displayed in the gallery. <br />
|
|
1025
1040
|
*
|
|
1026
|
-
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
|
1041
|
+
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
|
1027
1042
|
*/
|
|
1028
1043
|
sortOrder?: number | null;
|
|
1029
1044
|
/** Item title. */
|
|
@@ -1055,6 +1070,7 @@ interface UpdateProjectItem {
|
|
|
1055
1070
|
interface BulkUpdateProjectItemsOptions {
|
|
1056
1071
|
/** items to be updated. */
|
|
1057
1072
|
items?: MaskedItem[];
|
|
1073
|
+
/** Return full entity after update */
|
|
1058
1074
|
returnFullEntity?: boolean | null;
|
|
1059
1075
|
}
|
|
1060
1076
|
interface BulkDeleteProjectItemsOptions {
|
|
@@ -1167,7 +1183,7 @@ interface Project$1 extends ProjectCoverOneOf$1 {
|
|
|
1167
1183
|
description?: string | null;
|
|
1168
1184
|
/** indicates if the project should be hidden from Portfolio */
|
|
1169
1185
|
hidden?: boolean | null;
|
|
1170
|
-
/** Collections must exist to be added to a project.
|
|
1186
|
+
/** 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) */
|
|
1171
1187
|
collectionIds?: string[];
|
|
1172
1188
|
/** Custom project details */
|
|
1173
1189
|
details?: ProjectDetail$1[];
|
|
@@ -1779,7 +1795,7 @@ interface UpdateProject {
|
|
|
1779
1795
|
description?: string | null;
|
|
1780
1796
|
/** indicates if the project should be hidden from Portfolio */
|
|
1781
1797
|
hidden?: boolean | null;
|
|
1782
|
-
/** Collections must exist to be added to a project.
|
|
1798
|
+
/** 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) */
|
|
1783
1799
|
collectionIds?: string[];
|
|
1784
1800
|
/** Custom project details */
|
|
1785
1801
|
details?: ProjectDetail$1[];
|
|
@@ -2079,7 +2095,7 @@ interface Project extends ProjectCoverOneOf {
|
|
|
2079
2095
|
description?: string | null;
|
|
2080
2096
|
/** indicates if the project should be hidden from Portfolio */
|
|
2081
2097
|
hidden?: boolean | null;
|
|
2082
|
-
/** Collections must exist to be added to a project.
|
|
2098
|
+
/** 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) */
|
|
2083
2099
|
collectionIds?: string[];
|
|
2084
2100
|
/** Custom project details */
|
|
2085
2101
|
details?: ProjectDetail[];
|
|
@@ -2343,6 +2359,7 @@ interface ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope {
|
|
|
2343
2359
|
metadata: EventMetadata;
|
|
2344
2360
|
}
|
|
2345
2361
|
interface QueryProjectInCollectionsOptions {
|
|
2362
|
+
/** Include the page URL */
|
|
2346
2363
|
includePageUrl?: boolean | null | undefined;
|
|
2347
2364
|
}
|
|
2348
2365
|
interface QueryCursorResult {
|
|
@@ -10,7 +10,9 @@ interface Collection {
|
|
|
10
10
|
* @readonly
|
|
11
11
|
*/
|
|
12
12
|
revision?: string | null;
|
|
13
|
+
/** Title of Collection */
|
|
13
14
|
title?: string | null;
|
|
15
|
+
/** Description of Collection */
|
|
14
16
|
description?: string | null;
|
|
15
17
|
/** Url of Collection */
|
|
16
18
|
slug?: string | null;
|
|
@@ -35,6 +37,7 @@ interface Collection {
|
|
|
35
37
|
* @readonly
|
|
36
38
|
*/
|
|
37
39
|
url?: string;
|
|
40
|
+
/** SEO data for Collection */
|
|
38
41
|
seoData?: SeoSchema$2;
|
|
39
42
|
}
|
|
40
43
|
interface Image$3 {
|
|
@@ -174,6 +177,9 @@ interface DomainEventBodyOneOf$4 {
|
|
|
174
177
|
interface EntityCreatedEvent$4 {
|
|
175
178
|
entity?: string;
|
|
176
179
|
}
|
|
180
|
+
interface UndeleteInfo$4 {
|
|
181
|
+
deletedDate?: Date;
|
|
182
|
+
}
|
|
177
183
|
interface EntityUpdatedEvent$4 {
|
|
178
184
|
/**
|
|
179
185
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
@@ -197,6 +203,46 @@ interface AdminRemoveMenuItemsResponse {
|
|
|
197
203
|
/** number of items sucessfully deleted */
|
|
198
204
|
numItemsSuccessfullyDeleted?: number;
|
|
199
205
|
}
|
|
206
|
+
interface MessageEnvelope$4 {
|
|
207
|
+
/** App instance ID. */
|
|
208
|
+
instanceId?: string | null;
|
|
209
|
+
/** Event type. */
|
|
210
|
+
eventType?: string;
|
|
211
|
+
/** The identification type and identity data. */
|
|
212
|
+
identity?: IdentificationData$4;
|
|
213
|
+
/** Stringify payload. */
|
|
214
|
+
data?: string;
|
|
215
|
+
}
|
|
216
|
+
interface IdentificationData$4 extends IdentificationDataIdOneOf$4 {
|
|
217
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
218
|
+
anonymousVisitorId?: string;
|
|
219
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
220
|
+
memberId?: string;
|
|
221
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
222
|
+
wixUserId?: string;
|
|
223
|
+
/** ID of an app. */
|
|
224
|
+
appId?: string;
|
|
225
|
+
/** @readonly */
|
|
226
|
+
identityType?: WebhookIdentityType$4;
|
|
227
|
+
}
|
|
228
|
+
/** @oneof */
|
|
229
|
+
interface IdentificationDataIdOneOf$4 {
|
|
230
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
231
|
+
anonymousVisitorId?: string;
|
|
232
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
233
|
+
memberId?: string;
|
|
234
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
235
|
+
wixUserId?: string;
|
|
236
|
+
/** ID of an app. */
|
|
237
|
+
appId?: string;
|
|
238
|
+
}
|
|
239
|
+
declare enum WebhookIdentityType$4 {
|
|
240
|
+
UNKNOWN = "UNKNOWN",
|
|
241
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
242
|
+
MEMBER = "MEMBER",
|
|
243
|
+
WIX_USER = "WIX_USER",
|
|
244
|
+
APP = "APP"
|
|
245
|
+
}
|
|
200
246
|
interface InvalidateCache$2 extends InvalidateCacheGetByOneOf$2 {
|
|
201
247
|
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
|
202
248
|
metaSiteId?: string;
|
|
@@ -265,6 +311,7 @@ interface CreateCollectionResponse {
|
|
|
265
311
|
interface GetCollectionRequest {
|
|
266
312
|
/** Id of the Collection to retrieve */
|
|
267
313
|
collectionId: string;
|
|
314
|
+
/** Include page url */
|
|
268
315
|
includePageUrl?: boolean | null;
|
|
269
316
|
}
|
|
270
317
|
interface GetCollectionResponse {
|
|
@@ -274,6 +321,7 @@ interface GetCollectionResponse {
|
|
|
274
321
|
interface ListCollectionsRequest {
|
|
275
322
|
/** Maximum limit per response is 100, in first request cursor is None */
|
|
276
323
|
paging?: CursorPaging$3;
|
|
324
|
+
/** Include page url */
|
|
277
325
|
includePageUrl?: boolean | null;
|
|
278
326
|
}
|
|
279
327
|
interface CursorPaging$3 {
|
|
@@ -330,6 +378,7 @@ interface DeleteCollectionResponse {
|
|
|
330
378
|
interface QueryCollectionsRequest {
|
|
331
379
|
/** WQL expression */
|
|
332
380
|
query: QueryV2$3;
|
|
381
|
+
/** Include page url */
|
|
333
382
|
includePageUrl?: boolean | null;
|
|
334
383
|
}
|
|
335
384
|
interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
@@ -385,46 +434,6 @@ interface QueryCollectionsResponse {
|
|
|
385
434
|
/** Paging metadata */
|
|
386
435
|
metadata?: PagingMetadataV2$3;
|
|
387
436
|
}
|
|
388
|
-
interface MessageEnvelope$4 {
|
|
389
|
-
/** App instance ID. */
|
|
390
|
-
instanceId?: string | null;
|
|
391
|
-
/** Event type. */
|
|
392
|
-
eventType?: string;
|
|
393
|
-
/** The identification type and identity data. */
|
|
394
|
-
identity?: IdentificationData$4;
|
|
395
|
-
/** Stringify payload. */
|
|
396
|
-
data?: string;
|
|
397
|
-
}
|
|
398
|
-
interface IdentificationData$4 extends IdentificationDataIdOneOf$4 {
|
|
399
|
-
/** ID of a site visitor that has not logged in to the site. */
|
|
400
|
-
anonymousVisitorId?: string;
|
|
401
|
-
/** ID of a site visitor that has logged in to the site. */
|
|
402
|
-
memberId?: string;
|
|
403
|
-
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
404
|
-
wixUserId?: string;
|
|
405
|
-
/** ID of an app. */
|
|
406
|
-
appId?: string;
|
|
407
|
-
/** @readonly */
|
|
408
|
-
identityType?: WebhookIdentityType$4;
|
|
409
|
-
}
|
|
410
|
-
/** @oneof */
|
|
411
|
-
interface IdentificationDataIdOneOf$4 {
|
|
412
|
-
/** ID of a site visitor that has not logged in to the site. */
|
|
413
|
-
anonymousVisitorId?: string;
|
|
414
|
-
/** ID of a site visitor that has logged in to the site. */
|
|
415
|
-
memberId?: string;
|
|
416
|
-
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
417
|
-
wixUserId?: string;
|
|
418
|
-
/** ID of an app. */
|
|
419
|
-
appId?: string;
|
|
420
|
-
}
|
|
421
|
-
declare enum WebhookIdentityType$4 {
|
|
422
|
-
UNKNOWN = "UNKNOWN",
|
|
423
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
424
|
-
MEMBER = "MEMBER",
|
|
425
|
-
WIX_USER = "WIX_USER",
|
|
426
|
-
APP = "APP"
|
|
427
|
-
}
|
|
428
437
|
interface CreateCollectionResponseNonNullableFields {
|
|
429
438
|
collection?: {
|
|
430
439
|
coverImage?: {
|
|
@@ -621,11 +630,13 @@ interface CollectionDeletedEnvelope {
|
|
|
621
630
|
metadata: EventMetadata$3;
|
|
622
631
|
}
|
|
623
632
|
interface GetCollectionOptions {
|
|
633
|
+
/** Include page url */
|
|
624
634
|
includePageUrl?: boolean | null;
|
|
625
635
|
}
|
|
626
636
|
interface ListCollectionsOptions {
|
|
627
637
|
/** Maximum limit per response is 100, in first request cursor is None */
|
|
628
638
|
paging?: CursorPaging$3;
|
|
639
|
+
/** Include page url */
|
|
629
640
|
includePageUrl?: boolean | null;
|
|
630
641
|
}
|
|
631
642
|
interface UpdateCollection {
|
|
@@ -639,7 +650,9 @@ interface UpdateCollection {
|
|
|
639
650
|
* @readonly
|
|
640
651
|
*/
|
|
641
652
|
revision?: string | null;
|
|
653
|
+
/** Title of Collection */
|
|
642
654
|
title?: string | null;
|
|
655
|
+
/** Description of Collection */
|
|
643
656
|
description?: string | null;
|
|
644
657
|
/** Url of Collection */
|
|
645
658
|
slug?: string | null;
|
|
@@ -664,9 +677,11 @@ interface UpdateCollection {
|
|
|
664
677
|
* @readonly
|
|
665
678
|
*/
|
|
666
679
|
url?: string;
|
|
680
|
+
/** SEO data for Collection */
|
|
667
681
|
seoData?: SeoSchema$2;
|
|
668
682
|
}
|
|
669
683
|
interface QueryCollectionsOptions {
|
|
684
|
+
/** Include page url */
|
|
670
685
|
includePageUrl?: boolean | null | undefined;
|
|
671
686
|
}
|
|
672
687
|
interface QueryCursorResult$2 {
|
|
@@ -902,7 +917,7 @@ declare const index_d$4_onCollectionUpdated: typeof onCollectionUpdated;
|
|
|
902
917
|
declare const index_d$4_queryCollections: typeof queryCollections;
|
|
903
918
|
declare const index_d$4_updateCollection: typeof updateCollection;
|
|
904
919
|
declare namespace index_d$4 {
|
|
905
|
-
export { type ActionEvent$4 as ActionEvent, type index_d$4_AdminRemoveMenuItemsResponse as AdminRemoveMenuItemsResponse, type App$2 as App, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$4_Collection as Collection, type index_d$4_CollectionCreatedEnvelope as CollectionCreatedEnvelope, type index_d$4_CollectionDeletedEnvelope as CollectionDeletedEnvelope, type index_d$4_CollectionUpdatedEnvelope as CollectionUpdatedEnvelope, type index_d$4_CollectionsQueryBuilder as CollectionsQueryBuilder, type index_d$4_CollectionsQueryResult as CollectionsQueryResult, type index_d$4_CreateCollectionRequest as CreateCollectionRequest, type index_d$4_CreateCollectionResponse as CreateCollectionResponse, type index_d$4_CreateCollectionResponseNonNullableFields as CreateCollectionResponseNonNullableFields, type CursorPaging$3 as CursorPaging, type Cursors$3 as Cursors, type index_d$4_DeleteCollectionRequest as DeleteCollectionRequest, type index_d$4_DeleteCollectionResponse as DeleteCollectionResponse, type index_d$4_DeleteCollectionResponseNonNullableFields as DeleteCollectionResponseNonNullableFields, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$3 as EventMetadata, type File$2 as File, type index_d$4_GetCollectionOptions as GetCollectionOptions, type index_d$4_GetCollectionRequest as GetCollectionRequest, type index_d$4_GetCollectionResponse as GetCollectionResponse, type index_d$4_GetCollectionResponseNonNullableFields as GetCollectionResponseNonNullableFields, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, type Image$3 as Image, ImageType$3 as ImageType, type InvalidateCache$2 as InvalidateCache, type InvalidateCacheGetByOneOf$2 as InvalidateCacheGetByOneOf, type Keyword$2 as Keyword, type index_d$4_ListCollectionsOptions as ListCollectionsOptions, type index_d$4_ListCollectionsRequest as ListCollectionsRequest, type index_d$4_ListCollectionsResponse as ListCollectionsResponse, type index_d$4_ListCollectionsResponseNonNullableFields as ListCollectionsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type Page$2 as Page, type Paging$3 as Paging, type PagingMetadataV2$3 as PagingMetadataV2, type Point$3 as Point, type index_d$4_QueryCollectionsOptions as QueryCollectionsOptions, type index_d$4_QueryCollectionsRequest as QueryCollectionsRequest, type index_d$4_QueryCollectionsResponse as QueryCollectionsResponse, type index_d$4_QueryCollectionsResponseNonNullableFields as QueryCollectionsResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, type SeoSchema$2 as SeoSchema, type Settings$2 as Settings, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type Tag$2 as Tag, type URI$2 as URI, type UnsharpMasking$3 as UnsharpMasking, type index_d$4_UpdateCollection as UpdateCollection, type index_d$4_UpdateCollectionRequest as UpdateCollectionRequest, type index_d$4_UpdateCollectionResponse as UpdateCollectionResponse, type index_d$4_UpdateCollectionResponseNonNullableFields as UpdateCollectionResponseNonNullableFields, WebhookIdentityType$4 as WebhookIdentityType, __metadata$4 as __metadata, index_d$4_createCollection as createCollection, index_d$4_deleteCollection as deleteCollection, index_d$4_getCollection as getCollection, index_d$4_listCollections as listCollections, index_d$4_onCollectionCreated as onCollectionCreated, index_d$4_onCollectionDeleted as onCollectionDeleted, index_d$4_onCollectionUpdated as onCollectionUpdated, index_d$4_queryCollections as queryCollections, index_d$4_updateCollection as updateCollection };
|
|
920
|
+
export { type ActionEvent$4 as ActionEvent, type index_d$4_AdminRemoveMenuItemsResponse as AdminRemoveMenuItemsResponse, type App$2 as App, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$4_Collection as Collection, type index_d$4_CollectionCreatedEnvelope as CollectionCreatedEnvelope, type index_d$4_CollectionDeletedEnvelope as CollectionDeletedEnvelope, type index_d$4_CollectionUpdatedEnvelope as CollectionUpdatedEnvelope, type index_d$4_CollectionsQueryBuilder as CollectionsQueryBuilder, type index_d$4_CollectionsQueryResult as CollectionsQueryResult, type index_d$4_CreateCollectionRequest as CreateCollectionRequest, type index_d$4_CreateCollectionResponse as CreateCollectionResponse, type index_d$4_CreateCollectionResponseNonNullableFields as CreateCollectionResponseNonNullableFields, type CursorPaging$3 as CursorPaging, type Cursors$3 as Cursors, type index_d$4_DeleteCollectionRequest as DeleteCollectionRequest, type index_d$4_DeleteCollectionResponse as DeleteCollectionResponse, type index_d$4_DeleteCollectionResponseNonNullableFields as DeleteCollectionResponseNonNullableFields, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$3 as EventMetadata, type File$2 as File, type index_d$4_GetCollectionOptions as GetCollectionOptions, type index_d$4_GetCollectionRequest as GetCollectionRequest, type index_d$4_GetCollectionResponse as GetCollectionResponse, type index_d$4_GetCollectionResponseNonNullableFields as GetCollectionResponseNonNullableFields, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, type Image$3 as Image, ImageType$3 as ImageType, type InvalidateCache$2 as InvalidateCache, type InvalidateCacheGetByOneOf$2 as InvalidateCacheGetByOneOf, type Keyword$2 as Keyword, type index_d$4_ListCollectionsOptions as ListCollectionsOptions, type index_d$4_ListCollectionsRequest as ListCollectionsRequest, type index_d$4_ListCollectionsResponse as ListCollectionsResponse, type index_d$4_ListCollectionsResponseNonNullableFields as ListCollectionsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type Page$2 as Page, type Paging$3 as Paging, type PagingMetadataV2$3 as PagingMetadataV2, type Point$3 as Point, type index_d$4_QueryCollectionsOptions as QueryCollectionsOptions, type index_d$4_QueryCollectionsRequest as QueryCollectionsRequest, type index_d$4_QueryCollectionsResponse as QueryCollectionsResponse, type index_d$4_QueryCollectionsResponseNonNullableFields as QueryCollectionsResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, type SeoSchema$2 as SeoSchema, type Settings$2 as Settings, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type Tag$2 as Tag, type URI$2 as URI, type UndeleteInfo$4 as UndeleteInfo, type UnsharpMasking$3 as UnsharpMasking, type index_d$4_UpdateCollection as UpdateCollection, type index_d$4_UpdateCollectionRequest as UpdateCollectionRequest, type index_d$4_UpdateCollectionResponse as UpdateCollectionResponse, type index_d$4_UpdateCollectionResponseNonNullableFields as UpdateCollectionResponseNonNullableFields, WebhookIdentityType$4 as WebhookIdentityType, __metadata$4 as __metadata, index_d$4_createCollection as createCollection, index_d$4_deleteCollection as deleteCollection, index_d$4_getCollection as getCollection, index_d$4_listCollections as listCollections, index_d$4_onCollectionCreated as onCollectionCreated, index_d$4_onCollectionDeleted as onCollectionDeleted, index_d$4_onCollectionUpdated as onCollectionUpdated, index_d$4_queryCollections as queryCollections, index_d$4_updateCollection as updateCollection };
|
|
906
921
|
}
|
|
907
922
|
|
|
908
923
|
interface PortfolioSettings {
|
|
@@ -998,6 +1013,9 @@ interface DomainEventBodyOneOf$3 {
|
|
|
998
1013
|
interface EntityCreatedEvent$3 {
|
|
999
1014
|
entity?: string;
|
|
1000
1015
|
}
|
|
1016
|
+
interface UndeleteInfo$3 {
|
|
1017
|
+
deletedDate?: Date;
|
|
1018
|
+
}
|
|
1001
1019
|
interface EntityUpdatedEvent$3 {
|
|
1002
1020
|
/**
|
|
1003
1021
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
@@ -1111,7 +1129,7 @@ declare const index_d$3_createPortfolioSettings: typeof createPortfolioSettings;
|
|
|
1111
1129
|
declare const index_d$3_getPortfolioSettings: typeof getPortfolioSettings;
|
|
1112
1130
|
declare const index_d$3_updatePortfolioSettings: typeof updatePortfolioSettings;
|
|
1113
1131
|
declare namespace index_d$3 {
|
|
1114
|
-
export { type ActionEvent$3 as ActionEvent, index_d$3_AddItemDirection as AddItemDirection, type index_d$3_CreatePortfolioSettingsRequest as CreatePortfolioSettingsRequest, type index_d$3_CreatePortfolioSettingsResponse as CreatePortfolioSettingsResponse, type index_d$3_CreatePortfolioSettingsResponseNonNullableFields as CreatePortfolioSettingsResponseNonNullableFields, index_d$3_DefaultItemName as DefaultItemName, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type index_d$3_GetPortfolioSettingsRequest as GetPortfolioSettingsRequest, type index_d$3_GetPortfolioSettingsResponse as GetPortfolioSettingsResponse, type index_d$3_GetPortfolioSettingsResponseNonNullableFields as GetPortfolioSettingsResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$3_MediaSettings as MediaSettings, type MessageEnvelope$3 as MessageEnvelope, type index_d$3_PortfolioSettings as PortfolioSettings, type index_d$3_ProjectItemSettings as ProjectItemSettings, type index_d$3_SiteMenuSettings as SiteMenuSettings, type index_d$3_UpdatePortfolioSettingsRequest as UpdatePortfolioSettingsRequest, type index_d$3_UpdatePortfolioSettingsResponse as UpdatePortfolioSettingsResponse, type index_d$3_UpdatePortfolioSettingsResponseNonNullableFields as UpdatePortfolioSettingsResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, __metadata$3 as __metadata, index_d$3_createPortfolioSettings as createPortfolioSettings, index_d$3_getPortfolioSettings as getPortfolioSettings, index_d$3_updatePortfolioSettings as updatePortfolioSettings };
|
|
1132
|
+
export { type ActionEvent$3 as ActionEvent, index_d$3_AddItemDirection as AddItemDirection, type index_d$3_CreatePortfolioSettingsRequest as CreatePortfolioSettingsRequest, type index_d$3_CreatePortfolioSettingsResponse as CreatePortfolioSettingsResponse, type index_d$3_CreatePortfolioSettingsResponseNonNullableFields as CreatePortfolioSettingsResponseNonNullableFields, index_d$3_DefaultItemName as DefaultItemName, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type index_d$3_GetPortfolioSettingsRequest as GetPortfolioSettingsRequest, type index_d$3_GetPortfolioSettingsResponse as GetPortfolioSettingsResponse, type index_d$3_GetPortfolioSettingsResponseNonNullableFields as GetPortfolioSettingsResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$3_MediaSettings as MediaSettings, type MessageEnvelope$3 as MessageEnvelope, type index_d$3_PortfolioSettings as PortfolioSettings, type index_d$3_ProjectItemSettings as ProjectItemSettings, type index_d$3_SiteMenuSettings as SiteMenuSettings, type UndeleteInfo$3 as UndeleteInfo, type index_d$3_UpdatePortfolioSettingsRequest as UpdatePortfolioSettingsRequest, type index_d$3_UpdatePortfolioSettingsResponse as UpdatePortfolioSettingsResponse, type index_d$3_UpdatePortfolioSettingsResponseNonNullableFields as UpdatePortfolioSettingsResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, __metadata$3 as __metadata, index_d$3_createPortfolioSettings as createPortfolioSettings, index_d$3_getPortfolioSettings as getPortfolioSettings, index_d$3_updatePortfolioSettings as updatePortfolioSettings };
|
|
1115
1133
|
}
|
|
1116
1134
|
|
|
1117
1135
|
/** ProjectItem is the main entity of ProjectItemsService */
|
|
@@ -1122,7 +1140,7 @@ interface Item extends ItemMetadataOneOf {
|
|
|
1122
1140
|
video?: Video$2;
|
|
1123
1141
|
/**
|
|
1124
1142
|
* Id of the Project the items are part of
|
|
1125
|
-
* Project must exist before adding items to it.
|
|
1143
|
+
* Project must exist before adding items to it. You can create a project using the [ProjectService](https://dev.wix.com/docs/rest/business-solutions/portfolio/project)
|
|
1126
1144
|
*/
|
|
1127
1145
|
projectId?: string | null;
|
|
1128
1146
|
/**
|
|
@@ -1133,7 +1151,7 @@ interface Item extends ItemMetadataOneOf {
|
|
|
1133
1151
|
/**
|
|
1134
1152
|
* Index that determines which position a media item is displayed in the gallery. <br />
|
|
1135
1153
|
*
|
|
1136
|
-
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
|
1154
|
+
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
|
1137
1155
|
*/
|
|
1138
1156
|
sortOrder?: number | null;
|
|
1139
1157
|
/** Item title. */
|
|
@@ -1170,8 +1188,11 @@ interface ItemMetadataOneOf {
|
|
|
1170
1188
|
video?: Video$2;
|
|
1171
1189
|
}
|
|
1172
1190
|
declare enum Type {
|
|
1191
|
+
/** Undefined item type. */
|
|
1173
1192
|
UNDEFINED = "UNDEFINED",
|
|
1193
|
+
/** Image item type. */
|
|
1174
1194
|
IMAGE = "IMAGE",
|
|
1195
|
+
/** Video item type. */
|
|
1175
1196
|
VIDEO = "VIDEO"
|
|
1176
1197
|
}
|
|
1177
1198
|
interface Image$2 {
|
|
@@ -1310,7 +1331,7 @@ interface DomainEventBodyOneOf$2 {
|
|
|
1310
1331
|
interface EntityCreatedEvent$2 {
|
|
1311
1332
|
entity?: string;
|
|
1312
1333
|
}
|
|
1313
|
-
interface UndeleteInfo {
|
|
1334
|
+
interface UndeleteInfo$2 {
|
|
1314
1335
|
deletedDate?: Date;
|
|
1315
1336
|
}
|
|
1316
1337
|
interface EntityUpdatedEvent$2 {
|
|
@@ -1447,6 +1468,7 @@ interface BulkCreateProjectItemsResponse {
|
|
|
1447
1468
|
interface BulkCreateProjectItemResult {
|
|
1448
1469
|
/** Holds information about an item in bulk create - id, index in original request array, action successful, error (if failed) */
|
|
1449
1470
|
itemMetadata?: ItemMetadata$1;
|
|
1471
|
+
/** Created item */
|
|
1450
1472
|
item?: Item;
|
|
1451
1473
|
}
|
|
1452
1474
|
interface ItemMetadata$1 {
|
|
@@ -1597,9 +1619,11 @@ interface UpdateProjectItemResponse {
|
|
|
1597
1619
|
interface BulkUpdateProjectItemsRequest {
|
|
1598
1620
|
/** items to be updated. */
|
|
1599
1621
|
items?: MaskedItem[];
|
|
1622
|
+
/** Return full entity after update */
|
|
1600
1623
|
returnFullEntity?: boolean | null;
|
|
1601
1624
|
}
|
|
1602
1625
|
interface MaskedItem {
|
|
1626
|
+
/** Item to be updated */
|
|
1603
1627
|
item?: Item;
|
|
1604
1628
|
}
|
|
1605
1629
|
interface BulkUpdateProjectItemsResponse {
|
|
@@ -1611,6 +1635,7 @@ interface BulkUpdateProjectItemsResponse {
|
|
|
1611
1635
|
interface BulkUpdateProjectItemResult {
|
|
1612
1636
|
/** Holds information about an item in bulk update - id, index in original request array, action successful, error (if failed). */
|
|
1613
1637
|
itemMetadata?: ItemMetadata$1;
|
|
1638
|
+
/** Updated item */
|
|
1614
1639
|
item?: Item;
|
|
1615
1640
|
}
|
|
1616
1641
|
interface DeleteProjectItemRequest {
|
|
@@ -1898,7 +1923,7 @@ interface UpdateProjectItem {
|
|
|
1898
1923
|
video?: Video$2;
|
|
1899
1924
|
/**
|
|
1900
1925
|
* Id of the Project the items are part of
|
|
1901
|
-
* Project must exist before adding items to it.
|
|
1926
|
+
* Project must exist before adding items to it. You can create a project using the [ProjectService](https://dev.wix.com/docs/rest/business-solutions/portfolio/project)
|
|
1902
1927
|
*/
|
|
1903
1928
|
projectId?: string | null;
|
|
1904
1929
|
/**
|
|
@@ -1909,7 +1934,7 @@ interface UpdateProjectItem {
|
|
|
1909
1934
|
/**
|
|
1910
1935
|
* Index that determines which position a media item is displayed in the gallery. <br />
|
|
1911
1936
|
*
|
|
1912
|
-
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
|
1937
|
+
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
|
1913
1938
|
*/
|
|
1914
1939
|
sortOrder?: number | null;
|
|
1915
1940
|
/** Item title. */
|
|
@@ -1941,6 +1966,7 @@ interface UpdateProjectItem {
|
|
|
1941
1966
|
interface BulkUpdateProjectItemsOptions {
|
|
1942
1967
|
/** items to be updated. */
|
|
1943
1968
|
items?: MaskedItem[];
|
|
1969
|
+
/** Return full entity after update */
|
|
1944
1970
|
returnFullEntity?: boolean | null;
|
|
1945
1971
|
}
|
|
1946
1972
|
interface BulkDeleteProjectItemsOptions {
|
|
@@ -2055,7 +2081,6 @@ type index_d$2_QueryProjectItemsResponse = QueryProjectItemsResponse;
|
|
|
2055
2081
|
type index_d$2_Tags = Tags;
|
|
2056
2082
|
type index_d$2_Type = Type;
|
|
2057
2083
|
declare const index_d$2_Type: typeof Type;
|
|
2058
|
-
type index_d$2_UndeleteInfo = UndeleteInfo;
|
|
2059
2084
|
type index_d$2_UpdateProjectItem = UpdateProjectItem;
|
|
2060
2085
|
type index_d$2_UpdateProjectItemRequest = UpdateProjectItemRequest;
|
|
2061
2086
|
type index_d$2_UpdateProjectItemResponse = UpdateProjectItemResponse;
|
|
@@ -2074,7 +2099,7 @@ declare const index_d$2_onProjectItemDeleted: typeof onProjectItemDeleted;
|
|
|
2074
2099
|
declare const index_d$2_onProjectItemUpdated: typeof onProjectItemUpdated;
|
|
2075
2100
|
declare const index_d$2_updateProjectItem: typeof updateProjectItem;
|
|
2076
2101
|
declare namespace index_d$2 {
|
|
2077
|
-
export { type ActionEvent$2 as ActionEvent, type App$1 as App, type ApplicationError$1 as ApplicationError, type BaseEventMetadata$2 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$2_BulkCreateProjectItemResult as BulkCreateProjectItemResult, type index_d$2_BulkCreateProjectItemsOptions as BulkCreateProjectItemsOptions, type index_d$2_BulkCreateProjectItemsRequest as BulkCreateProjectItemsRequest, type index_d$2_BulkCreateProjectItemsResponse as BulkCreateProjectItemsResponse, type index_d$2_BulkCreateProjectItemsResponseNonNullableFields as BulkCreateProjectItemsResponseNonNullableFields, type index_d$2_BulkDeleteProjectItemResult as BulkDeleteProjectItemResult, type index_d$2_BulkDeleteProjectItemsOptions as BulkDeleteProjectItemsOptions, type index_d$2_BulkDeleteProjectItemsRequest as BulkDeleteProjectItemsRequest, type index_d$2_BulkDeleteProjectItemsResponse as BulkDeleteProjectItemsResponse, type index_d$2_BulkDeleteProjectItemsResponseNonNullableFields as BulkDeleteProjectItemsResponseNonNullableFields, type index_d$2_BulkUpdateProjectItemResult as BulkUpdateProjectItemResult, type index_d$2_BulkUpdateProjectItemsOptions as BulkUpdateProjectItemsOptions, type index_d$2_BulkUpdateProjectItemsRequest as BulkUpdateProjectItemsRequest, type index_d$2_BulkUpdateProjectItemsResponse as BulkUpdateProjectItemsResponse, type index_d$2_BulkUpdateProjectItemsResponseNonNullableFields as BulkUpdateProjectItemsResponseNonNullableFields, type index_d$2_CreateProjectGalleryRequest as CreateProjectGalleryRequest, type index_d$2_CreateProjectGalleryResponse as CreateProjectGalleryResponse, type index_d$2_CreateProjectItemRequest as CreateProjectItemRequest, type index_d$2_CreateProjectItemResponse as CreateProjectItemResponse, type index_d$2_CreateProjectItemResponseNonNullableFields as CreateProjectItemResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type Cursors$2 as Cursors, type index_d$2_DeleteProjectItemRequest as DeleteProjectItemRequest, type index_d$2_DeleteProjectItemResponse as DeleteProjectItemResponse, type index_d$2_DeleteProjectItemResponseNonNullableFields as DeleteProjectItemResponseNonNullableFields, type DeletedProjectRestored$1 as DeletedProjectRestored, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type index_d$2_DuplicateProjectItemsOptions as DuplicateProjectItemsOptions, type index_d$2_DuplicateProjectItemsRequest as DuplicateProjectItemsRequest, type index_d$2_DuplicateProjectItemsResponse as DuplicateProjectItemsResponse, type index_d$2_DuplicateProjectItemsResponseNonNullableFields as DuplicateProjectItemsResponseNonNullableFields, type Empty$1 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type File$1 as File, type index_d$2_GenerateTokenForProjectItemsRequest as GenerateTokenForProjectItemsRequest, type index_d$2_GenerateTokenForProjectItemsResponse as GenerateTokenForProjectItemsResponse, type index_d$2_GenerateTokenForProjectItemsResponseNonNullableFields as GenerateTokenForProjectItemsResponseNonNullableFields, type index_d$2_GetProjectItemRequest as GetProjectItemRequest, type index_d$2_GetProjectItemResponse as GetProjectItemResponse, type index_d$2_GetProjectItemResponseNonNullableFields as GetProjectItemResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Image$2 as Image, ImageType$2 as ImageType, type InvalidateCache$1 as InvalidateCache, type InvalidateCacheGetByOneOf$1 as InvalidateCacheGetByOneOf, type index_d$2_Item as Item, type ItemMetadata$1 as ItemMetadata, type index_d$2_ItemMetadataOneOf as ItemMetadataOneOf, type index_d$2_Link as Link, type index_d$2_ListProjectItemsOptions as ListProjectItemsOptions, type index_d$2_ListProjectItemsRequest as ListProjectItemsRequest, type index_d$2_ListProjectItemsResponse as ListProjectItemsResponse, type index_d$2_ListProjectItemsResponseNonNullableFields as ListProjectItemsResponseNonNullableFields, type index_d$2_MaskedItem as MaskedItem, type MessageEnvelope$2 as MessageEnvelope, type Page$1 as Page, type Paging$2 as Paging, type PagingMetadataV2$2 as PagingMetadataV2, type Point$2 as Point, type index_d$2_ProjectItemCreatedEnvelope as ProjectItemCreatedEnvelope, type index_d$2_ProjectItemDeletedEnvelope as ProjectItemDeletedEnvelope, type index_d$2_ProjectItemMediaToken as ProjectItemMediaToken, type index_d$2_ProjectItemUpdatedEnvelope as ProjectItemUpdatedEnvelope, type index_d$2_QueryProjectItemsRequest as QueryProjectItemsRequest, type index_d$2_QueryProjectItemsResponse as QueryProjectItemsResponse, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type index_d$2_Tags as Tags, index_d$2_Type as Type, type URI$1 as URI, type
|
|
2102
|
+
export { type ActionEvent$2 as ActionEvent, type App$1 as App, type ApplicationError$1 as ApplicationError, type BaseEventMetadata$2 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$2_BulkCreateProjectItemResult as BulkCreateProjectItemResult, type index_d$2_BulkCreateProjectItemsOptions as BulkCreateProjectItemsOptions, type index_d$2_BulkCreateProjectItemsRequest as BulkCreateProjectItemsRequest, type index_d$2_BulkCreateProjectItemsResponse as BulkCreateProjectItemsResponse, type index_d$2_BulkCreateProjectItemsResponseNonNullableFields as BulkCreateProjectItemsResponseNonNullableFields, type index_d$2_BulkDeleteProjectItemResult as BulkDeleteProjectItemResult, type index_d$2_BulkDeleteProjectItemsOptions as BulkDeleteProjectItemsOptions, type index_d$2_BulkDeleteProjectItemsRequest as BulkDeleteProjectItemsRequest, type index_d$2_BulkDeleteProjectItemsResponse as BulkDeleteProjectItemsResponse, type index_d$2_BulkDeleteProjectItemsResponseNonNullableFields as BulkDeleteProjectItemsResponseNonNullableFields, type index_d$2_BulkUpdateProjectItemResult as BulkUpdateProjectItemResult, type index_d$2_BulkUpdateProjectItemsOptions as BulkUpdateProjectItemsOptions, type index_d$2_BulkUpdateProjectItemsRequest as BulkUpdateProjectItemsRequest, type index_d$2_BulkUpdateProjectItemsResponse as BulkUpdateProjectItemsResponse, type index_d$2_BulkUpdateProjectItemsResponseNonNullableFields as BulkUpdateProjectItemsResponseNonNullableFields, type index_d$2_CreateProjectGalleryRequest as CreateProjectGalleryRequest, type index_d$2_CreateProjectGalleryResponse as CreateProjectGalleryResponse, type index_d$2_CreateProjectItemRequest as CreateProjectItemRequest, type index_d$2_CreateProjectItemResponse as CreateProjectItemResponse, type index_d$2_CreateProjectItemResponseNonNullableFields as CreateProjectItemResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type Cursors$2 as Cursors, type index_d$2_DeleteProjectItemRequest as DeleteProjectItemRequest, type index_d$2_DeleteProjectItemResponse as DeleteProjectItemResponse, type index_d$2_DeleteProjectItemResponseNonNullableFields as DeleteProjectItemResponseNonNullableFields, type DeletedProjectRestored$1 as DeletedProjectRestored, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type index_d$2_DuplicateProjectItemsOptions as DuplicateProjectItemsOptions, type index_d$2_DuplicateProjectItemsRequest as DuplicateProjectItemsRequest, type index_d$2_DuplicateProjectItemsResponse as DuplicateProjectItemsResponse, type index_d$2_DuplicateProjectItemsResponseNonNullableFields as DuplicateProjectItemsResponseNonNullableFields, type Empty$1 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type File$1 as File, type index_d$2_GenerateTokenForProjectItemsRequest as GenerateTokenForProjectItemsRequest, type index_d$2_GenerateTokenForProjectItemsResponse as GenerateTokenForProjectItemsResponse, type index_d$2_GenerateTokenForProjectItemsResponseNonNullableFields as GenerateTokenForProjectItemsResponseNonNullableFields, type index_d$2_GetProjectItemRequest as GetProjectItemRequest, type index_d$2_GetProjectItemResponse as GetProjectItemResponse, type index_d$2_GetProjectItemResponseNonNullableFields as GetProjectItemResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Image$2 as Image, ImageType$2 as ImageType, type InvalidateCache$1 as InvalidateCache, type InvalidateCacheGetByOneOf$1 as InvalidateCacheGetByOneOf, type index_d$2_Item as Item, type ItemMetadata$1 as ItemMetadata, type index_d$2_ItemMetadataOneOf as ItemMetadataOneOf, type index_d$2_Link as Link, type index_d$2_ListProjectItemsOptions as ListProjectItemsOptions, type index_d$2_ListProjectItemsRequest as ListProjectItemsRequest, type index_d$2_ListProjectItemsResponse as ListProjectItemsResponse, type index_d$2_ListProjectItemsResponseNonNullableFields as ListProjectItemsResponseNonNullableFields, type index_d$2_MaskedItem as MaskedItem, type MessageEnvelope$2 as MessageEnvelope, type Page$1 as Page, type Paging$2 as Paging, type PagingMetadataV2$2 as PagingMetadataV2, type Point$2 as Point, type index_d$2_ProjectItemCreatedEnvelope as ProjectItemCreatedEnvelope, type index_d$2_ProjectItemDeletedEnvelope as ProjectItemDeletedEnvelope, type index_d$2_ProjectItemMediaToken as ProjectItemMediaToken, type index_d$2_ProjectItemUpdatedEnvelope as ProjectItemUpdatedEnvelope, type index_d$2_QueryProjectItemsRequest as QueryProjectItemsRequest, type index_d$2_QueryProjectItemsResponse as QueryProjectItemsResponse, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type index_d$2_Tags as Tags, index_d$2_Type as Type, type URI$1 as URI, type UndeleteInfo$2 as UndeleteInfo, type UnsharpMasking$2 as UnsharpMasking, type index_d$2_UpdateProjectItem as UpdateProjectItem, type index_d$2_UpdateProjectItemRequest as UpdateProjectItemRequest, type index_d$2_UpdateProjectItemResponse as UpdateProjectItemResponse, type index_d$2_UpdateProjectItemResponseNonNullableFields as UpdateProjectItemResponseNonNullableFields, type Video$2 as Video, type VideoResolution$2 as VideoResolution, WebhookIdentityType$2 as WebhookIdentityType, __metadata$2 as __metadata, index_d$2_bulkCreateProjectItems as bulkCreateProjectItems, index_d$2_bulkDeleteProjectItems as bulkDeleteProjectItems, index_d$2_bulkUpdateProjectItems as bulkUpdateProjectItems, index_d$2_createProjectItem as createProjectItem, index_d$2_deleteProjectItem as deleteProjectItem, index_d$2_duplicateProjectItems as duplicateProjectItems, index_d$2_generateTokenForProjectItems as generateTokenForProjectItems, index_d$2_getProjectItem as getProjectItem, index_d$2_listProjectItems as listProjectItems, index_d$2_onProjectItemCreated as onProjectItemCreated, index_d$2_onProjectItemDeleted as onProjectItemDeleted, index_d$2_onProjectItemUpdated as onProjectItemUpdated, index_d$2_updateProjectItem as updateProjectItem };
|
|
2078
2103
|
}
|
|
2079
2104
|
|
|
2080
2105
|
/** Project is the main entity of ProjectsService */
|
|
@@ -2097,7 +2122,7 @@ interface Project$1 extends ProjectCoverOneOf$1 {
|
|
|
2097
2122
|
description?: string | null;
|
|
2098
2123
|
/** indicates if the project should be hidden from Portfolio */
|
|
2099
2124
|
hidden?: boolean | null;
|
|
2100
|
-
/** Collections must exist to be added to a project.
|
|
2125
|
+
/** 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) */
|
|
2101
2126
|
collectionIds?: string[];
|
|
2102
2127
|
/** Custom project details */
|
|
2103
2128
|
details?: ProjectDetail$1[];
|
|
@@ -2629,6 +2654,9 @@ interface DomainEventBodyOneOf$1 {
|
|
|
2629
2654
|
interface EntityCreatedEvent$1 {
|
|
2630
2655
|
entity?: string;
|
|
2631
2656
|
}
|
|
2657
|
+
interface UndeleteInfo$1 {
|
|
2658
|
+
deletedDate?: Date;
|
|
2659
|
+
}
|
|
2632
2660
|
interface EntityUpdatedEvent$1 {
|
|
2633
2661
|
/**
|
|
2634
2662
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
@@ -3414,7 +3442,7 @@ interface UpdateProject {
|
|
|
3414
3442
|
description?: string | null;
|
|
3415
3443
|
/** indicates if the project should be hidden from Portfolio */
|
|
3416
3444
|
hidden?: boolean | null;
|
|
3417
|
-
/** Collections must exist to be added to a project.
|
|
3445
|
+
/** 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) */
|
|
3418
3446
|
collectionIds?: string[];
|
|
3419
3447
|
/** Custom project details */
|
|
3420
3448
|
details?: ProjectDetail$1[];
|
|
@@ -3758,7 +3786,7 @@ declare const index_d$1_queryProjects: typeof queryProjects;
|
|
|
3758
3786
|
declare const index_d$1_queryProjectsWithCollectionInfo: typeof queryProjectsWithCollectionInfo;
|
|
3759
3787
|
declare const index_d$1_updateProject: typeof updateProject;
|
|
3760
3788
|
declare namespace index_d$1 {
|
|
3761
|
-
export { type ActionEvent$1 as ActionEvent, type index_d$1_App as App, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Asset as Asset, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, type index_d$1_BulkUpdateProjectsOptions as BulkUpdateProjectsOptions, type index_d$1_BulkUpdateProjectsRequest as BulkUpdateProjectsRequest, type index_d$1_BulkUpdateProjectsResponse as BulkUpdateProjectsResponse, type index_d$1_BulkUpdateProjectsResponseNonNullableFields as BulkUpdateProjectsResponseNonNullableFields, type index_d$1_BulkUpdateProjectsResult as BulkUpdateProjectsResult, type index_d$1_CreateNewPortfolioAppRequest as CreateNewPortfolioAppRequest, type index_d$1_CreateNewPortfolioAppResponse as CreateNewPortfolioAppResponse, type index_d$1_CreateProjectRequest as CreateProjectRequest, type index_d$1_CreateProjectResponse as CreateProjectResponse, type index_d$1_CreateProjectResponseNonNullableFields as CreateProjectResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type index_d$1_DeleteContext as DeleteContext, type index_d$1_DeleteProjectRequest as DeleteProjectRequest, type index_d$1_DeleteProjectResponse as DeleteProjectResponse, type index_d$1_DeleteProjectResponseNonNullableFields as DeleteProjectResponseNonNullableFields, index_d$1_DeleteStatus as DeleteStatus, type index_d$1_DeletedProjectRestored as DeletedProjectRestored, type DetailsLink$1 as DetailsLink, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_Empty as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$1_File as File, type index_d$1_GetProjectOptions as GetProjectOptions, type index_d$1_GetProjectPageDataIdentifiers as GetProjectPageDataIdentifiers, type index_d$1_GetProjectPageDataRequest as GetProjectPageDataRequest, type index_d$1_GetProjectPageDataResponse as GetProjectPageDataResponse, type index_d$1_GetProjectPageDataResponseNonNullableFields as GetProjectPageDataResponseNonNullableFields, type index_d$1_GetProjectRequest as GetProjectRequest, type index_d$1_GetProjectResponse as GetProjectResponse, type index_d$1_GetProjectResponseNonNullableFields as GetProjectResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Image$1 as Image, ImageType$1 as ImageType, type index_d$1_InvalidateCache as InvalidateCache, type index_d$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$1_ItemMetadata as ItemMetadata, type Keyword$1 as Keyword, type index_d$1_ListProjectsOptions as ListProjectsOptions, type index_d$1_ListProjectsRequest as ListProjectsRequest, type index_d$1_ListProjectsResponse as ListProjectsResponse, type index_d$1_ListProjectsResponseNonNullableFields as ListProjectsResponseNonNullableFields, type index_d$1_MaskedProject as MaskedProject, type index_d$1_MenuSettingUpdatedEvent as MenuSettingUpdatedEvent, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_Page as Page, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type Point$1 as Point, type Project$1 as Project, type ProjectCoverOneOf$1 as ProjectCoverOneOf, type index_d$1_ProjectCreatedEnvelope as ProjectCreatedEnvelope, type index_d$1_ProjectDeletedEnvelope as ProjectDeletedEnvelope, type ProjectDetail$1 as ProjectDetail, type ProjectDetailValueOneOf$1 as ProjectDetailValueOneOf, type ProjectInCollection$1 as ProjectInCollection, type index_d$1_ProjectSlug as ProjectSlug, type ProjectSource$1 as ProjectSource, type index_d$1_ProjectUpdatedEnvelope as ProjectUpdatedEnvelope, type index_d$1_ProjectsQueryBuilder as ProjectsQueryBuilder, type index_d$1_ProjectsQueryResult as ProjectsQueryResult, type index_d$1_QueryProjectWithCollectionInfoRequest as QueryProjectWithCollectionInfoRequest, type index_d$1_QueryProjectWithCollectionInfoResponse as QueryProjectWithCollectionInfoResponse, type index_d$1_QueryProjectWithCollectionInfoResponseNonNullableFields as QueryProjectWithCollectionInfoResponseNonNullableFields, type index_d$1_QueryProjectsOptions as QueryProjectsOptions, type index_d$1_QueryProjectsRequest as QueryProjectsRequest, type index_d$1_QueryProjectsResponse as QueryProjectsResponse, type index_d$1_QueryProjectsResponseNonNullableFields as QueryProjectsResponseNonNullableFields, type index_d$1_QueryProjectsWithCollectionInfoOptions as QueryProjectsWithCollectionInfoOptions, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type index_d$1_RestoreProjectFromTrashBinRequest as RestoreProjectFromTrashBinRequest, type index_d$1_RestoreProjectFromTrashBinResponse as RestoreProjectFromTrashBinResponse, type SeoSchema$1 as SeoSchema, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, type Settings$1 as Settings, type index_d$1_SiteCreated as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, index_d$1_State as State, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type index_d$1_SyncProjectWithCollectionMappings as SyncProjectWithCollectionMappings, SyncStatus$1 as SyncStatus, type Tag$1 as Tag, type index_d$1_URI as URI, type UnsharpMasking$1 as UnsharpMasking, type index_d$1_UpdateProject as UpdateProject, type UpdateProjectOrderInCollectionIdentifiers$1 as UpdateProjectOrderInCollectionIdentifiers, type UpdateProjectOrderInCollectionRequest$1 as UpdateProjectOrderInCollectionRequest, type UpdateProjectOrderInCollectionResponse$1 as UpdateProjectOrderInCollectionResponse, type UpdateProjectOrderInCollectionResponseNonNullableFields$1 as UpdateProjectOrderInCollectionResponseNonNullableFields, type index_d$1_UpdateProjectRequest as UpdateProjectRequest, type index_d$1_UpdateProjectResponse as UpdateProjectResponse, type index_d$1_UpdateProjectResponseNonNullableFields as UpdateProjectResponseNonNullableFields, type Video$1 as Video, type VideoResolution$1 as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_bulkUpdateProjects as bulkUpdateProjects, index_d$1_createProject as createProject, index_d$1_deleteProject as deleteProject, index_d$1_getProject as getProject, index_d$1_getProjectPageData as getProjectPageData, index_d$1_listProjects as listProjects, index_d$1_onProjectCreated as onProjectCreated, index_d$1_onProjectDeleted as onProjectDeleted, index_d$1_onProjectUpdated as onProjectUpdated, index_d$1_queryProjects as queryProjects, index_d$1_queryProjectsWithCollectionInfo as queryProjectsWithCollectionInfo, index_d$1_updateProject as updateProject, updateProjectOrderInCollection$1 as updateProjectOrderInCollection };
|
|
3789
|
+
export { type ActionEvent$1 as ActionEvent, type index_d$1_App as App, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Asset as Asset, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, type index_d$1_BulkUpdateProjectsOptions as BulkUpdateProjectsOptions, type index_d$1_BulkUpdateProjectsRequest as BulkUpdateProjectsRequest, type index_d$1_BulkUpdateProjectsResponse as BulkUpdateProjectsResponse, type index_d$1_BulkUpdateProjectsResponseNonNullableFields as BulkUpdateProjectsResponseNonNullableFields, type index_d$1_BulkUpdateProjectsResult as BulkUpdateProjectsResult, type index_d$1_CreateNewPortfolioAppRequest as CreateNewPortfolioAppRequest, type index_d$1_CreateNewPortfolioAppResponse as CreateNewPortfolioAppResponse, type index_d$1_CreateProjectRequest as CreateProjectRequest, type index_d$1_CreateProjectResponse as CreateProjectResponse, type index_d$1_CreateProjectResponseNonNullableFields as CreateProjectResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type index_d$1_DeleteContext as DeleteContext, type index_d$1_DeleteProjectRequest as DeleteProjectRequest, type index_d$1_DeleteProjectResponse as DeleteProjectResponse, type index_d$1_DeleteProjectResponseNonNullableFields as DeleteProjectResponseNonNullableFields, index_d$1_DeleteStatus as DeleteStatus, type index_d$1_DeletedProjectRestored as DeletedProjectRestored, type DetailsLink$1 as DetailsLink, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_Empty as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$1_File as File, type index_d$1_GetProjectOptions as GetProjectOptions, type index_d$1_GetProjectPageDataIdentifiers as GetProjectPageDataIdentifiers, type index_d$1_GetProjectPageDataRequest as GetProjectPageDataRequest, type index_d$1_GetProjectPageDataResponse as GetProjectPageDataResponse, type index_d$1_GetProjectPageDataResponseNonNullableFields as GetProjectPageDataResponseNonNullableFields, type index_d$1_GetProjectRequest as GetProjectRequest, type index_d$1_GetProjectResponse as GetProjectResponse, type index_d$1_GetProjectResponseNonNullableFields as GetProjectResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Image$1 as Image, ImageType$1 as ImageType, type index_d$1_InvalidateCache as InvalidateCache, type index_d$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$1_ItemMetadata as ItemMetadata, type Keyword$1 as Keyword, type index_d$1_ListProjectsOptions as ListProjectsOptions, type index_d$1_ListProjectsRequest as ListProjectsRequest, type index_d$1_ListProjectsResponse as ListProjectsResponse, type index_d$1_ListProjectsResponseNonNullableFields as ListProjectsResponseNonNullableFields, type index_d$1_MaskedProject as MaskedProject, type index_d$1_MenuSettingUpdatedEvent as MenuSettingUpdatedEvent, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_Page as Page, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type Point$1 as Point, type Project$1 as Project, type ProjectCoverOneOf$1 as ProjectCoverOneOf, type index_d$1_ProjectCreatedEnvelope as ProjectCreatedEnvelope, type index_d$1_ProjectDeletedEnvelope as ProjectDeletedEnvelope, type ProjectDetail$1 as ProjectDetail, type ProjectDetailValueOneOf$1 as ProjectDetailValueOneOf, type ProjectInCollection$1 as ProjectInCollection, type index_d$1_ProjectSlug as ProjectSlug, type ProjectSource$1 as ProjectSource, type index_d$1_ProjectUpdatedEnvelope as ProjectUpdatedEnvelope, type index_d$1_ProjectsQueryBuilder as ProjectsQueryBuilder, type index_d$1_ProjectsQueryResult as ProjectsQueryResult, type index_d$1_QueryProjectWithCollectionInfoRequest as QueryProjectWithCollectionInfoRequest, type index_d$1_QueryProjectWithCollectionInfoResponse as QueryProjectWithCollectionInfoResponse, type index_d$1_QueryProjectWithCollectionInfoResponseNonNullableFields as QueryProjectWithCollectionInfoResponseNonNullableFields, type index_d$1_QueryProjectsOptions as QueryProjectsOptions, type index_d$1_QueryProjectsRequest as QueryProjectsRequest, type index_d$1_QueryProjectsResponse as QueryProjectsResponse, type index_d$1_QueryProjectsResponseNonNullableFields as QueryProjectsResponseNonNullableFields, type index_d$1_QueryProjectsWithCollectionInfoOptions as QueryProjectsWithCollectionInfoOptions, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type index_d$1_RestoreProjectFromTrashBinRequest as RestoreProjectFromTrashBinRequest, type index_d$1_RestoreProjectFromTrashBinResponse as RestoreProjectFromTrashBinResponse, type SeoSchema$1 as SeoSchema, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, type Settings$1 as Settings, type index_d$1_SiteCreated as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, index_d$1_State as State, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type index_d$1_SyncProjectWithCollectionMappings as SyncProjectWithCollectionMappings, SyncStatus$1 as SyncStatus, type Tag$1 as Tag, type index_d$1_URI as URI, type UndeleteInfo$1 as UndeleteInfo, type UnsharpMasking$1 as UnsharpMasking, type index_d$1_UpdateProject as UpdateProject, type UpdateProjectOrderInCollectionIdentifiers$1 as UpdateProjectOrderInCollectionIdentifiers, type UpdateProjectOrderInCollectionRequest$1 as UpdateProjectOrderInCollectionRequest, type UpdateProjectOrderInCollectionResponse$1 as UpdateProjectOrderInCollectionResponse, type UpdateProjectOrderInCollectionResponseNonNullableFields$1 as UpdateProjectOrderInCollectionResponseNonNullableFields, type index_d$1_UpdateProjectRequest as UpdateProjectRequest, type index_d$1_UpdateProjectResponse as UpdateProjectResponse, type index_d$1_UpdateProjectResponseNonNullableFields as UpdateProjectResponseNonNullableFields, type Video$1 as Video, type VideoResolution$1 as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_bulkUpdateProjects as bulkUpdateProjects, index_d$1_createProject as createProject, index_d$1_deleteProject as deleteProject, index_d$1_getProject as getProject, index_d$1_getProjectPageData as getProjectPageData, index_d$1_listProjects as listProjects, index_d$1_onProjectCreated as onProjectCreated, index_d$1_onProjectDeleted as onProjectDeleted, index_d$1_onProjectUpdated as onProjectUpdated, index_d$1_queryProjects as queryProjects, index_d$1_queryProjectsWithCollectionInfo as queryProjectsWithCollectionInfo, index_d$1_updateProject as updateProject, updateProjectOrderInCollection$1 as updateProjectOrderInCollection };
|
|
3762
3790
|
}
|
|
3763
3791
|
|
|
3764
3792
|
interface ProjectInCollection {
|
|
@@ -3789,7 +3817,7 @@ interface Project extends ProjectCoverOneOf {
|
|
|
3789
3817
|
description?: string | null;
|
|
3790
3818
|
/** indicates if the project should be hidden from Portfolio */
|
|
3791
3819
|
hidden?: boolean | null;
|
|
3792
|
-
/** Collections must exist to be added to a project.
|
|
3820
|
+
/** 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) */
|
|
3793
3821
|
collectionIds?: string[];
|
|
3794
3822
|
/** Custom project details */
|
|
3795
3823
|
details?: ProjectDetail[];
|
|
@@ -3979,6 +4007,7 @@ interface Settings {
|
|
|
3979
4007
|
interface QueryProjectInCollectionsRequest {
|
|
3980
4008
|
/** WQL expression */
|
|
3981
4009
|
query: QueryV2;
|
|
4010
|
+
/** Include the page URL */
|
|
3982
4011
|
includePageUrl?: boolean | null;
|
|
3983
4012
|
}
|
|
3984
4013
|
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
@@ -4135,6 +4164,9 @@ interface DomainEventBodyOneOf {
|
|
|
4135
4164
|
interface EntityCreatedEvent {
|
|
4136
4165
|
entity?: string;
|
|
4137
4166
|
}
|
|
4167
|
+
interface UndeleteInfo {
|
|
4168
|
+
deletedDate?: Date;
|
|
4169
|
+
}
|
|
4138
4170
|
interface EntityUpdatedEvent {
|
|
4139
4171
|
/**
|
|
4140
4172
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
@@ -4317,6 +4349,7 @@ interface ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope {
|
|
|
4317
4349
|
metadata: EventMetadata;
|
|
4318
4350
|
}
|
|
4319
4351
|
interface QueryProjectInCollectionsOptions {
|
|
4352
|
+
/** Include the page URL */
|
|
4320
4353
|
includePageUrl?: boolean | null | undefined;
|
|
4321
4354
|
}
|
|
4322
4355
|
interface QueryCursorResult {
|
|
@@ -4455,6 +4488,7 @@ type index_d_Sorting = Sorting;
|
|
|
4455
4488
|
type index_d_SyncStatus = SyncStatus;
|
|
4456
4489
|
declare const index_d_SyncStatus: typeof SyncStatus;
|
|
4457
4490
|
type index_d_Tag = Tag;
|
|
4491
|
+
type index_d_UndeleteInfo = UndeleteInfo;
|
|
4458
4492
|
type index_d_UnsharpMasking = UnsharpMasking;
|
|
4459
4493
|
type index_d_UpdateProjectOrderInCollectionIdentifiers = UpdateProjectOrderInCollectionIdentifiers;
|
|
4460
4494
|
type index_d_UpdateProjectOrderInCollectionRequest = UpdateProjectOrderInCollectionRequest;
|
|
@@ -4469,7 +4503,7 @@ declare const index_d_onProjectInCollectionProjectOrderInCollectionUpdatedEvent:
|
|
|
4469
4503
|
declare const index_d_queryProjectInCollections: typeof queryProjectInCollections;
|
|
4470
4504
|
declare const index_d_updateProjectOrderInCollection: typeof updateProjectOrderInCollection;
|
|
4471
4505
|
declare namespace index_d {
|
|
4472
|
-
export { type index_d_ActionEvent as ActionEvent, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_DetailsLink as DetailsLink, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Image as Image, index_d_ImageType as ImageType, type index_d_Keyword as Keyword, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_Point as Point, type index_d_Project as Project, type index_d_ProjectCoverOneOf as ProjectCoverOneOf, type index_d_ProjectDetail as ProjectDetail, type index_d_ProjectDetailValueOneOf as ProjectDetailValueOneOf, type index_d_ProjectInCollection as ProjectInCollection, type index_d_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope as ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope, type index_d_ProjectInCollectionsQueryBuilder as ProjectInCollectionsQueryBuilder, type index_d_ProjectInCollectionsQueryResult as ProjectInCollectionsQueryResult, type index_d_ProjectOrderInCollectionUpdatedEvent as ProjectOrderInCollectionUpdatedEvent, type index_d_ProjectSource as ProjectSource, type index_d_QueryProjectInCollectionsOptions as QueryProjectInCollectionsOptions, type index_d_QueryProjectInCollectionsRequest as QueryProjectInCollectionsRequest, type index_d_QueryProjectInCollectionsResponse as QueryProjectInCollectionsResponse, type index_d_QueryProjectInCollectionsResponseNonNullableFields as QueryProjectInCollectionsResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_SeoSchema as SeoSchema, type index_d_Settings as Settings, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_SyncStatus as SyncStatus, type index_d_Tag as Tag, type index_d_UnsharpMasking as UnsharpMasking, type index_d_UpdateProjectOrderInCollectionIdentifiers as UpdateProjectOrderInCollectionIdentifiers, type index_d_UpdateProjectOrderInCollectionRequest as UpdateProjectOrderInCollectionRequest, type index_d_UpdateProjectOrderInCollectionResponse as UpdateProjectOrderInCollectionResponse, type index_d_UpdateProjectOrderInCollectionResponseNonNullableFields as UpdateProjectOrderInCollectionResponseNonNullableFields, type index_d_Video as Video, type index_d_VideoResolution as VideoResolution, index_d_WebhookIdentityType as WebhookIdentityType, index_d___metadata as __metadata, index_d_onProjectInCollectionProjectOrderInCollectionUpdatedEvent as onProjectInCollectionProjectOrderInCollectionUpdatedEvent, index_d_queryProjectInCollections as queryProjectInCollections, index_d_updateProjectOrderInCollection as updateProjectOrderInCollection };
|
|
4506
|
+
export { type index_d_ActionEvent as ActionEvent, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_DetailsLink as DetailsLink, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Image as Image, index_d_ImageType as ImageType, type index_d_Keyword as Keyword, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_Point as Point, type index_d_Project as Project, type index_d_ProjectCoverOneOf as ProjectCoverOneOf, type index_d_ProjectDetail as ProjectDetail, type index_d_ProjectDetailValueOneOf as ProjectDetailValueOneOf, type index_d_ProjectInCollection as ProjectInCollection, type index_d_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope as ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope, type index_d_ProjectInCollectionsQueryBuilder as ProjectInCollectionsQueryBuilder, type index_d_ProjectInCollectionsQueryResult as ProjectInCollectionsQueryResult, type index_d_ProjectOrderInCollectionUpdatedEvent as ProjectOrderInCollectionUpdatedEvent, type index_d_ProjectSource as ProjectSource, type index_d_QueryProjectInCollectionsOptions as QueryProjectInCollectionsOptions, type index_d_QueryProjectInCollectionsRequest as QueryProjectInCollectionsRequest, type index_d_QueryProjectInCollectionsResponse as QueryProjectInCollectionsResponse, type index_d_QueryProjectInCollectionsResponseNonNullableFields as QueryProjectInCollectionsResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_SeoSchema as SeoSchema, type index_d_Settings as Settings, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_SyncStatus as SyncStatus, type index_d_Tag as Tag, type index_d_UndeleteInfo as UndeleteInfo, type index_d_UnsharpMasking as UnsharpMasking, type index_d_UpdateProjectOrderInCollectionIdentifiers as UpdateProjectOrderInCollectionIdentifiers, type index_d_UpdateProjectOrderInCollectionRequest as UpdateProjectOrderInCollectionRequest, type index_d_UpdateProjectOrderInCollectionResponse as UpdateProjectOrderInCollectionResponse, type index_d_UpdateProjectOrderInCollectionResponseNonNullableFields as UpdateProjectOrderInCollectionResponseNonNullableFields, type index_d_Video as Video, type index_d_VideoResolution as VideoResolution, index_d_WebhookIdentityType as WebhookIdentityType, index_d___metadata as __metadata, index_d_onProjectInCollectionProjectOrderInCollectionUpdatedEvent as onProjectInCollectionProjectOrderInCollectionUpdatedEvent, index_d_queryProjectInCollections as queryProjectInCollections, index_d_updateProjectOrderInCollection as updateProjectOrderInCollection };
|
|
4473
4507
|
}
|
|
4474
4508
|
|
|
4475
4509
|
export { index_d$4 as collections, index_d$3 as portfolioSettings, index_d as projectInCollections, index_d$2 as projectItems, index_d$1 as projects };
|
|
@@ -10,7 +10,9 @@ interface Collection$1 {
|
|
|
10
10
|
* @readonly
|
|
11
11
|
*/
|
|
12
12
|
revision?: string | null;
|
|
13
|
+
/** Title of Collection */
|
|
13
14
|
title?: string | null;
|
|
15
|
+
/** Description of Collection */
|
|
14
16
|
description?: string | null;
|
|
15
17
|
/** Url of Collection */
|
|
16
18
|
slug?: string | null;
|
|
@@ -35,6 +37,7 @@ interface Collection$1 {
|
|
|
35
37
|
* @readonly
|
|
36
38
|
*/
|
|
37
39
|
url?: PageUrlV2$2;
|
|
40
|
+
/** SEO data for Collection */
|
|
38
41
|
seoData?: SeoSchema$5;
|
|
39
42
|
}
|
|
40
43
|
interface Image$7 {
|
|
@@ -138,6 +141,7 @@ interface CreateCollectionResponse$1 {
|
|
|
138
141
|
interface GetCollectionRequest$1 {
|
|
139
142
|
/** Id of the Collection to retrieve */
|
|
140
143
|
collectionId: string;
|
|
144
|
+
/** Include page url */
|
|
141
145
|
includePageUrl?: boolean | null;
|
|
142
146
|
}
|
|
143
147
|
interface GetCollectionResponse$1 {
|
|
@@ -147,6 +151,7 @@ interface GetCollectionResponse$1 {
|
|
|
147
151
|
interface ListCollectionsRequest$1 {
|
|
148
152
|
/** Maximum limit per response is 100, in first request cursor is None */
|
|
149
153
|
paging?: CursorPaging$5;
|
|
154
|
+
/** Include page url */
|
|
150
155
|
includePageUrl?: boolean | null;
|
|
151
156
|
}
|
|
152
157
|
interface CursorPaging$5 {
|
|
@@ -203,6 +208,7 @@ interface DeleteCollectionResponse$1 {
|
|
|
203
208
|
interface QueryCollectionsRequest$1 {
|
|
204
209
|
/** WQL expression */
|
|
205
210
|
query: QueryV2$5;
|
|
211
|
+
/** Include page url */
|
|
206
212
|
includePageUrl?: boolean | null;
|
|
207
213
|
}
|
|
208
214
|
interface QueryV2$5 extends QueryV2PagingMethodOneOf$5 {
|
|
@@ -449,7 +455,9 @@ interface Collection {
|
|
|
449
455
|
* @readonly
|
|
450
456
|
*/
|
|
451
457
|
revision?: string | null;
|
|
458
|
+
/** Title of Collection */
|
|
452
459
|
title?: string | null;
|
|
460
|
+
/** Description of Collection */
|
|
453
461
|
description?: string | null;
|
|
454
462
|
/** Url of Collection */
|
|
455
463
|
slug?: string | null;
|
|
@@ -474,6 +482,7 @@ interface Collection {
|
|
|
474
482
|
* @readonly
|
|
475
483
|
*/
|
|
476
484
|
url?: string;
|
|
485
|
+
/** SEO data for Collection */
|
|
477
486
|
seoData?: SeoSchema$4;
|
|
478
487
|
}
|
|
479
488
|
interface Image$6 {
|
|
@@ -549,6 +558,7 @@ interface CreateCollectionResponse {
|
|
|
549
558
|
interface GetCollectionRequest {
|
|
550
559
|
/** Id of the Collection to retrieve */
|
|
551
560
|
collectionId: string;
|
|
561
|
+
/** Include page url */
|
|
552
562
|
includePageUrl?: boolean | null;
|
|
553
563
|
}
|
|
554
564
|
interface GetCollectionResponse {
|
|
@@ -558,6 +568,7 @@ interface GetCollectionResponse {
|
|
|
558
568
|
interface ListCollectionsRequest {
|
|
559
569
|
/** Maximum limit per response is 100, in first request cursor is None */
|
|
560
570
|
paging?: CursorPaging$4;
|
|
571
|
+
/** Include page url */
|
|
561
572
|
includePageUrl?: boolean | null;
|
|
562
573
|
}
|
|
563
574
|
interface CursorPaging$4 {
|
|
@@ -614,6 +625,7 @@ interface DeleteCollectionResponse {
|
|
|
614
625
|
interface QueryCollectionsRequest {
|
|
615
626
|
/** WQL expression */
|
|
616
627
|
query: QueryV2$4;
|
|
628
|
+
/** Include page url */
|
|
617
629
|
includePageUrl?: boolean | null;
|
|
618
630
|
}
|
|
619
631
|
interface QueryV2$4 extends QueryV2PagingMethodOneOf$4 {
|
|
@@ -1002,7 +1014,7 @@ interface Item$1 extends ItemMetadataOneOf$1 {
|
|
|
1002
1014
|
video?: Video$5;
|
|
1003
1015
|
/**
|
|
1004
1016
|
* Id of the Project the items are part of
|
|
1005
|
-
* Project must exist before adding items to it.
|
|
1017
|
+
* Project must exist before adding items to it. You can create a project using the [ProjectService](https://dev.wix.com/docs/rest/business-solutions/portfolio/project)
|
|
1006
1018
|
*/
|
|
1007
1019
|
projectId?: string | null;
|
|
1008
1020
|
/**
|
|
@@ -1013,7 +1025,7 @@ interface Item$1 extends ItemMetadataOneOf$1 {
|
|
|
1013
1025
|
/**
|
|
1014
1026
|
* Index that determines which position a media item is displayed in the gallery. <br />
|
|
1015
1027
|
*
|
|
1016
|
-
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
|
1028
|
+
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
|
1017
1029
|
*/
|
|
1018
1030
|
sortOrder?: number | null;
|
|
1019
1031
|
/** Item title. */
|
|
@@ -1050,8 +1062,11 @@ interface ItemMetadataOneOf$1 {
|
|
|
1050
1062
|
video?: Video$5;
|
|
1051
1063
|
}
|
|
1052
1064
|
declare enum Type$1 {
|
|
1065
|
+
/** Undefined item type. */
|
|
1053
1066
|
UNDEFINED = "UNDEFINED",
|
|
1067
|
+
/** Image item type. */
|
|
1054
1068
|
IMAGE = "IMAGE",
|
|
1069
|
+
/** Video item type. */
|
|
1055
1070
|
VIDEO = "VIDEO"
|
|
1056
1071
|
}
|
|
1057
1072
|
interface Image$5 {
|
|
@@ -1167,6 +1182,7 @@ interface BulkCreateProjectItemsResponse$1 {
|
|
|
1167
1182
|
interface BulkCreateProjectItemResult$1 {
|
|
1168
1183
|
/** Holds information about an item in bulk create - id, index in original request array, action successful, error (if failed) */
|
|
1169
1184
|
itemMetadata?: ItemMetadata$3;
|
|
1185
|
+
/** Created item */
|
|
1170
1186
|
item?: Item$1;
|
|
1171
1187
|
}
|
|
1172
1188
|
interface ItemMetadata$3 {
|
|
@@ -1255,9 +1271,11 @@ interface UpdateProjectItemResponse$1 {
|
|
|
1255
1271
|
interface BulkUpdateProjectItemsRequest$1 {
|
|
1256
1272
|
/** items to be updated. */
|
|
1257
1273
|
items?: MaskedItem$1[];
|
|
1274
|
+
/** Return full entity after update */
|
|
1258
1275
|
returnFullEntity?: boolean | null;
|
|
1259
1276
|
}
|
|
1260
1277
|
interface MaskedItem$1 {
|
|
1278
|
+
/** Item to be updated */
|
|
1261
1279
|
item?: Item$1;
|
|
1262
1280
|
}
|
|
1263
1281
|
interface BulkUpdateProjectItemsResponse$1 {
|
|
@@ -1269,6 +1287,7 @@ interface BulkUpdateProjectItemsResponse$1 {
|
|
|
1269
1287
|
interface BulkUpdateProjectItemResult$1 {
|
|
1270
1288
|
/** Holds information about an item in bulk update - id, index in original request array, action successful, error (if failed). */
|
|
1271
1289
|
itemMetadata?: ItemMetadata$3;
|
|
1290
|
+
/** Updated item */
|
|
1272
1291
|
item?: Item$1;
|
|
1273
1292
|
}
|
|
1274
1293
|
interface DeleteProjectItemRequest$1 {
|
|
@@ -1661,7 +1680,7 @@ interface Item extends ItemMetadataOneOf {
|
|
|
1661
1680
|
video?: Video$4;
|
|
1662
1681
|
/**
|
|
1663
1682
|
* Id of the Project the items are part of
|
|
1664
|
-
* Project must exist before adding items to it.
|
|
1683
|
+
* Project must exist before adding items to it. You can create a project using the [ProjectService](https://dev.wix.com/docs/rest/business-solutions/portfolio/project)
|
|
1665
1684
|
*/
|
|
1666
1685
|
projectId?: string | null;
|
|
1667
1686
|
/**
|
|
@@ -1672,7 +1691,7 @@ interface Item extends ItemMetadataOneOf {
|
|
|
1672
1691
|
/**
|
|
1673
1692
|
* Index that determines which position a media item is displayed in the gallery. <br />
|
|
1674
1693
|
*
|
|
1675
|
-
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
|
1694
|
+
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
|
1676
1695
|
*/
|
|
1677
1696
|
sortOrder?: number | null;
|
|
1678
1697
|
/** Item title. */
|
|
@@ -1709,8 +1728,11 @@ interface ItemMetadataOneOf {
|
|
|
1709
1728
|
video?: Video$4;
|
|
1710
1729
|
}
|
|
1711
1730
|
declare enum Type {
|
|
1731
|
+
/** Undefined item type. */
|
|
1712
1732
|
UNDEFINED = "UNDEFINED",
|
|
1733
|
+
/** Image item type. */
|
|
1713
1734
|
IMAGE = "IMAGE",
|
|
1735
|
+
/** Video item type. */
|
|
1714
1736
|
VIDEO = "VIDEO"
|
|
1715
1737
|
}
|
|
1716
1738
|
interface Image$4 {
|
|
@@ -1778,6 +1800,7 @@ interface BulkCreateProjectItemsResponse {
|
|
|
1778
1800
|
interface BulkCreateProjectItemResult {
|
|
1779
1801
|
/** Holds information about an item in bulk create - id, index in original request array, action successful, error (if failed) */
|
|
1780
1802
|
itemMetadata?: ItemMetadata$2;
|
|
1803
|
+
/** Created item */
|
|
1781
1804
|
item?: Item;
|
|
1782
1805
|
}
|
|
1783
1806
|
interface ItemMetadata$2 {
|
|
@@ -1866,9 +1889,11 @@ interface UpdateProjectItemResponse {
|
|
|
1866
1889
|
interface BulkUpdateProjectItemsRequest {
|
|
1867
1890
|
/** items to be updated. */
|
|
1868
1891
|
items?: MaskedItem[];
|
|
1892
|
+
/** Return full entity after update */
|
|
1869
1893
|
returnFullEntity?: boolean | null;
|
|
1870
1894
|
}
|
|
1871
1895
|
interface MaskedItem {
|
|
1896
|
+
/** Item to be updated */
|
|
1872
1897
|
item?: Item;
|
|
1873
1898
|
}
|
|
1874
1899
|
interface BulkUpdateProjectItemsResponse {
|
|
@@ -1880,6 +1905,7 @@ interface BulkUpdateProjectItemsResponse {
|
|
|
1880
1905
|
interface BulkUpdateProjectItemResult {
|
|
1881
1906
|
/** Holds information about an item in bulk update - id, index in original request array, action successful, error (if failed). */
|
|
1882
1907
|
itemMetadata?: ItemMetadata$2;
|
|
1908
|
+
/** Updated item */
|
|
1883
1909
|
item?: Item;
|
|
1884
1910
|
}
|
|
1885
1911
|
interface DeleteProjectItemRequest {
|
|
@@ -2140,7 +2166,7 @@ interface Project$3 extends ProjectCoverOneOf$3 {
|
|
|
2140
2166
|
description?: string | null;
|
|
2141
2167
|
/** indicates if the project should be hidden from Portfolio */
|
|
2142
2168
|
hidden?: boolean | null;
|
|
2143
|
-
/** Collections must exist to be added to a project.
|
|
2169
|
+
/** 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) */
|
|
2144
2170
|
collectionIds?: string[];
|
|
2145
2171
|
/** Custom project details */
|
|
2146
2172
|
details?: ProjectDetail$3[];
|
|
@@ -3320,7 +3346,7 @@ interface Project$2 extends ProjectCoverOneOf$2 {
|
|
|
3320
3346
|
description?: string | null;
|
|
3321
3347
|
/** indicates if the project should be hidden from Portfolio */
|
|
3322
3348
|
hidden?: boolean | null;
|
|
3323
|
-
/** Collections must exist to be added to a project.
|
|
3349
|
+
/** 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) */
|
|
3324
3350
|
collectionIds?: string[];
|
|
3325
3351
|
/** Custom project details */
|
|
3326
3352
|
details?: ProjectDetail$2[];
|
|
@@ -4099,7 +4125,7 @@ interface Project$1 extends ProjectCoverOneOf$1 {
|
|
|
4099
4125
|
description?: string | null;
|
|
4100
4126
|
/** indicates if the project should be hidden from Portfolio */
|
|
4101
4127
|
hidden?: boolean | null;
|
|
4102
|
-
/** Collections must exist to be added to a project.
|
|
4128
|
+
/** 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) */
|
|
4103
4129
|
collectionIds?: string[];
|
|
4104
4130
|
/** Custom project details */
|
|
4105
4131
|
details?: ProjectDetail$1[];
|
|
@@ -4288,6 +4314,7 @@ interface Settings$1 {
|
|
|
4288
4314
|
interface QueryProjectInCollectionsRequest$1 {
|
|
4289
4315
|
/** WQL expression */
|
|
4290
4316
|
query: QueryV2$1;
|
|
4317
|
+
/** Include the page URL */
|
|
4291
4318
|
includePageUrl?: boolean | null;
|
|
4292
4319
|
}
|
|
4293
4320
|
interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
@@ -4633,7 +4660,7 @@ interface Project extends ProjectCoverOneOf {
|
|
|
4633
4660
|
description?: string | null;
|
|
4634
4661
|
/** indicates if the project should be hidden from Portfolio */
|
|
4635
4662
|
hidden?: boolean | null;
|
|
4636
|
-
/** Collections must exist to be added to a project.
|
|
4663
|
+
/** 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) */
|
|
4637
4664
|
collectionIds?: string[];
|
|
4638
4665
|
/** Custom project details */
|
|
4639
4666
|
details?: ProjectDetail[];
|
|
@@ -4763,6 +4790,7 @@ interface Settings {
|
|
|
4763
4790
|
interface QueryProjectInCollectionsRequest {
|
|
4764
4791
|
/** WQL expression */
|
|
4765
4792
|
query: QueryV2;
|
|
4793
|
+
/** Include the page URL */
|
|
4766
4794
|
includePageUrl?: boolean | null;
|
|
4767
4795
|
}
|
|
4768
4796
|
interface QueryV2 extends QueryV2PagingMethodOneOf {
|