azure-devops-extension-api 5.272.3 → 5.274.0

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.
Files changed (62) hide show
  1. package/Alert/Alert.d.ts +69 -2
  2. package/Alert/Alert.js +46 -1
  3. package/Alert/Alert.min.js +1 -1
  4. package/Alert/AlertClient.d.ts +17 -0
  5. package/Alert/AlertClient.js +48 -2
  6. package/Alert/AlertClient.min.js +1 -1
  7. package/Build/Build.d.ts +4 -0
  8. package/Gallery/Gallery.d.ts +4 -0
  9. package/Gallery/Gallery.js +4 -0
  10. package/Gallery/Gallery.min.js +1 -1
  11. package/Git/Git.d.ts +611 -0
  12. package/Git/Git.js +213 -1
  13. package/Git/Git.min.js +1 -1
  14. package/Git/GitClient.d.ts +6 -0
  15. package/Git/GitClient.js +18 -0
  16. package/Git/GitClient.min.js +1 -1
  17. package/Management/Management.d.ts +30 -0
  18. package/Management/Management.js +24 -1
  19. package/Management/Management.min.js +1 -1
  20. package/Release/ReleaseClient.d.ts +2 -2
  21. package/Release/ReleaseClient.js +2 -2
  22. package/TaskAgent/TaskAgent.d.ts +151 -0
  23. package/TaskAgent/TaskAgent.js +20 -2
  24. package/TaskAgent/TaskAgent.min.js +1 -1
  25. package/TaskAgent/TaskAgentClient.d.ts +8 -0
  26. package/TaskAgent/TaskAgentClient.js +21 -0
  27. package/TaskAgent/TaskAgentClient.min.js +1 -1
  28. package/Test/Test.d.ts +5 -1
  29. package/TestResults/TestResultsClient.d.ts +5 -0
  30. package/TestResults/TestResultsClient.js +12 -0
  31. package/TestResults/TestResultsClient.min.js +1 -1
  32. package/_manifest/{Spdx2xVs3xComparisonToolOutput.json → comparison-result.json} +7 -0
  33. package/_manifest/spdx_2.2/ESRPClientLogs0702203431812.json +1 -0
  34. package/_manifest/spdx_2.2/bsi.cose +0 -0
  35. package/_manifest/spdx_2.2/bsi.json +1 -1
  36. package/_manifest/spdx_2.2/manifest.cat +0 -0
  37. package/_manifest/spdx_2.2/manifest.spdx.cose +0 -0
  38. package/_manifest/spdx_2.2/manifest.spdx.json +1 -1
  39. package/_manifest/spdx_2.2/manifest.spdx.json.sha256 +1 -1
  40. package/_manifest/spdx_3.0/manifest.spdx.json +1 -1
  41. package/_manifest/spdx_3.0/manifest.spdx.json.sha256 +1 -1
  42. package/esm/Alert/Alert.js +45 -0
  43. package/esm/Alert/Alert.min.js +1 -1
  44. package/esm/Alert/AlertClient.js +44 -2
  45. package/esm/Alert/AlertClient.min.js +1 -1
  46. package/esm/Gallery/Gallery.js +4 -0
  47. package/esm/Gallery/Gallery.min.js +1 -1
  48. package/esm/Git/Git.js +212 -0
  49. package/esm/Git/Git.min.js +1 -1
  50. package/esm/Git/GitClient.js +16 -0
  51. package/esm/Git/GitClient.min.js +1 -1
  52. package/esm/Management/Management.js +23 -0
  53. package/esm/Management/Management.min.js +1 -1
  54. package/esm/Release/ReleaseClient.js +2 -2
  55. package/esm/TaskAgent/TaskAgent.js +18 -0
  56. package/esm/TaskAgent/TaskAgent.min.js +1 -1
  57. package/esm/TaskAgent/TaskAgentClient.js +19 -0
  58. package/esm/TaskAgent/TaskAgentClient.min.js +1 -1
  59. package/esm/TestResults/TestResultsClient.js +10 -0
  60. package/esm/TestResults/TestResultsClient.min.js +1 -1
  61. package/package.json +1 -1
  62. package/_manifest/spdx_2.2/ESRPClientLogs0514202912361.json +0 -1
