contentful-management 11.47.2 → 11.48.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 +28 -2
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +28 -2
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/common-types.js +7 -0
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/es-modules/create-environment-api.js +11 -1
- package/dist/es-modules/entities/app-action.js +9 -0
- package/dist/typings/common-types.d.ts +17 -1
- package/dist/typings/create-environment-api.d.ts +13 -3
- package/dist/typings/create-organization-api.d.ts +264 -6
- package/dist/typings/entities/app-action.d.ts +59 -14
- package/dist/typings/plain/entities/app-action.d.ts +46 -0
- package/dist/typings/plain/entities/function-log.d.ts +14 -2
- package/package.json +7 -2
|
@@ -4862,6 +4862,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4862
4862
|
|
|
4863
4863
|
// Interfaces for each “exclusive” shape
|
|
4864
4864
|
|
|
4865
|
+
// Helper type for creating property paths with comparison operators
|
|
4866
|
+
// For example "sys.createdAt[gte]", P = sys.createdAt, O = gte
|
|
4867
|
+
|
|
4868
|
+
// Helper types to ensure only one start operator can be used and only one end operator can be used
|
|
4869
|
+
|
|
4870
|
+
// Type for valid date range combinations - only start, only end, or both
|
|
4871
|
+
|
|
4865
4872
|
/**
|
|
4866
4873
|
* @private
|
|
4867
4874
|
*/
|
|
@@ -8855,7 +8862,17 @@ function createEnvironmentApi(makeRequest) {
|
|
|
8855
8862
|
* environment.getFunctionLogs(
|
|
8856
8863
|
* '<app-installation-id>',
|
|
8857
8864
|
* '<function-id>',
|
|
8858
|
-
* {
|
|
8865
|
+
* {
|
|
8866
|
+
* query: {
|
|
8867
|
+
* // optional limit
|
|
8868
|
+
* limit: 10,
|
|
8869
|
+
* // optional interval query
|
|
8870
|
+
* 'sys.createdAt[gte]': start,
|
|
8871
|
+
* 'sys.createdAt[lt]': end,
|
|
8872
|
+
* // optional cursor based pagination parameters
|
|
8873
|
+
* pagePrev: '<page_prev>',
|
|
8874
|
+
* },
|
|
8875
|
+
* },
|
|
8859
8876
|
* )
|
|
8860
8877
|
* )
|
|
8861
8878
|
* .then((functionLogs) => console.log(functionLog.items))
|
|
@@ -13563,6 +13580,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13563
13580
|
|
|
13564
13581
|
|
|
13565
13582
|
|
|
13583
|
+
|
|
13584
|
+
/**
|
|
13585
|
+
* 'function' is deprecated, use 'function-invocation' instead
|
|
13586
|
+
*/
|
|
13587
|
+
|
|
13588
|
+
/**
|
|
13589
|
+
* @deprecated Use FunctionAppActionProps instead
|
|
13590
|
+
*/
|
|
13591
|
+
|
|
13566
13592
|
/**
|
|
13567
13593
|
* @private
|
|
13568
13594
|
*/
|
|
@@ -28678,7 +28704,7 @@ function createClient(params) {
|
|
|
28678
28704
|
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
28679
28705
|
var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
28680
28706
|
var userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(// @ts-expect-error
|
|
28681
|
-
"".concat(sdkMain, "/").concat("11.
|
|
28707
|
+
"".concat(sdkMain, "/").concat("11.48.0"), params.application, params.integration, params.feature);
|
|
28682
28708
|
var adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
28683
28709
|
userAgent: userAgent
|
|
28684
28710
|
}));
|