contentful-management 11.49.0-beta.1 → 11.49.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 +830 -264
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +806 -257
- 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/ai-action-invocation.js +6 -0
- package/dist/es-modules/adapters/REST/endpoints/ai-action.js +61 -0
- package/dist/es-modules/adapters/REST/endpoints/index.js +4 -0
- package/dist/es-modules/adapters/REST/make-request.js +1 -5
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/es-modules/create-environment-api.js +61 -0
- package/dist/es-modules/create-space-api.js +186 -0
- package/dist/es-modules/entities/ai-action-invocation.js +46 -0
- package/dist/es-modules/entities/ai-action.js +85 -0
- package/dist/es-modules/entities/index.js +4 -0
- package/dist/es-modules/plain/entities/ai-action-invocation.js +1 -0
- package/dist/es-modules/plain/entities/ai-action.js +1 -0
- package/dist/es-modules/plain/plain-client.js +13 -0
- package/dist/typings/adapters/REST/endpoints/ai-action-invocation.d.ts +2 -0
- package/dist/typings/adapters/REST/endpoints/ai-action.d.ts +9 -0
- package/dist/typings/adapters/REST/endpoints/index.d.ts +4 -0
- package/dist/typings/common-types.d.ts +75 -0
- package/dist/typings/constants/editor-interface-defaults/controls-defaults.d.ts +1 -1
- package/dist/typings/create-environment-api.d.ts +37 -0
- package/dist/typings/create-space-api.d.ts +100 -0
- package/dist/typings/entities/ai-action-invocation.d.ts +90 -0
- package/dist/typings/entities/ai-action.d.ts +97 -0
- package/dist/typings/entities/app-event-subscription.d.ts +8 -2
- package/dist/typings/entities/index.d.ts +4 -0
- package/dist/typings/export-types.d.ts +2 -0
- package/dist/typings/plain/common-types.d.ts +5 -0
- package/dist/typings/plain/entities/ai-action-invocation.d.ts +18 -0
- package/dist/typings/plain/entities/ai-action.d.ts +84 -0
- package/dist/typings/plain/entities/app-event-subscription.d.ts +25 -0
- package/package.json +2 -2
|
@@ -162,6 +162,110 @@ var getManyForOrganization = function getManyForOrganization(http, params) {
|
|
|
162
162
|
|
|
163
163
|
/***/ }),
|
|
164
164
|
|
|
165
|
+
/***/ "./adapters/REST/endpoints/ai-action-invocation.ts":
|
|
166
|
+
/*!*********************************************************!*\
|
|
167
|
+
!*** ./adapters/REST/endpoints/ai-action-invocation.ts ***!
|
|
168
|
+
\*********************************************************/
|
|
169
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
170
|
+
|
|
171
|
+
"use strict";
|
|
172
|
+
__webpack_require__.r(__webpack_exports__);
|
|
173
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
174
|
+
/* harmony export */ get: function() { return /* binding */ get; }
|
|
175
|
+
/* harmony export */ });
|
|
176
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
177
|
+
|
|
178
|
+
var get = function get(http, params, headers) {
|
|
179
|
+
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/ai/actions/").concat(params.aiActionId, "/invocations/").concat(params.invocationId), {
|
|
180
|
+
headers: headers
|
|
181
|
+
});
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
/***/ }),
|
|
185
|
+
|
|
186
|
+
/***/ "./adapters/REST/endpoints/ai-action.ts":
|
|
187
|
+
/*!**********************************************!*\
|
|
188
|
+
!*** ./adapters/REST/endpoints/ai-action.ts ***!
|
|
189
|
+
\**********************************************/
|
|
190
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
191
|
+
|
|
192
|
+
"use strict";
|
|
193
|
+
__webpack_require__.r(__webpack_exports__);
|
|
194
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
195
|
+
/* harmony export */ create: function() { return /* binding */ create; },
|
|
196
|
+
/* harmony export */ del: function() { return /* binding */ del; },
|
|
197
|
+
/* harmony export */ get: function() { return /* binding */ get; },
|
|
198
|
+
/* harmony export */ getMany: function() { return /* binding */ getMany; },
|
|
199
|
+
/* harmony export */ invoke: function() { return /* binding */ invoke; },
|
|
200
|
+
/* harmony export */ publish: function() { return /* binding */ publish; },
|
|
201
|
+
/* harmony export */ unpublish: function() { return /* binding */ unpublish; },
|
|
202
|
+
/* harmony export */ update: function() { return /* binding */ update; }
|
|
203
|
+
/* harmony export */ });
|
|
204
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
205
|
+
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
206
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
207
|
+
var _excluded = ["sys"];
|
|
208
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
209
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
210
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
211
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
212
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
213
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
214
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
var get = function get(http, params, headers) {
|
|
218
|
+
return _raw__WEBPACK_IMPORTED_MODULE_1__.get(http, "/spaces/".concat(params.spaceId, "/ai/actions/").concat(params.aiActionId), {
|
|
219
|
+
headers: headers
|
|
220
|
+
});
|
|
221
|
+
};
|
|
222
|
+
var getMany = function getMany(http, params, headers) {
|
|
223
|
+
return _raw__WEBPACK_IMPORTED_MODULE_1__.get(http, "/spaces/".concat(params.spaceId, "/ai/actions"), {
|
|
224
|
+
params: params.query,
|
|
225
|
+
headers: headers
|
|
226
|
+
});
|
|
227
|
+
};
|
|
228
|
+
var create = function create(http, params, data, headers) {
|
|
229
|
+
return _raw__WEBPACK_IMPORTED_MODULE_1__.post(http, "/spaces/".concat(params.spaceId, "/ai/actions"), data, {
|
|
230
|
+
headers: headers
|
|
231
|
+
});
|
|
232
|
+
};
|
|
233
|
+
var update = function update(http, params, rawData, headers) {
|
|
234
|
+
var _rawData$sys$version;
|
|
235
|
+
var data = (0,fast_copy__WEBPACK_IMPORTED_MODULE_0__["default"])(rawData);
|
|
236
|
+
var sys = data.sys,
|
|
237
|
+
payload = _objectWithoutProperties(data, _excluded);
|
|
238
|
+
return _raw__WEBPACK_IMPORTED_MODULE_1__.put(http, "/spaces/".concat(params.spaceId, "/ai/actions/").concat(params.aiActionId), payload, {
|
|
239
|
+
headers: _objectSpread({
|
|
240
|
+
'X-Contentful-Version': (_rawData$sys$version = rawData.sys.version) !== null && _rawData$sys$version !== void 0 ? _rawData$sys$version : 0
|
|
241
|
+
}, headers)
|
|
242
|
+
});
|
|
243
|
+
};
|
|
244
|
+
var del = function del(http, params, headers) {
|
|
245
|
+
return _raw__WEBPACK_IMPORTED_MODULE_1__.del(http, "/spaces/".concat(params.spaceId, "/ai/actions/").concat(params.aiActionId), {
|
|
246
|
+
headers: headers
|
|
247
|
+
});
|
|
248
|
+
};
|
|
249
|
+
var publish = function publish(http, params, rawData, headers) {
|
|
250
|
+
return _raw__WEBPACK_IMPORTED_MODULE_1__.put(http, "/spaces/".concat(params.spaceId, "/ai/actions/").concat(params.aiActionId, "/published"), null, {
|
|
251
|
+
headers: _objectSpread({
|
|
252
|
+
'X-Contentful-Version': rawData.sys.version
|
|
253
|
+
}, headers)
|
|
254
|
+
});
|
|
255
|
+
};
|
|
256
|
+
var unpublish = function unpublish(http, params, headers) {
|
|
257
|
+
return _raw__WEBPACK_IMPORTED_MODULE_1__.del(http, "/spaces/".concat(params.spaceId, "/ai/actions/").concat(params.aiActionId, "/published"), {
|
|
258
|
+
headers: headers
|
|
259
|
+
});
|
|
260
|
+
};
|
|
261
|
+
var invoke = function invoke(http, params, data, headers) {
|
|
262
|
+
return _raw__WEBPACK_IMPORTED_MODULE_1__.post(http, "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/ai/actions/").concat(params.aiActionId, "/invoke"), data, {
|
|
263
|
+
headers: headers
|
|
264
|
+
});
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
/***/ }),
|
|
268
|
+
|
|
165
269
|
/***/ "./adapters/REST/endpoints/api-key.ts":
|
|
166
270
|
/*!********************************************!*\
|
|
167
271
|
!*** ./adapters/REST/endpoints/api-key.ts ***!
|
|
@@ -2396,70 +2500,74 @@ var request = function request(http, _ref6) {
|
|
|
2396
2500
|
|
|
2397
2501
|
"use strict";
|
|
2398
2502
|
__webpack_require__.r(__webpack_exports__);
|
|
2399
|
-
/* harmony import */ var
|
|
2400
|
-
/* harmony import */ var
|
|
2401
|
-
/* harmony import */ var
|
|
2402
|
-
/* harmony import */ var
|
|
2403
|
-
/* harmony import */ var
|
|
2404
|
-
/* harmony import */ var
|
|
2405
|
-
/* harmony import */ var
|
|
2406
|
-
/* harmony import */ var
|
|
2407
|
-
/* harmony import */ var
|
|
2408
|
-
/* harmony import */ var
|
|
2409
|
-
/* harmony import */ var
|
|
2410
|
-
/* harmony import */ var
|
|
2411
|
-
/* harmony import */ var
|
|
2412
|
-
/* harmony import */ var
|
|
2413
|
-
/* harmony import */ var
|
|
2414
|
-
/* harmony import */ var
|
|
2415
|
-
/* harmony import */ var
|
|
2416
|
-
/* harmony import */ var
|
|
2417
|
-
/* harmony import */ var
|
|
2418
|
-
/* harmony import */ var
|
|
2419
|
-
/* harmony import */ var
|
|
2420
|
-
/* harmony import */ var
|
|
2421
|
-
/* harmony import */ var
|
|
2422
|
-
/* harmony import */ var
|
|
2423
|
-
/* harmony import */ var
|
|
2424
|
-
/* harmony import */ var
|
|
2425
|
-
/* harmony import */ var
|
|
2426
|
-
/* harmony import */ var
|
|
2427
|
-
/* harmony import */ var
|
|
2428
|
-
/* harmony import */ var
|
|
2429
|
-
/* harmony import */ var
|
|
2430
|
-
/* harmony import */ var
|
|
2431
|
-
/* harmony import */ var
|
|
2432
|
-
/* harmony import */ var
|
|
2433
|
-
/* harmony import */ var
|
|
2434
|
-
/* harmony import */ var
|
|
2435
|
-
/* harmony import */ var
|
|
2436
|
-
/* harmony import */ var
|
|
2437
|
-
/* harmony import */ var
|
|
2438
|
-
/* harmony import */ var
|
|
2439
|
-
/* harmony import */ var
|
|
2440
|
-
/* harmony import */ var
|
|
2441
|
-
/* harmony import */ var
|
|
2442
|
-
/* harmony import */ var
|
|
2443
|
-
/* harmony import */ var
|
|
2444
|
-
/* harmony import */ var
|
|
2445
|
-
/* harmony import */ var
|
|
2446
|
-
/* harmony import */ var
|
|
2447
|
-
/* harmony import */ var
|
|
2448
|
-
/* harmony import */ var
|
|
2449
|
-
/* harmony import */ var
|
|
2450
|
-
/* harmony import */ var
|
|
2451
|
-
/* harmony import */ var
|
|
2452
|
-
/* harmony import */ var
|
|
2453
|
-
/* harmony import */ var
|
|
2454
|
-
/* harmony import */ var
|
|
2455
|
-
/* harmony import */ var
|
|
2456
|
-
/* harmony import */ var
|
|
2457
|
-
/* harmony import */ var
|
|
2458
|
-
/* harmony import */ var
|
|
2459
|
-
/* harmony import */ var
|
|
2460
|
-
/* harmony import */ var
|
|
2461
|
-
/* harmony import */ var
|
|
2462
|
-
/* harmony import */ var
|
|
2503
|
+
/* harmony import */ var _ai_action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ai-action */ "./adapters/REST/endpoints/ai-action.ts");
|
|
2504
|
+
/* harmony import */ var _ai_action_invocation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ai-action-invocation */ "./adapters/REST/endpoints/ai-action-invocation.ts");
|
|
2505
|
+
/* harmony import */ var _access_token__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./access-token */ "./adapters/REST/endpoints/access-token.ts");
|
|
2506
|
+
/* harmony import */ var _api_key__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./api-key */ "./adapters/REST/endpoints/api-key.ts");
|
|
2507
|
+
/* harmony import */ var _app_access_token__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./app-access-token */ "./adapters/REST/endpoints/app-access-token.ts");
|
|
2508
|
+
/* harmony import */ var _app_action__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./app-action */ "./adapters/REST/endpoints/app-action.ts");
|
|
2509
|
+
/* harmony import */ var _app_action_call__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./app-action-call */ "./adapters/REST/endpoints/app-action-call.ts");
|
|
2510
|
+
/* harmony import */ var _app_bundle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./app-bundle */ "./adapters/REST/endpoints/app-bundle.ts");
|
|
2511
|
+
/* harmony import */ var _app_definition__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./app-definition */ "./adapters/REST/endpoints/app-definition.ts");
|
|
2512
|
+
/* harmony import */ var _app_details__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./app-details */ "./adapters/REST/endpoints/app-details.ts");
|
|
2513
|
+
/* harmony import */ var _app_event_subscription__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./app-event-subscription */ "./adapters/REST/endpoints/app-event-subscription.ts");
|
|
2514
|
+
/* harmony import */ var _app_installation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./app-installation */ "./adapters/REST/endpoints/app-installation.ts");
|
|
2515
|
+
/* harmony import */ var _app_key__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./app-key */ "./adapters/REST/endpoints/app-key.ts");
|
|
2516
|
+
/* harmony import */ var _app_signed_request__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./app-signed-request */ "./adapters/REST/endpoints/app-signed-request.ts");
|
|
2517
|
+
/* harmony import */ var _app_signing_secret__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./app-signing-secret */ "./adapters/REST/endpoints/app-signing-secret.ts");
|
|
2518
|
+
/* harmony import */ var _app_upload__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./app-upload */ "./adapters/REST/endpoints/app-upload.ts");
|
|
2519
|
+
/* harmony import */ var _asset__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./asset */ "./adapters/REST/endpoints/asset.ts");
|
|
2520
|
+
/* harmony import */ var _asset_key__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./asset-key */ "./adapters/REST/endpoints/asset-key.ts");
|
|
2521
|
+
/* harmony import */ var _bulk_action__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./bulk-action */ "./adapters/REST/endpoints/bulk-action.ts");
|
|
2522
|
+
/* harmony import */ var _comment__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./comment */ "./adapters/REST/endpoints/comment.ts");
|
|
2523
|
+
/* harmony import */ var _concept__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./concept */ "./adapters/REST/endpoints/concept.ts");
|
|
2524
|
+
/* harmony import */ var _concept_scheme__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./concept-scheme */ "./adapters/REST/endpoints/concept-scheme.ts");
|
|
2525
|
+
/* harmony import */ var _content_type__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./content-type */ "./adapters/REST/endpoints/content-type.ts");
|
|
2526
|
+
/* harmony import */ var _editor_interface__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./editor-interface */ "./adapters/REST/endpoints/editor-interface.ts");
|
|
2527
|
+
/* harmony import */ var _entry__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./entry */ "./adapters/REST/endpoints/entry.ts");
|
|
2528
|
+
/* harmony import */ var _environment__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./environment */ "./adapters/REST/endpoints/environment.ts");
|
|
2529
|
+
/* harmony import */ var _environment_alias__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./environment-alias */ "./adapters/REST/endpoints/environment-alias.ts");
|
|
2530
|
+
/* harmony import */ var _environment_template__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./environment-template */ "./adapters/REST/endpoints/environment-template.ts");
|
|
2531
|
+
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./environment-template-installation */ "./adapters/REST/endpoints/environment-template-installation.ts");
|
|
2532
|
+
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./extension */ "./adapters/REST/endpoints/extension.ts");
|
|
2533
|
+
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./function */ "./adapters/REST/endpoints/function.ts");
|
|
2534
|
+
/* harmony import */ var _function_log__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./function-log */ "./adapters/REST/endpoints/function-log.ts");
|
|
2535
|
+
/* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./http */ "./adapters/REST/endpoints/http.ts");
|
|
2536
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./locale */ "./adapters/REST/endpoints/locale.ts");
|
|
2537
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./organization */ "./adapters/REST/endpoints/organization.ts");
|
|
2538
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./organization-invitation */ "./adapters/REST/endpoints/organization-invitation.ts");
|
|
2539
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./organization-membership */ "./adapters/REST/endpoints/organization-membership.ts");
|
|
2540
|
+
/* harmony import */ var _oauth_application__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./oauth-application */ "./adapters/REST/endpoints/oauth-application.ts");
|
|
2541
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./personal-access-token */ "./adapters/REST/endpoints/personal-access-token.ts");
|
|
2542
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./preview-api-key */ "./adapters/REST/endpoints/preview-api-key.ts");
|
|
2543
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./release */ "./adapters/REST/endpoints/release.ts");
|
|
2544
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./release-action */ "./adapters/REST/endpoints/release-action.ts");
|
|
2545
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./resource */ "./adapters/REST/endpoints/resource.ts");
|
|
2546
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./resource-provider */ "./adapters/REST/endpoints/resource-provider.ts");
|
|
2547
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./resource-type */ "./adapters/REST/endpoints/resource-type.ts");
|
|
2548
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./role */ "./adapters/REST/endpoints/role.ts");
|
|
2549
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./scheduled-action */ "./adapters/REST/endpoints/scheduled-action.ts");
|
|
2550
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./snapshot */ "./adapters/REST/endpoints/snapshot.ts");
|
|
2551
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./space */ "./adapters/REST/endpoints/space.ts");
|
|
2552
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./space-member */ "./adapters/REST/endpoints/space-member.ts");
|
|
2553
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./space-membership */ "./adapters/REST/endpoints/space-membership.ts");
|
|
2554
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./tag */ "./adapters/REST/endpoints/tag.ts");
|
|
2555
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./task */ "./adapters/REST/endpoints/task.ts");
|
|
2556
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./team */ "./adapters/REST/endpoints/team.ts");
|
|
2557
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./team-membership */ "./adapters/REST/endpoints/team-membership.ts");
|
|
2558
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./team-space-membership */ "./adapters/REST/endpoints/team-space-membership.ts");
|
|
2559
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./ui-config */ "./adapters/REST/endpoints/ui-config.ts");
|
|
2560
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./upload */ "./adapters/REST/endpoints/upload.ts");
|
|
2561
|
+
/* harmony import */ var _upload_credentials__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./upload-credentials */ "./adapters/REST/endpoints/upload-credentials.ts");
|
|
2562
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./usage */ "./adapters/REST/endpoints/usage.ts");
|
|
2563
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./user */ "./adapters/REST/endpoints/user.ts");
|
|
2564
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./user-ui-config */ "./adapters/REST/endpoints/user-ui-config.ts");
|
|
2565
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./webhook */ "./adapters/REST/endpoints/webhook.ts");
|
|
2566
|
+
/* harmony import */ var _workflow__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./workflow */ "./adapters/REST/endpoints/workflow.ts");
|
|
2567
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./workflow-definition */ "./adapters/REST/endpoints/workflow-definition.ts");
|
|
2568
|
+
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
2569
|
+
|
|
2570
|
+
|
|
2463
2571
|
|
|
2464
2572
|
|
|
2465
2573
|
|
|
@@ -2525,70 +2633,72 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2525
2633
|
|
|
2526
2634
|
|
|
2527
2635
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2636
|
+
AiAction: _ai_action__WEBPACK_IMPORTED_MODULE_0__,
|
|
2637
|
+
AiActionInvocation: _ai_action_invocation__WEBPACK_IMPORTED_MODULE_1__,
|
|
2638
|
+
ApiKey: _api_key__WEBPACK_IMPORTED_MODULE_3__,
|
|
2639
|
+
AppAction: _app_action__WEBPACK_IMPORTED_MODULE_5__,
|
|
2640
|
+
AppActionCall: _app_action_call__WEBPACK_IMPORTED_MODULE_6__,
|
|
2641
|
+
AppBundle: _app_bundle__WEBPACK_IMPORTED_MODULE_7__,
|
|
2642
|
+
AppDefinition: _app_definition__WEBPACK_IMPORTED_MODULE_8__,
|
|
2643
|
+
AppInstallation: _app_installation__WEBPACK_IMPORTED_MODULE_11__,
|
|
2644
|
+
AppUpload: _app_upload__WEBPACK_IMPORTED_MODULE_15__,
|
|
2645
|
+
AppSignedRequest: _app_signed_request__WEBPACK_IMPORTED_MODULE_13__,
|
|
2646
|
+
AppSigningSecret: _app_signing_secret__WEBPACK_IMPORTED_MODULE_14__,
|
|
2647
|
+
AppEventSubscription: _app_event_subscription__WEBPACK_IMPORTED_MODULE_10__,
|
|
2648
|
+
AppKey: _app_key__WEBPACK_IMPORTED_MODULE_12__,
|
|
2649
|
+
AppAccessToken: _app_access_token__WEBPACK_IMPORTED_MODULE_4__,
|
|
2650
|
+
AppDetails: _app_details__WEBPACK_IMPORTED_MODULE_9__,
|
|
2651
|
+
Asset: _asset__WEBPACK_IMPORTED_MODULE_16__,
|
|
2652
|
+
AssetKey: _asset_key__WEBPACK_IMPORTED_MODULE_17__,
|
|
2653
|
+
BulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_18__,
|
|
2654
|
+
Comment: _comment__WEBPACK_IMPORTED_MODULE_19__,
|
|
2655
|
+
Concept: _concept__WEBPACK_IMPORTED_MODULE_20__,
|
|
2656
|
+
ConceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_21__,
|
|
2657
|
+
ContentType: _content_type__WEBPACK_IMPORTED_MODULE_22__,
|
|
2658
|
+
EditorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_23__,
|
|
2659
|
+
Entry: _entry__WEBPACK_IMPORTED_MODULE_24__,
|
|
2660
|
+
Environment: _environment__WEBPACK_IMPORTED_MODULE_25__,
|
|
2661
|
+
EnvironmentAlias: _environment_alias__WEBPACK_IMPORTED_MODULE_26__,
|
|
2662
|
+
EnvironmentTemplate: _environment_template__WEBPACK_IMPORTED_MODULE_27__,
|
|
2663
|
+
EnvironmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_28__,
|
|
2664
|
+
Extension: _extension__WEBPACK_IMPORTED_MODULE_29__,
|
|
2665
|
+
Function: _function__WEBPACK_IMPORTED_MODULE_30__,
|
|
2666
|
+
FunctionLog: _function_log__WEBPACK_IMPORTED_MODULE_31__,
|
|
2667
|
+
Http: _http__WEBPACK_IMPORTED_MODULE_32__,
|
|
2668
|
+
Locale: _locale__WEBPACK_IMPORTED_MODULE_33__,
|
|
2669
|
+
Organization: _organization__WEBPACK_IMPORTED_MODULE_34__,
|
|
2670
|
+
OrganizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_35__,
|
|
2671
|
+
OrganizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_36__,
|
|
2672
|
+
OAuthApplication: _oauth_application__WEBPACK_IMPORTED_MODULE_37__,
|
|
2673
|
+
PersonalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_38__,
|
|
2674
|
+
AccessToken: _access_token__WEBPACK_IMPORTED_MODULE_2__,
|
|
2675
|
+
PreviewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_39__,
|
|
2676
|
+
Release: _release__WEBPACK_IMPORTED_MODULE_40__,
|
|
2677
|
+
ReleaseAction: _release_action__WEBPACK_IMPORTED_MODULE_41__,
|
|
2678
|
+
Resource: _resource__WEBPACK_IMPORTED_MODULE_42__,
|
|
2679
|
+
ResourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_43__,
|
|
2680
|
+
ResourceType: _resource_type__WEBPACK_IMPORTED_MODULE_44__,
|
|
2681
|
+
Role: _role__WEBPACK_IMPORTED_MODULE_45__,
|
|
2682
|
+
ScheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_46__,
|
|
2683
|
+
Snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_47__,
|
|
2684
|
+
Space: _space__WEBPACK_IMPORTED_MODULE_48__,
|
|
2685
|
+
SpaceMember: _space_member__WEBPACK_IMPORTED_MODULE_49__,
|
|
2686
|
+
SpaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_50__,
|
|
2687
|
+
Tag: _tag__WEBPACK_IMPORTED_MODULE_51__,
|
|
2688
|
+
Task: _task__WEBPACK_IMPORTED_MODULE_52__,
|
|
2689
|
+
Team: _team__WEBPACK_IMPORTED_MODULE_53__,
|
|
2690
|
+
TeamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_54__,
|
|
2691
|
+
TeamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_55__,
|
|
2692
|
+
UIConfig: _ui_config__WEBPACK_IMPORTED_MODULE_56__,
|
|
2693
|
+
Upload: _upload__WEBPACK_IMPORTED_MODULE_57__,
|
|
2694
|
+
UploadCredential: _upload_credentials__WEBPACK_IMPORTED_MODULE_58__,
|
|
2695
|
+
Usage: _usage__WEBPACK_IMPORTED_MODULE_59__,
|
|
2696
|
+
User: _user__WEBPACK_IMPORTED_MODULE_60__,
|
|
2697
|
+
UserUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_61__,
|
|
2698
|
+
Webhook: _webhook__WEBPACK_IMPORTED_MODULE_62__,
|
|
2699
|
+
WorkflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_64__,
|
|
2700
|
+
Workflow: _workflow__WEBPACK_IMPORTED_MODULE_63__,
|
|
2701
|
+
WorkflowsChangelog: _workflows_changelog__WEBPACK_IMPORTED_MODULE_65__
|
|
2592
2702
|
});
|
|
2593
2703
|
|
|
2594
2704
|
/***/ }),
|
|
@@ -4715,7 +4825,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
4715
4825
|
var makeRequest = /*#__PURE__*/function () {
|
|
4716
4826
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
|
|
4717
4827
|
var _endpoints$entityType;
|
|
4718
|
-
var axiosInstance, entityType, actionInput, params, payload, headers, userAgent, action, endpoint
|
|
4828
|
+
var axiosInstance, entityType, actionInput, params, payload, headers, userAgent, action, endpoint;
|
|
4719
4829
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
4720
4830
|
while (1) switch (_context.prev = _context.next) {
|
|
4721
4831
|
case 0:
|
|
@@ -4736,18 +4846,8 @@ var makeRequest = /*#__PURE__*/function () {
|
|
|
4736
4846
|
'X-Contentful-User-Agent': userAgent
|
|
4737
4847
|
} : {}));
|
|
4738
4848
|
case 7:
|
|
4739
|
-
response = _context.sent;
|
|
4740
|
-
if (!(response instanceof ReadableStream)) {
|
|
4741
|
-
_context.next = 12;
|
|
4742
|
-
break;
|
|
4743
|
-
}
|
|
4744
|
-
_context.next = 11;
|
|
4745
|
-
return new Response(response).json();
|
|
4746
|
-
case 11:
|
|
4747
4849
|
return _context.abrupt("return", _context.sent);
|
|
4748
|
-
case
|
|
4749
|
-
return _context.abrupt("return", response);
|
|
4750
|
-
case 13:
|
|
4850
|
+
case 8:
|
|
4751
4851
|
case "end":
|
|
4752
4852
|
return _context.stop();
|
|
4753
4853
|
}
|
|
@@ -7092,6 +7192,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7092
7192
|
/* harmony import */ var _entities_environment_template_installation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./entities/environment-template-installation */ "./entities/environment-template-installation.ts");
|
|
7093
7193
|
/* harmony import */ var _entities_function__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./entities/function */ "./entities/function.ts");
|
|
7094
7194
|
/* harmony import */ var _entities_function_log__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./entities/function-log */ "./entities/function-log.ts");
|
|
7195
|
+
/* harmony import */ var _entities_ai_action_invocation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./entities/ai-action-invocation */ "./entities/ai-action-invocation.ts");
|
|
7095
7196
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
7096
7197
|
var _excluded = ["installationId"];
|
|
7097
7198
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -7115,6 +7216,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
7115
7216
|
|
|
7116
7217
|
|
|
7117
7218
|
|
|
7219
|
+
|
|
7118
7220
|
/**
|
|
7119
7221
|
* @private
|
|
7120
7222
|
*/
|
|
@@ -9720,6 +9822,69 @@ function createEnvironmentApi(makeRequest) {
|
|
|
9720
9822
|
}
|
|
9721
9823
|
}, _callee5);
|
|
9722
9824
|
}))();
|
|
9825
|
+
},
|
|
9826
|
+
/**
|
|
9827
|
+
* Invokes an AI Action.
|
|
9828
|
+
* @param aiActionId - The ID of the AI Action to invoke.
|
|
9829
|
+
* @param payload - The invocation payload.
|
|
9830
|
+
* @returns Promise for an AI Action Invocation.
|
|
9831
|
+
* @example ```javascript
|
|
9832
|
+
* client.getSpace('<space_id>')
|
|
9833
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
9834
|
+
* .then(environment => environment.invokeAiAction('<ai_action_id>', {
|
|
9835
|
+
* variables: [ ... ],
|
|
9836
|
+
* outputFormat: 'RichText'
|
|
9837
|
+
* }))
|
|
9838
|
+
* .then(invocation => console.log(invocation))
|
|
9839
|
+
* .catch(console.error)
|
|
9840
|
+
* ```
|
|
9841
|
+
*/
|
|
9842
|
+
invokeAiAction: function invokeAiAction(aiActionId, payload) {
|
|
9843
|
+
var raw = this.toPlainObject();
|
|
9844
|
+
return makeRequest({
|
|
9845
|
+
entityType: 'AiAction',
|
|
9846
|
+
action: 'invoke',
|
|
9847
|
+
params: {
|
|
9848
|
+
spaceId: raw.sys.space.sys.id,
|
|
9849
|
+
environmentId: raw.sys.id,
|
|
9850
|
+
aiActionId: aiActionId
|
|
9851
|
+
},
|
|
9852
|
+
payload: payload
|
|
9853
|
+
}).then(function (data) {
|
|
9854
|
+
return (0,_entities_ai_action_invocation__WEBPACK_IMPORTED_MODULE_10__.wrapAiActionInvocation)(makeRequest, data);
|
|
9855
|
+
});
|
|
9856
|
+
},
|
|
9857
|
+
/**
|
|
9858
|
+
* Retrieves an AI Action Invocation.
|
|
9859
|
+
* @param params - Object containing the AI Action ID and the Invocation ID.
|
|
9860
|
+
* @returns Promise for an AI Action Invocation.
|
|
9861
|
+
* @example ```javascript
|
|
9862
|
+
* client.getSpace('<space_id>')
|
|
9863
|
+
* .then(space => space.getEnvironment('<environment_id>'))
|
|
9864
|
+
* .then(environment => environment.getAiActionInvocation({
|
|
9865
|
+
* aiActionId: '<ai_action_id>',
|
|
9866
|
+
* invocationId: '<invocation_id>'
|
|
9867
|
+
* }))
|
|
9868
|
+
* .then(invocation => console.log(invocation))
|
|
9869
|
+
* .catch(console.error)
|
|
9870
|
+
* ```
|
|
9871
|
+
*/
|
|
9872
|
+
getAiActionInvocation: function getAiActionInvocation(_ref11) {
|
|
9873
|
+
var aiActionId = _ref11.aiActionId,
|
|
9874
|
+
invocationId = _ref11.invocationId;
|
|
9875
|
+
var raw = this.toPlainObject();
|
|
9876
|
+
return makeRequest({
|
|
9877
|
+
entityType: 'AiActionInvocation',
|
|
9878
|
+
action: 'get',
|
|
9879
|
+
params: {
|
|
9880
|
+
spaceId: raw.sys.space.sys.id,
|
|
9881
|
+
environmentId: raw.sys.id,
|
|
9882
|
+
aiActionId: aiActionId,
|
|
9883
|
+
invocationId: invocationId
|
|
9884
|
+
}
|
|
9885
|
+
}).then(function (data) {
|
|
9886
|
+
return (0,_entities_ai_action_invocation__WEBPACK_IMPORTED_MODULE_10__.wrapAiActionInvocation)(makeRequest, data);
|
|
9887
|
+
});
|
|
9723
9888
|
}
|
|
9724
9889
|
};
|
|
9725
9890
|
}
|
|
@@ -11511,6 +11676,12 @@ function createSpaceApi(makeRequest) {
|
|
|
11511
11676
|
var _entities$scheduledAc = _entities__WEBPACK_IMPORTED_MODULE_1__["default"].scheduledAction,
|
|
11512
11677
|
wrapScheduledAction = _entities$scheduledAc.wrapScheduledAction,
|
|
11513
11678
|
wrapScheduledActionCollection = _entities$scheduledAc.wrapScheduledActionCollection;
|
|
11679
|
+
var _entities$aiAction = _entities__WEBPACK_IMPORTED_MODULE_1__["default"].aiAction,
|
|
11680
|
+
wrapAiAction = _entities$aiAction.wrapAiAction,
|
|
11681
|
+
wrapAiActionCollection = _entities$aiAction.wrapAiActionCollection;
|
|
11682
|
+
var _entities$aiActionInv = _entities__WEBPACK_IMPORTED_MODULE_1__["default"].aiActionInvocation,
|
|
11683
|
+
wrapAiActionInvocation = _entities$aiActionInv.wrapAiActionInvocation,
|
|
11684
|
+
wrapAiActionInvocationCollection = _entities$aiActionInv.wrapAiActionInvocationCollection;
|
|
11514
11685
|
return {
|
|
11515
11686
|
/**
|
|
11516
11687
|
* Deletes the space
|
|
@@ -13087,6 +13258,197 @@ function createSpaceApi(makeRequest) {
|
|
|
13087
13258
|
}).then(function (response) {
|
|
13088
13259
|
return wrapScheduledAction(makeRequest, response);
|
|
13089
13260
|
});
|
|
13261
|
+
},
|
|
13262
|
+
/**
|
|
13263
|
+
* Gets a single AI Action.
|
|
13264
|
+
* @param aiActionId - AI Action ID
|
|
13265
|
+
* @return Promise for an AI Action
|
|
13266
|
+
* @example
|
|
13267
|
+
* ```javascript
|
|
13268
|
+
* client.getSpace('<space_id>')
|
|
13269
|
+
* .then((space) => space.getAiAction('<ai_action_id>'))
|
|
13270
|
+
* .then((aiAction) => console.log(aiAction))
|
|
13271
|
+
* .catch(console.error)
|
|
13272
|
+
* ```
|
|
13273
|
+
*/
|
|
13274
|
+
getAiAction: function getAiAction(aiActionId) {
|
|
13275
|
+
var raw = this.toPlainObject();
|
|
13276
|
+
return makeRequest({
|
|
13277
|
+
entityType: 'AiAction',
|
|
13278
|
+
action: 'get',
|
|
13279
|
+
params: {
|
|
13280
|
+
spaceId: raw.sys.id,
|
|
13281
|
+
aiActionId: aiActionId
|
|
13282
|
+
}
|
|
13283
|
+
}).then(function (data) {
|
|
13284
|
+
return wrapAiAction(makeRequest, data);
|
|
13285
|
+
});
|
|
13286
|
+
},
|
|
13287
|
+
/**
|
|
13288
|
+
* Gets a collection of AI Actions.
|
|
13289
|
+
* @param query - Object with search parameters.
|
|
13290
|
+
* @return Promise for a collection of AI Actions
|
|
13291
|
+
* @example
|
|
13292
|
+
* ```javascript
|
|
13293
|
+
* client.getSpace('<space_id>')
|
|
13294
|
+
* .then((space) => space.getAiActions({ limit: 10 }))
|
|
13295
|
+
* .then((response) => console.log(response.items))
|
|
13296
|
+
* .catch(console.error)
|
|
13297
|
+
* ```
|
|
13298
|
+
*/
|
|
13299
|
+
getAiActions: function getAiActions() {
|
|
13300
|
+
var query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
13301
|
+
var raw = this.toPlainObject();
|
|
13302
|
+
return makeRequest({
|
|
13303
|
+
entityType: 'AiAction',
|
|
13304
|
+
action: 'getMany',
|
|
13305
|
+
params: {
|
|
13306
|
+
spaceId: raw.sys.id,
|
|
13307
|
+
query: query
|
|
13308
|
+
}
|
|
13309
|
+
}).then(function (data) {
|
|
13310
|
+
return wrapAiActionCollection(makeRequest, data);
|
|
13311
|
+
});
|
|
13312
|
+
},
|
|
13313
|
+
/**
|
|
13314
|
+
* Creates an AI Action.
|
|
13315
|
+
* @param data - Object representation of the AI Action to be created
|
|
13316
|
+
* @return Promise for the newly created AI Action
|
|
13317
|
+
* @example
|
|
13318
|
+
* ```javascript
|
|
13319
|
+
* client.getSpace('<space_id>')
|
|
13320
|
+
* .then((space) => space.createAiAction({
|
|
13321
|
+
* name: 'My AI Action',
|
|
13322
|
+
* description: 'Description here',
|
|
13323
|
+
* configuration: { modelType: 'model-x', modelTemperature: 0.7 },
|
|
13324
|
+
* instruction: { template: 'Do something: {{var.input}}', variables: [], conditions: [] },
|
|
13325
|
+
* testCases: []
|
|
13326
|
+
* }))
|
|
13327
|
+
* .then((aiAction) => console.log(aiAction))
|
|
13328
|
+
* .catch(console.error)
|
|
13329
|
+
* ```
|
|
13330
|
+
*/
|
|
13331
|
+
createAiAction: function createAiAction(data) {
|
|
13332
|
+
var raw = this.toPlainObject();
|
|
13333
|
+
return makeRequest({
|
|
13334
|
+
entityType: 'AiAction',
|
|
13335
|
+
action: 'create',
|
|
13336
|
+
params: {
|
|
13337
|
+
spaceId: raw.sys.id
|
|
13338
|
+
},
|
|
13339
|
+
payload: data
|
|
13340
|
+
}).then(function (response) {
|
|
13341
|
+
return wrapAiAction(makeRequest, response);
|
|
13342
|
+
});
|
|
13343
|
+
},
|
|
13344
|
+
/**
|
|
13345
|
+
* Updates an AI Action.
|
|
13346
|
+
* @param aiActionId - AI Action ID
|
|
13347
|
+
* @param data - Object representation of the AI Action update
|
|
13348
|
+
* @return Promise for the updated AI Action
|
|
13349
|
+
* @example
|
|
13350
|
+
* ```javascript
|
|
13351
|
+
* client.getSpace('<space_id>')
|
|
13352
|
+
* .then((space) => space.updateAiAction('<ai_action_id>', { name: 'New Name', ... }))
|
|
13353
|
+
* .then((aiAction) => console.log(aiAction))
|
|
13354
|
+
* .catch(console.error)
|
|
13355
|
+
* ```
|
|
13356
|
+
*/
|
|
13357
|
+
updateAiAction: function updateAiAction(aiActionId, data) {
|
|
13358
|
+
var _data$sys$version;
|
|
13359
|
+
var raw = this.toPlainObject();
|
|
13360
|
+
return makeRequest({
|
|
13361
|
+
entityType: 'AiAction',
|
|
13362
|
+
action: 'update',
|
|
13363
|
+
params: {
|
|
13364
|
+
spaceId: raw.sys.id,
|
|
13365
|
+
aiActionId: aiActionId
|
|
13366
|
+
},
|
|
13367
|
+
payload: data,
|
|
13368
|
+
headers: {
|
|
13369
|
+
'X-Contentful-Version': (_data$sys$version = data.sys.version) !== null && _data$sys$version !== void 0 ? _data$sys$version : 0
|
|
13370
|
+
}
|
|
13371
|
+
}).then(function (response) {
|
|
13372
|
+
return wrapAiAction(makeRequest, response);
|
|
13373
|
+
});
|
|
13374
|
+
},
|
|
13375
|
+
/**
|
|
13376
|
+
* Publishes an AI Action.
|
|
13377
|
+
* @param aiActionId - AI Action ID
|
|
13378
|
+
* @param data - Object representation of the AI Action to be published
|
|
13379
|
+
* @return Promise for the published AI Action
|
|
13380
|
+
* @example
|
|
13381
|
+
* ```javascript
|
|
13382
|
+
* client.getSpace('<space_id>')
|
|
13383
|
+
* .then((space) => space.publishAiAction('<ai_action_id>', { ... }))
|
|
13384
|
+
* .then((aiAction) => console.log(aiAction))
|
|
13385
|
+
* .catch(console.error)
|
|
13386
|
+
* ```
|
|
13387
|
+
*/
|
|
13388
|
+
publishAiAction: function publishAiAction(aiActionId, data) {
|
|
13389
|
+
var raw = this.toPlainObject();
|
|
13390
|
+
return makeRequest({
|
|
13391
|
+
entityType: 'AiAction',
|
|
13392
|
+
action: 'publish',
|
|
13393
|
+
params: {
|
|
13394
|
+
spaceId: raw.sys.id,
|
|
13395
|
+
aiActionId: aiActionId
|
|
13396
|
+
},
|
|
13397
|
+
payload: data,
|
|
13398
|
+
headers: {
|
|
13399
|
+
'X-Contentful-Version': data.sys.version
|
|
13400
|
+
}
|
|
13401
|
+
}).then(function (response) {
|
|
13402
|
+
return wrapAiAction(makeRequest, response);
|
|
13403
|
+
});
|
|
13404
|
+
},
|
|
13405
|
+
/**
|
|
13406
|
+
* Unpublishes an AI Action.
|
|
13407
|
+
* @param aiActionId - AI Action ID
|
|
13408
|
+
* @return Promise for the unpublished AI Action
|
|
13409
|
+
* @example
|
|
13410
|
+
* ```javascript
|
|
13411
|
+
* client.getSpace('<space_id>')
|
|
13412
|
+
* .then((space) => space.unpublishAiAction('<ai_action_id>'))
|
|
13413
|
+
* .then((aiAction) => console.log(aiAction))
|
|
13414
|
+
* .catch(console.error)
|
|
13415
|
+
* ```
|
|
13416
|
+
*/
|
|
13417
|
+
unpublishAiAction: function unpublishAiAction(aiActionId) {
|
|
13418
|
+
var raw = this.toPlainObject();
|
|
13419
|
+
return makeRequest({
|
|
13420
|
+
entityType: 'AiAction',
|
|
13421
|
+
action: 'unpublish',
|
|
13422
|
+
params: {
|
|
13423
|
+
spaceId: raw.sys.id,
|
|
13424
|
+
aiActionId: aiActionId
|
|
13425
|
+
}
|
|
13426
|
+
}).then(function (response) {
|
|
13427
|
+
return wrapAiAction(makeRequest, response);
|
|
13428
|
+
});
|
|
13429
|
+
},
|
|
13430
|
+
/**
|
|
13431
|
+
* Deletes an AI Action.
|
|
13432
|
+
* @param aiActionId - AI Action ID
|
|
13433
|
+
* @return Promise for deletion (void)
|
|
13434
|
+
* @example
|
|
13435
|
+
* ```javascript
|
|
13436
|
+
* client.getSpace('<space_id>')
|
|
13437
|
+
* .then((space) => space.deleteAiAction('<ai_action_id>'))
|
|
13438
|
+
* .then(() => console.log('AI Action deleted'))
|
|
13439
|
+
* .catch(console.error)
|
|
13440
|
+
* ```
|
|
13441
|
+
*/
|
|
13442
|
+
deleteAiAction: function deleteAiAction(aiActionId) {
|
|
13443
|
+
var raw = this.toPlainObject();
|
|
13444
|
+
return makeRequest({
|
|
13445
|
+
entityType: 'AiAction',
|
|
13446
|
+
action: 'delete',
|
|
13447
|
+
params: {
|
|
13448
|
+
spaceId: raw.sys.id,
|
|
13449
|
+
aiActionId: aiActionId
|
|
13450
|
+
}
|
|
13451
|
+
});
|
|
13090
13452
|
}
|
|
13091
13453
|
};
|
|
13092
13454
|
}
|
|
@@ -13372,6 +13734,191 @@ var wrapAccessTokenCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_3__.wr
|
|
|
13372
13734
|
|
|
13373
13735
|
/***/ }),
|
|
13374
13736
|
|
|
13737
|
+
/***/ "./entities/ai-action-invocation.ts":
|
|
13738
|
+
/*!******************************************!*\
|
|
13739
|
+
!*** ./entities/ai-action-invocation.ts ***!
|
|
13740
|
+
\******************************************/
|
|
13741
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13742
|
+
|
|
13743
|
+
"use strict";
|
|
13744
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13745
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13746
|
+
/* harmony export */ AiActionOutputFormat: function() { return /* binding */ AiActionOutputFormat; },
|
|
13747
|
+
/* harmony export */ InvocationResultType: function() { return /* binding */ InvocationResultType; },
|
|
13748
|
+
/* harmony export */ InvocationStatus: function() { return /* binding */ InvocationStatus; },
|
|
13749
|
+
/* harmony export */ wrapAiActionInvocation: function() { return /* binding */ wrapAiActionInvocation; },
|
|
13750
|
+
/* harmony export */ wrapAiActionInvocationCollection: function() { return /* binding */ wrapAiActionInvocationCollection; }
|
|
13751
|
+
/* harmony export */ });
|
|
13752
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
13753
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
13754
|
+
/* harmony import */ var _common_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common-utils */ "./common-utils.ts");
|
|
13755
|
+
|
|
13756
|
+
|
|
13757
|
+
|
|
13758
|
+
var InvocationStatus = /*#__PURE__*/function (InvocationStatus) {
|
|
13759
|
+
InvocationStatus["Scheduled"] = "SCHEDULED";
|
|
13760
|
+
InvocationStatus["InProgress"] = "IN_PROGRESS";
|
|
13761
|
+
InvocationStatus["Failed"] = "FAILED";
|
|
13762
|
+
InvocationStatus["Completed"] = "COMPLETED";
|
|
13763
|
+
InvocationStatus["Cancelled"] = "CANCELLED";
|
|
13764
|
+
return InvocationStatus;
|
|
13765
|
+
}({});
|
|
13766
|
+
var InvocationResultType = /*#__PURE__*/function (InvocationResultType) {
|
|
13767
|
+
InvocationResultType["Text"] = "text";
|
|
13768
|
+
return InvocationResultType;
|
|
13769
|
+
}({});
|
|
13770
|
+
var AiActionOutputFormat = {
|
|
13771
|
+
RichText: 'RichText',
|
|
13772
|
+
Markdown: 'Markdown',
|
|
13773
|
+
PlainText: 'PlainText'
|
|
13774
|
+
};
|
|
13775
|
+
|
|
13776
|
+
/**
|
|
13777
|
+
* The AI Action Invocation entity.
|
|
13778
|
+
* This entity is read-only and primarily used to inspect the result of an AI action invocation.
|
|
13779
|
+
*/
|
|
13780
|
+
|
|
13781
|
+
/**
|
|
13782
|
+
* Wraps raw AI Action Invocation data with SDK helper methods.
|
|
13783
|
+
*
|
|
13784
|
+
* @param makeRequest - Function to make API requests.
|
|
13785
|
+
* @param data - Raw AI Action Invocation data.
|
|
13786
|
+
* @returns The AI Action Invocation entity.
|
|
13787
|
+
*/
|
|
13788
|
+
function wrapAiActionInvocation(makeRequest, data) {
|
|
13789
|
+
var invocation = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
13790
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(invocation);
|
|
13791
|
+
}
|
|
13792
|
+
|
|
13793
|
+
/**
|
|
13794
|
+
* Wraps a collection of raw AI Action Invocation data.
|
|
13795
|
+
*
|
|
13796
|
+
* @param makeRequest - Function to make API requests.
|
|
13797
|
+
* @param data - Raw collection data.
|
|
13798
|
+
* @returns A collection of AI Action Invocation entities.
|
|
13799
|
+
*/
|
|
13800
|
+
var wrapAiActionInvocationCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_2__.wrapCollection)(wrapAiActionInvocation);
|
|
13801
|
+
|
|
13802
|
+
/***/ }),
|
|
13803
|
+
|
|
13804
|
+
/***/ "./entities/ai-action.ts":
|
|
13805
|
+
/*!*******************************!*\
|
|
13806
|
+
!*** ./entities/ai-action.ts ***!
|
|
13807
|
+
\*******************************/
|
|
13808
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13809
|
+
|
|
13810
|
+
"use strict";
|
|
13811
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13812
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13813
|
+
/* harmony export */ EntityTypeEntry: function() { return /* binding */ EntityTypeEntry; },
|
|
13814
|
+
/* harmony export */ StatusFilter: function() { return /* binding */ StatusFilter; },
|
|
13815
|
+
/* harmony export */ VariableType: function() { return /* binding */ VariableType; },
|
|
13816
|
+
/* harmony export */ wrapAiAction: function() { return /* binding */ wrapAiAction; },
|
|
13817
|
+
/* harmony export */ wrapAiActionCollection: function() { return /* binding */ wrapAiActionCollection; }
|
|
13818
|
+
/* harmony export */ });
|
|
13819
|
+
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
13820
|
+
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
13821
|
+
/* harmony import */ var _common_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common-utils */ "./common-utils.ts");
|
|
13822
|
+
/* harmony import */ var _enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../enhance-with-methods */ "./enhance-with-methods.ts");
|
|
13823
|
+
/* harmony import */ var _ai_action_invocation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ai-action-invocation */ "./entities/ai-action-invocation.ts");
|
|
13824
|
+
|
|
13825
|
+
|
|
13826
|
+
|
|
13827
|
+
|
|
13828
|
+
|
|
13829
|
+
var StatusFilter = /*#__PURE__*/function (StatusFilter) {
|
|
13830
|
+
StatusFilter["ALL"] = "all";
|
|
13831
|
+
StatusFilter["PUBLISHED"] = "published";
|
|
13832
|
+
return StatusFilter;
|
|
13833
|
+
}({});
|
|
13834
|
+
var VariableType = /*#__PURE__*/function (VariableType) {
|
|
13835
|
+
VariableType["RESOURCE_LINK"] = "ResourceLink";
|
|
13836
|
+
VariableType["TEXT"] = "Text";
|
|
13837
|
+
VariableType["STANDARD_INPUT"] = "StandardInput";
|
|
13838
|
+
VariableType["LOCALE"] = "Locale";
|
|
13839
|
+
VariableType["MEDIA_REFERENCE"] = "MediaReference";
|
|
13840
|
+
VariableType["REFERENCE"] = "Reference";
|
|
13841
|
+
VariableType["SMART_CONTEXT"] = "SmartContext";
|
|
13842
|
+
return VariableType;
|
|
13843
|
+
}({});
|
|
13844
|
+
var EntityTypeEntry = /*#__PURE__*/function (EntityTypeEntry) {
|
|
13845
|
+
EntityTypeEntry["ENTRY"] = "Entry";
|
|
13846
|
+
return EntityTypeEntry;
|
|
13847
|
+
}({});
|
|
13848
|
+
function createAiActionApi(makeRequest) {
|
|
13849
|
+
var getParams = function getParams(data) {
|
|
13850
|
+
return {
|
|
13851
|
+
spaceId: data.sys.space.sys.id,
|
|
13852
|
+
aiActionId: data.sys.id
|
|
13853
|
+
};
|
|
13854
|
+
};
|
|
13855
|
+
return {
|
|
13856
|
+
update: function update() {
|
|
13857
|
+
var self = this;
|
|
13858
|
+
return makeRequest({
|
|
13859
|
+
entityType: 'AiAction',
|
|
13860
|
+
action: 'update',
|
|
13861
|
+
params: getParams(self),
|
|
13862
|
+
payload: self
|
|
13863
|
+
}).then(function (data) {
|
|
13864
|
+
return wrapAiAction(makeRequest, data);
|
|
13865
|
+
});
|
|
13866
|
+
},
|
|
13867
|
+
delete: function del() {
|
|
13868
|
+
var self = this;
|
|
13869
|
+
return makeRequest({
|
|
13870
|
+
entityType: 'AiAction',
|
|
13871
|
+
action: 'delete',
|
|
13872
|
+
params: getParams(self)
|
|
13873
|
+
});
|
|
13874
|
+
},
|
|
13875
|
+
publish: function publish() {
|
|
13876
|
+
var self = this;
|
|
13877
|
+
return makeRequest({
|
|
13878
|
+
entityType: 'AiAction',
|
|
13879
|
+
action: 'publish',
|
|
13880
|
+
params: getParams(self),
|
|
13881
|
+
payload: self
|
|
13882
|
+
}).then(function (data) {
|
|
13883
|
+
return wrapAiAction(makeRequest, data);
|
|
13884
|
+
});
|
|
13885
|
+
},
|
|
13886
|
+
unpublish: function unpublish() {
|
|
13887
|
+
var self = this;
|
|
13888
|
+
return makeRequest({
|
|
13889
|
+
entityType: 'AiAction',
|
|
13890
|
+
action: 'unpublish',
|
|
13891
|
+
params: getParams(self)
|
|
13892
|
+
}).then(function (data) {
|
|
13893
|
+
return wrapAiAction(makeRequest, data);
|
|
13894
|
+
});
|
|
13895
|
+
},
|
|
13896
|
+
invoke: function invoke(environmentId, payload) {
|
|
13897
|
+
var self = this;
|
|
13898
|
+
return makeRequest({
|
|
13899
|
+
entityType: 'AiAction',
|
|
13900
|
+
action: 'invoke',
|
|
13901
|
+
params: {
|
|
13902
|
+
spaceId: self.sys.space.sys.id,
|
|
13903
|
+
environmentId: environmentId,
|
|
13904
|
+
aiActionId: self.sys.id
|
|
13905
|
+
},
|
|
13906
|
+
payload: payload
|
|
13907
|
+
}).then(function (data) {
|
|
13908
|
+
return (0,_ai_action_invocation__WEBPACK_IMPORTED_MODULE_4__.wrapAiActionInvocation)(makeRequest, data);
|
|
13909
|
+
});
|
|
13910
|
+
}
|
|
13911
|
+
};
|
|
13912
|
+
}
|
|
13913
|
+
function wrapAiAction(makeRequest, data) {
|
|
13914
|
+
var aiAction = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
13915
|
+
var aiActionWithMethods = (0,_enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__["default"])(aiAction, createAiActionApi(makeRequest));
|
|
13916
|
+
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(aiActionWithMethods);
|
|
13917
|
+
}
|
|
13918
|
+
var wrapAiActionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_2__.wrapCollection)(wrapAiAction);
|
|
13919
|
+
|
|
13920
|
+
/***/ }),
|
|
13921
|
+
|
|
13375
13922
|
/***/ "./entities/api-key.ts":
|
|
13376
13923
|
/*!*****************************!*\
|
|
13377
13924
|
!*** ./entities/api-key.ts ***!
|
|
@@ -15292,66 +15839,70 @@ var wrapFunctionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_2__.wrapC
|
|
|
15292
15839
|
|
|
15293
15840
|
"use strict";
|
|
15294
15841
|
__webpack_require__.r(__webpack_exports__);
|
|
15295
|
-
/* harmony import */ var
|
|
15296
|
-
/* harmony import */ var
|
|
15297
|
-
/* harmony import */ var
|
|
15298
|
-
/* harmony import */ var
|
|
15299
|
-
/* harmony import */ var
|
|
15300
|
-
/* harmony import */ var
|
|
15301
|
-
/* harmony import */ var
|
|
15302
|
-
/* harmony import */ var
|
|
15303
|
-
/* harmony import */ var
|
|
15304
|
-
/* harmony import */ var
|
|
15305
|
-
/* harmony import */ var
|
|
15306
|
-
/* harmony import */ var
|
|
15307
|
-
/* harmony import */ var
|
|
15308
|
-
/* harmony import */ var
|
|
15309
|
-
/* harmony import */ var
|
|
15310
|
-
/* harmony import */ var
|
|
15311
|
-
/* harmony import */ var
|
|
15312
|
-
/* harmony import */ var
|
|
15313
|
-
/* harmony import */ var
|
|
15314
|
-
/* harmony import */ var
|
|
15315
|
-
/* harmony import */ var
|
|
15316
|
-
/* harmony import */ var
|
|
15317
|
-
/* harmony import */ var
|
|
15318
|
-
/* harmony import */ var
|
|
15319
|
-
/* harmony import */ var
|
|
15320
|
-
/* harmony import */ var
|
|
15321
|
-
/* harmony import */ var
|
|
15322
|
-
/* harmony import */ var
|
|
15323
|
-
/* harmony import */ var
|
|
15324
|
-
/* harmony import */ var
|
|
15325
|
-
/* harmony import */ var
|
|
15326
|
-
/* harmony import */ var
|
|
15327
|
-
/* harmony import */ var
|
|
15328
|
-
/* harmony import */ var
|
|
15329
|
-
/* harmony import */ var
|
|
15330
|
-
/* harmony import */ var
|
|
15331
|
-
/* harmony import */ var
|
|
15332
|
-
/* harmony import */ var
|
|
15333
|
-
/* harmony import */ var
|
|
15334
|
-
/* harmony import */ var
|
|
15335
|
-
/* harmony import */ var
|
|
15336
|
-
/* harmony import */ var
|
|
15337
|
-
/* harmony import */ var
|
|
15338
|
-
/* harmony import */ var
|
|
15339
|
-
/* harmony import */ var
|
|
15340
|
-
/* harmony import */ var
|
|
15341
|
-
/* harmony import */ var
|
|
15342
|
-
/* harmony import */ var
|
|
15343
|
-
/* harmony import */ var
|
|
15344
|
-
/* harmony import */ var
|
|
15345
|
-
/* harmony import */ var
|
|
15346
|
-
/* harmony import */ var
|
|
15347
|
-
/* harmony import */ var
|
|
15348
|
-
/* harmony import */ var
|
|
15349
|
-
/* harmony import */ var
|
|
15350
|
-
/* harmony import */ var
|
|
15351
|
-
/* harmony import */ var
|
|
15352
|
-
/* harmony import */ var
|
|
15353
|
-
/* harmony import */ var
|
|
15354
|
-
/* harmony import */ var
|
|
15842
|
+
/* harmony import */ var _ai_action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ai-action */ "./entities/ai-action.ts");
|
|
15843
|
+
/* harmony import */ var _ai_action_invocation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ai-action-invocation */ "./entities/ai-action-invocation.ts");
|
|
15844
|
+
/* harmony import */ var _api_key__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./api-key */ "./entities/api-key.ts");
|
|
15845
|
+
/* harmony import */ var _app_action__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./app-action */ "./entities/app-action.ts");
|
|
15846
|
+
/* harmony import */ var _app_action_call__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./app-action-call */ "./entities/app-action-call.ts");
|
|
15847
|
+
/* harmony import */ var _app_bundle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./app-bundle */ "./entities/app-bundle.ts");
|
|
15848
|
+
/* harmony import */ var _app_definition__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./app-definition */ "./entities/app-definition.ts");
|
|
15849
|
+
/* harmony import */ var _app_details__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./app-details */ "./entities/app-details.ts");
|
|
15850
|
+
/* harmony import */ var _app_installation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./app-installation */ "./entities/app-installation.ts");
|
|
15851
|
+
/* harmony import */ var _app_signed_request__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./app-signed-request */ "./entities/app-signed-request.ts");
|
|
15852
|
+
/* harmony import */ var _app_signing_secret__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./app-signing-secret */ "./entities/app-signing-secret.ts");
|
|
15853
|
+
/* harmony import */ var _app_event_subscription__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./app-event-subscription */ "./entities/app-event-subscription.ts");
|
|
15854
|
+
/* harmony import */ var _app_key__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./app-key */ "./entities/app-key.ts");
|
|
15855
|
+
/* harmony import */ var _app_access_token__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./app-access-token */ "./entities/app-access-token.ts");
|
|
15856
|
+
/* harmony import */ var _app_upload__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./app-upload */ "./entities/app-upload.ts");
|
|
15857
|
+
/* harmony import */ var _asset__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./asset */ "./entities/asset.ts");
|
|
15858
|
+
/* harmony import */ var _asset_key__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./asset-key */ "./entities/asset-key.ts");
|
|
15859
|
+
/* harmony import */ var _bulk_action__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./bulk-action */ "./entities/bulk-action.ts");
|
|
15860
|
+
/* harmony import */ var _comment__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./comment */ "./entities/comment.ts");
|
|
15861
|
+
/* harmony import */ var _content_type__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./content-type */ "./entities/content-type.ts");
|
|
15862
|
+
/* harmony import */ var _editor_interface__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./editor-interface */ "./entities/editor-interface.ts");
|
|
15863
|
+
/* harmony import */ var _entry__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./entry */ "./entities/entry.ts");
|
|
15864
|
+
/* harmony import */ var _environment__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./environment */ "./entities/environment.ts");
|
|
15865
|
+
/* harmony import */ var _environment_alias__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./environment-alias */ "./entities/environment-alias.ts");
|
|
15866
|
+
/* harmony import */ var _environment_template__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./environment-template */ "./entities/environment-template.ts");
|
|
15867
|
+
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./environment-template-installation */ "./entities/environment-template-installation.ts");
|
|
15868
|
+
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./extension */ "./entities/extension.ts");
|
|
15869
|
+
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./function */ "./entities/function.ts");
|
|
15870
|
+
/* harmony import */ var _function_log__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./function-log */ "./entities/function-log.ts");
|
|
15871
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./locale */ "./entities/locale.ts");
|
|
15872
|
+
/* harmony import */ var _oauth_application__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./oauth-application */ "./entities/oauth-application.ts");
|
|
15873
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./organization */ "./entities/organization.ts");
|
|
15874
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./organization-invitation */ "./entities/organization-invitation.ts");
|
|
15875
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./organization-membership */ "./entities/organization-membership.ts");
|
|
15876
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./personal-access-token */ "./entities/personal-access-token.ts");
|
|
15877
|
+
/* harmony import */ var _access_token__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./access-token */ "./entities/access-token.ts");
|
|
15878
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./preview-api-key */ "./entities/preview-api-key.ts");
|
|
15879
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./release */ "./entities/release.ts");
|
|
15880
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./release-action */ "./entities/release-action.ts");
|
|
15881
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./role */ "./entities/role.ts");
|
|
15882
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./scheduled-action */ "./entities/scheduled-action.ts");
|
|
15883
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./snapshot */ "./entities/snapshot.ts");
|
|
15884
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./space */ "./entities/space.ts");
|
|
15885
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./space-member */ "./entities/space-member.ts");
|
|
15886
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./space-membership */ "./entities/space-membership.ts");
|
|
15887
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./tag */ "./entities/tag.ts");
|
|
15888
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./task */ "./entities/task.ts");
|
|
15889
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./team */ "./entities/team.ts");
|
|
15890
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./team-membership */ "./entities/team-membership.ts");
|
|
15891
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./team-space-membership */ "./entities/team-space-membership.ts");
|
|
15892
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./ui-config */ "./entities/ui-config.ts");
|
|
15893
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./upload */ "./entities/upload.ts");
|
|
15894
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./usage */ "./entities/usage.ts");
|
|
15895
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./user */ "./entities/user.ts");
|
|
15896
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./user-ui-config */ "./entities/user-ui-config.ts");
|
|
15897
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./webhook */ "./entities/webhook.ts");
|
|
15898
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./workflow-definition */ "./entities/workflow-definition.ts");
|
|
15899
|
+
/* harmony import */ var _concept__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./concept */ "./entities/concept.ts");
|
|
15900
|
+
/* harmony import */ var _concept_scheme__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./concept-scheme */ "./entities/concept-scheme.ts");
|
|
15901
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./resource-provider */ "./entities/resource-provider.ts");
|
|
15902
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./resource-type */ "./entities/resource-type.ts");
|
|
15903
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
|
|
15904
|
+
|
|
15905
|
+
|
|
15355
15906
|
|
|
15356
15907
|
|
|
15357
15908
|
|
|
@@ -15413,66 +15964,68 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15413
15964
|
|
|
15414
15965
|
|
|
15415
15966
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
15416
|
-
|
|
15417
|
-
|
|
15418
|
-
|
|
15419
|
-
|
|
15420
|
-
|
|
15421
|
-
|
|
15422
|
-
|
|
15423
|
-
|
|
15424
|
-
|
|
15425
|
-
|
|
15426
|
-
|
|
15427
|
-
|
|
15428
|
-
|
|
15429
|
-
|
|
15430
|
-
|
|
15431
|
-
|
|
15432
|
-
|
|
15433
|
-
|
|
15434
|
-
|
|
15435
|
-
|
|
15436
|
-
|
|
15437
|
-
|
|
15438
|
-
|
|
15439
|
-
|
|
15440
|
-
|
|
15441
|
-
|
|
15442
|
-
|
|
15443
|
-
|
|
15444
|
-
|
|
15445
|
-
|
|
15446
|
-
|
|
15447
|
-
|
|
15448
|
-
|
|
15449
|
-
|
|
15450
|
-
|
|
15451
|
-
|
|
15452
|
-
|
|
15453
|
-
|
|
15454
|
-
|
|
15455
|
-
|
|
15456
|
-
|
|
15457
|
-
|
|
15458
|
-
|
|
15459
|
-
|
|
15460
|
-
|
|
15461
|
-
|
|
15462
|
-
|
|
15463
|
-
|
|
15464
|
-
|
|
15465
|
-
|
|
15466
|
-
|
|
15467
|
-
|
|
15468
|
-
|
|
15469
|
-
|
|
15470
|
-
|
|
15471
|
-
|
|
15472
|
-
|
|
15473
|
-
|
|
15474
|
-
|
|
15475
|
-
|
|
15967
|
+
aiAction: _ai_action__WEBPACK_IMPORTED_MODULE_0__,
|
|
15968
|
+
aiActionInvocation: _ai_action_invocation__WEBPACK_IMPORTED_MODULE_1__,
|
|
15969
|
+
accessToken: _access_token__WEBPACK_IMPORTED_MODULE_35__,
|
|
15970
|
+
appAction: _app_action__WEBPACK_IMPORTED_MODULE_3__,
|
|
15971
|
+
appActionCall: _app_action_call__WEBPACK_IMPORTED_MODULE_4__,
|
|
15972
|
+
appBundle: _app_bundle__WEBPACK_IMPORTED_MODULE_5__,
|
|
15973
|
+
apiKey: _api_key__WEBPACK_IMPORTED_MODULE_2__,
|
|
15974
|
+
appDefinition: _app_definition__WEBPACK_IMPORTED_MODULE_6__,
|
|
15975
|
+
appInstallation: _app_installation__WEBPACK_IMPORTED_MODULE_8__,
|
|
15976
|
+
appUpload: _app_upload__WEBPACK_IMPORTED_MODULE_14__,
|
|
15977
|
+
appDetails: _app_details__WEBPACK_IMPORTED_MODULE_7__,
|
|
15978
|
+
appSignedRequest: _app_signed_request__WEBPACK_IMPORTED_MODULE_9__,
|
|
15979
|
+
appSigningSecret: _app_signing_secret__WEBPACK_IMPORTED_MODULE_10__,
|
|
15980
|
+
appEventSubscription: _app_event_subscription__WEBPACK_IMPORTED_MODULE_11__,
|
|
15981
|
+
appKey: _app_key__WEBPACK_IMPORTED_MODULE_12__,
|
|
15982
|
+
appAccessToken: _app_access_token__WEBPACK_IMPORTED_MODULE_13__,
|
|
15983
|
+
asset: _asset__WEBPACK_IMPORTED_MODULE_15__,
|
|
15984
|
+
assetKey: _asset_key__WEBPACK_IMPORTED_MODULE_16__,
|
|
15985
|
+
bulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_17__,
|
|
15986
|
+
comment: _comment__WEBPACK_IMPORTED_MODULE_18__,
|
|
15987
|
+
concept: _concept__WEBPACK_IMPORTED_MODULE_57__,
|
|
15988
|
+
conceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_58__,
|
|
15989
|
+
contentType: _content_type__WEBPACK_IMPORTED_MODULE_19__,
|
|
15990
|
+
editorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_20__,
|
|
15991
|
+
entry: _entry__WEBPACK_IMPORTED_MODULE_21__,
|
|
15992
|
+
environment: _environment__WEBPACK_IMPORTED_MODULE_22__,
|
|
15993
|
+
environmentAlias: _environment_alias__WEBPACK_IMPORTED_MODULE_23__,
|
|
15994
|
+
environmentTemplate: _environment_template__WEBPACK_IMPORTED_MODULE_24__,
|
|
15995
|
+
environmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_25__,
|
|
15996
|
+
extension: _extension__WEBPACK_IMPORTED_MODULE_26__,
|
|
15997
|
+
func: _function__WEBPACK_IMPORTED_MODULE_27__,
|
|
15998
|
+
functionLog: _function_log__WEBPACK_IMPORTED_MODULE_28__,
|
|
15999
|
+
locale: _locale__WEBPACK_IMPORTED_MODULE_29__,
|
|
16000
|
+
oauthApplication: _oauth_application__WEBPACK_IMPORTED_MODULE_30__,
|
|
16001
|
+
organization: _organization__WEBPACK_IMPORTED_MODULE_31__,
|
|
16002
|
+
organizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_32__,
|
|
16003
|
+
organizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_33__,
|
|
16004
|
+
personalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_34__,
|
|
16005
|
+
previewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_36__,
|
|
16006
|
+
release: _release__WEBPACK_IMPORTED_MODULE_37__,
|
|
16007
|
+
releaseAction: _release_action__WEBPACK_IMPORTED_MODULE_38__,
|
|
16008
|
+
resourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_59__,
|
|
16009
|
+
resourceType: _resource_type__WEBPACK_IMPORTED_MODULE_60__,
|
|
16010
|
+
resource: _resource__WEBPACK_IMPORTED_MODULE_61__,
|
|
16011
|
+
role: _role__WEBPACK_IMPORTED_MODULE_39__,
|
|
16012
|
+
scheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_40__,
|
|
16013
|
+
snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_41__,
|
|
16014
|
+
space: _space__WEBPACK_IMPORTED_MODULE_42__,
|
|
16015
|
+
spaceMember: _space_member__WEBPACK_IMPORTED_MODULE_43__,
|
|
16016
|
+
spaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_44__,
|
|
16017
|
+
tag: _tag__WEBPACK_IMPORTED_MODULE_45__,
|
|
16018
|
+
task: _task__WEBPACK_IMPORTED_MODULE_46__,
|
|
16019
|
+
team: _team__WEBPACK_IMPORTED_MODULE_47__,
|
|
16020
|
+
teamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_48__,
|
|
16021
|
+
teamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_49__,
|
|
16022
|
+
uiConfig: _ui_config__WEBPACK_IMPORTED_MODULE_50__,
|
|
16023
|
+
upload: _upload__WEBPACK_IMPORTED_MODULE_51__,
|
|
16024
|
+
usage: _usage__WEBPACK_IMPORTED_MODULE_52__,
|
|
16025
|
+
user: _user__WEBPACK_IMPORTED_MODULE_53__,
|
|
16026
|
+
userUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_54__,
|
|
16027
|
+
webhook: _webhook__WEBPACK_IMPORTED_MODULE_55__,
|
|
16028
|
+
workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_56__
|
|
15476
16029
|
});
|
|
15477
16030
|
|
|
15478
16031
|
/***/ }),
|
|
@@ -18481,6 +19034,19 @@ var createPlainClient = function createPlainClient(makeRequest, defaults) {
|
|
|
18481
19034
|
});
|
|
18482
19035
|
}
|
|
18483
19036
|
},
|
|
19037
|
+
aiAction: {
|
|
19038
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AiAction', 'get'),
|
|
19039
|
+
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AiAction', 'getMany'),
|
|
19040
|
+
create: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AiAction', 'create'),
|
|
19041
|
+
update: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AiAction', 'update'),
|
|
19042
|
+
delete: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AiAction', 'delete'),
|
|
19043
|
+
publish: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AiAction', 'publish'),
|
|
19044
|
+
unpublish: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AiAction', 'unpublish'),
|
|
19045
|
+
invoke: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AiAction', 'invoke')
|
|
19046
|
+
},
|
|
19047
|
+
aiActionInvocation: {
|
|
19048
|
+
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AiActionInvocation', 'get')
|
|
19049
|
+
},
|
|
18484
19050
|
appAction: {
|
|
18485
19051
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AppAction', 'get'),
|
|
18486
19052
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'AppAction', 'getMany'),
|
|
@@ -24300,7 +24866,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24300
24866
|
*/
|
|
24301
24867
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
24302
24868
|
let isRelativeUrl = !(0,_helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__["default"])(requestedURL);
|
|
24303
|
-
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
|
24869
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
24304
24870
|
return (0,_helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__["default"])(baseURL, requestedURL);
|
|
24305
24871
|
}
|
|
24306
24872
|
return requestedURL;
|
|
@@ -24833,7 +25399,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24833
25399
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24834
25400
|
/* harmony export */ VERSION: function() { return /* binding */ VERSION; }
|
|
24835
25401
|
/* harmony export */ });
|
|
24836
|
-
const VERSION = "1.8.
|
|
25402
|
+
const VERSION = "1.8.4";
|
|
24837
25403
|
|
|
24838
25404
|
/***/ }),
|
|
24839
25405
|
|
|
@@ -25642,7 +26208,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25642
26208
|
|
|
25643
26209
|
newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(headers);
|
|
25644
26210
|
|
|
25645
|
-
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__["default"])(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
26211
|
+
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__["default"])(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
25646
26212
|
|
|
25647
26213
|
// HTTP basic authentication
|
|
25648
26214
|
if (auth) {
|
|
@@ -28702,7 +29268,7 @@ function createClient(params) {
|
|
|
28702
29268
|
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
28703
29269
|
var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
28704
29270
|
var userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(// @ts-expect-error
|
|
28705
|
-
"".concat(sdkMain, "/").concat("11.49.0
|
|
29271
|
+
"".concat(sdkMain, "/").concat("11.49.0"), params.application, params.integration, params.feature);
|
|
28706
29272
|
var adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
28707
29273
|
userAgent: userAgent
|
|
28708
29274
|
}));
|