package/Git/Git.d.ts CHANGED
@@ -569,11 +569,144 @@ export interface CompletionErrorsEvent extends RealTimePullRequestEvent {
569
569
  */
570
570
  errorMessage: string;
571
571
  }
572
+ /**
573
+ * Request to create an Enterprise Live Migration.
574
+ */
575
+ export interface CreateMigrationRequest {
576
+ /**
577
+ * Optional name of the agent pool to run the migration pipeline. When not specified, the pool is determined by region.
578
+ */
579
+ agentPoolName: string;
580
+ /**
581
+ * Optional configuration options for the migration. See ElmConfigOptions.
582
+ */
583
+ configOptions: ElmConfigOptions;
584
+ /**
585
+ * GitHub token (Device Flow or PAT with read:org scope) proving the identity of the migration owner.
586
+ */
587
+ gitHubUserToken: string;
588
+ /**
589
+ * Optional. The ID of a GitHub Enterprise service connection to use for pipeline rewiring. May be supplied at create time or attached later via PUT /pipelines. When EnableAutoDiscoverPipelines is opted in but no connection is attached, auto-discovery and clone-definition creation no-op during sync, and cutover is blocked by the cutover-readiness check until a connection is attached.
590
+ */
591
+ pipelineServiceConnectionId: string;
592
+ /**
593
+ * The UTC date/time representing when the cutover is to occur.
594
+ */
595
+ scheduledCutoverDate: Date;
596
+ /**
597
+ * Optional. ID of a GitHub Enterprise Server-typed service connection whose PAT has ELM API access on the target GHES instance.
598
+ */
599
+ serviceEndpointId: string;
600
+ /**
601
+ * Optional. The set of pre-migration validation policies to skip.
602
+ */
603
+ skipValidation: SkipValidationPolicy;
604
+ /**
605
+ * The GitHub login of the migration owner. Set by the server when GitHubUserToken is provided.
606
+ */
607
+ targetOwnerUserId: string;
608
+ /**
609
+ * URL identifying the destination respository of migration.
610
+ */
611
+ targetRepository: string;
612
+ /**
613
+ * True if the migration should only perform pre-migration validation.
614
+ */
615
+ validateOnly: boolean;
616
+ }
617
+ /**
618
+ * A failed or blocked resource from the GitHub migration, mapped back to ADO context.
619
+ */
620
+ export interface CutoverReviewItem {
621
+ /**
622
+ * The error message from GitHub for this failed resource, if any.
623
+ */
624
+ error: string;
625
+ /**
626
+ * The full URL to the ADO pull request.
627
+ */
628
+ pullRequestUrl: string;
629
+ /**
630
+ * The node state: failed, blocked, or pending.
631
+ */
632
+ state: string;
633
+ /**
634
+ * The resource type (e.g. pull_request, pull_request_comment).
635
+ */
636
+ type: string;
637
+ }
638
+ /**
639
+ * Response from the GetCutoverReview API containing failed and blocked resource details.
640
+ */
641
+ export interface CutoverReviewResponse {
642
+ blockedCount: number;
643
+ failedCount: number;
644
+ pendingCount: number;
645
+ requiresPipelineVerificationAcknowledgment: boolean;
646
+ totalUnprocessedCount: number;
647
+ unprocessedItems: CutoverReviewItem[];
648
+ }
572
649
  /**
573
650
  * Real time event (SignalR) for a discussions update on a pull request
574
651
  */
575
652
  export interface DiscussionsUpdatedEvent extends RealTimePullRequestEvent {
576
653
  }
