contentful-management 11.42.0 → 11.43.0-beta.1

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.
@@ -2253,6 +2253,43 @@ var del = function del(http, params) {
2253
2253
 
2254
2254
  /***/ }),
2255
2255
 
2256
+ /***/ "./adapters/REST/endpoints/function.ts":
2257
+ /*!*********************************************!*\
2258
+ !*** ./adapters/REST/endpoints/function.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 */ getMany: function() { return /* binding */ getMany; },
2267
+ /* harmony export */ getManyForEnvironment: function() { return /* binding */ getManyForEnvironment; }
2268
+ /* harmony export */ });
2269
+ /* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
2270
+
2271
+ // Base URL
2272
+ var getManyUrl = function getManyUrl(params) {
2273
+ return "/organizations/".concat(params.organizationId, "/app_definitions/").concat(params.appDefinitionId, "/functions");
2274
+ };
2275
+ var getFunctionUrl = function getFunctionUrl(params) {
2276
+ return "".concat(getManyUrl(params), "/").concat(params.functionId);
2277
+ };
2278
+ var getFunctionsEnvURL = function getFunctionsEnvURL(params) {
2279
+ return "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/app_installations/").concat(params.appInstallationId, "/functions");
2280
+ };
2281
+ var get = function get(http, params) {
2282
+ return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, getFunctionUrl(params));
2283
+ };
2284
+ var getMany = function getMany(http, params) {
2285
+ return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, getManyUrl(params));
2286
+ };
2287
+ var getManyForEnvironment = function getManyForEnvironment(http, params) {
2288
+ return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, getFunctionsEnvURL(params));
2289
+ };
2290
+
2291
+ /***/ }),
2292
+
2256
2293
  /***/ "./adapters/REST/endpoints/http.ts":
2257
2294
  /*!*****************************************!*\
2258
2295
  !*** ./adapters/REST/endpoints/http.ts ***!
@@ -2342,39 +2379,41 @@ __webpack_require__.r(__webpack_exports__);
2342
2379
  /* harmony import */ var _environment_template__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./environment-template */ "./adapters/REST/endpoints/environment-template.ts");
2343
2380
  /* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./environment-template-installation */ "./adapters/REST/endpoints/environment-template-installation.ts");
2344
2381
  /* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./extension */ "./adapters/REST/endpoints/extension.ts");
2345
- /* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./http */ "./adapters/REST/endpoints/http.ts");
2346
- /* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./locale */ "./adapters/REST/endpoints/locale.ts");
2347
- /* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./organization */ "./adapters/REST/endpoints/organization.ts");
2348
- /* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./organization-invitation */ "./adapters/REST/endpoints/organization-invitation.ts");
2349
- /* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./organization-membership */ "./adapters/REST/endpoints/organization-membership.ts");
2350
- /* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./personal-access-token */ "./adapters/REST/endpoints/personal-access-token.ts");
2351
- /* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./preview-api-key */ "./adapters/REST/endpoints/preview-api-key.ts");
2352
- /* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./release */ "./adapters/REST/endpoints/release.ts");
2353
- /* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./release-action */ "./adapters/REST/endpoints/release-action.ts");
2354
- /* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./resource */ "./adapters/REST/endpoints/resource.ts");
2355
- /* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./resource-provider */ "./adapters/REST/endpoints/resource-provider.ts");
2356
- /* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./resource-type */ "./adapters/REST/endpoints/resource-type.ts");
2357
- /* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./role */ "./adapters/REST/endpoints/role.ts");
2358
- /* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./scheduled-action */ "./adapters/REST/endpoints/scheduled-action.ts");
2359
- /* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./snapshot */ "./adapters/REST/endpoints/snapshot.ts");
2360
- /* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./space */ "./adapters/REST/endpoints/space.ts");
2361
- /* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./space-member */ "./adapters/REST/endpoints/space-member.ts");
2362
- /* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./space-membership */ "./adapters/REST/endpoints/space-membership.ts");
2363
- /* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./tag */ "./adapters/REST/endpoints/tag.ts");
2364
- /* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./task */ "./adapters/REST/endpoints/task.ts");
2365
- /* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./team */ "./adapters/REST/endpoints/team.ts");
2366
- /* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./team-membership */ "./adapters/REST/endpoints/team-membership.ts");
2367
- /* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./team-space-membership */ "./adapters/REST/endpoints/team-space-membership.ts");
2368
- /* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./ui-config */ "./adapters/REST/endpoints/ui-config.ts");
2369
- /* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./upload */ "./adapters/REST/endpoints/upload.ts");
2370
- /* harmony import */ var _upload_credentials__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./upload-credentials */ "./adapters/REST/endpoints/upload-credentials.ts");
2371
- /* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./usage */ "./adapters/REST/endpoints/usage.ts");
2372
- /* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./user */ "./adapters/REST/endpoints/user.ts");
2373
- /* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./user-ui-config */ "./adapters/REST/endpoints/user-ui-config.ts");
2374
- /* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./webhook */ "./adapters/REST/endpoints/webhook.ts");
2375
- /* harmony import */ var _workflow__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./workflow */ "./adapters/REST/endpoints/workflow.ts");
2376
- /* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./workflow-definition */ "./adapters/REST/endpoints/workflow-definition.ts");
2377
- /* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
2382
+ /* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./function */ "./adapters/REST/endpoints/function.ts");
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");
2416
+
2378
2417
 
