@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
|
@@ -647,10 +647,22 @@ declare enum Namespace {
|
|
|
647
647
|
*/
|
|
648
648
|
SYMPHONY = "SYMPHONY",
|
|
649
649
|
/** Nautilus platform app. */
|
|
650
|
-
NAUTILUS_APPS = "NAUTILUS_APPS"
|
|
650
|
+
NAUTILUS_APPS = "NAUTILUS_APPS",
|
|
651
|
+
/**
|
|
652
|
+
* Vibu — a siteless site representing a project built with Vibu (the AI app builder).
|
|
653
|
+
* Holds the project's generated code, conversations, assets, and manages collaborators for the project.
|
|
654
|
+
*/
|
|
655
|
+
VIBU = "VIBU",
|
|
656
|
+
/**
|
|
657
|
+
* Ghost site for the BrandKit multi-site platform. Each ghost backs a single BrandKit
|
|
658
|
+
* (an Enterprise account may have several), holding that BrandKit's brand definition
|
|
659
|
+
* (theme, typography, assets) which is rolled out to the BrandKit's connected sites.
|
|
660
|
+
* MetaSites with this namespace will *not* be shown in a user's site list by default.
|
|
661
|
+
*/
|
|
662
|
+
ENTERPRISE_BRAND_KIT = "ENTERPRISE_BRAND_KIT"
|
|
651
663
|
}
|
|
652
664
|
/** @enumType */
|
|
653
|
-
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' | 'NAUTILUS' | 'SYMPHONY' | 'NAUTILUS_APPS';
|
|
665
|
+
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' | 'NAUTILUS' | 'SYMPHONY' | 'NAUTILUS_APPS' | 'VIBU' | 'ENTERPRISE_BRAND_KIT';
|
|
654
666
|
/** Site transferred to another user. */
|
|
655
667
|
interface SiteTransferred {
|
|
656
668
|
/**
|
|
@@ -1332,6 +1344,11 @@ interface Sorting {
|
|
|
1332
1344
|
fieldName?: string;
|
|
1333
1345
|
/** Sort order. */
|
|
1334
1346
|
order?: SortOrderWithLiterals;
|
|
1347
|
+
/**
|
|
1348
|
+
* Origin point for geo-distance sorting on a GEO field
|
|
1349
|
+
* results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
|
|
1350
|
+
*/
|
|
1351
|
+
origin?: AddressLocation;
|
|
1335
1352
|
}
|
|
1336
1353
|
declare enum SortOrder {
|
|
1337
1354
|
ASC = "ASC",
|
|
@@ -1339,6 +1356,12 @@ declare enum SortOrder {
|
|
|
1339
1356
|
}
|
|
1340
1357
|
/** @enumType */
|
|
1341
1358
|
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
1359
|
+
interface AddressLocation {
|
|
1360
|
+
/** Address latitude. */
|
|
1361
|
+
latitude?: number | null;
|
|
1362
|
+
/** Address longitude. */
|
|
1363
|
+
longitude?: number | null;
|
|
1364
|
+
}
|
|
1342
1365
|
interface Paging {
|
|
1343
1366
|
/** Number of items to load. */
|
|
1344
1367
|
limit?: number | null;
|
|
@@ -1911,6 +1934,11 @@ type ProjectQuery = {
|
|
|
1911
1934
|
Sort order.
|
|
1912
1935
|
*/
|
|
1913
1936
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
1937
|
+
/**
|
|
1938
|
+
Origin point for geo-distance sorting on a GEO field
|
|
1939
|
+
results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
|
|
1940
|
+
*/
|
|
1941
|
+
origin?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['origin'];
|
|
1914
1942
|
}[];
|
|
1915
1943
|
};
|
|
1916
1944
|
declare const utils: {
|
|
@@ -1964,4 +1992,4 @@ interface QueryProjectsWithCollectionInfoOptions {
|
|
|
1964
1992
|
includePageUrl?: boolean | null;
|
|
1965
1993
|
}
|
|
1966
1994
|
|
|
1967
|
-
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 };
|
|
1995
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddressLocation, 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 };
|
|
@@ -463,6 +463,15 @@ function deleteProject(payload) {
|
|
|
463
463
|
}
|
|
464
464
|
function queryProjects(payload) {
|
|
465
465
|
function __queryProjects({ host }) {
|
|
466
|
+
const serializedData = transformPaths(payload, [
|
|
467
|
+
{
|
|
468
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
469
|
+
paths: [
|
|
470
|
+
{ path: "query.sort.origin.latitude" },
|
|
471
|
+
{ path: "query.sort.origin.longitude" }
|
|
472
|
+
]
|
|
473
|
+
}
|
|
474
|
+
]);
|
|
466
475
|
const metadata = {
|
|
467
476
|
entityFqdn: "wix.portfolio.projects.v1.project",
|
|
468
477
|
method: "POST",
|
|
@@ -473,10 +482,10 @@ function queryProjects(payload) {
|
|
|
473
482
|
},
|
|
474
483
|
url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
|
|
475
484
|
protoPath: "/api/v1/portfolio/projects/query",
|
|
476
|
-
data:
|
|
485
|
+
data: serializedData,
|
|
477
486
|
host
|
|
478
487
|
}),
|
|
479
|
-
data:
|
|
488
|
+
data: serializedData,
|
|
480
489
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
481
490
|
{
|
|
482
491
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
@@ -599,6 +608,15 @@ function updateProjectOrderInCollection(payload) {
|
|
|
599
608
|
}
|
|
600
609
|
function queryProjectsWithCollectionInfo(payload) {
|
|
601
610
|
function __queryProjectsWithCollectionInfo({ host }) {
|
|
611
|
+
const serializedData = transformPaths(payload, [
|
|
612
|
+
{
|
|
613
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
614
|
+
paths: [
|
|
615
|
+
{ path: "query.sort.origin.latitude" },
|
|
616
|
+
{ path: "query.sort.origin.longitude" }
|
|
617
|
+
]
|
|
618
|
+
}
|
|
619
|
+
]);
|
|
602
620
|
const metadata = {
|
|
603
621
|
entityFqdn: "wix.portfolio.projects.v1.project",
|
|
604
622
|
method: "POST",
|
|
@@ -609,10 +627,10 @@ function queryProjectsWithCollectionInfo(payload) {
|
|
|
609
627
|
},
|
|
610
628
|
url: resolveComWixpressPortfolioProjectsProjectsServiceUrl({
|
|
611
629
|
protoPath: "/api/1/portfolio/projects/collections/query",
|
|
612
|
-
data:
|
|
630
|
+
data: serializedData,
|
|
613
631
|
host
|
|
614
632
|
}),
|
|
615
|
-
data:
|
|
633
|
+
data: serializedData,
|
|
616
634
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
617
635
|
{
|
|
618
636
|
transformFn: transformRESTFloatToSDKFloat,
|
|
@@ -740,6 +758,8 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
740
758
|
Namespace2["NAUTILUS"] = "NAUTILUS";
|
|
741
759
|
Namespace2["SYMPHONY"] = "SYMPHONY";
|
|
742
760
|
Namespace2["NAUTILUS_APPS"] = "NAUTILUS_APPS";
|
|
761
|
+
Namespace2["VIBU"] = "VIBU";
|
|
762
|
+
Namespace2["ENTERPRISE_BRAND_KIT"] = "ENTERPRISE_BRAND_KIT";
|
|
743
763
|
return Namespace2;
|
|
744
764
|
})(Namespace || {});
|
|
745
765
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|