@wix/auto_sdk_containers_projects 1.0.15 → 1.0.16

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.
@@ -139,6 +139,30 @@ interface OneAppMigration {
139
139
  * @maxLength 200
140
140
  */
141
141
  offeredReleaseId?: string | null;
142
+ /** @format GUID */
143
+ sourceMetaSiteId?: string;
144
+ /** @format GUID */
145
+ activeJobId?: string | null;
146
+ /** @maxLength 200 */
147
+ activeBaseReleaseId?: string | null;
148
+ offerReserved?: boolean;
149
+ /** Includes the expiry of already-issued worker keys, Himi control-token lifetime and clock skew. */
150
+ workerWriteDrainUntil?: Date | null;
151
+ /** @maxLength 50 */
152
+ activeJobType?: string;
153
+ /** @format GUID */
154
+ activeRequestId?: string | null;
155
+ /**
156
+ * SHA-256 of the trusted operation, site, instructions and retry reference. No prompt is kept here.
157
+ * @maxLength 64
158
+ */
159
+ activeRequestFingerprint?: string;
160
+ /** @format GUID */
161
+ activeRetryOfJobId?: string | null;
162
+ /** @maxLength 200 */
163
+ verifiedReleaseId?: string | null;
164
+ /** @maxLength 64 */
165
+ activeDeveloperEmailSha256?: string;
142
166
  }
