@wix/auto_sdk_containers_projects 1.0.13 → 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 +61 -4
- package/build/cjs/index.typings.js +8 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +52 -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 +61 -4
- package/build/es/index.typings.mjs +7 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +52 -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 +64 -7
- package/build/internal/cjs/meta.d.ts +52 -1
- package/build/internal/es/index.d.mts +7 -7
- package/build/internal/es/index.typings.d.mts +64 -7
- package/build/internal/es/meta.d.mts +52 -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
|
/**
|
|
@@ -1198,6 +1220,35 @@ interface ListProjectsResponse {
|
|
|
1198
1220
|
/** Paging metadata. */
|
|
1199
1221
|
pagingMetadata?: CursorPagingMetadata;
|
|
1200
1222
|
}
|
|
1223
|
+
interface BoListProjectsRequest {
|
|
1224
|
+
/**
|
|
1225
|
+
* IDs of the sites whose projects to retrieve. Each ID may appear once.
|
|
1226
|
+
* @minSize 1
|
|
1227
|
+
* @maxSize 100
|
|
1228
|
+
* @format GUID
|
|
1229
|
+
*/
|
|
1230
|
+
metaSiteIds?: string[];
|
|
1231
|
+
}
|
|
1232
|
+
interface BoListProjectsResponse {
|
|
1233
|
+
/**
|
|
1234
|
+
* Projects of each requested site, in request order.
|
|
1235
|
+
* @maxSize 100
|
|
1236
|
+
*/
|
|
1237
|
+
sites?: BoSiteProjects[];
|
|
1238
|
+
}
|
|
1239
|
+
/** Projects of one site. */
|
|
1240
|
+
interface BoSiteProjects {
|
|
1241
|
+
/**
|
|
1242
|
+
* ID of the site.
|
|
1243
|
+
* @format GUID
|
|
1244
|
+
*/
|
|
1245
|
+
metaSiteId?: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* Projects of the site. Empty when the site has none. At most 1,000 are returned for a site.
|
|
1248
|
+
* @maxSize 1000
|
|
1249
|
+
*/
|
|
1250
|
+
projects?: Project[];
|
|
1251
|
+
}
|
|
1201
1252
|
interface GetHimalayaAuthorizationRequest {
|
|
1202
1253
|
/**
|
|
1203
1254
|
* ID of the project to check.
|
|
@@ -1486,7 +1537,7 @@ interface ClaimHimalayaAppResponse {
|
|
|
1486
1537
|
* @returns Retrieved project.
|
|
1487
1538
|
* @fqn wix.containers.projects.v1.ContainersProjects.GetProject
|
|
1488
1539
|
*/
|
|
1489
|
-
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>>;
|
|
1490
1541
|
interface UpdateProject {
|
|
1491
1542
|
/**
|
|
1492
1543
|
* Project ID.
|
|
@@ -1571,6 +1622,12 @@ interface UpdateProject {
|
|
|
1571
1622
|
* @readonly
|
|
1572
1623
|
*/
|
|
1573
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;
|
|
1574
1631
|
}
|
|
1575
1632
|
/**
|
|
1576
1633
|
* Resumes work on a project by starting its remote development environment, or by reusing an
|
|
@@ -1590,7 +1647,7 @@ interface UpdateProject {
|
|
|
1590
1647
|
* @applicableIdentity APP
|
|
1591
1648
|
* @fqn wix.containers.projects.v1.ContainersProjects.ResumeProject
|
|
1592
1649
|
*/
|
|
1593
|
-
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>>;
|
|
1594
1651
|
/**
|
|
1595
1652
|
* Saves a project's design as a new draft release.
|
|
1596
1653
|
*
|
|
@@ -1680,7 +1737,7 @@ interface SaveProjectDesignOptions {
|
|
|
1680
1737
|
* @applicableIdentity APP
|
|
1681
1738
|
* @fqn wix.containers.projects.v1.ContainersProjects.RestoreRelease
|
|
1682
1739
|
*/
|
|
1683
|
-
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>>;
|
|
1684
1741
|
interface RestoreReleaseOptions {
|
|
1685
1742
|
/**
|
|
1686
1743
|
* Short-lived control credential for the project's app releases.
|
|
@@ -1833,4 +1890,4 @@ interface GetLatestMobileBuildsOptions {
|
|
|
1833
1890
|
*/
|
|
1834
1891
|
declare function claimHimalayaApp(projectId: string): Promise<NonNullablePaths<ClaimHimalayaAppResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp`, 0>>;
|
|
1835
1892
|
|
|
1836
|
-
export { type AccountInfo, type ActionEvent, type AdditionalDataFilterMismatchType, type AdditionalDataFilterMissingKey, type AdditionalDataFilterMustHaveKey, type AdditionalDataMissingValue, type AdditionalFilterCantBeEmpty, AndroidFormat, type AndroidFormatWithLiterals, 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 };
|
|
@@ -22,6 +22,7 @@ var index_typings_exports = {};
|
|
|
22
22
|
__export(index_typings_exports, {
|
|
23
23
|
AndroidFormat: () => AndroidFormat,
|
|
24
24
|
FailureKind: () => FailureKind,
|
|
25
|
+
OneAppMigrationState: () => OneAppMigrationState,
|
|
25
26
|
Platform: () => Platform,
|
|
26
27
|
ProjectStatus: () => ProjectStatus,
|
|
27
28
|
SandboxStatus: () => SandboxStatus,
|
|
@@ -512,6 +513,12 @@ var V1Platform = /* @__PURE__ */ ((V1Platform2) => {
|
|
|
512
513
|
V1Platform2["HIMALAYA_MOBILE"] = "HIMALAYA_MOBILE";
|
|
513
514
|
return V1Platform2;
|
|
514
515
|
})(V1Platform || {});
|
|
516
|
+
var OneAppMigrationState = /* @__PURE__ */ ((OneAppMigrationState2) => {
|
|
517
|
+
OneAppMigrationState2["DRAFT"] = "DRAFT";
|
|
518
|
+
OneAppMigrationState2["OFFERED"] = "OFFERED";
|
|
519
|
+
OneAppMigrationState2["ACCEPTED"] = "ACCEPTED";
|
|
520
|
+
return OneAppMigrationState2;
|
|
521
|
+
})(OneAppMigrationState || {});
|
|
515
522
|
var Variant = /* @__PURE__ */ ((Variant2) => {
|
|
516
523
|
Variant2["VARIANT_UNSPECIFIED"] = "VARIANT_UNSPECIFIED";
|
|
517
524
|
Variant2["A"] = "A";
|
|
@@ -965,6 +972,7 @@ async function claimHimalayaApp2(projectId) {
|
|
|
965
972
|
0 && (module.exports = {
|
|
966
973
|
AndroidFormat,
|
|
967
974
|
FailureKind,
|
|
975
|
+
OneAppMigrationState,
|
|
968
976
|
Platform,
|
|
969
977
|
ProjectStatus,
|
|
970
978
|
SandboxStatus,
|