@caraer/client 2.0.701 → 2.0.703

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
@@ -6222,6 +6222,84 @@ const CMSV2PagesApiAxiosParamCreator = function (configuration) {
6222
6222
  options: localVarRequestOptions,
6223
6223
  };
6224
6224
  }),
6225
+ /**
6226
+ *
6227
+ * @summary Cancel or retry a module replacement
6228
+ * @param {string} recordUuid
6229
+ * @param {string} replacementId
6230
+ * @param {string} action
6231
+ * @param {*} [options] Override http request option.
6232
+ * @throws {RequiredError}
6233
+ */
6234
+ moduleReplacementAction: (recordUuid_1, replacementId_1, action_1, ...args_1) => __awaiter(this, [recordUuid_1, replacementId_1, action_1, ...args_1], void 0, function* (recordUuid, replacementId, action, options = {}) {
6235
+ // verify required parameter 'recordUuid' is not null or undefined
6236
+ (0, common_1.assertParamExists)('moduleReplacementAction', 'recordUuid', recordUuid);
6237
+ // verify required parameter 'replacementId' is not null or undefined
6238
+ (0, common_1.assertParamExists)('moduleReplacementAction', 'replacementId', replacementId);
6239
+ // verify required parameter 'action' is not null or undefined
6240
+ (0, common_1.assertParamExists)('moduleReplacementAction', 'action', action);
6241
+ const localVarPath = `/api/v2/webpages/v2/pages/{recordUuid}/module-replacements/{replacementId}/{action}`
6242
+ .replace('{recordUuid}', encodeURIComponent(String(recordUuid)))
6243
+ .replace('{replacementId}', encodeURIComponent(String(replacementId)))
6244
+ .replace('{action}', encodeURIComponent(String(action)));
6245
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6246
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6247
+ let baseOptions;
6248
+ if (configuration) {
6249
+ baseOptions = configuration.baseOptions;
6250
+ }
6251
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
6252
+ const localVarHeaderParameter = {};
6253
+ const localVarQueryParameter = {};
6254
+ // authentication bearerAuth required
6255
+ // http bearer authentication required
6256
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6257
+ localVarHeaderParameter['Accept'] = 'application/json';
6258
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6259
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6260
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6261
+ return {
6262
+ url: (0, common_1.toPathString)(localVarUrlObj),
6263
+ options: localVarRequestOptions,
6264
+ };
6265
+ }),
6266
+ /**
6267
+ *
6268
+ * @summary Check durable module replacements and apply ready builds to the draft
6269
+ * @param {string} recordUuid
6270
+ * @param {string} [locale]
6271
+ * @param {*} [options] Override http request option.
6272
+ * @throws {RequiredError}
6273
+ */
6274
+ moduleReplacements: (recordUuid_1, locale_1, ...args_1) => __awaiter(this, [recordUuid_1, locale_1, ...args_1], void 0, function* (recordUuid, locale, options = {}) {
6275
+ // verify required parameter 'recordUuid' is not null or undefined
6276
+ (0, common_1.assertParamExists)('moduleReplacements', 'recordUuid', recordUuid);
6277
+ const localVarPath = `/api/v2/webpages/v2/pages/{recordUuid}/module-replacements`
6278
+ .replace('{recordUuid}', encodeURIComponent(String(recordUuid)));
6279
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6280
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6281
+ let baseOptions;
6282
+ if (configuration) {
6283
+ baseOptions = configuration.baseOptions;
6284
+ }
6285
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6286
+ const localVarHeaderParameter = {};
6287
+ const localVarQueryParameter = {};
6288
+ // authentication bearerAuth required
6289
+ // http bearer authentication required
6290
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6291
+ if (locale !== undefined) {
6292
+ localVarQueryParameter['locale'] = locale;
6293
+ }
6294
+ localVarHeaderParameter['Accept'] = 'application/json';
6295
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6296
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6297
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6298
+ return {
6299
+ url: (0, common_1.toPathString)(localVarUrlObj),
6300
+ options: localVarRequestOptions,
6301
+ };
6302
+ }),
6225
6303
  /**
6226
6304
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
6227
6305
  * @summary Apply patches to a page draft
@@ -6384,6 +6462,48 @@ const CMSV2PagesApiAxiosParamCreator = function (configuration) {
6384
6462
  options: localVarRequestOptions,
6385
6463
  };
6386
6464
  }),
6465
+ /**
6466
+ *
6467
+ * @summary Publish a template draft and update linked live pages
6468
+ * @param {string} objectUuid
6469
+ * @param {{ [key: string]: any | null; }} requestBody
6470
+ * @param {string} [locale]
6471
+ * @param {*} [options] Override http request option.
6472
+ * @throws {RequiredError}
6473
+ */
6474
+ publishTemplate: (objectUuid_1, requestBody_1, locale_1, ...args_1) => __awaiter(this, [objectUuid_1, requestBody_1, locale_1, ...args_1], void 0, function* (objectUuid, requestBody, locale, options = {}) {
6475
+ // verify required parameter 'objectUuid' is not null or undefined
6476
+ (0, common_1.assertParamExists)('publishTemplate', 'objectUuid', objectUuid);
6477
+ // verify required parameter 'requestBody' is not null or undefined
6478
+ (0, common_1.assertParamExists)('publishTemplate', 'requestBody', requestBody);
6479
+ const localVarPath = `/api/v2/webpages/v2/pages/templates/{objectUuid}/publish`
6480
+ .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
6481
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6482
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6483
+ let baseOptions;
6484
+ if (configuration) {
6485
+ baseOptions = configuration.baseOptions;
6486
+ }
6487
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
6488
+ const localVarHeaderParameter = {};
6489
+ const localVarQueryParameter = {};
6490
+ // authentication bearerAuth required
6491
+ // http bearer authentication required
6492
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6493
+ if (locale !== undefined) {
6494
+ localVarQueryParameter['locale'] = locale;
6495
+ }
6496
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6497
+ localVarHeaderParameter['Accept'] = 'application/json';
6498
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6499
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6500
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6501
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
6502
+ return {
6503
+ url: (0, common_1.toPathString)(localVarUrlObj),
6504
+ options: localVarRequestOptions,
6505
+ };
6506
+ }),
6387
6507
  /**
6388
6508
  *
6389
6509
  * @summary Restore a draft snapshot
@@ -6968,6 +7088,41 @@ const CMSV2PagesApiFp = function (configuration) {
6968
7088
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6969
7089
  });
6970
7090
  },
7091
+ /**
7092
+ *
7093
+ * @summary Cancel or retry a module replacement
7094
+ * @param {string} recordUuid
7095
+ * @param {string} replacementId
7096
+ * @param {string} action
7097
+ * @param {*} [options] Override http request option.
7098
+ * @throws {RequiredError}
7099
+ */
7100
+ moduleReplacementAction(recordUuid, replacementId, action, options) {
7101
+ return __awaiter(this, void 0, void 0, function* () {
7102
+ var _a, _b, _c;
7103
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.moduleReplacementAction(recordUuid, replacementId, action, options);
7104
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7105
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CMSV2PagesApi.moduleReplacementAction']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7106
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7107
+ });
7108
+ },
7109
+ /**
7110
+ *
7111
+ * @summary Check durable module replacements and apply ready builds to the draft
7112
+ * @param {string} recordUuid
7113
+ * @param {string} [locale]
7114
+ * @param {*} [options] Override http request option.
7115
+ * @throws {RequiredError}
7116
+ */
7117
+ moduleReplacements(recordUuid, locale, options) {
7118
+ return __awaiter(this, void 0, void 0, function* () {
7119
+ var _a, _b, _c;
7120
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.moduleReplacements(recordUuid, locale, options);
7121
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7122
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CMSV2PagesApi.moduleReplacements']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7123
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7124
+ });
7125
+ },
6971
7126
  /**
6972
7127
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
6973
7128
  * @summary Apply patches to a page draft
@@ -7039,6 +7194,24 @@ const CMSV2PagesApiFp = function (configuration) {
7039
7194
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7040
7195
  });
7041
7196
  },
7197
+ /**
7198
+ *
7199
+ * @summary Publish a template draft and update linked live pages
7200
+ * @param {string} objectUuid
7201
+ * @param {{ [key: string]: any | null; }} requestBody
7202
+ * @param {string} [locale]
7203
+ * @param {*} [options] Override http request option.
7204
+ * @throws {RequiredError}
7205
+ */
7206
+ publishTemplate(objectUuid, requestBody, locale, options) {
7207
+ return __awaiter(this, void 0, void 0, function* () {
7208
+ var _a, _b, _c;
7209
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.publishTemplate(objectUuid, requestBody, locale, options);
7210
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7211
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CMSV2PagesApi.publishTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7212
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7213
+ });
7214
+ },
7042
7215
  /**
7043
7216
  *
7044
7217
  * @summary Restore a draft snapshot
@@ -7332,6 +7505,29 @@ const CMSV2PagesApiFactory = function (configuration, basePath, axios) {
7332
7505
  library(options) {
7333
7506
  return localVarFp.library(options).then((request) => request(axios, basePath));
7334
7507
  },
7508
+ /**
7509
+ *
7510
+ * @summary Cancel or retry a module replacement
7511
+ * @param {string} recordUuid
7512
+ * @param {string} replacementId
7513
+ * @param {string} action
7514
+ * @param {*} [options] Override http request option.
7515
+ * @throws {RequiredError}
7516
+ */
7517
+ moduleReplacementAction(recordUuid, replacementId, action, options) {
7518
+ return localVarFp.moduleReplacementAction(recordUuid, replacementId, action, options).then((request) => request(axios, basePath));
7519
+ },
7520
+ /**
7521
+ *
7522
+ * @summary Check durable module replacements and apply ready builds to the draft
7523
+ * @param {string} recordUuid
7524
+ * @param {string} [locale]
7525
+ * @param {*} [options] Override http request option.
7526
+ * @throws {RequiredError}
7527
+ */
7528
+ moduleReplacements(recordUuid, locale, options) {
7529
+ return localVarFp.moduleReplacements(recordUuid, locale, options).then((request) => request(axios, basePath));
7530
+ },
7335
7531
  /**
7336
7532
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
7337
7533
  * @summary Apply patches to a page draft
@@ -7379,6 +7575,18 @@ const CMSV2PagesApiFactory = function (configuration, basePath, axios) {
7379
7575
  publish(recordUuid, locale, allLocales, options) {
7380
7576
  return localVarFp.publish(recordUuid, locale, allLocales, options).then((request) => request(axios, basePath));
7381
7577
  },
7578
+ /**
7579
+ *
7580
+ * @summary Publish a template draft and update linked live pages
7581
+ * @param {string} objectUuid
7582
+ * @param {{ [key: string]: any | null; }} requestBody
7583
+ * @param {string} [locale]
7584
+ * @param {*} [options] Override http request option.
7585
+ * @throws {RequiredError}
7586
+ */
7587
+ publishTemplate(objectUuid, requestBody, locale, options) {
7588
+ return localVarFp.publishTemplate(objectUuid, requestBody, locale, options).then((request) => request(axios, basePath));
7589
+ },
7382
7590
  /**
7383
7591
  *
7384
7592
  * @summary Restore a draft snapshot
@@ -7610,6 +7818,29 @@ class CMSV2PagesApi extends base_1.BaseAPI {
7610
7818
  library(options) {
7611
7819
  return (0, exports.CMSV2PagesApiFp)(this.configuration).library(options).then((request) => request(this.axios, this.basePath));
7612
7820
  }
7821
+ /**
7822
+ *
7823
+ * @summary Cancel or retry a module replacement
7824
+ * @param {string} recordUuid
7825
+ * @param {string} replacementId
7826
+ * @param {string} action
7827
+ * @param {*} [options] Override http request option.
7828
+ * @throws {RequiredError}
7829
+ */
7830
+ moduleReplacementAction(recordUuid, replacementId, action, options) {
7831
+ return (0, exports.CMSV2PagesApiFp)(this.configuration).moduleReplacementAction(recordUuid, replacementId, action, options).then((request) => request(this.axios, this.basePath));
7832
+ }
7833
+ /**
7834
+ *
7835
+ * @summary Check durable module replacements and apply ready builds to the draft
7836
+ * @param {string} recordUuid
7837
+ * @param {string} [locale]
7838
+ * @param {*} [options] Override http request option.
7839
+ * @throws {RequiredError}
7840
+ */
7841
+ moduleReplacements(recordUuid, locale, options) {
7842
+ return (0, exports.CMSV2PagesApiFp)(this.configuration).moduleReplacements(recordUuid, locale, options).then((request) => request(this.axios, this.basePath));
7843
+ }
7613
7844
  /**
7614
7845
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
7615
7846
  * @summary Apply patches to a page draft
@@ -7657,6 +7888,18 @@ class CMSV2PagesApi extends base_1.BaseAPI {
7657
7888
  publish(recordUuid, locale, allLocales, options) {
7658
7889
  return (0, exports.CMSV2PagesApiFp)(this.configuration).publish(recordUuid, locale, allLocales, options).then((request) => request(this.axios, this.basePath));
7659
7890
  }
7891
+ /**
7892
+ *
7893
+ * @summary Publish a template draft and update linked live pages
7894
+ * @param {string} objectUuid
7895
+ * @param {{ [key: string]: any | null; }} requestBody
7896
+ * @param {string} [locale]
7897
+ * @param {*} [options] Override http request option.
7898
+ * @throws {RequiredError}
7899
+ */
7900
+ publishTemplate(objectUuid, requestBody, locale, options) {
7901
+ return (0, exports.CMSV2PagesApiFp)(this.configuration).publishTemplate(objectUuid, requestBody, locale, options).then((request) => request(this.axios, this.basePath));
7902
+ }
7660
7903
  /**
7661
7904
  *
7662
7905
  * @summary Restore a draft snapshot
package/dist/esm/api.d.ts CHANGED
@@ -1062,8 +1062,8 @@ export interface AppSettingFieldSchema {
1062
1062
  'clearValue'?: boolean;
1063
1063
  'mappingValue'?: AppSettingFieldMappingStructure;
1064
1064
  'valueScope'?: string;
1065
- 'settingsGroup'?: boolean;
1066
1065
  'action'?: boolean;
1066
+ 'settingsGroup'?: boolean;
1067
1067
  'filterPropertyTypes'?: Array<string>;
1068
1068
  'filterPropertyFormats'?: Array<string>;
1069
1069
  }
@@ -1595,6 +1595,7 @@ export interface CmsPageModuleInstance {
1595
1595
  export interface CmsPagePatch {
1596
1596
  'op'?: string;
1597
1597
  'moduleId'?: string;
1598
+ 'expectedModule'?: string;
1598
1599
  'ref'?: string;
1599
1600
  'field'?: string;
1600
1601
  'value'?: any;
@@ -3877,14 +3878,14 @@ export interface ModelRecord {
3877
3878
  'updatedByUuid'?: string;
3878
3879
  'deletedByUuid'?: string;
3879
3880
  'index'?: number;
3880
- 'complete'?: boolean;
3881
3881
  'deleted'?: boolean;
3882
+ 'complete'?: boolean;
3882
3883
  'uuid': string;
3884
+ 'user'?: PublicUserDTO;
3883
3885
  'properties'?: Array<FilledProperty>;
3884
3886
  'objects'?: {
3885
3887
  [key: string]: any | null;
3886
3888
  };
3887
- 'user'?: PublicUserDTO;
3888
3889
  }
3889
3890
  export interface MultiFile extends PropertyFormat {
3890
3891
  }
@@ -6297,8 +6298,8 @@ export interface SettingField {
6297
6298
  'hidden'?: boolean;
6298
6299
  'disabled'?: boolean;
6299
6300
  'options'?: Array<SettingOption>;
6300
- 'value'?: any;
6301
6301
  'defaultValue'?: any;
6302
+ 'value'?: any;
6302
6303
  }
6303
6304
  export declare const SettingFieldTypeEnum: {
6304
6305
  readonly String: "STRING";
@@ -8060,8 +8061,8 @@ export interface Team {
8060
8061
  [key: string]: Filter;
8061
8062
  };
8062
8063
  'memberCount'?: number;
8063
- 'complete'?: boolean;
8064
8064
  'deleted'?: boolean;
8065
+ 'complete'?: boolean;
8065
8066
  'uuid': string;
8066
8067
  }
8067
8068
  export interface TeamDTO {
@@ -11998,6 +11999,25 @@ export declare const CMSV2PagesApiAxiosParamCreator: (configuration?: Configurat
11998
11999
  * @throws {RequiredError}
11999
12000
  */
