@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/dist/api.js CHANGED
@@ -5847,6 +5847,48 @@ const CMSV2PagesApiAxiosParamCreator = function (configuration) {
5847
5847
  options: localVarRequestOptions,
5848
5848
  };
5849
5849
  }),
5850
+ /**
5851
+ * Writes test values into the playground session without changing the live page.
5852
+ * @summary Preview field values on the forked module
5853
+ * @param {string} recordUuid
5854
+ * @param {string} sessionId
5855
+ * @param {{ [key: string]: any | null; }} requestBody
5856
+ * @param {*} [options] Override http request option.
5857
+ * @throws {RequiredError}
5858
+ */
5859
+ updateModuleForkFields: (recordUuid_1, sessionId_1, requestBody_1, ...args_1) => __awaiter(this, [recordUuid_1, sessionId_1, requestBody_1, ...args_1], void 0, function* (recordUuid, sessionId, requestBody, options = {}) {
5860
+ // verify required parameter 'recordUuid' is not null or undefined
5861
+ (0, common_1.assertParamExists)('updateModuleForkFields', 'recordUuid', recordUuid);
5862
+ // verify required parameter 'sessionId' is not null or undefined
5863
+ (0, common_1.assertParamExists)('updateModuleForkFields', 'sessionId', sessionId);
5864
+ // verify required parameter 'requestBody' is not null or undefined
5865
+ (0, common_1.assertParamExists)('updateModuleForkFields', 'requestBody', requestBody);
5866
+ const localVarPath = `/api/v2/webpages/v2/pages/{recordUuid}/ai/module-fork/sessions/{sessionId}/fields`
5867
+ .replace('{recordUuid}', encodeURIComponent(String(recordUuid)))
5868
+ .replace('{sessionId}', encodeURIComponent(String(sessionId)));
5869
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5870
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5871
+ let baseOptions;
5872
+ if (configuration) {
5873
+ baseOptions = configuration.baseOptions;
5874
+ }
5875
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
5876
+ const localVarHeaderParameter = {};
5877
+ const localVarQueryParameter = {};
5878
+ // authentication bearerAuth required
5879
+ // http bearer authentication required
5880
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
5881
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5882
+ localVarHeaderParameter['Accept'] = 'application/json';
5883
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5884
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5885
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5886
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
5887
+ return {
5888
+ url: (0, common_1.toPathString)(localVarUrlObj),
5889
+ options: localVarRequestOptions,
5890
+ };
5891
+ }),
5850
5892
  };
5851
5893
  };
5852
5894
  exports.CMSV2PagesApiAxiosParamCreator = CMSV2PagesApiAxiosParamCreator;
@@ -6234,6 +6276,24 @@ const CMSV2PagesApiFp = function (configuration) {
6234
6276
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6235
6277
  });
6236
6278
  },
6279
+ /**
6280
+ * Writes test values into the playground session without changing the live page.
6281
+ * @summary Preview field values on the forked module
6282
+ * @param {string} recordUuid
6283
+ * @param {string} sessionId
6284
+ * @param {{ [key: string]: any | null; }} requestBody
6285
+ * @param {*} [options] Override http request option.
6286
+ * @throws {RequiredError}
6287
+ */
6288
+ updateModuleForkFields(recordUuid, sessionId, requestBody, options) {
6289
+ return __awaiter(this, void 0, void 0, function* () {
6290
+ var _a, _b, _c;
6291
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateModuleForkFields(recordUuid, sessionId, requestBody, options);
6292
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6293
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CMSV2PagesApi.updateModuleForkFields']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6294
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6295
+ });
6296
+ },
6237
6297
  };
6238
6298
  };
6239
6299
  exports.CMSV2PagesApiFp = CMSV2PagesApiFp;
@@ -6489,6 +6549,18 @@ const CMSV2PagesApiFactory = function (configuration, basePath, axios) {
6489
6549
  unselectEnvironment(recordUuid, key, options) {
6490
6550
  return localVarFp.unselectEnvironment(recordUuid, key, options).then((request) => request(axios, basePath));
6491
6551
  },
6552
+ /**
6553
+ * Writes test values into the playground session without changing the live page.
6554
+ * @summary Preview field values on the forked module
6555
+ * @param {string} recordUuid
6556
+ * @param {string} sessionId
6557
+ * @param {{ [key: string]: any | null; }} requestBody
6558
+ * @param {*} [options] Override http request option.
6559
+ * @throws {RequiredError}
6560
+ */
6561
+ updateModuleForkFields(recordUuid, sessionId, requestBody, options) {
6562
+ return localVarFp.updateModuleForkFields(recordUuid, sessionId, requestBody, options).then((request) => request(axios, basePath));
6563
+ },
6492
6564
  };
