@caraer/client 2.0.576 → 2.0.582

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/api.js CHANGED
@@ -23,9 +23,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.CMSV2PagesApi = exports.CMSV2PagesApiFactory = exports.CMSV2PagesApiFp = exports.CMSV2PagesApiAxiosParamCreator = exports.CMSV2EnvironmentsApi = exports.CMSV2EnvironmentsApiFactory = exports.CMSV2EnvironmentsApiFp = exports.CMSV2EnvironmentsApiAxiosParamCreator = exports.CMSModulesApi = exports.CMSModulesApiFactory = exports.CMSModulesApiFp = exports.CMSModulesApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.AutomationsApi = exports.AutomationsApiFactory = exports.AutomationsApiFp = exports.AutomationsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.AppInstallationRuntimeApi = exports.AppInstallationRuntimeApiFactory = exports.AppInstallationRuntimeApiFp = exports.AppInstallationRuntimeApiAxiosParamCreator = exports.ListAppBarsLocationEnum = exports.AppBarsApi = exports.AppBarsApiFactory = exports.AppBarsApiFp = exports.AppBarsApiAxiosParamCreator = exports.AppBarIframeSessionsApi = exports.AppBarIframeSessionsApiFactory = exports.AppBarIframeSessionsApiFp = exports.AppBarIframeSessionsApiAxiosParamCreator = exports.ValidationErrorTypeEnum = exports.SortItemDirectionEnum = exports.SettingFieldTypeEnum = exports.EventRsvpRequestScopeEnum = exports.EventRsvpRequestPartstatEnum = exports.ErrorResponseRolesEnum = exports.CreatePrivateAppRequestAuthMethodEnum = exports.CaraerErrorTypeTypeEnum = exports.CRUDSessionTypeEnum = exports.AppDTOAuthMethodEnum = exports.AppBarDTOLocationEnum = exports.AdvancedRecordQueryRequestStrategyEnum = exports.AdvancedRecordQueryPlanStrategyEnum = void 0;
26
- exports.ObjectsApiFp = exports.ObjectsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.ModuleApi = exports.ModuleApiFactory = exports.ModuleApiFp = exports.ModuleApiAxiosParamCreator = exports.FormsApi = exports.FormsApiFactory = exports.FormsApiFp = exports.FormsApiAxiosParamCreator = exports.FilterApi = exports.FilterApiFactory = exports.FilterApiFp = exports.FilterApiAxiosParamCreator = exports.FileManagementApi = exports.FileManagementApiFactory = exports.FileManagementApiFp = exports.FileManagementApiAxiosParamCreator = exports.FeedsApi = exports.FeedsApiFactory = exports.FeedsApiFp = exports.FeedsApiAxiosParamCreator = exports.DeveloperSandboxesApi = exports.DeveloperSandboxesApiFactory = exports.DeveloperSandboxesApiFp = exports.DeveloperSandboxesApiAxiosParamCreator = exports.DeveloperProjectsApi = exports.DeveloperProjectsApiFactory = exports.DeveloperProjectsApiFp = exports.DeveloperProjectsApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CalendarsApi = exports.CalendarsApiFactory = exports.CalendarsApiFp = exports.CalendarsApiAxiosParamCreator = exports.CMSV2TransferApi = exports.CMSV2TransferApiFactory = exports.CMSV2TransferApiFp = exports.CMSV2TransferApiAxiosParamCreator = exports.CMSV2PublicApi = exports.CMSV2PublicApiFactory = exports.CMSV2PublicApiFp = exports.CMSV2PublicApiAxiosParamCreator = void 0;
27
- exports.ViewsApiFactory = exports.ViewsApiFp = exports.ViewsApiAxiosParamCreator = exports.TraitsApi = exports.TraitsApiFactory = exports.TraitsApiFp = exports.TraitsApiAxiosParamCreator = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.ServerlessFunctionsApi = exports.ServerlessFunctionsApiFactory = exports.ServerlessFunctionsApiFp = exports.ServerlessFunctionsApiAxiosParamCreator = exports.RelationsApi = exports.RelationsApiFactory = exports.RelationsApiFp = exports.RelationsApiAxiosParamCreator = exports.UpdateByUuidRecordReturnFormatEnum = exports.UpdateByUuidParseEnum = exports.UpdateRecordReturnFormatEnum = exports.UpdateParseEnum = exports.ShowByObjectParseEnum = exports.ShowByObjectRecordReturnFormatEnum = exports.ShowParseEnum = exports.ShowRecordReturnFormatEnum = exports.SearchCrossObjectParseEnum = exports.SearchRecordReturnFormatEnum = exports.SearchParseEnum = exports.PreviewParseEnum = exports.IndexFlowParseEnum = exports.IndexRecordReturnFormatEnum = exports.IndexParseEnum = exports.ExtendParseEnum = exports.ExtendRecordReturnFormatEnum = exports.CreateOrUpdateRecordReturnFormatEnum = exports.CreateOrUpdateParseEnum = exports.CreateRecordReturnFormatEnum = exports.CreateParseEnum = exports.RecordsApi = exports.RecordsApiFactory = exports.RecordsApiFp = exports.RecordsApiAxiosParamCreator = exports.PropertyApi = exports.PropertyApiFactory = exports.PropertyApiFp = exports.PropertyApiAxiosParamCreator = exports.ObjectsApi = exports.ObjectsApiFactory = void 0;
28
- exports.WebpagesApi = exports.WebpagesApiFactory = exports.WebpagesApiFp = exports.WebpagesApiAxiosParamCreator = exports.WebMenusApi = exports.WebMenusApiFactory = exports.WebMenusApiFp = exports.WebMenusApiAxiosParamCreator = exports.ViewsApi = void 0;
26
+ exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.ModuleApi = exports.ModuleApiFactory = exports.ModuleApiFp = exports.ModuleApiAxiosParamCreator = exports.FormsApi = exports.FormsApiFactory = exports.FormsApiFp = exports.FormsApiAxiosParamCreator = exports.FilterApi = exports.FilterApiFactory = exports.FilterApiFp = exports.FilterApiAxiosParamCreator = exports.FileManagementApi = exports.FileManagementApiFactory = exports.FileManagementApiFp = exports.FileManagementApiAxiosParamCreator = exports.FeedsApi = exports.FeedsApiFactory = exports.FeedsApiFp = exports.FeedsApiAxiosParamCreator = exports.DeveloperSandboxesApi = exports.DeveloperSandboxesApiFactory = exports.DeveloperSandboxesApiFp = exports.DeveloperSandboxesApiAxiosParamCreator = exports.DeveloperProjectsApi = exports.DeveloperProjectsApiFactory = exports.DeveloperProjectsApiFp = exports.DeveloperProjectsApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CalendarsApi = exports.CalendarsApiFactory = exports.CalendarsApiFp = exports.CalendarsApiAxiosParamCreator = exports.CMSWebsiteUpdatesApi = exports.CMSWebsiteUpdatesApiFactory = exports.CMSWebsiteUpdatesApiFp = exports.CMSWebsiteUpdatesApiAxiosParamCreator = exports.CMSV2TransferApi = exports.CMSV2TransferApiFactory = exports.CMSV2TransferApiFp = exports.CMSV2TransferApiAxiosParamCreator = exports.CMSV2PublicApi = exports.CMSV2PublicApiFactory = exports.CMSV2PublicApiFp = exports.CMSV2PublicApiAxiosParamCreator = void 0;
27
+ exports.TraitsApiFactory = exports.TraitsApiFp = exports.TraitsApiAxiosParamCreator = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.ServerlessFunctionsApi = exports.ServerlessFunctionsApiFactory = exports.ServerlessFunctionsApiFp = exports.ServerlessFunctionsApiAxiosParamCreator = exports.RelationsApi = exports.RelationsApiFactory = exports.RelationsApiFp = exports.RelationsApiAxiosParamCreator = exports.UpdateByUuidRecordReturnFormatEnum = exports.UpdateByUuidParseEnum = exports.UpdateRecordReturnFormatEnum = exports.UpdateParseEnum = exports.ShowByObjectParseEnum = exports.ShowByObjectRecordReturnFormatEnum = exports.ShowParseEnum = exports.ShowRecordReturnFormatEnum = exports.SearchCrossObjectParseEnum = exports.SearchRecordReturnFormatEnum = exports.SearchParseEnum = exports.Preview1ParseEnum = exports.IndexFlowParseEnum = exports.IndexRecordReturnFormatEnum = exports.IndexParseEnum = exports.ExtendParseEnum = exports.ExtendRecordReturnFormatEnum = exports.CreateOrUpdateRecordReturnFormatEnum = exports.CreateOrUpdateParseEnum = exports.CreateRecordReturnFormatEnum = exports.CreateParseEnum = exports.RecordsApi = exports.RecordsApiFactory = exports.RecordsApiFp = exports.RecordsApiAxiosParamCreator = exports.PropertyApi = exports.PropertyApiFactory = exports.PropertyApiFp = exports.PropertyApiAxiosParamCreator = exports.ObjectsApi = exports.ObjectsApiFactory = exports.ObjectsApiFp = exports.ObjectsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = void 0;
28
+ exports.WebpagesApi = exports.WebpagesApiFactory = exports.WebpagesApiFp = exports.WebpagesApiAxiosParamCreator = exports.WebMenusApi = exports.WebMenusApiFactory = exports.WebMenusApiFp = exports.WebMenusApiAxiosParamCreator = exports.ViewsApi = exports.ViewsApiFactory = exports.ViewsApiFp = exports.ViewsApiAxiosParamCreator = exports.TraitsApi = void 0;
29
29
  const axios_1 = require("axios");
