@wix/auto_sdk_containers_projects 1.0.22 → 1.0.24

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.
@@ -163,6 +163,11 @@ interface OneAppMigration {
163
163
  verifiedReleaseId?: string | null;
164
164
  /** @maxLength 64 */
165
165
  activeDeveloperEmailSha256?: string;
166
+ /**
167
+ * Set only when initial Start failed before the Jobs row was recorded.
168
+ * @readonly
169
+ */
170
+ startupFailedAt?: Date | null;
166
171
  }
167
172
  declare enum OneAppMigrationState {
168
173
  DRAFT = "DRAFT",
@@ -1814,6 +1819,10 @@ interface OneAppMigrationSummary {
1814
1819
  state?: OneAppMigrationStateWithLiterals;
1815
1820
  _updatedDate?: Date | null;
1816
1821
  activeJob?: OneAppMigrationJobSummary;
1822
+ /** New values can be added; clients should handle unknown startup states. */
1823
+ startupState?: OneAppMigrationStartupStateWithLiterals;
1824
+ /** @format GUID */
1825
+ reservationRequestId?: string | null;
1817
1826
  }
1818
1827
  interface OneAppMigrationJobSummary {
1819
1828
  /** @format GUID */
@@ -1849,6 +1858,14 @@ declare enum JobStatus {
1849
1858
  }
1850
1859
  /** @enumType */
1851
1860
  type JobStatusWithLiterals = JobStatus | 'PENDING' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'CANCELLED' | 'AGENT_DONE';
1861
+ declare enum OneAppMigrationStartupState {
1862
+ ONE_APP_MIGRATION_NO_RESERVATION = "ONE_APP_MIGRATION_NO_RESERVATION",
1863
+ ONE_APP_MIGRATION_SUBMITTING = "ONE_APP_MIGRATION_SUBMITTING",
1864
+ ONE_APP_MIGRATION_REPAIR_REQUIRED = "ONE_APP_MIGRATION_REPAIR_REQUIRED",
1865
+ ONE_APP_MIGRATION_JOB_RECORDED = "ONE_APP_MIGRATION_JOB_RECORDED"
1866
+ }
1867
+ /** @enumType */
1868
+ type OneAppMigrationStartupStateWithLiterals = OneAppMigrationStartupState | 'ONE_APP_MIGRATION_NO_RESERVATION' | 'ONE_APP_MIGRATION_SUBMITTING' | 'ONE_APP_MIGRATION_REPAIR_REQUIRED' | 'ONE_APP_MIGRATION_JOB_RECORDED';
1852
1869
  interface CursorPagingMetadata {
1853
1870
  /** Number of items returned in current page. */
1854
1871
  count?: number | null;
@@ -1890,6 +1907,9 @@ interface OneAppMigrationDetail {
1890
1907
  editable?: boolean;
1891
1908
  editBlockReason?: OneAppMigrationEditBlockReasonWithLiterals;
1892
1909
  offerReserved?: boolean;
1910
+ projectRevision?: string;
1911
+ /** @format GUID */
1912
+ devCenterAppId?: string | null;
1893
1913
  }
1894
1914
  declare enum OneAppMigrationEditBlockReason {
1895
1915
  ONE_APP_MIGRATION_EDIT_ALLOWED = "ONE_APP_MIGRATION_EDIT_ALLOWED",
@@ -2175,6 +2195,35 @@ interface StartOneAppMigrationResponse {
2175
2195
  /** @format GUID */
2176
2196
  jobId?: string;
2177
2197
  }
2198
+ interface RecoverOneAppMigrationStartRequest {
2199
+ /** @format GUID */
2200
+ projectId?: string;
2201
+ /** @format GUID */
2202
+ sourceMetaSiteId?: string;
2203
+ /** @format GUID */
2204
+ requestId?: string;
2205
+ /** @format GUID */
2206
+ jobId?: string;
2207
+ /** @format GUID */
2208
+ appId?: string;
2209
+ /**
2210
+ * Blank means the same default prompt as ordinary Start.
2211
+ * @maxLength 20000
2212
+ */
2213
+ instructions?: string;
2214
+ expectedRevision?: string | null;
2215
+ /** False is the safe, read-only default. True creates the missing Jobs row and starts the worker. */
2216
+ execute?: boolean;
2217
+ }
2218
+ interface RecoverOneAppMigrationStartResponse {
2219
+ /** @format GUID */
2220
+ projectId?: string;
2221
+ /** @format GUID */
2222
+ jobId?: string;
2223
+ projectRevision?: string;
2224
+ jobExistedBefore?: boolean;
2225
+ executed?: boolean;
2226
+ }
2178
2227
  interface EditOneAppMigrationRequest {
2179
2228
  /** @format GUID */
2180
2229
  projectId?: string;
@@ -2358,7 +2407,9 @@ interface SaveProjectDesignRequest {
2358
2407
  himalayaControlToken: string;
2359
2408
  /**
2360
2409
  * Canonical slug of the project's app, exactly as returned in `canonicalApp` by
2361
- * [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization).
2410
+ * [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
2411
+ * for a new project or [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
2412
+ * for an already claimed project.
2362
2413
  * This isn't the app's ID.
2363
2414
  *
2364
2415
  * Required when the project's `platform` is `HIMALAYA_MOBILE`. The value is verified on the server.
@@ -2553,7 +2604,9 @@ interface StartMobileBuildRequest {
2553
2604
  himalayaControlToken: string;
2554
2605
  /**
2555
2606
  * Canonical slug of the project's app, exactly as returned in `canonicalApp` by
2556
- * [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization).
2607
+ * [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
2608
+ * for a new project or [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
2609
+ * for an already claimed project.
2557
2610
  *
2558
2611
  * Required when the project's `platform` is `HIMALAYA_MOBILE`. The value is verified on the server.
2559
2612
  * @maxLength 200
@@ -2766,26 +2819,26 @@ interface PlatformMobileBuilds {
2766
2819
  }
2767
2820
  interface ClaimHimalayaAppRequest {
2768
2821
  /**
2769
- * Site-tenanted Containers project to claim a Himalaya app for.
2822
+ * ID of the site project whose app to claim or retrieve.
2770
2823
  * @format GUID
2771
2824
  */
2772
2825
  projectId: string;
2773
2826
  }
2774
2827
  interface ClaimHimalayaAppResponse {
2775
- /** Version of the authorization capability contract. Matches GetHimalayaAuthorizationResponse. */
2828
+ /** Version of the response format. Currently always `1`. */
2776
2829
  authorizationVersion?: number;
2777
2830
  /**
2778
- * Trusted MetaSite selected from request identity context, never from the request body.
2831
+ * ID of the Wix site that owns the project.
2779
2832
  * @format GUID
2780
2833
  */
2781
2834
  metaSiteId?: string;
2782
2835
  /**
2783
- * Site-tenanted Containers project the app is bound to.
2836
+ * ID of the project the app is associated with.
2784
2837
  * @format GUID
2785
2838
  */
2786
2839
  projectId?: string;
2787
2840
  /**
2788
- * Canonical Himalaya app slug, newly claimed or already bound.
2841
+ * Canonical app slug, newly claimed or already associated with the project.
2789
2842
  * @maxLength 200
2790
2843
  */
2791
2844
  canonicalApp?: string;
@@ -2932,9 +2985,12 @@ declare function resumeProject(projectId: string): Promise<NonNullablePaths<Resu
2932
2985
  * A `CHECKPOINT` message is then added to the conversation. If the checkpoint can't be added, the
2933
2986
  * design is still saved.
2934
2987
  *
2935
- * For projects whose `platform` is `HIMALAYA_MOBILE`, call
2988
+ * For a new `HIMALAYA_MOBILE` project, call
2989
+ * [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
2990
+ * and specify its returned `canonicalApp` when saving the design. For an already claimed project,
2991
+ * call
2936
2992
  * [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
2937
- * first, and specify the returned `canonicalApp`.
2993
+ * and specify the returned `canonicalApp`.
2938
2994
  * @param projectId - ID of the project whose design to save.
2939
2995
  * @param baseReleaseId - ID of the release that the user is currently viewing.
2940
2996
  *
@@ -2968,7 +3024,9 @@ interface SaveProjectDesignOptions {
2968
3024
  himalayaControlToken: string;
2969
3025
  /**
2970
3026
  * Canonical slug of the project's app, exactly as returned in `canonicalApp` by
2971
- * [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization).
3027
+ * [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
3028
+ * for a new project or [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
3029
+ * for an already claimed project.
2972
3030
  * This isn't the app's ID.
2973
3031
  *
2974
3032
  * Required when the project's `platform` is `HIMALAYA_MOBILE`. The value is verified on the server.
@@ -3054,9 +3112,14 @@ declare function getHimalayaAuthorization(projectId: string): Promise<NonNullabl
3054
3112
  * [Get Latest Mobile Builds](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-latest-mobile-builds)
3055
3113
  * with `himalayaControlToken`.
3056
3114
  *
3057
- * For projects whose `platform` is `HIMALAYA_MOBILE`, call
3115
+ * For a new `HIMALAYA_MOBILE` project, call
3116
+ * [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
3117
+ * before starting a build. For an existing project, call
3058
3118
  * [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
3059
- * first, and specify the returned `canonicalApp`.
3119
+ * and specify the returned `canonicalApp`.
3120
+ *
3121
+ * If a build can't start for a platform, the response lists that platform in
3122
+ * `failedPlatforms` while returning any builds that did start in `builds`.
3060
3123
  * @param projectId - ID of the project to build.
3061
3124
  * @param platforms - Platforms to build. One build is started for each platform.
3062
3125
  * @public
@@ -3092,7 +3155,9 @@ interface StartMobileBuildOptions {
3092
3155
  himalayaControlToken: string;
3093
3156
  /**
3094
3157
  * Canonical slug of the project's app, exactly as returned in `canonicalApp` by
3095
- * [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization).
3158
+ * [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
3159
+ * for a new project or [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
3160
+ * for an already claimed project.
3096
3161
  *
3097
3162
  * Required when the project's `platform` is `HIMALAYA_MOBILE`. The value is verified on the server.
3098
3163
  * @maxLength 200
@@ -3149,18 +3214,11 @@ interface GetLatestMobileBuildsOptions {
3149
3214
  himalayaControlToken?: string;
3150
3215
  }
3151
3216
  /**
3152
- * Claims the canonical Himalaya app for a NEW site-tenanted project, or returns the one already
3153
- * bound to it.
3154
- *
3155
- * This exists so the BROWSER never asserts the (MetaSite, project) pair to Himalaya. Containers
3156
- * is the authority on project -> MetaSite: it reads the project from its own store with a
3157
- * consistent read and takes the MetaSite from this call's identity context, then claims
3158
- * server-to-server with a site USER token minted for the initiating collaborator. Himalaya
3159
- * recognises that token as minted by THIS service and trusts the pair on that basis. A dashboard
3160
- * calling Himalaya directly could name another site's project UUID and reserve its global slug.
3217
+ * Claims the app associated with a project, or retrieves its existing claim.
3161
3218
  *
3162
- * Idempotent per pair: an already-claimed project returns its existing canonical app.
3163
- * @param projectId - Site-tenanted Containers project to claim a Himalaya app for.
3219
+ * An authorized site collaborator can call this method for a new `HIMALAYA_MOBILE` project
3220
+ * before using its app. Repeating the call for the same project returns the same `canonicalApp`.
3221
+ * @param projectId - ID of the site project whose app to claim or retrieve.
3164
3222
  * @public
3165
3223
  * @documentationMaturity preview
3166
3224
  * @requiredField projectId
@@ -3170,4 +3228,4 @@ interface GetLatestMobileBuildsOptions {
3170
3228
  */
3171
3229
  declare function claimHimalayaApp(projectId: string): Promise<NonNullablePaths<ClaimHimalayaAppResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp`, 0>>;
3172
3230
 
3173
- export { type AccountInfo, type AcquireWorkerReportingRequest, type AcquireWorkerReportingResponse, type ActionEvent, type ActivityBatch, type ActivityEvent, ActivityEventType, type ActivityEventTypeWithLiterals, ActivitySource, type ActivitySourceWithLiterals, ActivityWorkflow, type ActivityWorkflowWithLiterals, type AddReportUpdateRequest, type AddReportUpdateRequestCorrectionTargetIdPresenceOneOf, type AddReportUpdateRequestImpactPresenceOneOf, type AddReportUpdateRequestProblemTypePresenceOneOf, type AddReportUpdateRequestRecoveryOutcomePresenceOneOf, type AddReportUpdateRequestStagePresenceOneOf, type AddReportUpdateResponse, type AddWorkerReportUpdateRequest, type AddWorkerReportUpdateResponse, type AdditionalDataFilterMismatchType, type AdditionalDataFilterMissingKey, type AdditionalDataFilterMustHaveKey, type AdditionalDataMissingValue, type AdditionalFilterCantBeEmpty, AndroidFormat, type AndroidFormatWithLiterals, type AttachReportToJobRequest, type AttachReportToJobResponse, type AttachWorkerReportToJobRequest, type AttachWorkerReportToJobResponse, type AuthorizeOneAppMigrationTeamReadRequest, type AuthorizeOneAppMigrationTeamReadResponse, type AuthorizeOneAppMigrationWorkerRequest, type AuthorizeOneAppMigrationWorkerResponse, type BeginReportContentRequest, type BeginReportContentRequestReportIdPresenceOneOf, type BeginReportContentResponse, type BeginWorkerReportContentRequest, type BeginWorkerReportContentResponse, type BeginWorkerReportingRunRequest, type BeginWorkerReportingRunRequestJobIdPresenceOneOf, type BeginWorkerReportingRunResponse, type BeginWorkerReportingRunResponseJobIdPresenceOneOf, type BindWorkerReportingJobRequest, type BindWorkerReportingJobResponse, type BoCloneProjectRequest, type BoCloneProjectResponse, type BoListProjectsRequest, type BoListProjectsResponse, type BoSiteProjects, BuildKind, type BuildKindWithLiterals, type ClaimHimalayaAppRequest, type ClaimHimalayaAppResponse, type CompleteReportContentRequest, type CompleteReportContentResponse, type CompleteWorkerReportContentRequest, type CompleteWorkerReportContentResponse, type ConductByScopeResponse, type ConductByScopesResponse, type ConductResponse, type ConductionException, type ConductionResult, type ConductionStatus, type ConductionStatusStatusOneOf, ContentKind, type ContentKindWithLiterals, ContentState, type ContentStateWithLiterals, type CreateAgentSessionRequest, type CreateAgentSessionResponse, type CreateProjectRequest, type CreateProjectResponse, type CreateReportRequest, type CreateReportResponse, type CreateWorkerReportRequest, type CreateWorkerReportResponse, 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, FinishReason, type FinishReasonWithLiterals, type FinishReportRequest, type FinishReportResponse, type FinishWorkerReportRequest, type FinishWorkerReportResponse, type GeneralError, type GetAgentConfigRequest, type GetAgentConfigResponse, type GetAgentExperimentsRequest, type GetAgentExperimentsResponse, type GetHimalayaAuthorizationRequest, type GetHimalayaAuthorizationResponse, type GetLatestMobileBuildsOptions, type GetLatestMobileBuildsRequest, type GetLatestMobileBuildsResponse, type GetOneAppMigrationJobRequest, type GetOneAppMigrationJobResponse, type GetOneAppMigrationPreviewRequest, type GetOneAppMigrationPreviewResponse, type GetOneAppMigrationRequest, type GetOneAppMigrationResponse, type GetProjectRequest, type GetProjectResponse, type GetReportRequest, type GetReportResponse, type GetWorkerReportRequest, type GetWorkerReportResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidLibraryConfiguration, type IsEnabledFieldNotFound, type IsEnabledFieldNotOfTypeBoolean, JobStatus, type JobStatusWithLiterals, JobType, type JobTypeWithLiterals, type ListOneAppMigrationHistoryRequest, type ListOneAppMigrationHistoryResponse, type ListOneAppMigrationsRequest, type ListOneAppMigrationsResponse, 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 MobileBuildErrorData, type NoResultForConduction, type NotImplemented, type OneAppMigration, type OneAppMigrationDetail, OneAppMigrationEditBlockReason, type OneAppMigrationEditBlockReasonWithLiterals, OneAppMigrationFailureCode, type OneAppMigrationFailureCodeWithLiterals, OneAppMigrationHistoryCompleteness, type OneAppMigrationHistoryCompletenessWithLiterals, type OneAppMigrationHistoryEntry, type OneAppMigrationJobSummary, OneAppMigrationOutcome, type OneAppMigrationOutcomeWithLiterals, OneAppMigrationState, type OneAppMigrationStateWithLiterals, type OneAppMigrationSummary, Platform, type PlatformMobileBuilds, type PlatformWithLiterals, type PopulationError, ProblemType, type ProblemTypeWithLiterals, type Project, type ProjectPlanReady, type ProjectResumeRequested, type ProjectStartRequested, ProjectStatus, type ProjectStatusWithLiterals, type QueryOneAppMigrationActivityRequest, type QueryOneAppMigrationActivityResponse, type QueryProjectJobActivityResponse, RecoveryOutcome, type RecoveryOutcomeWithLiterals, type RefreshAgentSiteTokenRequest, type RefreshAgentSiteTokenResponse, type RegenerateProjectIconRequest, type RegenerateProjectIconResponse, type RegenerateProjectNameRequest, type RegenerateProjectNameResponse, RelationType, type RelationTypeWithLiterals, type RenewWorkerReportingRequest, type RenewWorkerReportingResponse, type Report, type ReportContent, ReportImpact, type ReportImpactWithLiterals, type ReportJobIdPresenceOneOf, type ReportRelatedReportIdPresenceOneOf, ReportStage, type ReportStageWithLiterals, type ReportUpdate, type ReportUpdateAttachedJobIdPresenceOneOf, type ReportUpdateCorrectionTargetIdPresenceOneOf, type ReserveOneAppMigrationOfferRequest, type ReserveOneAppMigrationOfferResponse, type RestoreInfo, type RestoreReleaseOptions, type RestoreReleaseRequest, type RestoreReleaseResponse, type ResumeProjectRequest, type ResumeProjectResponse, type RevokeWorkerReportingRequest, type RevokeWorkerReportingResponse, SandboxStatus, type SandboxStatusWithLiterals, type SaveProjectDesignOptions, type SaveProjectDesignRequest, type SaveProjectDesignResponse, type StartMobileBuildApplicationErrors, type StartMobileBuildOptions, type StartMobileBuildRequest, type StartMobileBuildResponse, type StartOneAppMigrationRequest, type StartOneAppMigrationResponse, type StartProjectRequest, type StartProjectResponse, Status, type StatusWithLiterals, type SuccessfulResult, UpdateAction, type UpdateActionWithLiterals, type UpdateProject, type UpdateProjectRequest, type UpdateProjectResponse, type UploadReportContentChunkRequest, type UploadReportContentChunkResponse, UploadState, type UploadStateWithLiterals, type UploadWorkerReportContentChunkRequest, type UploadWorkerReportContentChunkResponse, 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, type WorkerReportingScope, claimHimalayaApp, getHimalayaAuthorization, getLatestMobileBuilds, getProject, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild };
3231
+ export { type AccountInfo, type AcquireWorkerReportingRequest, type AcquireWorkerReportingResponse, type ActionEvent, type ActivityBatch, type ActivityEvent, ActivityEventType, type ActivityEventTypeWithLiterals, ActivitySource, type ActivitySourceWithLiterals, ActivityWorkflow, type ActivityWorkflowWithLiterals, type AddReportUpdateRequest, type AddReportUpdateRequestCorrectionTargetIdPresenceOneOf, type AddReportUpdateRequestImpactPresenceOneOf, type AddReportUpdateRequestProblemTypePresenceOneOf, type AddReportUpdateRequestRecoveryOutcomePresenceOneOf, type AddReportUpdateRequestStagePresenceOneOf, type AddReportUpdateResponse, type AddWorkerReportUpdateRequest, type AddWorkerReportUpdateResponse, type AdditionalDataFilterMismatchType, type AdditionalDataFilterMissingKey, type AdditionalDataFilterMustHaveKey, type AdditionalDataMissingValue, type AdditionalFilterCantBeEmpty, AndroidFormat, type AndroidFormatWithLiterals, type AttachReportToJobRequest, type AttachReportToJobResponse, type AttachWorkerReportToJobRequest, type AttachWorkerReportToJobResponse, type AuthorizeOneAppMigrationTeamReadRequest, type AuthorizeOneAppMigrationTeamReadResponse, type AuthorizeOneAppMigrationWorkerRequest, type AuthorizeOneAppMigrationWorkerResponse, type BeginReportContentRequest, type BeginReportContentRequestReportIdPresenceOneOf, type BeginReportContentResponse, type BeginWorkerReportContentRequest, type BeginWorkerReportContentResponse, type BeginWorkerReportingRunRequest, type BeginWorkerReportingRunRequestJobIdPresenceOneOf, type BeginWorkerReportingRunResponse, type BeginWorkerReportingRunResponseJobIdPresenceOneOf, type BindWorkerReportingJobRequest, type BindWorkerReportingJobResponse, type BoCloneProjectRequest, type BoCloneProjectResponse, type BoListProjectsRequest, type BoListProjectsResponse, type BoSiteProjects, BuildKind, type BuildKindWithLiterals, type ClaimHimalayaAppRequest, type ClaimHimalayaAppResponse, type CompleteReportContentRequest, type CompleteReportContentResponse, type CompleteWorkerReportContentRequest, type CompleteWorkerReportContentResponse, type ConductByScopeResponse, type ConductByScopesResponse, type ConductResponse, type ConductionException, type ConductionResult, type ConductionStatus, type ConductionStatusStatusOneOf, ContentKind, type ContentKindWithLiterals, ContentState, type ContentStateWithLiterals, type CreateAgentSessionRequest, type CreateAgentSessionResponse, type CreateProjectRequest, type CreateProjectResponse, type CreateReportRequest, type CreateReportResponse, type CreateWorkerReportRequest, type CreateWorkerReportResponse, 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, FinishReason, type FinishReasonWithLiterals, type FinishReportRequest, type FinishReportResponse, type FinishWorkerReportRequest, type FinishWorkerReportResponse, type GeneralError, type GetAgentConfigRequest, type GetAgentConfigResponse, type GetAgentExperimentsRequest, type GetAgentExperimentsResponse, type GetHimalayaAuthorizationRequest, type GetHimalayaAuthorizationResponse, type GetLatestMobileBuildsOptions, type GetLatestMobileBuildsRequest, type GetLatestMobileBuildsResponse, type GetOneAppMigrationJobRequest, type GetOneAppMigrationJobResponse, type GetOneAppMigrationPreviewRequest, type GetOneAppMigrationPreviewResponse, type GetOneAppMigrationRequest, type GetOneAppMigrationResponse, type GetProjectRequest, type GetProjectResponse, type GetReportRequest, type GetReportResponse, type GetWorkerReportRequest, type GetWorkerReportResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidLibraryConfiguration, type IsEnabledFieldNotFound, type IsEnabledFieldNotOfTypeBoolean, JobStatus, type JobStatusWithLiterals, JobType, type JobTypeWithLiterals, type ListOneAppMigrationHistoryRequest, type ListOneAppMigrationHistoryResponse, type ListOneAppMigrationsRequest, type ListOneAppMigrationsResponse, 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 MobileBuildErrorData, type NoResultForConduction, type NotImplemented, type OneAppMigration, type OneAppMigrationDetail, OneAppMigrationEditBlockReason, type OneAppMigrationEditBlockReasonWithLiterals, OneAppMigrationFailureCode, type OneAppMigrationFailureCodeWithLiterals, OneAppMigrationHistoryCompleteness, type OneAppMigrationHistoryCompletenessWithLiterals, type OneAppMigrationHistoryEntry, type OneAppMigrationJobSummary, OneAppMigrationOutcome, type OneAppMigrationOutcomeWithLiterals, OneAppMigrationStartupState, type OneAppMigrationStartupStateWithLiterals, OneAppMigrationState, type OneAppMigrationStateWithLiterals, type OneAppMigrationSummary, Platform, type PlatformMobileBuilds, type PlatformWithLiterals, type PopulationError, ProblemType, type ProblemTypeWithLiterals, type Project, type ProjectPlanReady, type ProjectResumeRequested, type ProjectStartRequested, ProjectStatus, type ProjectStatusWithLiterals, type QueryOneAppMigrationActivityRequest, type QueryOneAppMigrationActivityResponse, type QueryProjectJobActivityResponse, type RecoverOneAppMigrationStartRequest, type RecoverOneAppMigrationStartResponse, RecoveryOutcome, type RecoveryOutcomeWithLiterals, type RefreshAgentSiteTokenRequest, type RefreshAgentSiteTokenResponse, type RegenerateProjectIconRequest, type RegenerateProjectIconResponse, type RegenerateProjectNameRequest, type RegenerateProjectNameResponse, RelationType, type RelationTypeWithLiterals, type RenewWorkerReportingRequest, type RenewWorkerReportingResponse, type Report, type ReportContent, ReportImpact, type ReportImpactWithLiterals, type ReportJobIdPresenceOneOf, type ReportRelatedReportIdPresenceOneOf, ReportStage, type ReportStageWithLiterals, type ReportUpdate, type ReportUpdateAttachedJobIdPresenceOneOf, type ReportUpdateCorrectionTargetIdPresenceOneOf, type ReserveOneAppMigrationOfferRequest, type ReserveOneAppMigrationOfferResponse, type RestoreInfo, type RestoreReleaseOptions, type RestoreReleaseRequest, type RestoreReleaseResponse, type ResumeProjectRequest, type ResumeProjectResponse, type RevokeWorkerReportingRequest, type RevokeWorkerReportingResponse, SandboxStatus, type SandboxStatusWithLiterals, type SaveProjectDesignOptions, type SaveProjectDesignRequest, type SaveProjectDesignResponse, type StartMobileBuildApplicationErrors, type StartMobileBuildOptions, type StartMobileBuildRequest, type StartMobileBuildResponse, type StartOneAppMigrationRequest, type StartOneAppMigrationResponse, type StartProjectRequest, type StartProjectResponse, Status, type StatusWithLiterals, type SuccessfulResult, UpdateAction, type UpdateActionWithLiterals, type UpdateProject, type UpdateProjectRequest, type UpdateProjectResponse, type UploadReportContentChunkRequest, type UploadReportContentChunkResponse, UploadState, type UploadStateWithLiterals, type UploadWorkerReportContentChunkRequest, type UploadWorkerReportContentChunkResponse, 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, type WorkerReportingScope, claimHimalayaApp, getHimalayaAuthorization, getLatestMobileBuilds, getProject, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild };
@@ -35,6 +35,7 @@ __export(index_typings_exports, {
35
35
  OneAppMigrationFailureCode: () => OneAppMigrationFailureCode,
36
36
  OneAppMigrationHistoryCompleteness: () => OneAppMigrationHistoryCompleteness,
37
37
  OneAppMigrationOutcome: () => OneAppMigrationOutcome,
38
+ OneAppMigrationStartupState: () => OneAppMigrationStartupState,
38
39
  OneAppMigrationState: () => OneAppMigrationState,
39
40
  Platform: () => Platform,
40
41
  ProblemType: () => ProblemType,
@@ -81,14 +82,16 @@ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
81
82
  var TRANSFORM_PATHS_0 = [
82
83
  { path: "project.createdDate" },
83
84
  { path: "project.updatedDate" },
84
- { path: "project.oneAppMigration.workerWriteDrainUntil" }
85
+ { path: "project.oneAppMigration.workerWriteDrainUntil" },
86
+ { path: "project.oneAppMigration.startupFailedAt" }
85
87
  ];
86
88
  var TRANSFORM_PATHS_1 = [{ path: "fieldMask" }];
87
89
  var TRANSFORM_PATHS_2 = [{ path: "previewTokenExpiresAt" }];
88
90
  var TRANSFORM_PATHS_3 = [
89
91
  { path: "projects.createdDate" },
90
92
  { path: "projects.updatedDate" },
91
- { path: "projects.oneAppMigration.workerWriteDrainUntil" }
93
+ { path: "projects.oneAppMigration.workerWriteDrainUntil" },
94
+ { path: "projects.oneAppMigration.startupFailedAt" }
92
95
  ];
93
96
  var TRANSFORM_PATHS_4 = [
94
97
  { path: "builds.downloadExpiresDate" },
@@ -673,6 +676,13 @@ var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
673
676
  JobStatus2["AGENT_DONE"] = "AGENT_DONE";
674
677
  return JobStatus2;
675
678
  })(JobStatus || {});
679
+ var OneAppMigrationStartupState = /* @__PURE__ */ ((OneAppMigrationStartupState2) => {
680
+ OneAppMigrationStartupState2["ONE_APP_MIGRATION_NO_RESERVATION"] = "ONE_APP_MIGRATION_NO_RESERVATION";
681
+ OneAppMigrationStartupState2["ONE_APP_MIGRATION_SUBMITTING"] = "ONE_APP_MIGRATION_SUBMITTING";
682
+ OneAppMigrationStartupState2["ONE_APP_MIGRATION_REPAIR_REQUIRED"] = "ONE_APP_MIGRATION_REPAIR_REQUIRED";
683
+ OneAppMigrationStartupState2["ONE_APP_MIGRATION_JOB_RECORDED"] = "ONE_APP_MIGRATION_JOB_RECORDED";
684
+ return OneAppMigrationStartupState2;
685
+ })(OneAppMigrationStartupState || {});
676
686
  var OneAppMigrationEditBlockReason = /* @__PURE__ */ ((OneAppMigrationEditBlockReason2) => {
677
687
  OneAppMigrationEditBlockReason2["ONE_APP_MIGRATION_EDIT_ALLOWED"] = "ONE_APP_MIGRATION_EDIT_ALLOWED";
678
688
  OneAppMigrationEditBlockReason2["ONE_APP_MIGRATION_NO_SAVED_DRAFT"] = "ONE_APP_MIGRATION_NO_SAVED_DRAFT";
@@ -1164,6 +1174,7 @@ async function claimHimalayaApp2(projectId) {
1164
1174
  OneAppMigrationFailureCode,
1165
1175
  OneAppMigrationHistoryCompleteness,
1166
1176
  OneAppMigrationOutcome,
1177
+ OneAppMigrationStartupState,
1167
1178
  OneAppMigrationState,
1168
1179
  Platform,
1169
1180
  ProblemType,