@wix/portfolio 1.0.63 → 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.
|
|
3
|
+
"version": "1.0.64",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -20,7 +20,7 @@
|
|
|
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.
|
|
23
|
+
"@wix/portfolio_project-items": "1.0.16",
|
|
24
24
|
"@wix/portfolio_projects": "1.0.15"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"fqdn": ""
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"falconPackageHash": "
|
|
49
|
+
"falconPackageHash": "e9a67e5789b5cef4463586f1607da1d5a53a4fbb819f7f24e62e87c0"
|
|
50
50
|
}
|
|
@@ -716,6 +716,12 @@ interface BulkDeleteProjectItemResult {
|
|
|
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;
|
|
@@ -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 */
|
|
@@ -1407,9 +1407,9 @@ interface DeletedProjectRestored$1 {
|
|
|
1407
1407
|
}
|
|
1408
1408
|
interface DuplicateProjectItemsRequest {
|
|
1409
1409
|
/** Id of Project to duplicate */
|
|
1410
|
-
originProjectId
|
|
1410
|
+
originProjectId: string;
|
|
1411
1411
|
/** Target project ID to duplicate to (same instance as request) */
|
|
1412
|
-
targetProjectId
|
|
1412
|
+
targetProjectId: string;
|
|
1413
1413
|
}
|
|
1414
1414
|
interface DuplicateProjectItemsResponse {
|
|
1415
1415
|
/** Id of target project */
|
|
@@ -1599,6 +1599,14 @@ interface BulkDeleteProjectItemsResponseNonNullableFields {
|
|
|
1599
1599
|
undetailedFailures: number;
|
|
1600
1600
|
};
|
|
1601
1601
|
}
|
|
1602
|
+
interface DuplicateProjectItemsResponseNonNullableFields {
|
|
1603
|
+
projectId: string;
|
|
1604
|
+
bulkActionMetadata?: {
|
|
1605
|
+
totalSuccesses: number;
|
|
1606
|
+
totalFailures: number;
|
|
1607
|
+
undetailedFailures: number;
|
|
1608
|
+
};
|
|
1609
|
+
}
|
|
1602
1610
|
interface BaseEventMetadata$2 {
|
|
1603
1611
|
/** App instance ID. */
|
|
1604
1612
|
instanceId?: string | null;
|
|
@@ -1721,6 +1729,10 @@ interface BulkDeleteProjectItemsOptions {
|
|
|
1721
1729
|
/** Ids of the items to be deleted */
|
|
1722
1730
|
itemIds: string[];
|
|
1723
1731
|
}
|
|
1732
|
+
interface DuplicateProjectItemsOptions {
|
|
1733
|
+
/** Target project ID to duplicate to (same instance as request) */
|
|
1734
|
+
targetProjectId: string;
|
|
1735
|
+
}
|
|
1724
1736
|
|
|
1725
1737
|
declare const __metadata$2: {
|
|
1726
1738
|
PACKAGE_NAME: string;
|
|
@@ -1769,6 +1781,7 @@ declare function updateProjectItem(httpClient: HttpClient): (_id: string | null,
|
|
|
1769
1781
|
declare function bulkUpdateProjectItems(httpClient: HttpClient): (options?: BulkUpdateProjectItemsOptions) => Promise<BulkUpdateProjectItemsResponse & BulkUpdateProjectItemsResponseNonNullableFields>;
|
|
1770
1782
|
declare function deleteProjectItem(httpClient: HttpClient): (itemId: string) => Promise<DeleteProjectItemResponse & DeleteProjectItemResponseNonNullableFields>;
|
|
1771
1783
|
declare function bulkDeleteProjectItems(httpClient: HttpClient): (options: BulkDeleteProjectItemsOptions) => Promise<BulkDeleteProjectItemsResponse & BulkDeleteProjectItemsResponseNonNullableFields>;
|
|
1784
|
+
declare function duplicateProjectItems(httpClient: HttpClient): (originProjectId: string, options: DuplicateProjectItemsOptions) => Promise<DuplicateProjectItemsResponse & DuplicateProjectItemsResponseNonNullableFields>;
|
|
1772
1785
|
declare const onProjectItemCreated: EventDefinition<ProjectItemCreatedEnvelope, "wix.portfolio.project_items.v1.project_item_created">;
|
|
1773
1786
|
declare const onProjectItemUpdated: EventDefinition<ProjectItemUpdatedEnvelope, "wix.portfolio.project_items.v1.project_item_updated">;
|
|
1774
1787
|
declare const onProjectItemDeleted: EventDefinition<ProjectItemDeletedEnvelope, "wix.portfolio.project_items.v1.project_item_deleted">;
|
|
@@ -1796,8 +1809,10 @@ type index_d$2_CreateProjectItemResponseNonNullableFields = CreateProjectItemRes
|
|
|
1796
1809
|
type index_d$2_DeleteProjectItemRequest = DeleteProjectItemRequest;
|
|
1797
1810
|
type index_d$2_DeleteProjectItemResponse = DeleteProjectItemResponse;
|
|
1798
1811
|
type index_d$2_DeleteProjectItemResponseNonNullableFields = DeleteProjectItemResponseNonNullableFields;
|
|
1812
|
+
type index_d$2_DuplicateProjectItemsOptions = DuplicateProjectItemsOptions;
|
|
1799
1813
|
type index_d$2_DuplicateProjectItemsRequest = DuplicateProjectItemsRequest;
|
|
1800
1814
|
type index_d$2_DuplicateProjectItemsResponse = DuplicateProjectItemsResponse;
|
|
1815
|
+
type index_d$2_DuplicateProjectItemsResponseNonNullableFields = DuplicateProjectItemsResponseNonNullableFields;
|
|
1801
1816
|
type index_d$2_GenerateTokenForProjectItemsRequest = GenerateTokenForProjectItemsRequest;
|
|
1802
1817
|
type index_d$2_GenerateTokenForProjectItemsResponse = GenerateTokenForProjectItemsResponse;
|
|
1803
1818
|
type index_d$2_GetProjectItemRequest = GetProjectItemRequest;
|
|
@@ -1829,6 +1844,7 @@ declare const index_d$2_bulkDeleteProjectItems: typeof bulkDeleteProjectItems;
|
|
|
1829
1844
|
declare const index_d$2_bulkUpdateProjectItems: typeof bulkUpdateProjectItems;
|
|
1830
1845
|
declare const index_d$2_createProjectItem: typeof createProjectItem;
|
|
1831
1846
|
declare const index_d$2_deleteProjectItem: typeof deleteProjectItem;
|
|
1847
|
+
declare const index_d$2_duplicateProjectItems: typeof duplicateProjectItems;
|
|
1832
1848
|
declare const index_d$2_getProjectItem: typeof getProjectItem;
|
|
1833
1849
|
declare const index_d$2_listProjectItems: typeof listProjectItems;
|
|
1834
1850
|
declare const index_d$2_onProjectItemCreated: typeof onProjectItemCreated;
|
|
@@ -1836,7 +1852,7 @@ declare const index_d$2_onProjectItemDeleted: typeof onProjectItemDeleted;
|
|
|
1836
1852
|
declare const index_d$2_onProjectItemUpdated: typeof onProjectItemUpdated;
|
|
1837
1853
|
declare const index_d$2_updateProjectItem: typeof updateProjectItem;
|
|
1838
1854
|
declare namespace index_d$2 {
|
|
1839
|
-
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_DuplicateProjectItemsRequest as DuplicateProjectItemsRequest, type index_d$2_DuplicateProjectItemsResponse as DuplicateProjectItemsResponse, 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_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 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_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 };
|
|
1855
|
+
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_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 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_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 };
|
|
1840
1856
|
}
|
|
1841
1857
|
|
|
1842
1858
|
/** Project is the main entity of ProjectsService */
|
|
@@ -1131,6 +1131,18 @@ interface BulkDeleteProjectItemResult$1 {
|
|
|
1131
1131
|
/** Id of the ProjectItem */
|
|
1132
1132
|
itemId?: string;
|
|
1133
1133
|
}
|
|
1134
|
+
interface DuplicateProjectItemsRequest$1 {
|
|
1135
|
+
/** Id of Project to duplicate */
|
|
1136
|
+
originProjectId: string;
|
|
1137
|
+
/** Target project ID to duplicate to (same instance as request) */
|
|
1138
|
+
targetProjectId: string;
|
|
1139
|
+
}
|
|
1140
|
+
interface DuplicateProjectItemsResponse$1 {
|
|
1141
|
+
/** Id of target project */
|
|
1142
|
+
projectId?: string;
|
|
1143
|
+
/** Result metadata */
|
|
1144
|
+
bulkActionMetadata?: BulkActionMetadata$3;
|
|
1145
|
+
}
|
|
1134
1146
|
interface CreateProjectItemResponseNonNullableFields$1 {
|
|
1135
1147
|
projectId: string;
|
|
1136
1148
|
item?: {
|
|
@@ -1460,6 +1472,14 @@ interface BulkDeleteProjectItemsResponseNonNullableFields$1 {
|
|
|
1460
1472
|
undetailedFailures: number;
|
|
1461
1473
|
};
|
|
1462
1474
|
}
|
|
1475
|
+
interface DuplicateProjectItemsResponseNonNullableFields$1 {
|
|
1476
|
+
projectId: string;
|
|
1477
|
+
bulkActionMetadata?: {
|
|
1478
|
+
totalSuccesses: number;
|
|
1479
|
+
totalFailures: number;
|
|
1480
|
+
undetailedFailures: number;
|
|
1481
|
+
};
|
|
1482
|
+
}
|
|
1463
1483
|
|
|
1464
1484
|
/** ProjectItem is the main entity of ProjectItemsService */
|
|
1465
1485
|
interface Item extends ItemMetadataOneOf {
|
|
@@ -1703,6 +1723,18 @@ interface BulkDeleteProjectItemResult {
|
|
|
1703
1723
|
/** Id of the ProjectItem */
|
|
1704
1724
|
itemId?: string;
|
|
1705
1725
|
}
|
|
1726
|
+
interface DuplicateProjectItemsRequest {
|
|
1727
|
+
/** Id of Project to duplicate */
|
|
1728
|
+
originProjectId: string;
|
|
1729
|
+
/** Target project ID to duplicate to (same instance as request) */
|
|
1730
|
+
targetProjectId: string;
|
|
1731
|
+
}
|
|
1732
|
+
interface DuplicateProjectItemsResponse {
|
|
1733
|
+
/** Id of target project */
|
|
1734
|
+
projectId?: string;
|
|
1735
|
+
/** Result metadata */
|
|
1736
|
+
bulkActionMetadata?: BulkActionMetadata$2;
|
|
1737
|
+
}
|
|
1706
1738
|
interface CreateProjectItemResponseNonNullableFields {
|
|
1707
1739
|
item?: {
|
|
1708
1740
|
image?: {
|
|
@@ -1845,6 +1877,14 @@ interface BulkDeleteProjectItemsResponseNonNullableFields {
|
|
|
1845
1877
|
undetailedFailures: number;
|
|
1846
1878
|
};
|
|
1847
1879
|
}
|
|
1880
|
+
interface DuplicateProjectItemsResponseNonNullableFields {
|
|
1881
|
+
projectId: string;
|
|
1882
|
+
bulkActionMetadata?: {
|
|
1883
|
+
totalSuccesses: number;
|
|
1884
|
+
totalFailures: number;
|
|
1885
|
+
undetailedFailures: number;
|
|
1886
|
+
};
|
|
1887
|
+
}
|
|
1848
1888
|
|
|
1849
1889
|
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1850
1890
|
getUrl: (context: any) => string;
|
|
@@ -1872,17 +1912,19 @@ declare function deleteProjectItem(): __PublicMethodMetaInfo$2<'DELETE', {
|
|
|
1872
1912
|
itemId: string;
|
|
1873
1913
|
}, DeleteProjectItemRequest, DeleteProjectItemRequest$1, DeleteProjectItemResponse & DeleteProjectItemResponseNonNullableFields, DeleteProjectItemResponse$1 & DeleteProjectItemResponseNonNullableFields$1>;
|
|
1874
1914
|
declare function bulkDeleteProjectItems(): __PublicMethodMetaInfo$2<'DELETE', {}, BulkDeleteProjectItemsRequest, BulkDeleteProjectItemsRequest$1, BulkDeleteProjectItemsResponse & BulkDeleteProjectItemsResponseNonNullableFields, BulkDeleteProjectItemsResponse$1 & BulkDeleteProjectItemsResponseNonNullableFields$1>;
|
|
1915
|
+
declare function duplicateProjectItems(): __PublicMethodMetaInfo$2<'POST', {}, DuplicateProjectItemsRequest, DuplicateProjectItemsRequest$1, DuplicateProjectItemsResponse & DuplicateProjectItemsResponseNonNullableFields, DuplicateProjectItemsResponse$1 & DuplicateProjectItemsResponseNonNullableFields$1>;
|
|
1875
1916
|
|
|
1876
1917
|
declare const meta$2_bulkCreateProjectItems: typeof bulkCreateProjectItems;
|
|
1877
1918
|
declare const meta$2_bulkDeleteProjectItems: typeof bulkDeleteProjectItems;
|
|
1878
1919
|
declare const meta$2_bulkUpdateProjectItems: typeof bulkUpdateProjectItems;
|
|
1879
1920
|
declare const meta$2_createProjectItem: typeof createProjectItem;
|
|
1880
1921
|
declare const meta$2_deleteProjectItem: typeof deleteProjectItem;
|
|
1922
|
+
declare const meta$2_duplicateProjectItems: typeof duplicateProjectItems;
|
|
1881
1923
|
declare const meta$2_getProjectItem: typeof getProjectItem;
|
|
1882
1924
|
declare const meta$2_listProjectItems: typeof listProjectItems;
|
|
1883
1925
|
declare const meta$2_updateProjectItem: typeof updateProjectItem;
|
|
1884
1926
|
declare namespace meta$2 {
|
|
1885
|
-
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_bulkCreateProjectItems as bulkCreateProjectItems, meta$2_bulkDeleteProjectItems as bulkDeleteProjectItems, meta$2_bulkUpdateProjectItems as bulkUpdateProjectItems, meta$2_createProjectItem as createProjectItem, meta$2_deleteProjectItem as deleteProjectItem, meta$2_getProjectItem as getProjectItem, meta$2_listProjectItems as listProjectItems, meta$2_updateProjectItem as updateProjectItem };
|
|
1927
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_bulkCreateProjectItems as bulkCreateProjectItems, meta$2_bulkDeleteProjectItems as bulkDeleteProjectItems, meta$2_bulkUpdateProjectItems as bulkUpdateProjectItems, meta$2_createProjectItem as createProjectItem, meta$2_deleteProjectItem as deleteProjectItem, meta$2_duplicateProjectItems as duplicateProjectItems, meta$2_getProjectItem as getProjectItem, meta$2_listProjectItems as listProjectItems, meta$2_updateProjectItem as updateProjectItem };
|
|
1886
1928
|
}
|
|
1887
1929
|
|
|
1888
1930
|
/** Project is the main entity of ProjectsService */
|