@wix/portfolio 1.0.71 → 1.0.73
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 +8 -8
- package/type-bundles/context.bundle.d.ts +244 -94
- package/type-bundles/index.bundle.d.ts +1193 -504
- package/type-bundles/meta.bundle.d.ts +479 -193
|
@@ -125,11 +125,11 @@ interface Settings$2 {
|
|
|
125
125
|
/** User-selected keyword terms for a specific page. */
|
|
126
126
|
keywords?: Keyword$2[];
|
|
127
127
|
}
|
|
128
|
-
interface DomainEvent$
|
|
129
|
-
createdEvent?: EntityCreatedEvent$
|
|
130
|
-
updatedEvent?: EntityUpdatedEvent$
|
|
131
|
-
deletedEvent?: EntityDeletedEvent$
|
|
132
|
-
actionEvent?: ActionEvent$
|
|
128
|
+
interface DomainEvent$5 extends DomainEventBodyOneOf$5 {
|
|
129
|
+
createdEvent?: EntityCreatedEvent$5;
|
|
130
|
+
updatedEvent?: EntityUpdatedEvent$5;
|
|
131
|
+
deletedEvent?: EntityDeletedEvent$5;
|
|
132
|
+
actionEvent?: ActionEvent$5;
|
|
133
133
|
/**
|
|
134
134
|
* Unique event ID.
|
|
135
135
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -168,19 +168,19 @@ interface DomainEvent$4 extends DomainEventBodyOneOf$4 {
|
|
|
168
168
|
entityEventSequence?: string | null;
|
|
169
169
|
}
|
|
170
170
|
/** @oneof */
|
|
171
|
-
interface DomainEventBodyOneOf$
|
|
172
|
-
createdEvent?: EntityCreatedEvent$
|
|
173
|
-
updatedEvent?: EntityUpdatedEvent$
|
|
174
|
-
deletedEvent?: EntityDeletedEvent$
|
|
175
|
-
actionEvent?: ActionEvent$
|
|
171
|
+
interface DomainEventBodyOneOf$5 {
|
|
172
|
+
createdEvent?: EntityCreatedEvent$5;
|
|
173
|
+
updatedEvent?: EntityUpdatedEvent$5;
|
|
174
|
+
deletedEvent?: EntityDeletedEvent$5;
|
|
175
|
+
actionEvent?: ActionEvent$5;
|
|
176
176
|
}
|
|
177
|
-
interface EntityCreatedEvent$
|
|
177
|
+
interface EntityCreatedEvent$5 {
|
|
178
178
|
entity?: string;
|
|
179
179
|
}
|
|
180
180
|
interface UndeleteInfo$4 {
|
|
181
181
|
deletedDate?: Date;
|
|
182
182
|
}
|
|
183
|
-
interface EntityUpdatedEvent$
|
|
183
|
+
interface EntityUpdatedEvent$5 {
|
|
184
184
|
/**
|
|
185
185
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
186
186
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -188,14 +188,14 @@ interface EntityUpdatedEvent$4 {
|
|
|
188
188
|
*/
|
|
189
189
|
currentEntity?: string;
|
|
190
190
|
}
|
|
191
|
-
interface EntityDeletedEvent$
|
|
191
|
+
interface EntityDeletedEvent$5 {
|
|
192
192
|
/** Entity that was deleted */
|
|
193
193
|
deletedEntity?: string | null;
|
|
194
194
|
}
|
|
195
|
-
interface ActionEvent$
|
|
195
|
+
interface ActionEvent$5 {
|
|
196
196
|
body?: string;
|
|
197
197
|
}
|
|
198
|
-
interface Empty$
|
|
198
|
+
interface Empty$3 {
|
|
199
199
|
}
|
|
200
200
|
interface AdminRemoveMenuItemsResponse {
|
|
201
201
|
/** number of items queried for deletion */
|
|
@@ -203,17 +203,17 @@ interface AdminRemoveMenuItemsResponse {
|
|
|
203
203
|
/** number of items sucessfully deleted */
|
|
204
204
|
numItemsSuccessfullyDeleted?: number;
|
|
205
205
|
}
|
|
206
|
-
interface MessageEnvelope$
|
|
206
|
+
interface MessageEnvelope$5 {
|
|
207
207
|
/** App instance ID. */
|
|
208
208
|
instanceId?: string | null;
|
|
209
209
|
/** Event type. */
|
|
210
210
|
eventType?: string;
|
|
211
211
|
/** The identification type and identity data. */
|
|
212
|
-
identity?: IdentificationData$
|
|
212
|
+
identity?: IdentificationData$5;
|
|
213
213
|
/** Stringify payload. */
|
|
214
214
|
data?: string;
|
|
215
215
|
}
|
|
216
|
-
interface IdentificationData$
|
|
216
|
+
interface IdentificationData$5 extends IdentificationDataIdOneOf$5 {
|
|
217
217
|
/** ID of a site visitor that has not logged in to the site. */
|
|
218
218
|
anonymousVisitorId?: string;
|
|
219
219
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -223,10 +223,10 @@ interface IdentificationData$4 extends IdentificationDataIdOneOf$4 {
|
|
|
223
223
|
/** ID of an app. */
|
|
224
224
|
appId?: string;
|
|
225
225
|
/** @readonly */
|
|
226
|
-
identityType?: WebhookIdentityType$
|
|
226
|
+
identityType?: WebhookIdentityType$5;
|
|
227
227
|
}
|
|
228
228
|
/** @oneof */
|
|
229
|
-
interface IdentificationDataIdOneOf$
|
|
229
|
+
interface IdentificationDataIdOneOf$5 {
|
|
230
230
|
/** ID of a site visitor that has not logged in to the site. */
|
|
231
231
|
anonymousVisitorId?: string;
|
|
232
232
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -236,7 +236,7 @@ interface IdentificationDataIdOneOf$4 {
|
|
|
236
236
|
/** ID of an app. */
|
|
237
237
|
appId?: string;
|
|
238
238
|
}
|
|
239
|
-
declare enum WebhookIdentityType$
|
|
239
|
+
declare enum WebhookIdentityType$5 {
|
|
240
240
|
UNKNOWN = "UNKNOWN",
|
|
241
241
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
242
242
|
MEMBER = "MEMBER",
|
|
@@ -320,11 +320,11 @@ interface GetCollectionResponse {
|
|
|
320
320
|
}
|
|
321
321
|
interface ListCollectionsRequest {
|
|
322
322
|
/** Maximum limit per response is 100, in first request cursor is None */
|
|
323
|
-
paging?: CursorPaging$
|
|
323
|
+
paging?: CursorPaging$4;
|
|
324
324
|
/** Include page url */
|
|
325
325
|
includePageUrl?: boolean | null;
|
|
326
326
|
}
|
|
327
|
-
interface CursorPaging$
|
|
327
|
+
interface CursorPaging$4 {
|
|
328
328
|
/** Maximum number of items to return in the results. */
|
|
329
329
|
limit?: number | null;
|
|
330
330
|
/**
|
|
@@ -339,9 +339,9 @@ interface ListCollectionsResponse {
|
|
|
339
339
|
/** Retrieved Collections */
|
|
340
340
|
collections?: Collection[];
|
|
341
341
|
/** Paging metadata */
|
|
342
|
-
metadata?: PagingMetadataV2$
|
|
342
|
+
metadata?: PagingMetadataV2$4;
|
|
343
343
|
}
|
|
344
|
-
interface PagingMetadataV2$
|
|
344
|
+
interface PagingMetadataV2$4 {
|
|
345
345
|
/** Number of items returned in the response. */
|
|
346
346
|
count?: number | null;
|
|
347
347
|
/** Offset that was requested. */
|
|
@@ -351,9 +351,9 @@ interface PagingMetadataV2$3 {
|
|
|
351
351
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
352
352
|
tooManyToCount?: boolean | null;
|
|
353
353
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
354
|
-
cursors?: Cursors$
|
|
354
|
+
cursors?: Cursors$4;
|
|
355
355
|
}
|
|
356
|
-
interface Cursors$
|
|
356
|
+
interface Cursors$4 {
|
|
357
357
|
/** Cursor string pointing to the next page in the list of results. */
|
|
358
358
|
next?: string | null;
|
|
359
359
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -385,7 +385,7 @@ interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
|
385
385
|
/** Paging options to limit and skip the number of items. */
|
|
386
386
|
paging?: Paging$3;
|
|
387
387
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
388
|
-
cursorPaging?: CursorPaging$
|
|
388
|
+
cursorPaging?: CursorPaging$4;
|
|
389
389
|
/**
|
|
390
390
|
* Filter object in the following format:
|
|
391
391
|
* `"filter" : {
|
|
@@ -410,7 +410,7 @@ interface QueryV2PagingMethodOneOf$3 {
|
|
|
410
410
|
/** Paging options to limit and skip the number of items. */
|
|
411
411
|
paging?: Paging$3;
|
|
412
412
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
413
|
-
cursorPaging?: CursorPaging$
|
|
413
|
+
cursorPaging?: CursorPaging$4;
|
|
414
414
|
}
|
|
415
415
|
interface Sorting$3 {
|
|
416
416
|
/** Name of the field to sort by. */
|
|
@@ -432,7 +432,7 @@ interface QueryCollectionsResponse {
|
|
|
432
432
|
/** The retrieved Collections */
|
|
433
433
|
collections?: Collection[];
|
|
434
434
|
/** Paging metadata */
|
|
435
|
-
metadata?: PagingMetadataV2$
|
|
435
|
+
metadata?: PagingMetadataV2$4;
|
|
436
436
|
}
|
|
437
437
|
interface CreateCollectionResponseNonNullableFields {
|
|
438
438
|
collection?: {
|
|
@@ -578,7 +578,7 @@ interface BaseEventMetadata$3 {
|
|
|
578
578
|
/** Event type. */
|
|
579
579
|
eventType?: string;
|
|
580
580
|
/** The identification type and identity data. */
|
|
581
|
-
identity?: IdentificationData$
|
|
581
|
+
identity?: IdentificationData$5;
|
|
582
582
|
}
|
|
583
583
|
interface EventMetadata$3 extends BaseEventMetadata$3 {
|
|
584
584
|
/**
|
|
@@ -635,7 +635,7 @@ interface GetCollectionOptions {
|
|
|
635
635
|
}
|
|
636
636
|
interface ListCollectionsOptions {
|
|
637
637
|
/** Maximum limit per response is 100, in first request cursor is None */
|
|
638
|
-
paging?: CursorPaging$
|
|
638
|
+
paging?: CursorPaging$4;
|
|
639
639
|
/** Include page url */
|
|
640
640
|
includePageUrl?: boolean | null;
|
|
641
641
|
}
|
|
@@ -685,7 +685,7 @@ interface QueryCollectionsOptions {
|
|
|
685
685
|
includePageUrl?: boolean | null | undefined;
|
|
686
686
|
}
|
|
687
687
|
interface QueryCursorResult$2 {
|
|
688
|
-
cursors: Cursors$
|
|
688
|
+
cursors: Cursors$4;
|
|
689
689
|
hasNext: () => boolean;
|
|
690
690
|
hasPrev: () => boolean;
|
|
691
691
|
length: number;
|
|
@@ -764,6 +764,7 @@ interface CollectionsQueryBuilder {
|
|
|
764
764
|
|
|
765
765
|
interface HttpClient {
|
|
766
766
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
767
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
767
768
|
}
|
|
768
769
|
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
769
770
|
type HttpResponse<T = any> = {
|
|
@@ -788,12 +789,19 @@ type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
|
788
789
|
__type: 'event-definition';
|
|
789
790
|
type: Type;
|
|
790
791
|
isDomainEvent?: boolean;
|
|
791
|
-
transformations?: unknown;
|
|
792
|
+
transformations?: (envelope: unknown) => Payload;
|
|
792
793
|
__payload: Payload;
|
|
793
794
|
};
|
|
794
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean,
|
|
795
|
+
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
795
796
|
|
|
796
|
-
declare
|
|
797
|
+
declare global {
|
|
798
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
799
|
+
interface SymbolConstructor {
|
|
800
|
+
readonly observable: symbol;
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
declare const __metadata$5: {
|
|
797
805
|
PACKAGE_NAME: string;
|
|
798
806
|
};
|
|
799
807
|
declare function createCollection(httpClient: HttpClient): (collection: Collection) => Promise<Collection & {
|
|
@@ -878,46 +886,46 @@ declare const onCollectionCreated: EventDefinition<CollectionCreatedEnvelope, "w
|
|
|
878
886
|
declare const onCollectionUpdated: EventDefinition<CollectionUpdatedEnvelope, "wix.portfolio.collections.v1.collection_updated">;
|
|
879
887
|
declare const onCollectionDeleted: EventDefinition<CollectionDeletedEnvelope, "wix.portfolio.collections.v1.collection_deleted">;
|
|
880
888
|
|
|
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
|
-
type index_d$
|
|
896
|
-
type index_d$
|
|
897
|
-
type index_d$
|
|
898
|
-
type index_d$
|
|
899
|
-
type index_d$
|
|
900
|
-
type index_d$
|
|
901
|
-
type index_d$
|
|
902
|
-
type index_d$
|
|
903
|
-
type index_d$
|
|
904
|
-
type index_d$
|
|
905
|
-
type index_d$
|
|
906
|
-
type index_d$
|
|
907
|
-
type index_d$
|
|
908
|
-
type index_d$
|
|
909
|
-
type index_d$
|
|
910
|
-
declare const index_d$
|
|
911
|
-
declare const index_d$
|
|
912
|
-
declare const index_d$
|
|
913
|
-
declare const index_d$
|
|
914
|
-
declare const index_d$
|
|
915
|
-
declare const index_d$
|
|
916
|
-
declare const index_d$
|
|
917
|
-
declare const index_d$
|
|
918
|
-
declare const index_d$
|
|
919
|
-
declare namespace index_d$
|
|
920
|
-
export { type ActionEvent$
|
|
889
|
+
type index_d$5_AdminRemoveMenuItemsResponse = AdminRemoveMenuItemsResponse;
|
|
890
|
+
type index_d$5_Collection = Collection;
|
|
891
|
+
type index_d$5_CollectionCreatedEnvelope = CollectionCreatedEnvelope;
|
|
892
|
+
type index_d$5_CollectionDeletedEnvelope = CollectionDeletedEnvelope;
|
|
893
|
+
type index_d$5_CollectionUpdatedEnvelope = CollectionUpdatedEnvelope;
|
|
894
|
+
type index_d$5_CollectionsQueryBuilder = CollectionsQueryBuilder;
|
|
895
|
+
type index_d$5_CollectionsQueryResult = CollectionsQueryResult;
|
|
896
|
+
type index_d$5_CreateCollectionRequest = CreateCollectionRequest;
|
|
897
|
+
type index_d$5_CreateCollectionResponse = CreateCollectionResponse;
|
|
898
|
+
type index_d$5_CreateCollectionResponseNonNullableFields = CreateCollectionResponseNonNullableFields;
|
|
899
|
+
type index_d$5_DeleteCollectionRequest = DeleteCollectionRequest;
|
|
900
|
+
type index_d$5_DeleteCollectionResponse = DeleteCollectionResponse;
|
|
901
|
+
type index_d$5_DeleteCollectionResponseNonNullableFields = DeleteCollectionResponseNonNullableFields;
|
|
902
|
+
type index_d$5_GetCollectionOptions = GetCollectionOptions;
|
|
903
|
+
type index_d$5_GetCollectionRequest = GetCollectionRequest;
|
|
904
|
+
type index_d$5_GetCollectionResponse = GetCollectionResponse;
|
|
905
|
+
type index_d$5_GetCollectionResponseNonNullableFields = GetCollectionResponseNonNullableFields;
|
|
906
|
+
type index_d$5_ListCollectionsOptions = ListCollectionsOptions;
|
|
907
|
+
type index_d$5_ListCollectionsRequest = ListCollectionsRequest;
|
|
908
|
+
type index_d$5_ListCollectionsResponse = ListCollectionsResponse;
|
|
909
|
+
type index_d$5_ListCollectionsResponseNonNullableFields = ListCollectionsResponseNonNullableFields;
|
|
910
|
+
type index_d$5_QueryCollectionsOptions = QueryCollectionsOptions;
|
|
911
|
+
type index_d$5_QueryCollectionsRequest = QueryCollectionsRequest;
|
|
912
|
+
type index_d$5_QueryCollectionsResponse = QueryCollectionsResponse;
|
|
913
|
+
type index_d$5_QueryCollectionsResponseNonNullableFields = QueryCollectionsResponseNonNullableFields;
|
|
914
|
+
type index_d$5_UpdateCollection = UpdateCollection;
|
|
915
|
+
type index_d$5_UpdateCollectionRequest = UpdateCollectionRequest;
|
|
916
|
+
type index_d$5_UpdateCollectionResponse = UpdateCollectionResponse;
|
|
917
|
+
type index_d$5_UpdateCollectionResponseNonNullableFields = UpdateCollectionResponseNonNullableFields;
|
|
918
|
+
declare const index_d$5_createCollection: typeof createCollection;
|
|
919
|
+
declare const index_d$5_deleteCollection: typeof deleteCollection;
|
|
920
|
+
declare const index_d$5_getCollection: typeof getCollection;
|
|
921
|
+
declare const index_d$5_listCollections: typeof listCollections;
|
|
922
|
+
declare const index_d$5_onCollectionCreated: typeof onCollectionCreated;
|
|
923
|
+
declare const index_d$5_onCollectionDeleted: typeof onCollectionDeleted;
|
|
924
|
+
declare const index_d$5_onCollectionUpdated: typeof onCollectionUpdated;
|
|
925
|
+
declare const index_d$5_queryCollections: typeof queryCollections;
|
|
926
|
+
declare const index_d$5_updateCollection: typeof updateCollection;
|
|
927
|
+
declare namespace index_d$5 {
|
|
928
|
+
export { type ActionEvent$5 as ActionEvent, type index_d$5_AdminRemoveMenuItemsResponse as AdminRemoveMenuItemsResponse, type App$2 as App, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$5_Collection as Collection, type index_d$5_CollectionCreatedEnvelope as CollectionCreatedEnvelope, type index_d$5_CollectionDeletedEnvelope as CollectionDeletedEnvelope, type index_d$5_CollectionUpdatedEnvelope as CollectionUpdatedEnvelope, type index_d$5_CollectionsQueryBuilder as CollectionsQueryBuilder, type index_d$5_CollectionsQueryResult as CollectionsQueryResult, type index_d$5_CreateCollectionRequest as CreateCollectionRequest, type index_d$5_CreateCollectionResponse as CreateCollectionResponse, type index_d$5_CreateCollectionResponseNonNullableFields as CreateCollectionResponseNonNullableFields, type CursorPaging$4 as CursorPaging, type Cursors$4 as Cursors, type index_d$5_DeleteCollectionRequest as DeleteCollectionRequest, type index_d$5_DeleteCollectionResponse as DeleteCollectionResponse, type index_d$5_DeleteCollectionResponseNonNullableFields as DeleteCollectionResponseNonNullableFields, type DomainEvent$5 as DomainEvent, type DomainEventBodyOneOf$5 as DomainEventBodyOneOf, type Empty$3 as Empty, type EntityCreatedEvent$5 as EntityCreatedEvent, type EntityDeletedEvent$5 as EntityDeletedEvent, type EntityUpdatedEvent$5 as EntityUpdatedEvent, type EventMetadata$3 as EventMetadata, type File$2 as File, type index_d$5_GetCollectionOptions as GetCollectionOptions, type index_d$5_GetCollectionRequest as GetCollectionRequest, type index_d$5_GetCollectionResponse as GetCollectionResponse, type index_d$5_GetCollectionResponseNonNullableFields as GetCollectionResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type Image$3 as Image, ImageType$3 as ImageType, type InvalidateCache$2 as InvalidateCache, type InvalidateCacheGetByOneOf$2 as InvalidateCacheGetByOneOf, type Keyword$2 as Keyword, type index_d$5_ListCollectionsOptions as ListCollectionsOptions, type index_d$5_ListCollectionsRequest as ListCollectionsRequest, type index_d$5_ListCollectionsResponse as ListCollectionsResponse, type index_d$5_ListCollectionsResponseNonNullableFields as ListCollectionsResponseNonNullableFields, type MessageEnvelope$5 as MessageEnvelope, type Page$2 as Page, type Paging$3 as Paging, type PagingMetadataV2$4 as PagingMetadataV2, type Point$3 as Point, type index_d$5_QueryCollectionsOptions as QueryCollectionsOptions, type index_d$5_QueryCollectionsRequest as QueryCollectionsRequest, type index_d$5_QueryCollectionsResponse as QueryCollectionsResponse, type index_d$5_QueryCollectionsResponseNonNullableFields as QueryCollectionsResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, type SeoSchema$2 as SeoSchema, type Settings$2 as Settings, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type Tag$2 as Tag, type URI$2 as URI, type UndeleteInfo$4 as UndeleteInfo, type UnsharpMasking$3 as UnsharpMasking, type index_d$5_UpdateCollection as UpdateCollection, type index_d$5_UpdateCollectionRequest as UpdateCollectionRequest, type index_d$5_UpdateCollectionResponse as UpdateCollectionResponse, type index_d$5_UpdateCollectionResponseNonNullableFields as UpdateCollectionResponseNonNullableFields, WebhookIdentityType$5 as WebhookIdentityType, __metadata$5 as __metadata, index_d$5_createCollection as createCollection, index_d$5_deleteCollection as deleteCollection, index_d$5_getCollection as getCollection, index_d$5_listCollections as listCollections, index_d$5_onCollectionCreated as onCollectionCreated, index_d$5_onCollectionDeleted as onCollectionDeleted, index_d$5_onCollectionUpdated as onCollectionUpdated, index_d$5_queryCollections as queryCollections, index_d$5_updateCollection as updateCollection };
|
|
921
929
|
}
|
|
922
930
|
|
|
923
931
|
interface PortfolioSettings {
|
|
@@ -978,11 +986,11 @@ interface UpdatePortfolioSettingsResponse {
|
|
|
978
986
|
/** The updated portfolio settings */
|
|
979
987
|
updatedPortfolioSettings?: PortfolioSettings;
|
|
980
988
|
}
|
|
981
|
-
interface DomainEvent$
|
|
982
|
-
createdEvent?: EntityCreatedEvent$
|
|
983
|
-
updatedEvent?: EntityUpdatedEvent$
|
|
984
|
-
deletedEvent?: EntityDeletedEvent$
|
|
985
|
-
actionEvent?: ActionEvent$
|
|
989
|
+
interface DomainEvent$4 extends DomainEventBodyOneOf$4 {
|
|
990
|
+
createdEvent?: EntityCreatedEvent$4;
|
|
991
|
+
updatedEvent?: EntityUpdatedEvent$4;
|
|
992
|
+
deletedEvent?: EntityDeletedEvent$4;
|
|
993
|
+
actionEvent?: ActionEvent$4;
|
|
986
994
|
/**
|
|
987
995
|
* Unique event ID.
|
|
988
996
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -1021,19 +1029,19 @@ interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
|
|
|
1021
1029
|
entityEventSequence?: string | null;
|
|
1022
1030
|
}
|
|
1023
1031
|
/** @oneof */
|
|
1024
|
-
interface DomainEventBodyOneOf$
|
|
1025
|
-
createdEvent?: EntityCreatedEvent$
|
|
1026
|
-
updatedEvent?: EntityUpdatedEvent$
|
|
1027
|
-
deletedEvent?: EntityDeletedEvent$
|
|
1028
|
-
actionEvent?: ActionEvent$
|
|
1032
|
+
interface DomainEventBodyOneOf$4 {
|
|
1033
|
+
createdEvent?: EntityCreatedEvent$4;
|
|
1034
|
+
updatedEvent?: EntityUpdatedEvent$4;
|
|
1035
|
+
deletedEvent?: EntityDeletedEvent$4;
|
|
1036
|
+
actionEvent?: ActionEvent$4;
|
|
1029
1037
|
}
|
|
1030
|
-
interface EntityCreatedEvent$
|
|
1038
|
+
interface EntityCreatedEvent$4 {
|
|
1031
1039
|
entity?: string;
|
|
1032
1040
|
}
|
|
1033
1041
|
interface UndeleteInfo$3 {
|
|
1034
1042
|
deletedDate?: Date;
|
|
1035
1043
|
}
|
|
1036
|
-
interface EntityUpdatedEvent$
|
|
1044
|
+
interface EntityUpdatedEvent$4 {
|
|
1037
1045
|
/**
|
|
1038
1046
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1039
1047
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -1041,24 +1049,24 @@ interface EntityUpdatedEvent$3 {
|
|
|
1041
1049
|
*/
|
|
1042
1050
|
currentEntity?: string;
|
|
1043
1051
|
}
|
|
1044
|
-
interface EntityDeletedEvent$
|
|
1052
|
+
interface EntityDeletedEvent$4 {
|
|
1045
1053
|
/** Entity that was deleted */
|
|
1046
1054
|
deletedEntity?: string | null;
|
|
1047
1055
|
}
|
|
1048
|
-
interface ActionEvent$
|
|
1056
|
+
interface ActionEvent$4 {
|
|
1049
1057
|
body?: string;
|
|
1050
1058
|
}
|
|
1051
|
-
interface MessageEnvelope$
|
|
1059
|
+
interface MessageEnvelope$4 {
|
|
1052
1060
|
/** App instance ID. */
|
|
1053
1061
|
instanceId?: string | null;
|
|
1054
1062
|
/** Event type. */
|
|
1055
1063
|
eventType?: string;
|
|
1056
1064
|
/** The identification type and identity data. */
|
|
1057
|
-
identity?: IdentificationData$
|
|
1065
|
+
identity?: IdentificationData$4;
|
|
1058
1066
|
/** Stringify payload. */
|
|
1059
1067
|
data?: string;
|
|
1060
1068
|
}
|
|
1061
|
-
interface IdentificationData$
|
|
1069
|
+
interface IdentificationData$4 extends IdentificationDataIdOneOf$4 {
|
|
1062
1070
|
/** ID of a site visitor that has not logged in to the site. */
|
|
1063
1071
|
anonymousVisitorId?: string;
|
|
1064
1072
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -1068,10 +1076,10 @@ interface IdentificationData$3 extends IdentificationDataIdOneOf$3 {
|
|
|
1068
1076
|
/** ID of an app. */
|
|
1069
1077
|
appId?: string;
|
|
1070
1078
|
/** @readonly */
|
|
1071
|
-
identityType?: WebhookIdentityType$
|
|
1079
|
+
identityType?: WebhookIdentityType$4;
|
|
1072
1080
|
}
|
|
1073
1081
|
/** @oneof */
|
|
1074
|
-
interface IdentificationDataIdOneOf$
|
|
1082
|
+
interface IdentificationDataIdOneOf$4 {
|
|
1075
1083
|
/** ID of a site visitor that has not logged in to the site. */
|
|
1076
1084
|
anonymousVisitorId?: string;
|
|
1077
1085
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -1081,7 +1089,7 @@ interface IdentificationDataIdOneOf$3 {
|
|
|
1081
1089
|
/** ID of an app. */
|
|
1082
1090
|
appId?: string;
|
|
1083
1091
|
}
|
|
1084
|
-
declare enum WebhookIdentityType$
|
|
1092
|
+
declare enum WebhookIdentityType$4 {
|
|
1085
1093
|
UNKNOWN = "UNKNOWN",
|
|
1086
1094
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1087
1095
|
MEMBER = "MEMBER",
|
|
@@ -1113,7 +1121,7 @@ interface UpdatePortfolioSettingsResponseNonNullableFields {
|
|
|
1113
1121
|
};
|
|
1114
1122
|
}
|
|
1115
1123
|
|
|
1116
|
-
declare const __metadata$
|
|
1124
|
+
declare const __metadata$4: {
|
|
1117
1125
|
PACKAGE_NAME: string;
|
|
1118
1126
|
};
|
|
1119
1127
|
declare function createPortfolioSettings(httpClient: HttpClient): (portfolioSettings: PortfolioSettings) => Promise<PortfolioSettings & {
|
|
@@ -1125,28 +1133,28 @@ declare function createPortfolioSettings(httpClient: HttpClient): (portfolioSett
|
|
|
1125
1133
|
declare function getPortfolioSettings(httpClient: HttpClient): () => Promise<GetPortfolioSettingsResponse & GetPortfolioSettingsResponseNonNullableFields>;
|
|
1126
1134
|
declare function updatePortfolioSettings(httpClient: HttpClient): (portfolioSettings: PortfolioSettings) => Promise<UpdatePortfolioSettingsResponse & UpdatePortfolioSettingsResponseNonNullableFields>;
|
|
1127
1135
|
|
|
1128
|
-
type index_d$
|
|
1129
|
-
declare const index_d$
|
|
1130
|
-
type index_d$
|
|
1131
|
-
type index_d$
|
|
1132
|
-
type index_d$
|
|
1133
|
-
type index_d$
|
|
1134
|
-
declare const index_d$
|
|
1135
|
-
type index_d$
|
|
1136
|
-
type index_d$
|
|
1137
|
-
type index_d$
|
|
1138
|
-
type index_d$
|
|
1139
|
-
type index_d$
|
|
1140
|
-
type index_d$
|
|
1141
|
-
type index_d$
|
|
1142
|
-
type index_d$
|
|
1143
|
-
type index_d$
|
|
1144
|
-
type index_d$
|
|
1145
|
-
declare const index_d$
|
|
1146
|
-
declare const index_d$
|
|
1147
|
-
declare const index_d$
|
|
1148
|
-
declare namespace index_d$
|
|
1149
|
-
export { type ActionEvent$
|
|
1136
|
+
type index_d$4_AddItemDirection = AddItemDirection;
|
|
1137
|
+
declare const index_d$4_AddItemDirection: typeof AddItemDirection;
|
|
1138
|
+
type index_d$4_CreatePortfolioSettingsRequest = CreatePortfolioSettingsRequest;
|
|
1139
|
+
type index_d$4_CreatePortfolioSettingsResponse = CreatePortfolioSettingsResponse;
|
|
1140
|
+
type index_d$4_CreatePortfolioSettingsResponseNonNullableFields = CreatePortfolioSettingsResponseNonNullableFields;
|
|
1141
|
+
type index_d$4_DefaultItemName = DefaultItemName;
|
|
1142
|
+
declare const index_d$4_DefaultItemName: typeof DefaultItemName;
|
|
1143
|
+
type index_d$4_GetPortfolioSettingsRequest = GetPortfolioSettingsRequest;
|
|
1144
|
+
type index_d$4_GetPortfolioSettingsResponse = GetPortfolioSettingsResponse;
|
|
1145
|
+
type index_d$4_GetPortfolioSettingsResponseNonNullableFields = GetPortfolioSettingsResponseNonNullableFields;
|
|
1146
|
+
type index_d$4_MediaSettings = MediaSettings;
|
|
1147
|
+
type index_d$4_PortfolioSettings = PortfolioSettings;
|
|
1148
|
+
type index_d$4_ProjectItemSettings = ProjectItemSettings;
|
|
1149
|
+
type index_d$4_SiteMenuSettings = SiteMenuSettings;
|
|
1150
|
+
type index_d$4_UpdatePortfolioSettingsRequest = UpdatePortfolioSettingsRequest;
|
|
1151
|
+
type index_d$4_UpdatePortfolioSettingsResponse = UpdatePortfolioSettingsResponse;
|
|
1152
|
+
type index_d$4_UpdatePortfolioSettingsResponseNonNullableFields = UpdatePortfolioSettingsResponseNonNullableFields;
|
|
1153
|
+
declare const index_d$4_createPortfolioSettings: typeof createPortfolioSettings;
|
|
1154
|
+
declare const index_d$4_getPortfolioSettings: typeof getPortfolioSettings;
|
|
1155
|
+
declare const index_d$4_updatePortfolioSettings: typeof updatePortfolioSettings;
|
|
1156
|
+
declare namespace index_d$4 {
|
|
1157
|
+
export { type ActionEvent$4 as ActionEvent, index_d$4_AddItemDirection as AddItemDirection, type index_d$4_CreatePortfolioSettingsRequest as CreatePortfolioSettingsRequest, type index_d$4_CreatePortfolioSettingsResponse as CreatePortfolioSettingsResponse, type index_d$4_CreatePortfolioSettingsResponseNonNullableFields as CreatePortfolioSettingsResponseNonNullableFields, index_d$4_DefaultItemName as DefaultItemName, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type index_d$4_GetPortfolioSettingsRequest as GetPortfolioSettingsRequest, type index_d$4_GetPortfolioSettingsResponse as GetPortfolioSettingsResponse, type index_d$4_GetPortfolioSettingsResponseNonNullableFields as GetPortfolioSettingsResponseNonNullableFields, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, type index_d$4_MediaSettings as MediaSettings, type MessageEnvelope$4 as MessageEnvelope, type index_d$4_PortfolioSettings as PortfolioSettings, type index_d$4_ProjectItemSettings as ProjectItemSettings, type index_d$4_SiteMenuSettings as SiteMenuSettings, type UndeleteInfo$3 as UndeleteInfo, type index_d$4_UpdatePortfolioSettingsRequest as UpdatePortfolioSettingsRequest, type index_d$4_UpdatePortfolioSettingsResponse as UpdatePortfolioSettingsResponse, type index_d$4_UpdatePortfolioSettingsResponseNonNullableFields as UpdatePortfolioSettingsResponseNonNullableFields, WebhookIdentityType$4 as WebhookIdentityType, __metadata$4 as __metadata, index_d$4_createPortfolioSettings as createPortfolioSettings, index_d$4_getPortfolioSettings as getPortfolioSettings, index_d$4_updatePortfolioSettings as updatePortfolioSettings };
|
|
1150
1158
|
}
|
|
1151
1159
|
|
|
1152
1160
|
/** ProjectItem is the main entity of ProjectItemsService */
|
|
@@ -1285,7 +1293,7 @@ interface Link {
|
|
|
1285
1293
|
}
|
|
1286
1294
|
interface GenerateTokenForProjectItemsRequest {
|
|
1287
1295
|
/** Media ids of requested project items */
|
|
1288
|
-
mediaIds
|
|
1296
|
+
mediaIds?: string[];
|
|
1289
1297
|
}
|
|
1290
1298
|
interface GenerateTokenForProjectItemsResponse {
|
|
1291
1299
|
/** Generated media tokens for project items */
|
|
@@ -1297,11 +1305,11 @@ interface ProjectItemMediaToken {
|
|
|
1297
1305
|
/** Generated media token for project item */
|
|
1298
1306
|
mediaToken?: string;
|
|
1299
1307
|
}
|
|
1300
|
-
interface DomainEvent$
|
|
1301
|
-
createdEvent?: EntityCreatedEvent$
|
|
1302
|
-
updatedEvent?: EntityUpdatedEvent$
|
|
1303
|
-
deletedEvent?: EntityDeletedEvent$
|
|
1304
|
-
actionEvent?: ActionEvent$
|
|
1308
|
+
interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
|
|
1309
|
+
createdEvent?: EntityCreatedEvent$3;
|
|
1310
|
+
updatedEvent?: EntityUpdatedEvent$3;
|
|
1311
|
+
deletedEvent?: EntityDeletedEvent$3;
|
|
1312
|
+
actionEvent?: ActionEvent$3;
|
|
1305
1313
|
/**
|
|
1306
1314
|
* Unique event ID.
|
|
1307
1315
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -1340,19 +1348,19 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
|
|
|
1340
1348
|
entityEventSequence?: string | null;
|
|
1341
1349
|
}
|
|
1342
1350
|
/** @oneof */
|
|
1343
|
-
interface DomainEventBodyOneOf$
|
|
1344
|
-
createdEvent?: EntityCreatedEvent$
|
|
1345
|
-
updatedEvent?: EntityUpdatedEvent$
|
|
1346
|
-
deletedEvent?: EntityDeletedEvent$
|
|
1347
|
-
actionEvent?: ActionEvent$
|
|
1351
|
+
interface DomainEventBodyOneOf$3 {
|
|
1352
|
+
createdEvent?: EntityCreatedEvent$3;
|
|
1353
|
+
updatedEvent?: EntityUpdatedEvent$3;
|
|
1354
|
+
deletedEvent?: EntityDeletedEvent$3;
|
|
1355
|
+
actionEvent?: ActionEvent$3;
|
|
1348
1356
|
}
|
|
1349
|
-
interface EntityCreatedEvent$
|
|
1357
|
+
interface EntityCreatedEvent$3 {
|
|
1350
1358
|
entity?: string;
|
|
1351
1359
|
}
|
|
1352
|
-
interface
|
|
1360
|
+
interface RestoreInfo$1 {
|
|
1353
1361
|
deletedDate?: Date;
|
|
1354
1362
|
}
|
|
1355
|
-
interface EntityUpdatedEvent$
|
|
1363
|
+
interface EntityUpdatedEvent$3 {
|
|
1356
1364
|
/**
|
|
1357
1365
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1358
1366
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -1360,24 +1368,24 @@ interface EntityUpdatedEvent$2 {
|
|
|
1360
1368
|
*/
|
|
1361
1369
|
currentEntity?: string;
|
|
1362
1370
|
}
|
|
1363
|
-
interface EntityDeletedEvent$
|
|
1371
|
+
interface EntityDeletedEvent$3 {
|
|
1364
1372
|
/** Entity that was deleted */
|
|
1365
1373
|
deletedEntity?: string | null;
|
|
1366
1374
|
}
|
|
1367
|
-
interface ActionEvent$
|
|
1375
|
+
interface ActionEvent$3 {
|
|
1368
1376
|
body?: string;
|
|
1369
1377
|
}
|
|
1370
|
-
interface MessageEnvelope$
|
|
1378
|
+
interface MessageEnvelope$3 {
|
|
1371
1379
|
/** App instance ID. */
|
|
1372
1380
|
instanceId?: string | null;
|
|
1373
1381
|
/** Event type. */
|
|
1374
1382
|
eventType?: string;
|
|
1375
1383
|
/** The identification type and identity data. */
|
|
1376
|
-
identity?: IdentificationData$
|
|
1384
|
+
identity?: IdentificationData$3;
|
|
1377
1385
|
/** Stringify payload. */
|
|
1378
1386
|
data?: string;
|
|
1379
1387
|
}
|
|
1380
|
-
interface IdentificationData$
|
|
1388
|
+
interface IdentificationData$3 extends IdentificationDataIdOneOf$3 {
|
|
1381
1389
|
/** ID of a site visitor that has not logged in to the site. */
|
|
1382
1390
|
anonymousVisitorId?: string;
|
|
1383
1391
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -1387,10 +1395,10 @@ interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
|
|
|
1387
1395
|
/** ID of an app. */
|
|
1388
1396
|
appId?: string;
|
|
1389
1397
|
/** @readonly */
|
|
1390
|
-
identityType?: WebhookIdentityType$
|
|
1398
|
+
identityType?: WebhookIdentityType$3;
|
|
1391
1399
|
}
|
|
1392
1400
|
/** @oneof */
|
|
1393
|
-
interface IdentificationDataIdOneOf$
|
|
1401
|
+
interface IdentificationDataIdOneOf$3 {
|
|
1394
1402
|
/** ID of a site visitor that has not logged in to the site. */
|
|
1395
1403
|
anonymousVisitorId?: string;
|
|
1396
1404
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -1400,7 +1408,7 @@ interface IdentificationDataIdOneOf$2 {
|
|
|
1400
1408
|
/** ID of an app. */
|
|
1401
1409
|
appId?: string;
|
|
1402
1410
|
}
|
|
1403
|
-
declare enum WebhookIdentityType$
|
|
1411
|
+
declare enum WebhookIdentityType$3 {
|
|
1404
1412
|
UNKNOWN = "UNKNOWN",
|
|
1405
1413
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1406
1414
|
MEMBER = "MEMBER",
|
|
@@ -1542,11 +1550,11 @@ interface ListProjectItemsResponse {
|
|
|
1542
1550
|
* Paging metadata
|
|
1543
1551
|
* @deprecated
|
|
1544
1552
|
*/
|
|
1545
|
-
pagingMetadataV2?: PagingMetadataV2$
|
|
1553
|
+
pagingMetadataV2?: PagingMetadataV2$3;
|
|
1546
1554
|
/** Paging metadata */
|
|
1547
|
-
metadata?: PagingMetadataV2$
|
|
1555
|
+
metadata?: PagingMetadataV2$3;
|
|
1548
1556
|
}
|
|
1549
|
-
interface PagingMetadataV2$
|
|
1557
|
+
interface PagingMetadataV2$3 {
|
|
1550
1558
|
/** Number of items returned in the response. */
|
|
1551
1559
|
count?: number | null;
|
|
1552
1560
|
/** Offset that was requested. */
|
|
@@ -1556,9 +1564,9 @@ interface PagingMetadataV2$2 {
|
|
|
1556
1564
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
1557
1565
|
tooManyToCount?: boolean | null;
|
|
1558
1566
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
1559
|
-
cursors?: Cursors$
|
|
1567
|
+
cursors?: Cursors$3;
|
|
1560
1568
|
}
|
|
1561
|
-
interface Cursors$
|
|
1569
|
+
interface Cursors$3 {
|
|
1562
1570
|
/** Cursor string pointing to the next page in the list of results. */
|
|
1563
1571
|
next?: string | null;
|
|
1564
1572
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -1572,7 +1580,7 @@ interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
|
1572
1580
|
/** Paging options to limit and skip the number of items. */
|
|
1573
1581
|
paging?: Paging$2;
|
|
1574
1582
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
1575
|
-
cursorPaging?: CursorPaging$
|
|
1583
|
+
cursorPaging?: CursorPaging$3;
|
|
1576
1584
|
/**
|
|
1577
1585
|
* Filter object in the following format:
|
|
1578
1586
|
* `"filter" : {
|
|
@@ -1597,7 +1605,7 @@ interface QueryV2PagingMethodOneOf$2 {
|
|
|
1597
1605
|
/** Paging options to limit and skip the number of items. */
|
|
1598
1606
|
paging?: Paging$2;
|
|
1599
1607
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
1600
|
-
cursorPaging?: CursorPaging$
|
|
1608
|
+
cursorPaging?: CursorPaging$3;
|
|
1601
1609
|
}
|
|
1602
1610
|
interface Sorting$2 {
|
|
1603
1611
|
/** Name of the field to sort by. */
|
|
@@ -1609,7 +1617,7 @@ declare enum SortOrder$2 {
|
|
|
1609
1617
|
ASC = "ASC",
|
|
1610
1618
|
DESC = "DESC"
|
|
1611
1619
|
}
|
|
1612
|
-
interface CursorPaging$
|
|
1620
|
+
interface CursorPaging$3 {
|
|
1613
1621
|
/** Maximum number of items to return in the results. */
|
|
1614
1622
|
limit?: number | null;
|
|
1615
1623
|
/**
|
|
@@ -1624,7 +1632,7 @@ interface QueryProjectItemsResponse {
|
|
|
1624
1632
|
/** ProjectItems retrieved */
|
|
1625
1633
|
items?: Item[];
|
|
1626
1634
|
/** Paging metadata */
|
|
1627
|
-
metadata?: PagingMetadataV2$
|
|
1635
|
+
metadata?: PagingMetadataV2$3;
|
|
1628
1636
|
}
|
|
1629
1637
|
interface UpdateProjectItemRequest {
|
|
1630
1638
|
/** ProjectItem to be updated, may be partial */
|
|
@@ -1692,7 +1700,10 @@ interface CreateProjectGalleryResponse {
|
|
|
1692
1700
|
/** Id of created gallery */
|
|
1693
1701
|
galleryId?: string;
|
|
1694
1702
|
}
|
|
1695
|
-
interface
|
|
1703
|
+
interface UndeleteInfo$2 {
|
|
1704
|
+
deletedDate?: Date;
|
|
1705
|
+
}
|
|
1706
|
+
interface Empty$2 {
|
|
1696
1707
|
}
|
|
1697
1708
|
interface DeletedProjectRestored$1 {
|
|
1698
1709
|
/** the id of the project that was restored */
|
|
@@ -1712,12 +1723,6 @@ interface DuplicateProjectItemsResponse {
|
|
|
1712
1723
|
/** Result metadata */
|
|
1713
1724
|
bulkActionMetadata?: BulkActionMetadata$1;
|
|
1714
1725
|
}
|
|
1715
|
-
interface GenerateTokenForProjectItemsResponseNonNullableFields {
|
|
1716
|
-
mediaTokens: {
|
|
1717
|
-
mediaId: string;
|
|
1718
|
-
mediaToken: string;
|
|
1719
|
-
}[];
|
|
1720
|
-
}
|
|
1721
1726
|
interface CreateProjectItemResponseNonNullableFields {
|
|
1722
1727
|
item?: {
|
|
1723
1728
|
image?: {
|
|
@@ -1874,7 +1879,7 @@ interface BaseEventMetadata$2 {
|
|
|
1874
1879
|
/** Event type. */
|
|
1875
1880
|
eventType?: string;
|
|
1876
1881
|
/** The identification type and identity data. */
|
|
1877
|
-
identity?: IdentificationData$
|
|
1882
|
+
identity?: IdentificationData$3;
|
|
1878
1883
|
}
|
|
1879
1884
|
interface EventMetadata$2 extends BaseEventMetadata$2 {
|
|
1880
1885
|
/**
|
|
@@ -1996,10 +2001,9 @@ interface DuplicateProjectItemsOptions {
|
|
|
1996
2001
|
targetProjectId: string;
|
|
1997
2002
|
}
|
|
1998
2003
|
|
|
1999
|
-
declare const __metadata$
|
|
2004
|
+
declare const __metadata$3: {
|
|
2000
2005
|
PACKAGE_NAME: string;
|
|
2001
2006
|
};
|
|
2002
|
-
declare function generateTokenForProjectItems(httpClient: HttpClient): (mediaIds: string[]) => Promise<GenerateTokenForProjectItemsResponse & GenerateTokenForProjectItemsResponseNonNullableFields>;
|
|
2003
2007
|
declare function createProjectItem(httpClient: HttpClient): (item: Item) => Promise<Item & {
|
|
2004
2008
|
image?: {
|
|
2005
2009
|
imageInfo: string;
|
|
@@ -2049,75 +2053,73 @@ declare const onProjectItemCreated: EventDefinition<ProjectItemCreatedEnvelope,
|
|
|
2049
2053
|
declare const onProjectItemUpdated: EventDefinition<ProjectItemUpdatedEnvelope, "wix.portfolio.project_items.v1.project_item_updated">;
|
|
2050
2054
|
declare const onProjectItemDeleted: EventDefinition<ProjectItemDeletedEnvelope, "wix.portfolio.project_items.v1.project_item_deleted">;
|
|
2051
2055
|
|
|
2052
|
-
type index_d$
|
|
2053
|
-
type index_d$
|
|
2054
|
-
type index_d$
|
|
2055
|
-
type index_d$
|
|
2056
|
-
type index_d$
|
|
2057
|
-
type index_d$
|
|
2058
|
-
type index_d$
|
|
2059
|
-
type index_d$
|
|
2060
|
-
type index_d$
|
|
2061
|
-
type index_d$
|
|
2062
|
-
type index_d$
|
|
2063
|
-
type index_d$
|
|
2064
|
-
type index_d$
|
|
2065
|
-
type index_d$
|
|
2066
|
-
type index_d$
|
|
2067
|
-
type index_d$
|
|
2068
|
-
type index_d$
|
|
2069
|
-
type index_d$
|
|
2070
|
-
type index_d$
|
|
2071
|
-
type index_d$
|
|
2072
|
-
type index_d$
|
|
2073
|
-
type index_d$
|
|
2074
|
-
type index_d$
|
|
2075
|
-
type index_d$
|
|
2076
|
-
type index_d$
|
|
2077
|
-
type index_d$
|
|
2078
|
-
type index_d$
|
|
2079
|
-
type index_d$
|
|
2080
|
-
type index_d$
|
|
2081
|
-
type index_d$
|
|
2082
|
-
type index_d$
|
|
2083
|
-
type index_d$
|
|
2084
|
-
type index_d$
|
|
2085
|
-
type index_d$
|
|
2086
|
-
type index_d$
|
|
2087
|
-
type index_d$
|
|
2088
|
-
type index_d$
|
|
2089
|
-
type index_d$
|
|
2090
|
-
type index_d$
|
|
2091
|
-
type index_d$
|
|
2092
|
-
type index_d$
|
|
2093
|
-
type index_d$
|
|
2094
|
-
type index_d$
|
|
2095
|
-
type index_d$
|
|
2096
|
-
type index_d$
|
|
2097
|
-
type index_d$
|
|
2098
|
-
type index_d$
|
|
2099
|
-
type index_d$
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
type index_d$
|
|
2103
|
-
type index_d$
|
|
2104
|
-
type index_d$
|
|
2105
|
-
|
|
2106
|
-
declare const index_d$
|
|
2107
|
-
declare const index_d$
|
|
2108
|
-
declare const index_d$
|
|
2109
|
-
declare const index_d$
|
|
2110
|
-
declare const index_d$
|
|
2111
|
-
declare const index_d$
|
|
2112
|
-
declare const index_d$
|
|
2113
|
-
declare const index_d$
|
|
2114
|
-
declare const index_d$
|
|
2115
|
-
declare const index_d$
|
|
2116
|
-
declare const index_d$
|
|
2117
|
-
declare
|
|
2118
|
-
|
|
2119
|
-
declare namespace index_d$2 {
|
|
2120
|
-
export { type ActionEvent$2 as ActionEvent, type App$1 as App, type ApplicationError$1 as ApplicationError, type BaseEventMetadata$2 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$2_BulkCreateProjectItemResult as BulkCreateProjectItemResult, type index_d$2_BulkCreateProjectItemsOptions as BulkCreateProjectItemsOptions, type index_d$2_BulkCreateProjectItemsRequest as BulkCreateProjectItemsRequest, type index_d$2_BulkCreateProjectItemsResponse as BulkCreateProjectItemsResponse, type index_d$2_BulkCreateProjectItemsResponseNonNullableFields as BulkCreateProjectItemsResponseNonNullableFields, type index_d$2_BulkDeleteProjectItemResult as BulkDeleteProjectItemResult, type index_d$2_BulkDeleteProjectItemsOptions as BulkDeleteProjectItemsOptions, type index_d$2_BulkDeleteProjectItemsRequest as BulkDeleteProjectItemsRequest, type index_d$2_BulkDeleteProjectItemsResponse as BulkDeleteProjectItemsResponse, type index_d$2_BulkDeleteProjectItemsResponseNonNullableFields as BulkDeleteProjectItemsResponseNonNullableFields, type index_d$2_BulkUpdateProjectItemResult as BulkUpdateProjectItemResult, type index_d$2_BulkUpdateProjectItemsOptions as BulkUpdateProjectItemsOptions, type index_d$2_BulkUpdateProjectItemsRequest as BulkUpdateProjectItemsRequest, type index_d$2_BulkUpdateProjectItemsResponse as BulkUpdateProjectItemsResponse, type index_d$2_BulkUpdateProjectItemsResponseNonNullableFields as BulkUpdateProjectItemsResponseNonNullableFields, type index_d$2_CreateProjectGalleryRequest as CreateProjectGalleryRequest, type index_d$2_CreateProjectGalleryResponse as CreateProjectGalleryResponse, type index_d$2_CreateProjectItemRequest as CreateProjectItemRequest, type index_d$2_CreateProjectItemResponse as CreateProjectItemResponse, type index_d$2_CreateProjectItemResponseNonNullableFields as CreateProjectItemResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type Cursors$2 as Cursors, type index_d$2_DeleteProjectItemRequest as DeleteProjectItemRequest, type index_d$2_DeleteProjectItemResponse as DeleteProjectItemResponse, type index_d$2_DeleteProjectItemResponseNonNullableFields as DeleteProjectItemResponseNonNullableFields, type DeletedProjectRestored$1 as DeletedProjectRestored, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type index_d$2_DuplicateProjectItemsOptions as DuplicateProjectItemsOptions, type index_d$2_DuplicateProjectItemsRequest as DuplicateProjectItemsRequest, type index_d$2_DuplicateProjectItemsResponse as DuplicateProjectItemsResponse, type index_d$2_DuplicateProjectItemsResponseNonNullableFields as DuplicateProjectItemsResponseNonNullableFields, type Empty$1 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type File$1 as File, type index_d$2_GenerateTokenForProjectItemsRequest as GenerateTokenForProjectItemsRequest, type index_d$2_GenerateTokenForProjectItemsResponse as GenerateTokenForProjectItemsResponse, type index_d$2_GenerateTokenForProjectItemsResponseNonNullableFields as GenerateTokenForProjectItemsResponseNonNullableFields, type index_d$2_GetProjectItemRequest as GetProjectItemRequest, type index_d$2_GetProjectItemResponse as GetProjectItemResponse, type index_d$2_GetProjectItemResponseNonNullableFields as GetProjectItemResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Image$2 as Image, ImageType$2 as ImageType, type InvalidateCache$1 as InvalidateCache, type InvalidateCacheGetByOneOf$1 as InvalidateCacheGetByOneOf, type index_d$2_Item as Item, type ItemMetadata$1 as ItemMetadata, type index_d$2_ItemMetadataOneOf as ItemMetadataOneOf, type index_d$2_Link as Link, type index_d$2_ListProjectItemsOptions as ListProjectItemsOptions, type index_d$2_ListProjectItemsRequest as ListProjectItemsRequest, type index_d$2_ListProjectItemsResponse as ListProjectItemsResponse, type index_d$2_ListProjectItemsResponseNonNullableFields as ListProjectItemsResponseNonNullableFields, type index_d$2_MaskedItem as MaskedItem, type MessageEnvelope$2 as MessageEnvelope, type Page$1 as Page, type Paging$2 as Paging, type PagingMetadataV2$2 as PagingMetadataV2, type Point$2 as Point, type index_d$2_ProjectItemCreatedEnvelope as ProjectItemCreatedEnvelope, type index_d$2_ProjectItemDeletedEnvelope as ProjectItemDeletedEnvelope, type index_d$2_ProjectItemMediaToken as ProjectItemMediaToken, type index_d$2_ProjectItemUpdatedEnvelope as ProjectItemUpdatedEnvelope, type index_d$2_QueryProjectItemsRequest as QueryProjectItemsRequest, type index_d$2_QueryProjectItemsResponse as QueryProjectItemsResponse, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type index_d$2_Tags as Tags, index_d$2_Type as Type, type URI$1 as URI, type UndeleteInfo$2 as UndeleteInfo, type UnsharpMasking$2 as UnsharpMasking, type index_d$2_UpdateProjectItem as UpdateProjectItem, type index_d$2_UpdateProjectItemRequest as UpdateProjectItemRequest, type index_d$2_UpdateProjectItemResponse as UpdateProjectItemResponse, type index_d$2_UpdateProjectItemResponseNonNullableFields as UpdateProjectItemResponseNonNullableFields, type Video$2 as Video, type VideoResolution$2 as VideoResolution, WebhookIdentityType$2 as WebhookIdentityType, __metadata$2 as __metadata, index_d$2_bulkCreateProjectItems as bulkCreateProjectItems, index_d$2_bulkDeleteProjectItems as bulkDeleteProjectItems, index_d$2_bulkUpdateProjectItems as bulkUpdateProjectItems, index_d$2_createProjectItem as createProjectItem, index_d$2_deleteProjectItem as deleteProjectItem, index_d$2_duplicateProjectItems as duplicateProjectItems, index_d$2_generateTokenForProjectItems as generateTokenForProjectItems, index_d$2_getProjectItem as getProjectItem, index_d$2_listProjectItems as listProjectItems, index_d$2_onProjectItemCreated as onProjectItemCreated, index_d$2_onProjectItemDeleted as onProjectItemDeleted, index_d$2_onProjectItemUpdated as onProjectItemUpdated, index_d$2_updateProjectItem as updateProjectItem };
|
|
2056
|
+
type index_d$3_BulkCreateProjectItemResult = BulkCreateProjectItemResult;
|
|
2057
|
+
type index_d$3_BulkCreateProjectItemsOptions = BulkCreateProjectItemsOptions;
|
|
2058
|
+
type index_d$3_BulkCreateProjectItemsRequest = BulkCreateProjectItemsRequest;
|
|
2059
|
+
type index_d$3_BulkCreateProjectItemsResponse = BulkCreateProjectItemsResponse;
|
|
2060
|
+
type index_d$3_BulkCreateProjectItemsResponseNonNullableFields = BulkCreateProjectItemsResponseNonNullableFields;
|
|
2061
|
+
type index_d$3_BulkDeleteProjectItemResult = BulkDeleteProjectItemResult;
|
|
2062
|
+
type index_d$3_BulkDeleteProjectItemsOptions = BulkDeleteProjectItemsOptions;
|
|
2063
|
+
type index_d$3_BulkDeleteProjectItemsRequest = BulkDeleteProjectItemsRequest;
|
|
2064
|
+
type index_d$3_BulkDeleteProjectItemsResponse = BulkDeleteProjectItemsResponse;
|
|
2065
|
+
type index_d$3_BulkDeleteProjectItemsResponseNonNullableFields = BulkDeleteProjectItemsResponseNonNullableFields;
|
|
2066
|
+
type index_d$3_BulkUpdateProjectItemResult = BulkUpdateProjectItemResult;
|
|
2067
|
+
type index_d$3_BulkUpdateProjectItemsOptions = BulkUpdateProjectItemsOptions;
|
|
2068
|
+
type index_d$3_BulkUpdateProjectItemsRequest = BulkUpdateProjectItemsRequest;
|
|
2069
|
+
type index_d$3_BulkUpdateProjectItemsResponse = BulkUpdateProjectItemsResponse;
|
|
2070
|
+
type index_d$3_BulkUpdateProjectItemsResponseNonNullableFields = BulkUpdateProjectItemsResponseNonNullableFields;
|
|
2071
|
+
type index_d$3_CreateProjectGalleryRequest = CreateProjectGalleryRequest;
|
|
2072
|
+
type index_d$3_CreateProjectGalleryResponse = CreateProjectGalleryResponse;
|
|
2073
|
+
type index_d$3_CreateProjectItemRequest = CreateProjectItemRequest;
|
|
2074
|
+
type index_d$3_CreateProjectItemResponse = CreateProjectItemResponse;
|
|
2075
|
+
type index_d$3_CreateProjectItemResponseNonNullableFields = CreateProjectItemResponseNonNullableFields;
|
|
2076
|
+
type index_d$3_DeleteProjectItemRequest = DeleteProjectItemRequest;
|
|
2077
|
+
type index_d$3_DeleteProjectItemResponse = DeleteProjectItemResponse;
|
|
2078
|
+
type index_d$3_DeleteProjectItemResponseNonNullableFields = DeleteProjectItemResponseNonNullableFields;
|
|
2079
|
+
type index_d$3_DuplicateProjectItemsOptions = DuplicateProjectItemsOptions;
|
|
2080
|
+
type index_d$3_DuplicateProjectItemsRequest = DuplicateProjectItemsRequest;
|
|
2081
|
+
type index_d$3_DuplicateProjectItemsResponse = DuplicateProjectItemsResponse;
|
|
2082
|
+
type index_d$3_DuplicateProjectItemsResponseNonNullableFields = DuplicateProjectItemsResponseNonNullableFields;
|
|
2083
|
+
type index_d$3_GenerateTokenForProjectItemsRequest = GenerateTokenForProjectItemsRequest;
|
|
2084
|
+
type index_d$3_GenerateTokenForProjectItemsResponse = GenerateTokenForProjectItemsResponse;
|
|
2085
|
+
type index_d$3_GetProjectItemRequest = GetProjectItemRequest;
|
|
2086
|
+
type index_d$3_GetProjectItemResponse = GetProjectItemResponse;
|
|
2087
|
+
type index_d$3_GetProjectItemResponseNonNullableFields = GetProjectItemResponseNonNullableFields;
|
|
2088
|
+
type index_d$3_Item = Item;
|
|
2089
|
+
type index_d$3_ItemMetadataOneOf = ItemMetadataOneOf;
|
|
2090
|
+
type index_d$3_Link = Link;
|
|
2091
|
+
type index_d$3_ListProjectItemsOptions = ListProjectItemsOptions;
|
|
2092
|
+
type index_d$3_ListProjectItemsRequest = ListProjectItemsRequest;
|
|
2093
|
+
type index_d$3_ListProjectItemsResponse = ListProjectItemsResponse;
|
|
2094
|
+
type index_d$3_ListProjectItemsResponseNonNullableFields = ListProjectItemsResponseNonNullableFields;
|
|
2095
|
+
type index_d$3_MaskedItem = MaskedItem;
|
|
2096
|
+
type index_d$3_ProjectItemCreatedEnvelope = ProjectItemCreatedEnvelope;
|
|
2097
|
+
type index_d$3_ProjectItemDeletedEnvelope = ProjectItemDeletedEnvelope;
|
|
2098
|
+
type index_d$3_ProjectItemMediaToken = ProjectItemMediaToken;
|
|
2099
|
+
type index_d$3_ProjectItemUpdatedEnvelope = ProjectItemUpdatedEnvelope;
|
|
2100
|
+
type index_d$3_QueryProjectItemsRequest = QueryProjectItemsRequest;
|
|
2101
|
+
type index_d$3_QueryProjectItemsResponse = QueryProjectItemsResponse;
|
|
2102
|
+
type index_d$3_Tags = Tags;
|
|
2103
|
+
type index_d$3_Type = Type;
|
|
2104
|
+
declare const index_d$3_Type: typeof Type;
|
|
2105
|
+
type index_d$3_UpdateProjectItem = UpdateProjectItem;
|
|
2106
|
+
type index_d$3_UpdateProjectItemRequest = UpdateProjectItemRequest;
|
|
2107
|
+
type index_d$3_UpdateProjectItemResponse = UpdateProjectItemResponse;
|
|
2108
|
+
type index_d$3_UpdateProjectItemResponseNonNullableFields = UpdateProjectItemResponseNonNullableFields;
|
|
2109
|
+
declare const index_d$3_bulkCreateProjectItems: typeof bulkCreateProjectItems;
|
|
2110
|
+
declare const index_d$3_bulkDeleteProjectItems: typeof bulkDeleteProjectItems;
|
|
2111
|
+
declare const index_d$3_bulkUpdateProjectItems: typeof bulkUpdateProjectItems;
|
|
2112
|
+
declare const index_d$3_createProjectItem: typeof createProjectItem;
|
|
2113
|
+
declare const index_d$3_deleteProjectItem: typeof deleteProjectItem;
|
|
2114
|
+
declare const index_d$3_duplicateProjectItems: typeof duplicateProjectItems;
|
|
2115
|
+
declare const index_d$3_getProjectItem: typeof getProjectItem;
|
|
2116
|
+
declare const index_d$3_listProjectItems: typeof listProjectItems;
|
|
2117
|
+
declare const index_d$3_onProjectItemCreated: typeof onProjectItemCreated;
|
|
2118
|
+
declare const index_d$3_onProjectItemDeleted: typeof onProjectItemDeleted;
|
|
2119
|
+
declare const index_d$3_onProjectItemUpdated: typeof onProjectItemUpdated;
|
|
2120
|
+
declare const index_d$3_updateProjectItem: typeof updateProjectItem;
|
|
2121
|
+
declare namespace index_d$3 {
|
|
2122
|
+
export { type ActionEvent$3 as ActionEvent, type App$1 as App, type ApplicationError$1 as ApplicationError, type BaseEventMetadata$2 as BaseEventMetadata, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$3_BulkCreateProjectItemResult as BulkCreateProjectItemResult, type index_d$3_BulkCreateProjectItemsOptions as BulkCreateProjectItemsOptions, type index_d$3_BulkCreateProjectItemsRequest as BulkCreateProjectItemsRequest, type index_d$3_BulkCreateProjectItemsResponse as BulkCreateProjectItemsResponse, type index_d$3_BulkCreateProjectItemsResponseNonNullableFields as BulkCreateProjectItemsResponseNonNullableFields, type index_d$3_BulkDeleteProjectItemResult as BulkDeleteProjectItemResult, type index_d$3_BulkDeleteProjectItemsOptions as BulkDeleteProjectItemsOptions, type index_d$3_BulkDeleteProjectItemsRequest as BulkDeleteProjectItemsRequest, type index_d$3_BulkDeleteProjectItemsResponse as BulkDeleteProjectItemsResponse, type index_d$3_BulkDeleteProjectItemsResponseNonNullableFields as BulkDeleteProjectItemsResponseNonNullableFields, type index_d$3_BulkUpdateProjectItemResult as BulkUpdateProjectItemResult, type index_d$3_BulkUpdateProjectItemsOptions as BulkUpdateProjectItemsOptions, type index_d$3_BulkUpdateProjectItemsRequest as BulkUpdateProjectItemsRequest, type index_d$3_BulkUpdateProjectItemsResponse as BulkUpdateProjectItemsResponse, type index_d$3_BulkUpdateProjectItemsResponseNonNullableFields as BulkUpdateProjectItemsResponseNonNullableFields, type index_d$3_CreateProjectGalleryRequest as CreateProjectGalleryRequest, type index_d$3_CreateProjectGalleryResponse as CreateProjectGalleryResponse, type index_d$3_CreateProjectItemRequest as CreateProjectItemRequest, type index_d$3_CreateProjectItemResponse as CreateProjectItemResponse, type index_d$3_CreateProjectItemResponseNonNullableFields as CreateProjectItemResponseNonNullableFields, type CursorPaging$3 as CursorPaging, type Cursors$3 as Cursors, type index_d$3_DeleteProjectItemRequest as DeleteProjectItemRequest, type index_d$3_DeleteProjectItemResponse as DeleteProjectItemResponse, type index_d$3_DeleteProjectItemResponseNonNullableFields as DeleteProjectItemResponseNonNullableFields, type DeletedProjectRestored$1 as DeletedProjectRestored, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type index_d$3_DuplicateProjectItemsOptions as DuplicateProjectItemsOptions, type index_d$3_DuplicateProjectItemsRequest as DuplicateProjectItemsRequest, type index_d$3_DuplicateProjectItemsResponse as DuplicateProjectItemsResponse, type index_d$3_DuplicateProjectItemsResponseNonNullableFields as DuplicateProjectItemsResponseNonNullableFields, type Empty$2 as Empty, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type File$1 as File, type index_d$3_GenerateTokenForProjectItemsRequest as GenerateTokenForProjectItemsRequest, type index_d$3_GenerateTokenForProjectItemsResponse as GenerateTokenForProjectItemsResponse, type index_d$3_GetProjectItemRequest as GetProjectItemRequest, type index_d$3_GetProjectItemResponse as GetProjectItemResponse, type index_d$3_GetProjectItemResponseNonNullableFields as GetProjectItemResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type Image$2 as Image, ImageType$2 as ImageType, type InvalidateCache$1 as InvalidateCache, type InvalidateCacheGetByOneOf$1 as InvalidateCacheGetByOneOf, type index_d$3_Item as Item, type ItemMetadata$1 as ItemMetadata, type index_d$3_ItemMetadataOneOf as ItemMetadataOneOf, type index_d$3_Link as Link, type index_d$3_ListProjectItemsOptions as ListProjectItemsOptions, type index_d$3_ListProjectItemsRequest as ListProjectItemsRequest, type index_d$3_ListProjectItemsResponse as ListProjectItemsResponse, type index_d$3_ListProjectItemsResponseNonNullableFields as ListProjectItemsResponseNonNullableFields, type index_d$3_MaskedItem as MaskedItem, type MessageEnvelope$3 as MessageEnvelope, type Page$1 as Page, type Paging$2 as Paging, type PagingMetadataV2$3 as PagingMetadataV2, type Point$2 as Point, type index_d$3_ProjectItemCreatedEnvelope as ProjectItemCreatedEnvelope, type index_d$3_ProjectItemDeletedEnvelope as ProjectItemDeletedEnvelope, type index_d$3_ProjectItemMediaToken as ProjectItemMediaToken, type index_d$3_ProjectItemUpdatedEnvelope as ProjectItemUpdatedEnvelope, type index_d$3_QueryProjectItemsRequest as QueryProjectItemsRequest, type index_d$3_QueryProjectItemsResponse as QueryProjectItemsResponse, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, type RestoreInfo$1 as RestoreInfo, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type index_d$3_Tags as Tags, index_d$3_Type as Type, type URI$1 as URI, type UndeleteInfo$2 as UndeleteInfo, type UnsharpMasking$2 as UnsharpMasking, type index_d$3_UpdateProjectItem as UpdateProjectItem, type index_d$3_UpdateProjectItemRequest as UpdateProjectItemRequest, type index_d$3_UpdateProjectItemResponse as UpdateProjectItemResponse, type index_d$3_UpdateProjectItemResponseNonNullableFields as UpdateProjectItemResponseNonNullableFields, type Video$2 as Video, type VideoResolution$2 as VideoResolution, WebhookIdentityType$3 as WebhookIdentityType, __metadata$3 as __metadata, index_d$3_bulkCreateProjectItems as bulkCreateProjectItems, index_d$3_bulkDeleteProjectItems as bulkDeleteProjectItems, index_d$3_bulkUpdateProjectItems as bulkUpdateProjectItems, index_d$3_createProjectItem as createProjectItem, index_d$3_deleteProjectItem as deleteProjectItem, index_d$3_duplicateProjectItems as duplicateProjectItems, index_d$3_getProjectItem as getProjectItem, index_d$3_listProjectItems as listProjectItems, index_d$3_onProjectItemCreated as onProjectItemCreated, index_d$3_onProjectItemDeleted as onProjectItemDeleted, index_d$3_onProjectItemUpdated as onProjectItemUpdated, index_d$3_updateProjectItem as updateProjectItem };
|
|
2121
2123
|
}
|
|
2122
2124
|
|
|
2123
2125
|
/** Project is the main entity of ProjectsService */
|
|
@@ -2266,13 +2268,13 @@ interface ProjectSource$1 {
|
|
|
2266
2268
|
/** link to external source */
|
|
2267
2269
|
link?: string | null;
|
|
2268
2270
|
/** Sync status */
|
|
2269
|
-
syncStatus?: SyncStatus$
|
|
2271
|
+
syncStatus?: SyncStatus$2;
|
|
2270
2272
|
/** fields that are synced from external source, should be blocked to update in UI */
|
|
2271
2273
|
notEditableFields?: string[];
|
|
2272
2274
|
/** last date the project was synced */
|
|
2273
2275
|
lastSync?: Date;
|
|
2274
2276
|
}
|
|
2275
|
-
declare enum SyncStatus$
|
|
2277
|
+
declare enum SyncStatus$2 {
|
|
2276
2278
|
SYNCED = "SYNCED",
|
|
2277
2279
|
SYNCING = "SYNCING",
|
|
2278
2280
|
NOT_SYNCED = "NOT_SYNCED"
|
|
@@ -2353,37 +2355,37 @@ interface CreateNewPortfolioAppRequest {
|
|
|
2353
2355
|
}
|
|
2354
2356
|
interface CreateNewPortfolioAppResponse {
|
|
2355
2357
|
}
|
|
2356
|
-
interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
2358
|
+
interface MetaSiteSpecialEvent$1 extends MetaSiteSpecialEventPayloadOneOf$1 {
|
|
2357
2359
|
/** Emitted on a meta site creation. */
|
|
2358
|
-
siteCreated?: SiteCreated;
|
|
2360
|
+
siteCreated?: SiteCreated$1;
|
|
2359
2361
|
/** Emitted on a meta site transfer completion. */
|
|
2360
|
-
siteTransferred?: SiteTransferred;
|
|
2362
|
+
siteTransferred?: SiteTransferred$1;
|
|
2361
2363
|
/** Emitted on a meta site deletion. */
|
|
2362
|
-
siteDeleted?: SiteDeleted;
|
|
2364
|
+
siteDeleted?: SiteDeleted$1;
|
|
2363
2365
|
/** Emitted on a meta site restoration. */
|
|
2364
|
-
siteUndeleted?: SiteUndeleted;
|
|
2366
|
+
siteUndeleted?: SiteUndeleted$1;
|
|
2365
2367
|
/** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
|
|
2366
|
-
sitePublished?: SitePublished;
|
|
2368
|
+
sitePublished?: SitePublished$1;
|
|
2367
2369
|
/** Emitted on a meta site unpublish. */
|
|
2368
|
-
siteUnpublished?: SiteUnpublished;
|
|
2370
|
+
siteUnpublished?: SiteUnpublished$1;
|
|
2369
2371
|
/** Emitted when meta site is marked as template. */
|
|
2370
|
-
siteMarkedAsTemplate?: SiteMarkedAsTemplate;
|
|
2372
|
+
siteMarkedAsTemplate?: SiteMarkedAsTemplate$1;
|
|
2371
2373
|
/** Emitted when meta site is marked as a WixSite. */
|
|
2372
|
-
siteMarkedAsWixSite?: SiteMarkedAsWixSite;
|
|
2374
|
+
siteMarkedAsWixSite?: SiteMarkedAsWixSite$1;
|
|
2373
2375
|
/** Emitted when an application is provisioned (installed). */
|
|
2374
|
-
serviceProvisioned?: ServiceProvisioned;
|
|
2376
|
+
serviceProvisioned?: ServiceProvisioned$1;
|
|
2375
2377
|
/** Emitted when an application is removed (uninstalled). */
|
|
2376
|
-
serviceRemoved?: ServiceRemoved;
|
|
2378
|
+
serviceRemoved?: ServiceRemoved$1;
|
|
2377
2379
|
/** Emitted when meta site name (URL slug) is changed. */
|
|
2378
|
-
siteRenamedPayload?: SiteRenamed;
|
|
2380
|
+
siteRenamedPayload?: SiteRenamed$1;
|
|
2379
2381
|
/** Emitted when meta site was permanently deleted. */
|
|
2380
|
-
hardDeleted?: SiteHardDeleted;
|
|
2382
|
+
hardDeleted?: SiteHardDeleted$1;
|
|
2381
2383
|
/** Emitted on a namespace change. */
|
|
2382
|
-
namespaceChanged?: NamespaceChanged;
|
|
2384
|
+
namespaceChanged?: NamespaceChanged$1;
|
|
2383
2385
|
/** Emitted when Studio is attached. */
|
|
2384
|
-
studioAssigned?: StudioAssigned;
|
|
2386
|
+
studioAssigned?: StudioAssigned$1;
|
|
2385
2387
|
/** Emitted when Studio is detached. */
|
|
2386
|
-
studioUnassigned?: StudioUnassigned;
|
|
2388
|
+
studioUnassigned?: StudioUnassigned$1;
|
|
2387
2389
|
/** A meta site id. */
|
|
2388
2390
|
metaSiteId?: string;
|
|
2389
2391
|
/** A meta site version. Monotonically increasing. */
|
|
@@ -2391,63 +2393,63 @@ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
2391
2393
|
/** A timestamp of the event. */
|
|
2392
2394
|
timestamp?: string;
|
|
2393
2395
|
/** A list of "assets" (applications). The same as MetaSiteContext. */
|
|
2394
|
-
assets?: Asset[];
|
|
2396
|
+
assets?: Asset$1[];
|
|
2395
2397
|
}
|
|
2396
2398
|
/** @oneof */
|
|
2397
|
-
interface MetaSiteSpecialEventPayloadOneOf {
|
|
2399
|
+
interface MetaSiteSpecialEventPayloadOneOf$1 {
|
|
2398
2400
|
/** Emitted on a meta site creation. */
|
|
2399
|
-
siteCreated?: SiteCreated;
|
|
2401
|
+
siteCreated?: SiteCreated$1;
|
|
2400
2402
|
/** Emitted on a meta site transfer completion. */
|
|
2401
|
-
siteTransferred?: SiteTransferred;
|
|
2403
|
+
siteTransferred?: SiteTransferred$1;
|
|
2402
2404
|
/** Emitted on a meta site deletion. */
|
|
2403
|
-
siteDeleted?: SiteDeleted;
|
|
2405
|
+
siteDeleted?: SiteDeleted$1;
|
|
2404
2406
|
/** Emitted on a meta site restoration. */
|
|
2405
|
-
siteUndeleted?: SiteUndeleted;
|
|
2407
|
+
siteUndeleted?: SiteUndeleted$1;
|
|
2406
2408
|
/** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
|
|
2407
|
-
sitePublished?: SitePublished;
|
|
2409
|
+
sitePublished?: SitePublished$1;
|
|
2408
2410
|
/** Emitted on a meta site unpublish. */
|
|
2409
|
-
siteUnpublished?: SiteUnpublished;
|
|
2411
|
+
siteUnpublished?: SiteUnpublished$1;
|
|
2410
2412
|
/** Emitted when meta site is marked as template. */
|
|
2411
|
-
siteMarkedAsTemplate?: SiteMarkedAsTemplate;
|
|
2413
|
+
siteMarkedAsTemplate?: SiteMarkedAsTemplate$1;
|
|
2412
2414
|
/** Emitted when meta site is marked as a WixSite. */
|
|
2413
|
-
siteMarkedAsWixSite?: SiteMarkedAsWixSite;
|
|
2415
|
+
siteMarkedAsWixSite?: SiteMarkedAsWixSite$1;
|
|
2414
2416
|
/** Emitted when an application is provisioned (installed). */
|
|
2415
|
-
serviceProvisioned?: ServiceProvisioned;
|
|
2417
|
+
serviceProvisioned?: ServiceProvisioned$1;
|
|
2416
2418
|
/** Emitted when an application is removed (uninstalled). */
|
|
2417
|
-
serviceRemoved?: ServiceRemoved;
|
|
2419
|
+
serviceRemoved?: ServiceRemoved$1;
|
|
2418
2420
|
/** Emitted when meta site name (URL slug) is changed. */
|
|
2419
|
-
siteRenamedPayload?: SiteRenamed;
|
|
2421
|
+
siteRenamedPayload?: SiteRenamed$1;
|
|
2420
2422
|
/** Emitted when meta site was permanently deleted. */
|
|
2421
|
-
hardDeleted?: SiteHardDeleted;
|
|
2423
|
+
hardDeleted?: SiteHardDeleted$1;
|
|
2422
2424
|
/** Emitted on a namespace change. */
|
|
2423
|
-
namespaceChanged?: NamespaceChanged;
|
|
2425
|
+
namespaceChanged?: NamespaceChanged$1;
|
|
2424
2426
|
/** Emitted when Studio is attached. */
|
|
2425
|
-
studioAssigned?: StudioAssigned;
|
|
2427
|
+
studioAssigned?: StudioAssigned$1;
|
|
2426
2428
|
/** Emitted when Studio is detached. */
|
|
2427
|
-
studioUnassigned?: StudioUnassigned;
|
|
2429
|
+
studioUnassigned?: StudioUnassigned$1;
|
|
2428
2430
|
}
|
|
2429
|
-
interface Asset {
|
|
2431
|
+
interface Asset$1 {
|
|
2430
2432
|
/** An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum). */
|
|
2431
2433
|
appDefId?: string;
|
|
2432
2434
|
/** An instance id. For legacy reasons may be UUID or a string. */
|
|
2433
2435
|
instanceId?: string;
|
|
2434
2436
|
/** An application state. */
|
|
2435
|
-
state?: State;
|
|
2437
|
+
state?: State$1;
|
|
2436
2438
|
}
|
|
2437
|
-
declare enum State {
|
|
2439
|
+
declare enum State$1 {
|
|
2438
2440
|
UNKNOWN = "UNKNOWN",
|
|
2439
2441
|
ENABLED = "ENABLED",
|
|
2440
2442
|
DISABLED = "DISABLED",
|
|
2441
2443
|
PENDING = "PENDING",
|
|
2442
2444
|
DEMO = "DEMO"
|
|
2443
2445
|
}
|
|
2444
|
-
interface SiteCreated {
|
|
2446
|
+
interface SiteCreated$1 {
|
|
2445
2447
|
/** A template identifier (empty if not created from a template). */
|
|
2446
2448
|
originTemplateId?: string;
|
|
2447
2449
|
/** An account id of the owner. */
|
|
2448
2450
|
ownerId?: string;
|
|
2449
2451
|
/** A context in which meta site was created. */
|
|
2450
|
-
context?: SiteCreatedContext;
|
|
2452
|
+
context?: SiteCreatedContext$1;
|
|
2451
2453
|
/**
|
|
2452
2454
|
* A meta site id from which this site was created.
|
|
2453
2455
|
*
|
|
@@ -2458,9 +2460,9 @@ interface SiteCreated {
|
|
|
2458
2460
|
/** A meta site name (URL slug). */
|
|
2459
2461
|
siteName?: string;
|
|
2460
2462
|
/** A namespace. */
|
|
2461
|
-
namespace?: Namespace;
|
|
2463
|
+
namespace?: Namespace$1;
|
|
2462
2464
|
}
|
|
2463
|
-
declare enum SiteCreatedContext {
|
|
2465
|
+
declare enum SiteCreatedContext$1 {
|
|
2464
2466
|
/** A valid option, we don't expose all reasons why site might be created. */
|
|
2465
2467
|
OTHER = "OTHER",
|
|
2466
2468
|
/** A meta site was created from template. */
|
|
@@ -2474,7 +2476,7 @@ declare enum SiteCreatedContext {
|
|
|
2474
2476
|
/** deprecated A meta site was created for Flash editor. */
|
|
2475
2477
|
FLASH = "FLASH"
|
|
2476
2478
|
}
|
|
2477
|
-
declare enum Namespace {
|
|
2479
|
+
declare enum Namespace$1 {
|
|
2478
2480
|
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
2479
2481
|
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
2480
2482
|
WIX = "WIX",
|
|
@@ -2535,48 +2537,48 @@ declare enum Namespace {
|
|
|
2535
2537
|
BRANDED_FIRST = "BRANDED_FIRST"
|
|
2536
2538
|
}
|
|
2537
2539
|
/** Site transferred to another user. */
|
|
2538
|
-
interface SiteTransferred {
|
|
2540
|
+
interface SiteTransferred$1 {
|
|
2539
2541
|
/** A previous owner id (user that transfers meta site). */
|
|
2540
2542
|
oldOwnerId?: string;
|
|
2541
2543
|
/** A new owner id (user that accepts meta site). */
|
|
2542
2544
|
newOwnerId?: string;
|
|
2543
2545
|
}
|
|
2544
2546
|
/** Soft deletion of the meta site. Could be restored. */
|
|
2545
|
-
interface SiteDeleted {
|
|
2547
|
+
interface SiteDeleted$1 {
|
|
2546
2548
|
/** A deletion context. */
|
|
2547
|
-
deleteContext?: DeleteContext;
|
|
2549
|
+
deleteContext?: DeleteContext$1;
|
|
2548
2550
|
}
|
|
2549
|
-
interface DeleteContext {
|
|
2551
|
+
interface DeleteContext$1 {
|
|
2550
2552
|
/** When the meta site was deleted. */
|
|
2551
2553
|
dateDeleted?: Date;
|
|
2552
2554
|
/** A status. */
|
|
2553
|
-
deleteStatus?: DeleteStatus;
|
|
2555
|
+
deleteStatus?: DeleteStatus$1;
|
|
2554
2556
|
/** A reason (flow). */
|
|
2555
2557
|
deleteOrigin?: string;
|
|
2556
2558
|
/** A service that deleted it. */
|
|
2557
2559
|
initiatorId?: string | null;
|
|
2558
2560
|
}
|
|
2559
|
-
declare enum DeleteStatus {
|
|
2561
|
+
declare enum DeleteStatus$1 {
|
|
2560
2562
|
UNKNOWN = "UNKNOWN",
|
|
2561
2563
|
TRASH = "TRASH",
|
|
2562
2564
|
DELETED = "DELETED",
|
|
2563
2565
|
PENDING_PURGE = "PENDING_PURGE"
|
|
2564
2566
|
}
|
|
2565
2567
|
/** Restoration of the meta site. */
|
|
2566
|
-
interface SiteUndeleted {
|
|
2568
|
+
interface SiteUndeleted$1 {
|
|
2567
2569
|
}
|
|
2568
2570
|
/** First publish of a meta site. Or subsequent publish after unpublish. */
|
|
2569
|
-
interface SitePublished {
|
|
2571
|
+
interface SitePublished$1 {
|
|
2570
2572
|
}
|
|
2571
|
-
interface SiteUnpublished {
|
|
2573
|
+
interface SiteUnpublished$1 {
|
|
2572
2574
|
/** A list of URLs previously associated with the meta site. */
|
|
2573
2575
|
urls?: string[];
|
|
2574
2576
|
}
|
|
2575
|
-
interface SiteMarkedAsTemplate {
|
|
2577
|
+
interface SiteMarkedAsTemplate$1 {
|
|
2576
2578
|
}
|
|
2577
|
-
interface SiteMarkedAsWixSite {
|
|
2579
|
+
interface SiteMarkedAsWixSite$1 {
|
|
2578
2580
|
}
|
|
2579
|
-
interface ServiceProvisioned {
|
|
2581
|
+
interface ServiceProvisioned$1 {
|
|
2580
2582
|
/** Either UUID or EmbeddedServiceType. */
|
|
2581
2583
|
appDefId?: string;
|
|
2582
2584
|
/** Not only UUID. Something here could be something weird. */
|
|
@@ -2586,7 +2588,7 @@ interface ServiceProvisioned {
|
|
|
2586
2588
|
/** A version. */
|
|
2587
2589
|
version?: string | null;
|
|
2588
2590
|
}
|
|
2589
|
-
interface ServiceRemoved {
|
|
2591
|
+
interface ServiceRemoved$1 {
|
|
2590
2592
|
/** Either UUID or EmbeddedServiceType. */
|
|
2591
2593
|
appDefId?: string;
|
|
2592
2594
|
/** Not only UUID. Something here could be something weird. */
|
|
@@ -2595,7 +2597,7 @@ interface ServiceRemoved {
|
|
|
2595
2597
|
version?: string | null;
|
|
2596
2598
|
}
|
|
2597
2599
|
/** Rename of the site. Meaning, free public url has been changed as well. */
|
|
2598
|
-
interface SiteRenamed {
|
|
2600
|
+
interface SiteRenamed$1 {
|
|
2599
2601
|
/** A new meta site name (URL slug). */
|
|
2600
2602
|
newSiteName?: string;
|
|
2601
2603
|
/** A previous meta site name (URL slug). */
|
|
@@ -2606,29 +2608,29 @@ interface SiteRenamed {
|
|
|
2606
2608
|
*
|
|
2607
2609
|
* Could not be restored. Therefore it's desirable to cleanup data.
|
|
2608
2610
|
*/
|
|
2609
|
-
interface SiteHardDeleted {
|
|
2611
|
+
interface SiteHardDeleted$1 {
|
|
2610
2612
|
/** A deletion context. */
|
|
2611
|
-
deleteContext?: DeleteContext;
|
|
2613
|
+
deleteContext?: DeleteContext$1;
|
|
2612
2614
|
}
|
|
2613
|
-
interface NamespaceChanged {
|
|
2615
|
+
interface NamespaceChanged$1 {
|
|
2614
2616
|
/** A previous namespace. */
|
|
2615
|
-
oldNamespace?: Namespace;
|
|
2617
|
+
oldNamespace?: Namespace$1;
|
|
2616
2618
|
/** A new namespace. */
|
|
2617
|
-
newNamespace?: Namespace;
|
|
2619
|
+
newNamespace?: Namespace$1;
|
|
2618
2620
|
}
|
|
2619
2621
|
/** Assigned Studio editor */
|
|
2620
|
-
interface StudioAssigned {
|
|
2622
|
+
interface StudioAssigned$1 {
|
|
2621
2623
|
}
|
|
2622
2624
|
/** Unassigned Studio editor */
|
|
2623
|
-
interface StudioUnassigned {
|
|
2625
|
+
interface StudioUnassigned$1 {
|
|
2624
2626
|
}
|
|
2625
|
-
interface Empty {
|
|
2627
|
+
interface Empty$1 {
|
|
2626
2628
|
}
|
|
2627
|
-
interface DomainEvent$
|
|
2628
|
-
createdEvent?: EntityCreatedEvent$
|
|
2629
|
-
updatedEvent?: EntityUpdatedEvent$
|
|
2630
|
-
deletedEvent?: EntityDeletedEvent$
|
|
2631
|
-
actionEvent?: ActionEvent$
|
|
2629
|
+
interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
|
|
2630
|
+
createdEvent?: EntityCreatedEvent$2;
|
|
2631
|
+
updatedEvent?: EntityUpdatedEvent$2;
|
|
2632
|
+
deletedEvent?: EntityDeletedEvent$2;
|
|
2633
|
+
actionEvent?: ActionEvent$2;
|
|
2632
2634
|
/**
|
|
2633
2635
|
* Unique event ID.
|
|
2634
2636
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -2667,19 +2669,19 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
|
2667
2669
|
entityEventSequence?: string | null;
|
|
2668
2670
|
}
|
|
2669
2671
|
/** @oneof */
|
|
2670
|
-
interface DomainEventBodyOneOf$
|
|
2671
|
-
createdEvent?: EntityCreatedEvent$
|
|
2672
|
-
updatedEvent?: EntityUpdatedEvent$
|
|
2673
|
-
deletedEvent?: EntityDeletedEvent$
|
|
2674
|
-
actionEvent?: ActionEvent$
|
|
2672
|
+
interface DomainEventBodyOneOf$2 {
|
|
2673
|
+
createdEvent?: EntityCreatedEvent$2;
|
|
2674
|
+
updatedEvent?: EntityUpdatedEvent$2;
|
|
2675
|
+
deletedEvent?: EntityDeletedEvent$2;
|
|
2676
|
+
actionEvent?: ActionEvent$2;
|
|
2675
2677
|
}
|
|
2676
|
-
interface EntityCreatedEvent$
|
|
2678
|
+
interface EntityCreatedEvent$2 {
|
|
2677
2679
|
entity?: string;
|
|
2678
2680
|
}
|
|
2679
2681
|
interface UndeleteInfo$1 {
|
|
2680
2682
|
deletedDate?: Date;
|
|
2681
2683
|
}
|
|
2682
|
-
interface EntityUpdatedEvent$
|
|
2684
|
+
interface EntityUpdatedEvent$2 {
|
|
2683
2685
|
/**
|
|
2684
2686
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
2685
2687
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -2687,24 +2689,24 @@ interface EntityUpdatedEvent$1 {
|
|
|
2687
2689
|
*/
|
|
2688
2690
|
currentEntity?: string;
|
|
2689
2691
|
}
|
|
2690
|
-
interface EntityDeletedEvent$
|
|
2692
|
+
interface EntityDeletedEvent$2 {
|
|
2691
2693
|
/** Entity that was deleted */
|
|
2692
2694
|
deletedEntity?: string | null;
|
|
2693
2695
|
}
|
|
2694
|
-
interface ActionEvent$
|
|
2696
|
+
interface ActionEvent$2 {
|
|
2695
2697
|
body?: string;
|
|
2696
2698
|
}
|
|
2697
|
-
interface MessageEnvelope$
|
|
2699
|
+
interface MessageEnvelope$2 {
|
|
2698
2700
|
/** App instance ID. */
|
|
2699
2701
|
instanceId?: string | null;
|
|
2700
2702
|
/** Event type. */
|
|
2701
2703
|
eventType?: string;
|
|
2702
2704
|
/** The identification type and identity data. */
|
|
2703
|
-
identity?: IdentificationData$
|
|
2705
|
+
identity?: IdentificationData$2;
|
|
2704
2706
|
/** Stringify payload. */
|
|
2705
2707
|
data?: string;
|
|
2706
2708
|
}
|
|
2707
|
-
interface IdentificationData$
|
|
2709
|
+
interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
|
|
2708
2710
|
/** ID of a site visitor that has not logged in to the site. */
|
|
2709
2711
|
anonymousVisitorId?: string;
|
|
2710
2712
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -2714,10 +2716,10 @@ interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
|
|
|
2714
2716
|
/** ID of an app. */
|
|
2715
2717
|
appId?: string;
|
|
2716
2718
|
/** @readonly */
|
|
2717
|
-
identityType?: WebhookIdentityType$
|
|
2719
|
+
identityType?: WebhookIdentityType$2;
|
|
2718
2720
|
}
|
|
2719
2721
|
/** @oneof */
|
|
2720
|
-
interface IdentificationDataIdOneOf$
|
|
2722
|
+
interface IdentificationDataIdOneOf$2 {
|
|
2721
2723
|
/** ID of a site visitor that has not logged in to the site. */
|
|
2722
2724
|
anonymousVisitorId?: string;
|
|
2723
2725
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -2727,7 +2729,7 @@ interface IdentificationDataIdOneOf$1 {
|
|
|
2727
2729
|
/** ID of an app. */
|
|
2728
2730
|
appId?: string;
|
|
2729
2731
|
}
|
|
2730
|
-
declare enum WebhookIdentityType$
|
|
2732
|
+
declare enum WebhookIdentityType$2 {
|
|
2731
2733
|
UNKNOWN = "UNKNOWN",
|
|
2732
2734
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
2733
2735
|
MEMBER = "MEMBER",
|
|
@@ -2823,11 +2825,11 @@ interface GetProjectResponse {
|
|
|
2823
2825
|
}
|
|
2824
2826
|
interface ListProjectsRequest {
|
|
2825
2827
|
/** Projects limit per response is maximum 100, In the first request the cursor is None */
|
|
2826
|
-
paging?: CursorPaging$
|
|
2828
|
+
paging?: CursorPaging$2;
|
|
2827
2829
|
/** Include page url */
|
|
2828
2830
|
includePageUrl?: boolean | null;
|
|
2829
2831
|
}
|
|
2830
|
-
interface CursorPaging$
|
|
2832
|
+
interface CursorPaging$2 {
|
|
2831
2833
|
/** Maximum number of items to return in the results. */
|
|
2832
2834
|
limit?: number | null;
|
|
2833
2835
|
/**
|
|
@@ -2842,9 +2844,9 @@ interface ListProjectsResponse {
|
|
|
2842
2844
|
/** The retrieved Projects */
|
|
2843
2845
|
projects?: Project$1[];
|
|
2844
2846
|
/** Paging metadata */
|
|
2845
|
-
metadata?: PagingMetadataV2$
|
|
2847
|
+
metadata?: PagingMetadataV2$2;
|
|
2846
2848
|
}
|
|
2847
|
-
interface PagingMetadataV2$
|
|
2849
|
+
interface PagingMetadataV2$2 {
|
|
2848
2850
|
/** Number of items returned in the response. */
|
|
2849
2851
|
count?: number | null;
|
|
2850
2852
|
/** Offset that was requested. */
|
|
@@ -2854,9 +2856,9 @@ interface PagingMetadataV2$1 {
|
|
|
2854
2856
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
2855
2857
|
tooManyToCount?: boolean | null;
|
|
2856
2858
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
2857
|
-
cursors?: Cursors$
|
|
2859
|
+
cursors?: Cursors$2;
|
|
2858
2860
|
}
|
|
2859
|
-
interface Cursors$
|
|
2861
|
+
interface Cursors$2 {
|
|
2860
2862
|
/** Cursor string pointing to the next page in the list of results. */
|
|
2861
2863
|
next?: string | null;
|
|
2862
2864
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -2936,7 +2938,7 @@ interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
|
2936
2938
|
/** Paging options to limit and skip the number of items. */
|
|
2937
2939
|
paging?: Paging$1;
|
|
2938
2940
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2939
|
-
cursorPaging?: CursorPaging$
|
|
2941
|
+
cursorPaging?: CursorPaging$2;
|
|
2940
2942
|
/**
|
|
2941
2943
|
* Filter object in the following format:
|
|
2942
2944
|
* `"filter" : {
|
|
@@ -2961,7 +2963,7 @@ interface QueryV2PagingMethodOneOf$1 {
|
|
|
2961
2963
|
/** Paging options to limit and skip the number of items. */
|
|
2962
2964
|
paging?: Paging$1;
|
|
2963
2965
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2964
|
-
cursorPaging?: CursorPaging$
|
|
2966
|
+
cursorPaging?: CursorPaging$2;
|
|
2965
2967
|
}
|
|
2966
2968
|
interface Sorting$1 {
|
|
2967
2969
|
/** Name of the field to sort by. */
|
|
@@ -2983,7 +2985,7 @@ interface QueryProjectsResponse {
|
|
|
2983
2985
|
/** The retrieved Projects */
|
|
2984
2986
|
projects?: Project$1[];
|
|
2985
2987
|
/** Paging metadata */
|
|
2986
|
-
metadata?: PagingMetadataV2$
|
|
2988
|
+
metadata?: PagingMetadataV2$2;
|
|
2987
2989
|
}
|
|
2988
2990
|
interface UpdateProjectOrderInCollectionRequest$1 {
|
|
2989
2991
|
/** Id of the Project to update its order */
|
|
@@ -3015,7 +3017,7 @@ interface QueryProjectWithCollectionInfoResponse {
|
|
|
3015
3017
|
/** The retrieved Projects in Collection */
|
|
3016
3018
|
projects?: ProjectInCollection$1[];
|
|
3017
3019
|
/** Paging metadata */
|
|
3018
|
-
metadata?: PagingMetadataV2$
|
|
3020
|
+
metadata?: PagingMetadataV2$2;
|
|
3019
3021
|
}
|
|
3020
3022
|
interface RestoreProjectFromTrashBinRequest {
|
|
3021
3023
|
/** id of deleted project to restore from trash bin. */
|
|
@@ -3378,7 +3380,7 @@ interface BaseEventMetadata$1 {
|
|
|
3378
3380
|
/** Event type. */
|
|
3379
3381
|
eventType?: string;
|
|
3380
3382
|
/** The identification type and identity data. */
|
|
3381
|
-
identity?: IdentificationData$
|
|
3383
|
+
identity?: IdentificationData$2;
|
|
3382
3384
|
}
|
|
3383
3385
|
interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
3384
3386
|
/**
|
|
@@ -3441,7 +3443,7 @@ interface GetProjectOptions {
|
|
|
3441
3443
|
}
|
|
3442
3444
|
interface ListProjectsOptions {
|
|
3443
3445
|
/** Projects limit per response is maximum 100, In the first request the cursor is None */
|
|
3444
|
-
paging?: CursorPaging$
|
|
3446
|
+
paging?: CursorPaging$2;
|
|
3445
3447
|
/** Include page url */
|
|
3446
3448
|
includePageUrl?: boolean | null;
|
|
3447
3449
|
}
|
|
@@ -3504,7 +3506,7 @@ interface QueryProjectsOptions {
|
|
|
3504
3506
|
includePageUrl?: boolean | null | undefined;
|
|
3505
3507
|
}
|
|
3506
3508
|
interface QueryCursorResult$1 {
|
|
3507
|
-
cursors: Cursors$
|
|
3509
|
+
cursors: Cursors$2;
|
|
3508
3510
|
hasNext: () => boolean;
|
|
3509
3511
|
hasPrev: () => boolean;
|
|
3510
3512
|
length: number;
|
|
@@ -3596,7 +3598,7 @@ interface QueryProjectsWithCollectionInfoOptions {
|
|
|
3596
3598
|
includePageUrl?: boolean | null;
|
|
3597
3599
|
}
|
|
3598
3600
|
|
|
3599
|
-
declare const __metadata$
|
|
3601
|
+
declare const __metadata$2: {
|
|
3600
3602
|
PACKAGE_NAME: string;
|
|
3601
3603
|
};
|
|
3602
3604
|
declare function getProjectPageData(httpClient: HttpClient): (identifiers: GetProjectPageDataIdentifiers) => Promise<GetProjectPageDataResponse & GetProjectPageDataResponseNonNullableFields>;
|
|
@@ -3709,106 +3711,78 @@ declare const onProjectCreated: EventDefinition<ProjectCreatedEnvelope, "wix.por
|
|
|
3709
3711
|
declare const onProjectUpdated: EventDefinition<ProjectUpdatedEnvelope, "wix.portfolio.projects.v1.project_updated">;
|
|
3710
3712
|
declare const onProjectDeleted: EventDefinition<ProjectDeletedEnvelope, "wix.portfolio.projects.v1.project_deleted">;
|
|
3711
3713
|
|
|
3712
|
-
type index_d$
|
|
3713
|
-
type index_d$
|
|
3714
|
-
type index_d$
|
|
3715
|
-
type index_d$
|
|
3716
|
-
type index_d$
|
|
3717
|
-
type index_d$
|
|
3718
|
-
type index_d$
|
|
3719
|
-
type index_d$
|
|
3720
|
-
type index_d$
|
|
3721
|
-
type index_d$
|
|
3722
|
-
type index_d$
|
|
3723
|
-
type index_d$
|
|
3724
|
-
type index_d$
|
|
3725
|
-
type index_d$
|
|
3726
|
-
type index_d$
|
|
3727
|
-
type index_d$
|
|
3728
|
-
type index_d$
|
|
3729
|
-
type index_d$
|
|
3730
|
-
type index_d$
|
|
3731
|
-
|
|
3732
|
-
type index_d$
|
|
3733
|
-
type index_d$
|
|
3734
|
-
type index_d$
|
|
3735
|
-
type index_d$
|
|
3736
|
-
type index_d$
|
|
3737
|
-
type index_d$
|
|
3738
|
-
type index_d$
|
|
3739
|
-
type index_d$
|
|
3740
|
-
type index_d$
|
|
3741
|
-
type index_d$
|
|
3742
|
-
type index_d$
|
|
3743
|
-
type index_d$
|
|
3744
|
-
type index_d$
|
|
3745
|
-
type index_d$
|
|
3746
|
-
type index_d$
|
|
3747
|
-
type index_d$
|
|
3748
|
-
type index_d$
|
|
3749
|
-
type index_d$
|
|
3750
|
-
type index_d$
|
|
3751
|
-
type index_d$
|
|
3752
|
-
type index_d$
|
|
3753
|
-
type index_d$
|
|
3754
|
-
type index_d$
|
|
3755
|
-
|
|
3756
|
-
type index_d$
|
|
3757
|
-
type index_d$
|
|
3758
|
-
type index_d$
|
|
3759
|
-
type index_d$
|
|
3760
|
-
type index_d$
|
|
3761
|
-
type index_d$
|
|
3762
|
-
type index_d$
|
|
3763
|
-
type index_d$
|
|
3764
|
-
type index_d$
|
|
3765
|
-
type index_d$
|
|
3766
|
-
type index_d$
|
|
3767
|
-
type index_d$
|
|
3768
|
-
type index_d$
|
|
3769
|
-
type index_d$
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
declare const index_d$
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
type index_d$
|
|
3784
|
-
type index_d$1_SiteRenamed = SiteRenamed;
|
|
3785
|
-
type index_d$1_SiteTransferred = SiteTransferred;
|
|
3786
|
-
type index_d$1_SiteUndeleted = SiteUndeleted;
|
|
3787
|
-
type index_d$1_SiteUnpublished = SiteUnpublished;
|
|
3788
|
-
type index_d$1_State = State;
|
|
3789
|
-
declare const index_d$1_State: typeof State;
|
|
3790
|
-
type index_d$1_StudioAssigned = StudioAssigned;
|
|
3791
|
-
type index_d$1_StudioUnassigned = StudioUnassigned;
|
|
3792
|
-
type index_d$1_SyncProjectWithCollectionMappings = SyncProjectWithCollectionMappings;
|
|
3793
|
-
type index_d$1_URI = URI;
|
|
3794
|
-
type index_d$1_UpdateProject = UpdateProject;
|
|
3795
|
-
type index_d$1_UpdateProjectRequest = UpdateProjectRequest;
|
|
3796
|
-
type index_d$1_UpdateProjectResponse = UpdateProjectResponse;
|
|
3797
|
-
type index_d$1_UpdateProjectResponseNonNullableFields = UpdateProjectResponseNonNullableFields;
|
|
3798
|
-
declare const index_d$1_bulkUpdateProjects: typeof bulkUpdateProjects;
|
|
3799
|
-
declare const index_d$1_createProject: typeof createProject;
|
|
3800
|
-
declare const index_d$1_deleteProject: typeof deleteProject;
|
|
3801
|
-
declare const index_d$1_getProject: typeof getProject;
|
|
3802
|
-
declare const index_d$1_getProjectPageData: typeof getProjectPageData;
|
|
3803
|
-
declare const index_d$1_listProjects: typeof listProjects;
|
|
3804
|
-
declare const index_d$1_onProjectCreated: typeof onProjectCreated;
|
|
3805
|
-
declare const index_d$1_onProjectDeleted: typeof onProjectDeleted;
|
|
3806
|
-
declare const index_d$1_onProjectUpdated: typeof onProjectUpdated;
|
|
3807
|
-
declare const index_d$1_queryProjects: typeof queryProjects;
|
|
3808
|
-
declare const index_d$1_queryProjectsWithCollectionInfo: typeof queryProjectsWithCollectionInfo;
|
|
3809
|
-
declare const index_d$1_updateProject: typeof updateProject;
|
|
3810
|
-
declare namespace index_d$1 {
|
|
3811
|
-
export { type ActionEvent$1 as ActionEvent, type index_d$1_App as App, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Asset as Asset, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, type index_d$1_BulkUpdateProjectsOptions as BulkUpdateProjectsOptions, type index_d$1_BulkUpdateProjectsRequest as BulkUpdateProjectsRequest, type index_d$1_BulkUpdateProjectsResponse as BulkUpdateProjectsResponse, type index_d$1_BulkUpdateProjectsResponseNonNullableFields as BulkUpdateProjectsResponseNonNullableFields, type index_d$1_BulkUpdateProjectsResult as BulkUpdateProjectsResult, type index_d$1_CreateNewPortfolioAppRequest as CreateNewPortfolioAppRequest, type index_d$1_CreateNewPortfolioAppResponse as CreateNewPortfolioAppResponse, type index_d$1_CreateProjectRequest as CreateProjectRequest, type index_d$1_CreateProjectResponse as CreateProjectResponse, type index_d$1_CreateProjectResponseNonNullableFields as CreateProjectResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type index_d$1_DeleteContext as DeleteContext, type index_d$1_DeleteProjectRequest as DeleteProjectRequest, type index_d$1_DeleteProjectResponse as DeleteProjectResponse, type index_d$1_DeleteProjectResponseNonNullableFields as DeleteProjectResponseNonNullableFields, index_d$1_DeleteStatus as DeleteStatus, type index_d$1_DeletedProjectRestored as DeletedProjectRestored, type DetailsLink$1 as DetailsLink, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_Empty as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$1_File as File, type index_d$1_GetProjectOptions as GetProjectOptions, type index_d$1_GetProjectPageDataIdentifiers as GetProjectPageDataIdentifiers, type index_d$1_GetProjectPageDataRequest as GetProjectPageDataRequest, type index_d$1_GetProjectPageDataResponse as GetProjectPageDataResponse, type index_d$1_GetProjectPageDataResponseNonNullableFields as GetProjectPageDataResponseNonNullableFields, type index_d$1_GetProjectRequest as GetProjectRequest, type index_d$1_GetProjectResponse as GetProjectResponse, type index_d$1_GetProjectResponseNonNullableFields as GetProjectResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Image$1 as Image, ImageType$1 as ImageType, type index_d$1_InvalidateCache as InvalidateCache, type index_d$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$1_ItemMetadata as ItemMetadata, type Keyword$1 as Keyword, type index_d$1_ListProjectsOptions as ListProjectsOptions, type index_d$1_ListProjectsRequest as ListProjectsRequest, type index_d$1_ListProjectsResponse as ListProjectsResponse, type index_d$1_ListProjectsResponseNonNullableFields as ListProjectsResponseNonNullableFields, type index_d$1_MaskedProject as MaskedProject, type index_d$1_MenuSettingUpdatedEvent as MenuSettingUpdatedEvent, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_Page as Page, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type Point$1 as Point, type Project$1 as Project, type ProjectCoverOneOf$1 as ProjectCoverOneOf, type index_d$1_ProjectCreatedEnvelope as ProjectCreatedEnvelope, type index_d$1_ProjectDeletedEnvelope as ProjectDeletedEnvelope, type ProjectDetail$1 as ProjectDetail, type ProjectDetailValueOneOf$1 as ProjectDetailValueOneOf, type ProjectInCollection$1 as ProjectInCollection, type index_d$1_ProjectSlug as ProjectSlug, type ProjectSource$1 as ProjectSource, type index_d$1_ProjectUpdatedEnvelope as ProjectUpdatedEnvelope, type index_d$1_ProjectsQueryBuilder as ProjectsQueryBuilder, type index_d$1_ProjectsQueryResult as ProjectsQueryResult, type index_d$1_QueryProjectWithCollectionInfoRequest as QueryProjectWithCollectionInfoRequest, type index_d$1_QueryProjectWithCollectionInfoResponse as QueryProjectWithCollectionInfoResponse, type index_d$1_QueryProjectWithCollectionInfoResponseNonNullableFields as QueryProjectWithCollectionInfoResponseNonNullableFields, type index_d$1_QueryProjectsOptions as QueryProjectsOptions, type index_d$1_QueryProjectsRequest as QueryProjectsRequest, type index_d$1_QueryProjectsResponse as QueryProjectsResponse, type index_d$1_QueryProjectsResponseNonNullableFields as QueryProjectsResponseNonNullableFields, type index_d$1_QueryProjectsWithCollectionInfoOptions as QueryProjectsWithCollectionInfoOptions, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type index_d$1_RestoreProjectFromTrashBinRequest as RestoreProjectFromTrashBinRequest, type index_d$1_RestoreProjectFromTrashBinResponse as RestoreProjectFromTrashBinResponse, type SeoSchema$1 as SeoSchema, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, type Settings$1 as Settings, type index_d$1_SiteCreated as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, index_d$1_State as State, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type index_d$1_SyncProjectWithCollectionMappings as SyncProjectWithCollectionMappings, SyncStatus$1 as SyncStatus, type Tag$1 as Tag, type index_d$1_URI as URI, type UndeleteInfo$1 as UndeleteInfo, type UnsharpMasking$1 as UnsharpMasking, type index_d$1_UpdateProject as UpdateProject, type UpdateProjectOrderInCollectionIdentifiers$1 as UpdateProjectOrderInCollectionIdentifiers, type UpdateProjectOrderInCollectionRequest$1 as UpdateProjectOrderInCollectionRequest, type UpdateProjectOrderInCollectionResponse$1 as UpdateProjectOrderInCollectionResponse, type UpdateProjectOrderInCollectionResponseNonNullableFields$1 as UpdateProjectOrderInCollectionResponseNonNullableFields, type index_d$1_UpdateProjectRequest as UpdateProjectRequest, type index_d$1_UpdateProjectResponse as UpdateProjectResponse, type index_d$1_UpdateProjectResponseNonNullableFields as UpdateProjectResponseNonNullableFields, type Video$1 as Video, type VideoResolution$1 as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_bulkUpdateProjects as bulkUpdateProjects, index_d$1_createProject as createProject, index_d$1_deleteProject as deleteProject, index_d$1_getProject as getProject, index_d$1_getProjectPageData as getProjectPageData, index_d$1_listProjects as listProjects, index_d$1_onProjectCreated as onProjectCreated, index_d$1_onProjectDeleted as onProjectDeleted, index_d$1_onProjectUpdated as onProjectUpdated, index_d$1_queryProjects as queryProjects, index_d$1_queryProjectsWithCollectionInfo as queryProjectsWithCollectionInfo, index_d$1_updateProject as updateProject, updateProjectOrderInCollection$1 as updateProjectOrderInCollection };
|
|
3714
|
+
type index_d$2_App = App;
|
|
3715
|
+
type index_d$2_ApplicationError = ApplicationError;
|
|
3716
|
+
type index_d$2_BulkActionMetadata = BulkActionMetadata;
|
|
3717
|
+
type index_d$2_BulkUpdateProjectsOptions = BulkUpdateProjectsOptions;
|
|
3718
|
+
type index_d$2_BulkUpdateProjectsRequest = BulkUpdateProjectsRequest;
|
|
3719
|
+
type index_d$2_BulkUpdateProjectsResponse = BulkUpdateProjectsResponse;
|
|
3720
|
+
type index_d$2_BulkUpdateProjectsResponseNonNullableFields = BulkUpdateProjectsResponseNonNullableFields;
|
|
3721
|
+
type index_d$2_BulkUpdateProjectsResult = BulkUpdateProjectsResult;
|
|
3722
|
+
type index_d$2_CreateNewPortfolioAppRequest = CreateNewPortfolioAppRequest;
|
|
3723
|
+
type index_d$2_CreateNewPortfolioAppResponse = CreateNewPortfolioAppResponse;
|
|
3724
|
+
type index_d$2_CreateProjectRequest = CreateProjectRequest;
|
|
3725
|
+
type index_d$2_CreateProjectResponse = CreateProjectResponse;
|
|
3726
|
+
type index_d$2_CreateProjectResponseNonNullableFields = CreateProjectResponseNonNullableFields;
|
|
3727
|
+
type index_d$2_DeleteProjectRequest = DeleteProjectRequest;
|
|
3728
|
+
type index_d$2_DeleteProjectResponse = DeleteProjectResponse;
|
|
3729
|
+
type index_d$2_DeleteProjectResponseNonNullableFields = DeleteProjectResponseNonNullableFields;
|
|
3730
|
+
type index_d$2_DeletedProjectRestored = DeletedProjectRestored;
|
|
3731
|
+
type index_d$2_File = File;
|
|
3732
|
+
type index_d$2_GetProjectOptions = GetProjectOptions;
|
|
3733
|
+
type index_d$2_GetProjectPageDataIdentifiers = GetProjectPageDataIdentifiers;
|
|
3734
|
+
type index_d$2_GetProjectPageDataRequest = GetProjectPageDataRequest;
|
|
3735
|
+
type index_d$2_GetProjectPageDataResponse = GetProjectPageDataResponse;
|
|
3736
|
+
type index_d$2_GetProjectPageDataResponseNonNullableFields = GetProjectPageDataResponseNonNullableFields;
|
|
3737
|
+
type index_d$2_GetProjectRequest = GetProjectRequest;
|
|
3738
|
+
type index_d$2_GetProjectResponse = GetProjectResponse;
|
|
3739
|
+
type index_d$2_GetProjectResponseNonNullableFields = GetProjectResponseNonNullableFields;
|
|
3740
|
+
type index_d$2_InvalidateCache = InvalidateCache;
|
|
3741
|
+
type index_d$2_InvalidateCacheGetByOneOf = InvalidateCacheGetByOneOf;
|
|
3742
|
+
type index_d$2_ItemMetadata = ItemMetadata;
|
|
3743
|
+
type index_d$2_ListProjectsOptions = ListProjectsOptions;
|
|
3744
|
+
type index_d$2_ListProjectsRequest = ListProjectsRequest;
|
|
3745
|
+
type index_d$2_ListProjectsResponse = ListProjectsResponse;
|
|
3746
|
+
type index_d$2_ListProjectsResponseNonNullableFields = ListProjectsResponseNonNullableFields;
|
|
3747
|
+
type index_d$2_MaskedProject = MaskedProject;
|
|
3748
|
+
type index_d$2_MenuSettingUpdatedEvent = MenuSettingUpdatedEvent;
|
|
3749
|
+
type index_d$2_Page = Page;
|
|
3750
|
+
type index_d$2_ProjectCreatedEnvelope = ProjectCreatedEnvelope;
|
|
3751
|
+
type index_d$2_ProjectDeletedEnvelope = ProjectDeletedEnvelope;
|
|
3752
|
+
type index_d$2_ProjectSlug = ProjectSlug;
|
|
3753
|
+
type index_d$2_ProjectUpdatedEnvelope = ProjectUpdatedEnvelope;
|
|
3754
|
+
type index_d$2_ProjectsQueryBuilder = ProjectsQueryBuilder;
|
|
3755
|
+
type index_d$2_ProjectsQueryResult = ProjectsQueryResult;
|
|
3756
|
+
type index_d$2_QueryProjectWithCollectionInfoRequest = QueryProjectWithCollectionInfoRequest;
|
|
3757
|
+
type index_d$2_QueryProjectWithCollectionInfoResponse = QueryProjectWithCollectionInfoResponse;
|
|
3758
|
+
type index_d$2_QueryProjectWithCollectionInfoResponseNonNullableFields = QueryProjectWithCollectionInfoResponseNonNullableFields;
|
|
3759
|
+
type index_d$2_QueryProjectsOptions = QueryProjectsOptions;
|
|
3760
|
+
type index_d$2_QueryProjectsRequest = QueryProjectsRequest;
|
|
3761
|
+
type index_d$2_QueryProjectsResponse = QueryProjectsResponse;
|
|
3762
|
+
type index_d$2_QueryProjectsResponseNonNullableFields = QueryProjectsResponseNonNullableFields;
|
|
3763
|
+
type index_d$2_QueryProjectsWithCollectionInfoOptions = QueryProjectsWithCollectionInfoOptions;
|
|
3764
|
+
type index_d$2_RestoreProjectFromTrashBinRequest = RestoreProjectFromTrashBinRequest;
|
|
3765
|
+
type index_d$2_RestoreProjectFromTrashBinResponse = RestoreProjectFromTrashBinResponse;
|
|
3766
|
+
type index_d$2_SyncProjectWithCollectionMappings = SyncProjectWithCollectionMappings;
|
|
3767
|
+
type index_d$2_URI = URI;
|
|
3768
|
+
type index_d$2_UpdateProject = UpdateProject;
|
|
3769
|
+
type index_d$2_UpdateProjectRequest = UpdateProjectRequest;
|
|
3770
|
+
type index_d$2_UpdateProjectResponse = UpdateProjectResponse;
|
|
3771
|
+
type index_d$2_UpdateProjectResponseNonNullableFields = UpdateProjectResponseNonNullableFields;
|
|
3772
|
+
declare const index_d$2_bulkUpdateProjects: typeof bulkUpdateProjects;
|
|
3773
|
+
declare const index_d$2_createProject: typeof createProject;
|
|
3774
|
+
declare const index_d$2_deleteProject: typeof deleteProject;
|
|
3775
|
+
declare const index_d$2_getProject: typeof getProject;
|
|
3776
|
+
declare const index_d$2_getProjectPageData: typeof getProjectPageData;
|
|
3777
|
+
declare const index_d$2_listProjects: typeof listProjects;
|
|
3778
|
+
declare const index_d$2_onProjectCreated: typeof onProjectCreated;
|
|
3779
|
+
declare const index_d$2_onProjectDeleted: typeof onProjectDeleted;
|
|
3780
|
+
declare const index_d$2_onProjectUpdated: typeof onProjectUpdated;
|
|
3781
|
+
declare const index_d$2_queryProjects: typeof queryProjects;
|
|
3782
|
+
declare const index_d$2_queryProjectsWithCollectionInfo: typeof queryProjectsWithCollectionInfo;
|
|
3783
|
+
declare const index_d$2_updateProject: typeof updateProject;
|
|
3784
|
+
declare namespace index_d$2 {
|
|
3785
|
+
export { type ActionEvent$2 as ActionEvent, type index_d$2_App as App, type index_d$2_ApplicationError as ApplicationError, type Asset$1 as Asset, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_BulkActionMetadata as BulkActionMetadata, type index_d$2_BulkUpdateProjectsOptions as BulkUpdateProjectsOptions, type index_d$2_BulkUpdateProjectsRequest as BulkUpdateProjectsRequest, type index_d$2_BulkUpdateProjectsResponse as BulkUpdateProjectsResponse, type index_d$2_BulkUpdateProjectsResponseNonNullableFields as BulkUpdateProjectsResponseNonNullableFields, type index_d$2_BulkUpdateProjectsResult as BulkUpdateProjectsResult, type index_d$2_CreateNewPortfolioAppRequest as CreateNewPortfolioAppRequest, type index_d$2_CreateNewPortfolioAppResponse as CreateNewPortfolioAppResponse, type index_d$2_CreateProjectRequest as CreateProjectRequest, type index_d$2_CreateProjectResponse as CreateProjectResponse, type index_d$2_CreateProjectResponseNonNullableFields as CreateProjectResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type Cursors$2 as Cursors, type DeleteContext$1 as DeleteContext, type index_d$2_DeleteProjectRequest as DeleteProjectRequest, type index_d$2_DeleteProjectResponse as DeleteProjectResponse, type index_d$2_DeleteProjectResponseNonNullableFields as DeleteProjectResponseNonNullableFields, DeleteStatus$1 as DeleteStatus, type index_d$2_DeletedProjectRestored as DeletedProjectRestored, type DetailsLink$1 as DetailsLink, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_File as File, type index_d$2_GetProjectOptions as GetProjectOptions, type index_d$2_GetProjectPageDataIdentifiers as GetProjectPageDataIdentifiers, type index_d$2_GetProjectPageDataRequest as GetProjectPageDataRequest, type index_d$2_GetProjectPageDataResponse as GetProjectPageDataResponse, type index_d$2_GetProjectPageDataResponseNonNullableFields as GetProjectPageDataResponseNonNullableFields, type index_d$2_GetProjectRequest as GetProjectRequest, type index_d$2_GetProjectResponse as GetProjectResponse, type index_d$2_GetProjectResponseNonNullableFields as GetProjectResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Image$1 as Image, ImageType$1 as ImageType, type index_d$2_InvalidateCache as InvalidateCache, type index_d$2_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$2_ItemMetadata as ItemMetadata, type Keyword$1 as Keyword, type index_d$2_ListProjectsOptions as ListProjectsOptions, type index_d$2_ListProjectsRequest as ListProjectsRequest, type index_d$2_ListProjectsResponse as ListProjectsResponse, type index_d$2_ListProjectsResponseNonNullableFields as ListProjectsResponseNonNullableFields, type index_d$2_MaskedProject as MaskedProject, type index_d$2_MenuSettingUpdatedEvent as MenuSettingUpdatedEvent, type MessageEnvelope$2 as MessageEnvelope, type MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type NamespaceChanged$1 as NamespaceChanged, type index_d$2_Page as Page, type Paging$1 as Paging, type PagingMetadataV2$2 as PagingMetadataV2, type Point$1 as Point, type Project$1 as Project, type ProjectCoverOneOf$1 as ProjectCoverOneOf, type index_d$2_ProjectCreatedEnvelope as ProjectCreatedEnvelope, type index_d$2_ProjectDeletedEnvelope as ProjectDeletedEnvelope, type ProjectDetail$1 as ProjectDetail, type ProjectDetailValueOneOf$1 as ProjectDetailValueOneOf, type ProjectInCollection$1 as ProjectInCollection, type index_d$2_ProjectSlug as ProjectSlug, type ProjectSource$1 as ProjectSource, type index_d$2_ProjectUpdatedEnvelope as ProjectUpdatedEnvelope, type index_d$2_ProjectsQueryBuilder as ProjectsQueryBuilder, type index_d$2_ProjectsQueryResult as ProjectsQueryResult, type index_d$2_QueryProjectWithCollectionInfoRequest as QueryProjectWithCollectionInfoRequest, type index_d$2_QueryProjectWithCollectionInfoResponse as QueryProjectWithCollectionInfoResponse, type index_d$2_QueryProjectWithCollectionInfoResponseNonNullableFields as QueryProjectWithCollectionInfoResponseNonNullableFields, type index_d$2_QueryProjectsOptions as QueryProjectsOptions, type index_d$2_QueryProjectsRequest as QueryProjectsRequest, type index_d$2_QueryProjectsResponse as QueryProjectsResponse, type index_d$2_QueryProjectsResponseNonNullableFields as QueryProjectsResponseNonNullableFields, type index_d$2_QueryProjectsWithCollectionInfoOptions as QueryProjectsWithCollectionInfoOptions, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type index_d$2_RestoreProjectFromTrashBinRequest as RestoreProjectFromTrashBinRequest, type index_d$2_RestoreProjectFromTrashBinResponse as RestoreProjectFromTrashBinResponse, type SeoSchema$1 as SeoSchema, type ServiceProvisioned$1 as ServiceProvisioned, type ServiceRemoved$1 as ServiceRemoved, type Settings$1 as Settings, type SiteCreated$1 as SiteCreated, SiteCreatedContext$1 as SiteCreatedContext, type SiteDeleted$1 as SiteDeleted, type SiteHardDeleted$1 as SiteHardDeleted, type SiteMarkedAsTemplate$1 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$1 as SiteMarkedAsWixSite, type SitePublished$1 as SitePublished, type SiteRenamed$1 as SiteRenamed, type SiteTransferred$1 as SiteTransferred, type SiteUndeleted$1 as SiteUndeleted, type SiteUnpublished$1 as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, type StudioAssigned$1 as StudioAssigned, type StudioUnassigned$1 as StudioUnassigned, type index_d$2_SyncProjectWithCollectionMappings as SyncProjectWithCollectionMappings, SyncStatus$2 as SyncStatus, type Tag$1 as Tag, type index_d$2_URI as URI, type UndeleteInfo$1 as UndeleteInfo, type UnsharpMasking$1 as UnsharpMasking, type index_d$2_UpdateProject as UpdateProject, type UpdateProjectOrderInCollectionIdentifiers$1 as UpdateProjectOrderInCollectionIdentifiers, type UpdateProjectOrderInCollectionRequest$1 as UpdateProjectOrderInCollectionRequest, type UpdateProjectOrderInCollectionResponse$1 as UpdateProjectOrderInCollectionResponse, type UpdateProjectOrderInCollectionResponseNonNullableFields$1 as UpdateProjectOrderInCollectionResponseNonNullableFields, type index_d$2_UpdateProjectRequest as UpdateProjectRequest, type index_d$2_UpdateProjectResponse as UpdateProjectResponse, type index_d$2_UpdateProjectResponseNonNullableFields as UpdateProjectResponseNonNullableFields, type Video$1 as Video, type VideoResolution$1 as VideoResolution, WebhookIdentityType$2 as WebhookIdentityType, __metadata$2 as __metadata, index_d$2_bulkUpdateProjects as bulkUpdateProjects, index_d$2_createProject as createProject, index_d$2_deleteProject as deleteProject, index_d$2_getProject as getProject, index_d$2_getProjectPageData as getProjectPageData, index_d$2_listProjects as listProjects, index_d$2_onProjectCreated as onProjectCreated, index_d$2_onProjectDeleted as onProjectDeleted, index_d$2_onProjectUpdated as onProjectUpdated, index_d$2_queryProjects as queryProjects, index_d$2_queryProjectsWithCollectionInfo as queryProjectsWithCollectionInfo, index_d$2_updateProject as updateProject, updateProjectOrderInCollection$1 as updateProjectOrderInCollection };
|
|
3812
3786
|
}
|
|
3813
3787
|
|
|
3814
3788
|
interface ProjectInCollection {
|
|
@@ -3965,13 +3939,13 @@ interface ProjectSource {
|
|
|
3965
3939
|
/** link to external source */
|
|
3966
3940
|
link?: string | null;
|
|
3967
3941
|
/** Sync status */
|
|
3968
|
-
syncStatus?: SyncStatus;
|
|
3942
|
+
syncStatus?: SyncStatus$1;
|
|
3969
3943
|
/** fields that are synced from external source, should be blocked to update in UI */
|
|
3970
3944
|
notEditableFields?: string[];
|
|
3971
3945
|
/** last date the project was synced */
|
|
3972
3946
|
lastSync?: Date;
|
|
3973
3947
|
}
|
|
3974
|
-
declare enum SyncStatus {
|
|
3948
|
+
declare enum SyncStatus$1 {
|
|
3975
3949
|
SYNCED = "SYNCED",
|
|
3976
3950
|
SYNCING = "SYNCING",
|
|
3977
3951
|
NOT_SYNCED = "NOT_SYNCED"
|
|
@@ -4036,7 +4010,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
4036
4010
|
/** Paging options to limit and skip the number of items. */
|
|
4037
4011
|
paging?: Paging;
|
|
4038
4012
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
4039
|
-
cursorPaging?: CursorPaging;
|
|
4013
|
+
cursorPaging?: CursorPaging$1;
|
|
4040
4014
|
/**
|
|
4041
4015
|
* Filter object in the following format:
|
|
4042
4016
|
* `"filter" : {
|
|
@@ -4061,7 +4035,7 @@ interface QueryV2PagingMethodOneOf {
|
|
|
4061
4035
|
/** Paging options to limit and skip the number of items. */
|
|
4062
4036
|
paging?: Paging;
|
|
4063
4037
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
4064
|
-
cursorPaging?: CursorPaging;
|
|
4038
|
+
cursorPaging?: CursorPaging$1;
|
|
4065
4039
|
}
|
|
4066
4040
|
interface Sorting {
|
|
4067
4041
|
/** Name of the field to sort by. */
|
|
@@ -4079,7 +4053,7 @@ interface Paging {
|
|
|
4079
4053
|
/** Number of items to skip in the current sort order. */
|
|
4080
4054
|
offset?: number | null;
|
|
4081
4055
|
}
|
|
4082
|
-
interface CursorPaging {
|
|
4056
|
+
interface CursorPaging$1 {
|
|
4083
4057
|
/** Maximum number of items to return in the results. */
|
|
4084
4058
|
limit?: number | null;
|
|
4085
4059
|
/**
|
|
@@ -4094,9 +4068,9 @@ interface QueryProjectInCollectionsResponse {
|
|
|
4094
4068
|
/** The retrieved Projects in Collections context */
|
|
4095
4069
|
projectInCollections?: ProjectInCollection[];
|
|
4096
4070
|
/** Paging metadata */
|
|
4097
|
-
metadata?: PagingMetadataV2;
|
|
4071
|
+
metadata?: PagingMetadataV2$1;
|
|
4098
4072
|
}
|
|
4099
|
-
interface PagingMetadataV2 {
|
|
4073
|
+
interface PagingMetadataV2$1 {
|
|
4100
4074
|
/** Number of items returned in the response. */
|
|
4101
4075
|
count?: number | null;
|
|
4102
4076
|
/** Offset that was requested. */
|
|
@@ -4106,9 +4080,9 @@ interface PagingMetadataV2 {
|
|
|
4106
4080
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
4107
4081
|
tooManyToCount?: boolean | null;
|
|
4108
4082
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
4109
|
-
cursors?: Cursors;
|
|
4083
|
+
cursors?: Cursors$1;
|
|
4110
4084
|
}
|
|
4111
|
-
interface Cursors {
|
|
4085
|
+
interface Cursors$1 {
|
|
4112
4086
|
/** Cursor string pointing to the next page in the list of results. */
|
|
4113
4087
|
next?: string | null;
|
|
4114
4088
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -4134,11 +4108,11 @@ interface ProjectOrderInCollectionUpdatedEvent {
|
|
|
4134
4108
|
/** The new sort order of the project in the given collection */
|
|
4135
4109
|
sortOrder?: number | null;
|
|
4136
4110
|
}
|
|
4137
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
4138
|
-
createdEvent?: EntityCreatedEvent;
|
|
4139
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
4140
|
-
deletedEvent?: EntityDeletedEvent;
|
|
4141
|
-
actionEvent?: ActionEvent;
|
|
4111
|
+
interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
4112
|
+
createdEvent?: EntityCreatedEvent$1;
|
|
4113
|
+
updatedEvent?: EntityUpdatedEvent$1;
|
|
4114
|
+
deletedEvent?: EntityDeletedEvent$1;
|
|
4115
|
+
actionEvent?: ActionEvent$1;
|
|
4142
4116
|
/**
|
|
4143
4117
|
* Unique event ID.
|
|
4144
4118
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -4177,19 +4151,19 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
4177
4151
|
entityEventSequence?: string | null;
|
|
4178
4152
|
}
|
|
4179
4153
|
/** @oneof */
|
|
4180
|
-
interface DomainEventBodyOneOf {
|
|
4181
|
-
createdEvent?: EntityCreatedEvent;
|
|
4182
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
4183
|
-
deletedEvent?: EntityDeletedEvent;
|
|
4184
|
-
actionEvent?: ActionEvent;
|
|
4154
|
+
interface DomainEventBodyOneOf$1 {
|
|
4155
|
+
createdEvent?: EntityCreatedEvent$1;
|
|
4156
|
+
updatedEvent?: EntityUpdatedEvent$1;
|
|
4157
|
+
deletedEvent?: EntityDeletedEvent$1;
|
|
4158
|
+
actionEvent?: ActionEvent$1;
|
|
4185
4159
|
}
|
|
4186
|
-
interface EntityCreatedEvent {
|
|
4160
|
+
interface EntityCreatedEvent$1 {
|
|
4187
4161
|
entity?: string;
|
|
4188
4162
|
}
|
|
4189
4163
|
interface UndeleteInfo {
|
|
4190
4164
|
deletedDate?: Date;
|
|
4191
4165
|
}
|
|
4192
|
-
interface EntityUpdatedEvent {
|
|
4166
|
+
interface EntityUpdatedEvent$1 {
|
|
4193
4167
|
/**
|
|
4194
4168
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
4195
4169
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -4197,24 +4171,24 @@ interface EntityUpdatedEvent {
|
|
|
4197
4171
|
*/
|
|
4198
4172
|
currentEntity?: string;
|
|
4199
4173
|
}
|
|
4200
|
-
interface EntityDeletedEvent {
|
|
4174
|
+
interface EntityDeletedEvent$1 {
|
|
4201
4175
|
/** Entity that was deleted */
|
|
4202
4176
|
deletedEntity?: string | null;
|
|
4203
4177
|
}
|
|
4204
|
-
interface ActionEvent {
|
|
4178
|
+
interface ActionEvent$1 {
|
|
4205
4179
|
body?: string;
|
|
4206
4180
|
}
|
|
4207
|
-
interface MessageEnvelope {
|
|
4181
|
+
interface MessageEnvelope$1 {
|
|
4208
4182
|
/** App instance ID. */
|
|
4209
4183
|
instanceId?: string | null;
|
|
4210
4184
|
/** Event type. */
|
|
4211
4185
|
eventType?: string;
|
|
4212
4186
|
/** The identification type and identity data. */
|
|
4213
|
-
identity?: IdentificationData;
|
|
4187
|
+
identity?: IdentificationData$1;
|
|
4214
4188
|
/** Stringify payload. */
|
|
4215
4189
|
data?: string;
|
|
4216
4190
|
}
|
|
4217
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
4191
|
+
interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
|
|
4218
4192
|
/** ID of a site visitor that has not logged in to the site. */
|
|
4219
4193
|
anonymousVisitorId?: string;
|
|
4220
4194
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -4224,10 +4198,10 @@ interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
4224
4198
|
/** ID of an app. */
|
|
4225
4199
|
appId?: string;
|
|
4226
4200
|
/** @readonly */
|
|
4227
|
-
identityType?: WebhookIdentityType;
|
|
4201
|
+
identityType?: WebhookIdentityType$1;
|
|
4228
4202
|
}
|
|
4229
4203
|
/** @oneof */
|
|
4230
|
-
interface IdentificationDataIdOneOf {
|
|
4204
|
+
interface IdentificationDataIdOneOf$1 {
|
|
4231
4205
|
/** ID of a site visitor that has not logged in to the site. */
|
|
4232
4206
|
anonymousVisitorId?: string;
|
|
4233
4207
|
/** ID of a site visitor that has logged in to the site. */
|
|
@@ -4237,7 +4211,7 @@ interface IdentificationDataIdOneOf {
|
|
|
4237
4211
|
/** ID of an app. */
|
|
4238
4212
|
appId?: string;
|
|
4239
4213
|
}
|
|
4240
|
-
declare enum WebhookIdentityType {
|
|
4214
|
+
declare enum WebhookIdentityType$1 {
|
|
4241
4215
|
UNKNOWN = "UNKNOWN",
|
|
4242
4216
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
4243
4217
|
MEMBER = "MEMBER",
|
|
@@ -4326,7 +4300,7 @@ interface BaseEventMetadata {
|
|
|
4326
4300
|
/** Event type. */
|
|
4327
4301
|
eventType?: string;
|
|
4328
4302
|
/** The identification type and identity data. */
|
|
4329
|
-
identity?: IdentificationData;
|
|
4303
|
+
identity?: IdentificationData$1;
|
|
4330
4304
|
}
|
|
4331
4305
|
interface EventMetadata extends BaseEventMetadata {
|
|
4332
4306
|
/**
|
|
@@ -4375,7 +4349,7 @@ interface QueryProjectInCollectionsOptions {
|
|
|
4375
4349
|
includePageUrl?: boolean | null | undefined;
|
|
4376
4350
|
}
|
|
4377
4351
|
interface QueryCursorResult {
|
|
4378
|
-
cursors: Cursors;
|
|
4352
|
+
cursors: Cursors$1;
|
|
4379
4353
|
hasNext: () => boolean;
|
|
4380
4354
|
hasPrev: () => boolean;
|
|
4381
4355
|
length: number;
|
|
@@ -4458,74 +4432,789 @@ interface UpdateProjectOrderInCollectionIdentifiers {
|
|
|
4458
4432
|
collectionId: string;
|
|
4459
4433
|
}
|
|
4460
4434
|
|
|
4461
|
-
declare const __metadata: {
|
|
4435
|
+
declare const __metadata$1: {
|
|
4462
4436
|
PACKAGE_NAME: string;
|
|
4463
4437
|
};
|
|
4464
4438
|
declare function queryProjectInCollections(httpClient: HttpClient): (options?: QueryProjectInCollectionsOptions) => ProjectInCollectionsQueryBuilder;
|
|
4465
4439
|
declare function updateProjectOrderInCollection(httpClient: HttpClient): (identifiers: UpdateProjectOrderInCollectionIdentifiers, sortOrder: number | null) => Promise<UpdateProjectOrderInCollectionResponse & UpdateProjectOrderInCollectionResponseNonNullableFields>;
|
|
4466
4440
|
declare const onProjectInCollectionProjectOrderInCollectionUpdatedEvent: EventDefinition<ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope, "wix.portfolio.projects.v1.project_in_collection_project_order_in_collection_updated_event">;
|
|
4467
4441
|
|
|
4442
|
+
type index_d$1_BaseEventMetadata = BaseEventMetadata;
|
|
4443
|
+
type index_d$1_DetailsLink = DetailsLink;
|
|
4444
|
+
type index_d$1_EventMetadata = EventMetadata;
|
|
4445
|
+
type index_d$1_Image = Image;
|
|
4446
|
+
type index_d$1_ImageType = ImageType;
|
|
4447
|
+
declare const index_d$1_ImageType: typeof ImageType;
|
|
4448
|
+
type index_d$1_Keyword = Keyword;
|
|
4449
|
+
type index_d$1_Paging = Paging;
|
|
4450
|
+
type index_d$1_Point = Point;
|
|
4451
|
+
type index_d$1_Project = Project;
|
|
4452
|
+
type index_d$1_ProjectCoverOneOf = ProjectCoverOneOf;
|
|
4453
|
+
type index_d$1_ProjectDetail = ProjectDetail;
|
|
4454
|
+
type index_d$1_ProjectDetailValueOneOf = ProjectDetailValueOneOf;
|
|
4455
|
+
type index_d$1_ProjectInCollection = ProjectInCollection;
|
|
4456
|
+
type index_d$1_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope = ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope;
|
|
4457
|
+
type index_d$1_ProjectInCollectionsQueryBuilder = ProjectInCollectionsQueryBuilder;
|
|
4458
|
+
type index_d$1_ProjectInCollectionsQueryResult = ProjectInCollectionsQueryResult;
|
|
4459
|
+
type index_d$1_ProjectOrderInCollectionUpdatedEvent = ProjectOrderInCollectionUpdatedEvent;
|
|
4460
|
+
type index_d$1_ProjectSource = ProjectSource;
|
|
4461
|
+
type index_d$1_QueryProjectInCollectionsOptions = QueryProjectInCollectionsOptions;
|
|
4462
|
+
type index_d$1_QueryProjectInCollectionsRequest = QueryProjectInCollectionsRequest;
|
|
4463
|
+
type index_d$1_QueryProjectInCollectionsResponse = QueryProjectInCollectionsResponse;
|
|
4464
|
+
type index_d$1_QueryProjectInCollectionsResponseNonNullableFields = QueryProjectInCollectionsResponseNonNullableFields;
|
|
4465
|
+
type index_d$1_QueryV2 = QueryV2;
|
|
4466
|
+
type index_d$1_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
|
|
4467
|
+
type index_d$1_SeoSchema = SeoSchema;
|
|
4468
|
+
type index_d$1_Settings = Settings;
|
|
4469
|
+
type index_d$1_SortOrder = SortOrder;
|
|
4470
|
+
declare const index_d$1_SortOrder: typeof SortOrder;
|
|
4471
|
+
type index_d$1_Sorting = Sorting;
|
|
4472
|
+
type index_d$1_Tag = Tag;
|
|
4473
|
+
type index_d$1_UndeleteInfo = UndeleteInfo;
|
|
4474
|
+
type index_d$1_UnsharpMasking = UnsharpMasking;
|
|
4475
|
+
type index_d$1_UpdateProjectOrderInCollectionIdentifiers = UpdateProjectOrderInCollectionIdentifiers;
|
|
4476
|
+
type index_d$1_UpdateProjectOrderInCollectionRequest = UpdateProjectOrderInCollectionRequest;
|
|
4477
|
+
type index_d$1_UpdateProjectOrderInCollectionResponse = UpdateProjectOrderInCollectionResponse;
|
|
4478
|
+
type index_d$1_UpdateProjectOrderInCollectionResponseNonNullableFields = UpdateProjectOrderInCollectionResponseNonNullableFields;
|
|
4479
|
+
type index_d$1_Video = Video;
|
|
4480
|
+
type index_d$1_VideoResolution = VideoResolution;
|
|
4481
|
+
declare const index_d$1_onProjectInCollectionProjectOrderInCollectionUpdatedEvent: typeof onProjectInCollectionProjectOrderInCollectionUpdatedEvent;
|
|
4482
|
+
declare const index_d$1_queryProjectInCollections: typeof queryProjectInCollections;
|
|
4483
|
+
declare const index_d$1_updateProjectOrderInCollection: typeof updateProjectOrderInCollection;
|
|
4484
|
+
declare namespace index_d$1 {
|
|
4485
|
+
export { type ActionEvent$1 as ActionEvent, type index_d$1_BaseEventMetadata as BaseEventMetadata, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type index_d$1_DetailsLink as DetailsLink, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type index_d$1_EventMetadata as EventMetadata, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$1_Image as Image, index_d$1_ImageType as ImageType, type index_d$1_Keyword as Keyword, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_Paging as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type index_d$1_Point as Point, type index_d$1_Project as Project, type index_d$1_ProjectCoverOneOf as ProjectCoverOneOf, type index_d$1_ProjectDetail as ProjectDetail, type index_d$1_ProjectDetailValueOneOf as ProjectDetailValueOneOf, type index_d$1_ProjectInCollection as ProjectInCollection, type index_d$1_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope as ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope, type index_d$1_ProjectInCollectionsQueryBuilder as ProjectInCollectionsQueryBuilder, type index_d$1_ProjectInCollectionsQueryResult as ProjectInCollectionsQueryResult, type index_d$1_ProjectOrderInCollectionUpdatedEvent as ProjectOrderInCollectionUpdatedEvent, type index_d$1_ProjectSource as ProjectSource, type index_d$1_QueryProjectInCollectionsOptions as QueryProjectInCollectionsOptions, type index_d$1_QueryProjectInCollectionsRequest as QueryProjectInCollectionsRequest, type index_d$1_QueryProjectInCollectionsResponse as QueryProjectInCollectionsResponse, type index_d$1_QueryProjectInCollectionsResponseNonNullableFields as QueryProjectInCollectionsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_SeoSchema as SeoSchema, type index_d$1_Settings as Settings, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, SyncStatus$1 as SyncStatus, type index_d$1_Tag as Tag, type index_d$1_UndeleteInfo as UndeleteInfo, type index_d$1_UnsharpMasking as UnsharpMasking, type index_d$1_UpdateProjectOrderInCollectionIdentifiers as UpdateProjectOrderInCollectionIdentifiers, type index_d$1_UpdateProjectOrderInCollectionRequest as UpdateProjectOrderInCollectionRequest, type index_d$1_UpdateProjectOrderInCollectionResponse as UpdateProjectOrderInCollectionResponse, type index_d$1_UpdateProjectOrderInCollectionResponseNonNullableFields as UpdateProjectOrderInCollectionResponseNonNullableFields, type index_d$1_Video as Video, type index_d$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_onProjectInCollectionProjectOrderInCollectionUpdatedEvent as onProjectInCollectionProjectOrderInCollectionUpdatedEvent, index_d$1_queryProjectInCollections as queryProjectInCollections, index_d$1_updateProjectOrderInCollection as updateProjectOrderInCollection };
|
|
4486
|
+
}
|
|
4487
|
+
|
|
4488
|
+
interface SyncedProject {
|
|
4489
|
+
/** Project ID in Portfolio - if project was yet to be create, will be None */
|
|
4490
|
+
portfolioProjectId?: string | null;
|
|
4491
|
+
/** External Project ID */
|
|
4492
|
+
externalId?: string;
|
|
4493
|
+
/** Project name */
|
|
4494
|
+
title?: string | null;
|
|
4495
|
+
/** google.protobuf.StringValue description = 4 [(wix.api.maxLength) = 1000]; // Project description */
|
|
4496
|
+
mediaCount?: number;
|
|
4497
|
+
/** project image url */
|
|
4498
|
+
coverImage?: string | null;
|
|
4499
|
+
/** project url in external */
|
|
4500
|
+
link?: string | null;
|
|
4501
|
+
/**
|
|
4502
|
+
* Represents the last time project was synced - returned only if external project is synced
|
|
4503
|
+
* @readonly
|
|
4504
|
+
*/
|
|
4505
|
+
lastSynced?: Date;
|
|
4506
|
+
/** External Project synced status */
|
|
4507
|
+
status?: SyncStatus;
|
|
4508
|
+
}
|
|
4509
|
+
declare enum SyncStatus {
|
|
4510
|
+
/** Project was not synced */
|
|
4511
|
+
NOT_SYNCED = "NOT_SYNCED",
|
|
4512
|
+
/** Project is in pending state */
|
|
4513
|
+
PENDING = "PENDING",
|
|
4514
|
+
/** Project is in syncing state */
|
|
4515
|
+
SYNCING = "SYNCING",
|
|
4516
|
+
/** Project was synced */
|
|
4517
|
+
SYNCED = "SYNCED"
|
|
4518
|
+
}
|
|
4519
|
+
interface SyncingProjectEvent {
|
|
4520
|
+
/** provider appDefId */
|
|
4521
|
+
appDefId?: string;
|
|
4522
|
+
/** External Project ID */
|
|
4523
|
+
externalProjectId?: string;
|
|
4524
|
+
/** portfolio Project ID */
|
|
4525
|
+
portfolioProjectId?: string;
|
|
4526
|
+
/** when the first event was produced, and started syncing */
|
|
4527
|
+
firstProduceTimestamp?: Date;
|
|
4528
|
+
/** Project Revision */
|
|
4529
|
+
projectSyncRevision?: Date;
|
|
4530
|
+
}
|
|
4531
|
+
interface SyncProjectPagingEvent {
|
|
4532
|
+
/** provider appDefId */
|
|
4533
|
+
appDefId?: string;
|
|
4534
|
+
/** External Project ID */
|
|
4535
|
+
externalProjectId?: string;
|
|
4536
|
+
/** portfolio Project ID */
|
|
4537
|
+
portfolioProjectId?: string;
|
|
4538
|
+
/** next page cursor */
|
|
4539
|
+
nextPageCursor?: string | null;
|
|
4540
|
+
/** Project Revision */
|
|
4541
|
+
projectSyncRevision?: Date;
|
|
4542
|
+
}
|
|
4543
|
+
interface SyncAllSitesEvent {
|
|
4544
|
+
/** paging */
|
|
4545
|
+
paging?: CursorPaging;
|
|
4546
|
+
}
|
|
4547
|
+
interface CursorPaging {
|
|
4548
|
+
/** Maximum number of items to return in the results. */
|
|
4549
|
+
limit?: number | null;
|
|
4550
|
+
/**
|
|
4551
|
+
* Pointer to the next or previous page in the list of results.
|
|
4552
|
+
*
|
|
4553
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
4554
|
+
* Not relevant for the first request.
|
|
4555
|
+
*/
|
|
4556
|
+
cursor?: string | null;
|
|
4557
|
+
}
|
|
4558
|
+
interface SyncSiteEvent {
|
|
4559
|
+
/** portfolio instance id */
|
|
4560
|
+
instanceId?: string;
|
|
4561
|
+
/** paging */
|
|
4562
|
+
paging?: CursorPaging;
|
|
4563
|
+
}
|
|
4564
|
+
interface SyncProjectRequest {
|
|
4565
|
+
/** provider appDefId */
|
|
4566
|
+
appDefId: string;
|
|
4567
|
+
/** External Project ID */
|
|
4568
|
+
externalId: string;
|
|
4569
|
+
}
|
|
4570
|
+
interface GetProjectsRequest {
|
|
4571
|
+
/** provider appDefId */
|
|
4572
|
+
appDefId: string;
|
|
4573
|
+
/** paging */
|
|
4574
|
+
paging?: CursorPaging;
|
|
4575
|
+
}
|
|
4576
|
+
interface GetProjectsResponse {
|
|
4577
|
+
/** provider appDefId */
|
|
4578
|
+
projects?: SyncedProject[];
|
|
4579
|
+
/** Paging metadata */
|
|
4580
|
+
metadata?: PagingMetadataV2;
|
|
4581
|
+
}
|
|
4582
|
+
interface PagingMetadataV2 {
|
|
4583
|
+
/** Number of items returned in the response. */
|
|
4584
|
+
count?: number | null;
|
|
4585
|
+
/** Offset that was requested. */
|
|
4586
|
+
offset?: number | null;
|
|
4587
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
4588
|
+
total?: number | null;
|
|
4589
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
4590
|
+
tooManyToCount?: boolean | null;
|
|
4591
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
4592
|
+
cursors?: Cursors;
|
|
4593
|
+
}
|
|
4594
|
+
interface Cursors {
|
|
4595
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
4596
|
+
next?: string | null;
|
|
4597
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
4598
|
+
prev?: string | null;
|
|
4599
|
+
}
|
|
4600
|
+
interface SyncProjectResponse {
|
|
4601
|
+
/** Portfolio project */
|
|
4602
|
+
project?: SyncedProject;
|
|
4603
|
+
}
|
|
4604
|
+
interface GetSyncStatusRequest {
|
|
4605
|
+
/** provider appDefId */
|
|
4606
|
+
appDefId: string;
|
|
4607
|
+
/** External Project ID */
|
|
4608
|
+
externalId: string;
|
|
4609
|
+
}
|
|
4610
|
+
interface GetSyncStatusResponse {
|
|
4611
|
+
/** provider appDefId */
|
|
4612
|
+
appDefId?: string;
|
|
4613
|
+
/** External Project ID */
|
|
4614
|
+
externalId?: string;
|
|
4615
|
+
/** Synced status */
|
|
4616
|
+
status?: SyncStatus;
|
|
4617
|
+
}
|
|
4618
|
+
interface StopSyncRequest {
|
|
4619
|
+
/** provider appDefId */
|
|
4620
|
+
appDefId: string;
|
|
4621
|
+
/** External Project ID */
|
|
4622
|
+
externalId: string;
|
|
4623
|
+
}
|
|
4624
|
+
interface StopSyncResponse {
|
|
4625
|
+
/** provider appDefId */
|
|
4626
|
+
appDefId?: string;
|
|
4627
|
+
/** External Project ID */
|
|
4628
|
+
externalId?: string;
|
|
4629
|
+
}
|
|
4630
|
+
interface GetLoginRedirectableUrlRequest {
|
|
4631
|
+
/** provider appDefId */
|
|
4632
|
+
appDefId: string;
|
|
4633
|
+
}
|
|
4634
|
+
interface GetLoginRedirectableUrlResponse {
|
|
4635
|
+
/** provider appDefId */
|
|
4636
|
+
appDefId?: string;
|
|
4637
|
+
/** login url */
|
|
4638
|
+
url?: string;
|
|
4639
|
+
}
|
|
4640
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
4641
|
+
createdEvent?: EntityCreatedEvent;
|
|
4642
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
4643
|
+
deletedEvent?: EntityDeletedEvent;
|
|
4644
|
+
actionEvent?: ActionEvent;
|
|
4645
|
+
/**
|
|
4646
|
+
* Unique event ID.
|
|
4647
|
+
* Allows clients to ignore duplicate webhooks.
|
|
4648
|
+
*/
|
|
4649
|
+
_id?: string;
|
|
4650
|
+
/**
|
|
4651
|
+
* Assumes actions are also always typed to an entity_type
|
|
4652
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
4653
|
+
*/
|
|
4654
|
+
entityFqdn?: string;
|
|
4655
|
+
/**
|
|
4656
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
4657
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
4658
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
4659
|
+
*/
|
|
4660
|
+
slug?: string;
|
|
4661
|
+
/** ID of the entity associated with the event. */
|
|
4662
|
+
entityId?: string;
|
|
4663
|
+
/** Event timestamp. */
|
|
4664
|
+
eventTime?: Date;
|
|
4665
|
+
/**
|
|
4666
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
4667
|
+
* (for example, GDPR).
|
|
4668
|
+
*/
|
|
4669
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
4670
|
+
/** If present, indicates the action that triggered the event. */
|
|
4671
|
+
originatedFrom?: string | null;
|
|
4672
|
+
/**
|
|
4673
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
4674
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
4675
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
4676
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
4677
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
4678
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
4679
|
+
*/
|
|
4680
|
+
entityEventSequence?: string | null;
|
|
4681
|
+
}
|
|
4682
|
+
/** @oneof */
|
|
4683
|
+
interface DomainEventBodyOneOf {
|
|
4684
|
+
createdEvent?: EntityCreatedEvent;
|
|
4685
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
4686
|
+
deletedEvent?: EntityDeletedEvent;
|
|
4687
|
+
actionEvent?: ActionEvent;
|
|
4688
|
+
}
|
|
4689
|
+
interface EntityCreatedEvent {
|
|
4690
|
+
entity?: string;
|
|
4691
|
+
}
|
|
4692
|
+
interface RestoreInfo {
|
|
4693
|
+
deletedDate?: Date;
|
|
4694
|
+
}
|
|
4695
|
+
interface EntityUpdatedEvent {
|
|
4696
|
+
/**
|
|
4697
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
4698
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
4699
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
4700
|
+
*/
|
|
4701
|
+
currentEntity?: string;
|
|
4702
|
+
}
|
|
4703
|
+
interface EntityDeletedEvent {
|
|
4704
|
+
/** Entity that was deleted */
|
|
4705
|
+
deletedEntity?: string | null;
|
|
4706
|
+
}
|
|
4707
|
+
interface ActionEvent {
|
|
4708
|
+
body?: string;
|
|
4709
|
+
}
|
|
4710
|
+
interface Empty {
|
|
4711
|
+
}
|
|
4712
|
+
interface ItemCreatedMediaCallbackRequest {
|
|
4713
|
+
appDefId?: string;
|
|
4714
|
+
/** External Project ID */
|
|
4715
|
+
projectExternalId?: string;
|
|
4716
|
+
/** External Project ID */
|
|
4717
|
+
itemExternalId?: string;
|
|
4718
|
+
fileName?: string | null;
|
|
4719
|
+
mediaType?: string | null;
|
|
4720
|
+
opStatus?: string | null;
|
|
4721
|
+
fileSize?: number | null;
|
|
4722
|
+
width?: number | null;
|
|
4723
|
+
height?: number | null;
|
|
4724
|
+
fileOutput?: MediaFileOutput;
|
|
4725
|
+
siteId?: string | null;
|
|
4726
|
+
}
|
|
4727
|
+
interface MediaFileOutput {
|
|
4728
|
+
video?: MediaVideoOutput[];
|
|
4729
|
+
image?: MediaImageOutput[];
|
|
4730
|
+
}
|
|
4731
|
+
interface MediaVideoOutput {
|
|
4732
|
+
key?: string | null;
|
|
4733
|
+
status?: string | null;
|
|
4734
|
+
url?: string | null;
|
|
4735
|
+
quality?: string | null;
|
|
4736
|
+
duration?: number | null;
|
|
4737
|
+
width?: number | null;
|
|
4738
|
+
height?: number | null;
|
|
4739
|
+
format?: string | null;
|
|
4740
|
+
}
|
|
4741
|
+
interface MediaImageOutput {
|
|
4742
|
+
key?: string | null;
|
|
4743
|
+
status?: string | null;
|
|
4744
|
+
url?: string | null;
|
|
4745
|
+
width?: number | null;
|
|
4746
|
+
height?: number | null;
|
|
4747
|
+
format?: string | null;
|
|
4748
|
+
}
|
|
4749
|
+
interface ItemCreatedMediaCallbackResponse {
|
|
4750
|
+
}
|
|
4751
|
+
interface ProjectCoverImageCreatedMediaCallbackRequest {
|
|
4752
|
+
appDefId?: string;
|
|
4753
|
+
/** External Project ID */
|
|
4754
|
+
projectExternalId?: string;
|
|
4755
|
+
fileName?: string | null;
|
|
4756
|
+
mediaType?: string | null;
|
|
4757
|
+
opStatus?: string | null;
|
|
4758
|
+
fileSize?: number | null;
|
|
4759
|
+
width?: number | null;
|
|
4760
|
+
height?: number | null;
|
|
4761
|
+
fileOutput?: MediaFileOutput;
|
|
4762
|
+
siteId?: string | null;
|
|
4763
|
+
}
|
|
4764
|
+
interface ProjectCoverImageCreatedMediaCallbackResponse {
|
|
4765
|
+
}
|
|
4766
|
+
interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
4767
|
+
/** Emitted on a meta site creation. */
|
|
4768
|
+
siteCreated?: SiteCreated;
|
|
4769
|
+
/** Emitted on a meta site transfer completion. */
|
|
4770
|
+
siteTransferred?: SiteTransferred;
|
|
4771
|
+
/** Emitted on a meta site deletion. */
|
|
4772
|
+
siteDeleted?: SiteDeleted;
|
|
4773
|
+
/** Emitted on a meta site restoration. */
|
|
4774
|
+
siteUndeleted?: SiteUndeleted;
|
|
4775
|
+
/** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
|
|
4776
|
+
sitePublished?: SitePublished;
|
|
4777
|
+
/** Emitted on a meta site unpublish. */
|
|
4778
|
+
siteUnpublished?: SiteUnpublished;
|
|
4779
|
+
/** Emitted when meta site is marked as template. */
|
|
4780
|
+
siteMarkedAsTemplate?: SiteMarkedAsTemplate;
|
|
4781
|
+
/** Emitted when meta site is marked as a WixSite. */
|
|
4782
|
+
siteMarkedAsWixSite?: SiteMarkedAsWixSite;
|
|
4783
|
+
/** Emitted when an application is provisioned (installed). */
|
|
4784
|
+
serviceProvisioned?: ServiceProvisioned;
|
|
4785
|
+
/** Emitted when an application is removed (uninstalled). */
|
|
4786
|
+
serviceRemoved?: ServiceRemoved;
|
|
4787
|
+
/** Emitted when meta site name (URL slug) is changed. */
|
|
4788
|
+
siteRenamedPayload?: SiteRenamed;
|
|
4789
|
+
/** Emitted when meta site was permanently deleted. */
|
|
4790
|
+
hardDeleted?: SiteHardDeleted;
|
|
4791
|
+
/** Emitted on a namespace change. */
|
|
4792
|
+
namespaceChanged?: NamespaceChanged;
|
|
4793
|
+
/** Emitted when Studio is attached. */
|
|
4794
|
+
studioAssigned?: StudioAssigned;
|
|
4795
|
+
/** Emitted when Studio is detached. */
|
|
4796
|
+
studioUnassigned?: StudioUnassigned;
|
|
4797
|
+
/** A meta site id. */
|
|
4798
|
+
metaSiteId?: string;
|
|
4799
|
+
/** A meta site version. Monotonically increasing. */
|
|
4800
|
+
version?: string;
|
|
4801
|
+
/** A timestamp of the event. */
|
|
4802
|
+
timestamp?: string;
|
|
4803
|
+
/** A list of "assets" (applications). The same as MetaSiteContext. */
|
|
4804
|
+
assets?: Asset[];
|
|
4805
|
+
}
|
|
4806
|
+
/** @oneof */
|
|
4807
|
+
interface MetaSiteSpecialEventPayloadOneOf {
|
|
4808
|
+
/** Emitted on a meta site creation. */
|
|
4809
|
+
siteCreated?: SiteCreated;
|
|
4810
|
+
/** Emitted on a meta site transfer completion. */
|
|
4811
|
+
siteTransferred?: SiteTransferred;
|
|
4812
|
+
/** Emitted on a meta site deletion. */
|
|
4813
|
+
siteDeleted?: SiteDeleted;
|
|
4814
|
+
/** Emitted on a meta site restoration. */
|
|
4815
|
+
siteUndeleted?: SiteUndeleted;
|
|
4816
|
+
/** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
|
|
4817
|
+
sitePublished?: SitePublished;
|
|
4818
|
+
/** Emitted on a meta site unpublish. */
|
|
4819
|
+
siteUnpublished?: SiteUnpublished;
|
|
4820
|
+
/** Emitted when meta site is marked as template. */
|
|
4821
|
+
siteMarkedAsTemplate?: SiteMarkedAsTemplate;
|
|
4822
|
+
/** Emitted when meta site is marked as a WixSite. */
|
|
4823
|
+
siteMarkedAsWixSite?: SiteMarkedAsWixSite;
|
|
4824
|
+
/** Emitted when an application is provisioned (installed). */
|
|
4825
|
+
serviceProvisioned?: ServiceProvisioned;
|
|
4826
|
+
/** Emitted when an application is removed (uninstalled). */
|
|
4827
|
+
serviceRemoved?: ServiceRemoved;
|
|
4828
|
+
/** Emitted when meta site name (URL slug) is changed. */
|
|
4829
|
+
siteRenamedPayload?: SiteRenamed;
|
|
4830
|
+
/** Emitted when meta site was permanently deleted. */
|
|
4831
|
+
hardDeleted?: SiteHardDeleted;
|
|
4832
|
+
/** Emitted on a namespace change. */
|
|
4833
|
+
namespaceChanged?: NamespaceChanged;
|
|
4834
|
+
/** Emitted when Studio is attached. */
|
|
4835
|
+
studioAssigned?: StudioAssigned;
|
|
4836
|
+
/** Emitted when Studio is detached. */
|
|
4837
|
+
studioUnassigned?: StudioUnassigned;
|
|
4838
|
+
}
|
|
4839
|
+
interface Asset {
|
|
4840
|
+
/** An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum). */
|
|
4841
|
+
appDefId?: string;
|
|
4842
|
+
/** An instance id. For legacy reasons may be UUID or a string. */
|
|
4843
|
+
instanceId?: string;
|
|
4844
|
+
/** An application state. */
|
|
4845
|
+
state?: State;
|
|
4846
|
+
}
|
|
4847
|
+
declare enum State {
|
|
4848
|
+
UNKNOWN = "UNKNOWN",
|
|
4849
|
+
ENABLED = "ENABLED",
|
|
4850
|
+
DISABLED = "DISABLED",
|
|
4851
|
+
PENDING = "PENDING",
|
|
4852
|
+
DEMO = "DEMO"
|
|
4853
|
+
}
|
|
4854
|
+
interface SiteCreated {
|
|
4855
|
+
/** A template identifier (empty if not created from a template). */
|
|
4856
|
+
originTemplateId?: string;
|
|
4857
|
+
/** An account id of the owner. */
|
|
4858
|
+
ownerId?: string;
|
|
4859
|
+
/** A context in which meta site was created. */
|
|
4860
|
+
context?: SiteCreatedContext;
|
|
4861
|
+
/**
|
|
4862
|
+
* A meta site id from which this site was created.
|
|
4863
|
+
*
|
|
4864
|
+
* In case of a creation from a template it's a template id.
|
|
4865
|
+
* In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
|
|
4866
|
+
*/
|
|
4867
|
+
originMetaSiteId?: string | null;
|
|
4868
|
+
/** A meta site name (URL slug). */
|
|
4869
|
+
siteName?: string;
|
|
4870
|
+
/** A namespace. */
|
|
4871
|
+
namespace?: Namespace;
|
|
4872
|
+
}
|
|
4873
|
+
declare enum SiteCreatedContext {
|
|
4874
|
+
/** A valid option, we don't expose all reasons why site might be created. */
|
|
4875
|
+
OTHER = "OTHER",
|
|
4876
|
+
/** A meta site was created from template. */
|
|
4877
|
+
FROM_TEMPLATE = "FROM_TEMPLATE",
|
|
4878
|
+
/** A meta site was created by copying of the transfferred meta site. */
|
|
4879
|
+
DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
|
|
4880
|
+
/** A copy of existing meta site. */
|
|
4881
|
+
DUPLICATE = "DUPLICATE",
|
|
4882
|
+
/** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
|
|
4883
|
+
OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
|
|
4884
|
+
/** deprecated A meta site was created for Flash editor. */
|
|
4885
|
+
FLASH = "FLASH"
|
|
4886
|
+
}
|
|
4887
|
+
declare enum Namespace {
|
|
4888
|
+
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
4889
|
+
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
4890
|
+
WIX = "WIX",
|
|
4891
|
+
/** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
4892
|
+
SHOUT_OUT = "SHOUT_OUT",
|
|
4893
|
+
/** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
4894
|
+
ALBUMS = "ALBUMS",
|
|
4895
|
+
/** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
4896
|
+
WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
|
|
4897
|
+
/** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
4898
|
+
HOTELS = "HOTELS",
|
|
4899
|
+
/** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
4900
|
+
CLUBS = "CLUBS",
|
|
4901
|
+
/** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
4902
|
+
ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
|
|
4903
|
+
/** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
4904
|
+
DEV_SITE = "DEV_SITE",
|
|
4905
|
+
/** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
4906
|
+
LOGOS = "LOGOS",
|
|
4907
|
+
/** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
4908
|
+
VIDEO_MAKER = "VIDEO_MAKER",
|
|
4909
|
+
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
4910
|
+
PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
|
|
4911
|
+
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
4912
|
+
DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
|
|
4913
|
+
/**
|
|
4914
|
+
* A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
|
|
4915
|
+
*
|
|
4916
|
+
* Meta site with this namespace will *not* be shown in a user's site list by default.
|
|
4917
|
+
*/
|
|
4918
|
+
HTML_DRAFT = "HTML_DRAFT",
|
|
4919
|
+
/**
|
|
4920
|
+
* the user-journey for Fitness users who want to start from managing their business instead of designing their website.
|
|
4921
|
+
* Will be accessible from Site List and will not have a website app.
|
|
4922
|
+
* Once the user attaches a site, the site will become a regular wixsite.
|
|
4923
|
+
*/
|
|
4924
|
+
SITELESS_BUSINESS = "SITELESS_BUSINESS",
|
|
4925
|
+
/** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
|
|
4926
|
+
CREATOR_ECONOMY = "CREATOR_ECONOMY",
|
|
4927
|
+
/** It is to be used in the Business First efforts. */
|
|
4928
|
+
DASHBOARD_FIRST = "DASHBOARD_FIRST",
|
|
4929
|
+
/** Bookings business flow with no site. */
|
|
4930
|
+
ANYWHERE = "ANYWHERE",
|
|
4931
|
+
/** Namespace for Headless Backoffice with no editor */
|
|
4932
|
+
HEADLESS = "HEADLESS",
|
|
4933
|
+
/**
|
|
4934
|
+
* Namespace for master site that will exist in parent account that will be referenced by subaccounts
|
|
4935
|
+
* The site will be used for account level CSM feature for enterprise
|
|
4936
|
+
*/
|
|
4937
|
+
ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
|
|
4938
|
+
/** Rise.ai Siteless account management for Gift Cards and Store Credit. */
|
|
4939
|
+
RISE = "RISE",
|
|
4940
|
+
/**
|
|
4941
|
+
* As part of the branded app new funnel, users now can create a meta site that will be branded app first.
|
|
4942
|
+
* There's a blank site behind the scene but it's blank).
|
|
4943
|
+
* The Mobile company will be the owner of this namespace.
|
|
4944
|
+
*/
|
|
4945
|
+
BRANDED_FIRST = "BRANDED_FIRST"
|
|
4946
|
+
}
|
|
4947
|
+
/** Site transferred to another user. */
|
|
4948
|
+
interface SiteTransferred {
|
|
4949
|
+
/** A previous owner id (user that transfers meta site). */
|
|
4950
|
+
oldOwnerId?: string;
|
|
4951
|
+
/** A new owner id (user that accepts meta site). */
|
|
4952
|
+
newOwnerId?: string;
|
|
4953
|
+
}
|
|
4954
|
+
/** Soft deletion of the meta site. Could be restored. */
|
|
4955
|
+
interface SiteDeleted {
|
|
4956
|
+
/** A deletion context. */
|
|
4957
|
+
deleteContext?: DeleteContext;
|
|
4958
|
+
}
|
|
4959
|
+
interface DeleteContext {
|
|
4960
|
+
/** When the meta site was deleted. */
|
|
4961
|
+
dateDeleted?: Date;
|
|
4962
|
+
/** A status. */
|
|
4963
|
+
deleteStatus?: DeleteStatus;
|
|
4964
|
+
/** A reason (flow). */
|
|
4965
|
+
deleteOrigin?: string;
|
|
4966
|
+
/** A service that deleted it. */
|
|
4967
|
+
initiatorId?: string | null;
|
|
4968
|
+
}
|
|
4969
|
+
declare enum DeleteStatus {
|
|
4970
|
+
UNKNOWN = "UNKNOWN",
|
|
4971
|
+
TRASH = "TRASH",
|
|
4972
|
+
DELETED = "DELETED",
|
|
4973
|
+
PENDING_PURGE = "PENDING_PURGE"
|
|
4974
|
+
}
|
|
4975
|
+
/** Restoration of the meta site. */
|
|
4976
|
+
interface SiteUndeleted {
|
|
4977
|
+
}
|
|
4978
|
+
/** First publish of a meta site. Or subsequent publish after unpublish. */
|
|
4979
|
+
interface SitePublished {
|
|
4980
|
+
}
|
|
4981
|
+
interface SiteUnpublished {
|
|
4982
|
+
/** A list of URLs previously associated with the meta site. */
|
|
4983
|
+
urls?: string[];
|
|
4984
|
+
}
|
|
4985
|
+
interface SiteMarkedAsTemplate {
|
|
4986
|
+
}
|
|
4987
|
+
interface SiteMarkedAsWixSite {
|
|
4988
|
+
}
|
|
4989
|
+
interface ServiceProvisioned {
|
|
4990
|
+
/** Either UUID or EmbeddedServiceType. */
|
|
4991
|
+
appDefId?: string;
|
|
4992
|
+
/** Not only UUID. Something here could be something weird. */
|
|
4993
|
+
instanceId?: string;
|
|
4994
|
+
/** An instance id from which this instance is originated. */
|
|
4995
|
+
originInstanceId?: string;
|
|
4996
|
+
/** A version. */
|
|
4997
|
+
version?: string | null;
|
|
4998
|
+
}
|
|
4999
|
+
interface ServiceRemoved {
|
|
5000
|
+
/** Either UUID or EmbeddedServiceType. */
|
|
5001
|
+
appDefId?: string;
|
|
5002
|
+
/** Not only UUID. Something here could be something weird. */
|
|
5003
|
+
instanceId?: string;
|
|
5004
|
+
/** A version. */
|
|
5005
|
+
version?: string | null;
|
|
5006
|
+
}
|
|
5007
|
+
/** Rename of the site. Meaning, free public url has been changed as well. */
|
|
5008
|
+
interface SiteRenamed {
|
|
5009
|
+
/** A new meta site name (URL slug). */
|
|
5010
|
+
newSiteName?: string;
|
|
5011
|
+
/** A previous meta site name (URL slug). */
|
|
5012
|
+
oldSiteName?: string;
|
|
5013
|
+
}
|
|
5014
|
+
/**
|
|
5015
|
+
* Hard deletion of the meta site.
|
|
5016
|
+
*
|
|
5017
|
+
* Could not be restored. Therefore it's desirable to cleanup data.
|
|
5018
|
+
*/
|
|
5019
|
+
interface SiteHardDeleted {
|
|
5020
|
+
/** A deletion context. */
|
|
5021
|
+
deleteContext?: DeleteContext;
|
|
5022
|
+
}
|
|
5023
|
+
interface NamespaceChanged {
|
|
5024
|
+
/** A previous namespace. */
|
|
5025
|
+
oldNamespace?: Namespace;
|
|
5026
|
+
/** A new namespace. */
|
|
5027
|
+
newNamespace?: Namespace;
|
|
5028
|
+
}
|
|
5029
|
+
/** Assigned Studio editor */
|
|
5030
|
+
interface StudioAssigned {
|
|
5031
|
+
}
|
|
5032
|
+
/** Unassigned Studio editor */
|
|
5033
|
+
interface StudioUnassigned {
|
|
5034
|
+
}
|
|
5035
|
+
interface MessageEnvelope {
|
|
5036
|
+
/** App instance ID. */
|
|
5037
|
+
instanceId?: string | null;
|
|
5038
|
+
/** Event type. */
|
|
5039
|
+
eventType?: string;
|
|
5040
|
+
/** The identification type and identity data. */
|
|
5041
|
+
identity?: IdentificationData;
|
|
5042
|
+
/** Stringify payload. */
|
|
5043
|
+
data?: string;
|
|
5044
|
+
}
|
|
5045
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
5046
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
5047
|
+
anonymousVisitorId?: string;
|
|
5048
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
5049
|
+
memberId?: string;
|
|
5050
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
5051
|
+
wixUserId?: string;
|
|
5052
|
+
/** ID of an app. */
|
|
5053
|
+
appId?: string;
|
|
5054
|
+
/** @readonly */
|
|
5055
|
+
identityType?: WebhookIdentityType;
|
|
5056
|
+
}
|
|
5057
|
+
/** @oneof */
|
|
5058
|
+
interface IdentificationDataIdOneOf {
|
|
5059
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
5060
|
+
anonymousVisitorId?: string;
|
|
5061
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
5062
|
+
memberId?: string;
|
|
5063
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
5064
|
+
wixUserId?: string;
|
|
5065
|
+
/** ID of an app. */
|
|
5066
|
+
appId?: string;
|
|
5067
|
+
}
|
|
5068
|
+
declare enum WebhookIdentityType {
|
|
5069
|
+
UNKNOWN = "UNKNOWN",
|
|
5070
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
5071
|
+
MEMBER = "MEMBER",
|
|
5072
|
+
WIX_USER = "WIX_USER",
|
|
5073
|
+
APP = "APP"
|
|
5074
|
+
}
|
|
5075
|
+
interface GetProjectsResponseNonNullableFields {
|
|
5076
|
+
projects: {
|
|
5077
|
+
externalId: string;
|
|
5078
|
+
mediaCount: number;
|
|
5079
|
+
status: SyncStatus;
|
|
5080
|
+
}[];
|
|
5081
|
+
}
|
|
5082
|
+
interface SyncProjectResponseNonNullableFields {
|
|
5083
|
+
project?: {
|
|
5084
|
+
externalId: string;
|
|
5085
|
+
mediaCount: number;
|
|
5086
|
+
status: SyncStatus;
|
|
5087
|
+
};
|
|
5088
|
+
}
|
|
5089
|
+
interface GetSyncStatusResponseNonNullableFields {
|
|
5090
|
+
appDefId: string;
|
|
5091
|
+
externalId: string;
|
|
5092
|
+
status: SyncStatus;
|
|
5093
|
+
}
|
|
5094
|
+
interface StopSyncResponseNonNullableFields {
|
|
5095
|
+
appDefId: string;
|
|
5096
|
+
externalId: string;
|
|
5097
|
+
}
|
|
5098
|
+
interface GetLoginRedirectableUrlResponseNonNullableFields {
|
|
5099
|
+
appDefId: string;
|
|
5100
|
+
url: string;
|
|
5101
|
+
}
|
|
5102
|
+
interface GetProjectsOptions {
|
|
5103
|
+
/** paging */
|
|
5104
|
+
paging?: CursorPaging;
|
|
5105
|
+
}
|
|
5106
|
+
interface SyncProjectIdentifiers {
|
|
5107
|
+
/** provider appDefId */
|
|
5108
|
+
appDefId: string;
|
|
5109
|
+
/** External Project ID */
|
|
5110
|
+
externalId: string;
|
|
5111
|
+
}
|
|
5112
|
+
interface GetSyncStatusIdentifiers {
|
|
5113
|
+
/** provider appDefId */
|
|
5114
|
+
appDefId: string;
|
|
5115
|
+
/** External Project ID */
|
|
5116
|
+
externalId: string;
|
|
5117
|
+
}
|
|
5118
|
+
interface StopSyncIdentifiers {
|
|
5119
|
+
/** provider appDefId */
|
|
5120
|
+
appDefId: string;
|
|
5121
|
+
/** External Project ID */
|
|
5122
|
+
externalId: string;
|
|
5123
|
+
}
|
|
5124
|
+
|
|
5125
|
+
declare const __metadata: {
|
|
5126
|
+
PACKAGE_NAME: string;
|
|
5127
|
+
};
|
|
5128
|
+
declare function getProjects(httpClient: HttpClient): (appDefId: string, options?: GetProjectsOptions) => Promise<GetProjectsResponse & GetProjectsResponseNonNullableFields>;
|
|
5129
|
+
declare function syncProject(httpClient: HttpClient): (identifiers: SyncProjectIdentifiers) => Promise<SyncProjectResponse & SyncProjectResponseNonNullableFields>;
|
|
5130
|
+
declare function getSyncStatus(httpClient: HttpClient): (identifiers: GetSyncStatusIdentifiers) => Promise<GetSyncStatusResponse & GetSyncStatusResponseNonNullableFields>;
|
|
5131
|
+
declare function stopSync(httpClient: HttpClient): (identifiers: StopSyncIdentifiers) => Promise<StopSyncResponse & StopSyncResponseNonNullableFields>;
|
|
5132
|
+
declare function getLoginRedirectableUrl(httpClient: HttpClient): (appDefId: string) => Promise<GetLoginRedirectableUrlResponse & GetLoginRedirectableUrlResponseNonNullableFields>;
|
|
5133
|
+
|
|
4468
5134
|
type index_d_ActionEvent = ActionEvent;
|
|
4469
|
-
type
|
|
5135
|
+
type index_d_Asset = Asset;
|
|
4470
5136
|
type index_d_CursorPaging = CursorPaging;
|
|
4471
5137
|
type index_d_Cursors = Cursors;
|
|
4472
|
-
type
|
|
5138
|
+
type index_d_DeleteContext = DeleteContext;
|
|
5139
|
+
type index_d_DeleteStatus = DeleteStatus;
|
|
5140
|
+
declare const index_d_DeleteStatus: typeof DeleteStatus;
|
|
4473
5141
|
type index_d_DomainEvent = DomainEvent;
|
|
4474
5142
|
type index_d_DomainEventBodyOneOf = DomainEventBodyOneOf;
|
|
5143
|
+
type index_d_Empty = Empty;
|
|
4475
5144
|
type index_d_EntityCreatedEvent = EntityCreatedEvent;
|
|
4476
5145
|
type index_d_EntityDeletedEvent = EntityDeletedEvent;
|
|
4477
5146
|
type index_d_EntityUpdatedEvent = EntityUpdatedEvent;
|
|
4478
|
-
type
|
|
5147
|
+
type index_d_GetLoginRedirectableUrlRequest = GetLoginRedirectableUrlRequest;
|
|
5148
|
+
type index_d_GetLoginRedirectableUrlResponse = GetLoginRedirectableUrlResponse;
|
|
5149
|
+
type index_d_GetLoginRedirectableUrlResponseNonNullableFields = GetLoginRedirectableUrlResponseNonNullableFields;
|
|
5150
|
+
type index_d_GetProjectsOptions = GetProjectsOptions;
|
|
5151
|
+
type index_d_GetProjectsRequest = GetProjectsRequest;
|
|
5152
|
+
type index_d_GetProjectsResponse = GetProjectsResponse;
|
|
5153
|
+
type index_d_GetProjectsResponseNonNullableFields = GetProjectsResponseNonNullableFields;
|
|
5154
|
+
type index_d_GetSyncStatusIdentifiers = GetSyncStatusIdentifiers;
|
|
5155
|
+
type index_d_GetSyncStatusRequest = GetSyncStatusRequest;
|
|
5156
|
+
type index_d_GetSyncStatusResponse = GetSyncStatusResponse;
|
|
5157
|
+
type index_d_GetSyncStatusResponseNonNullableFields = GetSyncStatusResponseNonNullableFields;
|
|
4479
5158
|
type index_d_IdentificationData = IdentificationData;
|
|
4480
5159
|
type index_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
|
4481
|
-
type
|
|
4482
|
-
type
|
|
4483
|
-
|
|
4484
|
-
type
|
|
5160
|
+
type index_d_ItemCreatedMediaCallbackRequest = ItemCreatedMediaCallbackRequest;
|
|
5161
|
+
type index_d_ItemCreatedMediaCallbackResponse = ItemCreatedMediaCallbackResponse;
|
|
5162
|
+
type index_d_MediaFileOutput = MediaFileOutput;
|
|
5163
|
+
type index_d_MediaImageOutput = MediaImageOutput;
|
|
5164
|
+
type index_d_MediaVideoOutput = MediaVideoOutput;
|
|
4485
5165
|
type index_d_MessageEnvelope = MessageEnvelope;
|
|
4486
|
-
type
|
|
5166
|
+
type index_d_MetaSiteSpecialEvent = MetaSiteSpecialEvent;
|
|
5167
|
+
type index_d_MetaSiteSpecialEventPayloadOneOf = MetaSiteSpecialEventPayloadOneOf;
|
|
5168
|
+
type index_d_Namespace = Namespace;
|
|
5169
|
+
declare const index_d_Namespace: typeof Namespace;
|
|
5170
|
+
type index_d_NamespaceChanged = NamespaceChanged;
|
|
4487
5171
|
type index_d_PagingMetadataV2 = PagingMetadataV2;
|
|
4488
|
-
type
|
|
4489
|
-
type
|
|
4490
|
-
type
|
|
4491
|
-
type
|
|
4492
|
-
type
|
|
4493
|
-
type
|
|
4494
|
-
type
|
|
4495
|
-
|
|
4496
|
-
type
|
|
4497
|
-
type
|
|
4498
|
-
type
|
|
4499
|
-
type
|
|
4500
|
-
type
|
|
4501
|
-
type
|
|
4502
|
-
type
|
|
4503
|
-
type
|
|
4504
|
-
type
|
|
4505
|
-
type
|
|
4506
|
-
|
|
4507
|
-
type
|
|
4508
|
-
|
|
4509
|
-
type
|
|
5172
|
+
type index_d_ProjectCoverImageCreatedMediaCallbackRequest = ProjectCoverImageCreatedMediaCallbackRequest;
|
|
5173
|
+
type index_d_ProjectCoverImageCreatedMediaCallbackResponse = ProjectCoverImageCreatedMediaCallbackResponse;
|
|
5174
|
+
type index_d_RestoreInfo = RestoreInfo;
|
|
5175
|
+
type index_d_ServiceProvisioned = ServiceProvisioned;
|
|
5176
|
+
type index_d_ServiceRemoved = ServiceRemoved;
|
|
5177
|
+
type index_d_SiteCreated = SiteCreated;
|
|
5178
|
+
type index_d_SiteCreatedContext = SiteCreatedContext;
|
|
5179
|
+
declare const index_d_SiteCreatedContext: typeof SiteCreatedContext;
|
|
5180
|
+
type index_d_SiteDeleted = SiteDeleted;
|
|
5181
|
+
type index_d_SiteHardDeleted = SiteHardDeleted;
|
|
5182
|
+
type index_d_SiteMarkedAsTemplate = SiteMarkedAsTemplate;
|
|
5183
|
+
type index_d_SiteMarkedAsWixSite = SiteMarkedAsWixSite;
|
|
5184
|
+
type index_d_SitePublished = SitePublished;
|
|
5185
|
+
type index_d_SiteRenamed = SiteRenamed;
|
|
5186
|
+
type index_d_SiteTransferred = SiteTransferred;
|
|
5187
|
+
type index_d_SiteUndeleted = SiteUndeleted;
|
|
5188
|
+
type index_d_SiteUnpublished = SiteUnpublished;
|
|
5189
|
+
type index_d_State = State;
|
|
5190
|
+
declare const index_d_State: typeof State;
|
|
5191
|
+
type index_d_StopSyncIdentifiers = StopSyncIdentifiers;
|
|
5192
|
+
type index_d_StopSyncRequest = StopSyncRequest;
|
|
5193
|
+
type index_d_StopSyncResponse = StopSyncResponse;
|
|
5194
|
+
type index_d_StopSyncResponseNonNullableFields = StopSyncResponseNonNullableFields;
|
|
5195
|
+
type index_d_StudioAssigned = StudioAssigned;
|
|
5196
|
+
type index_d_StudioUnassigned = StudioUnassigned;
|
|
5197
|
+
type index_d_SyncAllSitesEvent = SyncAllSitesEvent;
|
|
5198
|
+
type index_d_SyncProjectIdentifiers = SyncProjectIdentifiers;
|
|
5199
|
+
type index_d_SyncProjectPagingEvent = SyncProjectPagingEvent;
|
|
5200
|
+
type index_d_SyncProjectRequest = SyncProjectRequest;
|
|
5201
|
+
type index_d_SyncProjectResponse = SyncProjectResponse;
|
|
5202
|
+
type index_d_SyncProjectResponseNonNullableFields = SyncProjectResponseNonNullableFields;
|
|
5203
|
+
type index_d_SyncSiteEvent = SyncSiteEvent;
|
|
4510
5204
|
type index_d_SyncStatus = SyncStatus;
|
|
4511
5205
|
declare const index_d_SyncStatus: typeof SyncStatus;
|
|
4512
|
-
type
|
|
4513
|
-
type
|
|
4514
|
-
type index_d_UnsharpMasking = UnsharpMasking;
|
|
4515
|
-
type index_d_UpdateProjectOrderInCollectionIdentifiers = UpdateProjectOrderInCollectionIdentifiers;
|
|
4516
|
-
type index_d_UpdateProjectOrderInCollectionRequest = UpdateProjectOrderInCollectionRequest;
|
|
4517
|
-
type index_d_UpdateProjectOrderInCollectionResponse = UpdateProjectOrderInCollectionResponse;
|
|
4518
|
-
type index_d_UpdateProjectOrderInCollectionResponseNonNullableFields = UpdateProjectOrderInCollectionResponseNonNullableFields;
|
|
4519
|
-
type index_d_Video = Video;
|
|
4520
|
-
type index_d_VideoResolution = VideoResolution;
|
|
5206
|
+
type index_d_SyncedProject = SyncedProject;
|
|
5207
|
+
type index_d_SyncingProjectEvent = SyncingProjectEvent;
|
|
4521
5208
|
type index_d_WebhookIdentityType = WebhookIdentityType;
|
|
4522
5209
|
declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
|
|
4523
5210
|
declare const index_d___metadata: typeof __metadata;
|
|
4524
|
-
declare const
|
|
4525
|
-
declare const
|
|
4526
|
-
declare const
|
|
5211
|
+
declare const index_d_getLoginRedirectableUrl: typeof getLoginRedirectableUrl;
|
|
5212
|
+
declare const index_d_getProjects: typeof getProjects;
|
|
5213
|
+
declare const index_d_getSyncStatus: typeof getSyncStatus;
|
|
5214
|
+
declare const index_d_stopSync: typeof stopSync;
|
|
5215
|
+
declare const index_d_syncProject: typeof syncProject;
|
|
4527
5216
|
declare namespace index_d {
|
|
4528
|
-
export { type index_d_ActionEvent as ActionEvent, type
|
|
5217
|
+
export { type index_d_ActionEvent as ActionEvent, type index_d_Asset as Asset, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_DeleteContext as DeleteContext, index_d_DeleteStatus as DeleteStatus, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_GetLoginRedirectableUrlRequest as GetLoginRedirectableUrlRequest, type index_d_GetLoginRedirectableUrlResponse as GetLoginRedirectableUrlResponse, type index_d_GetLoginRedirectableUrlResponseNonNullableFields as GetLoginRedirectableUrlResponseNonNullableFields, type index_d_GetProjectsOptions as GetProjectsOptions, type index_d_GetProjectsRequest as GetProjectsRequest, type index_d_GetProjectsResponse as GetProjectsResponse, type index_d_GetProjectsResponseNonNullableFields as GetProjectsResponseNonNullableFields, type index_d_GetSyncStatusIdentifiers as GetSyncStatusIdentifiers, type index_d_GetSyncStatusRequest as GetSyncStatusRequest, type index_d_GetSyncStatusResponse as GetSyncStatusResponse, type index_d_GetSyncStatusResponseNonNullableFields as GetSyncStatusResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ItemCreatedMediaCallbackRequest as ItemCreatedMediaCallbackRequest, type index_d_ItemCreatedMediaCallbackResponse as ItemCreatedMediaCallbackResponse, type index_d_MediaFileOutput as MediaFileOutput, type index_d_MediaImageOutput as MediaImageOutput, type index_d_MediaVideoOutput as MediaVideoOutput, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_ProjectCoverImageCreatedMediaCallbackRequest as ProjectCoverImageCreatedMediaCallbackRequest, type index_d_ProjectCoverImageCreatedMediaCallbackResponse as ProjectCoverImageCreatedMediaCallbackResponse, type index_d_RestoreInfo as RestoreInfo, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, index_d_State as State, type index_d_StopSyncIdentifiers as StopSyncIdentifiers, type index_d_StopSyncRequest as StopSyncRequest, type index_d_StopSyncResponse as StopSyncResponse, type index_d_StopSyncResponseNonNullableFields as StopSyncResponseNonNullableFields, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, type index_d_SyncAllSitesEvent as SyncAllSitesEvent, type index_d_SyncProjectIdentifiers as SyncProjectIdentifiers, type index_d_SyncProjectPagingEvent as SyncProjectPagingEvent, type index_d_SyncProjectRequest as SyncProjectRequest, type index_d_SyncProjectResponse as SyncProjectResponse, type index_d_SyncProjectResponseNonNullableFields as SyncProjectResponseNonNullableFields, type index_d_SyncSiteEvent as SyncSiteEvent, index_d_SyncStatus as SyncStatus, type index_d_SyncedProject as SyncedProject, type index_d_SyncingProjectEvent as SyncingProjectEvent, index_d_WebhookIdentityType as WebhookIdentityType, index_d___metadata as __metadata, index_d_getLoginRedirectableUrl as getLoginRedirectableUrl, index_d_getProjects as getProjects, index_d_getSyncStatus as getSyncStatus, index_d_stopSync as stopSync, index_d_syncProject as syncProject };
|
|
4529
5218
|
}
|
|
4530
5219
|
|
|
4531
|
-
export { index_d$
|
|
5220
|
+
export { index_d$5 as collections, index_d$4 as portfolioSettings, index_d$1 as projectInCollections, index_d$3 as projectItems, index_d$2 as projects, index_d as syncedProject };
|