30
30
  // Some imports not used depending on template conditions
31
31
  // @ts-ignore
@@ -2182,7 +2182,7 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
2182
2182
  };
2183
2183
  }),
2184
2184
  /**
2185
- * Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. On success, returns a PaginationResponse containing AppSummaryDTO objects.
2185
+ * Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. Unpublished public apps are visible only when the selected company is their creator. The native tools list includes only published apps. On success, returns a PaginationResponse containing AppSummaryDTO objects.
2186
2186
  * @summary Retrieve a paginated list of applications
2187
2187
  * @param {PaginationRequest} paginationRequest
2188
2188
  * @param {string} [type]
@@ -3146,7 +3146,7 @@ const ApplicationsApiFp = function (configuration) {
3146
3146
  });
3147
3147
  },
3148
3148
  /**
3149
- * Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. On success, returns a PaginationResponse containing AppSummaryDTO objects.
3149
+ * Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. Unpublished public apps are visible only when the selected company is their creator. The native tools list includes only published apps. On success, returns a PaginationResponse containing AppSummaryDTO objects.
3150
3150
  * @summary Retrieve a paginated list of applications
3151
3151
  * @param {PaginationRequest} paginationRequest
3152
3152
  * @param {string} [type]
@@ -3620,7 +3620,7 @@ const ApplicationsApiFactory = function (configuration, basePath, axios) {
3620
3620
  return localVarFp.getAppWebhooks(appUuid, paginationRequest, options).then((request) => request(axios, basePath));
3621
3621
  },
3622
3622
  /**
3623
- * Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. On success, returns a PaginationResponse containing AppSummaryDTO objects.
3623
+ * Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. Unpublished public apps are visible only when the selected company is their creator. The native tools list includes only published apps. On success, returns a PaginationResponse containing AppSummaryDTO objects.
3624
3624
  * @summary Retrieve a paginated list of applications
3625
3625
  * @param {PaginationRequest} paginationRequest
3626
3626
  * @param {string} [type]
@@ -3960,7 +3960,7 @@ class ApplicationsApi extends base_1.BaseAPI {
3960
3960
  return (0, exports.ApplicationsApiFp)(this.configuration).getAppWebhooks(appUuid, paginationRequest, options).then((request) => request(this.axios, this.basePath));
3961
3961
  }
3962
3962
  /**
3963
- * Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. On success, returns a PaginationResponse containing AppSummaryDTO objects.
3963
+ * Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. Unpublished public apps are visible only when the selected company is their creator. The native tools list includes only published apps. On success, returns a PaginationResponse containing AppSummaryDTO objects.
3964
3964
  * @summary Retrieve a paginated list of applications
3965
3965
  * @param {PaginationRequest} paginationRequest
3966
3966
  * @param {string} [type]
@@ -7184,10 +7184,11 @@ const CMSV2PublicApiAxiosParamCreator = function (configuration) {
7184
7184
  *
7185
7185
  * @summary Installed apps and modules for a company\'s website build
7186
7186
  * @param {string} xCaraerSubdomain
7187
+ * @param {string} [channel]
7187
7188
  * @param {*} [options] Override http request option.
7188
7189
  * @throws {RequiredError}
7189
7190
  */
