@wix/portfolio 1.0.82 → 1.0.84

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.
@@ -1,3 +1,47 @@
1
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2
+ interface HttpClient {
3
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4
+ fetchWithAuth: typeof fetch;
5
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6
+ }
7
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
8
+ type HttpResponse<T = any> = {
9
+ data: T;
10
+ status: number;
11
+ statusText: string;
12
+ headers: any;
13
+ request?: any;
14
+ };
15
+ type RequestOptions<_TResponse = any, Data = any> = {
16
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
17
+ url: string;
18
+ data?: Data;
19
+ params?: URLSearchParams;
20
+ } & APIMetadata;
21
+ type APIMetadata = {
22
+ methodFqn?: string;
23
+ entityFqdn?: string;
24
+ packageName?: string;
25
+ };
26
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
27
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
28
+ __type: 'event-definition';
29
+ type: Type;
30
+ isDomainEvent?: boolean;
31
+ transformations?: (envelope: unknown) => Payload;
32
+ __payload: Payload;
33
+ };
34
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
35
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
36
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
37
+
38
+ declare global {
39
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
40
+ interface SymbolConstructor {
41
+ readonly observable: symbol;
42
+ }
43
+ }
44
+
1
45
  /** Collection is the main entity of CollectionsService */
2
46
  interface Collection {
3
47
  /**
@@ -674,84 +718,79 @@ interface CollectionsQueryBuilder {
674
718
  find: () => Promise<CollectionsQueryResult>;
675
719
  }
676
720
 
677
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
678
- interface HttpClient {
679
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
680
- fetchWithAuth: typeof fetch;
681
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
721
+ declare function createCollection$1(httpClient: HttpClient): CreateCollectionSignature;
722
+ interface CreateCollectionSignature {
723
+ /**
724
+ * Creates a new Collection
725
+ * @param - Collection to be created
726
+ * @returns The created Collection
727
+ */
728
+ (collection: Collection): Promise<Collection & CollectionNonNullableFields>;
682
729
  }