2379
2418
 
2380
2419
 
@@ -2464,40 +2503,41 @@ __webpack_require__.r(__webpack_exports__);
2464
2503
  EnvironmentTemplate: _environment_template__WEBPACK_IMPORTED_MODULE_25__,
2465
2504
  EnvironmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__,
2466
2505
  Extension: _extension__WEBPACK_IMPORTED_MODULE_27__,
2467
- Http: _http__WEBPACK_IMPORTED_MODULE_28__,
2468
- Locale: _locale__WEBPACK_IMPORTED_MODULE_29__,
2469
- Organization: _organization__WEBPACK_IMPORTED_MODULE_30__,
2470
- OrganizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_31__,
2471
- OrganizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_32__,
2472
- PersonalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_33__,
2506
+ Function: _function__WEBPACK_IMPORTED_MODULE_28__,
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__,
2473
2513
  AccessToken: _access_token__WEBPACK_IMPORTED_MODULE_0__,
2474
- PreviewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_34__,
2475
- Release: _release__WEBPACK_IMPORTED_MODULE_35__,
2476
- ReleaseAction: _release_action__WEBPACK_IMPORTED_MODULE_36__,
2477
- Resource: _resource__WEBPACK_IMPORTED_MODULE_37__,
2478
- ResourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_38__,
2479
- ResourceType: _resource_type__WEBPACK_IMPORTED_MODULE_39__,
2480
- Role: _role__WEBPACK_IMPORTED_MODULE_40__,
2481
- ScheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_41__,
2482
- Snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_42__,
2483
- Space: _space__WEBPACK_IMPORTED_MODULE_43__,
2484
- SpaceMember: _space_member__WEBPACK_IMPORTED_MODULE_44__,
2485
- SpaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_45__,
2486
- Tag: _tag__WEBPACK_IMPORTED_MODULE_46__,
2487
- Task: _task__WEBPACK_IMPORTED_MODULE_47__,
2488
- Team: _team__WEBPACK_IMPORTED_MODULE_48__,
2489
- TeamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_49__,
2490
- TeamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_50__,
2491
- UIConfig: _ui_config__WEBPACK_IMPORTED_MODULE_51__,
2492
- Upload: _upload__WEBPACK_IMPORTED_MODULE_52__,
2493
- UploadCredential: _upload_credentials__WEBPACK_IMPORTED_MODULE_53__,
2494
- Usage: _usage__WEBPACK_IMPORTED_MODULE_54__,
2495
- User: _user__WEBPACK_IMPORTED_MODULE_55__,
2496
- UserUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_56__,
2497
- Webhook: _webhook__WEBPACK_IMPORTED_MODULE_57__,
2498
- WorkflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_59__,
2499
- Workflow: _workflow__WEBPACK_IMPORTED_MODULE_58__,
2500
- WorkflowsChangelog: _workflows_changelog__WEBPACK_IMPORTED_MODULE_60__
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__
2501
2541
  });
