@caraer/client 2.0.702 → 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/api.ts CHANGED
@@ -1076,8 +1076,8 @@ export interface AppSettingFieldSchema {
1076
1076
  'clearValue'?: boolean;
1077
1077
  'mappingValue'?: AppSettingFieldMappingStructure;
1078
1078
  'valueScope'?: string;
1079
- 'settingsGroup'?: boolean;
1080
1079
  'action'?: boolean;
1080
+ 'settingsGroup'?: boolean;
1081
1081
  'filterPropertyTypes'?: Array<string>;
1082
1082
  'filterPropertyFormats'?: Array<string>;
1083
1083
  }
@@ -1605,6 +1605,7 @@ export interface CmsPageModuleInstance {
1605
1605
  export interface CmsPagePatch {
1606
1606
  'op'?: string;
1607
1607
  'moduleId'?: string;
1608
+ 'expectedModule'?: string;
1608
1609
  'ref'?: string;
1609
1610
  'field'?: string;
1610
1611
  'value'?: any;
@@ -2958,9 +2959,9 @@ export const EventRsvpRequestScopeEnum = {
2958
2959
  export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
2959
2960
 
2960
2961
  export interface ExistingWidgetSummary {
2961
- 'xproperty'?: string;
2962
2962
  'ymetric'?: string;
2963
2963
  'yproperty'?: string;
2964
+ 'xproperty'?: string;
2964
2965
  'title'?: string;
2965
2966
  'chartType'?: string;
2966
2967
  'xProperty'?: string;
@@ -3875,8 +3876,8 @@ export interface ModelRecord {
3875
3876
  'updatedByUuid'?: string;
3876
3877
  'deletedByUuid'?: string;
3877
3878
  'index'?: number;
3878
- 'complete'?: boolean;
3879
3879
  'deleted'?: boolean;
3880
+ 'complete'?: boolean;
3880
3881
  'uuid': string;
3881
3882
  'user'?: PublicUserDTO;
3882
3883
  'properties'?: Array<FilledProperty>;
@@ -6263,8 +6264,8 @@ export interface SettingField {
6263
6264
  'hidden'?: boolean;
6264
6265
  'disabled'?: boolean;
6265
6266
  'options'?: Array<SettingOption>;
6266
- 'value'?: any;
6267
6267
  'defaultValue'?: any;
6268
+ 'value'?: any;
6268
6269
  }
6269
6270
 
6270
6271
  export const SettingFieldTypeEnum = {
@@ -7962,8 +7963,8 @@ export interface Team {
7962
7963
  'filtersString'?: string;
7963
7964
  'filters'?: { [key: string]: Filter; };
7964
7965
  'memberCount'?: number;
7965
- 'complete'?: boolean;
7966
7966
  'deleted'?: boolean;
7967
+ 'complete'?: boolean;
7967
7968
  'uuid': string;
7968
7969
  }
7969
7970
  export interface TeamDTO {
@@ -15345,6 +15346,95 @@ export const CMSV2PagesApiAxiosParamCreator = function (configuration?: Configur
15345
15346
  options: localVarRequestOptions,
15346
15347
  };
15347
15348
  },
15349
+ /**
15350
+ *
15351
+ * @summary Cancel or retry a module replacement
15352
+ * @param {string} recordUuid
15353
+ * @param {string} replacementId
15354
+ * @param {string} action
15355
+ * @param {*} [options] Override http request option.
15356
+ * @throws {RequiredError}
15357
+ */
15358
+ moduleReplacementAction: async (recordUuid: string, replacementId: string, action: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15359
+ // verify required parameter 'recordUuid' is not null or undefined
15360
+ assertParamExists('moduleReplacementAction', 'recordUuid', recordUuid)
15361
+ // verify required parameter 'replacementId' is not null or undefined
15362
+ assertParamExists('moduleReplacementAction', 'replacementId', replacementId)
15363
+ // verify required parameter 'action' is not null or undefined
15364
+ assertParamExists('moduleReplacementAction', 'action', action)
15365
+ const localVarPath = `/api/v2/webpages/v2/pages/{recordUuid}/module-replacements/{replacementId}/{action}`
15366
+ .replace('{recordUuid}', encodeURIComponent(String(recordUuid)))
15367
+ .replace('{replacementId}', encodeURIComponent(String(replacementId)))
15368
+ .replace('{action}', encodeURIComponent(String(action)));
15369
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15370
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15371
+ let baseOptions;
15372
+ if (configuration) {
15373
+ baseOptions = configuration.baseOptions;
15374
+ }
15375
+
15376
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15377
+ const localVarHeaderParameter = {} as any;
15378
+ const localVarQueryParameter = {} as any;
15379
+
15380
+ // authentication bearerAuth required
15381
+ // http bearer authentication required
15382
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15383
+
15384
+ localVarHeaderParameter['Accept'] = 'application/json';
15385
+
15386
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15387
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15388
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15389
+
15390
+ return {
15391
+ url: toPathString(localVarUrlObj),
15392
+ options: localVarRequestOptions,
15393
+ };
15394
+ },
15395
+ /**
15396
+ *
15397
+ * @summary Check durable module replacements and apply ready builds to the draft
15398
+ * @param {string} recordUuid
15399
+ * @param {string} [locale]
15400
+ * @param {*} [options] Override http request option.
15401
+ * @throws {RequiredError}
15402
+ */
15403
+ moduleReplacements: async (recordUuid: string, locale?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15404
+ // verify required parameter 'recordUuid' is not null or undefined
15405
+ assertParamExists('moduleReplacements', 'recordUuid', recordUuid)
15406
+ const localVarPath = `/api/v2/webpages/v2/pages/{recordUuid}/module-replacements`
15407
+ .replace('{recordUuid}', encodeURIComponent(String(recordUuid)));
15408
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15409
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15410
+ let baseOptions;
15411
+ if (configuration) {
15412
+ baseOptions = configuration.baseOptions;
15413
+ }
15414
+
15415
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15416
+ const localVarHeaderParameter = {} as any;
15417
+ const localVarQueryParameter = {} as any;
15418
+
15419
+ // authentication bearerAuth required
15420
+ // http bearer authentication required
15421
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15422
+
15423
+ if (locale !== undefined) {
15424
+ localVarQueryParameter['locale'] = locale;
15425
+ }
15426
+
15427
+ localVarHeaderParameter['Accept'] = 'application/json';
15428
+
15429
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15430
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15431
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15432
+
15433
+ return {
15434
+ url: toPathString(localVarUrlObj),
15435
+ options: localVarRequestOptions,
15436
+ };
15437
+ },
15348
15438
  /**
15349
15439
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
15350
15440
  * @summary Apply patches to a page draft
@@ -15531,6 +15621,54 @@ export const CMSV2PagesApiAxiosParamCreator = function (configuration?: Configur
15531
15621
  options: localVarRequestOptions,
15532
15622
  };
15533
15623
  },
15624
+ /**
15625
+ *
15626
+ * @summary Publish a template draft and update linked live pages
15627
+ * @param {string} objectUuid
15628
+ * @param {{ [key: string]: any | null; }} requestBody
15629
+ * @param {string} [locale]
15630
+ * @param {*} [options] Override http request option.
15631
+ * @throws {RequiredError}
15632
+ */
15633
+ publishTemplate: async (objectUuid: string, requestBody: { [key: string]: any | null; }, locale?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15634
+ // verify required parameter 'objectUuid' is not null or undefined
15635
+ assertParamExists('publishTemplate', 'objectUuid', objectUuid)
15636
+ // verify required parameter 'requestBody' is not null or undefined
15637
+ assertParamExists('publishTemplate', 'requestBody', requestBody)
15638
+ const localVarPath = `/api/v2/webpages/v2/pages/templates/{objectUuid}/publish`
15639
+ .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
15640
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15641
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15642
+ let baseOptions;
15643
+ if (configuration) {
15644
+ baseOptions = configuration.baseOptions;
15645
+ }
15646
+
15647
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
15648
+ const localVarHeaderParameter = {} as any;
15649
+ const localVarQueryParameter = {} as any;
15650
+
15651
+ // authentication bearerAuth required
15652
+ // http bearer authentication required
15653
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15654
+
15655
+ if (locale !== undefined) {
15656
+ localVarQueryParameter['locale'] = locale;
15657
+ }
15658
+
15659
+ localVarHeaderParameter['Content-Type'] = 'application/json';
15660
+ localVarHeaderParameter['Accept'] = 'application/json';
15661
+
15662
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15663
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15664
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15665
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
15666
+
15667
+ return {
15668
+ url: toPathString(localVarUrlObj),
15669
+ options: localVarRequestOptions,
15670
+ };
15671
+ },
15534
15672
  /**
15535
15673
  *
15536
15674
  * @summary Restore a draft snapshot
@@ -16142,6 +16280,35 @@ export const CMSV2PagesApiFp = function(configuration?: Configuration) {
16142
16280
  const localVarOperationServerBasePath = operationServerMap['CMSV2PagesApi.library']?.[localVarOperationServerIndex]?.url;
16143
16281
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16144
16282
  },
16283
+ /**
16284
+ *
16285
+ * @summary Cancel or retry a module replacement
16286
+ * @param {string} recordUuid
16287
+ * @param {string} replacementId
16288
+ * @param {string} action
16289
+ * @param {*} [options] Override http request option.
16290
+ * @throws {RequiredError}
16291
+ */
16292
+ async moduleReplacementAction(recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>> {
16293
+ const localVarAxiosArgs = await localVarAxiosParamCreator.moduleReplacementAction(recordUuid, replacementId, action, options);
16294
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16295
+ const localVarOperationServerBasePath = operationServerMap['CMSV2PagesApi.moduleReplacementAction']?.[localVarOperationServerIndex]?.url;
16296
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16297
+ },
16298
+ /**
16299
+ *
16300
+ * @summary Check durable module replacements and apply ready builds to the draft
16301
+ * @param {string} recordUuid
16302
+ * @param {string} [locale]
16303
+ * @param {*} [options] Override http request option.
16304
+ * @throws {RequiredError}
16305
+ */
16306
+ async moduleReplacements(recordUuid: string, locale?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>> {
16307
+ const localVarAxiosArgs = await localVarAxiosParamCreator.moduleReplacements(recordUuid, locale, options);
16308
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16309
+ const localVarOperationServerBasePath = operationServerMap['CMSV2PagesApi.moduleReplacements']?.[localVarOperationServerIndex]?.url;
16310
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16311
+ },
16145
16312
  /**
16146
16313
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
16147
16314
  * @summary Apply patches to a page draft
@@ -16201,6 +16368,21 @@ export const CMSV2PagesApiFp = function(configuration?: Configuration) {
16201
16368
  const localVarOperationServerBasePath = operationServerMap['CMSV2PagesApi.publish']?.[localVarOperationServerIndex]?.url;
16202
16369
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16203
16370
  },
16371
+ /**
16372
+ *
16373
+ * @summary Publish a template draft and update linked live pages
16374
+ * @param {string} objectUuid
16375
+ * @param {{ [key: string]: any | null; }} requestBody
16376
+ * @param {string} [locale]
16377
+ * @param {*} [options] Override http request option.
16378
+ * @throws {RequiredError}
16379
+ */
16380
+ async publishTemplate(objectUuid: string, requestBody: { [key: string]: any | null; }, locale?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseCmsPageDTO>> {
16381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.publishTemplate(objectUuid, requestBody, locale, options);
16382
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16383
+ const localVarOperationServerBasePath = operationServerMap['CMSV2PagesApi.publishTemplate']?.[localVarOperationServerIndex]?.url;
16384
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16385
+ },
16204
16386
  /**
16205
16387
  *
16206
16388
  * @summary Restore a draft snapshot
@@ -16464,6 +16646,29 @@ export const CMSV2PagesApiFactory = function (configuration?: Configuration, bas
16464
16646
  library(options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListCmsModuleDTO> {
16465
16647
  return localVarFp.library(options).then((request) => request(axios, basePath));
16466
16648
  },
16649
+ /**
16650
+ *
16651
+ * @summary Cancel or retry a module replacement
16652
+ * @param {string} recordUuid
16653
+ * @param {string} replacementId
16654
+ * @param {string} action
16655
+ * @param {*} [options] Override http request option.
16656
+ * @throws {RequiredError}
16657
+ */
16658
+ moduleReplacementAction(recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject> {
16659
+ return localVarFp.moduleReplacementAction(recordUuid, replacementId, action, options).then((request) => request(axios, basePath));
16660
+ },
16661
+ /**
16662
+ *
16663
+ * @summary Check durable module replacements and apply ready builds to the draft
16664
+ * @param {string} recordUuid
16665
+ * @param {string} [locale]
16666
+ * @param {*} [options] Override http request option.
16667
+ * @throws {RequiredError}
16668
+ */
16669
+ moduleReplacements(recordUuid: string, locale?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject> {
16670
+ return localVarFp.moduleReplacements(recordUuid, locale, options).then((request) => request(axios, basePath));
16671
+ },
16467
16672
  /**
16468
16673
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
16469
16674
  * @summary Apply patches to a page draft
@@ -16511,6 +16716,18 @@ export const CMSV2PagesApiFactory = function (configuration?: Configuration, bas
16511
16716
  publish(recordUuid: string, locale?: string, allLocales?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListCmsPageDTO> {
16512
16717
  return localVarFp.publish(recordUuid, locale, allLocales, options).then((request) => request(axios, basePath));
16513
16718
  },
16719
+ /**
16720
+ *
16721
+ * @summary Publish a template draft and update linked live pages
16722
+ * @param {string} objectUuid
16723
+ * @param {{ [key: string]: any | null; }} requestBody
16724
+ * @param {string} [locale]
16725
+ * @param {*} [options] Override http request option.
16726
+ * @throws {RequiredError}
16727
+ */
16728
+ publishTemplate(objectUuid: string, requestBody: { [key: string]: any | null; }, locale?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseCmsPageDTO> {
16729
+ return localVarFp.publishTemplate(objectUuid, requestBody, locale, options).then((request) => request(axios, basePath));
16730
+ },
16514
16731
  /**
16515
16732
  *
16516
16733
  * @summary Restore a draft snapshot
@@ -16752,6 +16969,31 @@ export class CMSV2PagesApi extends BaseAPI {
16752
16969
  return CMSV2PagesApiFp(this.configuration).library(options).then((request) => request(this.axios, this.basePath));
16753
16970
  }
16754
16971
 
16972
+ /**
16973
+ *
16974
+ * @summary Cancel or retry a module replacement
16975
+ * @param {string} recordUuid
16976
+ * @param {string} replacementId
16977
+ * @param {string} action
16978
+ * @param {*} [options] Override http request option.
16979
+ * @throws {RequiredError}
16980
+ */
16981
+ public moduleReplacementAction(recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig) {
16982
+ return CMSV2PagesApiFp(this.configuration).moduleReplacementAction(recordUuid, replacementId, action, options).then((request) => request(this.axios, this.basePath));
16983
+ }
16984
+
16985
+ /**
16986
+ *
16987
+ * @summary Check durable module replacements and apply ready builds to the draft
16988
+ * @param {string} recordUuid
16989
+ * @param {string} [locale]
16990
+ * @param {*} [options] Override http request option.
16991
+ * @throws {RequiredError}
16992
+ */
16993
+ public moduleReplacements(recordUuid: string, locale?: string, options?: RawAxiosRequestConfig) {
16994
+ return CMSV2PagesApiFp(this.configuration).moduleReplacements(recordUuid, locale, options).then((request) => request(this.axios, this.basePath));
16995
+ }
16996
+
16755
16997
  /**
16756
16998
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
16757
16999
  * @summary Apply patches to a page draft
@@ -16803,6 +17045,19 @@ export class CMSV2PagesApi extends BaseAPI {
16803
17045
  return CMSV2PagesApiFp(this.configuration).publish(recordUuid, locale, allLocales, options).then((request) => request(this.axios, this.basePath));
16804
17046
  }
16805
17047
 
17048
+ /**
17049
+ *
17050
+ * @summary Publish a template draft and update linked live pages
17051
+ * @param {string} objectUuid
17052
+ * @param {{ [key: string]: any | null; }} requestBody
17053
+ * @param {string} [locale]
17054
+ * @param {*} [options] Override http request option.
17055
+ * @throws {RequiredError}
17056
+ */
17057
+ public publishTemplate(objectUuid: string, requestBody: { [key: string]: any | null; }, locale?: string, options?: RawAxiosRequestConfig) {
17058
+ return CMSV2PagesApiFp(this.configuration).publishTemplate(objectUuid, requestBody, locale, options).then((request) => request(this.axios, this.basePath));
17059
+ }
17060
+
16806
17061
  /**
16807
17062
  *
16808
17063
  * @summary Restore a draft snapshot
package/dist/api.d.ts CHANGED
@@ -1063,8 +1063,8 @@ export interface AppSettingFieldSchema {
1063
1063
  'clearValue'?: boolean;
1064
1064
  'mappingValue'?: AppSettingFieldMappingStructure;
1065
1065
  'valueScope'?: string;
1066
- 'settingsGroup'?: boolean;
1067
1066
  'action'?: boolean;
1067
+ 'settingsGroup'?: boolean;
1068
1068
  'filterPropertyTypes'?: Array<string>;
1069
1069
  'filterPropertyFormats'?: Array<string>;
1070
1070
  }
@@ -1596,6 +1596,7 @@ export interface CmsPageModuleInstance {
1596
1596
  export interface CmsPagePatch {
1597
1597
  'op'?: string;
1598
1598
  'moduleId'?: string;
1599
+ 'expectedModule'?: string;
1599
1600
  'ref'?: string;
1600
1601
  'field'?: string;
1601
1602
  'value'?: any;
@@ -2943,9 +2944,9 @@ export declare const EventRsvpRequestScopeEnum: {
2943
2944
  };
2944
2945
  export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
2945
2946
  export interface ExistingWidgetSummary {
2946
- 'xproperty'?: string;
2947
2947
  'ymetric'?: string;
2948
2948
  'yproperty'?: string;
2949
+ 'xproperty'?: string;
2949
2950
  'title'?: string;
2950
2951
  'chartType'?: string;
2951
2952
  'xProperty'?: string;
@@ -3878,8 +3879,8 @@ export interface ModelRecord {
3878
3879
  'updatedByUuid'?: string;
3879
3880
  'deletedByUuid'?: string;
3880
3881
  'index'?: number;
3881
- 'complete'?: boolean;
3882
3882
  'deleted'?: boolean;
3883
+ 'complete'?: boolean;
3883
3884
  'uuid': string;
3884
3885
  'user'?: PublicUserDTO;
3885
3886
  'properties'?: Array<FilledProperty>;
@@ -6298,8 +6299,8 @@ export interface SettingField {
6298
6299
  'hidden'?: boolean;
6299
6300
  'disabled'?: boolean;
6300
6301
  'options'?: Array<SettingOption>;
6301
- 'value'?: any;
6302
6302
  'defaultValue'?: any;
6303
+ 'value'?: any;
6303
6304
  }
6304
6305
  export declare const SettingFieldTypeEnum: {
6305
6306
  readonly String: "STRING";
@@ -8061,8 +8062,8 @@ export interface Team {
8061
8062
  [key: string]: Filter;
8062
8063
  };
8063
8064
  'memberCount'?: number;
8064
- 'complete'?: boolean;
8065
8065
  'deleted'?: boolean;
8066
+ 'complete'?: boolean;
8066
8067
  'uuid': string;
8067
8068
  }
8068
8069
  export interface TeamDTO {
@@ -11999,6 +12000,25 @@ export declare const CMSV2PagesApiAxiosParamCreator: (configuration?: Configurat
11999
12000
  * @throws {RequiredError}
12000
12001
  */
12001
12002
  library: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12003
+ /**
12004
+ *
12005
+ * @summary Cancel or retry a module replacement
12006
+ * @param {string} recordUuid
12007
+ * @param {string} replacementId
12008
+ * @param {string} action
12009
+ * @param {*} [options] Override http request option.
12010
+ * @throws {RequiredError}
12011
+ */
12012
+ moduleReplacementAction: (recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12013
+ /**
12014
+ *
12015
+ * @summary Check durable module replacements and apply ready builds to the draft
12016
+ * @param {string} recordUuid
12017
+ * @param {string} [locale]
12018
+ * @param {*} [options] Override http request option.
12019
+ * @throws {RequiredError}
12020
+ */
12021
+ moduleReplacements: (recordUuid: string, locale?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12002
12022
  /**
12003
12023
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
12004
12024
  * @summary Apply patches to a page draft
@@ -12040,6 +12060,18 @@ export declare const CMSV2PagesApiAxiosParamCreator: (configuration?: Configurat
12040
12060
  * @throws {RequiredError}
12041
12061
  */
12042
12062
  publish: (recordUuid: string, locale?: string, allLocales?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12063
+ /**
12064
+ *
12065
+ * @summary Publish a template draft and update linked live pages
12066
+ * @param {string} objectUuid
12067
+ * @param {{ [key: string]: any | null; }} requestBody
12068
+ * @param {string} [locale]
12069
+ * @param {*} [options] Override http request option.
12070
+ * @throws {RequiredError}
12071
+ */
12072
+ publishTemplate: (objectUuid: string, requestBody: {
12073
+ [key: string]: any | null;
12074
+ }, locale?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12043
12075
  /**
12044
12076
  *
12045
12077
  * @summary Restore a draft snapshot
@@ -12239,6 +12271,25 @@ export declare const CMSV2PagesApiFp: (configuration?: Configuration) => {
12239
12271
  * @throws {RequiredError}
12240
12272
  */
12241
12273
  library(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseListCmsModuleDTO>>;
12274
+ /**
12275
+ *
12276
+ * @summary Cancel or retry a module replacement
12277
+ * @param {string} recordUuid
12278
+ * @param {string} replacementId
12279
+ * @param {string} action
12280
+ * @param {*} [options] Override http request option.
12281
+ * @throws {RequiredError}
12282
+ */
12283
+ moduleReplacementAction(recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
12284
+ /**
12285
+ *
12286
+ * @summary Check durable module replacements and apply ready builds to the draft
12287
+ * @param {string} recordUuid
12288
+ * @param {string} [locale]
12289
+ * @param {*} [options] Override http request option.
12290
+ * @throws {RequiredError}
12291
+ */
12292
+ moduleReplacements(recordUuid: string, locale?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
12242
12293
  /**
12243
12294
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
12244
12295
  * @summary Apply patches to a page draft
@@ -12280,6 +12331,18 @@ export declare const CMSV2PagesApiFp: (configuration?: Configuration) => {
12280
12331
  * @throws {RequiredError}
12281
12332
  */
12282
12333
  publish(recordUuid: string, locale?: string, allLocales?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseListCmsPageDTO>>;
12334
+ /**
12335
+ *
12336
+ * @summary Publish a template draft and update linked live pages
12337
+ * @param {string} objectUuid
12338
+ * @param {{ [key: string]: any | null; }} requestBody
12339
+ * @param {string} [locale]
12340
+ * @param {*} [options] Override http request option.
12341
+ * @throws {RequiredError}
12342
+ */
12343
+ publishTemplate(objectUuid: string, requestBody: {
12344
+ [key: string]: any | null;
12345
+ }, locale?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseCmsPageDTO>>;
12283
12346
  /**
12284
12347
  *
12285
12348
  * @summary Restore a draft snapshot
@@ -12479,6 +12542,25 @@ export declare const CMSV2PagesApiFactory: (configuration?: Configuration, baseP
12479
12542
  * @throws {RequiredError}
12480
12543
  */
12481
12544
  library(options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListCmsModuleDTO>;
12545
+ /**
12546
+ *
12547
+ * @summary Cancel or retry a module replacement
12548
+ * @param {string} recordUuid
12549
+ * @param {string} replacementId
12550
+ * @param {string} action
12551
+ * @param {*} [options] Override http request option.
12552
+ * @throws {RequiredError}
12553
+ */
12554
+ moduleReplacementAction(recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
12555
+ /**
12556
+ *
12557
+ * @summary Check durable module replacements and apply ready builds to the draft
12558
+ * @param {string} recordUuid
12559
+ * @param {string} [locale]
12560
+ * @param {*} [options] Override http request option.
12561
+ * @throws {RequiredError}
12562
+ */
12563
+ moduleReplacements(recordUuid: string, locale?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
12482
12564
  /**
12483
12565
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
12484
12566
  * @summary Apply patches to a page draft
@@ -12520,6 +12602,18 @@ export declare const CMSV2PagesApiFactory: (configuration?: Configuration, baseP
12520
12602
  * @throws {RequiredError}
12521
12603
  */
12522
12604
  publish(recordUuid: string, locale?: string, allLocales?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListCmsPageDTO>;
12605
+ /**
12606
+ *
12607
+ * @summary Publish a template draft and update linked live pages
12608
+ * @param {string} objectUuid
12609
+ * @param {{ [key: string]: any | null; }} requestBody
12610
+ * @param {string} [locale]
12611
+ * @param {*} [options] Override http request option.
12612
+ * @throws {RequiredError}
12613
+ */
12614
+ publishTemplate(objectUuid: string, requestBody: {
12615
+ [key: string]: any | null;
12616
+ }, locale?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseCmsPageDTO>;
12523
12617
  /**
12524
12618
  *
12525
12619
  * @summary Restore a draft snapshot
@@ -12719,6 +12813,25 @@ export declare class CMSV2PagesApi extends BaseAPI {
12719
12813
  * @throws {RequiredError}
12720
12814
  */
12721
12815
  library(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ShowResponseListCmsModuleDTO, any, {}>>;
12816
+ /**
12817
+ *
12818
+ * @summary Cancel or retry a module replacement
12819
+ * @param {string} recordUuid
12820
+ * @param {string} replacementId
12821
+ * @param {string} action
12822
+ * @param {*} [options] Override http request option.
12823
+ * @throws {RequiredError}
12824
+ */
12825
+ moduleReplacementAction(recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ShowResponseMapStringObject, any, {}>>;
12826
+ /**
12827
+ *
12828
+ * @summary Check durable module replacements and apply ready builds to the draft
12829
+ * @param {string} recordUuid
12830
+ * @param {string} [locale]
12831
+ * @param {*} [options] Override http request option.
12832
+ * @throws {RequiredError}
12833
+ */
12834
+ moduleReplacements(recordUuid: string, locale?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ShowResponseMapStringObject, any, {}>>;
12722
12835
  /**
12723
12836
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
12724
12837
  * @summary Apply patches to a page draft
@@ -12760,6 +12873,18 @@ export declare class CMSV2PagesApi extends BaseAPI {
12760
12873
  * @throws {RequiredError}
12761
12874
  */
12762
12875
  publish(recordUuid: string, locale?: string, allLocales?: boolean, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ShowResponseListCmsPageDTO, any, {}>>;
12876
+ /**
12877
+ *
12878
+ * @summary Publish a template draft and update linked live pages
12879
+ * @param {string} objectUuid
12880
+ * @param {{ [key: string]: any | null; }} requestBody
12881
+ * @param {string} [locale]
12882
+ * @param {*} [options] Override http request option.
12883
+ * @throws {RequiredError}
12884
+ */
12885
+ publishTemplate(objectUuid: string, requestBody: {
12886
+ [key: string]: any | null;
12887
+ }, locale?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ShowResponseCmsPageDTO, any, {}>>;
12763
12888
  /**
12764
12889
  *
12765
12890
  * @summary Restore a draft snapshot