contentful-management 11.43.0-beta.1 → 11.43.0-beta.2
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 +339 -131
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +332 -131
- 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/function-log.js +21 -0
- package/dist/es-modules/adapters/REST/endpoints/index.js +2 -0
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/es-modules/create-function-log-api.js +94 -0
- package/dist/es-modules/entities/function-log.js +24 -0
- package/dist/es-modules/entities/index.js +2 -0
- package/dist/es-modules/plain/entities/function-log.js +1 -0
- package/dist/es-modules/plain/plain-client.js +4 -0
- package/dist/typings/adapters/REST/endpoints/function-log.d.ts +3 -0
- package/dist/typings/adapters/REST/endpoints/index.d.ts +2 -0
- package/dist/typings/common-types.d.ts +21 -0
- package/dist/typings/create-function-log-api.d.ts +63 -0
- package/dist/typings/entities/function-log.d.ts +50 -0
- package/dist/typings/entities/index.d.ts +2 -0
- package/dist/typings/plain/common-types.d.ts +2 -0
- package/dist/typings/plain/entities/function-log.d.ts +38 -0
- package/dist/typings/plain/entities/function.d.ts +4 -4
- package/package.json +1 -1
|
@@ -2253,6 +2253,48 @@ var del = function del(http, params) {
|
|
|
2253
2253
|
|
|
2254
2254
|
/***/ }),
|
|
2255
2255
|
|
|
2256
|
+
/***/ "./adapters/REST/endpoints/function-log.ts":
|
|
2257
|
+
/*!*************************************************!*\
|
|
2258
|
+
!*** ./adapters/REST/endpoints/function-log.ts ***!
|
|
2259
|
+
\*************************************************/
|
|
2260
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2261
|
+
|
|
2262
|
+
"use strict";
|
|
2263
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2264
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2265
|
+
/* harmony export */ get: function() { return /* binding */ get; },
|
|
2266
|
+
/* harmony export */ getAll: function() { return /* binding */ getAll; }
|
|
2267
|
+
/* harmony export */ });
|
|
2268
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
2269
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2270
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2271
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2272
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2273
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
2274
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
2275
|
+
|
|
2276
|
+
var FunctionLogAlphaHeaders = {
|
|
2277
|
+
'x-contentful-enable-alpha-feature': 'function-logs'
|
|
2278
|
+
};
|
|
2279
|
+
var baseURL = function baseURL(params) {
|
|
2280
|
+
return "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/app_installations/").concat(params.appInstallationId, "/functions/").concat(params.functionId, "/logs");
|
|
2281
|
+
};
|
|
2282
|
+
var getURL = function getURL(params) {
|
|
2283
|
+
return "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/app_installations/").concat(params.appInstallationId, "/functions/").concat(params.functionId, "/logs/").concat(params.logId);
|
|
2284
|
+
};
|
|
2285
|
+
var get = function get(http, params) {
|
|
2286
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, getURL(params), {
|
|
2287
|
+
headers: _objectSpread({}, FunctionLogAlphaHeaders)
|
|
2288
|
+
});
|
|
2289
|
+
};
|
|
2290
|
+
var getAll = function getAll(http, params) {
|
|
2291
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, baseURL(params), {
|
|
2292
|
+
headers: _objectSpread({}, FunctionLogAlphaHeaders)
|
|
2293
|
+
});
|
|
2294
|
+
};
|
|
2295
|
+
|
|
2296
|
+
/***/ }),
|
|
2297
|
+
|
|
2256
2298
|
/***/ "./adapters/REST/endpoints/function.ts":
|
|
2257
2299
|
/*!*********************************************!*\
|
|
2258
2300
|
!*** ./adapters/REST/endpoints/function.ts ***!
|
|
@@ -2380,39 +2422,41 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2380
2422
|
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./environment-template-installation */ "./adapters/REST/endpoints/environment-template-installation.ts");
|
|
2381
2423
|
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./extension */ "./adapters/REST/endpoints/extension.ts");
|
|
2382
2424
|
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./function */ "./adapters/REST/endpoints/function.ts");
|
|
2383
|
-
/* harmony import */ var
|
|
2384
|
-
/* harmony import */ var
|
|
2385
|
-
/* harmony import */ var
|
|
2386
|
-
/* harmony import */ var
|
|
2387
|
-
/* harmony import */ var
|
|
2388
|
-
/* harmony import */ var
|
|
2389
|
-
/* harmony import */ var
|
|
2390
|
-
/* harmony import */ var
|
|
2391
|
-
/* harmony import */ var
|
|
2392
|
-
/* harmony import */ var
|
|
2393
|
-
/* harmony import */ var
|
|
2394
|
-
/* harmony import */ var
|
|
2395
|
-
/* harmony import */ var
|
|
2396
|
-
/* harmony import */ var
|
|
2397
|
-
/* harmony import */ var
|
|
2398
|
-
/* harmony import */ var
|
|
2399
|
-
/* harmony import */ var
|
|
2400
|
-
/* harmony import */ var
|
|
2401
|
-
/* harmony import */ var
|
|
2402
|
-
/* harmony import */ var
|
|
2403
|
-
/* harmony import */ var
|
|
2404
|
-
/* harmony import */ var
|
|
2405
|
-
/* harmony import */ var
|
|
2406
|
-
/* harmony import */ var
|
|
2407
|
-
/* harmony import */ var
|
|
2408
|
-
/* harmony import */ var
|
|
2409
|
-
/* harmony import */ var
|
|
2410
|
-
/* harmony import */ var
|
|
2411
|
-
/* harmony import */ var
|
|
2412
|
-
/* harmony import */ var
|
|
2413
|
-
/* harmony import */ var
|
|
2414
|
-
/* harmony import */ var
|
|
2415
|
-
/* harmony import */ var
|
|
2425
|
+
/* harmony import */ var _function_log__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./function-log */ "./adapters/REST/endpoints/function-log.ts");
|
|
2426
|
+
/* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./http */ "./adapters/REST/endpoints/http.ts");
|
|
2427
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./locale */ "./adapters/REST/endpoints/locale.ts");
|
|
2428
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./organization */ "./adapters/REST/endpoints/organization.ts");
|
|
2429
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./organization-invitation */ "./adapters/REST/endpoints/organization-invitation.ts");
|
|
2430
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./organization-membership */ "./adapters/REST/endpoints/organization-membership.ts");
|
|
2431
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./personal-access-token */ "./adapters/REST/endpoints/personal-access-token.ts");
|
|
2432
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./preview-api-key */ "./adapters/REST/endpoints/preview-api-key.ts");
|
|
2433
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./release */ "./adapters/REST/endpoints/release.ts");
|
|
2434
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./release-action */ "./adapters/REST/endpoints/release-action.ts");
|
|
2435
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./resource */ "./adapters/REST/endpoints/resource.ts");
|
|
2436
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./resource-provider */ "./adapters/REST/endpoints/resource-provider.ts");
|
|
2437
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./resource-type */ "./adapters/REST/endpoints/resource-type.ts");
|
|
2438
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./role */ "./adapters/REST/endpoints/role.ts");
|
|
2439
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./scheduled-action */ "./adapters/REST/endpoints/scheduled-action.ts");
|
|
2440
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./snapshot */ "./adapters/REST/endpoints/snapshot.ts");
|
|
2441
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./space */ "./adapters/REST/endpoints/space.ts");
|
|
2442
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./space-member */ "./adapters/REST/endpoints/space-member.ts");
|
|
2443
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./space-membership */ "./adapters/REST/endpoints/space-membership.ts");
|
|
2444
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./tag */ "./adapters/REST/endpoints/tag.ts");
|
|
2445
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./task */ "./adapters/REST/endpoints/task.ts");
|
|
2446
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./team */ "./adapters/REST/endpoints/team.ts");
|
|
2447
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./team-membership */ "./adapters/REST/endpoints/team-membership.ts");
|
|
2448
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./team-space-membership */ "./adapters/REST/endpoints/team-space-membership.ts");
|
|
2449
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./ui-config */ "./adapters/REST/endpoints/ui-config.ts");
|
|
2450
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./upload */ "./adapters/REST/endpoints/upload.ts");
|
|
2451
|
+
/* harmony import */ var _upload_credentials__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./upload-credentials */ "./adapters/REST/endpoints/upload-credentials.ts");
|
|
2452
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./usage */ "./adapters/REST/endpoints/usage.ts");
|
|
2453
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./user */ "./adapters/REST/endpoints/user.ts");
|
|
2454
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./user-ui-config */ "./adapters/REST/endpoints/user-ui-config.ts");
|
|
2455
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./webhook */ "./adapters/REST/endpoints/webhook.ts");
|
|
2456
|
+
/* harmony import */ var _workflow__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./workflow */ "./adapters/REST/endpoints/workflow.ts");
|
|
2457
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./workflow-definition */ "./adapters/REST/endpoints/workflow-definition.ts");
|
|
2458
|
+
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
2459
|
+
|
|
2416
2460
|
|
|
2417
2461
|
|
|
2418
2462
|
|
|
@@ -2504,40 +2548,41 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2504
2548
|
EnvironmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__,
|
|
2505
2549
|
Extension: _extension__WEBPACK_IMPORTED_MODULE_27__,
|
|
2506
2550
|
Function: _function__WEBPACK_IMPORTED_MODULE_28__,
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2551
|
+
FunctionLog: _function_log__WEBPACK_IMPORTED_MODULE_29__,
|
|
2552
|
+
Http: _http__WEBPACK_IMPORTED_MODULE_30__,
|
|
2553
|
+
Locale: _locale__WEBPACK_IMPORTED_MODULE_31__,
|
|
2554
|
+
Organization: _organization__WEBPACK_IMPORTED_MODULE_32__,
|
|
2555
|
+
OrganizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_33__,
|
|
2556
|
+
OrganizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_34__,
|
|
2557
|
+
PersonalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_35__,
|
|
2513
2558
|
AccessToken: _access_token__WEBPACK_IMPORTED_MODULE_0__,
|
|
2514
|
-
PreviewApiKey:
|
|
2515
|
-
Release:
|
|
2516
|
-
ReleaseAction:
|
|
2517
|
-
Resource:
|
|
2518
|
-
ResourceProvider:
|
|
2519
|
-
ResourceType:
|
|
2520
|
-
Role:
|
|
2521
|
-
ScheduledAction:
|
|
2522
|
-
Snapshot:
|
|
2523
|
-
Space:
|
|
2524
|
-
SpaceMember:
|
|
2525
|
-
SpaceMembership:
|
|
2526
|
-
Tag:
|
|
2527
|
-
Task:
|
|
2528
|
-
Team:
|
|
2529
|
-
TeamMembership:
|
|
2530
|
-
TeamSpaceMembership:
|
|
2531
|
-
UIConfig:
|
|
2532
|
-
Upload:
|
|
2533
|
-
UploadCredential:
|
|
2534
|
-
Usage:
|
|
2535
|
-
User:
|
|
2536
|
-
UserUIConfig:
|
|
2537
|
-
Webhook:
|
|
2538
|
-
WorkflowDefinition:
|
|
2539
|
-
Workflow:
|
|
2540
|
-
WorkflowsChangelog:
|
|
2559
|
+
PreviewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_36__,
|
|
2560
|
+
Release: _release__WEBPACK_IMPORTED_MODULE_37__,
|
|
2561
|
+
ReleaseAction: _release_action__WEBPACK_IMPORTED_MODULE_38__,
|
|
2562
|
+
Resource: _resource__WEBPACK_IMPORTED_MODULE_39__,
|
|
2563
|
+
ResourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_40__,
|
|
2564
|
+
ResourceType: _resource_type__WEBPACK_IMPORTED_MODULE_41__,
|
|
2565
|
+
Role: _role__WEBPACK_IMPORTED_MODULE_42__,
|
|
2566
|
+
ScheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_43__,
|
|
2567
|
+
Snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_44__,
|
|
2568
|
+
Space: _space__WEBPACK_IMPORTED_MODULE_45__,
|
|
2569
|
+
SpaceMember: _space_member__WEBPACK_IMPORTED_MODULE_46__,
|
|
2570
|
+
SpaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_47__,
|
|
2571
|
+
Tag: _tag__WEBPACK_IMPORTED_MODULE_48__,
|
|
2572
|
+
Task: _task__WEBPACK_IMPORTED_MODULE_49__,
|
|
2573
|
+
Team: _team__WEBPACK_IMPORTED_MODULE_50__,
|
|
2574
|
+
TeamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_51__,
|
|
2575
|
+
TeamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_52__,
|
|
2576
|
+
UIConfig: _ui_config__WEBPACK_IMPORTED_MODULE_53__,
|
|
2577
|
+
Upload: _upload__WEBPACK_IMPORTED_MODULE_54__,
|
|
2578
|
+
UploadCredential: _upload_credentials__WEBPACK_IMPORTED_MODULE_55__,
|
|
2579
|
+
Usage: _usage__WEBPACK_IMPORTED_MODULE_56__,
|
|
2580
|
+
User: _user__WEBPACK_IMPORTED_MODULE_57__,
|
|
2581
|
+
UserUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_58__,
|
|
2582
|
+
Webhook: _webhook__WEBPACK_IMPORTED_MODULE_59__,
|
|
2583
|
+
WorkflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_61__,
|
|
2584
|
+
Workflow: _workflow__WEBPACK_IMPORTED_MODULE_60__,
|
|
2585
|
+
WorkflowsChangelog: _workflows_changelog__WEBPACK_IMPORTED_MODULE_62__
|
|
2541
2586
|
});
|
|
2542
2587
|
|
|
2543
2588
|
/***/ }),
|
|
@@ -9698,6 +9743,118 @@ function createFunctionApi(makeRequest) {
|
|
|
9698
9743
|
|
|
9699
9744
|
/***/ }),
|
|
9700
9745
|
|
|
9746
|
+
/***/ "./create-function-log-api.ts":
|
|
9747
|
+
/*!************************************!*\
|
|
9748
|
+
!*** ./create-function-log-api.ts ***!
|
|
9749
|
+
\************************************/
|
|
9750
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9751
|
+
|
|
9752
|
+
"use strict";
|
|
9753
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9754
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9755
|
+
/* harmony export */ "default": function() { return /* binding */ createFunctionLogApi; }
|
|
9756
|
+
/* harmony export */ });
|
|
9757
|
+
/* harmony import */ var _entities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./entities */ "./entities/index.ts");
|
|
9758
|
+
/* harmony import */ var _entities_function_log__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./entities/function-log */ "./entities/function-log.ts");
|
|
9759
|
+
|
|
9760
|
+
|
|
9761
|
+
|
|
9762
|
+
/**
|
|
9763
|
+
* @private
|
|
9764
|
+
*/
|
|
9765
|
+
|
|
9766
|
+
/**
|
|
9767
|
+
* @private
|
|
9768
|
+
*/
|
|
9769
|
+
function createFunctionLogApi(makeRequest) {
|
|
9770
|
+
var wrapFunctionLog = _entities__WEBPACK_IMPORTED_MODULE_0__["default"].functionLog.wrapFunctionLog;
|
|
9771
|
+
return {
|
|
9772
|
+
/**
|
|
9773
|
+
* Get a FunctionLog by it's log ID
|
|
9774
|
+
* @Param spaceId - Space ID
|
|
9775
|
+
* @Param environmentId - Environment ID
|
|
9776
|
+
* @Param appInstallationId - App Installation ID
|
|
9777
|
+
* @Param functionId - Function ID
|
|
9778
|
+
* @Param logId - Log ID
|
|
9779
|
+
* @returns a function log
|
|
9780
|
+
* ```javascript
|
|
9781
|
+
* const contentful = require('contentful-management')
|
|
9782
|
+
*
|
|
9783
|
+
* const client = contentful.createClient({
|
|
9784
|
+
* accessToken: '<content_management_api_key>'
|
|
9785
|
+
* })
|
|
9786
|
+
*
|
|
9787
|
+
* client.functionLog.get({
|
|
9788
|
+
* spaceId: '<space_id>',
|
|
9789
|
+
* environmentId: '<environment_id>',
|
|
9790
|
+
* appInstallationId: '<app_installation_id>',
|
|
9791
|
+
* functionId: '<function_id>',
|
|
9792
|
+
* logId: '<log_id>'
|
|
9793
|
+
* })
|
|
9794
|
+
* .then((response) => console.log(response.items))
|
|
9795
|
+
* .catch(console.error)
|
|
9796
|
+
* ```
|
|
9797
|
+
*/
|
|
9798
|
+
get: function get(logId) {
|
|
9799
|
+
var raw = this.toPlainObject();
|
|
9800
|
+
return makeRequest({
|
|
9801
|
+
entityType: 'FunctionLog',
|
|
9802
|
+
action: 'get',
|
|
9803
|
+
params: {
|
|
9804
|
+
spaceId: raw.sys.space.sys.id,
|
|
9805
|
+
environmentId: raw.sys.environment.sys.id,
|
|
9806
|
+
appInstallationId: raw.sys.appDefinition.sys.id,
|
|
9807
|
+
functionId: raw.sys.id,
|
|
9808
|
+
logId: logId
|
|
9809
|
+
}
|
|
9810
|
+
}).then(function (data) {
|
|
9811
|
+
return wrapFunctionLog(makeRequest, data);
|
|
9812
|
+
});
|
|
9813
|
+
},
|
|
9814
|
+
/**
|
|
9815
|
+
* Get all FunctionLogs
|
|
9816
|
+
* @Param spaceId - Space ID
|
|
9817
|
+
* @Param environmentId - Environment ID
|
|
9818
|
+
* @Param appInstallationId - App Installation ID
|
|
9819
|
+
* @Param functionId - Function ID
|
|
9820
|
+
* @returns a collection of FunctionLogs
|
|
9821
|
+
* ```javascript
|
|
9822
|
+
* const contentful = require('contentful-management')
|
|
9823
|
+
*
|
|
9824
|
+
* const client = contentful.createClient({
|
|
9825
|
+
* accessToken: '<content_management_api_key>'
|
|
9826
|
+
* })
|
|
9827
|
+
*
|
|
9828
|
+
* client.functionLog.getAll({
|
|
9829
|
+
* spaceId: '<space_id>',
|
|
9830
|
+
* environmentId: '<environment_id>',
|
|
9831
|
+
* appInstallationId: '<app_installation_id>',
|
|
9832
|
+
* functionId: '<function_id>'
|
|
9833
|
+
* })
|
|
9834
|
+
* .then((response) => console.log(response.items))
|
|
9835
|
+
* .catch(console.error)
|
|
9836
|
+
* ```
|
|
9837
|
+
*/
|
|
9838
|
+
getAll: function getAll() {
|
|
9839
|
+
var raw = this.toPlainObject();
|
|
9840
|
+
return makeRequest({
|
|
9841
|
+
entityType: 'FunctionLog',
|
|
9842
|
+
action: 'getAll',
|
|
9843
|
+
params: {
|
|
9844
|
+
spaceId: raw.sys.space.sys.id,
|
|
9845
|
+
environmentId: raw.sys.environment.sys.id,
|
|
9846
|
+
appInstallationId: raw.sys.appDefinition.sys.id,
|
|
9847
|
+
functionId: raw.sys.id
|
|
9848
|
+
}
|
|
9849
|
+
}).then(function (data) {
|
|
9850
|
+
return (0,_entities_function_log__WEBPACK_IMPORTED_MODULE_1__.wrapFunctionLogCollection)(makeRequest, data);
|
|
9851
|
+
});
|
|
9852
|
+
}
|
|
9853
|
+
};
|
|
9854
|
+
}
|
|
9855
|
+
|
|
9856
|
+
/***/ }),
|
|
9857
|
+
|
|
9701
9858
|
/***/ "./create-organization-api.ts":
|
|
9702
9859
|
/*!************************************!*\
|
|
9703
9860
|
!*** ./create-organization-api.ts ***!
|
|
@@ -14728,6 +14885,50 @@ var wrapExtensionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_3__.wrap
|
|
|
14728
14885
|
|
|
14729
14886
|
/***/ }),
|
|
14730
14887
|
|
|
14888
|
+
/***/ "./entities/function-log.ts":
|
|
14889
|
+
/*!**********************************!*\
|
|
14890
|
+
!*** ./entities/function-log.ts ***!
|
|
14891
|
+
\**********************************/
|
|
14892
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14893
|
+
|
|
14894
|
+
"use strict";
|
|
14895
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14896
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14897
|
+
/* harmony export */ wrapFunctionLog: function() { return /* binding */ wrapFunctionLog; },
|
|
14898
|
+
/* harmony export */ wrapFunctionLogCollection: function() { return /* binding */ wrapFunctionLogCollection; }
|
|
14899
|
+
/* harmony export */ });
|
|
14900
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
14901
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
14902
|
+
/* harmony import */ var _common_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common-utils */ "./common-utils.ts");
|
|
14903
|
+
/* harmony import */ var _enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../enhance-with-methods */ "./enhance-with-methods.ts");
|
|
14904
|
+
/* harmony import */ var _create_function_log_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../create-function-log-api */ "./create-function-log-api.ts");
|
|
14905
|
+
|
|
14906
|
+
|
|
14907
|
+
|
|
14908
|
+
|
|
14909
|
+
|
|
14910
|
+
/**
|
|
14911
|
+
* @private
|
|
14912
|
+
* @param makeRequest - function to make requests via an adapter
|
|
14913
|
+
* @param data - raw contentful-Function data
|
|
14914
|
+
* @return Wrapped Function data
|
|
14915
|
+
*/
|
|
14916
|
+
function wrapFunctionLog(makeRequest, data) {
|
|
14917
|
+
var appAction = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
14918
|
+
var appActionWithMethods = (0,_enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__["default"])(appAction, (0,_create_function_log_api__WEBPACK_IMPORTED_MODULE_4__["default"])(makeRequest));
|
|
14919
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(appActionWithMethods);
|
|
14920
|
+
}
|
|
14921
|
+
|
|
14922
|
+
/**
|
|
14923
|
+
* @private
|
|
14924
|
+
* @param makeRequest - function to make requests via an adapter
|
|
14925
|
+
* @param data - raw contentful-function data
|
|
14926
|
+
* @return Wrapped App Function collection data
|
|
14927
|
+
*/
|
|
14928
|
+
var wrapFunctionLogCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_2__.wrapCollection)(wrapFunctionLog);
|
|
14929
|
+
|
|
14930
|
+
/***/ }),
|
|
14931
|
+
|
|
14731
14932
|
/***/ "./entities/function.ts":
|
|
14732
14933
|
/*!******************************!*\
|
|
14733
14934
|
!*** ./entities/function.ts ***!
|
|
@@ -14806,38 +15007,40 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14806
15007
|
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./environment-template-installation */ "./entities/environment-template-installation.ts");
|
|
14807
15008
|
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./extension */ "./entities/extension.ts");
|
|
14808
15009
|
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./function */ "./entities/function.ts");
|
|
14809
|
-
/* harmony import */ var
|
|
14810
|
-
/* harmony import */ var
|
|
14811
|
-
/* harmony import */ var
|
|
14812
|
-
/* harmony import */ var
|
|
14813
|
-
/* harmony import */ var
|
|
14814
|
-
/* harmony import */ var
|
|
14815
|
-
/* harmony import */ var
|
|
14816
|
-
/* harmony import */ var
|
|
14817
|
-
/* harmony import */ var
|
|
14818
|
-
/* harmony import */ var
|
|
14819
|
-
/* harmony import */ var
|
|
14820
|
-
/* harmony import */ var
|
|
14821
|
-
/* harmony import */ var
|
|
14822
|
-
/* harmony import */ var
|
|
14823
|
-
/* harmony import */ var
|
|
14824
|
-
/* harmony import */ var
|
|
14825
|
-
/* harmony import */ var
|
|
14826
|
-
/* harmony import */ var
|
|
14827
|
-
/* harmony import */ var
|
|
14828
|
-
/* harmony import */ var
|
|
14829
|
-
/* harmony import */ var
|
|
14830
|
-
/* harmony import */ var
|
|
14831
|
-
/* harmony import */ var
|
|
14832
|
-
/* harmony import */ var
|
|
14833
|
-
/* harmony import */ var
|
|
14834
|
-
/* harmony import */ var
|
|
14835
|
-
/* harmony import */ var
|
|
14836
|
-
/* harmony import */ var
|
|
14837
|
-
/* harmony import */ var
|
|
14838
|
-
/* harmony import */ var
|
|
14839
|
-
/* harmony import */ var
|
|
14840
|
-
/* harmony import */ var
|
|
15010
|
+
/* harmony import */ var _function_log__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./function-log */ "./entities/function-log.ts");
|
|
15011
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./locale */ "./entities/locale.ts");
|
|
15012
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./organization */ "./entities/organization.ts");
|
|
15013
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./organization-invitation */ "./entities/organization-invitation.ts");
|
|
15014
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./organization-membership */ "./entities/organization-membership.ts");
|
|
15015
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./personal-access-token */ "./entities/personal-access-token.ts");
|
|
15016
|
+
/* harmony import */ var _access_token__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./access-token */ "./entities/access-token.ts");
|
|
15017
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./preview-api-key */ "./entities/preview-api-key.ts");
|
|
15018
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./release */ "./entities/release.ts");
|
|
15019
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./release-action */ "./entities/release-action.ts");
|
|
15020
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./role */ "./entities/role.ts");
|
|
15021
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./scheduled-action */ "./entities/scheduled-action.ts");
|
|
15022
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./snapshot */ "./entities/snapshot.ts");
|
|
15023
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./space */ "./entities/space.ts");
|
|
15024
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./space-member */ "./entities/space-member.ts");
|
|
15025
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./space-membership */ "./entities/space-membership.ts");
|
|
15026
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./tag */ "./entities/tag.ts");
|
|
15027
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./task */ "./entities/task.ts");
|
|
15028
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./team */ "./entities/team.ts");
|
|
15029
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./team-membership */ "./entities/team-membership.ts");
|
|
15030
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./team-space-membership */ "./entities/team-space-membership.ts");
|
|
15031
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./ui-config */ "./entities/ui-config.ts");
|
|
15032
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./upload */ "./entities/upload.ts");
|
|
15033
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./usage */ "./entities/usage.ts");
|
|
15034
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./user */ "./entities/user.ts");
|
|
15035
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./user-ui-config */ "./entities/user-ui-config.ts");
|
|
15036
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./webhook */ "./entities/webhook.ts");
|
|
15037
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./workflow-definition */ "./entities/workflow-definition.ts");
|
|
15038
|
+
/* harmony import */ var _concept__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./concept */ "./entities/concept.ts");
|
|
15039
|
+
/* harmony import */ var _concept_scheme__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./concept-scheme */ "./entities/concept-scheme.ts");
|
|
15040
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./resource-provider */ "./entities/resource-provider.ts");
|
|
15041
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./resource-type */ "./entities/resource-type.ts");
|
|
15042
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
|
|
15043
|
+
|
|
14841
15044
|
|
|
14842
15045
|
|
|
14843
15046
|
|
|
@@ -14897,7 +15100,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14897
15100
|
|
|
14898
15101
|
|
|
14899
15102
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
14900
|
-
accessToken:
|
|
15103
|
+
accessToken: _access_token__WEBPACK_IMPORTED_MODULE_32__,
|
|
14901
15104
|
appAction: _app_action__WEBPACK_IMPORTED_MODULE_1__,
|
|
14902
15105
|
appActionCall: _app_action_call__WEBPACK_IMPORTED_MODULE_2__,
|
|
14903
15106
|
appBundle: _app_bundle__WEBPACK_IMPORTED_MODULE_3__,
|
|
@@ -14915,8 +15118,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14915
15118
|
assetKey: _asset_key__WEBPACK_IMPORTED_MODULE_14__,
|
|
14916
15119
|
bulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_15__,
|
|
14917
15120
|
comment: _comment__WEBPACK_IMPORTED_MODULE_16__,
|
|
14918
|
-
concept:
|
|
14919
|
-
conceptScheme:
|
|
15121
|
+
concept: _concept__WEBPACK_IMPORTED_MODULE_54__,
|
|
15122
|
+
conceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_55__,
|
|
14920
15123
|
contentType: _content_type__WEBPACK_IMPORTED_MODULE_17__,
|
|
14921
15124
|
editorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_18__,
|
|
14922
15125
|
entry: _entry__WEBPACK_IMPORTED_MODULE_19__,
|
|
@@ -14926,35 +15129,36 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14926
15129
|
environmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__,
|
|
14927
15130
|
extension: _extension__WEBPACK_IMPORTED_MODULE_24__,
|
|
14928
15131
|
func: _function__WEBPACK_IMPORTED_MODULE_25__,
|
|
14929
|
-
|
|
14930
|
-
|
|
14931
|
-
|
|
14932
|
-
|
|
14933
|
-
|
|
14934
|
-
|
|
14935
|
-
|
|
14936
|
-
|
|
14937
|
-
|
|
14938
|
-
|
|
14939
|
-
|
|
14940
|
-
|
|
14941
|
-
|
|
14942
|
-
|
|
14943
|
-
|
|
14944
|
-
|
|
14945
|
-
|
|
14946
|
-
|
|
14947
|
-
|
|
14948
|
-
|
|
14949
|
-
|
|
14950
|
-
|
|
14951
|
-
|
|
14952
|
-
|
|
14953
|
-
|
|
14954
|
-
|
|
14955
|
-
|
|
14956
|
-
|
|
14957
|
-
|
|
15132
|
+
functionLog: _function_log__WEBPACK_IMPORTED_MODULE_26__,
|
|
15133
|
+
locale: _locale__WEBPACK_IMPORTED_MODULE_27__,
|
|
15134
|
+
organization: _organization__WEBPACK_IMPORTED_MODULE_28__,
|
|
15135
|
+
organizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_29__,
|
|
15136
|
+
organizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_30__,
|
|
15137
|
+
personalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_31__,
|
|
15138
|
+
previewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_33__,
|
|
15139
|
+
release: _release__WEBPACK_IMPORTED_MODULE_34__,
|
|
15140
|
+
releaseAction: _release_action__WEBPACK_IMPORTED_MODULE_35__,
|
|
15141
|
+
resourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_56__,
|
|
15142
|
+
resourceType: _resource_type__WEBPACK_IMPORTED_MODULE_57__,
|
|
15143
|
+
resource: _resource__WEBPACK_IMPORTED_MODULE_58__,
|
|
15144
|
+
role: _role__WEBPACK_IMPORTED_MODULE_36__,
|
|
15145
|
+
scheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_37__,
|
|
15146
|
+
snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_38__,
|
|
15147
|
+
space: _space__WEBPACK_IMPORTED_MODULE_39__,
|
|
15148
|
+
spaceMember: _space_member__WEBPACK_IMPORTED_MODULE_40__,
|
|
15149
|
+
spaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_41__,
|
|
15150
|
+
tag: _tag__WEBPACK_IMPORTED_MODULE_42__,
|
|
15151
|
+
task: _task__WEBPACK_IMPORTED_MODULE_43__,
|
|
15152
|
+
team: _team__WEBPACK_IMPORTED_MODULE_44__,
|
|
15153
|
+
teamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_45__,
|
|
15154
|
+
teamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_46__,
|
|
15155
|
+
uiConfig: _ui_config__WEBPACK_IMPORTED_MODULE_47__,
|
|
15156
|
+
upload: _upload__WEBPACK_IMPORTED_MODULE_48__,
|
|
15157
|
+
usage: _usage__WEBPACK_IMPORTED_MODULE_49__,
|
|
15158
|
+
user: _user__WEBPACK_IMPORTED_MODULE_50__,
|
|
15159
|
+
userUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_51__,
|
|
15160
|
+
webhook: _webhook__WEBPACK_IMPORTED_MODULE_52__,
|
|
15161
|
+
workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_53__
|
|
14958
15162
|
});
|
|
14959
15163
|
|
|
14960
15164
|
/***/ }),
|
|
@@ -17921,6 +18125,10 @@ var createPlainClient = function createPlainClient(makeRequest, defaults) {
|
|
|
17921
18125
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getMany'),
|
|
17922
18126
|
getManyForEnvironment: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getManyForEnvironment')
|
|
17923
18127
|
},
|
|
18128
|
+
functionLog: {
|
|
18129
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'FunctionLog', 'get'),
|
|
18130
|
+
getAll: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'FunctionLog', 'getAll')
|
|
18131
|
+
},
|
|
17924
18132
|
editorInterface: {
|
|
17925
18133
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'EditorInterface', 'get'),
|
|
17926
18134
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'EditorInterface', 'getMany'),
|
|
@@ -27624,7 +27832,7 @@ function createClient(params) {
|
|
|
27624
27832
|
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
27625
27833
|
var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
27626
27834
|
var userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(// @ts-expect-error
|
|
27627
|
-
"".concat(sdkMain, "/").concat("11.43.0-beta.
|
|
27835
|
+
"".concat(sdkMain, "/").concat("11.43.0-beta.2"), params.application, params.integration, params.feature);
|
|
27628
27836
|
var adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
27629
27837
|
userAgent: userAgent
|
|
27630
27838
|
}));
|