@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/dist/esm/api.js CHANGED
@@ -6177,6 +6177,84 @@ export const CMSV2PagesApiAxiosParamCreator = function (configuration) {
6177
6177
  options: localVarRequestOptions,
6178
6178
  };
6179
6179
  }),
6180
+ /**
6181
+ *
6182
+ * @summary Cancel or retry a module replacement
6183
+ * @param {string} recordUuid
6184
+ * @param {string} replacementId
6185
+ * @param {string} action
6186
+ * @param {*} [options] Override http request option.
6187
+ * @throws {RequiredError}
6188
+ */
6189
+ 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 = {}) {
6190
+ // verify required parameter 'recordUuid' is not null or undefined
6191
+ assertParamExists('moduleReplacementAction', 'recordUuid', recordUuid);
6192
+ // verify required parameter 'replacementId' is not null or undefined
6193
+ assertParamExists('moduleReplacementAction', 'replacementId', replacementId);
6194
+ // verify required parameter 'action' is not null or undefined
6195
+ assertParamExists('moduleReplacementAction', 'action', action);
6196
+ const localVarPath = `/api/v2/webpages/v2/pages/{recordUuid}/module-replacements/{replacementId}/{action}`
6197
+ .replace('{recordUuid}', encodeURIComponent(String(recordUuid)))
6198
+ .replace('{replacementId}', encodeURIComponent(String(replacementId)))
6199
+ .replace('{action}', encodeURIComponent(String(action)));
6200
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6201
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6202
+ let baseOptions;
6203
+ if (configuration) {
6204
+ baseOptions = configuration.baseOptions;
6205
+ }
6206
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
6207
+ const localVarHeaderParameter = {};
6208
+ const localVarQueryParameter = {};
6209
+ // authentication bearerAuth required
6210
+ // http bearer authentication required
6211
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6212
+ localVarHeaderParameter['Accept'] = 'application/json';
6213
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6214
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6215
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6216
+ return {
6217
+ url: toPathString(localVarUrlObj),
6218
+ options: localVarRequestOptions,
6219
+ };
6220
+ }),
6221
+ /**
6222
+ *
6223
+ * @summary Check durable module replacements and apply ready builds to the draft
6224
+ * @param {string} recordUuid
6225
+ * @param {string} [locale]
6226
+ * @param {*} [options] Override http request option.
6227
+ * @throws {RequiredError}
6228
+ */
6229
+ moduleReplacements: (recordUuid_1, locale_1, ...args_1) => __awaiter(this, [recordUuid_1, locale_1, ...args_1], void 0, function* (recordUuid, locale, options = {}) {
6230
+ // verify required parameter 'recordUuid' is not null or undefined
6231
+ assertParamExists('moduleReplacements', 'recordUuid', recordUuid);
6232
+ const localVarPath = `/api/v2/webpages/v2/pages/{recordUuid}/module-replacements`
6233
+ .replace('{recordUuid}', encodeURIComponent(String(recordUuid)));
6234
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6235
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6236
+ let baseOptions;
6237
+ if (configuration) {
6238
+ baseOptions = configuration.baseOptions;
6239
+ }
6240
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6241
+ const localVarHeaderParameter = {};
6242
+ const localVarQueryParameter = {};
6243
+ // authentication bearerAuth required
6244
+ // http bearer authentication required
6245
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6246
+ if (locale !== undefined) {
6247
+ localVarQueryParameter['locale'] = locale;
6248
+ }
6249
+ localVarHeaderParameter['Accept'] = 'application/json';
6250
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6251
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6252
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6253
+ return {
6254
+ url: toPathString(localVarUrlObj),
6255
+ options: localVarRequestOptions,
6256
+ };
6257
+ }),
6180
6258
  /**
6181
6259
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
6182
6260
  * @summary Apply patches to a page draft
@@ -6339,6 +6417,48 @@ export const CMSV2PagesApiAxiosParamCreator = function (configuration) {
6339
6417
  options: localVarRequestOptions,
6340
6418
  };
6341
6419
  }),
6420
+ /**
6421
+ *
6422
+ * @summary Publish a template draft and update linked live pages
6423
+ * @param {string} objectUuid
6424
+ * @param {{ [key: string]: any | null; }} requestBody
6425
+ * @param {string} [locale]
6426
+ * @param {*} [options] Override http request option.
6427
+ * @throws {RequiredError}
6428
+ */
6429
+ 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 = {}) {
6430
+ // verify required parameter 'objectUuid' is not null or undefined
6431
+ assertParamExists('publishTemplate', 'objectUuid', objectUuid);
6432
+ // verify required parameter 'requestBody' is not null or undefined
6433
+ assertParamExists('publishTemplate', 'requestBody', requestBody);
6434
+ const localVarPath = `/api/v2/webpages/v2/pages/templates/{objectUuid}/publish`
6435
+ .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
6436
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6437
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6438
+ let baseOptions;
6439
+ if (configuration) {
6440
+ baseOptions = configuration.baseOptions;
6441
+ }
6442
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
6443
+ const localVarHeaderParameter = {};
6444
+ const localVarQueryParameter = {};
6445
+ // authentication bearerAuth required
6446
+ // http bearer authentication required
6447
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6448
+ if (locale !== undefined) {
6449
+ localVarQueryParameter['locale'] = locale;
6450
+ }
6451
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6452
+ localVarHeaderParameter['Accept'] = 'application/json';
6453
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6454
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6455
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6456
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
6457
+ return {
6458
+ url: toPathString(localVarUrlObj),
6459
+ options: localVarRequestOptions,
6460
+ };
6461
+ }),
6342
6462
  /**
6343
6463
  *
6344
6464
  * @summary Restore a draft snapshot
@@ -6922,6 +7042,41 @@ export const CMSV2PagesApiFp = function (configuration) {
6922
7042
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6923
7043
  });
6924
7044
  },
7045
+ /**
7046
+ *
7047
+ * @summary Cancel or retry a module replacement
7048
+ * @param {string} recordUuid
7049
+ * @param {string} replacementId
7050
+ * @param {string} action
7051
+ * @param {*} [options] Override http request option.
7052
+ * @throws {RequiredError}
7053
+ */
7054
+ moduleReplacementAction(recordUuid, replacementId, action, options) {
7055
+ return __awaiter(this, void 0, void 0, function* () {
7056
+ var _a, _b, _c;
7057
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.moduleReplacementAction(recordUuid, replacementId, action, options);
7058
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7059
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CMSV2PagesApi.moduleReplacementAction']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7060
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7061
+ });
7062
+ },
7063
+ /**
7064
+ *
7065
+ * @summary Check durable module replacements and apply ready builds to the draft
7066
+ * @param {string} recordUuid
7067
+ * @param {string} [locale]
7068
+ * @param {*} [options] Override http request option.
7069
+ * @throws {RequiredError}
7070
+ */
7071
+ moduleReplacements(recordUuid, locale, options) {
7072
+ return __awaiter(this, void 0, void 0, function* () {
7073
+ var _a, _b, _c;
7074
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.moduleReplacements(recordUuid, locale, options);
7075
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7076
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CMSV2PagesApi.moduleReplacements']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7077
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7078
+ });
7079
+ },
6925
7080
  /**
6926
7081
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
6927
7082
  * @summary Apply patches to a page draft
@@ -6993,6 +7148,24 @@ export const CMSV2PagesApiFp = function (configuration) {
6993
7148
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6994
7149
  });
6995
7150
  },
7151
+ /**
7152
+ *
7153
+ * @summary Publish a template draft and update linked live pages
7154
+ * @param {string} objectUuid
7155
+ * @param {{ [key: string]: any | null; }} requestBody
7156
+ * @param {string} [locale]
7157
+ * @param {*} [options] Override http request option.
7158
+ * @throws {RequiredError}
7159
+ */
7160
+ publishTemplate(objectUuid, requestBody, locale, options) {
7161
+ return __awaiter(this, void 0, void 0, function* () {
7162
+ var _a, _b, _c;
7163
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.publishTemplate(objectUuid, requestBody, locale, options);
7164
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7165
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CMSV2PagesApi.publishTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7166
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7167
+ });
7168
+ },
6996
7169
  /**
6997
7170
  *
6998
7171
  * @summary Restore a draft snapshot
@@ -7285,6 +7458,29 @@ export const CMSV2PagesApiFactory = function (configuration, basePath, axios) {
7285
7458
  library(options) {
7286
7459
  return localVarFp.library(options).then((request) => request(axios, basePath));
7287
7460
  },
7461
+ /**
7462
+ *
7463
+ * @summary Cancel or retry a module replacement
7464
+ * @param {string} recordUuid
7465
+ * @param {string} replacementId
7466
+ * @param {string} action
7467
+ * @param {*} [options] Override http request option.
7468
+ * @throws {RequiredError}
7469
+ */
7470
+ moduleReplacementAction(recordUuid, replacementId, action, options) {
7471
+ return localVarFp.moduleReplacementAction(recordUuid, replacementId, action, options).then((request) => request(axios, basePath));
7472
+ },
7473
+ /**
7474
+ *
7475
+ * @summary Check durable module replacements and apply ready builds to the draft
7476
+ * @param {string} recordUuid
7477
+ * @param {string} [locale]
7478
+ * @param {*} [options] Override http request option.
7479
+ * @throws {RequiredError}
7480
+ */
7481
+ moduleReplacements(recordUuid, locale, options) {
7482
+ return localVarFp.moduleReplacements(recordUuid, locale, options).then((request) => request(axios, basePath));
7483
+ },
7288
7484
  /**
7289
7485
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
7290
7486
  * @summary Apply patches to a page draft
@@ -7332,6 +7528,18 @@ export const CMSV2PagesApiFactory = function (configuration, basePath, axios) {
7332
7528
  publish(recordUuid, locale, allLocales, options) {
7333
7529
  return localVarFp.publish(recordUuid, locale, allLocales, options).then((request) => request(axios, basePath));
7334
7530
  },
7531
+ /**
7532
+ *
7533
+ * @summary Publish a template draft and update linked live pages
7534
+ * @param {string} objectUuid
7535
+ * @param {{ [key: string]: any | null; }} requestBody
7536
+ * @param {string} [locale]
7537
+ * @param {*} [options] Override http request option.
7538
+ * @throws {RequiredError}
7539
+ */
7540
+ publishTemplate(objectUuid, requestBody, locale, options) {
7541
+ return localVarFp.publishTemplate(objectUuid, requestBody, locale, options).then((request) => request(axios, basePath));
7542
+ },
7335
7543
  /**
7336
7544
  *
7337
7545
  * @summary Restore a draft snapshot
@@ -7562,6 +7770,29 @@ export class CMSV2PagesApi extends BaseAPI {
7562
7770
  library(options) {
7563
7771
  return CMSV2PagesApiFp(this.configuration).library(options).then((request) => request(this.axios, this.basePath));
7564
7772
  }
7773
+ /**
7774
+ *
7775
+ * @summary Cancel or retry a module replacement
7776
+ * @param {string} recordUuid
7777
+ * @param {string} replacementId
7778
+ * @param {string} action
7779
+ * @param {*} [options] Override http request option.
7780
+ * @throws {RequiredError}
7781
+ */
7782
+ moduleReplacementAction(recordUuid, replacementId, action, options) {
7783
+ return CMSV2PagesApiFp(this.configuration).moduleReplacementAction(recordUuid, replacementId, action, options).then((request) => request(this.axios, this.basePath));
7784
+ }
7785
+ /**
7786
+ *
7787
+ * @summary Check durable module replacements and apply ready builds to the draft
7788
+ * @param {string} recordUuid
7789
+ * @param {string} [locale]
7790
+ * @param {*} [options] Override http request option.
7791
+ * @throws {RequiredError}
7792
+ */
7793
+ moduleReplacements(recordUuid, locale, options) {
7794
+ return CMSV2PagesApiFp(this.configuration).moduleReplacements(recordUuid, locale, options).then((request) => request(this.axios, this.basePath));
7795
+ }
7565
7796
  /**
7566
7797
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
7567
7798
  * @summary Apply patches to a page draft
@@ -7609,6 +7840,18 @@ export class CMSV2PagesApi extends BaseAPI {
7609
7840
  publish(recordUuid, locale, allLocales, options) {
7610
7841
  return CMSV2PagesApiFp(this.configuration).publish(recordUuid, locale, allLocales, options).then((request) => request(this.axios, this.basePath));
7611
7842
  }
7843
+ /**
7844
+ *
7845
+ * @summary Publish a template draft and update linked live pages
7846
+ * @param {string} objectUuid
7847
+ * @param {{ [key: string]: any | null; }} requestBody
7848
+ * @param {string} [locale]
7849
+ * @param {*} [options] Override http request option.
7850
+ * @throws {RequiredError}
7851
+ */
7852
+ publishTemplate(objectUuid, requestBody, locale, options) {
7853
+ return CMSV2PagesApiFp(this.configuration).publishTemplate(objectUuid, requestBody, locale, options).then((request) => request(this.axios, this.basePath));
7854
+ }
7612
7855
  /**
7613
7856
  *
7614
7857
  * @summary Restore a draft snapshot
@@ -9472,7 +9715,7 @@ export const CalendarsApiAxiosParamCreator = function (configuration) {
9472
9715
  return {
9473
9716
  /**
9474
9717
  *
9475
- * @summary Ensure calendar schema, default calendar, and event backfill
9718
+ * @summary Ensure calendar schema and personal default; never assigns existing events
9476
9719
  * @param {*} [options] Override http request option.
9477
9720
  * @throws {RequiredError}
9478
9721
  */
