contentful-management 11.64.0 → 11.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contentful-management.browser.js +600 -80
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +592 -80
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/adapters/REST/endpoints/index.js +10 -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 +183 -0
- package/dist/es-modules/create-organization-api.js +51 -0
- package/dist/es-modules/entities/index.js +10 -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/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 +18 -0
- package/dist/typings/adapters/REST/endpoints/index.d.ts +10 -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 +71 -0
- package/dist/typings/create-environment-api.d.ts +103 -0
- package/dist/typings/create-organization-api.d.ts +28 -0
- package/dist/typings/entities/index.d.ts +10 -0
- package/dist/typings/entities/resource.d.ts +2 -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 +5 -0
- package/dist/typings/plain/common-types.d.ts +12 -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
|
@@ -2724,25 +2724,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2724
2724
|
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./resource-type */ "./adapters/REST/endpoints/resource-type.ts");
|
|
2725
2725
|
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./role */ "./adapters/REST/endpoints/role.ts");
|
|
2726
2726
|
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./scheduled-action */ "./adapters/REST/endpoints/scheduled-action.ts");
|
|
2727
|
-
/* harmony import */ var
|
|
2728
|
-
/* harmony import */ var
|
|
2729
|
-
/* harmony import */ var
|
|
2730
|
-
/* harmony import */ var
|
|
2731
|
-
/* harmony import */ var
|
|
2732
|
-
/* harmony import */ var
|
|
2733
|
-
/* harmony import */ var
|
|
2734
|
-
/* harmony import */ var
|
|
2735
|
-
/* harmony import */ var
|
|
2736
|
-
/* harmony import */ var
|
|
2737
|
-
/* harmony import */ var
|
|
2738
|
-
/* harmony import */ var
|
|
2739
|
-
/* harmony import */ var
|
|
2740
|
-
/* harmony import */ var
|
|
2741
|
-
/* harmony import */ var
|
|
2742
|
-
/* harmony import */ var
|
|
2743
|
-
/* harmony import */ var
|
|
2744
|
-
/* harmony import */ var
|
|
2745
|
-
/* harmony import */ var
|
|
2727
|
+
/* harmony import */ var _semantic_duplicates__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./semantic-duplicates */ "./adapters/REST/endpoints/semantic-duplicates.ts");
|
|
2728
|
+
/* harmony import */ var _semantic_recommendations__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./semantic-recommendations */ "./adapters/REST/endpoints/semantic-recommendations.ts");
|
|
2729
|
+
/* harmony import */ var _semantic_reference_suggestions__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./semantic-reference-suggestions */ "./adapters/REST/endpoints/semantic-reference-suggestions.ts");
|
|
2730
|
+
/* harmony import */ var _semantic_search__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./semantic-search */ "./adapters/REST/endpoints/semantic-search.ts");
|
|
2731
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./snapshot */ "./adapters/REST/endpoints/snapshot.ts");
|
|
2732
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./space */ "./adapters/REST/endpoints/space.ts");
|
|
2733
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./space-member */ "./adapters/REST/endpoints/space-member.ts");
|
|
2734
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./space-membership */ "./adapters/REST/endpoints/space-membership.ts");
|
|
2735
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./tag */ "./adapters/REST/endpoints/tag.ts");
|
|
2736
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./task */ "./adapters/REST/endpoints/task.ts");
|
|
2737
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./team */ "./adapters/REST/endpoints/team.ts");
|
|
2738
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./team-membership */ "./adapters/REST/endpoints/team-membership.ts");
|
|
2739
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./team-space-membership */ "./adapters/REST/endpoints/team-space-membership.ts");
|
|
2740
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./ui-config */ "./adapters/REST/endpoints/ui-config.ts");
|
|
2741
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./upload */ "./adapters/REST/endpoints/upload.ts");
|
|
2742
|
+
/* harmony import */ var _upload_credentials__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./upload-credentials */ "./adapters/REST/endpoints/upload-credentials.ts");
|
|
2743
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./usage */ "./adapters/REST/endpoints/usage.ts");
|
|
2744
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./user */ "./adapters/REST/endpoints/user.ts");
|
|
2745
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./user-ui-config */ "./adapters/REST/endpoints/user-ui-config.ts");
|
|
2746
|
+
/* harmony import */ var _vectorization_status__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./vectorization-status */ "./adapters/REST/endpoints/vectorization-status.ts");
|
|
2747
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./webhook */ "./adapters/REST/endpoints/webhook.ts");
|
|
2748
|
+
/* harmony import */ var _workflow__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./workflow */ "./adapters/REST/endpoints/workflow.ts");
|
|
2749
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./workflow-definition */ "./adapters/REST/endpoints/workflow-definition.ts");
|
|
2750
|
+
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
|
|
2746
2756
|
|
|
2747
2757
|
|
|
2748
2758
|
|
|
@@ -2861,25 +2871,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2861
2871
|
ResourceType: _resource_type__WEBPACK_IMPORTED_MODULE_46__,
|
|
2862
2872
|
Role: _role__WEBPACK_IMPORTED_MODULE_47__,
|
|
2863
2873
|
ScheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_48__,
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2874
|
+
SemanticDuplicates: _semantic_duplicates__WEBPACK_IMPORTED_MODULE_49__,
|
|
2875
|
+
SemanticRecommendations: _semantic_recommendations__WEBPACK_IMPORTED_MODULE_50__,
|
|
2876
|
+
SemanticReferenceSuggestions: _semantic_reference_suggestions__WEBPACK_IMPORTED_MODULE_51__,
|
|
2877
|
+
SemanticSearch: _semantic_search__WEBPACK_IMPORTED_MODULE_52__,
|
|
2878
|
+
Snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_53__,
|
|
2879
|
+
Space: _space__WEBPACK_IMPORTED_MODULE_54__,
|
|
2880
|
+
SpaceMember: _space_member__WEBPACK_IMPORTED_MODULE_55__,
|
|
2881
|
+
SpaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_56__,
|
|
2882
|
+
Tag: _tag__WEBPACK_IMPORTED_MODULE_57__,
|
|
2883
|
+
Task: _task__WEBPACK_IMPORTED_MODULE_58__,
|
|
2884
|
+
Team: _team__WEBPACK_IMPORTED_MODULE_59__,
|
|
2885
|
+
TeamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_60__,
|
|
2886
|
+
TeamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_61__,
|
|
2887
|
+
UIConfig: _ui_config__WEBPACK_IMPORTED_MODULE_62__,
|
|
2888
|
+
Upload: _upload__WEBPACK_IMPORTED_MODULE_63__,
|
|
2889
|
+
UploadCredential: _upload_credentials__WEBPACK_IMPORTED_MODULE_64__,
|
|
2890
|
+
Usage: _usage__WEBPACK_IMPORTED_MODULE_65__,
|
|
2891
|
+
User: _user__WEBPACK_IMPORTED_MODULE_66__,
|
|
2892
|
+
UserUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_67__,
|
|
2893
|
+
VectorizationStatus: _vectorization_status__WEBPACK_IMPORTED_MODULE_68__,
|
|
2894
|
+
Webhook: _webhook__WEBPACK_IMPORTED_MODULE_69__,
|
|
2895
|
+
WorkflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_71__,
|
|
2896
|
+
Workflow: _workflow__WEBPACK_IMPORTED_MODULE_70__,
|
|
2897
|
+
WorkflowsChangelog: _workflows_changelog__WEBPACK_IMPORTED_MODULE_72__
|
|
2883
2898
|
});
|
|
2884
2899
|
|
|
2885
2900
|
/***/ }),
|
|
@@ -4091,6 +4106,90 @@ var update = function update(http, params, data) {
|
|
|
4091
4106
|
|
|
4092
4107
|
/***/ }),
|
|
4093
4108
|
|
|
4109
|
+
/***/ "./adapters/REST/endpoints/semantic-duplicates.ts":
|
|
4110
|
+
/*!********************************************************!*\
|
|
4111
|
+
!*** ./adapters/REST/endpoints/semantic-duplicates.ts ***!
|
|
4112
|
+
\********************************************************/
|
|
4113
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4114
|
+
|
|
4115
|
+
"use strict";
|
|
4116
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4117
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4118
|
+
/* harmony export */ get: function() { return /* binding */ get; }
|
|
4119
|
+
/* harmony export */ });
|
|
4120
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
4121
|
+
|
|
4122
|
+
var get = function get(http, params, data, headers) {
|
|
4123
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/semantic/duplicates"), data, {
|
|
4124
|
+
headers: headers
|
|
4125
|
+
});
|
|
4126
|
+
};
|
|
4127
|
+
|
|
4128
|
+
/***/ }),
|
|
4129
|
+
|
|
4130
|
+
/***/ "./adapters/REST/endpoints/semantic-recommendations.ts":
|
|
4131
|
+
/*!*************************************************************!*\
|
|
4132
|
+
!*** ./adapters/REST/endpoints/semantic-recommendations.ts ***!
|
|
4133
|
+
\*************************************************************/
|
|
4134
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4135
|
+
|
|
4136
|
+
"use strict";
|
|
4137
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4138
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4139
|
+
/* harmony export */ get: function() { return /* binding */ get; }
|
|
4140
|
+
/* harmony export */ });
|
|
4141
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
4142
|
+
|
|
4143
|
+
var get = function get(http, params, data, headers) {
|
|
4144
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/semantic/recommendations"), data, {
|
|
4145
|
+
headers: headers
|
|
4146
|
+
});
|
|
4147
|
+
};
|
|
4148
|
+
|
|
4149
|
+
/***/ }),
|
|
4150
|
+
|
|
4151
|
+
/***/ "./adapters/REST/endpoints/semantic-reference-suggestions.ts":
|
|
4152
|
+
/*!*******************************************************************!*\
|
|
4153
|
+
!*** ./adapters/REST/endpoints/semantic-reference-suggestions.ts ***!
|
|
4154
|
+
\*******************************************************************/
|
|
4155
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4156
|
+
|
|
4157
|
+
"use strict";
|
|
4158
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4159
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4160
|
+
/* harmony export */ get: function() { return /* binding */ get; }
|
|
4161
|
+
/* harmony export */ });
|
|
4162
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
4163
|
+
|
|
4164
|
+
var get = function get(http, params, data, headers) {
|
|
4165
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/semantic/reference-suggestions"), data, {
|
|
4166
|
+
headers: headers
|
|
4167
|
+
});
|
|
4168
|
+
};
|
|
4169
|
+
|
|
4170
|
+
/***/ }),
|
|
4171
|
+
|
|
4172
|
+
/***/ "./adapters/REST/endpoints/semantic-search.ts":
|
|
4173
|
+
/*!****************************************************!*\
|
|
4174
|
+
!*** ./adapters/REST/endpoints/semantic-search.ts ***!
|
|
4175
|
+
\****************************************************/
|
|
4176
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4177
|
+
|
|
4178
|
+
"use strict";
|
|
4179
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4180
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4181
|
+
/* harmony export */ get: function() { return /* binding */ get; }
|
|
4182
|
+
/* harmony export */ });
|
|
4183
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
4184
|
+
|
|
4185
|
+
var get = function get(http, params, data, headers) {
|
|
4186
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/semantic/search"), data, {
|
|
4187
|
+
headers: headers
|
|
4188
|
+
});
|
|
4189
|
+
};
|
|
4190
|
+
|
|
4191
|
+
/***/ }),
|
|
4192
|
+
|
|
4094
4193
|
/***/ "./adapters/REST/endpoints/snapshot.ts":
|
|
4095
4194
|
/*!*********************************************!*\
|
|
4096
4195
|
!*** ./adapters/REST/endpoints/snapshot.ts ***!
|
|
@@ -4930,6 +5029,33 @@ function normalizeSpaceId(query) {
|
|
|
4930
5029
|
|
|
4931
5030
|
/***/ }),
|
|
4932
5031
|
|
|
5032
|
+
/***/ "./adapters/REST/endpoints/vectorization-status.ts":
|
|
5033
|
+
/*!*********************************************************!*\
|
|
5034
|
+
!*** ./adapters/REST/endpoints/vectorization-status.ts ***!
|
|
5035
|
+
\*********************************************************/
|
|
5036
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5037
|
+
|
|
5038
|
+
"use strict";
|
|
5039
|
+
__webpack_require__.r(__webpack_exports__);
|
|
5040
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5041
|
+
/* harmony export */ get: function() { return /* binding */ get; },
|
|
5042
|
+
/* harmony export */ update: function() { return /* binding */ update; }
|
|
5043
|
+
/* harmony export */ });
|
|
5044
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
5045
|
+
|
|
5046
|
+
var get = function get(http, params, headers) {
|
|
5047
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, "/organizations/".concat(params.organizationId, "/semantic/vectorization-status"), {
|
|
5048
|
+
headers: headers
|
|
5049
|
+
});
|
|
5050
|
+
};
|
|
5051
|
+
var update = function update(http, params, data, headers) {
|
|
5052
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, "/organizations/".concat(params.organizationId, "/semantic/vectorization-status"), data, {
|
|
5053
|
+
headers: headers
|
|
5054
|
+
});
|
|
5055
|
+
};
|
|
5056
|
+
|
|
5057
|
+
/***/ }),
|
|
5058
|
+
|
|
4933
5059
|
/***/ "./adapters/REST/endpoints/webhook.ts":
|
|
4934
5060
|
/*!********************************************!*\
|
|
4935
5061
|
!*** ./adapters/REST/endpoints/webhook.ts ***!
|
|
@@ -7836,6 +7962,10 @@ function createEnvironmentApi(makeRequest) {
|
|
|
7836
7962
|
var wrapAppAccessToken = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].appAccessToken.wrapAppAccessToken;
|
|
7837
7963
|
var wrapResourceTypesForEnvironmentCollection = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].resourceType.wrapResourceTypesForEnvironmentCollection;
|
|
7838
7964
|
var wrapResourceCollection = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].resource.wrapResourceCollection;
|
|
7965
|
+
var wrapSemanticDuplicates = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].semanticDuplicates.wrapSemanticDuplicates;
|
|
7966
|
+
var wrapSemanticRecommendations = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].semanticRecommendations.wrapSemanticRecommendations;
|
|
7967
|
+
var wrapSemanticReferenceSuggestions = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].semanticReferenceSuggestions.wrapSemanticReferenceSuggestions;
|
|
7968
|
+
var wrapSemanticSearch = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].semanticSearch.wrapSemanticSearch;
|
|
7839
7969
|
return {
|
|
7840
7970
|
/**
|
|
7841
7971
|
* Deletes the environment
|
|
@@ -8613,6 +8743,42 @@ function createEnvironmentApi(makeRequest) {
|
|
|
8613
8743
|
return wrapEntryCollection(makeRequest, data);
|
|
8614
8744
|
});
|
|
8615
8745
|
},
|
|
8746
|
+
/**
|
|
8747
|
+
* Gets a collection of published Entries with cursor based pagination
|
|
8748
|
+
* @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.
|
|
8749
|
+
* @return Promise for a collection of published Entries
|
|
8750
|
+
* @example ```javascript
|
|
8751
|
+
* const contentful = require('contentful-management')
|
|
8752
|
+
*
|
|
8753
|
+
* const client = contentful.createClient({
|
|
8754
|
+
* accessToken: '<content_management_api_key>'
|
|
8755
|
+
* })
|
|
8756
|
+
*
|
|
8757
|
+
* client.getSpace('<space_id>')
|
|
8758
|
+
* .then((space) => space.getEnvironment('<environment-id>'))
|
|
8759
|
+
* .then((environment) => environment.getPublishedEntriesWithCursor())
|
|
8760
|
+
* .then((response) => console.log(response.items))
|
|
8761
|
+
* .catch(console.error)
|
|
8762
|
+
* ```
|
|
8763
|
+
*/
|
|
8764
|
+
getPublishedEntriesWithCursor: function getPublishedEntriesWithCursor() {
|
|
8765
|
+
var query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
8766
|
+
var raw = this.toPlainObject();
|
|
8767
|
+
var normalizedQueryParams = (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.normalizeCursorPaginationParameters)(query);
|
|
8768
|
+
return makeRequest({
|
|
8769
|
+
entityType: 'Entry',
|
|
8770
|
+
action: 'getPublished',
|
|
8771
|
+
params: {
|
|
8772
|
+
spaceId: raw.sys.space.sys.id,
|
|
8773
|
+
environmentId: raw.sys.id,
|
|
8774
|
+
query: (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createRequestConfig)({
|
|
8775
|
+
query: normalizedQueryParams
|
|
8776
|
+
}).params
|
|
8777
|
+
}
|
|
8778
|
+
}).then(function (data) {
|
|
8779
|
+
return wrapEntryTypeCursorPaginatedCollection(makeRequest, (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.normalizeCursorPaginationResponse)(data));
|
|
8780
|
+
});
|
|
8781
|
+
},
|
|
8616
8782
|
/**
|
|
8617
8783
|
* Creates a Entry
|
|
8618
8784
|
* @param contentTypeId - The Content Type ID of the newly created Entry
|
|
@@ -8882,6 +9048,42 @@ function createEnvironmentApi(makeRequest) {
|
|
|
8882
9048
|
return wrapAssetCollection(makeRequest, data);
|
|
8883
9049
|
});
|
|
8884
9050
|
},
|
|
9051
|
+
/**
|
|
9052
|
+
* Gets a collection of published Assets with cursor based pagination
|
|
9053
|
+
* @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.
|
|
9054
|
+
* @return Promise for a collection of published Assets
|
|
9055
|
+
* @example ```javascript
|
|
9056
|
+
* const contentful = require('contentful-management')
|
|
9057
|
+
*
|
|
9058
|
+
* const client = contentful.createClient({
|
|
9059
|
+
* accessToken: '<content_management_api_key>'
|
|
9060
|
+
* })
|
|
9061
|
+
*
|
|
9062
|
+
* client.getSpace('<space_id>')
|
|
9063
|
+
* .then((space) => space.getEnvironment('<environment-id>'))
|
|
9064
|
+
* .then((environment) => environment.getPublishedAssetsWithCursor())
|
|
9065
|
+
* .then((response) => console.log(response.items))
|
|
9066
|
+
* .catch(console.error)
|
|
9067
|
+
* ```
|
|
9068
|
+
*/
|
|
9069
|
+
getPublishedAssetsWithCursor: function getPublishedAssetsWithCursor() {
|
|
9070
|
+
var query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
9071
|
+
var raw = this.toPlainObject();
|
|
9072
|
+
var normalizedQueryParams = (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.normalizeCursorPaginationParameters)(query);
|
|
9073
|
+
return makeRequest({
|
|
9074
|
+
entityType: 'Asset',
|
|
9075
|
+
action: 'getPublished',
|
|
9076
|
+
params: {
|
|
9077
|
+
spaceId: raw.sys.space.sys.id,
|
|
9078
|
+
environmentId: raw.sys.id,
|
|
9079
|
+
query: (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createRequestConfig)({
|
|
9080
|
+
query: normalizedQueryParams
|
|
9081
|
+
}).params
|
|
9082
|
+
}
|
|
9083
|
+
}).then(function (data) {
|
|
9084
|
+
return wrapAssetTypeCursorPaginatedCollection(makeRequest, (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.normalizeCursorPaginationResponse)(data));
|
|
9085
|
+
});
|
|
9086
|
+
},
|
|
8885
9087
|
/**
|
|
8886
9088
|
* Creates a Asset. After creation, call asset.processForLocale or asset.processForAllLocales to start asset processing.
|
|
8887
9089
|
* @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.
|
|
@@ -10594,6 +10796,119 @@ function createEnvironmentApi(makeRequest) {
|
|
|
10594
10796
|
}).then(function (data) {
|
|
10595
10797
|
return (0,_entities_ai_action_invocation__WEBPACK_IMPORTED_MODULE_11__.wrapAiActionInvocation)(makeRequest, data);
|
|
10596
10798
|
});
|
|
10799
|
+
},
|
|
10800
|
+
/**
|
|
10801
|
+
* Retrieves Semantic Duplicates for the given entity ID
|
|
10802
|
+
* @param payload - Object containing the entityId and optional filters
|
|
10803
|
+
* @return Promise for Semantic Duplicates
|
|
10804
|
+
* @example ```javascript
|
|
10805
|
+
* client.getSpace('<space_id>')
|
|
10806
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
10807
|
+
* .then(environment => environment.getSemanticDuplicates({
|
|
10808
|
+
* entityId: '<entity_id>',
|
|
10809
|
+
* filters: {
|
|
10810
|
+
* contentTypeIds: ['<content_type_id1>', '<content_type_id2>'],
|
|
10811
|
+
* }
|
|
10812
|
+
* })
|
|
10813
|
+
*/
|
|
10814
|
+
getSemanticDuplicates: function getSemanticDuplicates(payload) {
|
|
10815
|
+
var raw = this.toPlainObject();
|
|
10816
|
+
return makeRequest({
|
|
10817
|
+
entityType: 'SemanticDuplicates',
|
|
10818
|
+
action: 'get',
|
|
10819
|
+
params: {
|
|
10820
|
+
spaceId: raw.sys.space.sys.id,
|
|
10821
|
+
environmentId: raw.sys.id
|
|
10822
|
+
},
|
|
10823
|
+
payload: payload
|
|
10824
|
+
}).then(function (data) {
|
|
10825
|
+
return wrapSemanticDuplicates(makeRequest, data);
|
|
10826
|
+
});
|
|
10827
|
+
},
|
|
10828
|
+
/**
|
|
10829
|
+
* Retrieves Semantic Recommendations for the given entity ID
|
|
10830
|
+
* @param payload - Object containing the entityId and optional filters
|
|
10831
|
+
* @return Promise for Semantic Recommendations
|
|
10832
|
+
* @example ```javascript
|
|
10833
|
+
* client.getSpace('<space_id>')
|
|
10834
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
10835
|
+
* .then(environment => environment.getSemanticRecommendations({
|
|
10836
|
+
* entityId: '<entity_id>',
|
|
10837
|
+
* filters: {
|
|
10838
|
+
* contentTypeIds: ['<content_type_id1>', '<content_type_id2>'],
|
|
10839
|
+
* }
|
|
10840
|
+
* })
|
|
10841
|
+
*/
|
|
10842
|
+
getSemanticRecommendations: function getSemanticRecommendations(payload) {
|
|
10843
|
+
var raw = this.toPlainObject();
|
|
10844
|
+
return makeRequest({
|
|
10845
|
+
entityType: 'SemanticRecommendations',
|
|
10846
|
+
action: 'get',
|
|
10847
|
+
params: {
|
|
10848
|
+
spaceId: raw.sys.space.sys.id,
|
|
10849
|
+
environmentId: raw.sys.id
|
|
10850
|
+
},
|
|
10851
|
+
payload: payload
|
|
10852
|
+
}).then(function (data) {
|
|
10853
|
+
return wrapSemanticRecommendations(makeRequest, data);
|
|
10854
|
+
});
|
|
10855
|
+
},
|
|
10856
|
+
/**
|
|
10857
|
+
* Retrieves Semantic Reference Suggestions for the given entity ID and its reference field ID
|
|
10858
|
+
* @param payload - Object containing the entityId and optional filters
|
|
10859
|
+
* @return Promise for Semantic Reference Suggestions
|
|
10860
|
+
* @example ```javascript
|
|
10861
|
+
* client.getSpace('<space_id>')
|
|
10862
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
10863
|
+
* .then(environment => environment.getSemanticRecommendations({
|
|
10864
|
+
* entityId: '<entity_id>',
|
|
10865
|
+
* referenceFieldId: '<reference_field_id>',
|
|
10866
|
+
* filters: {
|
|
10867
|
+
* contentTypeIds: ['<content_type_id1>', '<content_type_id2>'],
|
|
10868
|
+
* }
|
|
10869
|
+
* })
|
|
10870
|
+
*/
|
|
10871
|
+
getSemanticReferenceSuggestions: function getSemanticReferenceSuggestions(payload) {
|
|
10872
|
+
var raw = this.toPlainObject();
|
|
10873
|
+
return makeRequest({
|
|
10874
|
+
entityType: 'SemanticReferenceSuggestions',
|
|
10875
|
+
action: 'get',
|
|
10876
|
+
params: {
|
|
10877
|
+
spaceId: raw.sys.space.sys.id,
|
|
10878
|
+
environmentId: raw.sys.id
|
|
10879
|
+
},
|
|
10880
|
+
payload: payload
|
|
10881
|
+
}).then(function (data) {
|
|
10882
|
+
return wrapSemanticReferenceSuggestions(makeRequest, data);
|
|
10883
|
+
});
|
|
10884
|
+
},
|
|
10885
|
+
/**
|
|
10886
|
+
* Retrieves Semantic Search results for the given query
|
|
10887
|
+
* @param payload - Object containing the search query and optional filters
|
|
10888
|
+
* @return Promise for Semantic Search results
|
|
10889
|
+
* @example ```javascript
|
|
10890
|
+
* client.getSpace('<space_id>')
|
|
10891
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
10892
|
+
* .then(environment => environment.getSemanticSearch({
|
|
10893
|
+
* query: '<search_query>',
|
|
10894
|
+
* filters: {
|
|
10895
|
+
* contentTypeIds: ['<content_type_id1>', '<content_type_id2>'],
|
|
10896
|
+
* }
|
|
10897
|
+
* })
|
|
10898
|
+
*/
|
|
10899
|
+
getSemanticSearch: function getSemanticSearch(payload) {
|
|
10900
|
+
var raw = this.toPlainObject();
|
|
10901
|
+
return makeRequest({
|
|
10902
|
+
entityType: 'SemanticSearch',
|
|
10903
|
+
action: 'get',
|
|
10904
|
+
params: {
|
|
10905
|
+
spaceId: raw.sys.space.sys.id,
|
|
10906
|
+
environmentId: raw.sys.id
|
|
10907
|
+
},
|
|
10908
|
+
payload: payload
|
|
10909
|
+
}).then(function (data) {
|
|
10910
|
+
return wrapSemanticSearch(makeRequest, data);
|
|
10911
|
+
});
|
|
10597
10912
|
}
|
|
10598
10913
|
};
|
|
10599
10914
|
}
|
|
@@ -11006,6 +11321,7 @@ function createOrganizationApi(makeRequest) {
|
|
|
11006
11321
|
wrapFunctionCollection = _entities$func.wrapFunctionCollection;
|
|
11007
11322
|
var wrapRoleCollection = _entities__WEBPACK_IMPORTED_MODULE_1__["default"].role.wrapRoleCollection;
|
|
11008
11323
|
var wrapSpaceCollection = _entities__WEBPACK_IMPORTED_MODULE_1__["default"].space.wrapSpaceCollection;
|
|
11324
|
+
var wrapVectorizationStatus = _entities__WEBPACK_IMPORTED_MODULE_1__["default"].vectorizationStatus.wrapVectorizationStatus;
|
|
11009
11325
|
return {
|
|
11010
11326
|
/**
|
|
11011
11327
|
* Gets a collection of spaces in the organization
|
|
@@ -12315,6 +12631,58 @@ function createOrganizationApi(makeRequest) {
|
|
|
12315
12631
|
}).then(function (payload) {
|
|
12316
12632
|
return wrapFunctionCollection(makeRequest, payload);
|
|
12317
12633
|
});
|
|
12634
|
+
},
|
|
12635
|
+
/**
|
|
12636
|
+
* Gets the vectorization status for the organization
|
|
12637
|
+
* @returns Promise for a VectorizationStatus
|
|
12638
|
+
* @example ```javascript
|
|
12639
|
+
* const contentful = require('contentful-management')
|
|
12640
|
+
* const client = contentful.createClient({
|
|
12641
|
+
* accessToken: '<content_management_api_key>'
|
|
12642
|
+
* })
|
|
12643
|
+
* const org = await client.getOrganization('<org_id>')
|
|
12644
|
+
* const vectorizationStatus = await org.getVectorizationStatus()
|
|
12645
|
+
*/
|
|
12646
|
+
getVectorizationStatus: function getVectorizationStatus() {
|
|
12647
|
+
var raw = this.toPlainObject();
|
|
12648
|
+
var organizationId = raw.sys.id;
|
|
12649
|
+
return makeRequest({
|
|
12650
|
+
entityType: 'VectorizationStatus',
|
|
12651
|
+
action: 'get',
|
|
12652
|
+
params: {
|
|
12653
|
+
organizationId: organizationId
|
|
12654
|
+
}
|
|
12655
|
+
}).then(function (payload) {
|
|
12656
|
+
return wrapVectorizationStatus(makeRequest, payload);
|
|
12657
|
+
});
|
|
12658
|
+
},
|
|
12659
|
+
/**
|
|
12660
|
+
* Updates the vectorization status for the organization
|
|
12661
|
+
* @returns Promise for a VectorizationStatus
|
|
12662
|
+
* @example ```javascript
|
|
12663
|
+
* const contentful = require('contentful-management')
|
|
12664
|
+
* const client = contentful.createClient({
|
|
12665
|
+
* accessToken: '<content_management_api_key>'
|
|
12666
|
+
* })
|
|
12667
|
+
* const org = await client.getOrganization('<org_id>')
|
|
12668
|
+
* const updatedVectorizationStatus = await org.updateVectorizationStatus([
|
|
12669
|
+
* { spaceId: '<space_id1>', enabled: true },
|
|
12670
|
+
* { spaceId: '<space_id2>', enabled: false }
|
|
12671
|
+
* ])
|
|
12672
|
+
*/
|
|
12673
|
+
updateVectorizationStatus: function updateVectorizationStatus(data) {
|
|
12674
|
+
var raw = this.toPlainObject();
|
|
12675
|
+
var organizationId = raw.sys.id;
|
|
12676
|
+
return makeRequest({
|
|
12677
|
+
entityType: 'VectorizationStatus',
|
|
12678
|
+
action: 'update',
|
|
12679
|
+
params: {
|
|
12680
|
+
organizationId: organizationId
|
|
12681
|
+
},
|
|
12682
|
+
payload: data
|
|
12683
|
+
}).then(function (payload) {
|
|
12684
|
+
return wrapVectorizationStatus(makeRequest, payload);
|
|
12685
|
+
});
|
|
12318
12686
|
}
|
|
12319
12687
|
};
|
|
12320
12688
|
}
|
|
@@ -16567,27 +16935,37 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16567
16935
|
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./release-action */ "./entities/release-action.ts");
|
|
16568
16936
|
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./role */ "./entities/role.ts");
|
|
16569
16937
|
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./scheduled-action */ "./entities/scheduled-action.ts");
|
|
16570
|
-
/* harmony import */ var
|
|
16571
|
-
/* harmony import */ var
|
|
16572
|
-
/* harmony import */ var
|
|
16573
|
-
/* harmony import */ var
|
|
16574
|
-
/* harmony import */ var
|
|
16575
|
-
/* harmony import */ var
|
|
16576
|
-
/* harmony import */ var
|
|
16577
|
-
/* harmony import */ var
|
|
16578
|
-
/* harmony import */ var
|
|
16579
|
-
/* harmony import */ var
|
|
16580
|
-
/* harmony import */ var
|
|
16581
|
-
/* harmony import */ var
|
|
16582
|
-
/* harmony import */ var
|
|
16583
|
-
/* harmony import */ var
|
|
16584
|
-
/* harmony import */ var
|
|
16585
|
-
/* harmony import */ var
|
|
16586
|
-
/* harmony import */ var
|
|
16587
|
-
/* harmony import */ var
|
|
16588
|
-
/* harmony import */ var
|
|
16589
|
-
/* harmony import */ var
|
|
16590
|
-
/* harmony import */ var
|
|
16938
|
+
/* harmony import */ var _semantic_duplicates__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./semantic-duplicates */ "./entities/semantic-duplicates.ts");
|
|
16939
|
+
/* harmony import */ var _semantic_recommendations__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./semantic-recommendations */ "./entities/semantic-recommendations.ts");
|
|
16940
|
+
/* harmony import */ var _semantic_reference_suggestions__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./semantic-reference-suggestions */ "./entities/semantic-reference-suggestions.ts");
|
|
16941
|
+
/* harmony import */ var _semantic_search__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./semantic-search */ "./entities/semantic-search.ts");
|
|
16942
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./snapshot */ "./entities/snapshot.ts");
|
|
16943
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./space */ "./entities/space.ts");
|
|
16944
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./space-member */ "./entities/space-member.ts");
|
|
16945
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./space-membership */ "./entities/space-membership.ts");
|
|
16946
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./tag */ "./entities/tag.ts");
|
|
16947
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./task */ "./entities/task.ts");
|
|
16948
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./team */ "./entities/team.ts");
|
|
16949
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./team-membership */ "./entities/team-membership.ts");
|
|
16950
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./team-space-membership */ "./entities/team-space-membership.ts");
|
|
16951
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./ui-config */ "./entities/ui-config.ts");
|
|
16952
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./upload */ "./entities/upload.ts");
|
|
16953
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./usage */ "./entities/usage.ts");
|
|
16954
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./user */ "./entities/user.ts");
|
|
16955
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./user-ui-config */ "./entities/user-ui-config.ts");
|
|
16956
|
+
/* harmony import */ var _vectorization_status__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./vectorization-status */ "./entities/vectorization-status.ts");
|
|
16957
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./webhook */ "./entities/webhook.ts");
|
|
16958
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./workflow-definition */ "./entities/workflow-definition.ts");
|
|
16959
|
+
/* harmony import */ var _concept__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./concept */ "./entities/concept.ts");
|
|
16960
|
+
/* harmony import */ var _concept_scheme__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./concept-scheme */ "./entities/concept-scheme.ts");
|
|
16961
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./resource-provider */ "./entities/resource-provider.ts");
|
|
16962
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./resource-type */ "./entities/resource-type.ts");
|
|
16963
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
|
|
16964
|
+
|
|
16965
|
+
|
|
16966
|
+
|
|
16967
|
+
|
|
16968
|
+
|
|
16591
16969
|
|
|
16592
16970
|
|
|
16593
16971
|
|
|
@@ -16671,8 +17049,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16671
17049
|
assetKey: _asset_key__WEBPACK_IMPORTED_MODULE_16__,
|
|
16672
17050
|
bulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_17__,
|
|
16673
17051
|
comment: _comment__WEBPACK_IMPORTED_MODULE_18__,
|
|
16674
|
-
concept:
|
|
16675
|
-
conceptScheme:
|
|
17052
|
+
concept: _concept__WEBPACK_IMPORTED_MODULE_62__,
|
|
17053
|
+
conceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_63__,
|
|
16676
17054
|
contentType: _content_type__WEBPACK_IMPORTED_MODULE_19__,
|
|
16677
17055
|
editorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_20__,
|
|
16678
17056
|
entry: _entry__WEBPACK_IMPORTED_MODULE_21__,
|
|
@@ -16692,27 +17070,32 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16692
17070
|
previewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_36__,
|
|
16693
17071
|
release: _release__WEBPACK_IMPORTED_MODULE_37__,
|
|
16694
17072
|
releaseAction: _release_action__WEBPACK_IMPORTED_MODULE_38__,
|
|
16695
|
-
resourceProvider:
|
|
16696
|
-
resourceType:
|
|
16697
|
-
resource:
|
|
17073
|
+
resourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_64__,
|
|
17074
|
+
resourceType: _resource_type__WEBPACK_IMPORTED_MODULE_65__,
|
|
17075
|
+
resource: _resource__WEBPACK_IMPORTED_MODULE_66__,
|
|
16698
17076
|
role: _role__WEBPACK_IMPORTED_MODULE_39__,
|
|
16699
17077
|
scheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_40__,
|
|
16700
|
-
|
|
16701
|
-
|
|
16702
|
-
|
|
16703
|
-
|
|
16704
|
-
|
|
16705
|
-
|
|
16706
|
-
|
|
16707
|
-
|
|
16708
|
-
|
|
16709
|
-
|
|
16710
|
-
|
|
16711
|
-
|
|
16712
|
-
|
|
16713
|
-
|
|
16714
|
-
|
|
16715
|
-
|
|
17078
|
+
semanticDuplicates: _semantic_duplicates__WEBPACK_IMPORTED_MODULE_41__,
|
|
17079
|
+
semanticRecommendations: _semantic_recommendations__WEBPACK_IMPORTED_MODULE_42__,
|
|
17080
|
+
semanticReferenceSuggestions: _semantic_reference_suggestions__WEBPACK_IMPORTED_MODULE_43__,
|
|
17081
|
+
semanticSearch: _semantic_search__WEBPACK_IMPORTED_MODULE_44__,
|
|
17082
|
+
snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_45__,
|
|
17083
|
+
space: _space__WEBPACK_IMPORTED_MODULE_46__,
|
|
17084
|
+
spaceMember: _space_member__WEBPACK_IMPORTED_MODULE_47__,
|
|
17085
|
+
spaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_48__,
|
|
17086
|
+
tag: _tag__WEBPACK_IMPORTED_MODULE_49__,
|
|
17087
|
+
task: _task__WEBPACK_IMPORTED_MODULE_50__,
|
|
17088
|
+
team: _team__WEBPACK_IMPORTED_MODULE_51__,
|
|
17089
|
+
teamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_52__,
|
|
17090
|
+
teamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_53__,
|
|
17091
|
+
uiConfig: _ui_config__WEBPACK_IMPORTED_MODULE_54__,
|
|
17092
|
+
upload: _upload__WEBPACK_IMPORTED_MODULE_55__,
|
|
17093
|
+
usage: _usage__WEBPACK_IMPORTED_MODULE_56__,
|
|
17094
|
+
user: _user__WEBPACK_IMPORTED_MODULE_57__,
|
|
17095
|
+
userUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_58__,
|
|
17096
|
+
vectorizationStatus: _vectorization_status__WEBPACK_IMPORTED_MODULE_59__,
|
|
17097
|
+
webhook: _webhook__WEBPACK_IMPORTED_MODULE_60__,
|
|
17098
|
+
workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_61__
|
|
16716
17099
|
});
|
|
16717
17100
|
|
|
16718
17101
|
/***/ }),
|
|
@@ -18051,6 +18434,94 @@ var wrapScheduledActionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_2_
|
|
|
18051
18434
|
|
|
18052
18435
|
/***/ }),
|
|
18053
18436
|
|
|
18437
|
+
/***/ "./entities/semantic-duplicates.ts":
|
|
18438
|
+
/*!*****************************************!*\
|
|
18439
|
+
!*** ./entities/semantic-duplicates.ts ***!
|
|
18440
|
+
\*****************************************/
|
|
18441
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
18442
|
+
|
|
18443
|
+
"use strict";
|
|
18444
|
+
__webpack_require__.r(__webpack_exports__);
|
|
18445
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18446
|
+
/* harmony export */ wrapSemanticDuplicates: function() { return /* binding */ wrapSemanticDuplicates; }
|
|
18447
|
+
/* harmony export */ });
|
|
18448
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
18449
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
18450
|
+
|
|
18451
|
+
|
|
18452
|
+
function wrapSemanticDuplicates(_makeRequest, data) {
|
|
18453
|
+
var result = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
18454
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(result);
|
|
18455
|
+
}
|
|
18456
|
+
|
|
18457
|
+
/***/ }),
|
|
18458
|
+
|
|
18459
|
+
/***/ "./entities/semantic-recommendations.ts":
|
|
18460
|
+
/*!**********************************************!*\
|
|
18461
|
+
!*** ./entities/semantic-recommendations.ts ***!
|
|
18462
|
+
\**********************************************/
|
|
18463
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
18464
|
+
|
|
18465
|
+
"use strict";
|
|
18466
|
+
__webpack_require__.r(__webpack_exports__);
|
|
18467
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18468
|
+
/* harmony export */ wrapSemanticRecommendations: function() { return /* binding */ wrapSemanticRecommendations; }
|
|
18469
|
+
/* harmony export */ });
|
|
18470
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
18471
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
18472
|
+
|
|
18473
|
+
|
|
18474
|
+
function wrapSemanticRecommendations(_makeRequest, data) {
|
|
18475
|
+
var result = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
18476
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(result);
|
|
18477
|
+
}
|
|
18478
|
+
|
|
18479
|
+
/***/ }),
|
|
18480
|
+
|
|
18481
|
+
/***/ "./entities/semantic-reference-suggestions.ts":
|
|
18482
|
+
/*!****************************************************!*\
|
|
18483
|
+
!*** ./entities/semantic-reference-suggestions.ts ***!
|
|
18484
|
+
\****************************************************/
|
|
18485
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
18486
|
+
|
|
18487
|
+
"use strict";
|
|
18488
|
+
__webpack_require__.r(__webpack_exports__);
|
|
18489
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18490
|
+
/* harmony export */ wrapSemanticReferenceSuggestions: function() { return /* binding */ wrapSemanticReferenceSuggestions; }
|
|
18491
|
+
/* harmony export */ });
|
|
18492
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
18493
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
18494
|
+
|
|
18495
|
+
|
|
18496
|
+
function wrapSemanticReferenceSuggestions(_makeRequest, data) {
|
|
18497
|
+
var result = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
18498
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(result);
|
|
18499
|
+
}
|
|
18500
|
+
|
|
18501
|
+
/***/ }),
|
|
18502
|
+
|
|
18503
|
+
/***/ "./entities/semantic-search.ts":
|
|
18504
|
+
/*!*************************************!*\
|
|
18505
|
+
!*** ./entities/semantic-search.ts ***!
|
|
18506
|
+
\*************************************/
|
|
18507
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
18508
|
+
|
|
18509
|
+
"use strict";
|
|
18510
|
+
__webpack_require__.r(__webpack_exports__);
|
|
18511
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18512
|
+
/* harmony export */ wrapSemanticSearch: function() { return /* binding */ wrapSemanticSearch; }
|
|
18513
|
+
/* harmony export */ });
|
|
18514
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
18515
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
18516
|
+
|
|
18517
|
+
|
|
18518
|
+
function wrapSemanticSearch(_makeRequest, data) {
|
|
18519
|
+
var result = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
18520
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(result);
|
|
18521
|
+
}
|
|
18522
|
+
|
|
18523
|
+
/***/ }),
|
|
18524
|
+
|
|
18054
18525
|
/***/ "./entities/snapshot.ts":
|
|
18055
18526
|
/*!******************************!*\
|
|
18056
18527
|
!*** ./entities/snapshot.ts ***!
|
|
@@ -18854,6 +19325,37 @@ var wrapUserCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_3__.wrapColle
|
|
|
18854
19325
|
|
|
18855
19326
|
/***/ }),
|
|
18856
19327
|
|
|
19328
|
+
/***/ "./entities/vectorization-status.ts":
|
|
19329
|
+
/*!******************************************!*\
|
|
19330
|
+
!*** ./entities/vectorization-status.ts ***!
|
|
19331
|
+
\******************************************/
|
|
19332
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
19333
|
+
|
|
19334
|
+
"use strict";
|
|
19335
|
+
__webpack_require__.r(__webpack_exports__);
|
|
19336
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19337
|
+
/* harmony export */ EmbeddingSetStatus: function() { return /* binding */ EmbeddingSetStatus; },
|
|
19338
|
+
/* harmony export */ wrapVectorizationStatus: function() { return /* binding */ wrapVectorizationStatus; }
|
|
19339
|
+
/* harmony export */ });
|
|
19340
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
19341
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
19342
|
+
|
|
19343
|
+
|
|
19344
|
+
var EmbeddingSetStatus = /*#__PURE__*/function (EmbeddingSetStatus) {
|
|
19345
|
+
EmbeddingSetStatus["ACTIVE"] = "ACTIVE";
|
|
19346
|
+
EmbeddingSetStatus["PENDING"] = "PENDING";
|
|
19347
|
+
EmbeddingSetStatus["ERROR"] = "ERROR";
|
|
19348
|
+
EmbeddingSetStatus["DISABLED"] = "DISABLED";
|
|
19349
|
+
EmbeddingSetStatus["DELETING"] = "DELETING";
|
|
19350
|
+
return EmbeddingSetStatus;
|
|
19351
|
+
}({});
|
|
19352
|
+
function wrapVectorizationStatus(_makeRequest, data) {
|
|
19353
|
+
var vectorizationStatus = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
19354
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(vectorizationStatus);
|
|
19355
|
+
}
|
|
19356
|
+
|
|
19357
|
+
/***/ }),
|
|
19358
|
+
|
|
18857
19359
|
/***/ "./entities/webhook.ts":
|
|
18858
19360
|
/*!*****************************!*\
|
|
18859
19361
|
!*** ./entities/webhook.ts ***!
|
|
@@ -19864,6 +20366,7 @@ var createPlainClient = function createPlainClient(makeRequest, defaults) {
|
|
|
19864
20366
|
},
|
|
19865
20367
|
entry: {
|
|
19866
20368
|
getPublished: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'getPublished'),
|
|
20369
|
+
getPublishedWithCursor: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'getPublishedWithCursor'),
|
|
19867
20370
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'getMany'),
|
|
19868
20371
|
getManyWithCursor: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'getManyWithCursor'),
|
|
19869
20372
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'get'),
|
|
@@ -19880,6 +20383,7 @@ var createPlainClient = function createPlainClient(makeRequest, defaults) {
|
|
|
19880
20383
|
},
|
|
19881
20384
|
asset: {
|
|
19882
20385
|
getPublished: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'getPublished'),
|
|
20386
|
+
getPublishedWithCursor: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'getPublishedWithCursor'),
|
|
19883
20387
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'getMany'),
|
|
19884
20388
|
getManyWithCursor: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'getManyWithCursor'),
|
|
19885
20389
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'get'),
|
|
@@ -20140,6 +20644,18 @@ var createPlainClient = function createPlainClient(makeRequest, defaults) {
|
|
|
20140
20644
|
delete: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'OAuthApplication', 'delete'),
|
|
20141
20645
|
create: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'OAuthApplication', 'create')
|
|
20142
20646
|
},
|
|
20647
|
+
semanticDuplicates: {
|
|
20648
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SemanticDuplicates', 'get')
|
|
20649
|
+
},
|
|
20650
|
+
semanticRecommendations: {
|
|
20651
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SemanticRecommendations', 'get')
|
|
20652
|
+
},
|
|
20653
|
+
semanticReferenceSuggestions: {
|
|
20654
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SemanticReferenceSuggestions', 'get')
|
|
20655
|
+
},
|
|
20656
|
+
semanticSearch: {
|
|
20657
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SemanticSearch', 'get')
|
|
20658
|
+
},
|
|
20143
20659
|
spaceMember: {
|
|
20144
20660
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SpaceMember', 'get'),
|
|
20145
20661
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SpaceMember', 'getMany')
|
|
@@ -20187,6 +20703,10 @@ var createPlainClient = function createPlainClient(makeRequest, defaults) {
|
|
|
20187
20703
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'UserUIConfig', 'get'),
|
|
20188
20704
|
update: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'UserUIConfig', 'update')
|
|
20189
20705
|
},
|
|
20706
|
+
vectorizationStatus: {
|
|
20707
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'VectorizationStatus', 'get'),
|
|
20708
|
+
update: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'VectorizationStatus', 'update')
|
|
20709
|
+
},
|
|
20190
20710
|
workflowDefinition: {
|
|
20191
20711
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'WorkflowDefinition', 'get'),
|
|
20192
20712
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'WorkflowDefinition', 'getMany'),
|