2502
2542
 
2503
2543
  /***/ }),
@@ -9523,6 +9563,141 @@ function createEnvironmentTemplateApi(makeRequest, organizationId) {
9523
9563
 
9524
9564
  /***/ }),
9525
9565
 
9566
+ /***/ "./create-function-api.ts":
9567
+ /*!********************************!*\
9568
+ !*** ./create-function-api.ts ***!
9569
+ \********************************/
9570
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
9571
+
9572
+ "use strict";
9573
+ __webpack_require__.r(__webpack_exports__);
9574
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9575
+ /* harmony export */ "default": function() { return /* binding */ createFunctionApi; }
9576
+ /* harmony export */ });
9577
+ /* harmony import */ var _entities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./entities */ "./entities/index.ts");
9578
+
9579
+
9580
+ /**
9581
+ * @private
9582
+ */
9583
+
9584
+ /**
9585
+ * @private
9586
+ */
9587
+ function createFunctionApi(makeRequest) {
9588
+ var _entities$func = _entities__WEBPACK_IMPORTED_MODULE_0__["default"].func,
9589
+ wrapFunction = _entities$func.wrapFunction,
9590
+ wrapFunctionCollection = _entities$func.wrapFunctionCollection;
9591
+ return {
9592
+ /**
9593
+ * Gets all Functions for an App Definition
9594
+ * @Param organizationId - Organization ID
9595
+ * @Param appDefinitionId - App Definition ID
9596
+ * @returns a collection of Functions
9597
+ * ```javascript
9598
+ * const contentful = require('contentful-management')
9599
+ *
9600
+ * const client = contentful.createClient({
9601
+ * accessToken: '<content_management_api_key>'
9602
+ * })
9603
+ *
9604
+ * client.function.getMany({
9605
+ * organizationId: <organizationId>,
9606
+ * appDefinitionId: <appDefinitionId>
9607
+ * })
9608
+ * .then((response) => console.log(response.items))
9609
+ * .catch(console.error)
9610
+ * ```
9611
+ */
9612
+ getManyFunctions: function getManyFunctions() {
9613
+ var raw = this.toPlainObject();
9614
+ return makeRequest({
9615
+ entityType: 'Function',
9616
+ action: 'getMany',
9617
+ params: {
9618
+ appDefinitionId: raw.sys.appDefinition.sys.id,
9619
+ organizationId: raw.sys.organization.sys.id
9620
+ }
9621
+ }).then(function (data) {
9622
+ return wrapFunctionCollection(makeRequest, data);
9623
+ });
9624
+ },
9625
+ /**
9626
+ * Gets a Function by ID
9627
+ * @Param organizationId - Organization ID
9628
+ * @Param appDefinitionId - App Definition ID
9629
+ * @Param functionId - Function ID
9630
+ * @returns a collection of Functions
9631
+ * ```javascript
9632
+ * const contentful = require('contentful-management')
9633
+ *
9634
+ * const client = contentful.createClient({
9635
+ * accessToken: '<content_management_api_key>'
9636
+ * })
9637
+ *
9638
+ * client.function.get({
9639
+ * organizationId: <organizationId>,
9640
+ * appDefinitionId: <appDefinitionId>,
9641
+ * functionId: <functionId>
9642
+ * })
9643
+ * .then((response) => console.log(response.items))
9644
+ * .catch(console.error)
9645
+ * ```
9646
+ */
9647
+ getFunction: function getFunction(functionId) {
9648
+ var raw = this.toPlainObject();
9649
+ return makeRequest({
9650
+ entityType: 'Function',
9651
+ action: 'get',
9652
+ params: {
9653
+ appDefinitionId: raw.sys.appDefinition.sys.id,
9654
+ organizationId: raw.sys.organization.sys.id,
9655
+ functionId: functionId
9656
+ }
9657
+ }).then(function (data) {
9658
+ return wrapFunction(makeRequest, data);
9659
+ });
9660
+ },
9661
+ /**
9662
+ * Gets all Functions for an Environment
9663
+ * @Param organizationId - Organization ID
9664
+ * @Param appDefinitionId - App Definition ID
9665
+ * @Param functionId - Function ID
9666
+ * @returns a collection of Functions
9667
+ * ```javascript
9668
+ * const contentful = require('contentful-management')
9669
+ *
9670
+ * const client = contentful.createClient({
9671
+ * accessToken: '<content_management_api_key>'
9672
+ * })
9673
+ *
9674
+ * client.function.get({
9675
+ * environmentId: <environmentId>,
9676
+ * spaceId: <spaceId>,
9677
+ * appInstallationId: <appInstallationId>
9678
+ * })
9679
+ * .then((response) => console.log(response.items))
9680
+ * .catch(console.error)
9681
+ * ```
9682
+ */
9683
+ getManyFunctionsForEnvironment: function getManyFunctionsForEnvironment(spaceId, environmentId, appInstallationId) {
9684
+ return makeRequest({
9685
+ entityType: 'Function',
9686
+ action: 'getManyForEnvironment',
9687
+ params: {
9688
+ spaceId: spaceId,
9689
+ environmentId: environmentId,
9690
+ appInstallationId: appInstallationId
9691
+ }
9692
+ }).then(function (data) {
9693
+ return wrapFunctionCollection(makeRequest, data);
9694
+ });
9695
+ }
9696
+ };
9697
+ }
9698
+
9699
+ /***/ }),
9700
+
9526
9701
  /***/ "./create-organization-api.ts":
