@caraer/client 2.0.513 → 2.0.515
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 +19 -101
- package/dist/api.d.ts +16 -52
- package/dist/api.js +15 -93
- package/dist/esm/api.d.ts +16 -52
- package/dist/esm/api.js +15 -93
- package/docs/ExistingWidgetSummary.md +4 -4
- package/docs/Record.md +2 -2
- package/docs/Team.md +2 -2
- package/docs/WebpagesApi.md +2 -61
- package/package.json +1 -1
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
|
-
'ymetric'?: string;
|
|
2581
|
-
'yproperty'?: string;
|
|
2582
2580
|
'xproperty'?: string;
|
|
2581
|
+
'yproperty'?: string;
|
|
2582
|
+
'ymetric'?: 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
|
-
'complete'?: boolean;
|
|
3492
3491
|
'deleted'?: boolean;
|
|
3492
|
+
'complete'?: 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
|
-
'complete'?: boolean;
|
|
7198
7197
|
'deleted'?: boolean;
|
|
7198
|
+
'complete'?: boolean;
|
|
7199
7199
|
'uuid': string;
|
|
7200
7200
|
}
|
|
7201
7201
|
export interface TeamDTO {
|
|
@@ -32405,60 +32405,15 @@ export const WebpagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
32405
32405
|
};
|
|
32406
32406
|
},
|
|
32407
32407
|
/**
|
|
32408
|
-
*
|
|
32409
|
-
* @summary
|
|
32410
|
-
* @param {string} uuid
|
|
32408
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
32409
|
+
* @summary Public URL for a library file
|
|
32411
32410
|
* @param {string} key
|
|
32412
32411
|
* @param {*} [options] Override http request option.
|
|
32413
32412
|
* @throws {RequiredError}
|
|
32414
32413
|
*/
|
|
32415
|
-
publishFile: async (
|
|
32416
|
-
// verify required parameter 'uuid' is not null or undefined
|
|
32417
|
-
assertParamExists('publishFile', 'uuid', uuid)
|
|
32414
|
+
publishFile: async (key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32418
32415
|
// verify required parameter 'key' is not null or undefined
|
|
32419
32416
|
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
32417
|
const localVarPath = `/api/v2/webpages/publishFile`;
|
|
32463
32418
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32464
32419
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33331,32 +33286,18 @@ export const WebpagesApiFp = function(configuration?: Configuration) {
|
|
|
33331
33286
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33332
33287
|
},
|
|
33333
33288
|
/**
|
|
33334
|
-
*
|
|
33335
|
-
* @summary
|
|
33336
|
-
* @param {string} uuid
|
|
33289
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
33290
|
+
* @summary Public URL for a library file
|
|
33337
33291
|
* @param {string} key
|
|
33338
33292
|
* @param {*} [options] Override http request option.
|
|
33339
33293
|
* @throws {RequiredError}
|
|
33340
33294
|
*/
|
|
33341
|
-
async publishFile(
|
|
33342
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.publishFile(
|
|
33295
|
+
async publishFile(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseString>> {
|
|
33296
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishFile(key, options);
|
|
33343
33297
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33344
33298
|
const localVarOperationServerBasePath = operationServerMap['WebpagesApi.publishFile']?.[localVarOperationServerIndex]?.url;
|
|
33345
33299
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33346
33300
|
},
|
|
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
|
-
},
|
|
33360
33301
|
/**
|
|
33361
33302
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
33362
33303
|
* @summary Publish a webpage
|
|
@@ -33837,25 +33778,14 @@ export const WebpagesApiFactory = function (configuration?: Configuration, baseP
|
|
|
33837
33778
|
return localVarFp.listProtectionGrants(uuid, environment, options).then((request) => request(axios, basePath));
|
|
33838
33779
|
},
|
|
33839
33780
|
/**
|
|
33840
|
-
*
|
|
33841
|
-
* @summary
|
|
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
|
|
33781
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
33782
|
+
* @summary Public URL for a library file
|
|
33853
33783
|
* @param {string} key
|
|
33854
33784
|
* @param {*} [options] Override http request option.
|
|
33855
33785
|
* @throws {RequiredError}
|
|
33856
33786
|
*/
|
|
33857
|
-
|
|
33858
|
-
return localVarFp.
|
|
33787
|
+
publishFile(key: string, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseString> {
|
|
33788
|
+
return localVarFp.publishFile(key, options).then((request) => request(axios, basePath));
|
|
33859
33789
|
},
|
|
33860
33790
|
/**
|
|
33861
33791
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
@@ -34335,26 +34265,14 @@ export class WebpagesApi extends BaseAPI {
|
|
|
34335
34265
|
}
|
|
34336
34266
|
|
|
34337
34267
|
/**
|
|
34338
|
-
*
|
|
34339
|
-
* @summary
|
|
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
|
|
34268
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
34269
|
+
* @summary Public URL for a library file
|
|
34352
34270
|
* @param {string} key
|
|
34353
34271
|
* @param {*} [options] Override http request option.
|
|
34354
34272
|
* @throws {RequiredError}
|
|
34355
34273
|
*/
|
|
34356
|
-
public
|
|
34357
|
-
return WebpagesApiFp(this.configuration).
|
|
34274
|
+
public publishFile(key: string, options?: RawAxiosRequestConfig) {
|
|
34275
|
+
return WebpagesApiFp(this.configuration).publishFile(key, options).then((request) => request(this.axios, this.basePath));
|
|
34358
34276
|
}
|
|
34359
34277
|
|
|
34360
34278
|
/**
|
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
|
-
'ymetric'?: string;
|
|
2571
|
-
'yproperty'?: string;
|
|
2572
2570
|
'xproperty'?: string;
|
|
2571
|
+
'yproperty'?: string;
|
|
2572
|
+
'ymetric'?: 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
|
-
'complete'?: boolean;
|
|
3500
3499
|
'deleted'?: boolean;
|
|
3500
|
+
'complete'?: 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
|
-
'complete'?: boolean;
|
|
7314
7313
|
'deleted'?: boolean;
|
|
7314
|
+
'complete'?: boolean;
|
|
7315
7315
|
'uuid': string;
|
|
7316
7316
|
}
|
|
7317
7317
|
export interface TeamDTO {
|
|
@@ -19288,22 +19288,13 @@ export declare const WebpagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
19288
19288
|
*/
|
|
19289
19289
|
listProtectionGrants: (uuid: string, environment?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19290
19290
|
/**
|
|
19291
|
-
*
|
|
19292
|
-
* @summary
|
|
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
|
|
19291
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
19292
|
+
* @summary Public URL for a library file
|
|
19302
19293
|
* @param {string} key
|
|
19303
19294
|
* @param {*} [options] Override http request option.
|
|
19304
19295
|
* @throws {RequiredError}
|
|
19305
19296
|
*/
|
|
19306
|
-
|
|
19297
|
+
publishFile: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19307
19298
|
/**
|
|
19308
19299
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
19309
19300
|
* @summary Publish a webpage
|
|
@@ -19681,22 +19672,13 @@ export declare const WebpagesApiFp: (configuration?: Configuration) => {
|
|
|
19681
19672
|
*/
|
|
19682
19673
|
listProtectionGrants(uuid: string, environment?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseWebpageAccessGrantDTO>>;
|
|
19683
19674
|
/**
|
|
19684
|
-
*
|
|
19685
|
-
* @summary
|
|
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
|
|
19675
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
19676
|
+
* @summary Public URL for a library file
|
|
19695
19677
|
* @param {string} key
|
|
19696
19678
|
* @param {*} [options] Override http request option.
|
|
19697
19679
|
* @throws {RequiredError}
|
|
19698
19680
|
*/
|
|
19699
|
-
|
|
19681
|
+
publishFile(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseString>>;
|
|
19700
19682
|
/**
|
|
19701
19683
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
19702
19684
|
* @summary Publish a webpage
|
|
@@ -20074,22 +20056,13 @@ export declare const WebpagesApiFactory: (configuration?: Configuration, basePat
|
|
|
20074
20056
|
*/
|
|
20075
20057
|
listProtectionGrants(uuid: string, environment?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseWebpageAccessGrantDTO>;
|
|
20076
20058
|
/**
|
|
20077
|
-
*
|
|
20078
|
-
* @summary
|
|
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
|
|
20059
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
20060
|
+
* @summary Public URL for a library file
|
|
20088
20061
|
* @param {string} key
|
|
20089
20062
|
* @param {*} [options] Override http request option.
|
|
20090
20063
|
* @throws {RequiredError}
|
|
20091
20064
|
*/
|
|
20092
|
-
|
|
20065
|
+
publishFile(key: string, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseString>;
|
|
20093
20066
|
/**
|
|
20094
20067
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
20095
20068
|
* @summary Publish a webpage
|
|
@@ -20467,22 +20440,13 @@ export declare class WebpagesApi extends BaseAPI {
|
|
|
20467
20440
|
*/
|
|
20468
20441
|
listProtectionGrants(uuid: string, environment?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseWebpageAccessGrantDTO, any, {}>>;
|
|
20469
20442
|
/**
|
|
20470
|
-
*
|
|
20471
|
-
* @summary
|
|
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
|
|
20443
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
20444
|
+
* @summary Public URL for a library file
|
|
20481
20445
|
* @param {string} key
|
|
20482
20446
|
* @param {*} [options] Override http request option.
|
|
20483
20447
|
* @throws {RequiredError}
|
|
20484
20448
|
*/
|
|
20485
|
-
|
|
20449
|
+
publishFile(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseString, any, {}>>;
|
|
20486
20450
|
/**
|
|
20487
20451
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
20488
20452
|
* @summary Publish a webpage
|
package/dist/api.js
CHANGED
|
@@ -23189,54 +23189,15 @@ const WebpagesApiAxiosParamCreator = function (configuration) {
|
|
|
23189
23189
|
};
|
|
23190
23190
|
}),
|
|
23191
23191
|
/**
|
|
23192
|
-
*
|
|
23193
|
-
* @summary
|
|
23194
|
-
* @param {string} uuid
|
|
23192
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
23193
|
+
* @summary Public URL for a library file
|
|
23195
23194
|
* @param {string} key
|
|
23196
23195
|
* @param {*} [options] Override http request option.
|
|
23197
23196
|
* @throws {RequiredError}
|
|
23198
23197
|
*/
|
|
23199
|
-
publishFile: (
|
|
23200
|
-
// verify required parameter 'uuid' is not null or undefined
|
|
23201
|
-
(0, common_1.assertParamExists)('publishFile', 'uuid', uuid);
|
|
23198
|
+
publishFile: (key_1, ...args_1) => __awaiter(this, [key_1, ...args_1], void 0, function* (key, options = {}) {
|
|
23202
23199
|
// verify required parameter 'key' is not null or undefined
|
|
23203
23200
|
(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
23201
|
const localVarPath = `/api/v2/webpages/publishFile`;
|
|
23241
23202
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23242
23203
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -24132,38 +24093,21 @@ const WebpagesApiFp = function (configuration) {
|
|
|
24132
24093
|
});
|
|
24133
24094
|
},
|
|
24134
24095
|
/**
|
|
24135
|
-
*
|
|
24136
|
-
* @summary
|
|
24137
|
-
* @param {string} uuid
|
|
24096
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
24097
|
+
* @summary Public URL for a library file
|
|
24138
24098
|
* @param {string} key
|
|
24139
24099
|
* @param {*} [options] Override http request option.
|
|
24140
24100
|
* @throws {RequiredError}
|
|
24141
24101
|
*/
|
|
24142
|
-
publishFile(
|
|
24102
|
+
publishFile(key, options) {
|
|
24143
24103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24144
24104
|
var _a, _b, _c;
|
|
24145
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.publishFile(
|
|
24105
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.publishFile(key, options);
|
|
24146
24106
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24147
24107
|
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
24108
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24149
24109
|
});
|
|
24150
24110
|
},
|
|
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
|
-
},
|
|
24167
24111
|
/**
|
|
24168
24112
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
24169
24113
|
* @summary Publish a webpage
|
|
@@ -24671,25 +24615,14 @@ const WebpagesApiFactory = function (configuration, basePath, axios) {
|
|
|
24671
24615
|
return localVarFp.listProtectionGrants(uuid, environment, options).then((request) => request(axios, basePath));
|
|
24672
24616
|
},
|
|
24673
24617
|
/**
|
|
24674
|
-
*
|
|
24675
|
-
* @summary
|
|
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
|
|
24618
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
24619
|
+
* @summary Public URL for a library file
|
|
24687
24620
|
* @param {string} key
|
|
24688
24621
|
* @param {*} [options] Override http request option.
|
|
24689
24622
|
* @throws {RequiredError}
|
|
24690
24623
|
*/
|
|
24691
|
-
|
|
24692
|
-
return localVarFp.
|
|
24624
|
+
publishFile(key, options) {
|
|
24625
|
+
return localVarFp.publishFile(key, options).then((request) => request(axios, basePath));
|
|
24693
24626
|
},
|
|
24694
24627
|
/**
|
|
24695
24628
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
@@ -25142,25 +25075,14 @@ class WebpagesApi extends base_1.BaseAPI {
|
|
|
25142
25075
|
return (0, exports.WebpagesApiFp)(this.configuration).listProtectionGrants(uuid, environment, options).then((request) => request(this.axios, this.basePath));
|
|
25143
25076
|
}
|
|
25144
25077
|
/**
|
|
25145
|
-
*
|
|
25146
|
-
* @summary
|
|
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
|
|
25078
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
25079
|
+
* @summary Public URL for a library file
|
|
25158
25080
|
* @param {string} key
|
|
25159
25081
|
* @param {*} [options] Override http request option.
|
|
25160
25082
|
* @throws {RequiredError}
|
|
25161
25083
|
*/
|
|
25162
|
-
|
|
25163
|
-
return (0, exports.WebpagesApiFp)(this.configuration).
|
|
25084
|
+
publishFile(key, options) {
|
|
25085
|
+
return (0, exports.WebpagesApiFp)(this.configuration).publishFile(key, options).then((request) => request(this.axios, this.basePath));
|
|
25164
25086
|
}
|
|
25165
25087
|
/**
|
|
25166
25088
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
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
|
-
'ymetric'?: string;
|
|
2571
|
-
'yproperty'?: string;
|
|
2572
2570
|
'xproperty'?: string;
|
|
2571
|
+
'yproperty'?: string;
|
|
2572
|
+
'ymetric'?: 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
|
-
'complete'?: boolean;
|
|
3500
3499
|
'deleted'?: boolean;
|
|
3500
|
+
'complete'?: 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
|
-
'complete'?: boolean;
|
|
7314
7313
|
'deleted'?: boolean;
|
|
7314
|
+
'complete'?: boolean;
|
|
7315
7315
|
'uuid': string;
|
|
7316
7316
|
}
|
|
7317
7317
|
export interface TeamDTO {
|
|
@@ -19288,22 +19288,13 @@ export declare const WebpagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
19288
19288
|
*/
|
|
19289
19289
|
listProtectionGrants: (uuid: string, environment?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19290
19290
|
/**
|
|
19291
|
-
*
|
|
19292
|
-
* @summary
|
|
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
|
|
19291
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
19292
|
+
* @summary Public URL for a library file
|
|
19302
19293
|
* @param {string} key
|
|
19303
19294
|
* @param {*} [options] Override http request option.
|
|
19304
19295
|
* @throws {RequiredError}
|
|
19305
19296
|
*/
|
|
19306
|
-
|
|
19297
|
+
publishFile: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19307
19298
|
/**
|
|
19308
19299
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
19309
19300
|
* @summary Publish a webpage
|
|
@@ -19681,22 +19672,13 @@ export declare const WebpagesApiFp: (configuration?: Configuration) => {
|
|
|
19681
19672
|
*/
|
|
19682
19673
|
listProtectionGrants(uuid: string, environment?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponseWebpageAccessGrantDTO>>;
|
|
19683
19674
|
/**
|
|
19684
|
-
*
|
|
19685
|
-
* @summary
|
|
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
|
|
19675
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
19676
|
+
* @summary Public URL for a library file
|
|
19695
19677
|
* @param {string} key
|
|
19696
19678
|
* @param {*} [options] Override http request option.
|
|
19697
19679
|
* @throws {RequiredError}
|
|
19698
19680
|
*/
|
|
19699
|
-
|
|
19681
|
+
publishFile(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseString>>;
|
|
19700
19682
|
/**
|
|
19701
19683
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
19702
19684
|
* @summary Publish a webpage
|
|
@@ -20074,22 +20056,13 @@ export declare const WebpagesApiFactory: (configuration?: Configuration, basePat
|
|
|
20074
20056
|
*/
|
|
20075
20057
|
listProtectionGrants(uuid: string, environment?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponseWebpageAccessGrantDTO>;
|
|
20076
20058
|
/**
|
|
20077
|
-
*
|
|
20078
|
-
* @summary
|
|
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
|
|
20059
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
20060
|
+
* @summary Public URL for a library file
|
|
20088
20061
|
* @param {string} key
|
|
20089
20062
|
* @param {*} [options] Override http request option.
|
|
20090
20063
|
* @throws {RequiredError}
|
|
20091
20064
|
*/
|
|
20092
|
-
|
|
20065
|
+
publishFile(key: string, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseString>;
|
|
20093
20066
|
/**
|
|
20094
20067
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
20095
20068
|
* @summary Publish a webpage
|
|
@@ -20467,22 +20440,13 @@ export declare class WebpagesApi extends BaseAPI {
|
|
|
20467
20440
|
*/
|
|
20468
20441
|
listProtectionGrants(uuid: string, environment?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponseWebpageAccessGrantDTO, any, {}>>;
|
|
20469
20442
|
/**
|
|
20470
|
-
*
|
|
20471
|
-
* @summary
|
|
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
|
|
20443
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
20444
|
+
* @summary Public URL for a library file
|
|
20481
20445
|
* @param {string} key
|
|
20482
20446
|
* @param {*} [options] Override http request option.
|
|
20483
20447
|
* @throws {RequiredError}
|
|
20484
20448
|
*/
|
|
20485
|
-
|
|
20449
|
+
publishFile(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseString, any, {}>>;
|
|
20486
20450
|
/**
|
|
20487
20451
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
20488
20452
|
* @summary Publish a webpage
|
package/dist/esm/api.js
CHANGED
|
@@ -23063,54 +23063,15 @@ export const WebpagesApiAxiosParamCreator = function (configuration) {
|
|
|
23063
23063
|
};
|
|
23064
23064
|
}),
|
|
23065
23065
|
/**
|
|
23066
|
-
*
|
|
23067
|
-
* @summary
|
|
23068
|
-
* @param {string} uuid
|
|
23066
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
23067
|
+
* @summary Public URL for a library file
|
|
23069
23068
|
* @param {string} key
|
|
23070
23069
|
* @param {*} [options] Override http request option.
|
|
23071
23070
|
* @throws {RequiredError}
|
|
23072
23071
|
*/
|
|
23073
|
-
publishFile: (
|
|
23074
|
-
// verify required parameter 'uuid' is not null or undefined
|
|
23075
|
-
assertParamExists('publishFile', 'uuid', uuid);
|
|
23072
|
+
publishFile: (key_1, ...args_1) => __awaiter(this, [key_1, ...args_1], void 0, function* (key, options = {}) {
|
|
23076
23073
|
// verify required parameter 'key' is not null or undefined
|
|
23077
23074
|
assertParamExists('publishFile', 'key', key);
|
|
23078
|
-
const localVarPath = `/api/v2/webpages/{uuid}/publishFile`
|
|
23079
|
-
.replace('{uuid}', encodeURIComponent(String(uuid)));
|
|
23080
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23081
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23082
|
-
let baseOptions;
|
|
23083
|
-
if (configuration) {
|
|
23084
|
-
baseOptions = configuration.baseOptions;
|
|
23085
|
-
}
|
|
23086
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
23087
|
-
const localVarHeaderParameter = {};
|
|
23088
|
-
const localVarQueryParameter = {};
|
|
23089
|
-
// authentication bearerAuth required
|
|
23090
|
-
// http bearer authentication required
|
|
23091
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
23092
|
-
if (key !== undefined) {
|
|
23093
|
-
localVarQueryParameter['key'] = key;
|
|
23094
|
-
}
|
|
23095
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23096
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23097
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23098
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23099
|
-
return {
|
|
23100
|
-
url: toPathString(localVarUrlObj),
|
|
23101
|
-
options: localVarRequestOptions,
|
|
23102
|
-
};
|
|
23103
|
-
}),
|
|
23104
|
-
/**
|
|
23105
|
-
* Copies an existing company file into the public webpage attachments folder and returns its public URL.
|
|
23106
|
-
* @summary Publish a library file for a webpage
|
|
23107
|
-
* @param {string} key
|
|
23108
|
-
* @param {*} [options] Override http request option.
|
|
23109
|
-
* @throws {RequiredError}
|
|
23110
|
-
*/
|
|
23111
|
-
publishFile1: (key_1, ...args_1) => __awaiter(this, [key_1, ...args_1], void 0, function* (key, options = {}) {
|
|
23112
|
-
// verify required parameter 'key' is not null or undefined
|
|
23113
|
-
assertParamExists('publishFile1', 'key', key);
|
|
23114
23075
|
const localVarPath = `/api/v2/webpages/publishFile`;
|
|
23115
23076
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23116
23077
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -24005,38 +23966,21 @@ export const WebpagesApiFp = function (configuration) {
|
|
|
24005
23966
|
});
|
|
24006
23967
|
},
|
|
24007
23968
|
/**
|
|
24008
|
-
*
|
|
24009
|
-
* @summary
|
|
24010
|
-
* @param {string} uuid
|
|
23969
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
23970
|
+
* @summary Public URL for a library file
|
|
24011
23971
|
* @param {string} key
|
|
24012
23972
|
* @param {*} [options] Override http request option.
|
|
24013
23973
|
* @throws {RequiredError}
|
|
24014
23974
|
*/
|
|
24015
|
-
publishFile(
|
|
23975
|
+
publishFile(key, options) {
|
|
24016
23976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24017
23977
|
var _a, _b, _c;
|
|
24018
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.publishFile(
|
|
23978
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.publishFile(key, options);
|
|
24019
23979
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24020
23980
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WebpagesApi.publishFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24021
23981
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24022
23982
|
});
|
|
24023
23983
|
},
|
|
24024
|
-
/**
|
|
24025
|
-
* Copies an existing company file into the public webpage attachments folder and returns its public URL.
|
|
24026
|
-
* @summary Publish a library file for a webpage
|
|
24027
|
-
* @param {string} key
|
|
24028
|
-
* @param {*} [options] Override http request option.
|
|
24029
|
-
* @throws {RequiredError}
|
|
24030
|
-
*/
|
|
24031
|
-
publishFile1(key, options) {
|
|
24032
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24033
|
-
var _a, _b, _c;
|
|
24034
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.publishFile1(key, options);
|
|
24035
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24036
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WebpagesApi.publishFile1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24037
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24038
|
-
});
|
|
24039
|
-
},
|
|
24040
23984
|
/**
|
|
24041
23985
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
24042
23986
|
* @summary Publish a webpage
|
|
@@ -24543,25 +24487,14 @@ export const WebpagesApiFactory = function (configuration, basePath, axios) {
|
|
|
24543
24487
|
return localVarFp.listProtectionGrants(uuid, environment, options).then((request) => request(axios, basePath));
|
|
24544
24488
|
},
|
|
24545
24489
|
/**
|
|
24546
|
-
*
|
|
24547
|
-
* @summary
|
|
24548
|
-
* @param {string} uuid
|
|
24549
|
-
* @param {string} key
|
|
24550
|
-
* @param {*} [options] Override http request option.
|
|
24551
|
-
* @throws {RequiredError}
|
|
24552
|
-
*/
|
|
24553
|
-
publishFile(uuid, key, options) {
|
|
24554
|
-
return localVarFp.publishFile(uuid, key, options).then((request) => request(axios, basePath));
|
|
24555
|
-
},
|
|
24556
|
-
/**
|
|
24557
|
-
* Copies an existing company file into the public webpage attachments folder and returns its public URL.
|
|
24558
|
-
* @summary Publish a library file for a webpage
|
|
24490
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
24491
|
+
* @summary Public URL for a library file
|
|
24559
24492
|
* @param {string} key
|
|
24560
24493
|
* @param {*} [options] Override http request option.
|
|
24561
24494
|
* @throws {RequiredError}
|
|
24562
24495
|
*/
|
|
24563
|
-
|
|
24564
|
-
return localVarFp.
|
|
24496
|
+
publishFile(key, options) {
|
|
24497
|
+
return localVarFp.publishFile(key, options).then((request) => request(axios, basePath));
|
|
24565
24498
|
},
|
|
24566
24499
|
/**
|
|
24567
24500
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
@@ -25013,25 +24946,14 @@ export class WebpagesApi extends BaseAPI {
|
|
|
25013
24946
|
return WebpagesApiFp(this.configuration).listProtectionGrants(uuid, environment, options).then((request) => request(this.axios, this.basePath));
|
|
25014
24947
|
}
|
|
25015
24948
|
/**
|
|
25016
|
-
*
|
|
25017
|
-
* @summary
|
|
25018
|
-
* @param {string} uuid
|
|
25019
|
-
* @param {string} key
|
|
25020
|
-
* @param {*} [options] Override http request option.
|
|
25021
|
-
* @throws {RequiredError}
|
|
25022
|
-
*/
|
|
25023
|
-
publishFile(uuid, key, options) {
|
|
25024
|
-
return WebpagesApiFp(this.configuration).publishFile(uuid, key, options).then((request) => request(this.axios, this.basePath));
|
|
25025
|
-
}
|
|
25026
|
-
/**
|
|
25027
|
-
* Copies an existing company file into the public webpage attachments folder and returns its public URL.
|
|
25028
|
-
* @summary Publish a library file for a webpage
|
|
24949
|
+
* Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
24950
|
+
* @summary Public URL for a library file
|
|
25029
24951
|
* @param {string} key
|
|
25030
24952
|
* @param {*} [options] Override http request option.
|
|
25031
24953
|
* @throws {RequiredError}
|
|
25032
24954
|
*/
|
|
25033
|
-
|
|
25034
|
-
return WebpagesApiFp(this.configuration).
|
|
24955
|
+
publishFile(key, options) {
|
|
24956
|
+
return WebpagesApiFp(this.configuration).publishFile(key, options).then((request) => request(this.axios, this.basePath));
|
|
25035
24957
|
}
|
|
25036
24958
|
/**
|
|
25037
24959
|
* Publishes a webpage by its UUID. Optionally, a publish_at timestamp (in seconds) may be provided. Returns an UpdateResponse containing the published webpage details.
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**ymetric** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**yproperty** | **string** | | [optional] [default to undefined]
|
|
10
8
|
**xproperty** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**yproperty** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**ymetric** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**title** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**chartType** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**xProperty** | **string** | | [optional] [default to undefined]
|
|
@@ -20,9 +20,9 @@ Name | Type | Description | Notes
|
|
|
20
20
|
import { ExistingWidgetSummary } from '@caraer/client';
|
|
21
21
|
|
|
22
22
|
const instance: ExistingWidgetSummary = {
|
|
23
|
-
ymetric,
|
|
24
|
-
yproperty,
|
|
25
23
|
xproperty,
|
|
24
|
+
yproperty,
|
|
25
|
+
ymetric,
|
|
26
26
|
title,
|
|
27
27
|
chartType,
|
|
28
28
|
xProperty,
|
package/docs/Record.md
CHANGED
|
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**updatedByUuid** | **string** | | [optional] [default to undefined]
|
|
15
15
|
**deletedByUuid** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**index** | **number** | | [optional] [default to undefined]
|
|
17
|
-
**complete** | **boolean** | | [optional] [default to undefined]
|
|
18
17
|
**deleted** | **boolean** | | [optional] [default to undefined]
|
|
18
|
+
**complete** | **boolean** | | [optional] [default to undefined]
|
|
19
19
|
**uuid** | **string** | | [default to undefined]
|
|
20
20
|
**properties** | [**Array<FilledProperty>**](FilledProperty.md) | | [optional] [default to undefined]
|
|
21
21
|
**objects** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
|
|
@@ -36,8 +36,8 @@ const instance: ModelRecord = {
|
|
|
36
36
|
updatedByUuid,
|
|
37
37
|
deletedByUuid,
|
|
38
38
|
index,
|
|
39
|
-
complete,
|
|
40
39
|
deleted,
|
|
40
|
+
complete,
|
|
41
41
|
uuid,
|
|
42
42
|
properties,
|
|
43
43
|
objects,
|
package/docs/Team.md
CHANGED
|
@@ -19,8 +19,8 @@ Name | Type | Description | Notes
|
|
|
19
19
|
**filtersString** | **string** | | [optional] [default to undefined]
|
|
20
20
|
**filters** | [**{ [key: string]: Filter; }**](Filter.md) | | [optional] [default to undefined]
|
|
21
21
|
**memberCount** | **number** | | [optional] [default to undefined]
|
|
22
|
-
**complete** | **boolean** | | [optional] [default to undefined]
|
|
23
22
|
**deleted** | **boolean** | | [optional] [default to undefined]
|
|
23
|
+
**complete** | **boolean** | | [optional] [default to undefined]
|
|
24
24
|
**uuid** | **string** | | [default to undefined]
|
|
25
25
|
|
|
26
26
|
## Example
|
|
@@ -43,8 +43,8 @@ const instance: Team = {
|
|
|
43
43
|
filtersString,
|
|
44
44
|
filters,
|
|
45
45
|
memberCount,
|
|
46
|
-
complete,
|
|
47
46
|
deleted,
|
|
47
|
+
complete,
|
|
48
48
|
uuid,
|
|
49
49
|
};
|
|
50
50
|
```
|
package/docs/WebpagesApi.md
CHANGED
|
@@ -31,8 +31,7 @@ All URIs are relative to *https://v2.api.caraer.com*
|
|
|
31
31
|
|[**getWebpageEditingStatus**](#getwebpageeditingstatus) | **GET** /api/v2/webpages/{uuid}/editing-status | Check if a webpage is being edited|
|
|
32
32
|
|[**getWebpagePickerPages**](#getwebpagepickerpages) | **GET** /api/v2/webpages/picker/pages | List webpages for picker dropdowns|
|
|
33
33
|
|[**listProtectionGrants**](#listprotectiongrants) | **GET** /api/v2/webpages/{uuid}/protection/grants | List signed URL grants for a webpage|
|
|
34
|
-
|[**publishFile**](#publishfile) | **POST** /api/v2/webpages/
|
|
35
|
-
|[**publishFile1**](#publishfile1) | **POST** /api/v2/webpages/publishFile | Publish a library file for a webpage|
|
|
34
|
+
|[**publishFile**](#publishfile) | **POST** /api/v2/webpages/publishFile | Public URL for a library file|
|
|
36
35
|
|[**publishWebpage**](#publishwebpage) | **PUT** /api/v2/webpages/{uuid}/publish | Publish a webpage|
|
|
37
36
|
|[**releaseTemplateWebpageEditingSession**](#releasetemplatewebpageeditingsession) | **DELETE** /api/v2/webpages/template/{objectName}/{environment}/editing-session | Release a template webpage editing session|
|
|
38
37
|
|[**releaseWebpageEditingSession**](#releasewebpageeditingsession) | **DELETE** /api/v2/webpages/{uuid}/editing-session | Release a webpage editing session|
|
|
@@ -1745,7 +1744,7 @@ const { status, data } = await apiInstance.listProtectionGrants(
|
|
|
1745
1744
|
# **publishFile**
|
|
1746
1745
|
> SuccessResponseString publishFile()
|
|
1747
1746
|
|
|
1748
|
-
|
|
1747
|
+
Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
|
|
1749
1748
|
|
|
1750
1749
|
### Example
|
|
1751
1750
|
|
|
@@ -1758,67 +1757,9 @@ import {
|
|
|
1758
1757
|
const configuration = new Configuration();
|
|
1759
1758
|
const apiInstance = new WebpagesApi(configuration);
|
|
1760
1759
|
|
|
1761
|
-
let uuid: string; // (default to undefined)
|
|
1762
1760
|
let key: string; // (default to undefined)
|
|
1763
1761
|
|
|
1764
1762
|
const { status, data } = await apiInstance.publishFile(
|
|
1765
|
-
uuid,
|
|
1766
|
-
key
|
|
1767
|
-
);
|
|
1768
|
-
```
|
|
1769
|
-
|
|
1770
|
-
### Parameters
|
|
1771
|
-
|
|
1772
|
-
|Name | Type | Description | Notes|
|
|
1773
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1774
|
-
| **uuid** | [**string**] | | defaults to undefined|
|
|
1775
|
-
| **key** | [**string**] | | defaults to undefined|
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
### Return type
|
|
1779
|
-
|
|
1780
|
-
**SuccessResponseString**
|
|
1781
|
-
|
|
1782
|
-
### Authorization
|
|
1783
|
-
|
|
1784
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
1785
|
-
|
|
1786
|
-
### HTTP request headers
|
|
1787
|
-
|
|
1788
|
-
- **Content-Type**: Not defined
|
|
1789
|
-
- **Accept**: application/json
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
### HTTP response details
|
|
1793
|
-
| Status code | Description | Response headers |
|
|
1794
|
-
|-------------|-------------|------------------|
|
|
1795
|
-
|**200** | OK | - |
|
|
1796
|
-
|**401** | Authentication is required or the token is invalid. | - |
|
|
1797
|
-
|**403** | The caller is missing a required role or scope. | - |
|
|
1798
|
-
|**404** | The requested resource was not found. | - |
|
|
1799
|
-
|**500** | An internal server error occurred. | - |
|
|
1800
|
-
|
|
1801
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1802
|
-
|
|
1803
|
-
# **publishFile1**
|
|
1804
|
-
> SuccessResponseString publishFile1()
|
|
1805
|
-
|
|
1806
|
-
Copies an existing company file into the public webpage attachments folder and returns its public URL.
|
|
1807
|
-
|
|
1808
|
-
### Example
|
|
1809
|
-
|
|
1810
|
-
```typescript
|
|
1811
|
-
import {
|
|
1812
|
-
WebpagesApi,
|
|
1813
|
-
Configuration
|
|
1814
|
-
} from '@caraer/client';
|
|
1815
|
-
|
|
1816
|
-
const configuration = new Configuration();
|
|
1817
|
-
const apiInstance = new WebpagesApi(configuration);
|
|
1818
|
-
|
|
1819
|
-
let key: string; // (default to undefined)
|
|
1820
|
-
|
|
1821
|
-
const { status, data } = await apiInstance.publishFile1(
|
|
1822
1763
|
key
|
|
1823
1764
|
);
|
|
1824
1765
|
```
|