@wix/auto_sdk_portfolio_projects 1.0.53 → 1.0.54
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 +24 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +31 -3
- package/build/cjs/index.typings.js +24 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +26 -3
- package/build/cjs/meta.js +24 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +4 -0
- package/build/cjs/schemas.js +7 -1
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +24 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +31 -3
- package/build/es/index.typings.mjs +24 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +26 -3
- package/build/es/meta.mjs +24 -4
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +4 -0
- package/build/es/schemas.mjs +7 -1
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +24 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +31 -3
- package/build/internal/cjs/index.typings.js +24 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +26 -3
- package/build/internal/cjs/meta.js +24 -4
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +4 -0
- package/build/internal/cjs/schemas.js +7 -1
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +24 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +31 -3
- package/build/internal/es/index.typings.mjs +24 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +26 -3
- package/build/internal/es/meta.mjs +24 -4
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +4 -0
- package/build/internal/es/schemas.mjs +7 -1
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { Project, GetProjectOptions, ListProjectsOptions, ListProjectsResponse, UpdateProject, BulkUpdateProjectsOptions, BulkUpdateProjectsResponse, DeleteProjectResponse, UpdateProjectOrderInCollectionIdentifiers, UpdateProjectOrderInCollectionResponse, QueryV2, QueryProjectsWithCollectionInfoOptions, QueryProjectWithCollectionInfoResponse, ProjectCreatedEnvelope, ProjectDeletedEnvelope, ProjectUpdatedEnvelope, ProjectQuery, QueryProjectsOptions, typedQueryProjects, ProjectsQueryBuilder } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, App, ApplicationError, Asset, BaseEventMetadata, BulkActionMetadata, BulkUpdateProjectsRequest, BulkUpdateProjectsResult, CommonQueryWithEntityContext, CreateNewPortfolioAppRequest, CreateNewPortfolioAppResponse, CreateProjectRequest, CreateProjectResponse, CursorPaging, Cursors, CustomTag, DeleteContext, DeleteProjectRequest, DeleteStatus, DeleteStatusWithLiterals, DeletedProjectRestored, DetailsLink, DomainEvent, DomainEventBodyOneOf, EditorlessAssigned, EditorlessUnassigned, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, File, GetAdjacentProjectInfoRequest, GetAdjacentProjectInfoResponse, GetProjectPageDataRequest, GetProjectPageDataResponse, GetProjectRequest, GetProjectResponse, IdentificationData, IdentificationDataIdOneOf, Image, ImageType, ImageTypeWithLiterals, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, Keyword, ListProjectsRequest, MaskedProject, MenuSettingUpdatedEvent, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, Page, Pages, Paging, PagingMetadataV2, PicassoAssigned, PicassoUnassigned, Point, Position, PositionWithLiterals, ProjectCoverOneOf, ProjectDetail, ProjectDetailValueOneOf, ProjectInfo, ProjectQuerySpec, ProjectSlug, ProjectSource, ProjectsInCollections, ProjectsQueryResult, QueryProjectWithCollectionInfoRequest, QueryProjectsRequest, QueryProjectsResponse, QueryV2PagingMethodOneOf, RestoreInfo, RestoreProjectFromTrashBinRequest, RestoreProjectFromTrashBinResponse, SeoSchema, ServiceProvisioned, ServiceRemoved, Settings, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, SyncProjectWithCollectionMappings, SyncStatus, SyncStatusWithLiterals, Tag, URI, URIs, UnsharpMasking, UpdateProjectOrderInCollectionRequest, UpdateProjectRequest, UpdateProjectResponse, UserDomainMediaDisabled, UserDomainMediaEnabled, Video, VideoResolution, Watermark, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned, utils } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, App, ApplicationError, Asset, BaseEventMetadata, BulkActionMetadata, BulkUpdateProjectsRequest, BulkUpdateProjectsResult, CommonQueryWithEntityContext, CreateNewPortfolioAppRequest, CreateNewPortfolioAppResponse, CreateProjectRequest, CreateProjectResponse, CursorPaging, Cursors, CustomTag, DeleteContext, DeleteProjectRequest, DeleteStatus, DeleteStatusWithLiterals, DeletedProjectRestored, DetailsLink, DomainEvent, DomainEventBodyOneOf, EditorlessAssigned, EditorlessUnassigned, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, File, GetAdjacentProjectInfoRequest, GetAdjacentProjectInfoResponse, GetProjectPageDataRequest, GetProjectPageDataResponse, GetProjectRequest, GetProjectResponse, IdentificationData, IdentificationDataIdOneOf, Image, ImageType, ImageTypeWithLiterals, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, Keyword, ListProjectsRequest, MaskedProject, MenuSettingUpdatedEvent, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, Page, Pages, Paging, PagingMetadataV2, PicassoAssigned, PicassoUnassigned, Point, Position, PositionWithLiterals, ProjectCoverOneOf, ProjectDetail, ProjectDetailValueOneOf, ProjectInfo, ProjectQuerySpec, ProjectSlug, ProjectSource, ProjectsInCollections, ProjectsQueryResult, QueryProjectWithCollectionInfoRequest, QueryProjectsRequest, QueryProjectsResponse, QueryV2PagingMethodOneOf, RestoreInfo, RestoreProjectFromTrashBinRequest, RestoreProjectFromTrashBinResponse, SeoSchema, ServiceProvisioned, ServiceRemoved, Settings, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, SyncProjectWithCollectionMappings, SyncStatus, SyncStatusWithLiterals, Tag, URI, URIs, UnsharpMasking, UpdateProjectOrderInCollectionRequest, UpdateProjectRequest, UpdateProjectResponse, UserDomainMediaDisabled, UserDomainMediaEnabled, Video, VideoResolution, Watermark, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned, utils } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createProject$1(httpClient: HttpClient): CreateProjectSignature;
|
|
6
6
|
interface CreateProjectSignature {
|
|
@@ -473,6 +473,15 @@ function deleteProject(payload) {
|
|
|
473
473
|
}
|
|
474
474
|
function queryProjects(payload) {
|
|
475
475
|
function __queryProjects({ host }) {
|
|
476
|
+
const serializedData = transformPaths(payload, [
|
|
477
|
+
{
|
|
478
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
479
|
+
paths: [
|
|
480
|
+
{ path: "query.sort.origin.latitude" },
|
|
481
|
+
{ path: "query.sort.origin.longitude" }
|
|
482
|
+
]
|
|
483
|
+
}
|
|
484
|
+
]);
|
|
476
485
|
const metadata = {
|
|
477
486
|
entityFqdn: "wix.portfolio.projects.v1.project",
|
|
478
487
|
method: "POST",
|
|
@@ -483,10 +492,10 @@ function queryProjects(payload) {
|
|
|
483
492
|
},
|
|
484
493
|
url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
|
|
485
494
|
protoPath: "/api/v1/portfolio/projects/query",
|
|
486
|
-
data:
|
|
495
|
+
data: serializedData,
|
|
487
496
|
host
|
|
488
497
|
}),
|
|
489
|
-
data:
|
|
498
|
+
data: serializedData,
|
|
490
499
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
491
500
|
{
|
|
492
501
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
@@ -609,6 +618,15 @@ function updateProjectOrderInCollection(payload) {
|
|
|
609
618
|
}
|
|
610
619
|
function queryProjectsWithCollectionInfo(payload) {
|
|
611
620
|
function __queryProjectsWithCollectionInfo({ host }) {
|
|
621
|
+
const serializedData = transformPaths(payload, [
|
|
622
|
+
{
|
|
623
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
624
|
+
paths: [
|
|
625
|
+
{ path: "query.sort.origin.latitude" },
|
|
626
|
+
{ path: "query.sort.origin.longitude" }
|
|
627
|
+
]
|
|
628
|
+
}
|
|
629
|
+
]);
|
|
612
630
|
const metadata = {
|
|
613
631
|
entityFqdn: "wix.portfolio.projects.v1.project",
|
|
614
632
|
method: "POST",
|
|
@@ -619,10 +637,10 @@ function queryProjectsWithCollectionInfo(payload) {
|
|
|
619
637
|
},
|
|
620
638
|
url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
|
|
621
639
|
protoPath: "/api/1/portfolio/projects/collections/query",
|
|
622
|
-
data:
|
|
640
|
+
data: serializedData,
|
|
623
641
|
host
|
|
624
642
|
}),
|
|
625
|
-
data:
|
|
643
|
+
data: serializedData,
|
|
626
644
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
627
645
|
{
|
|
628
646
|
transformFn: transformRESTFloatToSDKFloat,
|
|
@@ -750,6 +768,8 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
750
768
|
Namespace2["NAUTILUS"] = "NAUTILUS";
|
|
751
769
|
Namespace2["SYMPHONY"] = "SYMPHONY";
|
|
752
770
|
Namespace2["NAUTILUS_APPS"] = "NAUTILUS_APPS";
|
|
771
|
+
Namespace2["VIBU"] = "VIBU";
|
|
772
|
+
Namespace2["ENTERPRISE_BRAND_KIT"] = "ENTERPRISE_BRAND_KIT";
|
|
753
773
|
return Namespace2;
|
|
754
774
|
})(Namespace || {});
|
|
755
775
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|