contentful-management 11.65.0 → 11.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -10
- package/dist/contentful-management.browser.js +1166 -285
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +1145 -287
- 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/agent-run.js +20 -0
- package/dist/es-modules/adapters/REST/endpoints/agent.js +24 -0
- package/dist/es-modules/adapters/REST/endpoints/index.js +14 -0
- package/dist/es-modules/adapters/REST/endpoints/semantic-duplicates.js +6 -0
- package/dist/es-modules/adapters/REST/endpoints/semantic-recommendations.js +6 -0
- package/dist/es-modules/adapters/REST/endpoints/semantic-reference-suggestions.js +6 -0
- package/dist/es-modules/adapters/REST/endpoints/semantic-search.js +6 -0
- package/dist/es-modules/adapters/REST/endpoints/vectorization-status.js +11 -0
- package/dist/es-modules/create-environment-api.js +356 -0
- package/dist/es-modules/create-organization-api.js +51 -0
- package/dist/es-modules/entities/agent-run.js +8 -0
- package/dist/es-modules/entities/agent.js +29 -0
- package/dist/es-modules/entities/index.js +14 -0
- package/dist/es-modules/entities/semantic-duplicates.js +6 -0
- package/dist/es-modules/entities/semantic-recommendations.js +6 -0
- package/dist/es-modules/entities/semantic-reference-suggestions.js +6 -0
- package/dist/es-modules/entities/semantic-search.js +6 -0
- package/dist/es-modules/entities/vectorization-status.js +14 -0
- package/dist/es-modules/plain/entities/agent-run.js +1 -0
- package/dist/es-modules/plain/entities/agent.js +1 -0
- package/dist/es-modules/plain/entities/semantic-duplicates.js +1 -0
- package/dist/es-modules/plain/entities/semantic-recommendations.js +1 -0
- package/dist/es-modules/plain/entities/semantic-reference-suggestions.js +1 -0
- package/dist/es-modules/plain/entities/semantic-search.js +1 -0
- package/dist/es-modules/plain/entities/vectorization-status.js +1 -0
- package/dist/es-modules/plain/plain-client.js +27 -0
- package/dist/typings/adapters/REST/endpoints/agent-run.d.ts +3 -0
- package/dist/typings/adapters/REST/endpoints/agent.d.ts +4 -0
- package/dist/typings/adapters/REST/endpoints/index.d.ts +14 -0
- package/dist/typings/adapters/REST/endpoints/semantic-duplicates.d.ts +2 -0
- package/dist/typings/adapters/REST/endpoints/semantic-recommendations.d.ts +2 -0
- package/dist/typings/adapters/REST/endpoints/semantic-reference-suggestions.d.ts +2 -0
- package/dist/typings/adapters/REST/endpoints/semantic-search.d.ts +2 -0
- package/dist/typings/adapters/REST/endpoints/vectorization-status.d.ts +3 -0
- package/dist/typings/common-types.d.ts +116 -0
- package/dist/typings/create-environment-api.d.ts +215 -0
- package/dist/typings/create-organization-api.d.ts +28 -0
- package/dist/typings/entities/agent-run.d.ts +47 -0
- package/dist/typings/entities/agent.d.ts +49 -0
- package/dist/typings/entities/index.d.ts +14 -0
- package/dist/typings/entities/semantic-duplicates.d.ts +25 -0
- package/dist/typings/entities/semantic-recommendations.d.ts +23 -0
- package/dist/typings/entities/semantic-reference-suggestions.d.ts +24 -0
- package/dist/typings/entities/semantic-search.d.ts +23 -0
- package/dist/typings/entities/vectorization-status.d.ts +32 -0
- package/dist/typings/export-types.d.ts +7 -0
- package/dist/typings/plain/common-types.d.ts +16 -0
- package/dist/typings/plain/entities/agent-run.d.ts +27 -0
- package/dist/typings/plain/entities/agent.d.ts +34 -0
- package/dist/typings/plain/entities/semantic-duplicates.d.ts +14 -0
- package/dist/typings/plain/entities/semantic-recommendations.d.ts +14 -0
- package/dist/typings/plain/entities/semantic-reference-suggestions.d.ts +14 -0
- package/dist/typings/plain/entities/semantic-search.d.ts +14 -0
- package/dist/typings/plain/entities/vectorization-status.d.ts +21 -0
- package/package.json +1 -1
|
@@ -623,6 +623,83 @@ const getManyForOrganization = (http, params) => {
|
|
|
623
623
|
|
|
624
624
|
/***/ }),
|
|
625
625
|
|
|
626
|
+
/***/ "./adapters/REST/endpoints/agent-run.ts":
|
|
627
|
+
/*!**********************************************!*\
|
|
628
|
+
!*** ./adapters/REST/endpoints/agent-run.ts ***!
|
|
629
|
+
\**********************************************/
|
|
630
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
631
|
+
|
|
632
|
+
"use strict";
|
|
633
|
+
__webpack_require__.r(__webpack_exports__);
|
|
634
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
635
|
+
/* harmony export */ get: () => (/* binding */ get),
|
|
636
|
+
/* harmony export */ getMany: () => (/* binding */ getMany)
|
|
637
|
+
/* harmony export */ });
|
|
638
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
639
|
+
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; }
|
|
640
|
+
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; }
|
|
641
|
+
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; }
|
|
642
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
643
|
+
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); }
|
|
644
|
+
|
|
645
|
+
const AgentRunAlphaHeaders = {
|
|
646
|
+
'x-contentful-enable-alpha-feature': 'agents-api'
|
|
647
|
+
};
|
|
648
|
+
const get = (http, params, headers) => {
|
|
649
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/ai_agents/runs/${params.runId}`, {
|
|
650
|
+
headers: _objectSpread(_objectSpread({}, AgentRunAlphaHeaders), headers)
|
|
651
|
+
});
|
|
652
|
+
};
|
|
653
|
+
const getMany = (http, params, headers) => {
|
|
654
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/ai_agents/runs`, {
|
|
655
|
+
params: params.query,
|
|
656
|
+
headers: _objectSpread(_objectSpread({}, AgentRunAlphaHeaders), headers)
|
|
657
|
+
});
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
/***/ }),
|
|
661
|
+
|
|
662
|
+
/***/ "./adapters/REST/endpoints/agent.ts":
|
|
663
|
+
/*!******************************************!*\
|
|
664
|
+
!*** ./adapters/REST/endpoints/agent.ts ***!
|
|
665
|
+
\******************************************/
|
|
666
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
667
|
+
|
|
668
|
+
"use strict";
|
|
669
|
+
__webpack_require__.r(__webpack_exports__);
|
|
670
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
671
|
+
/* harmony export */ generate: () => (/* binding */ generate),
|
|
672
|
+
/* harmony export */ get: () => (/* binding */ get),
|
|
673
|
+
/* harmony export */ getMany: () => (/* binding */ getMany)
|
|
674
|
+
/* harmony export */ });
|
|
675
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
676
|
+
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; }
|
|
677
|
+
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; }
|
|
678
|
+
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; }
|
|
679
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
680
|
+
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); }
|
|
681
|
+
|
|
682
|
+
const AgentAlphaHeaders = {
|
|
683
|
+
'x-contentful-enable-alpha-feature': 'agents-api'
|
|
684
|
+
};
|
|
685
|
+
const get = (http, params, headers) => {
|
|
686
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/ai_agents/agents/${params.agentId}`, {
|
|
687
|
+
headers: _objectSpread(_objectSpread({}, AgentAlphaHeaders), headers)
|
|
688
|
+
});
|
|
689
|
+
};
|
|
690
|
+
const getMany = (http, params, headers) => {
|
|
691
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/ai_agents/agents`, {
|
|
692
|
+
headers: _objectSpread(_objectSpread({}, AgentAlphaHeaders), headers)
|
|
693
|
+
});
|
|
694
|
+
};
|
|
695
|
+
const generate = (http, params, data, headers) => {
|
|
696
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/ai_agents/agents/${params.agentId}/generate`, data, {
|
|
697
|
+
headers: _objectSpread(_objectSpread({}, AgentAlphaHeaders), headers)
|
|
698
|
+
});
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
/***/ }),
|
|
702
|
+
|
|
626
703
|
/***/ "./adapters/REST/endpoints/ai-action-invocation.ts":
|
|
627
704
|
/*!*********************************************************!*\
|
|
628
705
|
!*** ./adapters/REST/endpoints/ai-action-invocation.ts ***!
|
|
@@ -2873,72 +2950,86 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2873
2950
|
/* harmony export */ });
|
|
2874
2951
|
/* harmony import */ var _ai_action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ai-action */ "./adapters/REST/endpoints/ai-action.ts");
|
|
2875
2952
|
/* harmony import */ var _ai_action_invocation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ai-action-invocation */ "./adapters/REST/endpoints/ai-action-invocation.ts");
|
|
2876
|
-
/* harmony import */ var
|
|
2877
|
-
/* harmony import */ var
|
|
2878
|
-
/* harmony import */ var
|
|
2879
|
-
/* harmony import */ var
|
|
2880
|
-
/* harmony import */ var
|
|
2881
|
-
/* harmony import */ var
|
|
2882
|
-
/* harmony import */ var
|
|
2883
|
-
/* harmony import */ var
|
|
2884
|
-
/* harmony import */ var
|
|
2885
|
-
/* harmony import */ var
|
|
2886
|
-
/* harmony import */ var
|
|
2887
|
-
/* harmony import */ var
|
|
2888
|
-
/* harmony import */ var
|
|
2889
|
-
/* harmony import */ var
|
|
2890
|
-
/* harmony import */ var
|
|
2891
|
-
/* harmony import */ var
|
|
2892
|
-
/* harmony import */ var
|
|
2893
|
-
/* harmony import */ var
|
|
2894
|
-
/* harmony import */ var
|
|
2895
|
-
/* harmony import */ var
|
|
2896
|
-
/* harmony import */ var
|
|
2897
|
-
/* harmony import */ var
|
|
2898
|
-
/* harmony import */ var
|
|
2899
|
-
/* harmony import */ var
|
|
2900
|
-
/* harmony import */ var
|
|
2901
|
-
/* harmony import */ var
|
|
2902
|
-
/* harmony import */ var
|
|
2903
|
-
/* harmony import */ var
|
|
2904
|
-
/* harmony import */ var
|
|
2905
|
-
/* harmony import */ var
|
|
2906
|
-
/* harmony import */ var
|
|
2907
|
-
/* harmony import */ var
|
|
2908
|
-
/* harmony import */ var
|
|
2909
|
-
/* harmony import */ var
|
|
2910
|
-
/* harmony import */ var
|
|
2911
|
-
/* harmony import */ var
|
|
2912
|
-
/* harmony import */ var
|
|
2913
|
-
/* harmony import */ var
|
|
2914
|
-
/* harmony import */ var
|
|
2915
|
-
/* harmony import */ var
|
|
2916
|
-
/* harmony import */ var
|
|
2917
|
-
/* harmony import */ var
|
|
2918
|
-
/* harmony import */ var
|
|
2919
|
-
/* harmony import */ var
|
|
2920
|
-
/* harmony import */ var
|
|
2921
|
-
/* harmony import */ var
|
|
2922
|
-
/* harmony import */ var
|
|
2923
|
-
/* harmony import */ var
|
|
2924
|
-
/* harmony import */ var
|
|
2925
|
-
/* harmony import */ var
|
|
2926
|
-
/* harmony import */ var
|
|
2927
|
-
/* harmony import */ var
|
|
2928
|
-
/* harmony import */ var
|
|
2929
|
-
/* harmony import */ var
|
|
2930
|
-
/* harmony import */ var
|
|
2931
|
-
/* harmony import */ var
|
|
2932
|
-
/* harmony import */ var
|
|
2933
|
-
/* harmony import */ var
|
|
2934
|
-
/* harmony import */ var
|
|
2935
|
-
/* harmony import */ var
|
|
2936
|
-
/* harmony import */ var
|
|
2937
|
-
/* harmony import */ var
|
|
2938
|
-
/* harmony import */ var
|
|
2939
|
-
/* harmony import */ var
|
|
2940
|
-
/* harmony import */ var
|
|
2941
|
-
/* harmony import */ var
|
|
2953
|
+
/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./agent */ "./adapters/REST/endpoints/agent.ts");
|
|
2954
|
+
/* harmony import */ var _agent_run__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./agent-run */ "./adapters/REST/endpoints/agent-run.ts");
|
|
2955
|
+
/* harmony import */ var _access_token__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./access-token */ "./adapters/REST/endpoints/access-token.ts");
|
|
2956
|
+
/* harmony import */ var _api_key__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./api-key */ "./adapters/REST/endpoints/api-key.ts");
|
|
2957
|
+
/* harmony import */ var _app_access_token__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./app-access-token */ "./adapters/REST/endpoints/app-access-token.ts");
|
|
2958
|
+
/* harmony import */ var _app_action__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./app-action */ "./adapters/REST/endpoints/app-action.ts");
|
|
2959
|
+
/* harmony import */ var _app_action_call__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./app-action-call */ "./adapters/REST/endpoints/app-action-call.ts");
|
|
2960
|
+
/* harmony import */ var _app_bundle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./app-bundle */ "./adapters/REST/endpoints/app-bundle.ts");
|
|
2961
|
+
/* harmony import */ var _app_definition__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./app-definition */ "./adapters/REST/endpoints/app-definition.ts");
|
|
2962
|
+
/* harmony import */ var _app_details__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./app-details */ "./adapters/REST/endpoints/app-details.ts");
|
|
2963
|
+
/* harmony import */ var _app_event_subscription__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./app-event-subscription */ "./adapters/REST/endpoints/app-event-subscription.ts");
|
|
2964
|
+
/* harmony import */ var _app_installation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./app-installation */ "./adapters/REST/endpoints/app-installation.ts");
|
|
2965
|
+
/* harmony import */ var _app_key__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./app-key */ "./adapters/REST/endpoints/app-key.ts");
|
|
2966
|
+
/* harmony import */ var _app_signed_request__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./app-signed-request */ "./adapters/REST/endpoints/app-signed-request.ts");
|
|
2967
|
+
/* harmony import */ var _app_signing_secret__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./app-signing-secret */ "./adapters/REST/endpoints/app-signing-secret.ts");
|
|
2968
|
+
/* harmony import */ var _app_upload__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./app-upload */ "./adapters/REST/endpoints/app-upload.ts");
|
|
2969
|
+
/* harmony import */ var _asset__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./asset */ "./adapters/REST/endpoints/asset.ts");
|
|
2970
|
+
/* harmony import */ var _asset_key__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./asset-key */ "./adapters/REST/endpoints/asset-key.ts");
|
|
2971
|
+
/* harmony import */ var _bulk_action__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./bulk-action */ "./adapters/REST/endpoints/bulk-action.ts");
|
|
2972
|
+
/* harmony import */ var _comment__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./comment */ "./adapters/REST/endpoints/comment.ts");
|
|
2973
|
+
/* harmony import */ var _concept__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./concept */ "./adapters/REST/endpoints/concept.ts");
|
|
2974
|
+
/* harmony import */ var _concept_scheme__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./concept-scheme */ "./adapters/REST/endpoints/concept-scheme.ts");
|
|
2975
|
+
/* harmony import */ var _content_type__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./content-type */ "./adapters/REST/endpoints/content-type.ts");
|
|
2976
|
+
/* harmony import */ var _editor_interface__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./editor-interface */ "./adapters/REST/endpoints/editor-interface.ts");
|
|
2977
|
+
/* harmony import */ var _entry__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./entry */ "./adapters/REST/endpoints/entry.ts");
|
|
2978
|
+
/* harmony import */ var _environment__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./environment */ "./adapters/REST/endpoints/environment.ts");
|
|
2979
|
+
/* harmony import */ var _environment_alias__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./environment-alias */ "./adapters/REST/endpoints/environment-alias.ts");
|
|
2980
|
+
/* harmony import */ var _environment_template__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./environment-template */ "./adapters/REST/endpoints/environment-template.ts");
|
|
2981
|
+
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./environment-template-installation */ "./adapters/REST/endpoints/environment-template-installation.ts");
|
|
2982
|
+
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./extension */ "./adapters/REST/endpoints/extension.ts");
|
|
2983
|
+
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./function */ "./adapters/REST/endpoints/function.ts");
|
|
2984
|
+
/* harmony import */ var _function_log__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./function-log */ "./adapters/REST/endpoints/function-log.ts");
|
|
2985
|
+
/* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./http */ "./adapters/REST/endpoints/http.ts");
|
|
2986
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./locale */ "./adapters/REST/endpoints/locale.ts");
|
|
2987
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./organization */ "./adapters/REST/endpoints/organization.ts");
|
|
2988
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./organization-invitation */ "./adapters/REST/endpoints/organization-invitation.ts");
|
|
2989
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./organization-membership */ "./adapters/REST/endpoints/organization-membership.ts");
|
|
2990
|
+
/* harmony import */ var _oauth_application__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./oauth-application */ "./adapters/REST/endpoints/oauth-application.ts");
|
|
2991
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./personal-access-token */ "./adapters/REST/endpoints/personal-access-token.ts");
|
|
2992
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./preview-api-key */ "./adapters/REST/endpoints/preview-api-key.ts");
|
|
2993
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./release */ "./adapters/REST/endpoints/release.ts");
|
|
2994
|
+
/* harmony import */ var _release_asset__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./release-asset */ "./adapters/REST/endpoints/release-asset.ts");
|
|
2995
|
+
/* harmony import */ var _release_entry__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./release-entry */ "./adapters/REST/endpoints/release-entry.ts");
|
|
2996
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./release-action */ "./adapters/REST/endpoints/release-action.ts");
|
|
2997
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./resource */ "./adapters/REST/endpoints/resource.ts");
|
|
2998
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./resource-provider */ "./adapters/REST/endpoints/resource-provider.ts");
|
|
2999
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./resource-type */ "./adapters/REST/endpoints/resource-type.ts");
|
|
3000
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./role */ "./adapters/REST/endpoints/role.ts");
|
|
3001
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./scheduled-action */ "./adapters/REST/endpoints/scheduled-action.ts");
|
|
3002
|
+
/* harmony import */ var _semantic_duplicates__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./semantic-duplicates */ "./adapters/REST/endpoints/semantic-duplicates.ts");
|
|
3003
|
+
/* harmony import */ var _semantic_recommendations__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./semantic-recommendations */ "./adapters/REST/endpoints/semantic-recommendations.ts");
|
|
3004
|
+
/* harmony import */ var _semantic_reference_suggestions__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./semantic-reference-suggestions */ "./adapters/REST/endpoints/semantic-reference-suggestions.ts");
|
|
3005
|
+
/* harmony import */ var _semantic_search__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./semantic-search */ "./adapters/REST/endpoints/semantic-search.ts");
|
|
3006
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./snapshot */ "./adapters/REST/endpoints/snapshot.ts");
|
|
3007
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./space */ "./adapters/REST/endpoints/space.ts");
|
|
3008
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./space-member */ "./adapters/REST/endpoints/space-member.ts");
|
|
3009
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./space-membership */ "./adapters/REST/endpoints/space-membership.ts");
|
|
3010
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./tag */ "./adapters/REST/endpoints/tag.ts");
|
|
3011
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./task */ "./adapters/REST/endpoints/task.ts");
|
|
3012
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./team */ "./adapters/REST/endpoints/team.ts");
|
|
3013
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./team-membership */ "./adapters/REST/endpoints/team-membership.ts");
|
|
3014
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./team-space-membership */ "./adapters/REST/endpoints/team-space-membership.ts");
|
|
3015
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./ui-config */ "./adapters/REST/endpoints/ui-config.ts");
|
|
3016
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./upload */ "./adapters/REST/endpoints/upload.ts");
|
|
3017
|
+
/* harmony import */ var _upload_credentials__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./upload-credentials */ "./adapters/REST/endpoints/upload-credentials.ts");
|
|
3018
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./usage */ "./adapters/REST/endpoints/usage.ts");
|
|
3019
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./user */ "./adapters/REST/endpoints/user.ts");
|
|
3020
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./user-ui-config */ "./adapters/REST/endpoints/user-ui-config.ts");
|
|
3021
|
+
/* harmony import */ var _vectorization_status__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./vectorization-status */ "./adapters/REST/endpoints/vectorization-status.ts");
|
|
3022
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./webhook */ "./adapters/REST/endpoints/webhook.ts");
|
|
3023
|
+
/* harmony import */ var _workflow__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./workflow */ "./adapters/REST/endpoints/workflow.ts");
|
|
3024
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./workflow-definition */ "./adapters/REST/endpoints/workflow-definition.ts");
|
|
3025
|
+
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
3026
|
+
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
|
|
3031
|
+
|
|
3032
|
+
|
|
2942
3033
|
|
|
2943
3034
|
|
|
2944
3035
|
|
|
@@ -3010,72 +3101,79 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3010
3101
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
3011
3102
|
AiAction: _ai_action__WEBPACK_IMPORTED_MODULE_0__,
|
|
3012
3103
|
AiActionInvocation: _ai_action_invocation__WEBPACK_IMPORTED_MODULE_1__,
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3104
|
+
Agent: _agent__WEBPACK_IMPORTED_MODULE_2__,
|
|
3105
|
+
AgentRun: _agent_run__WEBPACK_IMPORTED_MODULE_3__,
|
|
3106
|
+
ApiKey: _api_key__WEBPACK_IMPORTED_MODULE_5__,
|
|
3107
|
+
AppAction: _app_action__WEBPACK_IMPORTED_MODULE_7__,
|
|
3108
|
+
AppActionCall: _app_action_call__WEBPACK_IMPORTED_MODULE_8__,
|
|
3109
|
+
AppBundle: _app_bundle__WEBPACK_IMPORTED_MODULE_9__,
|
|
3110
|
+
AppDefinition: _app_definition__WEBPACK_IMPORTED_MODULE_10__,
|
|
3111
|
+
AppInstallation: _app_installation__WEBPACK_IMPORTED_MODULE_13__,
|
|
3112
|
+
AppUpload: _app_upload__WEBPACK_IMPORTED_MODULE_17__,
|
|
3113
|
+
AppSignedRequest: _app_signed_request__WEBPACK_IMPORTED_MODULE_15__,
|
|
3114
|
+
AppSigningSecret: _app_signing_secret__WEBPACK_IMPORTED_MODULE_16__,
|
|
3115
|
+
AppEventSubscription: _app_event_subscription__WEBPACK_IMPORTED_MODULE_12__,
|
|
3116
|
+
AppKey: _app_key__WEBPACK_IMPORTED_MODULE_14__,
|
|
3117
|
+
AppAccessToken: _app_access_token__WEBPACK_IMPORTED_MODULE_6__,
|
|
3118
|
+
AppDetails: _app_details__WEBPACK_IMPORTED_MODULE_11__,
|
|
3119
|
+
Asset: _asset__WEBPACK_IMPORTED_MODULE_18__,
|
|
3120
|
+
AssetKey: _asset_key__WEBPACK_IMPORTED_MODULE_19__,
|
|
3121
|
+
BulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_20__,
|
|
3122
|
+
Comment: _comment__WEBPACK_IMPORTED_MODULE_21__,
|
|
3123
|
+
Concept: _concept__WEBPACK_IMPORTED_MODULE_22__,
|
|
3124
|
+
ConceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_23__,
|
|
3125
|
+
ContentType: _content_type__WEBPACK_IMPORTED_MODULE_24__,
|
|
3126
|
+
EditorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_25__,
|
|
3127
|
+
Entry: _entry__WEBPACK_IMPORTED_MODULE_26__,
|
|
3128
|
+
Environment: _environment__WEBPACK_IMPORTED_MODULE_27__,
|
|
3129
|
+
EnvironmentAlias: _environment_alias__WEBPACK_IMPORTED_MODULE_28__,
|
|
3130
|
+
EnvironmentTemplate: _environment_template__WEBPACK_IMPORTED_MODULE_29__,
|
|
3131
|
+
EnvironmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_30__,
|
|
3132
|
+
Extension: _extension__WEBPACK_IMPORTED_MODULE_31__,
|
|
3133
|
+
Function: _function__WEBPACK_IMPORTED_MODULE_32__,
|
|
3134
|
+
FunctionLog: _function_log__WEBPACK_IMPORTED_MODULE_33__,
|
|
3135
|
+
Http: _http__WEBPACK_IMPORTED_MODULE_34__,
|
|
3136
|
+
Locale: _locale__WEBPACK_IMPORTED_MODULE_35__,
|
|
3137
|
+
Organization: _organization__WEBPACK_IMPORTED_MODULE_36__,
|
|
3138
|
+
OrganizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_37__,
|
|
3139
|
+
OrganizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_38__,
|
|
3140
|
+
OAuthApplication: _oauth_application__WEBPACK_IMPORTED_MODULE_39__,
|
|
3141
|
+
PersonalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_40__,
|
|
3142
|
+
AccessToken: _access_token__WEBPACK_IMPORTED_MODULE_4__,
|
|
3143
|
+
PreviewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_41__,
|
|
3144
|
+
Release: _release__WEBPACK_IMPORTED_MODULE_42__,
|
|
3145
|
+
ReleaseAsset: _release_asset__WEBPACK_IMPORTED_MODULE_43__,
|
|
3146
|
+
ReleaseEntry: _release_entry__WEBPACK_IMPORTED_MODULE_44__,
|
|
3147
|
+
ReleaseAction: _release_action__WEBPACK_IMPORTED_MODULE_45__,
|
|
3148
|
+
Resource: _resource__WEBPACK_IMPORTED_MODULE_46__,
|
|
3149
|
+
ResourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_47__,
|
|
3150
|
+
ResourceType: _resource_type__WEBPACK_IMPORTED_MODULE_48__,
|
|
3151
|
+
Role: _role__WEBPACK_IMPORTED_MODULE_49__,
|
|
3152
|
+
ScheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_50__,
|
|
3153
|
+
SemanticDuplicates: _semantic_duplicates__WEBPACK_IMPORTED_MODULE_51__,
|
|
3154
|
+
SemanticRecommendations: _semantic_recommendations__WEBPACK_IMPORTED_MODULE_52__,
|
|
3155
|
+
SemanticReferenceSuggestions: _semantic_reference_suggestions__WEBPACK_IMPORTED_MODULE_53__,
|
|
3156
|
+
SemanticSearch: _semantic_search__WEBPACK_IMPORTED_MODULE_54__,
|
|
3157
|
+
Snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_55__,
|
|
3158
|
+
Space: _space__WEBPACK_IMPORTED_MODULE_56__,
|
|
3159
|
+
SpaceMember: _space_member__WEBPACK_IMPORTED_MODULE_57__,
|
|
3160
|
+
SpaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_58__,
|
|
3161
|
+
Tag: _tag__WEBPACK_IMPORTED_MODULE_59__,
|
|
3162
|
+
Task: _task__WEBPACK_IMPORTED_MODULE_60__,
|
|
3163
|
+
Team: _team__WEBPACK_IMPORTED_MODULE_61__,
|
|
3164
|
+
TeamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_62__,
|
|
3165
|
+
TeamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_63__,
|
|
3166
|
+
UIConfig: _ui_config__WEBPACK_IMPORTED_MODULE_64__,
|
|
3167
|
+
Upload: _upload__WEBPACK_IMPORTED_MODULE_65__,
|
|
3168
|
+
UploadCredential: _upload_credentials__WEBPACK_IMPORTED_MODULE_66__,
|
|
3169
|
+
Usage: _usage__WEBPACK_IMPORTED_MODULE_67__,
|
|
3170
|
+
User: _user__WEBPACK_IMPORTED_MODULE_68__,
|
|
3171
|
+
UserUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_69__,
|
|
3172
|
+
VectorizationStatus: _vectorization_status__WEBPACK_IMPORTED_MODULE_70__,
|
|
3173
|
+
Webhook: _webhook__WEBPACK_IMPORTED_MODULE_71__,
|
|
3174
|
+
WorkflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_73__,
|
|
3175
|
+
Workflow: _workflow__WEBPACK_IMPORTED_MODULE_72__,
|
|
3176
|
+
WorkflowsChangelog: _workflows_changelog__WEBPACK_IMPORTED_MODULE_74__
|
|
3079
3177
|
});
|
|
3080
3178
|
|
|
3081
3179
|
/***/ }),
|
|
@@ -4207,6 +4305,90 @@ const update = (http, params, data) => {
|
|
|
4207
4305
|
|
|
4208
4306
|
/***/ }),
|
|
4209
4307
|
|
|
4308
|
+
/***/ "./adapters/REST/endpoints/semantic-duplicates.ts":
|
|
4309
|
+
/*!********************************************************!*\
|
|
4310
|
+
!*** ./adapters/REST/endpoints/semantic-duplicates.ts ***!
|
|
4311
|
+
\********************************************************/
|
|
4312
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4313
|
+
|
|
4314
|
+
"use strict";
|
|
4315
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4316
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4317
|
+
/* harmony export */ get: () => (/* binding */ get)
|
|
4318
|
+
/* harmony export */ });
|
|
4319
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
4320
|
+
|
|
4321
|
+
const get = (http, params, data, headers) => {
|
|
4322
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/semantic/duplicates`, data, {
|
|
4323
|
+
headers
|
|
4324
|
+
});
|
|
4325
|
+
};
|
|
4326
|
+
|
|
4327
|
+
/***/ }),
|
|
4328
|
+
|
|
4329
|
+
/***/ "./adapters/REST/endpoints/semantic-recommendations.ts":
|
|
4330
|
+
/*!*************************************************************!*\
|
|
4331
|
+
!*** ./adapters/REST/endpoints/semantic-recommendations.ts ***!
|
|
4332
|
+
\*************************************************************/
|
|
4333
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4334
|
+
|
|
4335
|
+
"use strict";
|
|
4336
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4337
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4338
|
+
/* harmony export */ get: () => (/* binding */ get)
|
|
4339
|
+
/* harmony export */ });
|
|
4340
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
4341
|
+
|
|
4342
|
+
const get = (http, params, data, headers) => {
|
|
4343
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/semantic/recommendations`, data, {
|
|
4344
|
+
headers
|
|
4345
|
+
});
|
|
4346
|
+
};
|
|
4347
|
+
|
|
4348
|
+
/***/ }),
|
|
4349
|
+
|
|
4350
|
+
/***/ "./adapters/REST/endpoints/semantic-reference-suggestions.ts":
|
|
4351
|
+
/*!*******************************************************************!*\
|
|
4352
|
+
!*** ./adapters/REST/endpoints/semantic-reference-suggestions.ts ***!
|
|
4353
|
+
\*******************************************************************/
|
|
4354
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4355
|
+
|
|
4356
|
+
"use strict";
|
|
4357
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4358
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4359
|
+
/* harmony export */ get: () => (/* binding */ get)
|
|
4360
|
+
/* harmony export */ });
|
|
4361
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
4362
|
+
|
|
4363
|
+
const get = (http, params, data, headers) => {
|
|
4364
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/semantic/reference-suggestions`, data, {
|
|
4365
|
+
headers
|
|
4366
|
+
});
|
|
4367
|
+
};
|
|
4368
|
+
|
|
4369
|
+
/***/ }),
|
|
4370
|
+
|
|
4371
|
+
/***/ "./adapters/REST/endpoints/semantic-search.ts":
|
|
4372
|
+
/*!****************************************************!*\
|
|
4373
|
+
!*** ./adapters/REST/endpoints/semantic-search.ts ***!
|
|
4374
|
+
\****************************************************/
|
|
4375
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4376
|
+
|
|
4377
|
+
"use strict";
|
|
4378
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4379
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4380
|
+
/* harmony export */ get: () => (/* binding */ get)
|
|
4381
|
+
/* harmony export */ });
|
|
4382
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
4383
|
+
|
|
4384
|
+
const get = (http, params, data, headers) => {
|
|
4385
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/semantic/search`, data, {
|
|
4386
|
+
headers
|
|
4387
|
+
});
|
|
4388
|
+
};
|
|
4389
|
+
|
|
4390
|
+
/***/ }),
|
|
4391
|
+
|
|
4210
4392
|
/***/ "./adapters/REST/endpoints/snapshot.ts":
|
|
4211
4393
|
/*!*********************************************!*\
|
|
4212
4394
|
!*** ./adapters/REST/endpoints/snapshot.ts ***!
|
|
@@ -4972,6 +5154,33 @@ function normalizeSpaceId(query) {
|
|
|
4972
5154
|
|
|
4973
5155
|
/***/ }),
|
|
4974
5156
|
|
|
5157
|
+
/***/ "./adapters/REST/endpoints/vectorization-status.ts":
|
|
5158
|
+
/*!*********************************************************!*\
|
|
5159
|
+
!*** ./adapters/REST/endpoints/vectorization-status.ts ***!
|
|
5160
|
+
\*********************************************************/
|
|
5161
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5162
|
+
|
|
5163
|
+
"use strict";
|
|
5164
|
+
__webpack_require__.r(__webpack_exports__);
|
|
5165
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5166
|
+
/* harmony export */ get: () => (/* binding */ get),
|
|
5167
|
+
/* harmony export */ update: () => (/* binding */ update)
|
|
5168
|
+
/* harmony export */ });
|
|
5169
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
5170
|
+
|
|
5171
|
+
const get = (http, params, headers) => {
|
|
5172
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, `/organizations/${params.organizationId}/semantic/vectorization-status`, {
|
|
5173
|
+
headers
|
|
5174
|
+
});
|
|
5175
|
+
};
|
|
5176
|
+
const update = (http, params, data, headers) => {
|
|
5177
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, `/organizations/${params.organizationId}/semantic/vectorization-status`, data, {
|
|
5178
|
+
headers
|
|
5179
|
+
});
|
|
5180
|
+
};
|
|
5181
|
+
|
|
5182
|
+
/***/ }),
|
|
5183
|
+
|
|
4975
5184
|
/***/ "./adapters/REST/endpoints/webhook.ts":
|
|
4976
5185
|
/*!********************************************!*\
|
|
4977
5186
|
!*** ./adapters/REST/endpoints/webhook.ts ***!
|
|
@@ -7660,12 +7869,32 @@ function createEnvironmentApi(makeRequest) {
|
|
|
7660
7869
|
const {
|
|
7661
7870
|
wrapAppAccessToken
|
|
7662
7871
|
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].appAccessToken;
|
|
7872
|
+
const {
|
|
7873
|
+
wrapAgent,
|
|
7874
|
+
wrapAgentCollection
|
|
7875
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].agent;
|
|
7876
|
+
const {
|
|
7877
|
+
wrapAgentRun,
|
|
7878
|
+
wrapAgentRunCollection
|
|
7879
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].agentRun;
|
|
7663
7880
|
const {
|
|
7664
7881
|
wrapResourceTypesForEnvironmentCollection
|
|
7665
7882
|
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].resourceType;
|
|
7666
7883
|
const {
|
|
7667
7884
|
wrapResourceCollection
|
|
7668
7885
|
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].resource;
|
|
7886
|
+
const {
|
|
7887
|
+
wrapSemanticDuplicates
|
|
7888
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].semanticDuplicates;
|
|
7889
|
+
const {
|
|
7890
|
+
wrapSemanticRecommendations
|
|
7891
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].semanticRecommendations;
|
|
7892
|
+
const {
|
|
7893
|
+
wrapSemanticReferenceSuggestions
|
|
7894
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].semanticReferenceSuggestions;
|
|
7895
|
+
const {
|
|
7896
|
+
wrapSemanticSearch
|
|
7897
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].semanticSearch;
|
|
7669
7898
|
return {
|
|
7670
7899
|
/**
|
|
7671
7900
|
* Deletes the environment
|
|
@@ -8405,6 +8634,39 @@ function createEnvironmentApi(makeRequest) {
|
|
|
8405
8634
|
}
|
|
8406
8635
|
}).then(data => wrapEntryCollection(makeRequest, data));
|
|
8407
8636
|
},
|
|
8637
|
+
/**
|
|
8638
|
+
* Gets a collection of published Entries with cursor based pagination
|
|
8639
|
+
* @param query - Object with cursor pagination parameters. Check the <a href="https://www.contentful.com/developers/docs/references/content-management-api/#/introduction/cursor-pagination">REST API reference</a> for more details.
|
|
8640
|
+
* @return Promise for a collection of published Entries
|
|
8641
|
+
* @example ```javascript
|
|
8642
|
+
* const contentful = require('contentful-management')
|
|
8643
|
+
*
|
|
8644
|
+
* const client = contentful.createClient({
|
|
8645
|
+
* accessToken: '<content_management_api_key>'
|
|
8646
|
+
* })
|
|
8647
|
+
*
|
|
8648
|
+
* client.getSpace('<space_id>')
|
|
8649
|
+
* .then((space) => space.getEnvironment('<environment-id>'))
|
|
8650
|
+
* .then((environment) => environment.getPublishedEntriesWithCursor())
|
|
8651
|
+
* .then((response) => console.log(response.items))
|
|
8652
|
+
* .catch(console.error)
|
|
8653
|
+
* ```
|
|
8654
|
+
*/
|
|
8655
|
+
getPublishedEntriesWithCursor(query = {}) {
|
|
8656
|
+
const raw = this.toPlainObject();
|
|
8657
|
+
const normalizedQueryParams = (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.normalizeCursorPaginationParameters)(query);
|
|
8658
|
+
return makeRequest({
|
|
8659
|
+
entityType: 'Entry',
|
|
8660
|
+
action: 'getPublished',
|
|
8661
|
+
params: {
|
|
8662
|
+
spaceId: raw.sys.space.sys.id,
|
|
8663
|
+
environmentId: raw.sys.id,
|
|
8664
|
+
query: (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createRequestConfig)({
|
|
8665
|
+
query: normalizedQueryParams
|
|
8666
|
+
}).params
|
|
8667
|
+
}
|
|
8668
|
+
}).then(data => wrapEntryTypeCursorPaginatedCollection(makeRequest, (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.normalizeCursorPaginationResponse)(data)));
|
|
8669
|
+
},
|
|
8408
8670
|
/**
|
|
8409
8671
|
* Creates a Entry
|
|
8410
8672
|
* @param contentTypeId - The Content Type ID of the newly created Entry
|
|
@@ -8656,6 +8918,39 @@ function createEnvironmentApi(makeRequest) {
|
|
|
8656
8918
|
}
|
|
8657
8919
|
}).then(data => wrapAssetCollection(makeRequest, data));
|
|
8658
8920
|
},
|
|
8921
|
+
/**
|
|
8922
|
+
* Gets a collection of published Assets with cursor based pagination
|
|
8923
|
+
* @param query - Object with cursor pagination parameters. Check the <a href="https://www.contentful.com/developers/docs/references/content-management-api/#/introduction/cursor-pagination">REST API reference</a> for more details.
|
|
8924
|
+
* @return Promise for a collection of published Assets
|
|
8925
|
+
* @example ```javascript
|
|
8926
|
+
* const contentful = require('contentful-management')
|
|
8927
|
+
*
|
|
8928
|
+
* const client = contentful.createClient({
|
|
8929
|
+
* accessToken: '<content_management_api_key>'
|
|
8930
|
+
* })
|
|
8931
|
+
*
|
|
8932
|
+
* client.getSpace('<space_id>')
|
|
8933
|
+
* .then((space) => space.getEnvironment('<environment-id>'))
|
|
8934
|
+
* .then((environment) => environment.getPublishedAssetsWithCursor())
|
|
8935
|
+
* .then((response) => console.log(response.items))
|
|
8936
|
+
* .catch(console.error)
|
|
8937
|
+
* ```
|
|
8938
|
+
*/
|
|
8939
|
+
getPublishedAssetsWithCursor(query = {}) {
|
|
8940
|
+
const raw = this.toPlainObject();
|
|
8941
|
+
const normalizedQueryParams = (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.normalizeCursorPaginationParameters)(query);
|
|
8942
|
+
return makeRequest({
|
|
8943
|
+
entityType: 'Asset',
|
|
8944
|
+
action: 'getPublished',
|
|
8945
|
+
params: {
|
|
8946
|
+
spaceId: raw.sys.space.sys.id,
|
|
8947
|
+
environmentId: raw.sys.id,
|
|
8948
|
+
query: (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createRequestConfig)({
|
|
8949
|
+
query: normalizedQueryParams
|
|
8950
|
+
}).params
|
|
8951
|
+
}
|
|
8952
|
+
}).then(data => wrapAssetTypeCursorPaginatedCollection(makeRequest, (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.normalizeCursorPaginationResponse)(data)));
|
|
8953
|
+
},
|
|
8659
8954
|
/**
|
|
8660
8955
|
* Creates a Asset. After creation, call asset.processForLocale or asset.processForAllLocales to start asset processing.
|
|
8661
8956
|
* @param data - Object representation of the Asset to be created. Note that the field object should have an upload property on asset creation, which will be removed and replaced with an url property when processing is finished.
|
|
@@ -10237,41 +10532,311 @@ function createEnvironmentApi(makeRequest) {
|
|
|
10237
10532
|
invocationId
|
|
10238
10533
|
}
|
|
10239
10534
|
}).then(data => (0,_entities_ai_action_invocation__WEBPACK_IMPORTED_MODULE_11__.wrapAiActionInvocation)(makeRequest, data));
|
|
10240
|
-
}
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
|
-
|
|
10257
|
-
|
|
10258
|
-
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10535
|
+
},
|
|
10536
|
+
/**
|
|
10537
|
+
* Retrieves Semantic Duplicates for the given entity ID
|
|
10538
|
+
* @param payload - Object containing the entityId and optional filters
|
|
10539
|
+
* @return Promise for Semantic Duplicates
|
|
10540
|
+
* @example ```javascript
|
|
10541
|
+
* client.getSpace('<space_id>')
|
|
10542
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
10543
|
+
* .then(environment => environment.getSemanticDuplicates({
|
|
10544
|
+
* entityId: '<entity_id>',
|
|
10545
|
+
* filters: {
|
|
10546
|
+
* contentTypeIds: ['<content_type_id1>', '<content_type_id2>'],
|
|
10547
|
+
* }
|
|
10548
|
+
* })
|
|
10549
|
+
*/
|
|
10550
|
+
getSemanticDuplicates(payload) {
|
|
10551
|
+
const raw = this.toPlainObject();
|
|
10552
|
+
return makeRequest({
|
|
10553
|
+
entityType: 'SemanticDuplicates',
|
|
10554
|
+
action: 'get',
|
|
10555
|
+
params: {
|
|
10556
|
+
spaceId: raw.sys.space.sys.id,
|
|
10557
|
+
environmentId: raw.sys.id
|
|
10558
|
+
},
|
|
10559
|
+
payload
|
|
10560
|
+
}).then(data => wrapSemanticDuplicates(makeRequest, data));
|
|
10561
|
+
},
|
|
10562
|
+
/**
|
|
10563
|
+
* Retrieves Semantic Recommendations for the given entity ID
|
|
10564
|
+
* @param payload - Object containing the entityId and optional filters
|
|
10565
|
+
* @return Promise for Semantic Recommendations
|
|
10566
|
+
* @example ```javascript
|
|
10567
|
+
* client.getSpace('<space_id>')
|
|
10568
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
10569
|
+
* .then(environment => environment.getSemanticRecommendations({
|
|
10570
|
+
* entityId: '<entity_id>',
|
|
10571
|
+
* filters: {
|
|
10572
|
+
* contentTypeIds: ['<content_type_id1>', '<content_type_id2>'],
|
|
10573
|
+
* }
|
|
10574
|
+
* })
|
|
10575
|
+
*/
|
|
10576
|
+
getSemanticRecommendations(payload) {
|
|
10577
|
+
const raw = this.toPlainObject();
|
|
10578
|
+
return makeRequest({
|
|
10579
|
+
entityType: 'SemanticRecommendations',
|
|
10580
|
+
action: 'get',
|
|
10581
|
+
params: {
|
|
10582
|
+
spaceId: raw.sys.space.sys.id,
|
|
10583
|
+
environmentId: raw.sys.id
|
|
10584
|
+
},
|
|
10585
|
+
payload
|
|
10586
|
+
}).then(data => wrapSemanticRecommendations(makeRequest, data));
|
|
10587
|
+
},
|
|
10588
|
+
/**
|
|
10589
|
+
* Retrieves Semantic Reference Suggestions for the given entity ID and its reference field ID
|
|
10590
|
+
* @param payload - Object containing the entityId and optional filters
|
|
10591
|
+
* @return Promise for Semantic Reference Suggestions
|
|
10592
|
+
* @example ```javascript
|
|
10593
|
+
* client.getSpace('<space_id>')
|
|
10594
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
10595
|
+
* .then(environment => environment.getSemanticRecommendations({
|
|
10596
|
+
* entityId: '<entity_id>',
|
|
10597
|
+
* referenceFieldId: '<reference_field_id>',
|
|
10598
|
+
* filters: {
|
|
10599
|
+
* contentTypeIds: ['<content_type_id1>', '<content_type_id2>'],
|
|
10600
|
+
* }
|
|
10601
|
+
* })
|
|
10602
|
+
*/
|
|
10603
|
+
getSemanticReferenceSuggestions(payload) {
|
|
10604
|
+
const raw = this.toPlainObject();
|
|
10605
|
+
return makeRequest({
|
|
10606
|
+
entityType: 'SemanticReferenceSuggestions',
|
|
10607
|
+
action: 'get',
|
|
10608
|
+
params: {
|
|
10609
|
+
spaceId: raw.sys.space.sys.id,
|
|
10610
|
+
environmentId: raw.sys.id
|
|
10611
|
+
},
|
|
10612
|
+
payload
|
|
10613
|
+
}).then(data => wrapSemanticReferenceSuggestions(makeRequest, data));
|
|
10614
|
+
},
|
|
10615
|
+
/**
|
|
10616
|
+
* Retrieves Semantic Search results for the given query
|
|
10617
|
+
* @param payload - Object containing the search query and optional filters
|
|
10618
|
+
* @return Promise for Semantic Search results
|
|
10619
|
+
* @example ```javascript
|
|
10620
|
+
* client.getSpace('<space_id>')
|
|
10621
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
10622
|
+
* .then(environment => environment.getSemanticSearch({
|
|
10623
|
+
* query: '<search_query>',
|
|
10624
|
+
* filters: {
|
|
10625
|
+
* contentTypeIds: ['<content_type_id1>', '<content_type_id2>'],
|
|
10626
|
+
* }
|
|
10627
|
+
* })
|
|
10628
|
+
*/
|
|
10629
|
+
getSemanticSearch(payload) {
|
|
10630
|
+
const raw = this.toPlainObject();
|
|
10631
|
+
return makeRequest({
|
|
10632
|
+
entityType: 'SemanticSearch',
|
|
10633
|
+
action: 'get',
|
|
10634
|
+
params: {
|
|
10635
|
+
spaceId: raw.sys.space.sys.id,
|
|
10636
|
+
environmentId: raw.sys.id
|
|
10637
|
+
},
|
|
10638
|
+
payload
|
|
10639
|
+
}).then(data => wrapSemanticSearch(makeRequest, data));
|
|
10640
|
+
},
|
|
10641
|
+
/**
|
|
10642
|
+
* Gets an AI Agent
|
|
10643
|
+
* @param agentId - AI Agent ID
|
|
10644
|
+
* @return Promise for an AI Agent
|
|
10645
|
+
* @example ```javascript
|
|
10646
|
+
* const contentful = require('contentful-management')
|
|
10647
|
+
*
|
|
10648
|
+
* const client = contentful.createClient({
|
|
10649
|
+
* accessToken: '<content_management_api_key>'
|
|
10650
|
+
* })
|
|
10651
|
+
*
|
|
10652
|
+
* client.getSpace('<space_id>')
|
|
10653
|
+
* .then((space) => space.getEnvironment('<environment_id>'))
|
|
10654
|
+
* .then((environment) => environment.getAgent('<agent_id>'))
|
|
10655
|
+
* .then((agent) => console.log(agent))
|
|
10656
|
+
* .catch(console.error)
|
|
10657
|
+
* ```
|
|
10658
|
+
*/
|
|
10659
|
+
getAgent(agentId) {
|
|
10660
|
+
const raw = this.toPlainObject();
|
|
10661
|
+
return makeRequest({
|
|
10662
|
+
entityType: 'Agent',
|
|
10663
|
+
action: 'get',
|
|
10664
|
+
params: {
|
|
10665
|
+
spaceId: raw.sys.space.sys.id,
|
|
10666
|
+
environmentId: raw.sys.id,
|
|
10667
|
+
agentId
|
|
10668
|
+
}
|
|
10669
|
+
}).then(data => wrapAgent(makeRequest, data));
|
|
10670
|
+
},
|
|
10671
|
+
/**
|
|
10672
|
+
* Gets a collection of AI Agents
|
|
10673
|
+
* @return Promise for a collection of AI Agents
|
|
10674
|
+
* @example ```javascript
|
|
10675
|
+
* const contentful = require('contentful-management')
|
|
10676
|
+
*
|
|
10677
|
+
* const client = contentful.createClient({
|
|
10678
|
+
* accessToken: '<content_management_api_key>'
|
|
10679
|
+
* })
|
|
10680
|
+
*
|
|
10681
|
+
* client.getSpace('<space_id>')
|
|
10682
|
+
* .then((space) => space.getEnvironment('<environment_id>'))
|
|
10683
|
+
* .then((environment) => environment.getAgents())
|
|
10684
|
+
* .then((response) => console.log(response.items))
|
|
10685
|
+
* .catch(console.error)
|
|
10686
|
+
* ```
|
|
10687
|
+
*/
|
|
10688
|
+
getAgents() {
|
|
10689
|
+
const raw = this.toPlainObject();
|
|
10690
|
+
return makeRequest({
|
|
10691
|
+
entityType: 'Agent',
|
|
10692
|
+
action: 'getMany',
|
|
10693
|
+
params: {
|
|
10694
|
+
spaceId: raw.sys.space.sys.id,
|
|
10695
|
+
environmentId: raw.sys.id
|
|
10696
|
+
}
|
|
10697
|
+
}).then(data => wrapAgentCollection(makeRequest, data));
|
|
10698
|
+
},
|
|
10699
|
+
/**
|
|
10700
|
+
* Generates content using an AI Agent
|
|
10701
|
+
* @param agentId - AI Agent ID
|
|
10702
|
+
* @param payload - Generation payload
|
|
10703
|
+
* @return Promise for the generation response
|
|
10704
|
+
* @example ```javascript
|
|
10705
|
+
* const contentful = require('contentful-management')
|
|
10706
|
+
*
|
|
10707
|
+
* const client = contentful.createClient({
|
|
10708
|
+
* accessToken: '<content_management_api_key>'
|
|
10709
|
+
* })
|
|
10710
|
+
*
|
|
10711
|
+
* client.getSpace('<space_id>')
|
|
10712
|
+
* .then((space) => space.getEnvironment('<environment_id>'))
|
|
10713
|
+
* .then((environment) => environment.generateWithAgent('<agent_id>', {
|
|
10714
|
+
* messages: [
|
|
10715
|
+
* {
|
|
10716
|
+
* parts: [
|
|
10717
|
+
* {
|
|
10718
|
+
* type: 'text',
|
|
10719
|
+
* text: 'Write a short poem about Contentful'
|
|
10720
|
+
* }
|
|
10721
|
+
* ],
|
|
10722
|
+
* role: 'user'
|
|
10723
|
+
* }
|
|
10724
|
+
* ]
|
|
10725
|
+
* }))
|
|
10726
|
+
* .then((result) => console.log(result))
|
|
10727
|
+
* .catch(console.error)
|
|
10728
|
+
* ```
|
|
10729
|
+
*/
|
|
10730
|
+
generateWithAgent(agentId, payload) {
|
|
10731
|
+
const raw = this.toPlainObject();
|
|
10732
|
+
return makeRequest({
|
|
10733
|
+
entityType: 'Agent',
|
|
10734
|
+
action: 'generate',
|
|
10735
|
+
params: {
|
|
10736
|
+
spaceId: raw.sys.space.sys.id,
|
|
10737
|
+
environmentId: raw.sys.id,
|
|
10738
|
+
agentId
|
|
10739
|
+
},
|
|
10740
|
+
payload
|
|
10741
|
+
}).then(data => wrapAgentRun(makeRequest, data));
|
|
10742
|
+
},
|
|
10743
|
+
/**
|
|
10744
|
+
* Gets an AI Agent Run
|
|
10745
|
+
* @param runId - AI Agent Run ID
|
|
10746
|
+
* @return Promise for an AI Agent Run
|
|
10747
|
+
* @example ```javascript
|
|
10748
|
+
* const contentful = require('contentful-management')
|
|
10749
|
+
*
|
|
10750
|
+
* const client = contentful.createClient({
|
|
10751
|
+
* accessToken: '<content_management_api_key>'
|
|
10752
|
+
* })
|
|
10753
|
+
*
|
|
10754
|
+
* client.getSpace('<space_id>')
|
|
10755
|
+
* .then((space) => space.getEnvironment('<environment_id>'))
|
|
10756
|
+
* .then((environment) => environment.getAgentRun('<run_id>'))
|
|
10757
|
+
* .then((run) => console.log(run))
|
|
10758
|
+
* .catch(console.error)
|
|
10759
|
+
* ```
|
|
10760
|
+
*/
|
|
10761
|
+
getAgentRun(runId) {
|
|
10762
|
+
const raw = this.toPlainObject();
|
|
10763
|
+
return makeRequest({
|
|
10764
|
+
entityType: 'AgentRun',
|
|
10765
|
+
action: 'get',
|
|
10766
|
+
params: {
|
|
10767
|
+
spaceId: raw.sys.space.sys.id,
|
|
10768
|
+
environmentId: raw.sys.id,
|
|
10769
|
+
runId
|
|
10770
|
+
}
|
|
10771
|
+
}).then(data => wrapAgentRun(makeRequest, data));
|
|
10772
|
+
},
|
|
10773
|
+
/**
|
|
10774
|
+
* Gets a collection of AI Agent Runs with optional filtering
|
|
10775
|
+
* @param query - Object with search parameters (agentIn, statusIn)
|
|
10776
|
+
* @return Promise for a collection of AI Agent Runs
|
|
10777
|
+
* @example ```javascript
|
|
10778
|
+
* const contentful = require('contentful-management')
|
|
10779
|
+
*
|
|
10780
|
+
* const client = contentful.createClient({
|
|
10781
|
+
* accessToken: '<content_management_api_key>'
|
|
10782
|
+
* })
|
|
10783
|
+
*
|
|
10784
|
+
* client.getSpace('<space_id>')
|
|
10785
|
+
* .then((space) => space.getEnvironment('<environment_id>'))
|
|
10786
|
+
* .then((environment) => environment.getAgentRuns({
|
|
10787
|
+
* agentIn: ['agent1', 'agent2'],
|
|
10788
|
+
* statusIn: ['COMPLETED', 'IN_PROGRESS']
|
|
10789
|
+
* }))
|
|
10790
|
+
* .then((response) => console.log(response.items))
|
|
10791
|
+
* .catch(console.error)
|
|
10792
|
+
* ```
|
|
10793
|
+
*/
|
|
10794
|
+
getAgentRuns(query = {}) {
|
|
10795
|
+
const raw = this.toPlainObject();
|
|
10796
|
+
return makeRequest({
|
|
10797
|
+
entityType: 'AgentRun',
|
|
10798
|
+
action: 'getMany',
|
|
10799
|
+
params: {
|
|
10800
|
+
spaceId: raw.sys.space.sys.id,
|
|
10801
|
+
environmentId: raw.sys.id,
|
|
10802
|
+
query
|
|
10803
|
+
}
|
|
10804
|
+
}).then(data => wrapAgentRunCollection(makeRequest, data));
|
|
10805
|
+
}
|
|
10806
|
+
};
|
|
10807
|
+
}
|
|
10808
|
+
|
|
10809
|
+
/***/ }),
|
|
10810
|
+
|
|
10811
|
+
/***/ "./create-environment-template-api.ts":
|
|
10812
|
+
/*!********************************************!*\
|
|
10813
|
+
!*** ./create-environment-template-api.ts ***!
|
|
10814
|
+
\********************************************/
|
|
10815
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10816
|
+
|
|
10817
|
+
"use strict";
|
|
10818
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10819
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10820
|
+
/* harmony export */ createEnvironmentTemplateApi: () => (/* binding */ createEnvironmentTemplateApi)
|
|
10821
|
+
/* harmony export */ });
|
|
10822
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
10823
|
+
/* harmony import */ var _entities__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./entities */ "./entities/index.ts");
|
|
10824
|
+
const _excluded = ["spaceId", "environmentId", "latestOnly"];
|
|
10825
|
+
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; }
|
|
10826
|
+
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; }
|
|
10827
|
+
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; }
|
|
10828
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
10829
|
+
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); }
|
|
10830
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10831
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
10832
|
+
|
|
10833
|
+
|
|
10834
|
+
function createEnvironmentTemplateApi(makeRequest, organizationId) {
|
|
10835
|
+
const {
|
|
10836
|
+
wrapEnvironmentTemplate,
|
|
10837
|
+
wrapEnvironmentTemplateCollection
|
|
10838
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_1__["default"].environmentTemplate;
|
|
10839
|
+
const {
|
|
10275
10840
|
wrapEnvironmentTemplateInstallationCollection
|
|
10276
10841
|
} = _entities__WEBPACK_IMPORTED_MODULE_1__["default"].environmentTemplateInstallation;
|
|
10277
10842
|
return {
|
|
@@ -10671,6 +11236,9 @@ function createOrganizationApi(makeRequest) {
|
|
|
10671
11236
|
const {
|
|
10672
11237
|
wrapSpaceCollection
|
|
10673
11238
|
} = _entities__WEBPACK_IMPORTED_MODULE_1__["default"].space;
|
|
11239
|
+
const {
|
|
11240
|
+
wrapVectorizationStatus
|
|
11241
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_1__["default"].vectorizationStatus;
|
|
10674
11242
|
return {
|
|
10675
11243
|
/**
|
|
10676
11244
|
* Gets a collection of spaces in the organization
|
|
@@ -11894,6 +12462,54 @@ function createOrganizationApi(makeRequest) {
|
|
|
11894
12462
|
query
|
|
11895
12463
|
}
|
|
11896
12464
|
}).then(payload => wrapFunctionCollection(makeRequest, payload));
|
|
12465
|
+
},
|
|
12466
|
+
/**
|
|
12467
|
+
* Gets the vectorization status for the organization
|
|
12468
|
+
* @returns Promise for a VectorizationStatus
|
|
12469
|
+
* @example ```javascript
|
|
12470
|
+
* const contentful = require('contentful-management')
|
|
12471
|
+
* const client = contentful.createClient({
|
|
12472
|
+
* accessToken: '<content_management_api_key>'
|
|
12473
|
+
* })
|
|
12474
|
+
* const org = await client.getOrganization('<org_id>')
|
|
12475
|
+
* const vectorizationStatus = await org.getVectorizationStatus()
|
|
12476
|
+
*/
|
|
12477
|
+
getVectorizationStatus() {
|
|
12478
|
+
const raw = this.toPlainObject();
|
|
12479
|
+
const organizationId = raw.sys.id;
|
|
12480
|
+
return makeRequest({
|
|
12481
|
+
entityType: 'VectorizationStatus',
|
|
12482
|
+
action: 'get',
|
|
12483
|
+
params: {
|
|
12484
|
+
organizationId
|
|
12485
|
+
}
|
|
12486
|
+
}).then(payload => wrapVectorizationStatus(makeRequest, payload));
|
|
12487
|
+
},
|
|
12488
|
+
/**
|
|
12489
|
+
* Updates the vectorization status for the organization
|
|
12490
|
+
* @returns Promise for a VectorizationStatus
|
|
12491
|
+
* @example ```javascript
|
|
12492
|
+
* const contentful = require('contentful-management')
|
|
12493
|
+
* const client = contentful.createClient({
|
|
12494
|
+
* accessToken: '<content_management_api_key>'
|
|
12495
|
+
* })
|
|
12496
|
+
* const org = await client.getOrganization('<org_id>')
|
|
12497
|
+
* const updatedVectorizationStatus = await org.updateVectorizationStatus([
|
|
12498
|
+
* { spaceId: '<space_id1>', enabled: true },
|
|
12499
|
+
* { spaceId: '<space_id2>', enabled: false }
|
|
12500
|
+
* ])
|
|
12501
|
+
*/
|
|
12502
|
+
updateVectorizationStatus(data) {
|
|
12503
|
+
const raw = this.toPlainObject();
|
|
12504
|
+
const organizationId = raw.sys.id;
|
|
12505
|
+
return makeRequest({
|
|
12506
|
+
entityType: 'VectorizationStatus',
|
|
12507
|
+
action: 'update',
|
|
12508
|
+
params: {
|
|
12509
|
+
organizationId
|
|
12510
|
+
},
|
|
12511
|
+
payload: data
|
|
12512
|
+
}).then(payload => wrapVectorizationStatus(makeRequest, payload));
|
|
11897
12513
|
}
|
|
11898
12514
|
};
|
|
11899
12515
|
}
|
|
@@ -13909,6 +14525,81 @@ const wrapAccessTokenCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_3__.
|
|
|
13909
14525
|
|
|
13910
14526
|
/***/ }),
|
|
13911
14527
|
|
|
14528
|
+
/***/ "./entities/agent-run.ts":
|
|
14529
|
+
/*!*******************************!*\
|
|
14530
|
+
!*** ./entities/agent-run.ts ***!
|
|
14531
|
+
\*******************************/
|
|
14532
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14533
|
+
|
|
14534
|
+
"use strict";
|
|
14535
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14536
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14537
|
+
/* harmony export */ wrapAgentRun: () => (/* binding */ wrapAgentRun),
|
|
14538
|
+
/* harmony export */ wrapAgentRunCollection: () => (/* binding */ wrapAgentRunCollection)
|
|
14539
|
+
/* harmony export */ });
|
|
14540
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
14541
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
14542
|
+
/* harmony import */ var _common_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common-utils */ "./common-utils.ts");
|
|
14543
|
+
|
|
14544
|
+
|
|
14545
|
+
|
|
14546
|
+
function wrapAgentRun(_makeRequest, data) {
|
|
14547
|
+
const agentRun = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
14548
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(agentRun);
|
|
14549
|
+
}
|
|
14550
|
+
const wrapAgentRunCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_2__.wrapCollection)(wrapAgentRun);
|
|
14551
|
+
|
|
14552
|
+
/***/ }),
|
|
14553
|
+
|
|
14554
|
+
/***/ "./entities/agent.ts":
|
|
14555
|
+
/*!***************************!*\
|
|
14556
|
+
!*** ./entities/agent.ts ***!
|
|
14557
|
+
\***************************/
|
|
14558
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14559
|
+
|
|
14560
|
+
"use strict";
|
|
14561
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14562
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14563
|
+
/* harmony export */ wrapAgent: () => (/* binding */ wrapAgent),
|
|
14564
|
+
/* harmony export */ wrapAgentCollection: () => (/* binding */ wrapAgentCollection)
|
|
14565
|
+
/* harmony export */ });
|
|
14566
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
14567
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
14568
|
+
/* harmony import */ var _common_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common-utils */ "./common-utils.ts");
|
|
14569
|
+
/* harmony import */ var _enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../enhance-with-methods */ "./enhance-with-methods.ts");
|
|
14570
|
+
/* harmony import */ var _agent_run__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./agent-run */ "./entities/agent-run.ts");
|
|
14571
|
+
|
|
14572
|
+
|
|
14573
|
+
|
|
14574
|
+
|
|
14575
|
+
|
|
14576
|
+
function createAgentApi(makeRequest) {
|
|
14577
|
+
const getParams = data => ({
|
|
14578
|
+
spaceId: data.sys.space.sys.id,
|
|
14579
|
+
environmentId: data.sys.environment.sys.id,
|
|
14580
|
+
agentId: data.sys.id
|
|
14581
|
+
});
|
|
14582
|
+
return {
|
|
14583
|
+
generate: function generate(payload) {
|
|
14584
|
+
const self = this;
|
|
14585
|
+
return makeRequest({
|
|
14586
|
+
entityType: 'Agent',
|
|
14587
|
+
action: 'generate',
|
|
14588
|
+
params: getParams(self),
|
|
14589
|
+
payload
|
|
14590
|
+
}).then(data => (0,_agent_run__WEBPACK_IMPORTED_MODULE_4__.wrapAgentRun)(makeRequest, data));
|
|
14591
|
+
}
|
|
14592
|
+
};
|
|
14593
|
+
}
|
|
14594
|
+
function wrapAgent(makeRequest, data) {
|
|
14595
|
+
const agent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
14596
|
+
const agentWithMethods = (0,_enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__["default"])(agent, createAgentApi(makeRequest));
|
|
14597
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(agentWithMethods);
|
|
14598
|
+
}
|
|
14599
|
+
const wrapAgentCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_2__.wrapCollection)(wrapAgent);
|
|
14600
|
+
|
|
14601
|
+
/***/ }),
|
|
14602
|
+
|
|
13912
14603
|
/***/ "./entities/ai-action-invocation.ts":
|
|
13913
14604
|
/*!******************************************!*\
|
|
13914
14605
|
!*** ./entities/ai-action-invocation.ts ***!
|
|
@@ -15857,66 +16548,80 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15857
16548
|
/* harmony export */ });
|
|
15858
16549
|
/* harmony import */ var _ai_action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ai-action */ "./entities/ai-action.ts");
|
|
15859
16550
|
/* harmony import */ var _ai_action_invocation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ai-action-invocation */ "./entities/ai-action-invocation.ts");
|
|
15860
|
-
/* harmony import */ var
|
|
15861
|
-
/* harmony import */ var
|
|
15862
|
-
/* harmony import */ var
|
|
15863
|
-
/* harmony import */ var
|
|
15864
|
-
/* harmony import */ var
|
|
15865
|
-
/* harmony import */ var
|
|
15866
|
-
/* harmony import */ var
|
|
15867
|
-
/* harmony import */ var
|
|
15868
|
-
/* harmony import */ var
|
|
15869
|
-
/* harmony import */ var
|
|
15870
|
-
/* harmony import */ var
|
|
15871
|
-
/* harmony import */ var
|
|
15872
|
-
/* harmony import */ var
|
|
15873
|
-
/* harmony import */ var
|
|
15874
|
-
/* harmony import */ var
|
|
15875
|
-
/* harmony import */ var
|
|
15876
|
-
/* harmony import */ var
|
|
15877
|
-
/* harmony import */ var
|
|
15878
|
-
/* harmony import */ var
|
|
15879
|
-
/* harmony import */ var
|
|
15880
|
-
/* harmony import */ var
|
|
15881
|
-
/* harmony import */ var
|
|
15882
|
-
/* harmony import */ var
|
|
15883
|
-
/* harmony import */ var
|
|
15884
|
-
/* harmony import */ var
|
|
15885
|
-
/* harmony import */ var
|
|
15886
|
-
/* harmony import */ var
|
|
15887
|
-
/* harmony import */ var
|
|
15888
|
-
/* harmony import */ var
|
|
15889
|
-
/* harmony import */ var
|
|
15890
|
-
/* harmony import */ var
|
|
15891
|
-
/* harmony import */ var
|
|
15892
|
-
/* harmony import */ var
|
|
15893
|
-
/* harmony import */ var
|
|
15894
|
-
/* harmony import */ var
|
|
15895
|
-
/* harmony import */ var
|
|
15896
|
-
/* harmony import */ var
|
|
15897
|
-
/* harmony import */ var
|
|
15898
|
-
/* harmony import */ var
|
|
15899
|
-
/* harmony import */ var
|
|
15900
|
-
/* harmony import */ var
|
|
15901
|
-
/* harmony import */ var
|
|
15902
|
-
/* harmony import */ var
|
|
15903
|
-
/* harmony import */ var
|
|
15904
|
-
/* harmony import */ var
|
|
15905
|
-
/* harmony import */ var
|
|
15906
|
-
/* harmony import */ var
|
|
15907
|
-
/* harmony import */ var
|
|
15908
|
-
/* harmony import */ var
|
|
15909
|
-
/* harmony import */ var
|
|
15910
|
-
/* harmony import */ var
|
|
15911
|
-
/* harmony import */ var
|
|
15912
|
-
/* harmony import */ var
|
|
15913
|
-
/* harmony import */ var
|
|
15914
|
-
/* harmony import */ var
|
|
15915
|
-
/* harmony import */ var
|
|
15916
|
-
/* harmony import */ var
|
|
15917
|
-
/* harmony import */ var
|
|
15918
|
-
/* harmony import */ var
|
|
15919
|
-
/* harmony import */ var
|
|
16551
|
+
/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./agent */ "./entities/agent.ts");
|
|
16552
|
+
/* harmony import */ var _agent_run__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./agent-run */ "./entities/agent-run.ts");
|
|
16553
|
+
/* harmony import */ var _api_key__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./api-key */ "./entities/api-key.ts");
|
|
16554
|
+
/* harmony import */ var _app_action__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./app-action */ "./entities/app-action.ts");
|
|
16555
|
+
/* harmony import */ var _app_action_call__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./app-action-call */ "./entities/app-action-call.ts");
|
|
16556
|
+
/* harmony import */ var _app_bundle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./app-bundle */ "./entities/app-bundle.ts");
|
|
16557
|
+
/* harmony import */ var _app_definition__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./app-definition */ "./entities/app-definition.ts");
|
|
16558
|
+
/* harmony import */ var _app_details__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./app-details */ "./entities/app-details.ts");
|
|
16559
|
+
/* harmony import */ var _app_installation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./app-installation */ "./entities/app-installation.ts");
|
|
16560
|
+
/* harmony import */ var _app_signed_request__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./app-signed-request */ "./entities/app-signed-request.ts");
|
|
16561
|
+
/* harmony import */ var _app_signing_secret__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./app-signing-secret */ "./entities/app-signing-secret.ts");
|
|
16562
|
+
/* harmony import */ var _app_event_subscription__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./app-event-subscription */ "./entities/app-event-subscription.ts");
|
|
16563
|
+
/* harmony import */ var _app_key__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./app-key */ "./entities/app-key.ts");
|
|
16564
|
+
/* harmony import */ var _app_access_token__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./app-access-token */ "./entities/app-access-token.ts");
|
|
16565
|
+
/* harmony import */ var _app_upload__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./app-upload */ "./entities/app-upload.ts");
|
|
16566
|
+
/* harmony import */ var _asset__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./asset */ "./entities/asset.ts");
|
|
16567
|
+
/* harmony import */ var _asset_key__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./asset-key */ "./entities/asset-key.ts");
|
|
16568
|
+
/* harmony import */ var _bulk_action__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./bulk-action */ "./entities/bulk-action.ts");
|
|
16569
|
+
/* harmony import */ var _comment__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./comment */ "./entities/comment.ts");
|
|
16570
|
+
/* harmony import */ var _content_type__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./content-type */ "./entities/content-type.ts");
|
|
16571
|
+
/* harmony import */ var _editor_interface__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./editor-interface */ "./entities/editor-interface.ts");
|
|
16572
|
+
/* harmony import */ var _entry__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./entry */ "./entities/entry.ts");
|
|
16573
|
+
/* harmony import */ var _environment__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./environment */ "./entities/environment.ts");
|
|
16574
|
+
/* harmony import */ var _environment_alias__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./environment-alias */ "./entities/environment-alias.ts");
|
|
16575
|
+
/* harmony import */ var _environment_template__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./environment-template */ "./entities/environment-template.ts");
|
|
16576
|
+
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./environment-template-installation */ "./entities/environment-template-installation.ts");
|
|
16577
|
+
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./extension */ "./entities/extension.ts");
|
|
16578
|
+
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./function */ "./entities/function.ts");
|
|
16579
|
+
/* harmony import */ var _function_log__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./function-log */ "./entities/function-log.ts");
|
|
16580
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./locale */ "./entities/locale.ts");
|
|
16581
|
+
/* harmony import */ var _oauth_application__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./oauth-application */ "./entities/oauth-application.ts");
|
|
16582
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./organization */ "./entities/organization.ts");
|
|
16583
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./organization-invitation */ "./entities/organization-invitation.ts");
|
|
16584
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./organization-membership */ "./entities/organization-membership.ts");
|
|
16585
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./personal-access-token */ "./entities/personal-access-token.ts");
|
|
16586
|
+
/* harmony import */ var _access_token__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./access-token */ "./entities/access-token.ts");
|
|
16587
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./preview-api-key */ "./entities/preview-api-key.ts");
|
|
16588
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./release */ "./entities/release.ts");
|
|
16589
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./release-action */ "./entities/release-action.ts");
|
|
16590
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./role */ "./entities/role.ts");
|
|
16591
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./scheduled-action */ "./entities/scheduled-action.ts");
|
|
16592
|
+
/* harmony import */ var _semantic_duplicates__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./semantic-duplicates */ "./entities/semantic-duplicates.ts");
|
|
16593
|
+
/* harmony import */ var _semantic_recommendations__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./semantic-recommendations */ "./entities/semantic-recommendations.ts");
|
|
16594
|
+
/* harmony import */ var _semantic_reference_suggestions__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./semantic-reference-suggestions */ "./entities/semantic-reference-suggestions.ts");
|
|
16595
|
+
/* harmony import */ var _semantic_search__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./semantic-search */ "./entities/semantic-search.ts");
|
|
16596
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./snapshot */ "./entities/snapshot.ts");
|
|
16597
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./space */ "./entities/space.ts");
|
|
16598
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./space-member */ "./entities/space-member.ts");
|
|
16599
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./space-membership */ "./entities/space-membership.ts");
|
|
16600
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./tag */ "./entities/tag.ts");
|
|
16601
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./task */ "./entities/task.ts");
|
|
16602
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./team */ "./entities/team.ts");
|
|
16603
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./team-membership */ "./entities/team-membership.ts");
|
|
16604
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./team-space-membership */ "./entities/team-space-membership.ts");
|
|
16605
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./ui-config */ "./entities/ui-config.ts");
|
|
16606
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./upload */ "./entities/upload.ts");
|
|
16607
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./usage */ "./entities/usage.ts");
|
|
16608
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./user */ "./entities/user.ts");
|
|
16609
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./user-ui-config */ "./entities/user-ui-config.ts");
|
|
16610
|
+
/* harmony import */ var _vectorization_status__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./vectorization-status */ "./entities/vectorization-status.ts");
|
|
16611
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./webhook */ "./entities/webhook.ts");
|
|
16612
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./workflow-definition */ "./entities/workflow-definition.ts");
|
|
16613
|
+
/* harmony import */ var _concept__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./concept */ "./entities/concept.ts");
|
|
16614
|
+
/* harmony import */ var _concept_scheme__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./concept-scheme */ "./entities/concept-scheme.ts");
|
|
16615
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./resource-provider */ "./entities/resource-provider.ts");
|
|
16616
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./resource-type */ "./entities/resource-type.ts");
|
|
16617
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
|
|
16618
|
+
|
|
16619
|
+
|
|
16620
|
+
|
|
16621
|
+
|
|
16622
|
+
|
|
16623
|
+
|
|
16624
|
+
|
|
15920
16625
|
|
|
15921
16626
|
|
|
15922
16627
|
|
|
@@ -15982,66 +16687,73 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15982
16687
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
15983
16688
|
aiAction: _ai_action__WEBPACK_IMPORTED_MODULE_0__,
|
|
15984
16689
|
aiActionInvocation: _ai_action_invocation__WEBPACK_IMPORTED_MODULE_1__,
|
|
15985
|
-
|
|
15986
|
-
|
|
15987
|
-
|
|
15988
|
-
|
|
15989
|
-
|
|
15990
|
-
|
|
15991
|
-
|
|
15992
|
-
|
|
15993
|
-
|
|
15994
|
-
|
|
15995
|
-
|
|
15996
|
-
|
|
15997
|
-
|
|
15998
|
-
|
|
15999
|
-
|
|
16000
|
-
|
|
16001
|
-
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
|
|
16006
|
-
|
|
16007
|
-
|
|
16008
|
-
|
|
16009
|
-
|
|
16010
|
-
|
|
16011
|
-
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
|
|
16019
|
-
|
|
16020
|
-
|
|
16021
|
-
|
|
16022
|
-
|
|
16023
|
-
|
|
16024
|
-
|
|
16025
|
-
|
|
16026
|
-
|
|
16027
|
-
|
|
16028
|
-
|
|
16029
|
-
|
|
16030
|
-
|
|
16031
|
-
|
|
16032
|
-
|
|
16033
|
-
|
|
16034
|
-
|
|
16035
|
-
|
|
16036
|
-
|
|
16037
|
-
|
|
16038
|
-
|
|
16039
|
-
|
|
16040
|
-
|
|
16041
|
-
|
|
16042
|
-
|
|
16043
|
-
|
|
16044
|
-
|
|
16690
|
+
agent: _agent__WEBPACK_IMPORTED_MODULE_2__,
|
|
16691
|
+
agentRun: _agent_run__WEBPACK_IMPORTED_MODULE_3__,
|
|
16692
|
+
accessToken: _access_token__WEBPACK_IMPORTED_MODULE_37__,
|
|
16693
|
+
appAction: _app_action__WEBPACK_IMPORTED_MODULE_5__,
|
|
16694
|
+
appActionCall: _app_action_call__WEBPACK_IMPORTED_MODULE_6__,
|
|
16695
|
+
appBundle: _app_bundle__WEBPACK_IMPORTED_MODULE_7__,
|
|
16696
|
+
apiKey: _api_key__WEBPACK_IMPORTED_MODULE_4__,
|
|
16697
|
+
appDefinition: _app_definition__WEBPACK_IMPORTED_MODULE_8__,
|
|
16698
|
+
appInstallation: _app_installation__WEBPACK_IMPORTED_MODULE_10__,
|
|
16699
|
+
appUpload: _app_upload__WEBPACK_IMPORTED_MODULE_16__,
|
|
16700
|
+
appDetails: _app_details__WEBPACK_IMPORTED_MODULE_9__,
|
|
16701
|
+
appSignedRequest: _app_signed_request__WEBPACK_IMPORTED_MODULE_11__,
|
|
16702
|
+
appSigningSecret: _app_signing_secret__WEBPACK_IMPORTED_MODULE_12__,
|
|
16703
|
+
appEventSubscription: _app_event_subscription__WEBPACK_IMPORTED_MODULE_13__,
|
|
16704
|
+
appKey: _app_key__WEBPACK_IMPORTED_MODULE_14__,
|
|
16705
|
+
appAccessToken: _app_access_token__WEBPACK_IMPORTED_MODULE_15__,
|
|
16706
|
+
asset: _asset__WEBPACK_IMPORTED_MODULE_17__,
|
|
16707
|
+
assetKey: _asset_key__WEBPACK_IMPORTED_MODULE_18__,
|
|
16708
|
+
bulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_19__,
|
|
16709
|
+
comment: _comment__WEBPACK_IMPORTED_MODULE_20__,
|
|
16710
|
+
concept: _concept__WEBPACK_IMPORTED_MODULE_64__,
|
|
16711
|
+
conceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_65__,
|
|
16712
|
+
contentType: _content_type__WEBPACK_IMPORTED_MODULE_21__,
|
|
16713
|
+
editorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_22__,
|
|
16714
|
+
entry: _entry__WEBPACK_IMPORTED_MODULE_23__,
|
|
16715
|
+
environment: _environment__WEBPACK_IMPORTED_MODULE_24__,
|
|
16716
|
+
environmentAlias: _environment_alias__WEBPACK_IMPORTED_MODULE_25__,
|
|
16717
|
+
environmentTemplate: _environment_template__WEBPACK_IMPORTED_MODULE_26__,
|
|
16718
|
+
environmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_27__,
|
|
16719
|
+
extension: _extension__WEBPACK_IMPORTED_MODULE_28__,
|
|
16720
|
+
func: _function__WEBPACK_IMPORTED_MODULE_29__,
|
|
16721
|
+
functionLog: _function_log__WEBPACK_IMPORTED_MODULE_30__,
|
|
16722
|
+
locale: _locale__WEBPACK_IMPORTED_MODULE_31__,
|
|
16723
|
+
oauthApplication: _oauth_application__WEBPACK_IMPORTED_MODULE_32__,
|
|
16724
|
+
organization: _organization__WEBPACK_IMPORTED_MODULE_33__,
|
|
16725
|
+
organizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_34__,
|
|
16726
|
+
organizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_35__,
|
|
16727
|
+
personalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_36__,
|
|
16728
|
+
previewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_38__,
|
|
16729
|
+
release: _release__WEBPACK_IMPORTED_MODULE_39__,
|
|
16730
|
+
releaseAction: _release_action__WEBPACK_IMPORTED_MODULE_40__,
|
|
16731
|
+
resourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_66__,
|
|
16732
|
+
resourceType: _resource_type__WEBPACK_IMPORTED_MODULE_67__,
|
|
16733
|
+
resource: _resource__WEBPACK_IMPORTED_MODULE_68__,
|
|
16734
|
+
role: _role__WEBPACK_IMPORTED_MODULE_41__,
|
|
16735
|
+
scheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_42__,
|
|
16736
|
+
semanticDuplicates: _semantic_duplicates__WEBPACK_IMPORTED_MODULE_43__,
|
|
16737
|
+
semanticRecommendations: _semantic_recommendations__WEBPACK_IMPORTED_MODULE_44__,
|
|
16738
|
+
semanticReferenceSuggestions: _semantic_reference_suggestions__WEBPACK_IMPORTED_MODULE_45__,
|
|
16739
|
+
semanticSearch: _semantic_search__WEBPACK_IMPORTED_MODULE_46__,
|
|
16740
|
+
snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_47__,
|
|
16741
|
+
space: _space__WEBPACK_IMPORTED_MODULE_48__,
|
|
16742
|
+
spaceMember: _space_member__WEBPACK_IMPORTED_MODULE_49__,
|
|
16743
|
+
spaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_50__,
|
|
16744
|
+
tag: _tag__WEBPACK_IMPORTED_MODULE_51__,
|
|
16745
|
+
task: _task__WEBPACK_IMPORTED_MODULE_52__,
|
|
16746
|
+
team: _team__WEBPACK_IMPORTED_MODULE_53__,
|
|
16747
|
+
teamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_54__,
|
|
16748
|
+
teamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_55__,
|
|
16749
|
+
uiConfig: _ui_config__WEBPACK_IMPORTED_MODULE_56__,
|
|
16750
|
+
upload: _upload__WEBPACK_IMPORTED_MODULE_57__,
|
|
16751
|
+
usage: _usage__WEBPACK_IMPORTED_MODULE_58__,
|
|
16752
|
+
user: _user__WEBPACK_IMPORTED_MODULE_59__,
|
|
16753
|
+
userUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_60__,
|
|
16754
|
+
vectorizationStatus: _vectorization_status__WEBPACK_IMPORTED_MODULE_61__,
|
|
16755
|
+
webhook: _webhook__WEBPACK_IMPORTED_MODULE_62__,
|
|
16756
|
+
workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_63__
|
|
16045
16757
|
});
|
|
16046
16758
|
|
|
16047
16759
|
/***/ }),
|
|
@@ -17189,6 +17901,94 @@ const wrapScheduledActionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_
|
|
|
17189
17901
|
|
|
17190
17902
|
/***/ }),
|
|
17191
17903
|
|
|
17904
|
+
/***/ "./entities/semantic-duplicates.ts":
|
|
17905
|
+
/*!*****************************************!*\
|
|
17906
|
+
!*** ./entities/semantic-duplicates.ts ***!
|
|
17907
|
+
\*****************************************/
|
|
17908
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17909
|
+
|
|
17910
|
+
"use strict";
|
|
17911
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17912
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17913
|
+
/* harmony export */ wrapSemanticDuplicates: () => (/* binding */ wrapSemanticDuplicates)
|
|
17914
|
+
/* harmony export */ });
|
|
17915
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
17916
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
17917
|
+
|
|
17918
|
+
|
|
17919
|
+
function wrapSemanticDuplicates(_makeRequest, data) {
|
|
17920
|
+
const result = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
17921
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(result);
|
|
17922
|
+
}
|
|
17923
|
+
|
|
17924
|
+
/***/ }),
|
|
17925
|
+
|
|
17926
|
+
/***/ "./entities/semantic-recommendations.ts":
|
|
17927
|
+
/*!**********************************************!*\
|
|
17928
|
+
!*** ./entities/semantic-recommendations.ts ***!
|
|
17929
|
+
\**********************************************/
|
|
17930
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17931
|
+
|
|
17932
|
+
"use strict";
|
|
17933
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17934
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17935
|
+
/* harmony export */ wrapSemanticRecommendations: () => (/* binding */ wrapSemanticRecommendations)
|
|
17936
|
+
/* harmony export */ });
|
|
17937
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
17938
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
17939
|
+
|
|
17940
|
+
|
|
17941
|
+
function wrapSemanticRecommendations(_makeRequest, data) {
|
|
17942
|
+
const result = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
17943
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(result);
|
|
17944
|
+
}
|
|
17945
|
+
|
|
17946
|
+
/***/ }),
|
|
17947
|
+
|
|
17948
|
+
/***/ "./entities/semantic-reference-suggestions.ts":
|
|
17949
|
+
/*!****************************************************!*\
|
|
17950
|
+
!*** ./entities/semantic-reference-suggestions.ts ***!
|
|
17951
|
+
\****************************************************/
|
|
17952
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17953
|
+
|
|
17954
|
+
"use strict";
|
|
17955
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17956
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17957
|
+
/* harmony export */ wrapSemanticReferenceSuggestions: () => (/* binding */ wrapSemanticReferenceSuggestions)
|
|
17958
|
+
/* harmony export */ });
|
|
17959
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
17960
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
17961
|
+
|
|
17962
|
+
|
|
17963
|
+
function wrapSemanticReferenceSuggestions(_makeRequest, data) {
|
|
17964
|
+
const result = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
17965
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(result);
|
|
17966
|
+
}
|
|
17967
|
+
|
|
17968
|
+
/***/ }),
|
|
17969
|
+
|
|
17970
|
+
/***/ "./entities/semantic-search.ts":
|
|
17971
|
+
/*!*************************************!*\
|
|
17972
|
+
!*** ./entities/semantic-search.ts ***!
|
|
17973
|
+
\*************************************/
|
|
17974
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17975
|
+
|
|
17976
|
+
"use strict";
|
|
17977
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17978
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17979
|
+
/* harmony export */ wrapSemanticSearch: () => (/* binding */ wrapSemanticSearch)
|
|
17980
|
+
/* harmony export */ });
|
|
17981
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
17982
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
17983
|
+
|
|
17984
|
+
|
|
17985
|
+
function wrapSemanticSearch(_makeRequest, data) {
|
|
17986
|
+
const result = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
17987
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(result);
|
|
17988
|
+
}
|
|
17989
|
+
|
|
17990
|
+
/***/ }),
|
|
17991
|
+
|
|
17192
17992
|
/***/ "./entities/snapshot.ts":
|
|
17193
17993
|
/*!******************************!*\
|
|
17194
17994
|
!*** ./entities/snapshot.ts ***!
|
|
@@ -17947,6 +18747,37 @@ const wrapUserCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_3__.wrapCol
|
|
|
17947
18747
|
|
|
17948
18748
|
/***/ }),
|
|
17949
18749
|
|
|
18750
|
+
/***/ "./entities/vectorization-status.ts":
|
|
18751
|
+
/*!******************************************!*\
|
|
18752
|
+
!*** ./entities/vectorization-status.ts ***!
|
|
18753
|
+
\******************************************/
|
|
18754
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
18755
|
+
|
|
18756
|
+
"use strict";
|
|
18757
|
+
__webpack_require__.r(__webpack_exports__);
|
|
18758
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18759
|
+
/* harmony export */ EmbeddingSetStatus: () => (/* binding */ EmbeddingSetStatus),
|
|
18760
|
+
/* harmony export */ wrapVectorizationStatus: () => (/* binding */ wrapVectorizationStatus)
|
|
18761
|
+
/* harmony export */ });
|
|
18762
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
18763
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
18764
|
+
|
|
18765
|
+
|
|
18766
|
+
let EmbeddingSetStatus = /*#__PURE__*/function (EmbeddingSetStatus) {
|
|
18767
|
+
EmbeddingSetStatus["ACTIVE"] = "ACTIVE";
|
|
18768
|
+
EmbeddingSetStatus["PENDING"] = "PENDING";
|
|
18769
|
+
EmbeddingSetStatus["ERROR"] = "ERROR";
|
|
18770
|
+
EmbeddingSetStatus["DISABLED"] = "DISABLED";
|
|
18771
|
+
EmbeddingSetStatus["DELETING"] = "DELETING";
|
|
18772
|
+
return EmbeddingSetStatus;
|
|
18773
|
+
}({});
|
|
18774
|
+
function wrapVectorizationStatus(_makeRequest, data) {
|
|
18775
|
+
const vectorizationStatus = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
18776
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(vectorizationStatus);
|
|
18777
|
+
}
|
|
18778
|
+
|
|
18779
|
+
/***/ }),
|
|
18780
|
+
|
|
17950
18781
|
/***/ "./entities/webhook.ts":
|
|
17951
18782
|
/*!*****************************!*\
|
|
17952
18783
|
!*** ./entities/webhook.ts ***!
|
|
@@ -18618,6 +19449,15 @@ const createPlainClient = (makeRequest, defaults) => {
|
|
|
18618
19449
|
aiActionInvocation: {
|
|
18619
19450
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AiActionInvocation', 'get')
|
|
18620
19451
|
},
|
|
19452
|
+
agent: {
|
|
19453
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Agent', 'get'),
|
|
19454
|
+
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Agent', 'getMany'),
|
|
19455
|
+
generate: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Agent', 'generate')
|
|
19456
|
+
},
|
|
19457
|
+
agentRun: {
|
|
19458
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AgentRun', 'get'),
|
|
19459
|
+
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AgentRun', 'getMany')
|
|
19460
|
+
},
|
|
18621
19461
|
appAction: {
|
|
18622
19462
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AppAction', 'get'),
|
|
18623
19463
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AppAction', 'getMany'),
|
|
@@ -18791,6 +19631,7 @@ const createPlainClient = (makeRequest, defaults) => {
|
|
|
18791
19631
|
},
|
|
18792
19632
|
entry: {
|
|
18793
19633
|
getPublished: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'getPublished'),
|
|
19634
|
+
getPublishedWithCursor: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'getPublishedWithCursor'),
|
|
18794
19635
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'getMany'),
|
|
18795
19636
|
getManyWithCursor: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'getManyWithCursor'),
|
|
18796
19637
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'get'),
|
|
@@ -18807,6 +19648,7 @@ const createPlainClient = (makeRequest, defaults) => {
|
|
|
18807
19648
|
},
|
|
18808
19649
|
asset: {
|
|
18809
19650
|
getPublished: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'getPublished'),
|
|
19651
|
+
getPublishedWithCursor: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'getPublishedWithCursor'),
|
|
18810
19652
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'getMany'),
|
|
18811
19653
|
getManyWithCursor: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'getManyWithCursor'),
|
|
18812
19654
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'get'),
|
|
@@ -19055,6 +19897,18 @@ const createPlainClient = (makeRequest, defaults) => {
|
|
|
19055
19897
|
delete: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'OAuthApplication', 'delete'),
|
|
19056
19898
|
create: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'OAuthApplication', 'create')
|
|
19057
19899
|
},
|
|
19900
|
+
semanticDuplicates: {
|
|
19901
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SemanticDuplicates', 'get')
|
|
19902
|
+
},
|
|
19903
|
+
semanticRecommendations: {
|
|
19904
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SemanticRecommendations', 'get')
|
|
19905
|
+
},
|
|
19906
|
+
semanticReferenceSuggestions: {
|
|
19907
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SemanticReferenceSuggestions', 'get')
|
|
19908
|
+
},
|
|
19909
|
+
semanticSearch: {
|
|
19910
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SemanticSearch', 'get')
|
|
19911
|
+
},
|
|
19058
19912
|
spaceMember: {
|
|
19059
19913
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SpaceMember', 'get'),
|
|
19060
19914
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SpaceMember', 'getMany')
|
|
@@ -19102,6 +19956,10 @@ const createPlainClient = (makeRequest, defaults) => {
|
|
|
19102
19956
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'UserUIConfig', 'get'),
|
|
19103
19957
|
update: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'UserUIConfig', 'update')
|
|
19104
19958
|
},
|
|
19959
|
+
vectorizationStatus: {
|
|
19960
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'VectorizationStatus', 'get'),
|
|
19961
|
+
update: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'VectorizationStatus', 'update')
|
|
19962
|
+
},
|
|
19105
19963
|
workflowDefinition: {
|
|
19106
19964
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'WorkflowDefinition', 'get'),
|
|
19107
19965
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'WorkflowDefinition', 'getMany'),
|