7190
- buildManifest: (xCaraerSubdomain_1, ...args_1) => __awaiter(this, [xCaraerSubdomain_1, ...args_1], void 0, function* (xCaraerSubdomain, options = {}) {
7191
+ buildManifest: (xCaraerSubdomain_1, channel_1, ...args_1) => __awaiter(this, [xCaraerSubdomain_1, channel_1, ...args_1], void 0, function* (xCaraerSubdomain, channel, options = {}) {
7191
7192
  // verify required parameter 'xCaraerSubdomain' is not null or undefined
7192
7193
  (0, common_1.assertParamExists)('buildManifest', 'xCaraerSubdomain', xCaraerSubdomain);
7193
7194
  const localVarPath = `/api/v2/webpages/v2/build/manifest`;
@@ -7203,6 +7204,9 @@ const CMSV2PublicApiAxiosParamCreator = function (configuration) {
7203
7204
  // authentication bearerAuth required
7204
7205
  // http bearer authentication required
7205
7206
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7207
+ if (channel !== undefined) {
7208
+ localVarQueryParameter['channel'] = channel;
7209
+ }
7206
7210
  localVarHeaderParameter['Accept'] = 'application/json';
7207
7211
  if (xCaraerSubdomain != null) {
7208
7212
  localVarHeaderParameter['X-Caraer-Subdomain'] = String(xCaraerSubdomain);
@@ -7681,13 +7685,14 @@ const CMSV2PublicApiFp = function (configuration) {
7681
7685
  *
7682
7686
  * @summary Installed apps and modules for a company\'s website build
7683
7687
  * @param {string} xCaraerSubdomain
7688
+ * @param {string} [channel]
7684
7689
  * @param {*} [options] Override http request option.
7685
7690
  * @throws {RequiredError}
7686
7691
  */
7687
- buildManifest(xCaraerSubdomain, options) {
7692
+ buildManifest(xCaraerSubdomain, channel, options) {
7688
7693
  return __awaiter(this, void 0, void 0, function* () {
7689
7694
  var _a, _b, _c;
7690
- const localVarAxiosArgs = yield localVarAxiosParamCreator.buildManifest(xCaraerSubdomain, options);
7695
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.buildManifest(xCaraerSubdomain, channel, options);
7691
7696
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7692
7697
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CMSV2PublicApi.buildManifest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7693
7698
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7896,11 +7901,12 @@ const CMSV2PublicApiFactory = function (configuration, basePath, axios) {
7896
7901
  *
7897
7902
  * @summary Installed apps and modules for a company\'s website build
7898
7903
  * @param {string} xCaraerSubdomain
7904
+ * @param {string} [channel]
7899
7905
  * @param {*} [options] Override http request option.
7900
7906
  * @throws {RequiredError}
7901
7907
  */
7902
- buildManifest(xCaraerSubdomain, options) {
7903
- return localVarFp.buildManifest(xCaraerSubdomain, options).then((request) => request(axios, basePath));
7908
+ buildManifest(xCaraerSubdomain, channel, options) {
7909
+ return localVarFp.buildManifest(xCaraerSubdomain, channel, options).then((request) => request(axios, basePath));
7904
7910
  },
7905
7911
  /**
7906
7912
  *
@@ -8055,11 +8061,12 @@ class CMSV2PublicApi extends base_1.BaseAPI {
8055
8061
  *
8056
8062
  * @summary Installed apps and modules for a company\'s website build
8057
8063
  * @param {string} xCaraerSubdomain
8064
+ * @param {string} [channel]
8058
8065
  * @param {*} [options] Override http request option.
8059
8066
  * @throws {RequiredError}
8060
8067
  */
8061
- buildManifest(xCaraerSubdomain, options) {
8062
- return (0, exports.CMSV2PublicApiFp)(this.configuration).buildManifest(xCaraerSubdomain, options).then((request) => request(this.axios, this.basePath));
8068
+ buildManifest(xCaraerSubdomain, channel, options) {
8069
+ return (0, exports.CMSV2PublicApiFp)(this.configuration).buildManifest(xCaraerSubdomain, channel, options).then((request) => request(this.axios, this.basePath));
8063
8070
  }
8064
8071
  /**
8065
8072
  *
@@ -8490,6 +8497,230 @@ class CMSV2TransferApi extends base_1.BaseAPI {
8490
8497
  }
8491
8498
  }
8492
8499
  exports.CMSV2TransferApi = CMSV2TransferApi;
8500
+ /**
8501
+ * CMSWebsiteUpdatesApi - axios parameter creator
8502
+ */
8503
+ const CMSWebsiteUpdatesApiAxiosParamCreator = function (configuration) {
8504
+ return {
8505
+ /**
8506
+ *
8507
+ * @summary Pending module updates for this website
8508
+ * @param {*} [options] Override http request option.
8509
+ * @throws {RequiredError}
8510
+ */
8511
+ pending: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
8512
+ const localVarPath = `/api/v2/webpages/v2/updates`;
8513
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8514
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8515
+ let baseOptions;
8516
+ if (configuration) {
8517
+ baseOptions = configuration.baseOptions;
8518
+ }
8519
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8520
+ const localVarHeaderParameter = {};
8521
+ const localVarQueryParameter = {};
8522
+ // authentication bearerAuth required
8523
+ // http bearer authentication required
8524
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8525
+ localVarHeaderParameter['Accept'] = 'application/json';
8526
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8527
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8528
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8529
+ return {
8530
+ url: (0, common_1.toPathString)(localVarUrlObj),
8531
+ options: localVarRequestOptions,
8532
+ };
8533
+ }),
8534
+ /**
8535
+ *
8536
+ * @summary Build a preview site with every pending module update
8537
+ * @param {*} [options] Override http request option.
8538
+ * @throws {RequiredError}
8539
+ */
8540
+ preview: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
8541
+ const localVarPath = `/api/v2/webpages/v2/updates/preview`;
8542
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8543
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8544
+ let baseOptions;
8545
+ if (configuration) {
8546
+ baseOptions = configuration.baseOptions;
8547
+ }
8548
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8549
+ const localVarHeaderParameter = {};
8550
+ const localVarQueryParameter = {};
8551
+ // authentication bearerAuth required
8552
+ // http bearer authentication required
8553
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8554
+ localVarHeaderParameter['Accept'] = 'application/json';
8555
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8556
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8557
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8558
+ return {
8559
+ url: (0, common_1.toPathString)(localVarUrlObj),
8560
+ options: localVarRequestOptions,
8561
+ };
8562
+ }),
8563
+ /**
8564
+ * Rejected with 409 when the preview revision is no longer the current pending set.
8565
+ * @summary Promote a previewed module set to production
8566
+ * @param {{ [key: string]: any | null; }} [requestBody]
8567
+ * @param {*} [options] Override http request option.
8568
+ * @throws {RequiredError}
8569
+ */
8570
+ promote: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
8571
+ const localVarPath = `/api/v2/webpages/v2/updates/promote`;
8572
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8573
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8574
+ let baseOptions;
8575
+ if (configuration) {
8576
+ baseOptions = configuration.baseOptions;
8577
+ }
8578
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8579
+ const localVarHeaderParameter = {};
8580
+ const localVarQueryParameter = {};
8581
+ // authentication bearerAuth required
8582
+ // http bearer authentication required
8583
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8584
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8585
+ localVarHeaderParameter['Accept'] = 'application/json';
8586
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8587
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8588
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8589
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
8590
+ return {
8591
+ url: (0, common_1.toPathString)(localVarUrlObj),
8592
+ options: localVarRequestOptions,
8593
+ };
8594
+ }),
8595
+ };
8596
+ };
8597
+ exports.CMSWebsiteUpdatesApiAxiosParamCreator = CMSWebsiteUpdatesApiAxiosParamCreator;
8598
+ /**
8599
+ * CMSWebsiteUpdatesApi - functional programming interface
8600
+ */
8601
+ const CMSWebsiteUpdatesApiFp = function (configuration) {
8602
+ const localVarAxiosParamCreator = (0, exports.CMSWebsiteUpdatesApiAxiosParamCreator)(configuration);
8603
+ return {
8604
+ /**
8605
+ *
8606
+ * @summary Pending module updates for this website
8607
+ * @param {*} [options] Override http request option.
8608
+ * @throws {RequiredError}
8609
+ */
8610
+ pending(options) {
8611
+ return __awaiter(this, void 0, void 0, function* () {
8612
+ var _a, _b, _c;
8613
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.pending(options);
8614
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8615
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CMSWebsiteUpdatesApi.pending']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8616
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8617
+ });
8618
+ },
8619
+ /**
8620
+ *
8621
+ * @summary Build a preview site with every pending module update
8622
+ * @param {*} [options] Override http request option.
8623
+ * @throws {RequiredError}
8624
+ */
8625
+ preview(options) {
8626
+ return __awaiter(this, void 0, void 0, function* () {
8627
+ var _a, _b, _c;
8628
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.preview(options);
8629
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8630
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CMSWebsiteUpdatesApi.preview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8631
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8632
+ });
8633
+ },
8634
+ /**
8635
+ * Rejected with 409 when the preview revision is no longer the current pending set.
8636
+ * @summary Promote a previewed module set to production
8637
+ * @param {{ [key: string]: any | null; }} [requestBody]
8638
+ * @param {*} [options] Override http request option.
8639
+ * @throws {RequiredError}
8640
+ */
8641
+ promote(requestBody, options) {
8642
+ return __awaiter(this, void 0, void 0, function* () {
8643
+ var _a, _b, _c;
8644
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.promote(requestBody, options);
8645
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8646
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CMSWebsiteUpdatesApi.promote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8647
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8648
+ });
8649
+ },
8650
+ };
8651
+ };
8652
+ exports.CMSWebsiteUpdatesApiFp = CMSWebsiteUpdatesApiFp;
8653
+ /**
8654
+ * CMSWebsiteUpdatesApi - factory interface
8655
+ */
8656
+ const CMSWebsiteUpdatesApiFactory = function (configuration, basePath, axios) {
8657
+ const localVarFp = (0, exports.CMSWebsiteUpdatesApiFp)(configuration);
8658
+ return {
8659
+ /**
8660
+ *
8661
+ * @summary Pending module updates for this website
8662
+ * @param {*} [options] Override http request option.
8663
+ * @throws {RequiredError}
8664
+ */
8665
+ pending(options) {
8666
+ return localVarFp.pending(options).then((request) => request(axios, basePath));
8667
+ },
8668
+ /**
8669
+ *
8670
+ * @summary Build a preview site with every pending module update
8671
+ * @param {*} [options] Override http request option.
8672
+ * @throws {RequiredError}
8673
+ */
8674
+ preview(options) {
8675
+ return localVarFp.preview(options).then((request) => request(axios, basePath));
8676
+ },
8677
+ /**
8678
+ * Rejected with 409 when the preview revision is no longer the current pending set.
8679
+ * @summary Promote a previewed module set to production
8680
+ * @param {{ [key: string]: any | null; }} [requestBody]
8681
+ * @param {*} [options] Override http request option.
8682
+ * @throws {RequiredError}
8683
+ */
8684
+ promote(requestBody, options) {
8685
+ return localVarFp.promote(requestBody, options).then((request) => request(axios, basePath));
8686
+ },
8687
+ };
8688
+ };
8689
+ exports.CMSWebsiteUpdatesApiFactory = CMSWebsiteUpdatesApiFactory;
8690
+ /**
8691
+ * CMSWebsiteUpdatesApi - object-oriented interface
8692
+ */
8693
+ class CMSWebsiteUpdatesApi extends base_1.BaseAPI {
8694
+ /**
8695
+ *
8696
+ * @summary Pending module updates for this website
8697
+ * @param {*} [options] Override http request option.
8698
+ * @throws {RequiredError}
8699
+ */
8700
+ pending(options) {
8701
+ return (0, exports.CMSWebsiteUpdatesApiFp)(this.configuration).pending(options).then((request) => request(this.axios, this.basePath));
8702
+ }
8703
+ /**
8704
+ *
8705
+ * @summary Build a preview site with every pending module update
8706
+ * @param {*} [options] Override http request option.
8707
+ * @throws {RequiredError}
8708
+ */
8709
+ preview(options) {
8710
+ return (0, exports.CMSWebsiteUpdatesApiFp)(this.configuration).preview(options).then((request) => request(this.axios, this.basePath));
8711
+ }
8712
+ /**
8713
+ * Rejected with 409 when the preview revision is no longer the current pending set.
8714
+ * @summary Promote a previewed module set to production
8715
+ * @param {{ [key: string]: any | null; }} [requestBody]
8716
+ * @param {*} [options] Override http request option.
8717
+ * @throws {RequiredError}
8718
+ */
8719
+ promote(requestBody, options) {
8720
+ return (0, exports.CMSWebsiteUpdatesApiFp)(this.configuration).promote(requestBody, options).then((request) => request(this.axios, this.basePath));
8721
+ }
8722
+ }
8723
+ exports.CMSWebsiteUpdatesApi = CMSWebsiteUpdatesApi;
8493
8724
  /**
8494
8725
  * CalendarsApi - axios parameter creator
8495
8726
  */
@@ -15324,7 +15555,7 @@ const PropertyApiAxiosParamCreator = function (configuration) {
15324
15555
  };
15325
15556
  }),
15326
15557
  /**
15327
- * Deletes the soft-deleted HAS_PROPERTY link to this object. If the property is not linked to any other object, the property node is hard-deleted.
15558
+ * Deletes only the soft-deleted HAS_PROPERTY link to this object. Other object links and their stored values are preserved. If no object links remain, the property node and this object\'s stored field values are permanently deleted.
15328
15559
  * @summary Permanently remove archived property
15329
15560
  * @param {string} objectUuid
15330
15561
  * @param {string} propertyUuid
@@ -15695,7 +15926,7 @@ const PropertyApiFp = function (configuration) {
15695
15926
  });
15696
15927
  },
15697
15928
  /**
15698
- * Deletes the soft-deleted HAS_PROPERTY link to this object. If the property is not linked to any other object, the property node is hard-deleted.
15929
+ * Deletes only the soft-deleted HAS_PROPERTY link to this object. Other object links and their stored values are preserved. If no object links remain, the property node and this object\'s stored field values are permanently deleted.
15699
15930
  * @summary Permanently remove archived property
15700
15931
  * @param {string} objectUuid
15701
15932
  * @param {string} propertyUuid
@@ -15893,7 +16124,7 @@ const PropertyApiFactory = function (configuration, basePath, axios) {
15893
16124
  return localVarFp.getPropertyCalculationTypes(objectUuid, propertyUuid, options).then((request) => request(axios, basePath));
15894
16125
  },
15895
16126
  /**
15896
- * Deletes the soft-deleted HAS_PROPERTY link to this object. If the property is not linked to any other object, the property node is hard-deleted.
16127
+ * Deletes only the soft-deleted HAS_PROPERTY link to this object. Other object links and their stored values are preserved. If no object links remain, the property node and this object\'s stored field values are permanently deleted.
15897
16128
  * @summary Permanently remove archived property
15898
16129
  * @param {string} objectUuid
15899
16130
  * @param {string} propertyUuid
@@ -16053,7 +16284,7 @@ class PropertyApi extends base_1.BaseAPI {
16053
16284
  return (0, exports.PropertyApiFp)(this.configuration).getPropertyCalculationTypes(objectUuid, propertyUuid, options).then((request) => request(this.axios, this.basePath));
16054
16285
  }
16055
16286
  /**
16056
- * Deletes the soft-deleted HAS_PROPERTY link to this object. If the property is not linked to any other object, the property node is hard-deleted.
16287
+ * Deletes only the soft-deleted HAS_PROPERTY link to this object. Other object links and their stored values are preserved. If no object links remain, the property node and this object\'s stored field values are permanently deleted.
16057
16288
  * @summary Permanently remove archived property
16058
16289
  * @param {string} objectUuid
16059
16290
  * @param {string} propertyUuid
@@ -16738,15 +16969,15 @@ const RecordsApiAxiosParamCreator = function (configuration) {
16738
16969
  * @param {string} uuid
16739
16970
  * @param {string} name
16740
16971
  * @param {string} [object] Optional object name used to resolve the record before building the preview.
16741
- * @param {PreviewParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
16972
+ * @param {Preview1ParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
16742
16973
  * @param {*} [options] Override http request option.
16743
16974
  * @throws {RequiredError}
16744
16975
  */
16745
- preview: (uuid_1, name_1, object_1, parse_1, ...args_1) => __awaiter(this, [uuid_1, name_1, object_1, parse_1, ...args_1], void 0, function* (uuid, name, object, parse, options = {}) {
16976
+ preview1: (uuid_1, name_1, object_1, parse_1, ...args_1) => __awaiter(this, [uuid_1, name_1, object_1, parse_1, ...args_1], void 0, function* (uuid, name, object, parse, options = {}) {
16746
16977
  // verify required parameter 'uuid' is not null or undefined
16747
- (0, common_1.assertParamExists)('preview', 'uuid', uuid);
16978
+ (0, common_1.assertParamExists)('preview1', 'uuid', uuid);
16748
16979
  // verify required parameter 'name' is not null or undefined
16749
- (0, common_1.assertParamExists)('preview', 'name', name);
16980
+ (0, common_1.assertParamExists)('preview1', 'name', name);
16750
16981
  const localVarPath = `/api/v2/records/{uuid}/previews/{name}`
16751
16982
  .replace('{uuid}', encodeURIComponent(String(uuid)))
16752
16983
  .replace('{name}', encodeURIComponent(String(name)));
@@ -17486,16 +17717,16 @@ const RecordsApiFp = function (configuration) {
17486
17717
  * @param {string} uuid
17487
17718
  * @param {string} name
17488
17719
  * @param {string} [object] Optional object name used to resolve the record before building the preview.
17489
- * @param {PreviewParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
17720
+ * @param {Preview1ParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
17490
17721
  * @param {*} [options] Override http request option.
17491
17722
  * @throws {RequiredError}
17492
17723
  */
17493
- preview(uuid, name, object, parse, options) {
17724
+ preview1(uuid, name, object, parse, options) {
17494
17725
  return __awaiter(this, void 0, void 0, function* () {
17495
17726
  var _a, _b, _c;
17496
- const localVarAxiosArgs = yield localVarAxiosParamCreator.preview(uuid, name, object, parse, options);
17727
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.preview1(uuid, name, object, parse, options);
17497
17728
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17498
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecordsApi.preview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17729
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecordsApi.preview1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17499
17730
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17500
17731
  });
17501
17732
  },
@@ -17872,12 +18103,12 @@ const RecordsApiFactory = function (configuration, basePath, axios) {
17872
18103
  * @param {string} uuid
17873
18104
  * @param {string} name
17874
18105
  * @param {string} [object] Optional object name used to resolve the record before building the preview.
17875
- * @param {PreviewParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
18106
+ * @param {Preview1ParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
17876
18107
  * @param {*} [options] Override http request option.
17877
18108
  * @throws {RequiredError}
17878
18109
  */
17879
- preview(uuid, name, object, parse, options) {
17880
- return localVarFp.preview(uuid, name, object, parse, options).then((request) => request(axios, basePath));
18110
+ preview1(uuid, name, object, parse, options) {
18111
+ return localVarFp.preview1(uuid, name, object, parse, options).then((request) => request(axios, basePath));
17881
18112
  },
17882
18113
  /**
17883
18114
  * Executes a two-pass GraphRAG query using natural language or a declarative plan. Returns records with scores and graph evidence.
@@ -18190,12 +18421,12 @@ class RecordsApi extends base_1.BaseAPI {
18190
18421
  * @param {string} uuid
18191
18422
  * @param {string} name
18192
18423
  * @param {string} [object] Optional object name used to resolve the record before building the preview.
18193
- * @param {PreviewParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
18424
+ * @param {Preview1ParseEnum} [parse] Value presentation mode: omit/false/db for raw stored values; true/human_readable for display strings; structured for rich JSON (e.g. PropertyOption arrays, related records).
18194
18425
  * @param {*} [options] Override http request option.
18195
18426
  * @throws {RequiredError}
18196
18427
  */
18197
- preview(uuid, name, object, parse, options) {
18198
- return (0, exports.RecordsApiFp)(this.configuration).preview(uuid, name, object, parse, options).then((request) => request(this.axios, this.basePath));
18428
+ preview1(uuid, name, object, parse, options) {
18429
+ return (0, exports.RecordsApiFp)(this.configuration).preview1(uuid, name, object, parse, options).then((request) => request(this.axios, this.basePath));
18199
18430
  }
18200
18431
  /**
18201
18432
  * Executes a two-pass GraphRAG query using natural language or a declarative plan. Returns records with scores and graph evidence.
@@ -18369,7 +18600,7 @@ exports.IndexFlowParseEnum = {
18369
18600
  HumanReadable: 'HUMAN_READABLE',
18370
18601
  Structured: 'STRUCTURED',
18371
18602
  };
18372
- exports.PreviewParseEnum = {
18603
+ exports.Preview1ParseEnum = {
18373
18604
  Db: 'DB',
18374
18605
  HumanReadable: 'HUMAN_READABLE',
18375
18606
  Structured: 'STRUCTURED',