6493
6565
  };
6494
6566
  exports.CMSV2PagesApiFactory = CMSV2PagesApiFactory;
@@ -6742,6 +6814,18 @@ class CMSV2PagesApi extends base_1.BaseAPI {
6742
6814
  unselectEnvironment(recordUuid, key, options) {
6743
6815
  return (0, exports.CMSV2PagesApiFp)(this.configuration).unselectEnvironment(recordUuid, key, options).then((request) => request(this.axios, this.basePath));
6744
6816
  }
6817
+ /**
6818
+ * Writes test values into the playground session without changing the live page.
6819
+ * @summary Preview field values on the forked module
6820
+ * @param {string} recordUuid
6821
+ * @param {string} sessionId
6822
+ * @param {{ [key: string]: any | null; }} requestBody
6823
+ * @param {*} [options] Override http request option.
6824
+ * @throws {RequiredError}
6825
+ */
6826
+ updateModuleForkFields(recordUuid, sessionId, requestBody, options) {
6827
+ return (0, exports.CMSV2PagesApiFp)(this.configuration).updateModuleForkFields(recordUuid, sessionId, requestBody, options).then((request) => request(this.axios, this.basePath));
6828
+ }
6745
6829
  }
6746
6830
  exports.CMSV2PagesApi = CMSV2PagesApi;
