contentful-management 11.43.0-beta.1 → 11.43.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contentful-management.browser.js +339 -131
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +332 -131
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/adapters/REST/endpoints/function-log.js +21 -0
- package/dist/es-modules/adapters/REST/endpoints/index.js +2 -0
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/es-modules/create-function-log-api.js +94 -0
- package/dist/es-modules/entities/function-log.js +24 -0
- package/dist/es-modules/entities/index.js +2 -0
- package/dist/es-modules/plain/entities/function-log.js +1 -0
- package/dist/es-modules/plain/plain-client.js +4 -0
- package/dist/typings/adapters/REST/endpoints/function-log.d.ts +3 -0
- package/dist/typings/adapters/REST/endpoints/index.d.ts +2 -0
- package/dist/typings/common-types.d.ts +21 -0
- package/dist/typings/create-function-log-api.d.ts +63 -0
- package/dist/typings/entities/function-log.d.ts +50 -0
- package/dist/typings/entities/index.d.ts +2 -0
- package/dist/typings/plain/common-types.d.ts +2 -0
- package/dist/typings/plain/entities/function-log.d.ts +38 -0
- package/dist/typings/plain/entities/function.d.ts +4 -4
- package/package.json +1 -1
|
@@ -2490,6 +2490,43 @@ const del = (http, params) => {
|
|
|
2490
2490
|
|
|
2491
2491
|
/***/ }),
|
|
2492
2492
|
|
|
2493
|
+
/***/ "./adapters/REST/endpoints/function-log.ts":
|
|
2494
|
+
/*!*************************************************!*\
|
|
2495
|
+
!*** ./adapters/REST/endpoints/function-log.ts ***!
|
|
2496
|
+
\*************************************************/
|
|
2497
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2498
|
+
|
|
2499
|
+
"use strict";
|
|
2500
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2501
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2502
|
+
/* harmony export */ get: () => (/* binding */ get),
|
|
2503
|
+
/* harmony export */ getAll: () => (/* binding */ getAll)
|
|
2504
|
+
/* harmony export */ });
|
|
2505
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
2506
|
+
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; }
|
|
2507
|
+
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; }
|
|
2508
|
+
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; }
|
|
2509
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
2510
|
+
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); }
|
|
2511
|
+
|
|
2512
|
+
const FunctionLogAlphaHeaders = {
|
|
2513
|
+
'x-contentful-enable-alpha-feature': 'function-logs'
|
|
2514
|
+
};
|
|
2515
|
+
const baseURL = params => `/spaces/${params.spaceId}/environments/${params.environmentId}/app_installations/${params.appInstallationId}/functions/${params.functionId}/logs`;
|
|
2516
|
+
const getURL = params => `/spaces/${params.spaceId}/environments/${params.environmentId}/app_installations/${params.appInstallationId}/functions/${params.functionId}/logs/${params.logId}`;
|
|
2517
|
+
const get = (http, params) => {
|
|
2518
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, getURL(params), {
|
|
2519
|
+
headers: _objectSpread({}, FunctionLogAlphaHeaders)
|
|
2520
|
+
});
|
|
2521
|
+
};
|
|
2522
|
+
const getAll = (http, params) => {
|
|
2523
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, baseURL(params), {
|
|
2524
|
+
headers: _objectSpread({}, FunctionLogAlphaHeaders)
|
|
2525
|
+
});
|
|
2526
|
+
};
|
|
2527
|
+
|
|
2528
|
+
/***/ }),
|
|
2529
|
+
|
|
2493
2530
|
/***/ "./adapters/REST/endpoints/function.ts":
|
|
2494
2531
|
/*!*********************************************!*\
|
|
2495
2532
|
!*** ./adapters/REST/endpoints/function.ts ***!
|
|
@@ -2622,39 +2659,41 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2622
2659
|
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./environment-template-installation */ "./adapters/REST/endpoints/environment-template-installation.ts");
|
|
2623
2660
|
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./extension */ "./adapters/REST/endpoints/extension.ts");
|
|
2624
2661
|
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./function */ "./adapters/REST/endpoints/function.ts");
|
|
2625
|
-
/* harmony import */ var
|
|
2626
|
-
/* harmony import */ var
|
|
2627
|
-
/* harmony import */ var
|
|
2628
|
-
/* harmony import */ var
|
|
2629
|
-
/* harmony import */ var
|
|
2630
|
-
/* harmony import */ var
|
|
2631
|
-
/* harmony import */ var
|
|
2632
|
-
/* harmony import */ var
|
|
2633
|
-
/* harmony import */ var
|
|
2634
|
-
/* harmony import */ var
|
|
2635
|
-
/* harmony import */ var
|
|
2636
|
-
/* harmony import */ var
|
|
2637
|
-
/* harmony import */ var
|
|
2638
|
-
/* harmony import */ var
|
|
2639
|
-
/* harmony import */ var
|
|
2640
|
-
/* harmony import */ var
|
|
2641
|
-
/* harmony import */ var
|
|
2642
|
-
/* harmony import */ var
|
|
2643
|
-
/* harmony import */ var
|
|
2644
|
-
/* harmony import */ var
|
|
2645
|
-
/* harmony import */ var
|
|
2646
|
-
/* harmony import */ var
|
|
2647
|
-
/* harmony import */ var
|
|
2648
|
-
/* harmony import */ var
|
|
2649
|
-
/* harmony import */ var
|
|
2650
|
-
/* harmony import */ var
|
|
2651
|
-
/* harmony import */ var
|
|
2652
|
-
/* harmony import */ var
|
|
2653
|
-
/* harmony import */ var
|
|
2654
|
-
/* harmony import */ var
|
|
2655
|
-
/* harmony import */ var
|
|
2656
|
-
/* harmony import */ var
|
|
2657
|
-
/* harmony import */ var
|
|
2662
|
+
/* harmony import */ var _function_log__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./function-log */ "./adapters/REST/endpoints/function-log.ts");
|
|
2663
|
+
/* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./http */ "./adapters/REST/endpoints/http.ts");
|
|
2664
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./locale */ "./adapters/REST/endpoints/locale.ts");
|
|
2665
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./organization */ "./adapters/REST/endpoints/organization.ts");
|
|
2666
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./organization-invitation */ "./adapters/REST/endpoints/organization-invitation.ts");
|
|
2667
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./organization-membership */ "./adapters/REST/endpoints/organization-membership.ts");
|
|
2668
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./personal-access-token */ "./adapters/REST/endpoints/personal-access-token.ts");
|
|
2669
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./preview-api-key */ "./adapters/REST/endpoints/preview-api-key.ts");
|
|
2670
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./release */ "./adapters/REST/endpoints/release.ts");
|
|
2671
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./release-action */ "./adapters/REST/endpoints/release-action.ts");
|
|
2672
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./resource */ "./adapters/REST/endpoints/resource.ts");
|
|
2673
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./resource-provider */ "./adapters/REST/endpoints/resource-provider.ts");
|
|
2674
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./resource-type */ "./adapters/REST/endpoints/resource-type.ts");
|
|
2675
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./role */ "./adapters/REST/endpoints/role.ts");
|
|
2676
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./scheduled-action */ "./adapters/REST/endpoints/scheduled-action.ts");
|
|
2677
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./snapshot */ "./adapters/REST/endpoints/snapshot.ts");
|
|
2678
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./space */ "./adapters/REST/endpoints/space.ts");
|
|
2679
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./space-member */ "./adapters/REST/endpoints/space-member.ts");
|
|
2680
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./space-membership */ "./adapters/REST/endpoints/space-membership.ts");
|
|
2681
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./tag */ "./adapters/REST/endpoints/tag.ts");
|
|
2682
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./task */ "./adapters/REST/endpoints/task.ts");
|
|
2683
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./team */ "./adapters/REST/endpoints/team.ts");
|
|
2684
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./team-membership */ "./adapters/REST/endpoints/team-membership.ts");
|
|
2685
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./team-space-membership */ "./adapters/REST/endpoints/team-space-membership.ts");
|
|
2686
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./ui-config */ "./adapters/REST/endpoints/ui-config.ts");
|
|
2687
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./upload */ "./adapters/REST/endpoints/upload.ts");
|
|
2688
|
+
/* harmony import */ var _upload_credentials__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./upload-credentials */ "./adapters/REST/endpoints/upload-credentials.ts");
|
|
2689
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./usage */ "./adapters/REST/endpoints/usage.ts");
|
|
2690
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./user */ "./adapters/REST/endpoints/user.ts");
|
|
2691
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./user-ui-config */ "./adapters/REST/endpoints/user-ui-config.ts");
|
|
2692
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./webhook */ "./adapters/REST/endpoints/webhook.ts");
|
|
2693
|
+
/* harmony import */ var _workflow__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./workflow */ "./adapters/REST/endpoints/workflow.ts");
|
|
2694
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./workflow-definition */ "./adapters/REST/endpoints/workflow-definition.ts");
|
|
2695
|
+
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
2696
|
+
|
|
2658
2697
|
|
|
2659
2698
|
|
|
2660
2699
|
|
|
@@ -2746,40 +2785,41 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2746
2785
|
EnvironmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__,
|
|
2747
2786
|
Extension: _extension__WEBPACK_IMPORTED_MODULE_27__,
|
|
2748
2787
|
Function: _function__WEBPACK_IMPORTED_MODULE_28__,
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2788
|
+
FunctionLog: _function_log__WEBPACK_IMPORTED_MODULE_29__,
|
|
2789
|
+
Http: _http__WEBPACK_IMPORTED_MODULE_30__,
|
|
2790
|
+
Locale: _locale__WEBPACK_IMPORTED_MODULE_31__,
|
|
2791
|
+
Organization: _organization__WEBPACK_IMPORTED_MODULE_32__,
|
|
2792
|
+
OrganizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_33__,
|
|
2793
|
+
OrganizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_34__,
|
|
2794
|
+
PersonalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_35__,
|
|
2755
2795
|
AccessToken: _access_token__WEBPACK_IMPORTED_MODULE_0__,
|
|
2756
|
-
PreviewApiKey:
|
|
2757
|
-
Release:
|
|
2758
|
-
ReleaseAction:
|
|
2759
|
-
Resource:
|
|
2760
|
-
ResourceProvider:
|
|
2761
|
-
ResourceType:
|
|
2762
|
-
Role:
|
|
2763
|
-
ScheduledAction:
|
|
2764
|
-
Snapshot:
|
|
2765
|
-
Space:
|
|
2766
|
-
SpaceMember:
|
|
2767
|
-
SpaceMembership:
|
|
2768
|
-
Tag:
|
|
2769
|
-
Task:
|
|
2770
|
-
Team:
|
|
2771
|
-
TeamMembership:
|
|
2772
|
-
TeamSpaceMembership:
|
|
2773
|
-
UIConfig:
|
|
2774
|
-
Upload:
|
|
2775
|
-
UploadCredential:
|
|
2776
|
-
Usage:
|
|
2777
|
-
User:
|
|
2778
|
-
UserUIConfig:
|
|
2779
|
-
Webhook:
|
|
2780
|
-
WorkflowDefinition:
|
|
2781
|
-
Workflow:
|
|
2782
|
-
WorkflowsChangelog:
|
|
2796
|
+
PreviewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_36__,
|
|
2797
|
+
Release: _release__WEBPACK_IMPORTED_MODULE_37__,
|
|
2798
|
+
ReleaseAction: _release_action__WEBPACK_IMPORTED_MODULE_38__,
|
|
2799
|
+
Resource: _resource__WEBPACK_IMPORTED_MODULE_39__,
|
|
2800
|
+
ResourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_40__,
|
|
2801
|
+
ResourceType: _resource_type__WEBPACK_IMPORTED_MODULE_41__,
|
|
2802
|
+
Role: _role__WEBPACK_IMPORTED_MODULE_42__,
|
|
2803
|
+
ScheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_43__,
|
|
2804
|
+
Snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_44__,
|
|
2805
|
+
Space: _space__WEBPACK_IMPORTED_MODULE_45__,
|
|
2806
|
+
SpaceMember: _space_member__WEBPACK_IMPORTED_MODULE_46__,
|
|
2807
|
+
SpaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_47__,
|
|
2808
|
+
Tag: _tag__WEBPACK_IMPORTED_MODULE_48__,
|
|
2809
|
+
Task: _task__WEBPACK_IMPORTED_MODULE_49__,
|
|
2810
|
+
Team: _team__WEBPACK_IMPORTED_MODULE_50__,
|
|
2811
|
+
TeamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_51__,
|
|
2812
|
+
TeamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_52__,
|
|
2813
|
+
UIConfig: _ui_config__WEBPACK_IMPORTED_MODULE_53__,
|
|
2814
|
+
Upload: _upload__WEBPACK_IMPORTED_MODULE_54__,
|
|
2815
|
+
UploadCredential: _upload_credentials__WEBPACK_IMPORTED_MODULE_55__,
|
|
2816
|
+
Usage: _usage__WEBPACK_IMPORTED_MODULE_56__,
|
|
2817
|
+
User: _user__WEBPACK_IMPORTED_MODULE_57__,
|
|
2818
|
+
UserUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_58__,
|
|
2819
|
+
Webhook: _webhook__WEBPACK_IMPORTED_MODULE_59__,
|
|
2820
|
+
WorkflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_61__,
|
|
2821
|
+
Workflow: _workflow__WEBPACK_IMPORTED_MODULE_60__,
|
|
2822
|
+
WorkflowsChangelog: _workflows_changelog__WEBPACK_IMPORTED_MODULE_62__
|
|
2783
2823
|
});
|
|
2784
2824
|
|
|
2785
2825
|
/***/ }),
|
|
@@ -9435,6 +9475,116 @@ function createFunctionApi(makeRequest) {
|
|
|
9435
9475
|
|
|
9436
9476
|
/***/ }),
|
|
9437
9477
|
|
|
9478
|
+
/***/ "./create-function-log-api.ts":
|
|
9479
|
+
/*!************************************!*\
|
|
9480
|
+
!*** ./create-function-log-api.ts ***!
|
|
9481
|
+
\************************************/
|
|
9482
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9483
|
+
|
|
9484
|
+
"use strict";
|
|
9485
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9486
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9487
|
+
/* harmony export */ "default": () => (/* binding */ createFunctionLogApi)
|
|
9488
|
+
/* harmony export */ });
|
|
9489
|
+
/* harmony import */ var _entities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./entities */ "./entities/index.ts");
|
|
9490
|
+
/* harmony import */ var _entities_function_log__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./entities/function-log */ "./entities/function-log.ts");
|
|
9491
|
+
|
|
9492
|
+
|
|
9493
|
+
|
|
9494
|
+
/**
|
|
9495
|
+
* @private
|
|
9496
|
+
*/
|
|
9497
|
+
|
|
9498
|
+
/**
|
|
9499
|
+
* @private
|
|
9500
|
+
*/
|
|
9501
|
+
function createFunctionLogApi(makeRequest) {
|
|
9502
|
+
const {
|
|
9503
|
+
wrapFunctionLog
|
|
9504
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_0__["default"].functionLog;
|
|
9505
|
+
return {
|
|
9506
|
+
/**
|
|
9507
|
+
* Get a FunctionLog by it's log ID
|
|
9508
|
+
* @Param spaceId - Space ID
|
|
9509
|
+
* @Param environmentId - Environment ID
|
|
9510
|
+
* @Param appInstallationId - App Installation ID
|
|
9511
|
+
* @Param functionId - Function ID
|
|
9512
|
+
* @Param logId - Log ID
|
|
9513
|
+
* @returns a function log
|
|
9514
|
+
* ```javascript
|
|
9515
|
+
* const contentful = require('contentful-management')
|
|
9516
|
+
*
|
|
9517
|
+
* const client = contentful.createClient({
|
|
9518
|
+
* accessToken: '<content_management_api_key>'
|
|
9519
|
+
* })
|
|
9520
|
+
*
|
|
9521
|
+
* client.functionLog.get({
|
|
9522
|
+
* spaceId: '<space_id>',
|
|
9523
|
+
* environmentId: '<environment_id>',
|
|
9524
|
+
* appInstallationId: '<app_installation_id>',
|
|
9525
|
+
* functionId: '<function_id>',
|
|
9526
|
+
* logId: '<log_id>'
|
|
9527
|
+
* })
|
|
9528
|
+
* .then((response) => console.log(response.items))
|
|
9529
|
+
* .catch(console.error)
|
|
9530
|
+
* ```
|
|
9531
|
+
*/
|
|
9532
|
+
get(logId) {
|
|
9533
|
+
const raw = this.toPlainObject();
|
|
9534
|
+
return makeRequest({
|
|
9535
|
+
entityType: 'FunctionLog',
|
|
9536
|
+
action: 'get',
|
|
9537
|
+
params: {
|
|
9538
|
+
spaceId: raw.sys.space.sys.id,
|
|
9539
|
+
environmentId: raw.sys.environment.sys.id,
|
|
9540
|
+
appInstallationId: raw.sys.appDefinition.sys.id,
|
|
9541
|
+
functionId: raw.sys.id,
|
|
9542
|
+
logId: logId
|
|
9543
|
+
}
|
|
9544
|
+
}).then(data => wrapFunctionLog(makeRequest, data));
|
|
9545
|
+
},
|
|
9546
|
+
/**
|
|
9547
|
+
* Get all FunctionLogs
|
|
9548
|
+
* @Param spaceId - Space ID
|
|
9549
|
+
* @Param environmentId - Environment ID
|
|
9550
|
+
* @Param appInstallationId - App Installation ID
|
|
9551
|
+
* @Param functionId - Function ID
|
|
9552
|
+
* @returns a collection of FunctionLogs
|
|
9553
|
+
* ```javascript
|
|
9554
|
+
* const contentful = require('contentful-management')
|
|
9555
|
+
*
|
|
9556
|
+
* const client = contentful.createClient({
|
|
9557
|
+
* accessToken: '<content_management_api_key>'
|
|
9558
|
+
* })
|
|
9559
|
+
*
|
|
9560
|
+
* client.functionLog.getAll({
|
|
9561
|
+
* spaceId: '<space_id>',
|
|
9562
|
+
* environmentId: '<environment_id>',
|
|
9563
|
+
* appInstallationId: '<app_installation_id>',
|
|
9564
|
+
* functionId: '<function_id>'
|
|
9565
|
+
* })
|
|
9566
|
+
* .then((response) => console.log(response.items))
|
|
9567
|
+
* .catch(console.error)
|
|
9568
|
+
* ```
|
|
9569
|
+
*/
|
|
9570
|
+
getAll() {
|
|
9571
|
+
const raw = this.toPlainObject();
|
|
9572
|
+
return makeRequest({
|
|
9573
|
+
entityType: 'FunctionLog',
|
|
9574
|
+
action: 'getAll',
|
|
9575
|
+
params: {
|
|
9576
|
+
spaceId: raw.sys.space.sys.id,
|
|
9577
|
+
environmentId: raw.sys.environment.sys.id,
|
|
9578
|
+
appInstallationId: raw.sys.appDefinition.sys.id,
|
|
9579
|
+
functionId: raw.sys.id
|
|
9580
|
+
}
|
|
9581
|
+
}).then(data => (0,_entities_function_log__WEBPACK_IMPORTED_MODULE_1__.wrapFunctionLogCollection)(makeRequest, data));
|
|
9582
|
+
}
|
|
9583
|
+
};
|
|
9584
|
+
}
|
|
9585
|
+
|
|
9586
|
+
/***/ }),
|
|
9587
|
+
|
|
9438
9588
|
/***/ "./create-organization-api.ts":
|
|
9439
9589
|
/*!************************************!*\
|
|
9440
9590
|
!*** ./create-organization-api.ts ***!
|
|
@@ -14164,6 +14314,50 @@ const wrapExtensionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_3__.wr
|
|
|
14164
14314
|
|
|
14165
14315
|
/***/ }),
|
|
14166
14316
|
|
|
14317
|
+
/***/ "./entities/function-log.ts":
|
|
14318
|
+
/*!**********************************!*\
|
|
14319
|
+
!*** ./entities/function-log.ts ***!
|
|
14320
|
+
\**********************************/
|
|
14321
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14322
|
+
|
|
14323
|
+
"use strict";
|
|
14324
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14325
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14326
|
+
/* harmony export */ wrapFunctionLog: () => (/* binding */ wrapFunctionLog),
|
|
14327
|
+
/* harmony export */ wrapFunctionLogCollection: () => (/* binding */ wrapFunctionLogCollection)
|
|
14328
|
+
/* harmony export */ });
|
|
14329
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
14330
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
14331
|
+
/* harmony import */ var _common_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common-utils */ "./common-utils.ts");
|
|
14332
|
+
/* harmony import */ var _enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../enhance-with-methods */ "./enhance-with-methods.ts");
|
|
14333
|
+
/* harmony import */ var _create_function_log_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../create-function-log-api */ "./create-function-log-api.ts");
|
|
14334
|
+
|
|
14335
|
+
|
|
14336
|
+
|
|
14337
|
+
|
|
14338
|
+
|
|
14339
|
+
/**
|
|
14340
|
+
* @private
|
|
14341
|
+
* @param makeRequest - function to make requests via an adapter
|
|
14342
|
+
* @param data - raw contentful-Function data
|
|
14343
|
+
* @return Wrapped Function data
|
|
14344
|
+
*/
|
|
14345
|
+
function wrapFunctionLog(makeRequest, data) {
|
|
14346
|
+
const appAction = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
14347
|
+
const appActionWithMethods = (0,_enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__["default"])(appAction, (0,_create_function_log_api__WEBPACK_IMPORTED_MODULE_4__["default"])(makeRequest));
|
|
14348
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(appActionWithMethods);
|
|
14349
|
+
}
|
|
14350
|
+
|
|
14351
|
+
/**
|
|
14352
|
+
* @private
|
|
14353
|
+
* @param makeRequest - function to make requests via an adapter
|
|
14354
|
+
* @param data - raw contentful-function data
|
|
14355
|
+
* @return Wrapped App Function collection data
|
|
14356
|
+
*/
|
|
14357
|
+
const wrapFunctionLogCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_2__.wrapCollection)(wrapFunctionLog);
|
|
14358
|
+
|
|
14359
|
+
/***/ }),
|
|
14360
|
+
|
|
14167
14361
|
/***/ "./entities/function.ts":
|
|
14168
14362
|
/*!******************************!*\
|
|
14169
14363
|
!*** ./entities/function.ts ***!
|
|
@@ -14245,38 +14439,40 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14245
14439
|
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./environment-template-installation */ "./entities/environment-template-installation.ts");
|
|
14246
14440
|
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./extension */ "./entities/extension.ts");
|
|
14247
14441
|
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./function */ "./entities/function.ts");
|
|
14248
|
-
/* harmony import */ var
|
|
14249
|
-
/* harmony import */ var
|
|
14250
|
-
/* harmony import */ var
|
|
14251
|
-
/* harmony import */ var
|
|
14252
|
-
/* harmony import */ var
|
|
14253
|
-
/* harmony import */ var
|
|
14254
|
-
/* harmony import */ var
|
|
14255
|
-
/* harmony import */ var
|
|
14256
|
-
/* harmony import */ var
|
|
14257
|
-
/* harmony import */ var
|
|
14258
|
-
/* harmony import */ var
|
|
14259
|
-
/* harmony import */ var
|
|
14260
|
-
/* harmony import */ var
|
|
14261
|
-
/* harmony import */ var
|
|
14262
|
-
/* harmony import */ var
|
|
14263
|
-
/* harmony import */ var
|
|
14264
|
-
/* harmony import */ var
|
|
14265
|
-
/* harmony import */ var
|
|
14266
|
-
/* harmony import */ var
|
|
14267
|
-
/* harmony import */ var
|
|
14268
|
-
/* harmony import */ var
|
|
14269
|
-
/* harmony import */ var
|
|
14270
|
-
/* harmony import */ var
|
|
14271
|
-
/* harmony import */ var
|
|
14272
|
-
/* harmony import */ var
|
|
14273
|
-
/* harmony import */ var
|
|
14274
|
-
/* harmony import */ var
|
|
14275
|
-
/* harmony import */ var
|
|
14276
|
-
/* harmony import */ var
|
|
14277
|
-
/* harmony import */ var
|
|
14278
|
-
/* harmony import */ var
|
|
14279
|
-
/* harmony import */ var
|
|
14442
|
+
/* harmony import */ var _function_log__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./function-log */ "./entities/function-log.ts");
|
|
14443
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./locale */ "./entities/locale.ts");
|
|
14444
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./organization */ "./entities/organization.ts");
|
|
14445
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./organization-invitation */ "./entities/organization-invitation.ts");
|
|
14446
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./organization-membership */ "./entities/organization-membership.ts");
|
|
14447
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./personal-access-token */ "./entities/personal-access-token.ts");
|
|
14448
|
+
/* harmony import */ var _access_token__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./access-token */ "./entities/access-token.ts");
|
|
14449
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./preview-api-key */ "./entities/preview-api-key.ts");
|
|
14450
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./release */ "./entities/release.ts");
|
|
14451
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./release-action */ "./entities/release-action.ts");
|
|
14452
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./role */ "./entities/role.ts");
|
|
14453
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./scheduled-action */ "./entities/scheduled-action.ts");
|
|
14454
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./snapshot */ "./entities/snapshot.ts");
|
|
14455
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./space */ "./entities/space.ts");
|
|
14456
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./space-member */ "./entities/space-member.ts");
|
|
14457
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./space-membership */ "./entities/space-membership.ts");
|
|
14458
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./tag */ "./entities/tag.ts");
|
|
14459
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./task */ "./entities/task.ts");
|
|
14460
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./team */ "./entities/team.ts");
|
|
14461
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./team-membership */ "./entities/team-membership.ts");
|
|
14462
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./team-space-membership */ "./entities/team-space-membership.ts");
|
|
14463
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./ui-config */ "./entities/ui-config.ts");
|
|
14464
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./upload */ "./entities/upload.ts");
|
|
14465
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./usage */ "./entities/usage.ts");
|
|
14466
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./user */ "./entities/user.ts");
|
|
14467
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./user-ui-config */ "./entities/user-ui-config.ts");
|
|
14468
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./webhook */ "./entities/webhook.ts");
|
|
14469
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./workflow-definition */ "./entities/workflow-definition.ts");
|
|
14470
|
+
/* harmony import */ var _concept__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./concept */ "./entities/concept.ts");
|
|
14471
|
+
/* harmony import */ var _concept_scheme__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./concept-scheme */ "./entities/concept-scheme.ts");
|
|
14472
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./resource-provider */ "./entities/resource-provider.ts");
|
|
14473
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./resource-type */ "./entities/resource-type.ts");
|
|
14474
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
|
|
14475
|
+
|
|
14280
14476
|
|
|
14281
14477
|
|
|
14282
14478
|
|
|
@@ -14336,7 +14532,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14336
14532
|
|
|
14337
14533
|
|
|
14338
14534
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
14339
|
-
accessToken:
|
|
14535
|
+
accessToken: _access_token__WEBPACK_IMPORTED_MODULE_32__,
|
|
14340
14536
|
appAction: _app_action__WEBPACK_IMPORTED_MODULE_1__,
|
|
14341
14537
|
appActionCall: _app_action_call__WEBPACK_IMPORTED_MODULE_2__,
|
|
14342
14538
|
appBundle: _app_bundle__WEBPACK_IMPORTED_MODULE_3__,
|
|
@@ -14354,8 +14550,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14354
14550
|
assetKey: _asset_key__WEBPACK_IMPORTED_MODULE_14__,
|
|
14355
14551
|
bulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_15__,
|
|
14356
14552
|
comment: _comment__WEBPACK_IMPORTED_MODULE_16__,
|
|
14357
|
-
concept:
|
|
14358
|
-
conceptScheme:
|
|
14553
|
+
concept: _concept__WEBPACK_IMPORTED_MODULE_54__,
|
|
14554
|
+
conceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_55__,
|
|
14359
14555
|
contentType: _content_type__WEBPACK_IMPORTED_MODULE_17__,
|
|
14360
14556
|
editorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_18__,
|
|
14361
14557
|
entry: _entry__WEBPACK_IMPORTED_MODULE_19__,
|
|
@@ -14365,35 +14561,36 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14365
14561
|
environmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__,
|
|
14366
14562
|
extension: _extension__WEBPACK_IMPORTED_MODULE_24__,
|
|
14367
14563
|
func: _function__WEBPACK_IMPORTED_MODULE_25__,
|
|
14368
|
-
|
|
14369
|
-
|
|
14370
|
-
|
|
14371
|
-
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
|
|
14375
|
-
|
|
14376
|
-
|
|
14377
|
-
|
|
14378
|
-
|
|
14379
|
-
|
|
14380
|
-
|
|
14381
|
-
|
|
14382
|
-
|
|
14383
|
-
|
|
14384
|
-
|
|
14385
|
-
|
|
14386
|
-
|
|
14387
|
-
|
|
14388
|
-
|
|
14389
|
-
|
|
14390
|
-
|
|
14391
|
-
|
|
14392
|
-
|
|
14393
|
-
|
|
14394
|
-
|
|
14395
|
-
|
|
14396
|
-
|
|
14564
|
+
functionLog: _function_log__WEBPACK_IMPORTED_MODULE_26__,
|
|
14565
|
+
locale: _locale__WEBPACK_IMPORTED_MODULE_27__,
|
|
14566
|
+
organization: _organization__WEBPACK_IMPORTED_MODULE_28__,
|
|
14567
|
+
organizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_29__,
|
|
14568
|
+
organizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_30__,
|
|
14569
|
+
personalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_31__,
|
|
14570
|
+
previewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_33__,
|
|
14571
|
+
release: _release__WEBPACK_IMPORTED_MODULE_34__,
|
|
14572
|
+
releaseAction: _release_action__WEBPACK_IMPORTED_MODULE_35__,
|
|
14573
|
+
resourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_56__,
|
|
14574
|
+
resourceType: _resource_type__WEBPACK_IMPORTED_MODULE_57__,
|
|
14575
|
+
resource: _resource__WEBPACK_IMPORTED_MODULE_58__,
|
|
14576
|
+
role: _role__WEBPACK_IMPORTED_MODULE_36__,
|
|
14577
|
+
scheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_37__,
|
|
14578
|
+
snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_38__,
|
|
14579
|
+
space: _space__WEBPACK_IMPORTED_MODULE_39__,
|
|
14580
|
+
spaceMember: _space_member__WEBPACK_IMPORTED_MODULE_40__,
|
|
14581
|
+
spaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_41__,
|
|
14582
|
+
tag: _tag__WEBPACK_IMPORTED_MODULE_42__,
|
|
14583
|
+
task: _task__WEBPACK_IMPORTED_MODULE_43__,
|
|
14584
|
+
team: _team__WEBPACK_IMPORTED_MODULE_44__,
|
|
14585
|
+
teamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_45__,
|
|
14586
|
+
teamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_46__,
|
|
14587
|
+
uiConfig: _ui_config__WEBPACK_IMPORTED_MODULE_47__,
|
|
14588
|
+
upload: _upload__WEBPACK_IMPORTED_MODULE_48__,
|
|
14589
|
+
usage: _usage__WEBPACK_IMPORTED_MODULE_49__,
|
|
14590
|
+
user: _user__WEBPACK_IMPORTED_MODULE_50__,
|
|
14591
|
+
userUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_51__,
|
|
14592
|
+
webhook: _webhook__WEBPACK_IMPORTED_MODULE_52__,
|
|
14593
|
+
workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_53__
|
|
14397
14594
|
});
|
|
14398
14595
|
|
|
14399
14596
|
/***/ }),
|
|
@@ -16945,6 +17142,10 @@ const createPlainClient = (makeRequest, defaults) => {
|
|
|
16945
17142
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getMany'),
|
|
16946
17143
|
getManyForEnvironment: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getManyForEnvironment')
|
|
16947
17144
|
},
|
|
17145
|
+
functionLog: {
|
|
17146
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'FunctionLog', 'get'),
|
|
17147
|
+
getAll: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'FunctionLog', 'getAll')
|
|
17148
|
+
},
|
|
16948
17149
|
editorInterface: {
|
|
16949
17150
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'EditorInterface', 'get'),
|
|
16950
17151
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'EditorInterface', 'getMany'),
|
|
@@ -30969,7 +31170,7 @@ function createClient(params, opts = {}) {
|
|
|
30969
31170
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
30970
31171
|
const userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(
|
|
30971
31172
|
// @ts-expect-error
|
|
30972
|
-
`${sdkMain}/${"11.43.0-beta.
|
|
31173
|
+
`${sdkMain}/${"11.43.0-beta.2"}`, params.application, params.integration, params.feature);
|
|
30973
31174
|
const adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
30974
31175
|
userAgent
|
|
30975
31176
|
}));
|