@caraer/client 2.0.486 → 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 +409 -12
- package/dist/api.d.ts +238 -6
- package/dist/api.js +301 -13
- package/dist/esm/api.d.ts +238 -6
- 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/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/.openapi-generator/FILES
CHANGED
|
@@ -61,6 +61,12 @@ docs/BulkEditRecordsData.md
|
|
|
61
61
|
docs/BulkEditRecordsRequest.md
|
|
62
62
|
docs/BulkEditRecordsResponse.md
|
|
63
63
|
docs/CRUD.md
|
|
64
|
+
docs/CalendarBootstrapDTO.md
|
|
65
|
+
docs/CalendarCreateRequest.md
|
|
66
|
+
docs/CalendarRecordDTO.md
|
|
67
|
+
docs/CalendarTeamMemberDTO.md
|
|
68
|
+
docs/CalendarTeamOptionDTO.md
|
|
69
|
+
docs/CalendarsApi.md
|
|
64
70
|
docs/CaraerErrorType.md
|
|
65
71
|
docs/CaraerObjectDTO.md
|
|
66
72
|
docs/CompanyApi.md
|
|
@@ -78,6 +84,7 @@ docs/CreateResponse.md
|
|
|
78
84
|
docs/CreateResponseAppExternalOAuthProviderDTO.md
|
|
79
85
|
docs/CreateResponseAppInboundRouteDTO.md
|
|
80
86
|
docs/CreateResponseAppScheduleDTO.md
|
|
87
|
+
docs/CreateResponseCalendarRecordDTO.md
|
|
81
88
|
docs/CreateResponseFeedDTO.md
|
|
82
89
|
docs/CreateResponseMapStringString.md
|
|
83
90
|
docs/CreateResponseSignedUrlResultDTO.md
|
|
@@ -286,6 +293,7 @@ docs/Structure.md
|
|
|
286
293
|
docs/StyleSetDTO.md
|
|
287
294
|
docs/SubscribeWebhookDTO.md
|
|
288
295
|
docs/SuccessResponseAggregateResponse.md
|
|
296
|
+
docs/SuccessResponseCalendarBootstrapDTO.md
|
|
289
297
|
docs/SuccessResponseCollectionRelation.md
|
|
290
298
|
docs/SuccessResponseCompanyDTO.md
|
|
291
299
|
docs/SuccessResponseFeedDTO.md
|
|
@@ -294,6 +302,8 @@ docs/SuccessResponseListAggregateResponse.md
|
|
|
294
302
|
docs/SuccessResponseListAppExternalOAuthProviderDTO.md
|
|
295
303
|
docs/SuccessResponseListAppInboundRouteDTO.md
|
|
296
304
|
docs/SuccessResponseListAppScheduleDTO.md
|
|
305
|
+
docs/SuccessResponseListCalendarRecordDTO.md
|
|
306
|
+
docs/SuccessResponseListCalendarTeamOptionDTO.md
|
|
297
307
|
docs/SuccessResponseListCaraerObjectDTO.md
|
|
298
308
|
docs/SuccessResponseListDeveloperSandboxDTO.md
|
|
299
309
|
docs/SuccessResponseListMapStringObject.md
|
package/api.ts
CHANGED
|
@@ -1209,6 +1209,46 @@ export const CRUDSessionTypeEnum = {
|
|
|
1209
1209
|
|
|
1210
1210
|
export type CRUDSessionTypeEnum = typeof CRUDSessionTypeEnum[keyof typeof CRUDSessionTypeEnum];
|
|
1211
1211
|
|
|
1212
|
+
export interface CalendarBootstrapDTO {
|
|
1213
|
+
'defaultCalendar'?: CalendarRecordDTO;
|
|
1214
|
+
'calendars'?: Array<CalendarRecordDTO>;
|
|
1215
|
+
'backfilled'?: number;
|
|
1216
|
+
'teamCalendarsCreated'?: number;
|
|
1217
|
+
'companyCalendarCreated'?: boolean;
|
|
1218
|
+
}
|
|
1219
|
+
export interface CalendarCreateRequest {
|
|
1220
|
+
'title'?: string;
|
|
1221
|
+
'color'?: string;
|
|
1222
|
+
'teamUuid'?: string;
|
|
1223
|
+
'company'?: boolean;
|
|
1224
|
+
}
|
|
1225
|
+
export interface CalendarRecordDTO {
|
|
1226
|
+
'default'?: boolean;
|
|
1227
|
+
'uuid'?: string;
|
|
1228
|
+
'title'?: string;
|
|
1229
|
+
'color'?: string;
|
|
1230
|
+
'colorHex'?: string;
|
|
1231
|
+
'isDefault'?: boolean;
|
|
1232
|
+
'ownerUuid'?: string;
|
|
1233
|
+
'ownerName'?: string;
|
|
1234
|
+
'ownedByCurrentUser'?: boolean;
|
|
1235
|
+
'teamUuid'?: string;
|
|
1236
|
+
'teamName'?: string;
|
|
1237
|
+
'companyCalendar'?: boolean;
|
|
1238
|
+
'companyName'?: string;
|
|
1239
|
+
'members'?: Array<CalendarTeamMemberDTO>;
|
|
1240
|
+
}
|
|
1241
|
+
export interface CalendarTeamMemberDTO {
|
|
1242
|
+
'uuid'?: string;
|
|
1243
|
+
'label'?: string;
|
|
1244
|
+
'objectName'?: string;
|
|
1245
|
+
'hasUserTrait'?: boolean;
|
|
1246
|
+
}
|
|
1247
|
+
export interface CalendarTeamOptionDTO {
|
|
1248
|
+
'uuid'?: string;
|
|
1249
|
+
'name'?: string;
|
|
1250
|
+
'members'?: Array<CalendarTeamMemberDTO>;
|
|
1251
|
+
}
|
|
1212
1252
|
export interface CaraerErrorType {
|
|
1213
1253
|
/**
|
|
1214
1254
|
* The error message providing details about the failure.
|
|
@@ -1697,6 +1737,19 @@ export interface CreateResponseAppScheduleDTO {
|
|
|
1697
1737
|
*/
|
|
1698
1738
|
'data'?: AppScheduleDTO;
|
|
1699
1739
|
}
|
|
1740
|
+
/**
|
|
1741
|
+
* Response for a successful resource creation operation.
|
|
1742
|
+
*/
|
|
1743
|
+
export interface CreateResponseCalendarRecordDTO {
|
|
1744
|
+
/**
|
|
1745
|
+
* A message detailing the result of the operation.
|
|
1746
|
+
*/
|
|
1747
|
+
'message'?: string;
|
|
1748
|
+
/**
|
|
1749
|
+
* The data payload of the response, if any.
|
|
1750
|
+
*/
|
|
1751
|
+
'data'?: CalendarRecordDTO;
|
|
1752
|
+
}
|
|
1700
1753
|
/**
|
|
1701
1754
|
* Response for a successful resource creation operation.
|
|
1702
1755
|
*/
|
|
@@ -3020,9 +3073,9 @@ export interface ModelRecord {
|
|
|
3020
3073
|
'deleted'?: boolean;
|
|
3021
3074
|
'complete'?: boolean;
|
|
3022
3075
|
'uuid': string;
|
|
3076
|
+
'user'?: PublicUserDTO;
|
|
3023
3077
|
'properties'?: Array<FilledProperty>;
|
|
3024
3078
|
'objects'?: { [key: string]: any | null; };
|
|
3025
|
-
'user'?: PublicUserDTO;
|
|
3026
3079
|
}
|
|
3027
3080
|
export interface MultiLine extends PropertyFormat {
|
|
3028
3081
|
}
|
|
@@ -5188,8 +5241,8 @@ export interface SettingField {
|
|
|
5188
5241
|
'hidden'?: boolean;
|
|
5189
5242
|
'disabled'?: boolean;
|
|
5190
5243
|
'options'?: Array<SettingOption>;
|
|
5191
|
-
'value'?: any;
|
|
5192
5244
|
'defaultValue'?: any;
|
|
5245
|
+
'value'?: any;
|
|
5193
5246
|
}
|
|
5194
5247
|
|
|
5195
5248
|
export const SettingFieldTypeEnum = {
|
|
@@ -6199,6 +6252,19 @@ export interface SuccessResponseAggregateResponse {
|
|
|
6199
6252
|
'message'?: string;
|
|
6200
6253
|
'data'?: { [key: string]: any; };
|
|
6201
6254
|
}
|
|
6255
|
+
/**
|
|
6256
|
+
* Represents a standard successful response with a message and optional data.
|
|
6257
|
+
*/
|
|
6258
|
+
export interface SuccessResponseCalendarBootstrapDTO {
|
|
6259
|
+
/**
|
|
6260
|
+
* A message detailing the result of the operation.
|
|
6261
|
+
*/
|
|
6262
|
+
'message'?: string;
|
|
6263
|
+
/**
|
|
6264
|
+
* The data payload of the response, if any.
|
|
6265
|
+
*/
|
|
6266
|
+
'data'?: CalendarBootstrapDTO;
|
|
6267
|
+
}
|
|
6202
6268
|
/**
|
|
6203
6269
|
* Success response (SuccessResponseCollectionRelation).
|
|
6204
6270
|
*/
|
|
@@ -6285,6 +6351,32 @@ export interface SuccessResponseListAppScheduleDTO {
|
|
|
6285
6351
|
*/
|
|
6286
6352
|
'data'?: Array<AppScheduleDTO>;
|
|
6287
6353
|
}
|
|
6354
|
+
/**
|
|
6355
|
+
* Represents a standard successful response with a message and optional data.
|
|
6356
|
+
*/
|
|
6357
|
+
export interface SuccessResponseListCalendarRecordDTO {
|
|
6358
|
+
/**
|
|
6359
|
+
* A message detailing the result of the operation.
|
|
6360
|
+
*/
|
|
6361
|
+
'message'?: string;
|
|
6362
|
+
/**
|
|
6363
|
+
* The data payload of the response, if any.
|
|
6364
|
+
*/
|
|
6365
|
+
'data'?: Array<CalendarRecordDTO>;
|
|
6366
|
+
}
|
|
6367
|
+
/**
|
|
6368
|
+
* Represents a standard successful response with a message and optional data.
|
|
6369
|
+
*/
|
|
6370
|
+
export interface SuccessResponseListCalendarTeamOptionDTO {
|
|
6371
|
+
/**
|
|
6372
|
+
* A message detailing the result of the operation.
|
|
6373
|
+
*/
|
|
6374
|
+
'message'?: string;
|
|
6375
|
+
/**
|
|
6376
|
+
* The data payload of the response, if any.
|
|
6377
|
+
*/
|
|
6378
|
+
'data'?: Array<CalendarTeamOptionDTO>;
|
|
6379
|
+
}
|
|
6288
6380
|
/**
|
|
6289
6381
|
* Success response (SuccessResponseListCaraerObjectDTO).
|
|
6290
6382
|
*/
|
|
@@ -6927,6 +7019,10 @@ export interface ViewDTO {
|
|
|
6927
7019
|
'taskExpandSubtasks'?: boolean;
|
|
6928
7020
|
'taskCollapsedGroupKeys'?: Array<string>;
|
|
6929
7021
|
'taskExpandedTaskUuids'?: Array<string>;
|
|
7022
|
+
'calendarOverlay'?: string;
|
|
7023
|
+
'visibleCalendarUuids'?: Array<string>;
|
|
7024
|
+
'selectedCalendarUuid'?: string;
|
|
7025
|
+
'calendarColorBy'?: string;
|
|
6930
7026
|
'defaultView'?: boolean;
|
|
6931
7027
|
'isInternallyPublic'?: boolean;
|
|
6932
7028
|
'analytics'?: AnalyticsDashboardConfig;
|
|
@@ -11718,6 +11814,307 @@ export class BillingApi extends BaseAPI {
|
|
|
11718
11814
|
|
|
11719
11815
|
|
|
11720
11816
|
|
|
11817
|
+
/**
|
|
11818
|
+
* CalendarsApi - axios parameter creator
|
|
11819
|
+
*/
|
|
11820
|
+
export const CalendarsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11821
|
+
return {
|
|
11822
|
+
/**
|
|
11823
|
+
*
|
|
11824
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
11825
|
+
* @param {*} [options] Override http request option.
|
|
11826
|
+
* @throws {RequiredError}
|
|
11827
|
+
*/
|
|
11828
|
+
bootstrap: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11829
|
+
const localVarPath = `/api/v2/calendars/bootstrap`;
|
|
11830
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11831
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11832
|
+
let baseOptions;
|
|
11833
|
+
if (configuration) {
|
|
11834
|
+
baseOptions = configuration.baseOptions;
|
|
11835
|
+
}
|
|
11836
|
+
|
|
11837
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11838
|
+
const localVarHeaderParameter = {} as any;
|
|
11839
|
+
const localVarQueryParameter = {} as any;
|
|
11840
|
+
|
|
11841
|
+
// authentication bearerAuth required
|
|
11842
|
+
// http bearer authentication required
|
|
11843
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11844
|
+
|
|
11845
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11846
|
+
|
|
11847
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11848
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11849
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11850
|
+
|
|
11851
|
+
return {
|
|
11852
|
+
url: toPathString(localVarUrlObj),
|
|
11853
|
+
options: localVarRequestOptions,
|
|
11854
|
+
};
|
|
11855
|
+
},
|
|
11856
|
+
/**
|
|
11857
|
+
*
|
|
11858
|
+
* @summary Create a calendar owned by the current user
|
|
11859
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
11860
|
+
* @param {*} [options] Override http request option.
|
|
11861
|
+
* @throws {RequiredError}
|
|
11862
|
+
*/
|
|
11863
|
+
create3: async (calendarCreateRequest: CalendarCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11864
|
+
// verify required parameter 'calendarCreateRequest' is not null or undefined
|
|
11865
|
+
assertParamExists('create3', 'calendarCreateRequest', calendarCreateRequest)
|
|
11866
|
+
const localVarPath = `/api/v2/calendars`;
|
|
11867
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11868
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11869
|
+
let baseOptions;
|
|
11870
|
+
if (configuration) {
|
|
11871
|
+
baseOptions = configuration.baseOptions;
|
|
11872
|
+
}
|
|
11873
|
+
|
|
11874
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11875
|
+
const localVarHeaderParameter = {} as any;
|
|
11876
|
+
const localVarQueryParameter = {} as any;
|
|
11877
|
+
|
|
11878
|
+
// authentication bearerAuth required
|
|
11879
|
+
// http bearer authentication required
|
|
11880
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11881
|
+
|
|
11882
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11883
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11884
|
+
|
|
11885
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11886
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11887
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11888
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calendarCreateRequest, localVarRequestOptions, configuration)
|
|
11889
|
+
|
|
11890
|
+
return {
|
|
11891
|
+
url: toPathString(localVarUrlObj),
|
|
11892
|
+
options: localVarRequestOptions,
|
|
11893
|
+
};
|
|
11894
|
+
},
|
|
11895
|
+
/**
|
|
11896
|
+
*
|
|
11897
|
+
* @summary List calendars visible to the current company
|
|
11898
|
+
* @param {*} [options] Override http request option.
|
|
11899
|
+
* @throws {RequiredError}
|
|
11900
|
+
*/
|
|
11901
|
+
list1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11902
|
+
const localVarPath = `/api/v2/calendars`;
|
|
11903
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11904
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11905
|
+
let baseOptions;
|
|
11906
|
+
if (configuration) {
|
|
11907
|
+
baseOptions = configuration.baseOptions;
|
|
11908
|
+
}
|
|
11909
|
+
|
|
11910
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11911
|
+
const localVarHeaderParameter = {} as any;
|
|
11912
|
+
const localVarQueryParameter = {} as any;
|
|
11913
|
+
|
|
11914
|
+
// authentication bearerAuth required
|
|
11915
|
+
// http bearer authentication required
|
|
11916
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11917
|
+
|
|
11918
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11919
|
+
|
|
11920
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11921
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11922
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11923
|
+
|
|
11924
|
+
return {
|
|
11925
|
+
url: toPathString(localVarUrlObj),
|
|
11926
|
+
options: localVarRequestOptions,
|
|
11927
|
+
};
|
|
11928
|
+
},
|
|
11929
|
+
/**
|
|
11930
|
+
*
|
|
11931
|
+
* @summary List teams that can be linked to a calendar
|
|
11932
|
+
* @param {*} [options] Override http request option.
|
|
11933
|
+
* @throws {RequiredError}
|
|
11934
|
+
*/
|
|
11935
|
+
listTeams: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11936
|
+
const localVarPath = `/api/v2/calendars/teams`;
|
|
11937
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11938
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11939
|
+
let baseOptions;
|
|
11940
|
+
if (configuration) {
|
|
11941
|
+
baseOptions = configuration.baseOptions;
|
|
11942
|
+
}
|
|
11943
|
+
|
|
11944
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11945
|
+
const localVarHeaderParameter = {} as any;
|
|
11946
|
+
const localVarQueryParameter = {} as any;
|
|
11947
|
+
|
|
11948
|
+
// authentication bearerAuth required
|
|
11949
|
+
// http bearer authentication required
|
|
11950
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11951
|
+
|
|
11952
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11953
|
+
|
|
11954
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11955
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11956
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11957
|
+
|
|
11958
|
+
return {
|
|
11959
|
+
url: toPathString(localVarUrlObj),
|
|
11960
|
+
options: localVarRequestOptions,
|
|
11961
|
+
};
|
|
11962
|
+
},
|
|
11963
|
+
}
|
|
11964
|
+
};
|
|
11965
|
+
|
|
11966
|
+
/**
|
|
11967
|
+
* CalendarsApi - functional programming interface
|
|
11968
|
+
*/
|
|
11969
|
+
export const CalendarsApiFp = function(configuration?: Configuration) {
|
|
11970
|
+
const localVarAxiosParamCreator = CalendarsApiAxiosParamCreator(configuration)
|
|
11971
|
+
return {
|
|
11972
|
+
/**
|
|
11973
|
+
*
|
|
11974
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
11975
|
+
* @param {*} [options] Override http request option.
|
|
11976
|
+
* @throws {RequiredError}
|
|
11977
|
+
*/
|
|
11978
|
+
async bootstrap(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseCalendarBootstrapDTO>> {
|
|
11979
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bootstrap(options);
|
|
11980
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11981
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarsApi.bootstrap']?.[localVarOperationServerIndex]?.url;
|
|
11982
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11983
|
+
},
|
|
11984
|
+
/**
|
|
11985
|
+
*
|
|
11986
|
+
* @summary Create a calendar owned by the current user
|
|
11987
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
11988
|
+
* @param {*} [options] Override http request option.
|
|
11989
|
+
* @throws {RequiredError}
|
|
11990
|
+
*/
|
|
11991
|
+
async create3(calendarCreateRequest: CalendarCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateResponseCalendarRecordDTO>> {
|
|
11992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.create3(calendarCreateRequest, options);
|
|
11993
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11994
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarsApi.create3']?.[localVarOperationServerIndex]?.url;
|
|
11995
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11996
|
+
},
|
|
11997
|
+
/**
|
|
11998
|
+
*
|
|
11999
|
+
* @summary List calendars visible to the current company
|
|
12000
|
+
* @param {*} [options] Override http request option.
|
|
12001
|
+
* @throws {RequiredError}
|
|
12002
|
+
*/
|
|
12003
|
+
async list1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseListCalendarRecordDTO>> {
|
|
12004
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.list1(options);
|
|
12005
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12006
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarsApi.list1']?.[localVarOperationServerIndex]?.url;
|
|
12007
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12008
|
+
},
|
|
12009
|
+
/**
|
|
12010
|
+
*
|
|
12011
|
+
* @summary List teams that can be linked to a calendar
|
|
12012
|
+
* @param {*} [options] Override http request option.
|
|
12013
|
+
* @throws {RequiredError}
|
|
12014
|
+
*/
|
|
12015
|
+
async listTeams(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseListCalendarTeamOptionDTO>> {
|
|
12016
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTeams(options);
|
|
12017
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12018
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarsApi.listTeams']?.[localVarOperationServerIndex]?.url;
|
|
12019
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12020
|
+
},
|
|
12021
|
+
}
|
|
12022
|
+
};
|
|
12023
|
+
|
|
12024
|
+
/**
|
|
12025
|
+
* CalendarsApi - factory interface
|
|
12026
|
+
*/
|
|
12027
|
+
export const CalendarsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
12028
|
+
const localVarFp = CalendarsApiFp(configuration)
|
|
12029
|
+
return {
|
|
12030
|
+
/**
|
|
12031
|
+
*
|
|
12032
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
12033
|
+
* @param {*} [options] Override http request option.
|
|
12034
|
+
* @throws {RequiredError}
|
|
12035
|
+
*/
|
|
12036
|
+
bootstrap(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseCalendarBootstrapDTO> {
|
|
12037
|
+
return localVarFp.bootstrap(options).then((request) => request(axios, basePath));
|
|
12038
|
+
},
|
|
12039
|
+
/**
|
|
12040
|
+
*
|
|
12041
|
+
* @summary Create a calendar owned by the current user
|
|
12042
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
12043
|
+
* @param {*} [options] Override http request option.
|
|
12044
|
+
* @throws {RequiredError}
|
|
12045
|
+
*/
|
|
12046
|
+
create3(calendarCreateRequest: CalendarCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateResponseCalendarRecordDTO> {
|
|
12047
|
+
return localVarFp.create3(calendarCreateRequest, options).then((request) => request(axios, basePath));
|
|
12048
|
+
},
|
|
12049
|
+
/**
|
|
12050
|
+
*
|
|
12051
|
+
* @summary List calendars visible to the current company
|
|
12052
|
+
* @param {*} [options] Override http request option.
|
|
12053
|
+
* @throws {RequiredError}
|
|
12054
|
+
*/
|
|
12055
|
+
list1(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListCalendarRecordDTO> {
|
|
12056
|
+
return localVarFp.list1(options).then((request) => request(axios, basePath));
|
|
12057
|
+
},
|
|
12058
|
+
/**
|
|
12059
|
+
*
|
|
12060
|
+
* @summary List teams that can be linked to a calendar
|
|
12061
|
+
* @param {*} [options] Override http request option.
|
|
12062
|
+
* @throws {RequiredError}
|
|
12063
|
+
*/
|
|
12064
|
+
listTeams(options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseListCalendarTeamOptionDTO> {
|
|
12065
|
+
return localVarFp.listTeams(options).then((request) => request(axios, basePath));
|
|
12066
|
+
},
|
|
12067
|
+
};
|
|
12068
|
+
};
|
|
12069
|
+
|
|
12070
|
+
/**
|
|
12071
|
+
* CalendarsApi - object-oriented interface
|
|
12072
|
+
*/
|
|
12073
|
+
export class CalendarsApi extends BaseAPI {
|
|
12074
|
+
/**
|
|
12075
|
+
*
|
|
12076
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
12077
|
+
* @param {*} [options] Override http request option.
|
|
12078
|
+
* @throws {RequiredError}
|
|
12079
|
+
*/
|
|
12080
|
+
public bootstrap(options?: RawAxiosRequestConfig) {
|
|
12081
|
+
return CalendarsApiFp(this.configuration).bootstrap(options).then((request) => request(this.axios, this.basePath));
|
|
12082
|
+
}
|
|
12083
|
+
|
|
12084
|
+
/**
|
|
12085
|
+
*
|
|
12086
|
+
* @summary Create a calendar owned by the current user
|
|
12087
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
12088
|
+
* @param {*} [options] Override http request option.
|
|
12089
|
+
* @throws {RequiredError}
|
|
12090
|
+
*/
|
|
12091
|
+
public create3(calendarCreateRequest: CalendarCreateRequest, options?: RawAxiosRequestConfig) {
|
|
12092
|
+
return CalendarsApiFp(this.configuration).create3(calendarCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12093
|
+
}
|
|
12094
|
+
|
|
12095
|
+
/**
|
|
12096
|
+
*
|
|
12097
|
+
* @summary List calendars visible to the current company
|
|
12098
|
+
* @param {*} [options] Override http request option.
|
|
12099
|
+
* @throws {RequiredError}
|
|
12100
|
+
*/
|
|
12101
|
+
public list1(options?: RawAxiosRequestConfig) {
|
|
12102
|
+
return CalendarsApiFp(this.configuration).list1(options).then((request) => request(this.axios, this.basePath));
|
|
12103
|
+
}
|
|
12104
|
+
|
|
12105
|
+
/**
|
|
12106
|
+
*
|
|
12107
|
+
* @summary List teams that can be linked to a calendar
|
|
12108
|
+
* @param {*} [options] Override http request option.
|
|
12109
|
+
* @throws {RequiredError}
|
|
12110
|
+
*/
|
|
12111
|
+
public listTeams(options?: RawAxiosRequestConfig) {
|
|
12112
|
+
return CalendarsApiFp(this.configuration).listTeams(options).then((request) => request(this.axios, this.basePath));
|
|
12113
|
+
}
|
|
12114
|
+
}
|
|
12115
|
+
|
|
12116
|
+
|
|
12117
|
+
|
|
11721
12118
|
/**
|
|
11722
12119
|
* CompanyApi - axios parameter creator
|
|
11723
12120
|
*/
|
|
@@ -22665,11 +23062,11 @@ export const ServerlessFunctionsApiAxiosParamCreator = function (configuration?:
|
|
|
22665
23062
|
* @param {*} [options] Override http request option.
|
|
22666
23063
|
* @throws {RequiredError}
|
|
22667
23064
|
*/
|
|
22668
|
-
|
|
23065
|
+
create4: async (appUuid: string, serverlessFunctionDTO: ServerlessFunctionDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22669
23066
|
// verify required parameter 'appUuid' is not null or undefined
|
|
22670
|
-
assertParamExists('
|
|
23067
|
+
assertParamExists('create4', 'appUuid', appUuid)
|
|
22671
23068
|
// verify required parameter 'serverlessFunctionDTO' is not null or undefined
|
|
22672
|
-
assertParamExists('
|
|
23069
|
+
assertParamExists('create4', 'serverlessFunctionDTO', serverlessFunctionDTO)
|
|
22673
23070
|
const localVarPath = `/api/v2/apps/{appUuid}/serverless-functions`
|
|
22674
23071
|
.replace('{appUuid}', encodeURIComponent(String(appUuid)));
|
|
22675
23072
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -23033,10 +23430,10 @@ export const ServerlessFunctionsApiFp = function(configuration?: Configuration)
|
|
|
23033
23430
|
* @param {*} [options] Override http request option.
|
|
23034
23431
|
* @throws {RequiredError}
|
|
23035
23432
|
*/
|
|
23036
|
-
async
|
|
23037
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
23433
|
+
async create4(appUuid: string, serverlessFunctionDTO: ServerlessFunctionDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateResponse>> {
|
|
23434
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.create4(appUuid, serverlessFunctionDTO, options);
|
|
23038
23435
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23039
|
-
const localVarOperationServerBasePath = operationServerMap['ServerlessFunctionsApi.
|
|
23436
|
+
const localVarOperationServerBasePath = operationServerMap['ServerlessFunctionsApi.create4']?.[localVarOperationServerIndex]?.url;
|
|
23040
23437
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23041
23438
|
},
|
|
23042
23439
|
/**
|
|
@@ -23158,8 +23555,8 @@ export const ServerlessFunctionsApiFactory = function (configuration?: Configura
|
|
|
23158
23555
|
* @param {*} [options] Override http request option.
|
|
23159
23556
|
* @throws {RequiredError}
|
|
23160
23557
|
*/
|
|
23161
|
-
|
|
23162
|
-
return localVarFp.
|
|
23558
|
+
create4(appUuid: string, serverlessFunctionDTO: ServerlessFunctionDTO, options?: RawAxiosRequestConfig): AxiosPromise<CreateResponse> {
|
|
23559
|
+
return localVarFp.create4(appUuid, serverlessFunctionDTO, options).then((request) => request(axios, basePath));
|
|
23163
23560
|
},
|
|
23164
23561
|
/**
|
|
23165
23562
|
* Tears down the GCP Cloud Function (if provisioned) and deletes the serverless function entity.
|
|
@@ -23257,8 +23654,8 @@ export class ServerlessFunctionsApi extends BaseAPI {
|
|
|
23257
23654
|
* @param {*} [options] Override http request option.
|
|
23258
23655
|
* @throws {RequiredError}
|
|
23259
23656
|
*/
|
|
23260
|
-
public
|
|
23261
|
-
return ServerlessFunctionsApiFp(this.configuration).
|
|
23657
|
+
public create4(appUuid: string, serverlessFunctionDTO: ServerlessFunctionDTO, options?: RawAxiosRequestConfig) {
|
|
23658
|
+
return ServerlessFunctionsApiFp(this.configuration).create4(appUuid, serverlessFunctionDTO, options).then((request) => request(this.axios, this.basePath));
|
|
23262
23659
|
}
|
|
23263
23660
|
|
|
23264
23661
|
/**
|