683
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
684
- type HttpResponse<T = any> = {
685
- data: T;
686
- status: number;
687
- statusText: string;
688
- headers: any;
689
- request?: any;
690
- };
691
- type RequestOptions<_TResponse = any, Data = any> = {
692
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
693
- url: string;
694
- data?: Data;
695
- params?: URLSearchParams;
696
- } & APIMetadata;
697
- type APIMetadata = {
698
- methodFqn?: string;
699
- entityFqdn?: string;
700
- packageName?: string;
701
- };
702
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
703
- type EventDefinition<Payload = unknown, Type extends string = string> = {
704
- __type: 'event-definition';
705
- type: Type;
706
- isDomainEvent?: boolean;
707
- transformations?: (envelope: unknown) => Payload;
708
- __payload: Payload;
709
- };
710
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
711
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
712
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
713
-
714
- declare global {
715
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
716
- interface SymbolConstructor {
717
- readonly observable: symbol;
718
- }
730
+ declare function getCollection$1(httpClient: HttpClient): GetCollectionSignature;
731
+ interface GetCollectionSignature {
732
+ /**
733
+ * Get a Collection by id
734
+ * @param - Id of the Collection to retrieve
735
+ * @returns The retrieved Collection
736
+ */
737
+ (collectionId: string, options?: GetCollectionOptions | undefined): Promise<Collection & CollectionNonNullableFields>;
738
+ }
739
+ declare function listCollections$1(httpClient: HttpClient): ListCollectionsSignature;
740
+ interface ListCollectionsSignature {
741
+ /**
742
+ * List all Collections in portfolio
743
+ */
744
+ (options?: ListCollectionsOptions | undefined): Promise<ListCollectionsResponse & ListCollectionsResponseNonNullableFields>;
745
+ }
746
+ declare function updateCollection$1(httpClient: HttpClient): UpdateCollectionSignature;
747
+ interface UpdateCollectionSignature {
748
+ /**
749
+ * Update a Collection, supports partial update
750
+ * Pass the latest `revision` for a successful update
751
+ * @param - Collection ID
752
+ * @returns The updated Collection
753
+ */
754
+ (_id: string | null, collection: UpdateCollection): Promise<Collection & CollectionNonNullableFields>;
755
+ }
756
+ declare function deleteCollection$1(httpClient: HttpClient): DeleteCollectionSignature;
757
+ interface DeleteCollectionSignature {
758
+ /**
759
+ * Delete a Collection
760
+ * @param - Id of the Collection to delete
761
+ */
762
+ (collectionId: string): Promise<DeleteCollectionResponse & DeleteCollectionResponseNonNullableFields>;
763
+ }
764
+ declare function queryCollections$1(httpClient: HttpClient): QueryCollectionsSignature;
765
+ interface QueryCollectionsSignature {
766
+ /**
767
+ * Query Collections using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
768
+ */
769
+ (options?: QueryCollectionsOptions | undefined): CollectionsQueryBuilder;
719
770
  }
720
-
721
- declare function createCollection$1(httpClient: HttpClient): (collection: Collection) => Promise<Collection & CollectionNonNullableFields>;
722
- declare function getCollection$1(httpClient: HttpClient): (collectionId: string, options?: GetCollectionOptions) => Promise<Collection & CollectionNonNullableFields>;
723
- declare function listCollections$1(httpClient: HttpClient): (options?: ListCollectionsOptions) => Promise<ListCollectionsResponse & ListCollectionsResponseNonNullableFields>;
724
- declare function updateCollection$1(httpClient: HttpClient): (_id: string | null, collection: UpdateCollection) => Promise<Collection & CollectionNonNullableFields>;
725
- declare function deleteCollection$1(httpClient: HttpClient): (collectionId: string) => Promise<DeleteCollectionResponse & DeleteCollectionResponseNonNullableFields>;
726
- declare function queryCollections$1(httpClient: HttpClient): (options?: QueryCollectionsOptions) => CollectionsQueryBuilder;
727
771
  declare const onCollectionCreated$1: EventDefinition<CollectionCreatedEnvelope, "wix.portfolio.collections.v1.collection_created">;
728
772
  declare const onCollectionUpdated$1: EventDefinition<CollectionUpdatedEnvelope, "wix.portfolio.collections.v1.collection_updated">;
729
773
  declare const onCollectionDeleted$1: EventDefinition<CollectionDeletedEnvelope, "wix.portfolio.collections.v1.collection_deleted">;
730
774
 
731
- declare function createRESTModule$5<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
732
-
733
775
  declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
734
776
 
735
- type _publicCreateCollectionType = typeof createCollection$1;
736
- declare const createCollection: ReturnType<typeof createRESTModule$5<_publicCreateCollectionType>>;
737
- type _publicGetCollectionType = typeof getCollection$1;
738
- declare const getCollection: ReturnType<typeof createRESTModule$5<_publicGetCollectionType>>;
739
- type _publicListCollectionsType = typeof listCollections$1;
740
- declare const listCollections: ReturnType<typeof createRESTModule$5<_publicListCollectionsType>>;
741
- type _publicUpdateCollectionType = typeof updateCollection$1;
742
- declare const updateCollection: ReturnType<typeof createRESTModule$5<_publicUpdateCollectionType>>;
743
- type _publicDeleteCollectionType = typeof deleteCollection$1;
744
- declare const deleteCollection: ReturnType<typeof createRESTModule$5<_publicDeleteCollectionType>>;
745
- type _publicQueryCollectionsType = typeof queryCollections$1;
746
- declare const queryCollections: ReturnType<typeof createRESTModule$5<_publicQueryCollectionsType>>;
777
+ declare const createCollection: BuildRESTFunction<typeof createCollection$1> & typeof createCollection$1;
778
+ declare const getCollection: BuildRESTFunction<typeof getCollection$1> & typeof getCollection$1;
779
+ declare const listCollections: BuildRESTFunction<typeof listCollections$1> & typeof listCollections$1;
780
+ declare const updateCollection: BuildRESTFunction<typeof updateCollection$1> & typeof updateCollection$1;
781
+ declare const deleteCollection: BuildRESTFunction<typeof deleteCollection$1> & typeof deleteCollection$1;
782
+ declare const queryCollections: BuildRESTFunction<typeof queryCollections$1> & typeof queryCollections$1;
747
783
 
748
784
  type _publicOnCollectionCreatedType = typeof onCollectionCreated$1;
785
+ /** */
749
786
  declare const onCollectionCreated: ReturnType<typeof createEventModule$3<_publicOnCollectionCreatedType>>;
750
787
 
751
788
  type _publicOnCollectionUpdatedType = typeof onCollectionUpdated$1;
789
+ /** */
752
790
  declare const onCollectionUpdated: ReturnType<typeof createEventModule$3<_publicOnCollectionUpdatedType>>;
753
791
 
754
792
  type _publicOnCollectionDeletedType = typeof onCollectionDeleted$1;
793
+ /** */
755
794
  declare const onCollectionDeleted: ReturnType<typeof createEventModule$3<_publicOnCollectionDeletedType>>;
756
795
 
757
796
  type context$5_AdminRemoveMenuItemsResponse = AdminRemoveMenuItemsResponse;
@@ -784,15 +823,9 @@ type context$5_UpdateCollection = UpdateCollection;
784
823
  type context$5_UpdateCollectionRequest = UpdateCollectionRequest;
785
824
  type context$5_UpdateCollectionResponse = UpdateCollectionResponse;
786
825
  type context$5_UpdateCollectionResponseNonNullableFields = UpdateCollectionResponseNonNullableFields;
787
- type context$5__publicCreateCollectionType = _publicCreateCollectionType;
788
- type context$5__publicDeleteCollectionType = _publicDeleteCollectionType;
789
- type context$5__publicGetCollectionType = _publicGetCollectionType;
790
- type context$5__publicListCollectionsType = _publicListCollectionsType;
791
826
  type context$5__publicOnCollectionCreatedType = _publicOnCollectionCreatedType;
792
827
  type context$5__publicOnCollectionDeletedType = _publicOnCollectionDeletedType;
793
828
  type context$5__publicOnCollectionUpdatedType = _publicOnCollectionUpdatedType;
794
- type context$5__publicQueryCollectionsType = _publicQueryCollectionsType;
795
- type context$5__publicUpdateCollectionType = _publicUpdateCollectionType;
796
829
  declare const context$5_createCollection: typeof createCollection;
797
830
  declare const context$5_deleteCollection: typeof deleteCollection;
798
831
  declare const context$5_getCollection: typeof getCollection;
@@ -803,7 +836,7 @@ declare const context$5_onCollectionUpdated: typeof onCollectionUpdated;
803
836
  declare const context$5_queryCollections: typeof queryCollections;
804
837
  declare const context$5_updateCollection: typeof updateCollection;
805
838
  declare namespace context$5 {
806
- export { type ActionEvent$5 as ActionEvent, type context$5_AdminRemoveMenuItemsResponse as AdminRemoveMenuItemsResponse, type App$2 as App, type BaseEventMetadata$3 as BaseEventMetadata, type context$5_Collection as Collection, type context$5_CollectionCreatedEnvelope as CollectionCreatedEnvelope, type context$5_CollectionDeletedEnvelope as CollectionDeletedEnvelope, type context$5_CollectionNonNullableFields as CollectionNonNullableFields, type context$5_CollectionUpdatedEnvelope as CollectionUpdatedEnvelope, type context$5_CollectionsQueryBuilder as CollectionsQueryBuilder, type context$5_CollectionsQueryResult as CollectionsQueryResult, type context$5_CreateCollectionRequest as CreateCollectionRequest, type context$5_CreateCollectionResponse as CreateCollectionResponse, type context$5_CreateCollectionResponseNonNullableFields as CreateCollectionResponseNonNullableFields, type CursorPaging$4 as CursorPaging, type Cursors$4 as Cursors, type context$5_DeleteCollectionRequest as DeleteCollectionRequest, type context$5_DeleteCollectionResponse as DeleteCollectionResponse, type context$5_DeleteCollectionResponseNonNullableFields as DeleteCollectionResponseNonNullableFields, type DomainEvent$5 as DomainEvent, type DomainEventBodyOneOf$5 as DomainEventBodyOneOf, type Empty$3 as Empty, type EntityCreatedEvent$5 as EntityCreatedEvent, type EntityDeletedEvent$5 as EntityDeletedEvent, type EntityUpdatedEvent$5 as EntityUpdatedEvent, type EventMetadata$3 as EventMetadata, type File$2 as File, type context$5_GetCollectionOptions as GetCollectionOptions, type context$5_GetCollectionRequest as GetCollectionRequest, type context$5_GetCollectionResponse as GetCollectionResponse, type context$5_GetCollectionResponseNonNullableFields as GetCollectionResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 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 context$5_ListCollectionsOptions as ListCollectionsOptions, type context$5_ListCollectionsRequest as ListCollectionsRequest, type context$5_ListCollectionsResponse as ListCollectionsResponse, type context$5_ListCollectionsResponseNonNullableFields as ListCollectionsResponseNonNullableFields, type MessageEnvelope$5 as MessageEnvelope, type Page$2 as Page, type Paging$3 as Paging, type PagingMetadataV2$4 as PagingMetadataV2, type Point$3 as Point, type context$5_QueryCollectionsOptions as QueryCollectionsOptions, type context$5_QueryCollectionsRequest as QueryCollectionsRequest, type context$5_QueryCollectionsResponse as QueryCollectionsResponse, type context$5_QueryCollectionsResponseNonNullableFields as QueryCollectionsResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, type RestoreInfo$5 as RestoreInfo, 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 context$5_UpdateCollection as UpdateCollection, type context$5_UpdateCollectionRequest as UpdateCollectionRequest, type context$5_UpdateCollectionResponse as UpdateCollectionResponse, type context$5_UpdateCollectionResponseNonNullableFields as UpdateCollectionResponseNonNullableFields, WebhookIdentityType$5 as WebhookIdentityType, type context$5__publicCreateCollectionType as _publicCreateCollectionType, type context$5__publicDeleteCollectionType as _publicDeleteCollectionType, type context$5__publicGetCollectionType as _publicGetCollectionType, type context$5__publicListCollectionsType as _publicListCollectionsType, type context$5__publicOnCollectionCreatedType as _publicOnCollectionCreatedType, type context$5__publicOnCollectionDeletedType as _publicOnCollectionDeletedType, type context$5__publicOnCollectionUpdatedType as _publicOnCollectionUpdatedType, type context$5__publicQueryCollectionsType as _publicQueryCollectionsType, type context$5__publicUpdateCollectionType as _publicUpdateCollectionType, context$5_createCollection as createCollection, context$5_deleteCollection as deleteCollection, context$5_getCollection as getCollection, context$5_listCollections as listCollections, context$5_onCollectionCreated as onCollectionCreated, context$5_onCollectionDeleted as onCollectionDeleted, context$5_onCollectionUpdated as onCollectionUpdated, onCollectionCreated$1 as publicOnCollectionCreated, onCollectionDeleted$1 as publicOnCollectionDeleted, onCollectionUpdated$1 as publicOnCollectionUpdated, context$5_queryCollections as queryCollections, context$5_updateCollection as updateCollection };
839
+ export { type ActionEvent$5 as ActionEvent, type context$5_AdminRemoveMenuItemsResponse as AdminRemoveMenuItemsResponse, type App$2 as App, type BaseEventMetadata$3 as BaseEventMetadata, type context$5_Collection as Collection, type context$5_CollectionCreatedEnvelope as CollectionCreatedEnvelope, type context$5_CollectionDeletedEnvelope as CollectionDeletedEnvelope, type context$5_CollectionNonNullableFields as CollectionNonNullableFields, type context$5_CollectionUpdatedEnvelope as CollectionUpdatedEnvelope, type context$5_CollectionsQueryBuilder as CollectionsQueryBuilder, type context$5_CollectionsQueryResult as CollectionsQueryResult, type context$5_CreateCollectionRequest as CreateCollectionRequest, type context$5_CreateCollectionResponse as CreateCollectionResponse, type context$5_CreateCollectionResponseNonNullableFields as CreateCollectionResponseNonNullableFields, type CursorPaging$4 as CursorPaging, type Cursors$4 as Cursors, type context$5_DeleteCollectionRequest as DeleteCollectionRequest, type context$5_DeleteCollectionResponse as DeleteCollectionResponse, type context$5_DeleteCollectionResponseNonNullableFields as DeleteCollectionResponseNonNullableFields, type DomainEvent$5 as DomainEvent, type DomainEventBodyOneOf$5 as DomainEventBodyOneOf, type Empty$3 as Empty, type EntityCreatedEvent$5 as EntityCreatedEvent, type EntityDeletedEvent$5 as EntityDeletedEvent, type EntityUpdatedEvent$5 as EntityUpdatedEvent, type EventMetadata$3 as EventMetadata, type File$2 as File, type context$5_GetCollectionOptions as GetCollectionOptions, type context$5_GetCollectionRequest as GetCollectionRequest, type context$5_GetCollectionResponse as GetCollectionResponse, type context$5_GetCollectionResponseNonNullableFields as GetCollectionResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 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 context$5_ListCollectionsOptions as ListCollectionsOptions, type context$5_ListCollectionsRequest as ListCollectionsRequest, type context$5_ListCollectionsResponse as ListCollectionsResponse, type context$5_ListCollectionsResponseNonNullableFields as ListCollectionsResponseNonNullableFields, type MessageEnvelope$5 as MessageEnvelope, type Page$2 as Page, type Paging$3 as Paging, type PagingMetadataV2$4 as PagingMetadataV2, type Point$3 as Point, type context$5_QueryCollectionsOptions as QueryCollectionsOptions, type context$5_QueryCollectionsRequest as QueryCollectionsRequest, type context$5_QueryCollectionsResponse as QueryCollectionsResponse, type context$5_QueryCollectionsResponseNonNullableFields as QueryCollectionsResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, type RestoreInfo$5 as RestoreInfo, 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 context$5_UpdateCollection as UpdateCollection, type context$5_UpdateCollectionRequest as UpdateCollectionRequest, type context$5_UpdateCollectionResponse as UpdateCollectionResponse, type context$5_UpdateCollectionResponseNonNullableFields as UpdateCollectionResponseNonNullableFields, WebhookIdentityType$5 as WebhookIdentityType, type context$5__publicOnCollectionCreatedType as _publicOnCollectionCreatedType, type context$5__publicOnCollectionDeletedType as _publicOnCollectionDeletedType, type context$5__publicOnCollectionUpdatedType as _publicOnCollectionUpdatedType, context$5_createCollection as createCollection, context$5_deleteCollection as deleteCollection, context$5_getCollection as getCollection, context$5_listCollections as listCollections, context$5_onCollectionCreated as onCollectionCreated, context$5_onCollectionDeleted as onCollectionDeleted, context$5_onCollectionUpdated as onCollectionUpdated, onCollectionCreated$1 as publicOnCollectionCreated, onCollectionDeleted$1 as publicOnCollectionDeleted, onCollectionUpdated$1 as publicOnCollectionUpdated, context$5_queryCollections as queryCollections, context$5_updateCollection as updateCollection };
807
840
  }
808
841
 
809
842
  interface PortfolioSettings {
@@ -1001,18 +1034,34 @@ interface UpdatePortfolioSettingsResponseNonNullableFields {
1001
1034
  updatedPortfolioSettings?: PortfolioSettingsNonNullableFields;
1002
1035
  }
1003
1036
 
1004
- declare function createPortfolioSettings$1(httpClient: HttpClient): (portfolioSettings: PortfolioSettings) => Promise<PortfolioSettings & PortfolioSettingsNonNullableFields>;
1005
- declare function getPortfolioSettings$1(httpClient: HttpClient): () => Promise<GetPortfolioSettingsResponse & GetPortfolioSettingsResponseNonNullableFields>;
1006
- declare function updatePortfolioSettings$1(httpClient: HttpClient): (portfolioSettings: PortfolioSettings) => Promise<UpdatePortfolioSettingsResponse & UpdatePortfolioSettingsResponseNonNullableFields>;
1007
-
1008
- declare function createRESTModule$4<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1037
+ declare function createPortfolioSettings$1(httpClient: HttpClient): CreatePortfolioSettingsSignature;
1038
+ interface CreatePortfolioSettingsSignature {
1039
+ /**
1040
+ * Create a new portfolio settings
1041
+ * @param - The portfolio settings to create
1042
+ * @returns The created portfolio settings
1043
+ */
1044
+ (portfolioSettings: PortfolioSettings): Promise<PortfolioSettings & PortfolioSettingsNonNullableFields>;
1045
+ }
1046
+ declare function getPortfolioSettings$1(httpClient: HttpClient): GetPortfolioSettingsSignature;
1047
+ interface GetPortfolioSettingsSignature {
1048
+ /**
1049
+ * Get the portfolio settings
1050
+ */
1051
+ (): Promise<GetPortfolioSettingsResponse & GetPortfolioSettingsResponseNonNullableFields>;
1052
+ }
1053
+ declare function updatePortfolioSettings$1(httpClient: HttpClient): UpdatePortfolioSettingsSignature;
1054
+ interface UpdatePortfolioSettingsSignature {
1055
+ /**
1056
+ * Update the portfolio settings
1057
+ * @param - The portfolio settings to update
1058
+ */
1059
+ (portfolioSettings: PortfolioSettings): Promise<UpdatePortfolioSettingsResponse & UpdatePortfolioSettingsResponseNonNullableFields>;
1060
+ }
1009
1061
 
1010
- type _publicCreatePortfolioSettingsType = typeof createPortfolioSettings$1;
1011
- declare const createPortfolioSettings: ReturnType<typeof createRESTModule$4<_publicCreatePortfolioSettingsType>>;
1012
- type _publicGetPortfolioSettingsType = typeof getPortfolioSettings$1;
1013
- declare const getPortfolioSettings: ReturnType<typeof createRESTModule$4<_publicGetPortfolioSettingsType>>;
1014
- type _publicUpdatePortfolioSettingsType = typeof updatePortfolioSettings$1;
1015
- declare const updatePortfolioSettings: ReturnType<typeof createRESTModule$4<_publicUpdatePortfolioSettingsType>>;
1062
+ declare const createPortfolioSettings: BuildRESTFunction<typeof createPortfolioSettings$1> & typeof createPortfolioSettings$1;
1063
+ declare const getPortfolioSettings: BuildRESTFunction<typeof getPortfolioSettings$1> & typeof getPortfolioSettings$1;
1064
+ declare const updatePortfolioSettings: BuildRESTFunction<typeof updatePortfolioSettings$1> & typeof updatePortfolioSettings$1;
1016
1065
 
1017
1066
  type context$4_AddItemDirection = AddItemDirection;
1018
1067
  declare const context$4_AddItemDirection: typeof AddItemDirection;
@@ -1032,14 +1081,11 @@ type context$4_SiteMenuSettings = SiteMenuSettings;
1032
1081
  type context$4_UpdatePortfolioSettingsRequest = UpdatePortfolioSettingsRequest;
1033
1082
  type context$4_UpdatePortfolioSettingsResponse = UpdatePortfolioSettingsResponse;
1034
1083
  type context$4_UpdatePortfolioSettingsResponseNonNullableFields = UpdatePortfolioSettingsResponseNonNullableFields;
1035
- type context$4__publicCreatePortfolioSettingsType = _publicCreatePortfolioSettingsType;
1036
- type context$4__publicGetPortfolioSettingsType = _publicGetPortfolioSettingsType;
1037
- type context$4__publicUpdatePortfolioSettingsType = _publicUpdatePortfolioSettingsType;
1038
1084
  declare const context$4_createPortfolioSettings: typeof createPortfolioSettings;
1039
1085
  declare const context$4_getPortfolioSettings: typeof getPortfolioSettings;
1040
1086
  declare const context$4_updatePortfolioSettings: typeof updatePortfolioSettings;
1041
1087
  declare namespace context$4 {
1042
- export { type ActionEvent$4 as ActionEvent, context$4_AddItemDirection as AddItemDirection, type context$4_CreatePortfolioSettingsRequest as CreatePortfolioSettingsRequest, type context$4_CreatePortfolioSettingsResponse as CreatePortfolioSettingsResponse, type context$4_CreatePortfolioSettingsResponseNonNullableFields as CreatePortfolioSettingsResponseNonNullableFields, context$4_DefaultItemName as DefaultItemName, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type context$4_GetPortfolioSettingsRequest as GetPortfolioSettingsRequest, type context$4_GetPortfolioSettingsResponse as GetPortfolioSettingsResponse, type context$4_GetPortfolioSettingsResponseNonNullableFields as GetPortfolioSettingsResponseNonNullableFields, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, type context$4_MediaSettings as MediaSettings, type MessageEnvelope$4 as MessageEnvelope, type context$4_PortfolioSettings as PortfolioSettings, type context$4_PortfolioSettingsNonNullableFields as PortfolioSettingsNonNullableFields, type context$4_ProjectItemSettings as ProjectItemSettings, type RestoreInfo$4 as RestoreInfo, type context$4_SiteMenuSettings as SiteMenuSettings, type context$4_UpdatePortfolioSettingsRequest as UpdatePortfolioSettingsRequest, type context$4_UpdatePortfolioSettingsResponse as UpdatePortfolioSettingsResponse, type context$4_UpdatePortfolioSettingsResponseNonNullableFields as UpdatePortfolioSettingsResponseNonNullableFields, WebhookIdentityType$4 as WebhookIdentityType, type context$4__publicCreatePortfolioSettingsType as _publicCreatePortfolioSettingsType, type context$4__publicGetPortfolioSettingsType as _publicGetPortfolioSettingsType, type context$4__publicUpdatePortfolioSettingsType as _publicUpdatePortfolioSettingsType, context$4_createPortfolioSettings as createPortfolioSettings, context$4_getPortfolioSettings as getPortfolioSettings, context$4_updatePortfolioSettings as updatePortfolioSettings };
1088
+ export { type ActionEvent$4 as ActionEvent, context$4_AddItemDirection as AddItemDirection, type context$4_CreatePortfolioSettingsRequest as CreatePortfolioSettingsRequest, type context$4_CreatePortfolioSettingsResponse as CreatePortfolioSettingsResponse, type context$4_CreatePortfolioSettingsResponseNonNullableFields as CreatePortfolioSettingsResponseNonNullableFields, context$4_DefaultItemName as DefaultItemName, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type context$4_GetPortfolioSettingsRequest as GetPortfolioSettingsRequest, type context$4_GetPortfolioSettingsResponse as GetPortfolioSettingsResponse, type context$4_GetPortfolioSettingsResponseNonNullableFields as GetPortfolioSettingsResponseNonNullableFields, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, type context$4_MediaSettings as MediaSettings, type MessageEnvelope$4 as MessageEnvelope, type context$4_PortfolioSettings as PortfolioSettings, type context$4_PortfolioSettingsNonNullableFields as PortfolioSettingsNonNullableFields, type context$4_ProjectItemSettings as ProjectItemSettings, type RestoreInfo$4 as RestoreInfo, type context$4_SiteMenuSettings as SiteMenuSettings, type context$4_UpdatePortfolioSettingsRequest as UpdatePortfolioSettingsRequest, type context$4_UpdatePortfolioSettingsResponse as UpdatePortfolioSettingsResponse, type context$4_UpdatePortfolioSettingsResponseNonNullableFields as UpdatePortfolioSettingsResponseNonNullableFields, WebhookIdentityType$4 as WebhookIdentityType, context$4_createPortfolioSettings as createPortfolioSettings, context$4_getPortfolioSettings as getPortfolioSettings, context$4_updatePortfolioSettings as updatePortfolioSettings };
1043
1089
  }
1044
1090
 
1045
1091
  /** ProjectItem is the main entity of ProjectItemsService */
@@ -1819,49 +1865,104 @@ interface DuplicateProjectItemsOptions {
1819
1865
  targetProjectId: string;
1820
1866
  }
1821
1867
 
1822
- declare function createProjectItem$1(httpClient: HttpClient): (item: Item) => Promise<Item & ItemNonNullableFields>;
1823
- declare function bulkCreateProjectItems$1(httpClient: HttpClient): (options?: BulkCreateProjectItemsOptions) => Promise<BulkCreateProjectItemsResponse & BulkCreateProjectItemsResponseNonNullableFields>;
1824
- declare function getProjectItem$1(httpClient: HttpClient): (itemId: string) => Promise<Item & ItemNonNullableFields>;
1825
- declare function listProjectItems$1(httpClient: HttpClient): (projectId: string, options?: ListProjectItemsOptions) => Promise<ListProjectItemsResponse & ListProjectItemsResponseNonNullableFields>;
1826
- declare function updateProjectItem$1(httpClient: HttpClient): (_id: string | null, item: UpdateProjectItem) => Promise<Item & ItemNonNullableFields>;
1827
- declare function bulkUpdateProjectItems$1(httpClient: HttpClient): (options?: BulkUpdateProjectItemsOptions) => Promise<BulkUpdateProjectItemsResponse & BulkUpdateProjectItemsResponseNonNullableFields>;
1828
- declare function deleteProjectItem$1(httpClient: HttpClient): (itemId: string) => Promise<DeleteProjectItemResponse & DeleteProjectItemResponseNonNullableFields>;
1829
- declare function bulkDeleteProjectItems$1(httpClient: HttpClient): (options: BulkDeleteProjectItemsOptions) => Promise<BulkDeleteProjectItemsResponse & BulkDeleteProjectItemsResponseNonNullableFields>;
1830
- declare function duplicateProjectItems$1(httpClient: HttpClient): (originProjectId: string, options: DuplicateProjectItemsOptions) => Promise<DuplicateProjectItemsResponse & DuplicateProjectItemsResponseNonNullableFields>;
1868
+ declare function createProjectItem$1(httpClient: HttpClient): CreateProjectItemSignature;
1869
+ interface CreateProjectItemSignature {
1870
+ /**
1871
+ * Creates a new ProjectItem
1872
+ * @param - Item to be created
1873
+ * @returns The created item
1874
+ */
1875
+ (item: Item): Promise<Item & ItemNonNullableFields>;
1876
+ }
1877
+ declare function bulkCreateProjectItems$1(httpClient: HttpClient): BulkCreateProjectItemsSignature;
1878
+ interface BulkCreateProjectItemsSignature {
1879
+ /**
1880
+ * Create items in bulk
1881
+ */
1882
+ (options?: BulkCreateProjectItemsOptions | undefined): Promise<BulkCreateProjectItemsResponse & BulkCreateProjectItemsResponseNonNullableFields>;
1883
+ }
1884
+ declare function getProjectItem$1(httpClient: HttpClient): GetProjectItemSignature;
1885
+ interface GetProjectItemSignature {
1886
+ /**
1887
+ * Get a ProjectItem by id
1888
+ * @param - Id of the ProjectItem to retrieve
1889
+ * @returns The retrieved ProjectItem
1890
+ */
1891
+ (itemId: string): Promise<Item & ItemNonNullableFields>;
1892
+ }
1893
+ declare function listProjectItems$1(httpClient: HttpClient): ListProjectItemsSignature;
1894
+ interface ListProjectItemsSignature {
1895
+ /**
1896
+ * List all items in project
1897
+ * @param - Id of the Project the item is part of
1898
+ */
1899
+ (projectId: string, options?: ListProjectItemsOptions | undefined): Promise<ListProjectItemsResponse & ListProjectItemsResponseNonNullableFields>;
1900
+ }
1901
+ declare function updateProjectItem$1(httpClient: HttpClient): UpdateProjectItemSignature;
1902
+ interface UpdateProjectItemSignature {
1903
+ /**
1904
+ * Update a ProjectItem, supports partial update
1905
+ * @param - Item ID.
1906
+ * @returns The updated ProjectItem
1907
+ */
1908
+ (_id: string | null, item: UpdateProjectItem): Promise<Item & ItemNonNullableFields>;
1909
+ }
1910
+ declare function bulkUpdateProjectItems$1(httpClient: HttpClient): BulkUpdateProjectItemsSignature;
1911
+ interface BulkUpdateProjectItemsSignature {
1912
+ /**
1913
+ * Update ProjectItems in bulk
1914
+ */
1915
+ (options?: BulkUpdateProjectItemsOptions | undefined): Promise<BulkUpdateProjectItemsResponse & BulkUpdateProjectItemsResponseNonNullableFields>;
1916
+ }
1917
+ declare function deleteProjectItem$1(httpClient: HttpClient): DeleteProjectItemSignature;
1918
+ interface DeleteProjectItemSignature {
1919
+ /**
1920
+ * Delete a ProjectItem
1921
+ * @param - Id of the Item to delete
1922
+ */
1923
+ (itemId: string): Promise<DeleteProjectItemResponse & DeleteProjectItemResponseNonNullableFields>;
1924
+ }
1925
+ declare function bulkDeleteProjectItems$1(httpClient: HttpClient): BulkDeleteProjectItemsSignature;
1926
+ interface BulkDeleteProjectItemsSignature {
1927
+ /**
1928
+ * Delete items in bulk
1929
+ */
1930
+ (options: BulkDeleteProjectItemsOptions): Promise<BulkDeleteProjectItemsResponse & BulkDeleteProjectItemsResponseNonNullableFields>;
1931
+ }
1932
+ declare function duplicateProjectItems$1(httpClient: HttpClient): DuplicateProjectItemsSignature;
1933
+ interface DuplicateProjectItemsSignature {
1934
+ /**
1935
+ * Given an 'origin' Project and 'target' Project, copy all ProjectItems in 'origin' Project to 'target' Project.
1936
+ * @param - Id of Project to duplicate
1937
+ */
1938
+ (originProjectId: string, options: DuplicateProjectItemsOptions): Promise<DuplicateProjectItemsResponse & DuplicateProjectItemsResponseNonNullableFields>;
1939
+ }
1831
1940
  declare const onProjectItemCreated$1: EventDefinition<ProjectItemCreatedEnvelope, "wix.portfolio.project_items.v1.project_item_created">;
1832
1941
  declare const onProjectItemUpdated$1: EventDefinition<ProjectItemUpdatedEnvelope, "wix.portfolio.project_items.v1.project_item_updated">;
1833
1942
  declare const onProjectItemDeleted$1: EventDefinition<ProjectItemDeletedEnvelope, "wix.portfolio.project_items.v1.project_item_deleted">;
1834
1943
 
1835
- declare function createRESTModule$3<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1836
-
1837
1944
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1838
1945
 
1839
- type _publicCreateProjectItemType = typeof createProjectItem$1;
1840
- declare const createProjectItem: ReturnType<typeof createRESTModule$3<_publicCreateProjectItemType>>;
1841
- type _publicBulkCreateProjectItemsType = typeof bulkCreateProjectItems$1;
1842
- declare const bulkCreateProjectItems: ReturnType<typeof createRESTModule$3<_publicBulkCreateProjectItemsType>>;
1843
- type _publicGetProjectItemType = typeof getProjectItem$1;
1844
- declare const getProjectItem: ReturnType<typeof createRESTModule$3<_publicGetProjectItemType>>;
1845
- type _publicListProjectItemsType = typeof listProjectItems$1;
1846
- declare const listProjectItems: ReturnType<typeof createRESTModule$3<_publicListProjectItemsType>>;
1847
- type _publicUpdateProjectItemType = typeof updateProjectItem$1;
1848
- declare const updateProjectItem: ReturnType<typeof createRESTModule$3<_publicUpdateProjectItemType>>;
1849
- type _publicBulkUpdateProjectItemsType = typeof bulkUpdateProjectItems$1;
1850
- declare const bulkUpdateProjectItems: ReturnType<typeof createRESTModule$3<_publicBulkUpdateProjectItemsType>>;
1851
- type _publicDeleteProjectItemType = typeof deleteProjectItem$1;
1852
- declare const deleteProjectItem: ReturnType<typeof createRESTModule$3<_publicDeleteProjectItemType>>;
1853
- type _publicBulkDeleteProjectItemsType = typeof bulkDeleteProjectItems$1;
1854
- declare const bulkDeleteProjectItems: ReturnType<typeof createRESTModule$3<_publicBulkDeleteProjectItemsType>>;
1855
- type _publicDuplicateProjectItemsType = typeof duplicateProjectItems$1;
1856
- declare const duplicateProjectItems: ReturnType<typeof createRESTModule$3<_publicDuplicateProjectItemsType>>;
1946
+ declare const createProjectItem: BuildRESTFunction<typeof createProjectItem$1> & typeof createProjectItem$1;
1947
+ declare const bulkCreateProjectItems: BuildRESTFunction<typeof bulkCreateProjectItems$1> & typeof bulkCreateProjectItems$1;
1948
+ declare const getProjectItem: BuildRESTFunction<typeof getProjectItem$1> & typeof getProjectItem$1;
1949
+ declare const listProjectItems: BuildRESTFunction<typeof listProjectItems$1> & typeof listProjectItems$1;
1950
+ declare const updateProjectItem: BuildRESTFunction<typeof updateProjectItem$1> & typeof updateProjectItem$1;
1951
+ declare const bulkUpdateProjectItems: BuildRESTFunction<typeof bulkUpdateProjectItems$1> & typeof bulkUpdateProjectItems$1;
1952
+ declare const deleteProjectItem: BuildRESTFunction<typeof deleteProjectItem$1> & typeof deleteProjectItem$1;
1953
+ declare const bulkDeleteProjectItems: BuildRESTFunction<typeof bulkDeleteProjectItems$1> & typeof bulkDeleteProjectItems$1;
1954
+ declare const duplicateProjectItems: BuildRESTFunction<typeof duplicateProjectItems$1> & typeof duplicateProjectItems$1;
1857
1955
 
1858
1956
  type _publicOnProjectItemCreatedType = typeof onProjectItemCreated$1;
1957
+ /** */
1859
1958
  declare const onProjectItemCreated: ReturnType<typeof createEventModule$2<_publicOnProjectItemCreatedType>>;
1860
1959
 
1861
1960
  type _publicOnProjectItemUpdatedType = typeof onProjectItemUpdated$1;
1961
+ /** */
1862
1962
  declare const onProjectItemUpdated: ReturnType<typeof createEventModule$2<_publicOnProjectItemUpdatedType>>;
1863
1963
 
1864
1964
  type _publicOnProjectItemDeletedType = typeof onProjectItemDeleted$1;
1965
+ /** */
1865
1966
  declare const onProjectItemDeleted: ReturnType<typeof createEventModule$2<_publicOnProjectItemDeletedType>>;
1866
1967
 
1867
1968
  type context$3_BulkCreateProjectItemResult = BulkCreateProjectItemResult;
@@ -1918,18 +2019,9 @@ type context$3_UpdateProjectItem = UpdateProjectItem;
1918
2019
  type context$3_UpdateProjectItemRequest = UpdateProjectItemRequest;
1919
2020
  type context$3_UpdateProjectItemResponse = UpdateProjectItemResponse;
1920
2021
  type context$3_UpdateProjectItemResponseNonNullableFields = UpdateProjectItemResponseNonNullableFields;
1921
- type context$3__publicBulkCreateProjectItemsType = _publicBulkCreateProjectItemsType;
1922
- type context$3__publicBulkDeleteProjectItemsType = _publicBulkDeleteProjectItemsType;
1923
- type context$3__publicBulkUpdateProjectItemsType = _publicBulkUpdateProjectItemsType;
1924
- type context$3__publicCreateProjectItemType = _publicCreateProjectItemType;
1925
- type context$3__publicDeleteProjectItemType = _publicDeleteProjectItemType;
1926
- type context$3__publicDuplicateProjectItemsType = _publicDuplicateProjectItemsType;
1927
- type context$3__publicGetProjectItemType = _publicGetProjectItemType;
1928
- type context$3__publicListProjectItemsType = _publicListProjectItemsType;
1929
2022
  type context$3__publicOnProjectItemCreatedType = _publicOnProjectItemCreatedType;
1930
2023
  type context$3__publicOnProjectItemDeletedType = _publicOnProjectItemDeletedType;
1931
2024
  type context$3__publicOnProjectItemUpdatedType = _publicOnProjectItemUpdatedType;
1932
- type context$3__publicUpdateProjectItemType = _publicUpdateProjectItemType;
1933
2025
  declare const context$3_bulkCreateProjectItems: typeof bulkCreateProjectItems;
1934
2026
  declare const context$3_bulkDeleteProjectItems: typeof bulkDeleteProjectItems;
1935
2027
  declare const context$3_bulkUpdateProjectItems: typeof bulkUpdateProjectItems;
@@ -1943,7 +2035,7 @@ declare const context$3_onProjectItemDeleted: typeof onProjectItemDeleted;
1943
2035
  declare const context$3_onProjectItemUpdated: typeof onProjectItemUpdated;
1944
2036
  declare const context$3_updateProjectItem: typeof updateProjectItem;
1945
2037
  declare namespace context$3 {
1946
- export { type ActionEvent$3 as ActionEvent, type App$1 as App, type ApplicationError$1 as ApplicationError, type BaseEventMetadata$2 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type context$3_BulkCreateProjectItemResult as BulkCreateProjectItemResult, type context$3_BulkCreateProjectItemsOptions as BulkCreateProjectItemsOptions, type context$3_BulkCreateProjectItemsRequest as BulkCreateProjectItemsRequest, type context$3_BulkCreateProjectItemsResponse as BulkCreateProjectItemsResponse, type context$3_BulkCreateProjectItemsResponseNonNullableFields as BulkCreateProjectItemsResponseNonNullableFields, type context$3_BulkDeleteProjectItemResult as BulkDeleteProjectItemResult, type context$3_BulkDeleteProjectItemsOptions as BulkDeleteProjectItemsOptions, type context$3_BulkDeleteProjectItemsRequest as BulkDeleteProjectItemsRequest, type context$3_BulkDeleteProjectItemsResponse as BulkDeleteProjectItemsResponse, type context$3_BulkDeleteProjectItemsResponseNonNullableFields as BulkDeleteProjectItemsResponseNonNullableFields, type context$3_BulkUpdateProjectItemResult as BulkUpdateProjectItemResult, type context$3_BulkUpdateProjectItemsOptions as BulkUpdateProjectItemsOptions, type context$3_BulkUpdateProjectItemsRequest as BulkUpdateProjectItemsRequest, type context$3_BulkUpdateProjectItemsResponse as BulkUpdateProjectItemsResponse, type context$3_BulkUpdateProjectItemsResponseNonNullableFields as BulkUpdateProjectItemsResponseNonNullableFields, type context$3_CreateProjectGalleryRequest as CreateProjectGalleryRequest, type context$3_CreateProjectGalleryResponse as CreateProjectGalleryResponse, type context$3_CreateProjectItemRequest as CreateProjectItemRequest, type context$3_CreateProjectItemResponse as CreateProjectItemResponse, type context$3_CreateProjectItemResponseNonNullableFields as CreateProjectItemResponseNonNullableFields, type CursorPaging$3 as CursorPaging, type Cursors$3 as Cursors, type context$3_DeleteProjectItemRequest as DeleteProjectItemRequest, type context$3_DeleteProjectItemResponse as DeleteProjectItemResponse, type context$3_DeleteProjectItemResponseNonNullableFields as DeleteProjectItemResponseNonNullableFields, type DeletedProjectRestored$1 as DeletedProjectRestored, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type context$3_DuplicateProjectItemsOptions as DuplicateProjectItemsOptions, type context$3_DuplicateProjectItemsRequest as DuplicateProjectItemsRequest, type context$3_DuplicateProjectItemsResponse as DuplicateProjectItemsResponse, type context$3_DuplicateProjectItemsResponseNonNullableFields as DuplicateProjectItemsResponseNonNullableFields, type Empty$2 as Empty, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type File$1 as File, type context$3_GenerateTokenForProjectItemsRequest as GenerateTokenForProjectItemsRequest, type context$3_GenerateTokenForProjectItemsResponse as GenerateTokenForProjectItemsResponse, type context$3_GetProjectItemRequest as GetProjectItemRequest, type context$3_GetProjectItemResponse as GetProjectItemResponse, type context$3_GetProjectItemResponseNonNullableFields as GetProjectItemResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type Image$2 as Image, ImageType$2 as ImageType, type InvalidateCache$1 as InvalidateCache, type InvalidateCacheGetByOneOf$1 as InvalidateCacheGetByOneOf, type context$3_Item as Item, type ItemMetadata$1 as ItemMetadata, type context$3_ItemMetadataOneOf as ItemMetadataOneOf, type context$3_ItemNonNullableFields as ItemNonNullableFields, type context$3_Link as Link, type context$3_ListProjectItemsOptions as ListProjectItemsOptions, type context$3_ListProjectItemsRequest as ListProjectItemsRequest, type context$3_ListProjectItemsResponse as ListProjectItemsResponse, type context$3_ListProjectItemsResponseNonNullableFields as ListProjectItemsResponseNonNullableFields, type context$3_MaskedItem as MaskedItem, type MessageEnvelope$3 as MessageEnvelope, type Page$1 as Page, type Paging$2 as Paging, type PagingMetadataV2$3 as PagingMetadataV2, type Point$2 as Point, type context$3_ProjectItemCreatedEnvelope as ProjectItemCreatedEnvelope, type context$3_ProjectItemDeletedEnvelope as ProjectItemDeletedEnvelope, type context$3_ProjectItemMediaToken as ProjectItemMediaToken, type context$3_ProjectItemUpdatedEnvelope as ProjectItemUpdatedEnvelope, type context$3_QueryProjectItemsRequest as QueryProjectItemsRequest, type context$3_QueryProjectItemsResponse as QueryProjectItemsResponse, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, type RestoreInfo$3 as RestoreInfo, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type context$3_Tags as Tags, context$3_Type as Type, type URI$1 as URI, type UnsharpMasking$2 as UnsharpMasking, type context$3_UpdateProjectItem as UpdateProjectItem, type context$3_UpdateProjectItemRequest as UpdateProjectItemRequest, type context$3_UpdateProjectItemResponse as UpdateProjectItemResponse, type context$3_UpdateProjectItemResponseNonNullableFields as UpdateProjectItemResponseNonNullableFields, type Video$2 as Video, type VideoResolution$2 as VideoResolution, WebhookIdentityType$3 as WebhookIdentityType, type context$3__publicBulkCreateProjectItemsType as _publicBulkCreateProjectItemsType, type context$3__publicBulkDeleteProjectItemsType as _publicBulkDeleteProjectItemsType, type context$3__publicBulkUpdateProjectItemsType as _publicBulkUpdateProjectItemsType, type context$3__publicCreateProjectItemType as _publicCreateProjectItemType, type context$3__publicDeleteProjectItemType as _publicDeleteProjectItemType, type context$3__publicDuplicateProjectItemsType as _publicDuplicateProjectItemsType, type context$3__publicGetProjectItemType as _publicGetProjectItemType, type context$3__publicListProjectItemsType as _publicListProjectItemsType, type context$3__publicOnProjectItemCreatedType as _publicOnProjectItemCreatedType, type context$3__publicOnProjectItemDeletedType as _publicOnProjectItemDeletedType, type context$3__publicOnProjectItemUpdatedType as _publicOnProjectItemUpdatedType, type context$3__publicUpdateProjectItemType as _publicUpdateProjectItemType, context$3_bulkCreateProjectItems as bulkCreateProjectItems, context$3_bulkDeleteProjectItems as bulkDeleteProjectItems, context$3_bulkUpdateProjectItems as bulkUpdateProjectItems, context$3_createProjectItem as createProjectItem, context$3_deleteProjectItem as deleteProjectItem, context$3_duplicateProjectItems as duplicateProjectItems, context$3_getProjectItem as getProjectItem, context$3_listProjectItems as listProjectItems, context$3_onProjectItemCreated as onProjectItemCreated, context$3_onProjectItemDeleted as onProjectItemDeleted, context$3_onProjectItemUpdated as onProjectItemUpdated, onProjectItemCreated$1 as publicOnProjectItemCreated, onProjectItemDeleted$1 as publicOnProjectItemDeleted, onProjectItemUpdated$1 as publicOnProjectItemUpdated, context$3_updateProjectItem as updateProjectItem };
2038
+ export { type ActionEvent$3 as ActionEvent, type App$1 as App, type ApplicationError$1 as ApplicationError, type BaseEventMetadata$2 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type context$3_BulkCreateProjectItemResult as BulkCreateProjectItemResult, type context$3_BulkCreateProjectItemsOptions as BulkCreateProjectItemsOptions, type context$3_BulkCreateProjectItemsRequest as BulkCreateProjectItemsRequest, type context$3_BulkCreateProjectItemsResponse as BulkCreateProjectItemsResponse, type context$3_BulkCreateProjectItemsResponseNonNullableFields as BulkCreateProjectItemsResponseNonNullableFields, type context$3_BulkDeleteProjectItemResult as BulkDeleteProjectItemResult, type context$3_BulkDeleteProjectItemsOptions as BulkDeleteProjectItemsOptions, type context$3_BulkDeleteProjectItemsRequest as BulkDeleteProjectItemsRequest, type context$3_BulkDeleteProjectItemsResponse as BulkDeleteProjectItemsResponse, type context$3_BulkDeleteProjectItemsResponseNonNullableFields as BulkDeleteProjectItemsResponseNonNullableFields, type context$3_BulkUpdateProjectItemResult as BulkUpdateProjectItemResult, type context$3_BulkUpdateProjectItemsOptions as BulkUpdateProjectItemsOptions, type context$3_BulkUpdateProjectItemsRequest as BulkUpdateProjectItemsRequest, type context$3_BulkUpdateProjectItemsResponse as BulkUpdateProjectItemsResponse, type context$3_BulkUpdateProjectItemsResponseNonNullableFields as BulkUpdateProjectItemsResponseNonNullableFields, type context$3_CreateProjectGalleryRequest as CreateProjectGalleryRequest, type context$3_CreateProjectGalleryResponse as CreateProjectGalleryResponse, type context$3_CreateProjectItemRequest as CreateProjectItemRequest, type context$3_CreateProjectItemResponse as CreateProjectItemResponse, type context$3_CreateProjectItemResponseNonNullableFields as CreateProjectItemResponseNonNullableFields, type CursorPaging$3 as CursorPaging, type Cursors$3 as Cursors, type context$3_DeleteProjectItemRequest as DeleteProjectItemRequest, type context$3_DeleteProjectItemResponse as DeleteProjectItemResponse, type context$3_DeleteProjectItemResponseNonNullableFields as DeleteProjectItemResponseNonNullableFields, type DeletedProjectRestored$1 as DeletedProjectRestored, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type context$3_DuplicateProjectItemsOptions as DuplicateProjectItemsOptions, type context$3_DuplicateProjectItemsRequest as DuplicateProjectItemsRequest, type context$3_DuplicateProjectItemsResponse as DuplicateProjectItemsResponse, type context$3_DuplicateProjectItemsResponseNonNullableFields as DuplicateProjectItemsResponseNonNullableFields, type Empty$2 as Empty, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type File$1 as File, type context$3_GenerateTokenForProjectItemsRequest as GenerateTokenForProjectItemsRequest, type context$3_GenerateTokenForProjectItemsResponse as GenerateTokenForProjectItemsResponse, type context$3_GetProjectItemRequest as GetProjectItemRequest, type context$3_GetProjectItemResponse as GetProjectItemResponse, type context$3_GetProjectItemResponseNonNullableFields as GetProjectItemResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type Image$2 as Image, ImageType$2 as ImageType, type InvalidateCache$1 as InvalidateCache, type InvalidateCacheGetByOneOf$1 as InvalidateCacheGetByOneOf, type context$3_Item as Item, type ItemMetadata$1 as ItemMetadata, type context$3_ItemMetadataOneOf as ItemMetadataOneOf, type context$3_ItemNonNullableFields as ItemNonNullableFields, type context$3_Link as Link, type context$3_ListProjectItemsOptions as ListProjectItemsOptions, type context$3_ListProjectItemsRequest as ListProjectItemsRequest, type context$3_ListProjectItemsResponse as ListProjectItemsResponse, type context$3_ListProjectItemsResponseNonNullableFields as ListProjectItemsResponseNonNullableFields, type context$3_MaskedItem as MaskedItem, type MessageEnvelope$3 as MessageEnvelope, type Page$1 as Page, type Paging$2 as Paging, type PagingMetadataV2$3 as PagingMetadataV2, type Point$2 as Point, type context$3_ProjectItemCreatedEnvelope as ProjectItemCreatedEnvelope, type context$3_ProjectItemDeletedEnvelope as ProjectItemDeletedEnvelope, type context$3_ProjectItemMediaToken as ProjectItemMediaToken, type context$3_ProjectItemUpdatedEnvelope as ProjectItemUpdatedEnvelope, type context$3_QueryProjectItemsRequest as QueryProjectItemsRequest, type context$3_QueryProjectItemsResponse as QueryProjectItemsResponse, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, type RestoreInfo$3 as RestoreInfo, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type context$3_Tags as Tags, context$3_Type as Type, type URI$1 as URI, type UnsharpMasking$2 as UnsharpMasking, type context$3_UpdateProjectItem as UpdateProjectItem, type context$3_UpdateProjectItemRequest as UpdateProjectItemRequest, type context$3_UpdateProjectItemResponse as UpdateProjectItemResponse, type context$3_UpdateProjectItemResponseNonNullableFields as UpdateProjectItemResponseNonNullableFields, type Video$2 as Video, type VideoResolution$2 as VideoResolution, WebhookIdentityType$3 as WebhookIdentityType, type context$3__publicOnProjectItemCreatedType as _publicOnProjectItemCreatedType, type context$3__publicOnProjectItemDeletedType as _publicOnProjectItemDeletedType, type context$3__publicOnProjectItemUpdatedType as _publicOnProjectItemUpdatedType, context$3_bulkCreateProjectItems as bulkCreateProjectItems, context$3_bulkDeleteProjectItems as bulkDeleteProjectItems, context$3_bulkUpdateProjectItems as bulkUpdateProjectItems, context$3_createProjectItem as createProjectItem, context$3_deleteProjectItem as deleteProjectItem, context$3_duplicateProjectItems as duplicateProjectItems, context$3_getProjectItem as getProjectItem, context$3_listProjectItems as listProjectItems, context$3_onProjectItemCreated as onProjectItemCreated, context$3_onProjectItemDeleted as onProjectItemDeleted, context$3_onProjectItemUpdated as onProjectItemUpdated, onProjectItemCreated$1 as publicOnProjectItemCreated, onProjectItemDeleted$1 as publicOnProjectItemDeleted, onProjectItemUpdated$1 as publicOnProjectItemUpdated, context$3_updateProjectItem as updateProjectItem };
1947
2039
  }
1948
2040
 
1949
2041
  /** Project is the main entity of ProjectsService */
@@ -3187,52 +3279,117 @@ interface QueryProjectsWithCollectionInfoOptions {
3187
3279
  includePageUrl?: boolean | null;
3188
3280
  }
3189
3281
 
3190
- declare function getProjectPageData$1(httpClient: HttpClient): (identifiers: GetProjectPageDataIdentifiers) => Promise<GetProjectPageDataResponse & GetProjectPageDataResponseNonNullableFields>;
3191
- declare function createProject$1(httpClient: HttpClient): (project: Project$1) => Promise<Project$1 & ProjectNonNullableFields$1>;
3192
- declare function getProject$1(httpClient: HttpClient): (projectId: string, options?: GetProjectOptions) => Promise<Project$1 & ProjectNonNullableFields$1>;
3193
- declare function listProjects$1(httpClient: HttpClient): (options?: ListProjectsOptions) => Promise<ListProjectsResponse & ListProjectsResponseNonNullableFields>;
3194
- declare function updateProject$1(httpClient: HttpClient): (_id: string | null, project: UpdateProject) => Promise<Project$1 & ProjectNonNullableFields$1>;
3195
- declare function bulkUpdateProjects$1(httpClient: HttpClient): (options?: BulkUpdateProjectsOptions) => Promise<BulkUpdateProjectsResponse & BulkUpdateProjectsResponseNonNullableFields>;
3196
- declare function deleteProject$1(httpClient: HttpClient): (projectId: string) => Promise<DeleteProjectResponse & DeleteProjectResponseNonNullableFields>;
3197
- declare function queryProjects$1(httpClient: HttpClient): (options?: QueryProjectsOptions) => ProjectsQueryBuilder;
3198
- declare function updateProjectOrderInCollection$3(httpClient: HttpClient): (identifiers: UpdateProjectOrderInCollectionIdentifiers$1, sortOrder: number | null) => Promise<UpdateProjectOrderInCollectionResponse$1 & UpdateProjectOrderInCollectionResponseNonNullableFields$1>;
3199
- declare function queryProjectsWithCollectionInfo$1(httpClient: HttpClient): (query: QueryV2$1, options?: QueryProjectsWithCollectionInfoOptions) => Promise<QueryProjectWithCollectionInfoResponse & QueryProjectWithCollectionInfoResponseNonNullableFields>;
3282
+ declare function getProjectPageData$1(httpClient: HttpClient): GetProjectPageDataSignature;
3283
+ interface GetProjectPageDataSignature {
3284
+ /**
3285
+ * Get project data for a specific project
3286
+ */
3287
+ (identifiers: GetProjectPageDataIdentifiers): Promise<GetProjectPageDataResponse & GetProjectPageDataResponseNonNullableFields>;
3288
+ }
3289
+ declare function createProject$1(httpClient: HttpClient): CreateProjectSignature;
3290
+ interface CreateProjectSignature {
3291
+ /**
3292
+ * Creates a new Project
3293
+ * @param - Project to be created
3294
+ * @returns The created Project
3295
+ */
3296
+ (project: Project$1): Promise<Project$1 & ProjectNonNullableFields$1>;
3297
+ }
3298
+ declare function getProject$1(httpClient: HttpClient): GetProjectSignature;
3299
+ interface GetProjectSignature {
3300
+ /**
3301
+ * Get a Project by id
3302
+ * @param - Id of the Project to retrieve
3303
+ * @returns The retrieved Project
3304
+ */
3305
+ (projectId: string, options?: GetProjectOptions | undefined): Promise<Project$1 & ProjectNonNullableFields$1>;
3306
+ }
3307
+ declare function listProjects$1(httpClient: HttpClient): ListProjectsSignature;
3308
+ interface ListProjectsSignature {
3309
+ /**
3310
+ * List all projects in portfolio by creation date
3311
+ */
3312
+ (options?: ListProjectsOptions | undefined): Promise<ListProjectsResponse & ListProjectsResponseNonNullableFields>;
3313
+ }
3314
+ declare function updateProject$1(httpClient: HttpClient): UpdateProjectSignature;
3315
+ interface UpdateProjectSignature {
3316
+ /**
3317
+ * Update a Project, supports partial update
3318
+ * Pass the latest `revision` for a successful update
3319
+ * @param - Project ID
3320
+ * @returns The updated Project
3321
+ */
3322
+ (_id: string | null, project: UpdateProject): Promise<Project$1 & ProjectNonNullableFields$1>;
3323
+ }
3324
+ declare function bulkUpdateProjects$1(httpClient: HttpClient): BulkUpdateProjectsSignature;
3325
+ interface BulkUpdateProjectsSignature {
3326
+ /**
3327
+ * Update Projects in bulk
3328
+ */
3329
+ (options?: BulkUpdateProjectsOptions | undefined): Promise<BulkUpdateProjectsResponse & BulkUpdateProjectsResponseNonNullableFields>;
3330
+ }
3331
+ declare function deleteProject$1(httpClient: HttpClient): DeleteProjectSignature;
3332
+ interface DeleteProjectSignature {
3333
+ /**
3334
+ * Delete a Project
3335
+ * @param - Id of the Project to delete
3336
+ */
3337
+ (projectId: string): Promise<DeleteProjectResponse & DeleteProjectResponseNonNullableFields>;
3338
+ }
3339
+ declare function queryProjects$1(httpClient: HttpClient): QueryProjectsSignature;
3340
+ interface QueryProjectsSignature {
3341
+ /**
3342
+ * Query Projects using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
3343
+ */
3344
+ (options?: QueryProjectsOptions | undefined): ProjectsQueryBuilder;
3345
+ }
3346
+ declare function updateProjectOrderInCollection$3(httpClient: HttpClient): UpdateProjectOrderInCollectionSignature$1;
3347
+ interface UpdateProjectOrderInCollectionSignature$1 {
3348
+ /**
3349
+ * Deprecated - please use ProjectsInCollectionsService.UpdateProjectOrderInCollection instead
3350
+ * our Client still use it
3351
+ * @param - The new sort order of the project in the given collection
3352
+ * @deprecated
3353
+ */
3354
+ (identifiers: UpdateProjectOrderInCollectionIdentifiers$1, sortOrder: number | null): Promise<UpdateProjectOrderInCollectionResponse$1 & UpdateProjectOrderInCollectionResponseNonNullableFields$1>;
3355
+ }
3356
+ declare function queryProjectsWithCollectionInfo$1(httpClient: HttpClient): QueryProjectsWithCollectionInfoSignature;
3357
+ interface QueryProjectsWithCollectionInfoSignature {
3358
+ /**
3359
+ * Deprecated - please use ProjectsInCollectionsService.QueryProjectsInCollections instead
3360
+ * our Client still use it
3361
+ * @param - WQL expression
3362
+ * @deprecated
3363
+ */
3364
+ (query: QueryV2$1, options?: QueryProjectsWithCollectionInfoOptions | undefined): Promise<QueryProjectWithCollectionInfoResponse & QueryProjectWithCollectionInfoResponseNonNullableFields>;
3365
+ }
3200
3366
  declare const onProjectCreated$1: EventDefinition<ProjectCreatedEnvelope, "wix.portfolio.projects.v1.project_created">;
3201
3367
  declare const onProjectUpdated$1: EventDefinition<ProjectUpdatedEnvelope, "wix.portfolio.projects.v1.project_updated">;
3202
3368
  declare const onProjectDeleted$1: EventDefinition<ProjectDeletedEnvelope, "wix.portfolio.projects.v1.project_deleted">;
3203
3369
 
3204
- declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3205
-
3206
3370
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3207
3371
 
3208
- type _publicGetProjectPageDataType = typeof getProjectPageData$1;
3209
- declare const getProjectPageData: ReturnType<typeof createRESTModule$2<_publicGetProjectPageDataType>>;
3210
- type _publicCreateProjectType = typeof createProject$1;
3211
- declare const createProject: ReturnType<typeof createRESTModule$2<_publicCreateProjectType>>;
3212
- type _publicGetProjectType = typeof getProject$1;
3213
- declare const getProject: ReturnType<typeof createRESTModule$2<_publicGetProjectType>>;
3214
- type _publicListProjectsType = typeof listProjects$1;
3215
- declare const listProjects: ReturnType<typeof createRESTModule$2<_publicListProjectsType>>;
3216
- type _publicUpdateProjectType = typeof updateProject$1;
3217
- declare const updateProject: ReturnType<typeof createRESTModule$2<_publicUpdateProjectType>>;
3218
- type _publicBulkUpdateProjectsType = typeof bulkUpdateProjects$1;
3219
- declare const bulkUpdateProjects: ReturnType<typeof createRESTModule$2<_publicBulkUpdateProjectsType>>;
3220
- type _publicDeleteProjectType = typeof deleteProject$1;
3221
- declare const deleteProject: ReturnType<typeof createRESTModule$2<_publicDeleteProjectType>>;
3222
- type _publicQueryProjectsType = typeof queryProjects$1;
3223
- declare const queryProjects: ReturnType<typeof createRESTModule$2<_publicQueryProjectsType>>;
3224
- type _publicUpdateProjectOrderInCollectionType$1 = typeof updateProjectOrderInCollection$3;
3225
- declare const updateProjectOrderInCollection$2: ReturnType<typeof createRESTModule$2<_publicUpdateProjectOrderInCollectionType>>;
3226
- type _publicQueryProjectsWithCollectionInfoType = typeof queryProjectsWithCollectionInfo$1;
3227
- declare const queryProjectsWithCollectionInfo: ReturnType<typeof createRESTModule$2<_publicQueryProjectsWithCollectionInfoType>>;
3372
+ declare const getProjectPageData: BuildRESTFunction<typeof getProjectPageData$1> & typeof getProjectPageData$1;
3373
+ declare const createProject: BuildRESTFunction<typeof createProject$1> & typeof createProject$1;
3374
+ declare const getProject: BuildRESTFunction<typeof getProject$1> & typeof getProject$1;
3375
+ declare const listProjects: BuildRESTFunction<typeof listProjects$1> & typeof listProjects$1;
3376
+ declare const updateProject: BuildRESTFunction<typeof updateProject$1> & typeof updateProject$1;
3377
+ declare const bulkUpdateProjects: BuildRESTFunction<typeof bulkUpdateProjects$1> & typeof bulkUpdateProjects$1;
3378
+ declare const deleteProject: BuildRESTFunction<typeof deleteProject$1> & typeof deleteProject$1;
3379
+ declare const queryProjects: BuildRESTFunction<typeof queryProjects$1> & typeof queryProjects$1;
3380
+ declare const updateProjectOrderInCollection$2: BuildRESTFunction<typeof updateProjectOrderInCollection$3> & typeof updateProjectOrderInCollection$3;
3381
+ declare const queryProjectsWithCollectionInfo: BuildRESTFunction<typeof queryProjectsWithCollectionInfo$1> & typeof queryProjectsWithCollectionInfo$1;
3228
3382
 
3229
3383
  type _publicOnProjectCreatedType = typeof onProjectCreated$1;
3384
+ /** */
3230
3385
  declare const onProjectCreated: ReturnType<typeof createEventModule$1<_publicOnProjectCreatedType>>;
3231
3386
 
3232
3387
  type _publicOnProjectUpdatedType = typeof onProjectUpdated$1;
3388
+ /** */
3233
3389
  declare const onProjectUpdated: ReturnType<typeof createEventModule$1<_publicOnProjectUpdatedType>>;
3234
3390
 
3235
3391
  type _publicOnProjectDeletedType = typeof onProjectDeleted$1;
3392
+ /** */
3236
3393
  declare const onProjectDeleted: ReturnType<typeof createEventModule$1<_publicOnProjectDeletedType>>;
3237
3394
 
3238
3395
  type context$2_App = App;
@@ -3293,18 +3450,9 @@ type context$2_UpdateProject = UpdateProject;
3293
3450
  type context$2_UpdateProjectRequest = UpdateProjectRequest;
3294
3451
  type context$2_UpdateProjectResponse = UpdateProjectResponse;
3295
3452
  type context$2_UpdateProjectResponseNonNullableFields = UpdateProjectResponseNonNullableFields;
3296
- type context$2__publicBulkUpdateProjectsType = _publicBulkUpdateProjectsType;
3297
- type context$2__publicCreateProjectType = _publicCreateProjectType;
3298
- type context$2__publicDeleteProjectType = _publicDeleteProjectType;
3299
- type context$2__publicGetProjectPageDataType = _publicGetProjectPageDataType;
3300
- type context$2__publicGetProjectType = _publicGetProjectType;
3301
- type context$2__publicListProjectsType = _publicListProjectsType;
3302
3453
  type context$2__publicOnProjectCreatedType = _publicOnProjectCreatedType;
3303
3454
  type context$2__publicOnProjectDeletedType = _publicOnProjectDeletedType;
3304
3455
  type context$2__publicOnProjectUpdatedType = _publicOnProjectUpdatedType;
3305
- type context$2__publicQueryProjectsType = _publicQueryProjectsType;
3306
- type context$2__publicQueryProjectsWithCollectionInfoType = _publicQueryProjectsWithCollectionInfoType;
3307
- type context$2__publicUpdateProjectType = _publicUpdateProjectType;
3308
3456
  declare const context$2_bulkUpdateProjects: typeof bulkUpdateProjects;
3309
3457
  declare const context$2_createProject: typeof createProject;
3310
3458
  declare const context$2_deleteProject: typeof deleteProject;
@@ -3318,7 +3466,7 @@ declare const context$2_queryProjects: typeof queryProjects;
3318
3466
  declare const context$2_queryProjectsWithCollectionInfo: typeof queryProjectsWithCollectionInfo;
3319
3467
  declare const context$2_updateProject: typeof updateProject;
3320
3468
  declare namespace context$2 {
3321
- export { type ActionEvent$2 as ActionEvent, type context$2_App as App, type context$2_ApplicationError as ApplicationError, type Asset$1 as Asset, type BaseEventMetadata$1 as BaseEventMetadata, type context$2_BulkActionMetadata as BulkActionMetadata, type context$2_BulkUpdateProjectsOptions as BulkUpdateProjectsOptions, type context$2_BulkUpdateProjectsRequest as BulkUpdateProjectsRequest, type context$2_BulkUpdateProjectsResponse as BulkUpdateProjectsResponse, type context$2_BulkUpdateProjectsResponseNonNullableFields as BulkUpdateProjectsResponseNonNullableFields, type context$2_BulkUpdateProjectsResult as BulkUpdateProjectsResult, type context$2_CreateNewPortfolioAppRequest as CreateNewPortfolioAppRequest, type context$2_CreateNewPortfolioAppResponse as CreateNewPortfolioAppResponse, type context$2_CreateProjectRequest as CreateProjectRequest, type context$2_CreateProjectResponse as CreateProjectResponse, type context$2_CreateProjectResponseNonNullableFields as CreateProjectResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type Cursors$2 as Cursors, type DeleteContext$1 as DeleteContext, type context$2_DeleteProjectRequest as DeleteProjectRequest, type context$2_DeleteProjectResponse as DeleteProjectResponse, type context$2_DeleteProjectResponseNonNullableFields as DeleteProjectResponseNonNullableFields, DeleteStatus$1 as DeleteStatus, type context$2_DeletedProjectRestored as DeletedProjectRestored, type DetailsLink$1 as DetailsLink, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$2_File as File, type context$2_GetProjectOptions as GetProjectOptions, type context$2_GetProjectPageDataIdentifiers as GetProjectPageDataIdentifiers, type context$2_GetProjectPageDataRequest as GetProjectPageDataRequest, type context$2_GetProjectPageDataResponse as GetProjectPageDataResponse, type context$2_GetProjectPageDataResponseNonNullableFields as GetProjectPageDataResponseNonNullableFields, type context$2_GetProjectRequest as GetProjectRequest, type context$2_GetProjectResponse as GetProjectResponse, type context$2_GetProjectResponseNonNullableFields as GetProjectResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Image$1 as Image, ImageType$1 as ImageType, type context$2_InvalidateCache as InvalidateCache, type context$2_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context$2_ItemMetadata as ItemMetadata, type Keyword$1 as Keyword, type context$2_ListProjectsOptions as ListProjectsOptions, type context$2_ListProjectsRequest as ListProjectsRequest, type context$2_ListProjectsResponse as ListProjectsResponse, type context$2_ListProjectsResponseNonNullableFields as ListProjectsResponseNonNullableFields, type context$2_MaskedProject as MaskedProject, type context$2_MenuSettingUpdatedEvent as MenuSettingUpdatedEvent, type MessageEnvelope$2 as MessageEnvelope, type MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type NamespaceChanged$1 as NamespaceChanged, type context$2_Page as Page, type Paging$1 as Paging, type PagingMetadataV2$2 as PagingMetadataV2, type Point$1 as Point, type Project$1 as Project, type ProjectCoverOneOf$1 as ProjectCoverOneOf, type context$2_ProjectCreatedEnvelope as ProjectCreatedEnvelope, type context$2_ProjectDeletedEnvelope as ProjectDeletedEnvelope, type ProjectDetail$1 as ProjectDetail, type ProjectDetailValueOneOf$1 as ProjectDetailValueOneOf, type ProjectInCollection$1 as ProjectInCollection, type ProjectNonNullableFields$1 as ProjectNonNullableFields, type context$2_ProjectSlug as ProjectSlug, type ProjectSource$1 as ProjectSource, type context$2_ProjectUpdatedEnvelope as ProjectUpdatedEnvelope, type context$2_ProjectsQueryBuilder as ProjectsQueryBuilder, type context$2_ProjectsQueryResult as ProjectsQueryResult, type context$2_QueryProjectWithCollectionInfoRequest as QueryProjectWithCollectionInfoRequest, type context$2_QueryProjectWithCollectionInfoResponse as QueryProjectWithCollectionInfoResponse, type context$2_QueryProjectWithCollectionInfoResponseNonNullableFields as QueryProjectWithCollectionInfoResponseNonNullableFields, type context$2_QueryProjectsOptions as QueryProjectsOptions, type context$2_QueryProjectsRequest as QueryProjectsRequest, type context$2_QueryProjectsResponse as QueryProjectsResponse, type context$2_QueryProjectsResponseNonNullableFields as QueryProjectsResponseNonNullableFields, type context$2_QueryProjectsWithCollectionInfoOptions as QueryProjectsWithCollectionInfoOptions, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type RestoreInfo$2 as RestoreInfo, type context$2_RestoreProjectFromTrashBinRequest as RestoreProjectFromTrashBinRequest, type context$2_RestoreProjectFromTrashBinResponse as RestoreProjectFromTrashBinResponse, type SeoSchema$1 as SeoSchema, type ServiceProvisioned$1 as ServiceProvisioned, type ServiceRemoved$1 as ServiceRemoved, type Settings$1 as Settings, type SiteCreated$1 as SiteCreated, SiteCreatedContext$1 as SiteCreatedContext, type SiteDeleted$1 as SiteDeleted, type SiteHardDeleted$1 as SiteHardDeleted, type SiteMarkedAsTemplate$1 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$1 as SiteMarkedAsWixSite, type SitePublished$1 as SitePublished, type SiteRenamed$1 as SiteRenamed, type SiteTransferred$1 as SiteTransferred, type SiteUndeleted$1 as SiteUndeleted, type SiteUnpublished$1 as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, type StudioAssigned$1 as StudioAssigned, type StudioUnassigned$1 as StudioUnassigned, type context$2_SyncProjectWithCollectionMappings as SyncProjectWithCollectionMappings, SyncStatus$2 as SyncStatus, type Tag$1 as Tag, type context$2_URI as URI, type UnsharpMasking$1 as UnsharpMasking, type context$2_UpdateProject as UpdateProject, type UpdateProjectOrderInCollectionIdentifiers$1 as UpdateProjectOrderInCollectionIdentifiers, type UpdateProjectOrderInCollectionRequest$1 as UpdateProjectOrderInCollectionRequest, type UpdateProjectOrderInCollectionResponse$1 as UpdateProjectOrderInCollectionResponse, type UpdateProjectOrderInCollectionResponseNonNullableFields$1 as UpdateProjectOrderInCollectionResponseNonNullableFields, type context$2_UpdateProjectRequest as UpdateProjectRequest, type context$2_UpdateProjectResponse as UpdateProjectResponse, type context$2_UpdateProjectResponseNonNullableFields as UpdateProjectResponseNonNullableFields, type Video$1 as Video, type VideoResolution$1 as VideoResolution, WebhookIdentityType$2 as WebhookIdentityType, type context$2__publicBulkUpdateProjectsType as _publicBulkUpdateProjectsType, type context$2__publicCreateProjectType as _publicCreateProjectType, type context$2__publicDeleteProjectType as _publicDeleteProjectType, type context$2__publicGetProjectPageDataType as _publicGetProjectPageDataType, type context$2__publicGetProjectType as _publicGetProjectType, type context$2__publicListProjectsType as _publicListProjectsType, type context$2__publicOnProjectCreatedType as _publicOnProjectCreatedType, type context$2__publicOnProjectDeletedType as _publicOnProjectDeletedType, type context$2__publicOnProjectUpdatedType as _publicOnProjectUpdatedType, type context$2__publicQueryProjectsType as _publicQueryProjectsType, type context$2__publicQueryProjectsWithCollectionInfoType as _publicQueryProjectsWithCollectionInfoType, type _publicUpdateProjectOrderInCollectionType$1 as _publicUpdateProjectOrderInCollectionType, type context$2__publicUpdateProjectType as _publicUpdateProjectType, context$2_bulkUpdateProjects as bulkUpdateProjects, context$2_createProject as createProject, context$2_deleteProject as deleteProject, context$2_getProject as getProject, context$2_getProjectPageData as getProjectPageData, context$2_listProjects as listProjects, context$2_onProjectCreated as onProjectCreated, context$2_onProjectDeleted as onProjectDeleted, context$2_onProjectUpdated as onProjectUpdated, onProjectCreated$1 as publicOnProjectCreated, onProjectDeleted$1 as publicOnProjectDeleted, onProjectUpdated$1 as publicOnProjectUpdated, context$2_queryProjects as queryProjects, context$2_queryProjectsWithCollectionInfo as queryProjectsWithCollectionInfo, context$2_updateProject as updateProject, updateProjectOrderInCollection$2 as updateProjectOrderInCollection };
3469
+ export { type ActionEvent$2 as ActionEvent, type context$2_App as App, type context$2_ApplicationError as ApplicationError, type Asset$1 as Asset, type BaseEventMetadata$1 as BaseEventMetadata, type context$2_BulkActionMetadata as BulkActionMetadata, type context$2_BulkUpdateProjectsOptions as BulkUpdateProjectsOptions, type context$2_BulkUpdateProjectsRequest as BulkUpdateProjectsRequest, type context$2_BulkUpdateProjectsResponse as BulkUpdateProjectsResponse, type context$2_BulkUpdateProjectsResponseNonNullableFields as BulkUpdateProjectsResponseNonNullableFields, type context$2_BulkUpdateProjectsResult as BulkUpdateProjectsResult, type context$2_CreateNewPortfolioAppRequest as CreateNewPortfolioAppRequest, type context$2_CreateNewPortfolioAppResponse as CreateNewPortfolioAppResponse, type context$2_CreateProjectRequest as CreateProjectRequest, type context$2_CreateProjectResponse as CreateProjectResponse, type context$2_CreateProjectResponseNonNullableFields as CreateProjectResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type Cursors$2 as Cursors, type DeleteContext$1 as DeleteContext, type context$2_DeleteProjectRequest as DeleteProjectRequest, type context$2_DeleteProjectResponse as DeleteProjectResponse, type context$2_DeleteProjectResponseNonNullableFields as DeleteProjectResponseNonNullableFields, DeleteStatus$1 as DeleteStatus, type context$2_DeletedProjectRestored as DeletedProjectRestored, type DetailsLink$1 as DetailsLink, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$2_File as File, type context$2_GetProjectOptions as GetProjectOptions, type context$2_GetProjectPageDataIdentifiers as GetProjectPageDataIdentifiers, type context$2_GetProjectPageDataRequest as GetProjectPageDataRequest, type context$2_GetProjectPageDataResponse as GetProjectPageDataResponse, type context$2_GetProjectPageDataResponseNonNullableFields as GetProjectPageDataResponseNonNullableFields, type context$2_GetProjectRequest as GetProjectRequest, type context$2_GetProjectResponse as GetProjectResponse, type context$2_GetProjectResponseNonNullableFields as GetProjectResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Image$1 as Image, ImageType$1 as ImageType, type context$2_InvalidateCache as InvalidateCache, type context$2_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context$2_ItemMetadata as ItemMetadata, type Keyword$1 as Keyword, type context$2_ListProjectsOptions as ListProjectsOptions, type context$2_ListProjectsRequest as ListProjectsRequest, type context$2_ListProjectsResponse as ListProjectsResponse, type context$2_ListProjectsResponseNonNullableFields as ListProjectsResponseNonNullableFields, type context$2_MaskedProject as MaskedProject, type context$2_MenuSettingUpdatedEvent as MenuSettingUpdatedEvent, type MessageEnvelope$2 as MessageEnvelope, type MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type NamespaceChanged$1 as NamespaceChanged, type context$2_Page as Page, type Paging$1 as Paging, type PagingMetadataV2$2 as PagingMetadataV2, type Point$1 as Point, type Project$1 as Project, type ProjectCoverOneOf$1 as ProjectCoverOneOf, type context$2_ProjectCreatedEnvelope as ProjectCreatedEnvelope, type context$2_ProjectDeletedEnvelope as ProjectDeletedEnvelope, type ProjectDetail$1 as ProjectDetail, type ProjectDetailValueOneOf$1 as ProjectDetailValueOneOf, type ProjectInCollection$1 as ProjectInCollection, type ProjectNonNullableFields$1 as ProjectNonNullableFields, type context$2_ProjectSlug as ProjectSlug, type ProjectSource$1 as ProjectSource, type context$2_ProjectUpdatedEnvelope as ProjectUpdatedEnvelope, type context$2_ProjectsQueryBuilder as ProjectsQueryBuilder, type context$2_ProjectsQueryResult as ProjectsQueryResult, type context$2_QueryProjectWithCollectionInfoRequest as QueryProjectWithCollectionInfoRequest, type context$2_QueryProjectWithCollectionInfoResponse as QueryProjectWithCollectionInfoResponse, type context$2_QueryProjectWithCollectionInfoResponseNonNullableFields as QueryProjectWithCollectionInfoResponseNonNullableFields, type context$2_QueryProjectsOptions as QueryProjectsOptions, type context$2_QueryProjectsRequest as QueryProjectsRequest, type context$2_QueryProjectsResponse as QueryProjectsResponse, type context$2_QueryProjectsResponseNonNullableFields as QueryProjectsResponseNonNullableFields, type context$2_QueryProjectsWithCollectionInfoOptions as QueryProjectsWithCollectionInfoOptions, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type RestoreInfo$2 as RestoreInfo, type context$2_RestoreProjectFromTrashBinRequest as RestoreProjectFromTrashBinRequest, type context$2_RestoreProjectFromTrashBinResponse as RestoreProjectFromTrashBinResponse, type SeoSchema$1 as SeoSchema, type ServiceProvisioned$1 as ServiceProvisioned, type ServiceRemoved$1 as ServiceRemoved, type Settings$1 as Settings, type SiteCreated$1 as SiteCreated, SiteCreatedContext$1 as SiteCreatedContext, type SiteDeleted$1 as SiteDeleted, type SiteHardDeleted$1 as SiteHardDeleted, type SiteMarkedAsTemplate$1 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$1 as SiteMarkedAsWixSite, type SitePublished$1 as SitePublished, type SiteRenamed$1 as SiteRenamed, type SiteTransferred$1 as SiteTransferred, type SiteUndeleted$1 as SiteUndeleted, type SiteUnpublished$1 as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, type StudioAssigned$1 as StudioAssigned, type StudioUnassigned$1 as StudioUnassigned, type context$2_SyncProjectWithCollectionMappings as SyncProjectWithCollectionMappings, SyncStatus$2 as SyncStatus, type Tag$1 as Tag, type context$2_URI as URI, type UnsharpMasking$1 as UnsharpMasking, type context$2_UpdateProject as UpdateProject, type UpdateProjectOrderInCollectionIdentifiers$1 as UpdateProjectOrderInCollectionIdentifiers, type UpdateProjectOrderInCollectionRequest$1 as UpdateProjectOrderInCollectionRequest, type UpdateProjectOrderInCollectionResponse$1 as UpdateProjectOrderInCollectionResponse, type UpdateProjectOrderInCollectionResponseNonNullableFields$1 as UpdateProjectOrderInCollectionResponseNonNullableFields, type context$2_UpdateProjectRequest as UpdateProjectRequest, type context$2_UpdateProjectResponse as UpdateProjectResponse, type context$2_UpdateProjectResponseNonNullableFields as UpdateProjectResponseNonNullableFields, type Video$1 as Video, type VideoResolution$1 as VideoResolution, WebhookIdentityType$2 as WebhookIdentityType, type context$2__publicOnProjectCreatedType as _publicOnProjectCreatedType, type context$2__publicOnProjectDeletedType as _publicOnProjectDeletedType, type context$2__publicOnProjectUpdatedType as _publicOnProjectUpdatedType, context$2_bulkUpdateProjects as bulkUpdateProjects, context$2_createProject as createProject, context$2_deleteProject as deleteProject, context$2_getProject as getProject, context$2_getProjectPageData as getProjectPageData, context$2_listProjects as listProjects, context$2_onProjectCreated as onProjectCreated, context$2_onProjectDeleted as onProjectDeleted, context$2_onProjectUpdated as onProjectUpdated, onProjectCreated$1 as publicOnProjectCreated, onProjectDeleted$1 as publicOnProjectDeleted, onProjectUpdated$1 as publicOnProjectUpdated, context$2_queryProjects as queryProjects, context$2_queryProjectsWithCollectionInfo as queryProjectsWithCollectionInfo, context$2_updateProject as updateProject, updateProjectOrderInCollection$2 as updateProjectOrderInCollection };
3322
3470
  }
3323
3471
 
3324
3472
  interface ProjectInCollection {
@@ -3953,20 +4101,36 @@ interface UpdateProjectOrderInCollectionIdentifiers {
3953
4101
  collectionId: string;
3954
4102
  }
3955
4103
 
3956
- declare function queryProjectInCollections$1(httpClient: HttpClient): (options?: QueryProjectInCollectionsOptions) => ProjectInCollectionsQueryBuilder;
3957
- declare function updateProjectOrderInCollection$1(httpClient: HttpClient): (identifiers: UpdateProjectOrderInCollectionIdentifiers, sortOrder: number | null) => Promise<UpdateProjectOrderInCollectionResponse & UpdateProjectOrderInCollectionResponseNonNullableFields>;
4104
+ declare function queryProjectInCollections$1(httpClient: HttpClient): QueryProjectInCollectionsSignature;
4105
+ interface QueryProjectInCollectionsSignature {
4106
+ /**
4107
+ * Query project in collection context using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
4108
+ *
4109
+ * Because project can be ordered different in each collection, use this when want to query the projects in a Collection ordered by the order in given collection
4110
+ *
4111
+ * Supported Fields for query and ordering: collectionId, project.id, sortOrder, project.hidden, project.slug
4112
+ *
4113
+ * If you want to Query project by Project properties please use ProjectsService.Query method - link [Query Projects](https://dev.wix.com/docs/rest/business-solutions/portfolio/project-v1/query-projects)
4114
+ */
4115
+ (options?: QueryProjectInCollectionsOptions | undefined): ProjectInCollectionsQueryBuilder;
4116
+ }
4117
+ declare function updateProjectOrderInCollection$1(httpClient: HttpClient): UpdateProjectOrderInCollectionSignature;
4118
+ interface UpdateProjectOrderInCollectionSignature {
4119
+ /**
4120
+ * Updates Project's order in a given Collection
4121
+ * @param - The new sort order of the project in the given collection
4122
+ */
4123
+ (identifiers: UpdateProjectOrderInCollectionIdentifiers, sortOrder: number | null): Promise<UpdateProjectOrderInCollectionResponse & UpdateProjectOrderInCollectionResponseNonNullableFields>;
4124
+ }
3958
4125
  declare const onProjectInCollectionProjectOrderInCollectionUpdatedEvent$1: EventDefinition<ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope, "wix.portfolio.projects.v1.project_in_collection_project_order_in_collection_updated_event">;
3959
4126
 
3960
- declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3961
-
3962
4127
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3963
4128
 
3964
- type _publicQueryProjectInCollectionsType = typeof queryProjectInCollections$1;
3965
- declare const queryProjectInCollections: ReturnType<typeof createRESTModule$1<_publicQueryProjectInCollectionsType>>;
3966
- type _publicUpdateProjectOrderInCollectionType = typeof updateProjectOrderInCollection$1;
3967
- declare const updateProjectOrderInCollection: ReturnType<typeof createRESTModule$1<_publicUpdateProjectOrderInCollectionType>>;
4129
+ declare const queryProjectInCollections: BuildRESTFunction<typeof queryProjectInCollections$1> & typeof queryProjectInCollections$1;
4130
+ declare const updateProjectOrderInCollection: BuildRESTFunction<typeof updateProjectOrderInCollection$1> & typeof updateProjectOrderInCollection$1;
3968
4131
 
3969
4132
  type _publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType = typeof onProjectInCollectionProjectOrderInCollectionUpdatedEvent$1;
4133
+ /** */
3970
4134
  declare const onProjectInCollectionProjectOrderInCollectionUpdatedEvent: ReturnType<typeof createEventModule<_publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType>>;
3971
4135
 
3972
4136
  type context$1_BaseEventMetadata = BaseEventMetadata;
@@ -4008,13 +4172,11 @@ type context$1_UpdateProjectOrderInCollectionResponseNonNullableFields = UpdateP
4008
4172
  type context$1_Video = Video;
4009
4173
  type context$1_VideoResolution = VideoResolution;
4010
4174
  type context$1__publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType = _publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType;
4011
- type context$1__publicQueryProjectInCollectionsType = _publicQueryProjectInCollectionsType;
4012
- type context$1__publicUpdateProjectOrderInCollectionType = _publicUpdateProjectOrderInCollectionType;
4013
4175
  declare const context$1_onProjectInCollectionProjectOrderInCollectionUpdatedEvent: typeof onProjectInCollectionProjectOrderInCollectionUpdatedEvent;
4014
4176
  declare const context$1_queryProjectInCollections: typeof queryProjectInCollections;
4015
4177
  declare const context$1_updateProjectOrderInCollection: typeof updateProjectOrderInCollection;
4016
4178
  declare namespace context$1 {
4017
- export { type ActionEvent$1 as ActionEvent, type context$1_BaseEventMetadata as BaseEventMetadata, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type context$1_DetailsLink as DetailsLink, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type context$1_EventMetadata as EventMetadata, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_Image as Image, context$1_ImageType as ImageType, type context$1_Keyword as Keyword, type MessageEnvelope$1 as MessageEnvelope, type context$1_Paging as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type context$1_Point as Point, type context$1_Project as Project, type context$1_ProjectCoverOneOf as ProjectCoverOneOf, type context$1_ProjectDetail as ProjectDetail, type context$1_ProjectDetailValueOneOf as ProjectDetailValueOneOf, type context$1_ProjectInCollection as ProjectInCollection, type context$1_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope as ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope, type context$1_ProjectInCollectionsQueryBuilder as ProjectInCollectionsQueryBuilder, type context$1_ProjectInCollectionsQueryResult as ProjectInCollectionsQueryResult, type context$1_ProjectOrderInCollectionUpdatedEvent as ProjectOrderInCollectionUpdatedEvent, type context$1_ProjectSource as ProjectSource, type context$1_QueryProjectInCollectionsOptions as QueryProjectInCollectionsOptions, type context$1_QueryProjectInCollectionsRequest as QueryProjectInCollectionsRequest, type context$1_QueryProjectInCollectionsResponse as QueryProjectInCollectionsResponse, type context$1_QueryProjectInCollectionsResponseNonNullableFields as QueryProjectInCollectionsResponseNonNullableFields, type context$1_QueryV2 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type RestoreInfo$1 as RestoreInfo, type context$1_SeoSchema as SeoSchema, type context$1_Settings as Settings, context$1_SortOrder as SortOrder, type context$1_Sorting as Sorting, SyncStatus$1 as SyncStatus, type context$1_Tag as Tag, type context$1_UnsharpMasking as UnsharpMasking, type context$1_UpdateProjectOrderInCollectionIdentifiers as UpdateProjectOrderInCollectionIdentifiers, type context$1_UpdateProjectOrderInCollectionRequest as UpdateProjectOrderInCollectionRequest, type context$1_UpdateProjectOrderInCollectionResponse as UpdateProjectOrderInCollectionResponse, type context$1_UpdateProjectOrderInCollectionResponseNonNullableFields as UpdateProjectOrderInCollectionResponseNonNullableFields, type context$1_Video as Video, type context$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, type context$1__publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType as _publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType, type context$1__publicQueryProjectInCollectionsType as _publicQueryProjectInCollectionsType, type context$1__publicUpdateProjectOrderInCollectionType as _publicUpdateProjectOrderInCollectionType, context$1_onProjectInCollectionProjectOrderInCollectionUpdatedEvent as onProjectInCollectionProjectOrderInCollectionUpdatedEvent, onProjectInCollectionProjectOrderInCollectionUpdatedEvent$1 as publicOnProjectInCollectionProjectOrderInCollectionUpdatedEvent, context$1_queryProjectInCollections as queryProjectInCollections, context$1_updateProjectOrderInCollection as updateProjectOrderInCollection };
4179
+ export { type ActionEvent$1 as ActionEvent, type context$1_BaseEventMetadata as BaseEventMetadata, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type context$1_DetailsLink as DetailsLink, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type context$1_EventMetadata as EventMetadata, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_Image as Image, context$1_ImageType as ImageType, type context$1_Keyword as Keyword, type MessageEnvelope$1 as MessageEnvelope, type context$1_Paging as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type context$1_Point as Point, type context$1_Project as Project, type context$1_ProjectCoverOneOf as ProjectCoverOneOf, type context$1_ProjectDetail as ProjectDetail, type context$1_ProjectDetailValueOneOf as ProjectDetailValueOneOf, type context$1_ProjectInCollection as ProjectInCollection, type context$1_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope as ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope, type context$1_ProjectInCollectionsQueryBuilder as ProjectInCollectionsQueryBuilder, type context$1_ProjectInCollectionsQueryResult as ProjectInCollectionsQueryResult, type context$1_ProjectOrderInCollectionUpdatedEvent as ProjectOrderInCollectionUpdatedEvent, type context$1_ProjectSource as ProjectSource, type context$1_QueryProjectInCollectionsOptions as QueryProjectInCollectionsOptions, type context$1_QueryProjectInCollectionsRequest as QueryProjectInCollectionsRequest, type context$1_QueryProjectInCollectionsResponse as QueryProjectInCollectionsResponse, type context$1_QueryProjectInCollectionsResponseNonNullableFields as QueryProjectInCollectionsResponseNonNullableFields, type context$1_QueryV2 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type RestoreInfo$1 as RestoreInfo, type context$1_SeoSchema as SeoSchema, type context$1_Settings as Settings, context$1_SortOrder as SortOrder, type context$1_Sorting as Sorting, SyncStatus$1 as SyncStatus, type context$1_Tag as Tag, type context$1_UnsharpMasking as UnsharpMasking, type context$1_UpdateProjectOrderInCollectionIdentifiers as UpdateProjectOrderInCollectionIdentifiers, type context$1_UpdateProjectOrderInCollectionRequest as UpdateProjectOrderInCollectionRequest, type context$1_UpdateProjectOrderInCollectionResponse as UpdateProjectOrderInCollectionResponse, type context$1_UpdateProjectOrderInCollectionResponseNonNullableFields as UpdateProjectOrderInCollectionResponseNonNullableFields, type context$1_Video as Video, type context$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, type context$1__publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType as _publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType, context$1_onProjectInCollectionProjectOrderInCollectionUpdatedEvent as onProjectInCollectionProjectOrderInCollectionUpdatedEvent, onProjectInCollectionProjectOrderInCollectionUpdatedEvent$1 as publicOnProjectInCollectionProjectOrderInCollectionUpdatedEvent, context$1_queryProjectInCollections as queryProjectInCollections, context$1_updateProjectOrderInCollection as updateProjectOrderInCollection };
4018
4180
  }
4019
4181
 
4020
4182
  interface SyncedProject {
@@ -4072,7 +4234,9 @@ interface SyncProjectPagingEvent {
4072
4234
  /** Project Revision */
4073
4235
  projectSyncRevision?: Date;
4074
4236
  }
4075
- interface SyncAllSitesEvent {
4237
+ interface SyncSiteEvent {
4238
+ /** Portfolio instance id */
4239
+ instanceId?: string;
4076
4240
  /** Paging */
4077
4241
  paging?: CursorPaging;
4078
4242
  }
@@ -4087,12 +4251,6 @@ interface CursorPaging {
4087
4251
  */
4088
4252
  cursor?: string | null;
4089
4253
  }
4090
- interface SyncSiteEvent {
4091
- /** Portfolio instance id */
4092
- instanceId?: string;
4093
- /** Paging */
4094
- paging?: CursorPaging;
4095
- }
4096
4254
  interface SyncProjectRequest {
4097
4255
  /** Provider appDefId */
4098
4256
  appDefId: string;
@@ -4566,6 +4724,10 @@ interface StudioAssigned {
4566
4724
  /** Unassigned Studio editor */
4567
4725
  interface StudioUnassigned {
4568
4726
  }
4727
+ interface SyncAllSitesEvent {
4728
+ /** Paging */
4729
+ paging?: CursorPaging;
4730
+ }
4569
4731
  interface MessageEnvelope {
4570
4732
  /** App instance ID. */
4571
4733
  instanceId?: string | null;
@@ -4653,24 +4815,49 @@ interface StopSyncIdentifiers {
4653
4815
  externalId: string;
4654
4816
  }
4655
4817
 
4656
- declare function getProjects$1(httpClient: HttpClient): (appDefId: string, options?: GetProjectsOptions) => Promise<GetProjectsResponse & GetProjectsResponseNonNullableFields>;
4657
- declare function syncProject$1(httpClient: HttpClient): (identifiers: SyncProjectIdentifiers) => Promise<SyncProjectResponse & SyncProjectResponseNonNullableFields>;
4658
- declare function getSyncStatus$1(httpClient: HttpClient): (identifiers: GetSyncStatusIdentifiers) => Promise<GetSyncStatusResponse & GetSyncStatusResponseNonNullableFields>;
4659
- declare function stopSync$1(httpClient: HttpClient): (identifiers: StopSyncIdentifiers) => Promise<StopSyncResponse & StopSyncResponseNonNullableFields>;
4660
- declare function getLoginRedirectableUrl$1(httpClient: HttpClient): (appDefId: string) => Promise<GetLoginRedirectableUrlResponse & GetLoginRedirectableUrlResponseNonNullableFields>;
4661
-
4662
- declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4818
+ declare function getProjects$1(httpClient: HttpClient): GetProjectsSignature;
4819
+ interface GetProjectsSignature {
4820
+ /**
4821
+ * Get projects per app
4822
+ * @param - Provider appDefId
4823
+ */
4824
+ (appDefId: string, options?: GetProjectsOptions | undefined): Promise<GetProjectsResponse & GetProjectsResponseNonNullableFields>;
4825
+ }
4826
+ declare function syncProject$1(httpClient: HttpClient): SyncProjectSignature;
4827
+ interface SyncProjectSignature {
4828
+ /**
4829
+ * Async Sync project
4830
+ */
4831
+ (identifiers: SyncProjectIdentifiers): Promise<SyncProjectResponse & SyncProjectResponseNonNullableFields>;
4832
+ }
4833
+ declare function getSyncStatus$1(httpClient: HttpClient): GetSyncStatusSignature;
4834
+ interface GetSyncStatusSignature {
4835
+ /**
4836
+ * Get sync status (when was last synced and etc..)
4837
+ */
4838
+ (identifiers: GetSyncStatusIdentifiers): Promise<GetSyncStatusResponse & GetSyncStatusResponseNonNullableFields>;
4839
+ }
4840
+ declare function stopSync$1(httpClient: HttpClient): StopSyncSignature;
4841
+ interface StopSyncSignature {
4842
+ /**
4843
+ * Stop sync project
4844
+ */
4845
+ (identifiers: StopSyncIdentifiers): Promise<StopSyncResponse & StopSyncResponseNonNullableFields>;
4846
+ }
4847
+ declare function getLoginRedirectableUrl$1(httpClient: HttpClient): GetLoginRedirectableUrlSignature;
4848
+ interface GetLoginRedirectableUrlSignature {
4849
+ /**
4850
+ * Get login redirectable url
4851
+ * @param - Provider appDefId
4852
+ */
4853
+ (appDefId: string): Promise<GetLoginRedirectableUrlResponse & GetLoginRedirectableUrlResponseNonNullableFields>;
4854
+ }
4663
4855
 
4664
- type _publicGetProjectsType = typeof getProjects$1;
4665
- declare const getProjects: ReturnType<typeof createRESTModule<_publicGetProjectsType>>;
4666
- type _publicSyncProjectType = typeof syncProject$1;
4667
- declare const syncProject: ReturnType<typeof createRESTModule<_publicSyncProjectType>>;
4668
- type _publicGetSyncStatusType = typeof getSyncStatus$1;
4669
- declare const getSyncStatus: ReturnType<typeof createRESTModule<_publicGetSyncStatusType>>;
4670
- type _publicStopSyncType = typeof stopSync$1;
4671
- declare const stopSync: ReturnType<typeof createRESTModule<_publicStopSyncType>>;
4672
- type _publicGetLoginRedirectableUrlType = typeof getLoginRedirectableUrl$1;
4673
- declare const getLoginRedirectableUrl: ReturnType<typeof createRESTModule<_publicGetLoginRedirectableUrlType>>;
4856
+ declare const getProjects: BuildRESTFunction<typeof getProjects$1> & typeof getProjects$1;
4857
+ declare const syncProject: BuildRESTFunction<typeof syncProject$1> & typeof syncProject$1;
4858
+ declare const getSyncStatus: BuildRESTFunction<typeof getSyncStatus$1> & typeof getSyncStatus$1;
4859
+ declare const stopSync: BuildRESTFunction<typeof stopSync$1> & typeof stopSync$1;
4860
+ declare const getLoginRedirectableUrl: BuildRESTFunction<typeof getLoginRedirectableUrl$1> & typeof getLoginRedirectableUrl$1;
4674
4861
 
4675
4862
  type context_ActionEvent = ActionEvent;
4676
4863
  type context_Asset = Asset;
@@ -4748,18 +4935,13 @@ type context_SyncedProject = SyncedProject;
4748
4935
  type context_SyncingProjectEvent = SyncingProjectEvent;
4749
4936
  type context_WebhookIdentityType = WebhookIdentityType;
4750
4937
  declare const context_WebhookIdentityType: typeof WebhookIdentityType;
4751
- type context__publicGetLoginRedirectableUrlType = _publicGetLoginRedirectableUrlType;
4752
- type context__publicGetProjectsType = _publicGetProjectsType;
4753
- type context__publicGetSyncStatusType = _publicGetSyncStatusType;
4754
- type context__publicStopSyncType = _publicStopSyncType;
4755
- type context__publicSyncProjectType = _publicSyncProjectType;
4756
4938
  declare const context_getLoginRedirectableUrl: typeof getLoginRedirectableUrl;
4757
4939
  declare const context_getProjects: typeof getProjects;
4758
4940
  declare const context_getSyncStatus: typeof getSyncStatus;
4759
4941
  declare const context_stopSync: typeof stopSync;
4760
4942
  declare const context_syncProject: typeof syncProject;
4761
4943
  declare namespace context {
4762
- export { type context_ActionEvent as ActionEvent, type context_Asset as Asset, type context_CursorPaging as CursorPaging, type context_Cursors as Cursors, type context_DeleteContext as DeleteContext, context_DeleteStatus as DeleteStatus, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_GetLoginRedirectableUrlRequest as GetLoginRedirectableUrlRequest, type context_GetLoginRedirectableUrlResponse as GetLoginRedirectableUrlResponse, type context_GetLoginRedirectableUrlResponseNonNullableFields as GetLoginRedirectableUrlResponseNonNullableFields, type context_GetProjectsOptions as GetProjectsOptions, type context_GetProjectsRequest as GetProjectsRequest, type context_GetProjectsResponse as GetProjectsResponse, type context_GetProjectsResponseNonNullableFields as GetProjectsResponseNonNullableFields, type context_GetSyncStatusIdentifiers as GetSyncStatusIdentifiers, type context_GetSyncStatusRequest as GetSyncStatusRequest, type context_GetSyncStatusResponse as GetSyncStatusResponse, type context_GetSyncStatusResponseNonNullableFields as GetSyncStatusResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ItemCreatedMediaCallbackRequest as ItemCreatedMediaCallbackRequest, type context_ItemCreatedMediaCallbackResponse as ItemCreatedMediaCallbackResponse, type context_MediaFileOutput as MediaFileOutput, type context_MediaImageOutput as MediaImageOutput, type context_MediaVideoOutput as MediaVideoOutput, type context_MessageEnvelope as MessageEnvelope, type context_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, context_Namespace as Namespace, type context_NamespaceChanged as NamespaceChanged, type context_PagingMetadataV2 as PagingMetadataV2, type context_ProjectCoverImageCreatedMediaCallbackRequest as ProjectCoverImageCreatedMediaCallbackRequest, type context_ProjectCoverImageCreatedMediaCallbackResponse as ProjectCoverImageCreatedMediaCallbackResponse, type context_RestoreInfo as RestoreInfo, type context_ServiceProvisioned as ServiceProvisioned, type context_ServiceRemoved as ServiceRemoved, type context_SiteCreated as SiteCreated, context_SiteCreatedContext as SiteCreatedContext, type context_SiteDeleted as SiteDeleted, type context_SiteHardDeleted as SiteHardDeleted, type context_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context_SitePublished as SitePublished, type context_SiteRenamed as SiteRenamed, type context_SiteTransferred as SiteTransferred, type context_SiteUndeleted as SiteUndeleted, type context_SiteUnpublished as SiteUnpublished, context_State as State, type context_StopSyncIdentifiers as StopSyncIdentifiers, type context_StopSyncRequest as StopSyncRequest, type context_StopSyncResponse as StopSyncResponse, type context_StopSyncResponseNonNullableFields as StopSyncResponseNonNullableFields, type context_StudioAssigned as StudioAssigned, type context_StudioUnassigned as StudioUnassigned, type context_SyncAllSitesEvent as SyncAllSitesEvent, type context_SyncProjectIdentifiers as SyncProjectIdentifiers, type context_SyncProjectPagingEvent as SyncProjectPagingEvent, type context_SyncProjectRequest as SyncProjectRequest, type context_SyncProjectResponse as SyncProjectResponse, type context_SyncProjectResponseNonNullableFields as SyncProjectResponseNonNullableFields, type context_SyncSiteEvent as SyncSiteEvent, context_SyncStatus as SyncStatus, type context_SyncedProject as SyncedProject, type context_SyncingProjectEvent as SyncingProjectEvent, context_WebhookIdentityType as WebhookIdentityType, type context__publicGetLoginRedirectableUrlType as _publicGetLoginRedirectableUrlType, type context__publicGetProjectsType as _publicGetProjectsType, type context__publicGetSyncStatusType as _publicGetSyncStatusType, type context__publicStopSyncType as _publicStopSyncType, type context__publicSyncProjectType as _publicSyncProjectType, context_getLoginRedirectableUrl as getLoginRedirectableUrl, context_getProjects as getProjects, context_getSyncStatus as getSyncStatus, context_stopSync as stopSync, context_syncProject as syncProject };
4944
+ export { type context_ActionEvent as ActionEvent, type context_Asset as Asset, type context_CursorPaging as CursorPaging, type context_Cursors as Cursors, type context_DeleteContext as DeleteContext, context_DeleteStatus as DeleteStatus, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_GetLoginRedirectableUrlRequest as GetLoginRedirectableUrlRequest, type context_GetLoginRedirectableUrlResponse as GetLoginRedirectableUrlResponse, type context_GetLoginRedirectableUrlResponseNonNullableFields as GetLoginRedirectableUrlResponseNonNullableFields, type context_GetProjectsOptions as GetProjectsOptions, type context_GetProjectsRequest as GetProjectsRequest, type context_GetProjectsResponse as GetProjectsResponse, type context_GetProjectsResponseNonNullableFields as GetProjectsResponseNonNullableFields, type context_GetSyncStatusIdentifiers as GetSyncStatusIdentifiers, type context_GetSyncStatusRequest as GetSyncStatusRequest, type context_GetSyncStatusResponse as GetSyncStatusResponse, type context_GetSyncStatusResponseNonNullableFields as GetSyncStatusResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ItemCreatedMediaCallbackRequest as ItemCreatedMediaCallbackRequest, type context_ItemCreatedMediaCallbackResponse as ItemCreatedMediaCallbackResponse, type context_MediaFileOutput as MediaFileOutput, type context_MediaImageOutput as MediaImageOutput, type context_MediaVideoOutput as MediaVideoOutput, type context_MessageEnvelope as MessageEnvelope, type context_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, context_Namespace as Namespace, type context_NamespaceChanged as NamespaceChanged, type context_PagingMetadataV2 as PagingMetadataV2, type context_ProjectCoverImageCreatedMediaCallbackRequest as ProjectCoverImageCreatedMediaCallbackRequest, type context_ProjectCoverImageCreatedMediaCallbackResponse as ProjectCoverImageCreatedMediaCallbackResponse, type context_RestoreInfo as RestoreInfo, type context_ServiceProvisioned as ServiceProvisioned, type context_ServiceRemoved as ServiceRemoved, type context_SiteCreated as SiteCreated, context_SiteCreatedContext as SiteCreatedContext, type context_SiteDeleted as SiteDeleted, type context_SiteHardDeleted as SiteHardDeleted, type context_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context_SitePublished as SitePublished, type context_SiteRenamed as SiteRenamed, type context_SiteTransferred as SiteTransferred, type context_SiteUndeleted as SiteUndeleted, type context_SiteUnpublished as SiteUnpublished, context_State as State, type context_StopSyncIdentifiers as StopSyncIdentifiers, type context_StopSyncRequest as StopSyncRequest, type context_StopSyncResponse as StopSyncResponse, type context_StopSyncResponseNonNullableFields as StopSyncResponseNonNullableFields, type context_StudioAssigned as StudioAssigned, type context_StudioUnassigned as StudioUnassigned, type context_SyncAllSitesEvent as SyncAllSitesEvent, type context_SyncProjectIdentifiers as SyncProjectIdentifiers, type context_SyncProjectPagingEvent as SyncProjectPagingEvent, type context_SyncProjectRequest as SyncProjectRequest, type context_SyncProjectResponse as SyncProjectResponse, type context_SyncProjectResponseNonNullableFields as SyncProjectResponseNonNullableFields, type context_SyncSiteEvent as SyncSiteEvent, context_SyncStatus as SyncStatus, type context_SyncedProject as SyncedProject, type context_SyncingProjectEvent as SyncingProjectEvent, context_WebhookIdentityType as WebhookIdentityType, context_getLoginRedirectableUrl as getLoginRedirectableUrl, context_getProjects as getProjects, context_getSyncStatus as getSyncStatus, context_stopSync as stopSync, context_syncProject as syncProject };
4763
4945
  }
4764
4946
 
4765
4947
  export { context$5 as collections, context$4 as portfolioSettings, context$1 as projectInCollections, context$3 as projectItems, context$2 as projects, context as syncedProject };