654
+ /**
655
+ * Strongly-typed configuration options for an Enterprise Live Migration. Sent on \<c\>CreateMigrationRequest.ConfigOptions\</c\> and echoed back on \<c\>Migration.ConfigOptions\</c\>. All members are optional so the contract can grow additively.
656
+ */
657
+ export interface ElmConfigOptions {
658
+ /**
659
+ * Enable auto-discovery of pipelines for the repository. When unset (default), pipelines must be submitted manually via the POST /pipelines API.
660
+ */
661
+ enableAutoDiscoverPipelines: boolean;
662
+ /**
663
+ * Opt in to automatic Azure Boards GitHub connection provisioning on cutover. Disabled by default.
664
+ */
665
+ enableBoardsGitHubConnection: boolean;
666
+ /**
667
+ * When \<c\>true\</c\>, branch policies will not be migrated to GitHub rulesets during cutover.
668
+ */
669
+ skipBranchPolicyMigration: boolean;
670
+ /**
671
+ * When \<c\>true\</c\>, the source ADO repository will not be set to read-only (maintenance mode) during cutover.
672
+ */
673
+ skipSourceRepoLockdown: boolean;
674
+ /**
675
+ * Pre-migration validation policies to skip. Only honored when the \<c\>Git.EnterpriseLiveMigration.EnableConfigOptionsSkipValidation\</c\> feature flag is on; when honored, overwrites the legacy top-level \<c\>CreateMigrationRequest.SkipValidation\</c\> bitmask.
676
+ */
677
+ skipValidation: ElmSkipValidationOptions;
678
+ }
679
+ /**
680
+ * Configuration flags for an Enterprise Live Migration. Bits 16-30, allocated downward from 30. Bits 0-15 are reserved for SkipValidationPolicy -- both share the same DB column.
681
+ */
682
+ export declare enum ElmMigrationOption {
683
+ /**
684
+ * Default configuration.
685
+ */
686
+ None = 0,
687
+ /**
688
+ * When set, the sync job auto-discovers pipelines for the repository. When unset (default), the user must manually submit pipelines via the POST /pipelines API. Pipelines already in the config file are processed normally regardless.
689
+ */
690
+ EnableAutoDiscoverPipelines = 1073741824
691
+ }
692
+ /**
693
+ * Named-boolean form of \<c\>SkipValidationPolicy\</c\>. Setting a property to \<c\>true\</c\> tells the server to skip that pre-migration validation.
694
+ */
695
+ export interface ElmSkipValidationOptions {
696
+ activePullRequestCount: boolean;
697
+ agentPoolExists: boolean;
698
+ /**
699
+ * When \<c\>true\</c\>, all validation policies are skipped. Equivalent to setting every other property to \<c\>true\</c\>. Never echoed back on responses — only the individual policy properties are populated.
700
+ */
701
+ all: boolean;
702
+ maxFileSize: boolean;
703
+ maxPullRequestSize: boolean;
704
+ maxPushPackSize: boolean;
705
+ maxReferenceNameLength: boolean;
706
+ pullRequestDeltaSize: boolean;
707
+ sourceRepositoryContainsLfsObjects: boolean;
708
+ targetRepositoryDoesNotExist: boolean;
709
+ }
577
710
  export interface FileContentMetadata {
578
711
  contentType: string;
579
712
  encoding: number;
@@ -1653,6 +1786,18 @@ export interface GitPullRequest {
1653
1786
  * If set, auto-complete is enabled for this pull request and this is the identity that enabled it.
1654
1787
  */
1655
1788
  autoCompleteSetBy: WebApi.IdentityRef;
1789
+ /**
1790
+ * The commit of the base branch at the time it was recorded. Used for merge base override and movement detection.
1791
+ */
1792
+ baseBranchCommit: GitCommitRef;
1793
+ /**
1794
+ * The name of the base branch for stacked pull requests. The diff is computed as base..source.
1795
+ */
1796
+ baseBranchName: string;
1797
+ /**
1798
+ * The ID of the base pull request in a stack. When set, this PR is stacked on top of the specified PR.
1799
+ */
1800
+ basePullRequestId: number;
1656
1801
  /**
1657
1802
  * The user who closed the pull request.
1658
1803
  */
@@ -3091,6 +3236,314 @@ export interface LineDiffBlockDetail {
3091
3236
  */
3092
3237
  export interface MergeCompletedEvent extends RealTimePullRequestEvent {
3093
3238
  }
3239
+ /**
3240
+ * An Enterprise Live Migration
3241
+ */
3242
+ export interface Migration {
3243
+ /**
3244
+ * The name of the agent pool used to run the migration pipeline.
3245
+ */
3246
+ agentPoolName: string;
3247
+ /**
3248
+ * The identity that last changed this migration.
3249
+ */
3250
+ changedBy: WebApi.IdentityRef;
3251
+ /**
3252
+ * The UTC date/time this migration was last changed.
3253
+ */
3254
+ changedDate: Date;
3255
+ /**
3256
+ * The UTC date/time of the last successful code synchronization pass.
3257
+ */
3258
+ codeSyncDate: Date;
3259
+ /**
3260
+ * Configuration options for the migration.
3261
+ */
3262
+ configOptions: ElmConfigOptions;
3263
+ /**
3264
+ * The identity that created this migration.
3265
+ */
3266
+ createdBy: WebApi.IdentityRef;
3267
+ /**
3268
+ * The UTC date/time this migration was created.
3269
+ */
3270
+ createdDate: Date;
3271
+ /**
3272
+ * The error that caused this migration to fail.
3273
+ */
3274
+ errorMessage: string;
3275
+ /**
3276
+ * The UTC date/time of the last successful pull request synchronization pass.
3277
+ */
3278
+ pullRequestSyncDate: Date;
3279
+ /**
3280
+ * RepositoryId
3281
+ */
3282
+ repositoryId: string;
3283
+ /**
3284
+ * The UTC date/time representing when the cutover is to occur.
3285
+ */
3286
+ scheduledCutoverDate: Date;
3287
+ /**
3288
+ * The ID of the GitHub Enterprise Server service connection that holds the PAT used to authenticate against the target GitHub Enterprise Server.
3289
+ */
3290
+ serviceEndpointId: string;
3291
+ /**
3292
+ * The pre-migration validation policies that are being skipped.
3293
+ */
3294
+ skipValidation: SkipValidationPolicy;
3295
+ /**
3296
+ * The current stage of the migration (Queued, Validation, Synchronization, Cutover, Migrated).
3297
+ */
3298
+ stage: MigrationStage;
3299
+ /**
3300
+ * If the migration is 'active', 'complete', or 'failed'.
3301
+ */
3302
+ status: MigrationStatus;
3303
+ /**
3304
+ * The ID of the user that will end up owning the migrated repository.
3305
+ */
3306
+ targetOwnerUserId: string;
3307
+ /**
3308
+ * URL identifying the destination respository of migration.
3309
+ */
3310
+ targetRepository: string;
3311
+ /**
3312
+ * True if the migration should only perform pre-migration validation.
3313
+ */
3314
+ validateOnly: boolean;
3315
+ /**
3316
+ * A list of any issues found during pre-migration checks.
3317
+ */
3318
+ validationIssues: string[];
3319
+ }
3320
+ /**
3321
+ * The current stage of an Enterprise Live Migration.
3322
+ */
3323
+ export declare enum MigrationStage {
3324
+ /**
3325
+ * The migration has been created but pre-check validation has not started yet.
3326
+ */
3327
+ Queued = 0,
3328
+ /**
3329
+ * Pre-check validation is in progress.
3330
+ */
3331
+ Validation = 1,
3332
+ /**
3333
+ * Code and PR synchronization is in progress.
3334
+ */
3335
+ Synchronization = 2,
3336
+ /**
3337
+ * The migration is in the cutover phase.
3338
+ */
3339
+ Cutover = 3,
3340
+ /**
3341
+ * The migration has been fully migrated.
3342
+ */
3343
+ Migrated = 4,
3344
+ /**
3345
+ * Initial backfill is complete. Delta synchronization continues until cutover is scheduled.
3346
+ */
3347
+ ReadyForCutover = 5,
3348
+ /**
3349
+ * GitHub migration provisioning failed; the migration will retry synchronization on the next job run without re-running validation.
3350
+ */
3351
+ Degraded = 6,
3352
+ /**
3353
+ * Cutover is blocked because failed or blocked resources were detected. The user must review failures and approve before cutover can proceed.
3354
+ */
3355
+ ReviewForCutover = 7
3356
+ }
3357
+ /**
3358
+ * The status of an Enterprise Live Migration.
3359
+ */
3360
+ export declare enum MigrationStatus {
3361
+ /**
3362
+ * The migration is active.
3363
+ */
3364
+ Active = 0,
3365
+ /**
3366
+ * The migration has completed successfully.
3367
+ */
3368
+ Completed = 1,
3369
+ /**
3370
+ * The migration has completed with a failure. The error details can be found in the Migration.Error property.
3371
+ */
3372
+ Failed = 2,
3373
+ /**
3374
+ * The migration was paused.
3375
+ */
3376
+ Paused = 3
3377
+ }
3378
+ /**
3379
+ * Classification of a pipeline being rewired.
3380
+ */
3381
+ export declare enum PipelineClassification {
3382
+ /**
3383
+ * Classification has not been determined yet.
3384
+ */
3385
+ Unknown = 0,
3386
+ /**
3387
+ * Pipeline is in the same project, uses only self repo, no cross-repo templates.
3388
+ */
3389
+ Simple = 1,
3390
+ /**
3391
+ * Pipeline uses extends/template from the same repo (resolves via self).
3392
+ */
3393
+ SameRepoTemplates = 2,
3394
+ /**
3395
+ * Pipeline references templates from another repo via resources.repositories.
3396
+ */
3397
+ CrossRepoTemplates = 3,
3398
+ /**
3399
+ * Pipeline checks out multiple repos including the migrated one.
3400
+ */
3401
+ MultiRepoCheckout = 4,
3402
+ /**
3403
+ * Pipeline YAML lives in a different repo; the migrated repo is referenced in resources.
3404
+ */
3405
+ SeparatePipelineRepo = 5,
3406
+ /**
3407
+ * Pipeline is in a different AzDO project than the migrated repo.
3408
+ */
3409
+ CrossProject = 6
3410
+ }
3411
+ /**
3412
+ * A classification finding for a pipeline. Each finding represents a characteristic that makes the pipeline complex (e.g., cross-repo references, multi-checkout). A pipeline with zero findings is Simple.
3413
+ */
3414
+ export interface PipelineClassificationFinding {
3415
+ /**
3416
+ * External repositories involved in the finding, if any.
3417
+ */
3418
+ affectedRepositories: string[];
3419
+ /**
3420
+ * User-facing description of the issue.
3421
+ */
3422
+ description: string;
3423
+ /**
3424
+ * Short stable identifier for the rule that produced this finding.
3425
+ */
3426
+ ruleName: string;
3427
+ }
3428
+ /**
3429
+ * Represents the rewiring state of a single pipeline within a migration.
3430
+ */
3431
+ export interface PipelineRewireEntry {
3432
+ /**
3433
+ * True if the user has acknowledged this pipeline (e.g., confirmed a complex pipeline has been manually fixed). Acknowledged pipelines do not block cutover.
3434
+ */
3435
+ acknowledged: boolean;
3436
+ /**
3437
+ * The classification of the pipeline.
3438
+ */
3439
+ classification: PipelineClassification;
3440
+ /**
3441
+ * The build definition ID of the clone pipeline, if one has been created.
3442
+ */
3443
+ cloneDefinitionId: number;
3444
+ /**
3445
+ * The YAML filename of the clone on the elm/migrations branch (for complex cases only).
3446
+ */
3447
+ cloneYamlFile: string;
3448
+ /**
3449
+ * The build definition ID of the pipeline.
3450
+ */
3451
+ definitionId: number;
3452
+ /**
3453
+ * Error message if the pipeline rewiring failed.
3454
+ */
3455
+ errorMessage: string;
3456
+ /**
3457
+ * Classification findings that describe why this pipeline is complex. Empty for Simple pipelines.
3458
+ */
3459
+ findings: PipelineClassificationFinding[];
3460
+ /**
3461
+ * The name of the pipeline definition.
3462
+ */
3463
+ name: string;
3464
+ /**
3465
+ * The folder path of the pipeline definition.
3466
+ */
3467
+ path: string;
3468
+ /**
3469
+ * The project ID containing this pipeline.
3470
+ */
3471
+ projectId: string;
3472
+ /**
3473
+ * The project name containing this pipeline.
3474
+ */
3475
+ projectName: string;
3476
+ /**
3477
+ * List of repositories referenced by this pipeline that need mappings. Populated when Status is "needsMappings".
3478
+ */
3479
+ requiredMappings: RepositoryReference[];
3480
+ /**
3481
+ * The current rewiring status.
3482
+ */
3483
+ status: PipelineRewireStatus;
3484
+ /**
3485
+ * The YAML filename used by the pipeline definition.
3486
+ */
3487
+ yamlFilename: string;
3488
+ }
3489
+ /**
3490
+ * Response containing the pipeline rewiring configuration and status for a migration.
3491
+ */
3492
+ export interface PipelineRewireResponse {
3493
+ /**
3494
+ * The list of pipelines and their rewiring status.
3495
+ */
3496
+ pipelines: PipelineRewireEntry[];
3497
+ /**
3498
+ * The GitHub Enterprise service connection ID used for pipeline clones.
3499
+ */
3500
+ serviceConnectionId: string;
3501
+ }
3502
+ /**
3503
+ * The rewiring status of a pipeline.
3504
+ */
3505
+ export declare enum PipelineRewireStatus {
3506
+ /**
3507
+ * Pipeline has been submitted but classification has not started.
3508
+ */
3509
+ Pending = 0,
3510
+ /**
3511
+ * Pipeline is being classified.
3512
+ */
3513
+ Classifying = 1,
3514
+ /**
3515
+ * Pre-checks passed. Ready for rewiring.
3516
+ */
3517
+ PreCheckPassed = 2,
3518
+ /**
3519
+ * Pre-checks failed.
3520
+ */
3521
+ PreCheckFailed = 3,
3522
+ /**
3523
+ * Pipeline has cross-repo references that require repository mappings from the user.
3524
+ */
3525
+ NeedsMappings = 4,
3526
+ /**
3527
+ * A clone definition has been created for testing.
3528
+ */
3529
+ CloneCreated = 5,
3530
+ /**
3531
+ * Rewiring is complete — clone created and ready or original swapped at cutover.
3532
+ */
3533
+ Rewired = 8,
3534
+ /**
3535
+ * The original pipeline has been swapped to point at GitHub. Cutover complete.
3536
+ */
3537
+ SwapComplete = 9,
3538
+ /**
3539
+ * Rewiring failed.
3540
+ */
3541
+ Failed = 10,
3542
+ /**
3543
+ * Clone YAML has been written to the AzDO source repo's \<c\>elm/migrations\</c\> branch and is waiting for ELM code sync to mirror it to GitHub before the clone BuildDefinition can be created. Each sync cycle re-checks GitHub for the snapshotted commit; once visible the entry advances to CloneCreated.
3544
+ */
3545
+ AwaitingCodeSync = 11
3546
+ }
3094
3547
  /**
3095
3548
  * Real time event (SignalR) for a policy evaluation update on a pull request
3096
3549
  */
@@ -3214,6 +3667,36 @@ export declare enum RefFavoriteType {
3214
3667
  Folder = 1,
3215
3668
  Ref = 2
3216
3669
  }
3670
+ /**
3671
+ * Maps an AzDO repository to its GitHub counterpart for cross-repo pipeline rewiring. Used when a pipeline references templates or resources from another AzDO repo that has been (or will be) migrated to GitHub.
3672
+ */
3673
+ export interface RepositoryMapping {
3674
+ /**
3675
+ * The AzDO repository GUID of the source repository.
3676
+ */
3677
+ sourceRepositoryId: string;
3678
+ /**
3679
+ * The GitHub target repository in "owner/repo" format.
3680
+ */
3681
+ targetRepository: string;
3682
+ }
3683
+ /**
3684
+ * Describes a repository referenced by a pipeline that may need a mapping for cross-repo rewiring. Surfaced in RequiredMappings when the pipeline status is NeedsMappings.
3685
+ */
3686
+ export interface RepositoryReference {
3687
+ /**
3688
+ * The AzDO repository GUID, if resolvable.
3689
+ */
3690
+ repositoryId: string;
3691
+ /**
3692
+ * The repository name as referenced in the YAML (e.g. "MyProject/TemplatesRepo").
3693
+ */
3694
+ repositoryName: string;
3695
+ /**
3696
+ * The repository type as declared in the YAML (e.g. "git", "github").
3697
+ */
3698
+ repositoryType: string;
3699
+ }
3217
3700
  /**
3218
3701
  * Real time event (SignalR) for when the target branch of a pull request is changed
3219
3702
  */
@@ -3247,6 +3730,63 @@ export interface ShareNotificationContext {
3247
3730
  */
3248
3731
  receivers: WebApi.IdentityRef[];
3249
3732
  }
3733
+ /**
3734
+ * Flags that identify which pre-migration validation policies to skip.
3735
+ */
3736
+ export declare enum SkipValidationPolicy {
3737
+ /**
3738
+ * Do not skip any validation policies.
3739
+ */
3740
+ None = 0,
3741
+ /**
3742
+ * Skip the active pull request count policy.
3743
+ */
3744
+ ActivePullRequestCount = 1,
3745
+ /**
3746
+ * Skip the pull request delta size policy.
3747
+ */
3748
+ PullRequestDeltaSize = 2,
3749
+ /**
3750
+ * Skip the agent pool exists policy.
3751
+ */
3752
+ AgentPoolExists = 4,
3753
+ /**
3754
+ * Skip the max file size policy.
3755
+ */
3756
+ MaxFileSize = 8,
3757
+ /**
3758
+ * Skip the max pull request size policy.
3759
+ */
3760
+ MaxPullRequestSize = 16,
3761
+ /**
3762
+ * Skip the max push pack size policy.
3763
+ */
3764
+ MaxPushPackSize = 32,
3765
+ /**
3766
+ * Skip the max reference name length policy.
3767
+ */
3768
+ MaxReferenceNameLength = 64,
3769
+ /**
3770
+ * Skip the target repository does not exist policy.
3771
+ */
3772
+ TargetRepositoryDoesNotExist = 256,
3773
+ /**
3774
+ * Skip the source repository contains LFS objects policy.
3775
+ */
3776
+ SourceRepositoryContainsLfsObjects = 512,
3777
+ /**
3778
+ * Skip the source repository read-only (maintenance) check policy.
3779
+ */
3780
+ SourceRepositoryNotReadOnly = 1024,
3781
+ /**
3782
+ * Skip provisioning of Boards GitHub connection.
3783
+ */
3784
+ BoardsGitHubConnectionProvisioning = 2048,
3785
+ /**
3786
+ * Skip all validation policies.
3787
+ */
3788
+ All = 2147483647
3789
+ }
3250
3790
  export interface SourceToTargetRef {
3251
3791
  /**
3252
3792
  * The source ref to copy. For example, refs/heads/master.
@@ -3272,6 +3812,23 @@ export interface StatusesDeletedEvent extends RealTimePullRequestEvent {
3272
3812
  */
3273
3813
  export interface StatusUpdatedEvent extends RealTimePullRequestEvent {
3274
3814
  }
3815
+ /**
3816
+ * Request to submit pipelines for rewiring as part of an Enterprise Live Migration.
3817
+ */
3818
+ export interface SubmitPipelinesRequest {
3819
+ /**
3820
+ * The build definition IDs of the pipelines to rewire.
3821
+ */
3822
+ pipelineIds: number[];
3823
+ /**
3824
+ * Optional mappings for cross-repo references. When a pipeline's YAML references another AzDO repository (via resources.repositories), this mapping tells us which GitHub repository it corresponds to. Not required for simple pipelines.
3825
+ */
3826
+ repositoryMappings: RepositoryMapping[];
3827
+ /**
3828
+ * The ID of the GitHub service connection to use for the rewired pipelines. This must be a project-scoped service connection with access to the target GitHub org. This is separate from the migration-level ServiceEndpointId.
3829
+ */
3830
+ serviceConnectionId: string;
3831
+ }
3275
3832
  /**
3276
3833
  * Represents a Supported IDE entity.
3277
3834
  */
@@ -3929,6 +4486,60 @@ export declare enum TfvcVersionType {
3929
4486
  */
3930
4487
  export interface TitleDescriptionUpdatedEvent extends RealTimePullRequestEvent {
3931
4488
  }
4489
+ /**
4490
+ * Request to update an Enterprise Live Migration.
4491
+ */
4492
+ export interface UpdateMigrationRequest {
4493
+ /**
4494
+ * The number of failed and blocked resources the user has reviewed and accepted. Required when approving cutover for a migration in the ReviewForCutover stage. Must match the current total failure count; rejected if the count has changed. Set to int.MaxValue to accept all failures (requires AllowBlanketCutoverApproval feature flag).
4495
+ */
4496
+ cutoverFailureAcceptedCount: number;
4497
+ /**
4498
+ * Set to true to acknowledge that all rewired pipelines have been verified. Required for cutover when RequiresPipelineVerificationAcknowledgment is true. Independent of CutoverFailureAcceptedCount.
4499
+ */
4500
+ pipelinesVerified: boolean;
4501
+ /**
4502
+ * The UTC date/time representing when the cutover is to occur.
4503
+ */
4504
+ scheduledCutoverDate: Date;
4505
+ /**
4506
+ * The status requested for the migration. Allowed values are "Active" and "Paused".
4507
+ */
4508
+ statusRequested: MigrationStatus;
4509
+ /**
4510
+ * True if the migration should only perform pre-migration validation.
4511
+ */
4512
+ validateOnly: boolean;
4513
+ }
4514
+ /**
4515
+ * Request to update the pipeline rewiring configuration for a migration. All fields are optional — only provided fields are applied.
4516
+ */
4517
+ export interface UpdatePipelinesRequest {
4518
+ /**
4519
+ * Pipeline definition IDs to acknowledge. Acknowledged pipelines (including complex or failed ones) do not block cutover.
4520
+ */
4521
+ acknowledgePipelineIds: number[];
4522
+ /**
4523
+ * Pipeline definition IDs to add to the rewiring selection.
4524
+ */
4525
+ addPipelineIds: number[];
4526
+ /**
4527
+ * Pipeline definition IDs to remove from the rewiring selection. If a clone exists for a removed pipeline, it will be deleted.
4528
+ */
4529
+ removePipelineIds: number[];
4530
+ /**
4531
+ * Repository mappings to add or update. Merged by SourceRepositoryId — if a mapping for the same source repo already exists, it is replaced.
4532
+ */
4533
+ repositoryMappings: RepositoryMapping[];
4534
+ /**
4535
+ * Pipeline definition IDs to retry. Matching entries in Failed status are reset so the next sync cycle retries them. One-shot: the reset happens immediately and the IDs are not persisted.
4536
+ */
4537
+ retryFailedPipelineIds: number[];
4538
+ /**
4539
+ * Updated GitHub service connection ID.
4540
+ */
4541
+ serviceConnectionId: string;
4542
+ }
3932
4543
  export interface UpdateRefsRequest {
3933
4544
  refUpdateRequests: GitRefUpdate[];
3934
4545
  updateMode: GitRefUpdateMode;