12000
12001
  library: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12002
+ /**
12003
+ *
12004
+ * @summary Cancel or retry a module replacement
12005
+ * @param {string} recordUuid
12006
+ * @param {string} replacementId
12007
+ * @param {string} action
12008
+ * @param {*} [options] Override http request option.
12009
+ * @throws {RequiredError}
12010
+ */
12011
+ moduleReplacementAction: (recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12012
+ /**
12013
+ *
12014
+ * @summary Check durable module replacements and apply ready builds to the draft
12015
+ * @param {string} recordUuid
12016
+ * @param {string} [locale]
12017
+ * @param {*} [options] Override http request option.
12018
+ * @throws {RequiredError}
12019
+ */
12020
+ moduleReplacements: (recordUuid: string, locale?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12001
12021
  /**
12002
12022
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
12003
12023
  * @summary Apply patches to a page draft
@@ -12039,6 +12059,18 @@ export declare const CMSV2PagesApiAxiosParamCreator: (configuration?: Configurat
12039
12059
  * @throws {RequiredError}
12040
12060
  */
12041
12061
  publish: (recordUuid: string, locale?: string, allLocales?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12062
+ /**
12063
+ *
12064
+ * @summary Publish a template draft and update linked live pages
12065
+ * @param {string} objectUuid
12066
+ * @param {{ [key: string]: any | null; }} requestBody
12067
+ * @param {string} [locale]
12068
+ * @param {*} [options] Override http request option.
12069
+ * @throws {RequiredError}
12070
+ */
12071
+ publishTemplate: (objectUuid: string, requestBody: {
12072
+ [key: string]: any | null;
12073
+ }, locale?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12042
12074
  /**
12043
12075
  *
12044
12076
  * @summary Restore a draft snapshot
@@ -12238,6 +12270,25 @@ export declare const CMSV2PagesApiFp: (configuration?: Configuration) => {
12238
12270
  * @throws {RequiredError}
12239
12271
  */
12240
12272
  library(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseListCmsModuleDTO>>;
12273
+ /**
12274
+ *
12275
+ * @summary Cancel or retry a module replacement
12276
+ * @param {string} recordUuid
12277
+ * @param {string} replacementId
12278
+ * @param {string} action
12279
+ * @param {*} [options] Override http request option.
12280
+ * @throws {RequiredError}
12281
+ */
12282
+ moduleReplacementAction(recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
12283
+ /**
12284
+ *
12285
+ * @summary Check durable module replacements and apply ready builds to the draft
12286
+ * @param {string} recordUuid
12287
+ * @param {string} [locale]
12288
+ * @param {*} [options] Override http request option.
12289
+ * @throws {RequiredError}
12290
+ */
12291
+ moduleReplacements(recordUuid: string, locale?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
12241
12292
  /**
12242
12293
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
12243
12294
  * @summary Apply patches to a page draft
@@ -12279,6 +12330,18 @@ export declare const CMSV2PagesApiFp: (configuration?: Configuration) => {
12279
12330
  * @throws {RequiredError}
12280
12331
  */
12281
12332
  publish(recordUuid: string, locale?: string, allLocales?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseListCmsPageDTO>>;
12333
+ /**
12334
+ *
12335
+ * @summary Publish a template draft and update linked live pages
12336
+ * @param {string} objectUuid
12337
+ * @param {{ [key: string]: any | null; }} requestBody
12338
+ * @param {string} [locale]
12339
+ * @param {*} [options] Override http request option.
12340
+ * @throws {RequiredError}
12341
+ */
12342
+ publishTemplate(objectUuid: string, requestBody: {
12343
+ [key: string]: any | null;
12344
+ }, locale?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseCmsPageDTO>>;
12282
12345
  /**
12283
12346
  *
12284
12347
  * @summary Restore a draft snapshot
@@ -12478,6 +12541,25 @@ export declare const CMSV2PagesApiFactory: (configuration?: Configuration, baseP
12478
12541
  * @throws {RequiredError}
12479
12542
  */
12480
12543
  library(options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListCmsModuleDTO>;
12544
+ /**
12545
+ *
12546
+ * @summary Cancel or retry a module replacement
12547
+ * @param {string} recordUuid
12548
+ * @param {string} replacementId
12549
+ * @param {string} action
12550
+ * @param {*} [options] Override http request option.
12551
+ * @throws {RequiredError}
12552
+ */
12553
+ moduleReplacementAction(recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
12554
+ /**
12555
+ *
12556
+ * @summary Check durable module replacements and apply ready builds to the draft
12557
+ * @param {string} recordUuid
12558
+ * @param {string} [locale]
12559
+ * @param {*} [options] Override http request option.
12560
+ * @throws {RequiredError}
12561
+ */
12562
+ moduleReplacements(recordUuid: string, locale?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
12481
12563
  /**
12482
12564
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
12483
12565
  * @summary Apply patches to a page draft
@@ -12519,6 +12601,18 @@ export declare const CMSV2PagesApiFactory: (configuration?: Configuration, baseP
12519
12601
  * @throws {RequiredError}
12520
12602
  */
12521
12603
  publish(recordUuid: string, locale?: string, allLocales?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListCmsPageDTO>;
12604
+ /**
12605
+ *
12606
+ * @summary Publish a template draft and update linked live pages
12607
+ * @param {string} objectUuid
12608
+ * @param {{ [key: string]: any | null; }} requestBody
12609
+ * @param {string} [locale]
12610
+ * @param {*} [options] Override http request option.
12611
+ * @throws {RequiredError}
12612
+ */
12613
+ publishTemplate(objectUuid: string, requestBody: {
12614
+ [key: string]: any | null;
12615
+ }, locale?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseCmsPageDTO>;
12522
12616
  /**
12523
12617
  *
12524
12618
  * @summary Restore a draft snapshot
@@ -12718,6 +12812,25 @@ export declare class CMSV2PagesApi extends BaseAPI {
12718
12812
  * @throws {RequiredError}
12719
12813
  */
12720
12814
  library(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseListCmsModuleDTO, any, {}>>;
12815
+ /**
12816
+ *
12817
+ * @summary Cancel or retry a module replacement
12818
+ * @param {string} recordUuid
12819
+ * @param {string} replacementId
12820
+ * @param {string} action
12821
+ * @param {*} [options] Override http request option.
12822
+ * @throws {RequiredError}
12823
+ */
12824
+ moduleReplacementAction(recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
12825
+ /**
12826
+ *
12827
+ * @summary Check durable module replacements and apply ready builds to the draft
12828
+ * @param {string} recordUuid
12829
+ * @param {string} [locale]
12830
+ * @param {*} [options] Override http request option.
12831
+ * @throws {RequiredError}
12832
+ */
12833
+ moduleReplacements(recordUuid: string, locale?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
12721
12834
  /**
12722
12835
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
12723
12836
  * @summary Apply patches to a page draft
@@ -12759,6 +12872,18 @@ export declare class CMSV2PagesApi extends BaseAPI {
12759
12872
  * @throws {RequiredError}
12760
12873
  */
12761
12874
  publish(recordUuid: string, locale?: string, allLocales?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseListCmsPageDTO, any, {}>>;
12875
+ /**
12876
+ *
12877
+ * @summary Publish a template draft and update linked live pages
12878
+ * @param {string} objectUuid
12879
+ * @param {{ [key: string]: any | null; }} requestBody
12880
+ * @param {string} [locale]
12881
+ * @param {*} [options] Override http request option.
12882
+ * @throws {RequiredError}
12883
+ */
12884
+ publishTemplate(objectUuid: string, requestBody: {
12885
+ [key: string]: any | null;
12886
+ }, locale?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseCmsPageDTO, any, {}>>;
12762
12887
  /**
12763
12888
  *
12764
12889
  * @summary Restore a draft snapshot