@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/dist/api.js
CHANGED
|
@@ -22,9 +22,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.WebpagesApi = exports.WebpagesApiFactory = exports.WebpagesApiFp = exports.WebpagesApiAxiosParamCreator = exports.WebMenusApi = exports.WebMenusApiFactory = exports.WebMenusApiFp = exports.WebMenusApiAxiosParamCreator = exports.ViewsApi = exports.ViewsApiFactory = exports.ViewsApiFp = exports.ViewsApiAxiosParamCreator = exports.TraitsApi = exports.TraitsApiFactory = exports.TraitsApiFp = exports.TraitsApiAxiosParamCreator = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.ServerlessFunctionsApi = exports.ServerlessFunctionsApiFactory = exports.ServerlessFunctionsApiFp = exports.ServerlessFunctionsApiAxiosParamCreator = exports.RelationsApi = exports.RelationsApiFactory = exports.RelationsApiFp = exports.RelationsApiAxiosParamCreator = exports.UpdateByUuidRecordReturnFormatEnum = exports.UpdateByUuidParseEnum = exports.UpdateRecordReturnFormatEnum = exports.UpdateParseEnum = exports.ShowByObjectParseEnum = exports.ShowByObjectRecordReturnFormatEnum = exports.ShowParseEnum = void 0;
|
|
25
|
+
exports.DeveloperProjectsApi = exports.DeveloperProjectsApiFactory = exports.DeveloperProjectsApiFp = exports.DeveloperProjectsApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CalendarsApi = exports.CalendarsApiFactory = exports.CalendarsApiFp = exports.CalendarsApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.AutomationsApi = exports.AutomationsApiFactory = exports.AutomationsApiFp = exports.AutomationsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.AppInstallationRuntimeApi = exports.AppInstallationRuntimeApiFactory = exports.AppInstallationRuntimeApiFp = exports.AppInstallationRuntimeApiAxiosParamCreator = exports.ListAppBarsLocationEnum = exports.AppBarsApi = exports.AppBarsApiFactory = exports.AppBarsApiFp = exports.AppBarsApiAxiosParamCreator = exports.AppBarIframeSessionsApi = exports.AppBarIframeSessionsApiFactory = exports.AppBarIframeSessionsApiFp = exports.AppBarIframeSessionsApiAxiosParamCreator = exports.ValidationErrorTypeEnum = exports.SortItemDirectionEnum = exports.SettingFieldTypeEnum = exports.EventRsvpRequestScopeEnum = exports.EventRsvpRequestPartstatEnum = exports.ErrorResponseRolesEnum = exports.CreatePrivateAppRequestAuthMethodEnum = exports.CaraerErrorTypeTypeEnum = exports.CRUDSessionTypeEnum = exports.AppDTOAuthMethodEnum = exports.AppBarDTOLocationEnum = exports.AdvancedRecordQueryRequestStrategyEnum = exports.AdvancedRecordQueryPlanStrategyEnum = void 0;
|
|
26
|
+
exports.PreviewParseEnum = exports.IndexFlowParseEnum = exports.IndexRecordReturnFormatEnum = exports.IndexParseEnum = exports.ExtendParseEnum = exports.ExtendRecordReturnFormatEnum = exports.CreateOrUpdateRecordReturnFormatEnum = exports.CreateOrUpdateParseEnum = exports.CreateRecordReturnFormatEnum = exports.CreateParseEnum = exports.RecordsApi = exports.RecordsApiFactory = exports.RecordsApiFp = exports.RecordsApiAxiosParamCreator = exports.PropertyApi = exports.PropertyApiFactory = exports.PropertyApiFp = exports.PropertyApiAxiosParamCreator = exports.ObjectsApi = exports.ObjectsApiFactory = exports.ObjectsApiFp = exports.ObjectsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.ModuleApi = exports.ModuleApiFactory = exports.ModuleApiFp = exports.ModuleApiAxiosParamCreator = exports.FormsApi = exports.FormsApiFactory = exports.FormsApiFp = exports.FormsApiAxiosParamCreator = exports.FilterApi = exports.FilterApiFactory = exports.FilterApiFp = exports.FilterApiAxiosParamCreator = exports.FileManagementApi = exports.FileManagementApiFactory = exports.FileManagementApiFp = exports.FileManagementApiAxiosParamCreator = exports.FeedsApi = exports.FeedsApiFactory = exports.FeedsApiFp = exports.FeedsApiAxiosParamCreator = exports.DeveloperSandboxesApi = exports.DeveloperSandboxesApiFactory = exports.DeveloperSandboxesApiFp = exports.DeveloperSandboxesApiAxiosParamCreator = void 0;
|
|
27
|
+
exports.WebpagesApi = exports.WebpagesApiFactory = exports.WebpagesApiFp = exports.WebpagesApiAxiosParamCreator = exports.WebMenusApi = exports.WebMenusApiFactory = exports.WebMenusApiFp = exports.WebMenusApiAxiosParamCreator = exports.ViewsApi = exports.ViewsApiFactory = exports.ViewsApiFp = exports.ViewsApiAxiosParamCreator = exports.TraitsApi = exports.TraitsApiFactory = exports.TraitsApiFp = exports.TraitsApiAxiosParamCreator = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.ServerlessFunctionsApi = exports.ServerlessFunctionsApiFactory = exports.ServerlessFunctionsApiFp = exports.ServerlessFunctionsApiAxiosParamCreator = exports.RelationsApi = exports.RelationsApiFactory = exports.RelationsApiFp = exports.RelationsApiAxiosParamCreator = exports.UpdateByUuidRecordReturnFormatEnum = exports.UpdateByUuidParseEnum = exports.UpdateRecordReturnFormatEnum = exports.UpdateParseEnum = exports.ShowByObjectParseEnum = exports.ShowByObjectRecordReturnFormatEnum = exports.ShowParseEnum = exports.ShowRecordReturnFormatEnum = exports.SearchCrossObjectParseEnum = exports.SearchRecordReturnFormatEnum = exports.SearchParseEnum = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -4217,6 +4217,294 @@ class BillingApi extends base_1.BaseAPI {
|
|
|
4217
4217
|
}
|
|
4218
4218
|
}
|
|
4219
4219
|
exports.BillingApi = BillingApi;
|
|
4220
|
+
/**
|
|
4221
|
+
* CalendarsApi - axios parameter creator
|
|
4222
|
+
*/
|
|
4223
|
+
const CalendarsApiAxiosParamCreator = function (configuration) {
|
|
4224
|
+
return {
|
|
4225
|
+
/**
|
|
4226
|
+
*
|
|
4227
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
4228
|
+
* @param {*} [options] Override http request option.
|
|
4229
|
+
* @throws {RequiredError}
|
|
4230
|
+
*/
|
|
4231
|
+
bootstrap: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
4232
|
+
const localVarPath = `/api/v2/calendars/bootstrap`;
|
|
4233
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4234
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4235
|
+
let baseOptions;
|
|
4236
|
+
if (configuration) {
|
|
4237
|
+
baseOptions = configuration.baseOptions;
|
|
4238
|
+
}
|
|
4239
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4240
|
+
const localVarHeaderParameter = {};
|
|
4241
|
+
const localVarQueryParameter = {};
|
|
4242
|
+
// authentication bearerAuth required
|
|
4243
|
+
// http bearer authentication required
|
|
4244
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4245
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4246
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4247
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4248
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4249
|
+
return {
|
|
4250
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4251
|
+
options: localVarRequestOptions,
|
|
4252
|
+
};
|
|
4253
|
+
}),
|
|
4254
|
+
/**
|
|
4255
|
+
*
|
|
4256
|
+
* @summary Create a calendar owned by the current user
|
|
4257
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
4258
|
+
* @param {*} [options] Override http request option.
|
|
4259
|
+
* @throws {RequiredError}
|
|
4260
|
+
*/
|
|
4261
|
+
create3: (calendarCreateRequest_1, ...args_1) => __awaiter(this, [calendarCreateRequest_1, ...args_1], void 0, function* (calendarCreateRequest, options = {}) {
|
|
4262
|
+
// verify required parameter 'calendarCreateRequest' is not null or undefined
|
|
4263
|
+
(0, common_1.assertParamExists)('create3', 'calendarCreateRequest', calendarCreateRequest);
|
|
4264
|
+
const localVarPath = `/api/v2/calendars`;
|
|
4265
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4266
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4267
|
+
let baseOptions;
|
|
4268
|
+
if (configuration) {
|
|
4269
|
+
baseOptions = configuration.baseOptions;
|
|
4270
|
+
}
|
|
4271
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4272
|
+
const localVarHeaderParameter = {};
|
|
4273
|
+
const localVarQueryParameter = {};
|
|
4274
|
+
// authentication bearerAuth required
|
|
4275
|
+
// http bearer authentication required
|
|
4276
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4277
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4278
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4279
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4280
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4281
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4282
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(calendarCreateRequest, localVarRequestOptions, configuration);
|
|
4283
|
+
return {
|
|
4284
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4285
|
+
options: localVarRequestOptions,
|
|
4286
|
+
};
|
|
4287
|
+
}),
|
|
4288
|
+
/**
|
|
4289
|
+
*
|
|
4290
|
+
* @summary List calendars visible to the current company
|
|
4291
|
+
* @param {*} [options] Override http request option.
|
|
4292
|
+
* @throws {RequiredError}
|
|
4293
|
+
*/
|
|
4294
|
+
list1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
4295
|
+
const localVarPath = `/api/v2/calendars`;
|
|
4296
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4297
|
+
const localVarUrlObj = new URL(localVarPath, common_1.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 (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4308
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4309
|
+
(0, common_1.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: (0, common_1.toPathString)(localVarUrlObj),
|
|
4314
|
+
options: localVarRequestOptions,
|
|
4315
|
+
};
|
|
4316
|
+
}),
|
|
4317
|
+
/**
|
|
4318
|
+
*
|
|
4319
|
+
* @summary List teams that can be linked to a calendar
|
|
4320
|
+
* @param {*} [options] Override http request option.
|
|
4321
|
+
* @throws {RequiredError}
|
|
4322
|
+
*/
|
|
4323
|
+
listTeams: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
4324
|
+
const localVarPath = `/api/v2/calendars/teams`;
|
|
4325
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4326
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4327
|
+
let baseOptions;
|
|
4328
|
+
if (configuration) {
|
|
4329
|
+
baseOptions = configuration.baseOptions;
|
|
4330
|
+
}
|
|
4331
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4332
|
+
const localVarHeaderParameter = {};
|
|
4333
|
+
const localVarQueryParameter = {};
|
|
4334
|
+
// authentication bearerAuth required
|
|
4335
|
+
// http bearer authentication required
|
|
4336
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4337
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4338
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4339
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4340
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4341
|
+
return {
|
|
4342
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4343
|
+
options: localVarRequestOptions,
|
|
4344
|
+
};
|
|
4345
|
+
}),
|
|
4346
|
+
};
|
|
4347
|
+
};
|
|
4348
|
+
exports.CalendarsApiAxiosParamCreator = CalendarsApiAxiosParamCreator;
|
|
4349
|
+
/**
|
|
4350
|
+
* CalendarsApi - functional programming interface
|
|
4351
|
+
*/
|
|
4352
|
+
const CalendarsApiFp = function (configuration) {
|
|
4353
|
+
const localVarAxiosParamCreator = (0, exports.CalendarsApiAxiosParamCreator)(configuration);
|
|
4354
|
+
return {
|
|
4355
|
+
/**
|
|
4356
|
+
*
|
|
4357
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
4358
|
+
* @param {*} [options] Override http request option.
|
|
4359
|
+
* @throws {RequiredError}
|
|
4360
|
+
*/
|
|
4361
|
+
bootstrap(options) {
|
|
4362
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4363
|
+
var _a, _b, _c;
|
|
4364
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.bootstrap(options);
|
|
4365
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4366
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CalendarsApi.bootstrap']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4367
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4368
|
+
});
|
|
4369
|
+
},
|
|
4370
|
+
/**
|
|
4371
|
+
*
|
|
4372
|
+
* @summary Create a calendar owned by the current user
|
|
4373
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
4374
|
+
* @param {*} [options] Override http request option.
|
|
4375
|
+
* @throws {RequiredError}
|
|
4376
|
+
*/
|
|
4377
|
+
create3(calendarCreateRequest, options) {
|
|
4378
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4379
|
+
var _a, _b, _c;
|
|
4380
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.create3(calendarCreateRequest, 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 = base_1.operationServerMap['CalendarsApi.create3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4383
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4384
|
+
});
|
|
4385
|
+
},
|
|
4386
|
+
/**
|
|
4387
|
+
*
|
|
4388
|
+
* @summary List calendars visible to the current company
|
|
4389
|
+
* @param {*} [options] Override http request option.
|
|
4390
|
+
* @throws {RequiredError}
|
|
4391
|
+
*/
|
|
4392
|
+
list1(options) {
|
|
4393
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4394
|
+
var _a, _b, _c;
|
|
4395
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.list1(options);
|
|
4396
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4397
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CalendarsApi.list1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4398
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4399
|
+
});
|
|
4400
|
+
},
|
|
4401
|
+
/**
|
|
4402
|
+
*
|
|
4403
|
+
* @summary List teams that can be linked to a calendar
|
|
4404
|
+
* @param {*} [options] Override http request option.
|
|
4405
|
+
* @throws {RequiredError}
|
|
4406
|
+
*/
|
|
4407
|
+
listTeams(options) {
|
|
4408
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4409
|
+
var _a, _b, _c;
|
|
4410
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTeams(options);
|
|
4411
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4412
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CalendarsApi.listTeams']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4413
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4414
|
+
});
|
|
4415
|
+
},
|
|
4416
|
+
};
|
|
4417
|
+
};
|
|
4418
|
+
exports.CalendarsApiFp = CalendarsApiFp;
|
|
4419
|
+
/**
|
|
4420
|
+
* CalendarsApi - factory interface
|
|
4421
|
+
*/
|
|
4422
|
+
const CalendarsApiFactory = function (configuration, basePath, axios) {
|
|
4423
|
+
const localVarFp = (0, exports.CalendarsApiFp)(configuration);
|
|
4424
|
+
return {
|
|
4425
|
+
/**
|
|
4426
|
+
*
|
|
4427
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
4428
|
+
* @param {*} [options] Override http request option.
|
|
4429
|
+
* @throws {RequiredError}
|
|
4430
|
+
*/
|
|
4431
|
+
bootstrap(options) {
|
|
4432
|
+
return localVarFp.bootstrap(options).then((request) => request(axios, basePath));
|
|
4433
|
+
},
|
|
4434
|
+
/**
|
|
4435
|
+
*
|
|
4436
|
+
* @summary Create a calendar owned by the current user
|
|
4437
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
4438
|
+
* @param {*} [options] Override http request option.
|
|
4439
|
+
* @throws {RequiredError}
|
|
4440
|
+
*/
|
|
4441
|
+
create3(calendarCreateRequest, options) {
|
|
4442
|
+
return localVarFp.create3(calendarCreateRequest, options).then((request) => request(axios, basePath));
|
|
4443
|
+
},
|
|
4444
|
+
/**
|
|
4445
|
+
*
|
|
4446
|
+
* @summary List calendars visible to the current company
|
|
4447
|
+
* @param {*} [options] Override http request option.
|
|
4448
|
+
* @throws {RequiredError}
|
|
4449
|
+
*/
|
|
4450
|
+
list1(options) {
|
|
4451
|
+
return localVarFp.list1(options).then((request) => request(axios, basePath));
|
|
4452
|
+
},
|
|
4453
|
+
/**
|
|
4454
|
+
*
|
|
4455
|
+
* @summary List teams that can be linked to a calendar
|
|
4456
|
+
* @param {*} [options] Override http request option.
|
|
4457
|
+
* @throws {RequiredError}
|
|
4458
|
+
*/
|
|
4459
|
+
listTeams(options) {
|
|
4460
|
+
return localVarFp.listTeams(options).then((request) => request(axios, basePath));
|
|
4461
|
+
},
|
|
4462
|
+
};
|
|
4463
|
+
};
|
|
4464
|
+
exports.CalendarsApiFactory = CalendarsApiFactory;
|
|
4465
|
+
/**
|
|
4466
|
+
* CalendarsApi - object-oriented interface
|
|
4467
|
+
*/
|
|
4468
|
+
class CalendarsApi extends base_1.BaseAPI {
|
|
4469
|
+
/**
|
|
4470
|
+
*
|
|
4471
|
+
* @summary Ensure calendar schema, default calendar, and event backfill
|
|
4472
|
+
* @param {*} [options] Override http request option.
|
|
4473
|
+
* @throws {RequiredError}
|
|
4474
|
+
*/
|
|
4475
|
+
bootstrap(options) {
|
|
4476
|
+
return (0, exports.CalendarsApiFp)(this.configuration).bootstrap(options).then((request) => request(this.axios, this.basePath));
|
|
4477
|
+
}
|
|
4478
|
+
/**
|
|
4479
|
+
*
|
|
4480
|
+
* @summary Create a calendar owned by the current user
|
|
4481
|
+
* @param {CalendarCreateRequest} calendarCreateRequest
|
|
4482
|
+
* @param {*} [options] Override http request option.
|
|
4483
|
+
* @throws {RequiredError}
|
|
4484
|
+
*/
|
|
4485
|
+
create3(calendarCreateRequest, options) {
|
|
4486
|
+
return (0, exports.CalendarsApiFp)(this.configuration).create3(calendarCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4487
|
+
}
|
|
4488
|
+
/**
|
|
4489
|
+
*
|
|
4490
|
+
* @summary List calendars visible to the current company
|
|
4491
|
+
* @param {*} [options] Override http request option.
|
|
4492
|
+
* @throws {RequiredError}
|
|
4493
|
+
*/
|
|
4494
|
+
list1(options) {
|
|
4495
|
+
return (0, exports.CalendarsApiFp)(this.configuration).list1(options).then((request) => request(this.axios, this.basePath));
|
|
4496
|
+
}
|
|
4497
|
+
/**
|
|
4498
|
+
*
|
|
4499
|
+
* @summary List teams that can be linked to a calendar
|
|
4500
|
+
* @param {*} [options] Override http request option.
|
|
4501
|
+
* @throws {RequiredError}
|
|
4502
|
+
*/
|
|
4503
|
+
listTeams(options) {
|
|
4504
|
+
return (0, exports.CalendarsApiFp)(this.configuration).listTeams(options).then((request) => request(this.axios, this.basePath));
|
|
4505
|
+
}
|
|
4506
|
+
}
|
|
4507
|
+
exports.CalendarsApi = CalendarsApi;
|
|
4220
4508
|
/**
|
|
4221
4509
|
* CompanyApi - axios parameter creator
|
|
4222
4510
|
*/
|
|
@@ -14671,11 +14959,11 @@ const ServerlessFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
14671
14959
|
* @param {*} [options] Override http request option.
|
|
14672
14960
|
* @throws {RequiredError}
|
|
14673
14961
|
*/
|
|
14674
|
-
|
|
14962
|
+
create4: (appUuid_1, serverlessFunctionDTO_1, ...args_1) => __awaiter(this, [appUuid_1, serverlessFunctionDTO_1, ...args_1], void 0, function* (appUuid, serverlessFunctionDTO, options = {}) {
|
|
14675
14963
|
// verify required parameter 'appUuid' is not null or undefined
|
|
14676
|
-
(0, common_1.assertParamExists)('
|
|
14964
|
+
(0, common_1.assertParamExists)('create4', 'appUuid', appUuid);
|
|
14677
14965
|
// verify required parameter 'serverlessFunctionDTO' is not null or undefined
|
|
14678
|
-
(0, common_1.assertParamExists)('
|
|
14966
|
+
(0, common_1.assertParamExists)('create4', 'serverlessFunctionDTO', serverlessFunctionDTO);
|
|
14679
14967
|
const localVarPath = `/api/v2/apps/{appUuid}/serverless-functions`
|
|
14680
14968
|
.replace('{appUuid}', encodeURIComponent(String(appUuid)));
|
|
14681
14969
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -14997,12 +15285,12 @@ const ServerlessFunctionsApiFp = function (configuration) {
|
|
|
14997
15285
|
* @param {*} [options] Override http request option.
|
|
14998
15286
|
* @throws {RequiredError}
|
|
14999
15287
|
*/
|
|
15000
|
-
|
|
15288
|
+
create4(appUuid, serverlessFunctionDTO, options) {
|
|
15001
15289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15002
15290
|
var _a, _b, _c;
|
|
15003
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
15291
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.create4(appUuid, serverlessFunctionDTO, options);
|
|
15004
15292
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15005
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServerlessFunctionsApi.
|
|
15293
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServerlessFunctionsApi.create4']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15006
15294
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15007
15295
|
});
|
|
15008
15296
|
},
|
|
@@ -15146,8 +15434,8 @@ const ServerlessFunctionsApiFactory = function (configuration, basePath, axios)
|
|
|
15146
15434
|
* @param {*} [options] Override http request option.
|
|
15147
15435
|
* @throws {RequiredError}
|
|
15148
15436
|
*/
|
|
15149
|
-
|
|
15150
|
-
return localVarFp.
|
|
15437
|
+
create4(appUuid, serverlessFunctionDTO, options) {
|
|
15438
|
+
return localVarFp.create4(appUuid, serverlessFunctionDTO, options).then((request) => request(axios, basePath));
|
|
15151
15439
|
},
|
|
15152
15440
|
/**
|
|
15153
15441
|
* Tears down the GCP Cloud Function (if provisioned) and deletes the serverless function entity.
|
|
@@ -15245,8 +15533,8 @@ class ServerlessFunctionsApi extends base_1.BaseAPI {
|
|
|
15245
15533
|
* @param {*} [options] Override http request option.
|
|
15246
15534
|
* @throws {RequiredError}
|
|
15247
15535
|
*/
|
|
15248
|
-
|
|
15249
|
-
return (0, exports.ServerlessFunctionsApiFp)(this.configuration).
|
|
15536
|
+
create4(appUuid, serverlessFunctionDTO, options) {
|
|
15537
|
+
return (0, exports.ServerlessFunctionsApiFp)(this.configuration).create4(appUuid, serverlessFunctionDTO, options).then((request) => request(this.axios, this.basePath));
|
|
15250
15538
|
}
|
|
15251
15539
|
/**
|
|
15252
15540
|
* Tears down the GCP Cloud Function (if provisioned) and deletes the serverless function entity.
|