@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/api.ts CHANGED
@@ -1389,6 +1389,8 @@ export interface CalendarRecordDTO {
1389
1389
  'ownerUuid'?: string;
1390
1390
  'ownerName'?: string;
1391
1391
  'ownedByCurrentUser'?: boolean;
1392
+ 'canEdit'?: boolean;
1393
+ 'shared'?: boolean;
1392
1394
  'teamUuid'?: string;
1393
1395
  'teamName'?: string;
1394
1396
  'companyCalendar'?: boolean;
@@ -1401,11 +1403,6 @@ export interface CalendarTeamMemberDTO {
1401
1403
  'objectName'?: string;
1402
1404
  'hasUserTrait'?: boolean;
1403
1405
  }
1404
- export interface CalendarTeamOptionDTO {
1405
- 'uuid'?: string;
1406
- 'name'?: string;
1407
- 'members'?: Array<CalendarTeamMemberDTO>;
1408
- }
1409
1406
  export interface CaraerErrorType {
1410
1407
  /**
1411
1408
  * The error message providing details about the failure.
@@ -1605,6 +1602,7 @@ export interface CmsPageModuleInstance {
1605
1602
  export interface CmsPagePatch {
1606
1603
  'op'?: string;
1607
1604
  'moduleId'?: string;
1605
+ 'expectedModule'?: string;
1608
1606
  'ref'?: string;
1609
1607
  'field'?: string;
1610
1608
  'value'?: any;
@@ -1822,6 +1820,9 @@ export interface CompanyDetailsDTO {
1822
1820
  */
1823
1821
  'disclaimer'?: string;
1824
1822
  }
1823
+ export interface ConnectionState {
1824
+ 'connected'?: boolean;
1825
+ }
1825
1826
  export interface CopyPropertiesToObjectRequest {
1826
1827
  'propertyUuids'?: Array<string>;
1827
1828
  }
@@ -2939,6 +2940,7 @@ export interface EventRsvpRequest {
2939
2940
  * Series scope for recurring events. Defaults to this.
2940
2941
  */
2941
2942
  'scope'?: EventRsvpRequestScopeEnum;
2943
+ 'invitationToken'?: string;
2942
2944
  }
2943
2945
 
2944
2946
  export const EventRsvpRequestPartstatEnum = {
@@ -2959,8 +2961,8 @@ export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof t
2959
2961
 
2960
2962
  export interface ExistingWidgetSummary {
2961
2963
  'xproperty'?: string;
2962
- 'ymetric'?: string;
2963
2964
  'yproperty'?: string;
2965
+ 'ymetric'?: string;
2964
2966
  'title'?: string;
2965
2967
  'chartType'?: string;
2966
2968
  'xProperty'?: string;
@@ -3046,10 +3048,10 @@ export interface FileListItemDTO {
3046
3048
  'contentType'?: string;
3047
3049
  }
3048
3050
  export interface FilledProperty {
3049
- 'icon'?: string;
3050
3051
  'name'?: string;
3051
3052
  'value'?: any;
3052
3053
  'type'?: string;
3054
+ 'icon'?: string;
3053
3055
  'label'?: string;
3054
3056
  }
3055
3057
  /**
@@ -3060,6 +3062,10 @@ export interface Filter {
3060
3062
  * A collection of filter groups.
3061
3063
  */
3062
3064
  'groups'?: Set<FilterGroup>;
3065
+ /**
3066
+ * Optional participant UUIDs for event records, intersected with the ordinary filter before paging. Omit for all; an empty list matches none. Uses organiser plus the effective Event trait attendee relations.
3067
+ */
3068
+ 'eventParticipantUuids'?: Array<string>;
3063
3069
  }
3064
3070
  /**
3065
3071
  * A DTO that defines a group of filter items used for record filtering.
@@ -3878,9 +3884,9 @@ export interface ModelRecord {
3878
3884
  'complete'?: boolean;
3879
3885
  'deleted'?: boolean;
3880
3886
  'uuid': string;
3881
- 'user'?: PublicUserDTO;
3882
3887
  'properties'?: Array<FilledProperty>;
3883
3888
  'objects'?: { [key: string]: any | null; };
3889
+ 'user'?: PublicUserDTO;
3884
3890
  }
3885
3891
  export interface MultiFile extends PropertyFormat {
3886
3892
  }
@@ -4058,6 +4064,11 @@ export interface ObjectReferenceDTO {
4058
4064
  'defaultTrait'?: string;
4059
4065
  'traits'?: Array<string>;
4060
4066
  }
4067
+ export interface Outcome {
4068
+ 'claimToken'?: string;
4069
+ 'status'?: string;
4070
+ 'message'?: string;
4071
+ }
4061
4072
  /**
4062
4073
  * Data transfer object representing a webpage content
4063
4074
  */
@@ -5595,6 +5606,10 @@ export interface RecordPaginationRequest {
5595
5606
  * Relation to create when saving a record
5596
5607
  */
5597
5608
  export interface RecordRelationRequestDTO {
5609
+ /**
5610
+ * When true, remove this existing UUID relation atomically with the record mutation. Nested records and property writes are not allowed.
5611
+ */
5612
+ 'remove'?: boolean;
5598
5613
  /**
5599
5614
  * Name of the relation type
5600
5615
  */
@@ -5842,6 +5857,9 @@ export interface ResetPasswordRequest {
5842
5857
  'token'?: string;
5843
5858
  'password'?: string;
5844
5859
  }
5860
+ export interface ResolveRequest {
5861
+ 'email'?: string;
5862
+ }
5845
5863
  /**
5846
5864
  * Represents the response returned when a restore operation is performed successfully.
5847
5865
  */
@@ -6184,6 +6202,10 @@ export interface SendNotificationRequest {
6184
6202
  */
6185
6203
  'data'?: { [key: string]: any | null; };
6186
6204
  }
6205
+ export interface SendRequest {
6206
+ 'requestId'?: string;
6207
+ 'scope'?: string;
6208
+ }
6187
6209
  /**
6188
6210
  * Data transfer object for a serverless function (runtime and code) owned by an app
6189
6211
  */
@@ -6263,8 +6285,8 @@ export interface SettingField {
6263
6285
  'hidden'?: boolean;
6264
6286
  'disabled'?: boolean;
6265
6287
  'options'?: Array<SettingOption>;
6266
- 'value'?: any;
6267
6288
  'defaultValue'?: any;
6289
+ 'value'?: any;
6268
6290
  }
6269
6291
 
6270
6292
  export const SettingFieldTypeEnum = {
@@ -6921,6 +6943,19 @@ export interface ShowResponseTraitDTO {
6921
6943
  'message'?: string;
6922
6944
  'data'?: { [key: string]: any; };
6923
6945
  }
6946
+ /**
6947
+ * Represents the response for viewing or showing a specific resource.
6948
+ */
6949
+ export interface ShowResponseUserRecordResponseDTO {
6950
+ /**
6951
+ * A message detailing the result of the operation.
6952
+ */
6953
+ 'message'?: string;
6954
+ /**
6955
+ * The data payload of the response, if any.
6956
+ */
6957
+ 'data'?: UserRecordResponseDTO;
6958
+ }
6924
6959
  /**
6925
6960
  * Represents the response for viewing or showing a specific resource.
6926
6961
  */
@@ -7695,19 +7730,6 @@ export interface SuccessResponseListCalendarRecordDTO {
7695
7730
  */
7696
7731
  'data'?: Array<CalendarRecordDTO>;
7697
7732
  }
7698
- /**
7699
- * Represents a standard successful response with a message and optional data.
7700
- */
7701
- export interface SuccessResponseListCalendarTeamOptionDTO {
7702
- /**
7703
- * A message detailing the result of the operation.
7704
- */
7705
- 'message'?: string;
7706
- /**
7707
- * The data payload of the response, if any.
7708
- */
7709
- 'data'?: Array<CalendarTeamOptionDTO>;
7710
- }
7711
7733
  /**
7712
7734
  * Success response (SuccessResponseListCaraerObjectDTO).
7713
7735
  */
@@ -7854,11 +7876,17 @@ export interface SuccessResponseNavigationDTO {
7854
7876
  'data'?: NavigationDTO;
7855
7877
  }
7856
7878
  /**
7857
- * Success response (SuccessResponseObject).
7879
+ * Represents a standard successful response with a message and optional data.
7858
7880
  */
7859
7881
  export interface SuccessResponseObject {
7882
+ /**
7883
+ * A message detailing the result of the operation.
7884
+ */
7860
7885
  'message'?: string;
7861
- 'data'?: { [key: string]: any; };
7886
+ /**
7887
+ * The data payload of the response, if any.
7888
+ */
7889
+ 'data'?: any;
7862
7890
  }
7863
7891
  /**
7864
7892
  * Represents a standard successful response with a message and optional data.
@@ -8423,6 +8451,7 @@ export interface ViewDTO {
8423
8451
  'taskCollapsedGroupKeys'?: Array<string>;
8424
8452
  'taskExpandedTaskUuids'?: Array<string>;
8425
8453
  'calendarOverlay'?: string;
8454
+ 'eventUserUuids'?: Array<string>;
8426
8455
  'visibleCalendarUuids'?: Array<string>;
8427
8456
  'selectedCalendarUuid'?: string;
8428
8457
  'calendarColorBy'?: string;
@@ -15345,6 +15374,95 @@ export const CMSV2PagesApiAxiosParamCreator = function (configuration?: Configur
15345
15374
  options: localVarRequestOptions,
15346
15375
  };
15347
15376
  },
15377
+ /**
15378
+ *
15379
+ * @summary Cancel or retry a module replacement
15380
+ * @param {string} recordUuid
15381
+ * @param {string} replacementId
15382
+ * @param {string} action
15383
+ * @param {*} [options] Override http request option.
15384
+ * @throws {RequiredError}
15385
+ */
15386
+ moduleReplacementAction: async (recordUuid: string, replacementId: string, action: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15387
+ // verify required parameter 'recordUuid' is not null or undefined
15388
+ assertParamExists('moduleReplacementAction', 'recordUuid', recordUuid)
15389
+ // verify required parameter 'replacementId' is not null or undefined
15390
+ assertParamExists('moduleReplacementAction', 'replacementId', replacementId)
15391
+ // verify required parameter 'action' is not null or undefined
15392
+ assertParamExists('moduleReplacementAction', 'action', action)
15393
+ const localVarPath = `/api/v2/webpages/v2/pages/{recordUuid}/module-replacements/{replacementId}/{action}`
15394
+ .replace('{recordUuid}', encodeURIComponent(String(recordUuid)))
15395
+ .replace('{replacementId}', encodeURIComponent(String(replacementId)))
15396
+ .replace('{action}', encodeURIComponent(String(action)));
15397
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15398
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15399
+ let baseOptions;
15400
+ if (configuration) {
15401
+ baseOptions = configuration.baseOptions;
15402
+ }
15403
+
15404
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15405
+ const localVarHeaderParameter = {} as any;
15406
+ const localVarQueryParameter = {} as any;
15407
+
15408
+ // authentication bearerAuth required
15409
+ // http bearer authentication required
15410
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15411
+
15412
+ localVarHeaderParameter['Accept'] = 'application/json';
15413
+
15414
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15415
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15416
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15417
+
15418
+ return {
15419
+ url: toPathString(localVarUrlObj),
15420
+ options: localVarRequestOptions,
15421
+ };
15422
+ },
15423
+ /**
15424
+ *
15425
+ * @summary Check durable module replacements and apply ready builds to the draft
15426
+ * @param {string} recordUuid
15427
+ * @param {string} [locale]
15428
+ * @param {*} [options] Override http request option.
15429
+ * @throws {RequiredError}
15430
+ */
15431
+ moduleReplacements: async (recordUuid: string, locale?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15432
+ // verify required parameter 'recordUuid' is not null or undefined
15433
+ assertParamExists('moduleReplacements', 'recordUuid', recordUuid)
15434
+ const localVarPath = `/api/v2/webpages/v2/pages/{recordUuid}/module-replacements`
15435
+ .replace('{recordUuid}', encodeURIComponent(String(recordUuid)));
15436
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15437
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15438
+ let baseOptions;
15439
+ if (configuration) {
15440
+ baseOptions = configuration.baseOptions;
15441
+ }
15442
+
15443
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15444
+ const localVarHeaderParameter = {} as any;
15445
+ const localVarQueryParameter = {} as any;
15446
+
15447
+ // authentication bearerAuth required
15448
+ // http bearer authentication required
15449
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15450
+
15451
+ if (locale !== undefined) {
15452
+ localVarQueryParameter['locale'] = locale;
15453
+ }
15454
+
15455
+ localVarHeaderParameter['Accept'] = 'application/json';
15456
+
15457
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15458
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15459
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15460
+
15461
+ return {
15462
+ url: toPathString(localVarUrlObj),
15463
+ options: localVarRequestOptions,
15464
+ };
15465
+ },
15348
15466
  /**
15349
15467
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
15350
15468
  * @summary Apply patches to a page draft
@@ -15531,6 +15649,54 @@ export const CMSV2PagesApiAxiosParamCreator = function (configuration?: Configur
15531
15649
  options: localVarRequestOptions,
15532
15650
  };
15533
15651
  },
15652
+ /**
15653
+ *
15654
+ * @summary Publish a template draft and update linked live pages
15655
+ * @param {string} objectUuid
15656
+ * @param {{ [key: string]: any | null; }} requestBody
15657
+ * @param {string} [locale]
15658
+ * @param {*} [options] Override http request option.
15659
+ * @throws {RequiredError}
15660
+ */
15661
+ publishTemplate: async (objectUuid: string, requestBody: { [key: string]: any | null; }, locale?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15662
+ // verify required parameter 'objectUuid' is not null or undefined
15663
+ assertParamExists('publishTemplate', 'objectUuid', objectUuid)
15664
+ // verify required parameter 'requestBody' is not null or undefined
15665
+ assertParamExists('publishTemplate', 'requestBody', requestBody)
15666
+ const localVarPath = `/api/v2/webpages/v2/pages/templates/{objectUuid}/publish`
15667
+ .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
15668
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15669
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15670
+ let baseOptions;
15671
+ if (configuration) {
15672
+ baseOptions = configuration.baseOptions;
15673
+ }
15674
+
15675
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
15676
+ const localVarHeaderParameter = {} as any;
15677
+ const localVarQueryParameter = {} as any;
15678
+
15679
+ // authentication bearerAuth required
15680
+ // http bearer authentication required
15681
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15682
+
15683
+ if (locale !== undefined) {
15684
+ localVarQueryParameter['locale'] = locale;
15685
+ }
15686
+
15687
+ localVarHeaderParameter['Content-Type'] = 'application/json';
15688
+ localVarHeaderParameter['Accept'] = 'application/json';
15689
+
15690
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15691
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15692
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15693
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
15694
+
15695
+ return {
15696
+ url: toPathString(localVarUrlObj),
15697
+ options: localVarRequestOptions,
15698
+ };
15699
+ },
15534
15700
  /**
15535
15701
  *
15536
15702
  * @summary Restore a draft snapshot
@@ -16142,6 +16308,35 @@ export const CMSV2PagesApiFp = function(configuration?: Configuration) {
16142
16308
  const localVarOperationServerBasePath = operationServerMap['CMSV2PagesApi.library']?.[localVarOperationServerIndex]?.url;
16143
16309
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16144
16310
  },
16311
+ /**
16312
+ *
16313
+ * @summary Cancel or retry a module replacement
16314
+ * @param {string} recordUuid
16315
+ * @param {string} replacementId
16316
+ * @param {string} action
16317
+ * @param {*} [options] Override http request option.
16318
+ * @throws {RequiredError}
16319
+ */
16320
+ async moduleReplacementAction(recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>> {
16321
+ const localVarAxiosArgs = await localVarAxiosParamCreator.moduleReplacementAction(recordUuid, replacementId, action, options);
16322
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16323
+ const localVarOperationServerBasePath = operationServerMap['CMSV2PagesApi.moduleReplacementAction']?.[localVarOperationServerIndex]?.url;
16324
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16325
+ },
16326
+ /**
16327
+ *
16328
+ * @summary Check durable module replacements and apply ready builds to the draft
16329
+ * @param {string} recordUuid
16330
+ * @param {string} [locale]
16331
+ * @param {*} [options] Override http request option.
16332
+ * @throws {RequiredError}
16333
+ */
16334
+ async moduleReplacements(recordUuid: string, locale?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>> {
16335
+ const localVarAxiosArgs = await localVarAxiosParamCreator.moduleReplacements(recordUuid, locale, options);
16336
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16337
+ const localVarOperationServerBasePath = operationServerMap['CMSV2PagesApi.moduleReplacements']?.[localVarOperationServerIndex]?.url;
16338
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16339
+ },
16145
16340
  /**
16146
16341
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
16147
16342
  * @summary Apply patches to a page draft
@@ -16201,6 +16396,21 @@ export const CMSV2PagesApiFp = function(configuration?: Configuration) {
16201
16396
  const localVarOperationServerBasePath = operationServerMap['CMSV2PagesApi.publish']?.[localVarOperationServerIndex]?.url;
16202
16397
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16203
16398
  },
16399
+ /**
16400
+ *
16401
+ * @summary Publish a template draft and update linked live pages
16402
+ * @param {string} objectUuid
16403
+ * @param {{ [key: string]: any | null; }} requestBody
16404
+ * @param {string} [locale]
16405
+ * @param {*} [options] Override http request option.
16406
+ * @throws {RequiredError}
16407
+ */
16408
+ async publishTemplate(objectUuid: string, requestBody: { [key: string]: any | null; }, locale?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseCmsPageDTO>> {
16409
+ const localVarAxiosArgs = await localVarAxiosParamCreator.publishTemplate(objectUuid, requestBody, locale, options);
16410
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16411
+ const localVarOperationServerBasePath = operationServerMap['CMSV2PagesApi.publishTemplate']?.[localVarOperationServerIndex]?.url;
16412
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16413
+ },
16204
16414
  /**
16205
16415
  *
16206
16416
  * @summary Restore a draft snapshot
@@ -16464,6 +16674,29 @@ export const CMSV2PagesApiFactory = function (configuration?: Configuration, bas
16464
16674
  library(options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListCmsModuleDTO> {
16465
16675
  return localVarFp.library(options).then((request) => request(axios, basePath));
16466
16676
  },
16677
+ /**
16678
+ *
16679
+ * @summary Cancel or retry a module replacement
16680
+ * @param {string} recordUuid
16681
+ * @param {string} replacementId
16682
+ * @param {string} action
16683
+ * @param {*} [options] Override http request option.
16684
+ * @throws {RequiredError}
16685
+ */
16686
+ moduleReplacementAction(recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject> {
16687
+ return localVarFp.moduleReplacementAction(recordUuid, replacementId, action, options).then((request) => request(axios, basePath));
16688
+ },
16689
+ /**
16690
+ *
16691
+ * @summary Check durable module replacements and apply ready builds to the draft
16692
+ * @param {string} recordUuid
16693
+ * @param {string} [locale]
16694
+ * @param {*} [options] Override http request option.
16695
+ * @throws {RequiredError}
16696
+ */
16697
+ moduleReplacements(recordUuid: string, locale?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject> {
16698
+ return localVarFp.moduleReplacements(recordUuid, locale, options).then((request) => request(axios, basePath));
16699
+ },
16467
16700
  /**
16468
16701
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
16469
16702
  * @summary Apply patches to a page draft
@@ -16511,6 +16744,18 @@ export const CMSV2PagesApiFactory = function (configuration?: Configuration, bas
16511
16744
  publish(recordUuid: string, locale?: string, allLocales?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseListCmsPageDTO> {
16512
16745
  return localVarFp.publish(recordUuid, locale, allLocales, options).then((request) => request(axios, basePath));
16513
16746
  },
16747
+ /**
16748
+ *
16749
+ * @summary Publish a template draft and update linked live pages
16750
+ * @param {string} objectUuid
16751
+ * @param {{ [key: string]: any | null; }} requestBody
16752
+ * @param {string} [locale]
16753
+ * @param {*} [options] Override http request option.
16754
+ * @throws {RequiredError}
16755
+ */
16756
+ publishTemplate(objectUuid: string, requestBody: { [key: string]: any | null; }, locale?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseCmsPageDTO> {
16757
+ return localVarFp.publishTemplate(objectUuid, requestBody, locale, options).then((request) => request(axios, basePath));
16758
+ },
16514
16759
  /**
16515
16760
  *
16516
16761
  * @summary Restore a draft snapshot
@@ -16752,6 +16997,31 @@ export class CMSV2PagesApi extends BaseAPI {
16752
16997
  return CMSV2PagesApiFp(this.configuration).library(options).then((request) => request(this.axios, this.basePath));
16753
16998
  }
16754
16999
 
17000
+ /**
17001
+ *
17002
+ * @summary Cancel or retry a module replacement
17003
+ * @param {string} recordUuid
17004
+ * @param {string} replacementId
17005
+ * @param {string} action
17006
+ * @param {*} [options] Override http request option.
17007
+ * @throws {RequiredError}
17008
+ */
17009
+ public moduleReplacementAction(recordUuid: string, replacementId: string, action: string, options?: RawAxiosRequestConfig) {
17010
+ return CMSV2PagesApiFp(this.configuration).moduleReplacementAction(recordUuid, replacementId, action, options).then((request) => request(this.axios, this.basePath));
17011
+ }
17012
+
17013
+ /**
17014
+ *
17015
+ * @summary Check durable module replacements and apply ready builds to the draft
17016
+ * @param {string} recordUuid
17017
+ * @param {string} [locale]
17018
+ * @param {*} [options] Override http request option.
17019
+ * @throws {RequiredError}
17020
+ */
17021
+ public moduleReplacements(recordUuid: string, locale?: string, options?: RawAxiosRequestConfig) {
17022
+ return CMSV2PagesApiFp(this.configuration).moduleReplacements(recordUuid, locale, options).then((request) => request(this.axios, this.basePath));
17023
+ }
17024
+
16755
17025
  /**
16756
17026
  * Rejected with 409 when expectedRevision does not match, so a stale client cannot overwrite another editor\'s work.
16757
17027
  * @summary Apply patches to a page draft
@@ -16803,6 +17073,19 @@ export class CMSV2PagesApi extends BaseAPI {
16803
17073
  return CMSV2PagesApiFp(this.configuration).publish(recordUuid, locale, allLocales, options).then((request) => request(this.axios, this.basePath));
16804
17074
  }
16805
17075
 
17076
+ /**
17077
+ *
17078
+ * @summary Publish a template draft and update linked live pages
17079
+ * @param {string} objectUuid
17080
+ * @param {{ [key: string]: any | null; }} requestBody
17081
+ * @param {string} [locale]
17082
+ * @param {*} [options] Override http request option.
17083
+ * @throws {RequiredError}
17084
+ */
17085
+ public publishTemplate(objectUuid: string, requestBody: { [key: string]: any | null; }, locale?: string, options?: RawAxiosRequestConfig) {
17086
+ return CMSV2PagesApiFp(this.configuration).publishTemplate(objectUuid, requestBody, locale, options).then((request) => request(this.axios, this.basePath));
17087
+ }
17088
+
16806
17089
  /**
16807
17090
  *
16808
17091
  * @summary Restore a draft snapshot
@@ -18784,7 +19067,7 @@ export const CalendarsApiAxiosParamCreator = function (configuration?: Configura
18784
19067
  return {
18785
19068
  /**
18786
19069
  *
18787
- * @summary Ensure calendar schema, default calendar, and event backfill
19070
+ * @summary Ensure calendar schema and personal default; never assigns existing events
18788
19071
  * @param {*} [options] Override http request option.
18789
19072
  * @throws {RequiredError}
18790
19073
  */
@@ -18884,40 +19167,6 @@ export const CalendarsApiAxiosParamCreator = function (configuration?: Configura
18884
19167
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18885
19168
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18886
19169
 
18887
- return {
18888
- url: toPathString(localVarUrlObj),
18889
- options: localVarRequestOptions,
18890
- };
18891
- },
18892
- /**
18893
- *
18894
- * @summary List teams that can be linked to a calendar
18895
- * @param {*} [options] Override http request option.
18896
- * @throws {RequiredError}
18897
- */
18898
- listTeams: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18899
- const localVarPath = `/api/v2/calendars/teams`;
18900
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
18901
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18902
- let baseOptions;
18903
- if (configuration) {
18904
- baseOptions = configuration.baseOptions;
18905
- }
18906
-
18907
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18908
- const localVarHeaderParameter = {} as any;
18909
- const localVarQueryParameter = {} as any;
18910
-
18911
- // authentication bearerAuth required
18912
- // http bearer authentication required
18913
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
18914
-
18915
- localVarHeaderParameter['Accept'] = 'application/json';
18916
-
18917
- setSearchParams(localVarUrlObj, localVarQueryParameter);
18918
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18919
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18920
-
18921
19170
  return {
18922
19171
  url: toPathString(localVarUrlObj),
18923
19172
  options: localVarRequestOptions,
@@ -18934,7 +19183,7 @@ export const CalendarsApiFp = function(configuration?: Configuration) {
18934
19183
  return {
18935
19184
  /**
18936
19185
  *
18937
- * @summary Ensure calendar schema, default calendar, and event backfill
19186
+ * @summary Ensure calendar schema and personal default; never assigns existing events
18938
19187
  * @param {*} [options] Override http request option.
18939
19188
  * @throws {RequiredError}
18940
19189
  */
@@ -18969,18 +19218,6 @@ export const CalendarsApiFp = function(configuration?: Configuration) {
18969
19218
  const localVarOperationServerBasePath = operationServerMap['CalendarsApi.list3']?.[localVarOperationServerIndex]?.url;
18970
19219
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18971
19220
  },
18972
- /**
18973
- *
18974
- * @summary List teams that can be linked to a calendar
18975
- * @param {*} [options] Override http request option.
18976
- * @throws {RequiredError}
18977
- */
18978
- async listTeams(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseListCalendarTeamOptionDTO>> {
18979
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTeams(options);
18980
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18981
- const localVarOperationServerBasePath = operationServerMap['CalendarsApi.listTeams']?.[localVarOperationServerIndex]?.url;
18982
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18983
- },
18984
19221
  }
18985
19222
  };
18986
19223
 
@@ -18992,7 +19229,7 @@ export const CalendarsApiFactory = function (configuration?: Configuration, base
18992
19229
  return {
18993
19230
  /**
18994
19231
  *
18995
- * @summary Ensure calendar schema, default calendar, and event backfill
19232
+ * @summary Ensure calendar schema and personal default; never assigns existing events
18996
19233
  * @param {*} [options] Override http request option.
18997
19234
  * @throws {RequiredError}
18998
19235
  */
@@ -19018,15 +19255,6 @@ export const CalendarsApiFactory = function (configuration?: Configuration, base
19018
19255
  list3(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListCalendarRecordDTO> {
19019
19256
  return localVarFp.list3(options).then((request) => request(axios, basePath));
19020
19257
  },
19021
- /**
19022
- *
19023
- * @summary List teams that can be linked to a calendar
19024
- * @param {*} [options] Override http request option.
19025
- * @throws {RequiredError}
19026
- */
19027
- listTeams(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListCalendarTeamOptionDTO> {
19028
- return localVarFp.listTeams(options).then((request) => request(axios, basePath));
19029
- },
19030
19258
  };
19031
19259
  };
19032
19260
 
@@ -19036,7 +19264,7 @@ export const CalendarsApiFactory = function (configuration?: Configuration, base
19036
19264
  export class CalendarsApi extends BaseAPI {
19037
19265
  /**
19038
19266
  *
19039
- * @summary Ensure calendar schema, default calendar, and event backfill
19267
+ * @summary Ensure calendar schema and personal default; never assigns existing events
19040
19268
  * @param {*} [options] Override http request option.
19041
19269
  * @throws {RequiredError}
19042
19270
  */
@@ -19064,16 +19292,6 @@ export class CalendarsApi extends BaseAPI {
19064
19292
  public list3(options?: RawAxiosRequestConfig) {
19065
19293
  return CalendarsApiFp(this.configuration).list3(options).then((request) => request(this.axios, this.basePath));
19066
19294
  }
19067
-
19068
- /**
19069
- *
19070
- * @summary List teams that can be linked to a calendar
19071
- * @param {*} [options] Override http request option.
19072
- * @throws {RequiredError}
19073
- */
19074
- public listTeams(options?: RawAxiosRequestConfig) {
19075
- return CalendarsApiFp(this.configuration).listTeams(options).then((request) => request(this.axios, this.basePath));
19076
- }
19077
19295
  }
19078
19296
 
19079
19297
 
@@ -32392,10 +32610,11 @@ export const TraitsApiAxiosParamCreator = function (configuration?: Configuratio
32392
32610
  * @param {string} [partstat]
32393
32611
  * @param {string} [scope]
32394
32612
  * @param {string} [switchAccount]
32613
+ * @param {string} [token]
32395
32614
  * @param {*} [options] Override http request option.
32396
32615
  * @throws {RequiredError}
32397
32616
  */
32398
- rsvpBrowserGet: async (companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32617
+ rsvpBrowserGet: async (companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, token?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32399
32618
  // verify required parameter 'companyUuid' is not null or undefined
32400
32619
  assertParamExists('rsvpBrowserGet', 'companyUuid', companyUuid)
32401
32620
  // verify required parameter 'eventUuid' is not null or undefined
@@ -32433,6 +32652,10 @@ export const TraitsApiAxiosParamCreator = function (configuration?: Configuratio
32433
32652
  localVarQueryParameter['switchAccount'] = switchAccount;
32434
32653
  }
32435
32654
 
32655
+ if (token !== undefined) {
32656
+ localVarQueryParameter['token'] = token;
32657
+ }
32658
+
32436
32659
  localVarHeaderParameter['Accept'] = 'text/html,application/json';
32437
32660
 
32438
32661
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -32702,11 +32925,12 @@ export const TraitsApiFp = function(configuration?: Configuration) {
32702
32925
  * @param {string} [partstat]
32703
32926
  * @param {string} [scope]
32704
32927
  * @param {string} [switchAccount]
32928
+ * @param {string} [token]
32705
32929
  * @param {*} [options] Override http request option.
32706
32930
  * @throws {RequiredError}
32707
32931
  */
32708
- async rsvpBrowserGet(companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
32709
- const localVarAxiosArgs = await localVarAxiosParamCreator.rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options);
32932
+ async rsvpBrowserGet(companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, token?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
32933
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options);
32710
32934
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32711
32935
  const localVarOperationServerBasePath = operationServerMap['TraitsApi.rsvpBrowserGet']?.[localVarOperationServerIndex]?.url;
32712
32936
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -32826,11 +33050,12 @@ export const TraitsApiFactory = function (configuration?: Configuration, basePat
32826
33050
  * @param {string} [partstat]
32827
33051
  * @param {string} [scope]
32828
33052
  * @param {string} [switchAccount]
33053
+ * @param {string} [token]
32829
33054
  * @param {*} [options] Override http request option.
32830
33055
  * @throws {RequiredError}
32831
33056
  */
32832
- rsvpBrowserGet(companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
32833
- return localVarFp.rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options).then((request) => request(axios, basePath));
33057
+ rsvpBrowserGet(companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, token?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
33058
+ return localVarFp.rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options).then((request) => request(axios, basePath));
32834
33059
  },
32835
33060
  /**
32836
33061
  *
@@ -32940,11 +33165,12 @@ export class TraitsApi extends BaseAPI {
32940
33165
  * @param {string} [partstat]
32941
33166
  * @param {string} [scope]
32942
33167
  * @param {string} [switchAccount]
33168
+ * @param {string} [token]
32943
33169
  * @param {*} [options] Override http request option.
32944
33170
  * @throws {RequiredError}
32945
33171
  */
32946
- public rsvpBrowserGet(companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, options?: RawAxiosRequestConfig) {
32947
- return TraitsApiFp(this.configuration).rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options).then((request) => request(this.axios, this.basePath));
33172
+ public rsvpBrowserGet(companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, token?: string, options?: RawAxiosRequestConfig) {
33173
+ return TraitsApiFp(this.configuration).rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options).then((request) => request(this.axios, this.basePath));
32948
33174
  }
32949
33175
 
32950
33176
  /**