contentful-management 12.1.0 → 12.2.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.
package/README.md CHANGED
@@ -463,7 +463,7 @@ In addition, there may be some experimental features in the main build of this S
463
463
 
464
464
  ### Current experimental features
465
465
 
466
- - **AI Agents**: The Agent and Agent Run APIs (`getAgent`, `getAgents`, `getAgentRun`, `getAgentRuns`, `generateWithAgent`) are experimental and subject to breaking changes without notice.
466
+ - **AI Agents**: The Agent and Agent Run APIs (`getAgent`, `getAgents`, `getAgentRun`, `getAgentRuns`, `generateWithAgent`, `resumeAgentRun`) are experimental and subject to breaking changes without notice.
467
467
  - **Component Types**: The Component Type `getMany` endpoint (`componentType.getMany`) is experimental and subject to breaking changes without notice.
468
468
 
469
469
  ## Support Policy
@@ -9885,11 +9885,20 @@ var contentfulManagement = (function (exports) {
9885
9885
  },
9886
9886
  });
9887
9887
  };
9888
+ const resumeRun = (http, params, data, headers) => {
9889
+ return post$1(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/ai/agents/runs/${params.runId}/resume`, data, {
9890
+ headers: {
9891
+ ...AgentRunAlphaHeaders,
9892
+ ...headers,
9893
+ },
9894
+ });
9895
+ };
9888
9896
 
9889
9897
  var AgentRun = /*#__PURE__*/Object.freeze({
9890
9898
  __proto__: null,
9891
9899
  get: get$10,
9892
- getMany: getMany$N
9900
+ getMany: getMany$N,
9901
+ resumeRun: resumeRun
9893
9902
  });
9894
9903
 
9895
9904
  /**
@@ -23463,6 +23472,7 @@ var contentfulManagement = (function (exports) {
23463
23472
  agentRun: {
23464
23473
  get: wrap(wrapParams, 'AgentRun', 'get'),
23465
23474
  getMany: wrap(wrapParams, 'AgentRun', 'getMany'),
23475
+ resumeRun: wrap(wrapParams, 'AgentRun', 'resumeRun'),
23466
23476
  },
23467
23477
  automationDefinition: {
23468
23478
  get: wrap(wrapParams, 'AutomationDefinition', 'get'),