143
167
  declare enum OneAppMigrationState {
144
168
  DRAFT = "DRAFT",
@@ -177,6 +201,25 @@ interface ProjectPlanReady {
177
201
  */
178
202
  conversationId?: string;
179
203
  }
204
+ interface AuthorizeOneAppMigrationWorkerRequest {
205
+ /** @format GUID */
206
+ projectId?: string;
207
+ /** @format GUID */
208
+ jobId?: string;
209
+ }
210
+ interface AuthorizeOneAppMigrationWorkerResponse {
211
+ /** @maxLength 4096 */
212
+ accessToken?: string;
213
+ expiresIn?: string;
214
+ /** @maxLength 200 */
215
+ canonicalApp?: string;
216
+ /** @maxLength 200 */
217
+ baseReleaseId?: string | null;
218
+ /** @format GUID */
219
+ sourceMetaSiteId?: string;
220
+ /** @format GUID */
221
+ destinationMetaSiteId?: string;
222
+ }
180
223
  interface GetAgentExperimentsRequest {
181
224
  /**
182
225
  * Project in the authenticated caller's SITE tenant.
@@ -972,6 +1015,107 @@ interface AccountInfo {
972
1015
  */
973
1016
  siteId?: string | null;
974
1017
  }
1018
+ interface AuthorizeOneAppMigrationTeamReadRequest {
1019
+ /** @format GUID */
1020
+ projectId?: string;
1021
+ /** @format GUID */
1022
+ sourceMetaSiteId?: string;
1023
+ }
1024
+ interface AuthorizeOneAppMigrationTeamReadResponse {
1025
+ }
1026
+ interface ValidateOneAppMigrationJobRequest {
1027
+ /** @format GUID */
1028
+ projectId?: string;
1029
+ /** @format GUID */
1030
+ jobId?: string;
1031
+ /** @format GUID */
1032
+ requestId?: string;
1033
+ /** @maxLength 50 */
1034
+ jobType?: string;
1035
+ /** @maxLength 64 */
1036
+ promptSha256?: string;
1037
+ /** @format GUID */
1038
+ sourceMetaSiteId?: string;
1039
+ /** @format GUID */
1040
+ destinationMetaSiteId?: string;
1041
+ /** @format GUID */
1042
+ customerOwnerUserId?: string;
1043
+ /** @maxLength 200 */
1044
+ canonicalApp?: string;
1045
+ /** @maxLength 200 */
1046
+ baseReleaseId?: string | null;
1047
+ /** @format GUID */
1048
+ retryOfJobId?: string | null;
1049
+ /** @maxLength 200 */
1050
+ expectedHeadReleaseId?: string | null;
1051
+ /** @maxLength 320 */
1052
+ developerEmail?: string;
1053
+ }
1054
+ interface ValidateOneAppMigrationJobResponse {
1055
+ }
1056
+ interface StartOneAppMigrationRequest {
1057
+ /** @format GUID */
1058
+ sourceMetaSiteId?: string;
1059
+ /** @format GUID */
1060
+ requestId?: string;
1061
+ /** @maxLength 20000 */
1062
+ instructions?: string;
1063
+ /** @format GUID */
1064
+ retryOfJobId?: string | null;
1065
+ }
1066
+ interface StartOneAppMigrationResponse {
1067
+ /** @format GUID */
1068
+ projectId?: string;
1069
+ /** @format GUID */
1070
+ jobId?: string;
1071
+ }
1072
+ interface EditOneAppMigrationRequest {
1073
+ /** @format GUID */
1074
+ projectId?: string;
1075
+ /** @format GUID */
1076
+ requestId?: string;
1077
+ /**
1078
+ * @minLength 1
1079
+ * @maxLength 20000
1080
+ */
1081
+ instructions?: string;
1082
+ }
1083
+ interface EditOneAppMigrationResponse {
1084
+ /** @format GUID */
1085
+ projectId?: string;
1086
+ /** @format GUID */
1087
+ jobId?: string;
1088
+ }
1089
+ interface FinalizeOneAppMigrationRequest {
1090
+ /** @format GUID */
1091
+ projectId?: string;
1092
+ /** @format GUID */
1093
+ jobId?: string;
1094
+ /** @maxLength 200 */
1095
+ releaseId?: string;
1096
+ /** @maxLength 4096 */
1097
+ himalayaControlToken?: string;
1098
+ }
1099
+ interface FinalizeOneAppMigrationResponse {
1100
+ /** @format GUID */
1101
+ projectId?: string;
1102
+ /** @format GUID */
1103
+ jobId?: string;
1104
+ /** @maxLength 200 */
1105
+ headReleaseId?: string;
1106
+ }
1107
+ interface ReserveOneAppMigrationOfferRequest {
1108
+ /** @format GUID */
1109
+ projectId?: string;
1110
+ }
1111
+ interface ReserveOneAppMigrationOfferResponse {
1112
+ /** @format GUID */
1113
+ projectId?: string;
1114
+ /** @maxLength 200 */
1115
+ releaseId?: string;
1116
+ /** Offer must not become visible before this time; old worker keys may write until then. */
1117
+ notBefore?: Date | null;
1118
+ }
975
1119
  interface CreateProjectRequest {
976
1120
  /** Project to create. */
977
1121
  project: Project;
@@ -1537,7 +1681,7 @@ interface ClaimHimalayaAppResponse {
1537
1681
  * @returns Retrieved project.
1538
1682
  * @fqn wix.containers.projects.v1.ContainersProjects.GetProject
1539
1683
  */
1540
- declare function getProject(projectId: string): Promise<NonNullablePaths<Project, `name` | `status` | `sandboxStatus` | `metaSiteIds` | `platform` | `oneAppMigration.state`, 1>>;
1684
+ declare function getProject(projectId: string): Promise<NonNullablePaths<Project, `name` | `status` | `sandboxStatus` | `metaSiteIds` | `platform` | `oneAppMigration.state` | `oneAppMigration.sourceMetaSiteId` | `oneAppMigration.offerReserved` | `oneAppMigration.activeJobType` | `oneAppMigration.activeRequestFingerprint` | `oneAppMigration.activeDeveloperEmailSha256`, 1>>;
1541
1685
  interface UpdateProject {
1542
1686
  /**
1543
1687
  * Project ID.
@@ -1647,7 +1791,7 @@ interface UpdateProject {
1647
1791
  * @applicableIdentity APP
1648
1792
  * @fqn wix.containers.projects.v1.ContainersProjects.ResumeProject
1649
1793
  */
1650
- declare function resumeProject(projectId: string): Promise<NonNullablePaths<ResumeProjectResponse, `project.name` | `project.status` | `project.sandboxStatus` | `project.metaSiteIds` | `project.platform` | `project.oneAppMigration.state`, 2>>;
1794
+ declare function resumeProject(projectId: string): Promise<NonNullablePaths<ResumeProjectResponse, `project.name` | `project.status` | `project.sandboxStatus` | `project.metaSiteIds` | `project.platform` | `project.oneAppMigration.state` | `project.oneAppMigration.sourceMetaSiteId` | `project.oneAppMigration.offerReserved` | `project.oneAppMigration.activeJobType` | `project.oneAppMigration.activeRequestFingerprint` | `project.oneAppMigration.activeDeveloperEmailSha256`, 2>>;
1651
1795
  /**
1652
1796
  * Saves a project's design as a new draft release.
1653
1797
  *
@@ -1737,7 +1881,7 @@ interface SaveProjectDesignOptions {
1737
1881
  * @applicableIdentity APP
1738
1882
  * @fqn wix.containers.projects.v1.ContainersProjects.RestoreRelease
1739
1883
  */
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>>;
1884
+ 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` | `project.oneAppMigration.sourceMetaSiteId` | `project.oneAppMigration.offerReserved` | `project.oneAppMigration.activeJobType` | `project.oneAppMigration.activeRequestFingerprint` | `project.oneAppMigration.activeDeveloperEmailSha256`, 2>>;
1741
1885
  interface RestoreReleaseOptions {
1742
1886
  /**
1743
1887
  * Short-lived control credential for the project's app releases.
@@ -1890,4 +2034,4 @@ interface GetLatestMobileBuildsOptions {
1890
2034
  */
1891
2035
  declare function claimHimalayaApp(projectId: string): Promise<NonNullablePaths<ClaimHimalayaAppResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp`, 0>>;
1892
2036
 
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 };
2037
+ export { type AccountInfo, type ActionEvent, type AdditionalDataFilterMismatchType, type AdditionalDataFilterMissingKey, type AdditionalDataFilterMustHaveKey, type AdditionalDataMissingValue, type AdditionalFilterCantBeEmpty, AndroidFormat, type AndroidFormatWithLiterals, type AuthorizeOneAppMigrationTeamReadRequest, type AuthorizeOneAppMigrationTeamReadResponse, type AuthorizeOneAppMigrationWorkerRequest, type AuthorizeOneAppMigrationWorkerResponse, 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 EditOneAppMigrationRequest, type EditOneAppMigrationResponse, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailedMobileBuildPlatform, type FailedToFetchExperiment, type FailedToRunToss, FailureKind, type FailureKindWithLiterals, type FilterNotImplemented, type FilterNotSupported, type FilterOperandEmpty, type FinalizeOneAppMigrationRequest, type FinalizeOneAppMigrationResponse, 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 ReserveOneAppMigrationOfferRequest, type ReserveOneAppMigrationOfferResponse, 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 StartOneAppMigrationRequest, type StartOneAppMigrationResponse, 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, type ValidateOneAppMigrationJobRequest, type ValidateOneAppMigrationJobResponse, Variant, type VariantValue, type VariantValueValueOneOf, type VariantWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, claimHimalayaApp, getHimalayaAuthorization, getLatestMobileBuilds, getProject, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild };
@@ -14,13 +14,15 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
14
14
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
15
15
  var TRANSFORM_PATHS_0 = [
16
16
  { path: "project.createdDate" },
17
- { path: "project.updatedDate" }
17
+ { path: "project.updatedDate" },
18
+ { path: "project.oneAppMigration.workerWriteDrainUntil" }
18
19
  ];
19
20
  var TRANSFORM_PATHS_1 = [{ path: "fieldMask" }];
20
21
  var TRANSFORM_PATHS_2 = [{ path: "previewTokenExpiresAt" }];
21
22
  var TRANSFORM_PATHS_3 = [
22
23
  { path: "projects.createdDate" },
23
- { path: "projects.updatedDate" }
24
+ { path: "projects.updatedDate" },
25
+ { path: "projects.oneAppMigration.workerWriteDrainUntil" }
24
26
  ];
25
27
  var TRANSFORM_PATHS_4 = [
26
28
  { path: "builds.downloadExpiresDate" },