contentful-management 10.24.1 → 10.26.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.
@@ -9093,17 +9093,21 @@ var del = function del(http, params) {
9093
9093
  /*!****************************************************!*\
9094
9094
  !*** ./adapters/REST/endpoints/app-action-call.ts ***!
9095
9095
  \****************************************************/
9096
- /*! exports provided: create */
9096
+ /*! exports provided: create, getCallDetails */
9097
9097
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9098
9098
 
9099
9099
  "use strict";
9100
9100
  __webpack_require__.r(__webpack_exports__);
9101
9101
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "create", function() { return create; });
9102
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getCallDetails", function() { return getCallDetails; });
9102
9103
  /* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
9103
9104
 
9104
9105
  var create = function create(http, params, data) {
9105
9106
  return _raw__WEBPACK_IMPORTED_MODULE_0__["post"](http, "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/app_installations/").concat(params.appDefinitionId, "/actions/").concat(params.appActionId, "/calls"), data);
9106
9107
  };
9108
+ var getCallDetails = function getCallDetails(http, params) {
9109
+ return _raw__WEBPACK_IMPORTED_MODULE_0__["get"](http, "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/actions/").concat(params.appActionId, "/calls/").concat(params.callId));
9110
+ };
9107
9111
 
9108
9112
  /***/ }),
9109
9113
 
@@ -12666,6 +12670,9 @@ var INTERNAL_TO_API = {
12666
12670
  type: 'Link',
12667
12671
  linkType: 'Asset'
12668
12672
  },
12673
+ Resource: {
12674
+ type: 'ResourceLink'
12675
+ },
12669
12676
  Symbols: {
12670
12677
  type: 'Array',
12671
12678
  items: {
@@ -12685,6 +12692,12 @@ var INTERNAL_TO_API = {
12685
12692
  type: 'Link',
12686
12693
  linkType: 'Asset'
12687
12694
  }
12695
+ },
12696
+ Resources: {
12697
+ type: 'Array',
12698
+ items: {
12699
+ type: 'ResourceLink'
12700
+ }
12688
12701
  }
12689
12702
  };
12690
12703
  var FIELD_TYPES = Object.keys(INTERNAL_TO_API);
@@ -12782,6 +12795,12 @@ var DEFAULTS_WIDGET = {
12782
12795
  },
12783
12796
  File: {
12784
12797
  widgetId: 'fileEditor'
12798
+ },
12799
+ Resource: {
12800
+ widgetId: 'resourceLinkEditor'
12801
+ },
12802
+ Resources: {
12803
+ widgetId: 'resourceLinksEditor'
12785
12804
  }
12786
12805
  };
12787
12806
  var DEFAULTS_SETTINGS = {
@@ -13100,7 +13119,7 @@ function createClient(params) {
13100
13119
  var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
13101
13120
  var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
13102
13121
  var userAgent = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__["getUserAgentHeader"])( // @ts-expect-error
13103
- "".concat(sdkMain, "/").concat("10.24.1"), params.application, params.integration, params.feature);
13122
+ "".concat(sdkMain, "/").concat("10.26.0"), params.application, params.integration, params.feature);
13104
13123
  var adapter = Object(_create_adapter__WEBPACK_IMPORTED_MODULE_1__["createAdapter"])(params);
13105
13124
 
13106
13125
  // Parameters<?> and ReturnType<?> only return the types of the last overload
@@ -23942,7 +23961,8 @@ var createPlainClient = function createPlainClient(makeRequest, defaults, alphaF
23942
23961
  update: Object(_wrappers_wrap__WEBPACK_IMPORTED_MODULE_2__["wrap"])(wrapParams, 'AppAction', 'update')
23943
23962
  },
23944
23963
  appActionCall: {
23945
- create: Object(_wrappers_wrap__WEBPACK_IMPORTED_MODULE_2__["wrap"])(wrapParams, 'AppActionCall', 'create')
23964
+ create: Object(_wrappers_wrap__WEBPACK_IMPORTED_MODULE_2__["wrap"])(wrapParams, 'AppActionCall', 'create'),
23965
+ getCallDetails: Object(_wrappers_wrap__WEBPACK_IMPORTED_MODULE_2__["wrap"])(wrapParams, 'AppActionCall', 'getCallDetails')
23946
23966
  },
23947
23967
  appBundle: {
23948
23968
  get: Object(_wrappers_wrap__WEBPACK_IMPORTED_MODULE_2__["wrap"])(wrapParams, 'AppBundle', 'get'),