@caraer/client 2.0.485 → 2.0.487
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 +10 -0
- package/api.ts +411 -14
- package/dist/api.d.ts +240 -8
- package/dist/api.js +301 -13
- package/dist/esm/api.d.ts +240 -8
- package/dist/esm/api.js +294 -10
- package/docs/CalendarBootstrapDTO.md +28 -0
- package/docs/CalendarCreateRequest.md +26 -0
- package/docs/CalendarRecordDTO.md +46 -0
- package/docs/CalendarTeamMemberDTO.md +26 -0
- package/docs/CalendarTeamOptionDTO.md +24 -0
- package/docs/CalendarsApi.md +209 -0
- package/docs/CreateResponseCalendarRecordDTO.md +23 -0
- package/docs/ExistingWidgetSummary.md +4 -4
- package/docs/Record.md +2 -2
- package/docs/ServerlessFunctionsApi.md +4 -4
- package/docs/SettingField.md +2 -2
- package/docs/SuccessResponseCalendarBootstrapDTO.md +23 -0
- package/docs/SuccessResponseListCalendarRecordDTO.md +23 -0
- package/docs/SuccessResponseListCalendarTeamOptionDTO.md +23 -0
- package/docs/ViewDTO.md +8 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1198,6 +1198,46 @@ export declare const CRUDSessionTypeEnum: {
|
|
|
1198
1198
|
readonly User: "USER";
|
|
1199
1199
|
};
|
|
1200
1200
|
export type CRUDSessionTypeEnum = typeof CRUDSessionTypeEnum[keyof typeof CRUDSessionTypeEnum];
|
|
1201
|
+
export interface CalendarBootstrapDTO {
|
|
1202
|
+
'defaultCalendar'?: CalendarRecordDTO;
|
|
1203
|
+
'calendars'?: Array<CalendarRecordDTO>;
|
|
1204
|
+
'backfilled'?: number;
|
|
1205
|
+
'teamCalendarsCreated'?: number;
|
|
1206
|
+
'companyCalendarCreated'?: boolean;
|
|
1207
|
+
}
|
|
1208
|
+
export interface CalendarCreateRequest {
|
|
1209
|
+
'title'?: string;
|
|
1210
|
+
'color'?: string;
|
|
1211
|
+
'teamUuid'?: string;
|
|
1212
|
+
'company'?: boolean;
|
|
1213
|
+
}
|
|
1214
|
+
export interface CalendarRecordDTO {
|
|
1215
|
+
'default'?: boolean;
|
|
1216
|
+
'uuid'?: string;
|
|
1217
|
+
'title'?: string;
|
|
1218
|
+
'color'?: string;
|
|
1219
|
+
'colorHex'?: string;
|
|
1220
|
+
'isDefault'?: boolean;
|
|
1221
|
+
'ownerUuid'?: string;
|
|
1222
|
+
'ownerName'?: string;
|
|
1223
|
+
'ownedByCurrentUser'?: boolean;
|
|
1224
|
+
'teamUuid'?: string;
|
|
1225
|
+
'teamName'?: string;
|
|
1226
|
+
'companyCalendar'?: boolean;
|
|
1227
|
+
'companyName'?: string;
|
|
1228
|
+
'members'?: Array<CalendarTeamMemberDTO>;
|
|
1229
|
+
}
|
|
1230
|
+
export interface CalendarTeamMemberDTO {
|
|
1231
|
+
'uuid'?: string;
|
|
1232
|
+
'label'?: string;
|
|
1233
|
+
'objectName'?: string;
|
|
1234
|
+
'hasUserTrait'?: boolean;
|
|
1235
|
+
}
|
|
1236
|
+
export interface CalendarTeamOptionDTO {
|
|
1237
|
+
'uuid'?: string;
|
|
1238
|
+
'name'?: string;
|
|
1239
|
+
'members'?: Array<CalendarTeamMemberDTO>;
|
|
1240
|
+
}
|
|
1201
1241
|
export interface CaraerErrorType {
|
|
1202
1242
|
/**
|
|
1203
1243
|
* The error message providing details about the failure.
|
|
@@ -1680,6 +1720,19 @@ export interface CreateResponseAppScheduleDTO {
|
|
|
1680
1720
|
*/
|
|
1681
1721
|
'data'?: AppScheduleDTO;
|
|
1682
1722
|
}
|
|
1723
|
+
/**
|
|
1724
|
+
* Response for a successful resource creation operation.
|
|
1725
|
+
*/
|
|
1726
|
+
export interface CreateResponseCalendarRecordDTO {
|
|
1727
|
+
/**
|
|
1728
|
+
* A message detailing the result of the operation.
|
|
1729
|
+
*/
|
|
1730
|
+
'message'?: string;
|
|
1731
|
+
/**
|
|
1732
|
+
* The data payload of the response, if any.
|
|
1733
|
+
*/
|
|
1734
|
+
'data'?: CalendarRecordDTO;
|
|
1735
|
+
}
|
|
1683
1736
|
/**
|
|
1684
1737
|
* Response for a successful resource creation operation.
|
|
1685
1738
|
*/
|
|
@@ -2189,9 +2242,9 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2189
2242
|
};
|
|
2190
2243
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2191
2244
|
export interface ExistingWidgetSummary {
|
|
2192
|
-
'ymetric'?: string;
|
|
2193
|
-
'yproperty'?: string;
|
|
2194
2245
|
'xproperty'?: string;
|
|
2246
|
+
'yproperty'?: string;
|
|
2247
|
+
'ymetric'?: string;
|
|
2195
2248
|
'title'?: string;
|
|
2196
2249
|
'chartType'?: string;
|
|
2197
2250
|
'xProperty'?: string;
|
|
@@ -3014,11 +3067,11 @@ export interface ModelRecord {
|
|
|
3014
3067
|
'deleted'?: boolean;
|
|
3015
3068
|
'complete'?: boolean;
|
|
3016
3069
|
'uuid': string;
|
|
3070
|
+
'user'?: PublicUserDTO;
|
|
3017
3071
|
'properties'?: Array<FilledProperty>;
|
|
3018
3072
|
'objects'?: {
|
|
3019
3073
|
[key: string]: any | null;
|
|
3020
3074
|
};
|
|
3021
|
-
'user'?: PublicUserDTO;
|
|
3022
3075
|
}
|
|
3023
3076
|
export interface MultiLine extends PropertyFormat {
|
|
3024
3077
|
}
|
|
@@ -5220,8 +5273,8 @@ export interface SettingField {
|
|
|
5220
5273
|
'hidden'?: boolean;
|
|
5221
5274
|
'disabled'?: boolean;
|
|
5222
5275
|
'options'?: Array<SettingOption>;
|
|
5223
|
-
'value'?: any;
|
|
5224
5276
|
'defaultValue'?: any;
|
|
5277
|
+
'value'?: any;
|
|
5225
5278
|
}
|
|
5226
5279
|
export declare const SettingFieldTypeEnum: {
|
|
5227
5280
|
readonly String: "STRING";
|
|
@@ -6283,6 +6336,19 @@ export interface SuccessResponseAggregateResponse {
|
|
|
6283
6336
|
[key: string]: any;
|
|
6284
6337
|
};
|
|
6285
6338
|
}
|
|
6339
|
+
/**
|
|
6340
|
+
* Represents a standard successful response with a message and optional data.
|
|
6341
|
+
*/
|
|
6342
|
+
export interface SuccessResponseCalendarBootstrapDTO {
|
|
6343
|
+
/**
|
|
6344
|
+
* A message detailing the result of the operation.
|
|
6345
|
+
*/
|
|
6346
|
+
'message'?: string;
|
|
6347
|
+
/**
|
|
6348
|
+
* The data payload of the response, if any.
|
|
6349
|
+
*/
|
|
6350
|
+
'data'?: CalendarBootstrapDTO;
|
|
6351
|
+
}
|
|
6286
6352
|
/**
|
|
6287
6353
|
* Success response (SuccessResponseCollectionRelation).
|
|
6288
6354
|
*/
|
|
@@ -6371,6 +6437,32 @@ export interface SuccessResponseListAppScheduleDTO {
|
|
|
6371
6437
|
*/
|
|
6372
6438
|
'data'?: Array<AppScheduleDTO>;
|
|
6373
6439
|
}
|
|
6440
|
+
/**
|
|
6441
|
+
* Represents a standard successful response with a message and optional data.
|
|
6442
|
+
*/
|
|
6443
|
+
export interface SuccessResponseListCalendarRecordDTO {
|
|
6444
|
+
/**
|
|
6445
|
+
* A message detailing the result of the operation.
|
|
6446
|
+
*/
|
|
6447
|
+
'message'?: string;
|
|
6448
|
+
/**
|
|
6449
|
+
* The data payload of the response, if any.
|
|
6450
|
+
*/
|
|
6451
|
+
'data'?: Array<CalendarRecordDTO>;
|
|
6452
|
+
}
|
|
6453
|
+
/**
|
|
6454
|
+
* Represents a standard successful response with a message and optional data.
|
|
6455
|
+
*/
|
|
6456
|
+
export interface SuccessResponseListCalendarTeamOptionDTO {
|
|
6457
|
+
/**
|
|
6458
|
+
* A message detailing the result of the operation.
|
|
6459
|
+
*/
|
|
6460
|
+
'message'?: string;
|
|
6461
|
+
/**
|
|
6462
|
+
* The data payload of the response, if any.
|
|
6463
|
+
*/
|
|
6464
|
+
'data'?: Array<CalendarTeamOptionDTO>;
|
|
6465
|
+
}
|
|
6374
6466
|
/**
|
|
6375
6467
|
* Success response (SuccessResponseListCaraerObjectDTO).
|
|
6376
6468
|
*/
|
|
@@ -7032,6 +7124,10 @@ export interface ViewDTO {
|
|
|
7032
7124
|
'taskExpandSubtasks'?: boolean;
|
|
7033
7125
|
'taskCollapsedGroupKeys'?: Array<string>;
|
|
7034
7126
|
'taskExpandedTaskUuids'?: Array<string>;
|
|
7127
|
+
'calendarOverlay'?: string;
|
|
7128
|
+
'visibleCalendarUuids'?: Array<string>;
|
|
7129
|
+
'selectedCalendarUuid'?: string;
|
|
7130
|
+
'calendarColorBy'?: string;
|
|
7035
7131
|
'defaultView'?: boolean;
|
|
7036
7132
|
'isInternallyPublic'?: boolean;
|
|
7037
7133
|
'analytics'?: AnalyticsDashboardConfig;
|
|
@@ -9566,6 +9662,142 @@ export declare class BillingApi extends BaseAPI {
|
|
|
9566
9662
|
*/
|
|
9567
9663
|
sendSetupEmail(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringBoolean, any, {}>>;
|
|
9568
9664
|
}
|
|
9665
|
+
/**
|
|
9666
|
+
* CalendarsApi - axios parameter creator
|
|
9667
|
+
*/
|
|
9668
|
+
export declare const CalendarsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
9669
|
+
/**
|
|
9670
|
+
*
|
|
9671
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
9672
|
+
* @param {*} [options] Override http request option.
|
|
9673
|
+
* @throws {RequiredError}
|
|
9674
|
+
*/
|
|
9675
|
+
bootstrap: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9676
|
+
/**
|
|
9677
|
+
*
|
|
9678
|
+
* @summary Create a calendar owned by the current user
|
|
9679
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
9680
|
+
* @param {*} [options] Override http request option.
|
|
9681
|
+
* @throws {RequiredError}
|
|
9682
|
+
*/
|
|
9683
|
+
create3: (calendarCreateRequest: CalendarCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9684
|
+
/**
|
|
9685
|
+
*
|
|
9686
|
+
* @summary List calendars visible to the current company
|
|
9687
|
+
* @param {*} [options] Override http request option.
|
|
9688
|
+
* @throws {RequiredError}
|
|
9689
|
+
*/
|
|
9690
|
+
list1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9691
|
+
/**
|
|
9692
|
+
*
|
|
9693
|
+
* @summary List teams that can be linked to a calendar
|
|
9694
|
+
* @param {*} [options] Override http request option.
|
|
9695
|
+
* @throws {RequiredError}
|
|
9696
|
+
*/
|
|
9697
|
+
listTeams: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9698
|
+
};
|
|
9699
|
+
/**
|
|
9700
|
+
* CalendarsApi - functional programming interface
|
|
9701
|
+
*/
|
|
9702
|
+
export declare const CalendarsApiFp: (configuration?: Configuration) => {
|
|
9703
|
+
/**
|
|
9704
|
+
*
|
|
9705
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
9706
|
+
* @param {*} [options] Override http request option.
|
|
9707
|
+
* @throws {RequiredError}
|
|
9708
|
+
*/
|
|
9709
|
+
bootstrap(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseCalendarBootstrapDTO>>;
|
|
9710
|
+
/**
|
|
9711
|
+
*
|
|
9712
|
+
* @summary Create a calendar owned by the current user
|
|
9713
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
9714
|
+
* @param {*} [options] Override http request option.
|
|
9715
|
+
* @throws {RequiredError}
|
|
9716
|
+
*/
|
|
9717
|
+
create3(calendarCreateRequest: CalendarCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateResponseCalendarRecordDTO>>;
|
|
9718
|
+
/**
|
|
9719
|
+
*
|
|
9720
|
+
* @summary List calendars visible to the current company
|
|
9721
|
+
* @param {*} [options] Override http request option.
|
|
9722
|
+
* @throws {RequiredError}
|
|
9723
|
+
*/
|
|
9724
|
+
list1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseListCalendarRecordDTO>>;
|
|
9725
|
+
/**
|
|
9726
|
+
*
|
|
9727
|
+
* @summary List teams that can be linked to a calendar
|
|
9728
|
+
* @param {*} [options] Override http request option.
|
|
9729
|
+
* @throws {RequiredError}
|
|
9730
|
+
*/
|
|
9731
|
+
listTeams(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseListCalendarTeamOptionDTO>>;
|
|
9732
|
+
};
|
|
9733
|
+
/**
|
|
9734
|
+
* CalendarsApi - factory interface
|
|
9735
|
+
*/
|
|
9736
|
+
export declare const CalendarsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
9737
|
+
/**
|
|
9738
|
+
*
|
|
9739
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
9740
|
+
* @param {*} [options] Override http request option.
|
|
9741
|
+
* @throws {RequiredError}
|
|
9742
|
+
*/
|
|
9743
|
+
bootstrap(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseCalendarBootstrapDTO>;
|
|
9744
|
+
/**
|
|
9745
|
+
*
|
|
9746
|
+
* @summary Create a calendar owned by the current user
|
|
9747
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
9748
|
+
* @param {*} [options] Override http request option.
|
|
9749
|
+
* @throws {RequiredError}
|
|
9750
|
+
*/
|
|
9751
|
+
create3(calendarCreateRequest: CalendarCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateResponseCalendarRecordDTO>;
|
|
9752
|
+
/**
|
|
9753
|
+
*
|
|
9754
|
+
* @summary List calendars visible to the current company
|
|
9755
|
+
* @param {*} [options] Override http request option.
|
|
9756
|
+
* @throws {RequiredError}
|
|
9757
|
+
*/
|
|
9758
|
+
list1(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListCalendarRecordDTO>;
|
|
9759
|
+
/**
|
|
9760
|
+
*
|
|
9761
|
+
* @summary List teams that can be linked to a calendar
|
|
9762
|
+
* @param {*} [options] Override http request option.
|
|
9763
|
+
* @throws {RequiredError}
|
|
9764
|
+
*/
|
|
9765
|
+
listTeams(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListCalendarTeamOptionDTO>;
|
|
9766
|
+
};
|
|
9767
|
+
/**
|
|
9768
|
+
* CalendarsApi - object-oriented interface
|
|
9769
|
+
*/
|
|
9770
|
+
export declare class CalendarsApi extends BaseAPI {
|
|
9771
|
+
/**
|
|
9772
|
+
*
|
|
9773
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
9774
|
+
* @param {*} [options] Override http request option.
|
|
9775
|
+
* @throws {RequiredError}
|
|
9776
|
+
*/
|
|
9777
|
+
bootstrap(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseCalendarBootstrapDTO, any, {}>>;
|
|
9778
|
+
/**
|
|
9779
|
+
*
|
|
9780
|
+
* @summary Create a calendar owned by the current user
|
|
9781
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
9782
|
+
* @param {*} [options] Override http request option.
|
|
9783
|
+
* @throws {RequiredError}
|
|
9784
|
+
*/
|
|
9785
|
+
create3(calendarCreateRequest: CalendarCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateResponseCalendarRecordDTO, any, {}>>;
|
|
9786
|
+
/**
|
|
9787
|
+
*
|
|
9788
|
+
* @summary List calendars visible to the current company
|
|
9789
|
+
* @param {*} [options] Override http request option.
|
|
9790
|
+
* @throws {RequiredError}
|
|
9791
|
+
*/
|
|
9792
|
+
list1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseListCalendarRecordDTO, any, {}>>;
|
|
9793
|
+
/**
|
|
9794
|
+
*
|
|
9795
|
+
* @summary List teams that can be linked to a calendar
|
|
9796
|
+
* @param {*} [options] Override http request option.
|
|
9797
|
+
* @throws {RequiredError}
|
|
9798
|
+
*/
|
|
9799
|
+
listTeams(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseListCalendarTeamOptionDTO, any, {}>>;
|
|
9800
|
+
}
|
|
9569
9801
|
/**
|
|
9570
9802
|
* CompanyApi - axios parameter creator
|
|
9571
9803
|
*/
|
|
@@ -14648,7 +14880,7 @@ export declare const ServerlessFunctionsApiAxiosParamCreator: (configuration?: C
|
|
|
14648
14880
|
* @param {*} [options] Override http request option.
|
|
14649
14881
|
* @throws {RequiredError}
|
|
14650
14882
|
*/
|
|
14651
|
-
|
|
14883
|
+
create4: (appUuid: string, serverlessFunctionDTO: ServerlessFunctionDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14652
14884
|
/**
|
|
14653
14885
|
* Tears down the GCP Cloud Function (if provisioned) and deletes the serverless function entity.
|
|
14654
14886
|
* @summary Delete a serverless function
|
|
@@ -14729,7 +14961,7 @@ export declare const ServerlessFunctionsApiFp: (configuration?: Configuration) =
|
|
|
14729
14961
|
* @param {*} [options] Override http request option.
|
|
14730
14962
|
* @throws {RequiredError}
|
|
14731
14963
|
*/
|
|
14732
|
-
|
|
14964
|
+
create4(appUuid: string, serverlessFunctionDTO: ServerlessFunctionDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateResponse>>;
|
|
14733
14965
|
/**
|
|
14734
14966
|
* Tears down the GCP Cloud Function (if provisioned) and deletes the serverless function entity.
|
|
14735
14967
|
* @summary Delete a serverless function
|
|
@@ -14810,7 +15042,7 @@ export declare const ServerlessFunctionsApiFactory: (configuration?: Configurati
|
|
|
14810
15042
|
* @param {*} [options] Override http request option.
|
|
14811
15043
|
* @throws {RequiredError}
|
|
14812
15044
|
*/
|
|
14813
|
-
|
|
15045
|
+
create4(appUuid: string, serverlessFunctionDTO: ServerlessFunctionDTO, options?: RawAxiosRequestConfig): AxiosPromise<CreateResponse>;
|
|
14814
15046
|
/**
|
|
14815
15047
|
* Tears down the GCP Cloud Function (if provisioned) and deletes the serverless function entity.
|
|
14816
15048
|
* @summary Delete a serverless function
|
|
@@ -14891,7 +15123,7 @@ export declare class ServerlessFunctionsApi extends BaseAPI {
|
|
|
14891
15123
|
* @param {*} [options] Override http request option.
|
|
14892
15124
|
* @throws {RequiredError}
|
|
14893
15125
|
*/
|
|
14894
|
-
|
|
15126
|
+
create4(appUuid: string, serverlessFunctionDTO: ServerlessFunctionDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateResponse, any, {}>>;
|
|
14895
15127
|
/**
|
|
14896
15128
|
* Tears down the GCP Cloud Function (if provisioned) and deletes the serverless function entity.
|
|
14897
15129
|
* @summary Delete a serverless function
|