6747
6831
  /**
@@ -23104,6 +23188,80 @@ const WebpagesApiAxiosParamCreator = function (configuration) {
23104
23188
  options: localVarRequestOptions,
23105
23189
  };
23106
23190
  }),
23191
+ /**
23192
+ * Copies an existing company file into this webpage\'s public attachments folder and returns its public URL.
23193
+ * @summary Publish a library file for a webpage
23194
+ * @param {string} uuid
23195
+ * @param {string} key
23196
+ * @param {*} [options] Override http request option.
23197
+ * @throws {RequiredError}
23198
+ */
23199
+ publishFile: (uuid_1, key_1, ...args_1) => __awaiter(this, [uuid_1, key_1, ...args_1], void 0, function* (uuid, key, options = {}) {
23200
+ // verify required parameter 'uuid' is not null or undefined
23201
+ (0, common_1.assertParamExists)('publishFile', 'uuid', uuid);
23202
+ // verify required parameter 'key' is not null or undefined
23203
+ (0, common_1.assertParamExists)('publishFile', 'key', key);
23204
+ const localVarPath = `/api/v2/webpages/{uuid}/publishFile`
23205
+ .replace('{uuid}', encodeURIComponent(String(uuid)));
23206
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23207
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
23208
+ let baseOptions;
23209
+ if (configuration) {
23210
+ baseOptions = configuration.baseOptions;
23211
+ }
23212
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
23213
+ const localVarHeaderParameter = {};
23214
+ const localVarQueryParameter = {};
23215
+ // authentication bearerAuth required
23216
+ // http bearer authentication required
23217
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
23218
+ if (key !== undefined) {
23219
+ localVarQueryParameter['key'] = key;
23220
+ }
23221
+ localVarHeaderParameter['Accept'] = 'application/json';
23222
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
23223
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23224
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23225
+ return {
23226
+ url: (0, common_1.toPathString)(localVarUrlObj),
23227
+ options: localVarRequestOptions,
23228
+ };
23229
+ }),
23230
+ /**
23231
+ * Copies an existing company file into the public webpage attachments folder and returns its public URL.
23232
+ * @summary Publish a library file for a webpage
23233
+ * @param {string} key
23234
+ * @param {*} [options] Override http request option.
23235
+ * @throws {RequiredError}
23236
+ */
23237
+ publishFile1: (key_1, ...args_1) => __awaiter(this, [key_1, ...args_1], void 0, function* (key, options = {}) {
23238
+ // verify required parameter 'key' is not null or undefined
23239
+ (0, common_1.assertParamExists)('publishFile1', 'key', key);
23240
+ const localVarPath = `/api/v2/webpages/publishFile`;
23241
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23242
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
23243
+ let baseOptions;
23244
+ if (configuration) {
23245
+ baseOptions = configuration.baseOptions;
23246
+ }
23247
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
23248
+ const localVarHeaderParameter = {};
23249
+ const localVarQueryParameter = {};
23250
+ // authentication bearerAuth required
23251
+ // http bearer authentication required
23252
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
23253
+ if (key !== undefined) {
23254
+ localVarQueryParameter['key'] = key;
23255
+ }
23256
+ localVarHeaderParameter['Accept'] = 'application/json';
23257
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
23258
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23259
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23260
+ return {
23261
+ url: (0, common_1.toPathString)(localVarUrlObj),
23262
+ options: localVarRequestOptions,
23263
+ };
23264
+ }),
23107
23265
  /**
23108
23266
  * Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
23109
23267
  * @summary Publish a webpage
@@ -23973,6 +24131,39 @@ const WebpagesApiFp = function (configuration) {
23973
24131
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23974
24132
  });
23975
24133
  },
24134
+ /**
24135
+ * Copies an existing company file into this webpage\'s public attachments folder and returns its public URL.
24136
+ * @summary Publish a library file for a webpage
24137
+ * @param {string} uuid
24138
+ * @param {string} key
24139
+ * @param {*} [options] Override http request option.
24140
+ * @throws {RequiredError}
24141
+ */
24142
+ publishFile(uuid, key, options) {
24143
+ return __awaiter(this, void 0, void 0, function* () {
24144
+ var _a, _b, _c;
24145
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.publishFile(uuid, key, options);
24146
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
24147
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebpagesApi.publishFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
24148
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24149
+ });
24150
+ },
24151
+ /**
24152
+ * Copies an existing company file into the public webpage attachments folder and returns its public URL.
24153
+ * @summary Publish a library file for a webpage
24154
+ * @param {string} key
24155
+ * @param {*} [options] Override http request option.
24156
+ * @throws {RequiredError}
24157
+ */
24158
+ publishFile1(key, options) {
24159
+ return __awaiter(this, void 0, void 0, function* () {
24160
+ var _a, _b, _c;
24161
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.publishFile1(key, options);
24162
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
24163
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebpagesApi.publishFile1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
24164
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24165
+ });
24166
+ },
23976
24167
  /**
23977
24168
  * Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
23978
24169
  * @summary Publish a webpage
@@ -24479,6 +24670,27 @@ const WebpagesApiFactory = function (configuration, basePath, axios) {
24479
24670
  listProtectionGrants(uuid, environment, options) {
24480
24671
  return localVarFp.listProtectionGrants(uuid, environment, options).then((request) => request(axios, basePath));
24481
24672
  },
24673
+ /**
24674
+ * Copies an existing company file into this webpage\'s public attachments folder and returns its public URL.
24675
+ * @summary Publish a library file for a webpage
24676
+ * @param {string} uuid
24677
+ * @param {string} key
24678
+ * @param {*} [options] Override http request option.
24679
+ * @throws {RequiredError}
24680
+ */
24681
+ publishFile(uuid, key, options) {
24682
+ return localVarFp.publishFile(uuid, key, options).then((request) => request(axios, basePath));
24683
+ },
24684
+ /**
24685
+ * Copies an existing company file into the public webpage attachments folder and returns its public URL.
24686
+ * @summary Publish a library file for a webpage
24687
+ * @param {string} key
24688
+ * @param {*} [options] Override http request option.
24689
+ * @throws {RequiredError}
24690
+ */
24691
+ publishFile1(key, options) {
24692
+ return localVarFp.publishFile1(key, options).then((request) => request(axios, basePath));
24693
+ },
24482
24694
  /**
24483
24695
  * Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
24484
24696
  * @summary Publish a webpage
@@ -24929,6 +25141,27 @@ class WebpagesApi extends base_1.BaseAPI {
24929
25141
  listProtectionGrants(uuid, environment, options) {
24930
25142
  return (0, exports.WebpagesApiFp)(this.configuration).listProtectionGrants(uuid, environment, options).then((request) => request(this.axios, this.basePath));
24931
25143
  }
25144
+ /**
25145
+ * Copies an existing company file into this webpage\'s public attachments folder and returns its public URL.
25146
+ * @summary Publish a library file for a webpage
25147
+ * @param {string} uuid
25148
+ * @param {string} key
25149
+ * @param {*} [options] Override http request option.
25150
+ * @throws {RequiredError}
25151
+ */
25152
+ publishFile(uuid, key, options) {
25153
+ return (0, exports.WebpagesApiFp)(this.configuration).publishFile(uuid, key, options).then((request) => request(this.axios, this.basePath));
25154
+ }
25155
+ /**
25156
+ * Copies an existing company file into the public webpage attachments folder and returns its public URL.
25157
+ * @summary Publish a library file for a webpage
25158
+ * @param {string} key
25159
+ * @param {*} [options] Override http request option.
25160
+ * @throws {RequiredError}
25161
+ */
25162
+ publishFile1(key, options) {
25163
+ return (0, exports.WebpagesApiFp)(this.configuration).publishFile1(key, options).then((request) => request(this.axios, this.basePath));
25164
+ }
24932
25165
  /**
24933
25166
  * Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
24934
25167
  * @summary Publish a webpage
package/dist/esm/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