contentful-management 11.43.0-beta.2 → 11.43.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 +131 -339
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +131 -332
- 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 +0 -2
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/es-modules/entities/index.js +0 -2
- package/dist/es-modules/plain/plain-client.js +0 -4
- package/dist/typings/adapters/REST/endpoints/index.d.ts +0 -2
- package/dist/typings/common-types.d.ts +0 -21
- package/dist/typings/entities/index.d.ts +0 -2
- package/dist/typings/plain/common-types.d.ts +0 -2
- package/package.json +1 -1
- package/dist/es-modules/adapters/REST/endpoints/function-log.js +0 -21
- package/dist/es-modules/create-function-log-api.js +0 -94
- package/dist/es-modules/entities/function-log.js +0 -24
- package/dist/es-modules/plain/entities/function-log.js +0 -1
- package/dist/typings/adapters/REST/endpoints/function-log.d.ts +0 -3
- package/dist/typings/create-function-log-api.d.ts +0 -63
- package/dist/typings/entities/function-log.d.ts +0 -50
- package/dist/typings/plain/entities/function-log.d.ts +0 -38
|
@@ -2253,48 +2253,6 @@ 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
|
-
|
|
2298
2256
|
/***/ "./adapters/REST/endpoints/function.ts":
|
|
2299
2257
|
/*!*********************************************!*\
|
|
2300
2258
|
!*** ./adapters/REST/endpoints/function.ts ***!
|
|
@@ -2422,41 +2380,39 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2422
2380
|
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./environment-template-installation */ "./adapters/REST/endpoints/environment-template-installation.ts");
|
|
2423
2381
|
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./extension */ "./adapters/REST/endpoints/extension.ts");
|
|
2424
2382
|
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./function */ "./adapters/REST/endpoints/function.ts");
|
|
2425
|
-
/* harmony import */ var
|
|
2426
|
-
/* harmony import */ var
|
|
2427
|
-
/* harmony import */ var
|
|
2428
|
-
/* harmony import */ var
|
|
2429
|
-
/* harmony import */ var
|
|
2430
|
-
/* harmony import */ var
|
|
2431
|
-
/* harmony import */ var
|
|
2432
|
-
/* harmony import */ var
|
|
2433
|
-
/* harmony import */ var
|
|
2434
|
-
/* harmony import */ var
|
|
2435
|
-
/* harmony import */ var
|
|
2436
|
-
/* harmony import */ var
|
|
2437
|
-
/* harmony import */ var
|
|
2438
|
-
/* harmony import */ var
|
|
2439
|
-
/* harmony import */ var
|
|
2440
|
-
/* harmony import */ var
|
|
2441
|
-
/* harmony import */ var
|
|
2442
|
-
/* harmony import */ var
|
|
2443
|
-
/* harmony import */ var
|
|
2444
|
-
/* harmony import */ var
|
|
2445
|
-
/* harmony import */ var
|
|
2446
|
-
/* harmony import */ var
|
|
2447
|
-
/* harmony import */ var
|
|
2448
|
-
/* harmony import */ var
|
|
2449
|
-
/* harmony import */ var
|
|
2450
|
-
/* harmony import */ var
|
|
2451
|
-
/* harmony import */ var
|
|
2452
|
-
/* harmony import */ var
|
|
2453
|
-
/* harmony import */ var
|
|
2454
|
-
/* harmony import */ var
|
|
2455
|
-
/* harmony import */ var
|
|
2456
|
-
/* harmony import */ var
|
|
2457
|
-
/* harmony import */ var
|
|
2458
|
-
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
2459
|
-
|
|
2383
|
+
/* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./http */ "./adapters/REST/endpoints/http.ts");
|
|
2384
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./locale */ "./adapters/REST/endpoints/locale.ts");
|
|
2385
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./organization */ "./adapters/REST/endpoints/organization.ts");
|
|
2386
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./organization-invitation */ "./adapters/REST/endpoints/organization-invitation.ts");
|
|
2387
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./organization-membership */ "./adapters/REST/endpoints/organization-membership.ts");
|
|
2388
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./personal-access-token */ "./adapters/REST/endpoints/personal-access-token.ts");
|
|
2389
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./preview-api-key */ "./adapters/REST/endpoints/preview-api-key.ts");
|
|
2390
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./release */ "./adapters/REST/endpoints/release.ts");
|
|
2391
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./release-action */ "./adapters/REST/endpoints/release-action.ts");
|
|
2392
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./resource */ "./adapters/REST/endpoints/resource.ts");
|
|
2393
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./resource-provider */ "./adapters/REST/endpoints/resource-provider.ts");
|
|
2394
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./resource-type */ "./adapters/REST/endpoints/resource-type.ts");
|
|
2395
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./role */ "./adapters/REST/endpoints/role.ts");
|
|
2396
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./scheduled-action */ "./adapters/REST/endpoints/scheduled-action.ts");
|
|
2397
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./snapshot */ "./adapters/REST/endpoints/snapshot.ts");
|
|
2398
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./space */ "./adapters/REST/endpoints/space.ts");
|
|
2399
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./space-member */ "./adapters/REST/endpoints/space-member.ts");
|
|
2400
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./space-membership */ "./adapters/REST/endpoints/space-membership.ts");
|
|
2401
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./tag */ "./adapters/REST/endpoints/tag.ts");
|
|
2402
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./task */ "./adapters/REST/endpoints/task.ts");
|
|
2403
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./team */ "./adapters/REST/endpoints/team.ts");
|
|
2404
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./team-membership */ "./adapters/REST/endpoints/team-membership.ts");
|
|
2405
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./team-space-membership */ "./adapters/REST/endpoints/team-space-membership.ts");
|
|
2406
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./ui-config */ "./adapters/REST/endpoints/ui-config.ts");
|
|
2407
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./upload */ "./adapters/REST/endpoints/upload.ts");
|
|
2408
|
+
/* harmony import */ var _upload_credentials__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./upload-credentials */ "./adapters/REST/endpoints/upload-credentials.ts");
|
|
2409
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./usage */ "./adapters/REST/endpoints/usage.ts");
|
|
2410
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./user */ "./adapters/REST/endpoints/user.ts");
|
|
2411
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./user-ui-config */ "./adapters/REST/endpoints/user-ui-config.ts");
|
|
2412
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./webhook */ "./adapters/REST/endpoints/webhook.ts");
|
|
2413
|
+
/* harmony import */ var _workflow__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./workflow */ "./adapters/REST/endpoints/workflow.ts");
|
|
2414
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./workflow-definition */ "./adapters/REST/endpoints/workflow-definition.ts");
|
|
2415
|
+
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
2460
2416
|
|
|
2461
2417
|
|
|
2462
2418
|
|
|
@@ -2548,41 +2504,40 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2548
2504
|
EnvironmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__,
|
|
2549
2505
|
Extension: _extension__WEBPACK_IMPORTED_MODULE_27__,
|
|
2550
2506
|
Function: _function__WEBPACK_IMPORTED_MODULE_28__,
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
PersonalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_35__,
|
|
2507
|
+
Http: _http__WEBPACK_IMPORTED_MODULE_29__,
|
|
2508
|
+
Locale: _locale__WEBPACK_IMPORTED_MODULE_30__,
|
|
2509
|
+
Organization: _organization__WEBPACK_IMPORTED_MODULE_31__,
|
|
2510
|
+
OrganizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_32__,
|
|
2511
|
+
OrganizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_33__,
|
|
2512
|
+
PersonalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_34__,
|
|
2558
2513
|
AccessToken: _access_token__WEBPACK_IMPORTED_MODULE_0__,
|
|
2559
|
-
PreviewApiKey:
|
|
2560
|
-
Release:
|
|
2561
|
-
ReleaseAction:
|
|
2562
|
-
Resource:
|
|
2563
|
-
ResourceProvider:
|
|
2564
|
-
ResourceType:
|
|
2565
|
-
Role:
|
|
2566
|
-
ScheduledAction:
|
|
2567
|
-
Snapshot:
|
|
2568
|
-
Space:
|
|
2569
|
-
SpaceMember:
|
|
2570
|
-
SpaceMembership:
|
|
2571
|
-
Tag:
|
|
2572
|
-
Task:
|
|
2573
|
-
Team:
|
|
2574
|
-
TeamMembership:
|
|
2575
|
-
TeamSpaceMembership:
|
|
2576
|
-
UIConfig:
|
|
2577
|
-
Upload:
|
|
2578
|
-
UploadCredential:
|
|
2579
|
-
Usage:
|
|
2580
|
-
User:
|
|
2581
|
-
UserUIConfig:
|
|
2582
|
-
Webhook:
|
|
2583
|
-
WorkflowDefinition:
|
|
2584
|
-
Workflow:
|
|
2585
|
-
WorkflowsChangelog:
|
|
2514
|
+
PreviewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_35__,
|
|
2515
|
+
Release: _release__WEBPACK_IMPORTED_MODULE_36__,
|
|
2516
|
+
ReleaseAction: _release_action__WEBPACK_IMPORTED_MODULE_37__,
|
|
2517
|
+
Resource: _resource__WEBPACK_IMPORTED_MODULE_38__,
|
|
2518
|
+
ResourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_39__,
|
|
2519
|
+
ResourceType: _resource_type__WEBPACK_IMPORTED_MODULE_40__,
|
|
2520
|
+
Role: _role__WEBPACK_IMPORTED_MODULE_41__,
|
|
2521
|
+
ScheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_42__,
|
|
2522
|
+
Snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_43__,
|
|
2523
|
+
Space: _space__WEBPACK_IMPORTED_MODULE_44__,
|
|
2524
|
+
SpaceMember: _space_member__WEBPACK_IMPORTED_MODULE_45__,
|
|
2525
|
+
SpaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_46__,
|
|
2526
|
+
Tag: _tag__WEBPACK_IMPORTED_MODULE_47__,
|
|
2527
|
+
Task: _task__WEBPACK_IMPORTED_MODULE_48__,
|
|
2528
|
+
Team: _team__WEBPACK_IMPORTED_MODULE_49__,
|
|
2529
|
+
TeamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_50__,
|
|
2530
|
+
TeamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_51__,
|
|
2531
|
+
UIConfig: _ui_config__WEBPACK_IMPORTED_MODULE_52__,
|
|
2532
|
+
Upload: _upload__WEBPACK_IMPORTED_MODULE_53__,
|
|
2533
|
+
UploadCredential: _upload_credentials__WEBPACK_IMPORTED_MODULE_54__,
|
|
2534
|
+
Usage: _usage__WEBPACK_IMPORTED_MODULE_55__,
|
|
2535
|
+
User: _user__WEBPACK_IMPORTED_MODULE_56__,
|
|
2536
|
+
UserUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_57__,
|
|
2537
|
+
Webhook: _webhook__WEBPACK_IMPORTED_MODULE_58__,
|
|
2538
|
+
WorkflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_60__,
|
|
2539
|
+
Workflow: _workflow__WEBPACK_IMPORTED_MODULE_59__,
|
|
2540
|
+
WorkflowsChangelog: _workflows_changelog__WEBPACK_IMPORTED_MODULE_61__
|
|
2586
2541
|
});
|
|
2587
2542
|
|
|
2588
2543
|
/***/ }),
|
|
@@ -9743,118 +9698,6 @@ function createFunctionApi(makeRequest) {
|
|
|
9743
9698
|
|
|
9744
9699
|
/***/ }),
|
|
9745
9700
|
|
|
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
|
-
|
|
9858
9701
|
/***/ "./create-organization-api.ts":
|
|
9859
9702
|
/*!************************************!*\
|
|
9860
9703
|
!*** ./create-organization-api.ts ***!
|
|
@@ -14885,50 +14728,6 @@ var wrapExtensionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_3__.wrap
|
|
|
14885
14728
|
|
|
14886
14729
|
/***/ }),
|
|
14887
14730
|
|
|
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
|
-
|
|
14932
14731
|
/***/ "./entities/function.ts":
|
|
14933
14732
|
/*!******************************!*\
|
|
14934
14733
|
!*** ./entities/function.ts ***!
|
|
@@ -15007,40 +14806,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15007
14806
|
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./environment-template-installation */ "./entities/environment-template-installation.ts");
|
|
15008
14807
|
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./extension */ "./entities/extension.ts");
|
|
15009
14808
|
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./function */ "./entities/function.ts");
|
|
15010
|
-
/* harmony import */ var
|
|
15011
|
-
/* harmony import */ var
|
|
15012
|
-
/* harmony import */ var
|
|
15013
|
-
/* harmony import */ var
|
|
15014
|
-
/* harmony import */ var
|
|
15015
|
-
/* harmony import */ var
|
|
15016
|
-
/* harmony import */ var
|
|
15017
|
-
/* harmony import */ var
|
|
15018
|
-
/* harmony import */ var
|
|
15019
|
-
/* harmony import */ var
|
|
15020
|
-
/* harmony import */ var
|
|
15021
|
-
/* harmony import */ var
|
|
15022
|
-
/* harmony import */ var
|
|
15023
|
-
/* harmony import */ var
|
|
15024
|
-
/* harmony import */ var
|
|
15025
|
-
/* harmony import */ var
|
|
15026
|
-
/* harmony import */ var
|
|
15027
|
-
/* harmony import */ var
|
|
15028
|
-
/* harmony import */ var
|
|
15029
|
-
/* harmony import */ var
|
|
15030
|
-
/* harmony import */ var
|
|
15031
|
-
/* harmony import */ var
|
|
15032
|
-
/* harmony import */ var
|
|
15033
|
-
/* harmony import */ var
|
|
15034
|
-
/* harmony import */ var
|
|
15035
|
-
/* harmony import */ var
|
|
15036
|
-
/* harmony import */ var
|
|
15037
|
-
/* harmony import */ var
|
|
15038
|
-
/* harmony import */ var
|
|
15039
|
-
/* harmony import */ var
|
|
15040
|
-
/* harmony import */ var
|
|
15041
|
-
/* harmony import */ var
|
|
15042
|
-
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
|
|
15043
|
-
|
|
14809
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./locale */ "./entities/locale.ts");
|
|
14810
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./organization */ "./entities/organization.ts");
|
|
14811
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./organization-invitation */ "./entities/organization-invitation.ts");
|
|
14812
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./organization-membership */ "./entities/organization-membership.ts");
|
|
14813
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./personal-access-token */ "./entities/personal-access-token.ts");
|
|
14814
|
+
/* harmony import */ var _access_token__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./access-token */ "./entities/access-token.ts");
|
|
14815
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./preview-api-key */ "./entities/preview-api-key.ts");
|
|
14816
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./release */ "./entities/release.ts");
|
|
14817
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./release-action */ "./entities/release-action.ts");
|
|
14818
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./role */ "./entities/role.ts");
|
|
14819
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./scheduled-action */ "./entities/scheduled-action.ts");
|
|
14820
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./snapshot */ "./entities/snapshot.ts");
|
|
14821
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./space */ "./entities/space.ts");
|
|
14822
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./space-member */ "./entities/space-member.ts");
|
|
14823
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./space-membership */ "./entities/space-membership.ts");
|
|
14824
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./tag */ "./entities/tag.ts");
|
|
14825
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./task */ "./entities/task.ts");
|
|
14826
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./team */ "./entities/team.ts");
|
|
14827
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./team-membership */ "./entities/team-membership.ts");
|
|
14828
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./team-space-membership */ "./entities/team-space-membership.ts");
|
|
14829
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./ui-config */ "./entities/ui-config.ts");
|
|
14830
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./upload */ "./entities/upload.ts");
|
|
14831
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./usage */ "./entities/usage.ts");
|
|
14832
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./user */ "./entities/user.ts");
|
|
14833
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./user-ui-config */ "./entities/user-ui-config.ts");
|
|
14834
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./webhook */ "./entities/webhook.ts");
|
|
14835
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./workflow-definition */ "./entities/workflow-definition.ts");
|
|
14836
|
+
/* harmony import */ var _concept__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./concept */ "./entities/concept.ts");
|
|
14837
|
+
/* harmony import */ var _concept_scheme__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./concept-scheme */ "./entities/concept-scheme.ts");
|
|
14838
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./resource-provider */ "./entities/resource-provider.ts");
|
|
14839
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./resource-type */ "./entities/resource-type.ts");
|
|
14840
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
|
|
15044
14841
|
|
|
15045
14842
|
|
|
15046
14843
|
|
|
@@ -15100,7 +14897,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15100
14897
|
|
|
15101
14898
|
|
|
15102
14899
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
15103
|
-
accessToken:
|
|
14900
|
+
accessToken: _access_token__WEBPACK_IMPORTED_MODULE_31__,
|
|
15104
14901
|
appAction: _app_action__WEBPACK_IMPORTED_MODULE_1__,
|
|
15105
14902
|
appActionCall: _app_action_call__WEBPACK_IMPORTED_MODULE_2__,
|
|
15106
14903
|
appBundle: _app_bundle__WEBPACK_IMPORTED_MODULE_3__,
|
|
@@ -15118,8 +14915,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15118
14915
|
assetKey: _asset_key__WEBPACK_IMPORTED_MODULE_14__,
|
|
15119
14916
|
bulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_15__,
|
|
15120
14917
|
comment: _comment__WEBPACK_IMPORTED_MODULE_16__,
|
|
15121
|
-
concept:
|
|
15122
|
-
conceptScheme:
|
|
14918
|
+
concept: _concept__WEBPACK_IMPORTED_MODULE_53__,
|
|
14919
|
+
conceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_54__,
|
|
15123
14920
|
contentType: _content_type__WEBPACK_IMPORTED_MODULE_17__,
|
|
15124
14921
|
editorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_18__,
|
|
15125
14922
|
entry: _entry__WEBPACK_IMPORTED_MODULE_19__,
|
|
@@ -15129,36 +14926,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15129
14926
|
environmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__,
|
|
15130
14927
|
extension: _extension__WEBPACK_IMPORTED_MODULE_24__,
|
|
15131
14928
|
func: _function__WEBPACK_IMPORTED_MODULE_25__,
|
|
15132
|
-
|
|
15133
|
-
|
|
15134
|
-
|
|
15135
|
-
|
|
15136
|
-
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
|
|
15140
|
-
|
|
15141
|
-
|
|
15142
|
-
|
|
15143
|
-
|
|
15144
|
-
|
|
15145
|
-
|
|
15146
|
-
|
|
15147
|
-
|
|
15148
|
-
|
|
15149
|
-
|
|
15150
|
-
|
|
15151
|
-
|
|
15152
|
-
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
|
-
|
|
15156
|
-
|
|
15157
|
-
|
|
15158
|
-
|
|
15159
|
-
|
|
15160
|
-
|
|
15161
|
-
workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_53__
|
|
14929
|
+
locale: _locale__WEBPACK_IMPORTED_MODULE_26__,
|
|
14930
|
+
organization: _organization__WEBPACK_IMPORTED_MODULE_27__,
|
|
14931
|
+
organizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_28__,
|
|
14932
|
+
organizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_29__,
|
|
14933
|
+
personalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_30__,
|
|
14934
|
+
previewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_32__,
|
|
14935
|
+
release: _release__WEBPACK_IMPORTED_MODULE_33__,
|
|
14936
|
+
releaseAction: _release_action__WEBPACK_IMPORTED_MODULE_34__,
|
|
14937
|
+
resourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_55__,
|
|
14938
|
+
resourceType: _resource_type__WEBPACK_IMPORTED_MODULE_56__,
|
|
14939
|
+
resource: _resource__WEBPACK_IMPORTED_MODULE_57__,
|
|
14940
|
+
role: _role__WEBPACK_IMPORTED_MODULE_35__,
|
|
14941
|
+
scheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_36__,
|
|
14942
|
+
snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_37__,
|
|
14943
|
+
space: _space__WEBPACK_IMPORTED_MODULE_38__,
|
|
14944
|
+
spaceMember: _space_member__WEBPACK_IMPORTED_MODULE_39__,
|
|
14945
|
+
spaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_40__,
|
|
14946
|
+
tag: _tag__WEBPACK_IMPORTED_MODULE_41__,
|
|
14947
|
+
task: _task__WEBPACK_IMPORTED_MODULE_42__,
|
|
14948
|
+
team: _team__WEBPACK_IMPORTED_MODULE_43__,
|
|
14949
|
+
teamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_44__,
|
|
14950
|
+
teamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_45__,
|
|
14951
|
+
uiConfig: _ui_config__WEBPACK_IMPORTED_MODULE_46__,
|
|
14952
|
+
upload: _upload__WEBPACK_IMPORTED_MODULE_47__,
|
|
14953
|
+
usage: _usage__WEBPACK_IMPORTED_MODULE_48__,
|
|
14954
|
+
user: _user__WEBPACK_IMPORTED_MODULE_49__,
|
|
14955
|
+
userUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_50__,
|
|
14956
|
+
webhook: _webhook__WEBPACK_IMPORTED_MODULE_51__,
|
|
14957
|
+
workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_52__
|
|
15162
14958
|
});
|
|
15163
14959
|
|
|
15164
14960
|
/***/ }),
|
|
@@ -18125,10 +17921,6 @@ var createPlainClient = function createPlainClient(makeRequest, defaults) {
|
|
|
18125
17921
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getMany'),
|
|
18126
17922
|
getManyForEnvironment: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getManyForEnvironment')
|
|
18127
17923
|
},
|
|
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
|
-
},
|
|
18132
17924
|
editorInterface: {
|
|
18133
17925
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'EditorInterface', 'get'),
|
|
18134
17926
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'EditorInterface', 'getMany'),
|
|
@@ -27832,7 +27624,7 @@ function createClient(params) {
|
|
|
27832
27624
|
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
27833
27625
|
var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
27834
27626
|
var userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(// @ts-expect-error
|
|
27835
|
-
"".concat(sdkMain, "/").concat("11.43.0
|
|
27627
|
+
"".concat(sdkMain, "/").concat("11.43.0"), params.application, params.integration, params.feature);
|
|
27836
27628
|
var adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
27837
27629
|
userAgent: userAgent
|
|
27838
27630
|
}));
|