@@ -9562,35 +9805,6 @@ export const CalendarsApiAxiosParamCreator = function (configuration) {
9562
9805
  options: localVarRequestOptions,
9563
9806
  };
9564
9807
  }),
9565
- /**
9566
- *
9567
- * @summary List teams that can be linked to a calendar
9568
- * @param {*} [options] Override http request option.
9569
- * @throws {RequiredError}
9570
- */
9571
- listTeams: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
9572
- const localVarPath = `/api/v2/calendars/teams`;
9573
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9574
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9575
- let baseOptions;
9576
- if (configuration) {
9577
- baseOptions = configuration.baseOptions;
9578
- }
9579
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9580
- const localVarHeaderParameter = {};
9581
- const localVarQueryParameter = {};
9582
- // authentication bearerAuth required
9583
- // http bearer authentication required
9584
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
9585
- localVarHeaderParameter['Accept'] = 'application/json';
9586
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9587
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9588
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9589
- return {
9590
- url: toPathString(localVarUrlObj),
9591
- options: localVarRequestOptions,
9592
- };
9593
- }),
9594
9808
  };
9595
9809
  };
9596
9810
  /**
@@ -9601,7 +9815,7 @@ export const CalendarsApiFp = function (configuration) {
9601
9815
  return {
9602
9816
  /**
9603
9817
  *
9604
- * @summary Ensure calendar schema, default calendar, and event backfill
9818
+ * @summary Ensure calendar schema and personal default; never assigns existing events
9605
9819
  * @param {*} [options] Override http request option.
9606
9820
  * @throws {RequiredError}
9607
9821
  */
