@wix/portfolio 1.0.62 → 1.0.64

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.62",
3
+ "version": "1.0.64",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -20,8 +20,8 @@
20
20
  "dependencies": {
21
21
  "@wix/portfolio_collections": "1.0.13",
22
22
  "@wix/portfolio_project-in-collections": "1.0.13",
23
- "@wix/portfolio_project-items": "1.0.15",
24
- "@wix/portfolio_projects": "1.0.14"
23
+ "@wix/portfolio_project-items": "1.0.16",
24
+ "@wix/portfolio_projects": "1.0.15"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
@@ -46,5 +46,5 @@
46
46
  "fqdn": ""
47
47
  }
48
48
  },
49
- "falconPackageHash": "9b194ca6f1c7573e5442e09f049861c0d6ba74c183b0baf421f9e8ac"
49
+ "falconPackageHash": "e9a67e5789b5cef4463586f1607da1d5a53a4fbb819f7f24e62e87c0"
50
50
  }
@@ -616,14 +616,14 @@ interface BulkCreateProjectItemsResponse {
616
616
  /** Array with all created items results. */
617
617
  results?: BulkCreateProjectItemResult[];
618
618
  /** Holds metadata of the entire bulk create operation */
619
- bulkActionMetadata?: BulkActionMetadata;
619
+ bulkActionMetadata?: BulkActionMetadata$1;
620
620
  }
621
621
  interface BulkCreateProjectItemResult {
622
622
  /** Holds information about an item in bulk create - id, index in original request array, action successful, error (if failed) */
623
- itemMetadata?: ItemMetadata;
623
+ itemMetadata?: ItemMetadata$1;
624
624
  item?: Item;
625
625
  }
