@wix/auto_sdk_portfolio_projects 1.0.47 → 1.0.49
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/index.d.ts +1 -1
- package/build/cjs/index.js +11 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +69 -3
- package/build/cjs/index.typings.js +11 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +61 -3
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +9 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +69 -3
- package/build/es/index.typings.mjs +9 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +61 -3
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +11 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +69 -3
- package/build/internal/cjs/index.typings.js +11 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +61 -3
- package/build/internal/cjs/meta.js +1 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +9 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +69 -3
- package/build/internal/es/index.typings.mjs +9 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +61 -3
- package/build/internal/es/meta.mjs +1 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _wix_sdk_types from '@wix/sdk-types';
|
|
1
2
|
import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
|
|
2
3
|
|
|
3
4
|
interface Project extends ProjectCoverOneOf {
|
|
@@ -394,6 +395,10 @@ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
394
395
|
userDomainMediaEnabled?: UserDomainMediaEnabled;
|
|
395
396
|
/** Emitted when media from user domain is disabled. */
|
|
396
397
|
userDomainMediaDisabled?: UserDomainMediaDisabled;
|
|
398
|
+
/** Emitted when Editorless is attached. */
|
|
399
|
+
editorlessAssigned?: EditorlessAssigned;
|
|
400
|
+
/** Emitted when Editorless is detached. */
|
|
401
|
+
editorlessUnassigned?: EditorlessUnassigned;
|
|
397
402
|
/**
|
|
398
403
|
* A meta site id.
|
|
399
404
|
* @format GUID
|
|
@@ -472,6 +477,10 @@ interface MetaSiteSpecialEventPayloadOneOf {
|
|
|
472
477
|
userDomainMediaEnabled?: UserDomainMediaEnabled;
|
|
473
478
|
/** Emitted when media from user domain is disabled. */
|
|
474
479
|
userDomainMediaDisabled?: UserDomainMediaDisabled;
|
|
480
|
+
/** Emitted when Editorless is attached. */
|
|
481
|
+
editorlessAssigned?: EditorlessAssigned;
|
|
482
|
+
/** Emitted when Editorless is detached. */
|
|
483
|
+
editorlessUnassigned?: EditorlessUnassigned;
|
|
475
484
|
}
|
|
476
485
|
interface Asset {
|
|
477
486
|
/**
|
|
@@ -627,10 +636,12 @@ declare enum Namespace {
|
|
|
627
636
|
/** Wix Nano. */
|
|
628
637
|
NANO = "NANO",
|
|
629
638
|
/** Base44 headless sites. */
|
|
630
|
-
BASE44 = "BASE44"
|
|
639
|
+
BASE44 = "BASE44",
|
|
640
|
+
/** Wix Channels Sites */
|
|
641
|
+
CHANNELS = "CHANNELS"
|
|
631
642
|
}
|
|
632
643
|
/** @enumType */
|
|
633
|
-
type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44';
|
|
644
|
+
type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44' | 'CHANNELS';
|
|
634
645
|
/** Site transferred to another user. */
|
|
635
646
|
interface SiteTransferred {
|
|
636
647
|
/**
|
|
@@ -838,6 +849,12 @@ interface UserDomainMediaEnabled {
|
|
|
838
849
|
/** Media from user domain is disabled. */
|
|
839
850
|
interface UserDomainMediaDisabled {
|
|
840
851
|
}
|
|
852
|
+
/** Assigned Editorless */
|
|
853
|
+
interface EditorlessAssigned {
|
|
854
|
+
}
|
|
855
|
+
/** Unassigned Editorless */
|
|
856
|
+
interface EditorlessUnassigned {
|
|
857
|
+
}
|
|
841
858
|
interface Empty {
|
|
842
859
|
}
|
|
843
860
|
interface MessageEnvelope {
|
|
@@ -952,6 +969,10 @@ interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
|
952
969
|
file?: File;
|
|
953
970
|
/** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
|
|
954
971
|
customTag?: CustomTag;
|
|
972
|
+
/** Invalidate by multiple page ids */
|
|
973
|
+
pages?: Pages;
|
|
974
|
+
/** Invalidate by multiple URI paths */
|
|
975
|
+
uris?: URIs;
|
|
955
976
|
/**
|
|
956
977
|
* tell us why you're invalidating the cache. You don't need to add your app name
|
|
957
978
|
* @maxLength 256
|
|
@@ -960,6 +981,14 @@ interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
|
960
981
|
/** Is local DS */
|
|
961
982
|
localDc?: boolean;
|
|
962
983
|
hardPurge?: boolean;
|
|
984
|
+
/**
|
|
985
|
+
* Optional caller-provided ID for tracking this invalidation through the system.
|
|
986
|
+
* When set, the corresponding CDN purge completion event will include this ID,
|
|
987
|
+
* allowing you to confirm when the invalidation has fully propagated.
|
|
988
|
+
* Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.
|
|
989
|
+
* @maxLength 256
|
|
990
|
+
*/
|
|
991
|
+
correlationId?: string | null;
|
|
963
992
|
}
|
|
964
993
|
/** @oneof */
|
|
965
994
|
interface InvalidateCacheGetByOneOf {
|
|
@@ -983,6 +1012,10 @@ interface InvalidateCacheGetByOneOf {
|
|
|
983
1012
|
file?: File;
|
|
984
1013
|
/** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
|
|
985
1014
|
customTag?: CustomTag;
|
|
1015
|
+
/** Invalidate by multiple page ids */
|
|
1016
|
+
pages?: Pages;
|
|
1017
|
+
/** Invalidate by multiple URI paths */
|
|
1018
|
+
uris?: URIs;
|
|
986
1019
|
}
|
|
987
1020
|
interface App {
|
|
988
1021
|
/**
|
|
@@ -1046,6 +1079,32 @@ interface CustomTag {
|
|
|
1046
1079
|
*/
|
|
1047
1080
|
tag?: string;
|
|
1048
1081
|
}
|
|
1082
|
+
interface Pages {
|
|
1083
|
+
/**
|
|
1084
|
+
* the msid the pages are on
|
|
1085
|
+
* @format GUID
|
|
1086
|
+
*/
|
|
1087
|
+
metaSiteId?: string;
|
|
1088
|
+
/**
|
|
1089
|
+
* Invalidate by multiple Page IDs in a single message
|
|
1090
|
+
* @maxSize 100
|
|
1091
|
+
* @minLength 1
|
|
1092
|
+
*/
|
|
1093
|
+
pageIds?: string[];
|
|
1094
|
+
}
|
|
1095
|
+
interface URIs {
|
|
1096
|
+
/**
|
|
1097
|
+
* the msid the URIs are on
|
|
1098
|
+
* @format GUID
|
|
1099
|
+
*/
|
|
1100
|
+
metaSiteId?: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes
|
|
1103
|
+
* @maxSize 100
|
|
1104
|
+
* @minLength 1
|
|
1105
|
+
*/
|
|
1106
|
+
uriPaths?: string[];
|
|
1107
|
+
}
|
|
1049
1108
|
interface SyncProjectWithCollectionMappings {
|
|
1050
1109
|
/**
|
|
1051
1110
|
* Id of recently updated Project
|
|
@@ -1845,6 +1904,13 @@ type ProjectQuery = {
|
|
|
1845
1904
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
1846
1905
|
}[];
|
|
1847
1906
|
};
|
|
1907
|
+
declare const utils: {
|
|
1908
|
+
query: {
|
|
1909
|
+
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Project, ProjectQuerySpec, ProjectQuery>;
|
|
1910
|
+
Filter: _wix_sdk_types.FilterFactory<Project, ProjectQuerySpec>;
|
|
1911
|
+
Sort: _wix_sdk_types.SortFactory<ProjectQuerySpec>;
|
|
1912
|
+
};
|
|
1913
|
+
};
|
|
1848
1914
|
/**
|
|
1849
1915
|
* Deprecated - please use ProjectsInCollectionsService.UpdateProjectOrderInCollection instead
|
|
1850
1916
|
* our Client still use it
|
|
@@ -1889,4 +1955,4 @@ interface QueryProjectsWithCollectionInfoOptions {
|
|
|
1889
1955
|
includePageUrl?: boolean | null;
|
|
1890
1956
|
}
|
|
1891
1957
|
|
|
1892
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type App, type ApplicationError, type Asset, type BaseEventMetadata, type BulkActionMetadata, type BulkUpdateProjectsOptions, type BulkUpdateProjectsRequest, type BulkUpdateProjectsResponse, type BulkUpdateProjectsResult, type CommonQueryWithEntityContext, type CreateNewPortfolioAppRequest, type CreateNewPortfolioAppResponse, type CreateProjectRequest, type CreateProjectResponse, type CursorPaging, type Cursors, type CustomTag, type DeleteContext, type DeleteProjectRequest, type DeleteProjectResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeletedProjectRestored, type DetailsLink, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type File, type GetAdjacentProjectInfoRequest, type GetAdjacentProjectInfoResponse, type GetProjectOptions, type GetProjectPageDataRequest, type GetProjectPageDataResponse, type GetProjectRequest, type GetProjectResponse, type IdentificationData, type IdentificationDataIdOneOf, type Image, ImageType, type ImageTypeWithLiterals, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type Keyword, type ListProjectsOptions, type ListProjectsRequest, type ListProjectsResponse, type MaskedProject, type MenuSettingUpdatedEvent, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type Page, type Paging, type PagingMetadataV2, type PicassoAssigned, type PicassoUnassigned, type Point, Position, type PositionWithLiterals, type Project, type ProjectCoverOneOf, type ProjectCreatedEnvelope, type ProjectDeletedEnvelope, type ProjectDetail, type ProjectDetailValueOneOf, type ProjectInfo, type ProjectQuery, type ProjectQuerySpec, type ProjectSlug, type ProjectSource, type ProjectUpdatedEnvelope, type ProjectsInCollections, type ProjectsQueryBuilder, type ProjectsQueryResult, type QueryProjectWithCollectionInfoRequest, type QueryProjectWithCollectionInfoResponse, type QueryProjectsOptions, type QueryProjectsRequest, type QueryProjectsResponse, type QueryProjectsWithCollectionInfoOptions, type QueryV2, type QueryV2PagingMethodOneOf, type RestoreInfo, type RestoreProjectFromTrashBinRequest, type RestoreProjectFromTrashBinResponse, type SeoSchema, type ServiceProvisioned, type ServiceRemoved, type Settings, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type SyncProjectWithCollectionMappings, SyncStatus, type SyncStatusWithLiterals, type Tag, type URI, type UnsharpMasking, type UpdateProject, type UpdateProjectOrderInCollectionIdentifiers, type UpdateProjectOrderInCollectionRequest, type UpdateProjectOrderInCollectionResponse, type UpdateProjectRequest, type UpdateProjectResponse, type UserDomainMediaDisabled, type UserDomainMediaEnabled, type Video, type VideoResolution, type Watermark, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, bulkUpdateProjects, createProject, deleteProject, getProject, listProjects, onProjectCreated, onProjectDeleted, onProjectUpdated, queryProjects, queryProjectsWithCollectionInfo, typedQueryProjects, updateProject, updateProjectOrderInCollection };
|
|
1958
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type App, type ApplicationError, type Asset, type BaseEventMetadata, type BulkActionMetadata, type BulkUpdateProjectsOptions, type BulkUpdateProjectsRequest, type BulkUpdateProjectsResponse, type BulkUpdateProjectsResult, type CommonQueryWithEntityContext, type CreateNewPortfolioAppRequest, type CreateNewPortfolioAppResponse, type CreateProjectRequest, type CreateProjectResponse, type CursorPaging, type Cursors, type CustomTag, type DeleteContext, type DeleteProjectRequest, type DeleteProjectResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeletedProjectRestored, type DetailsLink, type DomainEvent, type DomainEventBodyOneOf, type EditorlessAssigned, type EditorlessUnassigned, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type File, type GetAdjacentProjectInfoRequest, type GetAdjacentProjectInfoResponse, type GetProjectOptions, type GetProjectPageDataRequest, type GetProjectPageDataResponse, type GetProjectRequest, type GetProjectResponse, type IdentificationData, type IdentificationDataIdOneOf, type Image, ImageType, type ImageTypeWithLiterals, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type Keyword, type ListProjectsOptions, type ListProjectsRequest, type ListProjectsResponse, type MaskedProject, type MenuSettingUpdatedEvent, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type Page, type Pages, type Paging, type PagingMetadataV2, type PicassoAssigned, type PicassoUnassigned, type Point, Position, type PositionWithLiterals, type Project, type ProjectCoverOneOf, type ProjectCreatedEnvelope, type ProjectDeletedEnvelope, type ProjectDetail, type ProjectDetailValueOneOf, type ProjectInfo, type ProjectQuery, type ProjectQuerySpec, type ProjectSlug, type ProjectSource, type ProjectUpdatedEnvelope, type ProjectsInCollections, type ProjectsQueryBuilder, type ProjectsQueryResult, type QueryProjectWithCollectionInfoRequest, type QueryProjectWithCollectionInfoResponse, type QueryProjectsOptions, type QueryProjectsRequest, type QueryProjectsResponse, type QueryProjectsWithCollectionInfoOptions, type QueryV2, type QueryV2PagingMethodOneOf, type RestoreInfo, type RestoreProjectFromTrashBinRequest, type RestoreProjectFromTrashBinResponse, type SeoSchema, type ServiceProvisioned, type ServiceRemoved, type Settings, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type SyncProjectWithCollectionMappings, SyncStatus, type SyncStatusWithLiterals, type Tag, type URI, type URIs, type UnsharpMasking, type UpdateProject, type UpdateProjectOrderInCollectionIdentifiers, type UpdateProjectOrderInCollectionRequest, type UpdateProjectOrderInCollectionResponse, type UpdateProjectRequest, type UpdateProjectResponse, type UserDomainMediaDisabled, type UserDomainMediaEnabled, type Video, type VideoResolution, type Watermark, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, bulkUpdateProjects, createProject, deleteProject, getProject, listProjects, onProjectCreated, onProjectDeleted, onProjectUpdated, queryProjects, queryProjectsWithCollectionInfo, typedQueryProjects, updateProject, updateProjectOrderInCollection, utils };
|
|
@@ -660,6 +660,7 @@ import { transformRESTVideoV2ToSDKVideoV2 } from "@wix/sdk-runtime/transformatio
|
|
|
660
660
|
import { transformSDKPageURLV2ToRESTPageURLV2 } from "@wix/sdk-runtime/transformations/page-url-v2";
|
|
661
661
|
import { transformRESTPageURLV2ToSDKPageURLV2 } from "@wix/sdk-runtime/transformations/page-url-v2";
|
|
662
662
|
import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
663
|
+
import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
|
|
663
664
|
var ImageType = /* @__PURE__ */ ((ImageType2) => {
|
|
664
665
|
ImageType2["UNDEFINED"] = "UNDEFINED";
|
|
665
666
|
ImageType2["WIX_MEDIA"] = "WIX_MEDIA";
|
|
@@ -735,6 +736,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
735
736
|
Namespace2["TWINS"] = "TWINS";
|
|
736
737
|
Namespace2["NANO"] = "NANO";
|
|
737
738
|
Namespace2["BASE44"] = "BASE44";
|
|
739
|
+
Namespace2["CHANNELS"] = "CHANNELS";
|
|
738
740
|
return Namespace2;
|
|
739
741
|
})(Namespace || {});
|
|
740
742
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
@@ -1139,6 +1141,11 @@ async function typedQueryProjects(query, options) {
|
|
|
1139
1141
|
throw transformedError;
|
|
1140
1142
|
}
|
|
1141
1143
|
}
|
|
1144
|
+
var utils = {
|
|
1145
|
+
query: {
|
|
1146
|
+
...createQueryUtils()
|
|
1147
|
+
}
|
|
1148
|
+
};
|
|
1142
1149
|
async function updateProjectOrderInCollection2(identifiers, sortOrder) {
|
|
1143
1150
|
const { httpClient, sideEffects } = arguments[2];
|
|
1144
1151
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
@@ -1261,6 +1268,7 @@ export {
|
|
|
1261
1268
|
queryProjectsWithCollectionInfo2 as queryProjectsWithCollectionInfo,
|
|
1262
1269
|
typedQueryProjects,
|
|
1263
1270
|
updateProject2 as updateProject,
|
|
1264
|
-
updateProjectOrderInCollection2 as updateProjectOrderInCollection
|
|
1271
|
+
updateProjectOrderInCollection2 as updateProjectOrderInCollection,
|
|
1272
|
+
utils
|
|
1265
1273
|
};
|
|
1266
1274
|
//# sourceMappingURL=index.typings.mjs.map
|