@@ -9645,21 +9859,6 @@ export const CalendarsApiFp = function (configuration) {
9645
9859
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9646
9860
  });
9647
9861
  },
9648
- /**
9649
- *
9650
- * @summary List teams that can be linked to a calendar
9651
- * @param {*} [options] Override http request option.
9652
- * @throws {RequiredError}
9653
- */
9654
- listTeams(options) {
9655
- return __awaiter(this, void 0, void 0, function* () {
9656
- var _a, _b, _c;
9657
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listTeams(options);
9658
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9659
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarsApi.listTeams']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9660
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9661
- });
9662
- },
9663
9862
  };
9664
9863
  };
9665
9864
  /**
@@ -9670,7 +9869,7 @@ export const CalendarsApiFactory = function (configuration, basePath, axios) {
9670
9869
  return {
9671
9870
  /**
9672
9871
  *
9673
- * @summary Ensure calendar schema, default calendar, and event backfill
9872
+ * @summary Ensure calendar schema and personal default; never assigns existing events
9674
9873
  * @param {*} [options] Override http request option.
9675
9874
  * @throws {RequiredError}
9676
9875
  */
@@ -9696,15 +9895,6 @@ export const CalendarsApiFactory = function (configuration, basePath, axios) {
9696
9895
  list3(options) {
9697
9896
  return localVarFp.list3(options).then((request) => request(axios, basePath));
9698
9897
  },
9699
- /**
9700
- *
9701
- * @summary List teams that can be linked to a calendar
9702
- * @param {*} [options] Override http request option.
9703
- * @throws {RequiredError}
9704
- */
9705
- listTeams(options) {
9706
- return localVarFp.listTeams(options).then((request) => request(axios, basePath));
9707
- },
9708
9898
  };
