@wix/auto_sdk_portfolio_projects 1.0.47 → 1.0.48
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 +9 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +53 -3
- package/build/cjs/index.typings.js +9 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +47 -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 +7 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +53 -3
- package/build/es/index.typings.mjs +7 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +47 -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 +9 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +53 -3
- package/build/internal/cjs/index.typings.js +9 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +47 -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 +7 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +53 -3
- package/build/internal/es/index.typings.mjs +7 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +47 -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 {
|
|
@@ -627,10 +628,12 @@ declare enum Namespace {
|
|
|
627
628
|
/** Wix Nano. */
|
|
628
629
|
NANO = "NANO",
|
|
629
630
|
/** Base44 headless sites. */
|
|
630
|
-
BASE44 = "BASE44"
|
|
631
|
+
BASE44 = "BASE44",
|
|
632
|
+
/** Wix Channels Sites */
|
|
633
|
+
CHANNELS = "CHANNELS"
|
|
631
634
|
}
|
|
632
635
|
/** @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';
|
|
636
|
+
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
637
|
/** Site transferred to another user. */
|
|
635
638
|
interface SiteTransferred {
|
|
636
639
|
/**
|
|
@@ -952,6 +955,10 @@ interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
|
952
955
|
file?: File;
|
|
953
956
|
/** 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
957
|
customTag?: CustomTag;
|
|
958
|
+
/** Invalidate by multiple page ids */
|
|
959
|
+
pages?: Pages;
|
|
960
|
+
/** Invalidate by multiple URI paths */
|
|
961
|
+
uris?: URIs;
|
|
955
962
|
/**
|
|
956
963
|
* tell us why you're invalidating the cache. You don't need to add your app name
|
|
957
964
|
* @maxLength 256
|
|
@@ -960,6 +967,14 @@ interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
|
960
967
|
/** Is local DS */
|
|
961
968
|
localDc?: boolean;
|
|
962
969
|
hardPurge?: boolean;
|
|
970
|
+
/**
|
|
971
|
+
* Optional caller-provided ID for tracking this invalidation through the system.
|
|
972
|
+
* When set, the corresponding CDN purge completion event will include this ID,
|
|
973
|
+
* allowing you to confirm when the invalidation has fully propagated.
|
|
974
|
+
* Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.
|
|
975
|
+
* @maxLength 256
|
|
976
|
+
*/
|
|
977
|
+
correlationId?: string | null;
|
|
963
978
|
}
|
|
964
979
|
/** @oneof */
|
|
965
980
|
interface InvalidateCacheGetByOneOf {
|
|
@@ -983,6 +998,10 @@ interface InvalidateCacheGetByOneOf {
|
|
|
983
998
|
file?: File;
|
|
984
999
|
/** 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
1000
|
customTag?: CustomTag;
|
|
1001
|
+
/** Invalidate by multiple page ids */
|
|
1002
|
+
pages?: Pages;
|
|
1003
|
+
/** Invalidate by multiple URI paths */
|
|
1004
|
+
uris?: URIs;
|
|
986
1005
|
}
|
|
987
1006
|
interface App {
|
|
988
1007
|
/**
|
|
@@ -1046,6 +1065,32 @@ interface CustomTag {
|
|
|
1046
1065
|
*/
|
|
1047
1066
|
tag?: string;
|
|
1048
1067
|
}
|
|
1068
|
+
interface Pages {
|
|
1069
|
+
/**
|
|
1070
|
+
* the msid the pages are on
|
|
1071
|
+
* @format GUID
|
|
1072
|
+
*/
|
|
1073
|
+
metaSiteId?: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* Invalidate by multiple Page IDs in a single message
|
|
1076
|
+
* @maxSize 100
|
|
1077
|
+
* @minLength 1
|
|
1078
|
+
*/
|
|
1079
|
+
pageIds?: string[];
|
|
1080
|
+
}
|
|
1081
|
+
interface URIs {
|
|
1082
|
+
/**
|
|
1083
|
+
* the msid the URIs are on
|
|
1084
|
+
* @format GUID
|
|
1085
|
+
*/
|
|
1086
|
+
metaSiteId?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes
|
|
1089
|
+
* @maxSize 100
|
|
1090
|
+
* @minLength 1
|
|
1091
|
+
*/
|
|
1092
|
+
uriPaths?: string[];
|
|
1093
|
+
}
|
|
1049
1094
|
interface SyncProjectWithCollectionMappings {
|
|
1050
1095
|
/**
|
|
1051
1096
|
* Id of recently updated Project
|
|
@@ -1845,6 +1890,11 @@ type ProjectQuery = {
|
|
|
1845
1890
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
1846
1891
|
}[];
|
|
1847
1892
|
};
|
|
1893
|
+
declare const utils: {
|
|
1894
|
+
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Project, ProjectQuerySpec, ProjectQuery>;
|
|
1895
|
+
Filter: _wix_sdk_types.FilterFactory<Project, ProjectQuerySpec>;
|
|
1896
|
+
Sort: _wix_sdk_types.SortFactory<ProjectQuerySpec>;
|
|
1897
|
+
};
|
|
1848
1898
|
/**
|
|
1849
1899
|
* Deprecated - please use ProjectsInCollectionsService.UpdateProjectOrderInCollection instead
|
|
1850
1900
|
* our Client still use it
|
|
@@ -1889,4 +1939,4 @@ interface QueryProjectsWithCollectionInfoOptions {
|
|
|
1889
1939
|
includePageUrl?: boolean | null;
|
|
1890
1940
|
}
|
|
1891
1941
|
|
|
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 };
|
|
1942
|
+
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 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 };
|
|
@@ -38,7 +38,8 @@ __export(index_typings_exports, {
|
|
|
38
38
|
queryProjectsWithCollectionInfo: () => queryProjectsWithCollectionInfo2,
|
|
39
39
|
typedQueryProjects: () => typedQueryProjects,
|
|
40
40
|
updateProject: () => updateProject2,
|
|
41
|
-
updateProjectOrderInCollection: () => updateProjectOrderInCollection2
|
|
41
|
+
updateProjectOrderInCollection: () => updateProjectOrderInCollection2,
|
|
42
|
+
utils: () => utils
|
|
42
43
|
});
|
|
43
44
|
module.exports = __toCommonJS(index_typings_exports);
|
|
44
45
|
|
|
@@ -701,6 +702,7 @@ var import_video_v22 = require("@wix/sdk-runtime/transformations/video-v2");
|
|
|
701
702
|
var import_page_url_v2 = require("@wix/sdk-runtime/transformations/page-url-v2");
|
|
702
703
|
var import_page_url_v22 = require("@wix/sdk-runtime/transformations/page-url-v2");
|
|
703
704
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
705
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
704
706
|
var ImageType = /* @__PURE__ */ ((ImageType2) => {
|
|
705
707
|
ImageType2["UNDEFINED"] = "UNDEFINED";
|
|
706
708
|
ImageType2["WIX_MEDIA"] = "WIX_MEDIA";
|
|
@@ -776,6 +778,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
776
778
|
Namespace2["TWINS"] = "TWINS";
|
|
777
779
|
Namespace2["NANO"] = "NANO";
|
|
778
780
|
Namespace2["BASE44"] = "BASE44";
|
|
781
|
+
Namespace2["CHANNELS"] = "CHANNELS";
|
|
779
782
|
return Namespace2;
|
|
780
783
|
})(Namespace || {});
|
|
781
784
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
@@ -1180,6 +1183,9 @@ async function typedQueryProjects(query, options) {
|
|
|
1180
1183
|
throw transformedError;
|
|
1181
1184
|
}
|
|
1182
1185
|
}
|
|
1186
|
+
var utils = {
|
|
1187
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
1188
|
+
};
|
|
1183
1189
|
async function updateProjectOrderInCollection2(identifiers, sortOrder) {
|
|
1184
1190
|
const { httpClient, sideEffects } = arguments[2];
|
|
1185
1191
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1303,6 +1309,7 @@ async function queryProjectsWithCollectionInfo2(query, options) {
|
|
|
1303
1309
|
queryProjectsWithCollectionInfo,
|
|
1304
1310
|
typedQueryProjects,
|
|
1305
1311
|
updateProject,
|
|
1306
|
-
updateProjectOrderInCollection
|
|
1312
|
+
updateProjectOrderInCollection,
|
|
1313
|
+
utils
|
|
1307
1314
|
});
|
|
1308
1315
|
//# sourceMappingURL=index.typings.js.map
|