9527
9702
  /*!************************************!*\
9528
9703
  !*** ./create-organization-api.ts ***!
@@ -14553,6 +14728,50 @@ var wrapExtensionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_3__.wrap
14553
14728
 
14554
14729
  /***/ }),
14555
14730
 
14731
+ /***/ "./entities/function.ts":
14732
+ /*!******************************!*\
14733
+ !*** ./entities/function.ts ***!
14734
+ \******************************/
14735
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
14736
+
14737
+ "use strict";
14738
+ __webpack_require__.r(__webpack_exports__);
14739
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
14740
+ /* harmony export */ wrapFunction: function() { return /* binding */ wrapFunction; },
14741
+ /* harmony export */ wrapFunctionCollection: function() { return /* binding */ wrapFunctionCollection; }
14742
+ /* harmony export */ });
14743
+ /* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
14744
+ /* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
14745
+ /* harmony import */ var _common_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common-utils */ "./common-utils.ts");
14746
+ /* harmony import */ var _enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../enhance-with-methods */ "./enhance-with-methods.ts");
14747
+ /* harmony import */ var _create_function_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../create-function-api */ "./create-function-api.ts");
14748
+
14749
+
14750
+
14751
+
14752
+
14753
+ /**
14754
+ * @private
14755
+ * @param makeRequest - (real) function to make requests via an adapter
14756
+ * @param data - raw contentful-Function data
14757
+ * @return Wrapped Function data
14758
+ */
14759
+ function wrapFunction(makeRequest, data) {
14760
+ var appAction = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
14761
+ var appActionWithMethods = (0,_enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__["default"])(appAction, (0,_create_function_api__WEBPACK_IMPORTED_MODULE_4__["default"])(makeRequest));
14762
+ return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(appActionWithMethods);
14763
+ }
14764
+
14765
+ /**
14766
+ * @private
14767
+ * @param makeRequest - real) function to make requests via an adapter
14768
+ * @param data - raw contentful-function data
14769
+ * @return Wrapped App Function collection data
14770
+ */
14771
+ var wrapFunctionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_2__.wrapCollection)(wrapFunction);
14772
+
14773
+ /***/ }),
14774
+
14556
14775
  /***/ "./entities/index.ts":
