contentful-management 11.42.0 → 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 +564 -132
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +548 -132
- 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/function.js +16 -0
- package/dist/es-modules/adapters/REST/endpoints/index.js +4 -0
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/es-modules/create-function-api.js +115 -0
- 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/function.js +24 -1
- package/dist/es-modules/entities/index.js +4 -0
- package/dist/es-modules/plain/entities/function-log.js +1 -0
- package/dist/es-modules/plain/entities/function.js +1 -0
- package/dist/es-modules/plain/plain-client.js +7 -1
- package/dist/typings/adapters/REST/endpoints/function-log.d.ts +3 -0
- package/dist/typings/adapters/REST/endpoints/function.d.ts +4 -0
- package/dist/typings/adapters/REST/endpoints/index.d.ts +4 -0
- package/dist/typings/common-types.d.ts +45 -6
- package/dist/typings/create-function-api.d.ts +78 -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/function.d.ts +23 -1
- package/dist/typings/entities/index.d.ts +4 -0
- package/dist/typings/plain/common-types.d.ts +5 -5
- package/dist/typings/plain/entities/function-log.d.ts +38 -0
- package/dist/typings/plain/entities/function.d.ts +49 -0
- package/package.json +1 -1
|
@@ -2253,6 +2253,85 @@ 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
|
+
/***/ "./adapters/REST/endpoints/function.ts":
|
|
2299
|
+
/*!*********************************************!*\
|
|
2300
|
+
!*** ./adapters/REST/endpoints/function.ts ***!
|
|
2301
|
+
\*********************************************/
|
|
2302
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2303
|
+
|
|
2304
|
+
"use strict";
|
|
2305
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2306
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2307
|
+
/* harmony export */ get: function() { return /* binding */ get; },
|
|
2308
|
+
/* harmony export */ getMany: function() { return /* binding */ getMany; },
|
|
2309
|
+
/* harmony export */ getManyForEnvironment: function() { return /* binding */ getManyForEnvironment; }
|
|
2310
|
+
/* harmony export */ });
|
|
2311
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
2312
|
+
|
|
2313
|
+
// Base URL
|
|
2314
|
+
var getManyUrl = function getManyUrl(params) {
|
|
2315
|
+
return "/organizations/".concat(params.organizationId, "/app_definitions/").concat(params.appDefinitionId, "/functions");
|
|
2316
|
+
};
|
|
2317
|
+
var getFunctionUrl = function getFunctionUrl(params) {
|
|
2318
|
+
return "".concat(getManyUrl(params), "/").concat(params.functionId);
|
|
2319
|
+
};
|
|
2320
|
+
var getFunctionsEnvURL = function getFunctionsEnvURL(params) {
|
|
2321
|
+
return "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/app_installations/").concat(params.appInstallationId, "/functions");
|
|
2322
|
+
};
|
|
2323
|
+
var get = function get(http, params) {
|
|
2324
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, getFunctionUrl(params));
|
|
2325
|
+
};
|
|
2326
|
+
var getMany = function getMany(http, params) {
|
|
2327
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, getManyUrl(params));
|
|
2328
|
+
};
|
|
2329
|
+
var getManyForEnvironment = function getManyForEnvironment(http, params) {
|
|
2330
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, getFunctionsEnvURL(params));
|
|
2331
|
+
};
|
|
2332
|
+
|
|
2333
|
+
/***/ }),
|
|
2334
|
+
|
|
2256
2335
|
/***/ "./adapters/REST/endpoints/http.ts":
|
|
2257
2336
|
/*!*****************************************!*\
|
|
2258
2337
|
!*** ./adapters/REST/endpoints/http.ts ***!
|
|
@@ -2342,39 +2421,43 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2342
2421
|
/* harmony import */ var _environment_template__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./environment-template */ "./adapters/REST/endpoints/environment-template.ts");
|
|
2343
2422
|
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./environment-template-installation */ "./adapters/REST/endpoints/environment-template-installation.ts");
|
|
2344
2423
|
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./extension */ "./adapters/REST/endpoints/extension.ts");
|
|
2345
|
-
/* harmony import */ var
|
|
2346
|
-
/* harmony import */ var
|
|
2347
|
-
/* harmony import */ var
|
|
2348
|
-
/* harmony import */ var
|
|
2349
|
-
/* harmony import */ var
|
|
2350
|
-
/* harmony import */ var
|
|
2351
|
-
/* harmony import */ var
|
|
2352
|
-
/* harmony import */ var
|
|
2353
|
-
/* harmony import */ var
|
|
2354
|
-
/* harmony import */ var
|
|
2355
|
-
/* harmony import */ var
|
|
2356
|
-
/* harmony import */ var
|
|
2357
|
-
/* harmony import */ var
|
|
2358
|
-
/* harmony import */ var
|
|
2359
|
-
/* harmony import */ var
|
|
2360
|
-
/* harmony import */ var
|
|
2361
|
-
/* harmony import */ var
|
|
2362
|
-
/* harmony import */ var
|
|
2363
|
-
/* harmony import */ var
|
|
2364
|
-
/* harmony import */ var
|
|
2365
|
-
/* harmony import */ var
|
|
2366
|
-
/* harmony import */ var
|
|
2367
|
-
/* harmony import */ var
|
|
2368
|
-
/* harmony import */ var
|
|
2369
|
-
/* harmony import */ var
|
|
2370
|
-
/* harmony import */ var
|
|
2371
|
-
/* harmony import */ var
|
|
2372
|
-
/* harmony import */ var
|
|
2373
|
-
/* harmony import */ var
|
|
2374
|
-
/* harmony import */ var
|
|
2375
|
-
/* harmony import */ var
|
|
2376
|
-
/* harmony import */ var
|
|
2377
|
-
/* harmony import */ var
|
|
2424
|
+
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./function */ "./adapters/REST/endpoints/function.ts");
|
|
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
|
+
|
|
2460
|
+
|
|
2378
2461
|
|
|
2379
2462
|
|
|
2380
2463
|
|
|
@@ -2464,40 +2547,42 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2464
2547
|
EnvironmentTemplate: _environment_template__WEBPACK_IMPORTED_MODULE_25__,
|
|
2465
2548
|
EnvironmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__,
|
|
2466
2549
|
Extension: _extension__WEBPACK_IMPORTED_MODULE_27__,
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2550
|
+
Function: _function__WEBPACK_IMPORTED_MODULE_28__,
|
|
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__,
|
|
2473
2558
|
AccessToken: _access_token__WEBPACK_IMPORTED_MODULE_0__,
|
|
2474
|
-
PreviewApiKey:
|
|
2475
|
-
Release:
|
|
2476
|
-
ReleaseAction:
|
|
2477
|
-
Resource:
|
|
2478
|
-
ResourceProvider:
|
|
2479
|
-
ResourceType:
|
|
2480
|
-
Role:
|
|
2481
|
-
ScheduledAction:
|
|
2482
|
-
Snapshot:
|
|
2483
|
-
Space:
|
|
2484
|
-
SpaceMember:
|
|
2485
|
-
SpaceMembership:
|
|
2486
|
-
Tag:
|
|
2487
|
-
Task:
|
|
2488
|
-
Team:
|
|
2489
|
-
TeamMembership:
|
|
2490
|
-
TeamSpaceMembership:
|
|
2491
|
-
UIConfig:
|
|
2492
|
-
Upload:
|
|
2493
|
-
UploadCredential:
|
|
2494
|
-
Usage:
|
|
2495
|
-
User:
|
|
2496
|
-
UserUIConfig:
|
|
2497
|
-
Webhook:
|
|
2498
|
-
WorkflowDefinition:
|
|
2499
|
-
Workflow:
|
|
2500
|
-
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__
|
|
2501
2586
|
});
|
|
2502
2587
|
|
|
2503
2588
|
/***/ }),
|
|
@@ -9523,6 +9608,253 @@ function createEnvironmentTemplateApi(makeRequest, organizationId) {
|
|
|
9523
9608
|
|
|
9524
9609
|
/***/ }),
|
|
9525
9610
|
|
|
9611
|
+
/***/ "./create-function-api.ts":
|
|
9612
|
+
/*!********************************!*\
|
|
9613
|
+
!*** ./create-function-api.ts ***!
|
|
9614
|
+
\********************************/
|
|
9615
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9616
|
+
|
|
9617
|
+
"use strict";
|
|
9618
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9619
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9620
|
+
/* harmony export */ "default": function() { return /* binding */ createFunctionApi; }
|
|
9621
|
+
/* harmony export */ });
|
|
9622
|
+
/* harmony import */ var _entities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./entities */ "./entities/index.ts");
|
|
9623
|
+
|
|
9624
|
+
|
|
9625
|
+
/**
|
|
9626
|
+
* @private
|
|
9627
|
+
*/
|
|
9628
|
+
|
|
9629
|
+
/**
|
|
9630
|
+
* @private
|
|
9631
|
+
*/
|
|
9632
|
+
function createFunctionApi(makeRequest) {
|
|
9633
|
+
var _entities$func = _entities__WEBPACK_IMPORTED_MODULE_0__["default"].func,
|
|
9634
|
+
wrapFunction = _entities$func.wrapFunction,
|
|
9635
|
+
wrapFunctionCollection = _entities$func.wrapFunctionCollection;
|
|
9636
|
+
return {
|
|
9637
|
+
/**
|
|
9638
|
+
* Gets all Functions for an App Definition
|
|
9639
|
+
* @Param organizationId - Organization ID
|
|
9640
|
+
* @Param appDefinitionId - App Definition ID
|
|
9641
|
+
* @returns a collection of Functions
|
|
9642
|
+
* ```javascript
|
|
9643
|
+
* const contentful = require('contentful-management')
|
|
9644
|
+
*
|
|
9645
|
+
* const client = contentful.createClient({
|
|
9646
|
+
* accessToken: '<content_management_api_key>'
|
|
9647
|
+
* })
|
|
9648
|
+
*
|
|
9649
|
+
* client.function.getMany({
|
|
9650
|
+
* organizationId: <organizationId>,
|
|
9651
|
+
* appDefinitionId: <appDefinitionId>
|
|
9652
|
+
* })
|
|
9653
|
+
* .then((response) => console.log(response.items))
|
|
9654
|
+
* .catch(console.error)
|
|
9655
|
+
* ```
|
|
9656
|
+
*/
|
|
9657
|
+
getManyFunctions: function getManyFunctions() {
|
|
9658
|
+
var raw = this.toPlainObject();
|
|
9659
|
+
return makeRequest({
|
|
9660
|
+
entityType: 'Function',
|
|
9661
|
+
action: 'getMany',
|
|
9662
|
+
params: {
|
|
9663
|
+
appDefinitionId: raw.sys.appDefinition.sys.id,
|
|
9664
|
+
organizationId: raw.sys.organization.sys.id
|
|
9665
|
+
}
|
|
9666
|
+
}).then(function (data) {
|
|
9667
|
+
return wrapFunctionCollection(makeRequest, data);
|
|
9668
|
+
});
|
|
9669
|
+
},
|
|
9670
|
+
/**
|
|
9671
|
+
* Gets a Function by ID
|
|
9672
|
+
* @Param organizationId - Organization ID
|
|
9673
|
+
* @Param appDefinitionId - App Definition ID
|
|
9674
|
+
* @Param functionId - Function ID
|
|
9675
|
+
* @returns a collection of Functions
|
|
9676
|
+
* ```javascript
|
|
9677
|
+
* const contentful = require('contentful-management')
|
|
9678
|
+
*
|
|
9679
|
+
* const client = contentful.createClient({
|
|
9680
|
+
* accessToken: '<content_management_api_key>'
|
|
9681
|
+
* })
|
|
9682
|
+
*
|
|
9683
|
+
* client.function.get({
|
|
9684
|
+
* organizationId: <organizationId>,
|
|
9685
|
+
* appDefinitionId: <appDefinitionId>,
|
|
9686
|
+
* functionId: <functionId>
|
|
9687
|
+
* })
|
|
9688
|
+
* .then((response) => console.log(response.items))
|
|
9689
|
+
* .catch(console.error)
|
|
9690
|
+
* ```
|
|
9691
|
+
*/
|
|
9692
|
+
getFunction: function getFunction(functionId) {
|
|
9693
|
+
var raw = this.toPlainObject();
|
|
9694
|
+
return makeRequest({
|
|
9695
|
+
entityType: 'Function',
|
|
9696
|
+
action: 'get',
|
|
9697
|
+
params: {
|
|
9698
|
+
appDefinitionId: raw.sys.appDefinition.sys.id,
|
|
9699
|
+
organizationId: raw.sys.organization.sys.id,
|
|
9700
|
+
functionId: functionId
|
|
9701
|
+
}
|
|
9702
|
+
}).then(function (data) {
|
|
9703
|
+
return wrapFunction(makeRequest, data);
|
|
9704
|
+
});
|
|
9705
|
+
},
|
|
9706
|
+
/**
|
|
9707
|
+
* Gets all Functions for an Environment
|
|
9708
|
+
* @Param organizationId - Organization ID
|
|
9709
|
+
* @Param appDefinitionId - App Definition ID
|
|
9710
|
+
* @Param functionId - Function ID
|
|
9711
|
+
* @returns a collection of Functions
|
|
9712
|
+
* ```javascript
|
|
9713
|
+
* const contentful = require('contentful-management')
|
|
9714
|
+
*
|
|
9715
|
+
* const client = contentful.createClient({
|
|
9716
|
+
* accessToken: '<content_management_api_key>'
|
|
9717
|
+
* })
|
|
9718
|
+
*
|
|
9719
|
+
* client.function.get({
|
|
9720
|
+
* environmentId: <environmentId>,
|
|
9721
|
+
* spaceId: <spaceId>,
|
|
9722
|
+
* appInstallationId: <appInstallationId>
|
|
9723
|
+
* })
|
|
9724
|
+
* .then((response) => console.log(response.items))
|
|
9725
|
+
* .catch(console.error)
|
|
9726
|
+
* ```
|
|
9727
|
+
*/
|
|
9728
|
+
getManyFunctionsForEnvironment: function getManyFunctionsForEnvironment(spaceId, environmentId, appInstallationId) {
|
|
9729
|
+
return makeRequest({
|
|
9730
|
+
entityType: 'Function',
|
|
9731
|
+
action: 'getManyForEnvironment',
|
|
9732
|
+
params: {
|
|
9733
|
+
spaceId: spaceId,
|
|
9734
|
+
environmentId: environmentId,
|
|
9735
|
+
appInstallationId: appInstallationId
|
|
9736
|
+
}
|
|
9737
|
+
}).then(function (data) {
|
|
9738
|
+
return wrapFunctionCollection(makeRequest, data);
|
|
9739
|
+
});
|
|
9740
|
+
}
|
|
9741
|
+
};
|
|
9742
|
+
}
|
|
9743
|
+
|
|
9744
|
+
/***/ }),
|
|
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
|
+
|
|
9526
9858
|
/***/ "./create-organization-api.ts":
|
|
9527
9859
|
/*!************************************!*\
|
|
9528
9860
|
!*** ./create-organization-api.ts ***!
|
|
@@ -14553,6 +14885,94 @@ var wrapExtensionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_3__.wrap
|
|
|
14553
14885
|
|
|
14554
14886
|
/***/ }),
|
|
14555
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
|
+
|
|
14932
|
+
/***/ "./entities/function.ts":
|
|
14933
|
+
/*!******************************!*\
|
|
14934
|
+
!*** ./entities/function.ts ***!
|
|
14935
|
+
\******************************/
|
|
14936
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14937
|
+
|
|
14938
|
+
"use strict";
|
|
14939
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14940
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14941
|
+
/* harmony export */ wrapFunction: function() { return /* binding */ wrapFunction; },
|
|
14942
|
+
/* harmony export */ wrapFunctionCollection: function() { return /* binding */ wrapFunctionCollection; }
|
|
14943
|
+
/* harmony export */ });
|
|
14944
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
14945
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
14946
|
+
/* harmony import */ var _common_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common-utils */ "./common-utils.ts");
|
|
14947
|
+
/* harmony import */ var _enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../enhance-with-methods */ "./enhance-with-methods.ts");
|
|
14948
|
+
/* harmony import */ var _create_function_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../create-function-api */ "./create-function-api.ts");
|
|
14949
|
+
|
|
14950
|
+
|
|
14951
|
+
|
|
14952
|
+
|
|
14953
|
+
|
|
14954
|
+
/**
|
|
14955
|
+
* @private
|
|
14956
|
+
* @param makeRequest - (real) function to make requests via an adapter
|
|
14957
|
+
* @param data - raw contentful-Function data
|
|
14958
|
+
* @return Wrapped Function data
|
|
14959
|
+
*/
|
|
14960
|
+
function wrapFunction(makeRequest, data) {
|
|
14961
|
+
var appAction = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
14962
|
+
var appActionWithMethods = (0,_enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__["default"])(appAction, (0,_create_function_api__WEBPACK_IMPORTED_MODULE_4__["default"])(makeRequest));
|
|
14963
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(appActionWithMethods);
|
|
14964
|
+
}
|
|
14965
|
+
|
|
14966
|
+
/**
|
|
14967
|
+
* @private
|
|
14968
|
+
* @param makeRequest - real) function to make requests via an adapter
|
|
14969
|
+
* @param data - raw contentful-function data
|
|
14970
|
+
* @return Wrapped App Function collection data
|
|
14971
|
+
*/
|
|
14972
|
+
var wrapFunctionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_2__.wrapCollection)(wrapFunction);
|
|
14973
|
+
|
|
14974
|
+
/***/ }),
|
|
14975
|
+
|
|
14556
14976
|
/***/ "./entities/index.ts":
|
|
14557
14977
|
/*!***************************!*\
|
|
14558
14978
|
!*** ./entities/index.ts ***!
|
|
@@ -14586,38 +15006,42 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14586
15006
|
/* harmony import */ var _environment_template__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./environment-template */ "./entities/environment-template.ts");
|
|
14587
15007
|
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./environment-template-installation */ "./entities/environment-template-installation.ts");
|
|
14588
15008
|
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./extension */ "./entities/extension.ts");
|
|
14589
|
-
/* harmony import */ var
|
|
14590
|
-
/* harmony import */ var
|
|
14591
|
-
/* harmony import */ var
|
|
14592
|
-
/* harmony import */ var
|
|
14593
|
-
/* harmony import */ var
|
|
14594
|
-
/* harmony import */ var
|
|
14595
|
-
/* harmony import */ var
|
|
14596
|
-
/* harmony import */ var
|
|
14597
|
-
/* harmony import */ var
|
|
14598
|
-
/* harmony import */ var
|
|
14599
|
-
/* harmony import */ var
|
|
14600
|
-
/* harmony import */ var
|
|
14601
|
-
/* harmony import */ var
|
|
14602
|
-
/* harmony import */ var
|
|
14603
|
-
/* harmony import */ var
|
|
14604
|
-
/* harmony import */ var
|
|
14605
|
-
/* harmony import */ var
|
|
14606
|
-
/* harmony import */ var
|
|
14607
|
-
/* harmony import */ var
|
|
14608
|
-
/* harmony import */ var
|
|
14609
|
-
/* harmony import */ var
|
|
14610
|
-
/* harmony import */ var
|
|
14611
|
-
/* harmony import */ var
|
|
14612
|
-
/* harmony import */ var
|
|
14613
|
-
/* harmony import */ var
|
|
14614
|
-
/* harmony import */ var
|
|
14615
|
-
/* harmony import */ var
|
|
14616
|
-
/* harmony import */ var
|
|
14617
|
-
/* harmony import */ var
|
|
14618
|
-
/* harmony import */ var
|
|
14619
|
-
/* harmony import */ var
|
|
14620
|
-
/* harmony import */ var
|
|
15009
|
+
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./function */ "./entities/function.ts");
|
|
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
|
+
|
|
15044
|
+
|
|
14621
15045
|
|
|
14622
15046
|
|
|
14623
15047
|
|
|
@@ -14676,7 +15100,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14676
15100
|
|
|
14677
15101
|
|
|
14678
15102
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
14679
|
-
accessToken:
|
|
15103
|
+
accessToken: _access_token__WEBPACK_IMPORTED_MODULE_32__,
|
|
14680
15104
|
appAction: _app_action__WEBPACK_IMPORTED_MODULE_1__,
|
|
14681
15105
|
appActionCall: _app_action_call__WEBPACK_IMPORTED_MODULE_2__,
|
|
14682
15106
|
appBundle: _app_bundle__WEBPACK_IMPORTED_MODULE_3__,
|
|
@@ -14694,8 +15118,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14694
15118
|
assetKey: _asset_key__WEBPACK_IMPORTED_MODULE_14__,
|
|
14695
15119
|
bulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_15__,
|
|
14696
15120
|
comment: _comment__WEBPACK_IMPORTED_MODULE_16__,
|
|
14697
|
-
concept:
|
|
14698
|
-
conceptScheme:
|
|
15121
|
+
concept: _concept__WEBPACK_IMPORTED_MODULE_54__,
|
|
15122
|
+
conceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_55__,
|
|
14699
15123
|
contentType: _content_type__WEBPACK_IMPORTED_MODULE_17__,
|
|
14700
15124
|
editorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_18__,
|
|
14701
15125
|
entry: _entry__WEBPACK_IMPORTED_MODULE_19__,
|
|
@@ -14704,35 +15128,37 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14704
15128
|
environmentTemplate: _environment_template__WEBPACK_IMPORTED_MODULE_22__,
|
|
14705
15129
|
environmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__,
|
|
14706
15130
|
extension: _extension__WEBPACK_IMPORTED_MODULE_24__,
|
|
14707
|
-
|
|
14708
|
-
|
|
14709
|
-
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
|
|
14714
|
-
|
|
14715
|
-
|
|
14716
|
-
|
|
14717
|
-
|
|
14718
|
-
|
|
14719
|
-
|
|
14720
|
-
|
|
14721
|
-
|
|
14722
|
-
|
|
14723
|
-
|
|
14724
|
-
|
|
14725
|
-
|
|
14726
|
-
|
|
14727
|
-
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
|
|
14731
|
-
|
|
14732
|
-
|
|
14733
|
-
|
|
14734
|
-
|
|
14735
|
-
|
|
15131
|
+
func: _function__WEBPACK_IMPORTED_MODULE_25__,
|
|
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__
|
|
14736
15162
|
});
|
|
14737
15163
|
|
|
14738
15164
|
/***/ }),
|
|
@@ -17695,7 +18121,13 @@ var createPlainClient = function createPlainClient(makeRequest, defaults) {
|
|
|
17695
18121
|
updatePut: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'ConceptScheme', 'updatePut')
|
|
17696
18122
|
},
|
|
17697
18123
|
function: {
|
|
17698
|
-
|
|
18124
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'get'),
|
|
18125
|
+
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getMany'),
|
|
18126
|
+
getManyForEnvironment: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getManyForEnvironment')
|
|
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')
|
|
17699
18131
|
},
|
|
17700
18132
|
editorInterface: {
|
|
17701
18133
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'EditorInterface', 'get'),
|
|
@@ -27400,7 +27832,7 @@ function createClient(params) {
|
|
|
27400
27832
|
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
27401
27833
|
var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
27402
27834
|
var userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(// @ts-expect-error
|
|
27403
|
-
"".concat(sdkMain, "/").concat("11.
|
|
27835
|
+
"".concat(sdkMain, "/").concat("11.43.0-beta.2"), params.application, params.integration, params.feature);
|
|
27404
27836
|
var adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
27405
27837
|
userAgent: userAgent
|
|
27406
27838
|
}));
|