@uipath/solution-tool 1.204.0-preview.254 → 1.205.0-preview.256
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/README.md +3 -3
- package/dist/THIRD-PARTY-NOTICES.md +2 -2
- package/dist/archive-extract-x35t9ktj.js +120 -0
- package/dist/cleanup-command-service-n4e7vxnw.js +149 -0
- package/dist/deploy-delete-service-cag0q8yx.js +25 -0
- package/dist/deploy-run-service-f0h8wb9w.js +25 -0
- package/dist/{deploy-status-service-sa302ab9.js → deploy-status-service-yh6xn6e0.js} +41 -33
- package/dist/deploy.js +23 -17
- package/dist/{deployment-search-692d15j3.js → deployment-search-mnywd9nc.js} +16 -10
- package/dist/{embedded-file-reader-rf2g1kfj.js → embedded-file-reader-z4becc02.js} +2 -2
- package/dist/{feed-resolver-yybwzmh6.js → feed-resolver-fve33dxq.js} +10 -9
- package/dist/feed-scope-failure-jmg4t1r1.js +19 -0
- package/dist/{feed-session-sxga31vn.js → feed-session-7xqphdrg.js} +3 -3
- package/dist/governance-options-4vxz7ekn.js +32 -0
- package/dist/index-g8c8nf1c.js +667 -0
- package/dist/index-prm27bvm.js +138 -0
- package/dist/index.js +27 -29
- package/dist/init.js +11 -10
- package/dist/{list-0qrxqrfn.js → list-50mepbed.js} +10 -8
- package/dist/models/pack-command-types.d.ts +15 -0
- package/dist/node-7jm7ksqa.js +86 -0
- package/dist/pack-command-service-dewf5vsq.js +35 -0
- package/dist/pack-project-xwd1rbaa.js +97 -0
- package/dist/pack.js +24 -14
- package/dist/package-id-1wr3cy9c.js +13 -0
- package/dist/packager-tool-09swr9cp.js +171 -0
- package/dist/{packager-tool-dapys0dd.js → packager-tool-2vmsh5pt.js} +196 -1519
- package/dist/{packager-tool-px1j9kre.js → packager-tool-3bwnkjdq.js} +2 -2
- package/dist/{packager-tool-gb35b4qs.js → packager-tool-43ahv5mn.js} +192 -96
- package/dist/{packager-tool-5v92rtp2.js → packager-tool-47by487p.js} +6 -4
- package/dist/packager-tool-47wzvqw0.js +86 -0
- package/dist/{packager-tool-zns6n8zp.js → packager-tool-5ddtwzva.js} +1 -1
- package/dist/packager-tool-5edvzz80.js +543 -0
- package/dist/{packager-tool-13dsb9e6.js → packager-tool-5n6jsn41.js} +104 -14
- package/dist/packager-tool-60af1hw2.js +26 -0
- package/dist/{packager-tool-f5gq77m5.js → packager-tool-61pwb567.js} +2 -2
- package/dist/{packager-tool-yrz4mwfn.js → packager-tool-6kz1pv9f.js} +1373 -486
- package/dist/packager-tool-6ybywxxn.js +1809 -0
- package/dist/packager-tool-8ptbmmmp.js +2132 -0
- package/dist/{packager-tool-7gr2nphb.js → packager-tool-97rcgwvv.js} +224 -6
- package/dist/{packager-tool-9z1yxjme.js → packager-tool-9t26kde1.js} +3556 -1646
- package/dist/packager-tool-act5r386.js +239 -0
- package/dist/packager-tool-amhyxzz6.js +125 -0
- package/dist/packager-tool-b03rva43.js +188 -0
- package/dist/{packager-tool-e2rtr49j.js → packager-tool-b2nhscfk.js} +15 -31
- package/dist/{packager-tool-v8rseyfk.js → packager-tool-d6rrfd46.js} +149 -53
- package/dist/packager-tool-frr2xmkr.js +445 -0
- package/dist/{packager-tool-v8bkkqdb.js → packager-tool-gmwva4yv.js} +5 -5
- package/dist/packager-tool-gs3f3tf7.js +103 -0
- package/dist/packager-tool-jg692f13.js +517 -0
- package/dist/packager-tool-jmpb786m.js +109 -0
- package/dist/{packager-tool-4ytxbjez.js → packager-tool-kds8ytzw.js} +74 -23
- package/dist/packager-tool-kkfb5kgn.js +182 -0
- package/dist/packager-tool-kvcxg0zv.js +1510 -0
- package/dist/packager-tool-n3jfjn5r.js +42 -0
- package/dist/{packager-tool-8sx1w3h1.js → packager-tool-n5d5dx5j.js} +2196 -3455
- package/dist/{packager-tool-97w8aw8y.js → packager-tool-nsya65z1.js} +357 -1370
- package/dist/{packager-tool-fv7xyzg2.js → packager-tool-pbmqk39a.js} +126 -128
- package/dist/{packager-tool-bqre28m1.js → packager-tool-qw47eyw7.js} +1 -1
- package/dist/{packager-tool-erp9bv22.js → packager-tool-rc3hwn4b.js} +25 -4
- package/dist/packager-tool-resolver-994z3jkj.js +23 -0
- package/dist/{packager-tool-d9ethrmn.js → packager-tool-rvt68c1t.js} +17 -8
- package/dist/{packager-tool-gab9y5ct.js → packager-tool-t8gh825q.js} +37 -13
- package/dist/{packager-tool-kswwd3hp.js → packager-tool-tx834spe.js} +2376 -4077
- package/dist/{packager-tool-zf3929se.js → packager-tool-v1f5e8t9.js} +11 -1
- package/dist/{packager-tool-wjk91v0q.js → packager-tool-w77d72a7.js} +13 -11
- package/dist/{packager-tool-1rzssy0x.js → packager-tool-wy4fx250.js} +19 -18
- package/dist/packager-tool-wz34ma3s.js +1333 -0
- package/dist/packager-tool-zq16e1xv.js +68 -0
- package/dist/packager-tool.js +2 -2
- package/dist/prepare-solution-resources-m1djfj62.js +29 -0
- package/dist/project-command-utils-t6pmpvq3.js +90 -0
- package/dist/project-contributions-79ndycrx.js +32 -0
- package/dist/publish.js +13 -12
- package/dist/resource-mutations-c3krjqze.js +36 -0
- package/dist/resource-version-lookup-0e3e2j58.js +99 -0
- package/dist/resource.js +10 -9
- package/dist/restore-command-service-5v0b9363.js +155 -0
- package/dist/run-service-tg6b67wp.js +428 -0
- package/dist/services/deploy-activate-service.d.ts +10 -5
- package/dist/services/deploy-delete-service.d.ts +8 -4
- package/dist/services/deploy-run-service.d.ts +34 -1
- package/dist/services/deploy-uninstall-service.d.ts +21 -3
- package/dist/services/deploy-upgrade-service.d.ts +35 -1
- package/dist/services/deployment-feed-locator.d.ts +15 -4
- package/dist/services/deployment-search-client.d.ts +5 -53
- package/dist/services/deployment-search.d.ts +58 -3
- package/dist/services/deployment-state.d.ts +84 -24
- package/dist/services/deployment-validation.d.ts +5 -0
- package/dist/services/emit-runtime-dependencies.d.ts +2 -1
- package/dist/services/feed-resolver.d.ts +6 -4
- package/dist/services/feed-selection.d.ts +47 -0
- package/dist/services/http-status.d.ts +2 -7
- package/dist/services/pack-command-service.d.ts +9 -0
- package/dist/services/pack-project-selection.d.ts +51 -0
- package/dist/services/pack-project.d.ts +26 -0
- package/dist/services/pack-service.d.ts +7 -3
- package/dist/services/package-search-client.d.ts +7 -0
- package/dist/services/packager-tool-resolver.d.ts +7 -1
- package/dist/services/packages-list-service.d.ts +1 -1
- package/dist/services/permanent-deletion-consent.d.ts +110 -0
- package/dist/services/pipeline-deploy-poll.d.ts +7 -0
- package/dist/services/prepare-solution-resources.d.ts +12 -2
- package/dist/services/project-contributions.d.ts +5 -4
- package/dist/services/search-failure.d.ts +9 -13
- package/dist/services/solution-packager-helpers.d.ts +5 -2
- package/dist/services/solution-path.d.ts +1 -1
- package/dist/services/uninstall-consent.d.ts +82 -0
- package/dist/ship-telemetry-myes7ak5.js +21 -0
- package/dist/solution-auth-aead70sw.js +11 -0
- package/dist/templates/AGENTS.md +125 -12
- package/dist/tool.js +27 -29
- package/dist/utils/deployment-errors.d.ts +9 -1
- package/package.json +2 -2
- package/dist/deploy-delete-service-7fms6rrp.js +0 -22
- package/dist/feed-scope-failure-kf94beem.js +0 -18
- package/dist/packager-tool-f2e9rzxk.js +0 -104
- package/dist/packager-tool-resolver-6zwhec62.js +0 -20
- package/dist/packager-tool-zdfn32bc.js +0 -4465
- package/dist/prepare-solution-resources-jpb5as2s.js +0 -25
- package/dist/project-contributions-6wpff2hm.js +0 -30
- package/dist/services/legacy-deployment-search-v3.d.ts +0 -23
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSdkUserAgentToken,
|
|
3
3
|
installSdkUserAgentHeader
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-6ybywxxn.js";
|
|
5
5
|
|
|
6
6
|
// ../pipelines-sdk/generated/src/runtime.ts
|
|
7
7
|
var BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
@@ -422,7 +422,12 @@ function DeploymentPreActivateStepDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
422
422
|
serviceName: json["serviceName"],
|
|
423
423
|
step: json["step"],
|
|
424
424
|
description: json["description"],
|
|
425
|
-
link: json["link"]
|
|
425
|
+
link: json["link"],
|
|
426
|
+
stepCode: json["stepCode"] == null ? undefined : json["stepCode"],
|
|
427
|
+
resourceKey: json["resourceKey"] == null ? undefined : json["resourceKey"],
|
|
428
|
+
resourceName: json["resourceName"] == null ? undefined : json["resourceName"],
|
|
429
|
+
kind: json["kind"] == null ? undefined : json["kind"],
|
|
430
|
+
folderPaths: json["folderPaths"] == null ? undefined : json["folderPaths"]
|
|
426
431
|
};
|
|
427
432
|
}
|
|
428
433
|
// ../pipelines-sdk/generated/src/models/DeploymentPreActivateStepsDto.ts
|
|
@@ -444,6 +449,20 @@ function DeploymentResourceValidationActionFromJSON(json) {
|
|
|
444
449
|
function DeploymentResourceValidationActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
445
450
|
return json;
|
|
446
451
|
}
|
|
452
|
+
// ../pipelines-sdk/generated/src/models/DeploymentResourceValidationErrorKind.ts
|
|
453
|
+
function DeploymentResourceValidationErrorKindFromJSON(json) {
|
|
454
|
+
return DeploymentResourceValidationErrorKindFromJSONTyped(json, false);
|
|
455
|
+
}
|
|
456
|
+
function DeploymentResourceValidationErrorKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
457
|
+
return json;
|
|
458
|
+
}
|
|
459
|
+
// ../pipelines-sdk/generated/src/models/DeploymentResourceValidationErrorLevel.ts
|
|
460
|
+
function DeploymentResourceValidationErrorLevelFromJSON(json) {
|
|
461
|
+
return DeploymentResourceValidationErrorLevelFromJSONTyped(json, false);
|
|
462
|
+
}
|
|
463
|
+
function DeploymentResourceValidationErrorLevelFromJSONTyped(json, ignoreDiscriminator) {
|
|
464
|
+
return json;
|
|
465
|
+
}
|
|
447
466
|
// ../pipelines-sdk/generated/src/models/ServiceMessage.ts
|
|
448
467
|
function ServiceMessageFromJSON(json) {
|
|
449
468
|
return ServiceMessageFromJSONTyped(json, false);
|
|
@@ -506,7 +525,8 @@ function DeploymentRunServiceStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
506
525
|
status: DeploymentStatusFromJSON(json["status"]),
|
|
507
526
|
updateDate: json["updateDate"] == null ? undefined : new Date(json["updateDate"]),
|
|
508
527
|
serviceErrorMessages: json["serviceErrorMessages"].map(ResourceInstallErrorFromJSON),
|
|
509
|
-
errorMessage: json["errorMessage"] == null ? undefined : json["errorMessage"]
|
|
528
|
+
errorMessage: json["errorMessage"] == null ? undefined : json["errorMessage"],
|
|
529
|
+
activationStatus: json["activationStatus"] == null ? undefined : DeploymentActivationStatusFromJSON(json["activationStatus"])
|
|
510
530
|
};
|
|
511
531
|
}
|
|
512
532
|
// ../pipelines-sdk/generated/src/models/WorkflowAction.ts
|
|
@@ -569,7 +589,9 @@ function DeploymentRunStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
569
589
|
services: json["services"].map(DeploymentRunServiceStatusFromJSON),
|
|
570
590
|
supportsAutomaticActivation: json["supportsAutomaticActivation"],
|
|
571
591
|
businessOwnerKey: json["businessOwnerKey"] == null ? undefined : json["businessOwnerKey"],
|
|
572
|
-
businessOwnerName: json["businessOwnerName"] == null ? undefined : json["businessOwnerName"]
|
|
592
|
+
businessOwnerName: json["businessOwnerName"] == null ? undefined : json["businessOwnerName"],
|
|
593
|
+
activationStatus: json["activationStatus"] == null ? undefined : DeploymentActivationStatusFromJSON(json["activationStatus"]),
|
|
594
|
+
operationStatus: json["operationStatus"] == null ? undefined : DeploymentOperationStatusFromJSON(json["operationStatus"])
|
|
573
595
|
};
|
|
574
596
|
}
|
|
575
597
|
// ../pipelines-sdk/generated/src/models/DeploymentScheduleErrorDto.ts
|
|
@@ -684,6 +706,32 @@ function DeploymentValidationErrorTypeFromJSON(json) {
|
|
|
684
706
|
function DeploymentValidationErrorTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
685
707
|
return json;
|
|
686
708
|
}
|
|
709
|
+
|
|
710
|
+
// ../pipelines-sdk/generated/src/models/DeploymentValidationErrorDto.ts
|
|
711
|
+
function DeploymentValidationErrorDtoFromJSON(json) {
|
|
712
|
+
return DeploymentValidationErrorDtoFromJSONTyped(json, false);
|
|
713
|
+
}
|
|
714
|
+
function DeploymentValidationErrorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
715
|
+
if (json == null) {
|
|
716
|
+
return json;
|
|
717
|
+
}
|
|
718
|
+
return {
|
|
719
|
+
errorType: DeploymentValidationErrorTypeFromJSON(json["errorType"]),
|
|
720
|
+
errorKind: json["errorKind"] == null ? undefined : DeploymentResourceValidationErrorKindFromJSON(json["errorKind"]),
|
|
721
|
+
text: json["text"] == null ? undefined : json["text"],
|
|
722
|
+
errorCode: json["errorCode"] == null ? undefined : json["errorCode"],
|
|
723
|
+
parameters: json["parameters"],
|
|
724
|
+
key: json["key"] == null ? undefined : json["key"],
|
|
725
|
+
resource: json["resource"] == null ? undefined : json["resource"],
|
|
726
|
+
name: json["name"] == null ? undefined : json["name"],
|
|
727
|
+
kind: json["kind"] == null ? undefined : json["kind"],
|
|
728
|
+
type: json["type"] == null ? undefined : json["type"],
|
|
729
|
+
serviceName: json["serviceName"] == null ? undefined : json["serviceName"],
|
|
730
|
+
level: DeploymentResourceValidationErrorLevelFromJSON(json["level"]),
|
|
731
|
+
propertyName: json["propertyName"] == null ? undefined : json["propertyName"],
|
|
732
|
+
folderPaths: json["folderPaths"] == null ? undefined : json["folderPaths"]
|
|
733
|
+
};
|
|
734
|
+
}
|
|
687
735
|
// ../pipelines-sdk/generated/src/models/ExtendedPackageVersionState.ts
|
|
688
736
|
function ExtendedPackageVersionStateFromJSON(json) {
|
|
689
737
|
return ExtendedPackageVersionStateFromJSONTyped(json, false);
|
|
@@ -710,6 +758,31 @@ function FolderInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
710
758
|
function OrderByDirectionToJSON(value) {
|
|
711
759
|
return value;
|
|
712
760
|
}
|
|
761
|
+
// ../pipelines-sdk/generated/src/models/PackageInfo.ts
|
|
762
|
+
function PackageInfoFromJSON(json) {
|
|
763
|
+
return PackageInfoFromJSONTyped(json, false);
|
|
764
|
+
}
|
|
765
|
+
function PackageInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
766
|
+
if (json == null) {
|
|
767
|
+
return json;
|
|
768
|
+
}
|
|
769
|
+
return {
|
|
770
|
+
key: json["key"],
|
|
771
|
+
name: json["name"],
|
|
772
|
+
latestVersion: json["latestVersion"],
|
|
773
|
+
packageVersionKey: json["packageVersionKey"],
|
|
774
|
+
authorName: json["authorName"],
|
|
775
|
+
authorEmail: json["authorEmail"] == null ? undefined : json["authorEmail"],
|
|
776
|
+
publishDate: new Date(json["publishDate"]),
|
|
777
|
+
description: json["description"] == null ? undefined : json["description"],
|
|
778
|
+
releaseNotes: json["releaseNotes"] == null ? undefined : json["releaseNotes"],
|
|
779
|
+
state: ExtendedPackageVersionStateFromJSON(json["state"]),
|
|
780
|
+
allowDownload: json["allowDownload"] == null ? undefined : json["allowDownload"],
|
|
781
|
+
solutionRootFolderName: json["solutionRootFolderName"],
|
|
782
|
+
hasUpgradeableDeployments: json["hasUpgradeableDeployments"],
|
|
783
|
+
hasMultipleVersions: json["hasMultipleVersions"] == null ? undefined : json["hasMultipleVersions"]
|
|
784
|
+
};
|
|
785
|
+
}
|
|
713
786
|
// ../pipelines-sdk/generated/src/models/ResourceTaskStatus.ts
|
|
714
787
|
function ResourceTaskStatusFromJSON(json) {
|
|
715
788
|
return ResourceTaskStatusFromJSONTyped(json, false);
|
|
@@ -859,6 +932,19 @@ function PageInfoDtoOfDeploymentSearchItemDtoFromJSONTyped(json, ignoreDiscrimin
|
|
|
859
932
|
values: json["values"].map(DeploymentSearchItemDtoFromJSON)
|
|
860
933
|
};
|
|
861
934
|
}
|
|
935
|
+
// ../pipelines-sdk/generated/src/models/PageInfoDtoOfPackageInfo.ts
|
|
936
|
+
function PageInfoDtoOfPackageInfoFromJSON(json) {
|
|
937
|
+
return PageInfoDtoOfPackageInfoFromJSONTyped(json, false);
|
|
938
|
+
}
|
|
939
|
+
function PageInfoDtoOfPackageInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
940
|
+
if (json == null) {
|
|
941
|
+
return json;
|
|
942
|
+
}
|
|
943
|
+
return {
|
|
944
|
+
count: json["count"],
|
|
945
|
+
values: json["values"].map(PackageInfoFromJSON)
|
|
946
|
+
};
|
|
947
|
+
}
|
|
862
948
|
// ../pipelines-sdk/generated/src/models/PipelineDeploymentConflictErrorDto.ts
|
|
863
949
|
function PipelineDeploymentConflictErrorDtoFromJSON(json) {
|
|
864
950
|
return PipelineDeploymentConflictErrorDtoFromJSONTyped(json, false);
|
|
@@ -949,6 +1035,28 @@ function PipelineDeploymentResultRefFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
949
1035
|
pipelineDeploymentId: json["pipelineDeploymentId"]
|
|
950
1036
|
};
|
|
951
1037
|
}
|
|
1038
|
+
// ../pipelines-sdk/generated/src/models/SolutionDeploymentAction.ts
|
|
1039
|
+
function SolutionDeploymentActionFromJSON(json) {
|
|
1040
|
+
return SolutionDeploymentActionFromJSONTyped(json, false);
|
|
1041
|
+
}
|
|
1042
|
+
function SolutionDeploymentActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
1043
|
+
return json;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
// ../pipelines-sdk/generated/src/models/PipelineDeploymentValidationResult.ts
|
|
1047
|
+
function PipelineDeploymentValidationResultFromJSON(json) {
|
|
1048
|
+
return PipelineDeploymentValidationResultFromJSONTyped(json, false);
|
|
1049
|
+
}
|
|
1050
|
+
function PipelineDeploymentValidationResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
1051
|
+
if (json == null) {
|
|
1052
|
+
return json;
|
|
1053
|
+
}
|
|
1054
|
+
return {
|
|
1055
|
+
deploymentAction: SolutionDeploymentActionFromJSON(json["deploymentAction"]),
|
|
1056
|
+
success: json["success"] == null ? undefined : json["success"],
|
|
1057
|
+
validationErrors: json["validationErrors"].map(DeploymentValidationErrorDtoFromJSON)
|
|
1058
|
+
};
|
|
1059
|
+
}
|
|
952
1060
|
// ../pipelines-sdk/generated/src/models/PipelineDeploymentsSearchRequest.ts
|
|
953
1061
|
function PipelineDeploymentsSearchRequestToJSON(json) {
|
|
954
1062
|
return PipelineDeploymentsSearchRequestToJSONTyped(json, false);
|
|
@@ -976,6 +1084,22 @@ function PipelineDeploymentsSearchRequestToJSONTyped(value, ignoreDiscriminator
|
|
|
976
1084
|
businessOwnerKey: value["businessOwnerKey"]
|
|
977
1085
|
};
|
|
978
1086
|
}
|
|
1087
|
+
// ../pipelines-sdk/generated/src/models/PipelinePackagesSearchRequest.ts
|
|
1088
|
+
function PipelinePackagesSearchRequestToJSON(json) {
|
|
1089
|
+
return PipelinePackagesSearchRequestToJSONTyped(json, false);
|
|
1090
|
+
}
|
|
1091
|
+
function PipelinePackagesSearchRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1092
|
+
if (value == null) {
|
|
1093
|
+
return value;
|
|
1094
|
+
}
|
|
1095
|
+
return {
|
|
1096
|
+
orderByColumn: value["orderByColumn"],
|
|
1097
|
+
orderByDirection: OrderByDirectionToJSON(value["orderByDirection"]),
|
|
1098
|
+
searchTerm: value["searchTerm"],
|
|
1099
|
+
skip: value["skip"],
|
|
1100
|
+
take: value["take"]
|
|
1101
|
+
};
|
|
1102
|
+
}
|
|
979
1103
|
// ../pipelines-sdk/generated/src/models/SolutionProjectSyncStatus.ts
|
|
980
1104
|
function SolutionProjectSyncStatusFromJSON(json) {
|
|
981
1105
|
return SolutionProjectSyncStatusFromJSONTyped(json, false);
|
|
@@ -1048,6 +1172,39 @@ function SyncProjectOptionsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1048
1172
|
}
|
|
1049
1173
|
// ../pipelines-sdk/generated/src/apis/PipelinesApi.ts
|
|
1050
1174
|
class PipelinesApi extends BaseAPI {
|
|
1175
|
+
async pipelinesAcknowledgeResourcePermanentDeletionRaw(requestParameters, initOverrides) {
|
|
1176
|
+
if (requestParameters["deploymentName"] == null) {
|
|
1177
|
+
throw new RequiredError("deploymentName", 'Required parameter "deploymentName" was null or undefined when calling pipelinesAcknowledgeResourcePermanentDeletion().');
|
|
1178
|
+
}
|
|
1179
|
+
if (requestParameters["resourceKey"] == null) {
|
|
1180
|
+
throw new RequiredError("resourceKey", 'Required parameter "resourceKey" was null or undefined when calling pipelinesAcknowledgeResourcePermanentDeletion().');
|
|
1181
|
+
}
|
|
1182
|
+
const queryParameters = {};
|
|
1183
|
+
if (requestParameters["acknowledged"] != null) {
|
|
1184
|
+
queryParameters["acknowledged"] = requestParameters["acknowledged"];
|
|
1185
|
+
}
|
|
1186
|
+
const headerParameters = {};
|
|
1187
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1188
|
+
const token = this.configuration.accessToken;
|
|
1189
|
+
const tokenString = await token("Bearer", []);
|
|
1190
|
+
if (tokenString) {
|
|
1191
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
let urlPath = `/v1/pipelines/deployments/{deploymentName}/resources/{resourceKey}/acknowledge-permanent-deletion`;
|
|
1195
|
+
urlPath = urlPath.replace(`{${"deploymentName"}}`, encodeURIComponent(String(requestParameters["deploymentName"])));
|
|
1196
|
+
urlPath = urlPath.replace(`{${"resourceKey"}}`, encodeURIComponent(String(requestParameters["resourceKey"])));
|
|
1197
|
+
const response = await this.request({
|
|
1198
|
+
path: urlPath,
|
|
1199
|
+
method: "PATCH",
|
|
1200
|
+
headers: headerParameters,
|
|
1201
|
+
query: queryParameters
|
|
1202
|
+
}, initOverrides);
|
|
1203
|
+
return new VoidApiResponse(response);
|
|
1204
|
+
}
|
|
1205
|
+
async pipelinesAcknowledgeResourcePermanentDeletion(requestParameters, initOverrides) {
|
|
1206
|
+
await this.pipelinesAcknowledgeResourcePermanentDeletionRaw(requestParameters, initOverrides);
|
|
1207
|
+
}
|
|
1051
1208
|
async pipelinesActivateRaw(requestParameters, initOverrides) {
|
|
1052
1209
|
if (requestParameters["deploymentName"] == null) {
|
|
1053
1210
|
throw new RequiredError("deploymentName", 'Required parameter "deploymentName" was null or undefined when calling pipelinesActivate().');
|
|
@@ -1155,6 +1312,39 @@ class PipelinesApi extends BaseAPI {
|
|
|
1155
1312
|
const response = await this.pipelinesGetDeploymentInstanceStatusRaw(requestParameters, initOverrides);
|
|
1156
1313
|
return await response.value();
|
|
1157
1314
|
}
|
|
1315
|
+
async pipelinesGetDeploymentValidationResultRaw(requestParameters, initOverrides) {
|
|
1316
|
+
if (requestParameters["deploymentName"] == null) {
|
|
1317
|
+
throw new RequiredError("deploymentName", 'Required parameter "deploymentName" was null or undefined when calling pipelinesGetDeploymentValidationResult().');
|
|
1318
|
+
}
|
|
1319
|
+
const queryParameters = {};
|
|
1320
|
+
if (requestParameters["deploymentAction"] != null) {
|
|
1321
|
+
queryParameters["deploymentAction"] = requestParameters["deploymentAction"];
|
|
1322
|
+
}
|
|
1323
|
+
if (requestParameters["errorKind"] != null) {
|
|
1324
|
+
queryParameters["errorKind"] = requestParameters["errorKind"];
|
|
1325
|
+
}
|
|
1326
|
+
const headerParameters = {};
|
|
1327
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1328
|
+
const token = this.configuration.accessToken;
|
|
1329
|
+
const tokenString = await token("Bearer", []);
|
|
1330
|
+
if (tokenString) {
|
|
1331
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
let urlPath = `/v1/pipelines/deployments/{deploymentName}/validation-result`;
|
|
1335
|
+
urlPath = urlPath.replace(`{${"deploymentName"}}`, encodeURIComponent(String(requestParameters["deploymentName"])));
|
|
1336
|
+
const response = await this.request({
|
|
1337
|
+
path: urlPath,
|
|
1338
|
+
method: "GET",
|
|
1339
|
+
headers: headerParameters,
|
|
1340
|
+
query: queryParameters
|
|
1341
|
+
}, initOverrides);
|
|
1342
|
+
return new JSONApiResponse(response, (jsonValue) => PipelineDeploymentValidationResultFromJSON(jsonValue));
|
|
1343
|
+
}
|
|
1344
|
+
async pipelinesGetDeploymentValidationResult(requestParameters, initOverrides) {
|
|
1345
|
+
const response = await this.pipelinesGetDeploymentValidationResultRaw(requestParameters, initOverrides);
|
|
1346
|
+
return await response.value();
|
|
1347
|
+
}
|
|
1158
1348
|
async pipelinesGetPackagePublishStatusRaw(requestParameters, initOverrides) {
|
|
1159
1349
|
if (requestParameters["packageName"] == null) {
|
|
1160
1350
|
throw new RequiredError("packageName", 'Required parameter "packageName" was null or undefined when calling pipelinesGetPackagePublishStatus().');
|
|
@@ -1527,6 +1717,34 @@ class PipelinesApi extends BaseAPI {
|
|
|
1527
1717
|
const response = await this.pipelinesSearchDeploymentsRaw(requestParameters, initOverrides);
|
|
1528
1718
|
return await response.value();
|
|
1529
1719
|
}
|
|
1720
|
+
async pipelinesSearchPackagesRaw(requestParameters, initOverrides) {
|
|
1721
|
+
if (requestParameters["pipelinePackagesSearchRequest"] == null) {
|
|
1722
|
+
throw new RequiredError("pipelinePackagesSearchRequest", 'Required parameter "pipelinePackagesSearchRequest" was null or undefined when calling pipelinesSearchPackages().');
|
|
1723
|
+
}
|
|
1724
|
+
const queryParameters = {};
|
|
1725
|
+
const headerParameters = {};
|
|
1726
|
+
headerParameters["Content-Type"] = "application/json";
|
|
1727
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1728
|
+
const token = this.configuration.accessToken;
|
|
1729
|
+
const tokenString = await token("Bearer", []);
|
|
1730
|
+
if (tokenString) {
|
|
1731
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
let urlPath = `/v1/pipelines/packages/search`;
|
|
1735
|
+
const response = await this.request({
|
|
1736
|
+
path: urlPath,
|
|
1737
|
+
method: "POST",
|
|
1738
|
+
headers: headerParameters,
|
|
1739
|
+
query: queryParameters,
|
|
1740
|
+
body: PipelinePackagesSearchRequestToJSON(requestParameters["pipelinePackagesSearchRequest"])
|
|
1741
|
+
}, initOverrides);
|
|
1742
|
+
return new JSONApiResponse(response, (jsonValue) => PageInfoDtoOfPackageInfoFromJSON(jsonValue));
|
|
1743
|
+
}
|
|
1744
|
+
async pipelinesSearchPackages(requestParameters, initOverrides) {
|
|
1745
|
+
const response = await this.pipelinesSearchPackagesRaw(requestParameters, initOverrides);
|
|
1746
|
+
return await response.value();
|
|
1747
|
+
}
|
|
1530
1748
|
async pipelinesSyncProjectRaw(requestParameters, initOverrides) {
|
|
1531
1749
|
if (requestParameters["projectName"] == null) {
|
|
1532
1750
|
throw new RequiredError("projectName", 'Required parameter "projectName" was null or undefined when calling pipelinesSyncProject().');
|
|
@@ -1595,7 +1813,7 @@ var package_default = {
|
|
|
1595
1813
|
name: "@uipath/pipelines-sdk",
|
|
1596
1814
|
author: "UiPath",
|
|
1597
1815
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
1598
|
-
version: "1.
|
|
1816
|
+
version: "1.205.0",
|
|
1599
1817
|
description: "Generated TypeScript client for UiPath Pipelines API (CI/CD deployment lifecycle)",
|
|
1600
1818
|
repository: {
|
|
1601
1819
|
type: "git",
|
|
@@ -1646,4 +1864,4 @@ var SDK_USER_AGENT = getSdkUserAgentToken(package_default);
|
|
|
1646
1864
|
installSdkUserAgentHeader(BaseAPI, SDK_USER_AGENT);
|
|
1647
1865
|
export { Configuration, DeploymentOperation, DeploymentStatus, PipelinesApi };
|
|
1648
1866
|
|
|
1649
|
-
//# debugId=
|
|
1867
|
+
//# debugId=B8A4D921529145B164756E2164756E21
|