9709
9899
  };
9710
9900
  /**
@@ -9713,7 +9903,7 @@ export const CalendarsApiFactory = function (configuration, basePath, axios) {
9713
9903
  export class CalendarsApi extends BaseAPI {
9714
9904
  /**
9715
9905
  *
9716
- * @summary Ensure calendar schema, default calendar, and event backfill
9906
+ * @summary Ensure calendar schema and personal default; never assigns existing events
9717
9907
  * @param {*} [options] Override http request option.
9718
9908
  * @throws {RequiredError}
9719
9909
  */
@@ -9739,15 +9929,6 @@ export class CalendarsApi extends BaseAPI {
9739
9929
  list3(options) {
9740
9930
  return CalendarsApiFp(this.configuration).list3(options).then((request) => request(this.axios, this.basePath));
9741
9931
  }
9742
- /**
9743
- *
9744
- * @summary List teams that can be linked to a calendar
9745
- * @param {*} [options] Override http request option.
9746
- * @throws {RequiredError}
9747
- */
9748
- listTeams(options) {
9749
- return CalendarsApiFp(this.configuration).listTeams(options).then((request) => request(this.axios, this.basePath));
9750
- }
9751
9932
  }
9752
9933
  /**
9753
9934
  * CompanyApi - axios parameter creator
@@ -22396,10 +22577,11 @@ export const TraitsApiAxiosParamCreator = function (configuration) {
22396
22577
  * @param {string} [partstat]
22397
22578
  * @param {string} [scope]
22398
22579
  * @param {string} [switchAccount]
22580
+ * @param {string} [token]
22399
22581
  * @param {*} [options] Override http request option.
22400
22582
  * @throws {RequiredError}
22401
22583
  */
