@caraer/client 2.0.511 → 2.0.513

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
@@ -2577,9 +2577,9 @@ export const EventRsvpRequestScopeEnum = {
2577
2577
  export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
2578
2578
 
2579
2579
  export interface ExistingWidgetSummary {
2580
- 'xproperty'?: string;
2581
- 'yproperty'?: string;
2582
2580
  'ymetric'?: string;
2581
+ 'yproperty'?: string;
2582
+ 'xproperty'?: string;
2583
2583
  'title'?: string;
2584
2584
  'chartType'?: string;
2585
2585
  'xProperty'?: string;
@@ -3488,8 +3488,8 @@ export interface ModelRecord {
3488
3488
  'updatedByUuid'?: string;
3489
3489
  'deletedByUuid'?: string;
3490
3490
  'index'?: number;
3491
- 'deleted'?: boolean;
3492
3491
  'complete'?: boolean;
3492
+ 'deleted'?: boolean;
3493
3493
  'uuid': string;
3494
3494
  'properties'?: Array<FilledProperty>;
3495
3495
  'objects'?: { [key: string]: any | null; };
@@ -7194,8 +7194,8 @@ export interface Team {
7194
7194
  'filtersString'?: string;
7195
7195
  'filters'?: { [key: string]: Filter; };
7196
7196
  'memberCount'?: number;
7197
- 'deleted'?: boolean;
7198
7197
  'complete'?: boolean;
7198
+ 'deleted'?: boolean;
7199
7199
  'uuid': string;
7200
7200
  }
7201
7201
  export interface TeamDTO {
@@ -14234,6 +14234,53 @@ export const CMSV2PagesApiAxiosParamCreator = function (configuration?: Configur
14234
14234
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14235
14235
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14236
14236
 
14237
+ return {
14238
+ url: toPathString(localVarUrlObj),
14239
+ options: localVarRequestOptions,
14240
+ };
14241
+ },
14242
+ /**
14243
+ * Writes test values into the playground session without changing the live page.
14244
+ * @summary Preview field values on the forked module
14245
+ * @param {string} recordUuid
14246
+ * @param {string} sessionId
14247
+ * @param {{ [key: string]: any | null; }} requestBody
14248
+ * @param {*} [options] Override http request option.
14249
+ * @throws {RequiredError}
14250
+ */
14251
+ updateModuleForkFields: async (recordUuid: string, sessionId: string, requestBody: { [key: string]: any | null; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14252
+ // verify required parameter 'recordUuid' is not null or undefined
14253
+ assertParamExists('updateModuleForkFields', 'recordUuid', recordUuid)
14254
+ // verify required parameter 'sessionId' is not null or undefined
14255
+ assertParamExists('updateModuleForkFields', 'sessionId', sessionId)
14256
+ // verify required parameter 'requestBody' is not null or undefined
14257
+ assertParamExists('updateModuleForkFields', 'requestBody', requestBody)
14258
+ const localVarPath = `/api/v2/webpages/v2/pages/{recordUuid}/ai/module-fork/sessions/{sessionId}/fields`
14259
+ .replace('{recordUuid}', encodeURIComponent(String(recordUuid)))
14260
+ .replace('{sessionId}', encodeURIComponent(String(sessionId)));
14261
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14262
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14263
+ let baseOptions;
14264
+ if (configuration) {
14265
+ baseOptions = configuration.baseOptions;
14266
+ }
14267
+
14268
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
14269
+ const localVarHeaderParameter = {} as any;
14270
+ const localVarQueryParameter = {} as any;
14271
+
14272
+ // authentication bearerAuth required
14273
+ // http bearer authentication required
14274
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
14275
+
14276
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14277
+ localVarHeaderParameter['Accept'] = 'application/json';
14278
+
14279
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14280
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14281
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14282
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
14283
+
14237
14284
  return {
14238
14285
  url: toPathString(localVarUrlObj),
14239
14286
  options: localVarRequestOptions,
@@ -14560,6 +14607,21 @@ export const CMSV2PagesApiFp = function(configuration?: Configuration) {
14560
14607
  const localVarOperationServerBasePath = operationServerMap['CMSV2PagesApi.unselectEnvironment']?.[localVarOperationServerIndex]?.url;
14561
14608
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14562
14609
  },
14610
+ /**
14611
+ * Writes test values into the playground session without changing the live page.
14612
+ * @summary Preview field values on the forked module
14613
+ * @param {string} recordUuid
14614
+ * @param {string} sessionId
14615
+ * @param {{ [key: string]: any | null; }} requestBody
14616
+ * @param {*} [options] Override http request option.
14617
+ * @throws {RequiredError}
14618
+ */
14619
+ async updateModuleForkFields(recordUuid: string, sessionId: string, requestBody: { [key: string]: any | null; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>> {
14620
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateModuleForkFields(recordUuid, sessionId, requestBody, options);
14621
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14622
+ const localVarOperationServerBasePath = operationServerMap['CMSV2PagesApi.updateModuleForkFields']?.[localVarOperationServerIndex]?.url;
14623
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14624
+ },
14563
14625
  }
14564
14626
  };
14565
14627
 
@@ -14815,6 +14877,18 @@ export const CMSV2PagesApiFactory = function (configuration?: Configuration, bas
14815
14877
  unselectEnvironment(recordUuid: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseCmsPageDTO> {
14816
14878
  return localVarFp.unselectEnvironment(recordUuid, key, options).then((request) => request(axios, basePath));
14817
14879
  },
14880
+ /**
14881
+ * Writes test values into the playground session without changing the live page.
14882
+ * @summary Preview field values on the forked module
14883
+ * @param {string} recordUuid
14884
+ * @param {string} sessionId
14885
+ * @param {{ [key: string]: any | null; }} requestBody
14886
+ * @param {*} [options] Override http request option.
14887
+ * @throws {RequiredError}
14888
+ */
14889
+ updateModuleForkFields(recordUuid: string, sessionId: string, requestBody: { [key: string]: any | null; }, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject> {
14890
+ return localVarFp.updateModuleForkFields(recordUuid, sessionId, requestBody, options).then((request) => request(axios, basePath));
14891
+ },
14818
14892
  };
14819
14893
  };
14820
14894
 
@@ -15089,6 +15163,19 @@ export class CMSV2PagesApi extends BaseAPI {
15089
15163
  public unselectEnvironment(recordUuid: string, key: string, options?: RawAxiosRequestConfig) {
15090
15164
  return CMSV2PagesApiFp(this.configuration).unselectEnvironment(recordUuid, key, options).then((request) => request(this.axios, this.basePath));
15091
15165
  }
15166
+
15167
+ /**
15168
+ * Writes test values into the playground session without changing the live page.
15169
+ * @summary Preview field values on the forked module
15170
+ * @param {string} recordUuid
15171
+ * @param {string} sessionId
15172
+ * @param {{ [key: string]: any | null; }} requestBody
15173
+ * @param {*} [options] Override http request option.
15174
+ * @throws {RequiredError}
15175
+ */
15176
+ public updateModuleForkFields(recordUuid: string, sessionId: string, requestBody: { [key: string]: any | null; }, options?: RawAxiosRequestConfig) {
15177
+ return CMSV2PagesApiFp(this.configuration).updateModuleForkFields(recordUuid, sessionId, requestBody, options).then((request) => request(this.axios, this.basePath));
15178
+ }
15092
15179
  }
15093
15180
 
15094
15181
 
@@ -32317,6 +32404,92 @@ export const WebpagesApiAxiosParamCreator = function (configuration?: Configurat
32317
32404
  options: localVarRequestOptions,
32318
32405
  };
32319
32406
  },
32407
+ /**
32408
+ * Copies an existing company file into this webpage\'s public attachments folder and returns its public URL.
32409
+ * @summary Publish a library file for a webpage
32410
+ * @param {string} uuid
32411
+ * @param {string} key
32412
+ * @param {*} [options] Override http request option.
32413
+ * @throws {RequiredError}
32414
+ */
32415
+ publishFile: async (uuid: string, key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32416
+ // verify required parameter 'uuid' is not null or undefined
32417
+ assertParamExists('publishFile', 'uuid', uuid)
32418
+ // verify required parameter 'key' is not null or undefined
32419
+ assertParamExists('publishFile', 'key', key)
32420
+ const localVarPath = `/api/v2/webpages/{uuid}/publishFile`
32421
+ .replace('{uuid}', encodeURIComponent(String(uuid)));
32422
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32423
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32424
+ let baseOptions;
32425
+ if (configuration) {
32426
+ baseOptions = configuration.baseOptions;
32427
+ }
32428
+
32429
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32430
+ const localVarHeaderParameter = {} as any;
32431
+ const localVarQueryParameter = {} as any;
32432
+
32433
+ // authentication bearerAuth required
32434
+ // http bearer authentication required
32435
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
32436
+
32437
+ if (key !== undefined) {
32438
+ localVarQueryParameter['key'] = key;
32439
+ }
32440
+
32441
+ localVarHeaderParameter['Accept'] = 'application/json';
32442
+
32443
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32444
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32445
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32446
+
32447
+ return {
32448
+ url: toPathString(localVarUrlObj),
32449
+ options: localVarRequestOptions,
32450
+ };
32451
+ },
32452
+ /**
32453
+ * Copies an existing company file into the public webpage attachments folder and returns its public URL.
32454
+ * @summary Publish a library file for a webpage
32455
+ * @param {string} key
32456
+ * @param {*} [options] Override http request option.
32457
+ * @throws {RequiredError}
32458
+ */
32459
+ publishFile1: async (key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32460
+ // verify required parameter 'key' is not null or undefined
32461
+ assertParamExists('publishFile1', 'key', key)
32462
+ const localVarPath = `/api/v2/webpages/publishFile`;
32463
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32464
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32465
+ let baseOptions;
32466
+ if (configuration) {
32467
+ baseOptions = configuration.baseOptions;
32468
+ }
32469
+
32470
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32471
+ const localVarHeaderParameter = {} as any;
32472
+ const localVarQueryParameter = {} as any;
32473
+
32474
+ // authentication bearerAuth required
32475
+ // http bearer authentication required
32476
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
32477
+
32478
+ if (key !== undefined) {
32479
+ localVarQueryParameter['key'] = key;
32480
+ }
32481
+
32482
+ localVarHeaderParameter['Accept'] = 'application/json';
32483
+
32484
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32485
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32486
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32487
+
32488
+ return {
32489
+ url: toPathString(localVarUrlObj),
32490
+ options: localVarRequestOptions,
32491
+ };
32492
+ },
32320
32493
  /**
32321
32494
  * Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
32322
32495
  * @summary Publish a webpage
@@ -33157,6 +33330,33 @@ export const WebpagesApiFp = function(configuration?: Configuration) {
33157
33330
  const localVarOperationServerBasePath = operationServerMap['WebpagesApi.listProtectionGrants']?.[localVarOperationServerIndex]?.url;
33158
33331
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33159
33332
  },
33333
+ /**
33334
+ * Copies an existing company file into this webpage\'s public attachments folder and returns its public URL.
33335
+ * @summary Publish a library file for a webpage
33336
+ * @param {string} uuid
33337
+ * @param {string} key
33338
+ * @param {*} [options] Override http request option.
33339
+ * @throws {RequiredError}
33340
+ */
33341
+ async publishFile(uuid: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseString>> {
33342
+ const localVarAxiosArgs = await localVarAxiosParamCreator.publishFile(uuid, key, options);
33343
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33344
+ const localVarOperationServerBasePath = operationServerMap['WebpagesApi.publishFile']?.[localVarOperationServerIndex]?.url;
33345
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33346
+ },
33347
+ /**
33348
+ * Copies an existing company file into the public webpage attachments folder and returns its public URL.
33349
+ * @summary Publish a library file for a webpage
33350
+ * @param {string} key
33351
+ * @param {*} [options] Override http request option.
33352
+ * @throws {RequiredError}
33353
+ */
33354
+ async publishFile1(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseString>> {
33355
+ const localVarAxiosArgs = await localVarAxiosParamCreator.publishFile1(key, options);
33356
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33357
+ const localVarOperationServerBasePath = operationServerMap['WebpagesApi.publishFile1']?.[localVarOperationServerIndex]?.url;
33358
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33359
+ },
33160
33360
  /**
33161
33361
  * Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
33162
33362
  * @summary Publish a webpage
@@ -33636,6 +33836,27 @@ export const WebpagesApiFactory = function (configuration?: Configuration, baseP
33636
33836
  listProtectionGrants(uuid: string, environment?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseWebpageAccessGrantDTO> {
33637
33837
  return localVarFp.listProtectionGrants(uuid, environment, options).then((request) => request(axios, basePath));
33638
33838
  },
33839
+ /**
33840
+ * Copies an existing company file into this webpage\'s public attachments folder and returns its public URL.
33841
+ * @summary Publish a library file for a webpage
33842
+ * @param {string} uuid
33843
+ * @param {string} key
33844
+ * @param {*} [options] Override http request option.
33845
+ * @throws {RequiredError}
33846
+ */
33847
+ publishFile(uuid: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseString> {
33848
+ return localVarFp.publishFile(uuid, key, options).then((request) => request(axios, basePath));
33849
+ },
33850
+ /**
33851
+ * Copies an existing company file into the public webpage attachments folder and returns its public URL.
33852
+ * @summary Publish a library file for a webpage
33853
+ * @param {string} key
33854
+ * @param {*} [options] Override http request option.
33855
+ * @throws {RequiredError}
33856
+ */
33857
+ publishFile1(key: string, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseString> {
33858
+ return localVarFp.publishFile1(key, options).then((request) => request(axios, basePath));
33859
+ },
33639
33860
  /**
33640
33861
  * Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
33641
33862
  * @summary Publish a webpage
@@ -34113,6 +34334,29 @@ export class WebpagesApi extends BaseAPI {
34113
34334
  return WebpagesApiFp(this.configuration).listProtectionGrants(uuid, environment, options).then((request) => request(this.axios, this.basePath));
34114
34335
  }
34115
34336
 
34337
+ /**
34338
+ * Copies an existing company file into this webpage\'s public attachments folder and returns its public URL.
34339
+ * @summary Publish a library file for a webpage
34340
+ * @param {string} uuid
34341
+ * @param {string} key
34342
+ * @param {*} [options] Override http request option.
34343
+ * @throws {RequiredError}
34344
+ */
34345
+ public publishFile(uuid: string, key: string, options?: RawAxiosRequestConfig) {
34346
+ return WebpagesApiFp(this.configuration).publishFile(uuid, key, options).then((request) => request(this.axios, this.basePath));
34347
+ }
34348
+
34349
+ /**
34350
+ * Copies an existing company file into the public webpage attachments folder and returns its public URL.
34351
+ * @summary Publish a library file for a webpage
34352
+ * @param {string} key
34353
+ * @param {*} [options] Override http request option.
34354
+ * @throws {RequiredError}
34355
+ */
34356
+ public publishFile1(key: string, options?: RawAxiosRequestConfig) {
34357
+ return WebpagesApiFp(this.configuration).publishFile1(key, options).then((request) => request(this.axios, this.basePath));
34358
+ }
34359
+
34116
34360
  /**
34117
34361
  * Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
34118
34362
  * @summary Publish a webpage
package/dist/api.d.ts CHANGED
@@ -2567,9 +2567,9 @@ export declare const EventRsvpRequestScopeEnum: {
2567
2567
  };
2568
2568
  export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
2569
2569
  export interface ExistingWidgetSummary {
2570
- 'xproperty'?: string;
2571
- 'yproperty'?: string;
2572
2570
  'ymetric'?: string;
2571
+ 'yproperty'?: string;
2572
+ 'xproperty'?: string;
2573
2573
  'title'?: string;
2574
2574
  'chartType'?: string;
2575
2575
  'xProperty'?: string;
@@ -3496,8 +3496,8 @@ export interface ModelRecord {
3496
3496
  'updatedByUuid'?: string;
3497
3497
  'deletedByUuid'?: string;
3498
3498
  'index'?: number;
3499
- 'deleted'?: boolean;
3500
3499
  'complete'?: boolean;
3500
+ 'deleted'?: boolean;
3501
3501
  'uuid': string;
3502
3502
  'properties'?: Array<FilledProperty>;
3503
3503
  'objects'?: {
@@ -7310,8 +7310,8 @@ export interface Team {
7310
7310
  [key: string]: Filter;
7311
7311
  };
7312
7312
  'memberCount'?: number;
7313
- 'deleted'?: boolean;
7314
7313
  'complete'?: boolean;
7314
+ 'deleted'?: boolean;
7315
7315
  'uuid': string;
7316
7316
  }
7317
7317
  export interface TeamDTO {
@@ -10927,6 +10927,18 @@ export declare const CMSV2PagesApiAxiosParamCreator: (configuration?: Configurat
10927
10927
  * @throws {RequiredError}
10928
10928
  */
10929
10929
  unselectEnvironment: (recordUuid: string, key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10930
+ /**
10931
+ * Writes test values into the playground session without changing the live page.
10932
+ * @summary Preview field values on the forked module
10933
+ * @param {string} recordUuid
10934
+ * @param {string} sessionId
10935
+ * @param {{ [key: string]: any | null; }} requestBody
10936
+ * @param {*} [options] Override http request option.
10937
+ * @throws {RequiredError}
10938
+ */
10939
+ updateModuleForkFields: (recordUuid: string, sessionId: string, requestBody: {
10940
+ [key: string]: any | null;
10941
+ }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10930
10942
  };
10931
10943
  /**
10932
10944
  * CMSV2PagesApi - functional programming interface
@@ -11144,6 +11156,18 @@ export declare const CMSV2PagesApiFp: (configuration?: Configuration) => {
11144
11156
  * @throws {RequiredError}
11145
11157
  */
11146
11158
  unselectEnvironment(recordUuid: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseCmsPageDTO>>;
11159
+ /**
11160
+ * Writes test values into the playground session without changing the live page.
11161
+ * @summary Preview field values on the forked module
11162
+ * @param {string} recordUuid
11163
+ * @param {string} sessionId
11164
+ * @param {{ [key: string]: any | null; }} requestBody
11165
+ * @param {*} [options] Override http request option.
11166
+ * @throws {RequiredError}
11167
+ */
11168
+ updateModuleForkFields(recordUuid: string, sessionId: string, requestBody: {
11169
+ [key: string]: any | null;
11170
+ }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
11147
11171
  };
11148
11172
  /**
11149
11173
  * CMSV2PagesApi - factory interface
@@ -11361,6 +11385,18 @@ export declare const CMSV2PagesApiFactory: (configuration?: Configuration, baseP
11361
11385
  * @throws {RequiredError}
11362
11386
  */
11363
11387
  unselectEnvironment(recordUuid: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseCmsPageDTO>;
11388
+ /**
11389
+ * Writes test values into the playground session without changing the live page.
11390
+ * @summary Preview field values on the forked module
11391
+ * @param {string} recordUuid
11392
+ * @param {string} sessionId
11393
+ * @param {{ [key: string]: any | null; }} requestBody
11394
+ * @param {*} [options] Override http request option.
11395
+ * @throws {RequiredError}
11396
+ */
11397
+ updateModuleForkFields(recordUuid: string, sessionId: string, requestBody: {
11398
+ [key: string]: any | null;
11399
+ }, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
11364
11400
  };
11365
11401
  /**
11366
11402
  * CMSV2PagesApi - object-oriented interface
@@ -11578,6 +11614,18 @@ export declare class CMSV2PagesApi extends BaseAPI {
11578
11614
  * @throws {RequiredError}
11579
11615
  */
11580
11616
  unselectEnvironment(recordUuid: string, key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseCmsPageDTO, any, {}>>;
11617
+ /**
11618
+ * Writes test values into the playground session without changing the live page.
11619
+ * @summary Preview field values on the forked module
11620
+ * @param {string} recordUuid
11621
+ * @param {string} sessionId
11622
+ * @param {{ [key: string]: any | null; }} requestBody
11623
+ * @param {*} [options] Override http request option.
11624
+ * @throws {RequiredError}
11625
+ */
11626
+ updateModuleForkFields(recordUuid: string, sessionId: string, requestBody: {
11627
+ [key: string]: any | null;
11628
+ }, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
11581
11629
  }
11582
11630
  /**
11583
11631
  * CMSV2PublicApi - axios parameter creator
@@ -19239,6 +19287,23 @@ export declare const WebpagesApiAxiosParamCreator: (configuration?: Configuratio
19239
19287
  * @throws {RequiredError}
19240
19288
  */
19241
19289
  listProtectionGrants: (uuid: string, environment?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19290
+ /**
19291
+ * Copies an existing company file into this webpage\'s public attachments folder and returns its public URL.
19292
+ * @summary Publish a library file for a webpage
19293
+ * @param {string} uuid
19294
+ * @param {string} key
19295
+ * @param {*} [options] Override http request option.
19296
+ * @throws {RequiredError}
19297
+ */
19298
+ publishFile: (uuid: string, key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19299
+ /**
19300
+ * Copies an existing company file into the public webpage attachments folder and returns its public URL.
19301
+ * @summary Publish a library file for a webpage
19302
+ * @param {string} key
19303
+ * @param {*} [options] Override http request option.
19304
+ * @throws {RequiredError}
19305
+ */
19306
+ publishFile1: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19242
19307
  /**
19243
19308
  * Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
19244
19309
  * @summary Publish a webpage
@@ -19615,6 +19680,23 @@ export declare const WebpagesApiFp: (configuration?: Configuration) => {
19615
19680
  * @throws {RequiredError}
19616
19681
  */
19617
19682
  listProtectionGrants(uuid: string, environment?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseWebpageAccessGrantDTO>>;
19683
+ /**
19684
+ * Copies an existing company file into this webpage\'s public attachments folder and returns its public URL.
19685
+ * @summary Publish a library file for a webpage
19686
+ * @param {string} uuid
19687
+ * @param {string} key
19688
+ * @param {*} [options] Override http request option.
19689
+ * @throws {RequiredError}
19690
+ */
19691
+ publishFile(uuid: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseString>>;
19692
+ /**
19693
+ * Copies an existing company file into the public webpage attachments folder and returns its public URL.
19694
+ * @summary Publish a library file for a webpage
19695
+ * @param {string} key
19696
+ * @param {*} [options] Override http request option.
19697
+ * @throws {RequiredError}
19698
+ */
19699
+ publishFile1(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseString>>;
19618
19700
  /**
19619
19701
  * Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
19620
19702
  * @summary Publish a webpage
@@ -19991,6 +20073,23 @@ export declare const WebpagesApiFactory: (configuration?: Configuration, basePat
19991
20073
  * @throws {RequiredError}
19992
20074
  */
19993
20075
  listProtectionGrants(uuid: string, environment?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseWebpageAccessGrantDTO>;
20076
+ /**
20077
+ * Copies an existing company file into this webpage\'s public attachments folder and returns its public URL.
20078
+ * @summary Publish a library file for a webpage
20079
+ * @param {string} uuid
20080
+ * @param {string} key
20081
+ * @param {*} [options] Override http request option.
20082
+ * @throws {RequiredError}
20083
+ */
20084
+ publishFile(uuid: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseString>;
20085
+ /**
20086
+ * Copies an existing company file into the public webpage attachments folder and returns its public URL.
20087
+ * @summary Publish a library file for a webpage
20088
+ * @param {string} key
20089
+ * @param {*} [options] Override http request option.
20090
+ * @throws {RequiredError}
20091
+ */
20092
+ publishFile1(key: string, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseString>;
19994
20093
  /**
19995
20094
  * Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
19996
20095
  * @summary Publish a webpage
@@ -20367,6 +20466,23 @@ export declare class WebpagesApi extends BaseAPI {
20367
20466
  * @throws {RequiredError}
20368
20467
  */
20369
20468
  listProtectionGrants(uuid: string, environment?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseWebpageAccessGrantDTO, any, {}>>;
20469
+ /**
20470
+ * Copies an existing company file into this webpage\'s public attachments folder and returns its public URL.
20471
+ * @summary Publish a library file for a webpage
20472
+ * @param {string} uuid
20473
+ * @param {string} key
20474
+ * @param {*} [options] Override http request option.
20475
+ * @throws {RequiredError}
20476
+ */
20477
+ publishFile(uuid: string, key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseString, any, {}>>;
20478
+ /**
20479
+ * Copies an existing company file into the public webpage attachments folder and returns its public URL.
20480
+ * @summary Publish a library file for a webpage
20481
+ * @param {string} key
20482
+ * @param {*} [options] Override http request option.
20483
+ * @throws {RequiredError}
20484
+ */
20485
+ publishFile1(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseString, any, {}>>;
20370
20486
  /**
20371
20487
  * Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
20372
20488
  * @summary Publish a webpage