@caraer/client 2.0.703 → 2.0.706
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 +71 -100
- package/dist/api.d.ts +64 -62
- package/dist/api.js +18 -73
- package/dist/esm/api.d.ts +64 -62
- package/dist/esm/api.js +18 -73
- package/docs/CalendarRecordDTO.md +4 -0
- package/docs/CalendarsApi.md +1 -49
- package/docs/ConnectionState.md +20 -0
- package/docs/EventRsvpRequest.md +2 -0
- package/docs/ExistingWidgetSummary.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/Team.md +2 -2
- 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/esm/api.d.ts
CHANGED
|
@@ -1374,6 +1374,8 @@ export interface CalendarRecordDTO {
|
|
|
1374
1374
|
'ownerUuid'?: string;
|
|
1375
1375
|
'ownerName'?: string;
|
|
1376
1376
|
'ownedByCurrentUser'?: boolean;
|
|
1377
|
+
'canEdit'?: boolean;
|
|
1378
|
+
'shared'?: boolean;
|
|
1377
1379
|
'teamUuid'?: string;
|
|
1378
1380
|
'teamName'?: string;
|
|
1379
1381
|
'companyCalendar'?: boolean;
|
|
@@ -1386,11 +1388,6 @@ export interface CalendarTeamMemberDTO {
|
|
|
1386
1388
|
'objectName'?: string;
|
|
1387
1389
|
'hasUserTrait'?: boolean;
|
|
1388
1390
|
}
|
|
1389
|
-
export interface CalendarTeamOptionDTO {
|
|
1390
|
-
'uuid'?: string;
|
|
1391
|
-
'name'?: string;
|
|
1392
|
-
'members'?: Array<CalendarTeamMemberDTO>;
|
|
1393
|
-
}
|
|
1394
1391
|
export interface CaraerErrorType {
|
|
1395
1392
|
/**
|
|
1396
1393
|
* The error message providing details about the failure.
|
|
@@ -1819,6 +1816,9 @@ export interface CompanyDetailsDTO {
|
|
|
1819
1816
|
*/
|
|
1820
1817
|
'disclaimer'?: string;
|
|
1821
1818
|
}
|
|
1819
|
+
export interface ConnectionState {
|
|
1820
|
+
'connected'?: boolean;
|
|
1821
|
+
}
|
|
1822
1822
|
export interface CopyPropertiesToObjectRequest {
|
|
1823
1823
|
'propertyUuids'?: Array<string>;
|
|
1824
1824
|
}
|
|
@@ -2928,6 +2928,7 @@ export interface EventRsvpRequest {
|
|
|
2928
2928
|
* Series scope for recurring events. Defaults to this.
|
|
2929
2929
|
*/
|
|
2930
2930
|
'scope'?: EventRsvpRequestScopeEnum;
|
|
2931
|
+
'invitationToken'?: string;
|
|
2931
2932
|
}
|
|
2932
2933
|
export declare const EventRsvpRequestPartstatEnum: {
|
|
2933
2934
|
readonly NeedsAction: "needs_action";
|
|
@@ -2943,9 +2944,9 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2943
2944
|
};
|
|
2944
2945
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2945
2946
|
export interface ExistingWidgetSummary {
|
|
2947
|
+
'xproperty'?: string;
|
|
2946
2948
|
'ymetric'?: string;
|
|
2947
2949
|
'yproperty'?: string;
|
|
2948
|
-
'xproperty'?: string;
|
|
2949
2950
|
'title'?: string;
|
|
2950
2951
|
'chartType'?: string;
|
|
2951
2952
|
'xProperty'?: string;
|
|
@@ -3045,6 +3046,10 @@ export interface Filter {
|
|
|
3045
3046
|
* A collection of filter groups.
|
|
3046
3047
|
*/
|
|
3047
3048
|
'groups'?: Set<FilterGroup>;
|
|
3049
|
+
/**
|
|
3050
|
+
* 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.
|
|
3051
|
+
*/
|
|
3052
|
+
'eventParticipantUuids'?: Array<string>;
|
|
3048
3053
|
}
|
|
3049
3054
|
/**
|
|
3050
3055
|
* A DTO that defines a group of filter items used for record filtering.
|
|
@@ -3878,8 +3883,8 @@ export interface ModelRecord {
|
|
|
3878
3883
|
'updatedByUuid'?: string;
|
|
3879
3884
|
'deletedByUuid'?: string;
|
|
3880
3885
|
'index'?: number;
|
|
3881
|
-
'deleted'?: boolean;
|
|
3882
3886
|
'complete'?: boolean;
|
|
3887
|
+
'deleted'?: boolean;
|
|
3883
3888
|
'uuid': string;
|
|
3884
3889
|
'user'?: PublicUserDTO;
|
|
3885
3890
|
'properties'?: Array<FilledProperty>;
|
|
@@ -4066,6 +4071,11 @@ export interface ObjectReferenceDTO {
|
|
|
4066
4071
|
'defaultTrait'?: string;
|
|
4067
4072
|
'traits'?: Array<string>;
|
|
4068
4073
|
}
|
|
4074
|
+
export interface Outcome {
|
|
4075
|
+
'claimToken'?: string;
|
|
4076
|
+
'status'?: string;
|
|
4077
|
+
'message'?: string;
|
|
4078
|
+
}
|
|
4069
4079
|
/**
|
|
4070
4080
|
* Data transfer object representing a webpage content
|
|
4071
4081
|
*/
|
|
@@ -5626,6 +5636,10 @@ export interface RecordPaginationRequest {
|
|
|
5626
5636
|
* Relation to create when saving a record
|
|
5627
5637
|
*/
|
|
5628
5638
|
export interface RecordRelationRequestDTO {
|
|
5639
|
+
/**
|
|
5640
|
+
* When true, remove this existing UUID relation atomically with the record mutation. Nested records and property writes are not allowed.
|
|
5641
|
+
*/
|
|
5642
|
+
'remove'?: boolean;
|
|
5629
5643
|
/**
|
|
5630
5644
|
* Name of the relation type
|
|
5631
5645
|
*/
|
|
@@ -5869,6 +5883,9 @@ export interface ResetPasswordRequest {
|
|
|
5869
5883
|
'token'?: string;
|
|
5870
5884
|
'password'?: string;
|
|
5871
5885
|
}
|
|
5886
|
+
export interface ResolveRequest {
|
|
5887
|
+
'email'?: string;
|
|
5888
|
+
}
|
|
5872
5889
|
/**
|
|
5873
5890
|
* Represents the response returned when a restore operation is performed successfully.
|
|
5874
5891
|
*/
|
|
@@ -6217,6 +6234,10 @@ export interface SendNotificationRequest {
|
|
|
6217
6234
|
[key: string]: any | null;
|
|
6218
6235
|
};
|
|
6219
6236
|
}
|
|
6237
|
+
export interface SendRequest {
|
|
6238
|
+
'requestId'?: string;
|
|
6239
|
+
'scope'?: string;
|
|
6240
|
+
}
|
|
6220
6241
|
/**
|
|
6221
6242
|
* Data transfer object for a serverless function (runtime and code) owned by an app
|
|
6222
6243
|
*/
|
|
@@ -6298,8 +6319,8 @@ export interface SettingField {
|
|
|
6298
6319
|
'hidden'?: boolean;
|
|
6299
6320
|
'disabled'?: boolean;
|
|
6300
6321
|
'options'?: Array<SettingOption>;
|
|
6301
|
-
'defaultValue'?: any;
|
|
6302
6322
|
'value'?: any;
|
|
6323
|
+
'defaultValue'?: any;
|
|
6303
6324
|
}
|
|
6304
6325
|
export declare const SettingFieldTypeEnum: {
|
|
6305
6326
|
readonly String: "STRING";
|
|
@@ -6999,6 +7020,19 @@ export interface ShowResponseTraitDTO {
|
|
|
6999
7020
|
[key: string]: any;
|
|
7000
7021
|
};
|
|
7001
7022
|
}
|
|
7023
|
+
/**
|
|
7024
|
+
* Represents the response for viewing or showing a specific resource.
|
|
7025
|
+
*/
|
|
7026
|
+
export interface ShowResponseUserRecordResponseDTO {
|
|
7027
|
+
/**
|
|
7028
|
+
* A message detailing the result of the operation.
|
|
7029
|
+
*/
|
|
7030
|
+
'message'?: string;
|
|
7031
|
+
/**
|
|
7032
|
+
* The data payload of the response, if any.
|
|
7033
|
+
*/
|
|
7034
|
+
'data'?: UserRecordResponseDTO;
|
|
7035
|
+
}
|
|
7002
7036
|
/**
|
|
7003
7037
|
* Represents the response for viewing or showing a specific resource.
|
|
7004
7038
|
*/
|
|
@@ -7780,19 +7814,6 @@ export interface SuccessResponseListCalendarRecordDTO {
|
|
|
7780
7814
|
*/
|
|
7781
7815
|
'data'?: Array<CalendarRecordDTO>;
|
|
7782
7816
|
}
|
|
7783
|
-
/**
|
|
7784
|
-
* Represents a standard successful response with a message and optional data.
|
|
7785
|
-
*/
|
|
7786
|
-
export interface SuccessResponseListCalendarTeamOptionDTO {
|
|
7787
|
-
/**
|
|
7788
|
-
* A message detailing the result of the operation.
|
|
7789
|
-
*/
|
|
7790
|
-
'message'?: string;
|
|
7791
|
-
/**
|
|
7792
|
-
* The data payload of the response, if any.
|
|
7793
|
-
*/
|
|
7794
|
-
'data'?: Array<CalendarTeamOptionDTO>;
|
|
7795
|
-
}
|
|
7796
7817
|
/**
|
|
7797
7818
|
* Success response (SuccessResponseListCaraerObjectDTO).
|
|
7798
7819
|
*/
|
|
@@ -7945,13 +7966,17 @@ export interface SuccessResponseNavigationDTO {
|
|
|
7945
7966
|
'data'?: NavigationDTO;
|
|
7946
7967
|
}
|
|
7947
7968
|
/**
|
|
7948
|
-
*
|
|
7969
|
+
* Represents a standard successful response with a message and optional data.
|
|
7949
7970
|
*/
|
|
7950
7971
|
export interface SuccessResponseObject {
|
|
7972
|
+
/**
|
|
7973
|
+
* A message detailing the result of the operation.
|
|
7974
|
+
*/
|
|
7951
7975
|
'message'?: string;
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7976
|
+
/**
|
|
7977
|
+
* The data payload of the response, if any.
|
|
7978
|
+
*/
|
|
7979
|
+
'data'?: any;
|
|
7955
7980
|
}
|
|
7956
7981
|
/**
|
|
7957
7982
|
* Represents a standard successful response with a message and optional data.
|
|
@@ -8061,8 +8086,8 @@ export interface Team {
|
|
|
8061
8086
|
[key: string]: Filter;
|
|
8062
8087
|
};
|
|
8063
8088
|
'memberCount'?: number;
|
|
8064
|
-
'deleted'?: boolean;
|
|
8065
8089
|
'complete'?: boolean;
|
|
8090
|
+
'deleted'?: boolean;
|
|
8066
8091
|
'uuid': string;
|
|
8067
8092
|
}
|
|
8068
8093
|
export interface TeamDTO {
|
|
@@ -8529,6 +8554,7 @@ export interface ViewDTO {
|
|
|
8529
8554
|
'taskCollapsedGroupKeys'?: Array<string>;
|
|
8530
8555
|
'taskExpandedTaskUuids'?: Array<string>;
|
|
8531
8556
|
'calendarOverlay'?: string;
|
|
8557
|
+
'eventUserUuids'?: Array<string>;
|
|
8532
8558
|
'visibleCalendarUuids'?: Array<string>;
|
|
8533
8559
|
'selectedCalendarUuid'?: string;
|
|
8534
8560
|
'calendarColorBy'?: string;
|
|
@@ -13873,7 +13899,7 @@ export declare class CMSWebsiteUpdatesApi extends BaseAPI {
|
|
|
13873
13899
|
export declare const CalendarsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13874
13900
|
/**
|
|
13875
13901
|
*
|
|
13876
|
-
* @summary Ensure calendar schema
|
|
13902
|
+
* @summary Ensure calendar schema and personal default; never assigns existing events
|
|
13877
13903
|
* @param {*} [options] Override http request option.
|
|
13878
13904
|
* @throws {RequiredError}
|
|
13879
13905
|
*/
|
|
@@ -13893,13 +13919,6 @@ export declare const CalendarsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
13893
13919
|
* @throws {RequiredError}
|
|
13894
13920
|
*/
|
|
13895
13921
|
list3: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13896
|
-
/**
|
|
13897
|
-
*
|
|
13898
|
-
* @summary List teams that can be linked to a calendar
|
|
13899
|
-
* @param {*} [options] Override http request option.
|
|
13900
|
-
* @throws {RequiredError}
|
|
13901
|
-
*/
|
|
13902
|
-
listTeams: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13903
13922
|
};
|
|
13904
13923
|
/**
|
|
13905
13924
|
* CalendarsApi - functional programming interface
|
|
@@ -13907,7 +13926,7 @@ export declare const CalendarsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
13907
13926
|
export declare const CalendarsApiFp: (configuration?: Configuration) => {
|
|
13908
13927
|
/**
|
|
13909
13928
|
*
|
|
13910
|
-
* @summary Ensure calendar schema
|
|
13929
|
+
* @summary Ensure calendar schema and personal default; never assigns existing events
|
|
13911
13930
|
* @param {*} [options] Override http request option.
|
|
13912
13931
|
* @throws {RequiredError}
|
|
13913
13932
|
*/
|
|
@@ -13927,13 +13946,6 @@ export declare const CalendarsApiFp: (configuration?: Configuration) => {
|
|
|
13927
13946
|
* @throws {RequiredError}
|
|
13928
13947
|
*/
|
|
13929
13948
|
list3(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseListCalendarRecordDTO>>;
|
|
13930
|
-
/**
|
|
13931
|
-
*
|
|
13932
|
-
* @summary List teams that can be linked to a calendar
|
|
13933
|
-
* @param {*} [options] Override http request option.
|
|
13934
|
-
* @throws {RequiredError}
|
|
13935
|
-
*/
|
|
13936
|
-
listTeams(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseListCalendarTeamOptionDTO>>;
|
|
13937
13949
|
};
|
|
13938
13950
|
/**
|
|
13939
13951
|
* CalendarsApi - factory interface
|
|
@@ -13941,7 +13953,7 @@ export declare const CalendarsApiFp: (configuration?: Configuration) => {
|
|
|
13941
13953
|
export declare const CalendarsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13942
13954
|
/**
|
|
13943
13955
|
*
|
|
13944
|
-
* @summary Ensure calendar schema
|
|
13956
|
+
* @summary Ensure calendar schema and personal default; never assigns existing events
|
|
13945
13957
|
* @param {*} [options] Override http request option.
|
|
13946
13958
|
* @throws {RequiredError}
|
|
13947
13959
|
*/
|
|
@@ -13961,13 +13973,6 @@ export declare const CalendarsApiFactory: (configuration?: Configuration, basePa
|
|
|
13961
13973
|
* @throws {RequiredError}
|
|
13962
13974
|
*/
|
|
13963
13975
|
list3(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListCalendarRecordDTO>;
|
|
13964
|
-
/**
|
|
13965
|
-
*
|
|
13966
|
-
* @summary List teams that can be linked to a calendar
|
|
13967
|
-
* @param {*} [options] Override http request option.
|
|
13968
|
-
* @throws {RequiredError}
|
|
13969
|
-
*/
|
|
13970
|
-
listTeams(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListCalendarTeamOptionDTO>;
|
|
13971
13976
|
};
|
|
13972
13977
|
/**
|
|
13973
13978
|
* CalendarsApi - object-oriented interface
|
|
@@ -13975,7 +13980,7 @@ export declare const CalendarsApiFactory: (configuration?: Configuration, basePa
|
|
|
13975
13980
|
export declare class CalendarsApi extends BaseAPI {
|
|
13976
13981
|
/**
|
|
13977
13982
|
*
|
|
13978
|
-
* @summary Ensure calendar schema
|
|
13983
|
+
* @summary Ensure calendar schema and personal default; never assigns existing events
|
|
13979
13984
|
* @param {*} [options] Override http request option.
|
|
13980
13985
|
* @throws {RequiredError}
|
|
13981
13986
|
*/
|
|
@@ -13995,13 +14000,6 @@ export declare class CalendarsApi extends BaseAPI {
|
|
|
13995
14000
|
* @throws {RequiredError}
|
|
13996
14001
|
*/
|
|
13997
14002
|
list3(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseListCalendarRecordDTO, any, {}>>;
|
|
13998
|
-
/**
|
|
13999
|
-
*
|
|
14000
|
-
* @summary List teams that can be linked to a calendar
|
|
14001
|
-
* @param {*} [options] Override http request option.
|
|
14002
|
-
* @throws {RequiredError}
|
|
14003
|
-
*/
|
|
14004
|
-
listTeams(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseListCalendarTeamOptionDTO, any, {}>>;
|
|
14005
14003
|
}
|
|
14006
14004
|
/**
|
|
14007
14005
|
* CompanyApi - axios parameter creator
|
|
@@ -20127,10 +20125,11 @@ export declare const TraitsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
20127
20125
|
* @param {string} [partstat]
|
|
20128
20126
|
* @param {string} [scope]
|
|
20129
20127
|
* @param {string} [switchAccount]
|
|
20128
|
+
* @param {string} [token]
|
|
20130
20129
|
* @param {*} [options] Override http request option.
|
|
20131
20130
|
* @throws {RequiredError}
|
|
20132
20131
|
*/
|
|
20133
|
-
rsvpBrowserGet: (companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20132
|
+
rsvpBrowserGet: (companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, token?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20134
20133
|
/**
|
|
20135
20134
|
*
|
|
20136
20135
|
* @summary Email/password login for RSVP
|
|
@@ -20219,10 +20218,11 @@ export declare const TraitsApiFp: (configuration?: Configuration) => {
|
|
|
20219
20218
|
* @param {string} [partstat]
|
|
20220
20219
|
* @param {string} [scope]
|
|
20221
20220
|
* @param {string} [switchAccount]
|
|
20221
|
+
* @param {string} [token]
|
|
20222
20222
|
* @param {*} [options] Override http request option.
|
|
20223
20223
|
* @throws {RequiredError}
|
|
20224
20224
|
*/
|
|
20225
|
-
rsvpBrowserGet(companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
20225
|
+
rsvpBrowserGet(companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, token?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
20226
20226
|
/**
|
|
20227
20227
|
*
|
|
20228
20228
|
* @summary Email/password login for RSVP
|
|
@@ -20311,10 +20311,11 @@ export declare const TraitsApiFactory: (configuration?: Configuration, basePath?
|
|
|
20311
20311
|
* @param {string} [partstat]
|
|
20312
20312
|
* @param {string} [scope]
|
|
20313
20313
|
* @param {string} [switchAccount]
|
|
20314
|
+
* @param {string} [token]
|
|
20314
20315
|
* @param {*} [options] Override http request option.
|
|
20315
20316
|
* @throws {RequiredError}
|
|
20316
20317
|
*/
|
|
20317
|
-
rsvpBrowserGet(companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20318
|
+
rsvpBrowserGet(companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, token?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20318
20319
|
/**
|
|
20319
20320
|
*
|
|
20320
20321
|
* @summary Email/password login for RSVP
|
|
@@ -20403,10 +20404,11 @@ export declare class TraitsApi extends BaseAPI {
|
|
|
20403
20404
|
* @param {string} [partstat]
|
|
20404
20405
|
* @param {string} [scope]
|
|
20405
20406
|
* @param {string} [switchAccount]
|
|
20407
|
+
* @param {string} [token]
|
|
20406
20408
|
* @param {*} [options] Override http request option.
|
|
20407
20409
|
* @throws {RequiredError}
|
|
20408
20410
|
*/
|
|
20409
|
-
rsvpBrowserGet(companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
20411
|
+
rsvpBrowserGet(companyUuid: string, eventUuid: string, attendeeUuid: string, partstat?: string, scope?: string, switchAccount?: string, token?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
20410
20412
|
/**
|
|
20411
20413
|
*
|
|
20412
20414
|
* @summary Email/password login for RSVP
|
package/dist/esm/api.js
CHANGED
|
@@ -9715,7 +9715,7 @@ export const CalendarsApiAxiosParamCreator = function (configuration) {
|
|
|
9715
9715
|
return {
|
|
9716
9716
|
/**
|
|
9717
9717
|
*
|
|
9718
|
-
* @summary Ensure calendar schema
|
|
9718
|
+
* @summary Ensure calendar schema and personal default; never assigns existing events
|
|
9719
9719
|
* @param {*} [options] Override http request option.
|
|
9720
9720
|
* @throws {RequiredError}
|
|
9721
9721
|
*/
|
|
@@ -9805,35 +9805,6 @@ export const CalendarsApiAxiosParamCreator = function (configuration) {
|
|
|
9805
9805
|
options: localVarRequestOptions,
|
|
9806
9806
|
};
|
|
9807
9807
|
}),
|
|
9808
|
-
/**
|
|
9809
|
-
*
|
|
9810
|
-
* @summary List teams that can be linked to a calendar
|
|
9811
|
-
* @param {*} [options] Override http request option.
|
|
9812
|
-
* @throws {RequiredError}
|
|
9813
|
-
*/
|
|
9814
|
-
listTeams: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
9815
|
-
const localVarPath = `/api/v2/calendars/teams`;
|
|
9816
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9817
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9818
|
-
let baseOptions;
|
|
9819
|
-
if (configuration) {
|
|
9820
|
-
baseOptions = configuration.baseOptions;
|
|
9821
|
-
}
|
|
9822
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9823
|
-
const localVarHeaderParameter = {};
|
|
9824
|
-
const localVarQueryParameter = {};
|
|
9825
|
-
// authentication bearerAuth required
|
|
9826
|
-
// http bearer authentication required
|
|
9827
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9828
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
9829
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9830
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9831
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9832
|
-
return {
|
|
9833
|
-
url: toPathString(localVarUrlObj),
|
|
9834
|
-
options: localVarRequestOptions,
|
|
9835
|
-
};
|
|
9836
|
-
}),
|
|
9837
9808
|
};
|
|
9838
9809
|
};
|
|
9839
9810
|
/**
|
|
@@ -9844,7 +9815,7 @@ export const CalendarsApiFp = function (configuration) {
|
|
|
9844
9815
|
return {
|
|
9845
9816
|
/**
|
|
9846
9817
|
*
|
|
9847
|
-
* @summary Ensure calendar schema
|
|
9818
|
+
* @summary Ensure calendar schema and personal default; never assigns existing events
|
|
9848
9819
|
* @param {*} [options] Override http request option.
|
|
9849
9820
|
* @throws {RequiredError}
|
|
9850
9821
|
*/
|
|
@@ -9888,21 +9859,6 @@ export const CalendarsApiFp = function (configuration) {
|
|
|
9888
9859
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9889
9860
|
});
|
|
9890
9861
|
},
|
|
9891
|
-
/**
|
|
9892
|
-
*
|
|
9893
|
-
* @summary List teams that can be linked to a calendar
|
|
9894
|
-
* @param {*} [options] Override http request option.
|
|
9895
|
-
* @throws {RequiredError}
|
|
9896
|
-
*/
|
|
9897
|
-
listTeams(options) {
|
|
9898
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9899
|
-
var _a, _b, _c;
|
|
9900
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTeams(options);
|
|
9901
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9902
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarsApi.listTeams']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9903
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9904
|
-
});
|
|
9905
|
-
},
|
|
9906
9862
|
};
|
|
9907
9863
|
};
|
|
9908
9864
|
/**
|
|
@@ -9913,7 +9869,7 @@ export const CalendarsApiFactory = function (configuration, basePath, axios) {
|
|
|
9913
9869
|
return {
|
|
9914
9870
|
/**
|
|
9915
9871
|
*
|
|
9916
|
-
* @summary Ensure calendar schema
|
|
9872
|
+
* @summary Ensure calendar schema and personal default; never assigns existing events
|
|
9917
9873
|
* @param {*} [options] Override http request option.
|
|
9918
9874
|
* @throws {RequiredError}
|
|
9919
9875
|
*/
|
|
@@ -9939,15 +9895,6 @@ export const CalendarsApiFactory = function (configuration, basePath, axios) {
|
|
|
9939
9895
|
list3(options) {
|
|
9940
9896
|
return localVarFp.list3(options).then((request) => request(axios, basePath));
|
|
9941
9897
|
},
|
|
9942
|
-
/**
|
|
9943
|
-
*
|
|
9944
|
-
* @summary List teams that can be linked to a calendar
|
|
9945
|
-
* @param {*} [options] Override http request option.
|
|
9946
|
-
* @throws {RequiredError}
|
|
9947
|
-
*/
|
|
9948
|
-
listTeams(options) {
|
|
9949
|
-
return localVarFp.listTeams(options).then((request) => request(axios, basePath));
|
|
9950
|
-
},
|
|
9951
9898
|
};
|
|
9952
9899
|
};
|
|
9953
9900
|
/**
|
|
@@ -9956,7 +9903,7 @@ export const CalendarsApiFactory = function (configuration, basePath, axios) {
|
|
|
9956
9903
|
export class CalendarsApi extends BaseAPI {
|
|
9957
9904
|
/**
|
|
9958
9905
|
*
|
|
9959
|
-
* @summary Ensure calendar schema
|
|
9906
|
+
* @summary Ensure calendar schema and personal default; never assigns existing events
|
|
9960
9907
|
* @param {*} [options] Override http request option.
|
|
9961
9908
|
* @throws {RequiredError}
|
|
9962
9909
|
*/
|
|
@@ -9982,15 +9929,6 @@ export class CalendarsApi extends BaseAPI {
|
|
|
9982
9929
|
list3(options) {
|
|
9983
9930
|
return CalendarsApiFp(this.configuration).list3(options).then((request) => request(this.axios, this.basePath));
|
|
9984
9931
|
}
|
|
9985
|
-
/**
|
|
9986
|
-
*
|
|
9987
|
-
* @summary List teams that can be linked to a calendar
|
|
9988
|
-
* @param {*} [options] Override http request option.
|
|
9989
|
-
* @throws {RequiredError}
|
|
9990
|
-
*/
|
|
9991
|
-
listTeams(options) {
|
|
9992
|
-
return CalendarsApiFp(this.configuration).listTeams(options).then((request) => request(this.axios, this.basePath));
|
|
9993
|
-
}
|
|
9994
9932
|
}
|
|
9995
9933
|
/**
|
|
9996
9934
|
* CompanyApi - axios parameter creator
|
|
@@ -22639,10 +22577,11 @@ export const TraitsApiAxiosParamCreator = function (configuration) {
|
|
|
22639
22577
|
* @param {string} [partstat]
|
|
22640
22578
|
* @param {string} [scope]
|
|
22641
22579
|
* @param {string} [switchAccount]
|
|
22580
|
+
* @param {string} [token]
|
|
22642
22581
|
* @param {*} [options] Override http request option.
|
|
22643
22582
|
* @throws {RequiredError}
|
|
22644
22583
|
*/
|
|
22645
|
-
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 = {}) {
|
|
22646
22585
|
// verify required parameter 'companyUuid' is not null or undefined
|
|
22647
22586
|
assertParamExists('rsvpBrowserGet', 'companyUuid', companyUuid);
|
|
22648
22587
|
// verify required parameter 'eventUuid' is not null or undefined
|
|
@@ -22674,6 +22613,9 @@ export const TraitsApiAxiosParamCreator = function (configuration) {
|
|
|
22674
22613
|
if (switchAccount !== undefined) {
|
|
22675
22614
|
localVarQueryParameter['switchAccount'] = switchAccount;
|
|
22676
22615
|
}
|
|
22616
|
+
if (token !== undefined) {
|
|
22617
|
+
localVarQueryParameter['token'] = token;
|
|
22618
|
+
}
|
|
22677
22619
|
localVarHeaderParameter['Accept'] = 'text/html,application/json';
|
|
22678
22620
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22679
22621
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -22931,13 +22873,14 @@ export const TraitsApiFp = function (configuration) {
|
|
|
22931
22873
|
* @param {string} [partstat]
|
|
22932
22874
|
* @param {string} [scope]
|
|
22933
22875
|
* @param {string} [switchAccount]
|
|
22876
|
+
* @param {string} [token]
|
|
22934
22877
|
* @param {*} [options] Override http request option.
|
|
22935
22878
|
* @throws {RequiredError}
|
|
22936
22879
|
*/
|
|
22937
|
-
rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options) {
|
|
22880
|
+
rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, token, options) {
|
|
22938
22881
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22939
22882
|
var _a, _b, _c;
|
|
22940
|
-
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);
|
|
22941
22884
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22942
22885
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TraitsApi.rsvpBrowserGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22943
22886
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -23066,11 +23009,12 @@ export const TraitsApiFactory = function (configuration, basePath, axios) {
|
|
|
23066
23009
|
* @param {string} [partstat]
|
|
23067
23010
|
* @param {string} [scope]
|
|
23068
23011
|
* @param {string} [switchAccount]
|
|
23012
|
+
* @param {string} [token]
|
|
23069
23013
|
* @param {*} [options] Override http request option.
|
|
23070
23014
|
* @throws {RequiredError}
|
|
23071
23015
|
*/
|
|
23072
|
-
rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options) {
|
|
23073
|
-
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));
|
|
23074
23018
|
},
|
|
23075
23019
|
/**
|
|
23076
23020
|
*
|
|
@@ -23175,11 +23119,12 @@ export class TraitsApi extends BaseAPI {
|
|
|
23175
23119
|
* @param {string} [partstat]
|
|
23176
23120
|
* @param {string} [scope]
|
|
23177
23121
|
* @param {string} [switchAccount]
|
|
23122
|
+
* @param {string} [token]
|
|
23178
23123
|
* @param {*} [options] Override http request option.
|
|
23179
23124
|
* @throws {RequiredError}
|
|
23180
23125
|
*/
|
|
23181
|
-
rsvpBrowserGet(companyUuid, eventUuid, attendeeUuid, partstat, scope, switchAccount, options) {
|
|
23182
|
-
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));
|
|
23183
23128
|
}
|
|
23184
23129
|
/**
|
|
23185
23130
|
*
|
|
@@ -14,6 +14,8 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**ownerUuid** | **string** | | [optional] [default to undefined]
|
|
15
15
|
**ownerName** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**ownedByCurrentUser** | **boolean** | | [optional] [default to undefined]
|
|
17
|
+
**canEdit** | **boolean** | | [optional] [default to undefined]
|
|
18
|
+
**shared** | **boolean** | | [optional] [default to undefined]
|
|
17
19
|
**teamUuid** | **string** | | [optional] [default to undefined]
|
|
18
20
|
**teamName** | **string** | | [optional] [default to undefined]
|
|
19
21
|
**companyCalendar** | **boolean** | | [optional] [default to undefined]
|
|
@@ -35,6 +37,8 @@ const instance: CalendarRecordDTO = {
|
|
|
35
37
|
ownerUuid,
|
|
36
38
|
ownerName,
|
|
37
39
|
ownedByCurrentUser,
|
|
40
|
+
canEdit,
|
|
41
|
+
shared,
|
|
38
42
|
teamUuid,
|
|
39
43
|
teamName,
|
|
40
44
|
companyCalendar,
|
package/docs/CalendarsApi.md
CHANGED
|
@@ -4,10 +4,9 @@ All URIs are relative to *https://v2.api.caraer.com*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**bootstrap**](#bootstrap) | **POST** /api/v2/calendars/bootstrap | Ensure calendar schema
|
|
7
|
+
|[**bootstrap**](#bootstrap) | **POST** /api/v2/calendars/bootstrap | Ensure calendar schema and personal default; never assigns existing events|
|
|
8
8
|
|[**create4**](#create4) | **POST** /api/v2/calendars | Create a calendar owned by the current user|
|
|
9
9
|
|[**list3**](#list3) | **GET** /api/v2/calendars | List calendars visible to the current company|
|
|
10
|
-
|[**listTeams**](#listteams) | **GET** /api/v2/calendars/teams | List teams that can be linked to a calendar|
|
|
11
10
|
|
|
12
11
|
# **bootstrap**
|
|
13
12
|
> SuccessResponseCalendarBootstrapDTO bootstrap()
|
|
@@ -160,50 +159,3 @@ This endpoint does not have any parameters.
|
|
|
160
159
|
|
|
161
160
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
162
161
|
|
|
163
|
-
# **listTeams**
|
|
164
|
-
> SuccessResponseListCalendarTeamOptionDTO listTeams()
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
### Example
|
|
168
|
-
|
|
169
|
-
```typescript
|
|
170
|
-
import {
|
|
171
|
-
CalendarsApi,
|
|
172
|
-
Configuration
|
|
173
|
-
} from '@caraer/client';
|
|
174
|
-
|
|
175
|
-
const configuration = new Configuration();
|
|
176
|
-
const apiInstance = new CalendarsApi(configuration);
|
|
177
|
-
|
|
178
|
-
const { status, data } = await apiInstance.listTeams();
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
### Parameters
|
|
182
|
-
This endpoint does not have any parameters.
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
### Return type
|
|
186
|
-
|
|
187
|
-
**SuccessResponseListCalendarTeamOptionDTO**
|
|
188
|
-
|
|
189
|
-
### Authorization
|
|
190
|
-
|
|
191
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
192
|
-
|
|
193
|
-
### HTTP request headers
|
|
194
|
-
|
|
195
|
-
- **Content-Type**: Not defined
|
|
196
|
-
- **Accept**: application/json
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
### HTTP response details
|
|
200
|
-
| Status code | Description | Response headers |
|
|
201
|
-
|-------------|-------------|------------------|
|
|
202
|
-
|**200** | OK | - |
|
|
203
|
-
|**401** | Authentication is required or the token is invalid. | - |
|
|
204
|
-
|**403** | The caller is missing a required role or scope. | - |
|
|
205
|
-
|**404** | The requested resource was not found. | - |
|
|
206
|
-
|**500** | An internal server error occurred. | - |
|
|
207
|
-
|
|
208
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
209
|
-
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# ConnectionState
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**connected** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ConnectionState } from '@caraer/client';
|
|
14
|
+
|
|
15
|
+
const instance: ConnectionState = {
|
|
16
|
+
connected,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/EventRsvpRequest.md
CHANGED
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**partstat** | **string** | Participation status on the attendees edge | [default to undefined]
|
|
9
9
|
**scope** | **string** | Series scope for recurring events. Defaults to this. | [optional] [default to undefined]
|
|
10
|
+
**invitationToken** | **string** | | [optional] [default to undefined]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,6 +17,7 @@ import { EventRsvpRequest } from '@caraer/client';
|
|
|
16
17
|
const instance: EventRsvpRequest = {
|
|
17
18
|
partstat,
|
|
18
19
|
scope,
|
|
20
|
+
invitationToken,
|
|
19
21
|
};
|
|
20
22
|
```
|
|
21
23
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**xproperty** | **string** | | [optional] [default to undefined]
|
|
8
9
|
**ymetric** | **string** | | [optional] [default to undefined]
|
|
9
10
|
**yproperty** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**xproperty** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**title** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**chartType** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**xProperty** | **string** | | [optional] [default to undefined]
|
|
@@ -20,9 +20,9 @@ Name | Type | Description | Notes
|
|
|
20
20
|
import { ExistingWidgetSummary } from '@caraer/client';
|
|
21
21
|
|
|
22
22
|
const instance: ExistingWidgetSummary = {
|
|
23
|
+
xproperty,
|
|
23
24
|
ymetric,
|
|
24
25
|
yproperty,
|
|
25
|
-
xproperty,
|
|
26
26
|
title,
|
|
27
27
|
chartType,
|
|
28
28
|
xProperty,
|