@opengeni/sdk 0.40.0 → 0.41.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.
@@ -1559,6 +1559,24 @@ var OpenGeniClient = class {
1559
1559
  request
1560
1560
  );
1561
1561
  }
1562
+ /** List the newest immutable onboarding proposals and their inactive policy drafts. */
1563
+ async listWorkspaceInstructionPolicyOnboardingProposals(workspaceId, options = {}) {
1564
+ const params = new URLSearchParams();
1565
+ if (options.limit !== void 0) params.set("limit", String(options.limit));
1566
+ const query = params.toString();
1567
+ return await this.requestJson(
1568
+ "GET",
1569
+ `/v1/workspaces/${workspaceId}/instruction-policies/onboarding-proposals${query ? `?${query}` : ""}`
1570
+ );
1571
+ }
1572
+ /** Create one draft-only proposal against an exact active-policy baseline. */
1573
+ async createWorkspaceInstructionPolicyOnboardingProposal(workspaceId, request) {
1574
+ return await this.requestJson(
1575
+ "POST",
1576
+ `/v1/workspaces/${workspaceId}/instruction-policies/onboarding-proposals`,
1577
+ request
1578
+ );
1579
+ }
1562
1580
  /** Import the stored legacy workspace override as an inactive charter draft. */
1563
1581
  async importLegacyWorkspaceInstructionPolicyDraft(workspaceId, request = {}) {
1564
1582
  return await this.requestJson(
@@ -3050,4 +3068,4 @@ export {
3050
3068
  authorizeTranscriptionAdapter,
3051
3069
  createTranscriptionSessionRequest
3052
3070
  };
3053
- //# sourceMappingURL=chunk-SSQPCFEN.js.map
3071
+ //# sourceMappingURL=chunk-DKNW4WMJ.js.map