contentful-management 7.53.0 → 7.54.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/dist/contentful-management.browser.js +34 -2
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.legacy.js +34 -2
- package/dist/contentful-management.legacy.js.map +1 -1
- package/dist/contentful-management.legacy.min.js +1 -1
- package/dist/contentful-management.node.js +30 -2
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/adapters/REST/endpoints/index.js +3 -1
- package/dist/es-modules/adapters/REST/endpoints/workflows-changelog.js +12 -0
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/es-modules/entities/workflows-changelog-entry.js +26 -0
- package/dist/es-modules/plain/plain-client.js +3 -0
- package/dist/typings/adapters/REST/endpoints/index.d.ts +2 -0
- package/dist/typings/adapters/REST/endpoints/workflows-changelog.d.ts +2 -0
- package/dist/typings/common-types.d.ts +11 -0
- package/dist/typings/entities/workflows-changelog-entry.d.ts +29 -0
- package/dist/typings/export-types.d.ts +3 -2
- package/dist/typings/plain/common-types.d.ts +6 -0
- package/package.json +1 -1
|
@@ -7638,6 +7638,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7638
7638
|
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./webhook */ "./adapters/REST/endpoints/webhook.ts");
|
|
7639
7639
|
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./workflow-definition */ "./adapters/REST/endpoints/workflow-definition.ts");
|
|
7640
7640
|
/* harmony import */ var _workflow__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./workflow */ "./adapters/REST/endpoints/workflow.ts");
|
|
7641
|
+
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
7642
|
+
|
|
7641
7643
|
|
|
7642
7644
|
|
|
7643
7645
|
|
|
@@ -7730,7 +7732,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7730
7732
|
User: _user__WEBPACK_IMPORTED_MODULE_42__,
|
|
7731
7733
|
Webhook: _webhook__WEBPACK_IMPORTED_MODULE_43__,
|
|
7732
7734
|
WorkflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_44__,
|
|
7733
|
-
Workflow: _workflow__WEBPACK_IMPORTED_MODULE_45__
|
|
7735
|
+
Workflow: _workflow__WEBPACK_IMPORTED_MODULE_45__,
|
|
7736
|
+
WorkflowsChangelog: _workflows_changelog__WEBPACK_IMPORTED_MODULE_46__
|
|
7734
7737
|
});
|
|
7735
7738
|
|
|
7736
7739
|
/***/ }),
|
|
@@ -9317,6 +9320,32 @@ var complete = function complete(http, _ref2, headers) {
|
|
|
9317
9320
|
|
|
9318
9321
|
/***/ }),
|
|
9319
9322
|
|
|
9323
|
+
/***/ "./adapters/REST/endpoints/workflows-changelog.ts":
|
|
9324
|
+
/*!********************************************************!*\
|
|
9325
|
+
!*** ./adapters/REST/endpoints/workflows-changelog.ts ***!
|
|
9326
|
+
\********************************************************/
|
|
9327
|
+
/*! exports provided: getMany */
|
|
9328
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9329
|
+
|
|
9330
|
+
"use strict";
|
|
9331
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9332
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getMany", function() { return getMany; });
|
|
9333
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
9334
|
+
|
|
9335
|
+
|
|
9336
|
+
var getBaseUrl = function getBaseUrl(params) {
|
|
9337
|
+
return "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/workflows-changelog");
|
|
9338
|
+
};
|
|
9339
|
+
|
|
9340
|
+
var getMany = function getMany(http, params, headers) {
|
|
9341
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__["get"](http, getBaseUrl(params), {
|
|
9342
|
+
headers: headers,
|
|
9343
|
+
params: params.query
|
|
9344
|
+
});
|
|
9345
|
+
};
|
|
9346
|
+
|
|
9347
|
+
/***/ }),
|
|
9348
|
+
|
|
9320
9349
|
/***/ "./adapters/REST/rest-adapter.ts":
|
|
9321
9350
|
/*!***************************************!*\
|
|
9322
9351
|
!*** ./adapters/REST/rest-adapter.ts ***!
|
|
@@ -10012,7 +10041,7 @@ function createClient(params) {
|
|
|
10012
10041
|
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
10013
10042
|
var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
10014
10043
|
var userAgent = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__["getUserAgentHeader"])( // @ts-expect-error
|
|
10015
|
-
"".concat(sdkMain, "/").concat("7.
|
|
10044
|
+
"".concat(sdkMain, "/").concat("7.54.0"), params.application, params.integration, params.feature);
|
|
10016
10045
|
var adapter = Object(_create_adapter__WEBPACK_IMPORTED_MODULE_1__["createAdapter"])(params); // Parameters<?> and ReturnType<?> only return the types of the last overload
|
|
10017
10046
|
// https://github.com/microsoft/TypeScript/issues/26591
|
|
10018
10047
|
// @ts-expect-error
|
|
@@ -20430,6 +20459,9 @@ var addAlphaFeatures = function addAlphaFeatures(makeRequest, defaults, alphaFea
|
|
|
20430
20459
|
delete: Object(_wrappers_wrap__WEBPACK_IMPORTED_MODULE_2__["wrap"])(wrapParams, 'Workflow', 'delete'),
|
|
20431
20460
|
complete: Object(_wrappers_wrap__WEBPACK_IMPORTED_MODULE_2__["wrap"])(wrapParams, 'Workflow', 'complete')
|
|
20432
20461
|
};
|
|
20462
|
+
alphaInterface.workflowsChangelog = {
|
|
20463
|
+
getMany: Object(_wrappers_wrap__WEBPACK_IMPORTED_MODULE_2__["wrap"])(wrapParams, 'WorkflowsChangelog', 'getMany')
|
|
20464
|
+
};
|
|
20433
20465
|
}
|
|
20434
20466
|
|
|
20435
20467
|
return alphaInterface;
|