contentful-management 11.24.4 → 11.25.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.
@@ -15999,6 +15999,7 @@ var WorkflowStepPermissionType = /*#__PURE__*/function (WorkflowStepPermissionTy
15999
15999
  var WorkflowStepPermissionAction = /*#__PURE__*/function (WorkflowStepPermissionAction) {
16000
16000
  WorkflowStepPermissionAction["Edit"] = "edit";
16001
16001
  WorkflowStepPermissionAction["Publish"] = "publish";
16002
+ WorkflowStepPermissionAction["Delete"] = "delete";
16002
16003
  return WorkflowStepPermissionAction;
16003
16004
  }({});
16004
16005
  var WorkflowStepPermissionEffect = /*#__PURE__*/function (WorkflowStepPermissionEffect) {
@@ -16081,10 +16082,14 @@ var wrapWorkflowDefinitionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE
16081
16082
  "use strict";
16082
16083
  __webpack_require__.r(__webpack_exports__);
16083
16084
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
16084
- /* harmony export */ ScheduledActionReferenceFilters: function() { return /* reexport safe */ _common_types__WEBPACK_IMPORTED_MODULE_0__.ScheduledActionReferenceFilters; }
16085
+ /* harmony export */ ScheduledActionReferenceFilters: function() { return /* reexport safe */ _common_types__WEBPACK_IMPORTED_MODULE_0__.ScheduledActionReferenceFilters; },
16086
+ /* harmony export */ WorkflowStepPermissionAction: function() { return /* reexport safe */ _entities_workflow_definition__WEBPACK_IMPORTED_MODULE_2__.WorkflowStepPermissionAction; },
16087
+ /* harmony export */ WorkflowStepPermissionEffect: function() { return /* reexport safe */ _entities_workflow_definition__WEBPACK_IMPORTED_MODULE_2__.WorkflowStepPermissionEffect; },
16088
+ /* harmony export */ WorkflowStepPermissionType: function() { return /* reexport safe */ _entities_workflow_definition__WEBPACK_IMPORTED_MODULE_2__.WorkflowStepPermissionType; }
16085
16089
  /* harmony export */ });
16086
16090
  /* harmony import */ var _common_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common-types */ "./common-types.ts");
16087
16091
  /* harmony import */ var _plain_common_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./plain/common-types */ "./plain/common-types.ts");
16092
+ /* harmony import */ var _entities_workflow_definition__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./entities/workflow-definition */ "./entities/workflow-definition.ts");
16088
16093
 
16089
16094
 
16090
16095
 
@@ -24956,7 +24961,8 @@ function getCleanClone(prototype) {
24956
24961
  if (Constructor === Object) {
24957
24962
  return prototype === Object.prototype ? {} : create(prototype);
24958
24963
  }
24959
- if (~toStringFunction.call(Constructor).indexOf('[native code]')) {
24964
+ if (Constructor &&
24965
+ ~toStringFunction.call(Constructor).indexOf('[native code]')) {
24960
24966
  try {
24961
24967
  return new Constructor();
24962
24968
  }
@@ -25405,6 +25411,9 @@ __webpack_require__.r(__webpack_exports__);
25405
25411
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25406
25412
  /* harmony export */ RestAdapter: function() { return /* reexport safe */ _adapters_REST_rest_adapter__WEBPACK_IMPORTED_MODULE_7__.RestAdapter; },
25407
25413
  /* harmony export */ ScheduledActionReferenceFilters: function() { return /* reexport safe */ _export_types__WEBPACK_IMPORTED_MODULE_8__.ScheduledActionReferenceFilters; },
25414
+ /* harmony export */ WorkflowStepPermissionAction: function() { return /* reexport safe */ _export_types__WEBPACK_IMPORTED_MODULE_8__.WorkflowStepPermissionAction; },
25415
+ /* harmony export */ WorkflowStepPermissionEffect: function() { return /* reexport safe */ _export_types__WEBPACK_IMPORTED_MODULE_8__.WorkflowStepPermissionEffect; },
25416
+ /* harmony export */ WorkflowStepPermissionType: function() { return /* reexport safe */ _export_types__WEBPACK_IMPORTED_MODULE_8__.WorkflowStepPermissionType; },
25408
25417
  /* harmony export */ asIterator: function() { return /* reexport safe */ _plain_as_iterator__WEBPACK_IMPORTED_MODULE_5__.asIterator; },
25409
25418
  /* harmony export */ createClient: function() { return /* binding */ createClient; },
25410
25419
  /* harmony export */ editorInterfaceDefaults: function() { return /* reexport module object */ _constants_editor_interface_defaults__WEBPACK_IMPORTED_MODULE_4__; },
@@ -25469,7 +25478,7 @@ function createClient(params) {
25469
25478
  var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
25470
25479
  var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
25471
25480
  var userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)( // @ts-expect-error
25472
- "".concat(sdkMain, "/").concat("11.24.4"), params.application, params.integration, params.feature);
25481
+ "".concat(sdkMain, "/").concat("11.25.0"), params.application, params.integration, params.feature);
25473
25482
  var adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
25474
25483
  userAgent: userAgent
25475
25484
  }));