14557
14776
  /*!***************************!*\
14558
14777
  !*** ./entities/index.ts ***!
@@ -14586,38 +14805,40 @@ __webpack_require__.r(__webpack_exports__);
14586
14805
  /* harmony import */ var _environment_template__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./environment-template */ "./entities/environment-template.ts");
14587
14806
  /* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./environment-template-installation */ "./entities/environment-template-installation.ts");
14588
14807
  /* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./extension */ "./entities/extension.ts");
14589
- /* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./locale */ "./entities/locale.ts");
14590
- /* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./organization */ "./entities/organization.ts");
14591
- /* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./organization-invitation */ "./entities/organization-invitation.ts");
14592
- /* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./organization-membership */ "./entities/organization-membership.ts");
14593
- /* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./personal-access-token */ "./entities/personal-access-token.ts");
14594
- /* harmony import */ var _access_token__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./access-token */ "./entities/access-token.ts");
14595
- /* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./preview-api-key */ "./entities/preview-api-key.ts");
14596
- /* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./release */ "./entities/release.ts");
14597
- /* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./release-action */ "./entities/release-action.ts");
14598
- /* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./role */ "./entities/role.ts");
14599
- /* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./scheduled-action */ "./entities/scheduled-action.ts");
14600
- /* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./snapshot */ "./entities/snapshot.ts");
14601
- /* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./space */ "./entities/space.ts");
14602
- /* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./space-member */ "./entities/space-member.ts");
14603
- /* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./space-membership */ "./entities/space-membership.ts");
14604
- /* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./tag */ "./entities/tag.ts");
14605
- /* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./task */ "./entities/task.ts");
14606
- /* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./team */ "./entities/team.ts");
14607
- /* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./team-membership */ "./entities/team-membership.ts");
14608
- /* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./team-space-membership */ "./entities/team-space-membership.ts");
14609
- /* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./ui-config */ "./entities/ui-config.ts");
14610
- /* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./upload */ "./entities/upload.ts");
14611
- /* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./usage */ "./entities/usage.ts");
14612
- /* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./user */ "./entities/user.ts");
14613
- /* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./user-ui-config */ "./entities/user-ui-config.ts");
14614
- /* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./webhook */ "./entities/webhook.ts");
14615
- /* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./workflow-definition */ "./entities/workflow-definition.ts");
14616
- /* harmony import */ var _concept__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./concept */ "./entities/concept.ts");
14617
- /* harmony import */ var _concept_scheme__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./concept-scheme */ "./entities/concept-scheme.ts");
14618
- /* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./resource-provider */ "./entities/resource-provider.ts");
14619
- /* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./resource-type */ "./entities/resource-type.ts");
14620
- /* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
14808
+ /* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./function */ "./entities/function.ts");
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");
14841
+
14621
14842
 
14622
14843
 
14623
14844
 
@@ -14676,7 +14897,7 @@ __webpack_require__.r(__webpack_exports__);
14676
14897
 
14677
14898
 
