@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/esm/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
|
package/dist/esm/api.js
CHANGED
|
@@ -4188,6 +4188,290 @@ export class BillingApi extends BaseAPI {
|
|
|
4188
4188
|
return BillingApiFp(this.configuration).sendSetupEmail(options).then((request) => request(this.axios, this.basePath));
|
|
4189
4189
|
}
|
|
4190
4190
|
}
|
|
4191
|
+
/**
|
|
4192
|
+
* CalendarsApi - axios parameter creator
|
|
4193
|
+
*/
|
|
4194
|
+
export const CalendarsApiAxiosParamCreator = function (configuration) {
|
|
4195
|
+
return {
|
|
4196
|
+
/**
|
|
4197
|
+
*
|
|
4198
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
4199
|
+
* @param {*} [options] Override http request option.
|
|
4200
|
+
* @throws {RequiredError}
|
|
4201
|
+
*/
|
|
4202
|
+
bootstrap: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
4203
|
+
const localVarPath = `/api/v2/calendars/bootstrap`;
|
|
4204
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4205
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4206
|
+
let baseOptions;
|
|
4207
|
+
if (configuration) {
|
|
4208
|
+
baseOptions = configuration.baseOptions;
|
|
4209
|
+
}
|
|
4210
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4211
|
+
const localVarHeaderParameter = {};
|
|
4212
|
+
const localVarQueryParameter = {};
|
|
4213
|
+
// authentication bearerAuth required
|
|
4214
|
+
// http bearer authentication required
|
|
4215
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4216
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4217
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4218
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4219
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4220
|
+
return {
|
|
4221
|
+
url: toPathString(localVarUrlObj),
|
|
4222
|
+
options: localVarRequestOptions,
|
|
4223
|
+
};
|
|
4224
|
+
}),
|
|
4225
|
+
/**
|
|
4226
|
+
*
|
|
4227
|
+
* @summary Create a calendar owned by the current user
|
|
4228
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
4229
|
+
* @param {*} [options] Override http request option.
|
|
4230
|
+
* @throws {RequiredError}
|
|
4231
|
+
*/
|
|
4232
|
+
create3: (calendarCreateRequest_1, ...args_1) => __awaiter(this, [calendarCreateRequest_1, ...args_1], void 0, function* (calendarCreateRequest, options = {}) {
|
|
4233
|
+
// verify required parameter 'calendarCreateRequest' is not null or undefined
|
|
4234
|
+
assertParamExists('create3', 'calendarCreateRequest', calendarCreateRequest);
|
|
4235
|
+
const localVarPath = `/api/v2/calendars`;
|
|
4236
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4237
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4238
|
+
let baseOptions;
|
|
4239
|
+
if (configuration) {
|
|
4240
|
+
baseOptions = configuration.baseOptions;
|
|
4241
|
+
}
|
|
4242
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4243
|
+
const localVarHeaderParameter = {};
|
|
4244
|
+
const localVarQueryParameter = {};
|
|
4245
|
+
// authentication bearerAuth required
|
|
4246
|
+
// http bearer authentication required
|
|
4247
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4248
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4249
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4250
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4251
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4252
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4253
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calendarCreateRequest, localVarRequestOptions, configuration);
|
|
4254
|
+
return {
|
|
4255
|
+
url: toPathString(localVarUrlObj),
|
|
4256
|
+
options: localVarRequestOptions,
|
|
4257
|
+
};
|
|
4258
|
+
}),
|
|
4259
|
+
/**
|
|
4260
|
+
*
|
|
4261
|
+
* @summary List calendars visible to the current company
|
|
4262
|
+
* @param {*} [options] Override http request option.
|
|
4263
|
+
* @throws {RequiredError}
|
|
4264
|
+
*/
|
|
4265
|
+
list1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
4266
|
+
const localVarPath = `/api/v2/calendars`;
|
|
4267
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4268
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4269
|
+
let baseOptions;
|
|
4270
|
+
if (configuration) {
|
|
4271
|
+
baseOptions = configuration.baseOptions;
|
|
4272
|
+
}
|
|
4273
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4274
|
+
const localVarHeaderParameter = {};
|
|
4275
|
+
const localVarQueryParameter = {};
|
|
4276
|
+
// authentication bearerAuth required
|
|
4277
|
+
// http bearer authentication required
|
|
4278
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4279
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4280
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4281
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4282
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4283
|
+
return {
|
|
4284
|
+
url: toPathString(localVarUrlObj),
|
|
4285
|
+
options: localVarRequestOptions,
|
|
4286
|
+
};
|
|
4287
|
+
}),
|
|
4288
|
+
/**
|
|
4289
|
+
*
|
|
4290
|
+
* @summary List teams that can be linked to a calendar
|
|
4291
|
+
* @param {*} [options] Override http request option.
|
|
4292
|
+
* @throws {RequiredError}
|
|
4293
|
+
*/
|
|
4294
|
+
listTeams: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
4295
|
+
const localVarPath = `/api/v2/calendars/teams`;
|
|
4296
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4297
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4298
|
+
let baseOptions;
|
|
4299
|
+
if (configuration) {
|
|
4300
|
+
baseOptions = configuration.baseOptions;
|
|
4301
|
+
}
|
|
4302
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4303
|
+
const localVarHeaderParameter = {};
|
|
4304
|
+
const localVarQueryParameter = {};
|
|
4305
|
+
// authentication bearerAuth required
|
|
4306
|
+
// http bearer authentication required
|
|
4307
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4308
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4309
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4310
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4311
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4312
|
+
return {
|
|
4313
|
+
url: toPathString(localVarUrlObj),
|
|
4314
|
+
options: localVarRequestOptions,
|
|
4315
|
+
};
|
|
4316
|
+
}),
|
|
4317
|
+
};
|
|
4318
|
+
};
|
|
4319
|
+
/**
|
|
4320
|
+
* CalendarsApi - functional programming interface
|
|
4321
|
+
*/
|
|
4322
|
+
export const CalendarsApiFp = function (configuration) {
|
|
4323
|
+
const localVarAxiosParamCreator = CalendarsApiAxiosParamCreator(configuration);
|
|
4324
|
+
return {
|
|
4325
|
+
/**
|
|
4326
|
+
*
|
|
4327
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
4328
|
+
* @param {*} [options] Override http request option.
|
|
4329
|
+
* @throws {RequiredError}
|
|
4330
|
+
*/
|
|
4331
|
+
bootstrap(options) {
|
|
4332
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4333
|
+
var _a, _b, _c;
|
|
4334
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.bootstrap(options);
|
|
4335
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4336
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarsApi.bootstrap']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4337
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4338
|
+
});
|
|
4339
|
+
},
|
|
4340
|
+
/**
|
|
4341
|
+
*
|
|
4342
|
+
* @summary Create a calendar owned by the current user
|
|
4343
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
4344
|
+
* @param {*} [options] Override http request option.
|
|
4345
|
+
* @throws {RequiredError}
|
|
4346
|
+
*/
|
|
4347
|
+
create3(calendarCreateRequest, options) {
|
|
4348
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4349
|
+
var _a, _b, _c;
|
|
4350
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.create3(calendarCreateRequest, options);
|
|
4351
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4352
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarsApi.create3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4353
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4354
|
+
});
|
|
4355
|
+
},
|
|
4356
|
+
/**
|
|
4357
|
+
*
|
|
4358
|
+
* @summary List calendars visible to the current company
|
|
4359
|
+
* @param {*} [options] Override http request option.
|
|
4360
|
+
* @throws {RequiredError}
|
|
4361
|
+
*/
|
|
4362
|
+
list1(options) {
|
|
4363
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4364
|
+
var _a, _b, _c;
|
|
4365
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.list1(options);
|
|
4366
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4367
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarsApi.list1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4368
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4369
|
+
});
|
|
4370
|
+
},
|
|
4371
|
+
/**
|
|
4372
|
+
*
|
|
4373
|
+
* @summary List teams that can be linked to a calendar
|
|
4374
|
+
* @param {*} [options] Override http request option.
|
|
4375
|
+
* @throws {RequiredError}
|
|
4376
|
+
*/
|
|
4377
|
+
listTeams(options) {
|
|
4378
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4379
|
+
var _a, _b, _c;
|
|
4380
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTeams(options);
|
|
4381
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4382
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarsApi.listTeams']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4383
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4384
|
+
});
|
|
4385
|
+
},
|
|
4386
|
+
};
|
|
4387
|
+
};
|
|
4388
|
+
/**
|
|
4389
|
+
* CalendarsApi - factory interface
|
|
4390
|
+
*/
|
|
4391
|
+
export const CalendarsApiFactory = function (configuration, basePath, axios) {
|
|
4392
|
+
const localVarFp = CalendarsApiFp(configuration);
|
|
4393
|
+
return {
|
|
4394
|
+
/**
|
|
4395
|
+
*
|
|
4396
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
4397
|
+
* @param {*} [options] Override http request option.
|
|
4398
|
+
* @throws {RequiredError}
|
|
4399
|
+
*/
|
|
4400
|
+
bootstrap(options) {
|
|
4401
|
+
return localVarFp.bootstrap(options).then((request) => request(axios, basePath));
|
|
4402
|
+
},
|
|
4403
|
+
/**
|
|
4404
|
+
*
|
|
4405
|
+
* @summary Create a calendar owned by the current user
|
|
4406
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
4407
|
+
* @param {*} [options] Override http request option.
|
|
4408
|
+
* @throws {RequiredError}
|
|
4409
|
+
*/
|
|
4410
|
+
create3(calendarCreateRequest, options) {
|
|
4411
|
+
return localVarFp.create3(calendarCreateRequest, options).then((request) => request(axios, basePath));
|
|
4412
|
+
},
|
|
4413
|
+
/**
|
|
4414
|
+
*
|
|
4415
|
+
* @summary List calendars visible to the current company
|
|
4416
|
+
* @param {*} [options] Override http request option.
|
|
4417
|
+
* @throws {RequiredError}
|
|
4418
|
+
*/
|
|
4419
|
+
list1(options) {
|
|
4420
|
+
return localVarFp.list1(options).then((request) => request(axios, basePath));
|
|
4421
|
+
},
|
|
4422
|
+
/**
|
|
4423
|
+
*
|
|
4424
|
+
* @summary List teams that can be linked to a calendar
|
|
4425
|
+
* @param {*} [options] Override http request option.
|
|
4426
|
+
* @throws {RequiredError}
|
|
4427
|
+
*/
|
|
4428
|
+
listTeams(options) {
|
|
4429
|
+
return localVarFp.listTeams(options).then((request) => request(axios, basePath));
|
|
4430
|
+
},
|
|
4431
|
+
};
|
|
4432
|
+
};
|
|
4433
|
+
/**
|
|
4434
|
+
* CalendarsApi - object-oriented interface
|
|
4435
|
+
*/
|
|
4436
|
+
export class CalendarsApi extends BaseAPI {
|
|
4437
|
+
/**
|
|
4438
|
+
*
|
|
4439
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
4440
|
+
* @param {*} [options] Override http request option.
|
|
4441
|
+
* @throws {RequiredError}
|
|
4442
|
+
*/
|
|
4443
|
+
bootstrap(options) {
|
|
4444
|
+
return CalendarsApiFp(this.configuration).bootstrap(options).then((request) => request(this.axios, this.basePath));
|
|
4445
|
+
}
|
|
4446
|
+
/**
|
|
4447
|
+
*
|
|
4448
|
+
* @summary Create a calendar owned by the current user
|
|
4449
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
4450
|
+
* @param {*} [options] Override http request option.
|
|
4451
|
+
* @throws {RequiredError}
|
|
4452
|
+
*/
|
|
4453
|
+
create3(calendarCreateRequest, options) {
|
|
4454
|
+
return CalendarsApiFp(this.configuration).create3(calendarCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4455
|
+
}
|
|
4456
|
+
/**
|
|
4457
|
+
*
|
|
4458
|
+
* @summary List calendars visible to the current company
|
|
4459
|
+
* @param {*} [options] Override http request option.
|
|
4460
|
+
* @throws {RequiredError}
|
|
4461
|
+
*/
|
|
4462
|
+
list1(options) {
|
|
4463
|
+
return CalendarsApiFp(this.configuration).list1(options).then((request) => request(this.axios, this.basePath));
|
|
4464
|
+
}
|
|
4465
|
+
/**
|
|
4466
|
+
*
|
|
4467
|
+
* @summary List teams that can be linked to a calendar
|
|
4468
|
+
* @param {*} [options] Override http request option.
|
|
4469
|
+
* @throws {RequiredError}
|
|
4470
|
+
*/
|
|
4471
|
+
listTeams(options) {
|
|
4472
|
+
return CalendarsApiFp(this.configuration).listTeams(options).then((request) => request(this.axios, this.basePath));
|
|
4473
|
+
}
|
|
4474
|
+
}
|
|
4191
4475
|
/**
|
|
4192
4476
|
* CompanyApi - axios parameter creator
|
|
4193
4477
|
*/
|
|
@@ -14590,11 +14874,11 @@ export const ServerlessFunctionsApiAxiosParamCreator = function (configuration)
|
|
|
14590
14874
|
* @param {*} [options] Override http request option.
|
|
14591
14875
|
* @throws {RequiredError}
|
|
14592
14876
|
*/
|
|
14593
|
-
|
|
14877
|
+
create4: (appUuid_1, serverlessFunctionDTO_1, ...args_1) => __awaiter(this, [appUuid_1, serverlessFunctionDTO_1, ...args_1], void 0, function* (appUuid, serverlessFunctionDTO, options = {}) {
|
|
14594
14878
|
// verify required parameter 'appUuid' is not null or undefined
|
|
14595
|
-
assertParamExists('
|
|
14879
|
+
assertParamExists('create4', 'appUuid', appUuid);
|
|
14596
14880
|
// verify required parameter 'serverlessFunctionDTO' is not null or undefined
|
|
14597
|
-
assertParamExists('
|
|
14881
|
+
assertParamExists('create4', 'serverlessFunctionDTO', serverlessFunctionDTO);
|
|
14598
14882
|
const localVarPath = `/api/v2/apps/{appUuid}/serverless-functions`
|
|
14599
14883
|
.replace('{appUuid}', encodeURIComponent(String(appUuid)));
|
|
14600
14884
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -14915,12 +15199,12 @@ export const ServerlessFunctionsApiFp = function (configuration) {
|
|
|
14915
15199
|
* @param {*} [options] Override http request option.
|
|
14916
15200
|
* @throws {RequiredError}
|
|
14917
15201
|
*/
|
|
14918
|
-
|
|
15202
|
+
create4(appUuid, serverlessFunctionDTO, options) {
|
|
14919
15203
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14920
15204
|
var _a, _b, _c;
|
|
14921
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
15205
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.create4(appUuid, serverlessFunctionDTO, options);
|
|
14922
15206
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14923
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ServerlessFunctionsApi.
|
|
15207
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ServerlessFunctionsApi.create4']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14924
15208
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14925
15209
|
});
|
|
14926
15210
|
},
|
|
@@ -15063,8 +15347,8 @@ export const ServerlessFunctionsApiFactory = function (configuration, basePath,
|
|
|
15063
15347
|
* @param {*} [options] Override http request option.
|
|
15064
15348
|
* @throws {RequiredError}
|
|
15065
15349
|
*/
|
|
15066
|
-
|
|
15067
|
-
return localVarFp.
|
|
15350
|
+
create4(appUuid, serverlessFunctionDTO, options) {
|
|
15351
|
+
return localVarFp.create4(appUuid, serverlessFunctionDTO, options).then((request) => request(axios, basePath));
|
|
15068
15352
|
},
|
|
15069
15353
|
/**
|
|
15070
15354
|
* Tears down the GCP Cloud Function (if provisioned) and deletes the serverless function entity.
|
|
@@ -15161,8 +15445,8 @@ export class ServerlessFunctionsApi extends BaseAPI {
|
|
|
15161
15445
|
* @param {*} [options] Override http request option.
|
|
15162
15446
|
* @throws {RequiredError}
|
|
15163
15447
|
*/
|
|
15164
|
-
|
|
15165
|
-
return ServerlessFunctionsApiFp(this.configuration).
|
|
15448
|
+
create4(appUuid, serverlessFunctionDTO, options) {
|
|
15449
|
+
return ServerlessFunctionsApiFp(this.configuration).create4(appUuid, serverlessFunctionDTO, options).then((request) => request(this.axios, this.basePath));
|
|
15166
15450
|
}
|
|
15167
15451
|
/**
|
|
15168
15452
|
* Tears down the GCP Cloud Function (if provisioned) and deletes the serverless function entity.
|