@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +11 -2
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +69 -3
  5. package/build/cjs/index.typings.js +11 -2
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +61 -3
  8. package/build/cjs/meta.js +1 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +9 -1
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +69 -3
  14. package/build/es/index.typings.mjs +9 -1
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +61 -3
  17. package/build/es/meta.mjs +1 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +11 -2
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +69 -3
  23. package/build/internal/cjs/index.typings.js +11 -2
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +61 -3
  26. package/build/internal/cjs/meta.js +1 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +9 -1
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +69 -3
  32. package/build/internal/es/index.typings.mjs +9 -1
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +61 -3
  35. package/build/internal/es/meta.mjs +1 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. 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 };
@@ -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,11 @@ async function typedQueryProjects(query, options) {
1180
1183
  throw transformedError;
1181
1184
  }
1182
1185
  }
1186
+ var utils = {
1187
+ query: {
1188
+ ...(0, import_query_builder_utils.createQueryUtils)()
1189
+ }
1190
+ };
1183
1191
  async function updateProjectOrderInCollection2(identifiers, sortOrder) {
1184
1192
  const { httpClient, sideEffects } = arguments[2];
1185
1193
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
@@ -1303,6 +1311,7 @@ async function queryProjectsWithCollectionInfo2(query, options) {
1303
1311
  queryProjectsWithCollectionInfo,
1304
1312
  typedQueryProjects,
1305
1313
  updateProject,
1306
- updateProjectOrderInCollection
1314
+ updateProjectOrderInCollection,
1315
+ utils
1307
1316
  });
1308
1317
  //# sourceMappingURL=index.typings.js.map