22402
- 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 = {}) {
22584
+ 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 = {}) {
22403
22585
  // verify required parameter 'companyUuid' is not null or undefined
22404
22586
  assertParamExists('rsvpBrowserGet', 'companyUuid', companyUuid);
22405
22587
  // verify required parameter 'eventUuid' is not null or undefined
@@ -22431,6 +22613,9 @@ export const TraitsApiAxiosParamCreator = function (configuration) {
22431
22613
  if (switchAccount !== undefined) {
22432
22614
  localVarQueryParameter['switchAccount'] = switchAccount;
22433
22615
  }
22616
+ if (token !== undefined) {
22617
+ localVarQueryParameter['token'] = token;
22618
+ }
22434
22619
  localVarHeaderParameter['Accept'] = 'text/html,application/json';
22435
22620
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22436
22621
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -22688,13 +22873,14 @@ export const TraitsApiFp = function (configuration) {
22688
22873
  * @param {string} [partstat]
22689
22874
  * @param {string} [scope]
22690
22875
  * @param {string} [switchAccount]
22876
+ * @param {string} [token]
22691
22877
  * @param {*} [options] Override http request option.
22692
22878
  * @throws {RequiredError}
22693
22879
  */
22694
- rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options) {
22880
+ rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options) {
22695
22881
  return __awaiter(this, void 0, void 0, function* () {
22696
22882
  var _a, _b, _c;
22697
- const localVarAxiosArgs = yield localVarAxiosParamCreator.rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options);
22883
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options);
22698
22884
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
22699
22885
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TraitsApi.rsvpBrowserGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
22700
22886
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -22823,11 +23009,12 @@ export const TraitsApiFactory = function (configuration, basePath, axios) {
22823
23009
  * @param {string} [partstat]
22824
23010
  * @param {string} [scope]
22825
23011
  * @param {string} [switchAccount]
23012
+ * @param {string} [token]
22826
23013
  * @param {*} [options] Override http request option.
22827
23014
  * @throws {RequiredError}
22828
23015
  */
22829
- rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options) {
22830
- return localVarFp.rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options).then((request) => request(axios, basePath));
23016
+ rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options) {
23017
+ return localVarFp.rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options).then((request) => request(axios, basePath));
22831
23018
  },
22832
23019
  /**
22833
23020
  *
@@ -22932,11 +23119,12 @@ export class TraitsApi extends BaseAPI {
22932
23119
  * @param {string} [partstat]
22933
23120
  * @param {string} [scope]
22934
23121
  * @param {string} [switchAccount]
23122
+ * @param {string} [token]
22935
23123
  * @param {*} [options] Override http request option.
22936
23124
  * @throws {RequiredError}
22937
23125
  */
22938
- rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options) {
22939
- return TraitsApiFp(this.configuration).rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options).then((request) => request(this.axios, this.basePath));
23126
+ rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options) {
23127
+ return TraitsApiFp(this.configuration).rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options).then((request) => request(this.axios, this.basePath));
22940
23128
  }
22941
23129
  /**
22942
23130
  *