@bpmsoftwaresolutions/ai-engine-client 1.1.63 → 1.1.64
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/package.json +1 -1
- package/src/index.js +39 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -5680,6 +5680,45 @@ export class AIEngineClient {
|
|
|
5680
5680
|
});
|
|
5681
5681
|
}
|
|
5682
5682
|
|
|
5683
|
+
async checkGitShipReadiness({
|
|
5684
|
+
claimId,
|
|
5685
|
+
actorId,
|
|
5686
|
+
targetBranch,
|
|
5687
|
+
shipCommand,
|
|
5688
|
+
packageName,
|
|
5689
|
+
declaredScopeFiles,
|
|
5690
|
+
stagedFiles,
|
|
5691
|
+
dirtyFiles,
|
|
5692
|
+
branch,
|
|
5693
|
+
headSha,
|
|
5694
|
+
packageJsonVersion,
|
|
5695
|
+
facadeMinClientVersion,
|
|
5696
|
+
packageRelease,
|
|
5697
|
+
packageJsonHash,
|
|
5698
|
+
sdkVersionHash,
|
|
5699
|
+
} = {}) {
|
|
5700
|
+
return this._request('/api/commit-governance/ship-readiness', {
|
|
5701
|
+
method: 'POST',
|
|
5702
|
+
body: {
|
|
5703
|
+
claim_id: claimId,
|
|
5704
|
+
actor_id: actorId,
|
|
5705
|
+
target_branch: targetBranch,
|
|
5706
|
+
ship_command: shipCommand,
|
|
5707
|
+
package_name: packageName,
|
|
5708
|
+
declared_scope_files: declaredScopeFiles,
|
|
5709
|
+
staged_files: stagedFiles,
|
|
5710
|
+
dirty_files: dirtyFiles,
|
|
5711
|
+
branch,
|
|
5712
|
+
head_sha: headSha,
|
|
5713
|
+
package_json_version: packageJsonVersion,
|
|
5714
|
+
facade_min_client_version: facadeMinClientVersion,
|
|
5715
|
+
package_release: packageRelease,
|
|
5716
|
+
package_json_hash: packageJsonHash,
|
|
5717
|
+
sdk_version_hash: sdkVersionHash,
|
|
5718
|
+
},
|
|
5719
|
+
});
|
|
5720
|
+
}
|
|
5721
|
+
|
|
5683
5722
|
async getCommitGovernanceEvaluation(evaluationId) {
|
|
5684
5723
|
return this._request(`/api/commit-governance/evaluations/${encodeURIComponent(evaluationId)}`);
|
|
5685
5724
|
}
|