@caraer/client 2.0.702 → 2.0.705
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/.openapi-generator/FILES +5 -2
- package/api.ts +326 -100
- package/dist/api.d.ts +189 -62
- package/dist/api.js +261 -73
- package/dist/esm/api.d.ts +189 -62
- package/dist/esm/api.js +261 -73
- package/docs/CMSV2PagesApi.md +180 -0
- package/docs/CalendarRecordDTO.md +4 -0
- package/docs/CalendarsApi.md +1 -49
- package/docs/CmsPagePatch.md +2 -0
- package/docs/ConnectionState.md +20 -0
- package/docs/EventRsvpRequest.md +2 -0
- package/docs/ExistingWidgetSummary.md +2 -2
- package/docs/FilledProperty.md +2 -2
- package/docs/Filter.md +2 -0
- package/docs/Outcome.md +24 -0
- package/docs/Record.md +2 -2
- package/docs/RecordRelationRequestDTO.md +2 -0
- package/docs/ResolveRequest.md +20 -0
- package/docs/SendRequest.md +22 -0
- package/docs/SettingField.md +2 -2
- package/docs/{SuccessResponseListCalendarTeamOptionDTO.md → ShowResponseUserRecordResponseDTO.md} +5 -5
- package/docs/SuccessResponseObject.md +3 -3
- package/docs/TraitsApi.md +4 -1
- package/docs/ViewDTO.md +2 -0
- package/package.json +1 -1
- package/docs/CalendarTeamOptionDTO.md +0 -24
package/dist/api.js
CHANGED
|
@@ -6222,6 +6222,84 @@ const CMSV2PagesApiAxiosParamCreator = function (configuration) {
|
|
|
6222
6222
|
options: localVarRequestOptions,
|
|
6223
6223
|
};
|
|
6224
6224
|
}),
|
|
6225
|
+
/**
|
|
6226
|
+
*
|
|
6227
|
+
* @summary Cancel or retry a module replacement
|
|
6228
|
+
* @param {string} recordUuid
|
|
6229
|
+
* @param {string} replacementId
|
|
6230
|
+
* @param {string} action
|
|
6231
|
+
* @param {*} [options] Override http request option.
|
|
6232
|
+
* @throws {RequiredError}
|
|
6233
|
+
*/
|
|
6234
|
+
moduleReplacementAction: (recordUuid_1, replacementId_1, action_1, ...args_1) => __awaiter(this, [recordUuid_1, replacementId_1, action_1, ...args_1], void 0, function* (recordUuid, replacementId, action, options = {}) {
|
|
6235
|
+
// verify required parameter 'recordUuid' is not null or undefined
|
|
6236
|
+
(0, common_1.assertParamExists)('moduleReplacementAction', 'recordUuid', recordUuid);
|
|
6237
|
+
// verify required parameter 'replacementId' is not null or undefined
|
|
6238
|
+
(0, common_1.assertParamExists)('moduleReplacementAction', 'replacementId', replacementId);
|
|
6239
|
+
// verify required parameter 'action' is not null or undefined
|
|
6240
|
+
(0, common_1.assertParamExists)('moduleReplacementAction', 'action', action);
|
|
6241
|
+
const localVarPath = `/api/v2/webpages/v2/pages/{recordUuid}/module-replacements/{replacementId}/{action}`
|
|
6242
|
+
.replace('{recordUuid}', encodeURIComponent(String(recordUuid)))
|
|
6243
|
+
.replace('{replacementId}', encodeURIComponent(String(replacementId)))
|
|
6244
|
+
.replace('{action}', encodeURIComponent(String(action)));
|
|
6245
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6246
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6247
|
+
let baseOptions;
|
|
6248
|
+
if (configuration) {
|
|
6249
|
+
baseOptions = configuration.baseOptions;
|
|
6250
|
+
}
|
|
6251
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
6252
|
+
const localVarHeaderParameter = {};
|
|
6253
|
+
const localVarQueryParameter = {};
|
|
6254
|
+
// authentication bearerAuth required
|
|
6255
|
+
// http bearer authentication required
|
|
6256
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6257
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6258
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6259
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6260
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6261
|
+
return {
|
|
6262
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6263
|
+
options: localVarRequestOptions,
|
|
6264
|
+
};
|
|
6265
|
+
}),
|
|
6266
|
+
/**
|
|
6267
|
+
*
|
|
6268
|
+
* @summary Check durable module replacements and apply ready builds to the draft
|
|
6269
|
+
* @param {string} recordUuid
|
|
6270
|
+
* @param {string} [locale]
|
|
6271
|
+
* @param {*} [options] Override http request option.
|
|
6272
|
+
* @throws {RequiredError}
|
|
6273
|
+
*/
|
|
6274
|
+
moduleReplacements: (recordUuid_1, locale_1, ...args_1) => __awaiter(this, [recordUuid_1, locale_1, ...args_1], void 0, function* (recordUuid, locale, options = {}) {
|
|
6275
|
+
// verify required parameter 'recordUuid' is not null or undefined
|
|
6276
|
+
(0, common_1.assertParamExists)('moduleReplacements', 'recordUuid', recordUuid);
|
|
6277
|
+
const localVarPath = `/api/v2/webpages/v2/pages/{recordUuid}/module-replacements`
|
|
6278
|
+
.replace('{recordUuid}', encodeURIComponent(String(recordUuid)));
|
|
6279
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6280
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6281
|
+
let baseOptions;
|
|
6282
|
+
if (configuration) {
|
|
6283
|
+
baseOptions = configuration.baseOptions;
|
|
6284
|
+
}
|
|
6285
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6286
|
+
const localVarHeaderParameter = {};
|
|
6287
|
+
const localVarQueryParameter = {};
|
|
6288
|
+
// authentication bearerAuth required
|
|
6289
|
+
// http bearer authentication required
|
|
6290
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6291
|
+
if (locale !== undefined) {
|
|
6292
|
+
localVarQueryParameter['locale'] = locale;
|
|
6293
|
+
}
|
|
6294
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6295
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6296
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6297
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6298
|
+
return {
|
|
6299
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6300
|
+
options: localVarRequestOptions,
|
|
6301
|
+
};
|
|
6302
|
+
}),
|
|
6225
6303
|
/**
|
|
6226
6304
|
* Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
|
|
6227
6305
|
* @summary Apply patches to a page draft
|
|
@@ -6384,6 +6462,48 @@ const CMSV2PagesApiAxiosParamCreator = function (configuration) {
|
|
|
6384
6462
|
options: localVarRequestOptions,
|
|
6385
6463
|
};
|
|
6386
6464
|
}),
|
|
6465
|
+
/**
|
|
6466
|
+
*
|
|
6467
|
+
* @summary Publish a template draft and update linked live pages
|
|
6468
|
+
* @param {string} objectUuid
|
|
6469
|
+
* @param {{ [key: string]: any | null; }} requestBody
|
|
6470
|
+
* @param {string} [locale]
|
|
6471
|
+
* @param {*} [options] Override http request option.
|
|
6472
|
+
* @throws {RequiredError}
|
|
6473
|
+
*/
|
|
6474
|
+
publishTemplate: (objectUuid_1, requestBody_1, locale_1, ...args_1) => __awaiter(this, [objectUuid_1, requestBody_1, locale_1, ...args_1], void 0, function* (objectUuid, requestBody, locale, options = {}) {
|
|
6475
|
+
// verify required parameter 'objectUuid' is not null or undefined
|
|
6476
|
+
(0, common_1.assertParamExists)('publishTemplate', 'objectUuid', objectUuid);
|
|
6477
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
6478
|
+
(0, common_1.assertParamExists)('publishTemplate', 'requestBody', requestBody);
|
|
6479
|
+
const localVarPath = `/api/v2/webpages/v2/pages/templates/{objectUuid}/publish`
|
|
6480
|
+
.replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
|
|
6481
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6482
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6483
|
+
let baseOptions;
|
|
6484
|
+
if (configuration) {
|
|
6485
|
+
baseOptions = configuration.baseOptions;
|
|
6486
|
+
}
|
|
6487
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
6488
|
+
const localVarHeaderParameter = {};
|
|
6489
|
+
const localVarQueryParameter = {};
|
|
6490
|
+
// authentication bearerAuth required
|
|
6491
|
+
// http bearer authentication required
|
|
6492
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6493
|
+
if (locale !== undefined) {
|
|
6494
|
+
localVarQueryParameter['locale'] = locale;
|
|
6495
|
+
}
|
|
6496
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6497
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6498
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6499
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6500
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6501
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
6502
|
+
return {
|
|
6503
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6504
|
+
options: localVarRequestOptions,
|
|
6505
|
+
};
|
|
6506
|
+
}),
|
|
6387
6507
|
/**
|
|
6388
6508
|
*
|
|
6389
6509
|
* @summary Restore a draft snapshot
|
|
@@ -6968,6 +7088,41 @@ const CMSV2PagesApiFp = function (configuration) {
|
|
|
6968
7088
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6969
7089
|
});
|
|
6970
7090
|
},
|
|
7091
|
+
/**
|
|
7092
|
+
*
|
|
7093
|
+
* @summary Cancel or retry a module replacement
|
|
7094
|
+
* @param {string} recordUuid
|
|
7095
|
+
* @param {string} replacementId
|
|
7096
|
+
* @param {string} action
|
|
7097
|
+
* @param {*} [options] Override http request option.
|
|
7098
|
+
* @throws {RequiredError}
|
|
7099
|
+
*/
|
|
7100
|
+
moduleReplacementAction(recordUuid, replacementId, action, options) {
|
|
7101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7102
|
+
var _a, _b, _c;
|
|
7103
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.moduleReplacementAction(recordUuid, replacementId, action, options);
|
|
7104
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7105
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CMSV2PagesApi.moduleReplacementAction']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7106
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7107
|
+
});
|
|
7108
|
+
},
|
|
7109
|
+
/**
|
|
7110
|
+
*
|
|
7111
|
+
* @summary Check durable module replacements and apply ready builds to the draft
|
|
7112
|
+
* @param {string} recordUuid
|
|
7113
|
+
* @param {string} [locale]
|
|
7114
|
+
* @param {*} [options] Override http request option.
|
|
7115
|
+
* @throws {RequiredError}
|
|
7116
|
+
*/
|
|
7117
|
+
moduleReplacements(recordUuid, locale, options) {
|
|
7118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7119
|
+
var _a, _b, _c;
|
|
7120
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.moduleReplacements(recordUuid, locale, options);
|
|
7121
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7122
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CMSV2PagesApi.moduleReplacements']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7123
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7124
|
+
});
|
|
7125
|
+
},
|
|
6971
7126
|
/**
|
|
6972
7127
|
* Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
|
|
6973
7128
|
* @summary Apply patches to a page draft
|
|
@@ -7039,6 +7194,24 @@ const CMSV2PagesApiFp = function (configuration) {
|
|
|
7039
7194
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7040
7195
|
});
|
|
7041
7196
|
},
|
|
7197
|
+
/**
|
|
7198
|
+
*
|
|
7199
|
+
* @summary Publish a template draft and update linked live pages
|
|
7200
|
+
* @param {string} objectUuid
|
|
7201
|
+
* @param {{ [key: string]: any | null; }} requestBody
|
|
7202
|
+
* @param {string} [locale]
|
|
7203
|
+
* @param {*} [options] Override http request option.
|
|
7204
|
+
* @throws {RequiredError}
|
|
7205
|
+
*/
|
|
7206
|
+
publishTemplate(objectUuid, requestBody, locale, options) {
|
|
7207
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7208
|
+
var _a, _b, _c;
|
|
7209
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.publishTemplate(objectUuid, requestBody, locale, options);
|
|
7210
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7211
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CMSV2PagesApi.publishTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7212
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7213
|
+
});
|
|
7214
|
+
},
|
|
7042
7215
|
/**
|
|
7043
7216
|
*
|
|
7044
7217
|
* @summary Restore a draft snapshot
|
|
@@ -7332,6 +7505,29 @@ const CMSV2PagesApiFactory = function (configuration, basePath, axios) {
|
|
|
7332
7505
|
library(options) {
|
|
7333
7506
|
return localVarFp.library(options).then((request) => request(axios, basePath));
|
|
7334
7507
|
},
|
|
7508
|
+
/**
|
|
7509
|
+
*
|
|
7510
|
+
* @summary Cancel or retry a module replacement
|
|
7511
|
+
* @param {string} recordUuid
|
|
7512
|
+
* @param {string} replacementId
|
|
7513
|
+
* @param {string} action
|
|
7514
|
+
* @param {*} [options] Override http request option.
|
|
7515
|
+
* @throws {RequiredError}
|
|
7516
|
+
*/
|
|
7517
|
+
moduleReplacementAction(recordUuid, replacementId, action, options) {
|
|
7518
|
+
return localVarFp.moduleReplacementAction(recordUuid, replacementId, action, options).then((request) => request(axios, basePath));
|
|
7519
|
+
},
|
|
7520
|
+
/**
|
|
7521
|
+
*
|
|
7522
|
+
* @summary Check durable module replacements and apply ready builds to the draft
|
|
7523
|
+
* @param {string} recordUuid
|
|
7524
|
+
* @param {string} [locale]
|
|
7525
|
+
* @param {*} [options] Override http request option.
|
|
7526
|
+
* @throws {RequiredError}
|
|
7527
|
+
*/
|
|
7528
|
+
moduleReplacements(recordUuid, locale, options) {
|
|
7529
|
+
return localVarFp.moduleReplacements(recordUuid, locale, options).then((request) => request(axios, basePath));
|
|
7530
|
+
},
|
|
7335
7531
|
/**
|
|
7336
7532
|
* Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
|
|
7337
7533
|
* @summary Apply patches to a page draft
|
|
@@ -7379,6 +7575,18 @@ const CMSV2PagesApiFactory = function (configuration, basePath, axios) {
|
|
|
7379
7575
|
publish(recordUuid, locale, allLocales, options) {
|
|
7380
7576
|
return localVarFp.publish(recordUuid, locale, allLocales, options).then((request) => request(axios, basePath));
|
|
7381
7577
|
},
|
|
7578
|
+
/**
|
|
7579
|
+
*
|
|
7580
|
+
* @summary Publish a template draft and update linked live pages
|
|
7581
|
+
* @param {string} objectUuid
|
|
7582
|
+
* @param {{ [key: string]: any | null; }} requestBody
|
|
7583
|
+
* @param {string} [locale]
|
|
7584
|
+
* @param {*} [options] Override http request option.
|
|
7585
|
+
* @throws {RequiredError}
|
|
7586
|
+
*/
|
|
7587
|
+
publishTemplate(objectUuid, requestBody, locale, options) {
|
|
7588
|
+
return localVarFp.publishTemplate(objectUuid, requestBody, locale, options).then((request) => request(axios, basePath));
|
|
7589
|
+
},
|
|
7382
7590
|
/**
|
|
7383
7591
|
*
|
|
7384
7592
|
* @summary Restore a draft snapshot
|
|
@@ -7610,6 +7818,29 @@ class CMSV2PagesApi extends base_1.BaseAPI {
|
|
|
7610
7818
|
library(options) {
|
|
7611
7819
|
return (0, exports.CMSV2PagesApiFp)(this.configuration).library(options).then((request) => request(this.axios, this.basePath));
|
|
7612
7820
|
}
|
|
7821
|
+
/**
|
|
7822
|
+
*
|
|
7823
|
+
* @summary Cancel or retry a module replacement
|
|
7824
|
+
* @param {string} recordUuid
|
|
7825
|
+
* @param {string} replacementId
|
|
7826
|
+
* @param {string} action
|
|
7827
|
+
* @param {*} [options] Override http request option.
|
|
7828
|
+
* @throws {RequiredError}
|
|
7829
|
+
*/
|
|
7830
|
+
moduleReplacementAction(recordUuid, replacementId, action, options) {
|
|
7831
|
+
return (0, exports.CMSV2PagesApiFp)(this.configuration).moduleReplacementAction(recordUuid, replacementId, action, options).then((request) => request(this.axios, this.basePath));
|
|
7832
|
+
}
|
|
7833
|
+
/**
|
|
7834
|
+
*
|
|
7835
|
+
* @summary Check durable module replacements and apply ready builds to the draft
|
|
7836
|
+
* @param {string} recordUuid
|
|
7837
|
+
* @param {string} [locale]
|
|
7838
|
+
* @param {*} [options] Override http request option.
|
|
7839
|
+
* @throws {RequiredError}
|
|
7840
|
+
*/
|
|
7841
|
+
moduleReplacements(recordUuid, locale, options) {
|
|
7842
|
+
return (0, exports.CMSV2PagesApiFp)(this.configuration).moduleReplacements(recordUuid, locale, options).then((request) => request(this.axios, this.basePath));
|
|
7843
|
+
}
|
|
7613
7844
|
/**
|
|
7614
7845
|
* Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
|
|
7615
7846
|
* @summary Apply patches to a page draft
|
|
@@ -7657,6 +7888,18 @@ class CMSV2PagesApi extends base_1.BaseAPI {
|
|
|
7657
7888
|
publish(recordUuid, locale, allLocales, options) {
|
|
7658
7889
|
return (0, exports.CMSV2PagesApiFp)(this.configuration).publish(recordUuid, locale, allLocales, options).then((request) => request(this.axios, this.basePath));
|
|
7659
7890
|
}
|
|
7891
|
+
/**
|
|
7892
|
+
*
|
|
7893
|
+
* @summary Publish a template draft and update linked live pages
|
|
7894
|
+
* @param {string} objectUuid
|
|
7895
|
+
* @param {{ [key: string]: any | null; }} requestBody
|
|
7896
|
+
* @param {string} [locale]
|
|
7897
|
+
* @param {*} [options] Override http request option.
|
|
7898
|
+
* @throws {RequiredError}
|
|
7899
|
+
*/
|
|
7900
|
+
publishTemplate(objectUuid, requestBody, locale, options) {
|
|
7901
|
+
return (0, exports.CMSV2PagesApiFp)(this.configuration).publishTemplate(objectUuid, requestBody, locale, options).then((request) => request(this.axios, this.basePath));
|
|
7902
|
+
}
|
|
7660
7903
|
/**
|
|
7661
7904
|
*
|
|
7662
7905
|
* @summary Restore a draft snapshot
|
|
@@ -9533,7 +9776,7 @@ const CalendarsApiAxiosParamCreator = function (configuration) {
|
|
|
9533
9776
|
return {
|
|
9534
9777
|
/**
|
|
9535
9778
|
*
|
|
9536
|
-
* @summary Ensure calendar schema
|
|
9779
|
+
* @summary Ensure calendar schema and personal default; never assigns existing events
|
|
9537
9780
|
* @param {*} [options] Override http request option.
|
|
9538
9781
|
* @throws {RequiredError}
|
|
9539
9782
|
*/
|
|
@@ -9623,35 +9866,6 @@ const CalendarsApiAxiosParamCreator = function (configuration) {
|
|
|
9623
9866
|
options: localVarRequestOptions,
|
|
9624
9867
|
};
|
|
9625
9868
|
}),
|
|
9626
|
-
/**
|
|
9627
|
-
*
|
|
9628
|
-
* @summary List teams that can be linked to a calendar
|
|
9629
|
-
* @param {*} [options] Override http request option.
|
|
9630
|
-
* @throws {RequiredError}
|
|
9631
|
-
*/
|
|
9632
|
-
listTeams: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
9633
|
-
const localVarPath = `/api/v2/calendars/teams`;
|
|
9634
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9635
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9636
|
-
let baseOptions;
|
|
9637
|
-
if (configuration) {
|
|
9638
|
-
baseOptions = configuration.baseOptions;
|
|
9639
|
-
}
|
|
9640
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9641
|
-
const localVarHeaderParameter = {};
|
|
9642
|
-
const localVarQueryParameter = {};
|
|
9643
|
-
// authentication bearerAuth required
|
|
9644
|
-
// http bearer authentication required
|
|
9645
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9646
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
9647
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9648
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9649
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9650
|
-
return {
|
|
9651
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9652
|
-
options: localVarRequestOptions,
|
|
9653
|
-
};
|
|
9654
|
-
}),
|
|
9655
9869
|
};
|
|
9656
9870
|
};
|
|
9657
9871
|
exports.CalendarsApiAxiosParamCreator = CalendarsApiAxiosParamCreator;
|
|
@@ -9663,7 +9877,7 @@ const CalendarsApiFp = function (configuration) {
|
|
|
9663
9877
|
return {
|
|
9664
9878
|
/**
|
|
9665
9879
|
*
|
|
9666
|
-
* @summary Ensure calendar schema
|
|
9880
|
+
* @summary Ensure calendar schema and personal default; never assigns existing events
|
|
9667
9881
|
* @param {*} [options] Override http request option.
|
|
9668
9882
|
* @throws {RequiredError}
|
|
9669
9883
|
*/
|
|
@@ -9707,21 +9921,6 @@ const CalendarsApiFp = function (configuration) {
|
|
|
9707
9921
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9708
9922
|
});
|
|
9709
9923
|
},
|
|
9710
|
-
/**
|
|
9711
|
-
*
|
|
9712
|
-
* @summary List teams that can be linked to a calendar
|
|
9713
|
-
* @param {*} [options] Override http request option.
|
|
9714
|
-
* @throws {RequiredError}
|
|
9715
|
-
*/
|
|
9716
|
-
listTeams(options) {
|
|
9717
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9718
|
-
var _a, _b, _c;
|
|
9719
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTeams(options);
|
|
9720
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9721
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CalendarsApi.listTeams']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9722
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9723
|
-
});
|
|
9724
|
-
},
|
|
9725
9924
|
};
|
|
9726
9925
|
};
|
|
9727
9926
|
exports.CalendarsApiFp = CalendarsApiFp;
|
|
@@ -9733,7 +9932,7 @@ const CalendarsApiFactory = function (configuration, basePath, axios) {
|
|
|
9733
9932
|
return {
|
|
9734
9933
|
/**
|
|
9735
9934
|
*
|
|
9736
|
-
* @summary Ensure calendar schema
|
|
9935
|
+
* @summary Ensure calendar schema and personal default; never assigns existing events
|
|
9737
9936
|
* @param {*} [options] Override http request option.
|
|
9738
9937
|
* @throws {RequiredError}
|
|
9739
9938
|
*/
|
|
@@ -9759,15 +9958,6 @@ const CalendarsApiFactory = function (configuration, basePath, axios) {
|
|
|
9759
9958
|
list3(options) {
|
|
9760
9959
|
return localVarFp.list3(options).then((request) => request(axios, basePath));
|
|
9761
9960
|
},
|
|
9762
|
-
/**
|
|
9763
|
-
*
|
|
9764
|
-
* @summary List teams that can be linked to a calendar
|
|
9765
|
-
* @param {*} [options] Override http request option.
|
|
9766
|
-
* @throws {RequiredError}
|
|
9767
|
-
*/
|
|
9768
|
-
listTeams(options) {
|
|
9769
|
-
return localVarFp.listTeams(options).then((request) => request(axios, basePath));
|
|
9770
|
-
},
|
|
9771
9961
|
};
|
|
9772
9962
|
};
|
|
9773
9963
|
exports.CalendarsApiFactory = CalendarsApiFactory;
|
|
@@ -9777,7 +9967,7 @@ exports.CalendarsApiFactory = CalendarsApiFactory;
|
|
|
9777
9967
|
class CalendarsApi extends base_1.BaseAPI {
|
|
9778
9968
|
/**
|
|
9779
9969
|
*
|
|
9780
|
-
* @summary Ensure calendar schema
|
|
9970
|
+
* @summary Ensure calendar schema and personal default; never assigns existing events
|
|
9781
9971
|
* @param {*} [options] Override http request option.
|
|
9782
9972
|
* @throws {RequiredError}
|
|
9783
9973
|
*/
|
|
@@ -9803,15 +9993,6 @@ class CalendarsApi extends base_1.BaseAPI {
|
|
|
9803
9993
|
list3(options) {
|
|
9804
9994
|
return (0, exports.CalendarsApiFp)(this.configuration).list3(options).then((request) => request(this.axios, this.basePath));
|
|
9805
9995
|
}
|
|
9806
|
-
/**
|
|
9807
|
-
*
|
|
9808
|
-
* @summary List teams that can be linked to a calendar
|
|
9809
|
-
* @param {*} [options] Override http request option.
|
|
9810
|
-
* @throws {RequiredError}
|
|
9811
|
-
*/
|
|
9812
|
-
listTeams(options) {
|
|
9813
|
-
return (0, exports.CalendarsApiFp)(this.configuration).listTeams(options).then((request) => request(this.axios, this.basePath));
|
|
9814
|
-
}
|
|
9815
9996
|
}
|
|
9816
9997
|
exports.CalendarsApi = CalendarsApi;
|
|
9817
9998
|
/**
|
|
@@ -22525,10 +22706,11 @@ const TraitsApiAxiosParamCreator = function (configuration) {
|
|
|
22525
22706
|
* @param {string} [partstat]
|
|
22526
22707
|
* @param {string} [scope]
|
|
22527
22708
|
* @param {string} [switchAccount]
|
|
22709
|
+
* @param {string} [token]
|
|
22528
22710
|
* @param {*} [options] Override http request option.
|
|
22529
22711
|
* @throws {RequiredError}
|
|
22530
22712
|
*/
|
|
22531
|
-
rsvpBrowserGet: (companyUuid_1, eventUuid_1, attendeeUuid_1, partstat_1, scope_1, switchAccount_1, ...args_1) => __awaiter(this, [companyUuid_1, eventUuid_1, attendeeUuid_1, partstat_1, scope_1, switchAccount_1, ...args_1], void 0, function* (companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options = {}) {
|
|
22713
|
+
rsvpBrowserGet: (companyUuid_1, eventUuid_1, attendeeUuid_1, partstat_1, scope_1, switchAccount_1, token_1, ...args_1) => __awaiter(this, [companyUuid_1, eventUuid_1, attendeeUuid_1, partstat_1, scope_1, switchAccount_1, token_1, ...args_1], void 0, function* (companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options = {}) {
|
|
22532
22714
|
// verify required parameter 'companyUuid' is not null or undefined
|
|
22533
22715
|
(0, common_1.assertParamExists)('rsvpBrowserGet', 'companyUuid', companyUuid);
|
|
22534
22716
|
// verify required parameter 'eventUuid' is not null or undefined
|
|
@@ -22560,6 +22742,9 @@ const TraitsApiAxiosParamCreator = function (configuration) {
|
|
|
22560
22742
|
if (switchAccount !== undefined) {
|
|
22561
22743
|
localVarQueryParameter['switchAccount'] = switchAccount;
|
|
22562
22744
|
}
|
|
22745
|
+
if (token !== undefined) {
|
|
22746
|
+
localVarQueryParameter['token'] = token;
|
|
22747
|
+
}
|
|
22563
22748
|
localVarHeaderParameter['Accept'] = 'text/html,application/json';
|
|
22564
22749
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22565
22750
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -22818,13 +23003,14 @@ const TraitsApiFp = function (configuration) {
|
|
|
22818
23003
|
* @param {string} [partstat]
|
|
22819
23004
|
* @param {string} [scope]
|
|
22820
23005
|
* @param {string} [switchAccount]
|
|
23006
|
+
* @param {string} [token]
|
|
22821
23007
|
* @param {*} [options] Override http request option.
|
|
22822
23008
|
* @throws {RequiredError}
|
|
22823
23009
|
*/
|
|
22824
|
-
rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options) {
|
|
23010
|
+
rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options) {
|
|
22825
23011
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22826
23012
|
var _a, _b, _c;
|
|
22827
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options);
|
|
23013
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options);
|
|
22828
23014
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22829
23015
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TraitsApi.rsvpBrowserGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22830
23016
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -22954,11 +23140,12 @@ const TraitsApiFactory = function (configuration, basePath, axios) {
|
|
|
22954
23140
|
* @param {string} [partstat]
|
|
22955
23141
|
* @param {string} [scope]
|
|
22956
23142
|
* @param {string} [switchAccount]
|
|
23143
|
+
* @param {string} [token]
|
|
22957
23144
|
* @param {*} [options] Override http request option.
|
|
22958
23145
|
* @throws {RequiredError}
|
|
22959
23146
|
*/
|
|
22960
|
-
rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options) {
|
|
22961
|
-
return localVarFp.rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options).then((request) => request(axios, basePath));
|
|
23147
|
+
rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options) {
|
|
23148
|
+
return localVarFp.rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options).then((request) => request(axios, basePath));
|
|
22962
23149
|
},
|
|
22963
23150
|
/**
|
|
22964
23151
|
*
|
|
@@ -23064,11 +23251,12 @@ class TraitsApi extends base_1.BaseAPI {
|
|
|
23064
23251
|
* @param {string} [partstat]
|
|
23065
23252
|
* @param {string} [scope]
|
|
23066
23253
|
* @param {string} [switchAccount]
|
|
23254
|
+
* @param {string} [token]
|
|
23067
23255
|
* @param {*} [options] Override http request option.
|
|
23068
23256
|
* @throws {RequiredError}
|
|
23069
23257
|
*/
|
|
23070
|
-
rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options) {
|
|
23071
|
-
return (0, exports.TraitsApiFp)(this.configuration).rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options).then((request) => request(this.axios, this.basePath));
|
|
23258
|
+
rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options) {
|
|
23259
|
+
return (0, exports.TraitsApiFp)(this.configuration).rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options).then((request) => request(this.axios, this.basePath));
|
|
23072
23260
|
}
|
|
23073
23261
|
/**
|
|
23074
23262
|
*
|