@wix/portfolio 1.0.64 → 1.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/context.d.ts +1 -0
- package/build/cjs/context.js +2 -1
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +2 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +1 -0
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +1 -0
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +1 -0
- package/build/es/meta.js.map +1 -1
- package/package.json +6 -5
- package/type-bundles/context.bundle.d.ts +206 -42
- package/type-bundles/index.bundle.d.ts +564 -261
- package/type-bundles/meta.bundle.d.ts +399 -17
|
@@ -122,11 +122,11 @@ interface Settings$2 {
|
|
|
122
122
|
/** User-selected keyword terms for a specific page. */
|
|
123
123
|
keywords?: Keyword$2[];
|
|
124
124
|
}
|
|
125
|
-
interface DomainEvent$
|
|
126
|
-
createdEvent?: EntityCreatedEvent$
|
|
127
|
-
updatedEvent?: EntityUpdatedEvent$
|
|
128
|
-
deletedEvent?: EntityDeletedEvent$
|
|
129
|
-
actionEvent?: ActionEvent$
|
|
125
|
+
interface DomainEvent$4 extends DomainEventBodyOneOf$4 {
|
|
126
|
+
createdEvent?: EntityCreatedEvent$4;
|
|
127
|
+
updatedEvent?: EntityUpdatedEvent$4;
|
|
128
|
+
deletedEvent?: EntityDeletedEvent$4;
|
|
129
|
+
actionEvent?: ActionEvent$4;
|
|
130
130
|
/**
|
|
131
131
|
* Unique event ID.
|
|
132
132
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -165,16 +165,16 @@ interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
|
|
|
165
165
|
entityEventSequence?: string | null;
|
|
166
166
|
}
|
|
167
167
|
/** @oneof */
|
|
168
|
-
interface DomainEventBodyOneOf$
|
|
169
|
-
createdEvent?: EntityCreatedEvent$
|
|
170
|
-
updatedEvent?: EntityUpdatedEvent$
|
|
171
|
-
deletedEvent?: EntityDeletedEvent$
|
|
172
|
-
actionEvent?: ActionEvent$
|
|
168
|
+
interface DomainEventBodyOneOf$4 {
|
|
169
|
+
createdEvent?: EntityCreatedEvent$4;
|
|
170
|
+
updatedEvent?: EntityUpdatedEvent$4;
|
|
171
|
+
deletedEvent?: EntityDeletedEvent$4;
|
|
172
|
+
actionEvent?: ActionEvent$4;
|
|
173
173
|
}
|
|
174
|
-
interface EntityCreatedEvent$
|
|
174
|
+
interface EntityCreatedEvent$4 {
|
|
175
175
|
entity?: string;
|
|
176
176
|
}
|
|
177
|
-
interface EntityUpdatedEvent$
|
|
177
|
+
interface EntityUpdatedEvent$4 {
|
|
178
178
|
/**
|
|
179
179
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
180
180
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -182,11 +182,11 @@ interface EntityUpdatedEvent$3 {
|
|
|
182
182
|
*/
|
|
183
183
|
currentEntity?: string;
|
|
184
184
|
}
|
|
185
|
-
interface EntityDeletedEvent$
|
|
185
|
+
interface EntityDeletedEvent$4 {
|
|
186
186
|
/** Entity that was deleted */
|
|
187
187
|
deletedEntity?: string | null;
|
|
188
188
|
}
|
|
189
|
-
interface ActionEvent$
|
|
189
|
+
interface ActionEvent$4 {
|
|
190
190
|
body?: string;
|
|
191
191
|
}
|
|
192
192
|
interface Empty$2 {
|
|
@@ -385,17 +385,17 @@ interface QueryCollectionsResponse {
|
|
|
385
385
|
/** Paging metadata */
|
|
386
386
|
metadata?: PagingMetadataV2$3;
|
|
387
387
|
}
|
|
388
|
-
interface MessageEnvelope$
|
|
388
|
+
interface MessageEnvelope$4 {
|
|
389
389
|
/** App instance ID. */
|
|
390
390
|
instanceId?: string | null;
|
|
391
391
|
/** Event type. */
|
|
392
392
|
eventType?: string;
|
|
393
393
|
/** The identification type and identity data. */
|
|
394
|
-
identity?: IdentificationData$
|
|
394
|
+
identity?: IdentificationData$4;
|
|
395
395
|
/** Stringify payload. */
|
|
396
396
|
data?: string;
|
|
397
397
|
}
|
|
398
|
-
interface IdentificationData$
|
|
398
|
+
interface IdentificationData$4 extends IdentificationDataIdOneOf$4 {
|
|
399
399
|
/** ID of a site visitor that has not logged in to the site. */
|
|
400
400
|
anonymousVisitorId?: string;
|
|
401
401
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -405,10 +405,10 @@ interface IdentificationData$3 extends IdentificationDataIdOneOf$3 {
|
|
|
405
405
|
/** ID of an app. */
|
|
406
406
|
appId?: string;
|
|
407
407
|
/** @readonly */
|
|
408
|
-
identityType?: WebhookIdentityType$
|
|
408
|
+
identityType?: WebhookIdentityType$4;
|
|
409
409
|
}
|
|
410
410
|
/** @oneof */
|
|
411
|
-
interface IdentificationDataIdOneOf$
|
|
411
|
+
interface IdentificationDataIdOneOf$4 {
|
|
412
412
|
/** ID of a site visitor that has not logged in to the site. */
|
|
413
413
|
anonymousVisitorId?: string;
|
|
414
414
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -418,7 +418,7 @@ interface IdentificationDataIdOneOf$3 {
|
|
|
418
418
|
/** ID of an app. */
|
|
419
419
|
appId?: string;
|
|
420
420
|
}
|
|
421
|
-
declare enum WebhookIdentityType$
|
|
421
|
+
declare enum WebhookIdentityType$4 {
|
|
422
422
|
UNKNOWN = "UNKNOWN",
|
|
423
423
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
424
424
|
MEMBER = "MEMBER",
|
|
@@ -569,7 +569,7 @@ interface BaseEventMetadata$3 {
|
|
|
569
569
|
/** Event type. */
|
|
570
570
|
eventType?: string;
|
|
571
571
|
/** The identification type and identity data. */
|
|
572
|
-
identity?: IdentificationData$
|
|
572
|
+
identity?: IdentificationData$4;
|
|
573
573
|
}
|
|
574
574
|
interface EventMetadata$3 extends BaseEventMetadata$3 {
|
|
575
575
|
/**
|
|
@@ -778,7 +778,7 @@ type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
|
778
778
|
};
|
|
779
779
|
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
780
780
|
|
|
781
|
-
declare const __metadata$
|
|
781
|
+
declare const __metadata$4: {
|
|
782
782
|
PACKAGE_NAME: string;
|
|
783
783
|
};
|
|
784
784
|
declare function createCollection(httpClient: HttpClient): (collection: Collection) => Promise<Collection & {
|
|
@@ -863,46 +863,255 @@ declare const onCollectionCreated: EventDefinition<CollectionCreatedEnvelope, "w
|
|
|
863
863
|
declare const onCollectionUpdated: EventDefinition<CollectionUpdatedEnvelope, "wix.portfolio.collections.v1.collection_updated">;
|
|
864
864
|
declare const onCollectionDeleted: EventDefinition<CollectionDeletedEnvelope, "wix.portfolio.collections.v1.collection_deleted">;
|
|
865
865
|
|
|
866
|
-
type index_d$
|
|
867
|
-
type index_d$
|
|
868
|
-
type index_d$
|
|
869
|
-
type index_d$
|
|
870
|
-
type index_d$
|
|
871
|
-
type index_d$
|
|
872
|
-
type index_d$
|
|
873
|
-
type index_d$
|
|
874
|
-
type index_d$
|
|
875
|
-
type index_d$
|
|
876
|
-
type index_d$
|
|
877
|
-
type index_d$
|
|
878
|
-
type index_d$
|
|
879
|
-
type index_d$
|
|
880
|
-
type index_d$
|
|
881
|
-
type index_d$
|
|
882
|
-
type index_d$
|
|
883
|
-
type index_d$
|
|
884
|
-
type index_d$
|
|
885
|
-
type index_d$
|
|
886
|
-
type index_d$
|
|
887
|
-
type index_d$
|
|
888
|
-
type index_d$
|
|
889
|
-
type index_d$
|
|
890
|
-
type index_d$
|
|
891
|
-
type index_d$
|
|
892
|
-
type index_d$
|
|
893
|
-
type index_d$
|
|
894
|
-
type index_d$
|
|
895
|
-
declare const index_d$
|
|
896
|
-
declare const index_d$
|
|
897
|
-
declare const index_d$
|
|
898
|
-
declare const index_d$
|
|
899
|
-
declare const index_d$
|
|
900
|
-
declare const index_d$
|
|
901
|
-
declare const index_d$
|
|
902
|
-
declare const index_d$
|
|
903
|
-
declare const index_d$
|
|
866
|
+
type index_d$4_AdminRemoveMenuItemsResponse = AdminRemoveMenuItemsResponse;
|
|
867
|
+
type index_d$4_Collection = Collection;
|
|
868
|
+
type index_d$4_CollectionCreatedEnvelope = CollectionCreatedEnvelope;
|
|
869
|
+
type index_d$4_CollectionDeletedEnvelope = CollectionDeletedEnvelope;
|
|
870
|
+
type index_d$4_CollectionUpdatedEnvelope = CollectionUpdatedEnvelope;
|
|
871
|
+
type index_d$4_CollectionsQueryBuilder = CollectionsQueryBuilder;
|
|
872
|
+
type index_d$4_CollectionsQueryResult = CollectionsQueryResult;
|
|
873
|
+
type index_d$4_CreateCollectionRequest = CreateCollectionRequest;
|
|
874
|
+
type index_d$4_CreateCollectionResponse = CreateCollectionResponse;
|
|
875
|
+
type index_d$4_CreateCollectionResponseNonNullableFields = CreateCollectionResponseNonNullableFields;
|
|
876
|
+
type index_d$4_DeleteCollectionRequest = DeleteCollectionRequest;
|
|
877
|
+
type index_d$4_DeleteCollectionResponse = DeleteCollectionResponse;
|
|
878
|
+
type index_d$4_DeleteCollectionResponseNonNullableFields = DeleteCollectionResponseNonNullableFields;
|
|
879
|
+
type index_d$4_GetCollectionOptions = GetCollectionOptions;
|
|
880
|
+
type index_d$4_GetCollectionRequest = GetCollectionRequest;
|
|
881
|
+
type index_d$4_GetCollectionResponse = GetCollectionResponse;
|
|
882
|
+
type index_d$4_GetCollectionResponseNonNullableFields = GetCollectionResponseNonNullableFields;
|
|
883
|
+
type index_d$4_ListCollectionsOptions = ListCollectionsOptions;
|
|
884
|
+
type index_d$4_ListCollectionsRequest = ListCollectionsRequest;
|
|
885
|
+
type index_d$4_ListCollectionsResponse = ListCollectionsResponse;
|
|
886
|
+
type index_d$4_ListCollectionsResponseNonNullableFields = ListCollectionsResponseNonNullableFields;
|
|
887
|
+
type index_d$4_QueryCollectionsOptions = QueryCollectionsOptions;
|
|
888
|
+
type index_d$4_QueryCollectionsRequest = QueryCollectionsRequest;
|
|
889
|
+
type index_d$4_QueryCollectionsResponse = QueryCollectionsResponse;
|
|
890
|
+
type index_d$4_QueryCollectionsResponseNonNullableFields = QueryCollectionsResponseNonNullableFields;
|
|
891
|
+
type index_d$4_UpdateCollection = UpdateCollection;
|
|
892
|
+
type index_d$4_UpdateCollectionRequest = UpdateCollectionRequest;
|
|
893
|
+
type index_d$4_UpdateCollectionResponse = UpdateCollectionResponse;
|
|
894
|
+
type index_d$4_UpdateCollectionResponseNonNullableFields = UpdateCollectionResponseNonNullableFields;
|
|
895
|
+
declare const index_d$4_createCollection: typeof createCollection;
|
|
896
|
+
declare const index_d$4_deleteCollection: typeof deleteCollection;
|
|
897
|
+
declare const index_d$4_getCollection: typeof getCollection;
|
|
898
|
+
declare const index_d$4_listCollections: typeof listCollections;
|
|
899
|
+
declare const index_d$4_onCollectionCreated: typeof onCollectionCreated;
|
|
900
|
+
declare const index_d$4_onCollectionDeleted: typeof onCollectionDeleted;
|
|
901
|
+
declare const index_d$4_onCollectionUpdated: typeof onCollectionUpdated;
|
|
902
|
+
declare const index_d$4_queryCollections: typeof queryCollections;
|
|
903
|
+
declare const index_d$4_updateCollection: typeof updateCollection;
|
|
904
|
+
declare namespace index_d$4 {
|
|
905
|
+
export { type ActionEvent$4 as ActionEvent, type index_d$4_AdminRemoveMenuItemsResponse as AdminRemoveMenuItemsResponse, type App$2 as App, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$4_Collection as Collection, type index_d$4_CollectionCreatedEnvelope as CollectionCreatedEnvelope, type index_d$4_CollectionDeletedEnvelope as CollectionDeletedEnvelope, type index_d$4_CollectionUpdatedEnvelope as CollectionUpdatedEnvelope, type index_d$4_CollectionsQueryBuilder as CollectionsQueryBuilder, type index_d$4_CollectionsQueryResult as CollectionsQueryResult, type index_d$4_CreateCollectionRequest as CreateCollectionRequest, type index_d$4_CreateCollectionResponse as CreateCollectionResponse, type index_d$4_CreateCollectionResponseNonNullableFields as CreateCollectionResponseNonNullableFields, type CursorPaging$3 as CursorPaging, type Cursors$3 as Cursors, type index_d$4_DeleteCollectionRequest as DeleteCollectionRequest, type index_d$4_DeleteCollectionResponse as DeleteCollectionResponse, type index_d$4_DeleteCollectionResponseNonNullableFields as DeleteCollectionResponseNonNullableFields, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$3 as EventMetadata, type File$2 as File, type index_d$4_GetCollectionOptions as GetCollectionOptions, type index_d$4_GetCollectionRequest as GetCollectionRequest, type index_d$4_GetCollectionResponse as GetCollectionResponse, type index_d$4_GetCollectionResponseNonNullableFields as GetCollectionResponseNonNullableFields, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, type Image$3 as Image, ImageType$3 as ImageType, type InvalidateCache$2 as InvalidateCache, type InvalidateCacheGetByOneOf$2 as InvalidateCacheGetByOneOf, type Keyword$2 as Keyword, type index_d$4_ListCollectionsOptions as ListCollectionsOptions, type index_d$4_ListCollectionsRequest as ListCollectionsRequest, type index_d$4_ListCollectionsResponse as ListCollectionsResponse, type index_d$4_ListCollectionsResponseNonNullableFields as ListCollectionsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type Page$2 as Page, type Paging$3 as Paging, type PagingMetadataV2$3 as PagingMetadataV2, type Point$3 as Point, type index_d$4_QueryCollectionsOptions as QueryCollectionsOptions, type index_d$4_QueryCollectionsRequest as QueryCollectionsRequest, type index_d$4_QueryCollectionsResponse as QueryCollectionsResponse, type index_d$4_QueryCollectionsResponseNonNullableFields as QueryCollectionsResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, type SeoSchema$2 as SeoSchema, type Settings$2 as Settings, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type Tag$2 as Tag, type URI$2 as URI, type UnsharpMasking$3 as UnsharpMasking, type index_d$4_UpdateCollection as UpdateCollection, type index_d$4_UpdateCollectionRequest as UpdateCollectionRequest, type index_d$4_UpdateCollectionResponse as UpdateCollectionResponse, type index_d$4_UpdateCollectionResponseNonNullableFields as UpdateCollectionResponseNonNullableFields, WebhookIdentityType$4 as WebhookIdentityType, __metadata$4 as __metadata, index_d$4_createCollection as createCollection, index_d$4_deleteCollection as deleteCollection, index_d$4_getCollection as getCollection, index_d$4_listCollections as listCollections, index_d$4_onCollectionCreated as onCollectionCreated, index_d$4_onCollectionDeleted as onCollectionDeleted, index_d$4_onCollectionUpdated as onCollectionUpdated, index_d$4_queryCollections as queryCollections, index_d$4_updateCollection as updateCollection };
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
interface PortfolioSettings {
|
|
909
|
+
revision?: string | null;
|
|
910
|
+
projectItemSettings?: ProjectItemSettings;
|
|
911
|
+
mediaSettings?: MediaSettings;
|
|
912
|
+
siteMenuSettings?: SiteMenuSettings;
|
|
913
|
+
}
|
|
914
|
+
interface ProjectItemSettings {
|
|
915
|
+
addItemDirection?: AddItemDirection;
|
|
916
|
+
defaultItemName?: DefaultItemName;
|
|
917
|
+
}
|
|
918
|
+
declare enum AddItemDirection {
|
|
919
|
+
GALLERY_START = "GALLERY_START",
|
|
920
|
+
GALLERY_END = "GALLERY_END"
|
|
921
|
+
}
|
|
922
|
+
declare enum DefaultItemName {
|
|
923
|
+
FILE_NAME = "FILE_NAME",
|
|
924
|
+
EMPTY = "EMPTY"
|
|
925
|
+
}
|
|
926
|
+
interface MediaSettings {
|
|
927
|
+
folderId?: string | null;
|
|
928
|
+
}
|
|
929
|
+
interface SiteMenuSettings {
|
|
930
|
+
autoUpdateMenu?: boolean | null;
|
|
931
|
+
}
|
|
932
|
+
interface CreatePortfolioSettingsRequest {
|
|
933
|
+
portfolioSettings: PortfolioSettings;
|
|
934
|
+
}
|
|
935
|
+
interface CreatePortfolioSettingsResponse {
|
|
936
|
+
portfolioSettings?: PortfolioSettings;
|
|
937
|
+
}
|
|
938
|
+
interface GetPortfolioSettingsRequest {
|
|
939
|
+
}
|
|
940
|
+
interface GetPortfolioSettingsResponse {
|
|
941
|
+
portfolioSettings?: PortfolioSettings;
|
|
942
|
+
}
|
|
943
|
+
interface UpdatePortfolioSettingsRequest {
|
|
944
|
+
portfolioSettings: PortfolioSettings;
|
|
945
|
+
}
|
|
946
|
+
interface UpdatePortfolioSettingsResponse {
|
|
947
|
+
updatedPortfolioSettings?: PortfolioSettings;
|
|
948
|
+
}
|
|
949
|
+
interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
|
|
950
|
+
createdEvent?: EntityCreatedEvent$3;
|
|
951
|
+
updatedEvent?: EntityUpdatedEvent$3;
|
|
952
|
+
deletedEvent?: EntityDeletedEvent$3;
|
|
953
|
+
actionEvent?: ActionEvent$3;
|
|
954
|
+
/**
|
|
955
|
+
* Unique event ID.
|
|
956
|
+
* Allows clients to ignore duplicate webhooks.
|
|
957
|
+
*/
|
|
958
|
+
_id?: string;
|
|
959
|
+
/**
|
|
960
|
+
* Assumes actions are also always typed to an entity_type
|
|
961
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
962
|
+
*/
|
|
963
|
+
entityFqdn?: string;
|
|
964
|
+
/**
|
|
965
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
966
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
967
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
968
|
+
*/
|
|
969
|
+
slug?: string;
|
|
970
|
+
/** ID of the entity associated with the event. */
|
|
971
|
+
entityId?: string;
|
|
972
|
+
/** Event timestamp. */
|
|
973
|
+
eventTime?: Date;
|
|
974
|
+
/**
|
|
975
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
976
|
+
* (for example, GDPR).
|
|
977
|
+
*/
|
|
978
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
979
|
+
/** If present, indicates the action that triggered the event. */
|
|
980
|
+
originatedFrom?: string | null;
|
|
981
|
+
/**
|
|
982
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
983
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
984
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
985
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
986
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
987
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
988
|
+
*/
|
|
989
|
+
entityEventSequence?: string | null;
|
|
990
|
+
}
|
|
991
|
+
/** @oneof */
|
|
992
|
+
interface DomainEventBodyOneOf$3 {
|
|
993
|
+
createdEvent?: EntityCreatedEvent$3;
|
|
994
|
+
updatedEvent?: EntityUpdatedEvent$3;
|
|
995
|
+
deletedEvent?: EntityDeletedEvent$3;
|
|
996
|
+
actionEvent?: ActionEvent$3;
|
|
997
|
+
}
|
|
998
|
+
interface EntityCreatedEvent$3 {
|
|
999
|
+
entity?: string;
|
|
1000
|
+
}
|
|
1001
|
+
interface EntityUpdatedEvent$3 {
|
|
1002
|
+
/**
|
|
1003
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1004
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1005
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1006
|
+
*/
|
|
1007
|
+
currentEntity?: string;
|
|
1008
|
+
}
|
|
1009
|
+
interface EntityDeletedEvent$3 {
|
|
1010
|
+
/** Entity that was deleted */
|
|
1011
|
+
deletedEntity?: string | null;
|
|
1012
|
+
}
|
|
1013
|
+
interface ActionEvent$3 {
|
|
1014
|
+
body?: string;
|
|
1015
|
+
}
|
|
1016
|
+
interface MessageEnvelope$3 {
|
|
1017
|
+
/** App instance ID. */
|
|
1018
|
+
instanceId?: string | null;
|
|
1019
|
+
/** Event type. */
|
|
1020
|
+
eventType?: string;
|
|
1021
|
+
/** The identification type and identity data. */
|
|
1022
|
+
identity?: IdentificationData$3;
|
|
1023
|
+
/** Stringify payload. */
|
|
1024
|
+
data?: string;
|
|
1025
|
+
}
|
|
1026
|
+
interface IdentificationData$3 extends IdentificationDataIdOneOf$3 {
|
|
1027
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
1028
|
+
anonymousVisitorId?: string;
|
|
1029
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
1030
|
+
memberId?: string;
|
|
1031
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
1032
|
+
wixUserId?: string;
|
|
1033
|
+
/** ID of an app. */
|
|
1034
|
+
appId?: string;
|
|
1035
|
+
/** @readonly */
|
|
1036
|
+
identityType?: WebhookIdentityType$3;
|
|
1037
|
+
}
|
|
1038
|
+
/** @oneof */
|
|
1039
|
+
interface IdentificationDataIdOneOf$3 {
|
|
1040
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
1041
|
+
anonymousVisitorId?: string;
|
|
1042
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
1043
|
+
memberId?: string;
|
|
1044
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
1045
|
+
wixUserId?: string;
|
|
1046
|
+
/** ID of an app. */
|
|
1047
|
+
appId?: string;
|
|
1048
|
+
}
|
|
1049
|
+
declare enum WebhookIdentityType$3 {
|
|
1050
|
+
UNKNOWN = "UNKNOWN",
|
|
1051
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1052
|
+
MEMBER = "MEMBER",
|
|
1053
|
+
WIX_USER = "WIX_USER",
|
|
1054
|
+
APP = "APP"
|
|
1055
|
+
}
|
|
1056
|
+
interface CreatePortfolioSettingsResponseNonNullableFields {
|
|
1057
|
+
portfolioSettings?: {
|
|
1058
|
+
projectItemSettings?: {
|
|
1059
|
+
addItemDirection: AddItemDirection;
|
|
1060
|
+
defaultItemName: DefaultItemName;
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
}
|
|
1064
|
+
interface GetPortfolioSettingsResponseNonNullableFields {
|
|
1065
|
+
portfolioSettings?: {
|
|
1066
|
+
projectItemSettings?: {
|
|
1067
|
+
addItemDirection: AddItemDirection;
|
|
1068
|
+
defaultItemName: DefaultItemName;
|
|
1069
|
+
};
|
|
1070
|
+
};
|
|
1071
|
+
}
|
|
1072
|
+
interface UpdatePortfolioSettingsResponseNonNullableFields {
|
|
1073
|
+
updatedPortfolioSettings?: {
|
|
1074
|
+
projectItemSettings?: {
|
|
1075
|
+
addItemDirection: AddItemDirection;
|
|
1076
|
+
defaultItemName: DefaultItemName;
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
declare const __metadata$3: {
|
|
1082
|
+
PACKAGE_NAME: string;
|
|
1083
|
+
};
|
|
1084
|
+
declare function createPortfolioSettings(httpClient: HttpClient): (portfolioSettings: PortfolioSettings) => Promise<PortfolioSettings & {
|
|
1085
|
+
projectItemSettings?: {
|
|
1086
|
+
addItemDirection: AddItemDirection;
|
|
1087
|
+
defaultItemName: DefaultItemName;
|
|
1088
|
+
} | undefined;
|
|
1089
|
+
}>;
|
|
1090
|
+
declare function getPortfolioSettings(httpClient: HttpClient): () => Promise<GetPortfolioSettingsResponse & GetPortfolioSettingsResponseNonNullableFields>;
|
|
1091
|
+
declare function updatePortfolioSettings(httpClient: HttpClient): (portfolioSettings: PortfolioSettings) => Promise<UpdatePortfolioSettingsResponse & UpdatePortfolioSettingsResponseNonNullableFields>;
|
|
1092
|
+
|
|
1093
|
+
type index_d$3_AddItemDirection = AddItemDirection;
|
|
1094
|
+
declare const index_d$3_AddItemDirection: typeof AddItemDirection;
|
|
1095
|
+
type index_d$3_CreatePortfolioSettingsRequest = CreatePortfolioSettingsRequest;
|
|
1096
|
+
type index_d$3_CreatePortfolioSettingsResponse = CreatePortfolioSettingsResponse;
|
|
1097
|
+
type index_d$3_CreatePortfolioSettingsResponseNonNullableFields = CreatePortfolioSettingsResponseNonNullableFields;
|
|
1098
|
+
type index_d$3_DefaultItemName = DefaultItemName;
|
|
1099
|
+
declare const index_d$3_DefaultItemName: typeof DefaultItemName;
|
|
1100
|
+
type index_d$3_GetPortfolioSettingsRequest = GetPortfolioSettingsRequest;
|
|
1101
|
+
type index_d$3_GetPortfolioSettingsResponse = GetPortfolioSettingsResponse;
|
|
1102
|
+
type index_d$3_GetPortfolioSettingsResponseNonNullableFields = GetPortfolioSettingsResponseNonNullableFields;
|
|
1103
|
+
type index_d$3_MediaSettings = MediaSettings;
|
|
1104
|
+
type index_d$3_PortfolioSettings = PortfolioSettings;
|
|
1105
|
+
type index_d$3_ProjectItemSettings = ProjectItemSettings;
|
|
1106
|
+
type index_d$3_SiteMenuSettings = SiteMenuSettings;
|
|
1107
|
+
type index_d$3_UpdatePortfolioSettingsRequest = UpdatePortfolioSettingsRequest;
|
|
1108
|
+
type index_d$3_UpdatePortfolioSettingsResponse = UpdatePortfolioSettingsResponse;
|
|
1109
|
+
type index_d$3_UpdatePortfolioSettingsResponseNonNullableFields = UpdatePortfolioSettingsResponseNonNullableFields;
|
|
1110
|
+
declare const index_d$3_createPortfolioSettings: typeof createPortfolioSettings;
|
|
1111
|
+
declare const index_d$3_getPortfolioSettings: typeof getPortfolioSettings;
|
|
1112
|
+
declare const index_d$3_updatePortfolioSettings: typeof updatePortfolioSettings;
|
|
904
1113
|
declare namespace index_d$3 {
|
|
905
|
-
export { type ActionEvent$3 as ActionEvent,
|
|
1114
|
+
export { type ActionEvent$3 as ActionEvent, index_d$3_AddItemDirection as AddItemDirection, type index_d$3_CreatePortfolioSettingsRequest as CreatePortfolioSettingsRequest, type index_d$3_CreatePortfolioSettingsResponse as CreatePortfolioSettingsResponse, type index_d$3_CreatePortfolioSettingsResponseNonNullableFields as CreatePortfolioSettingsResponseNonNullableFields, index_d$3_DefaultItemName as DefaultItemName, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type index_d$3_GetPortfolioSettingsRequest as GetPortfolioSettingsRequest, type index_d$3_GetPortfolioSettingsResponse as GetPortfolioSettingsResponse, type index_d$3_GetPortfolioSettingsResponseNonNullableFields as GetPortfolioSettingsResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$3_MediaSettings as MediaSettings, type MessageEnvelope$3 as MessageEnvelope, type index_d$3_PortfolioSettings as PortfolioSettings, type index_d$3_ProjectItemSettings as ProjectItemSettings, type index_d$3_SiteMenuSettings as SiteMenuSettings, type index_d$3_UpdatePortfolioSettingsRequest as UpdatePortfolioSettingsRequest, type index_d$3_UpdatePortfolioSettingsResponse as UpdatePortfolioSettingsResponse, type index_d$3_UpdatePortfolioSettingsResponseNonNullableFields as UpdatePortfolioSettingsResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, __metadata$3 as __metadata, index_d$3_createPortfolioSettings as createPortfolioSettings, index_d$3_getPortfolioSettings as getPortfolioSettings, index_d$3_updatePortfolioSettings as updatePortfolioSettings };
|
|
906
1115
|
}
|
|
907
1116
|
|
|
908
1117
|
/** ProjectItem is the main entity of ProjectItemsService */
|
|
@@ -1038,7 +1247,7 @@ interface Link {
|
|
|
1038
1247
|
}
|
|
1039
1248
|
interface GenerateTokenForProjectItemsRequest {
|
|
1040
1249
|
/** Media ids of requested project items */
|
|
1041
|
-
mediaIds
|
|
1250
|
+
mediaIds: string[];
|
|
1042
1251
|
}
|
|
1043
1252
|
interface GenerateTokenForProjectItemsResponse {
|
|
1044
1253
|
mediaTokens?: ProjectItemMediaToken[];
|
|
@@ -1049,6 +1258,113 @@ interface ProjectItemMediaToken {
|
|
|
1049
1258
|
/** Generated media token for project item */
|
|
1050
1259
|
mediaToken?: string;
|
|
1051
1260
|
}
|
|
1261
|
+
interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
|
|
1262
|
+
createdEvent?: EntityCreatedEvent$2;
|
|
1263
|
+
updatedEvent?: EntityUpdatedEvent$2;
|
|
1264
|
+
deletedEvent?: EntityDeletedEvent$2;
|
|
1265
|
+
actionEvent?: ActionEvent$2;
|
|
1266
|
+
/**
|
|
1267
|
+
* Unique event ID.
|
|
1268
|
+
* Allows clients to ignore duplicate webhooks.
|
|
1269
|
+
*/
|
|
1270
|
+
_id?: string;
|
|
1271
|
+
/**
|
|
1272
|
+
* Assumes actions are also always typed to an entity_type
|
|
1273
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
1274
|
+
*/
|
|
1275
|
+
entityFqdn?: string;
|
|
1276
|
+
/**
|
|
1277
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
1278
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
1279
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
1280
|
+
*/
|
|
1281
|
+
slug?: string;
|
|
1282
|
+
/** ID of the entity associated with the event. */
|
|
1283
|
+
entityId?: string;
|
|
1284
|
+
/** Event timestamp. */
|
|
1285
|
+
eventTime?: Date;
|
|
1286
|
+
/**
|
|
1287
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
1288
|
+
* (for example, GDPR).
|
|
1289
|
+
*/
|
|
1290
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
1291
|
+
/** If present, indicates the action that triggered the event. */
|
|
1292
|
+
originatedFrom?: string | null;
|
|
1293
|
+
/**
|
|
1294
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
1295
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
1296
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
1297
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
1298
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
1299
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
1300
|
+
*/
|
|
1301
|
+
entityEventSequence?: string | null;
|
|
1302
|
+
}
|
|
1303
|
+
/** @oneof */
|
|
1304
|
+
interface DomainEventBodyOneOf$2 {
|
|
1305
|
+
createdEvent?: EntityCreatedEvent$2;
|
|
1306
|
+
updatedEvent?: EntityUpdatedEvent$2;
|
|
1307
|
+
deletedEvent?: EntityDeletedEvent$2;
|
|
1308
|
+
actionEvent?: ActionEvent$2;
|
|
1309
|
+
}
|
|
1310
|
+
interface EntityCreatedEvent$2 {
|
|
1311
|
+
entity?: string;
|
|
1312
|
+
}
|
|
1313
|
+
interface EntityUpdatedEvent$2 {
|
|
1314
|
+
/**
|
|
1315
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1316
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1317
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1318
|
+
*/
|
|
1319
|
+
currentEntity?: string;
|
|
1320
|
+
}
|
|
1321
|
+
interface EntityDeletedEvent$2 {
|
|
1322
|
+
/** Entity that was deleted */
|
|
1323
|
+
deletedEntity?: string | null;
|
|
1324
|
+
}
|
|
1325
|
+
interface ActionEvent$2 {
|
|
1326
|
+
body?: string;
|
|
1327
|
+
}
|
|
1328
|
+
interface MessageEnvelope$2 {
|
|
1329
|
+
/** App instance ID. */
|
|
1330
|
+
instanceId?: string | null;
|
|
1331
|
+
/** Event type. */
|
|
1332
|
+
eventType?: string;
|
|
1333
|
+
/** The identification type and identity data. */
|
|
1334
|
+
identity?: IdentificationData$2;
|
|
1335
|
+
/** Stringify payload. */
|
|
1336
|
+
data?: string;
|
|
1337
|
+
}
|
|
1338
|
+
interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
|
|
1339
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
1340
|
+
anonymousVisitorId?: string;
|
|
1341
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
1342
|
+
memberId?: string;
|
|
1343
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
1344
|
+
wixUserId?: string;
|
|
1345
|
+
/** ID of an app. */
|
|
1346
|
+
appId?: string;
|
|
1347
|
+
/** @readonly */
|
|
1348
|
+
identityType?: WebhookIdentityType$2;
|
|
1349
|
+
}
|
|
1350
|
+
/** @oneof */
|
|
1351
|
+
interface IdentificationDataIdOneOf$2 {
|
|
1352
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
1353
|
+
anonymousVisitorId?: string;
|
|
1354
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
1355
|
+
memberId?: string;
|
|
1356
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
1357
|
+
wixUserId?: string;
|
|
1358
|
+
/** ID of an app. */
|
|
1359
|
+
appId?: string;
|
|
1360
|
+
}
|
|
1361
|
+
declare enum WebhookIdentityType$2 {
|
|
1362
|
+
UNKNOWN = "UNKNOWN",
|
|
1363
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1364
|
+
MEMBER = "MEMBER",
|
|
1365
|
+
WIX_USER = "WIX_USER",
|
|
1366
|
+
APP = "APP"
|
|
1367
|
+
}
|
|
1052
1368
|
interface InvalidateCache$1 extends InvalidateCacheGetByOneOf$1 {
|
|
1053
1369
|
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
|
1054
1370
|
metaSiteId?: string;
|
|
@@ -1302,100 +1618,33 @@ interface DeleteProjectItemResponse {
|
|
|
1302
1618
|
/** Id of the Project the item is part of */
|
|
1303
1619
|
projectId?: string;
|
|
1304
1620
|
/** Id of deleted item */
|
|
1305
|
-
itemId?: string;
|
|
1306
|
-
}
|
|
1307
|
-
interface BulkDeleteProjectItemsRequest {
|
|
1308
|
-
/** Ids of the items to be deleted */
|
|
1309
|
-
itemIds: string[];
|
|
1310
|
-
}
|
|
1311
|
-
interface BulkDeleteProjectItemsResponse {
|
|
1312
|
-
/** Array with all deleted items results */
|
|
1313
|
-
results?: BulkDeleteProjectItemResult[];
|
|
1314
|
-
/** Holds metadata of the entire bulk delete operation */
|
|
1315
|
-
bulkActionMetadata?: BulkActionMetadata$1;
|
|
1316
|
-
}
|
|
1317
|
-
interface BulkDeleteProjectItemResult {
|
|
1318
|
-
/** Holds information about an item in bulk delete - id, index in original request array, action successful, error (if failed) */
|
|
1319
|
-
itemMetadata?: ItemMetadata$1;
|
|
1320
|
-
/** Id of the ProjectItem */
|
|
1321
|
-
itemId?: string;
|
|
1322
|
-
}
|
|
1323
|
-
interface CreateProjectGalleryRequest {
|
|
1324
|
-
/** Id of Project to create */
|
|
1325
|
-
projectId?: string;
|
|
1326
|
-
}
|
|
1327
|
-
interface CreateProjectGalleryResponse {
|
|
1328
|
-
/** Id of created Project */
|
|
1329
|
-
projectId?: string;
|
|
1330
|
-
/** Id of created gallery */
|
|
1331
|
-
galleryId?: string;
|
|
1332
|
-
}
|
|
1333
|
-
interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
|
|
1334
|
-
createdEvent?: EntityCreatedEvent$2;
|
|
1335
|
-
updatedEvent?: EntityUpdatedEvent$2;
|
|
1336
|
-
deletedEvent?: EntityDeletedEvent$2;
|
|
1337
|
-
actionEvent?: ActionEvent$2;
|
|
1338
|
-
/**
|
|
1339
|
-
* Unique event ID.
|
|
1340
|
-
* Allows clients to ignore duplicate webhooks.
|
|
1341
|
-
*/
|
|
1342
|
-
_id?: string;
|
|
1343
|
-
/**
|
|
1344
|
-
* Assumes actions are also always typed to an entity_type
|
|
1345
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
1346
|
-
*/
|
|
1347
|
-
entityFqdn?: string;
|
|
1348
|
-
/**
|
|
1349
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
1350
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
1351
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
1352
|
-
*/
|
|
1353
|
-
slug?: string;
|
|
1354
|
-
/** ID of the entity associated with the event. */
|
|
1355
|
-
entityId?: string;
|
|
1356
|
-
/** Event timestamp. */
|
|
1357
|
-
eventTime?: Date;
|
|
1358
|
-
/**
|
|
1359
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
1360
|
-
* (for example, GDPR).
|
|
1361
|
-
*/
|
|
1362
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
1363
|
-
/** If present, indicates the action that triggered the event. */
|
|
1364
|
-
originatedFrom?: string | null;
|
|
1365
|
-
/**
|
|
1366
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
1367
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
1368
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
1369
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
1370
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
1371
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
1372
|
-
*/
|
|
1373
|
-
entityEventSequence?: string | null;
|
|
1621
|
+
itemId?: string;
|
|
1374
1622
|
}
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
updatedEvent?: EntityUpdatedEvent$2;
|
|
1379
|
-
deletedEvent?: EntityDeletedEvent$2;
|
|
1380
|
-
actionEvent?: ActionEvent$2;
|
|
1623
|
+
interface BulkDeleteProjectItemsRequest {
|
|
1624
|
+
/** Ids of the items to be deleted */
|
|
1625
|
+
itemIds: string[];
|
|
1381
1626
|
}
|
|
1382
|
-
interface
|
|
1383
|
-
|
|
1627
|
+
interface BulkDeleteProjectItemsResponse {
|
|
1628
|
+
/** Array with all deleted items results */
|
|
1629
|
+
results?: BulkDeleteProjectItemResult[];
|
|
1630
|
+
/** Holds metadata of the entire bulk delete operation */
|
|
1631
|
+
bulkActionMetadata?: BulkActionMetadata$1;
|
|
1384
1632
|
}
|
|
1385
|
-
interface
|
|
1386
|
-
/**
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
*/
|
|
1391
|
-
currentEntity?: string;
|
|
1633
|
+
interface BulkDeleteProjectItemResult {
|
|
1634
|
+
/** Holds information about an item in bulk delete - id, index in original request array, action successful, error (if failed) */
|
|
1635
|
+
itemMetadata?: ItemMetadata$1;
|
|
1636
|
+
/** Id of the ProjectItem */
|
|
1637
|
+
itemId?: string;
|
|
1392
1638
|
}
|
|
1393
|
-
interface
|
|
1394
|
-
/**
|
|
1395
|
-
|
|
1639
|
+
interface CreateProjectGalleryRequest {
|
|
1640
|
+
/** Id of Project to create */
|
|
1641
|
+
projectId?: string;
|
|
1396
1642
|
}
|
|
1397
|
-
interface
|
|
1398
|
-
|
|
1643
|
+
interface CreateProjectGalleryResponse {
|
|
1644
|
+
/** Id of created Project */
|
|
1645
|
+
projectId?: string;
|
|
1646
|
+
/** Id of created gallery */
|
|
1647
|
+
galleryId?: string;
|
|
1399
1648
|
}
|
|
1400
1649
|
interface Empty$1 {
|
|
1401
1650
|
}
|
|
@@ -1417,45 +1666,11 @@ interface DuplicateProjectItemsResponse {
|
|
|
1417
1666
|
/** Result metadata */
|
|
1418
1667
|
bulkActionMetadata?: BulkActionMetadata$1;
|
|
1419
1668
|
}
|
|
1420
|
-
interface
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
/** The identification type and identity data. */
|
|
1426
|
-
identity?: IdentificationData$2;
|
|
1427
|
-
/** Stringify payload. */
|
|
1428
|
-
data?: string;
|
|
1429
|
-
}
|
|
1430
|
-
interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
|
|
1431
|
-
/** ID of a site visitor that has not logged in to the site. */
|
|
1432
|
-
anonymousVisitorId?: string;
|
|
1433
|
-
/** ID of a site visitor that has logged in to the site. */
|
|
1434
|
-
memberId?: string;
|
|
1435
|
-
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
1436
|
-
wixUserId?: string;
|
|
1437
|
-
/** ID of an app. */
|
|
1438
|
-
appId?: string;
|
|
1439
|
-
/** @readonly */
|
|
1440
|
-
identityType?: WebhookIdentityType$2;
|
|
1441
|
-
}
|
|
1442
|
-
/** @oneof */
|
|
1443
|
-
interface IdentificationDataIdOneOf$2 {
|
|
1444
|
-
/** ID of a site visitor that has not logged in to the site. */
|
|
1445
|
-
anonymousVisitorId?: string;
|
|
1446
|
-
/** ID of a site visitor that has logged in to the site. */
|
|
1447
|
-
memberId?: string;
|
|
1448
|
-
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
1449
|
-
wixUserId?: string;
|
|
1450
|
-
/** ID of an app. */
|
|
1451
|
-
appId?: string;
|
|
1452
|
-
}
|
|
1453
|
-
declare enum WebhookIdentityType$2 {
|
|
1454
|
-
UNKNOWN = "UNKNOWN",
|
|
1455
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1456
|
-
MEMBER = "MEMBER",
|
|
1457
|
-
WIX_USER = "WIX_USER",
|
|
1458
|
-
APP = "APP"
|
|
1669
|
+
interface GenerateTokenForProjectItemsResponseNonNullableFields {
|
|
1670
|
+
mediaTokens: {
|
|
1671
|
+
mediaId: string;
|
|
1672
|
+
mediaToken: string;
|
|
1673
|
+
}[];
|
|
1459
1674
|
}
|
|
1460
1675
|
interface CreateProjectItemResponseNonNullableFields {
|
|
1461
1676
|
item?: {
|
|
@@ -1737,6 +1952,7 @@ interface DuplicateProjectItemsOptions {
|
|
|
1737
1952
|
declare const __metadata$2: {
|
|
1738
1953
|
PACKAGE_NAME: string;
|
|
1739
1954
|
};
|
|
1955
|
+
declare function generateTokenForProjectItems(httpClient: HttpClient): (mediaIds: string[]) => Promise<GenerateTokenForProjectItemsResponse & GenerateTokenForProjectItemsResponseNonNullableFields>;
|
|
1740
1956
|
declare function createProjectItem(httpClient: HttpClient): (item: Item) => Promise<Item & {
|
|
1741
1957
|
image?: {
|
|
1742
1958
|
imageInfo: string;
|
|
@@ -1815,6 +2031,7 @@ type index_d$2_DuplicateProjectItemsResponse = DuplicateProjectItemsResponse;
|
|
|
1815
2031
|
type index_d$2_DuplicateProjectItemsResponseNonNullableFields = DuplicateProjectItemsResponseNonNullableFields;
|
|
1816
2032
|
type index_d$2_GenerateTokenForProjectItemsRequest = GenerateTokenForProjectItemsRequest;
|
|
1817
2033
|
type index_d$2_GenerateTokenForProjectItemsResponse = GenerateTokenForProjectItemsResponse;
|
|
2034
|
+
type index_d$2_GenerateTokenForProjectItemsResponseNonNullableFields = GenerateTokenForProjectItemsResponseNonNullableFields;
|
|
1818
2035
|
type index_d$2_GetProjectItemRequest = GetProjectItemRequest;
|
|
1819
2036
|
type index_d$2_GetProjectItemResponse = GetProjectItemResponse;
|
|
1820
2037
|
type index_d$2_GetProjectItemResponseNonNullableFields = GetProjectItemResponseNonNullableFields;
|
|
@@ -1845,6 +2062,7 @@ declare const index_d$2_bulkUpdateProjectItems: typeof bulkUpdateProjectItems;
|
|
|
1845
2062
|
declare const index_d$2_createProjectItem: typeof createProjectItem;
|
|
1846
2063
|
declare const index_d$2_deleteProjectItem: typeof deleteProjectItem;
|
|
1847
2064
|
declare const index_d$2_duplicateProjectItems: typeof duplicateProjectItems;
|
|
2065
|
+
declare const index_d$2_generateTokenForProjectItems: typeof generateTokenForProjectItems;
|
|
1848
2066
|
declare const index_d$2_getProjectItem: typeof getProjectItem;
|
|
1849
2067
|
declare const index_d$2_listProjectItems: typeof listProjectItems;
|
|
1850
2068
|
declare const index_d$2_onProjectItemCreated: typeof onProjectItemCreated;
|
|
@@ -1852,7 +2070,7 @@ declare const index_d$2_onProjectItemDeleted: typeof onProjectItemDeleted;
|
|
|
1852
2070
|
declare const index_d$2_onProjectItemUpdated: typeof onProjectItemUpdated;
|
|
1853
2071
|
declare const index_d$2_updateProjectItem: typeof updateProjectItem;
|
|
1854
2072
|
declare namespace index_d$2 {
|
|
1855
|
-
export { type ActionEvent$2 as ActionEvent, type App$1 as App, type ApplicationError$1 as ApplicationError, type BaseEventMetadata$2 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$2_BulkCreateProjectItemResult as BulkCreateProjectItemResult, type index_d$2_BulkCreateProjectItemsOptions as BulkCreateProjectItemsOptions, type index_d$2_BulkCreateProjectItemsRequest as BulkCreateProjectItemsRequest, type index_d$2_BulkCreateProjectItemsResponse as BulkCreateProjectItemsResponse, type index_d$2_BulkCreateProjectItemsResponseNonNullableFields as BulkCreateProjectItemsResponseNonNullableFields, type index_d$2_BulkDeleteProjectItemResult as BulkDeleteProjectItemResult, type index_d$2_BulkDeleteProjectItemsOptions as BulkDeleteProjectItemsOptions, type index_d$2_BulkDeleteProjectItemsRequest as BulkDeleteProjectItemsRequest, type index_d$2_BulkDeleteProjectItemsResponse as BulkDeleteProjectItemsResponse, type index_d$2_BulkDeleteProjectItemsResponseNonNullableFields as BulkDeleteProjectItemsResponseNonNullableFields, type index_d$2_BulkUpdateProjectItemResult as BulkUpdateProjectItemResult, type index_d$2_BulkUpdateProjectItemsOptions as BulkUpdateProjectItemsOptions, type index_d$2_BulkUpdateProjectItemsRequest as BulkUpdateProjectItemsRequest, type index_d$2_BulkUpdateProjectItemsResponse as BulkUpdateProjectItemsResponse, type index_d$2_BulkUpdateProjectItemsResponseNonNullableFields as BulkUpdateProjectItemsResponseNonNullableFields, type index_d$2_CreateProjectGalleryRequest as CreateProjectGalleryRequest, type index_d$2_CreateProjectGalleryResponse as CreateProjectGalleryResponse, type index_d$2_CreateProjectItemRequest as CreateProjectItemRequest, type index_d$2_CreateProjectItemResponse as CreateProjectItemResponse, type index_d$2_CreateProjectItemResponseNonNullableFields as CreateProjectItemResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type Cursors$2 as Cursors, type index_d$2_DeleteProjectItemRequest as DeleteProjectItemRequest, type index_d$2_DeleteProjectItemResponse as DeleteProjectItemResponse, type index_d$2_DeleteProjectItemResponseNonNullableFields as DeleteProjectItemResponseNonNullableFields, type DeletedProjectRestored$1 as DeletedProjectRestored, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type index_d$2_DuplicateProjectItemsOptions as DuplicateProjectItemsOptions, type index_d$2_DuplicateProjectItemsRequest as DuplicateProjectItemsRequest, type index_d$2_DuplicateProjectItemsResponse as DuplicateProjectItemsResponse, type index_d$2_DuplicateProjectItemsResponseNonNullableFields as DuplicateProjectItemsResponseNonNullableFields, type Empty$1 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type File$1 as File, type index_d$2_GenerateTokenForProjectItemsRequest as GenerateTokenForProjectItemsRequest, type index_d$2_GenerateTokenForProjectItemsResponse as GenerateTokenForProjectItemsResponse, type index_d$2_GetProjectItemRequest as GetProjectItemRequest, type index_d$2_GetProjectItemResponse as GetProjectItemResponse, type index_d$2_GetProjectItemResponseNonNullableFields as GetProjectItemResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Image$2 as Image, ImageType$2 as ImageType, type InvalidateCache$1 as InvalidateCache, type InvalidateCacheGetByOneOf$1 as InvalidateCacheGetByOneOf, type index_d$2_Item as Item, type ItemMetadata$1 as ItemMetadata, type index_d$2_ItemMetadataOneOf as ItemMetadataOneOf, type index_d$2_Link as Link, type index_d$2_ListProjectItemsOptions as ListProjectItemsOptions, type index_d$2_ListProjectItemsRequest as ListProjectItemsRequest, type index_d$2_ListProjectItemsResponse as ListProjectItemsResponse, type index_d$2_ListProjectItemsResponseNonNullableFields as ListProjectItemsResponseNonNullableFields, type index_d$2_MaskedItem as MaskedItem, type MessageEnvelope$2 as MessageEnvelope, type Page$1 as Page, type Paging$2 as Paging, type PagingMetadataV2$2 as PagingMetadataV2, type Point$2 as Point, type index_d$2_ProjectItemCreatedEnvelope as ProjectItemCreatedEnvelope, type index_d$2_ProjectItemDeletedEnvelope as ProjectItemDeletedEnvelope, type index_d$2_ProjectItemMediaToken as ProjectItemMediaToken, type index_d$2_ProjectItemUpdatedEnvelope as ProjectItemUpdatedEnvelope, type index_d$2_QueryProjectItemsRequest as QueryProjectItemsRequest, type index_d$2_QueryProjectItemsResponse as QueryProjectItemsResponse, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type index_d$2_Tags as Tags, index_d$2_Type as Type, type URI$1 as URI, type UnsharpMasking$2 as UnsharpMasking, type index_d$2_UpdateProjectItem as UpdateProjectItem, type index_d$2_UpdateProjectItemRequest as UpdateProjectItemRequest, type index_d$2_UpdateProjectItemResponse as UpdateProjectItemResponse, type index_d$2_UpdateProjectItemResponseNonNullableFields as UpdateProjectItemResponseNonNullableFields, type Video$2 as Video, type VideoResolution$2 as VideoResolution, WebhookIdentityType$2 as WebhookIdentityType, __metadata$2 as __metadata, index_d$2_bulkCreateProjectItems as bulkCreateProjectItems, index_d$2_bulkDeleteProjectItems as bulkDeleteProjectItems, index_d$2_bulkUpdateProjectItems as bulkUpdateProjectItems, index_d$2_createProjectItem as createProjectItem, index_d$2_deleteProjectItem as deleteProjectItem, index_d$2_duplicateProjectItems as duplicateProjectItems, index_d$2_getProjectItem as getProjectItem, index_d$2_listProjectItems as listProjectItems, index_d$2_onProjectItemCreated as onProjectItemCreated, index_d$2_onProjectItemDeleted as onProjectItemDeleted, index_d$2_onProjectItemUpdated as onProjectItemUpdated, index_d$2_updateProjectItem as updateProjectItem };
|
|
2073
|
+
export { type ActionEvent$2 as ActionEvent, type App$1 as App, type ApplicationError$1 as ApplicationError, type BaseEventMetadata$2 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$2_BulkCreateProjectItemResult as BulkCreateProjectItemResult, type index_d$2_BulkCreateProjectItemsOptions as BulkCreateProjectItemsOptions, type index_d$2_BulkCreateProjectItemsRequest as BulkCreateProjectItemsRequest, type index_d$2_BulkCreateProjectItemsResponse as BulkCreateProjectItemsResponse, type index_d$2_BulkCreateProjectItemsResponseNonNullableFields as BulkCreateProjectItemsResponseNonNullableFields, type index_d$2_BulkDeleteProjectItemResult as BulkDeleteProjectItemResult, type index_d$2_BulkDeleteProjectItemsOptions as BulkDeleteProjectItemsOptions, type index_d$2_BulkDeleteProjectItemsRequest as BulkDeleteProjectItemsRequest, type index_d$2_BulkDeleteProjectItemsResponse as BulkDeleteProjectItemsResponse, type index_d$2_BulkDeleteProjectItemsResponseNonNullableFields as BulkDeleteProjectItemsResponseNonNullableFields, type index_d$2_BulkUpdateProjectItemResult as BulkUpdateProjectItemResult, type index_d$2_BulkUpdateProjectItemsOptions as BulkUpdateProjectItemsOptions, type index_d$2_BulkUpdateProjectItemsRequest as BulkUpdateProjectItemsRequest, type index_d$2_BulkUpdateProjectItemsResponse as BulkUpdateProjectItemsResponse, type index_d$2_BulkUpdateProjectItemsResponseNonNullableFields as BulkUpdateProjectItemsResponseNonNullableFields, type index_d$2_CreateProjectGalleryRequest as CreateProjectGalleryRequest, type index_d$2_CreateProjectGalleryResponse as CreateProjectGalleryResponse, type index_d$2_CreateProjectItemRequest as CreateProjectItemRequest, type index_d$2_CreateProjectItemResponse as CreateProjectItemResponse, type index_d$2_CreateProjectItemResponseNonNullableFields as CreateProjectItemResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type Cursors$2 as Cursors, type index_d$2_DeleteProjectItemRequest as DeleteProjectItemRequest, type index_d$2_DeleteProjectItemResponse as DeleteProjectItemResponse, type index_d$2_DeleteProjectItemResponseNonNullableFields as DeleteProjectItemResponseNonNullableFields, type DeletedProjectRestored$1 as DeletedProjectRestored, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type index_d$2_DuplicateProjectItemsOptions as DuplicateProjectItemsOptions, type index_d$2_DuplicateProjectItemsRequest as DuplicateProjectItemsRequest, type index_d$2_DuplicateProjectItemsResponse as DuplicateProjectItemsResponse, type index_d$2_DuplicateProjectItemsResponseNonNullableFields as DuplicateProjectItemsResponseNonNullableFields, type Empty$1 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type File$1 as File, type index_d$2_GenerateTokenForProjectItemsRequest as GenerateTokenForProjectItemsRequest, type index_d$2_GenerateTokenForProjectItemsResponse as GenerateTokenForProjectItemsResponse, type index_d$2_GenerateTokenForProjectItemsResponseNonNullableFields as GenerateTokenForProjectItemsResponseNonNullableFields, type index_d$2_GetProjectItemRequest as GetProjectItemRequest, type index_d$2_GetProjectItemResponse as GetProjectItemResponse, type index_d$2_GetProjectItemResponseNonNullableFields as GetProjectItemResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Image$2 as Image, ImageType$2 as ImageType, type InvalidateCache$1 as InvalidateCache, type InvalidateCacheGetByOneOf$1 as InvalidateCacheGetByOneOf, type index_d$2_Item as Item, type ItemMetadata$1 as ItemMetadata, type index_d$2_ItemMetadataOneOf as ItemMetadataOneOf, type index_d$2_Link as Link, type index_d$2_ListProjectItemsOptions as ListProjectItemsOptions, type index_d$2_ListProjectItemsRequest as ListProjectItemsRequest, type index_d$2_ListProjectItemsResponse as ListProjectItemsResponse, type index_d$2_ListProjectItemsResponseNonNullableFields as ListProjectItemsResponseNonNullableFields, type index_d$2_MaskedItem as MaskedItem, type MessageEnvelope$2 as MessageEnvelope, type Page$1 as Page, type Paging$2 as Paging, type PagingMetadataV2$2 as PagingMetadataV2, type Point$2 as Point, type index_d$2_ProjectItemCreatedEnvelope as ProjectItemCreatedEnvelope, type index_d$2_ProjectItemDeletedEnvelope as ProjectItemDeletedEnvelope, type index_d$2_ProjectItemMediaToken as ProjectItemMediaToken, type index_d$2_ProjectItemUpdatedEnvelope as ProjectItemUpdatedEnvelope, type index_d$2_QueryProjectItemsRequest as QueryProjectItemsRequest, type index_d$2_QueryProjectItemsResponse as QueryProjectItemsResponse, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type index_d$2_Tags as Tags, index_d$2_Type as Type, type URI$1 as URI, type UnsharpMasking$2 as UnsharpMasking, type index_d$2_UpdateProjectItem as UpdateProjectItem, type index_d$2_UpdateProjectItemRequest as UpdateProjectItemRequest, type index_d$2_UpdateProjectItemResponse as UpdateProjectItemResponse, type index_d$2_UpdateProjectItemResponseNonNullableFields as UpdateProjectItemResponseNonNullableFields, type Video$2 as Video, type VideoResolution$2 as VideoResolution, WebhookIdentityType$2 as WebhookIdentityType, __metadata$2 as __metadata, index_d$2_bulkCreateProjectItems as bulkCreateProjectItems, index_d$2_bulkDeleteProjectItems as bulkDeleteProjectItems, index_d$2_bulkUpdateProjectItems as bulkUpdateProjectItems, index_d$2_createProjectItem as createProjectItem, index_d$2_deleteProjectItem as deleteProjectItem, index_d$2_duplicateProjectItems as duplicateProjectItems, index_d$2_generateTokenForProjectItems as generateTokenForProjectItems, index_d$2_getProjectItem as getProjectItem, index_d$2_listProjectItems as listProjectItems, index_d$2_onProjectItemCreated as onProjectItemCreated, index_d$2_onProjectItemDeleted as onProjectItemDeleted, index_d$2_onProjectItemUpdated as onProjectItemUpdated, index_d$2_updateProjectItem as updateProjectItem };
|
|
1856
2074
|
}
|
|
1857
2075
|
|
|
1858
2076
|
/** Project is the main entity of ProjectsService */
|
|
@@ -1879,6 +2097,7 @@ interface Project$1 extends ProjectCoverOneOf$1 {
|
|
|
1879
2097
|
collectionIds?: string[];
|
|
1880
2098
|
/** Custom project details */
|
|
1881
2099
|
details?: ProjectDetail$1[];
|
|
2100
|
+
/** Project's slug */
|
|
1882
2101
|
slug?: string | null;
|
|
1883
2102
|
/**
|
|
1884
2103
|
* Represents the time this Project was created
|
|
@@ -1895,6 +2114,7 @@ interface Project$1 extends ProjectCoverOneOf$1 {
|
|
|
1895
2114
|
* @readonly
|
|
1896
2115
|
*/
|
|
1897
2116
|
url?: string;
|
|
2117
|
+
/** SEO data for the project */
|
|
1898
2118
|
seoData?: SeoSchema$1;
|
|
1899
2119
|
/**
|
|
1900
2120
|
* indicates if the project is synced from external platform (via integration page) and therefore will be updated from the external platform on daily basis
|
|
@@ -1966,12 +2186,14 @@ interface VideoResolution$1 {
|
|
|
1966
2186
|
}
|
|
1967
2187
|
interface ProjectDetail$1 extends ProjectDetailValueOneOf$1 {
|
|
1968
2188
|
text?: string;
|
|
2189
|
+
/** Details link */
|
|
1969
2190
|
link?: DetailsLink$1;
|
|
1970
2191
|
label?: string;
|
|
1971
2192
|
}
|
|
1972
2193
|
/** @oneof */
|
|
1973
2194
|
interface ProjectDetailValueOneOf$1 {
|
|
1974
2195
|
text?: string;
|
|
2196
|
+
/** Details link */
|
|
1975
2197
|
link?: DetailsLink$1;
|
|
1976
2198
|
}
|
|
1977
2199
|
interface DetailsLink$1 {
|
|
@@ -1986,12 +2208,17 @@ interface DetailsLink$1 {
|
|
|
1986
2208
|
target?: string | null;
|
|
1987
2209
|
}
|
|
1988
2210
|
interface ProjectSource$1 {
|
|
2211
|
+
/** App definition id */
|
|
1989
2212
|
appDefId?: string;
|
|
2213
|
+
/** External source id */
|
|
1990
2214
|
externalId?: string;
|
|
2215
|
+
/** Source name */
|
|
1991
2216
|
sourceName?: string;
|
|
2217
|
+
/** Source description */
|
|
1992
2218
|
description?: string | null;
|
|
1993
2219
|
/** link to external source */
|
|
1994
2220
|
link?: string | null;
|
|
2221
|
+
/** Sync status */
|
|
1995
2222
|
syncStatus?: SyncStatus$1;
|
|
1996
2223
|
/** fields that are synced from external source, should be blocked to update in UI */
|
|
1997
2224
|
notEditableFields?: string[];
|
|
@@ -2057,9 +2284,9 @@ interface MenuSettingUpdatedEvent {
|
|
|
2057
2284
|
}
|
|
2058
2285
|
interface GetProjectPageDataRequest {
|
|
2059
2286
|
/** Slug of the project's current collection */
|
|
2060
|
-
collectionSlug
|
|
2287
|
+
collectionSlug: string;
|
|
2061
2288
|
/** Project's slug */
|
|
2062
|
-
projectSlug
|
|
2289
|
+
projectSlug: string;
|
|
2063
2290
|
}
|
|
2064
2291
|
interface GetProjectPageDataResponse {
|
|
2065
2292
|
project?: Project$1;
|
|
@@ -2346,6 +2573,73 @@ interface StudioUnassigned {
|
|
|
2346
2573
|
}
|
|
2347
2574
|
interface Empty {
|
|
2348
2575
|
}
|
|
2576
|
+
interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
2577
|
+
createdEvent?: EntityCreatedEvent$1;
|
|
2578
|
+
updatedEvent?: EntityUpdatedEvent$1;
|
|
2579
|
+
deletedEvent?: EntityDeletedEvent$1;
|
|
2580
|
+
actionEvent?: ActionEvent$1;
|
|
2581
|
+
/**
|
|
2582
|
+
* Unique event ID.
|
|
2583
|
+
* Allows clients to ignore duplicate webhooks.
|
|
2584
|
+
*/
|
|
2585
|
+
_id?: string;
|
|
2586
|
+
/**
|
|
2587
|
+
* Assumes actions are also always typed to an entity_type
|
|
2588
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
2589
|
+
*/
|
|
2590
|
+
entityFqdn?: string;
|
|
2591
|
+
/**
|
|
2592
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
2593
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
2594
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
2595
|
+
*/
|
|
2596
|
+
slug?: string;
|
|
2597
|
+
/** ID of the entity associated with the event. */
|
|
2598
|
+
entityId?: string;
|
|
2599
|
+
/** Event timestamp. */
|
|
2600
|
+
eventTime?: Date;
|
|
2601
|
+
/**
|
|
2602
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
2603
|
+
* (for example, GDPR).
|
|
2604
|
+
*/
|
|
2605
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
2606
|
+
/** If present, indicates the action that triggered the event. */
|
|
2607
|
+
originatedFrom?: string | null;
|
|
2608
|
+
/**
|
|
2609
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
2610
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
2611
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
2612
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
2613
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
2614
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
2615
|
+
*/
|
|
2616
|
+
entityEventSequence?: string | null;
|
|
2617
|
+
}
|
|
2618
|
+
/** @oneof */
|
|
2619
|
+
interface DomainEventBodyOneOf$1 {
|
|
2620
|
+
createdEvent?: EntityCreatedEvent$1;
|
|
2621
|
+
updatedEvent?: EntityUpdatedEvent$1;
|
|
2622
|
+
deletedEvent?: EntityDeletedEvent$1;
|
|
2623
|
+
actionEvent?: ActionEvent$1;
|
|
2624
|
+
}
|
|
2625
|
+
interface EntityCreatedEvent$1 {
|
|
2626
|
+
entity?: string;
|
|
2627
|
+
}
|
|
2628
|
+
interface EntityUpdatedEvent$1 {
|
|
2629
|
+
/**
|
|
2630
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
2631
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
2632
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
2633
|
+
*/
|
|
2634
|
+
currentEntity?: string;
|
|
2635
|
+
}
|
|
2636
|
+
interface EntityDeletedEvent$1 {
|
|
2637
|
+
/** Entity that was deleted */
|
|
2638
|
+
deletedEntity?: string | null;
|
|
2639
|
+
}
|
|
2640
|
+
interface ActionEvent$1 {
|
|
2641
|
+
body?: string;
|
|
2642
|
+
}
|
|
2349
2643
|
interface MessageEnvelope$1 {
|
|
2350
2644
|
/** App instance ID. */
|
|
2351
2645
|
instanceId?: string | null;
|
|
@@ -2466,6 +2760,7 @@ interface CreateProjectResponse {
|
|
|
2466
2760
|
interface GetProjectRequest {
|
|
2467
2761
|
/** Id of the Project to retrieve */
|
|
2468
2762
|
projectId: string;
|
|
2763
|
+
/** Include page url */
|
|
2469
2764
|
includePageUrl?: boolean | null;
|
|
2470
2765
|
}
|
|
2471
2766
|
interface GetProjectResponse {
|
|
@@ -2475,6 +2770,7 @@ interface GetProjectResponse {
|
|
|
2475
2770
|
interface ListProjectsRequest {
|
|
2476
2771
|
/** Projects limit per response is maximum 100, In the first request the cursor is None */
|
|
2477
2772
|
paging?: CursorPaging$1;
|
|
2773
|
+
/** Include page url */
|
|
2478
2774
|
includePageUrl?: boolean | null;
|
|
2479
2775
|
}
|
|
2480
2776
|
interface CursorPaging$1 {
|
|
@@ -2523,9 +2819,11 @@ interface UpdateProjectResponse {
|
|
|
2523
2819
|
interface BulkUpdateProjectsRequest {
|
|
2524
2820
|
/** projects to be updated. */
|
|
2525
2821
|
projects?: MaskedProject[];
|
|
2822
|
+
/** Flag to return full entity in response */
|
|
2526
2823
|
returnFullEntity?: boolean | null;
|
|
2527
2824
|
}
|
|
2528
2825
|
interface MaskedProject {
|
|
2826
|
+
/** Project to be updated */
|
|
2529
2827
|
project?: Project$1;
|
|
2530
2828
|
}
|
|
2531
2829
|
interface BulkUpdateProjectsResponse {
|
|
@@ -2537,6 +2835,7 @@ interface BulkUpdateProjectsResponse {
|
|
|
2537
2835
|
interface BulkUpdateProjectsResult {
|
|
2538
2836
|
/** Holds information about an item in bulk update - id, index in original request array, action successful, error (if failed). */
|
|
2539
2837
|
itemMetadata?: ItemMetadata;
|
|
2838
|
+
/** Updated Project */
|
|
2540
2839
|
project?: Project$1;
|
|
2541
2840
|
}
|
|
2542
2841
|
interface ItemMetadata {
|
|
@@ -2576,6 +2875,7 @@ interface DeleteProjectResponse {
|
|
|
2576
2875
|
interface QueryProjectsRequest {
|
|
2577
2876
|
/** WQL expression */
|
|
2578
2877
|
query: QueryV2$1;
|
|
2878
|
+
/** Include page url */
|
|
2579
2879
|
includePageUrl?: boolean | null;
|
|
2580
2880
|
}
|
|
2581
2881
|
interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
@@ -2654,6 +2954,7 @@ interface ProjectInCollection$1 {
|
|
|
2654
2954
|
interface QueryProjectWithCollectionInfoRequest {
|
|
2655
2955
|
/** WQL expression */
|
|
2656
2956
|
query: QueryV2$1;
|
|
2957
|
+
/** Include page url */
|
|
2657
2958
|
includePageUrl?: boolean | null;
|
|
2658
2959
|
}
|
|
2659
2960
|
interface QueryProjectWithCollectionInfoResponse {
|
|
@@ -2670,72 +2971,48 @@ interface RestoreProjectFromTrashBinResponse {
|
|
|
2670
2971
|
/** project that was restored from trash bin */
|
|
2671
2972
|
project?: Project$1;
|
|
2672
2973
|
}
|
|
2673
|
-
interface
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
}
|
|
2715
|
-
/** @oneof */
|
|
2716
|
-
interface DomainEventBodyOneOf$1 {
|
|
2717
|
-
createdEvent?: EntityCreatedEvent$1;
|
|
2718
|
-
updatedEvent?: EntityUpdatedEvent$1;
|
|
2719
|
-
deletedEvent?: EntityDeletedEvent$1;
|
|
2720
|
-
actionEvent?: ActionEvent$1;
|
|
2721
|
-
}
|
|
2722
|
-
interface EntityCreatedEvent$1 {
|
|
2723
|
-
entity?: string;
|
|
2724
|
-
}
|
|
2725
|
-
interface EntityUpdatedEvent$1 {
|
|
2726
|
-
/**
|
|
2727
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
2728
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
2729
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
2730
|
-
*/
|
|
2731
|
-
currentEntity?: string;
|
|
2732
|
-
}
|
|
2733
|
-
interface EntityDeletedEvent$1 {
|
|
2734
|
-
/** Entity that was deleted */
|
|
2735
|
-
deletedEntity?: string | null;
|
|
2736
|
-
}
|
|
2737
|
-
interface ActionEvent$1 {
|
|
2738
|
-
body?: string;
|
|
2974
|
+
interface GetProjectPageDataResponseNonNullableFields {
|
|
2975
|
+
project?: {
|
|
2976
|
+
coverImage?: {
|
|
2977
|
+
imageInfo: string;
|
|
2978
|
+
focalPoint?: {
|
|
2979
|
+
x: number;
|
|
2980
|
+
y: number;
|
|
2981
|
+
};
|
|
2982
|
+
};
|
|
2983
|
+
coverVideo?: {
|
|
2984
|
+
videoInfo: string;
|
|
2985
|
+
};
|
|
2986
|
+
collectionIds: string[];
|
|
2987
|
+
details: {
|
|
2988
|
+
text: string;
|
|
2989
|
+
label: string;
|
|
2990
|
+
}[];
|
|
2991
|
+
url: string;
|
|
2992
|
+
seoData?: {
|
|
2993
|
+
tags: {
|
|
2994
|
+
type: string;
|
|
2995
|
+
children: string;
|
|
2996
|
+
custom: boolean;
|
|
2997
|
+
disabled: boolean;
|
|
2998
|
+
}[];
|
|
2999
|
+
settings?: {
|
|
3000
|
+
preventAutoRedirect: boolean;
|
|
3001
|
+
keywords: {
|
|
3002
|
+
term: string;
|
|
3003
|
+
isMain: boolean;
|
|
3004
|
+
}[];
|
|
3005
|
+
};
|
|
3006
|
+
};
|
|
3007
|
+
};
|
|
3008
|
+
previousProject?: {
|
|
3009
|
+
projectId: string;
|
|
3010
|
+
slug: string;
|
|
3011
|
+
};
|
|
3012
|
+
nextProject?: {
|
|
3013
|
+
projectId: string;
|
|
3014
|
+
slug: string;
|
|
3015
|
+
};
|
|
2739
3016
|
}
|
|
2740
3017
|
interface CreateProjectResponseNonNullableFields {
|
|
2741
3018
|
project?: {
|
|
@@ -3098,12 +3375,20 @@ interface ProjectUpdatedEnvelope {
|
|
|
3098
3375
|
interface ProjectDeletedEnvelope {
|
|
3099
3376
|
metadata: EventMetadata$1;
|
|
3100
3377
|
}
|
|
3378
|
+
interface GetProjectPageDataIdentifiers {
|
|
3379
|
+
/** Slug of the project's current collection */
|
|
3380
|
+
collectionSlug: string;
|
|
3381
|
+
/** Project's slug */
|
|
3382
|
+
projectSlug: string;
|
|
3383
|
+
}
|
|
3101
3384
|
interface GetProjectOptions {
|
|
3385
|
+
/** Include page url */
|
|
3102
3386
|
includePageUrl?: boolean | null;
|
|
3103
3387
|
}
|
|
3104
3388
|
interface ListProjectsOptions {
|
|
3105
3389
|
/** Projects limit per response is maximum 100, In the first request the cursor is None */
|
|
3106
3390
|
paging?: CursorPaging$1;
|
|
3391
|
+
/** Include page url */
|
|
3107
3392
|
includePageUrl?: boolean | null;
|
|
3108
3393
|
}
|
|
3109
3394
|
interface UpdateProject {
|
|
@@ -3129,6 +3414,7 @@ interface UpdateProject {
|
|
|
3129
3414
|
collectionIds?: string[];
|
|
3130
3415
|
/** Custom project details */
|
|
3131
3416
|
details?: ProjectDetail$1[];
|
|
3417
|
+
/** Project's slug */
|
|
3132
3418
|
slug?: string | null;
|
|
3133
3419
|
/**
|
|
3134
3420
|
* Represents the time this Project was created
|
|
@@ -3145,6 +3431,7 @@ interface UpdateProject {
|
|
|
3145
3431
|
* @readonly
|
|
3146
3432
|
*/
|
|
3147
3433
|
url?: string;
|
|
3434
|
+
/** SEO data for the project */
|
|
3148
3435
|
seoData?: SeoSchema$1;
|
|
3149
3436
|
/**
|
|
3150
3437
|
* indicates if the project is synced from external platform (via integration page) and therefore will be updated from the external platform on daily basis
|
|
@@ -3155,9 +3442,11 @@ interface UpdateProject {
|
|
|
3155
3442
|
interface BulkUpdateProjectsOptions {
|
|
3156
3443
|
/** projects to be updated. */
|
|
3157
3444
|
projects?: MaskedProject[];
|
|
3445
|
+
/** Flag to return full entity in response */
|
|
3158
3446
|
returnFullEntity?: boolean | null;
|
|
3159
3447
|
}
|
|
3160
3448
|
interface QueryProjectsOptions {
|
|
3449
|
+
/** Include page url */
|
|
3161
3450
|
includePageUrl?: boolean | null | undefined;
|
|
3162
3451
|
}
|
|
3163
3452
|
interface QueryCursorResult$1 {
|
|
@@ -3249,12 +3538,14 @@ interface UpdateProjectOrderInCollectionIdentifiers$1 {
|
|
|
3249
3538
|
collectionId: string;
|
|
3250
3539
|
}
|
|
3251
3540
|
interface QueryProjectsWithCollectionInfoOptions {
|
|
3541
|
+
/** Include page url */
|
|
3252
3542
|
includePageUrl?: boolean | null;
|
|
3253
3543
|
}
|
|
3254
3544
|
|
|
3255
3545
|
declare const __metadata$1: {
|
|
3256
3546
|
PACKAGE_NAME: string;
|
|
3257
3547
|
};
|
|
3548
|
+
declare function getProjectPageData(httpClient: HttpClient): (identifiers: GetProjectPageDataIdentifiers) => Promise<GetProjectPageDataResponse & GetProjectPageDataResponseNonNullableFields>;
|
|
3258
3549
|
declare function createProject(httpClient: HttpClient): (project: Project$1) => Promise<Project$1 & {
|
|
3259
3550
|
coverImage?: {
|
|
3260
3551
|
imageInfo: string;
|
|
@@ -3388,8 +3679,10 @@ type index_d$1_DeletedProjectRestored = DeletedProjectRestored;
|
|
|
3388
3679
|
type index_d$1_Empty = Empty;
|
|
3389
3680
|
type index_d$1_File = File;
|
|
3390
3681
|
type index_d$1_GetProjectOptions = GetProjectOptions;
|
|
3682
|
+
type index_d$1_GetProjectPageDataIdentifiers = GetProjectPageDataIdentifiers;
|
|
3391
3683
|
type index_d$1_GetProjectPageDataRequest = GetProjectPageDataRequest;
|
|
3392
3684
|
type index_d$1_GetProjectPageDataResponse = GetProjectPageDataResponse;
|
|
3685
|
+
type index_d$1_GetProjectPageDataResponseNonNullableFields = GetProjectPageDataResponseNonNullableFields;
|
|
3393
3686
|
type index_d$1_GetProjectRequest = GetProjectRequest;
|
|
3394
3687
|
type index_d$1_GetProjectResponse = GetProjectResponse;
|
|
3395
3688
|
type index_d$1_GetProjectResponseNonNullableFields = GetProjectResponseNonNullableFields;
|
|
@@ -3452,6 +3745,7 @@ declare const index_d$1_bulkUpdateProjects: typeof bulkUpdateProjects;
|
|
|
3452
3745
|
declare const index_d$1_createProject: typeof createProject;
|
|
3453
3746
|
declare const index_d$1_deleteProject: typeof deleteProject;
|
|
3454
3747
|
declare const index_d$1_getProject: typeof getProject;
|
|
3748
|
+
declare const index_d$1_getProjectPageData: typeof getProjectPageData;
|
|
3455
3749
|
declare const index_d$1_listProjects: typeof listProjects;
|
|
3456
3750
|
declare const index_d$1_onProjectCreated: typeof onProjectCreated;
|
|
3457
3751
|
declare const index_d$1_onProjectDeleted: typeof onProjectDeleted;
|
|
@@ -3460,7 +3754,7 @@ declare const index_d$1_queryProjects: typeof queryProjects;
|
|
|
3460
3754
|
declare const index_d$1_queryProjectsWithCollectionInfo: typeof queryProjectsWithCollectionInfo;
|
|
3461
3755
|
declare const index_d$1_updateProject: typeof updateProject;
|
|
3462
3756
|
declare namespace index_d$1 {
|
|
3463
|
-
export { type ActionEvent$1 as ActionEvent, type index_d$1_App as App, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Asset as Asset, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, type index_d$1_BulkUpdateProjectsOptions as BulkUpdateProjectsOptions, type index_d$1_BulkUpdateProjectsRequest as BulkUpdateProjectsRequest, type index_d$1_BulkUpdateProjectsResponse as BulkUpdateProjectsResponse, type index_d$1_BulkUpdateProjectsResponseNonNullableFields as BulkUpdateProjectsResponseNonNullableFields, type index_d$1_BulkUpdateProjectsResult as BulkUpdateProjectsResult, type index_d$1_CreateNewPortfolioAppRequest as CreateNewPortfolioAppRequest, type index_d$1_CreateNewPortfolioAppResponse as CreateNewPortfolioAppResponse, type index_d$1_CreateProjectRequest as CreateProjectRequest, type index_d$1_CreateProjectResponse as CreateProjectResponse, type index_d$1_CreateProjectResponseNonNullableFields as CreateProjectResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type index_d$1_DeleteContext as DeleteContext, type index_d$1_DeleteProjectRequest as DeleteProjectRequest, type index_d$1_DeleteProjectResponse as DeleteProjectResponse, type index_d$1_DeleteProjectResponseNonNullableFields as DeleteProjectResponseNonNullableFields, index_d$1_DeleteStatus as DeleteStatus, type index_d$1_DeletedProjectRestored as DeletedProjectRestored, type DetailsLink$1 as DetailsLink, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_Empty as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$1_File as File, type index_d$1_GetProjectOptions as GetProjectOptions, type index_d$1_GetProjectPageDataRequest as GetProjectPageDataRequest, type index_d$1_GetProjectPageDataResponse as GetProjectPageDataResponse, type index_d$1_GetProjectRequest as GetProjectRequest, type index_d$1_GetProjectResponse as GetProjectResponse, type index_d$1_GetProjectResponseNonNullableFields as GetProjectResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Image$1 as Image, ImageType$1 as ImageType, type index_d$1_InvalidateCache as InvalidateCache, type index_d$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$1_ItemMetadata as ItemMetadata, type Keyword$1 as Keyword, type index_d$1_ListProjectsOptions as ListProjectsOptions, type index_d$1_ListProjectsRequest as ListProjectsRequest, type index_d$1_ListProjectsResponse as ListProjectsResponse, type index_d$1_ListProjectsResponseNonNullableFields as ListProjectsResponseNonNullableFields, type index_d$1_MaskedProject as MaskedProject, type index_d$1_MenuSettingUpdatedEvent as MenuSettingUpdatedEvent, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_Page as Page, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type Point$1 as Point, type Project$1 as Project, type ProjectCoverOneOf$1 as ProjectCoverOneOf, type index_d$1_ProjectCreatedEnvelope as ProjectCreatedEnvelope, type index_d$1_ProjectDeletedEnvelope as ProjectDeletedEnvelope, type ProjectDetail$1 as ProjectDetail, type ProjectDetailValueOneOf$1 as ProjectDetailValueOneOf, type ProjectInCollection$1 as ProjectInCollection, type index_d$1_ProjectSlug as ProjectSlug, type ProjectSource$1 as ProjectSource, type index_d$1_ProjectUpdatedEnvelope as ProjectUpdatedEnvelope, type index_d$1_ProjectsQueryBuilder as ProjectsQueryBuilder, type index_d$1_ProjectsQueryResult as ProjectsQueryResult, type index_d$1_QueryProjectWithCollectionInfoRequest as QueryProjectWithCollectionInfoRequest, type index_d$1_QueryProjectWithCollectionInfoResponse as QueryProjectWithCollectionInfoResponse, type index_d$1_QueryProjectWithCollectionInfoResponseNonNullableFields as QueryProjectWithCollectionInfoResponseNonNullableFields, type index_d$1_QueryProjectsOptions as QueryProjectsOptions, type index_d$1_QueryProjectsRequest as QueryProjectsRequest, type index_d$1_QueryProjectsResponse as QueryProjectsResponse, type index_d$1_QueryProjectsResponseNonNullableFields as QueryProjectsResponseNonNullableFields, type index_d$1_QueryProjectsWithCollectionInfoOptions as QueryProjectsWithCollectionInfoOptions, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type index_d$1_RestoreProjectFromTrashBinRequest as RestoreProjectFromTrashBinRequest, type index_d$1_RestoreProjectFromTrashBinResponse as RestoreProjectFromTrashBinResponse, type SeoSchema$1 as SeoSchema, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, type Settings$1 as Settings, type index_d$1_SiteCreated as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, index_d$1_State as State, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type index_d$1_SyncProjectWithCollectionMappings as SyncProjectWithCollectionMappings, SyncStatus$1 as SyncStatus, type Tag$1 as Tag, type index_d$1_URI as URI, type UnsharpMasking$1 as UnsharpMasking, type index_d$1_UpdateProject as UpdateProject, type UpdateProjectOrderInCollectionIdentifiers$1 as UpdateProjectOrderInCollectionIdentifiers, type UpdateProjectOrderInCollectionRequest$1 as UpdateProjectOrderInCollectionRequest, type UpdateProjectOrderInCollectionResponse$1 as UpdateProjectOrderInCollectionResponse, type UpdateProjectOrderInCollectionResponseNonNullableFields$1 as UpdateProjectOrderInCollectionResponseNonNullableFields, type index_d$1_UpdateProjectRequest as UpdateProjectRequest, type index_d$1_UpdateProjectResponse as UpdateProjectResponse, type index_d$1_UpdateProjectResponseNonNullableFields as UpdateProjectResponseNonNullableFields, type Video$1 as Video, type VideoResolution$1 as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_bulkUpdateProjects as bulkUpdateProjects, index_d$1_createProject as createProject, index_d$1_deleteProject as deleteProject, index_d$1_getProject as getProject, index_d$1_listProjects as listProjects, index_d$1_onProjectCreated as onProjectCreated, index_d$1_onProjectDeleted as onProjectDeleted, index_d$1_onProjectUpdated as onProjectUpdated, index_d$1_queryProjects as queryProjects, index_d$1_queryProjectsWithCollectionInfo as queryProjectsWithCollectionInfo, index_d$1_updateProject as updateProject, updateProjectOrderInCollection$1 as updateProjectOrderInCollection };
|
|
3757
|
+
export { type ActionEvent$1 as ActionEvent, type index_d$1_App as App, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Asset as Asset, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, type index_d$1_BulkUpdateProjectsOptions as BulkUpdateProjectsOptions, type index_d$1_BulkUpdateProjectsRequest as BulkUpdateProjectsRequest, type index_d$1_BulkUpdateProjectsResponse as BulkUpdateProjectsResponse, type index_d$1_BulkUpdateProjectsResponseNonNullableFields as BulkUpdateProjectsResponseNonNullableFields, type index_d$1_BulkUpdateProjectsResult as BulkUpdateProjectsResult, type index_d$1_CreateNewPortfolioAppRequest as CreateNewPortfolioAppRequest, type index_d$1_CreateNewPortfolioAppResponse as CreateNewPortfolioAppResponse, type index_d$1_CreateProjectRequest as CreateProjectRequest, type index_d$1_CreateProjectResponse as CreateProjectResponse, type index_d$1_CreateProjectResponseNonNullableFields as CreateProjectResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type index_d$1_DeleteContext as DeleteContext, type index_d$1_DeleteProjectRequest as DeleteProjectRequest, type index_d$1_DeleteProjectResponse as DeleteProjectResponse, type index_d$1_DeleteProjectResponseNonNullableFields as DeleteProjectResponseNonNullableFields, index_d$1_DeleteStatus as DeleteStatus, type index_d$1_DeletedProjectRestored as DeletedProjectRestored, type DetailsLink$1 as DetailsLink, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_Empty as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$1_File as File, type index_d$1_GetProjectOptions as GetProjectOptions, type index_d$1_GetProjectPageDataIdentifiers as GetProjectPageDataIdentifiers, type index_d$1_GetProjectPageDataRequest as GetProjectPageDataRequest, type index_d$1_GetProjectPageDataResponse as GetProjectPageDataResponse, type index_d$1_GetProjectPageDataResponseNonNullableFields as GetProjectPageDataResponseNonNullableFields, type index_d$1_GetProjectRequest as GetProjectRequest, type index_d$1_GetProjectResponse as GetProjectResponse, type index_d$1_GetProjectResponseNonNullableFields as GetProjectResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Image$1 as Image, ImageType$1 as ImageType, type index_d$1_InvalidateCache as InvalidateCache, type index_d$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$1_ItemMetadata as ItemMetadata, type Keyword$1 as Keyword, type index_d$1_ListProjectsOptions as ListProjectsOptions, type index_d$1_ListProjectsRequest as ListProjectsRequest, type index_d$1_ListProjectsResponse as ListProjectsResponse, type index_d$1_ListProjectsResponseNonNullableFields as ListProjectsResponseNonNullableFields, type index_d$1_MaskedProject as MaskedProject, type index_d$1_MenuSettingUpdatedEvent as MenuSettingUpdatedEvent, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_Page as Page, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type Point$1 as Point, type Project$1 as Project, type ProjectCoverOneOf$1 as ProjectCoverOneOf, type index_d$1_ProjectCreatedEnvelope as ProjectCreatedEnvelope, type index_d$1_ProjectDeletedEnvelope as ProjectDeletedEnvelope, type ProjectDetail$1 as ProjectDetail, type ProjectDetailValueOneOf$1 as ProjectDetailValueOneOf, type ProjectInCollection$1 as ProjectInCollection, type index_d$1_ProjectSlug as ProjectSlug, type ProjectSource$1 as ProjectSource, type index_d$1_ProjectUpdatedEnvelope as ProjectUpdatedEnvelope, type index_d$1_ProjectsQueryBuilder as ProjectsQueryBuilder, type index_d$1_ProjectsQueryResult as ProjectsQueryResult, type index_d$1_QueryProjectWithCollectionInfoRequest as QueryProjectWithCollectionInfoRequest, type index_d$1_QueryProjectWithCollectionInfoResponse as QueryProjectWithCollectionInfoResponse, type index_d$1_QueryProjectWithCollectionInfoResponseNonNullableFields as QueryProjectWithCollectionInfoResponseNonNullableFields, type index_d$1_QueryProjectsOptions as QueryProjectsOptions, type index_d$1_QueryProjectsRequest as QueryProjectsRequest, type index_d$1_QueryProjectsResponse as QueryProjectsResponse, type index_d$1_QueryProjectsResponseNonNullableFields as QueryProjectsResponseNonNullableFields, type index_d$1_QueryProjectsWithCollectionInfoOptions as QueryProjectsWithCollectionInfoOptions, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type index_d$1_RestoreProjectFromTrashBinRequest as RestoreProjectFromTrashBinRequest, type index_d$1_RestoreProjectFromTrashBinResponse as RestoreProjectFromTrashBinResponse, type SeoSchema$1 as SeoSchema, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, type Settings$1 as Settings, type index_d$1_SiteCreated as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, index_d$1_State as State, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type index_d$1_SyncProjectWithCollectionMappings as SyncProjectWithCollectionMappings, SyncStatus$1 as SyncStatus, type Tag$1 as Tag, type index_d$1_URI as URI, type UnsharpMasking$1 as UnsharpMasking, type index_d$1_UpdateProject as UpdateProject, type UpdateProjectOrderInCollectionIdentifiers$1 as UpdateProjectOrderInCollectionIdentifiers, type UpdateProjectOrderInCollectionRequest$1 as UpdateProjectOrderInCollectionRequest, type UpdateProjectOrderInCollectionResponse$1 as UpdateProjectOrderInCollectionResponse, type UpdateProjectOrderInCollectionResponseNonNullableFields$1 as UpdateProjectOrderInCollectionResponseNonNullableFields, type index_d$1_UpdateProjectRequest as UpdateProjectRequest, type index_d$1_UpdateProjectResponse as UpdateProjectResponse, type index_d$1_UpdateProjectResponseNonNullableFields as UpdateProjectResponseNonNullableFields, type Video$1 as Video, type VideoResolution$1 as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_bulkUpdateProjects as bulkUpdateProjects, index_d$1_createProject as createProject, index_d$1_deleteProject as deleteProject, index_d$1_getProject as getProject, index_d$1_getProjectPageData as getProjectPageData, index_d$1_listProjects as listProjects, index_d$1_onProjectCreated as onProjectCreated, index_d$1_onProjectDeleted as onProjectDeleted, index_d$1_onProjectUpdated as onProjectUpdated, index_d$1_queryProjects as queryProjects, index_d$1_queryProjectsWithCollectionInfo as queryProjectsWithCollectionInfo, index_d$1_updateProject as updateProject, updateProjectOrderInCollection$1 as updateProjectOrderInCollection };
|
|
3464
3758
|
}
|
|
3465
3759
|
|
|
3466
3760
|
interface ProjectInCollection {
|
|
@@ -3495,6 +3789,7 @@ interface Project extends ProjectCoverOneOf {
|
|
|
3495
3789
|
collectionIds?: string[];
|
|
3496
3790
|
/** Custom project details */
|
|
3497
3791
|
details?: ProjectDetail[];
|
|
3792
|
+
/** Project's slug */
|
|
3498
3793
|
slug?: string | null;
|
|
3499
3794
|
/**
|
|
3500
3795
|
* Represents the time this Project was created
|
|
@@ -3511,6 +3806,7 @@ interface Project extends ProjectCoverOneOf {
|
|
|
3511
3806
|
* @readonly
|
|
3512
3807
|
*/
|
|
3513
3808
|
url?: string;
|
|
3809
|
+
/** SEO data for the project */
|
|
3514
3810
|
seoData?: SeoSchema;
|
|
3515
3811
|
/**
|
|
3516
3812
|
* indicates if the project is synced from external platform (via integration page) and therefore will be updated from the external platform on daily basis
|
|
@@ -3582,12 +3878,14 @@ interface VideoResolution {
|
|
|
3582
3878
|
}
|
|
3583
3879
|
interface ProjectDetail extends ProjectDetailValueOneOf {
|
|
3584
3880
|
text?: string;
|
|
3881
|
+
/** Details link */
|
|
3585
3882
|
link?: DetailsLink;
|
|
3586
3883
|
label?: string;
|
|
3587
3884
|
}
|
|
3588
3885
|
/** @oneof */
|
|
3589
3886
|
interface ProjectDetailValueOneOf {
|
|
3590
3887
|
text?: string;
|
|
3888
|
+
/** Details link */
|
|
3591
3889
|
link?: DetailsLink;
|
|
3592
3890
|
}
|
|
3593
3891
|
interface DetailsLink {
|
|
@@ -3602,12 +3900,17 @@ interface DetailsLink {
|
|
|
3602
3900
|
target?: string | null;
|
|
3603
3901
|
}
|
|
3604
3902
|
interface ProjectSource {
|
|
3903
|
+
/** App definition id */
|
|
3605
3904
|
appDefId?: string;
|
|
3905
|
+
/** External source id */
|
|
3606
3906
|
externalId?: string;
|
|
3907
|
+
/** Source name */
|
|
3607
3908
|
sourceName?: string;
|
|
3909
|
+
/** Source description */
|
|
3608
3910
|
description?: string | null;
|
|
3609
3911
|
/** link to external source */
|
|
3610
3912
|
link?: string | null;
|
|
3913
|
+
/** Sync status */
|
|
3611
3914
|
syncStatus?: SyncStatus;
|
|
3612
3915
|
/** fields that are synced from external source, should be blocked to update in UI */
|
|
3613
3916
|
notEditableFields?: string[];
|
|
@@ -4165,4 +4468,4 @@ declare namespace index_d {
|
|
|
4165
4468
|
export { type index_d_ActionEvent as ActionEvent, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_DetailsLink as DetailsLink, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Image as Image, index_d_ImageType as ImageType, type index_d_Keyword as Keyword, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_Point as Point, type index_d_Project as Project, type index_d_ProjectCoverOneOf as ProjectCoverOneOf, type index_d_ProjectDetail as ProjectDetail, type index_d_ProjectDetailValueOneOf as ProjectDetailValueOneOf, type index_d_ProjectInCollection as ProjectInCollection, type index_d_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope as ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope, type index_d_ProjectInCollectionsQueryBuilder as ProjectInCollectionsQueryBuilder, type index_d_ProjectInCollectionsQueryResult as ProjectInCollectionsQueryResult, type index_d_ProjectOrderInCollectionUpdatedEvent as ProjectOrderInCollectionUpdatedEvent, type index_d_ProjectSource as ProjectSource, type index_d_QueryProjectInCollectionsOptions as QueryProjectInCollectionsOptions, type index_d_QueryProjectInCollectionsRequest as QueryProjectInCollectionsRequest, type index_d_QueryProjectInCollectionsResponse as QueryProjectInCollectionsResponse, type index_d_QueryProjectInCollectionsResponseNonNullableFields as QueryProjectInCollectionsResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_SeoSchema as SeoSchema, type index_d_Settings as Settings, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_SyncStatus as SyncStatus, type index_d_Tag as Tag, type index_d_UnsharpMasking as UnsharpMasking, type index_d_UpdateProjectOrderInCollectionIdentifiers as UpdateProjectOrderInCollectionIdentifiers, type index_d_UpdateProjectOrderInCollectionRequest as UpdateProjectOrderInCollectionRequest, type index_d_UpdateProjectOrderInCollectionResponse as UpdateProjectOrderInCollectionResponse, type index_d_UpdateProjectOrderInCollectionResponseNonNullableFields as UpdateProjectOrderInCollectionResponseNonNullableFields, type index_d_Video as Video, type index_d_VideoResolution as VideoResolution, index_d_WebhookIdentityType as WebhookIdentityType, index_d___metadata as __metadata, index_d_onProjectInCollectionProjectOrderInCollectionUpdatedEvent as onProjectInCollectionProjectOrderInCollectionUpdatedEvent, index_d_queryProjectInCollections as queryProjectInCollections, index_d_updateProjectOrderInCollection as updateProjectOrderInCollection };
|
|
4166
4469
|
}
|
|
4167
4470
|
|
|
4168
|
-
export { index_d$
|
|
4471
|
+
export { index_d$4 as collections, index_d$3 as portfolioSettings, index_d as projectInCollections, index_d$2 as projectItems, index_d$1 as projects };
|