@wix/auto_sdk_containers_projects 1.0.14 → 1.0.15
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 +4 -4
- package/build/cjs/index.js +8 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +32 -4
- package/build/cjs/index.typings.js +8 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +23 -1
- package/build/cjs/meta.js +8 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs +7 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +32 -4
- package/build/es/index.typings.mjs +7 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +23 -1
- package/build/es/meta.mjs +7 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +7 -7
- package/build/internal/cjs/index.typings.d.ts +35 -7
- package/build/internal/cjs/meta.d.ts +23 -1
- package/build/internal/es/index.d.mts +7 -7
- package/build/internal/es/index.typings.d.mts +35 -7
- package/build/internal/es/meta.d.mts +23 -1
- package/package.json +2 -2
|
@@ -89,6 +89,12 @@ interface Project {
|
|
|
89
89
|
* @readonly
|
|
90
90
|
*/
|
|
91
91
|
headReleaseId?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Internal migration lifecycle. Absent for ordinary projects. Only dedicated migration
|
|
94
|
+
* operations may set this field; standard create and update requests cannot change it.
|
|
95
|
+
* @readonly
|
|
96
|
+
*/
|
|
97
|
+
oneAppMigration?: OneAppMigration;
|
|
92
98
|
}
|
|
93
99
|
/**
|
|
94
100
|
* Project status. The status changes in one direction only: `PLANNING`, then `PLAN_READY`, then
|
|
@@ -125,6 +131,22 @@ declare enum V1Platform {
|
|
|
125
131
|
}
|
|
126
132
|
/** @enumType */
|
|
127
133
|
type V1PlatformWithLiterals = V1Platform | 'IOS' | 'ANDROID' | 'HIMALAYA_MOBILE';
|
|
134
|
+
/** Tracks the exact draft offered to the site owner. */
|
|
135
|
+
interface OneAppMigration {
|
|
136
|
+
state?: OneAppMigrationStateWithLiterals;
|
|
137
|
+
/**
|
|
138
|
+
* Present in OFFERED and ACCEPTED; remains fixed after the offer.
|
|
139
|
+
* @maxLength 200
|
|
140
|
+
*/
|
|
141
|
+
offeredReleaseId?: string | null;
|
|
142
|
+
}
|
|
143
|
+
declare enum OneAppMigrationState {
|
|
144
|
+
DRAFT = "DRAFT",
|
|
145
|
+
OFFERED = "OFFERED",
|
|
146
|
+
ACCEPTED = "ACCEPTED"
|
|
147
|
+
}
|
|
148
|
+
/** @enumType */
|
|
149
|
+
type OneAppMigrationStateWithLiterals = OneAppMigrationState | 'DRAFT' | 'OFFERED' | 'ACCEPTED';
|
|
128
150
|
/** Details of a request to start a project's remote development environment. */
|
|
129
151
|
interface ProjectStartRequested {
|
|
130
152
|
/**
|
|
@@ -1515,7 +1537,7 @@ interface ClaimHimalayaAppResponse {
|
|
|
1515
1537
|
* @returns Retrieved project.
|
|
1516
1538
|
* @fqn wix.containers.projects.v1.ContainersProjects.GetProject
|
|
1517
1539
|
*/
|
|
1518
|
-
declare function getProject(projectId: string): Promise<NonNullablePaths<Project, `name` | `status` | `sandboxStatus` | `metaSiteIds` | `platform`,
|
|
1540
|
+
declare function getProject(projectId: string): Promise<NonNullablePaths<Project, `name` | `status` | `sandboxStatus` | `metaSiteIds` | `platform` | `oneAppMigration.state`, 1>>;
|
|
1519
1541
|
interface UpdateProject {
|
|
1520
1542
|
/**
|
|
1521
1543
|
* Project ID.
|
|
@@ -1600,6 +1622,12 @@ interface UpdateProject {
|
|
|
1600
1622
|
* @readonly
|
|
1601
1623
|
*/
|
|
1602
1624
|
headReleaseId?: string | null;
|
|
1625
|
+
/**
|
|
1626
|
+
* Internal migration lifecycle. Absent for ordinary projects. Only dedicated migration
|
|
1627
|
+
* operations may set this field; standard create and update requests cannot change it.
|
|
1628
|
+
* @readonly
|
|
1629
|
+
*/
|
|
1630
|
+
oneAppMigration?: OneAppMigration;
|
|
1603
1631
|
}
|
|
1604
1632
|
/**
|
|
1605
1633
|
* Resumes work on a project by starting its remote development environment, or by reusing an
|
|
@@ -1619,7 +1647,7 @@ interface UpdateProject {
|
|
|
1619
1647
|
* @applicableIdentity APP
|
|
1620
1648
|
* @fqn wix.containers.projects.v1.ContainersProjects.ResumeProject
|
|
1621
1649
|
*/
|
|
1622
|
-
declare function resumeProject(projectId: string): Promise<NonNullablePaths<ResumeProjectResponse, `project.name` | `project.status` | `project.sandboxStatus` | `project.metaSiteIds` | `project.platform`,
|
|
1650
|
+
declare function resumeProject(projectId: string): Promise<NonNullablePaths<ResumeProjectResponse, `project.name` | `project.status` | `project.sandboxStatus` | `project.metaSiteIds` | `project.platform` | `project.oneAppMigration.state`, 2>>;
|
|
1623
1651
|
/**
|
|
1624
1652
|
* Saves a project's design as a new draft release.
|
|
1625
1653
|
*
|
|
@@ -1709,7 +1737,7 @@ interface SaveProjectDesignOptions {
|
|
|
1709
1737
|
* @applicableIdentity APP
|
|
1710
1738
|
* @fqn wix.containers.projects.v1.ContainersProjects.RestoreRelease
|
|
1711
1739
|
*/
|
|
1712
|
-
declare function restoreRelease(projectId: string, releaseId: string, options?: RestoreReleaseOptions): Promise<NonNullablePaths<RestoreReleaseResponse, `project.name` | `project.status` | `project.sandboxStatus` | `project.metaSiteIds` | `project.platform`,
|
|
1740
|
+
declare function restoreRelease(projectId: string, releaseId: string, options?: RestoreReleaseOptions): Promise<NonNullablePaths<RestoreReleaseResponse, `project.name` | `project.status` | `project.sandboxStatus` | `project.metaSiteIds` | `project.platform` | `project.oneAppMigration.state`, 2>>;
|
|
1713
1741
|
interface RestoreReleaseOptions {
|
|
1714
1742
|
/**
|
|
1715
1743
|
* Short-lived control credential for the project's app releases.
|
|
@@ -1862,4 +1890,4 @@ interface GetLatestMobileBuildsOptions {
|
|
|
1862
1890
|
*/
|
|
1863
1891
|
declare function claimHimalayaApp(projectId: string): Promise<NonNullablePaths<ClaimHimalayaAppResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp`, 0>>;
|
|
1864
1892
|
|
|
1865
|
-
export { type AccountInfo, type ActionEvent, type AdditionalDataFilterMismatchType, type AdditionalDataFilterMissingKey, type AdditionalDataFilterMustHaveKey, type AdditionalDataMissingValue, type AdditionalFilterCantBeEmpty, AndroidFormat, type AndroidFormatWithLiterals, type BoListProjectsRequest, type BoListProjectsResponse, type BoSiteProjects, type ClaimHimalayaAppRequest, type ClaimHimalayaAppResponse, type ConductByScopeResponse, type ConductByScopesResponse, type ConductResponse, type ConductionException, type ConductionResult, type ConductionStatus, type ConductionStatusStatusOneOf, type CreateAgentSessionRequest, type CreateAgentSessionResponse, type CreateProjectRequest, type CreateProjectResponse, type CursorPaging, type CursorPagingMetadata, type Cursors, type DeleteProjectRequest, type DeleteProjectResponse, type DidNotFindEligibleFilter, type DomainEvent, type DomainEventBodyOneOf, type DynamicConfigConductionResult, type DynamicConfigStatus, type DynamicConfigStatusStatusOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailedMobileBuildPlatform, type FailedToFetchExperiment, type FailedToRunToss, FailureKind, type FailureKindWithLiterals, type FilterNotImplemented, type FilterNotSupported, type FilterOperandEmpty, type GeneralError, type GetAgentConfigRequest, type GetAgentConfigResponse, type GetAgentExperimentsRequest, type GetAgentExperimentsResponse, type GetHimalayaAuthorizationRequest, type GetHimalayaAuthorizationResponse, type GetLatestMobileBuildsOptions, type GetLatestMobileBuildsRequest, type GetLatestMobileBuildsResponse, type GetProjectRequest, type GetProjectResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidLibraryConfiguration, type IsEnabledFieldNotFound, type IsEnabledFieldNotOfTypeBoolean, type ListProjectsForCurrentUserRequest, type ListProjectsForCurrentUserResponse, type ListProjectsOptions, type ListProjectsRequest, type ListProjectsResponse, type MessageEnvelope, type MissingElementInContextForBiProfileError, type MissingExperimentId, type MissingFilterTarget, type MissingPlugins, type MissingSeed, type MissingSeedKeyType, type MissingSeedType, type MobileBuild, type NoResultForConduction, type NotImplemented, Platform, type PlatformMobileBuilds, type PlatformWithLiterals, type PopulationError, type Project, type ProjectPlanReady, type ProjectResumeRequested, type ProjectStartRequested, ProjectStatus, type ProjectStatusWithLiterals, type RefreshAgentSiteTokenRequest, type RefreshAgentSiteTokenResponse, type RegenerateProjectIconRequest, type RegenerateProjectIconResponse, type RegenerateProjectNameRequest, type RegenerateProjectNameResponse, type RestoreInfo, type RestoreReleaseOptions, type RestoreReleaseRequest, type RestoreReleaseResponse, type ResumeProjectRequest, type ResumeProjectResponse, SandboxStatus, type SandboxStatusWithLiterals, type SaveProjectDesignOptions, type SaveProjectDesignRequest, type SaveProjectDesignResponse, type StartMobileBuildOptions, type StartMobileBuildRequest, type StartMobileBuildResponse, type StartProjectRequest, type StartProjectResponse, Status, type StatusWithLiterals, type SuccessfulResult, type UpdateProject, type UpdateProjectRequest, type UpdateProjectResponse, type V1AdditionalDataFilterMismatchType, type V1AdditionalDataFilterMissingKey, type V1AdditionalDataFilterMustHaveKey, type V1AdditionalDataMissingValue, type V1AdditionalFilterCantBeEmpty, type V1ConductionException, type V1DidNotFindEligibleFilter, type V1FailedToFetchExperiment, type V1FailedToRunToss, type V1FilterNotImplemented, type V1FilterNotSupported, type V1FilterOperandEmpty, type V1GeneralError, type V1MissingElementInContextForBiProfileError, type V1MissingExperimentId, type V1MissingFilterTarget, type V1MissingPlugins, type V1MissingSeed, type V1MissingSeedKeyType, type V1MissingSeedType, type V1NoResultForConduction, V1Platform, type V1PlatformWithLiterals, type V1PopulationError, type V1SuccessfulResult, Variant, type VariantValue, type VariantValueValueOneOf, type VariantWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, claimHimalayaApp, getHimalayaAuthorization, getLatestMobileBuilds, getProject, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild };
|
|
1893
|
+
export { type AccountInfo, type ActionEvent, type AdditionalDataFilterMismatchType, type AdditionalDataFilterMissingKey, type AdditionalDataFilterMustHaveKey, type AdditionalDataMissingValue, type AdditionalFilterCantBeEmpty, AndroidFormat, type AndroidFormatWithLiterals, type BoListProjectsRequest, type BoListProjectsResponse, type BoSiteProjects, type ClaimHimalayaAppRequest, type ClaimHimalayaAppResponse, type ConductByScopeResponse, type ConductByScopesResponse, type ConductResponse, type ConductionException, type ConductionResult, type ConductionStatus, type ConductionStatusStatusOneOf, type CreateAgentSessionRequest, type CreateAgentSessionResponse, type CreateProjectRequest, type CreateProjectResponse, type CursorPaging, type CursorPagingMetadata, type Cursors, type DeleteProjectRequest, type DeleteProjectResponse, type DidNotFindEligibleFilter, type DomainEvent, type DomainEventBodyOneOf, type DynamicConfigConductionResult, type DynamicConfigStatus, type DynamicConfigStatusStatusOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailedMobileBuildPlatform, type FailedToFetchExperiment, type FailedToRunToss, FailureKind, type FailureKindWithLiterals, type FilterNotImplemented, type FilterNotSupported, type FilterOperandEmpty, type GeneralError, type GetAgentConfigRequest, type GetAgentConfigResponse, type GetAgentExperimentsRequest, type GetAgentExperimentsResponse, type GetHimalayaAuthorizationRequest, type GetHimalayaAuthorizationResponse, type GetLatestMobileBuildsOptions, type GetLatestMobileBuildsRequest, type GetLatestMobileBuildsResponse, type GetProjectRequest, type GetProjectResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidLibraryConfiguration, type IsEnabledFieldNotFound, type IsEnabledFieldNotOfTypeBoolean, type ListProjectsForCurrentUserRequest, type ListProjectsForCurrentUserResponse, type ListProjectsOptions, type ListProjectsRequest, type ListProjectsResponse, type MessageEnvelope, type MissingElementInContextForBiProfileError, type MissingExperimentId, type MissingFilterTarget, type MissingPlugins, type MissingSeed, type MissingSeedKeyType, type MissingSeedType, type MobileBuild, type NoResultForConduction, type NotImplemented, type OneAppMigration, OneAppMigrationState, type OneAppMigrationStateWithLiterals, Platform, type PlatformMobileBuilds, type PlatformWithLiterals, type PopulationError, type Project, type ProjectPlanReady, type ProjectResumeRequested, type ProjectStartRequested, ProjectStatus, type ProjectStatusWithLiterals, type RefreshAgentSiteTokenRequest, type RefreshAgentSiteTokenResponse, type RegenerateProjectIconRequest, type RegenerateProjectIconResponse, type RegenerateProjectNameRequest, type RegenerateProjectNameResponse, type RestoreInfo, type RestoreReleaseOptions, type RestoreReleaseRequest, type RestoreReleaseResponse, type ResumeProjectRequest, type ResumeProjectResponse, SandboxStatus, type SandboxStatusWithLiterals, type SaveProjectDesignOptions, type SaveProjectDesignRequest, type SaveProjectDesignResponse, type StartMobileBuildOptions, type StartMobileBuildRequest, type StartMobileBuildResponse, type StartProjectRequest, type StartProjectResponse, Status, type StatusWithLiterals, type SuccessfulResult, type UpdateProject, type UpdateProjectRequest, type UpdateProjectResponse, type V1AdditionalDataFilterMismatchType, type V1AdditionalDataFilterMissingKey, type V1AdditionalDataFilterMustHaveKey, type V1AdditionalDataMissingValue, type V1AdditionalFilterCantBeEmpty, type V1ConductionException, type V1DidNotFindEligibleFilter, type V1FailedToFetchExperiment, type V1FailedToRunToss, type V1FilterNotImplemented, type V1FilterNotSupported, type V1FilterOperandEmpty, type V1GeneralError, type V1MissingElementInContextForBiProfileError, type V1MissingExperimentId, type V1MissingFilterTarget, type V1MissingPlugins, type V1MissingSeed, type V1MissingSeedKeyType, type V1MissingSeedType, type V1NoResultForConduction, V1Platform, type V1PlatformWithLiterals, type V1PopulationError, type V1SuccessfulResult, Variant, type VariantValue, type VariantValueValueOneOf, type VariantWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, claimHimalayaApp, getHimalayaAuthorization, getLatestMobileBuilds, getProject, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild };
|
|
@@ -467,6 +467,12 @@ var V1Platform = /* @__PURE__ */ ((V1Platform2) => {
|
|
|
467
467
|
V1Platform2["HIMALAYA_MOBILE"] = "HIMALAYA_MOBILE";
|
|
468
468
|
return V1Platform2;
|
|
469
469
|
})(V1Platform || {});
|
|
470
|
+
var OneAppMigrationState = /* @__PURE__ */ ((OneAppMigrationState2) => {
|
|
471
|
+
OneAppMigrationState2["DRAFT"] = "DRAFT";
|
|
472
|
+
OneAppMigrationState2["OFFERED"] = "OFFERED";
|
|
473
|
+
OneAppMigrationState2["ACCEPTED"] = "ACCEPTED";
|
|
474
|
+
return OneAppMigrationState2;
|
|
475
|
+
})(OneAppMigrationState || {});
|
|
470
476
|
var Variant = /* @__PURE__ */ ((Variant2) => {
|
|
471
477
|
Variant2["VARIANT_UNSPECIFIED"] = "VARIANT_UNSPECIFIED";
|
|
472
478
|
Variant2["A"] = "A";
|
|
@@ -919,6 +925,7 @@ async function claimHimalayaApp2(projectId) {
|
|
|
919
925
|
export {
|
|
920
926
|
AndroidFormat,
|
|
921
927
|
FailureKind,
|
|
928
|
+
OneAppMigrationState,
|
|
922
929
|
Platform,
|
|
923
930
|
ProjectStatus,
|
|
924
931
|
SandboxStatus,
|