@wix/auto_sdk_portfolio_projects 1.0.52 → 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 +25 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +35 -5
- package/build/cjs/index.typings.js +25 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +29 -4
- package/build/cjs/meta.js +25 -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 +25 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +35 -5
- package/build/es/index.typings.mjs +25 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +29 -4
- package/build/es/meta.mjs +25 -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 +25 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +35 -5
- package/build/internal/cjs/index.typings.js +25 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +29 -4
- package/build/internal/cjs/meta.js +25 -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 +25 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +35 -5
- package/build/internal/es/index.typings.mjs +25 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +29 -4
- package/build/internal/es/meta.mjs +25 -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
|
@@ -645,10 +645,24 @@ declare enum Namespace {
|
|
|
645
645
|
* Symphony — a siteless site representing a project within Symphony (the evolution of Orion).
|
|
646
646
|
* Holds project data, conversations, assets, and manages collaborators / shared team members for the project.
|
|
647
647
|
*/
|
|
648
|
-
SYMPHONY = "SYMPHONY"
|
|
648
|
+
SYMPHONY = "SYMPHONY",
|
|
649
|
+
/** Nautilus platform app. */
|
|
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"
|
|
649
663
|
}
|
|
650
664
|
/** @enumType */
|
|
651
|
-
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';
|
|
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';
|
|
652
666
|
/** Site transferred to another user. */
|
|
653
667
|
interface SiteTransferred {
|
|
654
668
|
/**
|
|
@@ -1330,6 +1344,11 @@ interface Sorting {
|
|
|
1330
1344
|
fieldName?: string;
|
|
1331
1345
|
/** Sort order. */
|
|
1332
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;
|
|
1333
1352
|
}
|
|
1334
1353
|
declare enum SortOrder {
|
|
1335
1354
|
ASC = "ASC",
|
|
@@ -1337,6 +1356,12 @@ declare enum SortOrder {
|
|
|
1337
1356
|
}
|
|
1338
1357
|
/** @enumType */
|
|
1339
1358
|
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
1359
|
+
interface AddressLocation {
|
|
1360
|
+
/** Address latitude. */
|
|
1361
|
+
latitude?: number | null;
|
|
1362
|
+
/** Address longitude. */
|
|
1363
|
+
longitude?: number | null;
|
|
1364
|
+
}
|
|
1340
1365
|
interface Paging {
|
|
1341
1366
|
/** Number of items to load. */
|
|
1342
1367
|
limit?: number | null;
|
|
@@ -1440,7 +1465,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
1440
1465
|
/** If present, indicates the action that triggered the event. */
|
|
1441
1466
|
originatedFrom?: string | null;
|
|
1442
1467
|
/**
|
|
1443
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01
|
|
1468
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
|
|
1444
1469
|
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
1445
1470
|
*/
|
|
1446
1471
|
entityEventSequence?: string | null;
|
|
@@ -1541,7 +1566,7 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
1541
1566
|
/** If present, indicates the action that triggered the event. */
|
|
1542
1567
|
originatedFrom?: string | null;
|
|
1543
1568
|
/**
|
|
1544
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01
|
|
1569
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
|
|
1545
1570
|
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
1546
1571
|
*/
|
|
1547
1572
|
entityEventSequence?: string | null;
|
|
@@ -1909,6 +1934,11 @@ type ProjectQuery = {
|
|
|
1909
1934
|
Sort order.
|
|
1910
1935
|
*/
|
|
1911
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'];
|
|
1912
1942
|
}[];
|
|
1913
1943
|
};
|
|
1914
1944
|
declare const utils: {
|
|
@@ -1962,4 +1992,4 @@ interface QueryProjectsWithCollectionInfoOptions {
|
|
|
1962
1992
|
includePageUrl?: boolean | null;
|
|
1963
1993
|
}
|
|
1964
1994
|
|
|
1965
|
-
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,
|
|
@@ -739,6 +757,9 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
739
757
|
Namespace2["CHANNELS"] = "CHANNELS";
|
|
740
758
|
Namespace2["NAUTILUS"] = "NAUTILUS";
|
|
741
759
|
Namespace2["SYMPHONY"] = "SYMPHONY";
|
|
760
|
+
Namespace2["NAUTILUS_APPS"] = "NAUTILUS_APPS";
|
|
761
|
+
Namespace2["VIBU"] = "VIBU";
|
|
762
|
+
Namespace2["ENTERPRISE_BRAND_KIT"] = "ENTERPRISE_BRAND_KIT";
|
|
742
763
|
return Namespace2;
|
|
743
764
|
})(Namespace || {});
|
|
744
765
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|