14678
14899
  /* harmony default export */ __webpack_exports__["default"] = ({
14679
- accessToken: _access_token__WEBPACK_IMPORTED_MODULE_30__,
14900
+ accessToken: _access_token__WEBPACK_IMPORTED_MODULE_31__,
14680
14901
  appAction: _app_action__WEBPACK_IMPORTED_MODULE_1__,
14681
14902
  appActionCall: _app_action_call__WEBPACK_IMPORTED_MODULE_2__,
14682
14903
  appBundle: _app_bundle__WEBPACK_IMPORTED_MODULE_3__,
@@ -14694,8 +14915,8 @@ __webpack_require__.r(__webpack_exports__);
14694
14915
  assetKey: _asset_key__WEBPACK_IMPORTED_MODULE_14__,
14695
14916
  bulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_15__,
14696
14917
  comment: _comment__WEBPACK_IMPORTED_MODULE_16__,
14697
- concept: _concept__WEBPACK_IMPORTED_MODULE_52__,
14698
- conceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_53__,
14918
+ concept: _concept__WEBPACK_IMPORTED_MODULE_53__,
14919
+ conceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_54__,
14699
14920
  contentType: _content_type__WEBPACK_IMPORTED_MODULE_17__,
14700
14921
  editorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_18__,
14701
14922
  entry: _entry__WEBPACK_IMPORTED_MODULE_19__,
@@ -14704,35 +14925,36 @@ __webpack_require__.r(__webpack_exports__);
14704
14925
  environmentTemplate: _environment_template__WEBPACK_IMPORTED_MODULE_22__,
14705
14926
  environmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__,
14706
14927
  extension: _extension__WEBPACK_IMPORTED_MODULE_24__,
14707
- locale: _locale__WEBPACK_IMPORTED_MODULE_25__,
14708
- organization: _organization__WEBPACK_IMPORTED_MODULE_26__,
14709
- organizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_27__,
14710
- organizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_28__,
14711
- personalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_29__,
14712
- previewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_31__,
14713
- release: _release__WEBPACK_IMPORTED_MODULE_32__,
14714
- releaseAction: _release_action__WEBPACK_IMPORTED_MODULE_33__,
14715
- resourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_54__,
14716
- resourceType: _resource_type__WEBPACK_IMPORTED_MODULE_55__,
14717
- resource: _resource__WEBPACK_IMPORTED_MODULE_56__,
14718
- role: _role__WEBPACK_IMPORTED_MODULE_34__,
14719
- scheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_35__,
14720
- snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_36__,
14721
- space: _space__WEBPACK_IMPORTED_MODULE_37__,
14722
- spaceMember: _space_member__WEBPACK_IMPORTED_MODULE_38__,
14723
- spaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_39__,
14724
- tag: _tag__WEBPACK_IMPORTED_MODULE_40__,
14725
- task: _task__WEBPACK_IMPORTED_MODULE_41__,
14726
- team: _team__WEBPACK_IMPORTED_MODULE_42__,
14727
- teamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_43__,
14728
- teamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_44__,
14729
- uiConfig: _ui_config__WEBPACK_IMPORTED_MODULE_45__,
14730
- upload: _upload__WEBPACK_IMPORTED_MODULE_46__,
14731
- usage: _usage__WEBPACK_IMPORTED_MODULE_47__,
14732
- user: _user__WEBPACK_IMPORTED_MODULE_48__,
14733
- userUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_49__,
14734
- webhook: _webhook__WEBPACK_IMPORTED_MODULE_50__,
14735
- workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_51__
14928
+ func: _function__WEBPACK_IMPORTED_MODULE_25__,
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__
14736
14958
  });
14737
14959
 
14738
14960
  /***/ }),
@@ -17695,7 +17917,9 @@ var createPlainClient = function createPlainClient(makeRequest, defaults) {
17695
17917
  updatePut: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'ConceptScheme', 'updatePut')
17696
17918
  },
17697
17919
  function: {
17698
- getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getMany')
17920
+ get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'get'),
17921
+ getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getMany'),
17922
+ getManyForEnvironment: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getManyForEnvironment')
17699
17923
  },
17700
17924
  editorInterface: {
17701
17925
  get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'EditorInterface', 'get'),
@@ -27400,7 +27624,7 @@ function createClient(params) {
27400
27624
  var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
27401
27625
  var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
27402
27626
  var userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(// @ts-expect-error
27403
- "".concat(sdkMain, "/").concat("11.42.0"), params.application, params.integration, params.feature);
27627
+ "".concat(sdkMain, "/").concat("11.43.0-beta.1"), params.application, params.integration, params.feature);
27404
27628
  var adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
27405
27629
  userAgent: userAgent
27406
27630
  }));