626
- interface ItemMetadata {
626
+ interface ItemMetadata$1 {
627
627
  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
628
628
  _id?: string | null;
629
629
  /** Index of the item within the request array. Allows for correlation between request and response items. */
@@ -631,9 +631,9 @@ interface ItemMetadata {
631
631
  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
632
632
  success?: boolean;
633
633
  /** Details about the error in case of failure. */
634
- error?: ApplicationError;
634
+ error?: ApplicationError$1;
635
635
  }
636
- interface ApplicationError {
636
+ interface ApplicationError$1 {
637
637
  /** Error code. */
638
638
  code?: string;
639
639
  /** Description of the error. */
@@ -641,7 +641,7 @@ interface ApplicationError {
641
641
  /** Data related to the error. */
642
642
  data?: Record<string, any> | null;
643
643
  }
644
- interface BulkActionMetadata {
644
+ interface BulkActionMetadata$1 {
645
645
  /** Number of items that were successfully processed. */
646
646
  totalSuccesses?: number;
647
647
  /** Number of items that couldn't be processed. */
@@ -649,7 +649,7 @@ interface BulkActionMetadata {
649
649
  /** Number of failures without details because detailed failure threshold was exceeded. */
650
650
  undetailedFailures?: number;
651
651
  }
652
- interface Paging {
652
+ interface Paging$1 {
653
653
  /** Number of items to load. */
654
654
  limit?: number | null;
655
655
  /** Number of items to skip in the current sort order. */
@@ -691,11 +691,11 @@ interface BulkUpdateProjectItemsResponse {
691
691
  /** Array with all updated items results. */
692
692
  results?: BulkUpdateProjectItemResult[];
693
693
  /** Holds metadata of the entire bulk update operation */
694
- bulkActionMetadata?: BulkActionMetadata;
694
+ bulkActionMetadata?: BulkActionMetadata$1;
695
695
  }
696
696
  interface BulkUpdateProjectItemResult {
697
697
  /** Holds information about an item in bulk update - id, index in original request array, action successful, error (if failed). */
698
- itemMetadata?: ItemMetadata;
698
+ itemMetadata?: ItemMetadata$1;
699
699
  item?: Item;
700
700
  }
701
701
  interface DeleteProjectItemResponse {
@@ -708,14 +708,20 @@ interface BulkDeleteProjectItemsResponse {
708
708
  /** Array with all deleted items results */
709
709
  results?: BulkDeleteProjectItemResult[];
710
710
  /** Holds metadata of the entire bulk delete operation */
711
- bulkActionMetadata?: BulkActionMetadata;
711
+ bulkActionMetadata?: BulkActionMetadata$1;
712
712
  }
713
713
  interface BulkDeleteProjectItemResult {
714
714
  /** Holds information about an item in bulk delete - id, index in original request array, action successful, error (if failed) */
715
- itemMetadata?: ItemMetadata;
715
+ itemMetadata?: ItemMetadata$1;
716
716
  /** Id of the ProjectItem */
717
717
  itemId?: string;
718
718
  }
719
+ interface DuplicateProjectItemsResponse {
720
+ /** Id of target project */
721
+ projectId?: string;
722
+ /** Result metadata */
723
+ bulkActionMetadata?: BulkActionMetadata$1;
724
+ }
719
725
  interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
720
726
  /** ID of a site visitor that has not logged in to the site. */
721
727
  anonymousVisitorId?: string;
@@ -843,6 +849,14 @@ interface BulkDeleteProjectItemsResponseNonNullableFields {
843
849
  undetailedFailures: number;
844
850
  };
845
851
  }
852
+ interface DuplicateProjectItemsResponseNonNullableFields {
853
+ projectId: string;
854
+ bulkActionMetadata?: {
855
+ totalSuccesses: number;
856
+ totalFailures: number;
857
+ undetailedFailures: number;
858
+ };
859
+ }
846
860
  interface BaseEventMetadata$2 {
847
861
  /** App instance ID. */
848
862
  instanceId?: string | null;
@@ -907,7 +921,7 @@ interface BulkCreateProjectItemsOptions {
907
921
  }
908
922
  interface ListProjectItemsOptions {
909
923
  /** limit and offset for ProjectItems - maximum limit is 200 per request, default is 50 */
910
- paging?: Paging;
924
+ paging?: Paging$1;
911
925
  }
912
926
  interface UpdateProjectItem {
913
927
  /** Information about the image. */
@@ -965,6 +979,10 @@ interface BulkDeleteProjectItemsOptions {
965
979
  /** Ids of the items to be deleted */
966
980
  itemIds: string[];
967
981
  }
982
+ interface DuplicateProjectItemsOptions {
983
+ /** Target project ID to duplicate to (same instance as request) */
984
+ targetProjectId: string;
985
+ }
968
986
 
969
987
  declare function createProjectItem$1(httpClient: HttpClient): (item: Item) => Promise<Item & {
970
988
  image?: {
@@ -1010,6 +1028,7 @@ declare function updateProjectItem$1(httpClient: HttpClient): (_id: string | nul
1010
1028
  declare function bulkUpdateProjectItems$1(httpClient: HttpClient): (options?: BulkUpdateProjectItemsOptions) => Promise<BulkUpdateProjectItemsResponse & BulkUpdateProjectItemsResponseNonNullableFields>;
1011
1029
  declare function deleteProjectItem$1(httpClient: HttpClient): (itemId: string) => Promise<DeleteProjectItemResponse & DeleteProjectItemResponseNonNullableFields>;
1012
1030
  declare function bulkDeleteProjectItems$1(httpClient: HttpClient): (options: BulkDeleteProjectItemsOptions) => Promise<BulkDeleteProjectItemsResponse & BulkDeleteProjectItemsResponseNonNullableFields>;
1031
+ declare function duplicateProjectItems$1(httpClient: HttpClient): (originProjectId: string, options: DuplicateProjectItemsOptions) => Promise<DuplicateProjectItemsResponse & DuplicateProjectItemsResponseNonNullableFields>;
1013
1032
  declare const onProjectItemCreated$1: EventDefinition<ProjectItemCreatedEnvelope, "wix.portfolio.project_items.v1.project_item_created">;
1014
1033
  declare const onProjectItemUpdated$1: EventDefinition<ProjectItemUpdatedEnvelope, "wix.portfolio.project_items.v1.project_item_updated">;
1015
1034
  declare const onProjectItemDeleted$1: EventDefinition<ProjectItemDeletedEnvelope, "wix.portfolio.project_items.v1.project_item_deleted">;
@@ -1022,6 +1041,7 @@ declare const updateProjectItem: BuildRESTFunction<typeof updateProjectItem$1>;
1022
1041
  declare const bulkUpdateProjectItems: BuildRESTFunction<typeof bulkUpdateProjectItems$1>;
1023
1042
  declare const deleteProjectItem: BuildRESTFunction<typeof deleteProjectItem$1>;
1024
1043
  declare const bulkDeleteProjectItems: BuildRESTFunction<typeof bulkDeleteProjectItems$1>;
1044
+ declare const duplicateProjectItems: BuildRESTFunction<typeof duplicateProjectItems$1>;
1025
1045
  declare const onProjectItemCreated: BuildEventDefinition<typeof onProjectItemCreated$1>;
1026
1046
  declare const onProjectItemUpdated: BuildEventDefinition<typeof onProjectItemUpdated$1>;
1027
1047
  declare const onProjectItemDeleted: BuildEventDefinition<typeof onProjectItemDeleted$1>;
@@ -1031,6 +1051,7 @@ declare const context$2_bulkDeleteProjectItems: typeof bulkDeleteProjectItems;
1031
1051
  declare const context$2_bulkUpdateProjectItems: typeof bulkUpdateProjectItems;
1032
1052
  declare const context$2_createProjectItem: typeof createProjectItem;
1033
1053
  declare const context$2_deleteProjectItem: typeof deleteProjectItem;
1054
+ declare const context$2_duplicateProjectItems: typeof duplicateProjectItems;
1034
1055
  declare const context$2_getProjectItem: typeof getProjectItem;
1035
1056
  declare const context$2_listProjectItems: typeof listProjectItems;
1036
1057
  declare const context$2_onProjectItemCreated: typeof onProjectItemCreated;
@@ -1038,7 +1059,7 @@ declare const context$2_onProjectItemDeleted: typeof onProjectItemDeleted;
1038
1059
  declare const context$2_onProjectItemUpdated: typeof onProjectItemUpdated;
1039
1060
  declare const context$2_updateProjectItem: typeof updateProjectItem;
1040
1061
  declare namespace context$2 {
1041
- export { context$2_bulkCreateProjectItems as bulkCreateProjectItems, context$2_bulkDeleteProjectItems as bulkDeleteProjectItems, context$2_bulkUpdateProjectItems as bulkUpdateProjectItems, context$2_createProjectItem as createProjectItem, context$2_deleteProjectItem as deleteProjectItem, context$2_getProjectItem as getProjectItem, context$2_listProjectItems as listProjectItems, context$2_onProjectItemCreated as onProjectItemCreated, context$2_onProjectItemDeleted as onProjectItemDeleted, context$2_onProjectItemUpdated as onProjectItemUpdated, context$2_updateProjectItem as updateProjectItem };
1062
+ export { context$2_bulkCreateProjectItems as bulkCreateProjectItems, context$2_bulkDeleteProjectItems as bulkDeleteProjectItems, context$2_bulkUpdateProjectItems as bulkUpdateProjectItems, context$2_createProjectItem as createProjectItem, context$2_deleteProjectItem as deleteProjectItem, context$2_duplicateProjectItems as duplicateProjectItems, context$2_getProjectItem as getProjectItem, context$2_listProjectItems as listProjectItems, context$2_onProjectItemCreated as onProjectItemCreated, context$2_onProjectItemDeleted as onProjectItemDeleted, context$2_onProjectItemUpdated as onProjectItemUpdated, context$2_updateProjectItem as updateProjectItem };
1042
1063
  }
1043
1064
 
1044
1065
  /** Project is the main entity of ProjectsService */
@@ -1249,10 +1270,115 @@ interface Cursors$1 {
1249
1270
  /** Cursor pointing to the previous page in the list of results. */
1250
1271
  prev?: string | null;
1251
1272
  }
1273
+ interface MaskedProject {
1274
+ project?: Project$1;
1275
+ }
1276
+ interface BulkUpdateProjectsResponse {
1277
+ /** Array with all updated items results. */
1278
+ results?: BulkUpdateProjectsResult[];
1279
+ /** Holds metadata of the entire bulk update operation */
1280
+ bulkActionMetadata?: BulkActionMetadata;
1281
+ }
1282
+ interface BulkUpdateProjectsResult {
1283
+ /** Holds information about an item in bulk update - id, index in original request array, action successful, error (if failed). */
1284
+ itemMetadata?: ItemMetadata;
1285
+ project?: Project$1;
1286
+ }
1287
+ interface ItemMetadata {
1288
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
1289
+ _id?: string | null;
1290
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
1291
+ originalIndex?: number;
1292
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
1293
+ success?: boolean;
1294
+ /** Details about the error in case of failure. */
1295
+ error?: ApplicationError;
1296
+ }
1297
+ interface ApplicationError {
1298
+ /** Error code. */
1299
+ code?: string;
1300
+ /** Description of the error. */
1301
+ description?: string;
1302
+ /** Data related to the error. */
1303
+ data?: Record<string, any> | null;
1304
+ }
1305
+ interface BulkActionMetadata {
1306
+ /** Number of items that were successfully processed. */
1307
+ totalSuccesses?: number;
1308
+ /** Number of items that couldn't be processed. */
1309
+ totalFailures?: number;
1310
+ /** Number of failures without details because detailed failure threshold was exceeded. */
1311
+ undetailedFailures?: number;
1312
+ }
1252
1313
  interface DeleteProjectResponse {
1253
1314
  /** Id of the deleted Project */
1254
1315
  projectId?: string;
1255
1316
  }
1317
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
1318
+ /** Paging options to limit and skip the number of items. */
1319
+ paging?: Paging;
1320
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
1321
+ cursorPaging?: CursorPaging;
1322
+ /**
1323
+ * Filter object in the following format:
1324
+ * `"filter" : {
1325
+ * "fieldName1": "value1",
1326
+ * "fieldName2":{"$operator":"value2"}
1327
+ * }`
1328
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
1329
+ */
1330
+ filter?: Record<string, any> | null;
1331
+ /**
1332
+ * Sort object in the following format:
1333
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
1334
+ */
1335
+ sort?: Sorting[];
1336
+ /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
1337
+ fields?: string[];
1338
+ /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
1339
+ fieldsets?: string[];
1340
+ }
1341
+ /** @oneof */
1342
+ interface QueryV2PagingMethodOneOf {
1343
+ /** Paging options to limit and skip the number of items. */
1344
+ paging?: Paging;
1345
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
1346
+ cursorPaging?: CursorPaging;
1347
+ }
1348
+ interface Sorting {
1349
+ /** Name of the field to sort by. */
1350
+ fieldName?: string;
1351
+ /** Sort order. */
1352
+ order?: SortOrder;
1353
+ }
1354
+ declare enum SortOrder {
1355
+ ASC = "ASC",
1356
+ DESC = "DESC"
1357
+ }
1358
+ interface Paging {
1359
+ /** Number of items to load. */
1360
+ limit?: number | null;
1361
+ /** Number of items to skip in the current sort order. */
1362
+ offset?: number | null;
1363
+ }
1364
+ interface UpdateProjectOrderInCollectionResponse$1 {
1365
+ /** project with new sort order set */
1366
+ projectInCollection?: ProjectInCollection$1;
1367
+ }
1368
+ interface ProjectInCollection$1 {
1369
+ /** Collection ID */
1370
+ collectionId?: string;
1371
+ /** Project */
1372
+ project?: Project$1;
1373
+ /** The sort order of the project in the given Collection */
1374
+ sortOrder?: number | null;
1375
+ }
1376
+ interface QueryProjectWithCollectionInfoResponse {
1377
+ /** The retrieved Projects in Collection */
1378
+ projects?: ProjectInCollection$1[];
1379
+ /** Paging metadata */
1380
+ metadata?: PagingMetadataV2;
1381
+ }
1256
1382
  interface ListProjectsResponseNonNullableFields {
1257
1383
  projects: {
1258
1384
  coverImage?: {
@@ -1288,9 +1414,135 @@ interface ListProjectsResponseNonNullableFields {
1288
1414
  };
1289
1415
  }[];
1290
1416
  }
1417
+ interface BulkUpdateProjectsResponseNonNullableFields {
1418
+ results: {
1419
+ itemMetadata?: {
1420
+ originalIndex: number;
1421
+ success: boolean;
1422
+ error?: {
1423
+ code: string;
1424
+ description: string;
1425
+ };
1426
+ };
1427
+ project?: {
1428
+ coverImage?: {
1429
+ imageInfo: string;
1430
+ focalPoint?: {
1431
+ x: number;
1432
+ y: number;
1433
+ };
1434
+ };
1435
+ coverVideo?: {
1436
+ videoInfo: string;
1437
+ };
1438
+ collectionIds: string[];
1439
+ details: {
1440
+ text: string;
1441
+ label: string;
1442
+ }[];
1443
+ url: string;
1444
+ seoData?: {
1445
+ tags: {
1446
+ type: string;
1447
+ children: string;
1448
+ custom: boolean;
1449
+ disabled: boolean;
1450
+ }[];
1451
+ settings?: {
1452
+ preventAutoRedirect: boolean;
1453
+ keywords: {
1454
+ term: string;
1455
+ isMain: boolean;
1456
+ }[];
1457
+ };
1458
+ };
1459
+ };
1460
+ }[];
1461
+ bulkActionMetadata?: {
1462
+ totalSuccesses: number;
1463
+ totalFailures: number;
1464
+ undetailedFailures: number;
1465
+ };
1466
+ }
1291
1467
  interface DeleteProjectResponseNonNullableFields {
1292
1468
  projectId: string;
1293
1469
  }
1470
+ interface UpdateProjectOrderInCollectionResponseNonNullableFields$1 {
1471
+ projectInCollection?: {
1472
+ collectionId: string;
1473
+ project?: {
1474
+ coverImage?: {
1475
+ imageInfo: string;
1476
+ focalPoint?: {
1477
+ x: number;
1478
+ y: number;
1479
+ };
1480
+ };
1481
+ coverVideo?: {
1482
+ videoInfo: string;
1483
+ };
1484
+ collectionIds: string[];
1485
+ details: {
1486
+ text: string;
1487
+ label: string;
1488
+ }[];
1489
+ url: string;
1490
+ seoData?: {
1491
+ tags: {
1492
+ type: string;
1493
+ children: string;
1494
+ custom: boolean;
1495
+ disabled: boolean;
1496
+ }[];
1497
+ settings?: {
1498
+ preventAutoRedirect: boolean;
1499
+ keywords: {
1500
+ term: string;
1501
+ isMain: boolean;
1502
+ }[];
1503
+ };
1504
+ };
1505
+ };
1506
+ };
1507
+ }
1508
+ interface QueryProjectWithCollectionInfoResponseNonNullableFields {
1509
+ projects: {
1510
+ collectionId: string;
1511
+ project?: {
1512
+ coverImage?: {
1513
+ imageInfo: string;
1514
+ focalPoint?: {
1515
+ x: number;
1516
+ y: number;
1517
+ };
1518
+ };
1519
+ coverVideo?: {
1520
+ videoInfo: string;
1521
+ };
1522
+ collectionIds: string[];
1523
+ details: {
1524
+ text: string;
1525
+ label: string;
1526
+ }[];
1527
+ url: string;
1528
+ seoData?: {
1529
+ tags: {
1530
+ type: string;
1531
+ children: string;
1532
+ custom: boolean;
1533
+ disabled: boolean;
1534
+ }[];
1535
+ settings?: {
1536
+ preventAutoRedirect: boolean;
1537
+ keywords: {
1538
+ term: string;
1539
+ isMain: boolean;
1540
+ }[];
1541
+ };
1542
+ };
1543
+ };
1544
+ }[];
1545
+ }
1294
1546
  interface BaseEventMetadata$1 {
1295
1547
  /** App instance ID. */
1296
1548
  instanceId?: string | null;
@@ -1402,6 +1654,11 @@ interface UpdateProject {
1402
1654
  */
1403
1655
  syncedProject?: boolean | null;
1404
1656
  }
1657
+ interface BulkUpdateProjectsOptions {
1658
+ /** projects to be updated. */
1659
+ projects?: MaskedProject[];
1660
+ returnFullEntity?: boolean | null;
1661
+ }
1405
1662
  interface QueryProjectsOptions {
1406
1663
  includePageUrl?: boolean | null | undefined;
1407
1664
  }
@@ -1487,6 +1744,15 @@ interface ProjectsQueryBuilder {
1487
1744
  /** @documentationMaturity preview */
1488
1745
  find: () => Promise<ProjectsQueryResult>;
1489
1746
  }
1747
+ interface UpdateProjectOrderInCollectionIdentifiers$1 {
1748
+ /** Id of the Project to update its order */
1749
+ projectId: string;
1750
+ /** Id of the collection in which the project will be re-ordered */
1751
+ collectionId: string;
1752
+ }
1753
+ interface QueryProjectsWithCollectionInfoOptions {
1754
+ includePageUrl?: boolean | null;
1755
+ }
1490
1756
 
1491
1757
  declare function createProject$1(httpClient: HttpClient): (project: Project$1) => Promise<Project$1 & {
1492
1758
  coverImage?: {
@@ -1588,8 +1854,11 @@ declare function updateProject$1(httpClient: HttpClient): (_id: string | null, p
1588
1854
  } | undefined;
1589
1855
  } | undefined;
1590
1856
  }>;
1857
+ declare function bulkUpdateProjects$1(httpClient: HttpClient): (options?: BulkUpdateProjectsOptions) => Promise<BulkUpdateProjectsResponse & BulkUpdateProjectsResponseNonNullableFields>;
1591
1858
  declare function deleteProject$1(httpClient: HttpClient): (projectId: string) => Promise<DeleteProjectResponse & DeleteProjectResponseNonNullableFields>;
1592
1859
  declare function queryProjects$1(httpClient: HttpClient): (options?: QueryProjectsOptions) => ProjectsQueryBuilder;
1860
+ declare function updateProjectOrderInCollection$3(httpClient: HttpClient): (identifiers: UpdateProjectOrderInCollectionIdentifiers$1, sortOrder: number | null) => Promise<UpdateProjectOrderInCollectionResponse$1 & UpdateProjectOrderInCollectionResponseNonNullableFields$1>;
1861
+ declare function queryProjectsWithCollectionInfo$1(httpClient: HttpClient): (query: QueryV2, options?: QueryProjectsWithCollectionInfoOptions) => Promise<QueryProjectWithCollectionInfoResponse & QueryProjectWithCollectionInfoResponseNonNullableFields>;
1593
1862
  declare const onProjectCreated$1: EventDefinition<ProjectCreatedEnvelope, "wix.portfolio.projects.v1.project_created">;
1594
1863
  declare const onProjectUpdated$1: EventDefinition<ProjectUpdatedEnvelope, "wix.portfolio.projects.v1.project_updated">;
1595
1864
  declare const onProjectDeleted$1: EventDefinition<ProjectDeletedEnvelope, "wix.portfolio.projects.v1.project_deleted">;
@@ -1598,12 +1867,16 @@ declare const createProject: BuildRESTFunction<typeof createProject$1>;
1598
1867
  declare const getProject: BuildRESTFunction<typeof getProject$1>;
1599
1868
  declare const listProjects: BuildRESTFunction<typeof listProjects$1>;
1600
1869
  declare const updateProject: BuildRESTFunction<typeof updateProject$1>;
1870
+ declare const bulkUpdateProjects: BuildRESTFunction<typeof bulkUpdateProjects$1>;
1601
1871
  declare const deleteProject: BuildRESTFunction<typeof deleteProject$1>;
1602
1872
  declare const queryProjects: BuildRESTFunction<typeof queryProjects$1>;
1873
+ declare const updateProjectOrderInCollection$2: BuildRESTFunction<typeof updateProjectOrderInCollection$3>;
1874
+ declare const queryProjectsWithCollectionInfo: BuildRESTFunction<typeof queryProjectsWithCollectionInfo$1>;
1603
1875
  declare const onProjectCreated: BuildEventDefinition<typeof onProjectCreated$1>;
1604
1876
  declare const onProjectUpdated: BuildEventDefinition<typeof onProjectUpdated$1>;
1605
1877
  declare const onProjectDeleted: BuildEventDefinition<typeof onProjectDeleted$1>;
1606
1878
 
1879
+ declare const context$1_bulkUpdateProjects: typeof bulkUpdateProjects;
1607
1880
  declare const context$1_createProject: typeof createProject;
1608
1881
  declare const context$1_deleteProject: typeof deleteProject;
1609
1882
  declare const context$1_getProject: typeof getProject;
@@ -1612,9 +1885,10 @@ declare const context$1_onProjectCreated: typeof onProjectCreated;
1612
1885
  declare const context$1_onProjectDeleted: typeof onProjectDeleted;
1613
1886
  declare const context$1_onProjectUpdated: typeof onProjectUpdated;
1614
1887
  declare const context$1_queryProjects: typeof queryProjects;
1888
+ declare const context$1_queryProjectsWithCollectionInfo: typeof queryProjectsWithCollectionInfo;
1615
1889
  declare const context$1_updateProject: typeof updateProject;
1616
1890
  declare namespace context$1 {
1617
- export { context$1_createProject as createProject, context$1_deleteProject as deleteProject, context$1_getProject as getProject, context$1_listProjects as listProjects, context$1_onProjectCreated as onProjectCreated, context$1_onProjectDeleted as onProjectDeleted, context$1_onProjectUpdated as onProjectUpdated, context$1_queryProjects as queryProjects, context$1_updateProject as updateProject };
1891
+ export { context$1_bulkUpdateProjects as bulkUpdateProjects, context$1_createProject as createProject, context$1_deleteProject as deleteProject, context$1_getProject as getProject, context$1_listProjects as listProjects, context$1_onProjectCreated as onProjectCreated, context$1_onProjectDeleted as onProjectDeleted, context$1_onProjectUpdated as onProjectUpdated, context$1_queryProjects as queryProjects, context$1_queryProjectsWithCollectionInfo as queryProjectsWithCollectionInfo, context$1_updateProject as updateProject, updateProjectOrderInCollection$2 as updateProjectOrderInCollection };
1618
1892
  }
1619
1893
 
1620
1894
  interface ProjectInCollection {