contentful-management 11.65.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/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
|
@@ -2920,25 +2920,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2920
2920
|
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./resource-type */ "./adapters/REST/endpoints/resource-type.ts");
|
|
2921
2921
|
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./role */ "./adapters/REST/endpoints/role.ts");
|
|
2922
2922
|
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./scheduled-action */ "./adapters/REST/endpoints/scheduled-action.ts");
|
|
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
|
|
2923
|
+
/* harmony import */ var _semantic_duplicates__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./semantic-duplicates */ "./adapters/REST/endpoints/semantic-duplicates.ts");
|
|
2924
|
+
/* harmony import */ var _semantic_recommendations__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./semantic-recommendations */ "./adapters/REST/endpoints/semantic-recommendations.ts");
|
|
2925
|
+
/* harmony import */ var _semantic_reference_suggestions__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./semantic-reference-suggestions */ "./adapters/REST/endpoints/semantic-reference-suggestions.ts");
|
|
2926
|
+
/* harmony import */ var _semantic_search__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./semantic-search */ "./adapters/REST/endpoints/semantic-search.ts");
|
|
2927
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./snapshot */ "./adapters/REST/endpoints/snapshot.ts");
|
|
2928
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./space */ "./adapters/REST/endpoints/space.ts");
|
|
2929
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./space-member */ "./adapters/REST/endpoints/space-member.ts");
|
|
2930
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./space-membership */ "./adapters/REST/endpoints/space-membership.ts");
|
|
2931
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./tag */ "./adapters/REST/endpoints/tag.ts");
|
|
2932
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./task */ "./adapters/REST/endpoints/task.ts");
|
|
2933
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./team */ "./adapters/REST/endpoints/team.ts");
|
|
2934
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./team-membership */ "./adapters/REST/endpoints/team-membership.ts");
|
|
2935
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./team-space-membership */ "./adapters/REST/endpoints/team-space-membership.ts");
|
|
2936
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./ui-config */ "./adapters/REST/endpoints/ui-config.ts");
|
|
2937
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./upload */ "./adapters/REST/endpoints/upload.ts");
|
|
2938
|
+
/* harmony import */ var _upload_credentials__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./upload-credentials */ "./adapters/REST/endpoints/upload-credentials.ts");
|
|
2939
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./usage */ "./adapters/REST/endpoints/usage.ts");
|
|
2940
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./user */ "./adapters/REST/endpoints/user.ts");
|
|
2941
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./user-ui-config */ "./adapters/REST/endpoints/user-ui-config.ts");
|
|
2942
|
+
/* harmony import */ var _vectorization_status__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./vectorization-status */ "./adapters/REST/endpoints/vectorization-status.ts");
|
|
2943
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./webhook */ "./adapters/REST/endpoints/webhook.ts");
|
|
2944
|
+
/* harmony import */ var _workflow__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./workflow */ "./adapters/REST/endpoints/workflow.ts");
|
|
2945
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./workflow-definition */ "./adapters/REST/endpoints/workflow-definition.ts");
|
|
2946
|
+
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
2947
|
+
|
|
2948
|
+
|
|
2949
|
+
|
|
2950
|
+
|
|
2951
|
+
|
|
2942
2952
|
|
|
2943
2953
|
|
|
2944
2954
|
|
|
@@ -3057,25 +3067,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3057
3067
|
ResourceType: _resource_type__WEBPACK_IMPORTED_MODULE_46__,
|
|
3058
3068
|
Role: _role__WEBPACK_IMPORTED_MODULE_47__,
|
|
3059
3069
|
ScheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_48__,
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3070
|
+
SemanticDuplicates: _semantic_duplicates__WEBPACK_IMPORTED_MODULE_49__,
|
|
3071
|
+
SemanticRecommendations: _semantic_recommendations__WEBPACK_IMPORTED_MODULE_50__,
|
|
3072
|
+
SemanticReferenceSuggestions: _semantic_reference_suggestions__WEBPACK_IMPORTED_MODULE_51__,
|
|
3073
|
+
SemanticSearch: _semantic_search__WEBPACK_IMPORTED_MODULE_52__,
|
|
3074
|
+
Snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_53__,
|
|
3075
|
+
Space: _space__WEBPACK_IMPORTED_MODULE_54__,
|
|
3076
|
+
SpaceMember: _space_member__WEBPACK_IMPORTED_MODULE_55__,
|
|
3077
|
+
SpaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_56__,
|
|
3078
|
+
Tag: _tag__WEBPACK_IMPORTED_MODULE_57__,
|
|
3079
|
+
Task: _task__WEBPACK_IMPORTED_MODULE_58__,
|
|
3080
|
+
Team: _team__WEBPACK_IMPORTED_MODULE_59__,
|
|
3081
|
+
TeamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_60__,
|
|
3082
|
+
TeamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_61__,
|
|
3083
|
+
UIConfig: _ui_config__WEBPACK_IMPORTED_MODULE_62__,
|
|
3084
|
+
Upload: _upload__WEBPACK_IMPORTED_MODULE_63__,
|
|
3085
|
+
UploadCredential: _upload_credentials__WEBPACK_IMPORTED_MODULE_64__,
|
|
3086
|
+
Usage: _usage__WEBPACK_IMPORTED_MODULE_65__,
|
|
3087
|
+
User: _user__WEBPACK_IMPORTED_MODULE_66__,
|
|
3088
|
+
UserUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_67__,
|
|
3089
|
+
VectorizationStatus: _vectorization_status__WEBPACK_IMPORTED_MODULE_68__,
|
|
3090
|
+
Webhook: _webhook__WEBPACK_IMPORTED_MODULE_69__,
|
|
3091
|
+
WorkflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_71__,
|
|
3092
|
+
Workflow: _workflow__WEBPACK_IMPORTED_MODULE_70__,
|
|
3093
|
+
WorkflowsChangelog: _workflows_changelog__WEBPACK_IMPORTED_MODULE_72__
|
|
3079
3094
|
});
|
|
3080
3095
|
|
|
3081
3096
|
/***/ }),
|
|
@@ -4207,6 +4222,90 @@ const update = (http, params, data) => {
|
|
|
4207
4222
|
|
|
4208
4223
|
/***/ }),
|
|
4209
4224
|
|
|
4225
|
+
/***/ "./adapters/REST/endpoints/semantic-duplicates.ts":
|
|
4226
|
+
/*!********************************************************!*\
|
|
4227
|
+
!*** ./adapters/REST/endpoints/semantic-duplicates.ts ***!
|
|
4228
|
+
\********************************************************/
|
|
4229
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4230
|
+
|
|
4231
|
+
"use strict";
|
|
4232
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4233
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4234
|
+
/* harmony export */ get: () => (/* binding */ get)
|
|
4235
|
+
/* harmony export */ });
|
|
4236
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
4237
|
+
|
|
4238
|
+
const get = (http, params, data, headers) => {
|
|
4239
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/semantic/duplicates`, data, {
|
|
4240
|
+
headers
|
|
4241
|
+
});
|
|
4242
|
+
};
|
|
4243
|
+
|
|
4244
|
+
/***/ }),
|
|
4245
|
+
|
|
4246
|
+
/***/ "./adapters/REST/endpoints/semantic-recommendations.ts":
|
|
4247
|
+
/*!*************************************************************!*\
|
|
4248
|
+
!*** ./adapters/REST/endpoints/semantic-recommendations.ts ***!
|
|
4249
|
+
\*************************************************************/
|
|
4250
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4251
|
+
|
|
4252
|
+
"use strict";
|
|
4253
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4254
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4255
|
+
/* harmony export */ get: () => (/* binding */ get)
|
|
4256
|
+
/* harmony export */ });
|
|
4257
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
4258
|
+
|
|
4259
|
+
const get = (http, params, data, headers) => {
|
|
4260
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/semantic/recommendations`, data, {
|
|
4261
|
+
headers
|
|
4262
|
+
});
|
|
4263
|
+
};
|
|
4264
|
+
|
|
4265
|
+
/***/ }),
|
|
4266
|
+
|
|
4267
|
+
/***/ "./adapters/REST/endpoints/semantic-reference-suggestions.ts":
|
|
4268
|
+
/*!*******************************************************************!*\
|
|
4269
|
+
!*** ./adapters/REST/endpoints/semantic-reference-suggestions.ts ***!
|
|
4270
|
+
\*******************************************************************/
|
|
4271
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4272
|
+
|
|
4273
|
+
"use strict";
|
|
4274
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4275
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4276
|
+
/* harmony export */ get: () => (/* binding */ get)
|
|
4277
|
+
/* harmony export */ });
|
|
4278
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
4279
|
+
|
|
4280
|
+
const get = (http, params, data, headers) => {
|
|
4281
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/semantic/reference-suggestions`, data, {
|
|
4282
|
+
headers
|
|
4283
|
+
});
|
|
4284
|
+
};
|
|
4285
|
+
|
|
4286
|
+
/***/ }),
|
|
4287
|
+
|
|
4288
|
+
/***/ "./adapters/REST/endpoints/semantic-search.ts":
|
|
4289
|
+
/*!****************************************************!*\
|
|
4290
|
+
!*** ./adapters/REST/endpoints/semantic-search.ts ***!
|
|
4291
|
+
\****************************************************/
|
|
4292
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4293
|
+
|
|
4294
|
+
"use strict";
|
|
4295
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4296
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4297
|
+
/* harmony export */ get: () => (/* binding */ get)
|
|
4298
|
+
/* harmony export */ });
|
|
4299
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
4300
|
+
|
|
4301
|
+
const get = (http, params, data, headers) => {
|
|
4302
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/semantic/search`, data, {
|
|
4303
|
+
headers
|
|
4304
|
+
});
|
|
4305
|
+
};
|
|
4306
|
+
|
|
4307
|
+
/***/ }),
|
|
4308
|
+
|
|
4210
4309
|
/***/ "./adapters/REST/endpoints/snapshot.ts":
|
|
4211
4310
|
/*!*********************************************!*\
|
|
4212
4311
|
!*** ./adapters/REST/endpoints/snapshot.ts ***!
|
|
@@ -4972,6 +5071,33 @@ function normalizeSpaceId(query) {
|
|
|
4972
5071
|
|
|
4973
5072
|
/***/ }),
|
|
4974
5073
|
|
|
5074
|
+
/***/ "./adapters/REST/endpoints/vectorization-status.ts":
|
|
5075
|
+
/*!*********************************************************!*\
|
|
5076
|
+
!*** ./adapters/REST/endpoints/vectorization-status.ts ***!
|
|
5077
|
+
\*********************************************************/
|
|
5078
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5079
|
+
|
|
5080
|
+
"use strict";
|
|
5081
|
+
__webpack_require__.r(__webpack_exports__);
|
|
5082
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5083
|
+
/* harmony export */ get: () => (/* binding */ get),
|
|
5084
|
+
/* harmony export */ update: () => (/* binding */ update)
|
|
5085
|
+
/* harmony export */ });
|
|
5086
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
5087
|
+
|
|
5088
|
+
const get = (http, params, headers) => {
|
|
5089
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, `/organizations/${params.organizationId}/semantic/vectorization-status`, {
|
|
5090
|
+
headers
|
|
5091
|
+
});
|
|
5092
|
+
};
|
|
5093
|
+
const update = (http, params, data, headers) => {
|
|
5094
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.post(http, `/organizations/${params.organizationId}/semantic/vectorization-status`, data, {
|
|
5095
|
+
headers
|
|
5096
|
+
});
|
|
5097
|
+
};
|
|
5098
|
+
|
|
5099
|
+
/***/ }),
|
|
5100
|
+
|
|
4975
5101
|
/***/ "./adapters/REST/endpoints/webhook.ts":
|
|
4976
5102
|
/*!********************************************!*\
|
|
4977
5103
|
!*** ./adapters/REST/endpoints/webhook.ts ***!
|
|
@@ -7666,6 +7792,18 @@ function createEnvironmentApi(makeRequest) {
|
|
|
7666
7792
|
const {
|
|
7667
7793
|
wrapResourceCollection
|
|
7668
7794
|
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].resource;
|
|
7795
|
+
const {
|
|
7796
|
+
wrapSemanticDuplicates
|
|
7797
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].semanticDuplicates;
|
|
7798
|
+
const {
|
|
7799
|
+
wrapSemanticRecommendations
|
|
7800
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].semanticRecommendations;
|
|
7801
|
+
const {
|
|
7802
|
+
wrapSemanticReferenceSuggestions
|
|
7803
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].semanticReferenceSuggestions;
|
|
7804
|
+
const {
|
|
7805
|
+
wrapSemanticSearch
|
|
7806
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_2__["default"].semanticSearch;
|
|
7669
7807
|
return {
|
|
7670
7808
|
/**
|
|
7671
7809
|
* Deletes the environment
|
|
@@ -8405,6 +8543,39 @@ function createEnvironmentApi(makeRequest) {
|
|
|
8405
8543
|
}
|
|
8406
8544
|
}).then(data => wrapEntryCollection(makeRequest, data));
|
|
8407
8545
|
},
|
|
8546
|
+
/**
|
|
8547
|
+
* Gets a collection of published Entries with cursor based pagination
|
|
8548
|
+
* @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.
|
|
8549
|
+
* @return Promise for a collection of published Entries
|
|
8550
|
+
* @example ```javascript
|
|
8551
|
+
* const contentful = require('contentful-management')
|
|
8552
|
+
*
|
|
8553
|
+
* const client = contentful.createClient({
|
|
8554
|
+
* accessToken: '<content_management_api_key>'
|
|
8555
|
+
* })
|
|
8556
|
+
*
|
|
8557
|
+
* client.getSpace('<space_id>')
|
|
8558
|
+
* .then((space) => space.getEnvironment('<environment-id>'))
|
|
8559
|
+
* .then((environment) => environment.getPublishedEntriesWithCursor())
|
|
8560
|
+
* .then((response) => console.log(response.items))
|
|
8561
|
+
* .catch(console.error)
|
|
8562
|
+
* ```
|
|
8563
|
+
*/
|
|
8564
|
+
getPublishedEntriesWithCursor(query = {}) {
|
|
8565
|
+
const raw = this.toPlainObject();
|
|
8566
|
+
const normalizedQueryParams = (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.normalizeCursorPaginationParameters)(query);
|
|
8567
|
+
return makeRequest({
|
|
8568
|
+
entityType: 'Entry',
|
|
8569
|
+
action: 'getPublished',
|
|
8570
|
+
params: {
|
|
8571
|
+
spaceId: raw.sys.space.sys.id,
|
|
8572
|
+
environmentId: raw.sys.id,
|
|
8573
|
+
query: (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createRequestConfig)({
|
|
8574
|
+
query: normalizedQueryParams
|
|
8575
|
+
}).params
|
|
8576
|
+
}
|
|
8577
|
+
}).then(data => wrapEntryTypeCursorPaginatedCollection(makeRequest, (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.normalizeCursorPaginationResponse)(data)));
|
|
8578
|
+
},
|
|
8408
8579
|
/**
|
|
8409
8580
|
* Creates a Entry
|
|
8410
8581
|
* @param contentTypeId - The Content Type ID of the newly created Entry
|
|
@@ -8656,6 +8827,39 @@ function createEnvironmentApi(makeRequest) {
|
|
|
8656
8827
|
}
|
|
8657
8828
|
}).then(data => wrapAssetCollection(makeRequest, data));
|
|
8658
8829
|
},
|
|
8830
|
+
/**
|
|
8831
|
+
* Gets a collection of published Assets with cursor based pagination
|
|
8832
|
+
* @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.
|
|
8833
|
+
* @return Promise for a collection of published Assets
|
|
8834
|
+
* @example ```javascript
|
|
8835
|
+
* const contentful = require('contentful-management')
|
|
8836
|
+
*
|
|
8837
|
+
* const client = contentful.createClient({
|
|
8838
|
+
* accessToken: '<content_management_api_key>'
|
|
8839
|
+
* })
|
|
8840
|
+
*
|
|
8841
|
+
* client.getSpace('<space_id>')
|
|
8842
|
+
* .then((space) => space.getEnvironment('<environment-id>'))
|
|
8843
|
+
* .then((environment) => environment.getPublishedAssetsWithCursor())
|
|
8844
|
+
* .then((response) => console.log(response.items))
|
|
8845
|
+
* .catch(console.error)
|
|
8846
|
+
* ```
|
|
8847
|
+
*/
|
|
8848
|
+
getPublishedAssetsWithCursor(query = {}) {
|
|
8849
|
+
const raw = this.toPlainObject();
|
|
8850
|
+
const normalizedQueryParams = (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.normalizeCursorPaginationParameters)(query);
|
|
8851
|
+
return makeRequest({
|
|
8852
|
+
entityType: 'Asset',
|
|
8853
|
+
action: 'getPublished',
|
|
8854
|
+
params: {
|
|
8855
|
+
spaceId: raw.sys.space.sys.id,
|
|
8856
|
+
environmentId: raw.sys.id,
|
|
8857
|
+
query: (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createRequestConfig)({
|
|
8858
|
+
query: normalizedQueryParams
|
|
8859
|
+
}).params
|
|
8860
|
+
}
|
|
8861
|
+
}).then(data => wrapAssetTypeCursorPaginatedCollection(makeRequest, (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.normalizeCursorPaginationResponse)(data)));
|
|
8862
|
+
},
|
|
8659
8863
|
/**
|
|
8660
8864
|
* Creates a Asset. After creation, call asset.processForLocale or asset.processForAllLocales to start asset processing.
|
|
8661
8865
|
* @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,6 +10441,111 @@ function createEnvironmentApi(makeRequest) {
|
|
|
10237
10441
|
invocationId
|
|
10238
10442
|
}
|
|
10239
10443
|
}).then(data => (0,_entities_ai_action_invocation__WEBPACK_IMPORTED_MODULE_11__.wrapAiActionInvocation)(makeRequest, data));
|
|
10444
|
+
},
|
|
10445
|
+
/**
|
|
10446
|
+
* Retrieves Semantic Duplicates for the given entity ID
|
|
10447
|
+
* @param payload - Object containing the entityId and optional filters
|
|
10448
|
+
* @return Promise for Semantic Duplicates
|
|
10449
|
+
* @example ```javascript
|
|
10450
|
+
* client.getSpace('<space_id>')
|
|
10451
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
10452
|
+
* .then(environment => environment.getSemanticDuplicates({
|
|
10453
|
+
* entityId: '<entity_id>',
|
|
10454
|
+
* filters: {
|
|
10455
|
+
* contentTypeIds: ['<content_type_id1>', '<content_type_id2>'],
|
|
10456
|
+
* }
|
|
10457
|
+
* })
|
|
10458
|
+
*/
|
|
10459
|
+
getSemanticDuplicates(payload) {
|
|
10460
|
+
const raw = this.toPlainObject();
|
|
10461
|
+
return makeRequest({
|
|
10462
|
+
entityType: 'SemanticDuplicates',
|
|
10463
|
+
action: 'get',
|
|
10464
|
+
params: {
|
|
10465
|
+
spaceId: raw.sys.space.sys.id,
|
|
10466
|
+
environmentId: raw.sys.id
|
|
10467
|
+
},
|
|
10468
|
+
payload
|
|
10469
|
+
}).then(data => wrapSemanticDuplicates(makeRequest, data));
|
|
10470
|
+
},
|
|
10471
|
+
/**
|
|
10472
|
+
* Retrieves Semantic Recommendations for the given entity ID
|
|
10473
|
+
* @param payload - Object containing the entityId and optional filters
|
|
10474
|
+
* @return Promise for Semantic Recommendations
|
|
10475
|
+
* @example ```javascript
|
|
10476
|
+
* client.getSpace('<space_id>')
|
|
10477
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
10478
|
+
* .then(environment => environment.getSemanticRecommendations({
|
|
10479
|
+
* entityId: '<entity_id>',
|
|
10480
|
+
* filters: {
|
|
10481
|
+
* contentTypeIds: ['<content_type_id1>', '<content_type_id2>'],
|
|
10482
|
+
* }
|
|
10483
|
+
* })
|
|
10484
|
+
*/
|
|
10485
|
+
getSemanticRecommendations(payload) {
|
|
10486
|
+
const raw = this.toPlainObject();
|
|
10487
|
+
return makeRequest({
|
|
10488
|
+
entityType: 'SemanticRecommendations',
|
|
10489
|
+
action: 'get',
|
|
10490
|
+
params: {
|
|
10491
|
+
spaceId: raw.sys.space.sys.id,
|
|
10492
|
+
environmentId: raw.sys.id
|
|
10493
|
+
},
|
|
10494
|
+
payload
|
|
10495
|
+
}).then(data => wrapSemanticRecommendations(makeRequest, data));
|
|
10496
|
+
},
|
|
10497
|
+
/**
|
|
10498
|
+
* Retrieves Semantic Reference Suggestions for the given entity ID and its reference field ID
|
|
10499
|
+
* @param payload - Object containing the entityId and optional filters
|
|
10500
|
+
* @return Promise for Semantic Reference Suggestions
|
|
10501
|
+
* @example ```javascript
|
|
10502
|
+
* client.getSpace('<space_id>')
|
|
10503
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
10504
|
+
* .then(environment => environment.getSemanticRecommendations({
|
|
10505
|
+
* entityId: '<entity_id>',
|
|
10506
|
+
* referenceFieldId: '<reference_field_id>',
|
|
10507
|
+
* filters: {
|
|
10508
|
+
* contentTypeIds: ['<content_type_id1>', '<content_type_id2>'],
|
|
10509
|
+
* }
|
|
10510
|
+
* })
|
|
10511
|
+
*/
|
|
10512
|
+
getSemanticReferenceSuggestions(payload) {
|
|
10513
|
+
const raw = this.toPlainObject();
|
|
10514
|
+
return makeRequest({
|
|
10515
|
+
entityType: 'SemanticReferenceSuggestions',
|
|
10516
|
+
action: 'get',
|
|
10517
|
+
params: {
|
|
10518
|
+
spaceId: raw.sys.space.sys.id,
|
|
10519
|
+
environmentId: raw.sys.id
|
|
10520
|
+
},
|
|
10521
|
+
payload
|
|
10522
|
+
}).then(data => wrapSemanticReferenceSuggestions(makeRequest, data));
|
|
10523
|
+
},
|
|
10524
|
+
/**
|
|
10525
|
+
* Retrieves Semantic Search results for the given query
|
|
10526
|
+
* @param payload - Object containing the search query and optional filters
|
|
10527
|
+
* @return Promise for Semantic Search results
|
|
10528
|
+
* @example ```javascript
|
|
10529
|
+
* client.getSpace('<space_id>')
|
|
10530
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
10531
|
+
* .then(environment => environment.getSemanticSearch({
|
|
10532
|
+
* query: '<search_query>',
|
|
10533
|
+
* filters: {
|
|
10534
|
+
* contentTypeIds: ['<content_type_id1>', '<content_type_id2>'],
|
|
10535
|
+
* }
|
|
10536
|
+
* })
|
|
10537
|
+
*/
|
|
10538
|
+
getSemanticSearch(payload) {
|
|
10539
|
+
const raw = this.toPlainObject();
|
|
10540
|
+
return makeRequest({
|
|
10541
|
+
entityType: 'SemanticSearch',
|
|
10542
|
+
action: 'get',
|
|
10543
|
+
params: {
|
|
10544
|
+
spaceId: raw.sys.space.sys.id,
|
|
10545
|
+
environmentId: raw.sys.id
|
|
10546
|
+
},
|
|
10547
|
+
payload
|
|
10548
|
+
}).then(data => wrapSemanticSearch(makeRequest, data));
|
|
10240
10549
|
}
|
|
10241
10550
|
};
|
|
10242
10551
|
}
|
|
@@ -10671,6 +10980,9 @@ function createOrganizationApi(makeRequest) {
|
|
|
10671
10980
|
const {
|
|
10672
10981
|
wrapSpaceCollection
|
|
10673
10982
|
} = _entities__WEBPACK_IMPORTED_MODULE_1__["default"].space;
|
|
10983
|
+
const {
|
|
10984
|
+
wrapVectorizationStatus
|
|
10985
|
+
} = _entities__WEBPACK_IMPORTED_MODULE_1__["default"].vectorizationStatus;
|
|
10674
10986
|
return {
|
|
10675
10987
|
/**
|
|
10676
10988
|
* Gets a collection of spaces in the organization
|
|
@@ -11894,6 +12206,54 @@ function createOrganizationApi(makeRequest) {
|
|
|
11894
12206
|
query
|
|
11895
12207
|
}
|
|
11896
12208
|
}).then(payload => wrapFunctionCollection(makeRequest, payload));
|
|
12209
|
+
},
|
|
12210
|
+
/**
|
|
12211
|
+
* Gets the vectorization status for the organization
|
|
12212
|
+
* @returns Promise for a VectorizationStatus
|
|
12213
|
+
* @example ```javascript
|
|
12214
|
+
* const contentful = require('contentful-management')
|
|
12215
|
+
* const client = contentful.createClient({
|
|
12216
|
+
* accessToken: '<content_management_api_key>'
|
|
12217
|
+
* })
|
|
12218
|
+
* const org = await client.getOrganization('<org_id>')
|
|
12219
|
+
* const vectorizationStatus = await org.getVectorizationStatus()
|
|
12220
|
+
*/
|
|
12221
|
+
getVectorizationStatus() {
|
|
12222
|
+
const raw = this.toPlainObject();
|
|
12223
|
+
const organizationId = raw.sys.id;
|
|
12224
|
+
return makeRequest({
|
|
12225
|
+
entityType: 'VectorizationStatus',
|
|
12226
|
+
action: 'get',
|
|
12227
|
+
params: {
|
|
12228
|
+
organizationId
|
|
12229
|
+
}
|
|
12230
|
+
}).then(payload => wrapVectorizationStatus(makeRequest, payload));
|
|
12231
|
+
},
|
|
12232
|
+
/**
|
|
12233
|
+
* Updates the vectorization status for the organization
|
|
12234
|
+
* @returns Promise for a VectorizationStatus
|
|
12235
|
+
* @example ```javascript
|
|
12236
|
+
* const contentful = require('contentful-management')
|
|
12237
|
+
* const client = contentful.createClient({
|
|
12238
|
+
* accessToken: '<content_management_api_key>'
|
|
12239
|
+
* })
|
|
12240
|
+
* const org = await client.getOrganization('<org_id>')
|
|
12241
|
+
* const updatedVectorizationStatus = await org.updateVectorizationStatus([
|
|
12242
|
+
* { spaceId: '<space_id1>', enabled: true },
|
|
12243
|
+
* { spaceId: '<space_id2>', enabled: false }
|
|
12244
|
+
* ])
|
|
12245
|
+
*/
|
|
12246
|
+
updateVectorizationStatus(data) {
|
|
12247
|
+
const raw = this.toPlainObject();
|
|
12248
|
+
const organizationId = raw.sys.id;
|
|
12249
|
+
return makeRequest({
|
|
12250
|
+
entityType: 'VectorizationStatus',
|
|
12251
|
+
action: 'update',
|
|
12252
|
+
params: {
|
|
12253
|
+
organizationId
|
|
12254
|
+
},
|
|
12255
|
+
payload: data
|
|
12256
|
+
}).then(payload => wrapVectorizationStatus(makeRequest, payload));
|
|
11897
12257
|
}
|
|
11898
12258
|
};
|
|
11899
12259
|
}
|
|
@@ -15896,27 +16256,37 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15896
16256
|
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./release-action */ "./entities/release-action.ts");
|
|
15897
16257
|
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./role */ "./entities/role.ts");
|
|
15898
16258
|
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./scheduled-action */ "./entities/scheduled-action.ts");
|
|
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
|
|
16259
|
+
/* harmony import */ var _semantic_duplicates__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./semantic-duplicates */ "./entities/semantic-duplicates.ts");
|
|
16260
|
+
/* harmony import */ var _semantic_recommendations__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./semantic-recommendations */ "./entities/semantic-recommendations.ts");
|
|
16261
|
+
/* harmony import */ var _semantic_reference_suggestions__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./semantic-reference-suggestions */ "./entities/semantic-reference-suggestions.ts");
|
|
16262
|
+
/* harmony import */ var _semantic_search__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./semantic-search */ "./entities/semantic-search.ts");
|
|
16263
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./snapshot */ "./entities/snapshot.ts");
|
|
16264
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./space */ "./entities/space.ts");
|
|
16265
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./space-member */ "./entities/space-member.ts");
|
|
16266
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./space-membership */ "./entities/space-membership.ts");
|
|
16267
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./tag */ "./entities/tag.ts");
|
|
16268
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./task */ "./entities/task.ts");
|
|
16269
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./team */ "./entities/team.ts");
|
|
16270
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./team-membership */ "./entities/team-membership.ts");
|
|
16271
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./team-space-membership */ "./entities/team-space-membership.ts");
|
|
16272
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./ui-config */ "./entities/ui-config.ts");
|
|
16273
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./upload */ "./entities/upload.ts");
|
|
16274
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./usage */ "./entities/usage.ts");
|
|
16275
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./user */ "./entities/user.ts");
|
|
16276
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./user-ui-config */ "./entities/user-ui-config.ts");
|
|
16277
|
+
/* harmony import */ var _vectorization_status__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./vectorization-status */ "./entities/vectorization-status.ts");
|
|
16278
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./webhook */ "./entities/webhook.ts");
|
|
16279
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./workflow-definition */ "./entities/workflow-definition.ts");
|
|
16280
|
+
/* harmony import */ var _concept__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./concept */ "./entities/concept.ts");
|
|
16281
|
+
/* harmony import */ var _concept_scheme__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./concept-scheme */ "./entities/concept-scheme.ts");
|
|
16282
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./resource-provider */ "./entities/resource-provider.ts");
|
|
16283
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./resource-type */ "./entities/resource-type.ts");
|
|
16284
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
|
|
16285
|
+
|
|
16286
|
+
|
|
16287
|
+
|
|
16288
|
+
|
|
16289
|
+
|
|
15920
16290
|
|
|
15921
16291
|
|
|
15922
16292
|
|
|
@@ -16000,8 +16370,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16000
16370
|
assetKey: _asset_key__WEBPACK_IMPORTED_MODULE_16__,
|
|
16001
16371
|
bulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_17__,
|
|
16002
16372
|
comment: _comment__WEBPACK_IMPORTED_MODULE_18__,
|
|
16003
|
-
concept:
|
|
16004
|
-
conceptScheme:
|
|
16373
|
+
concept: _concept__WEBPACK_IMPORTED_MODULE_62__,
|
|
16374
|
+
conceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_63__,
|
|
16005
16375
|
contentType: _content_type__WEBPACK_IMPORTED_MODULE_19__,
|
|
16006
16376
|
editorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_20__,
|
|
16007
16377
|
entry: _entry__WEBPACK_IMPORTED_MODULE_21__,
|
|
@@ -16021,27 +16391,32 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16021
16391
|
previewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_36__,
|
|
16022
16392
|
release: _release__WEBPACK_IMPORTED_MODULE_37__,
|
|
16023
16393
|
releaseAction: _release_action__WEBPACK_IMPORTED_MODULE_38__,
|
|
16024
|
-
resourceProvider:
|
|
16025
|
-
resourceType:
|
|
16026
|
-
resource:
|
|
16394
|
+
resourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_64__,
|
|
16395
|
+
resourceType: _resource_type__WEBPACK_IMPORTED_MODULE_65__,
|
|
16396
|
+
resource: _resource__WEBPACK_IMPORTED_MODULE_66__,
|
|
16027
16397
|
role: _role__WEBPACK_IMPORTED_MODULE_39__,
|
|
16028
16398
|
scheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_40__,
|
|
16029
|
-
|
|
16030
|
-
|
|
16031
|
-
|
|
16032
|
-
|
|
16033
|
-
|
|
16034
|
-
|
|
16035
|
-
|
|
16036
|
-
|
|
16037
|
-
|
|
16038
|
-
|
|
16039
|
-
|
|
16040
|
-
|
|
16041
|
-
|
|
16042
|
-
|
|
16043
|
-
|
|
16044
|
-
|
|
16399
|
+
semanticDuplicates: _semantic_duplicates__WEBPACK_IMPORTED_MODULE_41__,
|
|
16400
|
+
semanticRecommendations: _semantic_recommendations__WEBPACK_IMPORTED_MODULE_42__,
|
|
16401
|
+
semanticReferenceSuggestions: _semantic_reference_suggestions__WEBPACK_IMPORTED_MODULE_43__,
|
|
16402
|
+
semanticSearch: _semantic_search__WEBPACK_IMPORTED_MODULE_44__,
|
|
16403
|
+
snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_45__,
|
|
16404
|
+
space: _space__WEBPACK_IMPORTED_MODULE_46__,
|
|
16405
|
+
spaceMember: _space_member__WEBPACK_IMPORTED_MODULE_47__,
|
|
16406
|
+
spaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_48__,
|
|
16407
|
+
tag: _tag__WEBPACK_IMPORTED_MODULE_49__,
|
|
16408
|
+
task: _task__WEBPACK_IMPORTED_MODULE_50__,
|
|
16409
|
+
team: _team__WEBPACK_IMPORTED_MODULE_51__,
|
|
16410
|
+
teamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_52__,
|
|
16411
|
+
teamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_53__,
|
|
16412
|
+
uiConfig: _ui_config__WEBPACK_IMPORTED_MODULE_54__,
|
|
16413
|
+
upload: _upload__WEBPACK_IMPORTED_MODULE_55__,
|
|
16414
|
+
usage: _usage__WEBPACK_IMPORTED_MODULE_56__,
|
|
16415
|
+
user: _user__WEBPACK_IMPORTED_MODULE_57__,
|
|
16416
|
+
userUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_58__,
|
|
16417
|
+
vectorizationStatus: _vectorization_status__WEBPACK_IMPORTED_MODULE_59__,
|
|
16418
|
+
webhook: _webhook__WEBPACK_IMPORTED_MODULE_60__,
|
|
16419
|
+
workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_61__
|
|
16045
16420
|
});
|
|
16046
16421
|
|
|
16047
16422
|
/***/ }),
|
|
@@ -17189,6 +17564,94 @@ const wrapScheduledActionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_
|
|
|
17189
17564
|
|
|
17190
17565
|
/***/ }),
|
|
17191
17566
|
|
|
17567
|
+
/***/ "./entities/semantic-duplicates.ts":
|
|
17568
|
+
/*!*****************************************!*\
|
|
17569
|
+
!*** ./entities/semantic-duplicates.ts ***!
|
|
17570
|
+
\*****************************************/
|
|
17571
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17572
|
+
|
|
17573
|
+
"use strict";
|
|
17574
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17575
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17576
|
+
/* harmony export */ wrapSemanticDuplicates: () => (/* binding */ wrapSemanticDuplicates)
|
|
17577
|
+
/* harmony export */ });
|
|
17578
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
17579
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
17580
|
+
|
|
17581
|
+
|
|
17582
|
+
function wrapSemanticDuplicates(_makeRequest, data) {
|
|
17583
|
+
const result = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
17584
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(result);
|
|
17585
|
+
}
|
|
17586
|
+
|
|
17587
|
+
/***/ }),
|
|
17588
|
+
|
|
17589
|
+
/***/ "./entities/semantic-recommendations.ts":
|
|
17590
|
+
/*!**********************************************!*\
|
|
17591
|
+
!*** ./entities/semantic-recommendations.ts ***!
|
|
17592
|
+
\**********************************************/
|
|
17593
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17594
|
+
|
|
17595
|
+
"use strict";
|
|
17596
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17597
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17598
|
+
/* harmony export */ wrapSemanticRecommendations: () => (/* binding */ wrapSemanticRecommendations)
|
|
17599
|
+
/* harmony export */ });
|
|
17600
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
17601
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
17602
|
+
|
|
17603
|
+
|
|
17604
|
+
function wrapSemanticRecommendations(_makeRequest, data) {
|
|
17605
|
+
const result = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
17606
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(result);
|
|
17607
|
+
}
|
|
17608
|
+
|
|
17609
|
+
/***/ }),
|
|
17610
|
+
|
|
17611
|
+
/***/ "./entities/semantic-reference-suggestions.ts":
|
|
17612
|
+
/*!****************************************************!*\
|
|
17613
|
+
!*** ./entities/semantic-reference-suggestions.ts ***!
|
|
17614
|
+
\****************************************************/
|
|
17615
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17616
|
+
|
|
17617
|
+
"use strict";
|
|
17618
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17619
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17620
|
+
/* harmony export */ wrapSemanticReferenceSuggestions: () => (/* binding */ wrapSemanticReferenceSuggestions)
|
|
17621
|
+
/* harmony export */ });
|
|
17622
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
17623
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
17624
|
+
|
|
17625
|
+
|
|
17626
|
+
function wrapSemanticReferenceSuggestions(_makeRequest, data) {
|
|
17627
|
+
const result = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
17628
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(result);
|
|
17629
|
+
}
|
|
17630
|
+
|
|
17631
|
+
/***/ }),
|
|
17632
|
+
|
|
17633
|
+
/***/ "./entities/semantic-search.ts":
|
|
17634
|
+
/*!*************************************!*\
|
|
17635
|
+
!*** ./entities/semantic-search.ts ***!
|
|
17636
|
+
\*************************************/
|
|
17637
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17638
|
+
|
|
17639
|
+
"use strict";
|
|
17640
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17641
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17642
|
+
/* harmony export */ wrapSemanticSearch: () => (/* binding */ wrapSemanticSearch)
|
|
17643
|
+
/* harmony export */ });
|
|
17644
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
17645
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
17646
|
+
|
|
17647
|
+
|
|
17648
|
+
function wrapSemanticSearch(_makeRequest, data) {
|
|
17649
|
+
const result = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
17650
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(result);
|
|
17651
|
+
}
|
|
17652
|
+
|
|
17653
|
+
/***/ }),
|
|
17654
|
+
|
|
17192
17655
|
/***/ "./entities/snapshot.ts":
|
|
17193
17656
|
/*!******************************!*\
|
|
17194
17657
|
!*** ./entities/snapshot.ts ***!
|
|
@@ -17947,6 +18410,37 @@ const wrapUserCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_3__.wrapCol
|
|
|
17947
18410
|
|
|
17948
18411
|
/***/ }),
|
|
17949
18412
|
|
|
18413
|
+
/***/ "./entities/vectorization-status.ts":
|
|
18414
|
+
/*!******************************************!*\
|
|
18415
|
+
!*** ./entities/vectorization-status.ts ***!
|
|
18416
|
+
\******************************************/
|
|
18417
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
18418
|
+
|
|
18419
|
+
"use strict";
|
|
18420
|
+
__webpack_require__.r(__webpack_exports__);
|
|
18421
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18422
|
+
/* harmony export */ EmbeddingSetStatus: () => (/* binding */ EmbeddingSetStatus),
|
|
18423
|
+
/* harmony export */ wrapVectorizationStatus: () => (/* binding */ wrapVectorizationStatus)
|
|
18424
|
+
/* harmony export */ });
|
|
18425
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
18426
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
18427
|
+
|
|
18428
|
+
|
|
18429
|
+
let EmbeddingSetStatus = /*#__PURE__*/function (EmbeddingSetStatus) {
|
|
18430
|
+
EmbeddingSetStatus["ACTIVE"] = "ACTIVE";
|
|
18431
|
+
EmbeddingSetStatus["PENDING"] = "PENDING";
|
|
18432
|
+
EmbeddingSetStatus["ERROR"] = "ERROR";
|
|
18433
|
+
EmbeddingSetStatus["DISABLED"] = "DISABLED";
|
|
18434
|
+
EmbeddingSetStatus["DELETING"] = "DELETING";
|
|
18435
|
+
return EmbeddingSetStatus;
|
|
18436
|
+
}({});
|
|
18437
|
+
function wrapVectorizationStatus(_makeRequest, data) {
|
|
18438
|
+
const vectorizationStatus = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
18439
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(vectorizationStatus);
|
|
18440
|
+
}
|
|
18441
|
+
|
|
18442
|
+
/***/ }),
|
|
18443
|
+
|
|
17950
18444
|
/***/ "./entities/webhook.ts":
|
|
17951
18445
|
/*!*****************************!*\
|
|
17952
18446
|
!*** ./entities/webhook.ts ***!
|
|
@@ -18791,6 +19285,7 @@ const createPlainClient = (makeRequest, defaults) => {
|
|
|
18791
19285
|
},
|
|
18792
19286
|
entry: {
|
|
18793
19287
|
getPublished: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'getPublished'),
|
|
19288
|
+
getPublishedWithCursor: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'getPublishedWithCursor'),
|
|
18794
19289
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'getMany'),
|
|
18795
19290
|
getManyWithCursor: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'getManyWithCursor'),
|
|
18796
19291
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Entry', 'get'),
|
|
@@ -18807,6 +19302,7 @@ const createPlainClient = (makeRequest, defaults) => {
|
|
|
18807
19302
|
},
|
|
18808
19303
|
asset: {
|
|
18809
19304
|
getPublished: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'getPublished'),
|
|
19305
|
+
getPublishedWithCursor: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'getPublishedWithCursor'),
|
|
18810
19306
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'getMany'),
|
|
18811
19307
|
getManyWithCursor: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'getManyWithCursor'),
|
|
18812
19308
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Asset', 'get'),
|
|
@@ -19055,6 +19551,18 @@ const createPlainClient = (makeRequest, defaults) => {
|
|
|
19055
19551
|
delete: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'OAuthApplication', 'delete'),
|
|
19056
19552
|
create: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'OAuthApplication', 'create')
|
|
19057
19553
|
},
|
|
19554
|
+
semanticDuplicates: {
|
|
19555
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SemanticDuplicates', 'get')
|
|
19556
|
+
},
|
|
19557
|
+
semanticRecommendations: {
|
|
19558
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SemanticRecommendations', 'get')
|
|
19559
|
+
},
|
|
19560
|
+
semanticReferenceSuggestions: {
|
|
19561
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SemanticReferenceSuggestions', 'get')
|
|
19562
|
+
},
|
|
19563
|
+
semanticSearch: {
|
|
19564
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SemanticSearch', 'get')
|
|
19565
|
+
},
|
|
19058
19566
|
spaceMember: {
|
|
19059
19567
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SpaceMember', 'get'),
|
|
19060
19568
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'SpaceMember', 'getMany')
|
|
@@ -19102,6 +19610,10 @@ const createPlainClient = (makeRequest, defaults) => {
|
|
|
19102
19610
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'UserUIConfig', 'get'),
|
|
19103
19611
|
update: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'UserUIConfig', 'update')
|
|
19104
19612
|
},
|
|
19613
|
+
vectorizationStatus: {
|
|
19614
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'VectorizationStatus', 'get'),
|
|
19615
|
+
update: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'VectorizationStatus', 'update')
|
|
19616
|
+
},
|
|
19105
19617
|
workflowDefinition: {
|
|
19106
19618
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'WorkflowDefinition', 'get'),
|
|
19107
19619
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'WorkflowDefinition', 'getMany'),
|