calcom

package module
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-calcom

Go Reference CI version license imported by

Unofficial Go client for Cal.com API v2, generated with oapi-codegen from the public OpenAPI document in the Cal.com repository. I am not affiliated with Cal.com.

The package is calcom, in the repository root. Everything in client.gen.go is generated. Don't edit it by hand, regenerate it. The supplied spec covers 82 paths and 121 operations for bookings, event types, available slots, schedules, calendars, teams, webhooks and profile. Its title is Cal.diy API v2, version 1.0.0.

Install

go get github.com/psyb0t/go-calcom

Usage

Every endpoint in the spec has a typed method on ClientWithResponses. Responses decode into JSON200 and the other status fields.

package main

import (
	"context"
	"net/http"
	"os"

	"github.com/psyb0t/go-calcom"
)

func main() {
	token := "Bearer " + os.Getenv("CALCOM_API_KEY")
	auth := calcom.WithRequestEditorFn(
		func(_ context.Context, req *http.Request) error {
			req.Header.Set("Authorization", token)

			return nil
		},
	)

	client, err := calcom.NewClientWithResponses("https://api.cal.com", auth)
	if err != nil {
		panic(err)
	}

	res, err := client.MeControllerGetMeWithResponse(
		context.Background(),
		&calcom.MeControllerGetMeParams{Authorization: token},
	)
	if err != nil {
		panic(err)
	}

	if res.StatusCode() != http.StatusOK || res.JSON200 == nil {
		panic(res.Status())
	}

	_ = res.JSON200.Data.Username
}

The same code is in example_test.go, so make test checks that it compiles. It requires real credentials and is not run by the test suite.

The spec declares no server URL, so pass the host yourself: https://api.cal.com, as shown in the profile endpoint docs, or another deployment. Generated paths already contain /v2, so do not include it in the base URL.

Method names come from the spec's operation IDs. MeControllerGetMeWithResponse reads the profile and BookingsController20240813GetBookingsWithResponse lists bookings. The error return covers transport and decoding failures; inspect StatusCode() and the parsed status field for API failures.

The full API is in the Go reference; after go get, go doc github.com/psyb0t/go-calcom prints it locally.

Auth

Cal.com uses Authorization: Bearer <token> with an API key or supported access token. Read the credential from CALCOM_API_KEY; the request editor above attaches the header. The spec expresses authentication as operation header parameters rather than securitySchemes, so required Authorization fields must also be populated in the generated params.

Many endpoints require a cal-api-version header. Populate CalApiVersion in that operation's params: bookings use 2024-08-13, event types 2024-06-14, schedules 2024-06-11, and available slots 2024-09-04. These dates select endpoint versions. /v2/me has no version header in the spec. Check the generated parameter comments for each endpoint; defaults in the spec are not filled in automatically.

Some endpoints accept the deprecated Platform headers x-cal-client-id and x-cal-secret-key. API access and supported authentication depend on the endpoint and account plan. See the provider introduction.

Regenerating

The spec is not committed. make generate downloads the current OpenAPI document into the gitignored api/ directory and regenerates the client:

make generate

gen.go declares the steps, so make generate is just go generate ./...:

  • scripts/fetch-spec.sh downloads https://raw.githubusercontent.com/calcom/cal.com/main/docs/api-reference/v2/openapi.json to api/openapi.json.
  • scripts/patch-spec.sh writes api/openapi.patched.json. The source reuses operation IDs for the singular and plural calendar event GET and PATCH routes. The patch gives the singular aliases distinct IDs and retains every route.
  • The patch also replaces the reassignment response's self-referential data schema with an open object. Its description names two schemas absent from the document. Returned fields are preserved in a map[string]any.
  • oapi-codegen runs with config.yaml. The config maps unformatted number fields to float64 instead of float32.

.github/workflows/regen.yml does the same every day in CI. When the new spec changes the client, it runs make lint, make test and make sec. If a check fails, Claude edits the code and the checks run again, up to three times, and a review step reads the result. A passing change is committed with a CHANGELOG entry and tagged as the next release: a patch version for fixes and additions, a minor version for breaking changes.

Agent integrations

The skill teaches a coding agent how to use go-calcom when it writes Go. It works in agents that read .agents/skills/, and installs through the clients below once listed in the marketplace.

Claude Code
claude plugin marketplace add psyb0t/agents
claude plugin install go-calcom@psyb0t
Codex
codex plugin marketplace add psyb0t/agents
codex plugin add go-calcom@psyb0t

Codex also picks the skill up with no install in any checkout of this repo.

OpenClaw

The release workflow is configured to publish the skill to ClawHub. After publication:

openclaw skills install @psyb0t/go-calcom

Development

Every command runs in the Dockerfile.dev image. The host needs only Docker and Make.

make help      # list targets
make dep       # go mod tidy + vendor
make lint      # shellcheck, shfmt, go fix, golangci-lint
make test      # go test -race
make sec       # gitleaks, govulncheck, semgrep
make generate  # download the spec and regenerate

License

MIT. The generated code comes from the public specification in the Cal.com repository. The specification itself is not redistributed here and declares no license or terms URL in its metadata. The client license does not grant rights to the upstream specification or hosted service.

Documentation

Overview

Package calcom provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Package calcom is a Go client for the Cal.com API v2, generated with oapi-codegen from the OpenAPI document Cal.com publishes.

Example

This is the README usage example. It requires real credentials.

package main

import (
	"context"
	"net/http"
	"os"

	"github.com/psyb0t/go-calcom"
)

func main() {
	token := "Bearer " + os.Getenv("CALCOM_API_KEY")
	auth := calcom.WithRequestEditorFn(
		func(_ context.Context, req *http.Request) error {
			req.Header.Set("Authorization", token)

			return nil
		},
	)

	client, err := calcom.NewClientWithResponses("https://api.cal.com", auth)
	if err != nil {
		panic(err)
	}

	res, err := client.MeControllerGetMeWithResponse(
		context.Background(),
		&calcom.MeControllerGetMeParams{Authorization: token},
	)
	if err != nil {
		panic(err)
	}

	if res.StatusCode() != http.StatusOK || res.JSON200 == nil {
		panic(res.Status())
	}

	_ = res.JSON200.Data.Username
}

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApiKeysControllerRefreshRequest

func NewApiKeysControllerRefreshRequest(server string, params *ApiKeysControllerRefreshParams, body ApiKeysControllerRefreshJSONRequestBody) (*http.Request, error)

NewApiKeysControllerRefreshRequest calls the generic ApiKeysControllerRefresh builder with application/json body

func NewApiKeysControllerRefreshRequestWithBody

func NewApiKeysControllerRefreshRequestWithBody(server string, params *ApiKeysControllerRefreshParams, contentType string, body io.Reader) (*http.Request, error)

NewApiKeysControllerRefreshRequestWithBody constructs an http.Request for the ApiKeysControllerRefresh method, with any body, and a specified content type

func NewBookingAttendeesController20240813AddAttendeeRequest

func NewBookingAttendeesController20240813AddAttendeeRequest(server string, bookingUid string, params *BookingAttendeesController20240813AddAttendeeParams, body BookingAttendeesController20240813AddAttendeeJSONRequestBody) (*http.Request, error)

NewBookingAttendeesController20240813AddAttendeeRequest calls the generic BookingAttendeesController20240813AddAttendee builder with application/json body

func NewBookingAttendeesController20240813AddAttendeeRequestWithBody

func NewBookingAttendeesController20240813AddAttendeeRequestWithBody(server string, bookingUid string, params *BookingAttendeesController20240813AddAttendeeParams, contentType string, body io.Reader) (*http.Request, error)

NewBookingAttendeesController20240813AddAttendeeRequestWithBody constructs an http.Request for the BookingAttendeesController20240813AddAttendee method, with any body, and a specified content type

func NewBookingAttendeesController20240813GetBookingAttendeeRequest

func NewBookingAttendeesController20240813GetBookingAttendeeRequest(server string, bookingUid string, attendeeId float64, params *BookingAttendeesController20240813GetBookingAttendeeParams) (*http.Request, error)

NewBookingAttendeesController20240813GetBookingAttendeeRequest constructs an http.Request for the BookingAttendeesController20240813GetBookingAttendee method

func NewBookingAttendeesController20240813GetBookingAttendeesRequest

func NewBookingAttendeesController20240813GetBookingAttendeesRequest(server string, bookingUid string, params *BookingAttendeesController20240813GetBookingAttendeesParams) (*http.Request, error)

NewBookingAttendeesController20240813GetBookingAttendeesRequest constructs an http.Request for the BookingAttendeesController20240813GetBookingAttendees method

func NewBookingAttendeesController20240813RemoveAttendeeRequest

func NewBookingAttendeesController20240813RemoveAttendeeRequest(server string, bookingUid string, attendeeId float64, params *BookingAttendeesController20240813RemoveAttendeeParams) (*http.Request, error)

NewBookingAttendeesController20240813RemoveAttendeeRequest constructs an http.Request for the BookingAttendeesController20240813RemoveAttendee method

func NewBookingGuestsController20240813AddGuestsRequest

func NewBookingGuestsController20240813AddGuestsRequest(server string, bookingUid string, params *BookingGuestsController20240813AddGuestsParams, body BookingGuestsController20240813AddGuestsJSONRequestBody) (*http.Request, error)

NewBookingGuestsController20240813AddGuestsRequest calls the generic BookingGuestsController20240813AddGuests builder with application/json body

func NewBookingGuestsController20240813AddGuestsRequestWithBody

func NewBookingGuestsController20240813AddGuestsRequestWithBody(server string, bookingUid string, params *BookingGuestsController20240813AddGuestsParams, contentType string, body io.Reader) (*http.Request, error)

NewBookingGuestsController20240813AddGuestsRequestWithBody constructs an http.Request for the BookingGuestsController20240813AddGuests method, with any body, and a specified content type

func NewBookingLocationController20240813UpdateBookingLocationRequest

func NewBookingLocationController20240813UpdateBookingLocationRequest(server string, bookingUid string, params *BookingLocationController20240813UpdateBookingLocationParams, body BookingLocationController20240813UpdateBookingLocationJSONRequestBody) (*http.Request, error)

NewBookingLocationController20240813UpdateBookingLocationRequest calls the generic BookingLocationController20240813UpdateBookingLocation builder with application/json body

func NewBookingLocationController20240813UpdateBookingLocationRequestWithBody

func NewBookingLocationController20240813UpdateBookingLocationRequestWithBody(server string, bookingUid string, params *BookingLocationController20240813UpdateBookingLocationParams, contentType string, body io.Reader) (*http.Request, error)

NewBookingLocationController20240813UpdateBookingLocationRequestWithBody constructs an http.Request for the BookingLocationController20240813UpdateBookingLocation method, with any body, and a specified content type

func NewBookingsController20240813CancelBookingRequest

func NewBookingsController20240813CancelBookingRequest(server string, bookingUid string, params *BookingsController20240813CancelBookingParams, body BookingsController20240813CancelBookingJSONRequestBody) (*http.Request, error)

NewBookingsController20240813CancelBookingRequest calls the generic BookingsController20240813CancelBooking builder with application/json body

func NewBookingsController20240813CancelBookingRequestWithBody

func NewBookingsController20240813CancelBookingRequestWithBody(server string, bookingUid string, params *BookingsController20240813CancelBookingParams, contentType string, body io.Reader) (*http.Request, error)

NewBookingsController20240813CancelBookingRequestWithBody constructs an http.Request for the BookingsController20240813CancelBooking method, with any body, and a specified content type

func NewBookingsController20240813ConfirmBookingRequest

func NewBookingsController20240813ConfirmBookingRequest(server string, bookingUid string, params *BookingsController20240813ConfirmBookingParams) (*http.Request, error)

NewBookingsController20240813ConfirmBookingRequest constructs an http.Request for the BookingsController20240813ConfirmBooking method

func NewBookingsController20240813CreateBookingRequest

func NewBookingsController20240813CreateBookingRequest(server string, params *BookingsController20240813CreateBookingParams, body BookingsController20240813CreateBookingJSONRequestBody) (*http.Request, error)

NewBookingsController20240813CreateBookingRequest calls the generic BookingsController20240813CreateBooking builder with application/json body

func NewBookingsController20240813CreateBookingRequestWithBody

func NewBookingsController20240813CreateBookingRequestWithBody(server string, params *BookingsController20240813CreateBookingParams, contentType string, body io.Reader) (*http.Request, error)

NewBookingsController20240813CreateBookingRequestWithBody constructs an http.Request for the BookingsController20240813CreateBooking method, with any body, and a specified content type

func NewBookingsController20240813DeclineBookingRequest

func NewBookingsController20240813DeclineBookingRequest(server string, bookingUid string, params *BookingsController20240813DeclineBookingParams, body BookingsController20240813DeclineBookingJSONRequestBody) (*http.Request, error)

NewBookingsController20240813DeclineBookingRequest calls the generic BookingsController20240813DeclineBooking builder with application/json body

func NewBookingsController20240813DeclineBookingRequestWithBody

func NewBookingsController20240813DeclineBookingRequestWithBody(server string, bookingUid string, params *BookingsController20240813DeclineBookingParams, contentType string, body io.Reader) (*http.Request, error)

NewBookingsController20240813DeclineBookingRequestWithBody constructs an http.Request for the BookingsController20240813DeclineBooking method, with any body, and a specified content type

func NewBookingsController20240813GetBookingBySeatUidRequest

func NewBookingsController20240813GetBookingBySeatUidRequest(server string, seatUid string, params *BookingsController20240813GetBookingBySeatUidParams) (*http.Request, error)

NewBookingsController20240813GetBookingBySeatUidRequest constructs an http.Request for the BookingsController20240813GetBookingBySeatUid method

func NewBookingsController20240813GetBookingRecordingsRequest

func NewBookingsController20240813GetBookingRecordingsRequest(server string, bookingUid string, params *BookingsController20240813GetBookingRecordingsParams) (*http.Request, error)

NewBookingsController20240813GetBookingRecordingsRequest constructs an http.Request for the BookingsController20240813GetBookingRecordings method

func NewBookingsController20240813GetBookingReferencesRequest

func NewBookingsController20240813GetBookingReferencesRequest(server string, bookingUid string, params *BookingsController20240813GetBookingReferencesParams) (*http.Request, error)

NewBookingsController20240813GetBookingReferencesRequest constructs an http.Request for the BookingsController20240813GetBookingReferences method

func NewBookingsController20240813GetBookingRequest

func NewBookingsController20240813GetBookingRequest(server string, bookingUid string, params *BookingsController20240813GetBookingParams) (*http.Request, error)

NewBookingsController20240813GetBookingRequest constructs an http.Request for the BookingsController20240813GetBooking method

func NewBookingsController20240813GetBookingTranscriptsRequest

func NewBookingsController20240813GetBookingTranscriptsRequest(server string, bookingUid string, params *BookingsController20240813GetBookingTranscriptsParams) (*http.Request, error)

NewBookingsController20240813GetBookingTranscriptsRequest constructs an http.Request for the BookingsController20240813GetBookingTranscripts method

func NewBookingsController20240813GetBookingsRequest

func NewBookingsController20240813GetBookingsRequest(server string, params *BookingsController20240813GetBookingsParams) (*http.Request, error)

NewBookingsController20240813GetBookingsRequest constructs an http.Request for the BookingsController20240813GetBookings method

func NewBookingsController20240813GetCalendarLinksRequest

func NewBookingsController20240813GetCalendarLinksRequest(server string, bookingUid string, params *BookingsController20240813GetCalendarLinksParams) (*http.Request, error)

NewBookingsController20240813GetCalendarLinksRequest constructs an http.Request for the BookingsController20240813GetCalendarLinks method

func NewBookingsController20240813GetVideoSessionsRequest

func NewBookingsController20240813GetVideoSessionsRequest(server string, bookingUid string, params *BookingsController20240813GetVideoSessionsParams) (*http.Request, error)

NewBookingsController20240813GetVideoSessionsRequest constructs an http.Request for the BookingsController20240813GetVideoSessions method

func NewBookingsController20240813MarkNoShowRequest

func NewBookingsController20240813MarkNoShowRequest(server string, bookingUid string, params *BookingsController20240813MarkNoShowParams, body BookingsController20240813MarkNoShowJSONRequestBody) (*http.Request, error)

NewBookingsController20240813MarkNoShowRequest calls the generic BookingsController20240813MarkNoShow builder with application/json body

func NewBookingsController20240813MarkNoShowRequestWithBody

func NewBookingsController20240813MarkNoShowRequestWithBody(server string, bookingUid string, params *BookingsController20240813MarkNoShowParams, contentType string, body io.Reader) (*http.Request, error)

NewBookingsController20240813MarkNoShowRequestWithBody constructs an http.Request for the BookingsController20240813MarkNoShow method, with any body, and a specified content type

func NewBookingsController20240813ReassignBookingRequest

func NewBookingsController20240813ReassignBookingRequest(server string, bookingUid string, params *BookingsController20240813ReassignBookingParams) (*http.Request, error)

NewBookingsController20240813ReassignBookingRequest constructs an http.Request for the BookingsController20240813ReassignBooking method

func NewBookingsController20240813ReassignBookingToUserRequest

func NewBookingsController20240813ReassignBookingToUserRequest(server string, bookingUid string, userId float64, params *BookingsController20240813ReassignBookingToUserParams, body BookingsController20240813ReassignBookingToUserJSONRequestBody) (*http.Request, error)

NewBookingsController20240813ReassignBookingToUserRequest calls the generic BookingsController20240813ReassignBookingToUser builder with application/json body

func NewBookingsController20240813ReassignBookingToUserRequestWithBody

func NewBookingsController20240813ReassignBookingToUserRequestWithBody(server string, bookingUid string, userId float64, params *BookingsController20240813ReassignBookingToUserParams, contentType string, body io.Reader) (*http.Request, error)

NewBookingsController20240813ReassignBookingToUserRequestWithBody constructs an http.Request for the BookingsController20240813ReassignBookingToUser method, with any body, and a specified content type

func NewBookingsController20240813RescheduleBookingRequest

func NewBookingsController20240813RescheduleBookingRequest(server string, bookingUid string, params *BookingsController20240813RescheduleBookingParams, body BookingsController20240813RescheduleBookingJSONRequestBody) (*http.Request, error)

NewBookingsController20240813RescheduleBookingRequest calls the generic BookingsController20240813RescheduleBooking builder with application/json body

func NewBookingsController20240813RescheduleBookingRequestWithBody

func NewBookingsController20240813RescheduleBookingRequestWithBody(server string, bookingUid string, params *BookingsController20240813RescheduleBookingParams, contentType string, body io.Reader) (*http.Request, error)

NewBookingsController20240813RescheduleBookingRequestWithBody constructs an http.Request for the BookingsController20240813RescheduleBooking method, with any body, and a specified content type

func NewCalUnifiedCalendarsControllerCreateCalendarEventRequest

NewCalUnifiedCalendarsControllerCreateCalendarEventRequest calls the generic CalUnifiedCalendarsControllerCreateCalendarEvent builder with application/json body

func NewCalUnifiedCalendarsControllerCreateCalendarEventRequestWithBody

func NewCalUnifiedCalendarsControllerCreateCalendarEventRequestWithBody(server string, calendar CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar, params *CalUnifiedCalendarsControllerCreateCalendarEventParams, contentType string, body io.Reader) (*http.Request, error)

NewCalUnifiedCalendarsControllerCreateCalendarEventRequestWithBody constructs an http.Request for the CalUnifiedCalendarsControllerCreateCalendarEvent method, with any body, and a specified content type

func NewCalUnifiedCalendarsControllerCreateConnectionEventRequest

func NewCalUnifiedCalendarsControllerCreateConnectionEventRequest(server string, connectionId string, params *CalUnifiedCalendarsControllerCreateConnectionEventParams, body CalUnifiedCalendarsControllerCreateConnectionEventJSONRequestBody) (*http.Request, error)

NewCalUnifiedCalendarsControllerCreateConnectionEventRequest calls the generic CalUnifiedCalendarsControllerCreateConnectionEvent builder with application/json body

func NewCalUnifiedCalendarsControllerCreateConnectionEventRequestWithBody

func NewCalUnifiedCalendarsControllerCreateConnectionEventRequestWithBody(server string, connectionId string, params *CalUnifiedCalendarsControllerCreateConnectionEventParams, contentType string, body io.Reader) (*http.Request, error)

NewCalUnifiedCalendarsControllerCreateConnectionEventRequestWithBody constructs an http.Request for the CalUnifiedCalendarsControllerCreateConnectionEvent method, with any body, and a specified content type

func NewCalUnifiedCalendarsControllerDeleteCalendarEventRequest

func NewCalUnifiedCalendarsControllerDeleteCalendarEventRequest(server string, calendar CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerDeleteCalendarEventParams) (*http.Request, error)

NewCalUnifiedCalendarsControllerDeleteCalendarEventRequest constructs an http.Request for the CalUnifiedCalendarsControllerDeleteCalendarEvent method

func NewCalUnifiedCalendarsControllerDeleteConnectionEventRequest

func NewCalUnifiedCalendarsControllerDeleteConnectionEventRequest(server string, connectionId string, eventId string, params *CalUnifiedCalendarsControllerDeleteConnectionEventParams) (*http.Request, error)

NewCalUnifiedCalendarsControllerDeleteConnectionEventRequest constructs an http.Request for the CalUnifiedCalendarsControllerDeleteConnectionEvent method

func NewCalUnifiedCalendarsControllerGetCalendarEventDetailsRequest

func NewCalUnifiedCalendarsControllerGetCalendarEventDetailsRequest(server string, calendar CalUnifiedCalendarsControllerGetCalendarEventDetailsParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerGetCalendarEventDetailsParams) (*http.Request, error)

NewCalUnifiedCalendarsControllerGetCalendarEventDetailsRequest constructs an http.Request for the CalUnifiedCalendarsControllerGetCalendarEventDetails method

func NewCalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathRequest

func NewCalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathRequest(server string, calendar CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParams) (*http.Request, error)

NewCalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathRequest constructs an http.Request for the CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPath method

func NewCalUnifiedCalendarsControllerGetConnectionEventRequest

func NewCalUnifiedCalendarsControllerGetConnectionEventRequest(server string, connectionId string, eventId string, params *CalUnifiedCalendarsControllerGetConnectionEventParams) (*http.Request, error)

NewCalUnifiedCalendarsControllerGetConnectionEventRequest constructs an http.Request for the CalUnifiedCalendarsControllerGetConnectionEvent method

func NewCalUnifiedCalendarsControllerGetConnectionFreeBusyRequest

func NewCalUnifiedCalendarsControllerGetConnectionFreeBusyRequest(server string, connectionId string, params *CalUnifiedCalendarsControllerGetConnectionFreeBusyParams) (*http.Request, error)

NewCalUnifiedCalendarsControllerGetConnectionFreeBusyRequest constructs an http.Request for the CalUnifiedCalendarsControllerGetConnectionFreeBusy method

func NewCalUnifiedCalendarsControllerGetFreeBusyRequest

func NewCalUnifiedCalendarsControllerGetFreeBusyRequest(server string, calendar CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar, params *CalUnifiedCalendarsControllerGetFreeBusyParams) (*http.Request, error)

NewCalUnifiedCalendarsControllerGetFreeBusyRequest constructs an http.Request for the CalUnifiedCalendarsControllerGetFreeBusy method

func NewCalUnifiedCalendarsControllerListCalendarEventsRequest

func NewCalUnifiedCalendarsControllerListCalendarEventsRequest(server string, calendar CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar, params *CalUnifiedCalendarsControllerListCalendarEventsParams) (*http.Request, error)

NewCalUnifiedCalendarsControllerListCalendarEventsRequest constructs an http.Request for the CalUnifiedCalendarsControllerListCalendarEvents method

func NewCalUnifiedCalendarsControllerListConnectionEventsRequest

func NewCalUnifiedCalendarsControllerListConnectionEventsRequest(server string, connectionId string, params *CalUnifiedCalendarsControllerListConnectionEventsParams) (*http.Request, error)

NewCalUnifiedCalendarsControllerListConnectionEventsRequest constructs an http.Request for the CalUnifiedCalendarsControllerListConnectionEvents method

func NewCalUnifiedCalendarsControllerListConnectionsRequest

func NewCalUnifiedCalendarsControllerListConnectionsRequest(server string, params *CalUnifiedCalendarsControllerListConnectionsParams) (*http.Request, error)

NewCalUnifiedCalendarsControllerListConnectionsRequest constructs an http.Request for the CalUnifiedCalendarsControllerListConnections method

func NewCalUnifiedCalendarsControllerUpdateCalendarEventRequest

NewCalUnifiedCalendarsControllerUpdateCalendarEventRequest calls the generic CalUnifiedCalendarsControllerUpdateCalendarEvent builder with application/json body

func NewCalUnifiedCalendarsControllerUpdateCalendarEventRequestWithBody

func NewCalUnifiedCalendarsControllerUpdateCalendarEventRequestWithBody(server string, calendar CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventParams, contentType string, body io.Reader) (*http.Request, error)

NewCalUnifiedCalendarsControllerUpdateCalendarEventRequestWithBody constructs an http.Request for the CalUnifiedCalendarsControllerUpdateCalendarEvent method, with any body, and a specified content type

func NewCalUnifiedCalendarsControllerUpdateCalendarEventSingularPathRequest

NewCalUnifiedCalendarsControllerUpdateCalendarEventSingularPathRequest calls the generic CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath builder with application/json body

func NewCalUnifiedCalendarsControllerUpdateCalendarEventSingularPathRequestWithBody

func NewCalUnifiedCalendarsControllerUpdateCalendarEventSingularPathRequestWithBody(server string, calendar CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParams, contentType string, body io.Reader) (*http.Request, error)

NewCalUnifiedCalendarsControllerUpdateCalendarEventSingularPathRequestWithBody constructs an http.Request for the CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath method, with any body, and a specified content type

func NewCalUnifiedCalendarsControllerUpdateConnectionEventRequest

func NewCalUnifiedCalendarsControllerUpdateConnectionEventRequest(server string, connectionId string, eventId string, params *CalUnifiedCalendarsControllerUpdateConnectionEventParams, body CalUnifiedCalendarsControllerUpdateConnectionEventJSONRequestBody) (*http.Request, error)

NewCalUnifiedCalendarsControllerUpdateConnectionEventRequest calls the generic CalUnifiedCalendarsControllerUpdateConnectionEvent builder with application/json body

func NewCalUnifiedCalendarsControllerUpdateConnectionEventRequestWithBody

func NewCalUnifiedCalendarsControllerUpdateConnectionEventRequestWithBody(server string, connectionId string, eventId string, params *CalUnifiedCalendarsControllerUpdateConnectionEventParams, contentType string, body io.Reader) (*http.Request, error)

NewCalUnifiedCalendarsControllerUpdateConnectionEventRequestWithBody constructs an http.Request for the CalUnifiedCalendarsControllerUpdateConnectionEvent method, with any body, and a specified content type

func NewCalendarsControllerCheckIcsFeedRequest

func NewCalendarsControllerCheckIcsFeedRequest(server string, params *CalendarsControllerCheckIcsFeedParams) (*http.Request, error)

NewCalendarsControllerCheckIcsFeedRequest constructs an http.Request for the CalendarsControllerCheckIcsFeed method

func NewCalendarsControllerCheckRequest

func NewCalendarsControllerCheckRequest(server string, calendar CalendarsControllerCheckParamsCalendar, params *CalendarsControllerCheckParams) (*http.Request, error)

NewCalendarsControllerCheckRequest constructs an http.Request for the CalendarsControllerCheck method

func NewCalendarsControllerCreateIcsFeedRequest

func NewCalendarsControllerCreateIcsFeedRequest(server string, params *CalendarsControllerCreateIcsFeedParams, body CalendarsControllerCreateIcsFeedJSONRequestBody) (*http.Request, error)

NewCalendarsControllerCreateIcsFeedRequest calls the generic CalendarsControllerCreateIcsFeed builder with application/json body

func NewCalendarsControllerCreateIcsFeedRequestWithBody

func NewCalendarsControllerCreateIcsFeedRequestWithBody(server string, params *CalendarsControllerCreateIcsFeedParams, contentType string, body io.Reader) (*http.Request, error)

NewCalendarsControllerCreateIcsFeedRequestWithBody constructs an http.Request for the CalendarsControllerCreateIcsFeed method, with any body, and a specified content type

func NewCalendarsControllerDeleteCalendarCredentialsRequest

NewCalendarsControllerDeleteCalendarCredentialsRequest calls the generic CalendarsControllerDeleteCalendarCredentials builder with application/json body

func NewCalendarsControllerDeleteCalendarCredentialsRequestWithBody

func NewCalendarsControllerDeleteCalendarCredentialsRequestWithBody(server string, calendar CalendarsControllerDeleteCalendarCredentialsParamsCalendar, params *CalendarsControllerDeleteCalendarCredentialsParams, contentType string, body io.Reader) (*http.Request, error)

NewCalendarsControllerDeleteCalendarCredentialsRequestWithBody constructs an http.Request for the CalendarsControllerDeleteCalendarCredentials method, with any body, and a specified content type

func NewCalendarsControllerGetBusyTimesRequest

func NewCalendarsControllerGetBusyTimesRequest(server string, params *CalendarsControllerGetBusyTimesParams) (*http.Request, error)

NewCalendarsControllerGetBusyTimesRequest constructs an http.Request for the CalendarsControllerGetBusyTimes method

func NewCalendarsControllerGetCalendarsRequest

func NewCalendarsControllerGetCalendarsRequest(server string, params *CalendarsControllerGetCalendarsParams) (*http.Request, error)

NewCalendarsControllerGetCalendarsRequest constructs an http.Request for the CalendarsControllerGetCalendars method

func NewCalendarsControllerRedirectRequest

func NewCalendarsControllerRedirectRequest(server string, calendar CalendarsControllerRedirectParamsCalendar, params *CalendarsControllerRedirectParams) (*http.Request, error)

NewCalendarsControllerRedirectRequest constructs an http.Request for the CalendarsControllerRedirect method

func NewCalendarsControllerSaveRequest

func NewCalendarsControllerSaveRequest(server string, calendar CalendarsControllerSaveParamsCalendar, params *CalendarsControllerSaveParams) (*http.Request, error)

NewCalendarsControllerSaveRequest constructs an http.Request for the CalendarsControllerSave method

func NewCalendarsControllerSyncCredentialsRequest

NewCalendarsControllerSyncCredentialsRequest calls the generic CalendarsControllerSyncCredentials builder with application/json body

func NewCalendarsControllerSyncCredentialsRequestWithBody

func NewCalendarsControllerSyncCredentialsRequestWithBody(server string, calendar CalendarsControllerSyncCredentialsParamsCalendar, params *CalendarsControllerSyncCredentialsParams, contentType string, body io.Reader) (*http.Request, error)

NewCalendarsControllerSyncCredentialsRequestWithBody constructs an http.Request for the CalendarsControllerSyncCredentials method, with any body, and a specified content type

func NewConferencingControllerConnectRequest

func NewConferencingControllerConnectRequest(server string, app ConferencingControllerConnectParamsApp, params *ConferencingControllerConnectParams) (*http.Request, error)

NewConferencingControllerConnectRequest constructs an http.Request for the ConferencingControllerConnect method

func NewConferencingControllerDefaultRequest

func NewConferencingControllerDefaultRequest(server string, app ConferencingControllerDefaultParamsApp, params *ConferencingControllerDefaultParams) (*http.Request, error)

NewConferencingControllerDefaultRequest constructs an http.Request for the ConferencingControllerDefault method

func NewConferencingControllerDisconnectRequest

func NewConferencingControllerDisconnectRequest(server string, app ConferencingControllerDisconnectParamsApp, params *ConferencingControllerDisconnectParams) (*http.Request, error)

NewConferencingControllerDisconnectRequest constructs an http.Request for the ConferencingControllerDisconnect method

func NewConferencingControllerGetDefaultRequest

func NewConferencingControllerGetDefaultRequest(server string, params *ConferencingControllerGetDefaultParams) (*http.Request, error)

NewConferencingControllerGetDefaultRequest constructs an http.Request for the ConferencingControllerGetDefault method

func NewConferencingControllerListInstalledConferencingAppsRequest

func NewConferencingControllerListInstalledConferencingAppsRequest(server string, params *ConferencingControllerListInstalledConferencingAppsParams) (*http.Request, error)

NewConferencingControllerListInstalledConferencingAppsRequest constructs an http.Request for the ConferencingControllerListInstalledConferencingApps method

func NewConferencingControllerRedirectRequest

func NewConferencingControllerRedirectRequest(server string, app ConferencingControllerRedirectParamsApp, params *ConferencingControllerRedirectParams) (*http.Request, error)

NewConferencingControllerRedirectRequest constructs an http.Request for the ConferencingControllerRedirect method

func NewConferencingControllerSaveRequest

func NewConferencingControllerSaveRequest(server string, app ConferencingControllerSaveParamsApp, params *ConferencingControllerSaveParams) (*http.Request, error)

NewConferencingControllerSaveRequest constructs an http.Request for the ConferencingControllerSave method

func NewDestinationCalendarsControllerUpdateDestinationCalendarsRequest

func NewDestinationCalendarsControllerUpdateDestinationCalendarsRequest(server string, params *DestinationCalendarsControllerUpdateDestinationCalendarsParams, body DestinationCalendarsControllerUpdateDestinationCalendarsJSONRequestBody) (*http.Request, error)

NewDestinationCalendarsControllerUpdateDestinationCalendarsRequest calls the generic DestinationCalendarsControllerUpdateDestinationCalendars builder with application/json body

func NewDestinationCalendarsControllerUpdateDestinationCalendarsRequestWithBody

func NewDestinationCalendarsControllerUpdateDestinationCalendarsRequestWithBody(server string, params *DestinationCalendarsControllerUpdateDestinationCalendarsParams, contentType string, body io.Reader) (*http.Request, error)

NewDestinationCalendarsControllerUpdateDestinationCalendarsRequestWithBody constructs an http.Request for the DestinationCalendarsControllerUpdateDestinationCalendars method, with any body, and a specified content type

func NewEventTypeWebhooksControllerCreateEventTypeWebhookRequest

func NewEventTypeWebhooksControllerCreateEventTypeWebhookRequest(server string, eventTypeId float64, params *EventTypeWebhooksControllerCreateEventTypeWebhookParams, body EventTypeWebhooksControllerCreateEventTypeWebhookJSONRequestBody) (*http.Request, error)

NewEventTypeWebhooksControllerCreateEventTypeWebhookRequest calls the generic EventTypeWebhooksControllerCreateEventTypeWebhook builder with application/json body

func NewEventTypeWebhooksControllerCreateEventTypeWebhookRequestWithBody

func NewEventTypeWebhooksControllerCreateEventTypeWebhookRequestWithBody(server string, eventTypeId float64, params *EventTypeWebhooksControllerCreateEventTypeWebhookParams, contentType string, body io.Reader) (*http.Request, error)

NewEventTypeWebhooksControllerCreateEventTypeWebhookRequestWithBody constructs an http.Request for the EventTypeWebhooksControllerCreateEventTypeWebhook method, with any body, and a specified content type

func NewEventTypeWebhooksControllerDeleteAllEventTypeWebhooksRequest

func NewEventTypeWebhooksControllerDeleteAllEventTypeWebhooksRequest(server string, eventTypeId float64, params *EventTypeWebhooksControllerDeleteAllEventTypeWebhooksParams) (*http.Request, error)

NewEventTypeWebhooksControllerDeleteAllEventTypeWebhooksRequest constructs an http.Request for the EventTypeWebhooksControllerDeleteAllEventTypeWebhooks method

func NewEventTypeWebhooksControllerDeleteEventTypeWebhookRequest

func NewEventTypeWebhooksControllerDeleteEventTypeWebhookRequest(server string, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerDeleteEventTypeWebhookParams) (*http.Request, error)

NewEventTypeWebhooksControllerDeleteEventTypeWebhookRequest constructs an http.Request for the EventTypeWebhooksControllerDeleteEventTypeWebhook method

func NewEventTypeWebhooksControllerGetEventTypeWebhookRequest

func NewEventTypeWebhooksControllerGetEventTypeWebhookRequest(server string, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerGetEventTypeWebhookParams) (*http.Request, error)

NewEventTypeWebhooksControllerGetEventTypeWebhookRequest constructs an http.Request for the EventTypeWebhooksControllerGetEventTypeWebhook method

func NewEventTypeWebhooksControllerGetEventTypeWebhooksRequest

func NewEventTypeWebhooksControllerGetEventTypeWebhooksRequest(server string, eventTypeId float64, params *EventTypeWebhooksControllerGetEventTypeWebhooksParams) (*http.Request, error)

NewEventTypeWebhooksControllerGetEventTypeWebhooksRequest constructs an http.Request for the EventTypeWebhooksControllerGetEventTypeWebhooks method

func NewEventTypeWebhooksControllerUpdateEventTypeWebhookRequest

func NewEventTypeWebhooksControllerUpdateEventTypeWebhookRequest(server string, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerUpdateEventTypeWebhookParams, body EventTypeWebhooksControllerUpdateEventTypeWebhookJSONRequestBody) (*http.Request, error)

NewEventTypeWebhooksControllerUpdateEventTypeWebhookRequest calls the generic EventTypeWebhooksControllerUpdateEventTypeWebhook builder with application/json body

func NewEventTypeWebhooksControllerUpdateEventTypeWebhookRequestWithBody

func NewEventTypeWebhooksControllerUpdateEventTypeWebhookRequestWithBody(server string, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerUpdateEventTypeWebhookParams, contentType string, body io.Reader) (*http.Request, error)

NewEventTypeWebhooksControllerUpdateEventTypeWebhookRequestWithBody constructs an http.Request for the EventTypeWebhooksControllerUpdateEventTypeWebhook method, with any body, and a specified content type

func NewEventTypesController20240614CreateEventTypeRequest

func NewEventTypesController20240614CreateEventTypeRequest(server string, params *EventTypesController20240614CreateEventTypeParams, body EventTypesController20240614CreateEventTypeJSONRequestBody) (*http.Request, error)

NewEventTypesController20240614CreateEventTypeRequest calls the generic EventTypesController20240614CreateEventType builder with application/json body

func NewEventTypesController20240614CreateEventTypeRequestWithBody

func NewEventTypesController20240614CreateEventTypeRequestWithBody(server string, params *EventTypesController20240614CreateEventTypeParams, contentType string, body io.Reader) (*http.Request, error)

NewEventTypesController20240614CreateEventTypeRequestWithBody constructs an http.Request for the EventTypesController20240614CreateEventType method, with any body, and a specified content type

func NewEventTypesController20240614DeleteEventTypeRequest

func NewEventTypesController20240614DeleteEventTypeRequest(server string, eventTypeId float64, params *EventTypesController20240614DeleteEventTypeParams) (*http.Request, error)

NewEventTypesController20240614DeleteEventTypeRequest constructs an http.Request for the EventTypesController20240614DeleteEventType method

func NewEventTypesController20240614GetEventTypeByIdRequest

func NewEventTypesController20240614GetEventTypeByIdRequest(server string, eventTypeId string, params *EventTypesController20240614GetEventTypeByIdParams) (*http.Request, error)

NewEventTypesController20240614GetEventTypeByIdRequest constructs an http.Request for the EventTypesController20240614GetEventTypeById method

func NewEventTypesController20240614GetEventTypesRequest

func NewEventTypesController20240614GetEventTypesRequest(server string, params *EventTypesController20240614GetEventTypesParams) (*http.Request, error)

NewEventTypesController20240614GetEventTypesRequest constructs an http.Request for the EventTypesController20240614GetEventTypes method

func NewEventTypesController20240614UpdateEventTypeRequest

func NewEventTypesController20240614UpdateEventTypeRequest(server string, eventTypeId float64, params *EventTypesController20240614UpdateEventTypeParams, body EventTypesController20240614UpdateEventTypeJSONRequestBody) (*http.Request, error)

NewEventTypesController20240614UpdateEventTypeRequest calls the generic EventTypesController20240614UpdateEventType builder with application/json body

func NewEventTypesController20240614UpdateEventTypeRequestWithBody

func NewEventTypesController20240614UpdateEventTypeRequestWithBody(server string, eventTypeId float64, params *EventTypesController20240614UpdateEventTypeParams, contentType string, body io.Reader) (*http.Request, error)

NewEventTypesController20240614UpdateEventTypeRequestWithBody constructs an http.Request for the EventTypesController20240614UpdateEventType method, with any body, and a specified content type

func NewEventTypesPrivateLinksControllerCreatePrivateLinkRequest

func NewEventTypesPrivateLinksControllerCreatePrivateLinkRequest(server string, eventTypeId float64, params *EventTypesPrivateLinksControllerCreatePrivateLinkParams, body EventTypesPrivateLinksControllerCreatePrivateLinkJSONRequestBody) (*http.Request, error)

NewEventTypesPrivateLinksControllerCreatePrivateLinkRequest calls the generic EventTypesPrivateLinksControllerCreatePrivateLink builder with application/json body

func NewEventTypesPrivateLinksControllerCreatePrivateLinkRequestWithBody

func NewEventTypesPrivateLinksControllerCreatePrivateLinkRequestWithBody(server string, eventTypeId float64, params *EventTypesPrivateLinksControllerCreatePrivateLinkParams, contentType string, body io.Reader) (*http.Request, error)

NewEventTypesPrivateLinksControllerCreatePrivateLinkRequestWithBody constructs an http.Request for the EventTypesPrivateLinksControllerCreatePrivateLink method, with any body, and a specified content type

func NewEventTypesPrivateLinksControllerDeletePrivateLinkRequest

func NewEventTypesPrivateLinksControllerDeletePrivateLinkRequest(server string, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerDeletePrivateLinkParams) (*http.Request, error)

NewEventTypesPrivateLinksControllerDeletePrivateLinkRequest constructs an http.Request for the EventTypesPrivateLinksControllerDeletePrivateLink method

func NewEventTypesPrivateLinksControllerGetPrivateLinksRequest

func NewEventTypesPrivateLinksControllerGetPrivateLinksRequest(server string, eventTypeId float64, params *EventTypesPrivateLinksControllerGetPrivateLinksParams) (*http.Request, error)

NewEventTypesPrivateLinksControllerGetPrivateLinksRequest constructs an http.Request for the EventTypesPrivateLinksControllerGetPrivateLinks method

func NewEventTypesPrivateLinksControllerUpdatePrivateLinkRequest

func NewEventTypesPrivateLinksControllerUpdatePrivateLinkRequest(server string, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerUpdatePrivateLinkParams, body EventTypesPrivateLinksControllerUpdatePrivateLinkJSONRequestBody) (*http.Request, error)

NewEventTypesPrivateLinksControllerUpdatePrivateLinkRequest calls the generic EventTypesPrivateLinksControllerUpdatePrivateLink builder with application/json body

func NewEventTypesPrivateLinksControllerUpdatePrivateLinkRequestWithBody

func NewEventTypesPrivateLinksControllerUpdatePrivateLinkRequestWithBody(server string, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerUpdatePrivateLinkParams, contentType string, body io.Reader) (*http.Request, error)

NewEventTypesPrivateLinksControllerUpdatePrivateLinkRequestWithBody constructs an http.Request for the EventTypesPrivateLinksControllerUpdatePrivateLink method, with any body, and a specified content type

func NewMeControllerGetMeRequest

func NewMeControllerGetMeRequest(server string, params *MeControllerGetMeParams) (*http.Request, error)

NewMeControllerGetMeRequest constructs an http.Request for the MeControllerGetMe method

func NewMeControllerUpdateMeRequest

func NewMeControllerUpdateMeRequest(server string, params *MeControllerUpdateMeParams, body MeControllerUpdateMeJSONRequestBody) (*http.Request, error)

NewMeControllerUpdateMeRequest calls the generic MeControllerUpdateMe builder with application/json body

func NewMeControllerUpdateMeRequestWithBody

func NewMeControllerUpdateMeRequestWithBody(server string, params *MeControllerUpdateMeParams, contentType string, body io.Reader) (*http.Request, error)

NewMeControllerUpdateMeRequestWithBody constructs an http.Request for the MeControllerUpdateMe method, with any body, and a specified content type

func NewOAuth2ControllerGetClientRequest

func NewOAuth2ControllerGetClientRequest(server string, clientId string) (*http.Request, error)

NewOAuth2ControllerGetClientRequest constructs an http.Request for the OAuth2ControllerGetClient method

func NewOAuth2ControllerTokenRequest

func NewOAuth2ControllerTokenRequest(server string, body OAuth2ControllerTokenJSONRequestBody) (*http.Request, error)

NewOAuth2ControllerTokenRequest calls the generic OAuth2ControllerToken builder with application/json body

func NewOAuth2ControllerTokenRequestWithBody

func NewOAuth2ControllerTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewOAuth2ControllerTokenRequestWithBody constructs an http.Request for the OAuth2ControllerToken method, with any body, and a specified content type

func NewOAuthClientUsersControllerCreateUserRequest

func NewOAuthClientUsersControllerCreateUserRequest(server string, clientId string, params *OAuthClientUsersControllerCreateUserParams, body OAuthClientUsersControllerCreateUserJSONRequestBody) (*http.Request, error)

NewOAuthClientUsersControllerCreateUserRequest calls the generic OAuthClientUsersControllerCreateUser builder with application/json body

func NewOAuthClientUsersControllerCreateUserRequestWithBody

func NewOAuthClientUsersControllerCreateUserRequestWithBody(server string, clientId string, params *OAuthClientUsersControllerCreateUserParams, contentType string, body io.Reader) (*http.Request, error)

NewOAuthClientUsersControllerCreateUserRequestWithBody constructs an http.Request for the OAuthClientUsersControllerCreateUser method, with any body, and a specified content type

func NewOAuthClientUsersControllerDeleteUserRequest

func NewOAuthClientUsersControllerDeleteUserRequest(server string, clientId string, userId float64, params *OAuthClientUsersControllerDeleteUserParams) (*http.Request, error)

NewOAuthClientUsersControllerDeleteUserRequest constructs an http.Request for the OAuthClientUsersControllerDeleteUser method

func NewOAuthClientUsersControllerForceRefreshRequest

func NewOAuthClientUsersControllerForceRefreshRequest(server string, clientId string, userId float64, params *OAuthClientUsersControllerForceRefreshParams) (*http.Request, error)

NewOAuthClientUsersControllerForceRefreshRequest constructs an http.Request for the OAuthClientUsersControllerForceRefresh method

func NewOAuthClientUsersControllerGetManagedUsersRequest

func NewOAuthClientUsersControllerGetManagedUsersRequest(server string, clientId string, params *OAuthClientUsersControllerGetManagedUsersParams) (*http.Request, error)

NewOAuthClientUsersControllerGetManagedUsersRequest constructs an http.Request for the OAuthClientUsersControllerGetManagedUsers method

func NewOAuthClientUsersControllerGetUserByIdRequest

func NewOAuthClientUsersControllerGetUserByIdRequest(server string, clientId string, userId float64, params *OAuthClientUsersControllerGetUserByIdParams) (*http.Request, error)

NewOAuthClientUsersControllerGetUserByIdRequest constructs an http.Request for the OAuthClientUsersControllerGetUserById method

func NewOAuthClientUsersControllerUpdateUserRequest

func NewOAuthClientUsersControllerUpdateUserRequest(server string, clientId string, userId float64, params *OAuthClientUsersControllerUpdateUserParams, body OAuthClientUsersControllerUpdateUserJSONRequestBody) (*http.Request, error)

NewOAuthClientUsersControllerUpdateUserRequest calls the generic OAuthClientUsersControllerUpdateUser builder with application/json body

func NewOAuthClientUsersControllerUpdateUserRequestWithBody

func NewOAuthClientUsersControllerUpdateUserRequestWithBody(server string, clientId string, userId float64, params *OAuthClientUsersControllerUpdateUserParams, contentType string, body io.Reader) (*http.Request, error)

NewOAuthClientUsersControllerUpdateUserRequestWithBody constructs an http.Request for the OAuthClientUsersControllerUpdateUser method, with any body, and a specified content type

func NewOAuthClientWebhooksControllerCreateOAuthClientWebhookRequest

func NewOAuthClientWebhooksControllerCreateOAuthClientWebhookRequest(server string, clientId string, params *OAuthClientWebhooksControllerCreateOAuthClientWebhookParams, body OAuthClientWebhooksControllerCreateOAuthClientWebhookJSONRequestBody) (*http.Request, error)

NewOAuthClientWebhooksControllerCreateOAuthClientWebhookRequest calls the generic OAuthClientWebhooksControllerCreateOAuthClientWebhook builder with application/json body

func NewOAuthClientWebhooksControllerCreateOAuthClientWebhookRequestWithBody

func NewOAuthClientWebhooksControllerCreateOAuthClientWebhookRequestWithBody(server string, clientId string, params *OAuthClientWebhooksControllerCreateOAuthClientWebhookParams, contentType string, body io.Reader) (*http.Request, error)

NewOAuthClientWebhooksControllerCreateOAuthClientWebhookRequestWithBody constructs an http.Request for the OAuthClientWebhooksControllerCreateOAuthClientWebhook method, with any body, and a specified content type

func NewOAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksRequest

func NewOAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksRequest(server string, clientId string, params *OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksParams) (*http.Request, error)

NewOAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksRequest constructs an http.Request for the OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooks method

func NewOAuthClientWebhooksControllerDeleteOAuthClientWebhookRequest

func NewOAuthClientWebhooksControllerDeleteOAuthClientWebhookRequest(server string, clientId string, webhookId string, params *OAuthClientWebhooksControllerDeleteOAuthClientWebhookParams) (*http.Request, error)

NewOAuthClientWebhooksControllerDeleteOAuthClientWebhookRequest constructs an http.Request for the OAuthClientWebhooksControllerDeleteOAuthClientWebhook method

func NewOAuthClientWebhooksControllerGetOAuthClientWebhookRequest

func NewOAuthClientWebhooksControllerGetOAuthClientWebhookRequest(server string, clientId string, webhookId string, params *OAuthClientWebhooksControllerGetOAuthClientWebhookParams) (*http.Request, error)

NewOAuthClientWebhooksControllerGetOAuthClientWebhookRequest constructs an http.Request for the OAuthClientWebhooksControllerGetOAuthClientWebhook method

func NewOAuthClientWebhooksControllerGetOAuthClientWebhooksRequest

func NewOAuthClientWebhooksControllerGetOAuthClientWebhooksRequest(server string, clientId string, params *OAuthClientWebhooksControllerGetOAuthClientWebhooksParams) (*http.Request, error)

NewOAuthClientWebhooksControllerGetOAuthClientWebhooksRequest constructs an http.Request for the OAuthClientWebhooksControllerGetOAuthClientWebhooks method

func NewOAuthClientWebhooksControllerUpdateOAuthClientWebhookRequest

func NewOAuthClientWebhooksControllerUpdateOAuthClientWebhookRequest(server string, clientId string, webhookId string, params *OAuthClientWebhooksControllerUpdateOAuthClientWebhookParams, body OAuthClientWebhooksControllerUpdateOAuthClientWebhookJSONRequestBody) (*http.Request, error)

NewOAuthClientWebhooksControllerUpdateOAuthClientWebhookRequest calls the generic OAuthClientWebhooksControllerUpdateOAuthClientWebhook builder with application/json body

func NewOAuthClientWebhooksControllerUpdateOAuthClientWebhookRequestWithBody

func NewOAuthClientWebhooksControllerUpdateOAuthClientWebhookRequestWithBody(server string, clientId string, webhookId string, params *OAuthClientWebhooksControllerUpdateOAuthClientWebhookParams, contentType string, body io.Reader) (*http.Request, error)

NewOAuthClientWebhooksControllerUpdateOAuthClientWebhookRequestWithBody constructs an http.Request for the OAuthClientWebhooksControllerUpdateOAuthClientWebhook method, with any body, and a specified content type

func NewOAuthClientsControllerCreateOAuthClientRequest

func NewOAuthClientsControllerCreateOAuthClientRequest(server string, params *OAuthClientsControllerCreateOAuthClientParams, body OAuthClientsControllerCreateOAuthClientJSONRequestBody) (*http.Request, error)

NewOAuthClientsControllerCreateOAuthClientRequest calls the generic OAuthClientsControllerCreateOAuthClient builder with application/json body

func NewOAuthClientsControllerCreateOAuthClientRequestWithBody

func NewOAuthClientsControllerCreateOAuthClientRequestWithBody(server string, params *OAuthClientsControllerCreateOAuthClientParams, contentType string, body io.Reader) (*http.Request, error)

NewOAuthClientsControllerCreateOAuthClientRequestWithBody constructs an http.Request for the OAuthClientsControllerCreateOAuthClient method, with any body, and a specified content type

func NewOAuthClientsControllerDeleteOAuthClientRequest

func NewOAuthClientsControllerDeleteOAuthClientRequest(server string, clientId string, params *OAuthClientsControllerDeleteOAuthClientParams) (*http.Request, error)

NewOAuthClientsControllerDeleteOAuthClientRequest constructs an http.Request for the OAuthClientsControllerDeleteOAuthClient method

func NewOAuthClientsControllerGetOAuthClientByIdRequest

func NewOAuthClientsControllerGetOAuthClientByIdRequest(server string, clientId string, params *OAuthClientsControllerGetOAuthClientByIdParams) (*http.Request, error)

NewOAuthClientsControllerGetOAuthClientByIdRequest constructs an http.Request for the OAuthClientsControllerGetOAuthClientById method

func NewOAuthClientsControllerGetOAuthClientsRequest

func NewOAuthClientsControllerGetOAuthClientsRequest(server string, params *OAuthClientsControllerGetOAuthClientsParams) (*http.Request, error)

NewOAuthClientsControllerGetOAuthClientsRequest constructs an http.Request for the OAuthClientsControllerGetOAuthClients method

func NewOAuthClientsControllerUpdateOAuthClientRequest

func NewOAuthClientsControllerUpdateOAuthClientRequest(server string, clientId string, params *OAuthClientsControllerUpdateOAuthClientParams, body OAuthClientsControllerUpdateOAuthClientJSONRequestBody) (*http.Request, error)

NewOAuthClientsControllerUpdateOAuthClientRequest calls the generic OAuthClientsControllerUpdateOAuthClient builder with application/json body

func NewOAuthClientsControllerUpdateOAuthClientRequestWithBody

func NewOAuthClientsControllerUpdateOAuthClientRequestWithBody(server string, clientId string, params *OAuthClientsControllerUpdateOAuthClientParams, contentType string, body io.Reader) (*http.Request, error)

NewOAuthClientsControllerUpdateOAuthClientRequestWithBody constructs an http.Request for the OAuthClientsControllerUpdateOAuthClient method, with any body, and a specified content type

func NewOAuthFlowControllerRefreshTokensRequest

func NewOAuthFlowControllerRefreshTokensRequest(server string, clientId string, params *OAuthFlowControllerRefreshTokensParams, body OAuthFlowControllerRefreshTokensJSONRequestBody) (*http.Request, error)

NewOAuthFlowControllerRefreshTokensRequest calls the generic OAuthFlowControllerRefreshTokens builder with application/json body

func NewOAuthFlowControllerRefreshTokensRequestWithBody

func NewOAuthFlowControllerRefreshTokensRequestWithBody(server string, clientId string, params *OAuthFlowControllerRefreshTokensParams, contentType string, body io.Reader) (*http.Request, error)

NewOAuthFlowControllerRefreshTokensRequestWithBody constructs an http.Request for the OAuthFlowControllerRefreshTokens method, with any body, and a specified content type

func NewSchedulesController20240611CreateScheduleRequest

func NewSchedulesController20240611CreateScheduleRequest(server string, params *SchedulesController20240611CreateScheduleParams, body SchedulesController20240611CreateScheduleJSONRequestBody) (*http.Request, error)

NewSchedulesController20240611CreateScheduleRequest calls the generic SchedulesController20240611CreateSchedule builder with application/json body

func NewSchedulesController20240611CreateScheduleRequestWithBody

func NewSchedulesController20240611CreateScheduleRequestWithBody(server string, params *SchedulesController20240611CreateScheduleParams, contentType string, body io.Reader) (*http.Request, error)

NewSchedulesController20240611CreateScheduleRequestWithBody constructs an http.Request for the SchedulesController20240611CreateSchedule method, with any body, and a specified content type

func NewSchedulesController20240611DeleteScheduleRequest

func NewSchedulesController20240611DeleteScheduleRequest(server string, scheduleId float64, params *SchedulesController20240611DeleteScheduleParams) (*http.Request, error)

NewSchedulesController20240611DeleteScheduleRequest constructs an http.Request for the SchedulesController20240611DeleteSchedule method

func NewSchedulesController20240611GetDefaultScheduleRequest

func NewSchedulesController20240611GetDefaultScheduleRequest(server string, params *SchedulesController20240611GetDefaultScheduleParams) (*http.Request, error)

NewSchedulesController20240611GetDefaultScheduleRequest constructs an http.Request for the SchedulesController20240611GetDefaultSchedule method

func NewSchedulesController20240611GetScheduleRequest

func NewSchedulesController20240611GetScheduleRequest(server string, scheduleId float64, params *SchedulesController20240611GetScheduleParams) (*http.Request, error)

NewSchedulesController20240611GetScheduleRequest constructs an http.Request for the SchedulesController20240611GetSchedule method

func NewSchedulesController20240611GetSchedulesRequest

func NewSchedulesController20240611GetSchedulesRequest(server string, params *SchedulesController20240611GetSchedulesParams) (*http.Request, error)

NewSchedulesController20240611GetSchedulesRequest constructs an http.Request for the SchedulesController20240611GetSchedules method

func NewSchedulesController20240611UpdateScheduleRequest

func NewSchedulesController20240611UpdateScheduleRequest(server string, scheduleId string, params *SchedulesController20240611UpdateScheduleParams, body SchedulesController20240611UpdateScheduleJSONRequestBody) (*http.Request, error)

NewSchedulesController20240611UpdateScheduleRequest calls the generic SchedulesController20240611UpdateSchedule builder with application/json body

func NewSchedulesController20240611UpdateScheduleRequestWithBody

func NewSchedulesController20240611UpdateScheduleRequestWithBody(server string, scheduleId string, params *SchedulesController20240611UpdateScheduleParams, contentType string, body io.Reader) (*http.Request, error)

NewSchedulesController20240611UpdateScheduleRequestWithBody constructs an http.Request for the SchedulesController20240611UpdateSchedule method, with any body, and a specified content type

func NewSelectedCalendarsControllerAddSelectedCalendarRequest

func NewSelectedCalendarsControllerAddSelectedCalendarRequest(server string, params *SelectedCalendarsControllerAddSelectedCalendarParams, body SelectedCalendarsControllerAddSelectedCalendarJSONRequestBody) (*http.Request, error)

NewSelectedCalendarsControllerAddSelectedCalendarRequest calls the generic SelectedCalendarsControllerAddSelectedCalendar builder with application/json body

func NewSelectedCalendarsControllerAddSelectedCalendarRequestWithBody

func NewSelectedCalendarsControllerAddSelectedCalendarRequestWithBody(server string, params *SelectedCalendarsControllerAddSelectedCalendarParams, contentType string, body io.Reader) (*http.Request, error)

NewSelectedCalendarsControllerAddSelectedCalendarRequestWithBody constructs an http.Request for the SelectedCalendarsControllerAddSelectedCalendar method, with any body, and a specified content type

func NewSelectedCalendarsControllerDeleteSelectedCalendarRequest

func NewSelectedCalendarsControllerDeleteSelectedCalendarRequest(server string, params *SelectedCalendarsControllerDeleteSelectedCalendarParams) (*http.Request, error)

NewSelectedCalendarsControllerDeleteSelectedCalendarRequest constructs an http.Request for the SelectedCalendarsControllerDeleteSelectedCalendar method

func NewSlotsController20240904DeleteReservedSlotRequest

func NewSlotsController20240904DeleteReservedSlotRequest(server string, uid string, params *SlotsController20240904DeleteReservedSlotParams) (*http.Request, error)

NewSlotsController20240904DeleteReservedSlotRequest constructs an http.Request for the SlotsController20240904DeleteReservedSlot method

func NewSlotsController20240904GetAvailableSlotsRequest

func NewSlotsController20240904GetAvailableSlotsRequest(server string, params *SlotsController20240904GetAvailableSlotsParams) (*http.Request, error)

NewSlotsController20240904GetAvailableSlotsRequest constructs an http.Request for the SlotsController20240904GetAvailableSlots method

func NewSlotsController20240904GetReservedSlotRequest

func NewSlotsController20240904GetReservedSlotRequest(server string, uid string, params *SlotsController20240904GetReservedSlotParams) (*http.Request, error)

NewSlotsController20240904GetReservedSlotRequest constructs an http.Request for the SlotsController20240904GetReservedSlot method

func NewSlotsController20240904ReserveSlotRequest

func NewSlotsController20240904ReserveSlotRequest(server string, params *SlotsController20240904ReserveSlotParams, body SlotsController20240904ReserveSlotJSONRequestBody) (*http.Request, error)

NewSlotsController20240904ReserveSlotRequest calls the generic SlotsController20240904ReserveSlot builder with application/json body

func NewSlotsController20240904ReserveSlotRequestWithBody

func NewSlotsController20240904ReserveSlotRequestWithBody(server string, params *SlotsController20240904ReserveSlotParams, contentType string, body io.Reader) (*http.Request, error)

NewSlotsController20240904ReserveSlotRequestWithBody constructs an http.Request for the SlotsController20240904ReserveSlot method, with any body, and a specified content type

func NewSlotsController20240904UpdateReservedSlotRequest

func NewSlotsController20240904UpdateReservedSlotRequest(server string, uid string, params *SlotsController20240904UpdateReservedSlotParams, body SlotsController20240904UpdateReservedSlotJSONRequestBody) (*http.Request, error)

NewSlotsController20240904UpdateReservedSlotRequest calls the generic SlotsController20240904UpdateReservedSlot builder with application/json body

func NewSlotsController20240904UpdateReservedSlotRequestWithBody

func NewSlotsController20240904UpdateReservedSlotRequestWithBody(server string, uid string, params *SlotsController20240904UpdateReservedSlotParams, contentType string, body io.Reader) (*http.Request, error)

NewSlotsController20240904UpdateReservedSlotRequestWithBody constructs an http.Request for the SlotsController20240904UpdateReservedSlot method, with any body, and a specified content type

func NewStripeControllerCheckRequest

func NewStripeControllerCheckRequest(server string, params *StripeControllerCheckParams) (*http.Request, error)

NewStripeControllerCheckRequest constructs an http.Request for the StripeControllerCheck method

func NewStripeControllerRedirectRequest

func NewStripeControllerRedirectRequest(server string, params *StripeControllerRedirectParams) (*http.Request, error)

NewStripeControllerRedirectRequest constructs an http.Request for the StripeControllerRedirect method

func NewStripeControllerSaveRequest

func NewStripeControllerSaveRequest(server string, params *StripeControllerSaveParams) (*http.Request, error)

NewStripeControllerSaveRequest constructs an http.Request for the StripeControllerSave method

func NewUserVerifiedResourcesControllerGetVerifiedEmailByIdRequest

func NewUserVerifiedResourcesControllerGetVerifiedEmailByIdRequest(server string, id float64, params *UserVerifiedResourcesControllerGetVerifiedEmailByIdParams) (*http.Request, error)

NewUserVerifiedResourcesControllerGetVerifiedEmailByIdRequest constructs an http.Request for the UserVerifiedResourcesControllerGetVerifiedEmailById method

func NewUserVerifiedResourcesControllerGetVerifiedEmailsRequest

func NewUserVerifiedResourcesControllerGetVerifiedEmailsRequest(server string, params *UserVerifiedResourcesControllerGetVerifiedEmailsParams) (*http.Request, error)

NewUserVerifiedResourcesControllerGetVerifiedEmailsRequest constructs an http.Request for the UserVerifiedResourcesControllerGetVerifiedEmails method

func NewUserVerifiedResourcesControllerGetVerifiedPhoneByIdRequest

func NewUserVerifiedResourcesControllerGetVerifiedPhoneByIdRequest(server string, id float64, params *UserVerifiedResourcesControllerGetVerifiedPhoneByIdParams) (*http.Request, error)

NewUserVerifiedResourcesControllerGetVerifiedPhoneByIdRequest constructs an http.Request for the UserVerifiedResourcesControllerGetVerifiedPhoneById method

func NewUserVerifiedResourcesControllerGetVerifiedPhoneNumbersRequest

func NewUserVerifiedResourcesControllerGetVerifiedPhoneNumbersRequest(server string, params *UserVerifiedResourcesControllerGetVerifiedPhoneNumbersParams) (*http.Request, error)

NewUserVerifiedResourcesControllerGetVerifiedPhoneNumbersRequest constructs an http.Request for the UserVerifiedResourcesControllerGetVerifiedPhoneNumbers method

func NewUserVerifiedResourcesControllerRequestEmailVerificationCodeRequest

func NewUserVerifiedResourcesControllerRequestEmailVerificationCodeRequest(server string, params *UserVerifiedResourcesControllerRequestEmailVerificationCodeParams, body UserVerifiedResourcesControllerRequestEmailVerificationCodeJSONRequestBody) (*http.Request, error)

NewUserVerifiedResourcesControllerRequestEmailVerificationCodeRequest calls the generic UserVerifiedResourcesControllerRequestEmailVerificationCode builder with application/json body

func NewUserVerifiedResourcesControllerRequestEmailVerificationCodeRequestWithBody

func NewUserVerifiedResourcesControllerRequestEmailVerificationCodeRequestWithBody(server string, params *UserVerifiedResourcesControllerRequestEmailVerificationCodeParams, contentType string, body io.Reader) (*http.Request, error)

NewUserVerifiedResourcesControllerRequestEmailVerificationCodeRequestWithBody constructs an http.Request for the UserVerifiedResourcesControllerRequestEmailVerificationCode method, with any body, and a specified content type

func NewUserVerifiedResourcesControllerRequestPhoneVerificationCodeRequest

func NewUserVerifiedResourcesControllerRequestPhoneVerificationCodeRequest(server string, params *UserVerifiedResourcesControllerRequestPhoneVerificationCodeParams, body UserVerifiedResourcesControllerRequestPhoneVerificationCodeJSONRequestBody) (*http.Request, error)

NewUserVerifiedResourcesControllerRequestPhoneVerificationCodeRequest calls the generic UserVerifiedResourcesControllerRequestPhoneVerificationCode builder with application/json body

func NewUserVerifiedResourcesControllerRequestPhoneVerificationCodeRequestWithBody

func NewUserVerifiedResourcesControllerRequestPhoneVerificationCodeRequestWithBody(server string, params *UserVerifiedResourcesControllerRequestPhoneVerificationCodeParams, contentType string, body io.Reader) (*http.Request, error)

NewUserVerifiedResourcesControllerRequestPhoneVerificationCodeRequestWithBody constructs an http.Request for the UserVerifiedResourcesControllerRequestPhoneVerificationCode method, with any body, and a specified content type

func NewUserVerifiedResourcesControllerVerifyEmailRequest

func NewUserVerifiedResourcesControllerVerifyEmailRequest(server string, params *UserVerifiedResourcesControllerVerifyEmailParams, body UserVerifiedResourcesControllerVerifyEmailJSONRequestBody) (*http.Request, error)

NewUserVerifiedResourcesControllerVerifyEmailRequest calls the generic UserVerifiedResourcesControllerVerifyEmail builder with application/json body

func NewUserVerifiedResourcesControllerVerifyEmailRequestWithBody

func NewUserVerifiedResourcesControllerVerifyEmailRequestWithBody(server string, params *UserVerifiedResourcesControllerVerifyEmailParams, contentType string, body io.Reader) (*http.Request, error)

NewUserVerifiedResourcesControllerVerifyEmailRequestWithBody constructs an http.Request for the UserVerifiedResourcesControllerVerifyEmail method, with any body, and a specified content type

func NewUserVerifiedResourcesControllerVerifyPhoneNumberRequest

func NewUserVerifiedResourcesControllerVerifyPhoneNumberRequest(server string, params *UserVerifiedResourcesControllerVerifyPhoneNumberParams, body UserVerifiedResourcesControllerVerifyPhoneNumberJSONRequestBody) (*http.Request, error)

NewUserVerifiedResourcesControllerVerifyPhoneNumberRequest calls the generic UserVerifiedResourcesControllerVerifyPhoneNumber builder with application/json body

func NewUserVerifiedResourcesControllerVerifyPhoneNumberRequestWithBody

func NewUserVerifiedResourcesControllerVerifyPhoneNumberRequestWithBody(server string, params *UserVerifiedResourcesControllerVerifyPhoneNumberParams, contentType string, body io.Reader) (*http.Request, error)

NewUserVerifiedResourcesControllerVerifyPhoneNumberRequestWithBody constructs an http.Request for the UserVerifiedResourcesControllerVerifyPhoneNumber method, with any body, and a specified content type

func NewWebhooksControllerCreateWebhookRequest

func NewWebhooksControllerCreateWebhookRequest(server string, params *WebhooksControllerCreateWebhookParams, body WebhooksControllerCreateWebhookJSONRequestBody) (*http.Request, error)

NewWebhooksControllerCreateWebhookRequest calls the generic WebhooksControllerCreateWebhook builder with application/json body

func NewWebhooksControllerCreateWebhookRequestWithBody

func NewWebhooksControllerCreateWebhookRequestWithBody(server string, params *WebhooksControllerCreateWebhookParams, contentType string, body io.Reader) (*http.Request, error)

NewWebhooksControllerCreateWebhookRequestWithBody constructs an http.Request for the WebhooksControllerCreateWebhook method, with any body, and a specified content type

func NewWebhooksControllerDeleteWebhookRequest

func NewWebhooksControllerDeleteWebhookRequest(server string, webhookId string, params *WebhooksControllerDeleteWebhookParams) (*http.Request, error)

NewWebhooksControllerDeleteWebhookRequest constructs an http.Request for the WebhooksControllerDeleteWebhook method

func NewWebhooksControllerGetWebhookRequest

func NewWebhooksControllerGetWebhookRequest(server string, webhookId string, params *WebhooksControllerGetWebhookParams) (*http.Request, error)

NewWebhooksControllerGetWebhookRequest constructs an http.Request for the WebhooksControllerGetWebhook method

func NewWebhooksControllerGetWebhooksRequest

func NewWebhooksControllerGetWebhooksRequest(server string, params *WebhooksControllerGetWebhooksParams) (*http.Request, error)

NewWebhooksControllerGetWebhooksRequest constructs an http.Request for the WebhooksControllerGetWebhooks method

func NewWebhooksControllerUpdateWebhookRequest

func NewWebhooksControllerUpdateWebhookRequest(server string, webhookId string, params *WebhooksControllerUpdateWebhookParams, body WebhooksControllerUpdateWebhookJSONRequestBody) (*http.Request, error)

NewWebhooksControllerUpdateWebhookRequest calls the generic WebhooksControllerUpdateWebhook builder with application/json body

func NewWebhooksControllerUpdateWebhookRequestWithBody

func NewWebhooksControllerUpdateWebhookRequestWithBody(server string, webhookId string, params *WebhooksControllerUpdateWebhookParams, contentType string, body io.Reader) (*http.Request, error)

NewWebhooksControllerUpdateWebhookRequestWithBody constructs an http.Request for the WebhooksControllerUpdateWebhook method, with any body, and a specified content type

Types

type AddAttendeeInput20240813

type AddAttendeeInput20240813 struct {
	// Email The email of the attendee.
	//
	// Example: john.doe@example.com
	Email string `json:"email"`

	// Language The preferred language of the attendee. Used for booking confirmation.
	//
	// Example: it
	Language *AddAttendeeInput20240813Language `json:"language,omitempty"`

	// Name The name of the attendee.
	//
	// Example: John Doe
	Name string `json:"name"`

	// PhoneNumber The phone number of the attendee in international format.
	//
	// Example: +919876543210
	PhoneNumber *string `json:"phoneNumber,omitempty"`

	// TimeZone The time zone of the attendee.
	//
	// Example: America/New_York
	TimeZone string `json:"timeZone"`
}

AddAttendeeInput20240813 defines model for AddAttendeeInput_2024_08_13.

type AddAttendeeInput20240813Language

type AddAttendeeInput20240813Language string

AddAttendeeInput20240813Language The preferred language of the attendee. Used for booking confirmation.

Example: it

const (
	AddAttendeeInput20240813LanguageAr    AddAttendeeInput20240813Language = "ar"
	AddAttendeeInput20240813LanguageAz    AddAttendeeInput20240813Language = "az"
	AddAttendeeInput20240813LanguageBg    AddAttendeeInput20240813Language = "bg"
	AddAttendeeInput20240813LanguageBn    AddAttendeeInput20240813Language = "bn"
	AddAttendeeInput20240813LanguageCa    AddAttendeeInput20240813Language = "ca"
	AddAttendeeInput20240813LanguageCs    AddAttendeeInput20240813Language = "cs"
	AddAttendeeInput20240813LanguageDa    AddAttendeeInput20240813Language = "da"
	AddAttendeeInput20240813LanguageDe    AddAttendeeInput20240813Language = "de"
	AddAttendeeInput20240813LanguageEl    AddAttendeeInput20240813Language = "el"
	AddAttendeeInput20240813LanguageEn    AddAttendeeInput20240813Language = "en"
	AddAttendeeInput20240813LanguageEs    AddAttendeeInput20240813Language = "es"
	AddAttendeeInput20240813LanguageEs419 AddAttendeeInput20240813Language = "es-419"
	AddAttendeeInput20240813LanguageEt    AddAttendeeInput20240813Language = "et"
	AddAttendeeInput20240813LanguageEu    AddAttendeeInput20240813Language = "eu"
	AddAttendeeInput20240813LanguageFi    AddAttendeeInput20240813Language = "fi"
	AddAttendeeInput20240813LanguageFr    AddAttendeeInput20240813Language = "fr"
	AddAttendeeInput20240813LanguageHe    AddAttendeeInput20240813Language = "he"
	AddAttendeeInput20240813LanguageHr    AddAttendeeInput20240813Language = "hr"
	AddAttendeeInput20240813LanguageHu    AddAttendeeInput20240813Language = "hu"
	AddAttendeeInput20240813LanguageId    AddAttendeeInput20240813Language = "id"
	AddAttendeeInput20240813LanguageIt    AddAttendeeInput20240813Language = "it"
	AddAttendeeInput20240813LanguageIw    AddAttendeeInput20240813Language = "iw"
	AddAttendeeInput20240813LanguageJa    AddAttendeeInput20240813Language = "ja"
	AddAttendeeInput20240813LanguageKm    AddAttendeeInput20240813Language = "km"
	AddAttendeeInput20240813LanguageKo    AddAttendeeInput20240813Language = "ko"
	AddAttendeeInput20240813LanguageLv    AddAttendeeInput20240813Language = "lv"
	AddAttendeeInput20240813LanguageNl    AddAttendeeInput20240813Language = "nl"
	AddAttendeeInput20240813LanguageNo    AddAttendeeInput20240813Language = "no"
	AddAttendeeInput20240813LanguagePl    AddAttendeeInput20240813Language = "pl"
	AddAttendeeInput20240813LanguagePt    AddAttendeeInput20240813Language = "pt"
	AddAttendeeInput20240813LanguagePtBR  AddAttendeeInput20240813Language = "pt-BR"
	AddAttendeeInput20240813LanguageRo    AddAttendeeInput20240813Language = "ro"
	AddAttendeeInput20240813LanguageRu    AddAttendeeInput20240813Language = "ru"
	AddAttendeeInput20240813LanguageSk    AddAttendeeInput20240813Language = "sk"
	AddAttendeeInput20240813LanguageSr    AddAttendeeInput20240813Language = "sr"
	AddAttendeeInput20240813LanguageSv    AddAttendeeInput20240813Language = "sv"
	AddAttendeeInput20240813LanguageTa    AddAttendeeInput20240813Language = "ta"
	AddAttendeeInput20240813LanguageTh    AddAttendeeInput20240813Language = "th"
	AddAttendeeInput20240813LanguageTr    AddAttendeeInput20240813Language = "tr"
	AddAttendeeInput20240813LanguageUk    AddAttendeeInput20240813Language = "uk"
	AddAttendeeInput20240813LanguageVi    AddAttendeeInput20240813Language = "vi"
	AddAttendeeInput20240813LanguageZhCN  AddAttendeeInput20240813Language = "zh-CN"
	AddAttendeeInput20240813LanguageZhTW  AddAttendeeInput20240813Language = "zh-TW"
)

Defines values for AddAttendeeInput20240813Language.

func (AddAttendeeInput20240813Language) Valid

Valid indicates whether the value is a known member of the AddAttendeeInput20240813Language enum.

type AddAttendeeOutput20240813

type AddAttendeeOutput20240813 struct {
	Data BookingAttendeeOutput20240813 `json:"data"`

	// Status Example: success
	Status AddAttendeeOutput20240813Status `json:"status"`
}

AddAttendeeOutput20240813 defines model for AddAttendeeOutput_2024_08_13.

type AddAttendeeOutput20240813Status

type AddAttendeeOutput20240813Status string

AddAttendeeOutput20240813Status Example: success

const (
	AddAttendeeOutput20240813StatusError   AddAttendeeOutput20240813Status = "error"
	AddAttendeeOutput20240813StatusSuccess AddAttendeeOutput20240813Status = "success"
)

Defines values for AddAttendeeOutput20240813Status.

func (AddAttendeeOutput20240813Status) Valid

Valid indicates whether the value is a known member of the AddAttendeeOutput20240813Status enum.

type AddGuestsInput20240813

type AddGuestsInput20240813 struct {
	// Guests Array of guests to add to the booking. Maximum 10 guests per request.
	//
	// Example: [{"email":"john.doe@example.com","name":"John Doe","timeZone":"America/New_York"},{"email":"jane.smith@example.com","name":"Jane Smith"}]
	Guests []Guest `json:"guests"`
}

AddGuestsInput20240813 defines model for AddGuestsInput_2024_08_13.

type AddGuestsOutput20240813

type AddGuestsOutput20240813 struct {
	// Data Booking data, which can be either a BookingOutput object, a RecurringBookingOutput object, or an array of RecurringBookingOutput objects
	Data AddGuestsOutput20240813_Data `json:"data"`

	// Status Example: success
	Status AddGuestsOutput20240813Status `json:"status"`
}

AddGuestsOutput20240813 defines model for AddGuestsOutput_2024_08_13.

type AddGuestsOutput20240813Data2

type AddGuestsOutput20240813Data2 = []RecurringBookingOutput20240813

AddGuestsOutput20240813Data2 defines model for AddGuestsOutput20240813.Data.2.

type AddGuestsOutput20240813Data5

type AddGuestsOutput20240813Data5 = []GetRecurringSeatedBookingOutput20240813

AddGuestsOutput20240813Data5 defines model for AddGuestsOutput20240813.Data.5.

type AddGuestsOutput20240813Status

type AddGuestsOutput20240813Status string

AddGuestsOutput20240813Status Example: success

const (
	AddGuestsOutput20240813StatusError   AddGuestsOutput20240813Status = "error"
	AddGuestsOutput20240813StatusSuccess AddGuestsOutput20240813Status = "success"
)

Defines values for AddGuestsOutput20240813Status.

func (AddGuestsOutput20240813Status) Valid

Valid indicates whether the value is a known member of the AddGuestsOutput20240813Status enum.

type AddGuestsOutput20240813_Data

type AddGuestsOutput20240813_Data struct {
	// contains filtered or unexported fields
}

AddGuestsOutput20240813_Data Booking data, which can be either a BookingOutput object, a RecurringBookingOutput object, or an array of RecurringBookingOutput objects

func (AddGuestsOutput20240813_Data) AsAddGuestsOutput20240813Data2

func (t AddGuestsOutput20240813_Data) AsAddGuestsOutput20240813Data2() (AddGuestsOutput20240813Data2, error)

AsAddGuestsOutput20240813Data2 returns the union data inside the AddGuestsOutput20240813_Data as a AddGuestsOutput20240813Data2

func (AddGuestsOutput20240813_Data) AsAddGuestsOutput20240813Data5

func (t AddGuestsOutput20240813_Data) AsAddGuestsOutput20240813Data5() (AddGuestsOutput20240813Data5, error)

AsAddGuestsOutput20240813Data5 returns the union data inside the AddGuestsOutput20240813_Data as a AddGuestsOutput20240813Data5

func (AddGuestsOutput20240813_Data) AsBookingOutput20240813

func (t AddGuestsOutput20240813_Data) AsBookingOutput20240813() (BookingOutput20240813, error)

AsBookingOutput20240813 returns the union data inside the AddGuestsOutput20240813_Data as a BookingOutput20240813

func (AddGuestsOutput20240813_Data) AsGetRecurringSeatedBookingOutput20240813

func (t AddGuestsOutput20240813_Data) AsGetRecurringSeatedBookingOutput20240813() (GetRecurringSeatedBookingOutput20240813, error)

AsGetRecurringSeatedBookingOutput20240813 returns the union data inside the AddGuestsOutput20240813_Data as a GetRecurringSeatedBookingOutput20240813

func (AddGuestsOutput20240813_Data) AsGetSeatedBookingOutput20240813

func (t AddGuestsOutput20240813_Data) AsGetSeatedBookingOutput20240813() (GetSeatedBookingOutput20240813, error)

AsGetSeatedBookingOutput20240813 returns the union data inside the AddGuestsOutput20240813_Data as a GetSeatedBookingOutput20240813

func (AddGuestsOutput20240813_Data) AsRecurringBookingOutput20240813

func (t AddGuestsOutput20240813_Data) AsRecurringBookingOutput20240813() (RecurringBookingOutput20240813, error)

AsRecurringBookingOutput20240813 returns the union data inside the AddGuestsOutput20240813_Data as a RecurringBookingOutput20240813

func (*AddGuestsOutput20240813_Data) FromAddGuestsOutput20240813Data2

func (t *AddGuestsOutput20240813_Data) FromAddGuestsOutput20240813Data2(v AddGuestsOutput20240813Data2) error

FromAddGuestsOutput20240813Data2 overwrites any union data inside the AddGuestsOutput20240813_Data as the provided AddGuestsOutput20240813Data2

func (*AddGuestsOutput20240813_Data) FromAddGuestsOutput20240813Data5

func (t *AddGuestsOutput20240813_Data) FromAddGuestsOutput20240813Data5(v AddGuestsOutput20240813Data5) error

FromAddGuestsOutput20240813Data5 overwrites any union data inside the AddGuestsOutput20240813_Data as the provided AddGuestsOutput20240813Data5

func (*AddGuestsOutput20240813_Data) FromBookingOutput20240813

func (t *AddGuestsOutput20240813_Data) FromBookingOutput20240813(v BookingOutput20240813) error

FromBookingOutput20240813 overwrites any union data inside the AddGuestsOutput20240813_Data as the provided BookingOutput20240813

func (*AddGuestsOutput20240813_Data) FromGetRecurringSeatedBookingOutput20240813

func (t *AddGuestsOutput20240813_Data) FromGetRecurringSeatedBookingOutput20240813(v GetRecurringSeatedBookingOutput20240813) error

FromGetRecurringSeatedBookingOutput20240813 overwrites any union data inside the AddGuestsOutput20240813_Data as the provided GetRecurringSeatedBookingOutput20240813

func (*AddGuestsOutput20240813_Data) FromGetSeatedBookingOutput20240813

func (t *AddGuestsOutput20240813_Data) FromGetSeatedBookingOutput20240813(v GetSeatedBookingOutput20240813) error

FromGetSeatedBookingOutput20240813 overwrites any union data inside the AddGuestsOutput20240813_Data as the provided GetSeatedBookingOutput20240813

func (*AddGuestsOutput20240813_Data) FromRecurringBookingOutput20240813

func (t *AddGuestsOutput20240813_Data) FromRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

FromRecurringBookingOutput20240813 overwrites any union data inside the AddGuestsOutput20240813_Data as the provided RecurringBookingOutput20240813

func (AddGuestsOutput20240813_Data) MarshalJSON

func (t AddGuestsOutput20240813_Data) MarshalJSON() ([]byte, error)

func (*AddGuestsOutput20240813_Data) MergeAddGuestsOutput20240813Data2

func (t *AddGuestsOutput20240813_Data) MergeAddGuestsOutput20240813Data2(v AddGuestsOutput20240813Data2) error

MergeAddGuestsOutput20240813Data2 performs a merge with any union data inside the AddGuestsOutput20240813_Data, using the provided AddGuestsOutput20240813Data2

func (*AddGuestsOutput20240813_Data) MergeAddGuestsOutput20240813Data5

func (t *AddGuestsOutput20240813_Data) MergeAddGuestsOutput20240813Data5(v AddGuestsOutput20240813Data5) error

MergeAddGuestsOutput20240813Data5 performs a merge with any union data inside the AddGuestsOutput20240813_Data, using the provided AddGuestsOutput20240813Data5

func (*AddGuestsOutput20240813_Data) MergeBookingOutput20240813

func (t *AddGuestsOutput20240813_Data) MergeBookingOutput20240813(v BookingOutput20240813) error

MergeBookingOutput20240813 performs a merge with any union data inside the AddGuestsOutput20240813_Data, using the provided BookingOutput20240813

func (*AddGuestsOutput20240813_Data) MergeGetRecurringSeatedBookingOutput20240813

func (t *AddGuestsOutput20240813_Data) MergeGetRecurringSeatedBookingOutput20240813(v GetRecurringSeatedBookingOutput20240813) error

MergeGetRecurringSeatedBookingOutput20240813 performs a merge with any union data inside the AddGuestsOutput20240813_Data, using the provided GetRecurringSeatedBookingOutput20240813

func (*AddGuestsOutput20240813_Data) MergeGetSeatedBookingOutput20240813

func (t *AddGuestsOutput20240813_Data) MergeGetSeatedBookingOutput20240813(v GetSeatedBookingOutput20240813) error

MergeGetSeatedBookingOutput20240813 performs a merge with any union data inside the AddGuestsOutput20240813_Data, using the provided GetSeatedBookingOutput20240813

func (*AddGuestsOutput20240813_Data) MergeRecurringBookingOutput20240813

func (t *AddGuestsOutput20240813_Data) MergeRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

MergeRecurringBookingOutput20240813 performs a merge with any union data inside the AddGuestsOutput20240813_Data, using the provided RecurringBookingOutput20240813

func (*AddGuestsOutput20240813_Data) UnmarshalJSON

func (t *AddGuestsOutput20240813_Data) UnmarshalJSON(b []byte) error

type AddressFieldInput20240614

type AddressFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `address` and the URL contains query parameter `&address=1234 Main St, London`,      the address field will be prefilled with this value and disabled.  In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value e.g. `defaultFormValues={{address: 'mainstreat 10, new york'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// Label Example: Please enter your address
	Label string `json:"label"`

	// Placeholder Example: e.g., 1234 Main St
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `address`
	//
	// Example: address
	Type string `json:"type"`
}

AddressFieldInput20240614 defines model for AddressFieldInput_2024_06_14.

type AddressFieldOutput20240614

type AddressFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `address` and the URL contains query parameter `&address=1234 Main St, London`,      the address field will be prefilled with this value and disabled.  In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value e.g. `defaultFormValues={{address: 'mainstreat 10, new york'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always false because it's not default field but custom field
	//
	// Example: false
	IsDefault map[string]interface{} `json:"isDefault"`

	// Label Example: Please enter your address
	Label string `json:"label"`

	// Placeholder Example: e.g., 1234 Main St
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `address`
	//
	// Example: address
	Type string `json:"type"`
}

AddressFieldOutput20240614 defines model for AddressFieldOutput_2024_06_14.

type ApiKeyOutput

type ApiKeyOutput struct {
	ApiKey string `json:"apiKey"`
}

ApiKeyOutput defines model for ApiKeyOutput.

type ApiKeysControllerRefreshJSONRequestBody

type ApiKeysControllerRefreshJSONRequestBody = RefreshApiKeyInput

ApiKeysControllerRefreshJSONRequestBody defines body for ApiKeysControllerRefresh for application/json ContentType.

type ApiKeysControllerRefreshParams

type ApiKeysControllerRefreshParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
	Authorization string `json:"Authorization"`
}

ApiKeysControllerRefreshParams defines parameters for ApiKeysControllerRefresh.

type ApiKeysControllerRefreshResponse

type ApiKeysControllerRefreshResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RefreshApiKeyOutput
}

func ParseApiKeysControllerRefreshResponse

func ParseApiKeysControllerRefreshResponse(rsp *http.Response) (*ApiKeysControllerRefreshResponse, error)

ParseApiKeysControllerRefreshResponse parses an HTTP response from a ApiKeysControllerRefreshWithResponse call

func (ApiKeysControllerRefreshResponse) ContentType

func (r ApiKeysControllerRefreshResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ApiKeysControllerRefreshResponse) GetBody

func (r ApiKeysControllerRefreshResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ApiKeysControllerRefreshResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ApiKeysControllerRefreshResponse) Status

Status returns HTTPResponse.Status

func (ApiKeysControllerRefreshResponse) StatusCode

func (r ApiKeysControllerRefreshResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BaseBookingLimitsCount20240614

type BaseBookingLimitsCount20240614 struct {
	// Day The number of bookings per day
	//
	// Example: 1
	Day      *float64 `json:"day,omitempty"`
	Disabled *bool    `json:"disabled,omitempty"`

	// Month The number of bookings per month
	//
	// Example: 3
	Month *float64 `json:"month,omitempty"`

	// Week The number of bookings per week
	//
	// Example: 2
	Week *float64 `json:"week,omitempty"`

	// Year The number of bookings per year
	//
	// Example: 4
	Year *float64 `json:"year,omitempty"`
}

BaseBookingLimitsCount20240614 defines model for BaseBookingLimitsCount_2024_06_14.

type BaseBookingLimitsDuration20240614

type BaseBookingLimitsDuration20240614 struct {
	// Day The duration of bookings per day (must be a multiple of 15)
	//
	// Example: 60
	Day *float64 `json:"day,omitempty"`

	// Month The duration of bookings per month (must be a multiple of 15)
	//
	// Example: 180
	Month *float64 `json:"month,omitempty"`

	// Week The duration of bookings per week (must be a multiple of 15)
	//
	// Example: 120
	Week *float64 `json:"week,omitempty"`

	// Year The duration of bookings per year (must be a multiple of 15)
	//
	// Example: 240
	Year *float64 `json:"year,omitempty"`
}

BaseBookingLimitsDuration20240614 defines model for BaseBookingLimitsDuration_2024_06_14.

type BaseConfirmationPolicy20240614

type BaseConfirmationPolicy20240614 struct {
	// BlockUnconfirmedBookingsInBooker Unconfirmed bookings still block calendar slots.
	BlockUnconfirmedBookingsInBooker bool `json:"blockUnconfirmedBookingsInBooker"`

	// NoticeThreshold The notice threshold required before confirmation is needed. Required when type is 'time'.
	NoticeThreshold *NoticeThreshold20240614 `json:"noticeThreshold,omitempty"`

	// Type The policy that determines when confirmation is required
	//
	// Example: always
	Type BaseConfirmationPolicy20240614Type `json:"type"`
}

BaseConfirmationPolicy20240614 defines model for BaseConfirmationPolicy_2024_06_14.

type BaseConfirmationPolicy20240614Type

type BaseConfirmationPolicy20240614Type string

BaseConfirmationPolicy20240614Type The policy that determines when confirmation is required

Example: always

const (
	BaseConfirmationPolicy20240614TypeAlways BaseConfirmationPolicy20240614Type = "always"
	BaseConfirmationPolicy20240614TypeTime   BaseConfirmationPolicy20240614Type = "time"
)

Defines values for BaseConfirmationPolicy20240614Type.

func (BaseConfirmationPolicy20240614Type) Valid

Valid indicates whether the value is a known member of the BaseConfirmationPolicy20240614Type enum.

type BookerActiveBookingsLimit20240614

type BookerActiveBookingsLimit20240614 struct {
	// MaximumActiveBookings The maximum number of active bookings a booker can have for this event type.
	//
	// Example: 3
	MaximumActiveBookings *float64 `json:"maximumActiveBookings,omitempty"`

	// OfferReschedule Whether to offer rescheduling the last active booking to the chosen time slot when limit is reached.
	OfferReschedule *bool `json:"offerReschedule,omitempty"`
}

BookerActiveBookingsLimit20240614 defines model for BookerActiveBookingsLimit_2024_06_14.

type BookerActiveBookingsLimitOutput20240614

type BookerActiveBookingsLimitOutput20240614 struct {
	// MaximumActiveBookings The maximum number of active bookings a booker can have for this event type.
	//
	// Example: 3
	MaximumActiveBookings *float64 `json:"maximumActiveBookings,omitempty"`

	// OfferReschedule Whether to offer rescheduling the last active booking to the chosen time slot when limit is reached.
	OfferReschedule *bool `json:"offerReschedule,omitempty"`
}

BookerActiveBookingsLimitOutput20240614 defines model for BookerActiveBookingsLimitOutput_2024_06_14.

type BookerLayouts20240614

type BookerLayouts20240614 struct {
	DefaultLayout BookerLayouts20240614DefaultLayout `json:"defaultLayout"`

	// EnabledLayouts Array of valid layouts - month, week or column
	EnabledLayouts []BookerLayouts20240614EnabledLayouts `json:"enabledLayouts"`
}

BookerLayouts20240614 defines model for BookerLayouts_2024_06_14.

type BookerLayouts20240614DefaultLayout

type BookerLayouts20240614DefaultLayout string

BookerLayouts20240614DefaultLayout defines model for BookerLayouts20240614.DefaultLayout.

const (
	BookerLayouts20240614DefaultLayoutColumn BookerLayouts20240614DefaultLayout = "column"
	BookerLayouts20240614DefaultLayoutMonth  BookerLayouts20240614DefaultLayout = "month"
	BookerLayouts20240614DefaultLayoutWeek   BookerLayouts20240614DefaultLayout = "week"
)

Defines values for BookerLayouts20240614DefaultLayout.

func (BookerLayouts20240614DefaultLayout) Valid

Valid indicates whether the value is a known member of the BookerLayouts20240614DefaultLayout enum.

type BookerLayouts20240614EnabledLayouts

type BookerLayouts20240614EnabledLayouts string

BookerLayouts20240614EnabledLayouts defines model for BookerLayouts20240614.EnabledLayouts.

const (
	BookerLayouts20240614EnabledLayoutsColumn BookerLayouts20240614EnabledLayouts = "column"
	BookerLayouts20240614EnabledLayoutsMonth  BookerLayouts20240614EnabledLayouts = "month"
	BookerLayouts20240614EnabledLayoutsWeek   BookerLayouts20240614EnabledLayouts = "week"
)

Defines values for BookerLayouts20240614EnabledLayouts.

func (BookerLayouts20240614EnabledLayouts) Valid

Valid indicates whether the value is a known member of the BookerLayouts20240614EnabledLayouts enum.

type BookingAttendee

type BookingAttendee struct {
	// Absent Example: false
	Absent bool `json:"absent"`

	// DisplayEmail Clean email for display purposes
	//
	// Example: john@example.com
	DisplayEmail string `json:"displayEmail"`

	// Email Example: john@example.com
	Email string `json:"email"`

	// Language Example: en
	Language *BookingAttendeeLanguage `json:"language,omitempty"`

	// Name Example: John Doe
	Name string `json:"name"`

	// PhoneNumber Example: +1234567890
	PhoneNumber *string `json:"phoneNumber,omitempty"`

	// TimeZone Example: America/New_York
	TimeZone string `json:"timeZone"`
}

BookingAttendee defines model for BookingAttendee.

type BookingAttendeeLanguage

type BookingAttendeeLanguage string

BookingAttendeeLanguage Example: en

const (
	BookingAttendeeLanguageAr    BookingAttendeeLanguage = "ar"
	BookingAttendeeLanguageAz    BookingAttendeeLanguage = "az"
	BookingAttendeeLanguageBg    BookingAttendeeLanguage = "bg"
	BookingAttendeeLanguageBn    BookingAttendeeLanguage = "bn"
	BookingAttendeeLanguageCa    BookingAttendeeLanguage = "ca"
	BookingAttendeeLanguageCs    BookingAttendeeLanguage = "cs"
	BookingAttendeeLanguageDa    BookingAttendeeLanguage = "da"
	BookingAttendeeLanguageDe    BookingAttendeeLanguage = "de"
	BookingAttendeeLanguageEl    BookingAttendeeLanguage = "el"
	BookingAttendeeLanguageEn    BookingAttendeeLanguage = "en"
	BookingAttendeeLanguageEs    BookingAttendeeLanguage = "es"
	BookingAttendeeLanguageEs419 BookingAttendeeLanguage = "es-419"
	BookingAttendeeLanguageEt    BookingAttendeeLanguage = "et"
	BookingAttendeeLanguageEu    BookingAttendeeLanguage = "eu"
	BookingAttendeeLanguageFi    BookingAttendeeLanguage = "fi"
	BookingAttendeeLanguageFr    BookingAttendeeLanguage = "fr"
	BookingAttendeeLanguageHe    BookingAttendeeLanguage = "he"
	BookingAttendeeLanguageHr    BookingAttendeeLanguage = "hr"
	BookingAttendeeLanguageHu    BookingAttendeeLanguage = "hu"
	BookingAttendeeLanguageId    BookingAttendeeLanguage = "id"
	BookingAttendeeLanguageIt    BookingAttendeeLanguage = "it"
	BookingAttendeeLanguageIw    BookingAttendeeLanguage = "iw"
	BookingAttendeeLanguageJa    BookingAttendeeLanguage = "ja"
	BookingAttendeeLanguageKm    BookingAttendeeLanguage = "km"
	BookingAttendeeLanguageKo    BookingAttendeeLanguage = "ko"
	BookingAttendeeLanguageLv    BookingAttendeeLanguage = "lv"
	BookingAttendeeLanguageNl    BookingAttendeeLanguage = "nl"
	BookingAttendeeLanguageNo    BookingAttendeeLanguage = "no"
	BookingAttendeeLanguagePl    BookingAttendeeLanguage = "pl"
	BookingAttendeeLanguagePt    BookingAttendeeLanguage = "pt"
	BookingAttendeeLanguagePtBR  BookingAttendeeLanguage = "pt-BR"
	BookingAttendeeLanguageRo    BookingAttendeeLanguage = "ro"
	BookingAttendeeLanguageRu    BookingAttendeeLanguage = "ru"
	BookingAttendeeLanguageSk    BookingAttendeeLanguage = "sk"
	BookingAttendeeLanguageSr    BookingAttendeeLanguage = "sr"
	BookingAttendeeLanguageSv    BookingAttendeeLanguage = "sv"
	BookingAttendeeLanguageTa    BookingAttendeeLanguage = "ta"
	BookingAttendeeLanguageTh    BookingAttendeeLanguage = "th"
	BookingAttendeeLanguageTr    BookingAttendeeLanguage = "tr"
	BookingAttendeeLanguageUk    BookingAttendeeLanguage = "uk"
	BookingAttendeeLanguageVi    BookingAttendeeLanguage = "vi"
	BookingAttendeeLanguageZhCN  BookingAttendeeLanguage = "zh-CN"
	BookingAttendeeLanguageZhTW  BookingAttendeeLanguage = "zh-TW"
)

Defines values for BookingAttendeeLanguage.

func (BookingAttendeeLanguage) Valid

func (e BookingAttendeeLanguage) Valid() bool

Valid indicates whether the value is a known member of the BookingAttendeeLanguage enum.

type BookingAttendeeOutput20240813

type BookingAttendeeOutput20240813 struct {
	// Absent Example: false
	Absent bool `json:"absent"`

	// BookingId Example: 313
	BookingId float64 `json:"bookingId"`

	// DisplayEmail Clean email for display purposes
	//
	// Example: john@example.com
	DisplayEmail string `json:"displayEmail"`

	// Email Example: john@example.com
	Email string `json:"email"`

	// Id Example: 251
	Id float64 `json:"id"`

	// Language Example: en
	Language *BookingAttendeeOutput20240813Language `json:"language,omitempty"`

	// Name Example: John Doe
	Name string `json:"name"`

	// PhoneNumber Example: +1234567890
	PhoneNumber *string `json:"phoneNumber,omitempty"`

	// TimeZone Example: America/New_York
	TimeZone string `json:"timeZone"`
}

BookingAttendeeOutput20240813 defines model for BookingAttendeeOutput_2024_08_13.

type BookingAttendeeOutput20240813Language

type BookingAttendeeOutput20240813Language string

BookingAttendeeOutput20240813Language Example: en

const (
	BookingAttendeeOutput20240813LanguageAr    BookingAttendeeOutput20240813Language = "ar"
	BookingAttendeeOutput20240813LanguageAz    BookingAttendeeOutput20240813Language = "az"
	BookingAttendeeOutput20240813LanguageBg    BookingAttendeeOutput20240813Language = "bg"
	BookingAttendeeOutput20240813LanguageBn    BookingAttendeeOutput20240813Language = "bn"
	BookingAttendeeOutput20240813LanguageCa    BookingAttendeeOutput20240813Language = "ca"
	BookingAttendeeOutput20240813LanguageCs    BookingAttendeeOutput20240813Language = "cs"
	BookingAttendeeOutput20240813LanguageDa    BookingAttendeeOutput20240813Language = "da"
	BookingAttendeeOutput20240813LanguageDe    BookingAttendeeOutput20240813Language = "de"
	BookingAttendeeOutput20240813LanguageEl    BookingAttendeeOutput20240813Language = "el"
	BookingAttendeeOutput20240813LanguageEn    BookingAttendeeOutput20240813Language = "en"
	BookingAttendeeOutput20240813LanguageEs    BookingAttendeeOutput20240813Language = "es"
	BookingAttendeeOutput20240813LanguageEs419 BookingAttendeeOutput20240813Language = "es-419"
	BookingAttendeeOutput20240813LanguageEt    BookingAttendeeOutput20240813Language = "et"
	BookingAttendeeOutput20240813LanguageEu    BookingAttendeeOutput20240813Language = "eu"
	BookingAttendeeOutput20240813LanguageFi    BookingAttendeeOutput20240813Language = "fi"
	BookingAttendeeOutput20240813LanguageFr    BookingAttendeeOutput20240813Language = "fr"
	BookingAttendeeOutput20240813LanguageHe    BookingAttendeeOutput20240813Language = "he"
	BookingAttendeeOutput20240813LanguageHr    BookingAttendeeOutput20240813Language = "hr"
	BookingAttendeeOutput20240813LanguageHu    BookingAttendeeOutput20240813Language = "hu"
	BookingAttendeeOutput20240813LanguageId    BookingAttendeeOutput20240813Language = "id"
	BookingAttendeeOutput20240813LanguageIt    BookingAttendeeOutput20240813Language = "it"
	BookingAttendeeOutput20240813LanguageIw    BookingAttendeeOutput20240813Language = "iw"
	BookingAttendeeOutput20240813LanguageJa    BookingAttendeeOutput20240813Language = "ja"
	BookingAttendeeOutput20240813LanguageKm    BookingAttendeeOutput20240813Language = "km"
	BookingAttendeeOutput20240813LanguageKo    BookingAttendeeOutput20240813Language = "ko"
	BookingAttendeeOutput20240813LanguageLv    BookingAttendeeOutput20240813Language = "lv"
	BookingAttendeeOutput20240813LanguageNl    BookingAttendeeOutput20240813Language = "nl"
	BookingAttendeeOutput20240813LanguageNo    BookingAttendeeOutput20240813Language = "no"
	BookingAttendeeOutput20240813LanguagePl    BookingAttendeeOutput20240813Language = "pl"
	BookingAttendeeOutput20240813LanguagePt    BookingAttendeeOutput20240813Language = "pt"
	BookingAttendeeOutput20240813LanguagePtBR  BookingAttendeeOutput20240813Language = "pt-BR"
	BookingAttendeeOutput20240813LanguageRo    BookingAttendeeOutput20240813Language = "ro"
	BookingAttendeeOutput20240813LanguageRu    BookingAttendeeOutput20240813Language = "ru"
	BookingAttendeeOutput20240813LanguageSk    BookingAttendeeOutput20240813Language = "sk"
	BookingAttendeeOutput20240813LanguageSr    BookingAttendeeOutput20240813Language = "sr"
	BookingAttendeeOutput20240813LanguageSv    BookingAttendeeOutput20240813Language = "sv"
	BookingAttendeeOutput20240813LanguageTa    BookingAttendeeOutput20240813Language = "ta"
	BookingAttendeeOutput20240813LanguageTh    BookingAttendeeOutput20240813Language = "th"
	BookingAttendeeOutput20240813LanguageTr    BookingAttendeeOutput20240813Language = "tr"
	BookingAttendeeOutput20240813LanguageUk    BookingAttendeeOutput20240813Language = "uk"
	BookingAttendeeOutput20240813LanguageVi    BookingAttendeeOutput20240813Language = "vi"
	BookingAttendeeOutput20240813LanguageZhCN  BookingAttendeeOutput20240813Language = "zh-CN"
	BookingAttendeeOutput20240813LanguageZhTW  BookingAttendeeOutput20240813Language = "zh-TW"
)

Defines values for BookingAttendeeOutput20240813Language.

func (BookingAttendeeOutput20240813Language) Valid

Valid indicates whether the value is a known member of the BookingAttendeeOutput20240813Language enum.

type BookingAttendeeWithId20240813

type BookingAttendeeWithId20240813 struct {
	// Absent Example: false
	Absent bool `json:"absent"`

	// DisplayEmail Clean email for display purposes
	//
	// Example: john@example.com
	DisplayEmail string `json:"displayEmail"`

	// Email Example: john@example.com
	Email string `json:"email"`

	// Id Example: 251
	Id float64 `json:"id"`

	// Language Example: en
	Language *BookingAttendeeWithId20240813Language `json:"language,omitempty"`

	// Name Example: John Doe
	Name string `json:"name"`

	// PhoneNumber Example: +1234567890
	PhoneNumber *string `json:"phoneNumber,omitempty"`

	// TimeZone Example: America/New_York
	TimeZone string `json:"timeZone"`
}

BookingAttendeeWithId20240813 defines model for BookingAttendeeWithId_2024_08_13.

type BookingAttendeeWithId20240813Language

type BookingAttendeeWithId20240813Language string

BookingAttendeeWithId20240813Language Example: en

const (
	BookingAttendeeWithId20240813LanguageAr    BookingAttendeeWithId20240813Language = "ar"
	BookingAttendeeWithId20240813LanguageAz    BookingAttendeeWithId20240813Language = "az"
	BookingAttendeeWithId20240813LanguageBg    BookingAttendeeWithId20240813Language = "bg"
	BookingAttendeeWithId20240813LanguageBn    BookingAttendeeWithId20240813Language = "bn"
	BookingAttendeeWithId20240813LanguageCa    BookingAttendeeWithId20240813Language = "ca"
	BookingAttendeeWithId20240813LanguageCs    BookingAttendeeWithId20240813Language = "cs"
	BookingAttendeeWithId20240813LanguageDa    BookingAttendeeWithId20240813Language = "da"
	BookingAttendeeWithId20240813LanguageDe    BookingAttendeeWithId20240813Language = "de"
	BookingAttendeeWithId20240813LanguageEl    BookingAttendeeWithId20240813Language = "el"
	BookingAttendeeWithId20240813LanguageEn    BookingAttendeeWithId20240813Language = "en"
	BookingAttendeeWithId20240813LanguageEs    BookingAttendeeWithId20240813Language = "es"
	BookingAttendeeWithId20240813LanguageEs419 BookingAttendeeWithId20240813Language = "es-419"
	BookingAttendeeWithId20240813LanguageEt    BookingAttendeeWithId20240813Language = "et"
	BookingAttendeeWithId20240813LanguageEu    BookingAttendeeWithId20240813Language = "eu"
	BookingAttendeeWithId20240813LanguageFi    BookingAttendeeWithId20240813Language = "fi"
	BookingAttendeeWithId20240813LanguageFr    BookingAttendeeWithId20240813Language = "fr"
	BookingAttendeeWithId20240813LanguageHe    BookingAttendeeWithId20240813Language = "he"
	BookingAttendeeWithId20240813LanguageHr    BookingAttendeeWithId20240813Language = "hr"
	BookingAttendeeWithId20240813LanguageHu    BookingAttendeeWithId20240813Language = "hu"
	BookingAttendeeWithId20240813LanguageId    BookingAttendeeWithId20240813Language = "id"
	BookingAttendeeWithId20240813LanguageIt    BookingAttendeeWithId20240813Language = "it"
	BookingAttendeeWithId20240813LanguageIw    BookingAttendeeWithId20240813Language = "iw"
	BookingAttendeeWithId20240813LanguageJa    BookingAttendeeWithId20240813Language = "ja"
	BookingAttendeeWithId20240813LanguageKm    BookingAttendeeWithId20240813Language = "km"
	BookingAttendeeWithId20240813LanguageKo    BookingAttendeeWithId20240813Language = "ko"
	BookingAttendeeWithId20240813LanguageLv    BookingAttendeeWithId20240813Language = "lv"
	BookingAttendeeWithId20240813LanguageNl    BookingAttendeeWithId20240813Language = "nl"
	BookingAttendeeWithId20240813LanguageNo    BookingAttendeeWithId20240813Language = "no"
	BookingAttendeeWithId20240813LanguagePl    BookingAttendeeWithId20240813Language = "pl"
	BookingAttendeeWithId20240813LanguagePt    BookingAttendeeWithId20240813Language = "pt"
	BookingAttendeeWithId20240813LanguagePtBR  BookingAttendeeWithId20240813Language = "pt-BR"
	BookingAttendeeWithId20240813LanguageRo    BookingAttendeeWithId20240813Language = "ro"
	BookingAttendeeWithId20240813LanguageRu    BookingAttendeeWithId20240813Language = "ru"
	BookingAttendeeWithId20240813LanguageSk    BookingAttendeeWithId20240813Language = "sk"
	BookingAttendeeWithId20240813LanguageSr    BookingAttendeeWithId20240813Language = "sr"
	BookingAttendeeWithId20240813LanguageSv    BookingAttendeeWithId20240813Language = "sv"
	BookingAttendeeWithId20240813LanguageTa    BookingAttendeeWithId20240813Language = "ta"
	BookingAttendeeWithId20240813LanguageTh    BookingAttendeeWithId20240813Language = "th"
	BookingAttendeeWithId20240813LanguageTr    BookingAttendeeWithId20240813Language = "tr"
	BookingAttendeeWithId20240813LanguageUk    BookingAttendeeWithId20240813Language = "uk"
	BookingAttendeeWithId20240813LanguageVi    BookingAttendeeWithId20240813Language = "vi"
	BookingAttendeeWithId20240813LanguageZhCN  BookingAttendeeWithId20240813Language = "zh-CN"
	BookingAttendeeWithId20240813LanguageZhTW  BookingAttendeeWithId20240813Language = "zh-TW"
)

Defines values for BookingAttendeeWithId20240813Language.

func (BookingAttendeeWithId20240813Language) Valid

Valid indicates whether the value is a known member of the BookingAttendeeWithId20240813Language enum.

type BookingAttendeesController20240813AddAttendeeJSONRequestBody

type BookingAttendeesController20240813AddAttendeeJSONRequestBody = AddAttendeeInput20240813

BookingAttendeesController20240813AddAttendeeJSONRequestBody defines body for BookingAttendeesController20240813AddAttendee for application/json ContentType.

type BookingAttendeesController20240813AddAttendeeParams

type BookingAttendeesController20240813AddAttendeeParams struct {
	// CalApiVersion Must be set to 2024-08-13. This header is required as this endpoint does not exist in older API versions.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingAttendeesController20240813AddAttendeeParams defines parameters for BookingAttendeesController20240813AddAttendee.

type BookingAttendeesController20240813AddAttendeeResponse

type BookingAttendeesController20240813AddAttendeeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *AddAttendeeOutput20240813
}

func ParseBookingAttendeesController20240813AddAttendeeResponse

func ParseBookingAttendeesController20240813AddAttendeeResponse(rsp *http.Response) (*BookingAttendeesController20240813AddAttendeeResponse, error)

ParseBookingAttendeesController20240813AddAttendeeResponse parses an HTTP response from a BookingAttendeesController20240813AddAttendeeWithResponse call

func (BookingAttendeesController20240813AddAttendeeResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingAttendeesController20240813AddAttendeeResponse) GetBody

GetBody returns the raw response body bytes

func (BookingAttendeesController20240813AddAttendeeResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (BookingAttendeesController20240813AddAttendeeResponse) Status

Status returns HTTPResponse.Status

func (BookingAttendeesController20240813AddAttendeeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingAttendeesController20240813GetBookingAttendeeParams

type BookingAttendeesController20240813GetBookingAttendeeParams struct {
	// CalApiVersion Must be set to 2024-08-13. This header is required as this endpoint does not exist in older API versions.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingAttendeesController20240813GetBookingAttendeeParams defines parameters for BookingAttendeesController20240813GetBookingAttendee.

type BookingAttendeesController20240813GetBookingAttendeeResponse

type BookingAttendeesController20240813GetBookingAttendeeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBookingAttendeeOutput20240813
}

func ParseBookingAttendeesController20240813GetBookingAttendeeResponse

func ParseBookingAttendeesController20240813GetBookingAttendeeResponse(rsp *http.Response) (*BookingAttendeesController20240813GetBookingAttendeeResponse, error)

ParseBookingAttendeesController20240813GetBookingAttendeeResponse parses an HTTP response from a BookingAttendeesController20240813GetBookingAttendeeWithResponse call

func (BookingAttendeesController20240813GetBookingAttendeeResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingAttendeesController20240813GetBookingAttendeeResponse) GetBody

GetBody returns the raw response body bytes

func (BookingAttendeesController20240813GetBookingAttendeeResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingAttendeesController20240813GetBookingAttendeeResponse) Status

Status returns HTTPResponse.Status

func (BookingAttendeesController20240813GetBookingAttendeeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingAttendeesController20240813GetBookingAttendeesParams

type BookingAttendeesController20240813GetBookingAttendeesParams struct {
	// CalApiVersion Must be set to 2024-08-13. This header is required as this endpoint does not exist in older API versions.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingAttendeesController20240813GetBookingAttendeesParams defines parameters for BookingAttendeesController20240813GetBookingAttendees.

type BookingAttendeesController20240813GetBookingAttendeesResponse

type BookingAttendeesController20240813GetBookingAttendeesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBookingAttendeesOutput20240813
}

func ParseBookingAttendeesController20240813GetBookingAttendeesResponse

func ParseBookingAttendeesController20240813GetBookingAttendeesResponse(rsp *http.Response) (*BookingAttendeesController20240813GetBookingAttendeesResponse, error)

ParseBookingAttendeesController20240813GetBookingAttendeesResponse parses an HTTP response from a BookingAttendeesController20240813GetBookingAttendeesWithResponse call

func (BookingAttendeesController20240813GetBookingAttendeesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingAttendeesController20240813GetBookingAttendeesResponse) GetBody

GetBody returns the raw response body bytes

func (BookingAttendeesController20240813GetBookingAttendeesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingAttendeesController20240813GetBookingAttendeesResponse) Status

Status returns HTTPResponse.Status

func (BookingAttendeesController20240813GetBookingAttendeesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingAttendeesController20240813RemoveAttendeeParams

type BookingAttendeesController20240813RemoveAttendeeParams struct {
	// CalApiVersion Must be set to 2024-08-13. This header is required as this endpoint does not exist in older API versions.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingAttendeesController20240813RemoveAttendeeParams defines parameters for BookingAttendeesController20240813RemoveAttendee.

type BookingAttendeesController20240813RemoveAttendeeResponse

type BookingAttendeesController20240813RemoveAttendeeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RemoveAttendeeOutput20240813
}

func ParseBookingAttendeesController20240813RemoveAttendeeResponse

func ParseBookingAttendeesController20240813RemoveAttendeeResponse(rsp *http.Response) (*BookingAttendeesController20240813RemoveAttendeeResponse, error)

ParseBookingAttendeesController20240813RemoveAttendeeResponse parses an HTTP response from a BookingAttendeesController20240813RemoveAttendeeWithResponse call

func (BookingAttendeesController20240813RemoveAttendeeResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingAttendeesController20240813RemoveAttendeeResponse) GetBody

GetBody returns the raw response body bytes

func (BookingAttendeesController20240813RemoveAttendeeResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingAttendeesController20240813RemoveAttendeeResponse) Status

Status returns HTTPResponse.Status

func (BookingAttendeesController20240813RemoveAttendeeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingGuestsController20240813AddGuestsJSONRequestBody

type BookingGuestsController20240813AddGuestsJSONRequestBody = AddGuestsInput20240813

BookingGuestsController20240813AddGuestsJSONRequestBody defines body for BookingGuestsController20240813AddGuests for application/json ContentType.

type BookingGuestsController20240813AddGuestsParams

type BookingGuestsController20240813AddGuestsParams struct {
	// CalApiVersion Must be set to 2024-08-13. This header is required as this endpoint does not exist in older API versions.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingGuestsController20240813AddGuestsParams defines parameters for BookingGuestsController20240813AddGuests.

type BookingGuestsController20240813AddGuestsResponse

type BookingGuestsController20240813AddGuestsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AddGuestsOutput20240813
}

func ParseBookingGuestsController20240813AddGuestsResponse

func ParseBookingGuestsController20240813AddGuestsResponse(rsp *http.Response) (*BookingGuestsController20240813AddGuestsResponse, error)

ParseBookingGuestsController20240813AddGuestsResponse parses an HTTP response from a BookingGuestsController20240813AddGuestsWithResponse call

func (BookingGuestsController20240813AddGuestsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingGuestsController20240813AddGuestsResponse) GetBody

GetBody returns the raw response body bytes

func (BookingGuestsController20240813AddGuestsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingGuestsController20240813AddGuestsResponse) Status

Status returns HTTPResponse.Status

func (BookingGuestsController20240813AddGuestsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingHost

type BookingHost struct {
	// DisplayEmail Clean email for display purposes
	//
	// Example: jane100@example.com
	DisplayEmail string `json:"displayEmail"`

	// Email Example: jane100@example.com
	Email string `json:"email"`

	// Id Example: 1
	Id float64 `json:"id"`

	// Name Example: Jane Doe
	Name string `json:"name"`

	// TimeZone Example: America/Los_Angeles
	TimeZone string `json:"timeZone"`

	// Username Example: jane100
	Username string `json:"username"`
}

BookingHost defines model for BookingHost.

type BookingInputAddressLocation20240813

type BookingInputAddressLocation20240813 struct {
	// Type only allowed value for type is `address` - it refers to address defined by the organizer.
	//
	// Example: address
	Type string `json:"type"`
}

BookingInputAddressLocation20240813 defines model for BookingInputAddressLocation_2024_08_13.

type BookingInputAttendeeAddressLocation20240813

type BookingInputAttendeeAddressLocation20240813 struct {
	// Address Example: 123 Example St, City, Country
	Address string `json:"address"`

	// Type only allowed value for type is `attendeeAddress`
	//
	// Example: attendeeAddress
	Type string `json:"type"`
}

BookingInputAttendeeAddressLocation20240813 defines model for BookingInputAttendeeAddressLocation_2024_08_13.

type BookingInputAttendeeDefinedLocation20240813

type BookingInputAttendeeDefinedLocation20240813 struct {
	// Location Example: 321 Example St, City, Country
	Location string `json:"location"`

	// Type only allowed value for type is `attendeeDefined`
	//
	// Example: attendeeDefined
	Type string `json:"type"`
}

BookingInputAttendeeDefinedLocation20240813 defines model for BookingInputAttendeeDefinedLocation_2024_08_13.

type BookingInputAttendeePhoneLocation20240813

type BookingInputAttendeePhoneLocation20240813 struct {
	// Phone Example: +37120993151
	Phone string `json:"phone"`

	// Type only allowed value for type is `attendeePhone`
	//
	// Example: attendeePhone
	Type string `json:"type"`
}

BookingInputAttendeePhoneLocation20240813 defines model for BookingInputAttendeePhoneLocation_2024_08_13.

type BookingInputIntegrationLocation20240813

type BookingInputIntegrationLocation20240813 struct {
	// Integration Example: cal-video
	Integration BookingInputIntegrationLocation20240813Integration `json:"integration"`

	// Type only allowed value for type is `integration`
	//
	// Example: integration
	Type string `json:"type"`
}

BookingInputIntegrationLocation20240813 defines model for BookingInputIntegrationLocation_2024_08_13.

type BookingInputIntegrationLocation20240813Integration

type BookingInputIntegrationLocation20240813Integration string

BookingInputIntegrationLocation20240813Integration Example: cal-video

const (
	BookingInputIntegrationLocation20240813IntegrationCalVideo          BookingInputIntegrationLocation20240813Integration = "cal-video"
	BookingInputIntegrationLocation20240813IntegrationCampfireVideo     BookingInputIntegrationLocation20240813Integration = "campfire-video"
	BookingInputIntegrationLocation20240813IntegrationDemodeskVideo     BookingInputIntegrationLocation20240813Integration = "demodesk-video"
	BookingInputIntegrationLocation20240813IntegrationDiscordVideo      BookingInputIntegrationLocation20240813Integration = "discord-video"
	BookingInputIntegrationLocation20240813IntegrationEightxeightVideo  BookingInputIntegrationLocation20240813Integration = "eightxeight-video"
	BookingInputIntegrationLocation20240813IntegrationElementCallVideo  BookingInputIntegrationLocation20240813Integration = "element-call-video"
	BookingInputIntegrationLocation20240813IntegrationFacetimeVideo     BookingInputIntegrationLocation20240813Integration = "facetime-video"
	BookingInputIntegrationLocation20240813IntegrationGoogleMeet        BookingInputIntegrationLocation20240813Integration = "google-meet"
	BookingInputIntegrationLocation20240813IntegrationHuddle            BookingInputIntegrationLocation20240813Integration = "huddle"
	BookingInputIntegrationLocation20240813IntegrationJellyConferencing BookingInputIntegrationLocation20240813Integration = "jelly-conferencing"
	BookingInputIntegrationLocation20240813IntegrationJellyVideo        BookingInputIntegrationLocation20240813Integration = "jelly-video"
	BookingInputIntegrationLocation20240813IntegrationJitsi             BookingInputIntegrationLocation20240813Integration = "jitsi"
	BookingInputIntegrationLocation20240813IntegrationMirotalkVideo     BookingInputIntegrationLocation20240813Integration = "mirotalk-video"
	BookingInputIntegrationLocation20240813IntegrationOffice365Video    BookingInputIntegrationLocation20240813Integration = "office365-video"
	BookingInputIntegrationLocation20240813IntegrationPingVideo         BookingInputIntegrationLocation20240813Integration = "ping-video"
	BookingInputIntegrationLocation20240813IntegrationRiversideVideo    BookingInputIntegrationLocation20240813Integration = "riverside-video"
	BookingInputIntegrationLocation20240813IntegrationRoamVideo         BookingInputIntegrationLocation20240813Integration = "roam-video"
	BookingInputIntegrationLocation20240813IntegrationSalesroomVideo    BookingInputIntegrationLocation20240813Integration = "salesroom-video"
	BookingInputIntegrationLocation20240813IntegrationShimmerVideo      BookingInputIntegrationLocation20240813Integration = "shimmer-video"
	BookingInputIntegrationLocation20240813IntegrationSignalVideo       BookingInputIntegrationLocation20240813Integration = "signal-video"
	BookingInputIntegrationLocation20240813IntegrationSiriusVideo       BookingInputIntegrationLocation20240813Integration = "sirius-video"
	BookingInputIntegrationLocation20240813IntegrationSkypeVideo        BookingInputIntegrationLocation20240813Integration = "skype-video"
	BookingInputIntegrationLocation20240813IntegrationSylapsVideo       BookingInputIntegrationLocation20240813Integration = "sylaps-video"
	BookingInputIntegrationLocation20240813IntegrationTandem            BookingInputIntegrationLocation20240813Integration = "tandem"
	BookingInputIntegrationLocation20240813IntegrationTelegramVideo     BookingInputIntegrationLocation20240813Integration = "telegram-video"
	BookingInputIntegrationLocation20240813IntegrationWebexVideo        BookingInputIntegrationLocation20240813Integration = "webex-video"
	BookingInputIntegrationLocation20240813IntegrationWhatsappVideo     BookingInputIntegrationLocation20240813Integration = "whatsapp-video"
	BookingInputIntegrationLocation20240813IntegrationWherebyVideo      BookingInputIntegrationLocation20240813Integration = "whereby-video"
	BookingInputIntegrationLocation20240813IntegrationZoom              BookingInputIntegrationLocation20240813Integration = "zoom"
)

Defines values for BookingInputIntegrationLocation20240813Integration.

func (BookingInputIntegrationLocation20240813Integration) Valid

Valid indicates whether the value is a known member of the BookingInputIntegrationLocation20240813Integration enum.

type BookingInputLinkLocation20240813

type BookingInputLinkLocation20240813 struct {
	// Type only allowed value for type is `link` - it refers to link defined by the organizer.
	//
	// Example: link
	Type string `json:"type"`
}

BookingInputLinkLocation20240813 defines model for BookingInputLinkLocation_2024_08_13.

type BookingInputOrganizersDefaultAppLocation20240813

type BookingInputOrganizersDefaultAppLocation20240813 struct {
	// Type only available for team event types and the only allowed value for type is `organizersDefaultApp` - it refers to the default app defined by the organizer.
	//
	// Example: organizersDefaultApp
	Type string `json:"type"`
}

BookingInputOrganizersDefaultAppLocation20240813 defines model for BookingInputOrganizersDefaultAppLocation_2024_08_13.

type BookingInputPhoneLocation20240813

type BookingInputPhoneLocation20240813 struct {
	// Type only allowed value for type is `phone` - it refers to phone defined by the organizer.
	//
	// Example: phone
	Type string `json:"type"`
}

BookingInputPhoneLocation20240813 defines model for BookingInputPhoneLocation_2024_08_13.

type BookingLocationController20240813UpdateBookingLocationJSONRequestBody

type BookingLocationController20240813UpdateBookingLocationJSONRequestBody = UpdateBookingLocationInput20240813

BookingLocationController20240813UpdateBookingLocationJSONRequestBody defines body for BookingLocationController20240813UpdateBookingLocation for application/json ContentType.

type BookingLocationController20240813UpdateBookingLocationParams

type BookingLocationController20240813UpdateBookingLocationParams struct {
	// CalApiVersion Must be set to 2024-08-13. This header is required as this endpoint does not exist in older API versions.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingLocationController20240813UpdateBookingLocationParams defines parameters for BookingLocationController20240813UpdateBookingLocation.

type BookingLocationController20240813UpdateBookingLocationResponse

type BookingLocationController20240813UpdateBookingLocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UpdateBookingLocationOutput20240813
}

func ParseBookingLocationController20240813UpdateBookingLocationResponse

func ParseBookingLocationController20240813UpdateBookingLocationResponse(rsp *http.Response) (*BookingLocationController20240813UpdateBookingLocationResponse, error)

ParseBookingLocationController20240813UpdateBookingLocationResponse parses an HTTP response from a BookingLocationController20240813UpdateBookingLocationWithResponse call

func (BookingLocationController20240813UpdateBookingLocationResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingLocationController20240813UpdateBookingLocationResponse) GetBody

GetBody returns the raw response body bytes

func (BookingLocationController20240813UpdateBookingLocationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingLocationController20240813UpdateBookingLocationResponse) Status

Status returns HTTPResponse.Status

func (BookingLocationController20240813UpdateBookingLocationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingOutput20240813

type BookingOutput20240813 struct {
	// AbsentHost Example: true
	AbsentHost bool              `json:"absentHost"`
	Attendees  []BookingAttendee `json:"attendees"`

	// BookingFieldsResponses Booking field responses consisting of an object with booking field slug as keys and user response as values.
	//
	// Example: {"customField":"customValue"}
	BookingFieldsResponses map[string]interface{} `json:"bookingFieldsResponses"`

	// CancellationReason Example: User requested cancellation
	CancellationReason *string `json:"cancellationReason,omitempty"`

	// CancelledByEmail Example: canceller@example.com
	CancelledByEmail *string `json:"cancelledByEmail,omitempty"`

	// CreatedAt Example: 2024-08-13T15:30:00Z
	CreatedAt string `json:"createdAt"`

	// Description Example: Learn how to integrate scheduling into marketplace.
	Description string `json:"description"`

	// Duration Example: 60
	Duration float64 `json:"duration"`

	// End Example: 2024-08-13T16:30:00Z
	End       string    `json:"end"`
	EventType EventType `json:"eventType"`

	// EventTypeId Deprecated - rely on 'eventType' object containing the id instead.
	//
	// Example: 50
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	EventTypeId float64 `json:"eventTypeId"`

	// Guests Example: ["guest1@example.com","guest2@example.com"]
	Guests *[]string     `json:"guests,omitempty"`
	Hosts  []BookingHost `json:"hosts"`

	// IcsUid UID of ICS event.
	//
	// Example: ics_uid_123
	IcsUid *string `json:"icsUid,omitempty"`

	// Id Example: 123
	Id float64 `json:"id"`

	// Location Example: https://example.com/meeting
	Location string `json:"location"`

	// MeetingUrl Deprecated - rely on 'location' field instead.
	//
	// Example: https://example.com/recurring-meeting
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MeetingUrl *string `json:"meetingUrl,omitempty"`

	// Metadata Example: {"key":"value"}
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Rating Example: 4
	Rating *float64 `json:"rating,omitempty"`

	// RescheduledByEmail Example: rescheduler@example.com
	RescheduledByEmail *string `json:"rescheduledByEmail,omitempty"`

	// RescheduledFromUid UID of the previous booking from which this booking was rescheduled.
	//
	// Example: previous_uid_123
	RescheduledFromUid *string `json:"rescheduledFromUid,omitempty"`

	// RescheduledToUid UID of the new booking to which this booking was rescheduled.
	//
	// Example: new_uid_456
	RescheduledToUid *string `json:"rescheduledToUid,omitempty"`

	// ReschedulingReason Example: User rescheduled the event
	ReschedulingReason *string `json:"reschedulingReason,omitempty"`

	// Start Example: 2024-08-13T15:30:00Z
	Start string `json:"start"`

	// Status Example: accepted
	Status BookingOutput20240813Status `json:"status"`

	// Title Example: Consultation
	Title string `json:"title"`

	// Uid Example: booking_uid_123
	Uid string `json:"uid"`

	// UpdatedAt Example: 2024-08-13T15:30:00Z
	UpdatedAt string `json:"updatedAt"`
}

BookingOutput20240813 defines model for BookingOutput_2024_08_13.

type BookingOutput20240813Status

type BookingOutput20240813Status string

BookingOutput20240813Status Example: accepted

const (
	BookingOutput20240813StatusAccepted  BookingOutput20240813Status = "accepted"
	BookingOutput20240813StatusCancelled BookingOutput20240813Status = "cancelled"
	BookingOutput20240813StatusPending   BookingOutput20240813Status = "pending"
	BookingOutput20240813StatusRejected  BookingOutput20240813Status = "rejected"
)

Defines values for BookingOutput20240813Status.

func (BookingOutput20240813Status) Valid

Valid indicates whether the value is a known member of the BookingOutput20240813Status enum.

type BookingReference

type BookingReference struct {
	// DestinationCalendarId The id of the calendar the event is created in
	DestinationCalendarId *string `json:"destinationCalendarId"`

	// EventUid The event uid of the booking
	EventUid string `json:"eventUid"`

	// Id The id of the booking reference
	Id float64 `json:"id"`

	// Type The type of the booking reference
	Type string `json:"type"`
}

BookingReference defines model for BookingReference.

type BookingReferencesOutput20240813

type BookingReferencesOutput20240813 struct {
	// Data Booking References
	Data []BookingReference `json:"data"`

	// Status The status of the request, always 'success' for successful responses
	//
	// Example: success
	Status map[string]interface{} `json:"status"`
}

BookingReferencesOutput20240813 defines model for BookingReferencesOutput_2024_08_13.

type BookingsController20240813CancelBookingJSONBody

type BookingsController20240813CancelBookingJSONBody struct {
	// contains filtered or unexported fields
}

BookingsController20240813CancelBookingJSONBody defines parameters for BookingsController20240813CancelBooking.

func (BookingsController20240813CancelBookingJSONBody) AsCancelBookingInput20240813

AsCancelBookingInput20240813 returns the union data inside the BookingsController20240813CancelBookingJSONBody as a CancelBookingInput20240813

func (BookingsController20240813CancelBookingJSONBody) AsCancelSeatedBookingInput20240813

AsCancelSeatedBookingInput20240813 returns the union data inside the BookingsController20240813CancelBookingJSONBody as a CancelSeatedBookingInput20240813

func (*BookingsController20240813CancelBookingJSONBody) FromCancelBookingInput20240813

FromCancelBookingInput20240813 overwrites any union data inside the BookingsController20240813CancelBookingJSONBody as the provided CancelBookingInput20240813

func (*BookingsController20240813CancelBookingJSONBody) FromCancelSeatedBookingInput20240813

FromCancelSeatedBookingInput20240813 overwrites any union data inside the BookingsController20240813CancelBookingJSONBody as the provided CancelSeatedBookingInput20240813

func (BookingsController20240813CancelBookingJSONBody) MarshalJSON

func (*BookingsController20240813CancelBookingJSONBody) MergeCancelBookingInput20240813

MergeCancelBookingInput20240813 performs a merge with any union data inside the BookingsController20240813CancelBookingJSONBody, using the provided CancelBookingInput20240813

func (*BookingsController20240813CancelBookingJSONBody) MergeCancelSeatedBookingInput20240813

MergeCancelSeatedBookingInput20240813 performs a merge with any union data inside the BookingsController20240813CancelBookingJSONBody, using the provided CancelSeatedBookingInput20240813

func (*BookingsController20240813CancelBookingJSONBody) UnmarshalJSON

type BookingsController20240813CancelBookingJSONRequestBody

type BookingsController20240813CancelBookingJSONRequestBody BookingsController20240813CancelBookingJSONBody

BookingsController20240813CancelBookingJSONRequestBody defines body for BookingsController20240813CancelBooking for application/json ContentType.

type BookingsController20240813CancelBookingParams

type BookingsController20240813CancelBookingParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization *string `json:"Authorization,omitempty"`

	// XCalSecretKey For platform customers - OAuth client secret key
	XCalSecretKey *string `json:"x-cal-secret-key,omitempty"`

	// XCalClientId For platform customers - OAuth client ID
	XCalClientId *string `json:"x-cal-client-id,omitempty"`
}

BookingsController20240813CancelBookingParams defines parameters for BookingsController20240813CancelBooking.

type BookingsController20240813CancelBookingResponse

type BookingsController20240813CancelBookingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CancelBookingOutput20240813
}

func ParseBookingsController20240813CancelBookingResponse

func ParseBookingsController20240813CancelBookingResponse(rsp *http.Response) (*BookingsController20240813CancelBookingResponse, error)

ParseBookingsController20240813CancelBookingResponse parses an HTTP response from a BookingsController20240813CancelBookingWithResponse call

func (BookingsController20240813CancelBookingResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813CancelBookingResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813CancelBookingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813CancelBookingResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813CancelBookingResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813ConfirmBookingParams

type BookingsController20240813ConfirmBookingParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingsController20240813ConfirmBookingParams defines parameters for BookingsController20240813ConfirmBooking.

type BookingsController20240813ConfirmBookingResponse

type BookingsController20240813ConfirmBookingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBookingOutput20240813
}

func ParseBookingsController20240813ConfirmBookingResponse

func ParseBookingsController20240813ConfirmBookingResponse(rsp *http.Response) (*BookingsController20240813ConfirmBookingResponse, error)

ParseBookingsController20240813ConfirmBookingResponse parses an HTTP response from a BookingsController20240813ConfirmBookingWithResponse call

func (BookingsController20240813ConfirmBookingResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813ConfirmBookingResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813ConfirmBookingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813ConfirmBookingResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813ConfirmBookingResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813CreateBookingJSONBody

type BookingsController20240813CreateBookingJSONBody struct {
	// contains filtered or unexported fields
}

BookingsController20240813CreateBookingJSONBody defines parameters for BookingsController20240813CreateBooking.

func (BookingsController20240813CreateBookingJSONBody) AsCreateBookingInput20240813

AsCreateBookingInput20240813 returns the union data inside the BookingsController20240813CreateBookingJSONBody as a CreateBookingInput20240813

func (BookingsController20240813CreateBookingJSONBody) AsCreateRecurringBookingInput20240813

AsCreateRecurringBookingInput20240813 returns the union data inside the BookingsController20240813CreateBookingJSONBody as a CreateRecurringBookingInput20240813

func (*BookingsController20240813CreateBookingJSONBody) FromCreateBookingInput20240813

FromCreateBookingInput20240813 overwrites any union data inside the BookingsController20240813CreateBookingJSONBody as the provided CreateBookingInput20240813

func (*BookingsController20240813CreateBookingJSONBody) FromCreateRecurringBookingInput20240813

FromCreateRecurringBookingInput20240813 overwrites any union data inside the BookingsController20240813CreateBookingJSONBody as the provided CreateRecurringBookingInput20240813

func (BookingsController20240813CreateBookingJSONBody) MarshalJSON

func (*BookingsController20240813CreateBookingJSONBody) MergeCreateBookingInput20240813

MergeCreateBookingInput20240813 performs a merge with any union data inside the BookingsController20240813CreateBookingJSONBody, using the provided CreateBookingInput20240813

func (*BookingsController20240813CreateBookingJSONBody) MergeCreateRecurringBookingInput20240813

func (t *BookingsController20240813CreateBookingJSONBody) MergeCreateRecurringBookingInput20240813(v CreateRecurringBookingInput20240813) error

MergeCreateRecurringBookingInput20240813 performs a merge with any union data inside the BookingsController20240813CreateBookingJSONBody, using the provided CreateRecurringBookingInput20240813

func (*BookingsController20240813CreateBookingJSONBody) UnmarshalJSON

type BookingsController20240813CreateBookingJSONRequestBody

type BookingsController20240813CreateBookingJSONRequestBody BookingsController20240813CreateBookingJSONBody

BookingsController20240813CreateBookingJSONRequestBody defines body for BookingsController20240813CreateBooking for application/json ContentType.

type BookingsController20240813CreateBookingParams

type BookingsController20240813CreateBookingParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization *string `json:"Authorization,omitempty"`

	// XCalSecretKey For platform customers - OAuth client secret key
	XCalSecretKey *string `json:"x-cal-secret-key,omitempty"`

	// XCalClientId For platform customers - OAuth client ID
	XCalClientId *string `json:"x-cal-client-id,omitempty"`
}

BookingsController20240813CreateBookingParams defines parameters for BookingsController20240813CreateBooking.

type BookingsController20240813CreateBookingResponse

type BookingsController20240813CreateBookingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CreateBookingOutput20240813
}

func ParseBookingsController20240813CreateBookingResponse

func ParseBookingsController20240813CreateBookingResponse(rsp *http.Response) (*BookingsController20240813CreateBookingResponse, error)

ParseBookingsController20240813CreateBookingResponse parses an HTTP response from a BookingsController20240813CreateBookingWithResponse call

func (BookingsController20240813CreateBookingResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813CreateBookingResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813CreateBookingResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (BookingsController20240813CreateBookingResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813CreateBookingResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813DeclineBookingJSONRequestBody

type BookingsController20240813DeclineBookingJSONRequestBody = DeclineBookingInput20240813

BookingsController20240813DeclineBookingJSONRequestBody defines body for BookingsController20240813DeclineBooking for application/json ContentType.

type BookingsController20240813DeclineBookingParams

type BookingsController20240813DeclineBookingParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingsController20240813DeclineBookingParams defines parameters for BookingsController20240813DeclineBooking.

type BookingsController20240813DeclineBookingResponse

type BookingsController20240813DeclineBookingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBookingOutput20240813
}

func ParseBookingsController20240813DeclineBookingResponse

func ParseBookingsController20240813DeclineBookingResponse(rsp *http.Response) (*BookingsController20240813DeclineBookingResponse, error)

ParseBookingsController20240813DeclineBookingResponse parses an HTTP response from a BookingsController20240813DeclineBookingWithResponse call

func (BookingsController20240813DeclineBookingResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813DeclineBookingResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813DeclineBookingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813DeclineBookingResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813DeclineBookingResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813GetBookingBySeatUidParams

type BookingsController20240813GetBookingBySeatUidParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization *string `json:"Authorization,omitempty"`

	// XCalSecretKey For platform customers - OAuth client secret key
	XCalSecretKey *string `json:"x-cal-secret-key,omitempty"`

	// XCalClientId For platform customers - OAuth client ID
	XCalClientId *string `json:"x-cal-client-id,omitempty"`
}

BookingsController20240813GetBookingBySeatUidParams defines parameters for BookingsController20240813GetBookingBySeatUid.

type BookingsController20240813GetBookingBySeatUidResponse

type BookingsController20240813GetBookingBySeatUidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBookingOutput20240813
}

func ParseBookingsController20240813GetBookingBySeatUidResponse

func ParseBookingsController20240813GetBookingBySeatUidResponse(rsp *http.Response) (*BookingsController20240813GetBookingBySeatUidResponse, error)

ParseBookingsController20240813GetBookingBySeatUidResponse parses an HTTP response from a BookingsController20240813GetBookingBySeatUidWithResponse call

func (BookingsController20240813GetBookingBySeatUidResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813GetBookingBySeatUidResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813GetBookingBySeatUidResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813GetBookingBySeatUidResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813GetBookingBySeatUidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813GetBookingParams

type BookingsController20240813GetBookingParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization *string `json:"Authorization,omitempty"`

	// XCalSecretKey For platform customers - OAuth client secret key
	XCalSecretKey *string `json:"x-cal-secret-key,omitempty"`

	// XCalClientId For platform customers - OAuth client ID
	XCalClientId *string `json:"x-cal-client-id,omitempty"`
}

BookingsController20240813GetBookingParams defines parameters for BookingsController20240813GetBooking.

type BookingsController20240813GetBookingRecordingsParams

type BookingsController20240813GetBookingRecordingsParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingsController20240813GetBookingRecordingsParams defines parameters for BookingsController20240813GetBookingRecordings.

type BookingsController20240813GetBookingRecordingsResponse

type BookingsController20240813GetBookingRecordingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBookingRecordingsOutput
}

func ParseBookingsController20240813GetBookingRecordingsResponse

func ParseBookingsController20240813GetBookingRecordingsResponse(rsp *http.Response) (*BookingsController20240813GetBookingRecordingsResponse, error)

ParseBookingsController20240813GetBookingRecordingsResponse parses an HTTP response from a BookingsController20240813GetBookingRecordingsWithResponse call

func (BookingsController20240813GetBookingRecordingsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813GetBookingRecordingsResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813GetBookingRecordingsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813GetBookingRecordingsResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813GetBookingRecordingsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813GetBookingReferencesParams

type BookingsController20240813GetBookingReferencesParams struct {
	// Type Filter booking references by type
	Type *BookingsController20240813GetBookingReferencesParamsType `form:"type,omitempty" json:"type,omitempty"`

	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingsController20240813GetBookingReferencesParams defines parameters for BookingsController20240813GetBookingReferences.

type BookingsController20240813GetBookingReferencesParamsType

type BookingsController20240813GetBookingReferencesParamsType string

BookingsController20240813GetBookingReferencesParamsType defines parameters for BookingsController20240813GetBookingReferences.

const (
	BookingsController20240813GetBookingReferencesParamsTypeDailyVideo        BookingsController20240813GetBookingReferencesParamsType = "daily_video"
	BookingsController20240813GetBookingReferencesParamsTypeGoogleCalendar    BookingsController20240813GetBookingReferencesParamsType = "google_calendar"
	BookingsController20240813GetBookingReferencesParamsTypeGoogleVideo       BookingsController20240813GetBookingReferencesParamsType = "google_video"
	BookingsController20240813GetBookingReferencesParamsTypeOffice365Calendar BookingsController20240813GetBookingReferencesParamsType = "office365_calendar"
	BookingsController20240813GetBookingReferencesParamsTypeOffice365Video    BookingsController20240813GetBookingReferencesParamsType = "office365_video"
	BookingsController20240813GetBookingReferencesParamsTypeZoomVideo         BookingsController20240813GetBookingReferencesParamsType = "zoom_video"
)

Defines values for BookingsController20240813GetBookingReferencesParamsType.

func (BookingsController20240813GetBookingReferencesParamsType) Valid

Valid indicates whether the value is a known member of the BookingsController20240813GetBookingReferencesParamsType enum.

type BookingsController20240813GetBookingReferencesResponse

type BookingsController20240813GetBookingReferencesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BookingReferencesOutput20240813
}

func ParseBookingsController20240813GetBookingReferencesResponse

func ParseBookingsController20240813GetBookingReferencesResponse(rsp *http.Response) (*BookingsController20240813GetBookingReferencesResponse, error)

ParseBookingsController20240813GetBookingReferencesResponse parses an HTTP response from a BookingsController20240813GetBookingReferencesWithResponse call

func (BookingsController20240813GetBookingReferencesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813GetBookingReferencesResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813GetBookingReferencesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813GetBookingReferencesResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813GetBookingReferencesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813GetBookingResponse

type BookingsController20240813GetBookingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBookingOutput20240813
}

func ParseBookingsController20240813GetBookingResponse

func ParseBookingsController20240813GetBookingResponse(rsp *http.Response) (*BookingsController20240813GetBookingResponse, error)

ParseBookingsController20240813GetBookingResponse parses an HTTP response from a BookingsController20240813GetBookingWithResponse call

func (BookingsController20240813GetBookingResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813GetBookingResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813GetBookingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813GetBookingResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813GetBookingResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813GetBookingTranscriptsParams

type BookingsController20240813GetBookingTranscriptsParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingsController20240813GetBookingTranscriptsParams defines parameters for BookingsController20240813GetBookingTranscripts.

type BookingsController20240813GetBookingTranscriptsResponse

type BookingsController20240813GetBookingTranscriptsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBookingTranscriptsOutput
}

func ParseBookingsController20240813GetBookingTranscriptsResponse

func ParseBookingsController20240813GetBookingTranscriptsResponse(rsp *http.Response) (*BookingsController20240813GetBookingTranscriptsResponse, error)

ParseBookingsController20240813GetBookingTranscriptsResponse parses an HTTP response from a BookingsController20240813GetBookingTranscriptsWithResponse call

func (BookingsController20240813GetBookingTranscriptsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813GetBookingTranscriptsResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813GetBookingTranscriptsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813GetBookingTranscriptsResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813GetBookingTranscriptsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813GetBookingsParams

type BookingsController20240813GetBookingsParams struct {
	// Status Filter bookings by status. If you want to filter by multiple statuses, separate them with a comma.
	Status *[]BookingsController20240813GetBookingsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// AttendeeEmail Filter bookings by the attendee's email address.
	AttendeeEmail *string `form:"attendeeEmail,omitempty" json:"attendeeEmail,omitempty"`

	// AttendeeName Filter bookings by the attendee's name.
	AttendeeName *string `form:"attendeeName,omitempty" json:"attendeeName,omitempty"`

	// BookingUid Filter bookings by the booking Uid.
	BookingUid *string `form:"bookingUid,omitempty" json:"bookingUid,omitempty"`

	// EventTypeIds Filter bookings by event type ids belonging to the user. Event type ids must be separated by a comma.
	EventTypeIds *string `form:"eventTypeIds,omitempty" json:"eventTypeIds,omitempty"`

	// EventTypeId Filter bookings by event type id belonging to the user.
	EventTypeId *string `form:"eventTypeId,omitempty" json:"eventTypeId,omitempty"`

	// TeamsIds Filter bookings by team ids that user is part of. Team ids must be separated by a comma.
	TeamsIds *string `form:"teamsIds,omitempty" json:"teamsIds,omitempty"`

	// TeamId Filter bookings by team id that user is part of
	TeamId *string `form:"teamId,omitempty" json:"teamId,omitempty"`

	// AfterStart Filter bookings with start after this date string.
	AfterStart *string `form:"afterStart,omitempty" json:"afterStart,omitempty"`

	// BeforeEnd Filter bookings with end before this date string.
	BeforeEnd *string `form:"beforeEnd,omitempty" json:"beforeEnd,omitempty"`

	// AfterCreatedAt Filter bookings that have been created after this date string.
	AfterCreatedAt *string `form:"afterCreatedAt,omitempty" json:"afterCreatedAt,omitempty"`

	// BeforeCreatedAt Filter bookings that have been created before this date string.
	BeforeCreatedAt *string `form:"beforeCreatedAt,omitempty" json:"beforeCreatedAt,omitempty"`

	// AfterUpdatedAt Filter bookings that have been updated after this date string.
	AfterUpdatedAt *string `form:"afterUpdatedAt,omitempty" json:"afterUpdatedAt,omitempty"`

	// BeforeUpdatedAt Filter bookings that have been updated before this date string.
	BeforeUpdatedAt *string `form:"beforeUpdatedAt,omitempty" json:"beforeUpdatedAt,omitempty"`

	// SortStart Sort results by their start time in ascending or descending order.
	SortStart *BookingsController20240813GetBookingsParamsSortStart `form:"sortStart,omitempty" json:"sortStart,omitempty"`

	// SortEnd Sort results by their end time in ascending or descending order.
	SortEnd *BookingsController20240813GetBookingsParamsSortEnd `form:"sortEnd,omitempty" json:"sortEnd,omitempty"`

	// SortCreated Sort results by their creation time (when booking was made) in ascending or descending order.
	SortCreated *BookingsController20240813GetBookingsParamsSortCreated `form:"sortCreated,omitempty" json:"sortCreated,omitempty"`

	// SortUpdatedAt Sort results by their updated time (for example when booking status changes) in ascending or descending order.
	SortUpdatedAt *BookingsController20240813GetBookingsParamsSortUpdatedAt `form:"sortUpdatedAt,omitempty" json:"sortUpdatedAt,omitempty"`

	// Take The number of items to return
	Take *float64 `form:"take,omitempty" json:"take,omitempty"`

	// Skip The number of items to skip
	Skip *float64 `form:"skip,omitempty" json:"skip,omitempty"`

	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingsController20240813GetBookingsParams defines parameters for BookingsController20240813GetBookings.

type BookingsController20240813GetBookingsParamsSortCreated

type BookingsController20240813GetBookingsParamsSortCreated string

BookingsController20240813GetBookingsParamsSortCreated defines parameters for BookingsController20240813GetBookings.

const (
	BookingsController20240813GetBookingsParamsSortCreatedAsc  BookingsController20240813GetBookingsParamsSortCreated = "asc"
	BookingsController20240813GetBookingsParamsSortCreatedDesc BookingsController20240813GetBookingsParamsSortCreated = "desc"
)

Defines values for BookingsController20240813GetBookingsParamsSortCreated.

func (BookingsController20240813GetBookingsParamsSortCreated) Valid

Valid indicates whether the value is a known member of the BookingsController20240813GetBookingsParamsSortCreated enum.

type BookingsController20240813GetBookingsParamsSortEnd

type BookingsController20240813GetBookingsParamsSortEnd string

BookingsController20240813GetBookingsParamsSortEnd defines parameters for BookingsController20240813GetBookings.

const (
	BookingsController20240813GetBookingsParamsSortEndAsc  BookingsController20240813GetBookingsParamsSortEnd = "asc"
	BookingsController20240813GetBookingsParamsSortEndDesc BookingsController20240813GetBookingsParamsSortEnd = "desc"
)

Defines values for BookingsController20240813GetBookingsParamsSortEnd.

func (BookingsController20240813GetBookingsParamsSortEnd) Valid

Valid indicates whether the value is a known member of the BookingsController20240813GetBookingsParamsSortEnd enum.

type BookingsController20240813GetBookingsParamsSortStart

type BookingsController20240813GetBookingsParamsSortStart string

BookingsController20240813GetBookingsParamsSortStart defines parameters for BookingsController20240813GetBookings.

const (
	BookingsController20240813GetBookingsParamsSortStartAsc  BookingsController20240813GetBookingsParamsSortStart = "asc"
	BookingsController20240813GetBookingsParamsSortStartDesc BookingsController20240813GetBookingsParamsSortStart = "desc"
)

Defines values for BookingsController20240813GetBookingsParamsSortStart.

func (BookingsController20240813GetBookingsParamsSortStart) Valid

Valid indicates whether the value is a known member of the BookingsController20240813GetBookingsParamsSortStart enum.

type BookingsController20240813GetBookingsParamsSortUpdatedAt

type BookingsController20240813GetBookingsParamsSortUpdatedAt string

BookingsController20240813GetBookingsParamsSortUpdatedAt defines parameters for BookingsController20240813GetBookings.

const (
	BookingsController20240813GetBookingsParamsSortUpdatedAtAsc  BookingsController20240813GetBookingsParamsSortUpdatedAt = "asc"
	BookingsController20240813GetBookingsParamsSortUpdatedAtDesc BookingsController20240813GetBookingsParamsSortUpdatedAt = "desc"
)

Defines values for BookingsController20240813GetBookingsParamsSortUpdatedAt.

func (BookingsController20240813GetBookingsParamsSortUpdatedAt) Valid

Valid indicates whether the value is a known member of the BookingsController20240813GetBookingsParamsSortUpdatedAt enum.

type BookingsController20240813GetBookingsParamsStatus

type BookingsController20240813GetBookingsParamsStatus string

BookingsController20240813GetBookingsParamsStatus defines parameters for BookingsController20240813GetBookings.

const (
	BookingsController20240813GetBookingsParamsStatusCancelled   BookingsController20240813GetBookingsParamsStatus = "cancelled"
	BookingsController20240813GetBookingsParamsStatusPast        BookingsController20240813GetBookingsParamsStatus = "past"
	BookingsController20240813GetBookingsParamsStatusRecurring   BookingsController20240813GetBookingsParamsStatus = "recurring"
	BookingsController20240813GetBookingsParamsStatusUnconfirmed BookingsController20240813GetBookingsParamsStatus = "unconfirmed"
	BookingsController20240813GetBookingsParamsStatusUpcoming    BookingsController20240813GetBookingsParamsStatus = "upcoming"
)

Defines values for BookingsController20240813GetBookingsParamsStatus.

func (BookingsController20240813GetBookingsParamsStatus) Valid

Valid indicates whether the value is a known member of the BookingsController20240813GetBookingsParamsStatus enum.

type BookingsController20240813GetBookingsResponse

type BookingsController20240813GetBookingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBookingsOutput20240813
}

func ParseBookingsController20240813GetBookingsResponse

func ParseBookingsController20240813GetBookingsResponse(rsp *http.Response) (*BookingsController20240813GetBookingsResponse, error)

ParseBookingsController20240813GetBookingsResponse parses an HTTP response from a BookingsController20240813GetBookingsWithResponse call

func (BookingsController20240813GetBookingsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813GetBookingsResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813GetBookingsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813GetBookingsResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813GetBookingsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813GetCalendarLinksParams

type BookingsController20240813GetCalendarLinksParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingsController20240813GetCalendarLinksParams defines parameters for BookingsController20240813GetCalendarLinks.

type BookingsController20240813GetCalendarLinksResponse

type BookingsController20240813GetCalendarLinksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CalendarLinksOutput20240813
}

func ParseBookingsController20240813GetCalendarLinksResponse

func ParseBookingsController20240813GetCalendarLinksResponse(rsp *http.Response) (*BookingsController20240813GetCalendarLinksResponse, error)

ParseBookingsController20240813GetCalendarLinksResponse parses an HTTP response from a BookingsController20240813GetCalendarLinksWithResponse call

func (BookingsController20240813GetCalendarLinksResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813GetCalendarLinksResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813GetCalendarLinksResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813GetCalendarLinksResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813GetCalendarLinksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813GetVideoSessionsParams

type BookingsController20240813GetVideoSessionsParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingsController20240813GetVideoSessionsParams defines parameters for BookingsController20240813GetVideoSessions.

type BookingsController20240813GetVideoSessionsResponse

type BookingsController20240813GetVideoSessionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBookingVideoSessionsOutput
}

func ParseBookingsController20240813GetVideoSessionsResponse

func ParseBookingsController20240813GetVideoSessionsResponse(rsp *http.Response) (*BookingsController20240813GetVideoSessionsResponse, error)

ParseBookingsController20240813GetVideoSessionsResponse parses an HTTP response from a BookingsController20240813GetVideoSessionsWithResponse call

func (BookingsController20240813GetVideoSessionsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813GetVideoSessionsResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813GetVideoSessionsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813GetVideoSessionsResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813GetVideoSessionsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813MarkNoShowJSONRequestBody

type BookingsController20240813MarkNoShowJSONRequestBody = MarkAbsentBookingInput20240813

BookingsController20240813MarkNoShowJSONRequestBody defines body for BookingsController20240813MarkNoShow for application/json ContentType.

type BookingsController20240813MarkNoShowParams

type BookingsController20240813MarkNoShowParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingsController20240813MarkNoShowParams defines parameters for BookingsController20240813MarkNoShow.

type BookingsController20240813MarkNoShowResponse

type BookingsController20240813MarkNoShowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MarkAbsentBookingOutput20240813
}

func ParseBookingsController20240813MarkNoShowResponse

func ParseBookingsController20240813MarkNoShowResponse(rsp *http.Response) (*BookingsController20240813MarkNoShowResponse, error)

ParseBookingsController20240813MarkNoShowResponse parses an HTTP response from a BookingsController20240813MarkNoShowWithResponse call

func (BookingsController20240813MarkNoShowResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813MarkNoShowResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813MarkNoShowResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813MarkNoShowResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813MarkNoShowResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813ReassignBookingParams

type BookingsController20240813ReassignBookingParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingsController20240813ReassignBookingParams defines parameters for BookingsController20240813ReassignBooking.

type BookingsController20240813ReassignBookingResponse

type BookingsController20240813ReassignBookingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReassignBookingOutput20240813
}

func ParseBookingsController20240813ReassignBookingResponse

func ParseBookingsController20240813ReassignBookingResponse(rsp *http.Response) (*BookingsController20240813ReassignBookingResponse, error)

ParseBookingsController20240813ReassignBookingResponse parses an HTTP response from a BookingsController20240813ReassignBookingWithResponse call

func (BookingsController20240813ReassignBookingResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813ReassignBookingResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813ReassignBookingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813ReassignBookingResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813ReassignBookingResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813ReassignBookingToUserJSONRequestBody

type BookingsController20240813ReassignBookingToUserJSONRequestBody = ReassignToUserBookingInput20240813

BookingsController20240813ReassignBookingToUserJSONRequestBody defines body for BookingsController20240813ReassignBookingToUser for application/json ContentType.

type BookingsController20240813ReassignBookingToUserParams

type BookingsController20240813ReassignBookingToUserParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

BookingsController20240813ReassignBookingToUserParams defines parameters for BookingsController20240813ReassignBookingToUser.

type BookingsController20240813ReassignBookingToUserResponse

type BookingsController20240813ReassignBookingToUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReassignBookingOutput20240813
}

func ParseBookingsController20240813ReassignBookingToUserResponse

func ParseBookingsController20240813ReassignBookingToUserResponse(rsp *http.Response) (*BookingsController20240813ReassignBookingToUserResponse, error)

ParseBookingsController20240813ReassignBookingToUserResponse parses an HTTP response from a BookingsController20240813ReassignBookingToUserWithResponse call

func (BookingsController20240813ReassignBookingToUserResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813ReassignBookingToUserResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813ReassignBookingToUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BookingsController20240813ReassignBookingToUserResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813ReassignBookingToUserResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BookingsController20240813RescheduleBookingJSONBody

type BookingsController20240813RescheduleBookingJSONBody struct {
	// contains filtered or unexported fields
}

BookingsController20240813RescheduleBookingJSONBody defines parameters for BookingsController20240813RescheduleBooking.

func (BookingsController20240813RescheduleBookingJSONBody) AsRescheduleBookingInput20240813

AsRescheduleBookingInput20240813 returns the union data inside the BookingsController20240813RescheduleBookingJSONBody as a RescheduleBookingInput20240813

func (BookingsController20240813RescheduleBookingJSONBody) AsRescheduleSeatedBookingInput20240813

AsRescheduleSeatedBookingInput20240813 returns the union data inside the BookingsController20240813RescheduleBookingJSONBody as a RescheduleSeatedBookingInput20240813

func (*BookingsController20240813RescheduleBookingJSONBody) FromRescheduleBookingInput20240813

FromRescheduleBookingInput20240813 overwrites any union data inside the BookingsController20240813RescheduleBookingJSONBody as the provided RescheduleBookingInput20240813

func (*BookingsController20240813RescheduleBookingJSONBody) FromRescheduleSeatedBookingInput20240813

FromRescheduleSeatedBookingInput20240813 overwrites any union data inside the BookingsController20240813RescheduleBookingJSONBody as the provided RescheduleSeatedBookingInput20240813

func (BookingsController20240813RescheduleBookingJSONBody) MarshalJSON

func (*BookingsController20240813RescheduleBookingJSONBody) MergeRescheduleBookingInput20240813

MergeRescheduleBookingInput20240813 performs a merge with any union data inside the BookingsController20240813RescheduleBookingJSONBody, using the provided RescheduleBookingInput20240813

func (*BookingsController20240813RescheduleBookingJSONBody) MergeRescheduleSeatedBookingInput20240813

MergeRescheduleSeatedBookingInput20240813 performs a merge with any union data inside the BookingsController20240813RescheduleBookingJSONBody, using the provided RescheduleSeatedBookingInput20240813

func (*BookingsController20240813RescheduleBookingJSONBody) UnmarshalJSON

type BookingsController20240813RescheduleBookingJSONRequestBody

type BookingsController20240813RescheduleBookingJSONRequestBody BookingsController20240813RescheduleBookingJSONBody

BookingsController20240813RescheduleBookingJSONRequestBody defines body for BookingsController20240813RescheduleBooking for application/json ContentType.

type BookingsController20240813RescheduleBookingParams

type BookingsController20240813RescheduleBookingParams struct {
	// CalApiVersion Must be set to 2024-08-13. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization *string `json:"Authorization,omitempty"`

	// XCalSecretKey For platform customers - OAuth client secret key
	XCalSecretKey *string `json:"x-cal-secret-key,omitempty"`

	// XCalClientId For platform customers - OAuth client ID
	XCalClientId *string `json:"x-cal-client-id,omitempty"`
}

BookingsController20240813RescheduleBookingParams defines parameters for BookingsController20240813RescheduleBooking.

type BookingsController20240813RescheduleBookingResponse

type BookingsController20240813RescheduleBookingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *RescheduleBookingOutput20240813
}

func ParseBookingsController20240813RescheduleBookingResponse

func ParseBookingsController20240813RescheduleBookingResponse(rsp *http.Response) (*BookingsController20240813RescheduleBookingResponse, error)

ParseBookingsController20240813RescheduleBookingResponse parses an HTTP response from a BookingsController20240813RescheduleBookingWithResponse call

func (BookingsController20240813RescheduleBookingResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BookingsController20240813RescheduleBookingResponse) GetBody

GetBody returns the raw response body bytes

func (BookingsController20240813RescheduleBookingResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (BookingsController20240813RescheduleBookingResponse) Status

Status returns HTTPResponse.Status

func (BookingsController20240813RescheduleBookingResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BooleanFieldInput20240614

type BooleanFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `notify` and the URL contains query parameter `&notify=true`,      the checkbox will be selected and the checkbox field will be disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{notify: true}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// Label Example: Agree to terms?
	Label    string `json:"label"`
	Required bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `boolean`
	//
	// Example: boolean
	Type string `json:"type"`
}

BooleanFieldInput20240614 defines model for BooleanFieldInput_2024_06_14.

type BooleanFieldOutput20240614

type BooleanFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `notify` and the URL contains query parameter `&notify=true`,      the checkbox will be selected and the checkbox field will be disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{notify: true}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always false because it's not default field but custom field
	//
	// Example: false
	IsDefault map[string]interface{} `json:"isDefault"`

	// Label Example: Agree to terms?
	Label    string `json:"label"`
	Required bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `boolean`
	//
	// Example: boolean
	Type string `json:"type"`
}

BooleanFieldOutput20240614 defines model for BooleanFieldOutput_2024_06_14.

type BusinessDaysWindow20240614

type BusinessDaysWindow20240614 struct {
	// Rolling
	//       Determines the behavior of the booking window:
	//       - If **true**, the window is rolling. This means the number of available days will always be equal the specified 'value'
	//         and adjust dynamically as bookings are made. For example, if 'value' is 3 and availability is only on Mondays,
	//         a booker attempting to schedule on November 10 will see slots on November 11, 18, and 25. As one of these days
	//         becomes fully booked, a new day (e.g., December 2) will open up to ensure 3 available days are always visible.
	//       - If **false**, the window is fixed. This means the booking window only considers the next 'value' days from the
	//         moment someone is trying to book. For example, if 'value' is 3, availability is only on Mondays, and the current
	//         date is November 10, the booker will only see slots on November 11 because the window is restricted to the next
	//         3 calendar days (November 10–12).
	//
	//
	// Example: true
	Rolling *bool `json:"rolling,omitempty"`

	// Type Whether the window should be business days, calendar days or a range of dates
	Type BusinessDaysWindow20240614Type `json:"type"`

	// Value How many business day into the future can this event be booked
	//
	// Example: 5
	Value float64 `json:"value"`
}

BusinessDaysWindow20240614 defines model for BusinessDaysWindow_2024_06_14.

type BusinessDaysWindow20240614Type

type BusinessDaysWindow20240614Type string

BusinessDaysWindow20240614Type Whether the window should be business days, calendar days or a range of dates

const (
	BusinessDaysWindow20240614TypeBusinessDays BusinessDaysWindow20240614Type = "businessDays"
	BusinessDaysWindow20240614TypeCalendarDays BusinessDaysWindow20240614Type = "calendarDays"
	BusinessDaysWindow20240614TypeRange        BusinessDaysWindow20240614Type = "range"
)

Defines values for BusinessDaysWindow20240614Type.

func (BusinessDaysWindow20240614Type) Valid

Valid indicates whether the value is a known member of the BusinessDaysWindow20240614Type enum.

type BusyTimesOutput

type BusyTimesOutput struct {
	End    time.Time `json:"end"`
	Source *string   `json:"source,omitempty"`
	Start  time.Time `json:"start"`
}

BusyTimesOutput defines model for BusyTimesOutput.

type CalMeetingParticipant

type CalMeetingParticipant struct {
	// Duration Example: 3600
	Duration float64 `json:"duration"`

	// JoinTime Example: 1678901234
	JoinTime float64 `json:"joinTime"`

	// UserId Example: user123
	UserId *string `json:"userId"`

	// UserName Example: John Doe
	UserName *string `json:"userName"`
}

CalMeetingParticipant defines model for CalMeetingParticipant.

type CalMeetingSession

type CalMeetingSession struct {
	// Duration Example: 3600
	Duration float64 `json:"duration"`

	// Id Example: session123
	Id string `json:"id"`

	// MaxParticipants Example: 10
	MaxParticipants float64 `json:"maxParticipants"`

	// Ongoing Example: false
	Ongoing      bool                    `json:"ongoing"`
	Participants []CalMeetingParticipant `json:"participants"`

	// Room Example: daily-video-room-123
	Room string `json:"room"`

	// StartTime Example: 1678901234
	StartTime float64 `json:"startTime"`
}

CalMeetingSession defines model for CalMeetingSession.

type CalUnifiedCalendarsControllerCreateCalendarEventJSONRequestBody

type CalUnifiedCalendarsControllerCreateCalendarEventJSONRequestBody = CreateUnifiedCalendarEventInput

CalUnifiedCalendarsControllerCreateCalendarEventJSONRequestBody defines body for CalUnifiedCalendarsControllerCreateCalendarEvent for application/json ContentType.

type CalUnifiedCalendarsControllerCreateCalendarEventParams

type CalUnifiedCalendarsControllerCreateCalendarEventParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerCreateCalendarEventParams defines parameters for CalUnifiedCalendarsControllerCreateCalendarEvent.

type CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar

type CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar string

CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar defines parameters for CalUnifiedCalendarsControllerCreateCalendarEvent.

const (
	CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendarApple     CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar = "apple"
	CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendarGoogle    CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar = "google"
	CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendarOffice365 CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar = "office365"
)

Defines values for CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar.

func (CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar enum.

type CalUnifiedCalendarsControllerCreateCalendarEventResponse

type CalUnifiedCalendarsControllerCreateCalendarEventResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *GetUnifiedCalendarEventOutput
}

func ParseCalUnifiedCalendarsControllerCreateCalendarEventResponse

func ParseCalUnifiedCalendarsControllerCreateCalendarEventResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerCreateCalendarEventResponse, error)

ParseCalUnifiedCalendarsControllerCreateCalendarEventResponse parses an HTTP response from a CalUnifiedCalendarsControllerCreateCalendarEventWithResponse call

func (CalUnifiedCalendarsControllerCreateCalendarEventResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerCreateCalendarEventResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerCreateCalendarEventResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CalUnifiedCalendarsControllerCreateCalendarEventResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerCreateCalendarEventResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerCreateConnectionEventJSONRequestBody

type CalUnifiedCalendarsControllerCreateConnectionEventJSONRequestBody = CreateUnifiedCalendarEventInput

CalUnifiedCalendarsControllerCreateConnectionEventJSONRequestBody defines body for CalUnifiedCalendarsControllerCreateConnectionEvent for application/json ContentType.

type CalUnifiedCalendarsControllerCreateConnectionEventParams

type CalUnifiedCalendarsControllerCreateConnectionEventParams struct {
	CalendarId *string `form:"calendarId,omitempty" json:"calendarId,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerCreateConnectionEventParams defines parameters for CalUnifiedCalendarsControllerCreateConnectionEvent.

type CalUnifiedCalendarsControllerCreateConnectionEventResponse

type CalUnifiedCalendarsControllerCreateConnectionEventResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *GetUnifiedCalendarEventOutput
}

func ParseCalUnifiedCalendarsControllerCreateConnectionEventResponse

func ParseCalUnifiedCalendarsControllerCreateConnectionEventResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerCreateConnectionEventResponse, error)

ParseCalUnifiedCalendarsControllerCreateConnectionEventResponse parses an HTTP response from a CalUnifiedCalendarsControllerCreateConnectionEventWithResponse call

func (CalUnifiedCalendarsControllerCreateConnectionEventResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerCreateConnectionEventResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerCreateConnectionEventResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CalUnifiedCalendarsControllerCreateConnectionEventResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerCreateConnectionEventResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerDeleteCalendarEventParams

type CalUnifiedCalendarsControllerDeleteCalendarEventParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerDeleteCalendarEventParams defines parameters for CalUnifiedCalendarsControllerDeleteCalendarEvent.

type CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar

type CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar string

CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar defines parameters for CalUnifiedCalendarsControllerDeleteCalendarEvent.

const (
	CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendarApple     CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar = "apple"
	CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendarGoogle    CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar = "google"
	CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendarOffice365 CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar = "office365"
)

Defines values for CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar.

func (CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar enum.

type CalUnifiedCalendarsControllerDeleteCalendarEventResponse

type CalUnifiedCalendarsControllerDeleteCalendarEventResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCalUnifiedCalendarsControllerDeleteCalendarEventResponse

func ParseCalUnifiedCalendarsControllerDeleteCalendarEventResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerDeleteCalendarEventResponse, error)

ParseCalUnifiedCalendarsControllerDeleteCalendarEventResponse parses an HTTP response from a CalUnifiedCalendarsControllerDeleteCalendarEventWithResponse call

func (CalUnifiedCalendarsControllerDeleteCalendarEventResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerDeleteCalendarEventResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerDeleteCalendarEventResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerDeleteCalendarEventResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerDeleteConnectionEventParams

type CalUnifiedCalendarsControllerDeleteConnectionEventParams struct {
	CalendarId *string `form:"calendarId,omitempty" json:"calendarId,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerDeleteConnectionEventParams defines parameters for CalUnifiedCalendarsControllerDeleteConnectionEvent.

type CalUnifiedCalendarsControllerDeleteConnectionEventResponse

type CalUnifiedCalendarsControllerDeleteConnectionEventResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCalUnifiedCalendarsControllerDeleteConnectionEventResponse

func ParseCalUnifiedCalendarsControllerDeleteConnectionEventResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerDeleteConnectionEventResponse, error)

ParseCalUnifiedCalendarsControllerDeleteConnectionEventResponse parses an HTTP response from a CalUnifiedCalendarsControllerDeleteConnectionEventWithResponse call

func (CalUnifiedCalendarsControllerDeleteConnectionEventResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerDeleteConnectionEventResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerDeleteConnectionEventResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerDeleteConnectionEventResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerGetCalendarEventDetailsParams

type CalUnifiedCalendarsControllerGetCalendarEventDetailsParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerGetCalendarEventDetailsParams defines parameters for CalUnifiedCalendarsControllerGetCalendarEventDetails.

type CalUnifiedCalendarsControllerGetCalendarEventDetailsParamsCalendar

type CalUnifiedCalendarsControllerGetCalendarEventDetailsParamsCalendar string

CalUnifiedCalendarsControllerGetCalendarEventDetailsParamsCalendar defines parameters for CalUnifiedCalendarsControllerGetCalendarEventDetails.

const (
	CalUnifiedCalendarsControllerGetCalendarEventDetailsParamsCalendarGoogle CalUnifiedCalendarsControllerGetCalendarEventDetailsParamsCalendar = "google"
)

Defines values for CalUnifiedCalendarsControllerGetCalendarEventDetailsParamsCalendar.

func (CalUnifiedCalendarsControllerGetCalendarEventDetailsParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalUnifiedCalendarsControllerGetCalendarEventDetailsParamsCalendar enum.

type CalUnifiedCalendarsControllerGetCalendarEventDetailsResponse

type CalUnifiedCalendarsControllerGetCalendarEventDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetUnifiedCalendarEventOutput
}

func ParseCalUnifiedCalendarsControllerGetCalendarEventDetailsResponse

func ParseCalUnifiedCalendarsControllerGetCalendarEventDetailsResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerGetCalendarEventDetailsResponse, error)

ParseCalUnifiedCalendarsControllerGetCalendarEventDetailsResponse parses an HTTP response from a CalUnifiedCalendarsControllerGetCalendarEventDetailsWithResponse call

func (CalUnifiedCalendarsControllerGetCalendarEventDetailsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerGetCalendarEventDetailsResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerGetCalendarEventDetailsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalUnifiedCalendarsControllerGetCalendarEventDetailsResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerGetCalendarEventDetailsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParams

type CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParams defines parameters for CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPath.

type CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParamsCalendar

type CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParamsCalendar string

CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParamsCalendar defines parameters for CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPath.

const (
	CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParamsCalendarGoogle CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParamsCalendar = "google"
)

Defines values for CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParamsCalendar.

func (CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParamsCalendar enum.

type CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathResponse

type CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetUnifiedCalendarEventOutput
}

func ParseCalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathResponse

func ParseCalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathResponse, error)

ParseCalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathResponse parses an HTTP response from a CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathWithResponse call

func (CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerGetConnectionEventParams

type CalUnifiedCalendarsControllerGetConnectionEventParams struct {
	CalendarId *string `form:"calendarId,omitempty" json:"calendarId,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerGetConnectionEventParams defines parameters for CalUnifiedCalendarsControllerGetConnectionEvent.

type CalUnifiedCalendarsControllerGetConnectionEventResponse

type CalUnifiedCalendarsControllerGetConnectionEventResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetUnifiedCalendarEventOutput
}

func ParseCalUnifiedCalendarsControllerGetConnectionEventResponse

func ParseCalUnifiedCalendarsControllerGetConnectionEventResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerGetConnectionEventResponse, error)

ParseCalUnifiedCalendarsControllerGetConnectionEventResponse parses an HTTP response from a CalUnifiedCalendarsControllerGetConnectionEventWithResponse call

func (CalUnifiedCalendarsControllerGetConnectionEventResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerGetConnectionEventResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerGetConnectionEventResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalUnifiedCalendarsControllerGetConnectionEventResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerGetConnectionEventResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerGetConnectionFreeBusyParams

type CalUnifiedCalendarsControllerGetConnectionFreeBusyParams struct {
	// From Start of the date range (ISO 8601 date or date-time)
	From string `form:"from" json:"from"`

	// To End of the date range (ISO 8601 date or date-time)
	To string `form:"to" json:"to"`

	// TimeZone IANA time zone (e.g. America/New_York)
	TimeZone *string `form:"timeZone,omitempty" json:"timeZone,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerGetConnectionFreeBusyParams defines parameters for CalUnifiedCalendarsControllerGetConnectionFreeBusy.

type CalUnifiedCalendarsControllerGetConnectionFreeBusyResponse

type CalUnifiedCalendarsControllerGetConnectionFreeBusyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBusyTimesOutput
}

func ParseCalUnifiedCalendarsControllerGetConnectionFreeBusyResponse

func ParseCalUnifiedCalendarsControllerGetConnectionFreeBusyResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerGetConnectionFreeBusyResponse, error)

ParseCalUnifiedCalendarsControllerGetConnectionFreeBusyResponse parses an HTTP response from a CalUnifiedCalendarsControllerGetConnectionFreeBusyWithResponse call

func (CalUnifiedCalendarsControllerGetConnectionFreeBusyResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerGetConnectionFreeBusyResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerGetConnectionFreeBusyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalUnifiedCalendarsControllerGetConnectionFreeBusyResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerGetConnectionFreeBusyResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerGetFreeBusyParams

type CalUnifiedCalendarsControllerGetFreeBusyParams struct {
	// From Start of the date range (ISO 8601 date or date-time)
	From string `form:"from" json:"from"`

	// To End of the date range (ISO 8601 date or date-time)
	To string `form:"to" json:"to"`

	// TimeZone IANA time zone (e.g. America/New_York)
	TimeZone *string `form:"timeZone,omitempty" json:"timeZone,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerGetFreeBusyParams defines parameters for CalUnifiedCalendarsControllerGetFreeBusy.

type CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar

type CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar string

CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar defines parameters for CalUnifiedCalendarsControllerGetFreeBusy.

const (
	CalUnifiedCalendarsControllerGetFreeBusyParamsCalendarApple     CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar = "apple"
	CalUnifiedCalendarsControllerGetFreeBusyParamsCalendarGoogle    CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar = "google"
	CalUnifiedCalendarsControllerGetFreeBusyParamsCalendarOffice365 CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar = "office365"
)

Defines values for CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar.

func (CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar enum.

type CalUnifiedCalendarsControllerGetFreeBusyResponse

type CalUnifiedCalendarsControllerGetFreeBusyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBusyTimesOutput
}

func ParseCalUnifiedCalendarsControllerGetFreeBusyResponse

func ParseCalUnifiedCalendarsControllerGetFreeBusyResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerGetFreeBusyResponse, error)

ParseCalUnifiedCalendarsControllerGetFreeBusyResponse parses an HTTP response from a CalUnifiedCalendarsControllerGetFreeBusyWithResponse call

func (CalUnifiedCalendarsControllerGetFreeBusyResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerGetFreeBusyResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerGetFreeBusyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalUnifiedCalendarsControllerGetFreeBusyResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerGetFreeBusyResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerListCalendarEventsParams

type CalUnifiedCalendarsControllerListCalendarEventsParams struct {
	// From Start of the date range (ISO 8601 date or date-time)
	From string `form:"from" json:"from"`

	// To End of the date range (ISO 8601 date or date-time)
	To string `form:"to" json:"to"`

	// TimeZone IANA time zone for the request (e.g. America/New_York)
	TimeZone *string `form:"timeZone,omitempty" json:"timeZone,omitempty"`

	// CalendarId Calendar ID. Use 'primary' for the user's primary calendar, or the external ID of a connected calendar.
	CalendarId *string `form:"calendarId,omitempty" json:"calendarId,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerListCalendarEventsParams defines parameters for CalUnifiedCalendarsControllerListCalendarEvents.

type CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar

type CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar string

CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar defines parameters for CalUnifiedCalendarsControllerListCalendarEvents.

const (
	CalUnifiedCalendarsControllerListCalendarEventsParamsCalendarApple     CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar = "apple"
	CalUnifiedCalendarsControllerListCalendarEventsParamsCalendarGoogle    CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar = "google"
	CalUnifiedCalendarsControllerListCalendarEventsParamsCalendarOffice365 CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar = "office365"
)

Defines values for CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar.

func (CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar enum.

type CalUnifiedCalendarsControllerListCalendarEventsResponse

type CalUnifiedCalendarsControllerListCalendarEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListUnifiedCalendarEventsOutput
}

func ParseCalUnifiedCalendarsControllerListCalendarEventsResponse

func ParseCalUnifiedCalendarsControllerListCalendarEventsResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerListCalendarEventsResponse, error)

ParseCalUnifiedCalendarsControllerListCalendarEventsResponse parses an HTTP response from a CalUnifiedCalendarsControllerListCalendarEventsWithResponse call

func (CalUnifiedCalendarsControllerListCalendarEventsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerListCalendarEventsResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerListCalendarEventsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalUnifiedCalendarsControllerListCalendarEventsResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerListCalendarEventsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerListConnectionEventsParams

type CalUnifiedCalendarsControllerListConnectionEventsParams struct {
	// From Start of the date range (ISO 8601 date or date-time)
	From string `form:"from" json:"from"`

	// To End of the date range (ISO 8601 date or date-time)
	To string `form:"to" json:"to"`

	// TimeZone IANA time zone for the request (e.g. America/New_York)
	TimeZone *string `form:"timeZone,omitempty" json:"timeZone,omitempty"`

	// CalendarId Calendar ID. Use 'primary' for the user's primary calendar, or the external ID of a connected calendar.
	CalendarId *string `form:"calendarId,omitempty" json:"calendarId,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerListConnectionEventsParams defines parameters for CalUnifiedCalendarsControllerListConnectionEvents.

type CalUnifiedCalendarsControllerListConnectionEventsResponse

type CalUnifiedCalendarsControllerListConnectionEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListUnifiedCalendarEventsOutput
}

func ParseCalUnifiedCalendarsControllerListConnectionEventsResponse

func ParseCalUnifiedCalendarsControllerListConnectionEventsResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerListConnectionEventsResponse, error)

ParseCalUnifiedCalendarsControllerListConnectionEventsResponse parses an HTTP response from a CalUnifiedCalendarsControllerListConnectionEventsWithResponse call

func (CalUnifiedCalendarsControllerListConnectionEventsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerListConnectionEventsResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerListConnectionEventsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalUnifiedCalendarsControllerListConnectionEventsResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerListConnectionEventsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerListConnectionsParams

type CalUnifiedCalendarsControllerListConnectionsParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerListConnectionsParams defines parameters for CalUnifiedCalendarsControllerListConnections.

type CalUnifiedCalendarsControllerListConnectionsResponse

type CalUnifiedCalendarsControllerListConnectionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListConnectionsOutput
}

func ParseCalUnifiedCalendarsControllerListConnectionsResponse

func ParseCalUnifiedCalendarsControllerListConnectionsResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerListConnectionsResponse, error)

ParseCalUnifiedCalendarsControllerListConnectionsResponse parses an HTTP response from a CalUnifiedCalendarsControllerListConnectionsWithResponse call

func (CalUnifiedCalendarsControllerListConnectionsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerListConnectionsResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerListConnectionsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalUnifiedCalendarsControllerListConnectionsResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerListConnectionsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerUpdateCalendarEventJSONRequestBody

type CalUnifiedCalendarsControllerUpdateCalendarEventJSONRequestBody = UpdateUnifiedCalendarEventInput

CalUnifiedCalendarsControllerUpdateCalendarEventJSONRequestBody defines body for CalUnifiedCalendarsControllerUpdateCalendarEvent for application/json ContentType.

type CalUnifiedCalendarsControllerUpdateCalendarEventParams

type CalUnifiedCalendarsControllerUpdateCalendarEventParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerUpdateCalendarEventParams defines parameters for CalUnifiedCalendarsControllerUpdateCalendarEvent.

type CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar

type CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar string

CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar defines parameters for CalUnifiedCalendarsControllerUpdateCalendarEvent.

const (
	CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendarGoogle CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar = "google"
)

Defines values for CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar.

func (CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar enum.

type CalUnifiedCalendarsControllerUpdateCalendarEventResponse

type CalUnifiedCalendarsControllerUpdateCalendarEventResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetUnifiedCalendarEventOutput
}

func ParseCalUnifiedCalendarsControllerUpdateCalendarEventResponse

func ParseCalUnifiedCalendarsControllerUpdateCalendarEventResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerUpdateCalendarEventResponse, error)

ParseCalUnifiedCalendarsControllerUpdateCalendarEventResponse parses an HTTP response from a CalUnifiedCalendarsControllerUpdateCalendarEventWithResponse call

func (CalUnifiedCalendarsControllerUpdateCalendarEventResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerUpdateCalendarEventResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerUpdateCalendarEventResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalUnifiedCalendarsControllerUpdateCalendarEventResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerUpdateCalendarEventResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathJSONRequestBody

type CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathJSONRequestBody = UpdateUnifiedCalendarEventInput

CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathJSONRequestBody defines body for CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath for application/json ContentType.

type CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParams

type CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParams defines parameters for CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath.

type CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar

type CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar string

CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar defines parameters for CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath.

const (
	CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendarGoogle CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar = "google"
)

Defines values for CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar.

func (CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar enum.

type CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse

type CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetUnifiedCalendarEventOutput
}

func ParseCalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse

func ParseCalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse, error)

ParseCalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse parses an HTTP response from a CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithResponse call

func (CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalUnifiedCalendarsControllerUpdateConnectionEventJSONRequestBody

type CalUnifiedCalendarsControllerUpdateConnectionEventJSONRequestBody = UpdateUnifiedCalendarEventInput

CalUnifiedCalendarsControllerUpdateConnectionEventJSONRequestBody defines body for CalUnifiedCalendarsControllerUpdateConnectionEvent for application/json ContentType.

type CalUnifiedCalendarsControllerUpdateConnectionEventParams

type CalUnifiedCalendarsControllerUpdateConnectionEventParams struct {
	CalendarId *string `form:"calendarId,omitempty" json:"calendarId,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalUnifiedCalendarsControllerUpdateConnectionEventParams defines parameters for CalUnifiedCalendarsControllerUpdateConnectionEvent.

type CalUnifiedCalendarsControllerUpdateConnectionEventResponse

type CalUnifiedCalendarsControllerUpdateConnectionEventResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetUnifiedCalendarEventOutput
}

func ParseCalUnifiedCalendarsControllerUpdateConnectionEventResponse

func ParseCalUnifiedCalendarsControllerUpdateConnectionEventResponse(rsp *http.Response) (*CalUnifiedCalendarsControllerUpdateConnectionEventResponse, error)

ParseCalUnifiedCalendarsControllerUpdateConnectionEventResponse parses an HTTP response from a CalUnifiedCalendarsControllerUpdateConnectionEventWithResponse call

func (CalUnifiedCalendarsControllerUpdateConnectionEventResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalUnifiedCalendarsControllerUpdateConnectionEventResponse) GetBody

GetBody returns the raw response body bytes

func (CalUnifiedCalendarsControllerUpdateConnectionEventResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalUnifiedCalendarsControllerUpdateConnectionEventResponse) Status

Status returns HTTPResponse.Status

func (CalUnifiedCalendarsControllerUpdateConnectionEventResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalVideoSettings

type CalVideoSettings struct {
	// DisableRecordingForGuests If true, the guests will not be able to record the meeting
	DisableRecordingForGuests *bool `json:"disableRecordingForGuests,omitempty"`

	// DisableRecordingForOrganizer If true, the organizer will not be able to record the meeting
	DisableRecordingForOrganizer *bool `json:"disableRecordingForOrganizer,omitempty"`

	// DisableTranscriptionForGuests If true, the guests will not be able to receive transcription of the meeting
	DisableTranscriptionForGuests *bool `json:"disableTranscriptionForGuests,omitempty"`

	// DisableTranscriptionForOrganizer If true, the organizer will not be able to receive transcription of the meeting
	DisableTranscriptionForOrganizer *bool `json:"disableTranscriptionForOrganizer,omitempty"`

	// EnableAutomaticRecordingForOrganizer If true, enables the automatic recording for the event when organizer joins the call
	EnableAutomaticRecordingForOrganizer *bool `json:"enableAutomaticRecordingForOrganizer,omitempty"`

	// EnableAutomaticTranscription If true, enables the automatic transcription for the event whenever someone joins the call
	EnableAutomaticTranscription *bool `json:"enableAutomaticTranscription,omitempty"`

	// RedirectUrlOnExit URL to which participants are redirected when they exit the call
	RedirectUrlOnExit *map[string]interface{} `json:"redirectUrlOnExit,omitempty"`

	// SendTranscriptionEmails Send emails with the transcription of the Cal Video after the meeting ends.
	SendTranscriptionEmails *bool `json:"sendTranscriptionEmails,omitempty"`
}

CalVideoSettings defines model for CalVideoSettings.

type Calendar

type Calendar struct {
	CredentialId           float64 `json:"credentialId"`
	DelegationCredentialId *string `json:"delegationCredentialId,omitempty"`
	Email                  *string `json:"email,omitempty"`
	ExternalId             string  `json:"externalId"`
	Integration            *string `json:"integration,omitempty"`
	IsSelected             bool    `json:"isSelected"`
	Name                   *string `json:"name,omitempty"`
	Primary                *bool   `json:"primary,omitempty"`
	ReadOnly               bool    `json:"readOnly"`
}

Calendar defines model for Calendar.

type CalendarConnectionItem

type CalendarConnectionItem struct {
	// ConnectionId Stable ID for this calendar connection (use in connection-scoped endpoints)
	//
	// Example: 123
	ConnectionId string `json:"connectionId"`

	// Email Primary email for this connection (null if unavailable)
	//
	// Example: user@gmail.com
	Email *string `json:"email,omitempty"`

	// Type Calendar provider type
	//
	// Example: google
	Type CalendarConnectionItemType `json:"type"`
}

CalendarConnectionItem defines model for CalendarConnectionItem.

type CalendarConnectionItemType

type CalendarConnectionItemType string

CalendarConnectionItemType Calendar provider type

Example: google

const (
	CalendarConnectionItemTypeApple     CalendarConnectionItemType = "apple"
	CalendarConnectionItemTypeGoogle    CalendarConnectionItemType = "google"
	CalendarConnectionItemTypeOffice365 CalendarConnectionItemType = "office365"
)

Defines values for CalendarConnectionItemType.

func (CalendarConnectionItemType) Valid

func (e CalendarConnectionItemType) Valid() bool

Valid indicates whether the value is a known member of the CalendarConnectionItemType enum.

type CalendarDaysWindow20240614

type CalendarDaysWindow20240614 struct {
	// Rolling
	//       Determines the behavior of the booking window:
	//       - If **true**, the window is rolling. This means the number of available days will always be equal the specified 'value'
	//         and adjust dynamically as bookings are made. For example, if 'value' is 3 and availability is only on Mondays,
	//         a booker attempting to schedule on November 10 will see slots on November 11, 18, and 25. As one of these days
	//         becomes fully booked, a new day (e.g., December 2) will open up to ensure 3 available days are always visible.
	//       - If **false**, the window is fixed. This means the booking window only considers the next 'value' days from the
	//         moment someone is trying to book. For example, if 'value' is 3, availability is only on Mondays, and the current
	//         date is November 10, the booker will only see slots on November 11 because the window is restricted to the next
	//         3 calendar days (November 10–12).
	//
	//
	// Example: true
	Rolling *bool `json:"rolling,omitempty"`

	// Type Whether the window should be business days, calendar days or a range of dates
	Type CalendarDaysWindow20240614Type `json:"type"`

	// Value How many calendar days into the future can this event be booked
	//
	// Example: 5
	Value float64 `json:"value"`
}

CalendarDaysWindow20240614 defines model for CalendarDaysWindow_2024_06_14.

type CalendarDaysWindow20240614Type

type CalendarDaysWindow20240614Type string

CalendarDaysWindow20240614Type Whether the window should be business days, calendar days or a range of dates

const (
	CalendarDaysWindow20240614TypeBusinessDays CalendarDaysWindow20240614Type = "businessDays"
	CalendarDaysWindow20240614TypeCalendarDays CalendarDaysWindow20240614Type = "calendarDays"
	CalendarDaysWindow20240614TypeRange        CalendarDaysWindow20240614Type = "range"
)

Defines values for CalendarDaysWindow20240614Type.

func (CalendarDaysWindow20240614Type) Valid

Valid indicates whether the value is a known member of the CalendarDaysWindow20240614Type enum.

type CalendarEventAttendee

type CalendarEventAttendee struct {
	// Email Email address of the attendee
	Email string `json:"email"`

	// Host Indicates if this attendee is the host
	Host *bool `json:"host,omitempty"`

	// Name Display name of the attendee
	Name *string `json:"name,omitempty"`

	// Optional Indicates if this attendee's attendance is optional
	Optional *bool `json:"optional,omitempty"`

	// ResponseStatus Response status of the attendee
	ResponseStatus *CalendarEventResponseStatus `json:"responseStatus,omitempty"`

	// Self Indicates if this attendee is the current user
	Self *bool `json:"self,omitempty"`
}

CalendarEventAttendee defines model for CalendarEventAttendee.

type CalendarEventHost

type CalendarEventHost struct {
	// Email Email address of the event host
	Email string `json:"email"`

	// Name Display name of the event host
	Name *string `json:"name,omitempty"`

	// ResponseStatus Response status of the attendee
	ResponseStatus *CalendarEventResponseStatus `json:"responseStatus,omitempty"`
}

CalendarEventHost defines model for CalendarEventHost.

type CalendarEventMoreLocation

type CalendarEventMoreLocation struct {
	// Label Display name for this location
	Label *string `json:"label,omitempty"`

	// Type Indicates this is an additional conference location type
	Type CalendarEventMoreLocationType `json:"type"`

	// Url URL for accessing this location
	Url string `json:"url"`
}

CalendarEventMoreLocation defines model for CalendarEventMoreLocation.

type CalendarEventMoreLocationType

type CalendarEventMoreLocationType string

CalendarEventMoreLocationType Indicates this is an additional conference location type

const (
	CalendarEventMoreLocationTypeMore CalendarEventMoreLocationType = "more"
)

Defines values for CalendarEventMoreLocationType.

func (CalendarEventMoreLocationType) Valid

Valid indicates whether the value is a known member of the CalendarEventMoreLocationType enum.

type CalendarEventOwner

type CalendarEventOwner struct {
	// Email Email address of the event host
	Email string `json:"email"`

	// Name Display name of the event host
	Name *string `json:"name,omitempty"`
}

CalendarEventOwner defines model for calendarEventOwner.

type CalendarEventPhoneLocation

type CalendarEventPhoneLocation struct {
	// AccessCode Access code required for the phone conference
	AccessCode *string `json:"accessCode,omitempty"`

	// Label Display name for the phone conference
	Label *string `json:"label,omitempty"`

	// Password Password required for the phone conference
	Password *string `json:"password,omitempty"`

	// Pin PIN number required for the phone conference
	Pin *string `json:"pin,omitempty"`

	// RegionCode Country/region code for the phone number
	RegionCode *string `json:"regionCode,omitempty"`

	// Type Indicates this is a phone conference location
	Type CalendarEventPhoneLocationType `json:"type"`

	// Url Phone number or URL for dialing into the conference
	Url string `json:"url"`
}

CalendarEventPhoneLocation defines model for CalendarEventPhoneLocation.

type CalendarEventPhoneLocationType

type CalendarEventPhoneLocationType string

CalendarEventPhoneLocationType Indicates this is a phone conference location

const (
	CalendarEventPhoneLocationTypePhone CalendarEventPhoneLocationType = "phone"
)

Defines values for CalendarEventPhoneLocationType.

func (CalendarEventPhoneLocationType) Valid

Valid indicates whether the value is a known member of the CalendarEventPhoneLocationType enum.

type CalendarEventResponseStatus

type CalendarEventResponseStatus string

CalendarEventResponseStatus Response status of the attendee

const (
	CalendarEventResponseStatusAccepted    CalendarEventResponseStatus = "accepted"
	CalendarEventResponseStatusDeclined    CalendarEventResponseStatus = "declined"
	CalendarEventResponseStatusNeedsAction CalendarEventResponseStatus = "needsAction"
	CalendarEventResponseStatusPending     CalendarEventResponseStatus = "pending"
)

Defines values for CalendarEventResponseStatus.

func (CalendarEventResponseStatus) Valid

Valid indicates whether the value is a known member of the CalendarEventResponseStatus enum.

type CalendarEventSipLocation

type CalendarEventSipLocation struct {
	// Label Display name for the SIP conference
	Label *string `json:"label,omitempty"`

	// Password Password required for the SIP conference
	Password *string `json:"password,omitempty"`

	// Pin PIN number required for the SIP conference
	Pin *string `json:"pin,omitempty"`

	// Type Indicates this is a SIP (Session Initiation Protocol) conference location
	Type CalendarEventSipLocationType `json:"type"`

	// Url SIP URL for joining the conference
	Url string `json:"url"`
}

CalendarEventSipLocation defines model for CalendarEventSipLocation.

type CalendarEventSipLocationType

type CalendarEventSipLocationType string

CalendarEventSipLocationType Indicates this is a SIP (Session Initiation Protocol) conference location

const (
	CalendarEventSipLocationTypeSip CalendarEventSipLocationType = "sip"
)

Defines values for CalendarEventSipLocationType.

func (CalendarEventSipLocationType) Valid

Valid indicates whether the value is a known member of the CalendarEventSipLocationType enum.

type CalendarEventStatus

type CalendarEventStatus string

CalendarEventStatus Status of the event (accepted, pending, declined, cancelled)

const (
	CalendarEventStatusAccepted  CalendarEventStatus = "accepted"
	CalendarEventStatusCancelled CalendarEventStatus = "cancelled"
	CalendarEventStatusDeclined  CalendarEventStatus = "declined"
	CalendarEventStatusPending   CalendarEventStatus = "pending"
)

Defines values for CalendarEventStatus.

func (CalendarEventStatus) Valid

func (e CalendarEventStatus) Valid() bool

Valid indicates whether the value is a known member of the CalendarEventStatus enum.

type CalendarEventVideoLocation

type CalendarEventVideoLocation struct {
	// AccessCode Access code required to join the conference
	AccessCode *string `json:"accessCode,omitempty"`

	// Label Display name for the video conference
	Label *string `json:"label,omitempty"`

	// MeetingCode Meeting code or ID required to join the conference
	MeetingCode *string `json:"meetingCode,omitempty"`

	// Password Password required to join the video conference
	Password *string `json:"password,omitempty"`

	// Type Indicates this is a video conference location
	Type CalendarEventVideoLocationType `json:"type"`

	// Url URL for joining the video conference
	Url string `json:"url"`
}

CalendarEventVideoLocation defines model for CalendarEventVideoLocation.

type CalendarEventVideoLocationType

type CalendarEventVideoLocationType string

CalendarEventVideoLocationType Indicates this is a video conference location

const (
	CalendarEventVideoLocationTypeVideo CalendarEventVideoLocationType = "video"
)

Defines values for CalendarEventVideoLocationType.

func (CalendarEventVideoLocationType) Valid

Valid indicates whether the value is a known member of the CalendarEventVideoLocationType enum.

type CalendarLink struct {
	// Label The label of the calendar link
	Label string `json:"label"`

	// Link The link to the calendar
	Link string `json:"link"`
}

CalendarLink defines model for CalendarLink.

type CalendarLinksOutput20240813

type CalendarLinksOutput20240813 struct {
	// Data Calendar links for the booking
	Data []CalendarLink `json:"data"`

	// Status The status of the request, always 'success' for successful responses
	//
	// Example: success
	Status map[string]interface{} `json:"status"`
}

CalendarLinksOutput20240813 defines model for CalendarLinksOutput_2024_08_13.

type CalendarSource

type CalendarSource string

CalendarSource Calendar integration source (e.g., Google Calendar, Office 365, Apple Calendar). Currently only Google Calendar is supported.

const (
	CalendarSourceApple     CalendarSource = "apple"
	CalendarSourceGoogle    CalendarSource = "google"
	CalendarSourceOffice365 CalendarSource = "office365"
)

Defines values for CalendarSource.

func (CalendarSource) Valid

func (e CalendarSource) Valid() bool

Valid indicates whether the value is a known member of the CalendarSource enum.

type CalendarsControllerCheckIcsFeedParams

type CalendarsControllerCheckIcsFeedParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalendarsControllerCheckIcsFeedParams defines parameters for CalendarsControllerCheckIcsFeed.

type CalendarsControllerCheckIcsFeedResponse

type CalendarsControllerCheckIcsFeedResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
}

func ParseCalendarsControllerCheckIcsFeedResponse

func ParseCalendarsControllerCheckIcsFeedResponse(rsp *http.Response) (*CalendarsControllerCheckIcsFeedResponse, error)

ParseCalendarsControllerCheckIcsFeedResponse parses an HTTP response from a CalendarsControllerCheckIcsFeedWithResponse call

func (CalendarsControllerCheckIcsFeedResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalendarsControllerCheckIcsFeedResponse) GetBody

GetBody returns the raw response body bytes

func (CalendarsControllerCheckIcsFeedResponse) GetJSON200

func (r CalendarsControllerCheckIcsFeedResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalendarsControllerCheckIcsFeedResponse) Status

Status returns HTTPResponse.Status

func (CalendarsControllerCheckIcsFeedResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalendarsControllerCheckParams

type CalendarsControllerCheckParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalendarsControllerCheckParams defines parameters for CalendarsControllerCheck.

type CalendarsControllerCheckParamsCalendar

type CalendarsControllerCheckParamsCalendar string

CalendarsControllerCheckParamsCalendar defines parameters for CalendarsControllerCheck.

const (
	CalendarsControllerCheckParamsCalendarApple     CalendarsControllerCheckParamsCalendar = "apple"
	CalendarsControllerCheckParamsCalendarGoogle    CalendarsControllerCheckParamsCalendar = "google"
	CalendarsControllerCheckParamsCalendarOffice365 CalendarsControllerCheckParamsCalendar = "office365"
)

Defines values for CalendarsControllerCheckParamsCalendar.

func (CalendarsControllerCheckParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalendarsControllerCheckParamsCalendar enum.

type CalendarsControllerCheckResponse

type CalendarsControllerCheckResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
}

func ParseCalendarsControllerCheckResponse

func ParseCalendarsControllerCheckResponse(rsp *http.Response) (*CalendarsControllerCheckResponse, error)

ParseCalendarsControllerCheckResponse parses an HTTP response from a CalendarsControllerCheckWithResponse call

func (CalendarsControllerCheckResponse) ContentType

func (r CalendarsControllerCheckResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalendarsControllerCheckResponse) GetBody

func (r CalendarsControllerCheckResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CalendarsControllerCheckResponse) GetJSON200

func (r CalendarsControllerCheckResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalendarsControllerCheckResponse) Status

Status returns HTTPResponse.Status

func (CalendarsControllerCheckResponse) StatusCode

func (r CalendarsControllerCheckResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CalendarsControllerCreateIcsFeedJSONRequestBody

type CalendarsControllerCreateIcsFeedJSONRequestBody = CreateIcsFeedInputDto

CalendarsControllerCreateIcsFeedJSONRequestBody defines body for CalendarsControllerCreateIcsFeed for application/json ContentType.

type CalendarsControllerCreateIcsFeedParams

type CalendarsControllerCreateIcsFeedParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalendarsControllerCreateIcsFeedParams defines parameters for CalendarsControllerCreateIcsFeed.

type CalendarsControllerCreateIcsFeedResponse

type CalendarsControllerCreateIcsFeedResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CreateIcsFeedOutputResponseDto
}

func ParseCalendarsControllerCreateIcsFeedResponse

func ParseCalendarsControllerCreateIcsFeedResponse(rsp *http.Response) (*CalendarsControllerCreateIcsFeedResponse, error)

ParseCalendarsControllerCreateIcsFeedResponse parses an HTTP response from a CalendarsControllerCreateIcsFeedWithResponse call

func (CalendarsControllerCreateIcsFeedResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalendarsControllerCreateIcsFeedResponse) GetBody

GetBody returns the raw response body bytes

func (CalendarsControllerCreateIcsFeedResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CalendarsControllerCreateIcsFeedResponse) Status

Status returns HTTPResponse.Status

func (CalendarsControllerCreateIcsFeedResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalendarsControllerDeleteCalendarCredentialsJSONRequestBody

type CalendarsControllerDeleteCalendarCredentialsJSONRequestBody = DeleteCalendarCredentialsInputBodyDto

CalendarsControllerDeleteCalendarCredentialsJSONRequestBody defines body for CalendarsControllerDeleteCalendarCredentials for application/json ContentType.

type CalendarsControllerDeleteCalendarCredentialsParams

type CalendarsControllerDeleteCalendarCredentialsParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalendarsControllerDeleteCalendarCredentialsParams defines parameters for CalendarsControllerDeleteCalendarCredentials.

type CalendarsControllerDeleteCalendarCredentialsParamsCalendar

type CalendarsControllerDeleteCalendarCredentialsParamsCalendar string

CalendarsControllerDeleteCalendarCredentialsParamsCalendar defines parameters for CalendarsControllerDeleteCalendarCredentials.

const (
	CalendarsControllerDeleteCalendarCredentialsParamsCalendarApple     CalendarsControllerDeleteCalendarCredentialsParamsCalendar = "apple"
	CalendarsControllerDeleteCalendarCredentialsParamsCalendarGoogle    CalendarsControllerDeleteCalendarCredentialsParamsCalendar = "google"
	CalendarsControllerDeleteCalendarCredentialsParamsCalendarOffice365 CalendarsControllerDeleteCalendarCredentialsParamsCalendar = "office365"
)

Defines values for CalendarsControllerDeleteCalendarCredentialsParamsCalendar.

func (CalendarsControllerDeleteCalendarCredentialsParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalendarsControllerDeleteCalendarCredentialsParamsCalendar enum.

type CalendarsControllerDeleteCalendarCredentialsResponse

type CalendarsControllerDeleteCalendarCredentialsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeletedCalendarCredentialsOutputResponseDto
}

func ParseCalendarsControllerDeleteCalendarCredentialsResponse

func ParseCalendarsControllerDeleteCalendarCredentialsResponse(rsp *http.Response) (*CalendarsControllerDeleteCalendarCredentialsResponse, error)

ParseCalendarsControllerDeleteCalendarCredentialsResponse parses an HTTP response from a CalendarsControllerDeleteCalendarCredentialsWithResponse call

func (CalendarsControllerDeleteCalendarCredentialsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalendarsControllerDeleteCalendarCredentialsResponse) GetBody

GetBody returns the raw response body bytes

func (CalendarsControllerDeleteCalendarCredentialsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalendarsControllerDeleteCalendarCredentialsResponse) Status

Status returns HTTPResponse.Status

func (CalendarsControllerDeleteCalendarCredentialsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalendarsControllerGetBusyTimesParams

type CalendarsControllerGetBusyTimesParams struct {
	// LoggedInUsersTz Deprecated: Use timeZone instead. The timezone of the user represented as a string
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	LoggedInUsersTz *string `form:"loggedInUsersTz,omitempty" json:"loggedInUsersTz,omitempty"`

	// TimeZone The timezone for the busy times query represented as a string
	TimeZone *string `form:"timeZone,omitempty" json:"timeZone,omitempty"`

	// DateFrom The starting date for the busy times query
	DateFrom *string `form:"dateFrom,omitempty" json:"dateFrom,omitempty"`

	// DateTo The ending date for the busy times query
	DateTo       *string `form:"dateTo,omitempty" json:"dateTo,omitempty"`
	CredentialId float64 `form:"credentialId" json:"credentialId"`
	ExternalId   string  `form:"externalId" json:"externalId"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalendarsControllerGetBusyTimesParams defines parameters for CalendarsControllerGetBusyTimes.

type CalendarsControllerGetBusyTimesResponse

type CalendarsControllerGetBusyTimesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetBusyTimesOutput
}

func ParseCalendarsControllerGetBusyTimesResponse

func ParseCalendarsControllerGetBusyTimesResponse(rsp *http.Response) (*CalendarsControllerGetBusyTimesResponse, error)

ParseCalendarsControllerGetBusyTimesResponse parses an HTTP response from a CalendarsControllerGetBusyTimesWithResponse call

func (CalendarsControllerGetBusyTimesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalendarsControllerGetBusyTimesResponse) GetBody

GetBody returns the raw response body bytes

func (CalendarsControllerGetBusyTimesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalendarsControllerGetBusyTimesResponse) Status

Status returns HTTPResponse.Status

func (CalendarsControllerGetBusyTimesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalendarsControllerGetCalendarsParams

type CalendarsControllerGetCalendarsParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalendarsControllerGetCalendarsParams defines parameters for CalendarsControllerGetCalendars.

type CalendarsControllerGetCalendarsResponse

type CalendarsControllerGetCalendarsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ConnectedCalendarsOutput
}

func ParseCalendarsControllerGetCalendarsResponse

func ParseCalendarsControllerGetCalendarsResponse(rsp *http.Response) (*CalendarsControllerGetCalendarsResponse, error)

ParseCalendarsControllerGetCalendarsResponse parses an HTTP response from a CalendarsControllerGetCalendarsWithResponse call

func (CalendarsControllerGetCalendarsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalendarsControllerGetCalendarsResponse) GetBody

GetBody returns the raw response body bytes

func (CalendarsControllerGetCalendarsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalendarsControllerGetCalendarsResponse) Status

Status returns HTTPResponse.Status

func (CalendarsControllerGetCalendarsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalendarsControllerRedirectParams

type CalendarsControllerRedirectParams struct {
	IsDryRun bool `form:"isDryRun" json:"isDryRun"`

	// Redir Redirect URL after successful calendar authorization.
	Redir *string `form:"redir,omitempty" json:"redir,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalendarsControllerRedirectParams defines parameters for CalendarsControllerRedirect.

type CalendarsControllerRedirectParamsCalendar

type CalendarsControllerRedirectParamsCalendar string

CalendarsControllerRedirectParamsCalendar defines parameters for CalendarsControllerRedirect.

const (
	CalendarsControllerRedirectParamsCalendarGoogle    CalendarsControllerRedirectParamsCalendar = "google"
	CalendarsControllerRedirectParamsCalendarOffice365 CalendarsControllerRedirectParamsCalendar = "office365"
)

Defines values for CalendarsControllerRedirectParamsCalendar.

func (CalendarsControllerRedirectParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalendarsControllerRedirectParamsCalendar enum.

type CalendarsControllerRedirectResponse

type CalendarsControllerRedirectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
}

func ParseCalendarsControllerRedirectResponse

func ParseCalendarsControllerRedirectResponse(rsp *http.Response) (*CalendarsControllerRedirectResponse, error)

ParseCalendarsControllerRedirectResponse parses an HTTP response from a CalendarsControllerRedirectWithResponse call

func (CalendarsControllerRedirectResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalendarsControllerRedirectResponse) GetBody

GetBody returns the raw response body bytes

func (CalendarsControllerRedirectResponse) GetJSON200

func (r CalendarsControllerRedirectResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CalendarsControllerRedirectResponse) Status

Status returns HTTPResponse.Status

func (CalendarsControllerRedirectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CalendarsControllerSaveParams

type CalendarsControllerSaveParams struct {
	State string `form:"state" json:"state"`
	Code  string `form:"code" json:"code"`
}

CalendarsControllerSaveParams defines parameters for CalendarsControllerSave.

type CalendarsControllerSaveParamsCalendar

type CalendarsControllerSaveParamsCalendar string

CalendarsControllerSaveParamsCalendar defines parameters for CalendarsControllerSave.

const (
	CalendarsControllerSaveParamsCalendarGoogle    CalendarsControllerSaveParamsCalendar = "google"
	CalendarsControllerSaveParamsCalendarOffice365 CalendarsControllerSaveParamsCalendar = "office365"
)

Defines values for CalendarsControllerSaveParamsCalendar.

func (CalendarsControllerSaveParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalendarsControllerSaveParamsCalendar enum.

type CalendarsControllerSaveResponse

type CalendarsControllerSaveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCalendarsControllerSaveResponse

func ParseCalendarsControllerSaveResponse(rsp *http.Response) (*CalendarsControllerSaveResponse, error)

ParseCalendarsControllerSaveResponse parses an HTTP response from a CalendarsControllerSaveWithResponse call

func (CalendarsControllerSaveResponse) ContentType

func (r CalendarsControllerSaveResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalendarsControllerSaveResponse) GetBody

func (r CalendarsControllerSaveResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CalendarsControllerSaveResponse) Status

Status returns HTTPResponse.Status

func (CalendarsControllerSaveResponse) StatusCode

func (r CalendarsControllerSaveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CalendarsControllerSyncCredentialsJSONRequestBody

type CalendarsControllerSyncCredentialsJSONRequestBody = CreateCalendarCredentialsInput

CalendarsControllerSyncCredentialsJSONRequestBody defines body for CalendarsControllerSyncCredentials for application/json ContentType.

type CalendarsControllerSyncCredentialsParams

type CalendarsControllerSyncCredentialsParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

CalendarsControllerSyncCredentialsParams defines parameters for CalendarsControllerSyncCredentials.

type CalendarsControllerSyncCredentialsParamsCalendar

type CalendarsControllerSyncCredentialsParamsCalendar string

CalendarsControllerSyncCredentialsParamsCalendar defines parameters for CalendarsControllerSyncCredentials.

const (
	CalendarsControllerSyncCredentialsParamsCalendarApple CalendarsControllerSyncCredentialsParamsCalendar = "apple"
)

Defines values for CalendarsControllerSyncCredentialsParamsCalendar.

func (CalendarsControllerSyncCredentialsParamsCalendar) Valid

Valid indicates whether the value is a known member of the CalendarsControllerSyncCredentialsParamsCalendar enum.

type CalendarsControllerSyncCredentialsResponse

type CalendarsControllerSyncCredentialsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCalendarsControllerSyncCredentialsResponse

func ParseCalendarsControllerSyncCredentialsResponse(rsp *http.Response) (*CalendarsControllerSyncCredentialsResponse, error)

ParseCalendarsControllerSyncCredentialsResponse parses an HTTP response from a CalendarsControllerSyncCredentialsWithResponse call

func (CalendarsControllerSyncCredentialsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CalendarsControllerSyncCredentialsResponse) GetBody

GetBody returns the raw response body bytes

func (CalendarsControllerSyncCredentialsResponse) Status

Status returns HTTPResponse.Status

func (CalendarsControllerSyncCredentialsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CancelBookingInput20240813

type CancelBookingInput20240813 struct {
	// CancelSubsequentBookings For recurring non-seated booking only - if true, cancel booking with the bookingUid of the individual recurrence and all recurrences that come after it.
	CancelSubsequentBookings *bool `json:"cancelSubsequentBookings,omitempty"`

	// CancellationReason Example: User requested cancellation
	CancellationReason *string `json:"cancellationReason,omitempty"`
}

CancelBookingInput20240813 defines model for CancelBookingInput_2024_08_13.

type CancelBookingOutput20240813

type CancelBookingOutput20240813 struct {
	// Data Booking data, which can be either a BookingOutput object, a RecurringBookingOutput object, or an array of RecurringBookingOutput objects
	Data CancelBookingOutput20240813_Data `json:"data"`

	// Status Example: success
	Status CancelBookingOutput20240813Status `json:"status"`
}

CancelBookingOutput20240813 defines model for CancelBookingOutput_2024_08_13.

type CancelBookingOutput20240813Data2

type CancelBookingOutput20240813Data2 = []RecurringBookingOutput20240813

CancelBookingOutput20240813Data2 defines model for CancelBookingOutput20240813.Data.2.

type CancelBookingOutput20240813Data5

type CancelBookingOutput20240813Data5 = []GetRecurringSeatedBookingOutput20240813

CancelBookingOutput20240813Data5 defines model for CancelBookingOutput20240813.Data.5.

type CancelBookingOutput20240813Status

type CancelBookingOutput20240813Status string

CancelBookingOutput20240813Status Example: success

const (
	CancelBookingOutput20240813StatusError   CancelBookingOutput20240813Status = "error"
	CancelBookingOutput20240813StatusSuccess CancelBookingOutput20240813Status = "success"
)

Defines values for CancelBookingOutput20240813Status.

func (CancelBookingOutput20240813Status) Valid

Valid indicates whether the value is a known member of the CancelBookingOutput20240813Status enum.

type CancelBookingOutput20240813_Data

type CancelBookingOutput20240813_Data struct {
	// contains filtered or unexported fields
}

CancelBookingOutput20240813_Data Booking data, which can be either a BookingOutput object, a RecurringBookingOutput object, or an array of RecurringBookingOutput objects

func (CancelBookingOutput20240813_Data) AsBookingOutput20240813

func (t CancelBookingOutput20240813_Data) AsBookingOutput20240813() (BookingOutput20240813, error)

AsBookingOutput20240813 returns the union data inside the CancelBookingOutput20240813_Data as a BookingOutput20240813

func (CancelBookingOutput20240813_Data) AsCancelBookingOutput20240813Data2

func (t CancelBookingOutput20240813_Data) AsCancelBookingOutput20240813Data2() (CancelBookingOutput20240813Data2, error)

AsCancelBookingOutput20240813Data2 returns the union data inside the CancelBookingOutput20240813_Data as a CancelBookingOutput20240813Data2

func (CancelBookingOutput20240813_Data) AsCancelBookingOutput20240813Data5

func (t CancelBookingOutput20240813_Data) AsCancelBookingOutput20240813Data5() (CancelBookingOutput20240813Data5, error)

AsCancelBookingOutput20240813Data5 returns the union data inside the CancelBookingOutput20240813_Data as a CancelBookingOutput20240813Data5

func (CancelBookingOutput20240813_Data) AsGetRecurringSeatedBookingOutput20240813

func (t CancelBookingOutput20240813_Data) AsGetRecurringSeatedBookingOutput20240813() (GetRecurringSeatedBookingOutput20240813, error)

AsGetRecurringSeatedBookingOutput20240813 returns the union data inside the CancelBookingOutput20240813_Data as a GetRecurringSeatedBookingOutput20240813

func (CancelBookingOutput20240813_Data) AsGetSeatedBookingOutput20240813

func (t CancelBookingOutput20240813_Data) AsGetSeatedBookingOutput20240813() (GetSeatedBookingOutput20240813, error)

AsGetSeatedBookingOutput20240813 returns the union data inside the CancelBookingOutput20240813_Data as a GetSeatedBookingOutput20240813

func (CancelBookingOutput20240813_Data) AsRecurringBookingOutput20240813

func (t CancelBookingOutput20240813_Data) AsRecurringBookingOutput20240813() (RecurringBookingOutput20240813, error)

AsRecurringBookingOutput20240813 returns the union data inside the CancelBookingOutput20240813_Data as a RecurringBookingOutput20240813

func (*CancelBookingOutput20240813_Data) FromBookingOutput20240813

func (t *CancelBookingOutput20240813_Data) FromBookingOutput20240813(v BookingOutput20240813) error

FromBookingOutput20240813 overwrites any union data inside the CancelBookingOutput20240813_Data as the provided BookingOutput20240813

func (*CancelBookingOutput20240813_Data) FromCancelBookingOutput20240813Data2

func (t *CancelBookingOutput20240813_Data) FromCancelBookingOutput20240813Data2(v CancelBookingOutput20240813Data2) error

FromCancelBookingOutput20240813Data2 overwrites any union data inside the CancelBookingOutput20240813_Data as the provided CancelBookingOutput20240813Data2

func (*CancelBookingOutput20240813_Data) FromCancelBookingOutput20240813Data5

func (t *CancelBookingOutput20240813_Data) FromCancelBookingOutput20240813Data5(v CancelBookingOutput20240813Data5) error

FromCancelBookingOutput20240813Data5 overwrites any union data inside the CancelBookingOutput20240813_Data as the provided CancelBookingOutput20240813Data5

func (*CancelBookingOutput20240813_Data) FromGetRecurringSeatedBookingOutput20240813

func (t *CancelBookingOutput20240813_Data) FromGetRecurringSeatedBookingOutput20240813(v GetRecurringSeatedBookingOutput20240813) error

FromGetRecurringSeatedBookingOutput20240813 overwrites any union data inside the CancelBookingOutput20240813_Data as the provided GetRecurringSeatedBookingOutput20240813

func (*CancelBookingOutput20240813_Data) FromGetSeatedBookingOutput20240813

func (t *CancelBookingOutput20240813_Data) FromGetSeatedBookingOutput20240813(v GetSeatedBookingOutput20240813) error

FromGetSeatedBookingOutput20240813 overwrites any union data inside the CancelBookingOutput20240813_Data as the provided GetSeatedBookingOutput20240813

func (*CancelBookingOutput20240813_Data) FromRecurringBookingOutput20240813

func (t *CancelBookingOutput20240813_Data) FromRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

FromRecurringBookingOutput20240813 overwrites any union data inside the CancelBookingOutput20240813_Data as the provided RecurringBookingOutput20240813

func (CancelBookingOutput20240813_Data) MarshalJSON

func (t CancelBookingOutput20240813_Data) MarshalJSON() ([]byte, error)

func (*CancelBookingOutput20240813_Data) MergeBookingOutput20240813

func (t *CancelBookingOutput20240813_Data) MergeBookingOutput20240813(v BookingOutput20240813) error

MergeBookingOutput20240813 performs a merge with any union data inside the CancelBookingOutput20240813_Data, using the provided BookingOutput20240813

func (*CancelBookingOutput20240813_Data) MergeCancelBookingOutput20240813Data2

func (t *CancelBookingOutput20240813_Data) MergeCancelBookingOutput20240813Data2(v CancelBookingOutput20240813Data2) error

MergeCancelBookingOutput20240813Data2 performs a merge with any union data inside the CancelBookingOutput20240813_Data, using the provided CancelBookingOutput20240813Data2

func (*CancelBookingOutput20240813_Data) MergeCancelBookingOutput20240813Data5

func (t *CancelBookingOutput20240813_Data) MergeCancelBookingOutput20240813Data5(v CancelBookingOutput20240813Data5) error

MergeCancelBookingOutput20240813Data5 performs a merge with any union data inside the CancelBookingOutput20240813_Data, using the provided CancelBookingOutput20240813Data5

func (*CancelBookingOutput20240813_Data) MergeGetRecurringSeatedBookingOutput20240813

func (t *CancelBookingOutput20240813_Data) MergeGetRecurringSeatedBookingOutput20240813(v GetRecurringSeatedBookingOutput20240813) error

MergeGetRecurringSeatedBookingOutput20240813 performs a merge with any union data inside the CancelBookingOutput20240813_Data, using the provided GetRecurringSeatedBookingOutput20240813

func (*CancelBookingOutput20240813_Data) MergeGetSeatedBookingOutput20240813

func (t *CancelBookingOutput20240813_Data) MergeGetSeatedBookingOutput20240813(v GetSeatedBookingOutput20240813) error

MergeGetSeatedBookingOutput20240813 performs a merge with any union data inside the CancelBookingOutput20240813_Data, using the provided GetSeatedBookingOutput20240813

func (*CancelBookingOutput20240813_Data) MergeRecurringBookingOutput20240813

func (t *CancelBookingOutput20240813_Data) MergeRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

MergeRecurringBookingOutput20240813 performs a merge with any union data inside the CancelBookingOutput20240813_Data, using the provided RecurringBookingOutput20240813

func (*CancelBookingOutput20240813_Data) UnmarshalJSON

func (t *CancelBookingOutput20240813_Data) UnmarshalJSON(b []byte) error

type CancelSeatedBookingInput20240813

type CancelSeatedBookingInput20240813 struct {
	// CancellationReason Example: User requested cancellation
	CancellationReason *string `json:"cancellationReason,omitempty"`

	// SeatUid Uid of the specific seat within booking.
	//
	// Example: 3be561a9-31f1-4b8e-aefc-9d9a085f0dd1
	SeatUid string `json:"seatUid"`
}

CancelSeatedBookingInput20240813 defines model for CancelSeatedBookingInput_2024_08_13.

type CheckboxGroupFieldInput20240614

type CheckboxGroupFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `notify` and the URL contains query parameter `&notify=true`,      the checkbox will be selected and the checkbox field will be disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{notify: true}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// Label Example: Select all that apply
	Label string `json:"label"`

	// Options Example: ["Checkbox 1","Checkbox 2"]
	Options  []string `json:"options"`
	Required bool     `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `checkbox`
	//
	// Example: checkbox
	Type string `json:"type"`
}

CheckboxGroupFieldInput20240614 defines model for CheckboxGroupFieldInput_2024_06_14.

type CheckboxGroupFieldOutput20240614

type CheckboxGroupFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `notify` and the URL contains query parameter `&notify=true`,      the checkbox will be selected and the checkbox field will be disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{notify: true}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always false because it's not default field but custom field
	//
	// Example: false
	IsDefault map[string]interface{} `json:"isDefault"`

	// Label Example: Select all that apply
	Label string `json:"label"`

	// Options Example: ["Checkbox 1","Checkbox 2"]
	Options  []string `json:"options"`
	Required bool     `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `checkbox`
	//
	// Example: checkbox
	Type string `json:"type"`
}

CheckboxGroupFieldOutput20240614 defines model for CheckboxGroupFieldOutput_2024_06_14.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) ApiKeysControllerRefresh

func (c *Client) ApiKeysControllerRefresh(ctx context.Context, params *ApiKeysControllerRefreshParams, body ApiKeysControllerRefreshJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ApiKeysControllerRefresh Refresh API Key

Generate a new API key and delete the current one. Provide API key to refresh as a Bearer token in the Authorization header (e.g. "Authorization: Bearer <apiKey>").

Takes a body of the `application/json` content type.

Corresponds with POST /v2/api-keys/refresh (the `ApiKeysControllerRefresh` operationId).

func (*Client) ApiKeysControllerRefreshWithBody

func (c *Client) ApiKeysControllerRefreshWithBody(ctx context.Context, params *ApiKeysControllerRefreshParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ApiKeysControllerRefreshWithBody Refresh API Key

Generate a new API key and delete the current one. Provide API key to refresh as a Bearer token in the Authorization header (e.g. "Authorization: Bearer <apiKey>").

Takes any type of body and a specified content type.

Corresponds with POST /v2/api-keys/refresh (the `ApiKeysControllerRefresh` operationId).

func (*Client) BookingAttendeesController20240813AddAttendee

func (c *Client) BookingAttendeesController20240813AddAttendee(ctx context.Context, bookingUid string, params *BookingAttendeesController20240813AddAttendeeParams, body BookingAttendeesController20240813AddAttendeeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingAttendeesController20240813AddAttendee Add an attendee to a booking

Add a new attendee to an existing booking by its UID.

**Side effects:**
- The booking's attendee list is updated in the database
- The calendar event is updated on connected calendars (Google Calendar, Outlook, etc.) to include the new attendee
- An email notification is sent to the new attendee with the booking details

**Permissions:**
- The authenticated user must be either the booking organizer, an existing attendee, or have the `booking.update` permission for the team

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/bookings/{bookingUid}/attendees (the `BookingAttendeesController20240813AddAttendee` operationId).

func (*Client) BookingAttendeesController20240813AddAttendeeWithBody

func (c *Client) BookingAttendeesController20240813AddAttendeeWithBody(ctx context.Context, bookingUid string, params *BookingAttendeesController20240813AddAttendeeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingAttendeesController20240813AddAttendeeWithBody Add an attendee to a booking

Add a new attendee to an existing booking by its UID.

**Side effects:**
- The booking's attendee list is updated in the database
- The calendar event is updated on connected calendars (Google Calendar, Outlook, etc.) to include the new attendee
- An email notification is sent to the new attendee with the booking details

**Permissions:**
- The authenticated user must be either the booking organizer, an existing attendee, or have the `booking.update` permission for the team

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Takes any type of body and a specified content type.

Corresponds with POST /v2/bookings/{bookingUid}/attendees (the `BookingAttendeesController20240813AddAttendee` operationId).

func (*Client) BookingAttendeesController20240813GetBookingAttendee

func (c *Client) BookingAttendeesController20240813GetBookingAttendee(ctx context.Context, bookingUid string, attendeeId float64, params *BookingAttendeesController20240813GetBookingAttendeeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingAttendeesController20240813GetBookingAttendee Get a specific attendee for a booking

Retrieve a specific attendee by their ID for a booking identified by its UID.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Corresponds with GET /v2/bookings/{bookingUid}/attendees/{attendeeId} (the `BookingAttendeesController20240813GetBookingAttendee` operationId).

func (*Client) BookingAttendeesController20240813GetBookingAttendees

func (c *Client) BookingAttendeesController20240813GetBookingAttendees(ctx context.Context, bookingUid string, params *BookingAttendeesController20240813GetBookingAttendeesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingAttendeesController20240813GetBookingAttendees Get all attendees for a booking

Retrieve all attendees for a specific booking by its UID.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Corresponds with GET /v2/bookings/{bookingUid}/attendees (the `BookingAttendeesController20240813GetBookingAttendees` operationId).

func (*Client) BookingAttendeesController20240813RemoveAttendee

func (c *Client) BookingAttendeesController20240813RemoveAttendee(ctx context.Context, bookingUid string, attendeeId float64, params *BookingAttendeesController20240813RemoveAttendeeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingAttendeesController20240813RemoveAttendee Remove an attendee from a booking

Remove an attendee from an existing booking by their attendee ID. The primary attendee (first attendee) cannot be removed — to remove them, cancel the booking instead. The removed attendee will receive a cancellation email notification.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Corresponds with DELETE /v2/bookings/{bookingUid}/attendees/{attendeeId} (the `BookingAttendeesController20240813RemoveAttendee` operationId).

func (*Client) BookingGuestsController20240813AddGuests

func (c *Client) BookingGuestsController20240813AddGuests(ctx context.Context, bookingUid string, params *BookingGuestsController20240813AddGuestsParams, body BookingGuestsController20240813AddGuestsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingGuestsController20240813AddGuests Add guests to an existing booking

Add one or more guests to an existing booking. Maximum 10 guests per request, with a limit of 30 total guests per booking.

**Rate Limiting:**
This endpoint is rate limited to 5 requests per minute to prevent abuse.

**Email Notifications:**
When guests are added, the following notifications are sent (unless disabled by event type settings):

- **Organizer & Team Members:** Receive an "Add Guests" notification email informing them that new guests have been added to the booking.

- **New Guests:** Receive a "Scheduled Event" email with full booking details and calendar invite. If they have a phone number, they also receive an SMS notification.

- **Existing Guests:** Receive an "Add Guests" notification email informing them that additional guests have been added to the booking.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/bookings/{bookingUid}/guests (the `BookingGuestsController20240813AddGuests` operationId).

func (*Client) BookingGuestsController20240813AddGuestsWithBody

func (c *Client) BookingGuestsController20240813AddGuestsWithBody(ctx context.Context, bookingUid string, params *BookingGuestsController20240813AddGuestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingGuestsController20240813AddGuestsWithBody Add guests to an existing booking

Add one or more guests to an existing booking. Maximum 10 guests per request, with a limit of 30 total guests per booking.

**Rate Limiting:**
This endpoint is rate limited to 5 requests per minute to prevent abuse.

**Email Notifications:**
When guests are added, the following notifications are sent (unless disabled by event type settings):

- **Organizer & Team Members:** Receive an "Add Guests" notification email informing them that new guests have been added to the booking.

- **New Guests:** Receive a "Scheduled Event" email with full booking details and calendar invite. If they have a phone number, they also receive an SMS notification.

- **Existing Guests:** Receive an "Add Guests" notification email informing them that additional guests have been added to the booking.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Takes any type of body and a specified content type.

Corresponds with POST /v2/bookings/{bookingUid}/guests (the `BookingGuestsController20240813AddGuests` operationId).

func (*Client) BookingLocationController20240813UpdateBookingLocation

func (c *Client) BookingLocationController20240813UpdateBookingLocation(ctx context.Context, bookingUid string, params *BookingLocationController20240813UpdateBookingLocationParams, body BookingLocationController20240813UpdateBookingLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingLocationController20240813UpdateBookingLocation Update booking location for an existing booking

Updates the location for an existing booking.

**Integration Fallback Behavior:** - **Google Meet**: Requires Google Calendar to be connected. If the booking has no Google Calendar event, it will automatically fall back to Cal Video. - **MS Teams**: If Office 365 Calendar is connected, generates the meeting link via calendar. Otherwise, uses the MS Teams video integration directly.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/bookings/{bookingUid}/location (the `BookingLocationController20240813UpdateBookingLocation` operationId).

func (*Client) BookingLocationController20240813UpdateBookingLocationWithBody

func (c *Client) BookingLocationController20240813UpdateBookingLocationWithBody(ctx context.Context, bookingUid string, params *BookingLocationController20240813UpdateBookingLocationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingLocationController20240813UpdateBookingLocationWithBody Update booking location for an existing booking

Updates the location for an existing booking.

**Integration Fallback Behavior:** - **Google Meet**: Requires Google Calendar to be connected. If the booking has no Google Calendar event, it will automatically fall back to Cal Video. - **MS Teams**: If Office 365 Calendar is connected, generates the meeting link via calendar. Otherwise, uses the MS Teams video integration directly.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/bookings/{bookingUid}/location (the `BookingLocationController20240813UpdateBookingLocation` operationId).

func (*Client) BookingsController20240813CancelBooking

func (c *Client) BookingsController20240813CancelBooking(ctx context.Context, bookingUid string, params *BookingsController20240813CancelBookingParams, body BookingsController20240813CancelBookingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813CancelBooking Cancel a booking

:bookingUid can be :bookingUid of an usual booking, individual recurrence or recurring booking to cancel all recurrences.

Cancelling normal bookings:

If the booking is not seated and not recurring, simply pass :bookingUid in the request URL `/bookings/:bookingUid/cancel` and optionally cancellationReason in the request body `{"cancellationReason": "Will travel"}`.

Cancelling seated bookings:

It is possible to cancel specific seat within a booking as an attendee or all of the seats as the host.

1. As an attendee - provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and seatUid in the request body `{"seatUid": "123-123-123"}` . This will remove this particular attendance from the booking.

2. As the host or org admin of host - host can cancel booking for all attendees aka for every seat, this also applies to org admins. Provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and cancellationReason in the request body `{"cancellationReason": "Will travel"}` and `Authorization: Bearer token` request header where token is event type owner (host) credential. This will cancel the booking for all attendees.

Cancelling recurring seated bookings:

For recurring seated bookings it is not possible to cancel all of them with 1 call
like with non-seated recurring bookings by providing recurring bookind uid - you have to cancel each recurrence booking by its bookingUid + seatUid.

If you are cancelling a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/bookings/{bookingUid}/cancel (the `BookingsController20240813CancelBooking` operationId).

func (*Client) BookingsController20240813CancelBookingWithBody

func (c *Client) BookingsController20240813CancelBookingWithBody(ctx context.Context, bookingUid string, params *BookingsController20240813CancelBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813CancelBookingWithBody Cancel a booking

:bookingUid can be :bookingUid of an usual booking, individual recurrence or recurring booking to cancel all recurrences.

Cancelling normal bookings:

If the booking is not seated and not recurring, simply pass :bookingUid in the request URL `/bookings/:bookingUid/cancel` and optionally cancellationReason in the request body `{"cancellationReason": "Will travel"}`.

Cancelling seated bookings:

It is possible to cancel specific seat within a booking as an attendee or all of the seats as the host.

1. As an attendee - provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and seatUid in the request body `{"seatUid": "123-123-123"}` . This will remove this particular attendance from the booking.

2. As the host or org admin of host - host can cancel booking for all attendees aka for every seat, this also applies to org admins. Provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and cancellationReason in the request body `{"cancellationReason": "Will travel"}` and `Authorization: Bearer token` request header where token is event type owner (host) credential. This will cancel the booking for all attendees.

Cancelling recurring seated bookings:

For recurring seated bookings it is not possible to cancel all of them with 1 call
like with non-seated recurring bookings by providing recurring bookind uid - you have to cancel each recurrence booking by its bookingUid + seatUid.

If you are cancelling a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type.

Corresponds with POST /v2/bookings/{bookingUid}/cancel (the `BookingsController20240813CancelBooking` operationId).

func (*Client) BookingsController20240813ConfirmBooking

func (c *Client) BookingsController20240813ConfirmBooking(ctx context.Context, bookingUid string, params *BookingsController20240813ConfirmBookingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813ConfirmBooking Confirm a booking

The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with POST /v2/bookings/{bookingUid}/confirm (the `BookingsController20240813ConfirmBooking` operationId).

func (*Client) BookingsController20240813CreateBooking

BookingsController20240813CreateBooking Create a booking

POST /v2/bookings is used to create regular bookings, recurring bookings and instant bookings. The request bodies for all 3 are almost the same except:
If eventTypeId in the request body is id of a regular event, then regular booking is created.

If it is an id of a recurring event type, then recurring booking is created.

Meaning that the request bodies are equal but the outcome depends on what kind of event type it is with the goal of making it as seamless for developers as possible.

The start needs to be in UTC aka if the timezone is GMT+2 in Rome and meeting should start at 11, then UTC time should have hours 09:00 aka without time zone.

Finally, there are 2 ways to book an event type belonging to an individual user:
1. Provide `eventTypeId` in the request body.
2. Provide `eventTypeSlug` and `username` and optionally `organizationSlug` if the user with the username is within an organization.

And 2 ways to book and event type belonging to a team:
1. Provide `eventTypeId` in the request body.
2. Provide `eventTypeSlug` and `teamSlug` and optionally `organizationSlug` if the team with the teamSlug is within an organization.

If you are creating a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.

For event types that have SMS reminders enabled, you need to pass the attendee's phone number in the request body via `attendee.phoneNumber` (e.g., "+19876543210" in international format). This is an optional field, but becomes required when SMS reminders are enabled for the event type. For the complete attendee object structure, see the attendee schema in the `/docs` Swagger endpoint.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/bookings (the `BookingsController20240813CreateBooking` operationId).

func (*Client) BookingsController20240813CreateBookingWithBody

func (c *Client) BookingsController20240813CreateBookingWithBody(ctx context.Context, params *BookingsController20240813CreateBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813CreateBookingWithBody Create a booking

POST /v2/bookings is used to create regular bookings, recurring bookings and instant bookings. The request bodies for all 3 are almost the same except:
If eventTypeId in the request body is id of a regular event, then regular booking is created.

If it is an id of a recurring event type, then recurring booking is created.

Meaning that the request bodies are equal but the outcome depends on what kind of event type it is with the goal of making it as seamless for developers as possible.

The start needs to be in UTC aka if the timezone is GMT+2 in Rome and meeting should start at 11, then UTC time should have hours 09:00 aka without time zone.

Finally, there are 2 ways to book an event type belonging to an individual user:
1. Provide `eventTypeId` in the request body.
2. Provide `eventTypeSlug` and `username` and optionally `organizationSlug` if the user with the username is within an organization.

And 2 ways to book and event type belonging to a team:
1. Provide `eventTypeId` in the request body.
2. Provide `eventTypeSlug` and `teamSlug` and optionally `organizationSlug` if the team with the teamSlug is within an organization.

If you are creating a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.

For event types that have SMS reminders enabled, you need to pass the attendee's phone number in the request body via `attendee.phoneNumber` (e.g., "+19876543210" in international format). This is an optional field, but becomes required when SMS reminders are enabled for the event type. For the complete attendee object structure, see the attendee schema in the `/docs` Swagger endpoint.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type.

Corresponds with POST /v2/bookings (the `BookingsController20240813CreateBooking` operationId).

func (*Client) BookingsController20240813DeclineBooking

func (c *Client) BookingsController20240813DeclineBooking(ctx context.Context, bookingUid string, params *BookingsController20240813DeclineBookingParams, body BookingsController20240813DeclineBookingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813DeclineBooking Decline a booking

The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/bookings/{bookingUid}/decline (the `BookingsController20240813DeclineBooking` operationId).

func (*Client) BookingsController20240813DeclineBookingWithBody

func (c *Client) BookingsController20240813DeclineBookingWithBody(ctx context.Context, bookingUid string, params *BookingsController20240813DeclineBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813DeclineBookingWithBody Decline a booking

The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type.

Corresponds with POST /v2/bookings/{bookingUid}/decline (the `BookingsController20240813DeclineBooking` operationId).

func (*Client) BookingsController20240813GetBooking

func (c *Client) BookingsController20240813GetBooking(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813GetBooking Get a booking

`:bookingUid` can be

  1. uid of a normal booking

  2. uid of one of the recurring booking recurrences

  3. uid of recurring booking which will return an array of all recurring booking recurrences (stored as recurringBookingUid on one of the individual recurrences).

    If you are fetching a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.

    <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with GET /v2/bookings/{bookingUid} (the `BookingsController20240813GetBooking` operationId).

func (*Client) BookingsController20240813GetBookingBySeatUid

func (c *Client) BookingsController20240813GetBookingBySeatUid(ctx context.Context, seatUid string, params *BookingsController20240813GetBookingBySeatUidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813GetBookingBySeatUid Get a booking by seat UID

Get a seated booking by its seat reference UID. This is useful when you have a seatUid from a seated booking and want to retrieve the full booking details.

If you are fetching a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with GET /v2/bookings/by-seat/{seatUid} (the `BookingsController20240813GetBookingBySeatUid` operationId).

func (*Client) BookingsController20240813GetBookingRecordings

func (c *Client) BookingsController20240813GetBookingRecordings(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingRecordingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813GetBookingRecordings Get all the recordings for the booking

Fetches all the recordings for the booking `:bookingUid`. Requires authentication and proper authorization. Access is granted if you are the booking organizer, team admin or org admin/owner.

<Note>cal-api-version: `2024-08-13` is required in the request header.</Note>

Corresponds with GET /v2/bookings/{bookingUid}/recordings (the `BookingsController20240813GetBookingRecordings` operationId).

func (*Client) BookingsController20240813GetBookingReferences

func (c *Client) BookingsController20240813GetBookingReferences(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingReferencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813GetBookingReferences Get booking references

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with GET /v2/bookings/{bookingUid}/references (the `BookingsController20240813GetBookingReferences` operationId).

func (*Client) BookingsController20240813GetBookingTranscripts

func (c *Client) BookingsController20240813GetBookingTranscripts(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingTranscriptsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813GetBookingTranscripts Get Cal Video real time transcript download links for the booking

Fetches all the transcript download links for the booking `:bookingUid`

<Note>
Transcripts are generated when clicking "Transcribe" during a Cal Video meeting. Download links are valid for 1 hour only - make a new request to generate fresh links after expiration.

Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.
</Note>

Corresponds with GET /v2/bookings/{bookingUid}/transcripts (the `BookingsController20240813GetBookingTranscripts` operationId).

func (*Client) BookingsController20240813GetBookings

func (c *Client) BookingsController20240813GetBookings(ctx context.Context, params *BookingsController20240813GetBookingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813GetBookings Get all bookings

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with GET /v2/bookings (the `BookingsController20240813GetBookings` operationId).

func (c *Client) BookingsController20240813GetCalendarLinks(ctx context.Context, bookingUid string, params *BookingsController20240813GetCalendarLinksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813GetCalendarLinks Get 'Add to Calendar' links for a booking

Retrieve calendar links for a booking that can be used to add the event to various calendar services. Returns links for Google Calendar, Microsoft Office, Microsoft Outlook, and a downloadable ICS file.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with GET /v2/bookings/{bookingUid}/calendar-links (the `BookingsController20240813GetCalendarLinks` operationId).

func (*Client) BookingsController20240813GetVideoSessions

func (c *Client) BookingsController20240813GetVideoSessions(ctx context.Context, bookingUid string, params *BookingsController20240813GetVideoSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813GetVideoSessions Get Video Meeting Sessions. Only supported for Cal Video

Requires authentication and proper authorization. Access is granted if you are the booking organizer, team admin or org admin/owner.

<Note>cal-api-version: `2024-08-13` is required in the request header.</Note>

Corresponds with GET /v2/bookings/{bookingUid}/conferencing-sessions (the `BookingsController20240813GetVideoSessions` operationId).

func (*Client) BookingsController20240813MarkNoShow

func (c *Client) BookingsController20240813MarkNoShow(ctx context.Context, bookingUid string, params *BookingsController20240813MarkNoShowParams, body BookingsController20240813MarkNoShowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813MarkNoShow Mark a booking absence

The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/bookings/{bookingUid}/mark-absent (the `BookingsController20240813MarkNoShow` operationId).

func (*Client) BookingsController20240813MarkNoShowWithBody

func (c *Client) BookingsController20240813MarkNoShowWithBody(ctx context.Context, bookingUid string, params *BookingsController20240813MarkNoShowParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813MarkNoShowWithBody Mark a booking absence

The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type.

Corresponds with POST /v2/bookings/{bookingUid}/mark-absent (the `BookingsController20240813MarkNoShow` operationId).

func (*Client) BookingsController20240813ReassignBooking

func (c *Client) BookingsController20240813ReassignBooking(ctx context.Context, bookingUid string, params *BookingsController20240813ReassignBookingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813ReassignBooking Reassign a booking to auto-selected host

Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with POST /v2/bookings/{bookingUid}/reassign (the `BookingsController20240813ReassignBooking` operationId).

func (*Client) BookingsController20240813ReassignBookingToUser

func (c *Client) BookingsController20240813ReassignBookingToUser(ctx context.Context, bookingUid string, userId float64, params *BookingsController20240813ReassignBookingToUserParams, body BookingsController20240813ReassignBookingToUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813ReassignBookingToUser Reassign a booking to a specific host

Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/bookings/{bookingUid}/reassign/{userId} (the `BookingsController20240813ReassignBookingToUser` operationId).

func (*Client) BookingsController20240813ReassignBookingToUserWithBody

func (c *Client) BookingsController20240813ReassignBookingToUserWithBody(ctx context.Context, bookingUid string, userId float64, params *BookingsController20240813ReassignBookingToUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813ReassignBookingToUserWithBody Reassign a booking to a specific host

Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type.

Corresponds with POST /v2/bookings/{bookingUid}/reassign/{userId} (the `BookingsController20240813ReassignBookingToUser` operationId).

func (*Client) BookingsController20240813RescheduleBooking

func (c *Client) BookingsController20240813RescheduleBooking(ctx context.Context, bookingUid string, params *BookingsController20240813RescheduleBookingParams, body BookingsController20240813RescheduleBookingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813RescheduleBooking Reschedule a booking

Reschedule a booking or seated booking

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/bookings/{bookingUid}/reschedule (the `BookingsController20240813RescheduleBooking` operationId).

func (*Client) BookingsController20240813RescheduleBookingWithBody

func (c *Client) BookingsController20240813RescheduleBookingWithBody(ctx context.Context, bookingUid string, params *BookingsController20240813RescheduleBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BookingsController20240813RescheduleBookingWithBody Reschedule a booking

Reschedule a booking or seated booking

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type.

Corresponds with POST /v2/bookings/{bookingUid}/reschedule (the `BookingsController20240813RescheduleBooking` operationId).

func (*Client) CalUnifiedCalendarsControllerCreateCalendarEvent

CalUnifiedCalendarsControllerCreateCalendarEvent Create a calendar event

Create a new event on the authenticated user's calendar. Currently only Google Calendar is supported.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/calendars/{calendar}/events (the `CalUnifiedCalendarsControllerCreateCalendarEvent` operationId).

func (*Client) CalUnifiedCalendarsControllerCreateCalendarEventWithBody

func (c *Client) CalUnifiedCalendarsControllerCreateCalendarEventWithBody(ctx context.Context, calendar CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar, params *CalUnifiedCalendarsControllerCreateCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerCreateCalendarEventWithBody Create a calendar event

Create a new event on the authenticated user's calendar. Currently only Google Calendar is supported.

Takes any type of body and a specified content type.

Corresponds with POST /v2/calendars/{calendar}/events (the `CalUnifiedCalendarsControllerCreateCalendarEvent` operationId).

func (*Client) CalUnifiedCalendarsControllerCreateConnectionEvent

func (c *Client) CalUnifiedCalendarsControllerCreateConnectionEvent(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerCreateConnectionEventParams, body CalUnifiedCalendarsControllerCreateConnectionEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerCreateConnectionEvent Create event on a connection

Create a new event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/calendars/connections/{connectionId}/events (the `CalUnifiedCalendarsControllerCreateConnectionEvent` operationId).

func (*Client) CalUnifiedCalendarsControllerCreateConnectionEventWithBody

func (c *Client) CalUnifiedCalendarsControllerCreateConnectionEventWithBody(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerCreateConnectionEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerCreateConnectionEventWithBody Create event on a connection

Create a new event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Takes any type of body and a specified content type.

Corresponds with POST /v2/calendars/connections/{connectionId}/events (the `CalUnifiedCalendarsControllerCreateConnectionEvent` operationId).

func (*Client) CalUnifiedCalendarsControllerDeleteCalendarEvent

func (c *Client) CalUnifiedCalendarsControllerDeleteCalendarEvent(ctx context.Context, calendar CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerDeleteCalendarEventParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerDeleteCalendarEvent Delete a calendar event

Delete/cancel an event on the authenticated user's calendar. Currently only Google Calendar is supported.

Corresponds with DELETE /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerDeleteCalendarEvent` operationId).

func (*Client) CalUnifiedCalendarsControllerDeleteConnectionEvent

func (c *Client) CalUnifiedCalendarsControllerDeleteConnectionEvent(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerDeleteConnectionEventParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerDeleteConnectionEvent Delete event for a connection

Delete/cancel an event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Corresponds with DELETE /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerDeleteConnectionEvent` operationId).

func (*Client) CalUnifiedCalendarsControllerGetCalendarEventDetails

func (c *Client) CalUnifiedCalendarsControllerGetCalendarEventDetails(ctx context.Context, calendar CalUnifiedCalendarsControllerGetCalendarEventDetailsParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerGetCalendarEventDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerGetCalendarEventDetails Get meeting details from calendar

Returns detailed information about a meeting including attendance metrics. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use GET /connections/{connectionId}/events/{eventId}.

Corresponds with GET /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerGetCalendarEventDetails` operationId).

func (*Client) CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPath

func (c *Client) CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPath(ctx context.Context, calendar CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPath Get meeting details from calendar

Returns detailed information about a meeting including attendance metrics. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use GET /connections/{connectionId}/events/{eventId}.

Corresponds with GET /v2/calendars/{calendar}/event/{eventUid} (the `CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPath` operationId).

func (*Client) CalUnifiedCalendarsControllerGetConnectionEvent

func (c *Client) CalUnifiedCalendarsControllerGetConnectionEvent(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerGetConnectionEventParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerGetConnectionEvent Get event for a connection

Get a single event by ID for the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Corresponds with GET /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerGetConnectionEvent` operationId).

func (*Client) CalUnifiedCalendarsControllerGetConnectionFreeBusy

func (c *Client) CalUnifiedCalendarsControllerGetConnectionFreeBusy(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerGetConnectionFreeBusyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerGetConnectionFreeBusy Get free/busy for a connection

Get busy time slots for the specified calendar connection.

Corresponds with GET /v2/calendars/connections/{connectionId}/freebusy (the `CalUnifiedCalendarsControllerGetConnectionFreeBusy` operationId).

func (*Client) CalUnifiedCalendarsControllerGetFreeBusy

func (c *Client) CalUnifiedCalendarsControllerGetFreeBusy(ctx context.Context, calendar CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar, params *CalUnifiedCalendarsControllerGetFreeBusyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerGetFreeBusy Get free/busy times

Get busy time slots for the authenticated user's selected calendars in the given date range. Currently only Google Calendar is supported.

Corresponds with GET /v2/calendars/{calendar}/freebusy (the `CalUnifiedCalendarsControllerGetFreeBusy` operationId).

func (*Client) CalUnifiedCalendarsControllerListCalendarEvents

func (c *Client) CalUnifiedCalendarsControllerListCalendarEvents(ctx context.Context, calendar CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar, params *CalUnifiedCalendarsControllerListCalendarEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerListCalendarEvents List calendar events

List events in a date range for the authenticated user's calendar. Currently only Google Calendar is supported.

Corresponds with GET /v2/calendars/{calendar}/events (the `CalUnifiedCalendarsControllerListCalendarEvents` operationId).

func (*Client) CalUnifiedCalendarsControllerListConnectionEvents

func (c *Client) CalUnifiedCalendarsControllerListConnectionEvents(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerListConnectionEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerListConnectionEvents List events for a connection

List events in a date range for a specific calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Corresponds with GET /v2/calendars/connections/{connectionId}/events (the `CalUnifiedCalendarsControllerListConnectionEvents` operationId).

func (*Client) CalUnifiedCalendarsControllerListConnections

func (c *Client) CalUnifiedCalendarsControllerListConnections(ctx context.Context, params *CalUnifiedCalendarsControllerListConnectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerListConnections List calendar connections

Returns all calendar connections for the authenticated user (Google, Office 365, Apple). Use connectionId in connection-scoped endpoints. Note: Event CRUD (list/create/get/update/delete events) is currently only supported for Google Calendar connections; other types will return 400.

Corresponds with GET /v2/calendars/connections (the `CalUnifiedCalendarsControllerListConnections` operationId).

func (*Client) CalUnifiedCalendarsControllerUpdateCalendarEvent

CalUnifiedCalendarsControllerUpdateCalendarEvent Update meeting details in calendar

Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEvent` operationId).

func (*Client) CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath

CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath Update meeting details in calendar

Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/calendars/{calendar}/event/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath` operationId).

func (*Client) CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithBody

func (c *Client) CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithBody(ctx context.Context, calendar CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithBody Update meeting details in calendar

Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/calendars/{calendar}/event/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath` operationId).

func (*Client) CalUnifiedCalendarsControllerUpdateCalendarEventWithBody

func (c *Client) CalUnifiedCalendarsControllerUpdateCalendarEventWithBody(ctx context.Context, calendar CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerUpdateCalendarEventWithBody Update meeting details in calendar

Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEvent` operationId).

func (*Client) CalUnifiedCalendarsControllerUpdateConnectionEvent

func (c *Client) CalUnifiedCalendarsControllerUpdateConnectionEvent(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerUpdateConnectionEventParams, body CalUnifiedCalendarsControllerUpdateConnectionEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerUpdateConnectionEvent Update event for a connection

Update an event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerUpdateConnectionEvent` operationId).

func (*Client) CalUnifiedCalendarsControllerUpdateConnectionEventWithBody

func (c *Client) CalUnifiedCalendarsControllerUpdateConnectionEventWithBody(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerUpdateConnectionEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CalUnifiedCalendarsControllerUpdateConnectionEventWithBody Update event for a connection

Update an event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerUpdateConnectionEvent` operationId).

func (*Client) CalendarsControllerCheck

func (c *Client) CalendarsControllerCheck(ctx context.Context, calendar CalendarsControllerCheckParamsCalendar, params *CalendarsControllerCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalendarsControllerCheck Check a calendar connection

Corresponds with GET /v2/calendars/{calendar}/check (the `CalendarsControllerCheck` operationId).

func (*Client) CalendarsControllerCheckIcsFeed

func (c *Client) CalendarsControllerCheckIcsFeed(ctx context.Context, params *CalendarsControllerCheckIcsFeedParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalendarsControllerCheckIcsFeed Check an ICS feed

Corresponds with GET /v2/calendars/ics-feed/check (the `CalendarsControllerCheckIcsFeed` operationId).

func (*Client) CalendarsControllerCreateIcsFeed

func (c *Client) CalendarsControllerCreateIcsFeed(ctx context.Context, params *CalendarsControllerCreateIcsFeedParams, body CalendarsControllerCreateIcsFeedJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CalendarsControllerCreateIcsFeed Save an ICS feed

Takes a body of the `application/json` content type.

Corresponds with POST /v2/calendars/ics-feed/save (the `CalendarsControllerCreateIcsFeed` operationId).

func (*Client) CalendarsControllerCreateIcsFeedWithBody

func (c *Client) CalendarsControllerCreateIcsFeedWithBody(ctx context.Context, params *CalendarsControllerCreateIcsFeedParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CalendarsControllerCreateIcsFeedWithBody Save an ICS feed

Takes any type of body and a specified content type.

Corresponds with POST /v2/calendars/ics-feed/save (the `CalendarsControllerCreateIcsFeed` operationId).

func (*Client) CalendarsControllerDeleteCalendarCredentials

CalendarsControllerDeleteCalendarCredentials Disconnect a calendar

Takes a body of the `application/json` content type.

Corresponds with POST /v2/calendars/{calendar}/disconnect (the `CalendarsControllerDeleteCalendarCredentials` operationId).

func (*Client) CalendarsControllerDeleteCalendarCredentialsWithBody

func (c *Client) CalendarsControllerDeleteCalendarCredentialsWithBody(ctx context.Context, calendar CalendarsControllerDeleteCalendarCredentialsParamsCalendar, params *CalendarsControllerDeleteCalendarCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CalendarsControllerDeleteCalendarCredentialsWithBody Disconnect a calendar

Takes any type of body and a specified content type.

Corresponds with POST /v2/calendars/{calendar}/disconnect (the `CalendarsControllerDeleteCalendarCredentials` operationId).

func (*Client) CalendarsControllerGetBusyTimes

func (c *Client) CalendarsControllerGetBusyTimes(ctx context.Context, params *CalendarsControllerGetBusyTimesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalendarsControllerGetBusyTimes Get busy times

Get busy times from a calendar. Example request URL is `https://api.cal.com/v2/calendars/busy-times?timeZone=Europe%2FMadrid&dateFrom=2024-12-18&dateTo=2024-12-18&calendarsToLoad[0][credentialId]=135&calendarsToLoad[0][externalId]=skrauciz%40gmail.com`. Note: loggedInUsersTz is deprecated, use timeZone instead.

Corresponds with GET /v2/calendars/busy-times (the `CalendarsControllerGetBusyTimes` operationId).

func (*Client) CalendarsControllerGetCalendars

func (c *Client) CalendarsControllerGetCalendars(ctx context.Context, params *CalendarsControllerGetCalendarsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalendarsControllerGetCalendars Get all calendars

Corresponds with GET /v2/calendars (the `CalendarsControllerGetCalendars` operationId).

func (*Client) CalendarsControllerRedirect

func (c *Client) CalendarsControllerRedirect(ctx context.Context, calendar CalendarsControllerRedirectParamsCalendar, params *CalendarsControllerRedirectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalendarsControllerRedirect Get OAuth connect URL

Corresponds with GET /v2/calendars/{calendar}/connect (the `CalendarsControllerRedirect` operationId).

func (*Client) CalendarsControllerSave

func (c *Client) CalendarsControllerSave(ctx context.Context, calendar CalendarsControllerSaveParamsCalendar, params *CalendarsControllerSaveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CalendarsControllerSave Save Google or Outlook calendar credentials

Corresponds with GET /v2/calendars/{calendar}/save (the `CalendarsControllerSave` operationId).

func (*Client) CalendarsControllerSyncCredentials

CalendarsControllerSyncCredentials Save Apple calendar credentials

Takes a body of the `application/json` content type.

Corresponds with POST /v2/calendars/{calendar}/credentials (the `CalendarsControllerSyncCredentials` operationId).

func (*Client) CalendarsControllerSyncCredentialsWithBody

func (c *Client) CalendarsControllerSyncCredentialsWithBody(ctx context.Context, calendar CalendarsControllerSyncCredentialsParamsCalendar, params *CalendarsControllerSyncCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CalendarsControllerSyncCredentialsWithBody Save Apple calendar credentials

Takes any type of body and a specified content type.

Corresponds with POST /v2/calendars/{calendar}/credentials (the `CalendarsControllerSyncCredentials` operationId).

func (*Client) ConferencingControllerConnect

func (c *Client) ConferencingControllerConnect(ctx context.Context, app ConferencingControllerConnectParamsApp, params *ConferencingControllerConnectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ConferencingControllerConnect Connect your conferencing application

Corresponds with POST /v2/conferencing/{app}/connect (the `ConferencingControllerConnect` operationId).

func (*Client) ConferencingControllerDefault

func (c *Client) ConferencingControllerDefault(ctx context.Context, app ConferencingControllerDefaultParamsApp, params *ConferencingControllerDefaultParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ConferencingControllerDefault Set your default conferencing application

Corresponds with POST /v2/conferencing/{app}/default (the `ConferencingControllerDefault` operationId).

func (*Client) ConferencingControllerDisconnect

func (c *Client) ConferencingControllerDisconnect(ctx context.Context, app ConferencingControllerDisconnectParamsApp, params *ConferencingControllerDisconnectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ConferencingControllerDisconnect Disconnect your conferencing application

Corresponds with DELETE /v2/conferencing/{app}/disconnect (the `ConferencingControllerDisconnect` operationId).

func (*Client) ConferencingControllerGetDefault

func (c *Client) ConferencingControllerGetDefault(ctx context.Context, params *ConferencingControllerGetDefaultParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ConferencingControllerGetDefault Get your default conferencing application

Corresponds with GET /v2/conferencing/default (the `ConferencingControllerGetDefault` operationId).

func (*Client) ConferencingControllerListInstalledConferencingApps

func (c *Client) ConferencingControllerListInstalledConferencingApps(ctx context.Context, params *ConferencingControllerListInstalledConferencingAppsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ConferencingControllerListInstalledConferencingApps List your conferencing applications

Corresponds with GET /v2/conferencing (the `ConferencingControllerListInstalledConferencingApps` operationId).

func (*Client) ConferencingControllerRedirect

func (c *Client) ConferencingControllerRedirect(ctx context.Context, app ConferencingControllerRedirectParamsApp, params *ConferencingControllerRedirectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ConferencingControllerRedirect Get OAuth conferencing app auth URL

Corresponds with GET /v2/conferencing/{app}/oauth/auth-url (the `ConferencingControllerRedirect` operationId).

func (*Client) ConferencingControllerSave

func (c *Client) ConferencingControllerSave(ctx context.Context, app ConferencingControllerSaveParamsApp, params *ConferencingControllerSaveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ConferencingControllerSave Conferencing app OAuth callback

Corresponds with GET /v2/conferencing/{app}/oauth/callback (the `ConferencingControllerSave` operationId).

func (*Client) DestinationCalendarsControllerUpdateDestinationCalendars

DestinationCalendarsControllerUpdateDestinationCalendars Update destination calendars

Takes a body of the `application/json` content type.

Corresponds with PUT /v2/destination-calendars (the `DestinationCalendarsControllerUpdateDestinationCalendars` operationId).

func (*Client) DestinationCalendarsControllerUpdateDestinationCalendarsWithBody

func (c *Client) DestinationCalendarsControllerUpdateDestinationCalendarsWithBody(ctx context.Context, params *DestinationCalendarsControllerUpdateDestinationCalendarsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

DestinationCalendarsControllerUpdateDestinationCalendarsWithBody Update destination calendars

Takes any type of body and a specified content type.

Corresponds with PUT /v2/destination-calendars (the `DestinationCalendarsControllerUpdateDestinationCalendars` operationId).

func (*Client) EventTypeWebhooksControllerCreateEventTypeWebhook

func (c *Client) EventTypeWebhooksControllerCreateEventTypeWebhook(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerCreateEventTypeWebhookParams, body EventTypeWebhooksControllerCreateEventTypeWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypeWebhooksControllerCreateEventTypeWebhook Create a webhook

Takes a body of the `application/json` content type.

Corresponds with POST /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerCreateEventTypeWebhook` operationId).

func (*Client) EventTypeWebhooksControllerCreateEventTypeWebhookWithBody

func (c *Client) EventTypeWebhooksControllerCreateEventTypeWebhookWithBody(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerCreateEventTypeWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypeWebhooksControllerCreateEventTypeWebhookWithBody Create a webhook

Takes any type of body and a specified content type.

Corresponds with POST /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerCreateEventTypeWebhook` operationId).

func (*Client) EventTypeWebhooksControllerDeleteAllEventTypeWebhooks

func (c *Client) EventTypeWebhooksControllerDeleteAllEventTypeWebhooks(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerDeleteAllEventTypeWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypeWebhooksControllerDeleteAllEventTypeWebhooks Delete all webhooks

Corresponds with DELETE /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerDeleteAllEventTypeWebhooks` operationId).

func (*Client) EventTypeWebhooksControllerDeleteEventTypeWebhook

func (c *Client) EventTypeWebhooksControllerDeleteEventTypeWebhook(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerDeleteEventTypeWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypeWebhooksControllerDeleteEventTypeWebhook Delete a webhook

Corresponds with DELETE /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerDeleteEventTypeWebhook` operationId).

func (*Client) EventTypeWebhooksControllerGetEventTypeWebhook

func (c *Client) EventTypeWebhooksControllerGetEventTypeWebhook(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerGetEventTypeWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypeWebhooksControllerGetEventTypeWebhook Get a webhook

Corresponds with GET /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerGetEventTypeWebhook` operationId).

func (*Client) EventTypeWebhooksControllerGetEventTypeWebhooks

func (c *Client) EventTypeWebhooksControllerGetEventTypeWebhooks(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerGetEventTypeWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypeWebhooksControllerGetEventTypeWebhooks Get all webhooks

Corresponds with GET /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerGetEventTypeWebhooks` operationId).

func (*Client) EventTypeWebhooksControllerUpdateEventTypeWebhook

func (c *Client) EventTypeWebhooksControllerUpdateEventTypeWebhook(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerUpdateEventTypeWebhookParams, body EventTypeWebhooksControllerUpdateEventTypeWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypeWebhooksControllerUpdateEventTypeWebhook Update a webhook

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerUpdateEventTypeWebhook` operationId).

func (*Client) EventTypeWebhooksControllerUpdateEventTypeWebhookWithBody

func (c *Client) EventTypeWebhooksControllerUpdateEventTypeWebhookWithBody(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerUpdateEventTypeWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypeWebhooksControllerUpdateEventTypeWebhookWithBody Update a webhook

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerUpdateEventTypeWebhook` operationId).

func (*Client) EventTypesController20240614CreateEventType

EventTypesController20240614CreateEventType Create an event type

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/event-types (the `EventTypesController20240614CreateEventType` operationId).

func (*Client) EventTypesController20240614CreateEventTypeWithBody

func (c *Client) EventTypesController20240614CreateEventTypeWithBody(ctx context.Context, params *EventTypesController20240614CreateEventTypeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypesController20240614CreateEventTypeWithBody Create an event type

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type.

Corresponds with POST /v2/event-types (the `EventTypesController20240614CreateEventType` operationId).

func (*Client) EventTypesController20240614DeleteEventType

func (c *Client) EventTypesController20240614DeleteEventType(ctx context.Context, eventTypeId float64, params *EventTypesController20240614DeleteEventTypeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypesController20240614DeleteEventType Delete an event type

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with DELETE /v2/event-types/{eventTypeId} (the `EventTypesController20240614DeleteEventType` operationId).

func (*Client) EventTypesController20240614GetEventTypeById

func (c *Client) EventTypesController20240614GetEventTypeById(ctx context.Context, eventTypeId string, params *EventTypesController20240614GetEventTypeByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypesController20240614GetEventTypeById Get an event type

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Access control: This endpoint fetches an event type by ID and returns it only if the authenticated user is authorized. Authorization is granted to:
- System admins
- The event type owner
- Hosts of the event type or users assigned to the event type
- Team admins/owners of the team that owns the team event type
- Organization admins/owners of the event type owner's organization
- Organization admins/owners of the team's parent organization

Note: Update and delete endpoints remain restricted to the event type owner only.

Corresponds with GET /v2/event-types/{eventTypeId} (the `EventTypesController20240614GetEventTypeById` operationId).

func (*Client) EventTypesController20240614GetEventTypes

func (c *Client) EventTypesController20240614GetEventTypes(ctx context.Context, params *EventTypesController20240614GetEventTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypesController20240614GetEventTypes Get all event types

Hidden event types are returned only if authentication is provided and it belongs to the event type owner.

Use the optional `sortCreatedAt` query parameter to order results by creation date (by ID). Accepts "asc" (oldest first) or "desc" (newest first). When not provided, no explicit ordering is applied.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with GET /v2/event-types (the `EventTypesController20240614GetEventTypes` operationId).

func (*Client) EventTypesController20240614UpdateEventType

func (c *Client) EventTypesController20240614UpdateEventType(ctx context.Context, eventTypeId float64, params *EventTypesController20240614UpdateEventTypeParams, body EventTypesController20240614UpdateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypesController20240614UpdateEventType Update an event type

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/event-types/{eventTypeId} (the `EventTypesController20240614UpdateEventType` operationId).

func (*Client) EventTypesController20240614UpdateEventTypeWithBody

func (c *Client) EventTypesController20240614UpdateEventTypeWithBody(ctx context.Context, eventTypeId float64, params *EventTypesController20240614UpdateEventTypeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypesController20240614UpdateEventTypeWithBody Update an event type

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/event-types/{eventTypeId} (the `EventTypesController20240614UpdateEventType` operationId).

func (c *Client) EventTypesPrivateLinksControllerCreatePrivateLink(ctx context.Context, eventTypeId float64, params *EventTypesPrivateLinksControllerCreatePrivateLinkParams, body EventTypesPrivateLinksControllerCreatePrivateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypesPrivateLinksControllerCreatePrivateLink Create a private link for an event type

Takes a body of the `application/json` content type.

Corresponds with POST /v2/event-types/{eventTypeId}/private-links (the `EventTypesPrivateLinksControllerCreatePrivateLink` operationId).

func (*Client) EventTypesPrivateLinksControllerCreatePrivateLinkWithBody

func (c *Client) EventTypesPrivateLinksControllerCreatePrivateLinkWithBody(ctx context.Context, eventTypeId float64, params *EventTypesPrivateLinksControllerCreatePrivateLinkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypesPrivateLinksControllerCreatePrivateLinkWithBody Create a private link for an event type

Takes any type of body and a specified content type.

Corresponds with POST /v2/event-types/{eventTypeId}/private-links (the `EventTypesPrivateLinksControllerCreatePrivateLink` operationId).

func (c *Client) EventTypesPrivateLinksControllerDeletePrivateLink(ctx context.Context, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerDeletePrivateLinkParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypesPrivateLinksControllerDeletePrivateLink Delete a private link for an event type

Corresponds with DELETE /v2/event-types/{eventTypeId}/private-links/{linkId} (the `EventTypesPrivateLinksControllerDeletePrivateLink` operationId).

func (c *Client) EventTypesPrivateLinksControllerGetPrivateLinks(ctx context.Context, eventTypeId float64, params *EventTypesPrivateLinksControllerGetPrivateLinksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypesPrivateLinksControllerGetPrivateLinks Get all private links for an event type

Corresponds with GET /v2/event-types/{eventTypeId}/private-links (the `EventTypesPrivateLinksControllerGetPrivateLinks` operationId).

func (c *Client) EventTypesPrivateLinksControllerUpdatePrivateLink(ctx context.Context, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerUpdatePrivateLinkParams, body EventTypesPrivateLinksControllerUpdatePrivateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypesPrivateLinksControllerUpdatePrivateLink Update a private link for an event type

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/event-types/{eventTypeId}/private-links/{linkId} (the `EventTypesPrivateLinksControllerUpdatePrivateLink` operationId).

func (*Client) EventTypesPrivateLinksControllerUpdatePrivateLinkWithBody

func (c *Client) EventTypesPrivateLinksControllerUpdatePrivateLinkWithBody(ctx context.Context, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerUpdatePrivateLinkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

EventTypesPrivateLinksControllerUpdatePrivateLinkWithBody Update a private link for an event type

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/event-types/{eventTypeId}/private-links/{linkId} (the `EventTypesPrivateLinksControllerUpdatePrivateLink` operationId).

func (*Client) MeControllerGetMe

func (c *Client) MeControllerGetMe(ctx context.Context, params *MeControllerGetMeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

MeControllerGetMe Get my profile

Corresponds with GET /v2/me (the `MeControllerGetMe` operationId).

func (*Client) MeControllerUpdateMe

func (c *Client) MeControllerUpdateMe(ctx context.Context, params *MeControllerUpdateMeParams, body MeControllerUpdateMeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

MeControllerUpdateMe Update my profile

Updates the authenticated user's profile. Email changes require verification and the primary email stays unchanged until verification completes, unless the new email is already a verified secondary email or the user is platform-managed.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/me (the `MeControllerUpdateMe` operationId).

func (*Client) MeControllerUpdateMeWithBody

func (c *Client) MeControllerUpdateMeWithBody(ctx context.Context, params *MeControllerUpdateMeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

MeControllerUpdateMeWithBody Update my profile

Updates the authenticated user's profile. Email changes require verification and the primary email stays unchanged until verification completes, unless the new email is already a verified secondary email or the user is platform-managed.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/me (the `MeControllerUpdateMe` operationId).

func (*Client) OAuth2ControllerGetClient

func (c *Client) OAuth2ControllerGetClient(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuth2ControllerGetClient Get OAuth2 client

Returns the OAuth2 client information for the given client ID.

Corresponds with GET /v2/auth/oauth2/clients/{clientId} (the `OAuth2ControllerGetClient` operationId).

func (*Client) OAuth2ControllerToken

func (c *Client) OAuth2ControllerToken(ctx context.Context, body OAuth2ControllerTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuth2ControllerToken Exchange authorization code or refresh token for tokens

RFC 6749-compliant token endpoint. Pass client_id in the request body (Section 2.3.1). Use grant_type 'authorization_code' to exchange an auth code for tokens, or 'refresh_token' to refresh an access token. Accepts both application/x-www-form-urlencoded (standard per RFC 6749 Section 4.1.3) and application/json content types.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/auth/oauth2/token (the `OAuth2ControllerToken` operationId).

func (*Client) OAuth2ControllerTokenWithBody

func (c *Client) OAuth2ControllerTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuth2ControllerTokenWithBody Exchange authorization code or refresh token for tokens

RFC 6749-compliant token endpoint. Pass client_id in the request body (Section 2.3.1). Use grant_type 'authorization_code' to exchange an auth code for tokens, or 'refresh_token' to refresh an access token. Accepts both application/x-www-form-urlencoded (standard per RFC 6749 Section 4.1.3) and application/json content types.

Takes any type of body and a specified content type.

Corresponds with POST /v2/auth/oauth2/token (the `OAuth2ControllerToken` operationId).

func (*Client) OAuthClientUsersControllerCreateUser

func (c *Client) OAuthClientUsersControllerCreateUser(ctx context.Context, clientId string, params *OAuthClientUsersControllerCreateUserParams, body OAuthClientUsersControllerCreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientUsersControllerCreateUser Create a managed user

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/oauth-clients/{clientId}/users (the `OAuthClientUsersControllerCreateUser` operationId).

func (*Client) OAuthClientUsersControllerCreateUserWithBody

func (c *Client) OAuthClientUsersControllerCreateUserWithBody(ctx context.Context, clientId string, params *OAuthClientUsersControllerCreateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientUsersControllerCreateUserWithBody Create a managed user

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes any type of body and a specified content type.

Corresponds with POST /v2/oauth-clients/{clientId}/users (the `OAuthClientUsersControllerCreateUser` operationId).

func (*Client) OAuthClientUsersControllerDeleteUser

func (c *Client) OAuthClientUsersControllerDeleteUser(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerDeleteUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientUsersControllerDeleteUser Delete a managed user

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Corresponds with DELETE /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerDeleteUser` operationId).

func (*Client) OAuthClientUsersControllerForceRefresh

func (c *Client) OAuthClientUsersControllerForceRefresh(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerForceRefreshParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientUsersControllerForceRefresh Force refresh tokens

<Warning>These endpoints are deprecated and will be removed in the future.</Warning> If you have lost managed user access or refresh token, then you can get new ones by using OAuth credentials. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model `calAccessToken` and `calRefreshToken` fields. Response also contains `accessTokenExpiresAt` and `refreshTokenExpiresAt` fields, but if you decode the jwt token the payload will contain `clientId` (OAuth client ID), `ownerId` (user to whom token belongs ID), `iat` (issued at time) and `expiresAt` (when does the token expire) fields.

Corresponds with POST /v2/oauth-clients/{clientId}/users/{userId}/force-refresh (the `OAuthClientUsersControllerForceRefresh` operationId).

func (*Client) OAuthClientUsersControllerGetManagedUsers

func (c *Client) OAuthClientUsersControllerGetManagedUsers(ctx context.Context, clientId string, params *OAuthClientUsersControllerGetManagedUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientUsersControllerGetManagedUsers Get all managed users

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Corresponds with GET /v2/oauth-clients/{clientId}/users (the `OAuthClientUsersControllerGetManagedUsers` operationId).

func (*Client) OAuthClientUsersControllerGetUserById

func (c *Client) OAuthClientUsersControllerGetUserById(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerGetUserByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientUsersControllerGetUserById Get a managed user

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Corresponds with GET /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerGetUserById` operationId).

func (*Client) OAuthClientUsersControllerUpdateUser

func (c *Client) OAuthClientUsersControllerUpdateUser(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerUpdateUserParams, body OAuthClientUsersControllerUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientUsersControllerUpdateUser Update a managed user

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerUpdateUser` operationId).

func (*Client) OAuthClientUsersControllerUpdateUserWithBody

func (c *Client) OAuthClientUsersControllerUpdateUserWithBody(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerUpdateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientUsersControllerUpdateUserWithBody Update a managed user

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerUpdateUser` operationId).

func (*Client) OAuthClientWebhooksControllerCreateOAuthClientWebhook

func (c *Client) OAuthClientWebhooksControllerCreateOAuthClientWebhook(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerCreateOAuthClientWebhookParams, body OAuthClientWebhooksControllerCreateOAuthClientWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientWebhooksControllerCreateOAuthClientWebhook Create a webhook

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerCreateOAuthClientWebhook` operationId).

func (*Client) OAuthClientWebhooksControllerCreateOAuthClientWebhookWithBody

func (c *Client) OAuthClientWebhooksControllerCreateOAuthClientWebhookWithBody(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerCreateOAuthClientWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientWebhooksControllerCreateOAuthClientWebhookWithBody Create a webhook

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes any type of body and a specified content type.

Corresponds with POST /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerCreateOAuthClientWebhook` operationId).

func (*Client) OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooks

func (c *Client) OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooks(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooks Delete all webhooks

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Corresponds with DELETE /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooks` operationId).

func (*Client) OAuthClientWebhooksControllerDeleteOAuthClientWebhook

func (c *Client) OAuthClientWebhooksControllerDeleteOAuthClientWebhook(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerDeleteOAuthClientWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientWebhooksControllerDeleteOAuthClientWebhook Delete a webhook

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Corresponds with DELETE /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerDeleteOAuthClientWebhook` operationId).

func (*Client) OAuthClientWebhooksControllerGetOAuthClientWebhook

func (c *Client) OAuthClientWebhooksControllerGetOAuthClientWebhook(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerGetOAuthClientWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientWebhooksControllerGetOAuthClientWebhook Get a webhook

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Corresponds with GET /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerGetOAuthClientWebhook` operationId).

func (*Client) OAuthClientWebhooksControllerGetOAuthClientWebhooks

func (c *Client) OAuthClientWebhooksControllerGetOAuthClientWebhooks(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerGetOAuthClientWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientWebhooksControllerGetOAuthClientWebhooks Get all webhooks

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Corresponds with GET /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerGetOAuthClientWebhooks` operationId).

func (*Client) OAuthClientWebhooksControllerUpdateOAuthClientWebhook

func (c *Client) OAuthClientWebhooksControllerUpdateOAuthClientWebhook(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerUpdateOAuthClientWebhookParams, body OAuthClientWebhooksControllerUpdateOAuthClientWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientWebhooksControllerUpdateOAuthClientWebhook Update a webhook

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerUpdateOAuthClientWebhook` operationId).

func (*Client) OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithBody

func (c *Client) OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithBody(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerUpdateOAuthClientWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithBody Update a webhook

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerUpdateOAuthClientWebhook` operationId).

func (*Client) OAuthClientsControllerCreateOAuthClient

OAuthClientsControllerCreateOAuthClient Create an OAuth client

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/oauth-clients (the `OAuthClientsControllerCreateOAuthClient` operationId).

func (*Client) OAuthClientsControllerCreateOAuthClientWithBody

func (c *Client) OAuthClientsControllerCreateOAuthClientWithBody(ctx context.Context, params *OAuthClientsControllerCreateOAuthClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientsControllerCreateOAuthClientWithBody Create an OAuth client

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes any type of body and a specified content type.

Corresponds with POST /v2/oauth-clients (the `OAuthClientsControllerCreateOAuthClient` operationId).

func (*Client) OAuthClientsControllerDeleteOAuthClient

func (c *Client) OAuthClientsControllerDeleteOAuthClient(ctx context.Context, clientId string, params *OAuthClientsControllerDeleteOAuthClientParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientsControllerDeleteOAuthClient Delete an OAuth client

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Corresponds with DELETE /v2/oauth-clients/{clientId} (the `OAuthClientsControllerDeleteOAuthClient` operationId).

func (*Client) OAuthClientsControllerGetOAuthClientById

func (c *Client) OAuthClientsControllerGetOAuthClientById(ctx context.Context, clientId string, params *OAuthClientsControllerGetOAuthClientByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientsControllerGetOAuthClientById Get an OAuth client

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Corresponds with GET /v2/oauth-clients/{clientId} (the `OAuthClientsControllerGetOAuthClientById` operationId).

func (*Client) OAuthClientsControllerGetOAuthClients

func (c *Client) OAuthClientsControllerGetOAuthClients(ctx context.Context, params *OAuthClientsControllerGetOAuthClientsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientsControllerGetOAuthClients Get all OAuth clients

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Corresponds with GET /v2/oauth-clients (the `OAuthClientsControllerGetOAuthClients` operationId).

func (*Client) OAuthClientsControllerUpdateOAuthClient

func (c *Client) OAuthClientsControllerUpdateOAuthClient(ctx context.Context, clientId string, params *OAuthClientsControllerUpdateOAuthClientParams, body OAuthClientsControllerUpdateOAuthClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientsControllerUpdateOAuthClient Update an OAuth client

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/oauth-clients/{clientId} (the `OAuthClientsControllerUpdateOAuthClient` operationId).

func (*Client) OAuthClientsControllerUpdateOAuthClientWithBody

func (c *Client) OAuthClientsControllerUpdateOAuthClientWithBody(ctx context.Context, clientId string, params *OAuthClientsControllerUpdateOAuthClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthClientsControllerUpdateOAuthClientWithBody Update an OAuth client

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/oauth-clients/{clientId} (the `OAuthClientsControllerUpdateOAuthClient` operationId).

func (*Client) OAuthFlowControllerRefreshTokens

func (c *Client) OAuthFlowControllerRefreshTokens(ctx context.Context, clientId string, params *OAuthFlowControllerRefreshTokensParams, body OAuthFlowControllerRefreshTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthFlowControllerRefreshTokens Refresh managed user tokens

<Warning>These endpoints are deprecated and will be removed in the future.</Warning> If managed user access token is expired then get a new one using this endpoint - it will also refresh the refresh token, because we use

"refresh token rotation" mechanism. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model `calAccessToken` and `calRefreshToken` fields.

Response also contains `accessTokenExpiresAt` and `refreshTokenExpiresAt` fields, but if you decode the jwt token the payload will contain `clientId` (OAuth client ID), `ownerId` (user to whom token belongs ID), `iat` (issued at time) and `expiresAt` (when does the token expire) fields.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/oauth/{clientId}/refresh (the `OAuthFlowControllerRefreshTokens` operationId).

func (*Client) OAuthFlowControllerRefreshTokensWithBody

func (c *Client) OAuthFlowControllerRefreshTokensWithBody(ctx context.Context, clientId string, params *OAuthFlowControllerRefreshTokensParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

OAuthFlowControllerRefreshTokensWithBody Refresh managed user tokens

<Warning>These endpoints are deprecated and will be removed in the future.</Warning> If managed user access token is expired then get a new one using this endpoint - it will also refresh the refresh token, because we use

"refresh token rotation" mechanism. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model `calAccessToken` and `calRefreshToken` fields.

Response also contains `accessTokenExpiresAt` and `refreshTokenExpiresAt` fields, but if you decode the jwt token the payload will contain `clientId` (OAuth client ID), `ownerId` (user to whom token belongs ID), `iat` (issued at time) and `expiresAt` (when does the token expire) fields.

Takes any type of body and a specified content type.

Corresponds with POST /v2/oauth/{clientId}/refresh (the `OAuthFlowControllerRefreshTokens` operationId).

func (*Client) SchedulesController20240611CreateSchedule

SchedulesController20240611CreateSchedule Create a schedule

Create a schedule for the authenticated user.

The point of creating schedules is for event types to be available at specific times.

The first goal of schedules is to have a default schedule. If you are platform customer and created managed users, then it is important to note that each managed user should have a default schedule.
1. If you passed `timeZone` when creating managed user, then the default schedule from Monday to Friday from 9AM to 5PM will be created with that timezone. The managed user can then change the default schedule via the `AvailabilitySettings` atom.
2. If you did not, then we assume you want the user to have this specific schedule right away. You should create a default schedule by specifying
`"isDefault": true` in the request body. Until the user has a default schedule the user can't be booked nor manage their schedule via the AvailabilitySettings atom.

The second goal of schedules is to create another schedule that event types can point to. This is useful for when an event is booked because availability is not checked against the default schedule but instead against that specific schedule.
After creating a non-default schedule, you can update an event type to point to that schedule via the PATCH `event-types/{eventTypeId}` endpoint.

When specifying start time and end time for each day use the 24 hour format e.g. 08:00, 15:00 etc.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/schedules (the `SchedulesController20240611CreateSchedule` operationId).

func (*Client) SchedulesController20240611CreateScheduleWithBody

func (c *Client) SchedulesController20240611CreateScheduleWithBody(ctx context.Context, params *SchedulesController20240611CreateScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SchedulesController20240611CreateScheduleWithBody Create a schedule

Create a schedule for the authenticated user.

The point of creating schedules is for event types to be available at specific times.

The first goal of schedules is to have a default schedule. If you are platform customer and created managed users, then it is important to note that each managed user should have a default schedule.
1. If you passed `timeZone` when creating managed user, then the default schedule from Monday to Friday from 9AM to 5PM will be created with that timezone. The managed user can then change the default schedule via the `AvailabilitySettings` atom.
2. If you did not, then we assume you want the user to have this specific schedule right away. You should create a default schedule by specifying
`"isDefault": true` in the request body. Until the user has a default schedule the user can't be booked nor manage their schedule via the AvailabilitySettings atom.

The second goal of schedules is to create another schedule that event types can point to. This is useful for when an event is booked because availability is not checked against the default schedule but instead against that specific schedule.
After creating a non-default schedule, you can update an event type to point to that schedule via the PATCH `event-types/{eventTypeId}` endpoint.

When specifying start time and end time for each day use the 24 hour format e.g. 08:00, 15:00 etc.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type.

Corresponds with POST /v2/schedules (the `SchedulesController20240611CreateSchedule` operationId).

func (*Client) SchedulesController20240611DeleteSchedule

func (c *Client) SchedulesController20240611DeleteSchedule(ctx context.Context, scheduleId float64, params *SchedulesController20240611DeleteScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SchedulesController20240611DeleteSchedule Delete a schedule

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with DELETE /v2/schedules/{scheduleId} (the `SchedulesController20240611DeleteSchedule` operationId).

func (*Client) SchedulesController20240611GetDefaultSchedule

func (c *Client) SchedulesController20240611GetDefaultSchedule(ctx context.Context, params *SchedulesController20240611GetDefaultScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SchedulesController20240611GetDefaultSchedule Get default schedule

Get the default schedule of the authenticated user.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with GET /v2/schedules/default (the `SchedulesController20240611GetDefaultSchedule` operationId).

func (*Client) SchedulesController20240611GetSchedule

func (c *Client) SchedulesController20240611GetSchedule(ctx context.Context, scheduleId float64, params *SchedulesController20240611GetScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SchedulesController20240611GetSchedule Get a schedule

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with GET /v2/schedules/{scheduleId} (the `SchedulesController20240611GetSchedule` operationId).

func (*Client) SchedulesController20240611GetSchedules

func (c *Client) SchedulesController20240611GetSchedules(ctx context.Context, params *SchedulesController20240611GetSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SchedulesController20240611GetSchedules Get all schedules

Get all schedules of the authenticated user.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with GET /v2/schedules (the `SchedulesController20240611GetSchedules` operationId).

func (*Client) SchedulesController20240611UpdateSchedule

func (c *Client) SchedulesController20240611UpdateSchedule(ctx context.Context, scheduleId string, params *SchedulesController20240611UpdateScheduleParams, body SchedulesController20240611UpdateScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SchedulesController20240611UpdateSchedule Update a schedule

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/schedules/{scheduleId} (the `SchedulesController20240611UpdateSchedule` operationId).

func (*Client) SchedulesController20240611UpdateScheduleWithBody

func (c *Client) SchedulesController20240611UpdateScheduleWithBody(ctx context.Context, scheduleId string, params *SchedulesController20240611UpdateScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SchedulesController20240611UpdateScheduleWithBody Update a schedule

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/schedules/{scheduleId} (the `SchedulesController20240611UpdateSchedule` operationId).

func (*Client) SelectedCalendarsControllerAddSelectedCalendar

SelectedCalendarsControllerAddSelectedCalendar Add a selected calendar

Takes a body of the `application/json` content type.

Corresponds with POST /v2/selected-calendars (the `SelectedCalendarsControllerAddSelectedCalendar` operationId).

func (*Client) SelectedCalendarsControllerAddSelectedCalendarWithBody

func (c *Client) SelectedCalendarsControllerAddSelectedCalendarWithBody(ctx context.Context, params *SelectedCalendarsControllerAddSelectedCalendarParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SelectedCalendarsControllerAddSelectedCalendarWithBody Add a selected calendar

Takes any type of body and a specified content type.

Corresponds with POST /v2/selected-calendars (the `SelectedCalendarsControllerAddSelectedCalendar` operationId).

func (*Client) SelectedCalendarsControllerDeleteSelectedCalendar

func (c *Client) SelectedCalendarsControllerDeleteSelectedCalendar(ctx context.Context, params *SelectedCalendarsControllerDeleteSelectedCalendarParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SelectedCalendarsControllerDeleteSelectedCalendar Delete a selected calendar

Corresponds with DELETE /v2/selected-calendars (the `SelectedCalendarsControllerDeleteSelectedCalendar` operationId).

func (*Client) SlotsController20240904DeleteReservedSlot

func (c *Client) SlotsController20240904DeleteReservedSlot(ctx context.Context, uid string, params *SlotsController20240904DeleteReservedSlotParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SlotsController20240904DeleteReservedSlot Delete a reserved slot

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with DELETE /v2/slots/reservations/{uid} (the `SlotsController20240904DeleteReservedSlot` operationId).

func (*Client) SlotsController20240904GetAvailableSlots

func (c *Client) SlotsController20240904GetAvailableSlots(ctx context.Context, params *SlotsController20240904GetAvailableSlotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SlotsController20240904GetAvailableSlots Get available time slots for an event type

There are 4 ways to get available slots for event type of an individual user:

1. By event type id. Example '/v2/slots?eventTypeId=10&start=2050-09-05&end=2050-09-06&timeZone=Europe/Rome'

2. By event type slug + username. Example '/v2/slots?eventTypeSlug=intro&username=bob&start=2050-09-05&end=2050-09-06'

3. By event type slug + username + organization slug when searching within an organization. Example '/v2/slots?organizationSlug=org-slug&eventTypeSlug=intro&username=bob&start=2050-09-05&end=2050-09-06'

4. By usernames only (used for dynamic event type - there is no specific event but you want to know when 2 or more people are available). Example '/v2/slots?usernames=alice,bob&username=bob&organizationSlug=org-slug&start=2050-09-05&end=2050-09-06'. As you see you also need to provide the slug of the organization to which each user in the 'usernames' array belongs.

And 3 ways to get available slots for team event type:

1. By team event type id. Example '/v2/slots?eventTypeId=10&start=2050-09-05&end=2050-09-06&timeZone=Europe/Rome'.
   **Note for managed event types**: Managed event types are templates that create individual child event types for each team member. You cannot fetch slots for the parent managed event type directly. Instead, you must:
   - Find the child event type IDs (the ones assigned to specific users)
   - Use those child event type IDs to fetch slots as individual user event types using as described in the individual user section above.

2. By team event type slug + team slug. Example '/v2/slots?eventTypeSlug=intro&teamSlug=team-slug&start=2050-09-05&end=2050-09-06'

3. By team event type slug + team slug + organization slug when searching within an organization. Example '/v2/slots?organizationSlug=org-slug&eventTypeSlug=intro&teamSlug=team-slug&start=2050-09-05&end=2050-09-06'

All of them require "start" and "end" query parameters which define the time range for which available slots should be checked.
Optional parameters are:
- timeZone: Time zone in which the available slots should be returned. Defaults to UTC.
- duration: Only use for event types that allow multiple durations or for dynamic event types. If not passed for multiple duration event types defaults to default duration. For dynamic event types defaults to 30 aka each returned slot is 30 minutes long. So duration=60 means that returned slots will be each 60 minutes long.
- format: Format of the slots. By default return is an object where each key is date and value is array of slots as string. If you want to get start and end of each slot use "range" as value.
- bookingUidToReschedule: When rescheduling an existing booking, provide the booking's unique identifier to exclude its time slot from busy time calculations. This ensures the original booking time appears as available for rescheduling.

 <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with GET /v2/slots (the `SlotsController20240904GetAvailableSlots` operationId).

func (*Client) SlotsController20240904GetReservedSlot

func (c *Client) SlotsController20240904GetReservedSlot(ctx context.Context, uid string, params *SlotsController20240904GetReservedSlotParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SlotsController20240904GetReservedSlot Get reserved slot

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Corresponds with GET /v2/slots/reservations/{uid} (the `SlotsController20240904GetReservedSlot` operationId).

func (*Client) SlotsController20240904ReserveSlot

func (c *Client) SlotsController20240904ReserveSlot(ctx context.Context, params *SlotsController20240904ReserveSlotParams, body SlotsController20240904ReserveSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SlotsController20240904ReserveSlot Reserve a slot

Make a slot not available for others to book for a certain period of time. If you authenticate using oAuth credentials, api key or access token

then you can also specify custom duration for how long the slot should be reserved for (defaults to 5 minutes).

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type.

Corresponds with POST /v2/slots/reservations (the `SlotsController20240904ReserveSlot` operationId).

func (*Client) SlotsController20240904ReserveSlotWithBody

func (c *Client) SlotsController20240904ReserveSlotWithBody(ctx context.Context, params *SlotsController20240904ReserveSlotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SlotsController20240904ReserveSlotWithBody Reserve a slot

Make a slot not available for others to book for a certain period of time. If you authenticate using oAuth credentials, api key or access token

then you can also specify custom duration for how long the slot should be reserved for (defaults to 5 minutes).

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type.

Corresponds with POST /v2/slots/reservations (the `SlotsController20240904ReserveSlot` operationId).

func (*Client) SlotsController20240904UpdateReservedSlot

SlotsController20240904UpdateReservedSlot Update a reserved slot

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/slots/reservations/{uid} (the `SlotsController20240904UpdateReservedSlot` operationId).

func (*Client) SlotsController20240904UpdateReservedSlotWithBody

func (c *Client) SlotsController20240904UpdateReservedSlotWithBody(ctx context.Context, uid string, params *SlotsController20240904UpdateReservedSlotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SlotsController20240904UpdateReservedSlotWithBody Update a reserved slot

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/slots/reservations/{uid} (the `SlotsController20240904UpdateReservedSlot` operationId).

func (*Client) StripeControllerCheck

func (c *Client) StripeControllerCheck(ctx context.Context, params *StripeControllerCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)

StripeControllerCheck Check Stripe connection

Corresponds with GET /v2/stripe/check (the `StripeControllerCheck` operationId).

func (*Client) StripeControllerRedirect

func (c *Client) StripeControllerRedirect(ctx context.Context, params *StripeControllerRedirectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

StripeControllerRedirect Get Stripe connect URL

Corresponds with GET /v2/stripe/connect (the `StripeControllerRedirect` operationId).

func (*Client) StripeControllerSave

func (c *Client) StripeControllerSave(ctx context.Context, params *StripeControllerSaveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

StripeControllerSave Save Stripe credentials

Corresponds with GET /v2/stripe/save (the `StripeControllerSave` operationId).

func (*Client) UserVerifiedResourcesControllerGetVerifiedEmailById

func (c *Client) UserVerifiedResourcesControllerGetVerifiedEmailById(ctx context.Context, id float64, params *UserVerifiedResourcesControllerGetVerifiedEmailByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

UserVerifiedResourcesControllerGetVerifiedEmailById Get verified email by id

Corresponds with GET /v2/verified-resources/emails/{id} (the `UserVerifiedResourcesControllerGetVerifiedEmailById` operationId).

func (*Client) UserVerifiedResourcesControllerGetVerifiedEmails

func (c *Client) UserVerifiedResourcesControllerGetVerifiedEmails(ctx context.Context, params *UserVerifiedResourcesControllerGetVerifiedEmailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

UserVerifiedResourcesControllerGetVerifiedEmails Get list of verified emails

Corresponds with GET /v2/verified-resources/emails (the `UserVerifiedResourcesControllerGetVerifiedEmails` operationId).

func (*Client) UserVerifiedResourcesControllerGetVerifiedPhoneById

func (c *Client) UserVerifiedResourcesControllerGetVerifiedPhoneById(ctx context.Context, id float64, params *UserVerifiedResourcesControllerGetVerifiedPhoneByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

UserVerifiedResourcesControllerGetVerifiedPhoneById Get verified phone number by id

Corresponds with GET /v2/verified-resources/phones/{id} (the `UserVerifiedResourcesControllerGetVerifiedPhoneById` operationId).

func (*Client) UserVerifiedResourcesControllerGetVerifiedPhoneNumbers

func (c *Client) UserVerifiedResourcesControllerGetVerifiedPhoneNumbers(ctx context.Context, params *UserVerifiedResourcesControllerGetVerifiedPhoneNumbersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

UserVerifiedResourcesControllerGetVerifiedPhoneNumbers Get list of verified phone numbers

Corresponds with GET /v2/verified-resources/phones (the `UserVerifiedResourcesControllerGetVerifiedPhoneNumbers` operationId).

func (*Client) UserVerifiedResourcesControllerRequestEmailVerificationCode

UserVerifiedResourcesControllerRequestEmailVerificationCode Request email verification code

Sends a verification code to the email.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/verified-resources/emails/verification-code/request (the `UserVerifiedResourcesControllerRequestEmailVerificationCode` operationId).

func (*Client) UserVerifiedResourcesControllerRequestEmailVerificationCodeWithBody

func (c *Client) UserVerifiedResourcesControllerRequestEmailVerificationCodeWithBody(ctx context.Context, params *UserVerifiedResourcesControllerRequestEmailVerificationCodeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UserVerifiedResourcesControllerRequestEmailVerificationCodeWithBody Request email verification code

Sends a verification code to the email.

Takes any type of body and a specified content type.

Corresponds with POST /v2/verified-resources/emails/verification-code/request (the `UserVerifiedResourcesControllerRequestEmailVerificationCode` operationId).

func (*Client) UserVerifiedResourcesControllerRequestPhoneVerificationCode

UserVerifiedResourcesControllerRequestPhoneVerificationCode Request phone number verification code

Sends a verification code to the phone number.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/verified-resources/phones/verification-code/request (the `UserVerifiedResourcesControllerRequestPhoneVerificationCode` operationId).

func (*Client) UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithBody

func (c *Client) UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithBody(ctx context.Context, params *UserVerifiedResourcesControllerRequestPhoneVerificationCodeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithBody Request phone number verification code

Sends a verification code to the phone number.

Takes any type of body and a specified content type.

Corresponds with POST /v2/verified-resources/phones/verification-code/request (the `UserVerifiedResourcesControllerRequestPhoneVerificationCode` operationId).

func (*Client) UserVerifiedResourcesControllerVerifyEmail

UserVerifiedResourcesControllerVerifyEmail Verify an email

Use code to verify an email.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/verified-resources/emails/verification-code/verify (the `UserVerifiedResourcesControllerVerifyEmail` operationId).

func (*Client) UserVerifiedResourcesControllerVerifyEmailWithBody

func (c *Client) UserVerifiedResourcesControllerVerifyEmailWithBody(ctx context.Context, params *UserVerifiedResourcesControllerVerifyEmailParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UserVerifiedResourcesControllerVerifyEmailWithBody Verify an email

Use code to verify an email.

Takes any type of body and a specified content type.

Corresponds with POST /v2/verified-resources/emails/verification-code/verify (the `UserVerifiedResourcesControllerVerifyEmail` operationId).

func (*Client) UserVerifiedResourcesControllerVerifyPhoneNumber

UserVerifiedResourcesControllerVerifyPhoneNumber Verify a phone number

Use code to verify a phone number.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/verified-resources/phones/verification-code/verify (the `UserVerifiedResourcesControllerVerifyPhoneNumber` operationId).

func (*Client) UserVerifiedResourcesControllerVerifyPhoneNumberWithBody

func (c *Client) UserVerifiedResourcesControllerVerifyPhoneNumberWithBody(ctx context.Context, params *UserVerifiedResourcesControllerVerifyPhoneNumberParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UserVerifiedResourcesControllerVerifyPhoneNumberWithBody Verify a phone number

Use code to verify a phone number.

Takes any type of body and a specified content type.

Corresponds with POST /v2/verified-resources/phones/verification-code/verify (the `UserVerifiedResourcesControllerVerifyPhoneNumber` operationId).

func (*Client) WebhooksControllerCreateWebhook

func (c *Client) WebhooksControllerCreateWebhook(ctx context.Context, params *WebhooksControllerCreateWebhookParams, body WebhooksControllerCreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

WebhooksControllerCreateWebhook Create a webhook

Takes a body of the `application/json` content type.

Corresponds with POST /v2/webhooks (the `WebhooksControllerCreateWebhook` operationId).

func (*Client) WebhooksControllerCreateWebhookWithBody

func (c *Client) WebhooksControllerCreateWebhookWithBody(ctx context.Context, params *WebhooksControllerCreateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

WebhooksControllerCreateWebhookWithBody Create a webhook

Takes any type of body and a specified content type.

Corresponds with POST /v2/webhooks (the `WebhooksControllerCreateWebhook` operationId).

func (*Client) WebhooksControllerDeleteWebhook

func (c *Client) WebhooksControllerDeleteWebhook(ctx context.Context, webhookId string, params *WebhooksControllerDeleteWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

WebhooksControllerDeleteWebhook Delete a webhook

Corresponds with DELETE /v2/webhooks/{webhookId} (the `WebhooksControllerDeleteWebhook` operationId).

func (*Client) WebhooksControllerGetWebhook

func (c *Client) WebhooksControllerGetWebhook(ctx context.Context, webhookId string, params *WebhooksControllerGetWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

WebhooksControllerGetWebhook Get a webhook

Corresponds with GET /v2/webhooks/{webhookId} (the `WebhooksControllerGetWebhook` operationId).

func (*Client) WebhooksControllerGetWebhooks

func (c *Client) WebhooksControllerGetWebhooks(ctx context.Context, params *WebhooksControllerGetWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

WebhooksControllerGetWebhooks Get all webhooks

Gets a paginated list of webhooks for the authenticated user.

Corresponds with GET /v2/webhooks (the `WebhooksControllerGetWebhooks` operationId).

func (*Client) WebhooksControllerUpdateWebhook

func (c *Client) WebhooksControllerUpdateWebhook(ctx context.Context, webhookId string, params *WebhooksControllerUpdateWebhookParams, body WebhooksControllerUpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

WebhooksControllerUpdateWebhook Update a webhook

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/webhooks/{webhookId} (the `WebhooksControllerUpdateWebhook` operationId).

func (*Client) WebhooksControllerUpdateWebhookWithBody

func (c *Client) WebhooksControllerUpdateWebhookWithBody(ctx context.Context, webhookId string, params *WebhooksControllerUpdateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

WebhooksControllerUpdateWebhookWithBody Update a webhook

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/webhooks/{webhookId} (the `WebhooksControllerUpdateWebhook` operationId).

type ClientInterface

type ClientInterface interface {

	// ApiKeysControllerRefreshWithBody Refresh API Key
	//
	// Generate a new API key and delete the current one. Provide API key to refresh as a Bearer token in the Authorization header (e.g. "Authorization: Bearer <apiKey>").
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/api-keys/refresh (the `ApiKeysControllerRefresh` operationId).
	ApiKeysControllerRefreshWithBody(ctx context.Context, params *ApiKeysControllerRefreshParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApiKeysControllerRefresh Refresh API Key
	//
	// Generate a new API key and delete the current one. Provide API key to refresh as a Bearer token in the Authorization header (e.g. "Authorization: Bearer <apiKey>").
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/api-keys/refresh (the `ApiKeysControllerRefresh` operationId).
	ApiKeysControllerRefresh(ctx context.Context, params *ApiKeysControllerRefreshParams, body ApiKeysControllerRefreshJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuth2ControllerGetClient Get OAuth2 client
	//
	// Returns the OAuth2 client information for the given client ID.
	//
	// Corresponds with GET /v2/auth/oauth2/clients/{clientId} (the `OAuth2ControllerGetClient` operationId).
	OAuth2ControllerGetClient(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuth2ControllerTokenWithBody Exchange authorization code or refresh token for tokens
	//
	// RFC 6749-compliant token endpoint. Pass client_id in the request body (Section 2.3.1). Use grant_type 'authorization_code' to exchange an auth code for tokens, or 'refresh_token' to refresh an access token. Accepts both application/x-www-form-urlencoded (standard per RFC 6749 Section 4.1.3) and application/json content types.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/auth/oauth2/token (the `OAuth2ControllerToken` operationId).
	OAuth2ControllerTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuth2ControllerToken Exchange authorization code or refresh token for tokens
	//
	// RFC 6749-compliant token endpoint. Pass client_id in the request body (Section 2.3.1). Use grant_type 'authorization_code' to exchange an auth code for tokens, or 'refresh_token' to refresh an access token. Accepts both application/x-www-form-urlencoded (standard per RFC 6749 Section 4.1.3) and application/json content types.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/auth/oauth2/token (the `OAuth2ControllerToken` operationId).
	OAuth2ControllerToken(ctx context.Context, body OAuth2ControllerTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813GetBookings Get all bookings
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Corresponds with GET /v2/bookings (the `BookingsController20240813GetBookings` operationId).
	BookingsController20240813GetBookings(ctx context.Context, params *BookingsController20240813GetBookingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813CreateBookingWithBody Create a booking
	//
	//
	//       POST /v2/bookings is used to create regular bookings, recurring bookings and instant bookings. The request bodies for all 3 are almost the same except:
	//       If eventTypeId in the request body is id of a regular event, then regular booking is created.
	//
	//       If it is an id of a recurring event type, then recurring booking is created.
	//
	//       Meaning that the request bodies are equal but the outcome depends on what kind of event type it is with the goal of making it as seamless for developers as possible.
	//
	//       The start needs to be in UTC aka if the timezone is GMT+2 in Rome and meeting should start at 11, then UTC time should have hours 09:00 aka without time zone.
	//
	//       Finally, there are 2 ways to book an event type belonging to an individual user:
	//       1. Provide `eventTypeId` in the request body.
	//       2. Provide `eventTypeSlug` and `username` and optionally `organizationSlug` if the user with the username is within an organization.
	//
	//       And 2 ways to book and event type belonging to a team:
	//       1. Provide `eventTypeId` in the request body.
	//       2. Provide `eventTypeSlug` and `teamSlug` and optionally `organizationSlug` if the team with the teamSlug is within an organization.
	//
	//       If you are creating a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
	//       you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
	//
	//       For event types that have SMS reminders enabled, you need to pass the attendee's phone number in the request body via `attendee.phoneNumber` (e.g., "+19876543210" in international format). This is an optional field, but becomes required when SMS reminders are enabled for the event type. For the complete attendee object structure, see the attendee schema in the `/docs` Swagger endpoint.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/bookings (the `BookingsController20240813CreateBooking` operationId).
	BookingsController20240813CreateBookingWithBody(ctx context.Context, params *BookingsController20240813CreateBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813CreateBooking Create a booking
	//
	//
	//       POST /v2/bookings is used to create regular bookings, recurring bookings and instant bookings. The request bodies for all 3 are almost the same except:
	//       If eventTypeId in the request body is id of a regular event, then regular booking is created.
	//
	//       If it is an id of a recurring event type, then recurring booking is created.
	//
	//       Meaning that the request bodies are equal but the outcome depends on what kind of event type it is with the goal of making it as seamless for developers as possible.
	//
	//       The start needs to be in UTC aka if the timezone is GMT+2 in Rome and meeting should start at 11, then UTC time should have hours 09:00 aka without time zone.
	//
	//       Finally, there are 2 ways to book an event type belonging to an individual user:
	//       1. Provide `eventTypeId` in the request body.
	//       2. Provide `eventTypeSlug` and `username` and optionally `organizationSlug` if the user with the username is within an organization.
	//
	//       And 2 ways to book and event type belonging to a team:
	//       1. Provide `eventTypeId` in the request body.
	//       2. Provide `eventTypeSlug` and `teamSlug` and optionally `organizationSlug` if the team with the teamSlug is within an organization.
	//
	//       If you are creating a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
	//       you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
	//
	//       For event types that have SMS reminders enabled, you need to pass the attendee's phone number in the request body via `attendee.phoneNumber` (e.g., "+19876543210" in international format). This is an optional field, but becomes required when SMS reminders are enabled for the event type. For the complete attendee object structure, see the attendee schema in the `/docs` Swagger endpoint.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/bookings (the `BookingsController20240813CreateBooking` operationId).
	BookingsController20240813CreateBooking(ctx context.Context, params *BookingsController20240813CreateBookingParams, body BookingsController20240813CreateBookingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813GetBookingBySeatUid Get a booking by seat UID
	//
	// Get a seated booking by its seat reference UID. This is useful when you have a seatUid from a seated booking and want to retrieve the full booking details.
	//
	//       If you are fetching a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
	//       you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Corresponds with GET /v2/bookings/by-seat/{seatUid} (the `BookingsController20240813GetBookingBySeatUid` operationId).
	BookingsController20240813GetBookingBySeatUid(ctx context.Context, seatUid string, params *BookingsController20240813GetBookingBySeatUidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813GetBooking Get a booking
	//
	// `:bookingUid` can be
	//
	//       1. uid of a normal booking
	//
	//       2. uid of one of the recurring booking recurrences
	//
	//       3. uid of recurring booking which will return an array of all recurring booking recurrences (stored as recurringBookingUid on one of the individual recurrences).
	//
	//       If you are fetching a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
	//       you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Corresponds with GET /v2/bookings/{bookingUid} (the `BookingsController20240813GetBooking` operationId).
	BookingsController20240813GetBooking(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingAttendeesController20240813GetBookingAttendees Get all attendees for a booking
	//
	// Retrieve all attendees for a specific booking by its UID.
	//
	//     <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/attendees (the `BookingAttendeesController20240813GetBookingAttendees` operationId).
	BookingAttendeesController20240813GetBookingAttendees(ctx context.Context, bookingUid string, params *BookingAttendeesController20240813GetBookingAttendeesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingAttendeesController20240813AddAttendeeWithBody Add an attendee to a booking
	//
	// Add a new attendee to an existing booking by its UID.
	//
	//       **Side effects:**
	//       - The booking's attendee list is updated in the database
	//       - The calendar event is updated on connected calendars (Google Calendar, Outlook, etc.) to include the new attendee
	//       - An email notification is sent to the new attendee with the booking details
	//
	//       **Permissions:**
	//       - The authenticated user must be either the booking organizer, an existing attendee, or have the `booking.update` permission for the team
	//
	//       <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/attendees (the `BookingAttendeesController20240813AddAttendee` operationId).
	BookingAttendeesController20240813AddAttendeeWithBody(ctx context.Context, bookingUid string, params *BookingAttendeesController20240813AddAttendeeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingAttendeesController20240813AddAttendee Add an attendee to a booking
	//
	// Add a new attendee to an existing booking by its UID.
	//
	//       **Side effects:**
	//       - The booking's attendee list is updated in the database
	//       - The calendar event is updated on connected calendars (Google Calendar, Outlook, etc.) to include the new attendee
	//       - An email notification is sent to the new attendee with the booking details
	//
	//       **Permissions:**
	//       - The authenticated user must be either the booking organizer, an existing attendee, or have the `booking.update` permission for the team
	//
	//       <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/attendees (the `BookingAttendeesController20240813AddAttendee` operationId).
	BookingAttendeesController20240813AddAttendee(ctx context.Context, bookingUid string, params *BookingAttendeesController20240813AddAttendeeParams, body BookingAttendeesController20240813AddAttendeeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingAttendeesController20240813RemoveAttendee Remove an attendee from a booking
	//
	// Remove an attendee from an existing booking by their attendee ID. The primary attendee (first attendee) cannot be removed — to remove them, cancel the booking instead. The removed attendee will receive a cancellation email notification.
	//
	//     <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Corresponds with DELETE /v2/bookings/{bookingUid}/attendees/{attendeeId} (the `BookingAttendeesController20240813RemoveAttendee` operationId).
	BookingAttendeesController20240813RemoveAttendee(ctx context.Context, bookingUid string, attendeeId float64, params *BookingAttendeesController20240813RemoveAttendeeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingAttendeesController20240813GetBookingAttendee Get a specific attendee for a booking
	//
	// Retrieve a specific attendee by their ID for a booking identified by its UID.
	//
	//       <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/attendees/{attendeeId} (the `BookingAttendeesController20240813GetBookingAttendee` operationId).
	BookingAttendeesController20240813GetBookingAttendee(ctx context.Context, bookingUid string, attendeeId float64, params *BookingAttendeesController20240813GetBookingAttendeeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813GetCalendarLinks Get 'Add to Calendar' links for a booking
	//
	// Retrieve calendar links for a booking that can be used to add the event to various calendar services. Returns links for Google Calendar, Microsoft Office, Microsoft Outlook, and a downloadable ICS file.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/calendar-links (the `BookingsController20240813GetCalendarLinks` operationId).
	BookingsController20240813GetCalendarLinks(ctx context.Context, bookingUid string, params *BookingsController20240813GetCalendarLinksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813CancelBookingWithBody Cancel a booking
	//
	// :bookingUid can be :bookingUid of an usual booking, individual recurrence or recurring booking to cancel all recurrences.
	//
	//
	// Cancelling normal bookings:
	//     If the booking is not seated and not recurring, simply pass :bookingUid in the request URL `/bookings/:bookingUid/cancel` and optionally cancellationReason in the request body `{"cancellationReason": "Will travel"}`.
	//
	//
	// Cancelling seated bookings:
	//     It is possible to cancel specific seat within a booking as an attendee or all of the seats as the host.
	//
	// 1. As an attendee - provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and seatUid in the request body `{"seatUid": "123-123-123"}` . This will remove this particular attendance from the booking.
	//
	// 2. As the host or org admin of host - host can cancel booking for all attendees aka for every seat, this also applies to org admins. Provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and cancellationReason in the request body `{"cancellationReason": "Will travel"}` and `Authorization: Bearer token` request header where token is event type owner (host) credential. This will cancel the booking for all attendees.
	//
	//
	// Cancelling recurring seated bookings:
	//     For recurring seated bookings it is not possible to cancel all of them with 1 call
	//     like with non-seated recurring bookings by providing recurring bookind uid - you have to cancel each recurrence booking by its bookingUid + seatUid.
	//
	//     If you are cancelling a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
	//     you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/cancel (the `BookingsController20240813CancelBooking` operationId).
	BookingsController20240813CancelBookingWithBody(ctx context.Context, bookingUid string, params *BookingsController20240813CancelBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813CancelBooking Cancel a booking
	//
	// :bookingUid can be :bookingUid of an usual booking, individual recurrence or recurring booking to cancel all recurrences.
	//
	//
	// Cancelling normal bookings:
	//     If the booking is not seated and not recurring, simply pass :bookingUid in the request URL `/bookings/:bookingUid/cancel` and optionally cancellationReason in the request body `{"cancellationReason": "Will travel"}`.
	//
	//
	// Cancelling seated bookings:
	//     It is possible to cancel specific seat within a booking as an attendee or all of the seats as the host.
	//
	// 1. As an attendee - provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and seatUid in the request body `{"seatUid": "123-123-123"}` . This will remove this particular attendance from the booking.
	//
	// 2. As the host or org admin of host - host can cancel booking for all attendees aka for every seat, this also applies to org admins. Provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and cancellationReason in the request body `{"cancellationReason": "Will travel"}` and `Authorization: Bearer token` request header where token is event type owner (host) credential. This will cancel the booking for all attendees.
	//
	//
	// Cancelling recurring seated bookings:
	//     For recurring seated bookings it is not possible to cancel all of them with 1 call
	//     like with non-seated recurring bookings by providing recurring bookind uid - you have to cancel each recurrence booking by its bookingUid + seatUid.
	//
	//     If you are cancelling a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
	//     you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/cancel (the `BookingsController20240813CancelBooking` operationId).
	BookingsController20240813CancelBooking(ctx context.Context, bookingUid string, params *BookingsController20240813CancelBookingParams, body BookingsController20240813CancelBookingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813GetVideoSessions Get Video Meeting Sessions. Only supported for Cal Video
	//
	// Requires authentication and proper authorization. Access is granted if you are the booking organizer, team admin or org admin/owner.
	//
	//     <Note>cal-api-version: `2024-08-13` is required in the request header.</Note>
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/conferencing-sessions (the `BookingsController20240813GetVideoSessions` operationId).
	BookingsController20240813GetVideoSessions(ctx context.Context, bookingUid string, params *BookingsController20240813GetVideoSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813ConfirmBooking Confirm a booking
	//
	// The provided authorization header refers to the owner of the booking.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/confirm (the `BookingsController20240813ConfirmBooking` operationId).
	BookingsController20240813ConfirmBooking(ctx context.Context, bookingUid string, params *BookingsController20240813ConfirmBookingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813DeclineBookingWithBody Decline a booking
	//
	// The provided authorization header refers to the owner of the booking.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/decline (the `BookingsController20240813DeclineBooking` operationId).
	BookingsController20240813DeclineBookingWithBody(ctx context.Context, bookingUid string, params *BookingsController20240813DeclineBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813DeclineBooking Decline a booking
	//
	// The provided authorization header refers to the owner of the booking.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/decline (the `BookingsController20240813DeclineBooking` operationId).
	BookingsController20240813DeclineBooking(ctx context.Context, bookingUid string, params *BookingsController20240813DeclineBookingParams, body BookingsController20240813DeclineBookingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingGuestsController20240813AddGuestsWithBody Add guests to an existing booking
	//
	// Add one or more guests to an existing booking. Maximum 10 guests per request, with a limit of 30 total guests per booking.
	//
	//     **Rate Limiting:**
	//     This endpoint is rate limited to 5 requests per minute to prevent abuse.
	//
	//     **Email Notifications:**
	//     When guests are added, the following notifications are sent (unless disabled by event type settings):
	//
	//     - **Organizer & Team Members:** Receive an "Add Guests" notification email informing them that new guests have been added to the booking.
	//
	//     - **New Guests:** Receive a "Scheduled Event" email with full booking details and calendar invite. If they have a phone number, they also receive an SMS notification.
	//
	//     - **Existing Guests:** Receive an "Add Guests" notification email informing them that additional guests have been added to the booking.
	//
	//     <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/guests (the `BookingGuestsController20240813AddGuests` operationId).
	BookingGuestsController20240813AddGuestsWithBody(ctx context.Context, bookingUid string, params *BookingGuestsController20240813AddGuestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingGuestsController20240813AddGuests Add guests to an existing booking
	//
	// Add one or more guests to an existing booking. Maximum 10 guests per request, with a limit of 30 total guests per booking.
	//
	//     **Rate Limiting:**
	//     This endpoint is rate limited to 5 requests per minute to prevent abuse.
	//
	//     **Email Notifications:**
	//     When guests are added, the following notifications are sent (unless disabled by event type settings):
	//
	//     - **Organizer & Team Members:** Receive an "Add Guests" notification email informing them that new guests have been added to the booking.
	//
	//     - **New Guests:** Receive a "Scheduled Event" email with full booking details and calendar invite. If they have a phone number, they also receive an SMS notification.
	//
	//     - **Existing Guests:** Receive an "Add Guests" notification email informing them that additional guests have been added to the booking.
	//
	//     <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/guests (the `BookingGuestsController20240813AddGuests` operationId).
	BookingGuestsController20240813AddGuests(ctx context.Context, bookingUid string, params *BookingGuestsController20240813AddGuestsParams, body BookingGuestsController20240813AddGuestsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingLocationController20240813UpdateBookingLocationWithBody Update booking location for an existing booking
	//
	// Updates the location for an existing booking.
	//
	// **Integration Fallback Behavior:**
	// - **Google Meet**: Requires Google Calendar to be connected. If the booking has no Google Calendar event, it will automatically fall back to Cal Video.
	// - **MS Teams**: If Office 365 Calendar is connected, generates the meeting link via calendar. Otherwise, uses the MS Teams video integration directly.
	//
	// <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/bookings/{bookingUid}/location (the `BookingLocationController20240813UpdateBookingLocation` operationId).
	BookingLocationController20240813UpdateBookingLocationWithBody(ctx context.Context, bookingUid string, params *BookingLocationController20240813UpdateBookingLocationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingLocationController20240813UpdateBookingLocation Update booking location for an existing booking
	//
	// Updates the location for an existing booking.
	//
	// **Integration Fallback Behavior:**
	// - **Google Meet**: Requires Google Calendar to be connected. If the booking has no Google Calendar event, it will automatically fall back to Cal Video.
	// - **MS Teams**: If Office 365 Calendar is connected, generates the meeting link via calendar. Otherwise, uses the MS Teams video integration directly.
	//
	// <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/bookings/{bookingUid}/location (the `BookingLocationController20240813UpdateBookingLocation` operationId).
	BookingLocationController20240813UpdateBookingLocation(ctx context.Context, bookingUid string, params *BookingLocationController20240813UpdateBookingLocationParams, body BookingLocationController20240813UpdateBookingLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813MarkNoShowWithBody Mark a booking absence
	//
	// The provided authorization header refers to the owner of the booking.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/mark-absent (the `BookingsController20240813MarkNoShow` operationId).
	BookingsController20240813MarkNoShowWithBody(ctx context.Context, bookingUid string, params *BookingsController20240813MarkNoShowParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813MarkNoShow Mark a booking absence
	//
	// The provided authorization header refers to the owner of the booking.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/mark-absent (the `BookingsController20240813MarkNoShow` operationId).
	BookingsController20240813MarkNoShow(ctx context.Context, bookingUid string, params *BookingsController20240813MarkNoShowParams, body BookingsController20240813MarkNoShowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813ReassignBooking Reassign a booking to auto-selected host
	//
	// Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.
	//
	//        <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/reassign (the `BookingsController20240813ReassignBooking` operationId).
	BookingsController20240813ReassignBooking(ctx context.Context, bookingUid string, params *BookingsController20240813ReassignBookingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813ReassignBookingToUserWithBody Reassign a booking to a specific host
	//
	// Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/reassign/{userId} (the `BookingsController20240813ReassignBookingToUser` operationId).
	BookingsController20240813ReassignBookingToUserWithBody(ctx context.Context, bookingUid string, userId float64, params *BookingsController20240813ReassignBookingToUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813ReassignBookingToUser Reassign a booking to a specific host
	//
	// Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/reassign/{userId} (the `BookingsController20240813ReassignBookingToUser` operationId).
	BookingsController20240813ReassignBookingToUser(ctx context.Context, bookingUid string, userId float64, params *BookingsController20240813ReassignBookingToUserParams, body BookingsController20240813ReassignBookingToUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813GetBookingRecordings Get all the recordings for the booking
	//
	// Fetches all the recordings for the booking `:bookingUid`. Requires authentication and proper authorization. Access is granted if you are the booking organizer, team admin or org admin/owner.
	//
	//     <Note>cal-api-version: `2024-08-13` is required in the request header.</Note>
	//
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/recordings (the `BookingsController20240813GetBookingRecordings` operationId).
	BookingsController20240813GetBookingRecordings(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingRecordingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813GetBookingReferences Get booking references
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/references (the `BookingsController20240813GetBookingReferences` operationId).
	BookingsController20240813GetBookingReferences(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingReferencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813RescheduleBookingWithBody Reschedule a booking
	//
	// Reschedule a booking or seated booking
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/reschedule (the `BookingsController20240813RescheduleBooking` operationId).
	BookingsController20240813RescheduleBookingWithBody(ctx context.Context, bookingUid string, params *BookingsController20240813RescheduleBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813RescheduleBooking Reschedule a booking
	//
	// Reschedule a booking or seated booking
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/reschedule (the `BookingsController20240813RescheduleBooking` operationId).
	BookingsController20240813RescheduleBooking(ctx context.Context, bookingUid string, params *BookingsController20240813RescheduleBookingParams, body BookingsController20240813RescheduleBookingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BookingsController20240813GetBookingTranscripts Get Cal Video real time transcript download links for the booking
	//
	// Fetches all the transcript download links for the booking `:bookingUid`
	//
	//     <Note>
	//     Transcripts are generated when clicking "Transcribe" during a Cal Video meeting. Download links are valid for 1 hour only - make a new request to generate fresh links after expiration.
	//
	//     Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.
	//     </Note>
	//
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/transcripts (the `BookingsController20240813GetBookingTranscripts` operationId).
	BookingsController20240813GetBookingTranscripts(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingTranscriptsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalendarsControllerGetCalendars Get all calendars
	//
	// Corresponds with GET /v2/calendars (the `CalendarsControllerGetCalendars` operationId).
	CalendarsControllerGetCalendars(ctx context.Context, params *CalendarsControllerGetCalendarsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalendarsControllerGetBusyTimes Get busy times
	//
	// Get busy times from a calendar. Example request URL is `https://api.cal.com/v2/calendars/busy-times?timeZone=Europe%2FMadrid&dateFrom=2024-12-18&dateTo=2024-12-18&calendarsToLoad[0][credentialId]=135&calendarsToLoad[0][externalId]=skrauciz%40gmail.com`. Note: loggedInUsersTz is deprecated, use timeZone instead.
	//
	// Corresponds with GET /v2/calendars/busy-times (the `CalendarsControllerGetBusyTimes` operationId).
	CalendarsControllerGetBusyTimes(ctx context.Context, params *CalendarsControllerGetBusyTimesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerListConnections List calendar connections
	//
	// Returns all calendar connections for the authenticated user (Google, Office 365, Apple). Use connectionId in connection-scoped endpoints. Note: Event CRUD (list/create/get/update/delete events) is currently only supported for Google Calendar connections; other types will return 400.
	//
	// Corresponds with GET /v2/calendars/connections (the `CalUnifiedCalendarsControllerListConnections` operationId).
	CalUnifiedCalendarsControllerListConnections(ctx context.Context, params *CalUnifiedCalendarsControllerListConnectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerListConnectionEvents List events for a connection
	//
	// List events in a date range for a specific calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Corresponds with GET /v2/calendars/connections/{connectionId}/events (the `CalUnifiedCalendarsControllerListConnectionEvents` operationId).
	CalUnifiedCalendarsControllerListConnectionEvents(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerListConnectionEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerCreateConnectionEventWithBody Create event on a connection
	//
	// Create a new event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/calendars/connections/{connectionId}/events (the `CalUnifiedCalendarsControllerCreateConnectionEvent` operationId).
	CalUnifiedCalendarsControllerCreateConnectionEventWithBody(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerCreateConnectionEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerCreateConnectionEvent Create event on a connection
	//
	// Create a new event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/calendars/connections/{connectionId}/events (the `CalUnifiedCalendarsControllerCreateConnectionEvent` operationId).
	CalUnifiedCalendarsControllerCreateConnectionEvent(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerCreateConnectionEventParams, body CalUnifiedCalendarsControllerCreateConnectionEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerDeleteConnectionEvent Delete event for a connection
	//
	// Delete/cancel an event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Corresponds with DELETE /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerDeleteConnectionEvent` operationId).
	CalUnifiedCalendarsControllerDeleteConnectionEvent(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerDeleteConnectionEventParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerGetConnectionEvent Get event for a connection
	//
	// Get a single event by ID for the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Corresponds with GET /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerGetConnectionEvent` operationId).
	CalUnifiedCalendarsControllerGetConnectionEvent(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerGetConnectionEventParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerUpdateConnectionEventWithBody Update event for a connection
	//
	// Update an event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerUpdateConnectionEvent` operationId).
	CalUnifiedCalendarsControllerUpdateConnectionEventWithBody(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerUpdateConnectionEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerUpdateConnectionEvent Update event for a connection
	//
	// Update an event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerUpdateConnectionEvent` operationId).
	CalUnifiedCalendarsControllerUpdateConnectionEvent(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerUpdateConnectionEventParams, body CalUnifiedCalendarsControllerUpdateConnectionEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerGetConnectionFreeBusy Get free/busy for a connection
	//
	// Get busy time slots for the specified calendar connection.
	//
	// Corresponds with GET /v2/calendars/connections/{connectionId}/freebusy (the `CalUnifiedCalendarsControllerGetConnectionFreeBusy` operationId).
	CalUnifiedCalendarsControllerGetConnectionFreeBusy(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerGetConnectionFreeBusyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalendarsControllerCheckIcsFeed Check an ICS feed
	//
	// Corresponds with GET /v2/calendars/ics-feed/check (the `CalendarsControllerCheckIcsFeed` operationId).
	CalendarsControllerCheckIcsFeed(ctx context.Context, params *CalendarsControllerCheckIcsFeedParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalendarsControllerCreateIcsFeedWithBody Save an ICS feed
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/calendars/ics-feed/save (the `CalendarsControllerCreateIcsFeed` operationId).
	CalendarsControllerCreateIcsFeedWithBody(ctx context.Context, params *CalendarsControllerCreateIcsFeedParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalendarsControllerCreateIcsFeed Save an ICS feed
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/calendars/ics-feed/save (the `CalendarsControllerCreateIcsFeed` operationId).
	CalendarsControllerCreateIcsFeed(ctx context.Context, params *CalendarsControllerCreateIcsFeedParams, body CalendarsControllerCreateIcsFeedJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalendarsControllerCheck Check a calendar connection
	//
	// Corresponds with GET /v2/calendars/{calendar}/check (the `CalendarsControllerCheck` operationId).
	CalendarsControllerCheck(ctx context.Context, calendar CalendarsControllerCheckParamsCalendar, params *CalendarsControllerCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalendarsControllerRedirect Get OAuth connect URL
	//
	// Corresponds with GET /v2/calendars/{calendar}/connect (the `CalendarsControllerRedirect` operationId).
	CalendarsControllerRedirect(ctx context.Context, calendar CalendarsControllerRedirectParamsCalendar, params *CalendarsControllerRedirectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalendarsControllerSyncCredentialsWithBody Save Apple calendar credentials
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/calendars/{calendar}/credentials (the `CalendarsControllerSyncCredentials` operationId).
	CalendarsControllerSyncCredentialsWithBody(ctx context.Context, calendar CalendarsControllerSyncCredentialsParamsCalendar, params *CalendarsControllerSyncCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalendarsControllerSyncCredentials Save Apple calendar credentials
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/calendars/{calendar}/credentials (the `CalendarsControllerSyncCredentials` operationId).
	CalendarsControllerSyncCredentials(ctx context.Context, calendar CalendarsControllerSyncCredentialsParamsCalendar, params *CalendarsControllerSyncCredentialsParams, body CalendarsControllerSyncCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalendarsControllerDeleteCalendarCredentialsWithBody Disconnect a calendar
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/calendars/{calendar}/disconnect (the `CalendarsControllerDeleteCalendarCredentials` operationId).
	CalendarsControllerDeleteCalendarCredentialsWithBody(ctx context.Context, calendar CalendarsControllerDeleteCalendarCredentialsParamsCalendar, params *CalendarsControllerDeleteCalendarCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalendarsControllerDeleteCalendarCredentials Disconnect a calendar
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/calendars/{calendar}/disconnect (the `CalendarsControllerDeleteCalendarCredentials` operationId).
	CalendarsControllerDeleteCalendarCredentials(ctx context.Context, calendar CalendarsControllerDeleteCalendarCredentialsParamsCalendar, params *CalendarsControllerDeleteCalendarCredentialsParams, body CalendarsControllerDeleteCalendarCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPath Get meeting details from calendar
	//
	// Returns detailed information about a meeting including attendance metrics. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use GET /connections/{connectionId}/events/{eventId}.
	//
	// Corresponds with GET /v2/calendars/{calendar}/event/{eventUid} (the `CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPath` operationId).
	CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPath(ctx context.Context, calendar CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithBody Update meeting details in calendar
	//
	// Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/calendars/{calendar}/event/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath` operationId).
	CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithBody(ctx context.Context, calendar CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath Update meeting details in calendar
	//
	// Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/calendars/{calendar}/event/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath` operationId).
	CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath(ctx context.Context, calendar CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParams, body CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerListCalendarEvents List calendar events
	//
	// List events in a date range for the authenticated user's calendar. Currently only Google Calendar is supported.
	//
	// Corresponds with GET /v2/calendars/{calendar}/events (the `CalUnifiedCalendarsControllerListCalendarEvents` operationId).
	CalUnifiedCalendarsControllerListCalendarEvents(ctx context.Context, calendar CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar, params *CalUnifiedCalendarsControllerListCalendarEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerCreateCalendarEventWithBody Create a calendar event
	//
	// Create a new event on the authenticated user's calendar. Currently only Google Calendar is supported.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/calendars/{calendar}/events (the `CalUnifiedCalendarsControllerCreateCalendarEvent` operationId).
	CalUnifiedCalendarsControllerCreateCalendarEventWithBody(ctx context.Context, calendar CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar, params *CalUnifiedCalendarsControllerCreateCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerCreateCalendarEvent Create a calendar event
	//
	// Create a new event on the authenticated user's calendar. Currently only Google Calendar is supported.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/calendars/{calendar}/events (the `CalUnifiedCalendarsControllerCreateCalendarEvent` operationId).
	CalUnifiedCalendarsControllerCreateCalendarEvent(ctx context.Context, calendar CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar, params *CalUnifiedCalendarsControllerCreateCalendarEventParams, body CalUnifiedCalendarsControllerCreateCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerDeleteCalendarEvent Delete a calendar event
	//
	// Delete/cancel an event on the authenticated user's calendar. Currently only Google Calendar is supported.
	//
	// Corresponds with DELETE /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerDeleteCalendarEvent` operationId).
	CalUnifiedCalendarsControllerDeleteCalendarEvent(ctx context.Context, calendar CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerDeleteCalendarEventParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerGetCalendarEventDetails Get meeting details from calendar
	//
	// Returns detailed information about a meeting including attendance metrics. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use GET /connections/{connectionId}/events/{eventId}.
	//
	// Corresponds with GET /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerGetCalendarEventDetails` operationId).
	CalUnifiedCalendarsControllerGetCalendarEventDetails(ctx context.Context, calendar CalUnifiedCalendarsControllerGetCalendarEventDetailsParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerGetCalendarEventDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerUpdateCalendarEventWithBody Update meeting details in calendar
	//
	// Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEvent` operationId).
	CalUnifiedCalendarsControllerUpdateCalendarEventWithBody(ctx context.Context, calendar CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerUpdateCalendarEvent Update meeting details in calendar
	//
	// Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEvent` operationId).
	CalUnifiedCalendarsControllerUpdateCalendarEvent(ctx context.Context, calendar CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventParams, body CalUnifiedCalendarsControllerUpdateCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalUnifiedCalendarsControllerGetFreeBusy Get free/busy times
	//
	// Get busy time slots for the authenticated user's selected calendars in the given date range. Currently only Google Calendar is supported.
	//
	// Corresponds with GET /v2/calendars/{calendar}/freebusy (the `CalUnifiedCalendarsControllerGetFreeBusy` operationId).
	CalUnifiedCalendarsControllerGetFreeBusy(ctx context.Context, calendar CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar, params *CalUnifiedCalendarsControllerGetFreeBusyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CalendarsControllerSave Save Google or Outlook calendar credentials
	//
	// Corresponds with GET /v2/calendars/{calendar}/save (the `CalendarsControllerSave` operationId).
	CalendarsControllerSave(ctx context.Context, calendar CalendarsControllerSaveParamsCalendar, params *CalendarsControllerSaveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConferencingControllerListInstalledConferencingApps List your conferencing applications
	//
	// Corresponds with GET /v2/conferencing (the `ConferencingControllerListInstalledConferencingApps` operationId).
	ConferencingControllerListInstalledConferencingApps(ctx context.Context, params *ConferencingControllerListInstalledConferencingAppsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConferencingControllerGetDefault Get your default conferencing application
	//
	// Corresponds with GET /v2/conferencing/default (the `ConferencingControllerGetDefault` operationId).
	ConferencingControllerGetDefault(ctx context.Context, params *ConferencingControllerGetDefaultParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConferencingControllerConnect Connect your conferencing application
	//
	// Corresponds with POST /v2/conferencing/{app}/connect (the `ConferencingControllerConnect` operationId).
	ConferencingControllerConnect(ctx context.Context, app ConferencingControllerConnectParamsApp, params *ConferencingControllerConnectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConferencingControllerDefault Set your default conferencing application
	//
	// Corresponds with POST /v2/conferencing/{app}/default (the `ConferencingControllerDefault` operationId).
	ConferencingControllerDefault(ctx context.Context, app ConferencingControllerDefaultParamsApp, params *ConferencingControllerDefaultParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConferencingControllerDisconnect Disconnect your conferencing application
	//
	// Corresponds with DELETE /v2/conferencing/{app}/disconnect (the `ConferencingControllerDisconnect` operationId).
	ConferencingControllerDisconnect(ctx context.Context, app ConferencingControllerDisconnectParamsApp, params *ConferencingControllerDisconnectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConferencingControllerRedirect Get OAuth conferencing app auth URL
	//
	// Corresponds with GET /v2/conferencing/{app}/oauth/auth-url (the `ConferencingControllerRedirect` operationId).
	ConferencingControllerRedirect(ctx context.Context, app ConferencingControllerRedirectParamsApp, params *ConferencingControllerRedirectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConferencingControllerSave Conferencing app OAuth callback
	//
	// Corresponds with GET /v2/conferencing/{app}/oauth/callback (the `ConferencingControllerSave` operationId).
	ConferencingControllerSave(ctx context.Context, app ConferencingControllerSaveParamsApp, params *ConferencingControllerSaveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DestinationCalendarsControllerUpdateDestinationCalendarsWithBody Update destination calendars
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v2/destination-calendars (the `DestinationCalendarsControllerUpdateDestinationCalendars` operationId).
	DestinationCalendarsControllerUpdateDestinationCalendarsWithBody(ctx context.Context, params *DestinationCalendarsControllerUpdateDestinationCalendarsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DestinationCalendarsControllerUpdateDestinationCalendars Update destination calendars
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v2/destination-calendars (the `DestinationCalendarsControllerUpdateDestinationCalendars` operationId).
	DestinationCalendarsControllerUpdateDestinationCalendars(ctx context.Context, params *DestinationCalendarsControllerUpdateDestinationCalendarsParams, body DestinationCalendarsControllerUpdateDestinationCalendarsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesController20240614GetEventTypes Get all event types
	//
	// Hidden event types are returned only if authentication is provided and it belongs to the event type owner.
	//
	//       Use the optional `sortCreatedAt` query parameter to order results by creation date (by ID). Accepts "asc" (oldest first) or "desc" (newest first). When not provided, no explicit ordering is applied.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Corresponds with GET /v2/event-types (the `EventTypesController20240614GetEventTypes` operationId).
	EventTypesController20240614GetEventTypes(ctx context.Context, params *EventTypesController20240614GetEventTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesController20240614CreateEventTypeWithBody Create an event type
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/event-types (the `EventTypesController20240614CreateEventType` operationId).
	EventTypesController20240614CreateEventTypeWithBody(ctx context.Context, params *EventTypesController20240614CreateEventTypeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesController20240614CreateEventType Create an event type
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/event-types (the `EventTypesController20240614CreateEventType` operationId).
	EventTypesController20240614CreateEventType(ctx context.Context, params *EventTypesController20240614CreateEventTypeParams, body EventTypesController20240614CreateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesController20240614DeleteEventType Delete an event type
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Corresponds with DELETE /v2/event-types/{eventTypeId} (the `EventTypesController20240614DeleteEventType` operationId).
	EventTypesController20240614DeleteEventType(ctx context.Context, eventTypeId float64, params *EventTypesController20240614DeleteEventTypeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesController20240614GetEventTypeById Get an event type
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//     Access control: This endpoint fetches an event type by ID and returns it only if the authenticated user is authorized. Authorization is granted to:
	//     - System admins
	//     - The event type owner
	//     - Hosts of the event type or users assigned to the event type
	//     - Team admins/owners of the team that owns the team event type
	//     - Organization admins/owners of the event type owner's organization
	//     - Organization admins/owners of the team's parent organization
	//
	//     Note: Update and delete endpoints remain restricted to the event type owner only.
	//
	// Corresponds with GET /v2/event-types/{eventTypeId} (the `EventTypesController20240614GetEventTypeById` operationId).
	EventTypesController20240614GetEventTypeById(ctx context.Context, eventTypeId string, params *EventTypesController20240614GetEventTypeByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesController20240614UpdateEventTypeWithBody Update an event type
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/event-types/{eventTypeId} (the `EventTypesController20240614UpdateEventType` operationId).
	EventTypesController20240614UpdateEventTypeWithBody(ctx context.Context, eventTypeId float64, params *EventTypesController20240614UpdateEventTypeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesController20240614UpdateEventType Update an event type
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/event-types/{eventTypeId} (the `EventTypesController20240614UpdateEventType` operationId).
	EventTypesController20240614UpdateEventType(ctx context.Context, eventTypeId float64, params *EventTypesController20240614UpdateEventTypeParams, body EventTypesController20240614UpdateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesPrivateLinksControllerGetPrivateLinks Get all private links for an event type
	//
	// Corresponds with GET /v2/event-types/{eventTypeId}/private-links (the `EventTypesPrivateLinksControllerGetPrivateLinks` operationId).
	EventTypesPrivateLinksControllerGetPrivateLinks(ctx context.Context, eventTypeId float64, params *EventTypesPrivateLinksControllerGetPrivateLinksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesPrivateLinksControllerCreatePrivateLinkWithBody Create a private link for an event type
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/event-types/{eventTypeId}/private-links (the `EventTypesPrivateLinksControllerCreatePrivateLink` operationId).
	EventTypesPrivateLinksControllerCreatePrivateLinkWithBody(ctx context.Context, eventTypeId float64, params *EventTypesPrivateLinksControllerCreatePrivateLinkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesPrivateLinksControllerCreatePrivateLink Create a private link for an event type
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/event-types/{eventTypeId}/private-links (the `EventTypesPrivateLinksControllerCreatePrivateLink` operationId).
	EventTypesPrivateLinksControllerCreatePrivateLink(ctx context.Context, eventTypeId float64, params *EventTypesPrivateLinksControllerCreatePrivateLinkParams, body EventTypesPrivateLinksControllerCreatePrivateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesPrivateLinksControllerDeletePrivateLink Delete a private link for an event type
	//
	// Corresponds with DELETE /v2/event-types/{eventTypeId}/private-links/{linkId} (the `EventTypesPrivateLinksControllerDeletePrivateLink` operationId).
	EventTypesPrivateLinksControllerDeletePrivateLink(ctx context.Context, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerDeletePrivateLinkParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesPrivateLinksControllerUpdatePrivateLinkWithBody Update a private link for an event type
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/event-types/{eventTypeId}/private-links/{linkId} (the `EventTypesPrivateLinksControllerUpdatePrivateLink` operationId).
	EventTypesPrivateLinksControllerUpdatePrivateLinkWithBody(ctx context.Context, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerUpdatePrivateLinkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypesPrivateLinksControllerUpdatePrivateLink Update a private link for an event type
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/event-types/{eventTypeId}/private-links/{linkId} (the `EventTypesPrivateLinksControllerUpdatePrivateLink` operationId).
	EventTypesPrivateLinksControllerUpdatePrivateLink(ctx context.Context, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerUpdatePrivateLinkParams, body EventTypesPrivateLinksControllerUpdatePrivateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypeWebhooksControllerDeleteAllEventTypeWebhooks Delete all webhooks
	//
	// Corresponds with DELETE /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerDeleteAllEventTypeWebhooks` operationId).
	EventTypeWebhooksControllerDeleteAllEventTypeWebhooks(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerDeleteAllEventTypeWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypeWebhooksControllerGetEventTypeWebhooks Get all webhooks
	//
	// Corresponds with GET /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerGetEventTypeWebhooks` operationId).
	EventTypeWebhooksControllerGetEventTypeWebhooks(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerGetEventTypeWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypeWebhooksControllerCreateEventTypeWebhookWithBody Create a webhook
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerCreateEventTypeWebhook` operationId).
	EventTypeWebhooksControllerCreateEventTypeWebhookWithBody(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerCreateEventTypeWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypeWebhooksControllerCreateEventTypeWebhook Create a webhook
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerCreateEventTypeWebhook` operationId).
	EventTypeWebhooksControllerCreateEventTypeWebhook(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerCreateEventTypeWebhookParams, body EventTypeWebhooksControllerCreateEventTypeWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypeWebhooksControllerDeleteEventTypeWebhook Delete a webhook
	//
	// Corresponds with DELETE /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerDeleteEventTypeWebhook` operationId).
	EventTypeWebhooksControllerDeleteEventTypeWebhook(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerDeleteEventTypeWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypeWebhooksControllerGetEventTypeWebhook Get a webhook
	//
	// Corresponds with GET /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerGetEventTypeWebhook` operationId).
	EventTypeWebhooksControllerGetEventTypeWebhook(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerGetEventTypeWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypeWebhooksControllerUpdateEventTypeWebhookWithBody Update a webhook
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerUpdateEventTypeWebhook` operationId).
	EventTypeWebhooksControllerUpdateEventTypeWebhookWithBody(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerUpdateEventTypeWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventTypeWebhooksControllerUpdateEventTypeWebhook Update a webhook
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerUpdateEventTypeWebhook` operationId).
	EventTypeWebhooksControllerUpdateEventTypeWebhook(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerUpdateEventTypeWebhookParams, body EventTypeWebhooksControllerUpdateEventTypeWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MeControllerGetMe Get my profile
	//
	// Corresponds with GET /v2/me (the `MeControllerGetMe` operationId).
	MeControllerGetMe(ctx context.Context, params *MeControllerGetMeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MeControllerUpdateMeWithBody Update my profile
	//
	// Updates the authenticated user's profile. Email changes require verification and the primary email stays unchanged until verification completes, unless the new email is already a verified secondary email or the user is platform-managed.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/me (the `MeControllerUpdateMe` operationId).
	MeControllerUpdateMeWithBody(ctx context.Context, params *MeControllerUpdateMeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MeControllerUpdateMe Update my profile
	//
	// Updates the authenticated user's profile. Email changes require verification and the primary email stays unchanged until verification completes, unless the new email is already a verified secondary email or the user is platform-managed.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/me (the `MeControllerUpdateMe` operationId).
	MeControllerUpdateMe(ctx context.Context, params *MeControllerUpdateMeParams, body MeControllerUpdateMeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientsControllerGetOAuthClients Get all OAuth clients
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Corresponds with GET /v2/oauth-clients (the `OAuthClientsControllerGetOAuthClients` operationId).
	OAuthClientsControllerGetOAuthClients(ctx context.Context, params *OAuthClientsControllerGetOAuthClientsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientsControllerCreateOAuthClientWithBody Create an OAuth client
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/oauth-clients (the `OAuthClientsControllerCreateOAuthClient` operationId).
	OAuthClientsControllerCreateOAuthClientWithBody(ctx context.Context, params *OAuthClientsControllerCreateOAuthClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientsControllerCreateOAuthClient Create an OAuth client
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/oauth-clients (the `OAuthClientsControllerCreateOAuthClient` operationId).
	OAuthClientsControllerCreateOAuthClient(ctx context.Context, params *OAuthClientsControllerCreateOAuthClientParams, body OAuthClientsControllerCreateOAuthClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientsControllerDeleteOAuthClient Delete an OAuth client
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Corresponds with DELETE /v2/oauth-clients/{clientId} (the `OAuthClientsControllerDeleteOAuthClient` operationId).
	OAuthClientsControllerDeleteOAuthClient(ctx context.Context, clientId string, params *OAuthClientsControllerDeleteOAuthClientParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientsControllerGetOAuthClientById Get an OAuth client
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Corresponds with GET /v2/oauth-clients/{clientId} (the `OAuthClientsControllerGetOAuthClientById` operationId).
	OAuthClientsControllerGetOAuthClientById(ctx context.Context, clientId string, params *OAuthClientsControllerGetOAuthClientByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientsControllerUpdateOAuthClientWithBody Update an OAuth client
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/oauth-clients/{clientId} (the `OAuthClientsControllerUpdateOAuthClient` operationId).
	OAuthClientsControllerUpdateOAuthClientWithBody(ctx context.Context, clientId string, params *OAuthClientsControllerUpdateOAuthClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientsControllerUpdateOAuthClient Update an OAuth client
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/oauth-clients/{clientId} (the `OAuthClientsControllerUpdateOAuthClient` operationId).
	OAuthClientsControllerUpdateOAuthClient(ctx context.Context, clientId string, params *OAuthClientsControllerUpdateOAuthClientParams, body OAuthClientsControllerUpdateOAuthClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientUsersControllerGetManagedUsers Get all managed users
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Corresponds with GET /v2/oauth-clients/{clientId}/users (the `OAuthClientUsersControllerGetManagedUsers` operationId).
	OAuthClientUsersControllerGetManagedUsers(ctx context.Context, clientId string, params *OAuthClientUsersControllerGetManagedUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientUsersControllerCreateUserWithBody Create a managed user
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/oauth-clients/{clientId}/users (the `OAuthClientUsersControllerCreateUser` operationId).
	OAuthClientUsersControllerCreateUserWithBody(ctx context.Context, clientId string, params *OAuthClientUsersControllerCreateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientUsersControllerCreateUser Create a managed user
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/oauth-clients/{clientId}/users (the `OAuthClientUsersControllerCreateUser` operationId).
	OAuthClientUsersControllerCreateUser(ctx context.Context, clientId string, params *OAuthClientUsersControllerCreateUserParams, body OAuthClientUsersControllerCreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientUsersControllerDeleteUser Delete a managed user
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Corresponds with DELETE /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerDeleteUser` operationId).
	OAuthClientUsersControllerDeleteUser(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerDeleteUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientUsersControllerGetUserById Get a managed user
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Corresponds with GET /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerGetUserById` operationId).
	OAuthClientUsersControllerGetUserById(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerGetUserByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientUsersControllerUpdateUserWithBody Update a managed user
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerUpdateUser` operationId).
	OAuthClientUsersControllerUpdateUserWithBody(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerUpdateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientUsersControllerUpdateUser Update a managed user
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerUpdateUser` operationId).
	OAuthClientUsersControllerUpdateUser(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerUpdateUserParams, body OAuthClientUsersControllerUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientUsersControllerForceRefresh Force refresh tokens
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning> If you have lost managed user access or refresh token, then you can get new ones by using OAuth credentials. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model `calAccessToken` and `calRefreshToken` fields.
	// Response also contains `accessTokenExpiresAt` and `refreshTokenExpiresAt` fields, but if you decode the jwt token the payload will contain `clientId` (OAuth client ID), `ownerId` (user to whom token belongs ID), `iat` (issued at time) and `expiresAt` (when does the token expire) fields.
	//
	// Corresponds with POST /v2/oauth-clients/{clientId}/users/{userId}/force-refresh (the `OAuthClientUsersControllerForceRefresh` operationId).
	OAuthClientUsersControllerForceRefresh(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerForceRefreshParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooks Delete all webhooks
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Corresponds with DELETE /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooks` operationId).
	OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooks(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientWebhooksControllerGetOAuthClientWebhooks Get all webhooks
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Corresponds with GET /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerGetOAuthClientWebhooks` operationId).
	OAuthClientWebhooksControllerGetOAuthClientWebhooks(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerGetOAuthClientWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientWebhooksControllerCreateOAuthClientWebhookWithBody Create a webhook
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerCreateOAuthClientWebhook` operationId).
	OAuthClientWebhooksControllerCreateOAuthClientWebhookWithBody(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerCreateOAuthClientWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientWebhooksControllerCreateOAuthClientWebhook Create a webhook
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerCreateOAuthClientWebhook` operationId).
	OAuthClientWebhooksControllerCreateOAuthClientWebhook(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerCreateOAuthClientWebhookParams, body OAuthClientWebhooksControllerCreateOAuthClientWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientWebhooksControllerDeleteOAuthClientWebhook Delete a webhook
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Corresponds with DELETE /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerDeleteOAuthClientWebhook` operationId).
	OAuthClientWebhooksControllerDeleteOAuthClientWebhook(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerDeleteOAuthClientWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientWebhooksControllerGetOAuthClientWebhook Get a webhook
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Corresponds with GET /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerGetOAuthClientWebhook` operationId).
	OAuthClientWebhooksControllerGetOAuthClientWebhook(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerGetOAuthClientWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithBody Update a webhook
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerUpdateOAuthClientWebhook` operationId).
	OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithBody(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerUpdateOAuthClientWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthClientWebhooksControllerUpdateOAuthClientWebhook Update a webhook
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerUpdateOAuthClientWebhook` operationId).
	OAuthClientWebhooksControllerUpdateOAuthClientWebhook(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerUpdateOAuthClientWebhookParams, body OAuthClientWebhooksControllerUpdateOAuthClientWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthFlowControllerRefreshTokensWithBody Refresh managed user tokens
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning> If managed user access token is expired then get a new one using this endpoint - it will also refresh the refresh token, because we use
	//     "refresh token rotation" mechanism. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model `calAccessToken` and `calRefreshToken` fields.
	// Response also contains `accessTokenExpiresAt` and `refreshTokenExpiresAt` fields, but if you decode the jwt token the payload will contain `clientId` (OAuth client ID), `ownerId` (user to whom token belongs ID), `iat` (issued at time) and `expiresAt` (when does the token expire) fields.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/oauth/{clientId}/refresh (the `OAuthFlowControllerRefreshTokens` operationId).
	OAuthFlowControllerRefreshTokensWithBody(ctx context.Context, clientId string, params *OAuthFlowControllerRefreshTokensParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OAuthFlowControllerRefreshTokens Refresh managed user tokens
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning> If managed user access token is expired then get a new one using this endpoint - it will also refresh the refresh token, because we use
	//     "refresh token rotation" mechanism. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model `calAccessToken` and `calRefreshToken` fields.
	// Response also contains `accessTokenExpiresAt` and `refreshTokenExpiresAt` fields, but if you decode the jwt token the payload will contain `clientId` (OAuth client ID), `ownerId` (user to whom token belongs ID), `iat` (issued at time) and `expiresAt` (when does the token expire) fields.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/oauth/{clientId}/refresh (the `OAuthFlowControllerRefreshTokens` operationId).
	OAuthFlowControllerRefreshTokens(ctx context.Context, clientId string, params *OAuthFlowControllerRefreshTokensParams, body OAuthFlowControllerRefreshTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesController20240611GetSchedules Get all schedules
	//
	// Get all schedules of the authenticated user.
	//
	//      <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Corresponds with GET /v2/schedules (the `SchedulesController20240611GetSchedules` operationId).
	SchedulesController20240611GetSchedules(ctx context.Context, params *SchedulesController20240611GetSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesController20240611CreateScheduleWithBody Create a schedule
	//
	//
	//       Create a schedule for the authenticated user.
	//
	//       The point of creating schedules is for event types to be available at specific times.
	//
	//       The first goal of schedules is to have a default schedule. If you are platform customer and created managed users, then it is important to note that each managed user should have a default schedule.
	//       1. If you passed `timeZone` when creating managed user, then the default schedule from Monday to Friday from 9AM to 5PM will be created with that timezone. The managed user can then change the default schedule via the `AvailabilitySettings` atom.
	//       2. If you did not, then we assume you want the user to have this specific schedule right away. You should create a default schedule by specifying
	//       `"isDefault": true` in the request body. Until the user has a default schedule the user can't be booked nor manage their schedule via the AvailabilitySettings atom.
	//
	//       The second goal of schedules is to create another schedule that event types can point to. This is useful for when an event is booked because availability is not checked against the default schedule but instead against that specific schedule.
	//       After creating a non-default schedule, you can update an event type to point to that schedule via the PATCH `event-types/{eventTypeId}` endpoint.
	//
	//       When specifying start time and end time for each day use the 24 hour format e.g. 08:00, 15:00 etc.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/schedules (the `SchedulesController20240611CreateSchedule` operationId).
	SchedulesController20240611CreateScheduleWithBody(ctx context.Context, params *SchedulesController20240611CreateScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesController20240611CreateSchedule Create a schedule
	//
	//
	//       Create a schedule for the authenticated user.
	//
	//       The point of creating schedules is for event types to be available at specific times.
	//
	//       The first goal of schedules is to have a default schedule. If you are platform customer and created managed users, then it is important to note that each managed user should have a default schedule.
	//       1. If you passed `timeZone` when creating managed user, then the default schedule from Monday to Friday from 9AM to 5PM will be created with that timezone. The managed user can then change the default schedule via the `AvailabilitySettings` atom.
	//       2. If you did not, then we assume you want the user to have this specific schedule right away. You should create a default schedule by specifying
	//       `"isDefault": true` in the request body. Until the user has a default schedule the user can't be booked nor manage their schedule via the AvailabilitySettings atom.
	//
	//       The second goal of schedules is to create another schedule that event types can point to. This is useful for when an event is booked because availability is not checked against the default schedule but instead against that specific schedule.
	//       After creating a non-default schedule, you can update an event type to point to that schedule via the PATCH `event-types/{eventTypeId}` endpoint.
	//
	//       When specifying start time and end time for each day use the 24 hour format e.g. 08:00, 15:00 etc.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/schedules (the `SchedulesController20240611CreateSchedule` operationId).
	SchedulesController20240611CreateSchedule(ctx context.Context, params *SchedulesController20240611CreateScheduleParams, body SchedulesController20240611CreateScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesController20240611GetDefaultSchedule Get default schedule
	//
	// Get the default schedule of the authenticated user.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Corresponds with GET /v2/schedules/default (the `SchedulesController20240611GetDefaultSchedule` operationId).
	SchedulesController20240611GetDefaultSchedule(ctx context.Context, params *SchedulesController20240611GetDefaultScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesController20240611DeleteSchedule Delete a schedule
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Corresponds with DELETE /v2/schedules/{scheduleId} (the `SchedulesController20240611DeleteSchedule` operationId).
	SchedulesController20240611DeleteSchedule(ctx context.Context, scheduleId float64, params *SchedulesController20240611DeleteScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesController20240611GetSchedule Get a schedule
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Corresponds with GET /v2/schedules/{scheduleId} (the `SchedulesController20240611GetSchedule` operationId).
	SchedulesController20240611GetSchedule(ctx context.Context, scheduleId float64, params *SchedulesController20240611GetScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesController20240611UpdateScheduleWithBody Update a schedule
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/schedules/{scheduleId} (the `SchedulesController20240611UpdateSchedule` operationId).
	SchedulesController20240611UpdateScheduleWithBody(ctx context.Context, scheduleId string, params *SchedulesController20240611UpdateScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SchedulesController20240611UpdateSchedule Update a schedule
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/schedules/{scheduleId} (the `SchedulesController20240611UpdateSchedule` operationId).
	SchedulesController20240611UpdateSchedule(ctx context.Context, scheduleId string, params *SchedulesController20240611UpdateScheduleParams, body SchedulesController20240611UpdateScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SelectedCalendarsControllerDeleteSelectedCalendar Delete a selected calendar
	//
	// Corresponds with DELETE /v2/selected-calendars (the `SelectedCalendarsControllerDeleteSelectedCalendar` operationId).
	SelectedCalendarsControllerDeleteSelectedCalendar(ctx context.Context, params *SelectedCalendarsControllerDeleteSelectedCalendarParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SelectedCalendarsControllerAddSelectedCalendarWithBody Add a selected calendar
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/selected-calendars (the `SelectedCalendarsControllerAddSelectedCalendar` operationId).
	SelectedCalendarsControllerAddSelectedCalendarWithBody(ctx context.Context, params *SelectedCalendarsControllerAddSelectedCalendarParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SelectedCalendarsControllerAddSelectedCalendar Add a selected calendar
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/selected-calendars (the `SelectedCalendarsControllerAddSelectedCalendar` operationId).
	SelectedCalendarsControllerAddSelectedCalendar(ctx context.Context, params *SelectedCalendarsControllerAddSelectedCalendarParams, body SelectedCalendarsControllerAddSelectedCalendarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SlotsController20240904GetAvailableSlots Get available time slots for an event type
	//
	//
	//       There are 4 ways to get available slots for event type of an individual user:
	//
	//       1. By event type id. Example '/v2/slots?eventTypeId=10&start=2050-09-05&end=2050-09-06&timeZone=Europe/Rome'
	//
	//       2. By event type slug + username. Example '/v2/slots?eventTypeSlug=intro&username=bob&start=2050-09-05&end=2050-09-06'
	//
	//       3. By event type slug + username + organization slug when searching within an organization. Example '/v2/slots?organizationSlug=org-slug&eventTypeSlug=intro&username=bob&start=2050-09-05&end=2050-09-06'
	//
	//       4. By usernames only (used for dynamic event type - there is no specific event but you want to know when 2 or more people are available). Example '/v2/slots?usernames=alice,bob&username=bob&organizationSlug=org-slug&start=2050-09-05&end=2050-09-06'. As you see you also need to provide the slug of the organization to which each user in the 'usernames' array belongs.
	//
	//       And 3 ways to get available slots for team event type:
	//
	//       1. By team event type id. Example '/v2/slots?eventTypeId=10&start=2050-09-05&end=2050-09-06&timeZone=Europe/Rome'.
	//          **Note for managed event types**: Managed event types are templates that create individual child event types for each team member. You cannot fetch slots for the parent managed event type directly. Instead, you must:
	//          - Find the child event type IDs (the ones assigned to specific users)
	//          - Use those child event type IDs to fetch slots as individual user event types using as described in the individual user section above.
	//
	//       2. By team event type slug + team slug. Example '/v2/slots?eventTypeSlug=intro&teamSlug=team-slug&start=2050-09-05&end=2050-09-06'
	//
	//       3. By team event type slug + team slug + organization slug when searching within an organization. Example '/v2/slots?organizationSlug=org-slug&eventTypeSlug=intro&teamSlug=team-slug&start=2050-09-05&end=2050-09-06'
	//
	//       All of them require "start" and "end" query parameters which define the time range for which available slots should be checked.
	//       Optional parameters are:
	//       - timeZone: Time zone in which the available slots should be returned. Defaults to UTC.
	//       - duration: Only use for event types that allow multiple durations or for dynamic event types. If not passed for multiple duration event types defaults to default duration. For dynamic event types defaults to 30 aka each returned slot is 30 minutes long. So duration=60 means that returned slots will be each 60 minutes long.
	//       - format: Format of the slots. By default return is an object where each key is date and value is array of slots as string. If you want to get start and end of each slot use "range" as value.
	//       - bookingUidToReschedule: When rescheduling an existing booking, provide the booking's unique identifier to exclude its time slot from busy time calculations. This ensures the original booking time appears as available for rescheduling.
	//
	//        <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Corresponds with GET /v2/slots (the `SlotsController20240904GetAvailableSlots` operationId).
	SlotsController20240904GetAvailableSlots(ctx context.Context, params *SlotsController20240904GetAvailableSlotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SlotsController20240904ReserveSlotWithBody Reserve a slot
	//
	// Make a slot not available for others to book for a certain period of time. If you authenticate using oAuth credentials, api key or access token
	//     then you can also specify custom duration for how long the slot should be reserved for (defaults to 5 minutes).
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/slots/reservations (the `SlotsController20240904ReserveSlot` operationId).
	SlotsController20240904ReserveSlotWithBody(ctx context.Context, params *SlotsController20240904ReserveSlotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SlotsController20240904ReserveSlot Reserve a slot
	//
	// Make a slot not available for others to book for a certain period of time. If you authenticate using oAuth credentials, api key or access token
	//     then you can also specify custom duration for how long the slot should be reserved for (defaults to 5 minutes).
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/slots/reservations (the `SlotsController20240904ReserveSlot` operationId).
	SlotsController20240904ReserveSlot(ctx context.Context, params *SlotsController20240904ReserveSlotParams, body SlotsController20240904ReserveSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SlotsController20240904DeleteReservedSlot Delete a reserved slot
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Corresponds with DELETE /v2/slots/reservations/{uid} (the `SlotsController20240904DeleteReservedSlot` operationId).
	SlotsController20240904DeleteReservedSlot(ctx context.Context, uid string, params *SlotsController20240904DeleteReservedSlotParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SlotsController20240904GetReservedSlot Get reserved slot
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Corresponds with GET /v2/slots/reservations/{uid} (the `SlotsController20240904GetReservedSlot` operationId).
	SlotsController20240904GetReservedSlot(ctx context.Context, uid string, params *SlotsController20240904GetReservedSlotParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SlotsController20240904UpdateReservedSlotWithBody Update a reserved slot
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/slots/reservations/{uid} (the `SlotsController20240904UpdateReservedSlot` operationId).
	SlotsController20240904UpdateReservedSlotWithBody(ctx context.Context, uid string, params *SlotsController20240904UpdateReservedSlotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SlotsController20240904UpdateReservedSlot Update a reserved slot
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/slots/reservations/{uid} (the `SlotsController20240904UpdateReservedSlot` operationId).
	SlotsController20240904UpdateReservedSlot(ctx context.Context, uid string, params *SlotsController20240904UpdateReservedSlotParams, body SlotsController20240904UpdateReservedSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StripeControllerCheck Check Stripe connection
	//
	// Corresponds with GET /v2/stripe/check (the `StripeControllerCheck` operationId).
	StripeControllerCheck(ctx context.Context, params *StripeControllerCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StripeControllerRedirect Get Stripe connect URL
	//
	// Corresponds with GET /v2/stripe/connect (the `StripeControllerRedirect` operationId).
	StripeControllerRedirect(ctx context.Context, params *StripeControllerRedirectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StripeControllerSave Save Stripe credentials
	//
	// Corresponds with GET /v2/stripe/save (the `StripeControllerSave` operationId).
	StripeControllerSave(ctx context.Context, params *StripeControllerSaveParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserVerifiedResourcesControllerGetVerifiedEmails Get list of verified emails
	//
	// Corresponds with GET /v2/verified-resources/emails (the `UserVerifiedResourcesControllerGetVerifiedEmails` operationId).
	UserVerifiedResourcesControllerGetVerifiedEmails(ctx context.Context, params *UserVerifiedResourcesControllerGetVerifiedEmailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserVerifiedResourcesControllerRequestEmailVerificationCodeWithBody Request email verification code
	//
	// Sends a verification code to the email.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/verified-resources/emails/verification-code/request (the `UserVerifiedResourcesControllerRequestEmailVerificationCode` operationId).
	UserVerifiedResourcesControllerRequestEmailVerificationCodeWithBody(ctx context.Context, params *UserVerifiedResourcesControllerRequestEmailVerificationCodeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserVerifiedResourcesControllerRequestEmailVerificationCode Request email verification code
	//
	// Sends a verification code to the email.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/verified-resources/emails/verification-code/request (the `UserVerifiedResourcesControllerRequestEmailVerificationCode` operationId).
	UserVerifiedResourcesControllerRequestEmailVerificationCode(ctx context.Context, params *UserVerifiedResourcesControllerRequestEmailVerificationCodeParams, body UserVerifiedResourcesControllerRequestEmailVerificationCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserVerifiedResourcesControllerVerifyEmailWithBody Verify an email
	//
	// Use code to verify an email.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/verified-resources/emails/verification-code/verify (the `UserVerifiedResourcesControllerVerifyEmail` operationId).
	UserVerifiedResourcesControllerVerifyEmailWithBody(ctx context.Context, params *UserVerifiedResourcesControllerVerifyEmailParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserVerifiedResourcesControllerVerifyEmail Verify an email
	//
	// Use code to verify an email.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/verified-resources/emails/verification-code/verify (the `UserVerifiedResourcesControllerVerifyEmail` operationId).
	UserVerifiedResourcesControllerVerifyEmail(ctx context.Context, params *UserVerifiedResourcesControllerVerifyEmailParams, body UserVerifiedResourcesControllerVerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserVerifiedResourcesControllerGetVerifiedEmailById Get verified email by id
	//
	// Corresponds with GET /v2/verified-resources/emails/{id} (the `UserVerifiedResourcesControllerGetVerifiedEmailById` operationId).
	UserVerifiedResourcesControllerGetVerifiedEmailById(ctx context.Context, id float64, params *UserVerifiedResourcesControllerGetVerifiedEmailByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserVerifiedResourcesControllerGetVerifiedPhoneNumbers Get list of verified phone numbers
	//
	// Corresponds with GET /v2/verified-resources/phones (the `UserVerifiedResourcesControllerGetVerifiedPhoneNumbers` operationId).
	UserVerifiedResourcesControllerGetVerifiedPhoneNumbers(ctx context.Context, params *UserVerifiedResourcesControllerGetVerifiedPhoneNumbersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithBody Request phone number verification code
	//
	// Sends a verification code to the phone number.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/verified-resources/phones/verification-code/request (the `UserVerifiedResourcesControllerRequestPhoneVerificationCode` operationId).
	UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithBody(ctx context.Context, params *UserVerifiedResourcesControllerRequestPhoneVerificationCodeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserVerifiedResourcesControllerRequestPhoneVerificationCode Request phone number verification code
	//
	// Sends a verification code to the phone number.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/verified-resources/phones/verification-code/request (the `UserVerifiedResourcesControllerRequestPhoneVerificationCode` operationId).
	UserVerifiedResourcesControllerRequestPhoneVerificationCode(ctx context.Context, params *UserVerifiedResourcesControllerRequestPhoneVerificationCodeParams, body UserVerifiedResourcesControllerRequestPhoneVerificationCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserVerifiedResourcesControllerVerifyPhoneNumberWithBody Verify a phone number
	//
	// Use code to verify a phone number.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/verified-resources/phones/verification-code/verify (the `UserVerifiedResourcesControllerVerifyPhoneNumber` operationId).
	UserVerifiedResourcesControllerVerifyPhoneNumberWithBody(ctx context.Context, params *UserVerifiedResourcesControllerVerifyPhoneNumberParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserVerifiedResourcesControllerVerifyPhoneNumber Verify a phone number
	//
	// Use code to verify a phone number.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/verified-resources/phones/verification-code/verify (the `UserVerifiedResourcesControllerVerifyPhoneNumber` operationId).
	UserVerifiedResourcesControllerVerifyPhoneNumber(ctx context.Context, params *UserVerifiedResourcesControllerVerifyPhoneNumberParams, body UserVerifiedResourcesControllerVerifyPhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserVerifiedResourcesControllerGetVerifiedPhoneById Get verified phone number by id
	//
	// Corresponds with GET /v2/verified-resources/phones/{id} (the `UserVerifiedResourcesControllerGetVerifiedPhoneById` operationId).
	UserVerifiedResourcesControllerGetVerifiedPhoneById(ctx context.Context, id float64, params *UserVerifiedResourcesControllerGetVerifiedPhoneByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WebhooksControllerGetWebhooks Get all webhooks
	//
	// Gets a paginated list of webhooks for the authenticated user.
	//
	// Corresponds with GET /v2/webhooks (the `WebhooksControllerGetWebhooks` operationId).
	WebhooksControllerGetWebhooks(ctx context.Context, params *WebhooksControllerGetWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WebhooksControllerCreateWebhookWithBody Create a webhook
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/webhooks (the `WebhooksControllerCreateWebhook` operationId).
	WebhooksControllerCreateWebhookWithBody(ctx context.Context, params *WebhooksControllerCreateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WebhooksControllerCreateWebhook Create a webhook
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/webhooks (the `WebhooksControllerCreateWebhook` operationId).
	WebhooksControllerCreateWebhook(ctx context.Context, params *WebhooksControllerCreateWebhookParams, body WebhooksControllerCreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WebhooksControllerDeleteWebhook Delete a webhook
	//
	// Corresponds with DELETE /v2/webhooks/{webhookId} (the `WebhooksControllerDeleteWebhook` operationId).
	WebhooksControllerDeleteWebhook(ctx context.Context, webhookId string, params *WebhooksControllerDeleteWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WebhooksControllerGetWebhook Get a webhook
	//
	// Corresponds with GET /v2/webhooks/{webhookId} (the `WebhooksControllerGetWebhook` operationId).
	WebhooksControllerGetWebhook(ctx context.Context, webhookId string, params *WebhooksControllerGetWebhookParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WebhooksControllerUpdateWebhookWithBody Update a webhook
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/webhooks/{webhookId} (the `WebhooksControllerUpdateWebhook` operationId).
	WebhooksControllerUpdateWebhookWithBody(ctx context.Context, webhookId string, params *WebhooksControllerUpdateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WebhooksControllerUpdateWebhook Update a webhook
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/webhooks/{webhookId} (the `WebhooksControllerUpdateWebhook` operationId).
	WebhooksControllerUpdateWebhook(ctx context.Context, webhookId string, params *WebhooksControllerUpdateWebhookParams, body WebhooksControllerUpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) ApiKeysControllerRefreshWithBodyWithResponse

func (c *ClientWithResponses) ApiKeysControllerRefreshWithBodyWithResponse(ctx context.Context, params *ApiKeysControllerRefreshParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiKeysControllerRefreshResponse, error)

ApiKeysControllerRefreshWithBodyWithResponse Refresh API Key

Generate a new API key and delete the current one. Provide API key to refresh as a Bearer token in the Authorization header (e.g. "Authorization: Bearer <apiKey>").

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/api-keys/refresh (the `ApiKeysControllerRefresh` operationId).

func (*ClientWithResponses) ApiKeysControllerRefreshWithResponse

ApiKeysControllerRefreshWithResponse Refresh API Key

Generate a new API key and delete the current one. Provide API key to refresh as a Bearer token in the Authorization header (e.g. "Authorization: Bearer <apiKey>").

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/api-keys/refresh (the `ApiKeysControllerRefresh` operationId).

func (*ClientWithResponses) BookingAttendeesController20240813AddAttendeeWithBodyWithResponse

func (c *ClientWithResponses) BookingAttendeesController20240813AddAttendeeWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingAttendeesController20240813AddAttendeeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingAttendeesController20240813AddAttendeeResponse, error)

BookingAttendeesController20240813AddAttendeeWithBodyWithResponse Add an attendee to a booking

Add a new attendee to an existing booking by its UID.

**Side effects:**
- The booking's attendee list is updated in the database
- The calendar event is updated on connected calendars (Google Calendar, Outlook, etc.) to include the new attendee
- An email notification is sent to the new attendee with the booking details

**Permissions:**
- The authenticated user must be either the booking organizer, an existing attendee, or have the `booking.update` permission for the team

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/attendees (the `BookingAttendeesController20240813AddAttendee` operationId).

func (*ClientWithResponses) BookingAttendeesController20240813AddAttendeeWithResponse

BookingAttendeesController20240813AddAttendeeWithResponse Add an attendee to a booking

Add a new attendee to an existing booking by its UID.

**Side effects:**
- The booking's attendee list is updated in the database
- The calendar event is updated on connected calendars (Google Calendar, Outlook, etc.) to include the new attendee
- An email notification is sent to the new attendee with the booking details

**Permissions:**
- The authenticated user must be either the booking organizer, an existing attendee, or have the `booking.update` permission for the team

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/attendees (the `BookingAttendeesController20240813AddAttendee` operationId).

func (*ClientWithResponses) BookingAttendeesController20240813GetBookingAttendeeWithResponse

func (c *ClientWithResponses) BookingAttendeesController20240813GetBookingAttendeeWithResponse(ctx context.Context, bookingUid string, attendeeId float64, params *BookingAttendeesController20240813GetBookingAttendeeParams, reqEditors ...RequestEditorFn) (*BookingAttendeesController20240813GetBookingAttendeeResponse, error)

BookingAttendeesController20240813GetBookingAttendeeWithResponse Get a specific attendee for a booking

Retrieve a specific attendee by their ID for a booking identified by its UID.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/bookings/{bookingUid}/attendees/{attendeeId} (the `BookingAttendeesController20240813GetBookingAttendee` operationId).

func (*ClientWithResponses) BookingAttendeesController20240813GetBookingAttendeesWithResponse

func (c *ClientWithResponses) BookingAttendeesController20240813GetBookingAttendeesWithResponse(ctx context.Context, bookingUid string, params *BookingAttendeesController20240813GetBookingAttendeesParams, reqEditors ...RequestEditorFn) (*BookingAttendeesController20240813GetBookingAttendeesResponse, error)

BookingAttendeesController20240813GetBookingAttendeesWithResponse Get all attendees for a booking

Retrieve all attendees for a specific booking by its UID.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/bookings/{bookingUid}/attendees (the `BookingAttendeesController20240813GetBookingAttendees` operationId).

func (*ClientWithResponses) BookingAttendeesController20240813RemoveAttendeeWithResponse

func (c *ClientWithResponses) BookingAttendeesController20240813RemoveAttendeeWithResponse(ctx context.Context, bookingUid string, attendeeId float64, params *BookingAttendeesController20240813RemoveAttendeeParams, reqEditors ...RequestEditorFn) (*BookingAttendeesController20240813RemoveAttendeeResponse, error)

BookingAttendeesController20240813RemoveAttendeeWithResponse Remove an attendee from a booking

Remove an attendee from an existing booking by their attendee ID. The primary attendee (first attendee) cannot be removed — to remove them, cancel the booking instead. The removed attendee will receive a cancellation email notification.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/bookings/{bookingUid}/attendees/{attendeeId} (the `BookingAttendeesController20240813RemoveAttendee` operationId).

func (*ClientWithResponses) BookingGuestsController20240813AddGuestsWithBodyWithResponse

func (c *ClientWithResponses) BookingGuestsController20240813AddGuestsWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingGuestsController20240813AddGuestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingGuestsController20240813AddGuestsResponse, error)

BookingGuestsController20240813AddGuestsWithBodyWithResponse Add guests to an existing booking

Add one or more guests to an existing booking. Maximum 10 guests per request, with a limit of 30 total guests per booking.

**Rate Limiting:**
This endpoint is rate limited to 5 requests per minute to prevent abuse.

**Email Notifications:**
When guests are added, the following notifications are sent (unless disabled by event type settings):

- **Organizer & Team Members:** Receive an "Add Guests" notification email informing them that new guests have been added to the booking.

- **New Guests:** Receive a "Scheduled Event" email with full booking details and calendar invite. If they have a phone number, they also receive an SMS notification.

- **Existing Guests:** Receive an "Add Guests" notification email informing them that additional guests have been added to the booking.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/guests (the `BookingGuestsController20240813AddGuests` operationId).

func (*ClientWithResponses) BookingGuestsController20240813AddGuestsWithResponse

BookingGuestsController20240813AddGuestsWithResponse Add guests to an existing booking

Add one or more guests to an existing booking. Maximum 10 guests per request, with a limit of 30 total guests per booking.

**Rate Limiting:**
This endpoint is rate limited to 5 requests per minute to prevent abuse.

**Email Notifications:**
When guests are added, the following notifications are sent (unless disabled by event type settings):

- **Organizer & Team Members:** Receive an "Add Guests" notification email informing them that new guests have been added to the booking.

- **New Guests:** Receive a "Scheduled Event" email with full booking details and calendar invite. If they have a phone number, they also receive an SMS notification.

- **Existing Guests:** Receive an "Add Guests" notification email informing them that additional guests have been added to the booking.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/guests (the `BookingGuestsController20240813AddGuests` operationId).

func (*ClientWithResponses) BookingLocationController20240813UpdateBookingLocationWithBodyWithResponse

func (c *ClientWithResponses) BookingLocationController20240813UpdateBookingLocationWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingLocationController20240813UpdateBookingLocationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingLocationController20240813UpdateBookingLocationResponse, error)

BookingLocationController20240813UpdateBookingLocationWithBodyWithResponse Update booking location for an existing booking

Updates the location for an existing booking.

**Integration Fallback Behavior:** - **Google Meet**: Requires Google Calendar to be connected. If the booking has no Google Calendar event, it will automatically fall back to Cal Video. - **MS Teams**: If Office 365 Calendar is connected, generates the meeting link via calendar. Otherwise, uses the MS Teams video integration directly.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/bookings/{bookingUid}/location (the `BookingLocationController20240813UpdateBookingLocation` operationId).

func (*ClientWithResponses) BookingLocationController20240813UpdateBookingLocationWithResponse

BookingLocationController20240813UpdateBookingLocationWithResponse Update booking location for an existing booking

Updates the location for an existing booking.

**Integration Fallback Behavior:** - **Google Meet**: Requires Google Calendar to be connected. If the booking has no Google Calendar event, it will automatically fall back to Cal Video. - **MS Teams**: If Office 365 Calendar is connected, generates the meeting link via calendar. Otherwise, uses the MS Teams video integration directly.

<Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/bookings/{bookingUid}/location (the `BookingLocationController20240813UpdateBookingLocation` operationId).

func (*ClientWithResponses) BookingsController20240813CancelBookingWithBodyWithResponse

func (c *ClientWithResponses) BookingsController20240813CancelBookingWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813CancelBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingsController20240813CancelBookingResponse, error)

BookingsController20240813CancelBookingWithBodyWithResponse Cancel a booking

:bookingUid can be :bookingUid of an usual booking, individual recurrence or recurring booking to cancel all recurrences.

Cancelling normal bookings:

If the booking is not seated and not recurring, simply pass :bookingUid in the request URL `/bookings/:bookingUid/cancel` and optionally cancellationReason in the request body `{"cancellationReason": "Will travel"}`.

Cancelling seated bookings:

It is possible to cancel specific seat within a booking as an attendee or all of the seats as the host.

1. As an attendee - provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and seatUid in the request body `{"seatUid": "123-123-123"}` . This will remove this particular attendance from the booking.

2. As the host or org admin of host - host can cancel booking for all attendees aka for every seat, this also applies to org admins. Provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and cancellationReason in the request body `{"cancellationReason": "Will travel"}` and `Authorization: Bearer token` request header where token is event type owner (host) credential. This will cancel the booking for all attendees.

Cancelling recurring seated bookings:

For recurring seated bookings it is not possible to cancel all of them with 1 call
like with non-seated recurring bookings by providing recurring bookind uid - you have to cancel each recurrence booking by its bookingUid + seatUid.

If you are cancelling a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/cancel (the `BookingsController20240813CancelBooking` operationId).

func (*ClientWithResponses) BookingsController20240813CancelBookingWithResponse

BookingsController20240813CancelBookingWithResponse Cancel a booking

:bookingUid can be :bookingUid of an usual booking, individual recurrence or recurring booking to cancel all recurrences.

Cancelling normal bookings:

If the booking is not seated and not recurring, simply pass :bookingUid in the request URL `/bookings/:bookingUid/cancel` and optionally cancellationReason in the request body `{"cancellationReason": "Will travel"}`.

Cancelling seated bookings:

It is possible to cancel specific seat within a booking as an attendee or all of the seats as the host.

1. As an attendee - provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and seatUid in the request body `{"seatUid": "123-123-123"}` . This will remove this particular attendance from the booking.

2. As the host or org admin of host - host can cancel booking for all attendees aka for every seat, this also applies to org admins. Provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and cancellationReason in the request body `{"cancellationReason": "Will travel"}` and `Authorization: Bearer token` request header where token is event type owner (host) credential. This will cancel the booking for all attendees.

Cancelling recurring seated bookings:

For recurring seated bookings it is not possible to cancel all of them with 1 call
like with non-seated recurring bookings by providing recurring bookind uid - you have to cancel each recurrence booking by its bookingUid + seatUid.

If you are cancelling a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/cancel (the `BookingsController20240813CancelBooking` operationId).

func (*ClientWithResponses) BookingsController20240813ConfirmBookingWithResponse

func (c *ClientWithResponses) BookingsController20240813ConfirmBookingWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813ConfirmBookingParams, reqEditors ...RequestEditorFn) (*BookingsController20240813ConfirmBookingResponse, error)

BookingsController20240813ConfirmBookingWithResponse Confirm a booking

The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/confirm (the `BookingsController20240813ConfirmBooking` operationId).

func (*ClientWithResponses) BookingsController20240813CreateBookingWithBodyWithResponse

func (c *ClientWithResponses) BookingsController20240813CreateBookingWithBodyWithResponse(ctx context.Context, params *BookingsController20240813CreateBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingsController20240813CreateBookingResponse, error)

BookingsController20240813CreateBookingWithBodyWithResponse Create a booking

POST /v2/bookings is used to create regular bookings, recurring bookings and instant bookings. The request bodies for all 3 are almost the same except:
If eventTypeId in the request body is id of a regular event, then regular booking is created.

If it is an id of a recurring event type, then recurring booking is created.

Meaning that the request bodies are equal but the outcome depends on what kind of event type it is with the goal of making it as seamless for developers as possible.

The start needs to be in UTC aka if the timezone is GMT+2 in Rome and meeting should start at 11, then UTC time should have hours 09:00 aka without time zone.

Finally, there are 2 ways to book an event type belonging to an individual user:
1. Provide `eventTypeId` in the request body.
2. Provide `eventTypeSlug` and `username` and optionally `organizationSlug` if the user with the username is within an organization.

And 2 ways to book and event type belonging to a team:
1. Provide `eventTypeId` in the request body.
2. Provide `eventTypeSlug` and `teamSlug` and optionally `organizationSlug` if the team with the teamSlug is within an organization.

If you are creating a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.

For event types that have SMS reminders enabled, you need to pass the attendee's phone number in the request body via `attendee.phoneNumber` (e.g., "+19876543210" in international format). This is an optional field, but becomes required when SMS reminders are enabled for the event type. For the complete attendee object structure, see the attendee schema in the `/docs` Swagger endpoint.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings (the `BookingsController20240813CreateBooking` operationId).

func (*ClientWithResponses) BookingsController20240813CreateBookingWithResponse

BookingsController20240813CreateBookingWithResponse Create a booking

POST /v2/bookings is used to create regular bookings, recurring bookings and instant bookings. The request bodies for all 3 are almost the same except:
If eventTypeId in the request body is id of a regular event, then regular booking is created.

If it is an id of a recurring event type, then recurring booking is created.

Meaning that the request bodies are equal but the outcome depends on what kind of event type it is with the goal of making it as seamless for developers as possible.

The start needs to be in UTC aka if the timezone is GMT+2 in Rome and meeting should start at 11, then UTC time should have hours 09:00 aka without time zone.

Finally, there are 2 ways to book an event type belonging to an individual user:
1. Provide `eventTypeId` in the request body.
2. Provide `eventTypeSlug` and `username` and optionally `organizationSlug` if the user with the username is within an organization.

And 2 ways to book and event type belonging to a team:
1. Provide `eventTypeId` in the request body.
2. Provide `eventTypeSlug` and `teamSlug` and optionally `organizationSlug` if the team with the teamSlug is within an organization.

If you are creating a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.

For event types that have SMS reminders enabled, you need to pass the attendee's phone number in the request body via `attendee.phoneNumber` (e.g., "+19876543210" in international format). This is an optional field, but becomes required when SMS reminders are enabled for the event type. For the complete attendee object structure, see the attendee schema in the `/docs` Swagger endpoint.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings (the `BookingsController20240813CreateBooking` operationId).

func (*ClientWithResponses) BookingsController20240813DeclineBookingWithBodyWithResponse

func (c *ClientWithResponses) BookingsController20240813DeclineBookingWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813DeclineBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingsController20240813DeclineBookingResponse, error)

BookingsController20240813DeclineBookingWithBodyWithResponse Decline a booking

The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/decline (the `BookingsController20240813DeclineBooking` operationId).

func (*ClientWithResponses) BookingsController20240813DeclineBookingWithResponse

BookingsController20240813DeclineBookingWithResponse Decline a booking

The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/decline (the `BookingsController20240813DeclineBooking` operationId).

func (*ClientWithResponses) BookingsController20240813GetBookingBySeatUidWithResponse

func (c *ClientWithResponses) BookingsController20240813GetBookingBySeatUidWithResponse(ctx context.Context, seatUid string, params *BookingsController20240813GetBookingBySeatUidParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetBookingBySeatUidResponse, error)

BookingsController20240813GetBookingBySeatUidWithResponse Get a booking by seat UID

Get a seated booking by its seat reference UID. This is useful when you have a seatUid from a seated booking and want to retrieve the full booking details.

If you are fetching a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/bookings/by-seat/{seatUid} (the `BookingsController20240813GetBookingBySeatUid` operationId).

func (*ClientWithResponses) BookingsController20240813GetBookingRecordingsWithResponse

func (c *ClientWithResponses) BookingsController20240813GetBookingRecordingsWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingRecordingsParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetBookingRecordingsResponse, error)

BookingsController20240813GetBookingRecordingsWithResponse Get all the recordings for the booking

Fetches all the recordings for the booking `:bookingUid`. Requires authentication and proper authorization. Access is granted if you are the booking organizer, team admin or org admin/owner.

<Note>cal-api-version: `2024-08-13` is required in the request header.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/bookings/{bookingUid}/recordings (the `BookingsController20240813GetBookingRecordings` operationId).

func (*ClientWithResponses) BookingsController20240813GetBookingReferencesWithResponse

func (c *ClientWithResponses) BookingsController20240813GetBookingReferencesWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingReferencesParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetBookingReferencesResponse, error)

BookingsController20240813GetBookingReferencesWithResponse Get booking references

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/bookings/{bookingUid}/references (the `BookingsController20240813GetBookingReferences` operationId).

func (*ClientWithResponses) BookingsController20240813GetBookingTranscriptsWithResponse

func (c *ClientWithResponses) BookingsController20240813GetBookingTranscriptsWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingTranscriptsParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetBookingTranscriptsResponse, error)

BookingsController20240813GetBookingTranscriptsWithResponse Get Cal Video real time transcript download links for the booking

Fetches all the transcript download links for the booking `:bookingUid`

<Note>
Transcripts are generated when clicking "Transcribe" during a Cal Video meeting. Download links are valid for 1 hour only - make a new request to generate fresh links after expiration.

Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.
</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/bookings/{bookingUid}/transcripts (the `BookingsController20240813GetBookingTranscripts` operationId).

func (*ClientWithResponses) BookingsController20240813GetBookingWithResponse

func (c *ClientWithResponses) BookingsController20240813GetBookingWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetBookingResponse, error)

BookingsController20240813GetBookingWithResponse Get a booking

`:bookingUid` can be

  1. uid of a normal booking

  2. uid of one of the recurring booking recurrences

  3. uid of recurring booking which will return an array of all recurring booking recurrences (stored as recurringBookingUid on one of the individual recurrences).

    If you are fetching a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.

    <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/bookings/{bookingUid} (the `BookingsController20240813GetBooking` operationId).

func (*ClientWithResponses) BookingsController20240813GetBookingsWithResponse

func (c *ClientWithResponses) BookingsController20240813GetBookingsWithResponse(ctx context.Context, params *BookingsController20240813GetBookingsParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetBookingsResponse, error)

BookingsController20240813GetBookingsWithResponse Get all bookings

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/bookings (the `BookingsController20240813GetBookings` operationId).

func (*ClientWithResponses) BookingsController20240813GetCalendarLinksWithResponse

func (c *ClientWithResponses) BookingsController20240813GetCalendarLinksWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813GetCalendarLinksParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetCalendarLinksResponse, error)

BookingsController20240813GetCalendarLinksWithResponse Get 'Add to Calendar' links for a booking

Retrieve calendar links for a booking that can be used to add the event to various calendar services. Returns links for Google Calendar, Microsoft Office, Microsoft Outlook, and a downloadable ICS file.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/bookings/{bookingUid}/calendar-links (the `BookingsController20240813GetCalendarLinks` operationId).

func (*ClientWithResponses) BookingsController20240813GetVideoSessionsWithResponse

func (c *ClientWithResponses) BookingsController20240813GetVideoSessionsWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813GetVideoSessionsParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetVideoSessionsResponse, error)

BookingsController20240813GetVideoSessionsWithResponse Get Video Meeting Sessions. Only supported for Cal Video

Requires authentication and proper authorization. Access is granted if you are the booking organizer, team admin or org admin/owner.

<Note>cal-api-version: `2024-08-13` is required in the request header.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/bookings/{bookingUid}/conferencing-sessions (the `BookingsController20240813GetVideoSessions` operationId).

func (*ClientWithResponses) BookingsController20240813MarkNoShowWithBodyWithResponse

func (c *ClientWithResponses) BookingsController20240813MarkNoShowWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813MarkNoShowParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingsController20240813MarkNoShowResponse, error)

BookingsController20240813MarkNoShowWithBodyWithResponse Mark a booking absence

The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/mark-absent (the `BookingsController20240813MarkNoShow` operationId).

func (*ClientWithResponses) BookingsController20240813MarkNoShowWithResponse

BookingsController20240813MarkNoShowWithResponse Mark a booking absence

The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/mark-absent (the `BookingsController20240813MarkNoShow` operationId).

func (*ClientWithResponses) BookingsController20240813ReassignBookingToUserWithBodyWithResponse

func (c *ClientWithResponses) BookingsController20240813ReassignBookingToUserWithBodyWithResponse(ctx context.Context, bookingUid string, userId float64, params *BookingsController20240813ReassignBookingToUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingsController20240813ReassignBookingToUserResponse, error)

BookingsController20240813ReassignBookingToUserWithBodyWithResponse Reassign a booking to a specific host

Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/reassign/{userId} (the `BookingsController20240813ReassignBookingToUser` operationId).

func (*ClientWithResponses) BookingsController20240813ReassignBookingToUserWithResponse

BookingsController20240813ReassignBookingToUserWithResponse Reassign a booking to a specific host

Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/reassign/{userId} (the `BookingsController20240813ReassignBookingToUser` operationId).

func (*ClientWithResponses) BookingsController20240813ReassignBookingWithResponse

func (c *ClientWithResponses) BookingsController20240813ReassignBookingWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813ReassignBookingParams, reqEditors ...RequestEditorFn) (*BookingsController20240813ReassignBookingResponse, error)

BookingsController20240813ReassignBookingWithResponse Reassign a booking to auto-selected host

Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/reassign (the `BookingsController20240813ReassignBooking` operationId).

func (*ClientWithResponses) BookingsController20240813RescheduleBookingWithBodyWithResponse

func (c *ClientWithResponses) BookingsController20240813RescheduleBookingWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813RescheduleBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingsController20240813RescheduleBookingResponse, error)

BookingsController20240813RescheduleBookingWithBodyWithResponse Reschedule a booking

Reschedule a booking or seated booking

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/reschedule (the `BookingsController20240813RescheduleBooking` operationId).

func (*ClientWithResponses) BookingsController20240813RescheduleBookingWithResponse

BookingsController20240813RescheduleBookingWithResponse Reschedule a booking

Reschedule a booking or seated booking

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/bookings/{bookingUid}/reschedule (the `BookingsController20240813RescheduleBooking` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerCreateCalendarEventWithBodyWithResponse

CalUnifiedCalendarsControllerCreateCalendarEventWithBodyWithResponse Create a calendar event

Create a new event on the authenticated user's calendar. Currently only Google Calendar is supported.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/calendars/{calendar}/events (the `CalUnifiedCalendarsControllerCreateCalendarEvent` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerCreateCalendarEventWithResponse

CalUnifiedCalendarsControllerCreateCalendarEventWithResponse Create a calendar event

Create a new event on the authenticated user's calendar. Currently only Google Calendar is supported.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/calendars/{calendar}/events (the `CalUnifiedCalendarsControllerCreateCalendarEvent` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerCreateConnectionEventWithBodyWithResponse

func (c *ClientWithResponses) CalUnifiedCalendarsControllerCreateConnectionEventWithBodyWithResponse(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerCreateConnectionEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerCreateConnectionEventResponse, error)

CalUnifiedCalendarsControllerCreateConnectionEventWithBodyWithResponse Create event on a connection

Create a new event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/calendars/connections/{connectionId}/events (the `CalUnifiedCalendarsControllerCreateConnectionEvent` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerCreateConnectionEventWithResponse

CalUnifiedCalendarsControllerCreateConnectionEventWithResponse Create event on a connection

Create a new event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/calendars/connections/{connectionId}/events (the `CalUnifiedCalendarsControllerCreateConnectionEvent` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerDeleteCalendarEventWithResponse

CalUnifiedCalendarsControllerDeleteCalendarEventWithResponse Delete a calendar event

Delete/cancel an event on the authenticated user's calendar. Currently only Google Calendar is supported.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerDeleteCalendarEvent` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerDeleteConnectionEventWithResponse

func (c *ClientWithResponses) CalUnifiedCalendarsControllerDeleteConnectionEventWithResponse(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerDeleteConnectionEventParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerDeleteConnectionEventResponse, error)

CalUnifiedCalendarsControllerDeleteConnectionEventWithResponse Delete event for a connection

Delete/cancel an event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerDeleteConnectionEvent` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathWithResponse

CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathWithResponse Get meeting details from calendar

Returns detailed information about a meeting including attendance metrics. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use GET /connections/{connectionId}/events/{eventId}.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/{calendar}/event/{eventUid} (the `CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPath` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerGetCalendarEventDetailsWithResponse

CalUnifiedCalendarsControllerGetCalendarEventDetailsWithResponse Get meeting details from calendar

Returns detailed information about a meeting including attendance metrics. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use GET /connections/{connectionId}/events/{eventId}.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerGetCalendarEventDetails` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerGetConnectionEventWithResponse

func (c *ClientWithResponses) CalUnifiedCalendarsControllerGetConnectionEventWithResponse(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerGetConnectionEventParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerGetConnectionEventResponse, error)

CalUnifiedCalendarsControllerGetConnectionEventWithResponse Get event for a connection

Get a single event by ID for the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerGetConnectionEvent` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerGetConnectionFreeBusyWithResponse

func (c *ClientWithResponses) CalUnifiedCalendarsControllerGetConnectionFreeBusyWithResponse(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerGetConnectionFreeBusyParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerGetConnectionFreeBusyResponse, error)

CalUnifiedCalendarsControllerGetConnectionFreeBusyWithResponse Get free/busy for a connection

Get busy time slots for the specified calendar connection.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/connections/{connectionId}/freebusy (the `CalUnifiedCalendarsControllerGetConnectionFreeBusy` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerGetFreeBusyWithResponse

CalUnifiedCalendarsControllerGetFreeBusyWithResponse Get free/busy times

Get busy time slots for the authenticated user's selected calendars in the given date range. Currently only Google Calendar is supported.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/{calendar}/freebusy (the `CalUnifiedCalendarsControllerGetFreeBusy` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerListCalendarEventsWithResponse

CalUnifiedCalendarsControllerListCalendarEventsWithResponse List calendar events

List events in a date range for the authenticated user's calendar. Currently only Google Calendar is supported.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/{calendar}/events (the `CalUnifiedCalendarsControllerListCalendarEvents` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerListConnectionEventsWithResponse

func (c *ClientWithResponses) CalUnifiedCalendarsControllerListConnectionEventsWithResponse(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerListConnectionEventsParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerListConnectionEventsResponse, error)

CalUnifiedCalendarsControllerListConnectionEventsWithResponse List events for a connection

List events in a date range for a specific calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/connections/{connectionId}/events (the `CalUnifiedCalendarsControllerListConnectionEvents` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerListConnectionsWithResponse

func (c *ClientWithResponses) CalUnifiedCalendarsControllerListConnectionsWithResponse(ctx context.Context, params *CalUnifiedCalendarsControllerListConnectionsParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerListConnectionsResponse, error)

CalUnifiedCalendarsControllerListConnectionsWithResponse List calendar connections

Returns all calendar connections for the authenticated user (Google, Office 365, Apple). Use connectionId in connection-scoped endpoints. Note: Event CRUD (list/create/get/update/delete events) is currently only supported for Google Calendar connections; other types will return 400.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/connections (the `CalUnifiedCalendarsControllerListConnections` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithBodyWithResponse

CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithBodyWithResponse Update meeting details in calendar

Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/calendars/{calendar}/event/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithResponse

CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithResponse Update meeting details in calendar

Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/calendars/{calendar}/event/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerUpdateCalendarEventWithBodyWithResponse

func (c *ClientWithResponses) CalUnifiedCalendarsControllerUpdateCalendarEventWithBodyWithResponse(ctx context.Context, calendar CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerUpdateCalendarEventResponse, error)

CalUnifiedCalendarsControllerUpdateCalendarEventWithBodyWithResponse Update meeting details in calendar

Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEvent` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerUpdateCalendarEventWithResponse

CalUnifiedCalendarsControllerUpdateCalendarEventWithResponse Update meeting details in calendar

Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEvent` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerUpdateConnectionEventWithBodyWithResponse

func (c *ClientWithResponses) CalUnifiedCalendarsControllerUpdateConnectionEventWithBodyWithResponse(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerUpdateConnectionEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerUpdateConnectionEventResponse, error)

CalUnifiedCalendarsControllerUpdateConnectionEventWithBodyWithResponse Update event for a connection

Update an event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerUpdateConnectionEvent` operationId).

func (*ClientWithResponses) CalUnifiedCalendarsControllerUpdateConnectionEventWithResponse

CalUnifiedCalendarsControllerUpdateConnectionEventWithResponse Update event for a connection

Update an event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerUpdateConnectionEvent` operationId).

func (*ClientWithResponses) CalendarsControllerCheckIcsFeedWithResponse

func (c *ClientWithResponses) CalendarsControllerCheckIcsFeedWithResponse(ctx context.Context, params *CalendarsControllerCheckIcsFeedParams, reqEditors ...RequestEditorFn) (*CalendarsControllerCheckIcsFeedResponse, error)

CalendarsControllerCheckIcsFeedWithResponse Check an ICS feed

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/ics-feed/check (the `CalendarsControllerCheckIcsFeed` operationId).

func (*ClientWithResponses) CalendarsControllerCheckWithResponse

CalendarsControllerCheckWithResponse Check a calendar connection

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/{calendar}/check (the `CalendarsControllerCheck` operationId).

func (*ClientWithResponses) CalendarsControllerCreateIcsFeedWithBodyWithResponse

func (c *ClientWithResponses) CalendarsControllerCreateIcsFeedWithBodyWithResponse(ctx context.Context, params *CalendarsControllerCreateIcsFeedParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalendarsControllerCreateIcsFeedResponse, error)

CalendarsControllerCreateIcsFeedWithBodyWithResponse Save an ICS feed

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/calendars/ics-feed/save (the `CalendarsControllerCreateIcsFeed` operationId).

func (*ClientWithResponses) CalendarsControllerCreateIcsFeedWithResponse

CalendarsControllerCreateIcsFeedWithResponse Save an ICS feed

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/calendars/ics-feed/save (the `CalendarsControllerCreateIcsFeed` operationId).

func (*ClientWithResponses) CalendarsControllerDeleteCalendarCredentialsWithBodyWithResponse

CalendarsControllerDeleteCalendarCredentialsWithBodyWithResponse Disconnect a calendar

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/calendars/{calendar}/disconnect (the `CalendarsControllerDeleteCalendarCredentials` operationId).

func (*ClientWithResponses) CalendarsControllerDeleteCalendarCredentialsWithResponse

CalendarsControllerDeleteCalendarCredentialsWithResponse Disconnect a calendar

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/calendars/{calendar}/disconnect (the `CalendarsControllerDeleteCalendarCredentials` operationId).

func (*ClientWithResponses) CalendarsControllerGetBusyTimesWithResponse

func (c *ClientWithResponses) CalendarsControllerGetBusyTimesWithResponse(ctx context.Context, params *CalendarsControllerGetBusyTimesParams, reqEditors ...RequestEditorFn) (*CalendarsControllerGetBusyTimesResponse, error)

CalendarsControllerGetBusyTimesWithResponse Get busy times

Get busy times from a calendar. Example request URL is `https://api.cal.com/v2/calendars/busy-times?timeZone=Europe%2FMadrid&dateFrom=2024-12-18&dateTo=2024-12-18&calendarsToLoad[0][credentialId]=135&calendarsToLoad[0][externalId]=skrauciz%40gmail.com`. Note: loggedInUsersTz is deprecated, use timeZone instead.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/busy-times (the `CalendarsControllerGetBusyTimes` operationId).

func (*ClientWithResponses) CalendarsControllerGetCalendarsWithResponse

func (c *ClientWithResponses) CalendarsControllerGetCalendarsWithResponse(ctx context.Context, params *CalendarsControllerGetCalendarsParams, reqEditors ...RequestEditorFn) (*CalendarsControllerGetCalendarsResponse, error)

CalendarsControllerGetCalendarsWithResponse Get all calendars

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars (the `CalendarsControllerGetCalendars` operationId).

func (*ClientWithResponses) CalendarsControllerRedirectWithResponse

CalendarsControllerRedirectWithResponse Get OAuth connect URL

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/{calendar}/connect (the `CalendarsControllerRedirect` operationId).

func (*ClientWithResponses) CalendarsControllerSaveWithResponse

CalendarsControllerSaveWithResponse Save Google or Outlook calendar credentials

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/calendars/{calendar}/save (the `CalendarsControllerSave` operationId).

func (*ClientWithResponses) CalendarsControllerSyncCredentialsWithBodyWithResponse

func (c *ClientWithResponses) CalendarsControllerSyncCredentialsWithBodyWithResponse(ctx context.Context, calendar CalendarsControllerSyncCredentialsParamsCalendar, params *CalendarsControllerSyncCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalendarsControllerSyncCredentialsResponse, error)

CalendarsControllerSyncCredentialsWithBodyWithResponse Save Apple calendar credentials

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/calendars/{calendar}/credentials (the `CalendarsControllerSyncCredentials` operationId).

func (*ClientWithResponses) CalendarsControllerSyncCredentialsWithResponse

CalendarsControllerSyncCredentialsWithResponse Save Apple calendar credentials

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/calendars/{calendar}/credentials (the `CalendarsControllerSyncCredentials` operationId).

func (*ClientWithResponses) ConferencingControllerConnectWithResponse

ConferencingControllerConnectWithResponse Connect your conferencing application

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/conferencing/{app}/connect (the `ConferencingControllerConnect` operationId).

func (*ClientWithResponses) ConferencingControllerDefaultWithResponse

ConferencingControllerDefaultWithResponse Set your default conferencing application

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/conferencing/{app}/default (the `ConferencingControllerDefault` operationId).

func (*ClientWithResponses) ConferencingControllerDisconnectWithResponse

ConferencingControllerDisconnectWithResponse Disconnect your conferencing application

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/conferencing/{app}/disconnect (the `ConferencingControllerDisconnect` operationId).

func (*ClientWithResponses) ConferencingControllerGetDefaultWithResponse

func (c *ClientWithResponses) ConferencingControllerGetDefaultWithResponse(ctx context.Context, params *ConferencingControllerGetDefaultParams, reqEditors ...RequestEditorFn) (*ConferencingControllerGetDefaultResponse, error)

ConferencingControllerGetDefaultWithResponse Get your default conferencing application

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/conferencing/default (the `ConferencingControllerGetDefault` operationId).

func (*ClientWithResponses) ConferencingControllerListInstalledConferencingAppsWithResponse

func (c *ClientWithResponses) ConferencingControllerListInstalledConferencingAppsWithResponse(ctx context.Context, params *ConferencingControllerListInstalledConferencingAppsParams, reqEditors ...RequestEditorFn) (*ConferencingControllerListInstalledConferencingAppsResponse, error)

ConferencingControllerListInstalledConferencingAppsWithResponse List your conferencing applications

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/conferencing (the `ConferencingControllerListInstalledConferencingApps` operationId).

func (*ClientWithResponses) ConferencingControllerRedirectWithResponse

ConferencingControllerRedirectWithResponse Get OAuth conferencing app auth URL

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/conferencing/{app}/oauth/auth-url (the `ConferencingControllerRedirect` operationId).

func (*ClientWithResponses) ConferencingControllerSaveWithResponse

ConferencingControllerSaveWithResponse Conferencing app OAuth callback

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/conferencing/{app}/oauth/callback (the `ConferencingControllerSave` operationId).

func (*ClientWithResponses) DestinationCalendarsControllerUpdateDestinationCalendarsWithBodyWithResponse

func (c *ClientWithResponses) DestinationCalendarsControllerUpdateDestinationCalendarsWithBodyWithResponse(ctx context.Context, params *DestinationCalendarsControllerUpdateDestinationCalendarsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DestinationCalendarsControllerUpdateDestinationCalendarsResponse, error)

DestinationCalendarsControllerUpdateDestinationCalendarsWithBodyWithResponse Update destination calendars

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v2/destination-calendars (the `DestinationCalendarsControllerUpdateDestinationCalendars` operationId).

func (*ClientWithResponses) DestinationCalendarsControllerUpdateDestinationCalendarsWithResponse

DestinationCalendarsControllerUpdateDestinationCalendarsWithResponse Update destination calendars

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v2/destination-calendars (the `DestinationCalendarsControllerUpdateDestinationCalendars` operationId).

func (*ClientWithResponses) EventTypeWebhooksControllerCreateEventTypeWebhookWithBodyWithResponse

func (c *ClientWithResponses) EventTypeWebhooksControllerCreateEventTypeWebhookWithBodyWithResponse(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerCreateEventTypeWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerCreateEventTypeWebhookResponse, error)

EventTypeWebhooksControllerCreateEventTypeWebhookWithBodyWithResponse Create a webhook

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerCreateEventTypeWebhook` operationId).

func (*ClientWithResponses) EventTypeWebhooksControllerCreateEventTypeWebhookWithResponse

EventTypeWebhooksControllerCreateEventTypeWebhookWithResponse Create a webhook

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerCreateEventTypeWebhook` operationId).

func (*ClientWithResponses) EventTypeWebhooksControllerDeleteAllEventTypeWebhooksWithResponse

func (c *ClientWithResponses) EventTypeWebhooksControllerDeleteAllEventTypeWebhooksWithResponse(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerDeleteAllEventTypeWebhooksParams, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse, error)

EventTypeWebhooksControllerDeleteAllEventTypeWebhooksWithResponse Delete all webhooks

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerDeleteAllEventTypeWebhooks` operationId).

func (*ClientWithResponses) EventTypeWebhooksControllerDeleteEventTypeWebhookWithResponse

func (c *ClientWithResponses) EventTypeWebhooksControllerDeleteEventTypeWebhookWithResponse(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerDeleteEventTypeWebhookParams, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerDeleteEventTypeWebhookResponse, error)

EventTypeWebhooksControllerDeleteEventTypeWebhookWithResponse Delete a webhook

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerDeleteEventTypeWebhook` operationId).

func (*ClientWithResponses) EventTypeWebhooksControllerGetEventTypeWebhookWithResponse

func (c *ClientWithResponses) EventTypeWebhooksControllerGetEventTypeWebhookWithResponse(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerGetEventTypeWebhookParams, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerGetEventTypeWebhookResponse, error)

EventTypeWebhooksControllerGetEventTypeWebhookWithResponse Get a webhook

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerGetEventTypeWebhook` operationId).

func (*ClientWithResponses) EventTypeWebhooksControllerGetEventTypeWebhooksWithResponse

func (c *ClientWithResponses) EventTypeWebhooksControllerGetEventTypeWebhooksWithResponse(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerGetEventTypeWebhooksParams, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerGetEventTypeWebhooksResponse, error)

EventTypeWebhooksControllerGetEventTypeWebhooksWithResponse Get all webhooks

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerGetEventTypeWebhooks` operationId).

func (*ClientWithResponses) EventTypeWebhooksControllerUpdateEventTypeWebhookWithBodyWithResponse

func (c *ClientWithResponses) EventTypeWebhooksControllerUpdateEventTypeWebhookWithBodyWithResponse(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerUpdateEventTypeWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerUpdateEventTypeWebhookResponse, error)

EventTypeWebhooksControllerUpdateEventTypeWebhookWithBodyWithResponse Update a webhook

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerUpdateEventTypeWebhook` operationId).

func (*ClientWithResponses) EventTypeWebhooksControllerUpdateEventTypeWebhookWithResponse

EventTypeWebhooksControllerUpdateEventTypeWebhookWithResponse Update a webhook

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerUpdateEventTypeWebhook` operationId).

func (*ClientWithResponses) EventTypesController20240614CreateEventTypeWithBodyWithResponse

func (c *ClientWithResponses) EventTypesController20240614CreateEventTypeWithBodyWithResponse(ctx context.Context, params *EventTypesController20240614CreateEventTypeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventTypesController20240614CreateEventTypeResponse, error)

EventTypesController20240614CreateEventTypeWithBodyWithResponse Create an event type

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/event-types (the `EventTypesController20240614CreateEventType` operationId).

func (*ClientWithResponses) EventTypesController20240614CreateEventTypeWithResponse

EventTypesController20240614CreateEventTypeWithResponse Create an event type

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/event-types (the `EventTypesController20240614CreateEventType` operationId).

func (*ClientWithResponses) EventTypesController20240614DeleteEventTypeWithResponse

func (c *ClientWithResponses) EventTypesController20240614DeleteEventTypeWithResponse(ctx context.Context, eventTypeId float64, params *EventTypesController20240614DeleteEventTypeParams, reqEditors ...RequestEditorFn) (*EventTypesController20240614DeleteEventTypeResponse, error)

EventTypesController20240614DeleteEventTypeWithResponse Delete an event type

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/event-types/{eventTypeId} (the `EventTypesController20240614DeleteEventType` operationId).

func (*ClientWithResponses) EventTypesController20240614GetEventTypeByIdWithResponse

func (c *ClientWithResponses) EventTypesController20240614GetEventTypeByIdWithResponse(ctx context.Context, eventTypeId string, params *EventTypesController20240614GetEventTypeByIdParams, reqEditors ...RequestEditorFn) (*EventTypesController20240614GetEventTypeByIdResponse, error)

EventTypesController20240614GetEventTypeByIdWithResponse Get an event type

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Access control: This endpoint fetches an event type by ID and returns it only if the authenticated user is authorized. Authorization is granted to:
- System admins
- The event type owner
- Hosts of the event type or users assigned to the event type
- Team admins/owners of the team that owns the team event type
- Organization admins/owners of the event type owner's organization
- Organization admins/owners of the team's parent organization

Note: Update and delete endpoints remain restricted to the event type owner only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/event-types/{eventTypeId} (the `EventTypesController20240614GetEventTypeById` operationId).

func (*ClientWithResponses) EventTypesController20240614GetEventTypesWithResponse

func (c *ClientWithResponses) EventTypesController20240614GetEventTypesWithResponse(ctx context.Context, params *EventTypesController20240614GetEventTypesParams, reqEditors ...RequestEditorFn) (*EventTypesController20240614GetEventTypesResponse, error)

EventTypesController20240614GetEventTypesWithResponse Get all event types

Hidden event types are returned only if authentication is provided and it belongs to the event type owner.

Use the optional `sortCreatedAt` query parameter to order results by creation date (by ID). Accepts "asc" (oldest first) or "desc" (newest first). When not provided, no explicit ordering is applied.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/event-types (the `EventTypesController20240614GetEventTypes` operationId).

func (*ClientWithResponses) EventTypesController20240614UpdateEventTypeWithBodyWithResponse

func (c *ClientWithResponses) EventTypesController20240614UpdateEventTypeWithBodyWithResponse(ctx context.Context, eventTypeId float64, params *EventTypesController20240614UpdateEventTypeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventTypesController20240614UpdateEventTypeResponse, error)

EventTypesController20240614UpdateEventTypeWithBodyWithResponse Update an event type

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/event-types/{eventTypeId} (the `EventTypesController20240614UpdateEventType` operationId).

func (*ClientWithResponses) EventTypesController20240614UpdateEventTypeWithResponse

EventTypesController20240614UpdateEventTypeWithResponse Update an event type

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/event-types/{eventTypeId} (the `EventTypesController20240614UpdateEventType` operationId).

func (*ClientWithResponses) EventTypesPrivateLinksControllerCreatePrivateLinkWithBodyWithResponse

func (c *ClientWithResponses) EventTypesPrivateLinksControllerCreatePrivateLinkWithBodyWithResponse(ctx context.Context, eventTypeId float64, params *EventTypesPrivateLinksControllerCreatePrivateLinkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventTypesPrivateLinksControllerCreatePrivateLinkResponse, error)

EventTypesPrivateLinksControllerCreatePrivateLinkWithBodyWithResponse Create a private link for an event type

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/event-types/{eventTypeId}/private-links (the `EventTypesPrivateLinksControllerCreatePrivateLink` operationId).

func (*ClientWithResponses) EventTypesPrivateLinksControllerCreatePrivateLinkWithResponse

EventTypesPrivateLinksControllerCreatePrivateLinkWithResponse Create a private link for an event type

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/event-types/{eventTypeId}/private-links (the `EventTypesPrivateLinksControllerCreatePrivateLink` operationId).

func (*ClientWithResponses) EventTypesPrivateLinksControllerDeletePrivateLinkWithResponse

func (c *ClientWithResponses) EventTypesPrivateLinksControllerDeletePrivateLinkWithResponse(ctx context.Context, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerDeletePrivateLinkParams, reqEditors ...RequestEditorFn) (*EventTypesPrivateLinksControllerDeletePrivateLinkResponse, error)

EventTypesPrivateLinksControllerDeletePrivateLinkWithResponse Delete a private link for an event type

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/event-types/{eventTypeId}/private-links/{linkId} (the `EventTypesPrivateLinksControllerDeletePrivateLink` operationId).

func (*ClientWithResponses) EventTypesPrivateLinksControllerGetPrivateLinksWithResponse

func (c *ClientWithResponses) EventTypesPrivateLinksControllerGetPrivateLinksWithResponse(ctx context.Context, eventTypeId float64, params *EventTypesPrivateLinksControllerGetPrivateLinksParams, reqEditors ...RequestEditorFn) (*EventTypesPrivateLinksControllerGetPrivateLinksResponse, error)

EventTypesPrivateLinksControllerGetPrivateLinksWithResponse Get all private links for an event type

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/event-types/{eventTypeId}/private-links (the `EventTypesPrivateLinksControllerGetPrivateLinks` operationId).

func (*ClientWithResponses) EventTypesPrivateLinksControllerUpdatePrivateLinkWithBodyWithResponse

func (c *ClientWithResponses) EventTypesPrivateLinksControllerUpdatePrivateLinkWithBodyWithResponse(ctx context.Context, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerUpdatePrivateLinkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventTypesPrivateLinksControllerUpdatePrivateLinkResponse, error)

EventTypesPrivateLinksControllerUpdatePrivateLinkWithBodyWithResponse Update a private link for an event type

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/event-types/{eventTypeId}/private-links/{linkId} (the `EventTypesPrivateLinksControllerUpdatePrivateLink` operationId).

func (*ClientWithResponses) EventTypesPrivateLinksControllerUpdatePrivateLinkWithResponse

EventTypesPrivateLinksControllerUpdatePrivateLinkWithResponse Update a private link for an event type

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/event-types/{eventTypeId}/private-links/{linkId} (the `EventTypesPrivateLinksControllerUpdatePrivateLink` operationId).

func (*ClientWithResponses) MeControllerGetMeWithResponse

func (c *ClientWithResponses) MeControllerGetMeWithResponse(ctx context.Context, params *MeControllerGetMeParams, reqEditors ...RequestEditorFn) (*MeControllerGetMeResponse, error)

MeControllerGetMeWithResponse Get my profile

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/me (the `MeControllerGetMe` operationId).

func (*ClientWithResponses) MeControllerUpdateMeWithBodyWithResponse

func (c *ClientWithResponses) MeControllerUpdateMeWithBodyWithResponse(ctx context.Context, params *MeControllerUpdateMeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MeControllerUpdateMeResponse, error)

MeControllerUpdateMeWithBodyWithResponse Update my profile

Updates the authenticated user's profile. Email changes require verification and the primary email stays unchanged until verification completes, unless the new email is already a verified secondary email or the user is platform-managed.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/me (the `MeControllerUpdateMe` operationId).

func (*ClientWithResponses) MeControllerUpdateMeWithResponse

MeControllerUpdateMeWithResponse Update my profile

Updates the authenticated user's profile. Email changes require verification and the primary email stays unchanged until verification completes, unless the new email is already a verified secondary email or the user is platform-managed.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/me (the `MeControllerUpdateMe` operationId).

func (*ClientWithResponses) OAuth2ControllerGetClientWithResponse

func (c *ClientWithResponses) OAuth2ControllerGetClientWithResponse(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*OAuth2ControllerGetClientResponse, error)

OAuth2ControllerGetClientWithResponse Get OAuth2 client

Returns the OAuth2 client information for the given client ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/auth/oauth2/clients/{clientId} (the `OAuth2ControllerGetClient` operationId).

func (*ClientWithResponses) OAuth2ControllerTokenWithBodyWithResponse

func (c *ClientWithResponses) OAuth2ControllerTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuth2ControllerTokenResponse, error)

OAuth2ControllerTokenWithBodyWithResponse Exchange authorization code or refresh token for tokens

RFC 6749-compliant token endpoint. Pass client_id in the request body (Section 2.3.1). Use grant_type 'authorization_code' to exchange an auth code for tokens, or 'refresh_token' to refresh an access token. Accepts both application/x-www-form-urlencoded (standard per RFC 6749 Section 4.1.3) and application/json content types.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/auth/oauth2/token (the `OAuth2ControllerToken` operationId).

func (*ClientWithResponses) OAuth2ControllerTokenWithResponse

func (c *ClientWithResponses) OAuth2ControllerTokenWithResponse(ctx context.Context, body OAuth2ControllerTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*OAuth2ControllerTokenResponse, error)

OAuth2ControllerTokenWithResponse Exchange authorization code or refresh token for tokens

RFC 6749-compliant token endpoint. Pass client_id in the request body (Section 2.3.1). Use grant_type 'authorization_code' to exchange an auth code for tokens, or 'refresh_token' to refresh an access token. Accepts both application/x-www-form-urlencoded (standard per RFC 6749 Section 4.1.3) and application/json content types.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/auth/oauth2/token (the `OAuth2ControllerToken` operationId).

func (*ClientWithResponses) OAuthClientUsersControllerCreateUserWithBodyWithResponse

func (c *ClientWithResponses) OAuthClientUsersControllerCreateUserWithBodyWithResponse(ctx context.Context, clientId string, params *OAuthClientUsersControllerCreateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerCreateUserResponse, error)

OAuthClientUsersControllerCreateUserWithBodyWithResponse Create a managed user

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/oauth-clients/{clientId}/users (the `OAuthClientUsersControllerCreateUser` operationId).

func (*ClientWithResponses) OAuthClientUsersControllerCreateUserWithResponse

OAuthClientUsersControllerCreateUserWithResponse Create a managed user

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/oauth-clients/{clientId}/users (the `OAuthClientUsersControllerCreateUser` operationId).

func (*ClientWithResponses) OAuthClientUsersControllerDeleteUserWithResponse

func (c *ClientWithResponses) OAuthClientUsersControllerDeleteUserWithResponse(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerDeleteUserParams, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerDeleteUserResponse, error)

OAuthClientUsersControllerDeleteUserWithResponse Delete a managed user

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerDeleteUser` operationId).

func (*ClientWithResponses) OAuthClientUsersControllerForceRefreshWithResponse

func (c *ClientWithResponses) OAuthClientUsersControllerForceRefreshWithResponse(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerForceRefreshParams, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerForceRefreshResponse, error)

OAuthClientUsersControllerForceRefreshWithResponse Force refresh tokens

<Warning>These endpoints are deprecated and will be removed in the future.</Warning> If you have lost managed user access or refresh token, then you can get new ones by using OAuth credentials. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model `calAccessToken` and `calRefreshToken` fields. Response also contains `accessTokenExpiresAt` and `refreshTokenExpiresAt` fields, but if you decode the jwt token the payload will contain `clientId` (OAuth client ID), `ownerId` (user to whom token belongs ID), `iat` (issued at time) and `expiresAt` (when does the token expire) fields.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/oauth-clients/{clientId}/users/{userId}/force-refresh (the `OAuthClientUsersControllerForceRefresh` operationId).

func (*ClientWithResponses) OAuthClientUsersControllerGetManagedUsersWithResponse

func (c *ClientWithResponses) OAuthClientUsersControllerGetManagedUsersWithResponse(ctx context.Context, clientId string, params *OAuthClientUsersControllerGetManagedUsersParams, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerGetManagedUsersResponse, error)

OAuthClientUsersControllerGetManagedUsersWithResponse Get all managed users

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/oauth-clients/{clientId}/users (the `OAuthClientUsersControllerGetManagedUsers` operationId).

func (*ClientWithResponses) OAuthClientUsersControllerGetUserByIdWithResponse

func (c *ClientWithResponses) OAuthClientUsersControllerGetUserByIdWithResponse(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerGetUserByIdParams, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerGetUserByIdResponse, error)

OAuthClientUsersControllerGetUserByIdWithResponse Get a managed user

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerGetUserById` operationId).

func (*ClientWithResponses) OAuthClientUsersControllerUpdateUserWithBodyWithResponse

func (c *ClientWithResponses) OAuthClientUsersControllerUpdateUserWithBodyWithResponse(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerUpdateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerUpdateUserResponse, error)

OAuthClientUsersControllerUpdateUserWithBodyWithResponse Update a managed user

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerUpdateUser` operationId).

func (*ClientWithResponses) OAuthClientUsersControllerUpdateUserWithResponse

OAuthClientUsersControllerUpdateUserWithResponse Update a managed user

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerUpdateUser` operationId).

func (*ClientWithResponses) OAuthClientWebhooksControllerCreateOAuthClientWebhookWithBodyWithResponse

func (c *ClientWithResponses) OAuthClientWebhooksControllerCreateOAuthClientWebhookWithBodyWithResponse(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerCreateOAuthClientWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerCreateOAuthClientWebhookResponse, error)

OAuthClientWebhooksControllerCreateOAuthClientWebhookWithBodyWithResponse Create a webhook

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerCreateOAuthClientWebhook` operationId).

func (*ClientWithResponses) OAuthClientWebhooksControllerCreateOAuthClientWebhookWithResponse

OAuthClientWebhooksControllerCreateOAuthClientWebhookWithResponse Create a webhook

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerCreateOAuthClientWebhook` operationId).

func (*ClientWithResponses) OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksWithResponse

func (c *ClientWithResponses) OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksWithResponse(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksParams, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse, error)

OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksWithResponse Delete all webhooks

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooks` operationId).

func (*ClientWithResponses) OAuthClientWebhooksControllerDeleteOAuthClientWebhookWithResponse

func (c *ClientWithResponses) OAuthClientWebhooksControllerDeleteOAuthClientWebhookWithResponse(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerDeleteOAuthClientWebhookParams, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse, error)

OAuthClientWebhooksControllerDeleteOAuthClientWebhookWithResponse Delete a webhook

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerDeleteOAuthClientWebhook` operationId).

func (*ClientWithResponses) OAuthClientWebhooksControllerGetOAuthClientWebhookWithResponse

func (c *ClientWithResponses) OAuthClientWebhooksControllerGetOAuthClientWebhookWithResponse(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerGetOAuthClientWebhookParams, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerGetOAuthClientWebhookResponse, error)

OAuthClientWebhooksControllerGetOAuthClientWebhookWithResponse Get a webhook

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerGetOAuthClientWebhook` operationId).

func (*ClientWithResponses) OAuthClientWebhooksControllerGetOAuthClientWebhooksWithResponse

func (c *ClientWithResponses) OAuthClientWebhooksControllerGetOAuthClientWebhooksWithResponse(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerGetOAuthClientWebhooksParams, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerGetOAuthClientWebhooksResponse, error)

OAuthClientWebhooksControllerGetOAuthClientWebhooksWithResponse Get all webhooks

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerGetOAuthClientWebhooks` operationId).

func (*ClientWithResponses) OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithBodyWithResponse

func (c *ClientWithResponses) OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithBodyWithResponse(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerUpdateOAuthClientWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse, error)

OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithBodyWithResponse Update a webhook

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerUpdateOAuthClientWebhook` operationId).

func (*ClientWithResponses) OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithResponse

OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithResponse Update a webhook

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerUpdateOAuthClientWebhook` operationId).

func (*ClientWithResponses) OAuthClientsControllerCreateOAuthClientWithBodyWithResponse

func (c *ClientWithResponses) OAuthClientsControllerCreateOAuthClientWithBodyWithResponse(ctx context.Context, params *OAuthClientsControllerCreateOAuthClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthClientsControllerCreateOAuthClientResponse, error)

OAuthClientsControllerCreateOAuthClientWithBodyWithResponse Create an OAuth client

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/oauth-clients (the `OAuthClientsControllerCreateOAuthClient` operationId).

func (*ClientWithResponses) OAuthClientsControllerCreateOAuthClientWithResponse

OAuthClientsControllerCreateOAuthClientWithResponse Create an OAuth client

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/oauth-clients (the `OAuthClientsControllerCreateOAuthClient` operationId).

func (*ClientWithResponses) OAuthClientsControllerDeleteOAuthClientWithResponse

func (c *ClientWithResponses) OAuthClientsControllerDeleteOAuthClientWithResponse(ctx context.Context, clientId string, params *OAuthClientsControllerDeleteOAuthClientParams, reqEditors ...RequestEditorFn) (*OAuthClientsControllerDeleteOAuthClientResponse, error)

OAuthClientsControllerDeleteOAuthClientWithResponse Delete an OAuth client

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/oauth-clients/{clientId} (the `OAuthClientsControllerDeleteOAuthClient` operationId).

func (*ClientWithResponses) OAuthClientsControllerGetOAuthClientByIdWithResponse

func (c *ClientWithResponses) OAuthClientsControllerGetOAuthClientByIdWithResponse(ctx context.Context, clientId string, params *OAuthClientsControllerGetOAuthClientByIdParams, reqEditors ...RequestEditorFn) (*OAuthClientsControllerGetOAuthClientByIdResponse, error)

OAuthClientsControllerGetOAuthClientByIdWithResponse Get an OAuth client

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/oauth-clients/{clientId} (the `OAuthClientsControllerGetOAuthClientById` operationId).

func (*ClientWithResponses) OAuthClientsControllerGetOAuthClientsWithResponse

func (c *ClientWithResponses) OAuthClientsControllerGetOAuthClientsWithResponse(ctx context.Context, params *OAuthClientsControllerGetOAuthClientsParams, reqEditors ...RequestEditorFn) (*OAuthClientsControllerGetOAuthClientsResponse, error)

OAuthClientsControllerGetOAuthClientsWithResponse Get all OAuth clients

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/oauth-clients (the `OAuthClientsControllerGetOAuthClients` operationId).

func (*ClientWithResponses) OAuthClientsControllerUpdateOAuthClientWithBodyWithResponse

func (c *ClientWithResponses) OAuthClientsControllerUpdateOAuthClientWithBodyWithResponse(ctx context.Context, clientId string, params *OAuthClientsControllerUpdateOAuthClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthClientsControllerUpdateOAuthClientResponse, error)

OAuthClientsControllerUpdateOAuthClientWithBodyWithResponse Update an OAuth client

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/oauth-clients/{clientId} (the `OAuthClientsControllerUpdateOAuthClient` operationId).

func (*ClientWithResponses) OAuthClientsControllerUpdateOAuthClientWithResponse

OAuthClientsControllerUpdateOAuthClientWithResponse Update an OAuth client

<Warning>These endpoints are deprecated and will be removed in the future.</Warning>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/oauth-clients/{clientId} (the `OAuthClientsControllerUpdateOAuthClient` operationId).

func (*ClientWithResponses) OAuthFlowControllerRefreshTokensWithBodyWithResponse

func (c *ClientWithResponses) OAuthFlowControllerRefreshTokensWithBodyWithResponse(ctx context.Context, clientId string, params *OAuthFlowControllerRefreshTokensParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthFlowControllerRefreshTokensResponse, error)

OAuthFlowControllerRefreshTokensWithBodyWithResponse Refresh managed user tokens

<Warning>These endpoints are deprecated and will be removed in the future.</Warning> If managed user access token is expired then get a new one using this endpoint - it will also refresh the refresh token, because we use

"refresh token rotation" mechanism. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model `calAccessToken` and `calRefreshToken` fields.

Response also contains `accessTokenExpiresAt` and `refreshTokenExpiresAt` fields, but if you decode the jwt token the payload will contain `clientId` (OAuth client ID), `ownerId` (user to whom token belongs ID), `iat` (issued at time) and `expiresAt` (when does the token expire) fields.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/oauth/{clientId}/refresh (the `OAuthFlowControllerRefreshTokens` operationId).

func (*ClientWithResponses) OAuthFlowControllerRefreshTokensWithResponse

OAuthFlowControllerRefreshTokensWithResponse Refresh managed user tokens

<Warning>These endpoints are deprecated and will be removed in the future.</Warning> If managed user access token is expired then get a new one using this endpoint - it will also refresh the refresh token, because we use

"refresh token rotation" mechanism. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model `calAccessToken` and `calRefreshToken` fields.

Response also contains `accessTokenExpiresAt` and `refreshTokenExpiresAt` fields, but if you decode the jwt token the payload will contain `clientId` (OAuth client ID), `ownerId` (user to whom token belongs ID), `iat` (issued at time) and `expiresAt` (when does the token expire) fields.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/oauth/{clientId}/refresh (the `OAuthFlowControllerRefreshTokens` operationId).

func (*ClientWithResponses) SchedulesController20240611CreateScheduleWithBodyWithResponse

func (c *ClientWithResponses) SchedulesController20240611CreateScheduleWithBodyWithResponse(ctx context.Context, params *SchedulesController20240611CreateScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesController20240611CreateScheduleResponse, error)

SchedulesController20240611CreateScheduleWithBodyWithResponse Create a schedule

Create a schedule for the authenticated user.

The point of creating schedules is for event types to be available at specific times.

The first goal of schedules is to have a default schedule. If you are platform customer and created managed users, then it is important to note that each managed user should have a default schedule.
1. If you passed `timeZone` when creating managed user, then the default schedule from Monday to Friday from 9AM to 5PM will be created with that timezone. The managed user can then change the default schedule via the `AvailabilitySettings` atom.
2. If you did not, then we assume you want the user to have this specific schedule right away. You should create a default schedule by specifying
`"isDefault": true` in the request body. Until the user has a default schedule the user can't be booked nor manage their schedule via the AvailabilitySettings atom.

The second goal of schedules is to create another schedule that event types can point to. This is useful for when an event is booked because availability is not checked against the default schedule but instead against that specific schedule.
After creating a non-default schedule, you can update an event type to point to that schedule via the PATCH `event-types/{eventTypeId}` endpoint.

When specifying start time and end time for each day use the 24 hour format e.g. 08:00, 15:00 etc.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/schedules (the `SchedulesController20240611CreateSchedule` operationId).

func (*ClientWithResponses) SchedulesController20240611CreateScheduleWithResponse

SchedulesController20240611CreateScheduleWithResponse Create a schedule

Create a schedule for the authenticated user.

The point of creating schedules is for event types to be available at specific times.

The first goal of schedules is to have a default schedule. If you are platform customer and created managed users, then it is important to note that each managed user should have a default schedule.
1. If you passed `timeZone` when creating managed user, then the default schedule from Monday to Friday from 9AM to 5PM will be created with that timezone. The managed user can then change the default schedule via the `AvailabilitySettings` atom.
2. If you did not, then we assume you want the user to have this specific schedule right away. You should create a default schedule by specifying
`"isDefault": true` in the request body. Until the user has a default schedule the user can't be booked nor manage their schedule via the AvailabilitySettings atom.

The second goal of schedules is to create another schedule that event types can point to. This is useful for when an event is booked because availability is not checked against the default schedule but instead against that specific schedule.
After creating a non-default schedule, you can update an event type to point to that schedule via the PATCH `event-types/{eventTypeId}` endpoint.

When specifying start time and end time for each day use the 24 hour format e.g. 08:00, 15:00 etc.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/schedules (the `SchedulesController20240611CreateSchedule` operationId).

func (*ClientWithResponses) SchedulesController20240611DeleteScheduleWithResponse

func (c *ClientWithResponses) SchedulesController20240611DeleteScheduleWithResponse(ctx context.Context, scheduleId float64, params *SchedulesController20240611DeleteScheduleParams, reqEditors ...RequestEditorFn) (*SchedulesController20240611DeleteScheduleResponse, error)

SchedulesController20240611DeleteScheduleWithResponse Delete a schedule

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/schedules/{scheduleId} (the `SchedulesController20240611DeleteSchedule` operationId).

func (*ClientWithResponses) SchedulesController20240611GetDefaultScheduleWithResponse

func (c *ClientWithResponses) SchedulesController20240611GetDefaultScheduleWithResponse(ctx context.Context, params *SchedulesController20240611GetDefaultScheduleParams, reqEditors ...RequestEditorFn) (*SchedulesController20240611GetDefaultScheduleResponse, error)

SchedulesController20240611GetDefaultScheduleWithResponse Get default schedule

Get the default schedule of the authenticated user.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/schedules/default (the `SchedulesController20240611GetDefaultSchedule` operationId).

func (*ClientWithResponses) SchedulesController20240611GetScheduleWithResponse

func (c *ClientWithResponses) SchedulesController20240611GetScheduleWithResponse(ctx context.Context, scheduleId float64, params *SchedulesController20240611GetScheduleParams, reqEditors ...RequestEditorFn) (*SchedulesController20240611GetScheduleResponse, error)

SchedulesController20240611GetScheduleWithResponse Get a schedule

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/schedules/{scheduleId} (the `SchedulesController20240611GetSchedule` operationId).

func (*ClientWithResponses) SchedulesController20240611GetSchedulesWithResponse

func (c *ClientWithResponses) SchedulesController20240611GetSchedulesWithResponse(ctx context.Context, params *SchedulesController20240611GetSchedulesParams, reqEditors ...RequestEditorFn) (*SchedulesController20240611GetSchedulesResponse, error)

SchedulesController20240611GetSchedulesWithResponse Get all schedules

Get all schedules of the authenticated user.

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/schedules (the `SchedulesController20240611GetSchedules` operationId).

func (*ClientWithResponses) SchedulesController20240611UpdateScheduleWithBodyWithResponse

func (c *ClientWithResponses) SchedulesController20240611UpdateScheduleWithBodyWithResponse(ctx context.Context, scheduleId string, params *SchedulesController20240611UpdateScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesController20240611UpdateScheduleResponse, error)

SchedulesController20240611UpdateScheduleWithBodyWithResponse Update a schedule

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/schedules/{scheduleId} (the `SchedulesController20240611UpdateSchedule` operationId).

func (*ClientWithResponses) SchedulesController20240611UpdateScheduleWithResponse

SchedulesController20240611UpdateScheduleWithResponse Update a schedule

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/schedules/{scheduleId} (the `SchedulesController20240611UpdateSchedule` operationId).

func (*ClientWithResponses) SelectedCalendarsControllerAddSelectedCalendarWithBodyWithResponse

func (c *ClientWithResponses) SelectedCalendarsControllerAddSelectedCalendarWithBodyWithResponse(ctx context.Context, params *SelectedCalendarsControllerAddSelectedCalendarParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectedCalendarsControllerAddSelectedCalendarResponse, error)

SelectedCalendarsControllerAddSelectedCalendarWithBodyWithResponse Add a selected calendar

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/selected-calendars (the `SelectedCalendarsControllerAddSelectedCalendar` operationId).

func (*ClientWithResponses) SelectedCalendarsControllerAddSelectedCalendarWithResponse

SelectedCalendarsControllerAddSelectedCalendarWithResponse Add a selected calendar

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/selected-calendars (the `SelectedCalendarsControllerAddSelectedCalendar` operationId).

func (*ClientWithResponses) SelectedCalendarsControllerDeleteSelectedCalendarWithResponse

func (c *ClientWithResponses) SelectedCalendarsControllerDeleteSelectedCalendarWithResponse(ctx context.Context, params *SelectedCalendarsControllerDeleteSelectedCalendarParams, reqEditors ...RequestEditorFn) (*SelectedCalendarsControllerDeleteSelectedCalendarResponse, error)

SelectedCalendarsControllerDeleteSelectedCalendarWithResponse Delete a selected calendar

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/selected-calendars (the `SelectedCalendarsControllerDeleteSelectedCalendar` operationId).

func (*ClientWithResponses) SlotsController20240904DeleteReservedSlotWithResponse

func (c *ClientWithResponses) SlotsController20240904DeleteReservedSlotWithResponse(ctx context.Context, uid string, params *SlotsController20240904DeleteReservedSlotParams, reqEditors ...RequestEditorFn) (*SlotsController20240904DeleteReservedSlotResponse, error)

SlotsController20240904DeleteReservedSlotWithResponse Delete a reserved slot

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/slots/reservations/{uid} (the `SlotsController20240904DeleteReservedSlot` operationId).

func (*ClientWithResponses) SlotsController20240904GetAvailableSlotsWithResponse

func (c *ClientWithResponses) SlotsController20240904GetAvailableSlotsWithResponse(ctx context.Context, params *SlotsController20240904GetAvailableSlotsParams, reqEditors ...RequestEditorFn) (*SlotsController20240904GetAvailableSlotsResponse, error)

SlotsController20240904GetAvailableSlotsWithResponse Get available time slots for an event type

There are 4 ways to get available slots for event type of an individual user:

1. By event type id. Example '/v2/slots?eventTypeId=10&start=2050-09-05&end=2050-09-06&timeZone=Europe/Rome'

2. By event type slug + username. Example '/v2/slots?eventTypeSlug=intro&username=bob&start=2050-09-05&end=2050-09-06'

3. By event type slug + username + organization slug when searching within an organization. Example '/v2/slots?organizationSlug=org-slug&eventTypeSlug=intro&username=bob&start=2050-09-05&end=2050-09-06'

4. By usernames only (used for dynamic event type - there is no specific event but you want to know when 2 or more people are available). Example '/v2/slots?usernames=alice,bob&username=bob&organizationSlug=org-slug&start=2050-09-05&end=2050-09-06'. As you see you also need to provide the slug of the organization to which each user in the 'usernames' array belongs.

And 3 ways to get available slots for team event type:

1. By team event type id. Example '/v2/slots?eventTypeId=10&start=2050-09-05&end=2050-09-06&timeZone=Europe/Rome'.
   **Note for managed event types**: Managed event types are templates that create individual child event types for each team member. You cannot fetch slots for the parent managed event type directly. Instead, you must:
   - Find the child event type IDs (the ones assigned to specific users)
   - Use those child event type IDs to fetch slots as individual user event types using as described in the individual user section above.

2. By team event type slug + team slug. Example '/v2/slots?eventTypeSlug=intro&teamSlug=team-slug&start=2050-09-05&end=2050-09-06'

3. By team event type slug + team slug + organization slug when searching within an organization. Example '/v2/slots?organizationSlug=org-slug&eventTypeSlug=intro&teamSlug=team-slug&start=2050-09-05&end=2050-09-06'

All of them require "start" and "end" query parameters which define the time range for which available slots should be checked.
Optional parameters are:
- timeZone: Time zone in which the available slots should be returned. Defaults to UTC.
- duration: Only use for event types that allow multiple durations or for dynamic event types. If not passed for multiple duration event types defaults to default duration. For dynamic event types defaults to 30 aka each returned slot is 30 minutes long. So duration=60 means that returned slots will be each 60 minutes long.
- format: Format of the slots. By default return is an object where each key is date and value is array of slots as string. If you want to get start and end of each slot use "range" as value.
- bookingUidToReschedule: When rescheduling an existing booking, provide the booking's unique identifier to exclude its time slot from busy time calculations. This ensures the original booking time appears as available for rescheduling.

 <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/slots (the `SlotsController20240904GetAvailableSlots` operationId).

func (*ClientWithResponses) SlotsController20240904GetReservedSlotWithResponse

func (c *ClientWithResponses) SlotsController20240904GetReservedSlotWithResponse(ctx context.Context, uid string, params *SlotsController20240904GetReservedSlotParams, reqEditors ...RequestEditorFn) (*SlotsController20240904GetReservedSlotResponse, error)

SlotsController20240904GetReservedSlotWithResponse Get reserved slot

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/slots/reservations/{uid} (the `SlotsController20240904GetReservedSlot` operationId).

func (*ClientWithResponses) SlotsController20240904ReserveSlotWithBodyWithResponse

func (c *ClientWithResponses) SlotsController20240904ReserveSlotWithBodyWithResponse(ctx context.Context, params *SlotsController20240904ReserveSlotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SlotsController20240904ReserveSlotResponse, error)

SlotsController20240904ReserveSlotWithBodyWithResponse Reserve a slot

Make a slot not available for others to book for a certain period of time. If you authenticate using oAuth credentials, api key or access token

then you can also specify custom duration for how long the slot should be reserved for (defaults to 5 minutes).

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/slots/reservations (the `SlotsController20240904ReserveSlot` operationId).

func (*ClientWithResponses) SlotsController20240904ReserveSlotWithResponse

SlotsController20240904ReserveSlotWithResponse Reserve a slot

Make a slot not available for others to book for a certain period of time. If you authenticate using oAuth credentials, api key or access token

then you can also specify custom duration for how long the slot should be reserved for (defaults to 5 minutes).

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/slots/reservations (the `SlotsController20240904ReserveSlot` operationId).

func (*ClientWithResponses) SlotsController20240904UpdateReservedSlotWithBodyWithResponse

func (c *ClientWithResponses) SlotsController20240904UpdateReservedSlotWithBodyWithResponse(ctx context.Context, uid string, params *SlotsController20240904UpdateReservedSlotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SlotsController20240904UpdateReservedSlotResponse, error)

SlotsController20240904UpdateReservedSlotWithBodyWithResponse Update a reserved slot

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/slots/reservations/{uid} (the `SlotsController20240904UpdateReservedSlot` operationId).

func (*ClientWithResponses) SlotsController20240904UpdateReservedSlotWithResponse

SlotsController20240904UpdateReservedSlotWithResponse Update a reserved slot

<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/slots/reservations/{uid} (the `SlotsController20240904UpdateReservedSlot` operationId).

func (*ClientWithResponses) StripeControllerCheckWithResponse

func (c *ClientWithResponses) StripeControllerCheckWithResponse(ctx context.Context, params *StripeControllerCheckParams, reqEditors ...RequestEditorFn) (*StripeControllerCheckResponse, error)

StripeControllerCheckWithResponse Check Stripe connection

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/stripe/check (the `StripeControllerCheck` operationId).

func (*ClientWithResponses) StripeControllerRedirectWithResponse

func (c *ClientWithResponses) StripeControllerRedirectWithResponse(ctx context.Context, params *StripeControllerRedirectParams, reqEditors ...RequestEditorFn) (*StripeControllerRedirectResponse, error)

StripeControllerRedirectWithResponse Get Stripe connect URL

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/stripe/connect (the `StripeControllerRedirect` operationId).

func (*ClientWithResponses) StripeControllerSaveWithResponse

func (c *ClientWithResponses) StripeControllerSaveWithResponse(ctx context.Context, params *StripeControllerSaveParams, reqEditors ...RequestEditorFn) (*StripeControllerSaveResponse, error)

StripeControllerSaveWithResponse Save Stripe credentials

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/stripe/save (the `StripeControllerSave` operationId).

func (*ClientWithResponses) UserVerifiedResourcesControllerGetVerifiedEmailByIdWithResponse

func (c *ClientWithResponses) UserVerifiedResourcesControllerGetVerifiedEmailByIdWithResponse(ctx context.Context, id float64, params *UserVerifiedResourcesControllerGetVerifiedEmailByIdParams, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerGetVerifiedEmailByIdResponse, error)

UserVerifiedResourcesControllerGetVerifiedEmailByIdWithResponse Get verified email by id

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/verified-resources/emails/{id} (the `UserVerifiedResourcesControllerGetVerifiedEmailById` operationId).

func (*ClientWithResponses) UserVerifiedResourcesControllerGetVerifiedEmailsWithResponse

func (c *ClientWithResponses) UserVerifiedResourcesControllerGetVerifiedEmailsWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerGetVerifiedEmailsParams, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerGetVerifiedEmailsResponse, error)

UserVerifiedResourcesControllerGetVerifiedEmailsWithResponse Get list of verified emails

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/verified-resources/emails (the `UserVerifiedResourcesControllerGetVerifiedEmails` operationId).

func (*ClientWithResponses) UserVerifiedResourcesControllerGetVerifiedPhoneByIdWithResponse

func (c *ClientWithResponses) UserVerifiedResourcesControllerGetVerifiedPhoneByIdWithResponse(ctx context.Context, id float64, params *UserVerifiedResourcesControllerGetVerifiedPhoneByIdParams, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse, error)

UserVerifiedResourcesControllerGetVerifiedPhoneByIdWithResponse Get verified phone number by id

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/verified-resources/phones/{id} (the `UserVerifiedResourcesControllerGetVerifiedPhoneById` operationId).

func (*ClientWithResponses) UserVerifiedResourcesControllerGetVerifiedPhoneNumbersWithResponse

func (c *ClientWithResponses) UserVerifiedResourcesControllerGetVerifiedPhoneNumbersWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerGetVerifiedPhoneNumbersParams, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse, error)

UserVerifiedResourcesControllerGetVerifiedPhoneNumbersWithResponse Get list of verified phone numbers

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/verified-resources/phones (the `UserVerifiedResourcesControllerGetVerifiedPhoneNumbers` operationId).

func (*ClientWithResponses) UserVerifiedResourcesControllerRequestEmailVerificationCodeWithBodyWithResponse

func (c *ClientWithResponses) UserVerifiedResourcesControllerRequestEmailVerificationCodeWithBodyWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerRequestEmailVerificationCodeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerRequestEmailVerificationCodeResponse, error)

UserVerifiedResourcesControllerRequestEmailVerificationCodeWithBodyWithResponse Request email verification code

Sends a verification code to the email.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/verified-resources/emails/verification-code/request (the `UserVerifiedResourcesControllerRequestEmailVerificationCode` operationId).

func (*ClientWithResponses) UserVerifiedResourcesControllerRequestEmailVerificationCodeWithResponse

UserVerifiedResourcesControllerRequestEmailVerificationCodeWithResponse Request email verification code

Sends a verification code to the email.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/verified-resources/emails/verification-code/request (the `UserVerifiedResourcesControllerRequestEmailVerificationCode` operationId).

func (*ClientWithResponses) UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithBodyWithResponse

func (c *ClientWithResponses) UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithBodyWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerRequestPhoneVerificationCodeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse, error)

UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithBodyWithResponse Request phone number verification code

Sends a verification code to the phone number.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/verified-resources/phones/verification-code/request (the `UserVerifiedResourcesControllerRequestPhoneVerificationCode` operationId).

func (*ClientWithResponses) UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithResponse

UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithResponse Request phone number verification code

Sends a verification code to the phone number.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/verified-resources/phones/verification-code/request (the `UserVerifiedResourcesControllerRequestPhoneVerificationCode` operationId).

func (*ClientWithResponses) UserVerifiedResourcesControllerVerifyEmailWithBodyWithResponse

func (c *ClientWithResponses) UserVerifiedResourcesControllerVerifyEmailWithBodyWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerVerifyEmailParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerVerifyEmailResponse, error)

UserVerifiedResourcesControllerVerifyEmailWithBodyWithResponse Verify an email

Use code to verify an email.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/verified-resources/emails/verification-code/verify (the `UserVerifiedResourcesControllerVerifyEmail` operationId).

func (*ClientWithResponses) UserVerifiedResourcesControllerVerifyEmailWithResponse

UserVerifiedResourcesControllerVerifyEmailWithResponse Verify an email

Use code to verify an email.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/verified-resources/emails/verification-code/verify (the `UserVerifiedResourcesControllerVerifyEmail` operationId).

func (*ClientWithResponses) UserVerifiedResourcesControllerVerifyPhoneNumberWithBodyWithResponse

func (c *ClientWithResponses) UserVerifiedResourcesControllerVerifyPhoneNumberWithBodyWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerVerifyPhoneNumberParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerVerifyPhoneNumberResponse, error)

UserVerifiedResourcesControllerVerifyPhoneNumberWithBodyWithResponse Verify a phone number

Use code to verify a phone number.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/verified-resources/phones/verification-code/verify (the `UserVerifiedResourcesControllerVerifyPhoneNumber` operationId).

func (*ClientWithResponses) UserVerifiedResourcesControllerVerifyPhoneNumberWithResponse

UserVerifiedResourcesControllerVerifyPhoneNumberWithResponse Verify a phone number

Use code to verify a phone number.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/verified-resources/phones/verification-code/verify (the `UserVerifiedResourcesControllerVerifyPhoneNumber` operationId).

func (*ClientWithResponses) WebhooksControllerCreateWebhookWithBodyWithResponse

func (c *ClientWithResponses) WebhooksControllerCreateWebhookWithBodyWithResponse(ctx context.Context, params *WebhooksControllerCreateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WebhooksControllerCreateWebhookResponse, error)

WebhooksControllerCreateWebhookWithBodyWithResponse Create a webhook

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/webhooks (the `WebhooksControllerCreateWebhook` operationId).

func (*ClientWithResponses) WebhooksControllerCreateWebhookWithResponse

WebhooksControllerCreateWebhookWithResponse Create a webhook

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/webhooks (the `WebhooksControllerCreateWebhook` operationId).

func (*ClientWithResponses) WebhooksControllerDeleteWebhookWithResponse

func (c *ClientWithResponses) WebhooksControllerDeleteWebhookWithResponse(ctx context.Context, webhookId string, params *WebhooksControllerDeleteWebhookParams, reqEditors ...RequestEditorFn) (*WebhooksControllerDeleteWebhookResponse, error)

WebhooksControllerDeleteWebhookWithResponse Delete a webhook

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/webhooks/{webhookId} (the `WebhooksControllerDeleteWebhook` operationId).

func (*ClientWithResponses) WebhooksControllerGetWebhookWithResponse

func (c *ClientWithResponses) WebhooksControllerGetWebhookWithResponse(ctx context.Context, webhookId string, params *WebhooksControllerGetWebhookParams, reqEditors ...RequestEditorFn) (*WebhooksControllerGetWebhookResponse, error)

WebhooksControllerGetWebhookWithResponse Get a webhook

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/webhooks/{webhookId} (the `WebhooksControllerGetWebhook` operationId).

func (*ClientWithResponses) WebhooksControllerGetWebhooksWithResponse

func (c *ClientWithResponses) WebhooksControllerGetWebhooksWithResponse(ctx context.Context, params *WebhooksControllerGetWebhooksParams, reqEditors ...RequestEditorFn) (*WebhooksControllerGetWebhooksResponse, error)

WebhooksControllerGetWebhooksWithResponse Get all webhooks

Gets a paginated list of webhooks for the authenticated user.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/webhooks (the `WebhooksControllerGetWebhooks` operationId).

func (*ClientWithResponses) WebhooksControllerUpdateWebhookWithBodyWithResponse

func (c *ClientWithResponses) WebhooksControllerUpdateWebhookWithBodyWithResponse(ctx context.Context, webhookId string, params *WebhooksControllerUpdateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WebhooksControllerUpdateWebhookResponse, error)

WebhooksControllerUpdateWebhookWithBodyWithResponse Update a webhook

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/webhooks/{webhookId} (the `WebhooksControllerUpdateWebhook` operationId).

func (*ClientWithResponses) WebhooksControllerUpdateWebhookWithResponse

WebhooksControllerUpdateWebhookWithResponse Update a webhook

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/webhooks/{webhookId} (the `WebhooksControllerUpdateWebhook` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// ApiKeysControllerRefreshWithBodyWithResponse Refresh API Key
	//
	// Generate a new API key and delete the current one. Provide API key to refresh as a Bearer token in the Authorization header (e.g. "Authorization: Bearer <apiKey>").
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/api-keys/refresh (the `ApiKeysControllerRefresh` operationId).
	ApiKeysControllerRefreshWithBodyWithResponse(ctx context.Context, params *ApiKeysControllerRefreshParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiKeysControllerRefreshResponse, error)

	// ApiKeysControllerRefreshWithResponse Refresh API Key
	//
	// Generate a new API key and delete the current one. Provide API key to refresh as a Bearer token in the Authorization header (e.g. "Authorization: Bearer <apiKey>").
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/api-keys/refresh (the `ApiKeysControllerRefresh` operationId).
	ApiKeysControllerRefreshWithResponse(ctx context.Context, params *ApiKeysControllerRefreshParams, body ApiKeysControllerRefreshJSONRequestBody, reqEditors ...RequestEditorFn) (*ApiKeysControllerRefreshResponse, error)

	// OAuth2ControllerGetClientWithResponse Get OAuth2 client
	//
	// Returns the OAuth2 client information for the given client ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/auth/oauth2/clients/{clientId} (the `OAuth2ControllerGetClient` operationId).
	OAuth2ControllerGetClientWithResponse(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*OAuth2ControllerGetClientResponse, error)

	// OAuth2ControllerTokenWithBodyWithResponse Exchange authorization code or refresh token for tokens
	//
	// RFC 6749-compliant token endpoint. Pass client_id in the request body (Section 2.3.1). Use grant_type 'authorization_code' to exchange an auth code for tokens, or 'refresh_token' to refresh an access token. Accepts both application/x-www-form-urlencoded (standard per RFC 6749 Section 4.1.3) and application/json content types.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/auth/oauth2/token (the `OAuth2ControllerToken` operationId).
	OAuth2ControllerTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuth2ControllerTokenResponse, error)

	// OAuth2ControllerTokenWithResponse Exchange authorization code or refresh token for tokens
	//
	// RFC 6749-compliant token endpoint. Pass client_id in the request body (Section 2.3.1). Use grant_type 'authorization_code' to exchange an auth code for tokens, or 'refresh_token' to refresh an access token. Accepts both application/x-www-form-urlencoded (standard per RFC 6749 Section 4.1.3) and application/json content types.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/auth/oauth2/token (the `OAuth2ControllerToken` operationId).
	OAuth2ControllerTokenWithResponse(ctx context.Context, body OAuth2ControllerTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*OAuth2ControllerTokenResponse, error)

	// BookingsController20240813GetBookingsWithResponse Get all bookings
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/bookings (the `BookingsController20240813GetBookings` operationId).
	BookingsController20240813GetBookingsWithResponse(ctx context.Context, params *BookingsController20240813GetBookingsParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetBookingsResponse, error)

	// BookingsController20240813CreateBookingWithBodyWithResponse Create a booking
	//
	//
	//       POST /v2/bookings is used to create regular bookings, recurring bookings and instant bookings. The request bodies for all 3 are almost the same except:
	//       If eventTypeId in the request body is id of a regular event, then regular booking is created.
	//
	//       If it is an id of a recurring event type, then recurring booking is created.
	//
	//       Meaning that the request bodies are equal but the outcome depends on what kind of event type it is with the goal of making it as seamless for developers as possible.
	//
	//       The start needs to be in UTC aka if the timezone is GMT+2 in Rome and meeting should start at 11, then UTC time should have hours 09:00 aka without time zone.
	//
	//       Finally, there are 2 ways to book an event type belonging to an individual user:
	//       1. Provide `eventTypeId` in the request body.
	//       2. Provide `eventTypeSlug` and `username` and optionally `organizationSlug` if the user with the username is within an organization.
	//
	//       And 2 ways to book and event type belonging to a team:
	//       1. Provide `eventTypeId` in the request body.
	//       2. Provide `eventTypeSlug` and `teamSlug` and optionally `organizationSlug` if the team with the teamSlug is within an organization.
	//
	//       If you are creating a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
	//       you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
	//
	//       For event types that have SMS reminders enabled, you need to pass the attendee's phone number in the request body via `attendee.phoneNumber` (e.g., "+19876543210" in international format). This is an optional field, but becomes required when SMS reminders are enabled for the event type. For the complete attendee object structure, see the attendee schema in the `/docs` Swagger endpoint.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings (the `BookingsController20240813CreateBooking` operationId).
	BookingsController20240813CreateBookingWithBodyWithResponse(ctx context.Context, params *BookingsController20240813CreateBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingsController20240813CreateBookingResponse, error)

	// BookingsController20240813CreateBookingWithResponse Create a booking
	//
	//
	//       POST /v2/bookings is used to create regular bookings, recurring bookings and instant bookings. The request bodies for all 3 are almost the same except:
	//       If eventTypeId in the request body is id of a regular event, then regular booking is created.
	//
	//       If it is an id of a recurring event type, then recurring booking is created.
	//
	//       Meaning that the request bodies are equal but the outcome depends on what kind of event type it is with the goal of making it as seamless for developers as possible.
	//
	//       The start needs to be in UTC aka if the timezone is GMT+2 in Rome and meeting should start at 11, then UTC time should have hours 09:00 aka without time zone.
	//
	//       Finally, there are 2 ways to book an event type belonging to an individual user:
	//       1. Provide `eventTypeId` in the request body.
	//       2. Provide `eventTypeSlug` and `username` and optionally `organizationSlug` if the user with the username is within an organization.
	//
	//       And 2 ways to book and event type belonging to a team:
	//       1. Provide `eventTypeId` in the request body.
	//       2. Provide `eventTypeSlug` and `teamSlug` and optionally `organizationSlug` if the team with the teamSlug is within an organization.
	//
	//       If you are creating a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
	//       you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
	//
	//       For event types that have SMS reminders enabled, you need to pass the attendee's phone number in the request body via `attendee.phoneNumber` (e.g., "+19876543210" in international format). This is an optional field, but becomes required when SMS reminders are enabled for the event type. For the complete attendee object structure, see the attendee schema in the `/docs` Swagger endpoint.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings (the `BookingsController20240813CreateBooking` operationId).
	BookingsController20240813CreateBookingWithResponse(ctx context.Context, params *BookingsController20240813CreateBookingParams, body BookingsController20240813CreateBookingJSONRequestBody, reqEditors ...RequestEditorFn) (*BookingsController20240813CreateBookingResponse, error)

	// BookingsController20240813GetBookingBySeatUidWithResponse Get a booking by seat UID
	//
	// Get a seated booking by its seat reference UID. This is useful when you have a seatUid from a seated booking and want to retrieve the full booking details.
	//
	//       If you are fetching a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
	//       you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/bookings/by-seat/{seatUid} (the `BookingsController20240813GetBookingBySeatUid` operationId).
	BookingsController20240813GetBookingBySeatUidWithResponse(ctx context.Context, seatUid string, params *BookingsController20240813GetBookingBySeatUidParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetBookingBySeatUidResponse, error)

	// BookingsController20240813GetBookingWithResponse Get a booking
	//
	// `:bookingUid` can be
	//
	//       1. uid of a normal booking
	//
	//       2. uid of one of the recurring booking recurrences
	//
	//       3. uid of recurring booking which will return an array of all recurring booking recurrences (stored as recurringBookingUid on one of the individual recurrences).
	//
	//       If you are fetching a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
	//       you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/bookings/{bookingUid} (the `BookingsController20240813GetBooking` operationId).
	BookingsController20240813GetBookingWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetBookingResponse, error)

	// BookingAttendeesController20240813GetBookingAttendeesWithResponse Get all attendees for a booking
	//
	// Retrieve all attendees for a specific booking by its UID.
	//
	//     <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/attendees (the `BookingAttendeesController20240813GetBookingAttendees` operationId).
	BookingAttendeesController20240813GetBookingAttendeesWithResponse(ctx context.Context, bookingUid string, params *BookingAttendeesController20240813GetBookingAttendeesParams, reqEditors ...RequestEditorFn) (*BookingAttendeesController20240813GetBookingAttendeesResponse, error)

	// BookingAttendeesController20240813AddAttendeeWithBodyWithResponse Add an attendee to a booking
	//
	// Add a new attendee to an existing booking by its UID.
	//
	//       **Side effects:**
	//       - The booking's attendee list is updated in the database
	//       - The calendar event is updated on connected calendars (Google Calendar, Outlook, etc.) to include the new attendee
	//       - An email notification is sent to the new attendee with the booking details
	//
	//       **Permissions:**
	//       - The authenticated user must be either the booking organizer, an existing attendee, or have the `booking.update` permission for the team
	//
	//       <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/attendees (the `BookingAttendeesController20240813AddAttendee` operationId).
	BookingAttendeesController20240813AddAttendeeWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingAttendeesController20240813AddAttendeeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingAttendeesController20240813AddAttendeeResponse, error)

	// BookingAttendeesController20240813AddAttendeeWithResponse Add an attendee to a booking
	//
	// Add a new attendee to an existing booking by its UID.
	//
	//       **Side effects:**
	//       - The booking's attendee list is updated in the database
	//       - The calendar event is updated on connected calendars (Google Calendar, Outlook, etc.) to include the new attendee
	//       - An email notification is sent to the new attendee with the booking details
	//
	//       **Permissions:**
	//       - The authenticated user must be either the booking organizer, an existing attendee, or have the `booking.update` permission for the team
	//
	//       <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/attendees (the `BookingAttendeesController20240813AddAttendee` operationId).
	BookingAttendeesController20240813AddAttendeeWithResponse(ctx context.Context, bookingUid string, params *BookingAttendeesController20240813AddAttendeeParams, body BookingAttendeesController20240813AddAttendeeJSONRequestBody, reqEditors ...RequestEditorFn) (*BookingAttendeesController20240813AddAttendeeResponse, error)

	// BookingAttendeesController20240813RemoveAttendeeWithResponse Remove an attendee from a booking
	//
	// Remove an attendee from an existing booking by their attendee ID. The primary attendee (first attendee) cannot be removed — to remove them, cancel the booking instead. The removed attendee will receive a cancellation email notification.
	//
	//     <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/bookings/{bookingUid}/attendees/{attendeeId} (the `BookingAttendeesController20240813RemoveAttendee` operationId).
	BookingAttendeesController20240813RemoveAttendeeWithResponse(ctx context.Context, bookingUid string, attendeeId float64, params *BookingAttendeesController20240813RemoveAttendeeParams, reqEditors ...RequestEditorFn) (*BookingAttendeesController20240813RemoveAttendeeResponse, error)

	// BookingAttendeesController20240813GetBookingAttendeeWithResponse Get a specific attendee for a booking
	//
	// Retrieve a specific attendee by their ID for a booking identified by its UID.
	//
	//       <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/attendees/{attendeeId} (the `BookingAttendeesController20240813GetBookingAttendee` operationId).
	BookingAttendeesController20240813GetBookingAttendeeWithResponse(ctx context.Context, bookingUid string, attendeeId float64, params *BookingAttendeesController20240813GetBookingAttendeeParams, reqEditors ...RequestEditorFn) (*BookingAttendeesController20240813GetBookingAttendeeResponse, error)

	// BookingsController20240813GetCalendarLinksWithResponse Get 'Add to Calendar' links for a booking
	//
	// Retrieve calendar links for a booking that can be used to add the event to various calendar services. Returns links for Google Calendar, Microsoft Office, Microsoft Outlook, and a downloadable ICS file.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/calendar-links (the `BookingsController20240813GetCalendarLinks` operationId).
	BookingsController20240813GetCalendarLinksWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813GetCalendarLinksParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetCalendarLinksResponse, error)

	// BookingsController20240813CancelBookingWithBodyWithResponse Cancel a booking
	//
	// :bookingUid can be :bookingUid of an usual booking, individual recurrence or recurring booking to cancel all recurrences.
	//
	//
	// Cancelling normal bookings:
	//     If the booking is not seated and not recurring, simply pass :bookingUid in the request URL `/bookings/:bookingUid/cancel` and optionally cancellationReason in the request body `{"cancellationReason": "Will travel"}`.
	//
	//
	// Cancelling seated bookings:
	//     It is possible to cancel specific seat within a booking as an attendee or all of the seats as the host.
	//
	// 1. As an attendee - provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and seatUid in the request body `{"seatUid": "123-123-123"}` . This will remove this particular attendance from the booking.
	//
	// 2. As the host or org admin of host - host can cancel booking for all attendees aka for every seat, this also applies to org admins. Provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and cancellationReason in the request body `{"cancellationReason": "Will travel"}` and `Authorization: Bearer token` request header where token is event type owner (host) credential. This will cancel the booking for all attendees.
	//
	//
	// Cancelling recurring seated bookings:
	//     For recurring seated bookings it is not possible to cancel all of them with 1 call
	//     like with non-seated recurring bookings by providing recurring bookind uid - you have to cancel each recurrence booking by its bookingUid + seatUid.
	//
	//     If you are cancelling a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
	//     you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/cancel (the `BookingsController20240813CancelBooking` operationId).
	BookingsController20240813CancelBookingWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813CancelBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingsController20240813CancelBookingResponse, error)

	// BookingsController20240813CancelBookingWithResponse Cancel a booking
	//
	// :bookingUid can be :bookingUid of an usual booking, individual recurrence or recurring booking to cancel all recurrences.
	//
	//
	// Cancelling normal bookings:
	//     If the booking is not seated and not recurring, simply pass :bookingUid in the request URL `/bookings/:bookingUid/cancel` and optionally cancellationReason in the request body `{"cancellationReason": "Will travel"}`.
	//
	//
	// Cancelling seated bookings:
	//     It is possible to cancel specific seat within a booking as an attendee or all of the seats as the host.
	//
	// 1. As an attendee - provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and seatUid in the request body `{"seatUid": "123-123-123"}` . This will remove this particular attendance from the booking.
	//
	// 2. As the host or org admin of host - host can cancel booking for all attendees aka for every seat, this also applies to org admins. Provide :bookingUid in the request URL `/bookings/:bookingUid/cancel` and cancellationReason in the request body `{"cancellationReason": "Will travel"}` and `Authorization: Bearer token` request header where token is event type owner (host) credential. This will cancel the booking for all attendees.
	//
	//
	// Cancelling recurring seated bookings:
	//     For recurring seated bookings it is not possible to cancel all of them with 1 call
	//     like with non-seated recurring bookings by providing recurring bookind uid - you have to cancel each recurrence booking by its bookingUid + seatUid.
	//
	//     If you are cancelling a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
	//     you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/cancel (the `BookingsController20240813CancelBooking` operationId).
	BookingsController20240813CancelBookingWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813CancelBookingParams, body BookingsController20240813CancelBookingJSONRequestBody, reqEditors ...RequestEditorFn) (*BookingsController20240813CancelBookingResponse, error)

	// BookingsController20240813GetVideoSessionsWithResponse Get Video Meeting Sessions. Only supported for Cal Video
	//
	// Requires authentication and proper authorization. Access is granted if you are the booking organizer, team admin or org admin/owner.
	//
	//     <Note>cal-api-version: `2024-08-13` is required in the request header.</Note>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/conferencing-sessions (the `BookingsController20240813GetVideoSessions` operationId).
	BookingsController20240813GetVideoSessionsWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813GetVideoSessionsParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetVideoSessionsResponse, error)

	// BookingsController20240813ConfirmBookingWithResponse Confirm a booking
	//
	// The provided authorization header refers to the owner of the booking.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/confirm (the `BookingsController20240813ConfirmBooking` operationId).
	BookingsController20240813ConfirmBookingWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813ConfirmBookingParams, reqEditors ...RequestEditorFn) (*BookingsController20240813ConfirmBookingResponse, error)

	// BookingsController20240813DeclineBookingWithBodyWithResponse Decline a booking
	//
	// The provided authorization header refers to the owner of the booking.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/decline (the `BookingsController20240813DeclineBooking` operationId).
	BookingsController20240813DeclineBookingWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813DeclineBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingsController20240813DeclineBookingResponse, error)

	// BookingsController20240813DeclineBookingWithResponse Decline a booking
	//
	// The provided authorization header refers to the owner of the booking.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/decline (the `BookingsController20240813DeclineBooking` operationId).
	BookingsController20240813DeclineBookingWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813DeclineBookingParams, body BookingsController20240813DeclineBookingJSONRequestBody, reqEditors ...RequestEditorFn) (*BookingsController20240813DeclineBookingResponse, error)

	// BookingGuestsController20240813AddGuestsWithBodyWithResponse Add guests to an existing booking
	//
	// Add one or more guests to an existing booking. Maximum 10 guests per request, with a limit of 30 total guests per booking.
	//
	//     **Rate Limiting:**
	//     This endpoint is rate limited to 5 requests per minute to prevent abuse.
	//
	//     **Email Notifications:**
	//     When guests are added, the following notifications are sent (unless disabled by event type settings):
	//
	//     - **Organizer & Team Members:** Receive an "Add Guests" notification email informing them that new guests have been added to the booking.
	//
	//     - **New Guests:** Receive a "Scheduled Event" email with full booking details and calendar invite. If they have a phone number, they also receive an SMS notification.
	//
	//     - **Existing Guests:** Receive an "Add Guests" notification email informing them that additional guests have been added to the booking.
	//
	//     <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/guests (the `BookingGuestsController20240813AddGuests` operationId).
	BookingGuestsController20240813AddGuestsWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingGuestsController20240813AddGuestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingGuestsController20240813AddGuestsResponse, error)

	// BookingGuestsController20240813AddGuestsWithResponse Add guests to an existing booking
	//
	// Add one or more guests to an existing booking. Maximum 10 guests per request, with a limit of 30 total guests per booking.
	//
	//     **Rate Limiting:**
	//     This endpoint is rate limited to 5 requests per minute to prevent abuse.
	//
	//     **Email Notifications:**
	//     When guests are added, the following notifications are sent (unless disabled by event type settings):
	//
	//     - **Organizer & Team Members:** Receive an "Add Guests" notification email informing them that new guests have been added to the booking.
	//
	//     - **New Guests:** Receive a "Scheduled Event" email with full booking details and calendar invite. If they have a phone number, they also receive an SMS notification.
	//
	//     - **Existing Guests:** Receive an "Add Guests" notification email informing them that additional guests have been added to the booking.
	//
	//     <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/guests (the `BookingGuestsController20240813AddGuests` operationId).
	BookingGuestsController20240813AddGuestsWithResponse(ctx context.Context, bookingUid string, params *BookingGuestsController20240813AddGuestsParams, body BookingGuestsController20240813AddGuestsJSONRequestBody, reqEditors ...RequestEditorFn) (*BookingGuestsController20240813AddGuestsResponse, error)

	// BookingLocationController20240813UpdateBookingLocationWithBodyWithResponse Update booking location for an existing booking
	//
	// Updates the location for an existing booking.
	//
	// **Integration Fallback Behavior:**
	// - **Google Meet**: Requires Google Calendar to be connected. If the booking has no Google Calendar event, it will automatically fall back to Cal Video.
	// - **MS Teams**: If Office 365 Calendar is connected, generates the meeting link via calendar. Otherwise, uses the MS Teams video integration directly.
	//
	// <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/bookings/{bookingUid}/location (the `BookingLocationController20240813UpdateBookingLocation` operationId).
	BookingLocationController20240813UpdateBookingLocationWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingLocationController20240813UpdateBookingLocationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingLocationController20240813UpdateBookingLocationResponse, error)

	// BookingLocationController20240813UpdateBookingLocationWithResponse Update booking location for an existing booking
	//
	// Updates the location for an existing booking.
	//
	// **Integration Fallback Behavior:**
	// - **Google Meet**: Requires Google Calendar to be connected. If the booking has no Google Calendar event, it will automatically fall back to Cal Video.
	// - **MS Teams**: If Office 365 Calendar is connected, generates the meeting link via calendar. Otherwise, uses the MS Teams video integration directly.
	//
	// <Note>The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.</Note>
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/bookings/{bookingUid}/location (the `BookingLocationController20240813UpdateBookingLocation` operationId).
	BookingLocationController20240813UpdateBookingLocationWithResponse(ctx context.Context, bookingUid string, params *BookingLocationController20240813UpdateBookingLocationParams, body BookingLocationController20240813UpdateBookingLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*BookingLocationController20240813UpdateBookingLocationResponse, error)

	// BookingsController20240813MarkNoShowWithBodyWithResponse Mark a booking absence
	//
	// The provided authorization header refers to the owner of the booking.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/mark-absent (the `BookingsController20240813MarkNoShow` operationId).
	BookingsController20240813MarkNoShowWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813MarkNoShowParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingsController20240813MarkNoShowResponse, error)

	// BookingsController20240813MarkNoShowWithResponse Mark a booking absence
	//
	// The provided authorization header refers to the owner of the booking.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/mark-absent (the `BookingsController20240813MarkNoShow` operationId).
	BookingsController20240813MarkNoShowWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813MarkNoShowParams, body BookingsController20240813MarkNoShowJSONRequestBody, reqEditors ...RequestEditorFn) (*BookingsController20240813MarkNoShowResponse, error)

	// BookingsController20240813ReassignBookingWithResponse Reassign a booking to auto-selected host
	//
	// Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.
	//
	//        <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/reassign (the `BookingsController20240813ReassignBooking` operationId).
	BookingsController20240813ReassignBookingWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813ReassignBookingParams, reqEditors ...RequestEditorFn) (*BookingsController20240813ReassignBookingResponse, error)

	// BookingsController20240813ReassignBookingToUserWithBodyWithResponse Reassign a booking to a specific host
	//
	// Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/reassign/{userId} (the `BookingsController20240813ReassignBookingToUser` operationId).
	BookingsController20240813ReassignBookingToUserWithBodyWithResponse(ctx context.Context, bookingUid string, userId float64, params *BookingsController20240813ReassignBookingToUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingsController20240813ReassignBookingToUserResponse, error)

	// BookingsController20240813ReassignBookingToUserWithResponse Reassign a booking to a specific host
	//
	// Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/reassign/{userId} (the `BookingsController20240813ReassignBookingToUser` operationId).
	BookingsController20240813ReassignBookingToUserWithResponse(ctx context.Context, bookingUid string, userId float64, params *BookingsController20240813ReassignBookingToUserParams, body BookingsController20240813ReassignBookingToUserJSONRequestBody, reqEditors ...RequestEditorFn) (*BookingsController20240813ReassignBookingToUserResponse, error)

	// BookingsController20240813GetBookingRecordingsWithResponse Get all the recordings for the booking
	//
	// Fetches all the recordings for the booking `:bookingUid`. Requires authentication and proper authorization. Access is granted if you are the booking organizer, team admin or org admin/owner.
	//
	//     <Note>cal-api-version: `2024-08-13` is required in the request header.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/recordings (the `BookingsController20240813GetBookingRecordings` operationId).
	BookingsController20240813GetBookingRecordingsWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingRecordingsParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetBookingRecordingsResponse, error)

	// BookingsController20240813GetBookingReferencesWithResponse Get booking references
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/references (the `BookingsController20240813GetBookingReferences` operationId).
	BookingsController20240813GetBookingReferencesWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingReferencesParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetBookingReferencesResponse, error)

	// BookingsController20240813RescheduleBookingWithBodyWithResponse Reschedule a booking
	//
	// Reschedule a booking or seated booking
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/reschedule (the `BookingsController20240813RescheduleBooking` operationId).
	BookingsController20240813RescheduleBookingWithBodyWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813RescheduleBookingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookingsController20240813RescheduleBookingResponse, error)

	// BookingsController20240813RescheduleBookingWithResponse Reschedule a booking
	//
	// Reschedule a booking or seated booking
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/bookings/{bookingUid}/reschedule (the `BookingsController20240813RescheduleBooking` operationId).
	BookingsController20240813RescheduleBookingWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813RescheduleBookingParams, body BookingsController20240813RescheduleBookingJSONRequestBody, reqEditors ...RequestEditorFn) (*BookingsController20240813RescheduleBookingResponse, error)

	// BookingsController20240813GetBookingTranscriptsWithResponse Get Cal Video real time transcript download links for the booking
	//
	// Fetches all the transcript download links for the booking `:bookingUid`
	//
	//     <Note>
	//     Transcripts are generated when clicking "Transcribe" during a Cal Video meeting. Download links are valid for 1 hour only - make a new request to generate fresh links after expiration.
	//
	//     Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.
	//     </Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/bookings/{bookingUid}/transcripts (the `BookingsController20240813GetBookingTranscripts` operationId).
	BookingsController20240813GetBookingTranscriptsWithResponse(ctx context.Context, bookingUid string, params *BookingsController20240813GetBookingTranscriptsParams, reqEditors ...RequestEditorFn) (*BookingsController20240813GetBookingTranscriptsResponse, error)

	// CalendarsControllerGetCalendarsWithResponse Get all calendars
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars (the `CalendarsControllerGetCalendars` operationId).
	CalendarsControllerGetCalendarsWithResponse(ctx context.Context, params *CalendarsControllerGetCalendarsParams, reqEditors ...RequestEditorFn) (*CalendarsControllerGetCalendarsResponse, error)

	// CalendarsControllerGetBusyTimesWithResponse Get busy times
	//
	// Get busy times from a calendar. Example request URL is `https://api.cal.com/v2/calendars/busy-times?timeZone=Europe%2FMadrid&dateFrom=2024-12-18&dateTo=2024-12-18&calendarsToLoad[0][credentialId]=135&calendarsToLoad[0][externalId]=skrauciz%40gmail.com`. Note: loggedInUsersTz is deprecated, use timeZone instead.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/busy-times (the `CalendarsControllerGetBusyTimes` operationId).
	CalendarsControllerGetBusyTimesWithResponse(ctx context.Context, params *CalendarsControllerGetBusyTimesParams, reqEditors ...RequestEditorFn) (*CalendarsControllerGetBusyTimesResponse, error)

	// CalUnifiedCalendarsControllerListConnectionsWithResponse List calendar connections
	//
	// Returns all calendar connections for the authenticated user (Google, Office 365, Apple). Use connectionId in connection-scoped endpoints. Note: Event CRUD (list/create/get/update/delete events) is currently only supported for Google Calendar connections; other types will return 400.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/connections (the `CalUnifiedCalendarsControllerListConnections` operationId).
	CalUnifiedCalendarsControllerListConnectionsWithResponse(ctx context.Context, params *CalUnifiedCalendarsControllerListConnectionsParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerListConnectionsResponse, error)

	// CalUnifiedCalendarsControllerListConnectionEventsWithResponse List events for a connection
	//
	// List events in a date range for a specific calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/connections/{connectionId}/events (the `CalUnifiedCalendarsControllerListConnectionEvents` operationId).
	CalUnifiedCalendarsControllerListConnectionEventsWithResponse(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerListConnectionEventsParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerListConnectionEventsResponse, error)

	// CalUnifiedCalendarsControllerCreateConnectionEventWithBodyWithResponse Create event on a connection
	//
	// Create a new event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/calendars/connections/{connectionId}/events (the `CalUnifiedCalendarsControllerCreateConnectionEvent` operationId).
	CalUnifiedCalendarsControllerCreateConnectionEventWithBodyWithResponse(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerCreateConnectionEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerCreateConnectionEventResponse, error)

	// CalUnifiedCalendarsControllerCreateConnectionEventWithResponse Create event on a connection
	//
	// Create a new event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/calendars/connections/{connectionId}/events (the `CalUnifiedCalendarsControllerCreateConnectionEvent` operationId).
	CalUnifiedCalendarsControllerCreateConnectionEventWithResponse(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerCreateConnectionEventParams, body CalUnifiedCalendarsControllerCreateConnectionEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerCreateConnectionEventResponse, error)

	// CalUnifiedCalendarsControllerDeleteConnectionEventWithResponse Delete event for a connection
	//
	// Delete/cancel an event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerDeleteConnectionEvent` operationId).
	CalUnifiedCalendarsControllerDeleteConnectionEventWithResponse(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerDeleteConnectionEventParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerDeleteConnectionEventResponse, error)

	// CalUnifiedCalendarsControllerGetConnectionEventWithResponse Get event for a connection
	//
	// Get a single event by ID for the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerGetConnectionEvent` operationId).
	CalUnifiedCalendarsControllerGetConnectionEventWithResponse(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerGetConnectionEventParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerGetConnectionEventResponse, error)

	// CalUnifiedCalendarsControllerUpdateConnectionEventWithBodyWithResponse Update event for a connection
	//
	// Update an event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerUpdateConnectionEvent` operationId).
	CalUnifiedCalendarsControllerUpdateConnectionEventWithBodyWithResponse(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerUpdateConnectionEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerUpdateConnectionEventResponse, error)

	// CalUnifiedCalendarsControllerUpdateConnectionEventWithResponse Update event for a connection
	//
	// Update an event on the specified calendar connection. Only supported for Google Calendar connections; other connection types return 400.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/calendars/connections/{connectionId}/events/{eventId} (the `CalUnifiedCalendarsControllerUpdateConnectionEvent` operationId).
	CalUnifiedCalendarsControllerUpdateConnectionEventWithResponse(ctx context.Context, connectionId string, eventId string, params *CalUnifiedCalendarsControllerUpdateConnectionEventParams, body CalUnifiedCalendarsControllerUpdateConnectionEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerUpdateConnectionEventResponse, error)

	// CalUnifiedCalendarsControllerGetConnectionFreeBusyWithResponse Get free/busy for a connection
	//
	// Get busy time slots for the specified calendar connection.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/connections/{connectionId}/freebusy (the `CalUnifiedCalendarsControllerGetConnectionFreeBusy` operationId).
	CalUnifiedCalendarsControllerGetConnectionFreeBusyWithResponse(ctx context.Context, connectionId string, params *CalUnifiedCalendarsControllerGetConnectionFreeBusyParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerGetConnectionFreeBusyResponse, error)

	// CalendarsControllerCheckIcsFeedWithResponse Check an ICS feed
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/ics-feed/check (the `CalendarsControllerCheckIcsFeed` operationId).
	CalendarsControllerCheckIcsFeedWithResponse(ctx context.Context, params *CalendarsControllerCheckIcsFeedParams, reqEditors ...RequestEditorFn) (*CalendarsControllerCheckIcsFeedResponse, error)

	// CalendarsControllerCreateIcsFeedWithBodyWithResponse Save an ICS feed
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/calendars/ics-feed/save (the `CalendarsControllerCreateIcsFeed` operationId).
	CalendarsControllerCreateIcsFeedWithBodyWithResponse(ctx context.Context, params *CalendarsControllerCreateIcsFeedParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalendarsControllerCreateIcsFeedResponse, error)

	// CalendarsControllerCreateIcsFeedWithResponse Save an ICS feed
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/calendars/ics-feed/save (the `CalendarsControllerCreateIcsFeed` operationId).
	CalendarsControllerCreateIcsFeedWithResponse(ctx context.Context, params *CalendarsControllerCreateIcsFeedParams, body CalendarsControllerCreateIcsFeedJSONRequestBody, reqEditors ...RequestEditorFn) (*CalendarsControllerCreateIcsFeedResponse, error)

	// CalendarsControllerCheckWithResponse Check a calendar connection
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/{calendar}/check (the `CalendarsControllerCheck` operationId).
	CalendarsControllerCheckWithResponse(ctx context.Context, calendar CalendarsControllerCheckParamsCalendar, params *CalendarsControllerCheckParams, reqEditors ...RequestEditorFn) (*CalendarsControllerCheckResponse, error)

	// CalendarsControllerRedirectWithResponse Get OAuth connect URL
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/{calendar}/connect (the `CalendarsControllerRedirect` operationId).
	CalendarsControllerRedirectWithResponse(ctx context.Context, calendar CalendarsControllerRedirectParamsCalendar, params *CalendarsControllerRedirectParams, reqEditors ...RequestEditorFn) (*CalendarsControllerRedirectResponse, error)

	// CalendarsControllerSyncCredentialsWithBodyWithResponse Save Apple calendar credentials
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/calendars/{calendar}/credentials (the `CalendarsControllerSyncCredentials` operationId).
	CalendarsControllerSyncCredentialsWithBodyWithResponse(ctx context.Context, calendar CalendarsControllerSyncCredentialsParamsCalendar, params *CalendarsControllerSyncCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalendarsControllerSyncCredentialsResponse, error)

	// CalendarsControllerSyncCredentialsWithResponse Save Apple calendar credentials
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/calendars/{calendar}/credentials (the `CalendarsControllerSyncCredentials` operationId).
	CalendarsControllerSyncCredentialsWithResponse(ctx context.Context, calendar CalendarsControllerSyncCredentialsParamsCalendar, params *CalendarsControllerSyncCredentialsParams, body CalendarsControllerSyncCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*CalendarsControllerSyncCredentialsResponse, error)

	// CalendarsControllerDeleteCalendarCredentialsWithBodyWithResponse Disconnect a calendar
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/calendars/{calendar}/disconnect (the `CalendarsControllerDeleteCalendarCredentials` operationId).
	CalendarsControllerDeleteCalendarCredentialsWithBodyWithResponse(ctx context.Context, calendar CalendarsControllerDeleteCalendarCredentialsParamsCalendar, params *CalendarsControllerDeleteCalendarCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalendarsControllerDeleteCalendarCredentialsResponse, error)

	// CalendarsControllerDeleteCalendarCredentialsWithResponse Disconnect a calendar
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/calendars/{calendar}/disconnect (the `CalendarsControllerDeleteCalendarCredentials` operationId).
	CalendarsControllerDeleteCalendarCredentialsWithResponse(ctx context.Context, calendar CalendarsControllerDeleteCalendarCredentialsParamsCalendar, params *CalendarsControllerDeleteCalendarCredentialsParams, body CalendarsControllerDeleteCalendarCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*CalendarsControllerDeleteCalendarCredentialsResponse, error)

	// CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathWithResponse Get meeting details from calendar
	//
	// Returns detailed information about a meeting including attendance metrics. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use GET /connections/{connectionId}/events/{eventId}.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/{calendar}/event/{eventUid} (the `CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPath` operationId).
	CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathWithResponse(ctx context.Context, calendar CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerGetCalendarEventDetailsSingularPathResponse, error)

	// CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithBodyWithResponse Update meeting details in calendar
	//
	// Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/calendars/{calendar}/event/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath` operationId).
	CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithBodyWithResponse(ctx context.Context, calendar CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse, error)

	// CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithResponse Update meeting details in calendar
	//
	// Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/calendars/{calendar}/event/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEventSingularPath` operationId).
	CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathWithResponse(ctx context.Context, calendar CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathParams, body CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathJSONRequestBody, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerUpdateCalendarEventSingularPathResponse, error)

	// CalUnifiedCalendarsControllerListCalendarEventsWithResponse List calendar events
	//
	// List events in a date range for the authenticated user's calendar. Currently only Google Calendar is supported.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/{calendar}/events (the `CalUnifiedCalendarsControllerListCalendarEvents` operationId).
	CalUnifiedCalendarsControllerListCalendarEventsWithResponse(ctx context.Context, calendar CalUnifiedCalendarsControllerListCalendarEventsParamsCalendar, params *CalUnifiedCalendarsControllerListCalendarEventsParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerListCalendarEventsResponse, error)

	// CalUnifiedCalendarsControllerCreateCalendarEventWithBodyWithResponse Create a calendar event
	//
	// Create a new event on the authenticated user's calendar. Currently only Google Calendar is supported.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/calendars/{calendar}/events (the `CalUnifiedCalendarsControllerCreateCalendarEvent` operationId).
	CalUnifiedCalendarsControllerCreateCalendarEventWithBodyWithResponse(ctx context.Context, calendar CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar, params *CalUnifiedCalendarsControllerCreateCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerCreateCalendarEventResponse, error)

	// CalUnifiedCalendarsControllerCreateCalendarEventWithResponse Create a calendar event
	//
	// Create a new event on the authenticated user's calendar. Currently only Google Calendar is supported.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/calendars/{calendar}/events (the `CalUnifiedCalendarsControllerCreateCalendarEvent` operationId).
	CalUnifiedCalendarsControllerCreateCalendarEventWithResponse(ctx context.Context, calendar CalUnifiedCalendarsControllerCreateCalendarEventParamsCalendar, params *CalUnifiedCalendarsControllerCreateCalendarEventParams, body CalUnifiedCalendarsControllerCreateCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerCreateCalendarEventResponse, error)

	// CalUnifiedCalendarsControllerDeleteCalendarEventWithResponse Delete a calendar event
	//
	// Delete/cancel an event on the authenticated user's calendar. Currently only Google Calendar is supported.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerDeleteCalendarEvent` operationId).
	CalUnifiedCalendarsControllerDeleteCalendarEventWithResponse(ctx context.Context, calendar CalUnifiedCalendarsControllerDeleteCalendarEventParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerDeleteCalendarEventParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerDeleteCalendarEventResponse, error)

	// CalUnifiedCalendarsControllerGetCalendarEventDetailsWithResponse Get meeting details from calendar
	//
	// Returns detailed information about a meeting including attendance metrics. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use GET /connections/{connectionId}/events/{eventId}.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerGetCalendarEventDetails` operationId).
	CalUnifiedCalendarsControllerGetCalendarEventDetailsWithResponse(ctx context.Context, calendar CalUnifiedCalendarsControllerGetCalendarEventDetailsParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerGetCalendarEventDetailsParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerGetCalendarEventDetailsResponse, error)

	// CalUnifiedCalendarsControllerUpdateCalendarEventWithBodyWithResponse Update meeting details in calendar
	//
	// Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEvent` operationId).
	CalUnifiedCalendarsControllerUpdateCalendarEventWithBodyWithResponse(ctx context.Context, calendar CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerUpdateCalendarEventResponse, error)

	// CalUnifiedCalendarsControllerUpdateCalendarEventWithResponse Update meeting details in calendar
	//
	// Updates event information in the specified calendar provider. The singular /event/ path is deprecated — use /events/ (plural) instead. For connection-scoped access use PATCH /connections/{connectionId}/events/{eventId}.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/calendars/{calendar}/events/{eventUid} (the `CalUnifiedCalendarsControllerUpdateCalendarEvent` operationId).
	CalUnifiedCalendarsControllerUpdateCalendarEventWithResponse(ctx context.Context, calendar CalUnifiedCalendarsControllerUpdateCalendarEventParamsCalendar, eventUid string, params *CalUnifiedCalendarsControllerUpdateCalendarEventParams, body CalUnifiedCalendarsControllerUpdateCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerUpdateCalendarEventResponse, error)

	// CalUnifiedCalendarsControllerGetFreeBusyWithResponse Get free/busy times
	//
	// Get busy time slots for the authenticated user's selected calendars in the given date range. Currently only Google Calendar is supported.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/{calendar}/freebusy (the `CalUnifiedCalendarsControllerGetFreeBusy` operationId).
	CalUnifiedCalendarsControllerGetFreeBusyWithResponse(ctx context.Context, calendar CalUnifiedCalendarsControllerGetFreeBusyParamsCalendar, params *CalUnifiedCalendarsControllerGetFreeBusyParams, reqEditors ...RequestEditorFn) (*CalUnifiedCalendarsControllerGetFreeBusyResponse, error)

	// CalendarsControllerSaveWithResponse Save Google or Outlook calendar credentials
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/calendars/{calendar}/save (the `CalendarsControllerSave` operationId).
	CalendarsControllerSaveWithResponse(ctx context.Context, calendar CalendarsControllerSaveParamsCalendar, params *CalendarsControllerSaveParams, reqEditors ...RequestEditorFn) (*CalendarsControllerSaveResponse, error)

	// ConferencingControllerListInstalledConferencingAppsWithResponse List your conferencing applications
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/conferencing (the `ConferencingControllerListInstalledConferencingApps` operationId).
	ConferencingControllerListInstalledConferencingAppsWithResponse(ctx context.Context, params *ConferencingControllerListInstalledConferencingAppsParams, reqEditors ...RequestEditorFn) (*ConferencingControllerListInstalledConferencingAppsResponse, error)

	// ConferencingControllerGetDefaultWithResponse Get your default conferencing application
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/conferencing/default (the `ConferencingControllerGetDefault` operationId).
	ConferencingControllerGetDefaultWithResponse(ctx context.Context, params *ConferencingControllerGetDefaultParams, reqEditors ...RequestEditorFn) (*ConferencingControllerGetDefaultResponse, error)

	// ConferencingControllerConnectWithResponse Connect your conferencing application
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/conferencing/{app}/connect (the `ConferencingControllerConnect` operationId).
	ConferencingControllerConnectWithResponse(ctx context.Context, app ConferencingControllerConnectParamsApp, params *ConferencingControllerConnectParams, reqEditors ...RequestEditorFn) (*ConferencingControllerConnectResponse, error)

	// ConferencingControllerDefaultWithResponse Set your default conferencing application
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/conferencing/{app}/default (the `ConferencingControllerDefault` operationId).
	ConferencingControllerDefaultWithResponse(ctx context.Context, app ConferencingControllerDefaultParamsApp, params *ConferencingControllerDefaultParams, reqEditors ...RequestEditorFn) (*ConferencingControllerDefaultResponse, error)

	// ConferencingControllerDisconnectWithResponse Disconnect your conferencing application
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/conferencing/{app}/disconnect (the `ConferencingControllerDisconnect` operationId).
	ConferencingControllerDisconnectWithResponse(ctx context.Context, app ConferencingControllerDisconnectParamsApp, params *ConferencingControllerDisconnectParams, reqEditors ...RequestEditorFn) (*ConferencingControllerDisconnectResponse, error)

	// ConferencingControllerRedirectWithResponse Get OAuth conferencing app auth URL
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/conferencing/{app}/oauth/auth-url (the `ConferencingControllerRedirect` operationId).
	ConferencingControllerRedirectWithResponse(ctx context.Context, app ConferencingControllerRedirectParamsApp, params *ConferencingControllerRedirectParams, reqEditors ...RequestEditorFn) (*ConferencingControllerRedirectResponse, error)

	// ConferencingControllerSaveWithResponse Conferencing app OAuth callback
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/conferencing/{app}/oauth/callback (the `ConferencingControllerSave` operationId).
	ConferencingControllerSaveWithResponse(ctx context.Context, app ConferencingControllerSaveParamsApp, params *ConferencingControllerSaveParams, reqEditors ...RequestEditorFn) (*ConferencingControllerSaveResponse, error)

	// DestinationCalendarsControllerUpdateDestinationCalendarsWithBodyWithResponse Update destination calendars
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v2/destination-calendars (the `DestinationCalendarsControllerUpdateDestinationCalendars` operationId).
	DestinationCalendarsControllerUpdateDestinationCalendarsWithBodyWithResponse(ctx context.Context, params *DestinationCalendarsControllerUpdateDestinationCalendarsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DestinationCalendarsControllerUpdateDestinationCalendarsResponse, error)

	// DestinationCalendarsControllerUpdateDestinationCalendarsWithResponse Update destination calendars
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v2/destination-calendars (the `DestinationCalendarsControllerUpdateDestinationCalendars` operationId).
	DestinationCalendarsControllerUpdateDestinationCalendarsWithResponse(ctx context.Context, params *DestinationCalendarsControllerUpdateDestinationCalendarsParams, body DestinationCalendarsControllerUpdateDestinationCalendarsJSONRequestBody, reqEditors ...RequestEditorFn) (*DestinationCalendarsControllerUpdateDestinationCalendarsResponse, error)

	// EventTypesController20240614GetEventTypesWithResponse Get all event types
	//
	// Hidden event types are returned only if authentication is provided and it belongs to the event type owner.
	//
	//       Use the optional `sortCreatedAt` query parameter to order results by creation date (by ID). Accepts "asc" (oldest first) or "desc" (newest first). When not provided, no explicit ordering is applied.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/event-types (the `EventTypesController20240614GetEventTypes` operationId).
	EventTypesController20240614GetEventTypesWithResponse(ctx context.Context, params *EventTypesController20240614GetEventTypesParams, reqEditors ...RequestEditorFn) (*EventTypesController20240614GetEventTypesResponse, error)

	// EventTypesController20240614CreateEventTypeWithBodyWithResponse Create an event type
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/event-types (the `EventTypesController20240614CreateEventType` operationId).
	EventTypesController20240614CreateEventTypeWithBodyWithResponse(ctx context.Context, params *EventTypesController20240614CreateEventTypeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventTypesController20240614CreateEventTypeResponse, error)

	// EventTypesController20240614CreateEventTypeWithResponse Create an event type
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/event-types (the `EventTypesController20240614CreateEventType` operationId).
	EventTypesController20240614CreateEventTypeWithResponse(ctx context.Context, params *EventTypesController20240614CreateEventTypeParams, body EventTypesController20240614CreateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*EventTypesController20240614CreateEventTypeResponse, error)

	// EventTypesController20240614DeleteEventTypeWithResponse Delete an event type
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/event-types/{eventTypeId} (the `EventTypesController20240614DeleteEventType` operationId).
	EventTypesController20240614DeleteEventTypeWithResponse(ctx context.Context, eventTypeId float64, params *EventTypesController20240614DeleteEventTypeParams, reqEditors ...RequestEditorFn) (*EventTypesController20240614DeleteEventTypeResponse, error)

	// EventTypesController20240614GetEventTypeByIdWithResponse Get an event type
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//     Access control: This endpoint fetches an event type by ID and returns it only if the authenticated user is authorized. Authorization is granted to:
	//     - System admins
	//     - The event type owner
	//     - Hosts of the event type or users assigned to the event type
	//     - Team admins/owners of the team that owns the team event type
	//     - Organization admins/owners of the event type owner's organization
	//     - Organization admins/owners of the team's parent organization
	//
	//     Note: Update and delete endpoints remain restricted to the event type owner only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/event-types/{eventTypeId} (the `EventTypesController20240614GetEventTypeById` operationId).
	EventTypesController20240614GetEventTypeByIdWithResponse(ctx context.Context, eventTypeId string, params *EventTypesController20240614GetEventTypeByIdParams, reqEditors ...RequestEditorFn) (*EventTypesController20240614GetEventTypeByIdResponse, error)

	// EventTypesController20240614UpdateEventTypeWithBodyWithResponse Update an event type
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/event-types/{eventTypeId} (the `EventTypesController20240614UpdateEventType` operationId).
	EventTypesController20240614UpdateEventTypeWithBodyWithResponse(ctx context.Context, eventTypeId float64, params *EventTypesController20240614UpdateEventTypeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventTypesController20240614UpdateEventTypeResponse, error)

	// EventTypesController20240614UpdateEventTypeWithResponse Update an event type
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/event-types/{eventTypeId} (the `EventTypesController20240614UpdateEventType` operationId).
	EventTypesController20240614UpdateEventTypeWithResponse(ctx context.Context, eventTypeId float64, params *EventTypesController20240614UpdateEventTypeParams, body EventTypesController20240614UpdateEventTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*EventTypesController20240614UpdateEventTypeResponse, error)

	// EventTypesPrivateLinksControllerGetPrivateLinksWithResponse Get all private links for an event type
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/event-types/{eventTypeId}/private-links (the `EventTypesPrivateLinksControllerGetPrivateLinks` operationId).
	EventTypesPrivateLinksControllerGetPrivateLinksWithResponse(ctx context.Context, eventTypeId float64, params *EventTypesPrivateLinksControllerGetPrivateLinksParams, reqEditors ...RequestEditorFn) (*EventTypesPrivateLinksControllerGetPrivateLinksResponse, error)

	// EventTypesPrivateLinksControllerCreatePrivateLinkWithBodyWithResponse Create a private link for an event type
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/event-types/{eventTypeId}/private-links (the `EventTypesPrivateLinksControllerCreatePrivateLink` operationId).
	EventTypesPrivateLinksControllerCreatePrivateLinkWithBodyWithResponse(ctx context.Context, eventTypeId float64, params *EventTypesPrivateLinksControllerCreatePrivateLinkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventTypesPrivateLinksControllerCreatePrivateLinkResponse, error)

	// EventTypesPrivateLinksControllerCreatePrivateLinkWithResponse Create a private link for an event type
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/event-types/{eventTypeId}/private-links (the `EventTypesPrivateLinksControllerCreatePrivateLink` operationId).
	EventTypesPrivateLinksControllerCreatePrivateLinkWithResponse(ctx context.Context, eventTypeId float64, params *EventTypesPrivateLinksControllerCreatePrivateLinkParams, body EventTypesPrivateLinksControllerCreatePrivateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*EventTypesPrivateLinksControllerCreatePrivateLinkResponse, error)

	// EventTypesPrivateLinksControllerDeletePrivateLinkWithResponse Delete a private link for an event type
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/event-types/{eventTypeId}/private-links/{linkId} (the `EventTypesPrivateLinksControllerDeletePrivateLink` operationId).
	EventTypesPrivateLinksControllerDeletePrivateLinkWithResponse(ctx context.Context, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerDeletePrivateLinkParams, reqEditors ...RequestEditorFn) (*EventTypesPrivateLinksControllerDeletePrivateLinkResponse, error)

	// EventTypesPrivateLinksControllerUpdatePrivateLinkWithBodyWithResponse Update a private link for an event type
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/event-types/{eventTypeId}/private-links/{linkId} (the `EventTypesPrivateLinksControllerUpdatePrivateLink` operationId).
	EventTypesPrivateLinksControllerUpdatePrivateLinkWithBodyWithResponse(ctx context.Context, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerUpdatePrivateLinkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventTypesPrivateLinksControllerUpdatePrivateLinkResponse, error)

	// EventTypesPrivateLinksControllerUpdatePrivateLinkWithResponse Update a private link for an event type
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/event-types/{eventTypeId}/private-links/{linkId} (the `EventTypesPrivateLinksControllerUpdatePrivateLink` operationId).
	EventTypesPrivateLinksControllerUpdatePrivateLinkWithResponse(ctx context.Context, eventTypeId float64, linkId string, params *EventTypesPrivateLinksControllerUpdatePrivateLinkParams, body EventTypesPrivateLinksControllerUpdatePrivateLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*EventTypesPrivateLinksControllerUpdatePrivateLinkResponse, error)

	// EventTypeWebhooksControllerDeleteAllEventTypeWebhooksWithResponse Delete all webhooks
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerDeleteAllEventTypeWebhooks` operationId).
	EventTypeWebhooksControllerDeleteAllEventTypeWebhooksWithResponse(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerDeleteAllEventTypeWebhooksParams, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse, error)

	// EventTypeWebhooksControllerGetEventTypeWebhooksWithResponse Get all webhooks
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerGetEventTypeWebhooks` operationId).
	EventTypeWebhooksControllerGetEventTypeWebhooksWithResponse(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerGetEventTypeWebhooksParams, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerGetEventTypeWebhooksResponse, error)

	// EventTypeWebhooksControllerCreateEventTypeWebhookWithBodyWithResponse Create a webhook
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerCreateEventTypeWebhook` operationId).
	EventTypeWebhooksControllerCreateEventTypeWebhookWithBodyWithResponse(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerCreateEventTypeWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerCreateEventTypeWebhookResponse, error)

	// EventTypeWebhooksControllerCreateEventTypeWebhookWithResponse Create a webhook
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/event-types/{eventTypeId}/webhooks (the `EventTypeWebhooksControllerCreateEventTypeWebhook` operationId).
	EventTypeWebhooksControllerCreateEventTypeWebhookWithResponse(ctx context.Context, eventTypeId float64, params *EventTypeWebhooksControllerCreateEventTypeWebhookParams, body EventTypeWebhooksControllerCreateEventTypeWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerCreateEventTypeWebhookResponse, error)

	// EventTypeWebhooksControllerDeleteEventTypeWebhookWithResponse Delete a webhook
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerDeleteEventTypeWebhook` operationId).
	EventTypeWebhooksControllerDeleteEventTypeWebhookWithResponse(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerDeleteEventTypeWebhookParams, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerDeleteEventTypeWebhookResponse, error)

	// EventTypeWebhooksControllerGetEventTypeWebhookWithResponse Get a webhook
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerGetEventTypeWebhook` operationId).
	EventTypeWebhooksControllerGetEventTypeWebhookWithResponse(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerGetEventTypeWebhookParams, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerGetEventTypeWebhookResponse, error)

	// EventTypeWebhooksControllerUpdateEventTypeWebhookWithBodyWithResponse Update a webhook
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerUpdateEventTypeWebhook` operationId).
	EventTypeWebhooksControllerUpdateEventTypeWebhookWithBodyWithResponse(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerUpdateEventTypeWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerUpdateEventTypeWebhookResponse, error)

	// EventTypeWebhooksControllerUpdateEventTypeWebhookWithResponse Update a webhook
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} (the `EventTypeWebhooksControllerUpdateEventTypeWebhook` operationId).
	EventTypeWebhooksControllerUpdateEventTypeWebhookWithResponse(ctx context.Context, eventTypeId float64, webhookId string, params *EventTypeWebhooksControllerUpdateEventTypeWebhookParams, body EventTypeWebhooksControllerUpdateEventTypeWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*EventTypeWebhooksControllerUpdateEventTypeWebhookResponse, error)

	// MeControllerGetMeWithResponse Get my profile
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/me (the `MeControllerGetMe` operationId).
	MeControllerGetMeWithResponse(ctx context.Context, params *MeControllerGetMeParams, reqEditors ...RequestEditorFn) (*MeControllerGetMeResponse, error)

	// MeControllerUpdateMeWithBodyWithResponse Update my profile
	//
	// Updates the authenticated user's profile. Email changes require verification and the primary email stays unchanged until verification completes, unless the new email is already a verified secondary email or the user is platform-managed.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/me (the `MeControllerUpdateMe` operationId).
	MeControllerUpdateMeWithBodyWithResponse(ctx context.Context, params *MeControllerUpdateMeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MeControllerUpdateMeResponse, error)

	// MeControllerUpdateMeWithResponse Update my profile
	//
	// Updates the authenticated user's profile. Email changes require verification and the primary email stays unchanged until verification completes, unless the new email is already a verified secondary email or the user is platform-managed.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/me (the `MeControllerUpdateMe` operationId).
	MeControllerUpdateMeWithResponse(ctx context.Context, params *MeControllerUpdateMeParams, body MeControllerUpdateMeJSONRequestBody, reqEditors ...RequestEditorFn) (*MeControllerUpdateMeResponse, error)

	// OAuthClientsControllerGetOAuthClientsWithResponse Get all OAuth clients
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/oauth-clients (the `OAuthClientsControllerGetOAuthClients` operationId).
	OAuthClientsControllerGetOAuthClientsWithResponse(ctx context.Context, params *OAuthClientsControllerGetOAuthClientsParams, reqEditors ...RequestEditorFn) (*OAuthClientsControllerGetOAuthClientsResponse, error)

	// OAuthClientsControllerCreateOAuthClientWithBodyWithResponse Create an OAuth client
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/oauth-clients (the `OAuthClientsControllerCreateOAuthClient` operationId).
	OAuthClientsControllerCreateOAuthClientWithBodyWithResponse(ctx context.Context, params *OAuthClientsControllerCreateOAuthClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthClientsControllerCreateOAuthClientResponse, error)

	// OAuthClientsControllerCreateOAuthClientWithResponse Create an OAuth client
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/oauth-clients (the `OAuthClientsControllerCreateOAuthClient` operationId).
	OAuthClientsControllerCreateOAuthClientWithResponse(ctx context.Context, params *OAuthClientsControllerCreateOAuthClientParams, body OAuthClientsControllerCreateOAuthClientJSONRequestBody, reqEditors ...RequestEditorFn) (*OAuthClientsControllerCreateOAuthClientResponse, error)

	// OAuthClientsControllerDeleteOAuthClientWithResponse Delete an OAuth client
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/oauth-clients/{clientId} (the `OAuthClientsControllerDeleteOAuthClient` operationId).
	OAuthClientsControllerDeleteOAuthClientWithResponse(ctx context.Context, clientId string, params *OAuthClientsControllerDeleteOAuthClientParams, reqEditors ...RequestEditorFn) (*OAuthClientsControllerDeleteOAuthClientResponse, error)

	// OAuthClientsControllerGetOAuthClientByIdWithResponse Get an OAuth client
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/oauth-clients/{clientId} (the `OAuthClientsControllerGetOAuthClientById` operationId).
	OAuthClientsControllerGetOAuthClientByIdWithResponse(ctx context.Context, clientId string, params *OAuthClientsControllerGetOAuthClientByIdParams, reqEditors ...RequestEditorFn) (*OAuthClientsControllerGetOAuthClientByIdResponse, error)

	// OAuthClientsControllerUpdateOAuthClientWithBodyWithResponse Update an OAuth client
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/oauth-clients/{clientId} (the `OAuthClientsControllerUpdateOAuthClient` operationId).
	OAuthClientsControllerUpdateOAuthClientWithBodyWithResponse(ctx context.Context, clientId string, params *OAuthClientsControllerUpdateOAuthClientParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthClientsControllerUpdateOAuthClientResponse, error)

	// OAuthClientsControllerUpdateOAuthClientWithResponse Update an OAuth client
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/oauth-clients/{clientId} (the `OAuthClientsControllerUpdateOAuthClient` operationId).
	OAuthClientsControllerUpdateOAuthClientWithResponse(ctx context.Context, clientId string, params *OAuthClientsControllerUpdateOAuthClientParams, body OAuthClientsControllerUpdateOAuthClientJSONRequestBody, reqEditors ...RequestEditorFn) (*OAuthClientsControllerUpdateOAuthClientResponse, error)

	// OAuthClientUsersControllerGetManagedUsersWithResponse Get all managed users
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/oauth-clients/{clientId}/users (the `OAuthClientUsersControllerGetManagedUsers` operationId).
	OAuthClientUsersControllerGetManagedUsersWithResponse(ctx context.Context, clientId string, params *OAuthClientUsersControllerGetManagedUsersParams, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerGetManagedUsersResponse, error)

	// OAuthClientUsersControllerCreateUserWithBodyWithResponse Create a managed user
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/oauth-clients/{clientId}/users (the `OAuthClientUsersControllerCreateUser` operationId).
	OAuthClientUsersControllerCreateUserWithBodyWithResponse(ctx context.Context, clientId string, params *OAuthClientUsersControllerCreateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerCreateUserResponse, error)

	// OAuthClientUsersControllerCreateUserWithResponse Create a managed user
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/oauth-clients/{clientId}/users (the `OAuthClientUsersControllerCreateUser` operationId).
	OAuthClientUsersControllerCreateUserWithResponse(ctx context.Context, clientId string, params *OAuthClientUsersControllerCreateUserParams, body OAuthClientUsersControllerCreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerCreateUserResponse, error)

	// OAuthClientUsersControllerDeleteUserWithResponse Delete a managed user
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerDeleteUser` operationId).
	OAuthClientUsersControllerDeleteUserWithResponse(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerDeleteUserParams, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerDeleteUserResponse, error)

	// OAuthClientUsersControllerGetUserByIdWithResponse Get a managed user
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerGetUserById` operationId).
	OAuthClientUsersControllerGetUserByIdWithResponse(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerGetUserByIdParams, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerGetUserByIdResponse, error)

	// OAuthClientUsersControllerUpdateUserWithBodyWithResponse Update a managed user
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerUpdateUser` operationId).
	OAuthClientUsersControllerUpdateUserWithBodyWithResponse(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerUpdateUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerUpdateUserResponse, error)

	// OAuthClientUsersControllerUpdateUserWithResponse Update a managed user
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/oauth-clients/{clientId}/users/{userId} (the `OAuthClientUsersControllerUpdateUser` operationId).
	OAuthClientUsersControllerUpdateUserWithResponse(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerUpdateUserParams, body OAuthClientUsersControllerUpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerUpdateUserResponse, error)

	// OAuthClientUsersControllerForceRefreshWithResponse Force refresh tokens
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning> If you have lost managed user access or refresh token, then you can get new ones by using OAuth credentials. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model `calAccessToken` and `calRefreshToken` fields.
	// Response also contains `accessTokenExpiresAt` and `refreshTokenExpiresAt` fields, but if you decode the jwt token the payload will contain `clientId` (OAuth client ID), `ownerId` (user to whom token belongs ID), `iat` (issued at time) and `expiresAt` (when does the token expire) fields.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/oauth-clients/{clientId}/users/{userId}/force-refresh (the `OAuthClientUsersControllerForceRefresh` operationId).
	OAuthClientUsersControllerForceRefreshWithResponse(ctx context.Context, clientId string, userId float64, params *OAuthClientUsersControllerForceRefreshParams, reqEditors ...RequestEditorFn) (*OAuthClientUsersControllerForceRefreshResponse, error)

	// OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksWithResponse Delete all webhooks
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooks` operationId).
	OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksWithResponse(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksParams, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse, error)

	// OAuthClientWebhooksControllerGetOAuthClientWebhooksWithResponse Get all webhooks
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerGetOAuthClientWebhooks` operationId).
	OAuthClientWebhooksControllerGetOAuthClientWebhooksWithResponse(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerGetOAuthClientWebhooksParams, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerGetOAuthClientWebhooksResponse, error)

	// OAuthClientWebhooksControllerCreateOAuthClientWebhookWithBodyWithResponse Create a webhook
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerCreateOAuthClientWebhook` operationId).
	OAuthClientWebhooksControllerCreateOAuthClientWebhookWithBodyWithResponse(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerCreateOAuthClientWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerCreateOAuthClientWebhookResponse, error)

	// OAuthClientWebhooksControllerCreateOAuthClientWebhookWithResponse Create a webhook
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/oauth-clients/{clientId}/webhooks (the `OAuthClientWebhooksControllerCreateOAuthClientWebhook` operationId).
	OAuthClientWebhooksControllerCreateOAuthClientWebhookWithResponse(ctx context.Context, clientId string, params *OAuthClientWebhooksControllerCreateOAuthClientWebhookParams, body OAuthClientWebhooksControllerCreateOAuthClientWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerCreateOAuthClientWebhookResponse, error)

	// OAuthClientWebhooksControllerDeleteOAuthClientWebhookWithResponse Delete a webhook
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerDeleteOAuthClientWebhook` operationId).
	OAuthClientWebhooksControllerDeleteOAuthClientWebhookWithResponse(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerDeleteOAuthClientWebhookParams, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse, error)

	// OAuthClientWebhooksControllerGetOAuthClientWebhookWithResponse Get a webhook
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerGetOAuthClientWebhook` operationId).
	OAuthClientWebhooksControllerGetOAuthClientWebhookWithResponse(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerGetOAuthClientWebhookParams, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerGetOAuthClientWebhookResponse, error)

	// OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithBodyWithResponse Update a webhook
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerUpdateOAuthClientWebhook` operationId).
	OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithBodyWithResponse(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerUpdateOAuthClientWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse, error)

	// OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithResponse Update a webhook
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning>
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} (the `OAuthClientWebhooksControllerUpdateOAuthClientWebhook` operationId).
	OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithResponse(ctx context.Context, clientId string, webhookId string, params *OAuthClientWebhooksControllerUpdateOAuthClientWebhookParams, body OAuthClientWebhooksControllerUpdateOAuthClientWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*OAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse, error)

	// OAuthFlowControllerRefreshTokensWithBodyWithResponse Refresh managed user tokens
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning> If managed user access token is expired then get a new one using this endpoint - it will also refresh the refresh token, because we use
	//     "refresh token rotation" mechanism. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model `calAccessToken` and `calRefreshToken` fields.
	// Response also contains `accessTokenExpiresAt` and `refreshTokenExpiresAt` fields, but if you decode the jwt token the payload will contain `clientId` (OAuth client ID), `ownerId` (user to whom token belongs ID), `iat` (issued at time) and `expiresAt` (when does the token expire) fields.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/oauth/{clientId}/refresh (the `OAuthFlowControllerRefreshTokens` operationId).
	OAuthFlowControllerRefreshTokensWithBodyWithResponse(ctx context.Context, clientId string, params *OAuthFlowControllerRefreshTokensParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OAuthFlowControllerRefreshTokensResponse, error)

	// OAuthFlowControllerRefreshTokensWithResponse Refresh managed user tokens
	//
	// <Warning>These endpoints are deprecated and will be removed in the future.</Warning> If managed user access token is expired then get a new one using this endpoint - it will also refresh the refresh token, because we use
	//     "refresh token rotation" mechanism. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model `calAccessToken` and `calRefreshToken` fields.
	// Response also contains `accessTokenExpiresAt` and `refreshTokenExpiresAt` fields, but if you decode the jwt token the payload will contain `clientId` (OAuth client ID), `ownerId` (user to whom token belongs ID), `iat` (issued at time) and `expiresAt` (when does the token expire) fields.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/oauth/{clientId}/refresh (the `OAuthFlowControllerRefreshTokens` operationId).
	OAuthFlowControllerRefreshTokensWithResponse(ctx context.Context, clientId string, params *OAuthFlowControllerRefreshTokensParams, body OAuthFlowControllerRefreshTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*OAuthFlowControllerRefreshTokensResponse, error)

	// SchedulesController20240611GetSchedulesWithResponse Get all schedules
	//
	// Get all schedules of the authenticated user.
	//
	//      <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/schedules (the `SchedulesController20240611GetSchedules` operationId).
	SchedulesController20240611GetSchedulesWithResponse(ctx context.Context, params *SchedulesController20240611GetSchedulesParams, reqEditors ...RequestEditorFn) (*SchedulesController20240611GetSchedulesResponse, error)

	// SchedulesController20240611CreateScheduleWithBodyWithResponse Create a schedule
	//
	//
	//       Create a schedule for the authenticated user.
	//
	//       The point of creating schedules is for event types to be available at specific times.
	//
	//       The first goal of schedules is to have a default schedule. If you are platform customer and created managed users, then it is important to note that each managed user should have a default schedule.
	//       1. If you passed `timeZone` when creating managed user, then the default schedule from Monday to Friday from 9AM to 5PM will be created with that timezone. The managed user can then change the default schedule via the `AvailabilitySettings` atom.
	//       2. If you did not, then we assume you want the user to have this specific schedule right away. You should create a default schedule by specifying
	//       `"isDefault": true` in the request body. Until the user has a default schedule the user can't be booked nor manage their schedule via the AvailabilitySettings atom.
	//
	//       The second goal of schedules is to create another schedule that event types can point to. This is useful for when an event is booked because availability is not checked against the default schedule but instead against that specific schedule.
	//       After creating a non-default schedule, you can update an event type to point to that schedule via the PATCH `event-types/{eventTypeId}` endpoint.
	//
	//       When specifying start time and end time for each day use the 24 hour format e.g. 08:00, 15:00 etc.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/schedules (the `SchedulesController20240611CreateSchedule` operationId).
	SchedulesController20240611CreateScheduleWithBodyWithResponse(ctx context.Context, params *SchedulesController20240611CreateScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesController20240611CreateScheduleResponse, error)

	// SchedulesController20240611CreateScheduleWithResponse Create a schedule
	//
	//
	//       Create a schedule for the authenticated user.
	//
	//       The point of creating schedules is for event types to be available at specific times.
	//
	//       The first goal of schedules is to have a default schedule. If you are platform customer and created managed users, then it is important to note that each managed user should have a default schedule.
	//       1. If you passed `timeZone` when creating managed user, then the default schedule from Monday to Friday from 9AM to 5PM will be created with that timezone. The managed user can then change the default schedule via the `AvailabilitySettings` atom.
	//       2. If you did not, then we assume you want the user to have this specific schedule right away. You should create a default schedule by specifying
	//       `"isDefault": true` in the request body. Until the user has a default schedule the user can't be booked nor manage their schedule via the AvailabilitySettings atom.
	//
	//       The second goal of schedules is to create another schedule that event types can point to. This is useful for when an event is booked because availability is not checked against the default schedule but instead against that specific schedule.
	//       After creating a non-default schedule, you can update an event type to point to that schedule via the PATCH `event-types/{eventTypeId}` endpoint.
	//
	//       When specifying start time and end time for each day use the 24 hour format e.g. 08:00, 15:00 etc.
	//
	//       <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/schedules (the `SchedulesController20240611CreateSchedule` operationId).
	SchedulesController20240611CreateScheduleWithResponse(ctx context.Context, params *SchedulesController20240611CreateScheduleParams, body SchedulesController20240611CreateScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesController20240611CreateScheduleResponse, error)

	// SchedulesController20240611GetDefaultScheduleWithResponse Get default schedule
	//
	// Get the default schedule of the authenticated user.
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/schedules/default (the `SchedulesController20240611GetDefaultSchedule` operationId).
	SchedulesController20240611GetDefaultScheduleWithResponse(ctx context.Context, params *SchedulesController20240611GetDefaultScheduleParams, reqEditors ...RequestEditorFn) (*SchedulesController20240611GetDefaultScheduleResponse, error)

	// SchedulesController20240611DeleteScheduleWithResponse Delete a schedule
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/schedules/{scheduleId} (the `SchedulesController20240611DeleteSchedule` operationId).
	SchedulesController20240611DeleteScheduleWithResponse(ctx context.Context, scheduleId float64, params *SchedulesController20240611DeleteScheduleParams, reqEditors ...RequestEditorFn) (*SchedulesController20240611DeleteScheduleResponse, error)

	// SchedulesController20240611GetScheduleWithResponse Get a schedule
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/schedules/{scheduleId} (the `SchedulesController20240611GetSchedule` operationId).
	SchedulesController20240611GetScheduleWithResponse(ctx context.Context, scheduleId float64, params *SchedulesController20240611GetScheduleParams, reqEditors ...RequestEditorFn) (*SchedulesController20240611GetScheduleResponse, error)

	// SchedulesController20240611UpdateScheduleWithBodyWithResponse Update a schedule
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/schedules/{scheduleId} (the `SchedulesController20240611UpdateSchedule` operationId).
	SchedulesController20240611UpdateScheduleWithBodyWithResponse(ctx context.Context, scheduleId string, params *SchedulesController20240611UpdateScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulesController20240611UpdateScheduleResponse, error)

	// SchedulesController20240611UpdateScheduleWithResponse Update a schedule
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/schedules/{scheduleId} (the `SchedulesController20240611UpdateSchedule` operationId).
	SchedulesController20240611UpdateScheduleWithResponse(ctx context.Context, scheduleId string, params *SchedulesController20240611UpdateScheduleParams, body SchedulesController20240611UpdateScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulesController20240611UpdateScheduleResponse, error)

	// SelectedCalendarsControllerDeleteSelectedCalendarWithResponse Delete a selected calendar
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/selected-calendars (the `SelectedCalendarsControllerDeleteSelectedCalendar` operationId).
	SelectedCalendarsControllerDeleteSelectedCalendarWithResponse(ctx context.Context, params *SelectedCalendarsControllerDeleteSelectedCalendarParams, reqEditors ...RequestEditorFn) (*SelectedCalendarsControllerDeleteSelectedCalendarResponse, error)

	// SelectedCalendarsControllerAddSelectedCalendarWithBodyWithResponse Add a selected calendar
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/selected-calendars (the `SelectedCalendarsControllerAddSelectedCalendar` operationId).
	SelectedCalendarsControllerAddSelectedCalendarWithBodyWithResponse(ctx context.Context, params *SelectedCalendarsControllerAddSelectedCalendarParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectedCalendarsControllerAddSelectedCalendarResponse, error)

	// SelectedCalendarsControllerAddSelectedCalendarWithResponse Add a selected calendar
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/selected-calendars (the `SelectedCalendarsControllerAddSelectedCalendar` operationId).
	SelectedCalendarsControllerAddSelectedCalendarWithResponse(ctx context.Context, params *SelectedCalendarsControllerAddSelectedCalendarParams, body SelectedCalendarsControllerAddSelectedCalendarJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectedCalendarsControllerAddSelectedCalendarResponse, error)

	// SlotsController20240904GetAvailableSlotsWithResponse Get available time slots for an event type
	//
	//
	//       There are 4 ways to get available slots for event type of an individual user:
	//
	//       1. By event type id. Example '/v2/slots?eventTypeId=10&start=2050-09-05&end=2050-09-06&timeZone=Europe/Rome'
	//
	//       2. By event type slug + username. Example '/v2/slots?eventTypeSlug=intro&username=bob&start=2050-09-05&end=2050-09-06'
	//
	//       3. By event type slug + username + organization slug when searching within an organization. Example '/v2/slots?organizationSlug=org-slug&eventTypeSlug=intro&username=bob&start=2050-09-05&end=2050-09-06'
	//
	//       4. By usernames only (used for dynamic event type - there is no specific event but you want to know when 2 or more people are available). Example '/v2/slots?usernames=alice,bob&username=bob&organizationSlug=org-slug&start=2050-09-05&end=2050-09-06'. As you see you also need to provide the slug of the organization to which each user in the 'usernames' array belongs.
	//
	//       And 3 ways to get available slots for team event type:
	//
	//       1. By team event type id. Example '/v2/slots?eventTypeId=10&start=2050-09-05&end=2050-09-06&timeZone=Europe/Rome'.
	//          **Note for managed event types**: Managed event types are templates that create individual child event types for each team member. You cannot fetch slots for the parent managed event type directly. Instead, you must:
	//          - Find the child event type IDs (the ones assigned to specific users)
	//          - Use those child event type IDs to fetch slots as individual user event types using as described in the individual user section above.
	//
	//       2. By team event type slug + team slug. Example '/v2/slots?eventTypeSlug=intro&teamSlug=team-slug&start=2050-09-05&end=2050-09-06'
	//
	//       3. By team event type slug + team slug + organization slug when searching within an organization. Example '/v2/slots?organizationSlug=org-slug&eventTypeSlug=intro&teamSlug=team-slug&start=2050-09-05&end=2050-09-06'
	//
	//       All of them require "start" and "end" query parameters which define the time range for which available slots should be checked.
	//       Optional parameters are:
	//       - timeZone: Time zone in which the available slots should be returned. Defaults to UTC.
	//       - duration: Only use for event types that allow multiple durations or for dynamic event types. If not passed for multiple duration event types defaults to default duration. For dynamic event types defaults to 30 aka each returned slot is 30 minutes long. So duration=60 means that returned slots will be each 60 minutes long.
	//       - format: Format of the slots. By default return is an object where each key is date and value is array of slots as string. If you want to get start and end of each slot use "range" as value.
	//       - bookingUidToReschedule: When rescheduling an existing booking, provide the booking's unique identifier to exclude its time slot from busy time calculations. This ensures the original booking time appears as available for rescheduling.
	//
	//        <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/slots (the `SlotsController20240904GetAvailableSlots` operationId).
	SlotsController20240904GetAvailableSlotsWithResponse(ctx context.Context, params *SlotsController20240904GetAvailableSlotsParams, reqEditors ...RequestEditorFn) (*SlotsController20240904GetAvailableSlotsResponse, error)

	// SlotsController20240904ReserveSlotWithBodyWithResponse Reserve a slot
	//
	// Make a slot not available for others to book for a certain period of time. If you authenticate using oAuth credentials, api key or access token
	//     then you can also specify custom duration for how long the slot should be reserved for (defaults to 5 minutes).
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/slots/reservations (the `SlotsController20240904ReserveSlot` operationId).
	SlotsController20240904ReserveSlotWithBodyWithResponse(ctx context.Context, params *SlotsController20240904ReserveSlotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SlotsController20240904ReserveSlotResponse, error)

	// SlotsController20240904ReserveSlotWithResponse Reserve a slot
	//
	// Make a slot not available for others to book for a certain period of time. If you authenticate using oAuth credentials, api key or access token
	//     then you can also specify custom duration for how long the slot should be reserved for (defaults to 5 minutes).
	//
	//     <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/slots/reservations (the `SlotsController20240904ReserveSlot` operationId).
	SlotsController20240904ReserveSlotWithResponse(ctx context.Context, params *SlotsController20240904ReserveSlotParams, body SlotsController20240904ReserveSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*SlotsController20240904ReserveSlotResponse, error)

	// SlotsController20240904DeleteReservedSlotWithResponse Delete a reserved slot
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/slots/reservations/{uid} (the `SlotsController20240904DeleteReservedSlot` operationId).
	SlotsController20240904DeleteReservedSlotWithResponse(ctx context.Context, uid string, params *SlotsController20240904DeleteReservedSlotParams, reqEditors ...RequestEditorFn) (*SlotsController20240904DeleteReservedSlotResponse, error)

	// SlotsController20240904GetReservedSlotWithResponse Get reserved slot
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/slots/reservations/{uid} (the `SlotsController20240904GetReservedSlot` operationId).
	SlotsController20240904GetReservedSlotWithResponse(ctx context.Context, uid string, params *SlotsController20240904GetReservedSlotParams, reqEditors ...RequestEditorFn) (*SlotsController20240904GetReservedSlotResponse, error)

	// SlotsController20240904UpdateReservedSlotWithBodyWithResponse Update a reserved slot
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/slots/reservations/{uid} (the `SlotsController20240904UpdateReservedSlot` operationId).
	SlotsController20240904UpdateReservedSlotWithBodyWithResponse(ctx context.Context, uid string, params *SlotsController20240904UpdateReservedSlotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SlotsController20240904UpdateReservedSlotResponse, error)

	// SlotsController20240904UpdateReservedSlotWithResponse Update a reserved slot
	//
	// <Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/slots/reservations/{uid} (the `SlotsController20240904UpdateReservedSlot` operationId).
	SlotsController20240904UpdateReservedSlotWithResponse(ctx context.Context, uid string, params *SlotsController20240904UpdateReservedSlotParams, body SlotsController20240904UpdateReservedSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*SlotsController20240904UpdateReservedSlotResponse, error)

	// StripeControllerCheckWithResponse Check Stripe connection
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/stripe/check (the `StripeControllerCheck` operationId).
	StripeControllerCheckWithResponse(ctx context.Context, params *StripeControllerCheckParams, reqEditors ...RequestEditorFn) (*StripeControllerCheckResponse, error)

	// StripeControllerRedirectWithResponse Get Stripe connect URL
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/stripe/connect (the `StripeControllerRedirect` operationId).
	StripeControllerRedirectWithResponse(ctx context.Context, params *StripeControllerRedirectParams, reqEditors ...RequestEditorFn) (*StripeControllerRedirectResponse, error)

	// StripeControllerSaveWithResponse Save Stripe credentials
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/stripe/save (the `StripeControllerSave` operationId).
	StripeControllerSaveWithResponse(ctx context.Context, params *StripeControllerSaveParams, reqEditors ...RequestEditorFn) (*StripeControllerSaveResponse, error)

	// UserVerifiedResourcesControllerGetVerifiedEmailsWithResponse Get list of verified emails
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/verified-resources/emails (the `UserVerifiedResourcesControllerGetVerifiedEmails` operationId).
	UserVerifiedResourcesControllerGetVerifiedEmailsWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerGetVerifiedEmailsParams, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerGetVerifiedEmailsResponse, error)

	// UserVerifiedResourcesControllerRequestEmailVerificationCodeWithBodyWithResponse Request email verification code
	//
	// Sends a verification code to the email.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/verified-resources/emails/verification-code/request (the `UserVerifiedResourcesControllerRequestEmailVerificationCode` operationId).
	UserVerifiedResourcesControllerRequestEmailVerificationCodeWithBodyWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerRequestEmailVerificationCodeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerRequestEmailVerificationCodeResponse, error)

	// UserVerifiedResourcesControllerRequestEmailVerificationCodeWithResponse Request email verification code
	//
	// Sends a verification code to the email.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/verified-resources/emails/verification-code/request (the `UserVerifiedResourcesControllerRequestEmailVerificationCode` operationId).
	UserVerifiedResourcesControllerRequestEmailVerificationCodeWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerRequestEmailVerificationCodeParams, body UserVerifiedResourcesControllerRequestEmailVerificationCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerRequestEmailVerificationCodeResponse, error)

	// UserVerifiedResourcesControllerVerifyEmailWithBodyWithResponse Verify an email
	//
	// Use code to verify an email.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/verified-resources/emails/verification-code/verify (the `UserVerifiedResourcesControllerVerifyEmail` operationId).
	UserVerifiedResourcesControllerVerifyEmailWithBodyWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerVerifyEmailParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerVerifyEmailResponse, error)

	// UserVerifiedResourcesControllerVerifyEmailWithResponse Verify an email
	//
	// Use code to verify an email.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/verified-resources/emails/verification-code/verify (the `UserVerifiedResourcesControllerVerifyEmail` operationId).
	UserVerifiedResourcesControllerVerifyEmailWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerVerifyEmailParams, body UserVerifiedResourcesControllerVerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerVerifyEmailResponse, error)

	// UserVerifiedResourcesControllerGetVerifiedEmailByIdWithResponse Get verified email by id
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/verified-resources/emails/{id} (the `UserVerifiedResourcesControllerGetVerifiedEmailById` operationId).
	UserVerifiedResourcesControllerGetVerifiedEmailByIdWithResponse(ctx context.Context, id float64, params *UserVerifiedResourcesControllerGetVerifiedEmailByIdParams, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerGetVerifiedEmailByIdResponse, error)

	// UserVerifiedResourcesControllerGetVerifiedPhoneNumbersWithResponse Get list of verified phone numbers
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/verified-resources/phones (the `UserVerifiedResourcesControllerGetVerifiedPhoneNumbers` operationId).
	UserVerifiedResourcesControllerGetVerifiedPhoneNumbersWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerGetVerifiedPhoneNumbersParams, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse, error)

	// UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithBodyWithResponse Request phone number verification code
	//
	// Sends a verification code to the phone number.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/verified-resources/phones/verification-code/request (the `UserVerifiedResourcesControllerRequestPhoneVerificationCode` operationId).
	UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithBodyWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerRequestPhoneVerificationCodeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse, error)

	// UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithResponse Request phone number verification code
	//
	// Sends a verification code to the phone number.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/verified-resources/phones/verification-code/request (the `UserVerifiedResourcesControllerRequestPhoneVerificationCode` operationId).
	UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerRequestPhoneVerificationCodeParams, body UserVerifiedResourcesControllerRequestPhoneVerificationCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse, error)

	// UserVerifiedResourcesControllerVerifyPhoneNumberWithBodyWithResponse Verify a phone number
	//
	// Use code to verify a phone number.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/verified-resources/phones/verification-code/verify (the `UserVerifiedResourcesControllerVerifyPhoneNumber` operationId).
	UserVerifiedResourcesControllerVerifyPhoneNumberWithBodyWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerVerifyPhoneNumberParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerVerifyPhoneNumberResponse, error)

	// UserVerifiedResourcesControllerVerifyPhoneNumberWithResponse Verify a phone number
	//
	// Use code to verify a phone number.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/verified-resources/phones/verification-code/verify (the `UserVerifiedResourcesControllerVerifyPhoneNumber` operationId).
	UserVerifiedResourcesControllerVerifyPhoneNumberWithResponse(ctx context.Context, params *UserVerifiedResourcesControllerVerifyPhoneNumberParams, body UserVerifiedResourcesControllerVerifyPhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerVerifyPhoneNumberResponse, error)

	// UserVerifiedResourcesControllerGetVerifiedPhoneByIdWithResponse Get verified phone number by id
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/verified-resources/phones/{id} (the `UserVerifiedResourcesControllerGetVerifiedPhoneById` operationId).
	UserVerifiedResourcesControllerGetVerifiedPhoneByIdWithResponse(ctx context.Context, id float64, params *UserVerifiedResourcesControllerGetVerifiedPhoneByIdParams, reqEditors ...RequestEditorFn) (*UserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse, error)

	// WebhooksControllerGetWebhooksWithResponse Get all webhooks
	//
	// Gets a paginated list of webhooks for the authenticated user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/webhooks (the `WebhooksControllerGetWebhooks` operationId).
	WebhooksControllerGetWebhooksWithResponse(ctx context.Context, params *WebhooksControllerGetWebhooksParams, reqEditors ...RequestEditorFn) (*WebhooksControllerGetWebhooksResponse, error)

	// WebhooksControllerCreateWebhookWithBodyWithResponse Create a webhook
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/webhooks (the `WebhooksControllerCreateWebhook` operationId).
	WebhooksControllerCreateWebhookWithBodyWithResponse(ctx context.Context, params *WebhooksControllerCreateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WebhooksControllerCreateWebhookResponse, error)

	// WebhooksControllerCreateWebhookWithResponse Create a webhook
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/webhooks (the `WebhooksControllerCreateWebhook` operationId).
	WebhooksControllerCreateWebhookWithResponse(ctx context.Context, params *WebhooksControllerCreateWebhookParams, body WebhooksControllerCreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*WebhooksControllerCreateWebhookResponse, error)

	// WebhooksControllerDeleteWebhookWithResponse Delete a webhook
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/webhooks/{webhookId} (the `WebhooksControllerDeleteWebhook` operationId).
	WebhooksControllerDeleteWebhookWithResponse(ctx context.Context, webhookId string, params *WebhooksControllerDeleteWebhookParams, reqEditors ...RequestEditorFn) (*WebhooksControllerDeleteWebhookResponse, error)

	// WebhooksControllerGetWebhookWithResponse Get a webhook
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/webhooks/{webhookId} (the `WebhooksControllerGetWebhook` operationId).
	WebhooksControllerGetWebhookWithResponse(ctx context.Context, webhookId string, params *WebhooksControllerGetWebhookParams, reqEditors ...RequestEditorFn) (*WebhooksControllerGetWebhookResponse, error)

	// WebhooksControllerUpdateWebhookWithBodyWithResponse Update a webhook
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/webhooks/{webhookId} (the `WebhooksControllerUpdateWebhook` operationId).
	WebhooksControllerUpdateWebhookWithBodyWithResponse(ctx context.Context, webhookId string, params *WebhooksControllerUpdateWebhookParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WebhooksControllerUpdateWebhookResponse, error)

	// WebhooksControllerUpdateWebhookWithResponse Update a webhook
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/webhooks/{webhookId} (the `WebhooksControllerUpdateWebhook` operationId).
	WebhooksControllerUpdateWebhookWithResponse(ctx context.Context, webhookId string, params *WebhooksControllerUpdateWebhookParams, body WebhooksControllerUpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*WebhooksControllerUpdateWebhookResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ConferencingAppOutputResponseDto

type ConferencingAppOutputResponseDto struct {
	Data   ConferencingAppsOutputDto              `json:"data"`
	Status ConferencingAppOutputResponseDtoStatus `json:"status"`
}

ConferencingAppOutputResponseDto defines model for ConferencingAppOutputResponseDto.

type ConferencingAppOutputResponseDtoStatus

type ConferencingAppOutputResponseDtoStatus string

ConferencingAppOutputResponseDtoStatus defines model for ConferencingAppOutputResponseDto.Status.

const (
	ConferencingAppOutputResponseDtoStatusError   ConferencingAppOutputResponseDtoStatus = "error"
	ConferencingAppOutputResponseDtoStatusSuccess ConferencingAppOutputResponseDtoStatus = "success"
)

Defines values for ConferencingAppOutputResponseDtoStatus.

func (ConferencingAppOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the ConferencingAppOutputResponseDtoStatus enum.

type ConferencingAppsOutputDto

type ConferencingAppsOutputDto struct {
	// Id Id of the conferencing app credentials
	Id float64 `json:"id"`

	// Invalid Whether if the connection is working or not.
	//
	// Example: true
	Invalid *bool `json:"invalid,omitempty"`

	// Type Type of conferencing app
	//
	// Example: google_video
	Type string `json:"type"`

	// UserId Id of the user associated to the conferencing app
	UserId float64 `json:"userId"`
}

ConferencingAppsOutputDto defines model for ConferencingAppsOutputDto.

type ConferencingAppsOutputResponseDto

type ConferencingAppsOutputResponseDto struct {
	Data   []ConferencingAppsOutputDto             `json:"data"`
	Status ConferencingAppsOutputResponseDtoStatus `json:"status"`
}

ConferencingAppsOutputResponseDto defines model for ConferencingAppsOutputResponseDto.

type ConferencingAppsOutputResponseDtoStatus

type ConferencingAppsOutputResponseDtoStatus string

ConferencingAppsOutputResponseDtoStatus defines model for ConferencingAppsOutputResponseDto.Status.

const (
	ConferencingAppsOutputResponseDtoStatusError   ConferencingAppsOutputResponseDtoStatus = "error"
	ConferencingAppsOutputResponseDtoStatusSuccess ConferencingAppsOutputResponseDtoStatus = "success"
)

Defines values for ConferencingAppsOutputResponseDtoStatus.

func (ConferencingAppsOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the ConferencingAppsOutputResponseDtoStatus enum.

type ConferencingControllerConnectParams

type ConferencingControllerConnectParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

ConferencingControllerConnectParams defines parameters for ConferencingControllerConnect.

type ConferencingControllerConnectParamsApp

type ConferencingControllerConnectParamsApp string

ConferencingControllerConnectParamsApp defines parameters for ConferencingControllerConnect.

const (
	ConferencingControllerConnectParamsAppGoogleMeet ConferencingControllerConnectParamsApp = "google-meet"
)

Defines values for ConferencingControllerConnectParamsApp.

func (ConferencingControllerConnectParamsApp) Valid

Valid indicates whether the value is a known member of the ConferencingControllerConnectParamsApp enum.

type ConferencingControllerConnectResponse

type ConferencingControllerConnectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ConferencingAppOutputResponseDto
}

func ParseConferencingControllerConnectResponse

func ParseConferencingControllerConnectResponse(rsp *http.Response) (*ConferencingControllerConnectResponse, error)

ParseConferencingControllerConnectResponse parses an HTTP response from a ConferencingControllerConnectWithResponse call

func (ConferencingControllerConnectResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConferencingControllerConnectResponse) GetBody

GetBody returns the raw response body bytes

func (ConferencingControllerConnectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConferencingControllerConnectResponse) Status

Status returns HTTPResponse.Status

func (ConferencingControllerConnectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConferencingControllerDefaultParams

type ConferencingControllerDefaultParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

ConferencingControllerDefaultParams defines parameters for ConferencingControllerDefault.

type ConferencingControllerDefaultParamsApp

type ConferencingControllerDefaultParamsApp string

ConferencingControllerDefaultParamsApp defines parameters for ConferencingControllerDefault.

const (
	ConferencingControllerDefaultParamsAppDailyVideo ConferencingControllerDefaultParamsApp = "daily-video"
	ConferencingControllerDefaultParamsAppGoogleMeet ConferencingControllerDefaultParamsApp = "google-meet"
	ConferencingControllerDefaultParamsAppMsteams    ConferencingControllerDefaultParamsApp = "msteams"
	ConferencingControllerDefaultParamsAppZoom       ConferencingControllerDefaultParamsApp = "zoom"
)

Defines values for ConferencingControllerDefaultParamsApp.

func (ConferencingControllerDefaultParamsApp) Valid

Valid indicates whether the value is a known member of the ConferencingControllerDefaultParamsApp enum.

type ConferencingControllerDefaultResponse

type ConferencingControllerDefaultResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SetDefaultConferencingAppOutputResponseDto
}

func ParseConferencingControllerDefaultResponse

func ParseConferencingControllerDefaultResponse(rsp *http.Response) (*ConferencingControllerDefaultResponse, error)

ParseConferencingControllerDefaultResponse parses an HTTP response from a ConferencingControllerDefaultWithResponse call

func (ConferencingControllerDefaultResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConferencingControllerDefaultResponse) GetBody

GetBody returns the raw response body bytes

func (ConferencingControllerDefaultResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConferencingControllerDefaultResponse) Status

Status returns HTTPResponse.Status

func (ConferencingControllerDefaultResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConferencingControllerDisconnectParams

type ConferencingControllerDisconnectParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

ConferencingControllerDisconnectParams defines parameters for ConferencingControllerDisconnect.

type ConferencingControllerDisconnectParamsApp

type ConferencingControllerDisconnectParamsApp string

ConferencingControllerDisconnectParamsApp defines parameters for ConferencingControllerDisconnect.

const (
	ConferencingControllerDisconnectParamsAppGoogleMeet ConferencingControllerDisconnectParamsApp = "google-meet"
	ConferencingControllerDisconnectParamsAppMsteams    ConferencingControllerDisconnectParamsApp = "msteams"
	ConferencingControllerDisconnectParamsAppZoom       ConferencingControllerDisconnectParamsApp = "zoom"
)

Defines values for ConferencingControllerDisconnectParamsApp.

func (ConferencingControllerDisconnectParamsApp) Valid

Valid indicates whether the value is a known member of the ConferencingControllerDisconnectParamsApp enum.

type ConferencingControllerDisconnectResponse

type ConferencingControllerDisconnectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DisconnectConferencingAppOutputResponseDto
}

func ParseConferencingControllerDisconnectResponse

func ParseConferencingControllerDisconnectResponse(rsp *http.Response) (*ConferencingControllerDisconnectResponse, error)

ParseConferencingControllerDisconnectResponse parses an HTTP response from a ConferencingControllerDisconnectWithResponse call

func (ConferencingControllerDisconnectResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConferencingControllerDisconnectResponse) GetBody

GetBody returns the raw response body bytes

func (ConferencingControllerDisconnectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConferencingControllerDisconnectResponse) Status

Status returns HTTPResponse.Status

func (ConferencingControllerDisconnectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConferencingControllerGetDefaultParams

type ConferencingControllerGetDefaultParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

ConferencingControllerGetDefaultParams defines parameters for ConferencingControllerGetDefault.

type ConferencingControllerGetDefaultResponse

type ConferencingControllerGetDefaultResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetDefaultConferencingAppOutputResponseDto
}

func ParseConferencingControllerGetDefaultResponse

func ParseConferencingControllerGetDefaultResponse(rsp *http.Response) (*ConferencingControllerGetDefaultResponse, error)

ParseConferencingControllerGetDefaultResponse parses an HTTP response from a ConferencingControllerGetDefaultWithResponse call

func (ConferencingControllerGetDefaultResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConferencingControllerGetDefaultResponse) GetBody

GetBody returns the raw response body bytes

func (ConferencingControllerGetDefaultResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConferencingControllerGetDefaultResponse) Status

Status returns HTTPResponse.Status

func (ConferencingControllerGetDefaultResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConferencingControllerListInstalledConferencingAppsParams

type ConferencingControllerListInstalledConferencingAppsParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

ConferencingControllerListInstalledConferencingAppsParams defines parameters for ConferencingControllerListInstalledConferencingApps.

type ConferencingControllerListInstalledConferencingAppsResponse

type ConferencingControllerListInstalledConferencingAppsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ConferencingAppsOutputResponseDto
}

func ParseConferencingControllerListInstalledConferencingAppsResponse

func ParseConferencingControllerListInstalledConferencingAppsResponse(rsp *http.Response) (*ConferencingControllerListInstalledConferencingAppsResponse, error)

ParseConferencingControllerListInstalledConferencingAppsResponse parses an HTTP response from a ConferencingControllerListInstalledConferencingAppsWithResponse call

func (ConferencingControllerListInstalledConferencingAppsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConferencingControllerListInstalledConferencingAppsResponse) GetBody

GetBody returns the raw response body bytes

func (ConferencingControllerListInstalledConferencingAppsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConferencingControllerListInstalledConferencingAppsResponse) Status

Status returns HTTPResponse.Status

func (ConferencingControllerListInstalledConferencingAppsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConferencingControllerRedirectParams

type ConferencingControllerRedirectParams struct {
	ReturnTo        string `form:"returnTo" json:"returnTo"`
	OnErrorReturnTo string `form:"onErrorReturnTo" json:"onErrorReturnTo"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

ConferencingControllerRedirectParams defines parameters for ConferencingControllerRedirect.

type ConferencingControllerRedirectParamsApp

type ConferencingControllerRedirectParamsApp string

ConferencingControllerRedirectParamsApp defines parameters for ConferencingControllerRedirect.

const (
	ConferencingControllerRedirectParamsAppMsteams ConferencingControllerRedirectParamsApp = "msteams"
	ConferencingControllerRedirectParamsAppZoom    ConferencingControllerRedirectParamsApp = "zoom"
)

Defines values for ConferencingControllerRedirectParamsApp.

func (ConferencingControllerRedirectParamsApp) Valid

Valid indicates whether the value is a known member of the ConferencingControllerRedirectParamsApp enum.

type ConferencingControllerRedirectResponse

type ConferencingControllerRedirectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetConferencingAppsOauthUrlResponseDto
}

func ParseConferencingControllerRedirectResponse

func ParseConferencingControllerRedirectResponse(rsp *http.Response) (*ConferencingControllerRedirectResponse, error)

ParseConferencingControllerRedirectResponse parses an HTTP response from a ConferencingControllerRedirectWithResponse call

func (ConferencingControllerRedirectResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConferencingControllerRedirectResponse) GetBody

GetBody returns the raw response body bytes

func (ConferencingControllerRedirectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConferencingControllerRedirectResponse) Status

Status returns HTTPResponse.Status

func (ConferencingControllerRedirectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConferencingControllerSaveParams

type ConferencingControllerSaveParams struct {
	State string `form:"state" json:"state"`
	Code  string `form:"code" json:"code"`
}

ConferencingControllerSaveParams defines parameters for ConferencingControllerSave.

type ConferencingControllerSaveParamsApp

type ConferencingControllerSaveParamsApp string

ConferencingControllerSaveParamsApp defines parameters for ConferencingControllerSave.

const (
	ConferencingControllerSaveParamsAppMsteams ConferencingControllerSaveParamsApp = "msteams"
	ConferencingControllerSaveParamsAppZoom    ConferencingControllerSaveParamsApp = "zoom"
)

Defines values for ConferencingControllerSaveParamsApp.

func (ConferencingControllerSaveParamsApp) Valid

Valid indicates whether the value is a known member of the ConferencingControllerSaveParamsApp enum.

type ConferencingControllerSaveResponse

type ConferencingControllerSaveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseConferencingControllerSaveResponse

func ParseConferencingControllerSaveResponse(rsp *http.Response) (*ConferencingControllerSaveResponse, error)

ParseConferencingControllerSaveResponse parses an HTTP response from a ConferencingControllerSaveWithResponse call

func (ConferencingControllerSaveResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConferencingControllerSaveResponse) GetBody

GetBody returns the raw response body bytes

func (ConferencingControllerSaveResponse) Status

Status returns HTTPResponse.Status

func (ConferencingControllerSaveResponse) StatusCode

func (r ConferencingControllerSaveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectedCalendar

type ConnectedCalendar struct {
	Calendars              *[]Calendar `json:"calendars,omitempty"`
	CredentialId           float64     `json:"credentialId"`
	DelegationCredentialId *string     `json:"delegationCredentialId,omitempty"`
	Integration            Integration `json:"integration"`
	Primary                *Primary    `json:"primary,omitempty"`
}

ConnectedCalendar defines model for ConnectedCalendar.

type ConnectedCalendarsData

type ConnectedCalendarsData struct {
	ConnectedCalendars  []ConnectedCalendar `json:"connectedCalendars"`
	DestinationCalendar DestinationCalendar `json:"destinationCalendar"`
}

ConnectedCalendarsData defines model for ConnectedCalendarsData.

type ConnectedCalendarsOutput

type ConnectedCalendarsOutput struct {
	Data ConnectedCalendarsData `json:"data"`

	// Status Example: success
	Status ConnectedCalendarsOutputStatus `json:"status"`
}

ConnectedCalendarsOutput defines model for ConnectedCalendarsOutput.

type ConnectedCalendarsOutputStatus

type ConnectedCalendarsOutputStatus string

ConnectedCalendarsOutputStatus Example: success

const (
	ConnectedCalendarsOutputStatusError   ConnectedCalendarsOutputStatus = "error"
	ConnectedCalendarsOutputStatusSuccess ConnectedCalendarsOutputStatus = "success"
)

Defines values for ConnectedCalendarsOutputStatus.

func (ConnectedCalendarsOutputStatus) Valid

Valid indicates whether the value is a known member of the ConnectedCalendarsOutputStatus enum.

type CreateBookingAttendee

type CreateBookingAttendee struct {
	// Email The email of the attendee.
	//
	// Example: john.doe@example.com
	Email *string `json:"email,omitempty"`

	// Language The preferred language of the attendee. Used for booking confirmation.
	//
	// Example: it
	Language *CreateBookingAttendeeLanguage `json:"language,omitempty"`

	// Name The name of the attendee.
	//
	// Example: John Doe
	Name string `json:"name"`

	// PhoneNumber The phone number of the attendee in international format.
	//
	// Example: +919876543210
	PhoneNumber *string `json:"phoneNumber,omitempty"`

	// TimeZone The time zone of the attendee.
	//
	// Example: America/New_York
	TimeZone string `json:"timeZone"`
}

CreateBookingAttendee defines model for CreateBookingAttendee.

type CreateBookingAttendeeLanguage

type CreateBookingAttendeeLanguage string

CreateBookingAttendeeLanguage The preferred language of the attendee. Used for booking confirmation.

Example: it

const (
	CreateBookingAttendeeLanguageAr    CreateBookingAttendeeLanguage = "ar"
	CreateBookingAttendeeLanguageAz    CreateBookingAttendeeLanguage = "az"
	CreateBookingAttendeeLanguageBg    CreateBookingAttendeeLanguage = "bg"
	CreateBookingAttendeeLanguageBn    CreateBookingAttendeeLanguage = "bn"
	CreateBookingAttendeeLanguageCa    CreateBookingAttendeeLanguage = "ca"
	CreateBookingAttendeeLanguageCs    CreateBookingAttendeeLanguage = "cs"
	CreateBookingAttendeeLanguageDa    CreateBookingAttendeeLanguage = "da"
	CreateBookingAttendeeLanguageDe    CreateBookingAttendeeLanguage = "de"
	CreateBookingAttendeeLanguageEl    CreateBookingAttendeeLanguage = "el"
	CreateBookingAttendeeLanguageEn    CreateBookingAttendeeLanguage = "en"
	CreateBookingAttendeeLanguageEs    CreateBookingAttendeeLanguage = "es"
	CreateBookingAttendeeLanguageEs419 CreateBookingAttendeeLanguage = "es-419"
	CreateBookingAttendeeLanguageEt    CreateBookingAttendeeLanguage = "et"
	CreateBookingAttendeeLanguageEu    CreateBookingAttendeeLanguage = "eu"
	CreateBookingAttendeeLanguageFi    CreateBookingAttendeeLanguage = "fi"
	CreateBookingAttendeeLanguageFr    CreateBookingAttendeeLanguage = "fr"
	CreateBookingAttendeeLanguageHe    CreateBookingAttendeeLanguage = "he"
	CreateBookingAttendeeLanguageHr    CreateBookingAttendeeLanguage = "hr"
	CreateBookingAttendeeLanguageHu    CreateBookingAttendeeLanguage = "hu"
	CreateBookingAttendeeLanguageId    CreateBookingAttendeeLanguage = "id"
	CreateBookingAttendeeLanguageIt    CreateBookingAttendeeLanguage = "it"
	CreateBookingAttendeeLanguageIw    CreateBookingAttendeeLanguage = "iw"
	CreateBookingAttendeeLanguageJa    CreateBookingAttendeeLanguage = "ja"
	CreateBookingAttendeeLanguageKm    CreateBookingAttendeeLanguage = "km"
	CreateBookingAttendeeLanguageKo    CreateBookingAttendeeLanguage = "ko"
	CreateBookingAttendeeLanguageLv    CreateBookingAttendeeLanguage = "lv"
	CreateBookingAttendeeLanguageNl    CreateBookingAttendeeLanguage = "nl"
	CreateBookingAttendeeLanguageNo    CreateBookingAttendeeLanguage = "no"
	CreateBookingAttendeeLanguagePl    CreateBookingAttendeeLanguage = "pl"
	CreateBookingAttendeeLanguagePt    CreateBookingAttendeeLanguage = "pt"
	CreateBookingAttendeeLanguagePtBR  CreateBookingAttendeeLanguage = "pt-BR"
	CreateBookingAttendeeLanguageRo    CreateBookingAttendeeLanguage = "ro"
	CreateBookingAttendeeLanguageRu    CreateBookingAttendeeLanguage = "ru"
	CreateBookingAttendeeLanguageSk    CreateBookingAttendeeLanguage = "sk"
	CreateBookingAttendeeLanguageSr    CreateBookingAttendeeLanguage = "sr"
	CreateBookingAttendeeLanguageSv    CreateBookingAttendeeLanguage = "sv"
	CreateBookingAttendeeLanguageTa    CreateBookingAttendeeLanguage = "ta"
	CreateBookingAttendeeLanguageTh    CreateBookingAttendeeLanguage = "th"
	CreateBookingAttendeeLanguageTr    CreateBookingAttendeeLanguage = "tr"
	CreateBookingAttendeeLanguageUk    CreateBookingAttendeeLanguage = "uk"
	CreateBookingAttendeeLanguageVi    CreateBookingAttendeeLanguage = "vi"
	CreateBookingAttendeeLanguageZhCN  CreateBookingAttendeeLanguage = "zh-CN"
	CreateBookingAttendeeLanguageZhTW  CreateBookingAttendeeLanguage = "zh-TW"
)

Defines values for CreateBookingAttendeeLanguage.

func (CreateBookingAttendeeLanguage) Valid

Valid indicates whether the value is a known member of the CreateBookingAttendeeLanguage enum.

type CreateBookingInput20240813

type CreateBookingInput20240813 struct {
	// Attendee The attendee's details.
	Attendee CreateBookingAttendee `json:"attendee"`

	// BookingFieldsResponses Booking field responses consisting of an object with booking field slug as keys and user response as values for custom booking fields added by you.
	//
	// Example: {"customField":"customValue"}
	BookingFieldsResponses *map[string]interface{} `json:"bookingFieldsResponses,omitempty"`

	// EmailVerificationCode Email verification code required when event type has email verification enabled.
	//
	// Example: 123456
	EmailVerificationCode *string `json:"emailVerificationCode,omitempty"`

	// EventTypeId The ID of the event type that is booked. Required unless eventTypeSlug and username are provided as an alternative to identifying the event type.
	//
	// Example: 123
	EventTypeId *float64 `json:"eventTypeId,omitempty"`

	// EventTypeSlug The slug of the event type. Required along with username / teamSlug and optionally organizationSlug if eventTypeId is not provided.
	//
	// Example: my-event-type
	EventTypeSlug *string `json:"eventTypeSlug,omitempty"`

	// Guests An optional list of guest emails attending the event.
	//
	// Example: ["guest1@example.com","guest2@example.com"]
	Guests *[]string `json:"guests,omitempty"`

	// LengthInMinutes If it is an event type that has multiple possible lengths that attendee can pick from, you can pass the desired booking length here.
	//     If not provided then event type default length will be used for the booking.
	//
	// Example: 30
	LengthInMinutes *float64 `json:"lengthInMinutes,omitempty"`

	// Location One of the event type locations. If instead of passing one of the location objects as required by schema you are still passing a string please use an object.
	Location *CreateBookingInput20240813_Location `json:"location,omitempty"`

	// MeetingUrl Deprecated - use 'location' instead. Meeting URL just for this booking. Displayed in email and calendar event. If not provided then cal video link will be generated.
	//
	// Example: https://example.com/meeting
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MeetingUrl *string `json:"meetingUrl,omitempty"`

	// Metadata You can store any additional data you want here. Metadata must have at most 50 keys, each key up to 40 characters, and string values up to 500 characters.
	//
	// Example: {"key":"value"}
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// OrganizationSlug The organization slug. Optional, only used when booking with eventTypeSlug + username or eventTypeSlug + teamSlug.
	//
	// Example: acme-corp
	OrganizationSlug *string `json:"organizationSlug,omitempty"`

	// Routing Routing information from routing forms that determined the booking assignment. Both responseId and teamMemberIds are required if provided.
	//
	// Example: {"responseId":123,"teamMemberIds":[101,102]}
	Routing *Routing `json:"routing,omitempty"`

	// Start The start time of the booking in ISO 8601 format in UTC timezone.
	//
	// Example: 2024-08-13T09:00:00Z
	Start string `json:"start"`

	// TeamSlug Team slug for team that owns event type for which slots are fetched. Required along with eventTypeSlug and optionally organizationSlug if the team is part of organization
	//
	// Example: john-doe
	TeamSlug *string `json:"teamSlug,omitempty"`

	// Username The username of the event owner. Required along with eventTypeSlug and optionally organizationSlug if eventTypeId is not provided.
	//
	// Example: john-doe
	Username *string `json:"username,omitempty"`
}

CreateBookingInput20240813 defines model for CreateBookingInput_2024_08_13.

type CreateBookingInput20240813_Location

type CreateBookingInput20240813_Location struct {
	// contains filtered or unexported fields
}

CreateBookingInput20240813_Location One of the event type locations. If instead of passing one of the location objects as required by schema you are still passing a string please use an object.

func (CreateBookingInput20240813_Location) AsBookingInputAddressLocation20240813

func (t CreateBookingInput20240813_Location) AsBookingInputAddressLocation20240813() (BookingInputAddressLocation20240813, error)

AsBookingInputAddressLocation20240813 returns the union data inside the CreateBookingInput20240813_Location as a BookingInputAddressLocation20240813

func (CreateBookingInput20240813_Location) AsBookingInputAttendeeAddressLocation20240813

func (t CreateBookingInput20240813_Location) AsBookingInputAttendeeAddressLocation20240813() (BookingInputAttendeeAddressLocation20240813, error)

AsBookingInputAttendeeAddressLocation20240813 returns the union data inside the CreateBookingInput20240813_Location as a BookingInputAttendeeAddressLocation20240813

func (CreateBookingInput20240813_Location) AsBookingInputAttendeeDefinedLocation20240813

func (t CreateBookingInput20240813_Location) AsBookingInputAttendeeDefinedLocation20240813() (BookingInputAttendeeDefinedLocation20240813, error)

AsBookingInputAttendeeDefinedLocation20240813 returns the union data inside the CreateBookingInput20240813_Location as a BookingInputAttendeeDefinedLocation20240813

func (CreateBookingInput20240813_Location) AsBookingInputAttendeePhoneLocation20240813

func (t CreateBookingInput20240813_Location) AsBookingInputAttendeePhoneLocation20240813() (BookingInputAttendeePhoneLocation20240813, error)

AsBookingInputAttendeePhoneLocation20240813 returns the union data inside the CreateBookingInput20240813_Location as a BookingInputAttendeePhoneLocation20240813

func (CreateBookingInput20240813_Location) AsBookingInputIntegrationLocation20240813

func (t CreateBookingInput20240813_Location) AsBookingInputIntegrationLocation20240813() (BookingInputIntegrationLocation20240813, error)

AsBookingInputIntegrationLocation20240813 returns the union data inside the CreateBookingInput20240813_Location as a BookingInputIntegrationLocation20240813

func (CreateBookingInput20240813_Location) AsBookingInputLinkLocation20240813

func (t CreateBookingInput20240813_Location) AsBookingInputLinkLocation20240813() (BookingInputLinkLocation20240813, error)

AsBookingInputLinkLocation20240813 returns the union data inside the CreateBookingInput20240813_Location as a BookingInputLinkLocation20240813

func (CreateBookingInput20240813_Location) AsBookingInputOrganizersDefaultAppLocation20240813

func (t CreateBookingInput20240813_Location) AsBookingInputOrganizersDefaultAppLocation20240813() (BookingInputOrganizersDefaultAppLocation20240813, error)

AsBookingInputOrganizersDefaultAppLocation20240813 returns the union data inside the CreateBookingInput20240813_Location as a BookingInputOrganizersDefaultAppLocation20240813

func (CreateBookingInput20240813_Location) AsBookingInputPhoneLocation20240813

func (t CreateBookingInput20240813_Location) AsBookingInputPhoneLocation20240813() (BookingInputPhoneLocation20240813, error)

AsBookingInputPhoneLocation20240813 returns the union data inside the CreateBookingInput20240813_Location as a BookingInputPhoneLocation20240813

func (*CreateBookingInput20240813_Location) FromBookingInputAddressLocation20240813

func (t *CreateBookingInput20240813_Location) FromBookingInputAddressLocation20240813(v BookingInputAddressLocation20240813) error

FromBookingInputAddressLocation20240813 overwrites any union data inside the CreateBookingInput20240813_Location as the provided BookingInputAddressLocation20240813

func (*CreateBookingInput20240813_Location) FromBookingInputAttendeeAddressLocation20240813

func (t *CreateBookingInput20240813_Location) FromBookingInputAttendeeAddressLocation20240813(v BookingInputAttendeeAddressLocation20240813) error

FromBookingInputAttendeeAddressLocation20240813 overwrites any union data inside the CreateBookingInput20240813_Location as the provided BookingInputAttendeeAddressLocation20240813

func (*CreateBookingInput20240813_Location) FromBookingInputAttendeeDefinedLocation20240813

func (t *CreateBookingInput20240813_Location) FromBookingInputAttendeeDefinedLocation20240813(v BookingInputAttendeeDefinedLocation20240813) error

FromBookingInputAttendeeDefinedLocation20240813 overwrites any union data inside the CreateBookingInput20240813_Location as the provided BookingInputAttendeeDefinedLocation20240813

func (*CreateBookingInput20240813_Location) FromBookingInputAttendeePhoneLocation20240813

func (t *CreateBookingInput20240813_Location) FromBookingInputAttendeePhoneLocation20240813(v BookingInputAttendeePhoneLocation20240813) error

FromBookingInputAttendeePhoneLocation20240813 overwrites any union data inside the CreateBookingInput20240813_Location as the provided BookingInputAttendeePhoneLocation20240813

func (*CreateBookingInput20240813_Location) FromBookingInputIntegrationLocation20240813

func (t *CreateBookingInput20240813_Location) FromBookingInputIntegrationLocation20240813(v BookingInputIntegrationLocation20240813) error

FromBookingInputIntegrationLocation20240813 overwrites any union data inside the CreateBookingInput20240813_Location as the provided BookingInputIntegrationLocation20240813

func (*CreateBookingInput20240813_Location) FromBookingInputLinkLocation20240813

func (t *CreateBookingInput20240813_Location) FromBookingInputLinkLocation20240813(v BookingInputLinkLocation20240813) error

FromBookingInputLinkLocation20240813 overwrites any union data inside the CreateBookingInput20240813_Location as the provided BookingInputLinkLocation20240813

func (*CreateBookingInput20240813_Location) FromBookingInputOrganizersDefaultAppLocation20240813

func (t *CreateBookingInput20240813_Location) FromBookingInputOrganizersDefaultAppLocation20240813(v BookingInputOrganizersDefaultAppLocation20240813) error

FromBookingInputOrganizersDefaultAppLocation20240813 overwrites any union data inside the CreateBookingInput20240813_Location as the provided BookingInputOrganizersDefaultAppLocation20240813

func (*CreateBookingInput20240813_Location) FromBookingInputPhoneLocation20240813

func (t *CreateBookingInput20240813_Location) FromBookingInputPhoneLocation20240813(v BookingInputPhoneLocation20240813) error

FromBookingInputPhoneLocation20240813 overwrites any union data inside the CreateBookingInput20240813_Location as the provided BookingInputPhoneLocation20240813

func (CreateBookingInput20240813_Location) MarshalJSON

func (t CreateBookingInput20240813_Location) MarshalJSON() ([]byte, error)

func (*CreateBookingInput20240813_Location) MergeBookingInputAddressLocation20240813

func (t *CreateBookingInput20240813_Location) MergeBookingInputAddressLocation20240813(v BookingInputAddressLocation20240813) error

MergeBookingInputAddressLocation20240813 performs a merge with any union data inside the CreateBookingInput20240813_Location, using the provided BookingInputAddressLocation20240813

func (*CreateBookingInput20240813_Location) MergeBookingInputAttendeeAddressLocation20240813

func (t *CreateBookingInput20240813_Location) MergeBookingInputAttendeeAddressLocation20240813(v BookingInputAttendeeAddressLocation20240813) error

MergeBookingInputAttendeeAddressLocation20240813 performs a merge with any union data inside the CreateBookingInput20240813_Location, using the provided BookingInputAttendeeAddressLocation20240813

func (*CreateBookingInput20240813_Location) MergeBookingInputAttendeeDefinedLocation20240813

func (t *CreateBookingInput20240813_Location) MergeBookingInputAttendeeDefinedLocation20240813(v BookingInputAttendeeDefinedLocation20240813) error

MergeBookingInputAttendeeDefinedLocation20240813 performs a merge with any union data inside the CreateBookingInput20240813_Location, using the provided BookingInputAttendeeDefinedLocation20240813

func (*CreateBookingInput20240813_Location) MergeBookingInputAttendeePhoneLocation20240813

func (t *CreateBookingInput20240813_Location) MergeBookingInputAttendeePhoneLocation20240813(v BookingInputAttendeePhoneLocation20240813) error

MergeBookingInputAttendeePhoneLocation20240813 performs a merge with any union data inside the CreateBookingInput20240813_Location, using the provided BookingInputAttendeePhoneLocation20240813

func (*CreateBookingInput20240813_Location) MergeBookingInputIntegrationLocation20240813

func (t *CreateBookingInput20240813_Location) MergeBookingInputIntegrationLocation20240813(v BookingInputIntegrationLocation20240813) error

MergeBookingInputIntegrationLocation20240813 performs a merge with any union data inside the CreateBookingInput20240813_Location, using the provided BookingInputIntegrationLocation20240813

func (*CreateBookingInput20240813_Location) MergeBookingInputLinkLocation20240813

func (t *CreateBookingInput20240813_Location) MergeBookingInputLinkLocation20240813(v BookingInputLinkLocation20240813) error

MergeBookingInputLinkLocation20240813 performs a merge with any union data inside the CreateBookingInput20240813_Location, using the provided BookingInputLinkLocation20240813

func (*CreateBookingInput20240813_Location) MergeBookingInputOrganizersDefaultAppLocation20240813

func (t *CreateBookingInput20240813_Location) MergeBookingInputOrganizersDefaultAppLocation20240813(v BookingInputOrganizersDefaultAppLocation20240813) error

MergeBookingInputOrganizersDefaultAppLocation20240813 performs a merge with any union data inside the CreateBookingInput20240813_Location, using the provided BookingInputOrganizersDefaultAppLocation20240813

func (*CreateBookingInput20240813_Location) MergeBookingInputPhoneLocation20240813

func (t *CreateBookingInput20240813_Location) MergeBookingInputPhoneLocation20240813(v BookingInputPhoneLocation20240813) error

MergeBookingInputPhoneLocation20240813 performs a merge with any union data inside the CreateBookingInput20240813_Location, using the provided BookingInputPhoneLocation20240813

func (*CreateBookingInput20240813_Location) UnmarshalJSON

func (t *CreateBookingInput20240813_Location) UnmarshalJSON(b []byte) error

type CreateBookingOutput20240813

type CreateBookingOutput20240813 struct {
	// Data Booking data, which can be either a BookingOutput object or an array of RecurringBookingOutput objects
	Data CreateBookingOutput20240813_Data `json:"data"`

	// Status Example: success
	Status CreateBookingOutput20240813Status `json:"status"`
}

CreateBookingOutput20240813 defines model for CreateBookingOutput_2024_08_13.

type CreateBookingOutput20240813Data1

type CreateBookingOutput20240813Data1 = []RecurringBookingOutput20240813

CreateBookingOutput20240813Data1 defines model for CreateBookingOutput20240813.Data.1.

type CreateBookingOutput20240813Data3

type CreateBookingOutput20240813Data3 = []CreateRecurringSeatedBookingOutput20240813

CreateBookingOutput20240813Data3 defines model for CreateBookingOutput20240813.Data.3.

type CreateBookingOutput20240813Status

type CreateBookingOutput20240813Status string

CreateBookingOutput20240813Status Example: success

const (
	CreateBookingOutput20240813StatusError   CreateBookingOutput20240813Status = "error"
	CreateBookingOutput20240813StatusSuccess CreateBookingOutput20240813Status = "success"
)

Defines values for CreateBookingOutput20240813Status.

func (CreateBookingOutput20240813Status) Valid

Valid indicates whether the value is a known member of the CreateBookingOutput20240813Status enum.

type CreateBookingOutput20240813_Data

type CreateBookingOutput20240813_Data struct {
	// contains filtered or unexported fields
}

CreateBookingOutput20240813_Data Booking data, which can be either a BookingOutput object or an array of RecurringBookingOutput objects

func (CreateBookingOutput20240813_Data) AsBookingOutput20240813

func (t CreateBookingOutput20240813_Data) AsBookingOutput20240813() (BookingOutput20240813, error)

AsBookingOutput20240813 returns the union data inside the CreateBookingOutput20240813_Data as a BookingOutput20240813

func (CreateBookingOutput20240813_Data) AsCreateBookingOutput20240813Data1

func (t CreateBookingOutput20240813_Data) AsCreateBookingOutput20240813Data1() (CreateBookingOutput20240813Data1, error)

AsCreateBookingOutput20240813Data1 returns the union data inside the CreateBookingOutput20240813_Data as a CreateBookingOutput20240813Data1

func (CreateBookingOutput20240813_Data) AsCreateBookingOutput20240813Data3

func (t CreateBookingOutput20240813_Data) AsCreateBookingOutput20240813Data3() (CreateBookingOutput20240813Data3, error)

AsCreateBookingOutput20240813Data3 returns the union data inside the CreateBookingOutput20240813_Data as a CreateBookingOutput20240813Data3

func (CreateBookingOutput20240813_Data) AsCreateSeatedBookingOutput20240813

func (t CreateBookingOutput20240813_Data) AsCreateSeatedBookingOutput20240813() (CreateSeatedBookingOutput20240813, error)

AsCreateSeatedBookingOutput20240813 returns the union data inside the CreateBookingOutput20240813_Data as a CreateSeatedBookingOutput20240813

func (*CreateBookingOutput20240813_Data) FromBookingOutput20240813

func (t *CreateBookingOutput20240813_Data) FromBookingOutput20240813(v BookingOutput20240813) error

FromBookingOutput20240813 overwrites any union data inside the CreateBookingOutput20240813_Data as the provided BookingOutput20240813

func (*CreateBookingOutput20240813_Data) FromCreateBookingOutput20240813Data1

func (t *CreateBookingOutput20240813_Data) FromCreateBookingOutput20240813Data1(v CreateBookingOutput20240813Data1) error

FromCreateBookingOutput20240813Data1 overwrites any union data inside the CreateBookingOutput20240813_Data as the provided CreateBookingOutput20240813Data1

func (*CreateBookingOutput20240813_Data) FromCreateBookingOutput20240813Data3

func (t *CreateBookingOutput20240813_Data) FromCreateBookingOutput20240813Data3(v CreateBookingOutput20240813Data3) error

FromCreateBookingOutput20240813Data3 overwrites any union data inside the CreateBookingOutput20240813_Data as the provided CreateBookingOutput20240813Data3

func (*CreateBookingOutput20240813_Data) FromCreateSeatedBookingOutput20240813

func (t *CreateBookingOutput20240813_Data) FromCreateSeatedBookingOutput20240813(v CreateSeatedBookingOutput20240813) error

FromCreateSeatedBookingOutput20240813 overwrites any union data inside the CreateBookingOutput20240813_Data as the provided CreateSeatedBookingOutput20240813

func (CreateBookingOutput20240813_Data) MarshalJSON

func (t CreateBookingOutput20240813_Data) MarshalJSON() ([]byte, error)

func (*CreateBookingOutput20240813_Data) MergeBookingOutput20240813

func (t *CreateBookingOutput20240813_Data) MergeBookingOutput20240813(v BookingOutput20240813) error

MergeBookingOutput20240813 performs a merge with any union data inside the CreateBookingOutput20240813_Data, using the provided BookingOutput20240813

func (*CreateBookingOutput20240813_Data) MergeCreateBookingOutput20240813Data1

func (t *CreateBookingOutput20240813_Data) MergeCreateBookingOutput20240813Data1(v CreateBookingOutput20240813Data1) error

MergeCreateBookingOutput20240813Data1 performs a merge with any union data inside the CreateBookingOutput20240813_Data, using the provided CreateBookingOutput20240813Data1

func (*CreateBookingOutput20240813_Data) MergeCreateBookingOutput20240813Data3

func (t *CreateBookingOutput20240813_Data) MergeCreateBookingOutput20240813Data3(v CreateBookingOutput20240813Data3) error

MergeCreateBookingOutput20240813Data3 performs a merge with any union data inside the CreateBookingOutput20240813_Data, using the provided CreateBookingOutput20240813Data3

func (*CreateBookingOutput20240813_Data) MergeCreateSeatedBookingOutput20240813

func (t *CreateBookingOutput20240813_Data) MergeCreateSeatedBookingOutput20240813(v CreateSeatedBookingOutput20240813) error

MergeCreateSeatedBookingOutput20240813 performs a merge with any union data inside the CreateBookingOutput20240813_Data, using the provided CreateSeatedBookingOutput20240813

func (*CreateBookingOutput20240813_Data) UnmarshalJSON

func (t *CreateBookingOutput20240813_Data) UnmarshalJSON(b []byte) error

type CreateCalendarCredentialsInput

type CreateCalendarCredentialsInput struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

CreateCalendarCredentialsInput defines model for CreateCalendarCredentialsInput.

type CreateEventAttendee

type CreateEventAttendee struct {
	// Email Email address of the attendee
	Email string `json:"email"`

	// Name Display name of the attendee
	Name *string `json:"name,omitempty"`
}

CreateEventAttendee defines model for CreateEventAttendee.

type CreateEventDateTimeWithZone

type CreateEventDateTimeWithZone struct {
	// Time Start or end time in ISO 8601 format
	Time time.Time `json:"time"`

	// TimeZone IANA time zone (e.g. America/New_York)
	TimeZone string `json:"timeZone"`
}

CreateEventDateTimeWithZone defines model for CreateEventDateTimeWithZone.

type CreateEventTypeInput20240614

type CreateEventTypeInput20240614 struct {
	// AfterEventBuffer Extra time automatically blocked on your calendar after a meeting ends. This gives you time to wrap up, add notes, or decompress before your next commitment.
	AfterEventBuffer *float64 `json:"afterEventBuffer,omitempty"`

	// AllowReschedulingCancelledBookings When enabled, users will be able to create a new booking when trying to reschedule a cancelled booking.
	AllowReschedulingCancelledBookings *bool `json:"allowReschedulingCancelledBookings,omitempty"`

	// AllowReschedulingPastBookings Enabling this option allows for past events to be rescheduled.
	AllowReschedulingPastBookings *bool `json:"allowReschedulingPastBookings,omitempty"`

	// BeforeEventBuffer Extra time automatically blocked on your calendar before a meeting starts. This gives you time to prepare, review notes, or transition from your previous activity.
	BeforeEventBuffer *float64 `json:"beforeEventBuffer,omitempty"`

	// BookerActiveBookingsLimit Limit the number of active bookings a booker can make for this event type.
	BookerActiveBookingsLimit *CreateEventTypeInput20240614_BookerActiveBookingsLimit `json:"bookerActiveBookingsLimit,omitempty"`

	// BookerLayouts Should booker have week, month or column view. Specify default layout and enabled layouts user can pick.
	BookerLayouts *BookerLayouts20240614 `json:"bookerLayouts,omitempty"`

	// BookingFields Custom fields that can be added to the booking form when the event is booked by someone. By default booking form has name and email field.
	BookingFields *[]CreateEventTypeInput20240614_BookingFields_Item `json:"bookingFields,omitempty"`

	// BookingLimitsCount Limit how many times this event can be booked
	BookingLimitsCount *CreateEventTypeInput20240614_BookingLimitsCount `json:"bookingLimitsCount,omitempty"`

	// BookingLimitsDuration Limit total amount of time that this event can be booked
	BookingLimitsDuration *CreateEventTypeInput20240614_BookingLimitsDuration `json:"bookingLimitsDuration,omitempty"`

	// BookingRequiresAuthentication Boolean to require authentication for booking this event type via api. If true, only authenticated users who are the event-type owner or org/team admin/owner can book this event type.
	BookingRequiresAuthentication *bool `json:"bookingRequiresAuthentication,omitempty"`

	// BookingWindow Limit how far in the future this event can be booked
	BookingWindow *CreateEventTypeInput20240614_BookingWindow `json:"bookingWindow,omitempty"`

	// CalVideoSettings Cal video settings for the event type. Platform customers can't manage this property because currently we have no way of determining if managed user is a host or an attendee.
	CalVideoSettings *CalVideoSettings       `json:"calVideoSettings,omitempty"`
	Color            *EventTypeColor20240614 `json:"color,omitempty"`

	// ConfirmationPolicy Specify how the booking needs to be manually confirmed before it is pushed to the integrations and a confirmation mail is sent.
	ConfirmationPolicy *CreateEventTypeInput20240614_ConfirmationPolicy `json:"confirmationPolicy,omitempty"`

	// CustomName Customizable event name with valid variables:
	//       {Event type title}, {Organiser}, {Scheduler}, {Location}, {Organiser first name},
	//       {Scheduler first name}, {Scheduler last name}, {Event duration}, {LOCATION},
	//       {HOST/ATTENDEE}, {HOST}, {ATTENDEE}, {USER}
	//
	// Example: {Event type title} between {Organiser} and {Scheduler}
	CustomName *string `json:"customName,omitempty"`

	// Description Example: Discover the culinary wonders of the Argentina by making the best flan ever!
	Description         *string                      `json:"description,omitempty"`
	DestinationCalendar *DestinationCalendar20240614 `json:"destinationCalendar,omitempty"`

	// DisableCancelling Settings for disabling cancelling of this event type.
	//
	// Example: {"disabled":true}
	DisableCancelling *DisableCancelling20240614 `json:"disableCancelling,omitempty"`

	// DisableGuests If true, person booking this event can't add guests via their emails.
	DisableGuests *bool `json:"disableGuests,omitempty"`

	// DisableRescheduling Settings for disabling rescheduling of this event type. Can be always disabled or disabled when less than X minutes before the meeting.
	//
	// Example: {"disabled":false,"minutesBefore":60}
	DisableRescheduling      *DisableRescheduling20240614 `json:"disableRescheduling,omitempty"`
	Hidden                   *bool                        `json:"hidden,omitempty"`
	HideCalendarEventDetails *bool                        `json:"hideCalendarEventDetails,omitempty"`
	HideCalendarNotes        *bool                        `json:"hideCalendarNotes,omitempty"`

	// HideOrganizerEmail Boolean to Hide organizer's email address from the booking screen, email notifications, and calendar events
	HideOrganizerEmail *bool `json:"hideOrganizerEmail,omitempty"`

	// InterfaceLanguage Set preferred language for the booking interface. Use empty string for visitor's browser language (default).
	InterfaceLanguage *CreateEventTypeInput20240614InterfaceLanguage `json:"interfaceLanguage,omitempty"`

	// LengthInMinutes Example: 60
	LengthInMinutes float64 `json:"lengthInMinutes"`

	// LengthInMinutesOptions If you want that user can choose between different lengths of the event you can specify them here. Must include the provided `lengthInMinutes`.
	//
	// Example: [15,30,60]
	LengthInMinutesOptions *[]string `json:"lengthInMinutesOptions,omitempty"`

	// Locations Locations where the event will take place. If not provided, cal video link will be used as the location. Note: Setting a location to a conferencing app does not install the app - the app must already be installed. Via API, only Google Meet (google-meet), Microsoft Teams (office365-video), and Zoom (zoom) can be installed. Cal Video (cal-video) is installed by default. All other conferencing apps must be connected via the Cal.diy web app and are not available for Platform plan customers. You can only set an event type location to an app that has already been installed or connected.
	Locations                       *[]CreateEventTypeInput20240614_Locations_Item `json:"locations,omitempty"`
	LockTimeZoneToggleOnBookingPage *bool                                          `json:"lockTimeZoneToggleOnBookingPage,omitempty"`

	// MinimumBookingNotice Minimum number of minutes before the event that a booking can be made.
	MinimumBookingNotice *float64 `json:"minimumBookingNotice,omitempty"`

	// OffsetStart Offset timeslots shown to bookers by a specified number of minutes
	OffsetStart *float64 `json:"offsetStart,omitempty"`

	// OnlyShowFirstAvailableSlot This will limit your availability for this event type to one slot per day, scheduled at the earliest available time.
	OnlyShowFirstAvailableSlot *bool `json:"onlyShowFirstAvailableSlot,omitempty"`

	// Recurrence Create a recurring event type.
	Recurrence                      *CreateEventTypeInput20240614_Recurrence `json:"recurrence,omitempty"`
	RequiresBookerEmailVerification *bool                                    `json:"requiresBookerEmailVerification,omitempty"`

	// ScheduleId If you want that this event has different schedule than user's default one you can specify it here.
	ScheduleId *float64 `json:"scheduleId,omitempty"`

	// Seats Create an event type with multiple seats.
	Seats *CreateEventTypeInput20240614_Seats `json:"seats,omitempty"`

	// ShowOptimizedSlots Arrange time slots to optimize availability.
	ShowOptimizedSlots *bool `json:"showOptimizedSlots,omitempty"`

	// SlotInterval Number representing length of each slot when event is booked. By default it equal length of the event type.
	//       If event length is 60 minutes then we would have slots 9AM, 10AM, 11AM etc. but if it was changed to 30 minutes then
	//       we would have slots 9AM, 9:30AM, 10AM, 10:30AM etc. as the available times to book the 60 minute event.
	SlotInterval *float64 `json:"slotInterval,omitempty"`

	// Slug Example: learn-the-secrets-of-masterchief
	Slug string `json:"slug"`

	// SuccessRedirectUrl A valid URL where the booker will redirect to, once the booking is completed successfully
	//
	// Example: https://masterchief.com/argentina/flan/video/9129412
	SuccessRedirectUrl *string `json:"successRedirectUrl,omitempty"`

	// Title Example: Learn the secrets of masterchief!
	Title                       string `json:"title"`
	UseDestinationCalendarEmail *bool  `json:"useDestinationCalendarEmail,omitempty"`
}

CreateEventTypeInput20240614 defines model for CreateEventTypeInput_2024_06_14.

type CreateEventTypeInput20240614InterfaceLanguage

type CreateEventTypeInput20240614InterfaceLanguage string

CreateEventTypeInput20240614InterfaceLanguage Set preferred language for the booking interface. Use empty string for visitor's browser language (default).

const (
	CreateEventTypeInput20240614InterfaceLanguageAr    CreateEventTypeInput20240614InterfaceLanguage = "ar"
	CreateEventTypeInput20240614InterfaceLanguageAz    CreateEventTypeInput20240614InterfaceLanguage = "az"
	CreateEventTypeInput20240614InterfaceLanguageBg    CreateEventTypeInput20240614InterfaceLanguage = "bg"
	CreateEventTypeInput20240614InterfaceLanguageBn    CreateEventTypeInput20240614InterfaceLanguage = "bn"
	CreateEventTypeInput20240614InterfaceLanguageCa    CreateEventTypeInput20240614InterfaceLanguage = "ca"
	CreateEventTypeInput20240614InterfaceLanguageCs    CreateEventTypeInput20240614InterfaceLanguage = "cs"
	CreateEventTypeInput20240614InterfaceLanguageDa    CreateEventTypeInput20240614InterfaceLanguage = "da"
	CreateEventTypeInput20240614InterfaceLanguageDe    CreateEventTypeInput20240614InterfaceLanguage = "de"
	CreateEventTypeInput20240614InterfaceLanguageEl    CreateEventTypeInput20240614InterfaceLanguage = "el"
	CreateEventTypeInput20240614InterfaceLanguageEmpty CreateEventTypeInput20240614InterfaceLanguage = ""
	CreateEventTypeInput20240614InterfaceLanguageEn    CreateEventTypeInput20240614InterfaceLanguage = "en"
	CreateEventTypeInput20240614InterfaceLanguageEs    CreateEventTypeInput20240614InterfaceLanguage = "es"
	CreateEventTypeInput20240614InterfaceLanguageEs419 CreateEventTypeInput20240614InterfaceLanguage = "es-419"
	CreateEventTypeInput20240614InterfaceLanguageEt    CreateEventTypeInput20240614InterfaceLanguage = "et"
	CreateEventTypeInput20240614InterfaceLanguageEu    CreateEventTypeInput20240614InterfaceLanguage = "eu"
	CreateEventTypeInput20240614InterfaceLanguageFi    CreateEventTypeInput20240614InterfaceLanguage = "fi"
	CreateEventTypeInput20240614InterfaceLanguageFr    CreateEventTypeInput20240614InterfaceLanguage = "fr"
	CreateEventTypeInput20240614InterfaceLanguageHe    CreateEventTypeInput20240614InterfaceLanguage = "he"
	CreateEventTypeInput20240614InterfaceLanguageHu    CreateEventTypeInput20240614InterfaceLanguage = "hu"
	CreateEventTypeInput20240614InterfaceLanguageIt    CreateEventTypeInput20240614InterfaceLanguage = "it"
	CreateEventTypeInput20240614InterfaceLanguageJa    CreateEventTypeInput20240614InterfaceLanguage = "ja"
	CreateEventTypeInput20240614InterfaceLanguageKm    CreateEventTypeInput20240614InterfaceLanguage = "km"
	CreateEventTypeInput20240614InterfaceLanguageKo    CreateEventTypeInput20240614InterfaceLanguage = "ko"
	CreateEventTypeInput20240614InterfaceLanguageNl    CreateEventTypeInput20240614InterfaceLanguage = "nl"
	CreateEventTypeInput20240614InterfaceLanguageNo    CreateEventTypeInput20240614InterfaceLanguage = "no"
	CreateEventTypeInput20240614InterfaceLanguagePl    CreateEventTypeInput20240614InterfaceLanguage = "pl"
	CreateEventTypeInput20240614InterfaceLanguagePt    CreateEventTypeInput20240614InterfaceLanguage = "pt"
	CreateEventTypeInput20240614InterfaceLanguagePtBR  CreateEventTypeInput20240614InterfaceLanguage = "pt-BR"
	CreateEventTypeInput20240614InterfaceLanguageRo    CreateEventTypeInput20240614InterfaceLanguage = "ro"
	CreateEventTypeInput20240614InterfaceLanguageRu    CreateEventTypeInput20240614InterfaceLanguage = "ru"
	CreateEventTypeInput20240614InterfaceLanguageSkSK  CreateEventTypeInput20240614InterfaceLanguage = "sk-SK"
	CreateEventTypeInput20240614InterfaceLanguageSr    CreateEventTypeInput20240614InterfaceLanguage = "sr"
	CreateEventTypeInput20240614InterfaceLanguageSv    CreateEventTypeInput20240614InterfaceLanguage = "sv"
	CreateEventTypeInput20240614InterfaceLanguageTr    CreateEventTypeInput20240614InterfaceLanguage = "tr"
	CreateEventTypeInput20240614InterfaceLanguageUk    CreateEventTypeInput20240614InterfaceLanguage = "uk"
	CreateEventTypeInput20240614InterfaceLanguageVi    CreateEventTypeInput20240614InterfaceLanguage = "vi"
	CreateEventTypeInput20240614InterfaceLanguageZhCN  CreateEventTypeInput20240614InterfaceLanguage = "zh-CN"
	CreateEventTypeInput20240614InterfaceLanguageZhTW  CreateEventTypeInput20240614InterfaceLanguage = "zh-TW"
)

Defines values for CreateEventTypeInput20240614InterfaceLanguage.

func (CreateEventTypeInput20240614InterfaceLanguage) Valid

Valid indicates whether the value is a known member of the CreateEventTypeInput20240614InterfaceLanguage enum.

type CreateEventTypeInput20240614_BookerActiveBookingsLimit

type CreateEventTypeInput20240614_BookerActiveBookingsLimit struct {
	// contains filtered or unexported fields
}

CreateEventTypeInput20240614_BookerActiveBookingsLimit Limit the number of active bookings a booker can make for this event type.

func (CreateEventTypeInput20240614_BookerActiveBookingsLimit) AsBookerActiveBookingsLimit20240614

AsBookerActiveBookingsLimit20240614 returns the union data inside the CreateEventTypeInput20240614_BookerActiveBookingsLimit as a BookerActiveBookingsLimit20240614

func (CreateEventTypeInput20240614_BookerActiveBookingsLimit) AsDisabled20240614

AsDisabled20240614 returns the union data inside the CreateEventTypeInput20240614_BookerActiveBookingsLimit as a Disabled20240614

func (*CreateEventTypeInput20240614_BookerActiveBookingsLimit) FromBookerActiveBookingsLimit20240614

FromBookerActiveBookingsLimit20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookerActiveBookingsLimit as the provided BookerActiveBookingsLimit20240614

func (*CreateEventTypeInput20240614_BookerActiveBookingsLimit) FromDisabled20240614

FromDisabled20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookerActiveBookingsLimit as the provided Disabled20240614

func (CreateEventTypeInput20240614_BookerActiveBookingsLimit) MarshalJSON

func (*CreateEventTypeInput20240614_BookerActiveBookingsLimit) MergeBookerActiveBookingsLimit20240614

MergeBookerActiveBookingsLimit20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookerActiveBookingsLimit, using the provided BookerActiveBookingsLimit20240614

func (*CreateEventTypeInput20240614_BookerActiveBookingsLimit) MergeDisabled20240614

MergeDisabled20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookerActiveBookingsLimit, using the provided Disabled20240614

func (*CreateEventTypeInput20240614_BookerActiveBookingsLimit) UnmarshalJSON

type CreateEventTypeInput20240614_BookingFields_Item

type CreateEventTypeInput20240614_BookingFields_Item struct {
	// contains filtered or unexported fields
}

CreateEventTypeInput20240614_BookingFields_Item defines model for CreateEventTypeInput_2024_06_14.bookingFields.Item.

func (CreateEventTypeInput20240614_BookingFields_Item) AsAddressFieldInput20240614

AsAddressFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a AddressFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsBooleanFieldInput20240614

AsBooleanFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a BooleanFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsCheckboxGroupFieldInput20240614

AsCheckboxGroupFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a CheckboxGroupFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsEmailDefaultFieldInput20240614

AsEmailDefaultFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a EmailDefaultFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsGuestsDefaultFieldInput20240614

AsGuestsDefaultFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a GuestsDefaultFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsLocationDefaultFieldInput20240614

AsLocationDefaultFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a LocationDefaultFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsMultiEmailFieldInput20240614

AsMultiEmailFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a MultiEmailFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsMultiSelectFieldInput20240614

AsMultiSelectFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a MultiSelectFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsNameDefaultFieldInput20240614

AsNameDefaultFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a NameDefaultFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsNotesDefaultFieldInput20240614

AsNotesDefaultFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a NotesDefaultFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsNumberFieldInput20240614

AsNumberFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a NumberFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsPhoneFieldInput20240614

AsPhoneFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a PhoneFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsRadioGroupFieldInput20240614

AsRadioGroupFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a RadioGroupFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsRescheduleReasonDefaultFieldInput20240614

func (t CreateEventTypeInput20240614_BookingFields_Item) AsRescheduleReasonDefaultFieldInput20240614() (RescheduleReasonDefaultFieldInput20240614, error)

AsRescheduleReasonDefaultFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a RescheduleReasonDefaultFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsSelectFieldInput20240614

AsSelectFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a SelectFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsTextAreaFieldInput20240614

AsTextAreaFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a TextAreaFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsTextFieldInput20240614

AsTextFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a TextFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsTitleDefaultFieldInput20240614

AsTitleDefaultFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a TitleDefaultFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) AsUrlFieldInput20240614

AsUrlFieldInput20240614 returns the union data inside the CreateEventTypeInput20240614_BookingFields_Item as a UrlFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromAddressFieldInput20240614

FromAddressFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided AddressFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromBooleanFieldInput20240614

FromBooleanFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided BooleanFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromCheckboxGroupFieldInput20240614

FromCheckboxGroupFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided CheckboxGroupFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromEmailDefaultFieldInput20240614

FromEmailDefaultFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided EmailDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromGuestsDefaultFieldInput20240614

FromGuestsDefaultFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided GuestsDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromLocationDefaultFieldInput20240614

FromLocationDefaultFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided LocationDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromMultiEmailFieldInput20240614

FromMultiEmailFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided MultiEmailFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromMultiSelectFieldInput20240614

FromMultiSelectFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided MultiSelectFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromNameDefaultFieldInput20240614

FromNameDefaultFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided NameDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromNotesDefaultFieldInput20240614

FromNotesDefaultFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided NotesDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromNumberFieldInput20240614

FromNumberFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided NumberFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromPhoneFieldInput20240614

FromPhoneFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided PhoneFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromRadioGroupFieldInput20240614

FromRadioGroupFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided RadioGroupFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromRescheduleReasonDefaultFieldInput20240614

func (t *CreateEventTypeInput20240614_BookingFields_Item) FromRescheduleReasonDefaultFieldInput20240614(v RescheduleReasonDefaultFieldInput20240614) error

FromRescheduleReasonDefaultFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided RescheduleReasonDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromSelectFieldInput20240614

FromSelectFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided SelectFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromTextAreaFieldInput20240614

FromTextAreaFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided TextAreaFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromTextFieldInput20240614

FromTextFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided TextFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromTitleDefaultFieldInput20240614

FromTitleDefaultFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided TitleDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) FromUrlFieldInput20240614

FromUrlFieldInput20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingFields_Item as the provided UrlFieldInput20240614

func (CreateEventTypeInput20240614_BookingFields_Item) MarshalJSON

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeAddressFieldInput20240614

MergeAddressFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided AddressFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeBooleanFieldInput20240614

MergeBooleanFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided BooleanFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeCheckboxGroupFieldInput20240614

MergeCheckboxGroupFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided CheckboxGroupFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeEmailDefaultFieldInput20240614

MergeEmailDefaultFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided EmailDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeGuestsDefaultFieldInput20240614

MergeGuestsDefaultFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided GuestsDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeLocationDefaultFieldInput20240614

MergeLocationDefaultFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided LocationDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeMultiEmailFieldInput20240614

MergeMultiEmailFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided MultiEmailFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeMultiSelectFieldInput20240614

MergeMultiSelectFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided MultiSelectFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeNameDefaultFieldInput20240614

MergeNameDefaultFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided NameDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeNotesDefaultFieldInput20240614

MergeNotesDefaultFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided NotesDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeNumberFieldInput20240614

MergeNumberFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided NumberFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergePhoneFieldInput20240614

MergePhoneFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided PhoneFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeRadioGroupFieldInput20240614

MergeRadioGroupFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided RadioGroupFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeRescheduleReasonDefaultFieldInput20240614

func (t *CreateEventTypeInput20240614_BookingFields_Item) MergeRescheduleReasonDefaultFieldInput20240614(v RescheduleReasonDefaultFieldInput20240614) error

MergeRescheduleReasonDefaultFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided RescheduleReasonDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeSelectFieldInput20240614

MergeSelectFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided SelectFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeTextAreaFieldInput20240614

MergeTextAreaFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided TextAreaFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeTextFieldInput20240614

MergeTextFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided TextFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeTitleDefaultFieldInput20240614

MergeTitleDefaultFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided TitleDefaultFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) MergeUrlFieldInput20240614

MergeUrlFieldInput20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingFields_Item, using the provided UrlFieldInput20240614

func (*CreateEventTypeInput20240614_BookingFields_Item) UnmarshalJSON

type CreateEventTypeInput20240614_BookingLimitsCount

type CreateEventTypeInput20240614_BookingLimitsCount struct {
	// contains filtered or unexported fields
}

CreateEventTypeInput20240614_BookingLimitsCount Limit how many times this event can be booked

func (CreateEventTypeInput20240614_BookingLimitsCount) AsBaseBookingLimitsCount20240614

AsBaseBookingLimitsCount20240614 returns the union data inside the CreateEventTypeInput20240614_BookingLimitsCount as a BaseBookingLimitsCount20240614

func (CreateEventTypeInput20240614_BookingLimitsCount) AsDisabled20240614

AsDisabled20240614 returns the union data inside the CreateEventTypeInput20240614_BookingLimitsCount as a Disabled20240614

func (*CreateEventTypeInput20240614_BookingLimitsCount) FromBaseBookingLimitsCount20240614

FromBaseBookingLimitsCount20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingLimitsCount as the provided BaseBookingLimitsCount20240614

func (*CreateEventTypeInput20240614_BookingLimitsCount) FromDisabled20240614

FromDisabled20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingLimitsCount as the provided Disabled20240614

func (CreateEventTypeInput20240614_BookingLimitsCount) MarshalJSON

func (*CreateEventTypeInput20240614_BookingLimitsCount) MergeBaseBookingLimitsCount20240614

MergeBaseBookingLimitsCount20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingLimitsCount, using the provided BaseBookingLimitsCount20240614

func (*CreateEventTypeInput20240614_BookingLimitsCount) MergeDisabled20240614

MergeDisabled20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingLimitsCount, using the provided Disabled20240614

func (*CreateEventTypeInput20240614_BookingLimitsCount) UnmarshalJSON

type CreateEventTypeInput20240614_BookingLimitsDuration

type CreateEventTypeInput20240614_BookingLimitsDuration struct {
	// contains filtered or unexported fields
}

CreateEventTypeInput20240614_BookingLimitsDuration Limit total amount of time that this event can be booked

func (CreateEventTypeInput20240614_BookingLimitsDuration) AsBaseBookingLimitsDuration20240614

AsBaseBookingLimitsDuration20240614 returns the union data inside the CreateEventTypeInput20240614_BookingLimitsDuration as a BaseBookingLimitsDuration20240614

func (CreateEventTypeInput20240614_BookingLimitsDuration) AsDisabled20240614

AsDisabled20240614 returns the union data inside the CreateEventTypeInput20240614_BookingLimitsDuration as a Disabled20240614

func (*CreateEventTypeInput20240614_BookingLimitsDuration) FromBaseBookingLimitsDuration20240614

FromBaseBookingLimitsDuration20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingLimitsDuration as the provided BaseBookingLimitsDuration20240614

func (*CreateEventTypeInput20240614_BookingLimitsDuration) FromDisabled20240614

FromDisabled20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingLimitsDuration as the provided Disabled20240614

func (CreateEventTypeInput20240614_BookingLimitsDuration) MarshalJSON

func (*CreateEventTypeInput20240614_BookingLimitsDuration) MergeBaseBookingLimitsDuration20240614

MergeBaseBookingLimitsDuration20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingLimitsDuration, using the provided BaseBookingLimitsDuration20240614

func (*CreateEventTypeInput20240614_BookingLimitsDuration) MergeDisabled20240614

MergeDisabled20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingLimitsDuration, using the provided Disabled20240614

func (*CreateEventTypeInput20240614_BookingLimitsDuration) UnmarshalJSON

type CreateEventTypeInput20240614_BookingWindow

type CreateEventTypeInput20240614_BookingWindow struct {
	// contains filtered or unexported fields
}

CreateEventTypeInput20240614_BookingWindow Limit how far in the future this event can be booked

func (CreateEventTypeInput20240614_BookingWindow) AsBusinessDaysWindow20240614

AsBusinessDaysWindow20240614 returns the union data inside the CreateEventTypeInput20240614_BookingWindow as a BusinessDaysWindow20240614

func (CreateEventTypeInput20240614_BookingWindow) AsCalendarDaysWindow20240614

AsCalendarDaysWindow20240614 returns the union data inside the CreateEventTypeInput20240614_BookingWindow as a CalendarDaysWindow20240614

func (CreateEventTypeInput20240614_BookingWindow) AsDisabled20240614

AsDisabled20240614 returns the union data inside the CreateEventTypeInput20240614_BookingWindow as a Disabled20240614

func (CreateEventTypeInput20240614_BookingWindow) AsRangeWindow20240614

AsRangeWindow20240614 returns the union data inside the CreateEventTypeInput20240614_BookingWindow as a RangeWindow20240614

func (*CreateEventTypeInput20240614_BookingWindow) FromBusinessDaysWindow20240614

FromBusinessDaysWindow20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingWindow as the provided BusinessDaysWindow20240614

func (*CreateEventTypeInput20240614_BookingWindow) FromCalendarDaysWindow20240614

FromCalendarDaysWindow20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingWindow as the provided CalendarDaysWindow20240614

func (*CreateEventTypeInput20240614_BookingWindow) FromDisabled20240614

FromDisabled20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingWindow as the provided Disabled20240614

func (*CreateEventTypeInput20240614_BookingWindow) FromRangeWindow20240614

FromRangeWindow20240614 overwrites any union data inside the CreateEventTypeInput20240614_BookingWindow as the provided RangeWindow20240614

func (CreateEventTypeInput20240614_BookingWindow) MarshalJSON

func (*CreateEventTypeInput20240614_BookingWindow) MergeBusinessDaysWindow20240614

func (t *CreateEventTypeInput20240614_BookingWindow) MergeBusinessDaysWindow20240614(v BusinessDaysWindow20240614) error

MergeBusinessDaysWindow20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingWindow, using the provided BusinessDaysWindow20240614

func (*CreateEventTypeInput20240614_BookingWindow) MergeCalendarDaysWindow20240614

func (t *CreateEventTypeInput20240614_BookingWindow) MergeCalendarDaysWindow20240614(v CalendarDaysWindow20240614) error

MergeCalendarDaysWindow20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingWindow, using the provided CalendarDaysWindow20240614

func (*CreateEventTypeInput20240614_BookingWindow) MergeDisabled20240614

MergeDisabled20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingWindow, using the provided Disabled20240614

func (*CreateEventTypeInput20240614_BookingWindow) MergeRangeWindow20240614

MergeRangeWindow20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_BookingWindow, using the provided RangeWindow20240614

func (*CreateEventTypeInput20240614_BookingWindow) UnmarshalJSON

type CreateEventTypeInput20240614_ConfirmationPolicy

type CreateEventTypeInput20240614_ConfirmationPolicy struct {
	// contains filtered or unexported fields
}

CreateEventTypeInput20240614_ConfirmationPolicy Specify how the booking needs to be manually confirmed before it is pushed to the integrations and a confirmation mail is sent.

func (CreateEventTypeInput20240614_ConfirmationPolicy) AsBaseConfirmationPolicy20240614

AsBaseConfirmationPolicy20240614 returns the union data inside the CreateEventTypeInput20240614_ConfirmationPolicy as a BaseConfirmationPolicy20240614

func (CreateEventTypeInput20240614_ConfirmationPolicy) AsDisabled20240614

AsDisabled20240614 returns the union data inside the CreateEventTypeInput20240614_ConfirmationPolicy as a Disabled20240614

func (*CreateEventTypeInput20240614_ConfirmationPolicy) FromBaseConfirmationPolicy20240614

FromBaseConfirmationPolicy20240614 overwrites any union data inside the CreateEventTypeInput20240614_ConfirmationPolicy as the provided BaseConfirmationPolicy20240614

func (*CreateEventTypeInput20240614_ConfirmationPolicy) FromDisabled20240614

FromDisabled20240614 overwrites any union data inside the CreateEventTypeInput20240614_ConfirmationPolicy as the provided Disabled20240614

func (CreateEventTypeInput20240614_ConfirmationPolicy) MarshalJSON

func (*CreateEventTypeInput20240614_ConfirmationPolicy) MergeBaseConfirmationPolicy20240614

MergeBaseConfirmationPolicy20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_ConfirmationPolicy, using the provided BaseConfirmationPolicy20240614

func (*CreateEventTypeInput20240614_ConfirmationPolicy) MergeDisabled20240614

MergeDisabled20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_ConfirmationPolicy, using the provided Disabled20240614

func (*CreateEventTypeInput20240614_ConfirmationPolicy) UnmarshalJSON

type CreateEventTypeInput20240614_Locations_Item

type CreateEventTypeInput20240614_Locations_Item struct {
	// contains filtered or unexported fields
}

CreateEventTypeInput20240614_Locations_Item defines model for CreateEventTypeInput_2024_06_14.locations.Item.

func (CreateEventTypeInput20240614_Locations_Item) AsInputAddressLocation20240614

AsInputAddressLocation20240614 returns the union data inside the CreateEventTypeInput20240614_Locations_Item as a InputAddressLocation20240614

func (CreateEventTypeInput20240614_Locations_Item) AsInputAttendeeAddressLocation20240614

func (t CreateEventTypeInput20240614_Locations_Item) AsInputAttendeeAddressLocation20240614() (InputAttendeeAddressLocation20240614, error)

AsInputAttendeeAddressLocation20240614 returns the union data inside the CreateEventTypeInput20240614_Locations_Item as a InputAttendeeAddressLocation20240614

func (CreateEventTypeInput20240614_Locations_Item) AsInputAttendeeDefinedLocation20240614

func (t CreateEventTypeInput20240614_Locations_Item) AsInputAttendeeDefinedLocation20240614() (InputAttendeeDefinedLocation20240614, error)

AsInputAttendeeDefinedLocation20240614 returns the union data inside the CreateEventTypeInput20240614_Locations_Item as a InputAttendeeDefinedLocation20240614

func (CreateEventTypeInput20240614_Locations_Item) AsInputAttendeePhoneLocation20240614

func (t CreateEventTypeInput20240614_Locations_Item) AsInputAttendeePhoneLocation20240614() (InputAttendeePhoneLocation20240614, error)

AsInputAttendeePhoneLocation20240614 returns the union data inside the CreateEventTypeInput20240614_Locations_Item as a InputAttendeePhoneLocation20240614

func (CreateEventTypeInput20240614_Locations_Item) AsInputIntegrationLocation20240614

AsInputIntegrationLocation20240614 returns the union data inside the CreateEventTypeInput20240614_Locations_Item as a InputIntegrationLocation20240614

func (CreateEventTypeInput20240614_Locations_Item) AsInputLinkLocation20240614

AsInputLinkLocation20240614 returns the union data inside the CreateEventTypeInput20240614_Locations_Item as a InputLinkLocation20240614

func (CreateEventTypeInput20240614_Locations_Item) AsInputPhoneLocation20240614

AsInputPhoneLocation20240614 returns the union data inside the CreateEventTypeInput20240614_Locations_Item as a InputPhoneLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) FromInputAddressLocation20240614

FromInputAddressLocation20240614 overwrites any union data inside the CreateEventTypeInput20240614_Locations_Item as the provided InputAddressLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) FromInputAttendeeAddressLocation20240614

func (t *CreateEventTypeInput20240614_Locations_Item) FromInputAttendeeAddressLocation20240614(v InputAttendeeAddressLocation20240614) error

FromInputAttendeeAddressLocation20240614 overwrites any union data inside the CreateEventTypeInput20240614_Locations_Item as the provided InputAttendeeAddressLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) FromInputAttendeeDefinedLocation20240614

func (t *CreateEventTypeInput20240614_Locations_Item) FromInputAttendeeDefinedLocation20240614(v InputAttendeeDefinedLocation20240614) error

FromInputAttendeeDefinedLocation20240614 overwrites any union data inside the CreateEventTypeInput20240614_Locations_Item as the provided InputAttendeeDefinedLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) FromInputAttendeePhoneLocation20240614

func (t *CreateEventTypeInput20240614_Locations_Item) FromInputAttendeePhoneLocation20240614(v InputAttendeePhoneLocation20240614) error

FromInputAttendeePhoneLocation20240614 overwrites any union data inside the CreateEventTypeInput20240614_Locations_Item as the provided InputAttendeePhoneLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) FromInputIntegrationLocation20240614

func (t *CreateEventTypeInput20240614_Locations_Item) FromInputIntegrationLocation20240614(v InputIntegrationLocation20240614) error

FromInputIntegrationLocation20240614 overwrites any union data inside the CreateEventTypeInput20240614_Locations_Item as the provided InputIntegrationLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) FromInputLinkLocation20240614

FromInputLinkLocation20240614 overwrites any union data inside the CreateEventTypeInput20240614_Locations_Item as the provided InputLinkLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) FromInputPhoneLocation20240614

FromInputPhoneLocation20240614 overwrites any union data inside the CreateEventTypeInput20240614_Locations_Item as the provided InputPhoneLocation20240614

func (CreateEventTypeInput20240614_Locations_Item) MarshalJSON

func (*CreateEventTypeInput20240614_Locations_Item) MergeInputAddressLocation20240614

func (t *CreateEventTypeInput20240614_Locations_Item) MergeInputAddressLocation20240614(v InputAddressLocation20240614) error

MergeInputAddressLocation20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_Locations_Item, using the provided InputAddressLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) MergeInputAttendeeAddressLocation20240614

func (t *CreateEventTypeInput20240614_Locations_Item) MergeInputAttendeeAddressLocation20240614(v InputAttendeeAddressLocation20240614) error

MergeInputAttendeeAddressLocation20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_Locations_Item, using the provided InputAttendeeAddressLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) MergeInputAttendeeDefinedLocation20240614

func (t *CreateEventTypeInput20240614_Locations_Item) MergeInputAttendeeDefinedLocation20240614(v InputAttendeeDefinedLocation20240614) error

MergeInputAttendeeDefinedLocation20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_Locations_Item, using the provided InputAttendeeDefinedLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) MergeInputAttendeePhoneLocation20240614

func (t *CreateEventTypeInput20240614_Locations_Item) MergeInputAttendeePhoneLocation20240614(v InputAttendeePhoneLocation20240614) error

MergeInputAttendeePhoneLocation20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_Locations_Item, using the provided InputAttendeePhoneLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) MergeInputIntegrationLocation20240614

func (t *CreateEventTypeInput20240614_Locations_Item) MergeInputIntegrationLocation20240614(v InputIntegrationLocation20240614) error

MergeInputIntegrationLocation20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_Locations_Item, using the provided InputIntegrationLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) MergeInputLinkLocation20240614

MergeInputLinkLocation20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_Locations_Item, using the provided InputLinkLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) MergeInputPhoneLocation20240614

MergeInputPhoneLocation20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_Locations_Item, using the provided InputPhoneLocation20240614

func (*CreateEventTypeInput20240614_Locations_Item) UnmarshalJSON

type CreateEventTypeInput20240614_Recurrence

type CreateEventTypeInput20240614_Recurrence struct {
	// contains filtered or unexported fields
}

CreateEventTypeInput20240614_Recurrence Create a recurring event type.

func (CreateEventTypeInput20240614_Recurrence) AsDisabled20240614

AsDisabled20240614 returns the union data inside the CreateEventTypeInput20240614_Recurrence as a Disabled20240614

func (CreateEventTypeInput20240614_Recurrence) AsRecurrence20240614

AsRecurrence20240614 returns the union data inside the CreateEventTypeInput20240614_Recurrence as a Recurrence20240614

func (*CreateEventTypeInput20240614_Recurrence) FromDisabled20240614

FromDisabled20240614 overwrites any union data inside the CreateEventTypeInput20240614_Recurrence as the provided Disabled20240614

func (*CreateEventTypeInput20240614_Recurrence) FromRecurrence20240614

FromRecurrence20240614 overwrites any union data inside the CreateEventTypeInput20240614_Recurrence as the provided Recurrence20240614

func (CreateEventTypeInput20240614_Recurrence) MarshalJSON

func (t CreateEventTypeInput20240614_Recurrence) MarshalJSON() ([]byte, error)

func (*CreateEventTypeInput20240614_Recurrence) MergeDisabled20240614

MergeDisabled20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_Recurrence, using the provided Disabled20240614

func (*CreateEventTypeInput20240614_Recurrence) MergeRecurrence20240614

MergeRecurrence20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_Recurrence, using the provided Recurrence20240614

func (*CreateEventTypeInput20240614_Recurrence) UnmarshalJSON

func (t *CreateEventTypeInput20240614_Recurrence) UnmarshalJSON(b []byte) error

type CreateEventTypeInput20240614_Seats

type CreateEventTypeInput20240614_Seats struct {
	// contains filtered or unexported fields
}

CreateEventTypeInput20240614_Seats Create an event type with multiple seats.

func (CreateEventTypeInput20240614_Seats) AsDisabled20240614

func (t CreateEventTypeInput20240614_Seats) AsDisabled20240614() (Disabled20240614, error)

AsDisabled20240614 returns the union data inside the CreateEventTypeInput20240614_Seats as a Disabled20240614

func (CreateEventTypeInput20240614_Seats) AsSeats20240614

AsSeats20240614 returns the union data inside the CreateEventTypeInput20240614_Seats as a Seats20240614

func (*CreateEventTypeInput20240614_Seats) FromDisabled20240614

func (t *CreateEventTypeInput20240614_Seats) FromDisabled20240614(v Disabled20240614) error

FromDisabled20240614 overwrites any union data inside the CreateEventTypeInput20240614_Seats as the provided Disabled20240614

func (*CreateEventTypeInput20240614_Seats) FromSeats20240614

func (t *CreateEventTypeInput20240614_Seats) FromSeats20240614(v Seats20240614) error

FromSeats20240614 overwrites any union data inside the CreateEventTypeInput20240614_Seats as the provided Seats20240614

func (CreateEventTypeInput20240614_Seats) MarshalJSON

func (t CreateEventTypeInput20240614_Seats) MarshalJSON() ([]byte, error)

func (*CreateEventTypeInput20240614_Seats) MergeDisabled20240614

func (t *CreateEventTypeInput20240614_Seats) MergeDisabled20240614(v Disabled20240614) error

MergeDisabled20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_Seats, using the provided Disabled20240614

func (*CreateEventTypeInput20240614_Seats) MergeSeats20240614

func (t *CreateEventTypeInput20240614_Seats) MergeSeats20240614(v Seats20240614) error

MergeSeats20240614 performs a merge with any union data inside the CreateEventTypeInput20240614_Seats, using the provided Seats20240614

func (*CreateEventTypeInput20240614_Seats) UnmarshalJSON

func (t *CreateEventTypeInput20240614_Seats) UnmarshalJSON(b []byte) error

type CreateEventTypeOutput20240614

type CreateEventTypeOutput20240614 struct {
	Data EventTypeOutput20240614 `json:"data"`

	// Status Example: success
	Status CreateEventTypeOutput20240614Status `json:"status"`
}

CreateEventTypeOutput20240614 defines model for CreateEventTypeOutput_2024_06_14.

type CreateEventTypeOutput20240614Status

type CreateEventTypeOutput20240614Status string

CreateEventTypeOutput20240614Status Example: success

const (
	CreateEventTypeOutput20240614StatusError   CreateEventTypeOutput20240614Status = "error"
	CreateEventTypeOutput20240614StatusSuccess CreateEventTypeOutput20240614Status = "success"
)

Defines values for CreateEventTypeOutput20240614Status.

func (CreateEventTypeOutput20240614Status) Valid

Valid indicates whether the value is a known member of the CreateEventTypeOutput20240614Status enum.

type CreateIcsFeedInputDto

type CreateIcsFeedInputDto struct {
	// ReadOnly Whether to allowing writing to the calendar or not
	//
	// Example: false
	ReadOnly *bool `json:"readOnly,omitempty"`

	// Urls An array of ICS URLs
	//
	// Example: ["https://cal.com/ics/feed.ics","http://cal.com/ics/feed.ics"]
	Urls []string `json:"urls"`
}

CreateIcsFeedInputDto defines model for CreateIcsFeedInputDto.

type CreateIcsFeedOutput

type CreateIcsFeedOutput struct {
	// AppId The slug of the calendar
	//
	// Example: ics-feed
	AppId *string `json:"appId"`

	// Id The id of the calendar credential
	//
	// Example: 1234567890
	Id float64 `json:"id"`

	// Invalid Whether the calendar credentials are valid or not
	//
	// Example: false
	Invalid *bool `json:"invalid"`

	// TeamId The team id of the user that created the calendar
	//
	// Example: 1234567890
	TeamId *int `json:"teamId"`

	// Type The type of the calendar
	//
	// Example: ics-feed_calendar
	Type string `json:"type"`

	// UserId The user id of the user that created the calendar
	//
	// Example: 1234567890
	UserId *int `json:"userId"`
}

CreateIcsFeedOutput defines model for CreateIcsFeedOutput.

type CreateIcsFeedOutputResponseDto

type CreateIcsFeedOutputResponseDto struct {
	Data CreateIcsFeedOutput `json:"data"`

	// Status Example: success
	Status CreateIcsFeedOutputResponseDtoStatus `json:"status"`
}

CreateIcsFeedOutputResponseDto defines model for CreateIcsFeedOutputResponseDto.

type CreateIcsFeedOutputResponseDtoStatus

type CreateIcsFeedOutputResponseDtoStatus string

CreateIcsFeedOutputResponseDtoStatus Example: success

const (
	CreateIcsFeedOutputResponseDtoStatusError   CreateIcsFeedOutputResponseDtoStatus = "error"
	CreateIcsFeedOutputResponseDtoStatusSuccess CreateIcsFeedOutputResponseDtoStatus = "success"
)

Defines values for CreateIcsFeedOutputResponseDtoStatus.

func (CreateIcsFeedOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the CreateIcsFeedOutputResponseDtoStatus enum.

type CreateManagedUserData

type CreateManagedUserData struct {
	// AccessToken Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
	AccessToken          string  `json:"accessToken"`
	AccessTokenExpiresAt float64 `json:"accessTokenExpiresAt"`

	// RefreshToken Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
	RefreshToken          string            `json:"refreshToken"`
	RefreshTokenExpiresAt float64           `json:"refreshTokenExpiresAt"`
	User                  ManagedUserOutput `json:"user"`
}

CreateManagedUserData defines model for CreateManagedUserData.

type CreateManagedUserInput

type CreateManagedUserInput struct {
	// AvatarUrl URL of the user's avatar image
	//
	// Example: https://cal.com/api/avatar/2b735186-b01b-46d3-87da-019b8f61776b.png
	AvatarUrl *string `json:"avatarUrl,omitempty"`

	// Bio Bio
	//
	// Example: I am a bio
	Bio *string `json:"bio,omitempty"`

	// Email Example: alice@example.com
	Email string `json:"email"`

	// Locale Example: en
	Locale *CreateManagedUserInputLocale `json:"locale,omitempty"`

	// Metadata You can store any additional data you want here. Metadata must have at most 50 keys, each key up to 40 characters, and values up to 500 characters.
	//
	// Example: {"key":"value"}
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Name Managed user's name is used in emails
	//
	// Example: Alice Smith
	Name string `json:"name"`

	// TimeFormat Must be a number 12 or 24
	//
	// Example: 12
	TimeFormat *CreateManagedUserInputTimeFormat `json:"timeFormat,omitempty"`

	// TimeZone Timezone is used to create user's default schedule from Monday to Friday from 9AM to 5PM. If it is not passed then user does not have
	//       a default schedule and it must be created manually via the /schedules endpoint. Until the schedule is created, the user can't access availability atom to set his / her availability nor booked.
	//       It will default to Europe/London if not passed.
	//
	// Example: America/New_York
	TimeZone *string `json:"timeZone,omitempty"`

	// WeekStart Example: Monday
	WeekStart *CreateManagedUserInputWeekStart `json:"weekStart,omitempty"`
}

CreateManagedUserInput defines model for CreateManagedUserInput.

type CreateManagedUserInputLocale

type CreateManagedUserInputLocale string

CreateManagedUserInputLocale Example: en

const (
	CreateManagedUserInputLocaleAr    CreateManagedUserInputLocale = "ar"
	CreateManagedUserInputLocaleAz    CreateManagedUserInputLocale = "az"
	CreateManagedUserInputLocaleBg    CreateManagedUserInputLocale = "bg"
	CreateManagedUserInputLocaleBn    CreateManagedUserInputLocale = "bn"
	CreateManagedUserInputLocaleCa    CreateManagedUserInputLocale = "ca"
	CreateManagedUserInputLocaleCs    CreateManagedUserInputLocale = "cs"
	CreateManagedUserInputLocaleDa    CreateManagedUserInputLocale = "da"
	CreateManagedUserInputLocaleDe    CreateManagedUserInputLocale = "de"
	CreateManagedUserInputLocaleEl    CreateManagedUserInputLocale = "el"
	CreateManagedUserInputLocaleEn    CreateManagedUserInputLocale = "en"
	CreateManagedUserInputLocaleEs    CreateManagedUserInputLocale = "es"
	CreateManagedUserInputLocaleEs419 CreateManagedUserInputLocale = "es-419"
	CreateManagedUserInputLocaleEt    CreateManagedUserInputLocale = "et"
	CreateManagedUserInputLocaleEu    CreateManagedUserInputLocale = "eu"
	CreateManagedUserInputLocaleFi    CreateManagedUserInputLocale = "fi"
	CreateManagedUserInputLocaleFr    CreateManagedUserInputLocale = "fr"
	CreateManagedUserInputLocaleHe    CreateManagedUserInputLocale = "he"
	CreateManagedUserInputLocaleHr    CreateManagedUserInputLocale = "hr"
	CreateManagedUserInputLocaleHu    CreateManagedUserInputLocale = "hu"
	CreateManagedUserInputLocaleId    CreateManagedUserInputLocale = "id"
	CreateManagedUserInputLocaleIt    CreateManagedUserInputLocale = "it"
	CreateManagedUserInputLocaleIw    CreateManagedUserInputLocale = "iw"
	CreateManagedUserInputLocaleJa    CreateManagedUserInputLocale = "ja"
	CreateManagedUserInputLocaleKm    CreateManagedUserInputLocale = "km"
	CreateManagedUserInputLocaleKo    CreateManagedUserInputLocale = "ko"
	CreateManagedUserInputLocaleLv    CreateManagedUserInputLocale = "lv"
	CreateManagedUserInputLocaleNl    CreateManagedUserInputLocale = "nl"
	CreateManagedUserInputLocaleNo    CreateManagedUserInputLocale = "no"
	CreateManagedUserInputLocalePl    CreateManagedUserInputLocale = "pl"
	CreateManagedUserInputLocalePt    CreateManagedUserInputLocale = "pt"
	CreateManagedUserInputLocalePtBR  CreateManagedUserInputLocale = "pt-BR"
	CreateManagedUserInputLocaleRo    CreateManagedUserInputLocale = "ro"
	CreateManagedUserInputLocaleRu    CreateManagedUserInputLocale = "ru"
	CreateManagedUserInputLocaleSk    CreateManagedUserInputLocale = "sk"
	CreateManagedUserInputLocaleSr    CreateManagedUserInputLocale = "sr"
	CreateManagedUserInputLocaleSv    CreateManagedUserInputLocale = "sv"
	CreateManagedUserInputLocaleTa    CreateManagedUserInputLocale = "ta"
	CreateManagedUserInputLocaleTh    CreateManagedUserInputLocale = "th"
	CreateManagedUserInputLocaleTr    CreateManagedUserInputLocale = "tr"
	CreateManagedUserInputLocaleUk    CreateManagedUserInputLocale = "uk"
	CreateManagedUserInputLocaleVi    CreateManagedUserInputLocale = "vi"
	CreateManagedUserInputLocaleZhCN  CreateManagedUserInputLocale = "zh-CN"
	CreateManagedUserInputLocaleZhTW  CreateManagedUserInputLocale = "zh-TW"
)

Defines values for CreateManagedUserInputLocale.

func (CreateManagedUserInputLocale) Valid

Valid indicates whether the value is a known member of the CreateManagedUserInputLocale enum.

type CreateManagedUserInputTimeFormat

type CreateManagedUserInputTimeFormat float64

CreateManagedUserInputTimeFormat Must be a number 12 or 24

Example: 12

const (
	CreateManagedUserInputTimeFormatN12 CreateManagedUserInputTimeFormat = 12
	CreateManagedUserInputTimeFormatN24 CreateManagedUserInputTimeFormat = 24
)

Defines values for CreateManagedUserInputTimeFormat.

func (CreateManagedUserInputTimeFormat) Valid

Valid indicates whether the value is a known member of the CreateManagedUserInputTimeFormat enum.

type CreateManagedUserInputWeekStart

type CreateManagedUserInputWeekStart string

CreateManagedUserInputWeekStart Example: Monday

const (
	CreateManagedUserInputWeekStartFriday    CreateManagedUserInputWeekStart = "Friday"
	CreateManagedUserInputWeekStartMonday    CreateManagedUserInputWeekStart = "Monday"
	CreateManagedUserInputWeekStartSaturday  CreateManagedUserInputWeekStart = "Saturday"
	CreateManagedUserInputWeekStartSunday    CreateManagedUserInputWeekStart = "Sunday"
	CreateManagedUserInputWeekStartThursday  CreateManagedUserInputWeekStart = "Thursday"
	CreateManagedUserInputWeekStartTuesday   CreateManagedUserInputWeekStart = "Tuesday"
	CreateManagedUserInputWeekStartWednesday CreateManagedUserInputWeekStart = "Wednesday"
)

Defines values for CreateManagedUserInputWeekStart.

func (CreateManagedUserInputWeekStart) Valid

Valid indicates whether the value is a known member of the CreateManagedUserInputWeekStart enum.

type CreateManagedUserOutput

type CreateManagedUserOutput struct {
	Data  CreateManagedUserData   `json:"data"`
	Error *map[string]interface{} `json:"error,omitempty"`

	// Status Example: success
	Status CreateManagedUserOutputStatus `json:"status"`
}

CreateManagedUserOutput defines model for CreateManagedUserOutput.

type CreateManagedUserOutputStatus

type CreateManagedUserOutputStatus string

CreateManagedUserOutputStatus Example: success

const (
	CreateManagedUserOutputStatusError   CreateManagedUserOutputStatus = "error"
	CreateManagedUserOutputStatusSuccess CreateManagedUserOutputStatus = "success"
)

Defines values for CreateManagedUserOutputStatus.

func (CreateManagedUserOutputStatus) Valid

Valid indicates whether the value is a known member of the CreateManagedUserOutputStatus enum.

type CreateOAuthClientInput

type CreateOAuthClientInput struct {
	// AreCalendarEventsEnabled If true and if managed user has calendar connected, calendar events will be created. Disable it if you manually create calendar events. Default to true.
	AreCalendarEventsEnabled *bool `json:"areCalendarEventsEnabled,omitempty"`

	// AreDefaultEventTypesEnabled If true, when creating a managed user the managed user will have 4 default event types: 30 and 60 minutes without Cal video, 30 and 60 minutes with Cal video. Set this as false if you want to create a managed user and then manually create event types for the user.
	AreDefaultEventTypesEnabled  *bool   `json:"areDefaultEventTypesEnabled,omitempty"`
	AreEmailsEnabled             *bool   `json:"areEmailsEnabled,omitempty"`
	BookingCancelRedirectUri     *string `json:"bookingCancelRedirectUri,omitempty"`
	BookingRedirectUri           *string `json:"bookingRedirectUri,omitempty"`
	BookingRescheduleRedirectUri *string `json:"bookingRescheduleRedirectUri,omitempty"`
	Name                         string  `json:"name"`

	// Permissions Array of permission keys like ["BOOKING_READ", "BOOKING_WRITE"]. Use ["*"] to grant all permissions.
	Permissions  []CreateOAuthClientInputPermissions `json:"permissions"`
	RedirectUris []string                            `json:"redirectUris"`
}

CreateOAuthClientInput defines model for CreateOAuthClientInput.

type CreateOAuthClientInputPermissions

type CreateOAuthClientInputPermissions string

CreateOAuthClientInputPermissions defines model for CreateOAuthClientInput.Permissions.

const (
	CreateOAuthClientInputPermissionsAPPSREAD       CreateOAuthClientInputPermissions = "APPS_READ"
	CreateOAuthClientInputPermissionsAPPSWRITE      CreateOAuthClientInputPermissions = "APPS_WRITE"
	CreateOAuthClientInputPermissionsAsterisk       CreateOAuthClientInputPermissions = "*"
	CreateOAuthClientInputPermissionsBOOKINGREAD    CreateOAuthClientInputPermissions = "BOOKING_READ"
	CreateOAuthClientInputPermissionsBOOKINGWRITE   CreateOAuthClientInputPermissions = "BOOKING_WRITE"
	CreateOAuthClientInputPermissionsEVENTTYPEREAD  CreateOAuthClientInputPermissions = "EVENT_TYPE_READ"
	CreateOAuthClientInputPermissionsEVENTTYPEWRITE CreateOAuthClientInputPermissions = "EVENT_TYPE_WRITE"
	CreateOAuthClientInputPermissionsPROFILEREAD    CreateOAuthClientInputPermissions = "PROFILE_READ"
	CreateOAuthClientInputPermissionsPROFILEWRITE   CreateOAuthClientInputPermissions = "PROFILE_WRITE"
	CreateOAuthClientInputPermissionsSCHEDULEREAD   CreateOAuthClientInputPermissions = "SCHEDULE_READ"
	CreateOAuthClientInputPermissionsSCHEDULEWRITE  CreateOAuthClientInputPermissions = "SCHEDULE_WRITE"
)

Defines values for CreateOAuthClientInputPermissions.

func (CreateOAuthClientInputPermissions) Valid

Valid indicates whether the value is a known member of the CreateOAuthClientInputPermissions enum.

type CreateOAuthClientOutput

type CreateOAuthClientOutput struct {
	// ClientId Example: clsx38nbl0001vkhlwin9fmt0
	ClientId string `json:"clientId"`

	// ClientSecret Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoib2F1dGgtY2xpZW50Iiwi
	ClientSecret string `json:"clientSecret"`
}

CreateOAuthClientOutput defines model for CreateOAuthClientOutput.

type CreateOAuthClientResponseDto

type CreateOAuthClientResponseDto struct {
	// Data Example: {"clientId":"clsx38nbl0001vkhlwin9fmt0","clientSecret":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoib2F1dGgtY2xpZW50Iiwi"}
	Data CreateOAuthClientOutput `json:"data"`

	// Status Example: success
	Status CreateOAuthClientResponseDtoStatus `json:"status"`
}

CreateOAuthClientResponseDto defines model for CreateOAuthClientResponseDto.

type CreateOAuthClientResponseDtoStatus

type CreateOAuthClientResponseDtoStatus string

CreateOAuthClientResponseDtoStatus Example: success

const (
	CreateOAuthClientResponseDtoStatusError   CreateOAuthClientResponseDtoStatus = "error"
	CreateOAuthClientResponseDtoStatusSuccess CreateOAuthClientResponseDtoStatus = "success"
)

Defines values for CreateOAuthClientResponseDtoStatus.

func (CreateOAuthClientResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the CreateOAuthClientResponseDtoStatus enum.

type CreatePrivateLinkInput

type CreatePrivateLinkInput struct {
	// ExpiresAt Expiration date for time-based links
	//
	// Example: 2024-12-31T23:59:59.000Z
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`

	// MaxUsageCount Maximum number of times the link can be used. If omitted and expiresAt is not provided, defaults to 1 (one time use).
	//
	// Example: 10
	MaxUsageCount *float64 `json:"maxUsageCount,omitempty"`
}

CreatePrivateLinkInput defines model for CreatePrivateLinkInput.

type CreatePrivateLinkOutput

type CreatePrivateLinkOutput struct {
	// Data Created private link data (either time-based or usage-based)
	Data CreatePrivateLinkOutput_Data `json:"data"`

	// Status Response status
	//
	// Example: success
	Status string `json:"status"`
}

CreatePrivateLinkOutput defines model for CreatePrivateLinkOutput.

type CreatePrivateLinkOutput_Data

type CreatePrivateLinkOutput_Data struct {
	// contains filtered or unexported fields
}

CreatePrivateLinkOutput_Data Created private link data (either time-based or usage-based)

func (CreatePrivateLinkOutput_Data) AsTimeBasedPrivateLinkOutput

func (t CreatePrivateLinkOutput_Data) AsTimeBasedPrivateLinkOutput() (TimeBasedPrivateLinkOutput, error)

AsTimeBasedPrivateLinkOutput returns the union data inside the CreatePrivateLinkOutput_Data as a TimeBasedPrivateLinkOutput

func (CreatePrivateLinkOutput_Data) AsUsageBasedPrivateLinkOutput

func (t CreatePrivateLinkOutput_Data) AsUsageBasedPrivateLinkOutput() (UsageBasedPrivateLinkOutput, error)

AsUsageBasedPrivateLinkOutput returns the union data inside the CreatePrivateLinkOutput_Data as a UsageBasedPrivateLinkOutput

func (*CreatePrivateLinkOutput_Data) FromTimeBasedPrivateLinkOutput

func (t *CreatePrivateLinkOutput_Data) FromTimeBasedPrivateLinkOutput(v TimeBasedPrivateLinkOutput) error

FromTimeBasedPrivateLinkOutput overwrites any union data inside the CreatePrivateLinkOutput_Data as the provided TimeBasedPrivateLinkOutput

func (*CreatePrivateLinkOutput_Data) FromUsageBasedPrivateLinkOutput

func (t *CreatePrivateLinkOutput_Data) FromUsageBasedPrivateLinkOutput(v UsageBasedPrivateLinkOutput) error

FromUsageBasedPrivateLinkOutput overwrites any union data inside the CreatePrivateLinkOutput_Data as the provided UsageBasedPrivateLinkOutput

func (CreatePrivateLinkOutput_Data) MarshalJSON

func (t CreatePrivateLinkOutput_Data) MarshalJSON() ([]byte, error)

func (*CreatePrivateLinkOutput_Data) MergeTimeBasedPrivateLinkOutput

func (t *CreatePrivateLinkOutput_Data) MergeTimeBasedPrivateLinkOutput(v TimeBasedPrivateLinkOutput) error

MergeTimeBasedPrivateLinkOutput performs a merge with any union data inside the CreatePrivateLinkOutput_Data, using the provided TimeBasedPrivateLinkOutput

func (*CreatePrivateLinkOutput_Data) MergeUsageBasedPrivateLinkOutput

func (t *CreatePrivateLinkOutput_Data) MergeUsageBasedPrivateLinkOutput(v UsageBasedPrivateLinkOutput) error

MergeUsageBasedPrivateLinkOutput performs a merge with any union data inside the CreatePrivateLinkOutput_Data, using the provided UsageBasedPrivateLinkOutput

func (*CreatePrivateLinkOutput_Data) UnmarshalJSON

func (t *CreatePrivateLinkOutput_Data) UnmarshalJSON(b []byte) error

type CreateRecurringBookingInput20240813

type CreateRecurringBookingInput20240813 struct {
	// Attendee The attendee's details.
	Attendee CreateBookingAttendee `json:"attendee"`

	// BookingFieldsResponses Booking field responses consisting of an object with booking field slug as keys and user response as values for custom booking fields added by you.
	//
	// Example: {"customField":"customValue"}
	BookingFieldsResponses *map[string]interface{} `json:"bookingFieldsResponses,omitempty"`

	// EmailVerificationCode Email verification code required when event type has email verification enabled.
	//
	// Example: 123456
	EmailVerificationCode *string `json:"emailVerificationCode,omitempty"`

	// EventTypeId The ID of the event type that is booked. Required unless eventTypeSlug and username are provided as an alternative to identifying the event type.
	//
	// Example: 123
	EventTypeId *float64 `json:"eventTypeId,omitempty"`

	// EventTypeSlug The slug of the event type. Required along with username / teamSlug and optionally organizationSlug if eventTypeId is not provided.
	//
	// Example: my-event-type
	EventTypeSlug *string `json:"eventTypeSlug,omitempty"`

	// Guests An optional list of guest emails attending the event.
	//
	// Example: ["guest1@example.com","guest2@example.com"]
	Guests *[]string `json:"guests,omitempty"`

	// LengthInMinutes If it is an event type that has multiple possible lengths that attendee can pick from, you can pass the desired booking length here.
	//     If not provided then event type default length will be used for the booking.
	//
	// Example: 30
	LengthInMinutes *float64 `json:"lengthInMinutes,omitempty"`

	// Location One of the event type locations. If instead of passing one of the location objects as required by schema you are still passing a string please use an object.
	Location *CreateRecurringBookingInput20240813_Location `json:"location,omitempty"`

	// MeetingUrl Deprecated - use 'location' instead. Meeting URL just for this booking. Displayed in email and calendar event. If not provided then cal video link will be generated.
	//
	// Example: https://example.com/meeting
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MeetingUrl *string `json:"meetingUrl,omitempty"`

	// Metadata You can store any additional data you want here. Metadata must have at most 50 keys, each key up to 40 characters, and string values up to 500 characters.
	//
	// Example: {"key":"value"}
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// OrganizationSlug The organization slug. Optional, only used when booking with eventTypeSlug + username or eventTypeSlug + teamSlug.
	//
	// Example: acme-corp
	OrganizationSlug *string `json:"organizationSlug,omitempty"`

	// RecurrenceCount The number of recurrences. If not provided then event type recurrence count will be used. Can't be more than
	//     event type recurrence count
	//
	// Example: 5
	RecurrenceCount *float64 `json:"recurrenceCount,omitempty"`

	// Routing Routing information from routing forms that determined the booking assignment. Both responseId and teamMemberIds are required if provided.
	//
	// Example: {"responseId":123,"teamMemberIds":[101,102]}
	Routing *Routing `json:"routing,omitempty"`

	// Start The start time of the booking in ISO 8601 format in UTC timezone.
	//
	// Example: 2024-08-13T09:00:00Z
	Start string `json:"start"`

	// TeamSlug Team slug for team that owns event type for which slots are fetched. Required along with eventTypeSlug and optionally organizationSlug if the team is part of organization
	//
	// Example: john-doe
	TeamSlug *string `json:"teamSlug,omitempty"`

	// Username The username of the event owner. Required along with eventTypeSlug and optionally organizationSlug if eventTypeId is not provided.
	//
	// Example: john-doe
	Username *string `json:"username,omitempty"`
}

CreateRecurringBookingInput20240813 defines model for CreateRecurringBookingInput_2024_08_13.

type CreateRecurringBookingInput20240813_Location

type CreateRecurringBookingInput20240813_Location struct {
	// contains filtered or unexported fields
}

CreateRecurringBookingInput20240813_Location One of the event type locations. If instead of passing one of the location objects as required by schema you are still passing a string please use an object.

func (CreateRecurringBookingInput20240813_Location) AsBookingInputAddressLocation20240813

func (t CreateRecurringBookingInput20240813_Location) AsBookingInputAddressLocation20240813() (BookingInputAddressLocation20240813, error)

AsBookingInputAddressLocation20240813 returns the union data inside the CreateRecurringBookingInput20240813_Location as a BookingInputAddressLocation20240813

func (CreateRecurringBookingInput20240813_Location) AsBookingInputAttendeeAddressLocation20240813

func (t CreateRecurringBookingInput20240813_Location) AsBookingInputAttendeeAddressLocation20240813() (BookingInputAttendeeAddressLocation20240813, error)

AsBookingInputAttendeeAddressLocation20240813 returns the union data inside the CreateRecurringBookingInput20240813_Location as a BookingInputAttendeeAddressLocation20240813

func (CreateRecurringBookingInput20240813_Location) AsBookingInputAttendeeDefinedLocation20240813

func (t CreateRecurringBookingInput20240813_Location) AsBookingInputAttendeeDefinedLocation20240813() (BookingInputAttendeeDefinedLocation20240813, error)

AsBookingInputAttendeeDefinedLocation20240813 returns the union data inside the CreateRecurringBookingInput20240813_Location as a BookingInputAttendeeDefinedLocation20240813

func (CreateRecurringBookingInput20240813_Location) AsBookingInputAttendeePhoneLocation20240813

func (t CreateRecurringBookingInput20240813_Location) AsBookingInputAttendeePhoneLocation20240813() (BookingInputAttendeePhoneLocation20240813, error)

AsBookingInputAttendeePhoneLocation20240813 returns the union data inside the CreateRecurringBookingInput20240813_Location as a BookingInputAttendeePhoneLocation20240813

func (CreateRecurringBookingInput20240813_Location) AsBookingInputIntegrationLocation20240813

func (t CreateRecurringBookingInput20240813_Location) AsBookingInputIntegrationLocation20240813() (BookingInputIntegrationLocation20240813, error)

AsBookingInputIntegrationLocation20240813 returns the union data inside the CreateRecurringBookingInput20240813_Location as a BookingInputIntegrationLocation20240813

func (CreateRecurringBookingInput20240813_Location) AsBookingInputLinkLocation20240813

AsBookingInputLinkLocation20240813 returns the union data inside the CreateRecurringBookingInput20240813_Location as a BookingInputLinkLocation20240813

func (CreateRecurringBookingInput20240813_Location) AsBookingInputOrganizersDefaultAppLocation20240813

func (t CreateRecurringBookingInput20240813_Location) AsBookingInputOrganizersDefaultAppLocation20240813() (BookingInputOrganizersDefaultAppLocation20240813, error)

AsBookingInputOrganizersDefaultAppLocation20240813 returns the union data inside the CreateRecurringBookingInput20240813_Location as a BookingInputOrganizersDefaultAppLocation20240813

func (CreateRecurringBookingInput20240813_Location) AsBookingInputPhoneLocation20240813

AsBookingInputPhoneLocation20240813 returns the union data inside the CreateRecurringBookingInput20240813_Location as a BookingInputPhoneLocation20240813

func (*CreateRecurringBookingInput20240813_Location) FromBookingInputAddressLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) FromBookingInputAddressLocation20240813(v BookingInputAddressLocation20240813) error

FromBookingInputAddressLocation20240813 overwrites any union data inside the CreateRecurringBookingInput20240813_Location as the provided BookingInputAddressLocation20240813

func (*CreateRecurringBookingInput20240813_Location) FromBookingInputAttendeeAddressLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) FromBookingInputAttendeeAddressLocation20240813(v BookingInputAttendeeAddressLocation20240813) error

FromBookingInputAttendeeAddressLocation20240813 overwrites any union data inside the CreateRecurringBookingInput20240813_Location as the provided BookingInputAttendeeAddressLocation20240813

func (*CreateRecurringBookingInput20240813_Location) FromBookingInputAttendeeDefinedLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) FromBookingInputAttendeeDefinedLocation20240813(v BookingInputAttendeeDefinedLocation20240813) error

FromBookingInputAttendeeDefinedLocation20240813 overwrites any union data inside the CreateRecurringBookingInput20240813_Location as the provided BookingInputAttendeeDefinedLocation20240813

func (*CreateRecurringBookingInput20240813_Location) FromBookingInputAttendeePhoneLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) FromBookingInputAttendeePhoneLocation20240813(v BookingInputAttendeePhoneLocation20240813) error

FromBookingInputAttendeePhoneLocation20240813 overwrites any union data inside the CreateRecurringBookingInput20240813_Location as the provided BookingInputAttendeePhoneLocation20240813

func (*CreateRecurringBookingInput20240813_Location) FromBookingInputIntegrationLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) FromBookingInputIntegrationLocation20240813(v BookingInputIntegrationLocation20240813) error

FromBookingInputIntegrationLocation20240813 overwrites any union data inside the CreateRecurringBookingInput20240813_Location as the provided BookingInputIntegrationLocation20240813

func (*CreateRecurringBookingInput20240813_Location) FromBookingInputLinkLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) FromBookingInputLinkLocation20240813(v BookingInputLinkLocation20240813) error

FromBookingInputLinkLocation20240813 overwrites any union data inside the CreateRecurringBookingInput20240813_Location as the provided BookingInputLinkLocation20240813

func (*CreateRecurringBookingInput20240813_Location) FromBookingInputOrganizersDefaultAppLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) FromBookingInputOrganizersDefaultAppLocation20240813(v BookingInputOrganizersDefaultAppLocation20240813) error

FromBookingInputOrganizersDefaultAppLocation20240813 overwrites any union data inside the CreateRecurringBookingInput20240813_Location as the provided BookingInputOrganizersDefaultAppLocation20240813

func (*CreateRecurringBookingInput20240813_Location) FromBookingInputPhoneLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) FromBookingInputPhoneLocation20240813(v BookingInputPhoneLocation20240813) error

FromBookingInputPhoneLocation20240813 overwrites any union data inside the CreateRecurringBookingInput20240813_Location as the provided BookingInputPhoneLocation20240813

func (CreateRecurringBookingInput20240813_Location) MarshalJSON

func (*CreateRecurringBookingInput20240813_Location) MergeBookingInputAddressLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) MergeBookingInputAddressLocation20240813(v BookingInputAddressLocation20240813) error

MergeBookingInputAddressLocation20240813 performs a merge with any union data inside the CreateRecurringBookingInput20240813_Location, using the provided BookingInputAddressLocation20240813

func (*CreateRecurringBookingInput20240813_Location) MergeBookingInputAttendeeAddressLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) MergeBookingInputAttendeeAddressLocation20240813(v BookingInputAttendeeAddressLocation20240813) error

MergeBookingInputAttendeeAddressLocation20240813 performs a merge with any union data inside the CreateRecurringBookingInput20240813_Location, using the provided BookingInputAttendeeAddressLocation20240813

func (*CreateRecurringBookingInput20240813_Location) MergeBookingInputAttendeeDefinedLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) MergeBookingInputAttendeeDefinedLocation20240813(v BookingInputAttendeeDefinedLocation20240813) error

MergeBookingInputAttendeeDefinedLocation20240813 performs a merge with any union data inside the CreateRecurringBookingInput20240813_Location, using the provided BookingInputAttendeeDefinedLocation20240813

func (*CreateRecurringBookingInput20240813_Location) MergeBookingInputAttendeePhoneLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) MergeBookingInputAttendeePhoneLocation20240813(v BookingInputAttendeePhoneLocation20240813) error

MergeBookingInputAttendeePhoneLocation20240813 performs a merge with any union data inside the CreateRecurringBookingInput20240813_Location, using the provided BookingInputAttendeePhoneLocation20240813

func (*CreateRecurringBookingInput20240813_Location) MergeBookingInputIntegrationLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) MergeBookingInputIntegrationLocation20240813(v BookingInputIntegrationLocation20240813) error

MergeBookingInputIntegrationLocation20240813 performs a merge with any union data inside the CreateRecurringBookingInput20240813_Location, using the provided BookingInputIntegrationLocation20240813

func (*CreateRecurringBookingInput20240813_Location) MergeBookingInputLinkLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) MergeBookingInputLinkLocation20240813(v BookingInputLinkLocation20240813) error

MergeBookingInputLinkLocation20240813 performs a merge with any union data inside the CreateRecurringBookingInput20240813_Location, using the provided BookingInputLinkLocation20240813

func (*CreateRecurringBookingInput20240813_Location) MergeBookingInputOrganizersDefaultAppLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) MergeBookingInputOrganizersDefaultAppLocation20240813(v BookingInputOrganizersDefaultAppLocation20240813) error

MergeBookingInputOrganizersDefaultAppLocation20240813 performs a merge with any union data inside the CreateRecurringBookingInput20240813_Location, using the provided BookingInputOrganizersDefaultAppLocation20240813

func (*CreateRecurringBookingInput20240813_Location) MergeBookingInputPhoneLocation20240813

func (t *CreateRecurringBookingInput20240813_Location) MergeBookingInputPhoneLocation20240813(v BookingInputPhoneLocation20240813) error

MergeBookingInputPhoneLocation20240813 performs a merge with any union data inside the CreateRecurringBookingInput20240813_Location, using the provided BookingInputPhoneLocation20240813

func (*CreateRecurringBookingInput20240813_Location) UnmarshalJSON

type CreateRecurringSeatedBookingOutput20240813

type CreateRecurringSeatedBookingOutput20240813 struct {
	// AbsentHost Example: true
	AbsentHost bool             `json:"absentHost"`
	Attendees  []SeatedAttendee `json:"attendees"`

	// CancellationReason Example: User requested cancellation
	CancellationReason *string `json:"cancellationReason,omitempty"`

	// CancelledByEmail Example: canceller@example.com
	CancelledByEmail *string `json:"cancelledByEmail,omitempty"`

	// CreatedAt Example: 2024-08-13T15:30:00Z
	CreatedAt string `json:"createdAt"`

	// Description Example: Learn how to integrate scheduling into marketplace.
	Description string `json:"description"`

	// Duration Example: 60
	Duration float64 `json:"duration"`

	// End Example: 2024-08-13T16:30:00Z
	End       string    `json:"end"`
	EventType EventType `json:"eventType"`

	// EventTypeId Deprecated - rely on 'eventType' object containing the id instead.
	//
	// Example: 50
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	EventTypeId float64       `json:"eventTypeId"`
	Hosts       []BookingHost `json:"hosts"`

	// IcsUid UID of ICS event.
	//
	// Example: ics_uid_123
	IcsUid *string `json:"icsUid,omitempty"`

	// Id Example: 123
	Id float64 `json:"id"`

	// Location Example: https://example.com/meeting
	Location string `json:"location"`

	// MeetingUrl Deprecated - rely on 'location' field instead.
	//
	// Example: https://example.com/recurring-meeting
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MeetingUrl *string `json:"meetingUrl,omitempty"`

	// Metadata Example: {"key":"value"}
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Rating Example: 4
	Rating *float64 `json:"rating,omitempty"`

	// RecurringBookingUid Example: recurring_uid_987
	RecurringBookingUid string `json:"recurringBookingUid"`

	// RescheduledByEmail Example: rescheduler@example.com
	RescheduledByEmail *string `json:"rescheduledByEmail,omitempty"`

	// RescheduledFromUid UID of the previous booking from which this booking was rescheduled.
	//
	// Example: previous_uid_123
	RescheduledFromUid *string `json:"rescheduledFromUid,omitempty"`

	// RescheduledToUid UID of the new booking to which this booking was rescheduled.
	//
	// Example: new_uid_456
	RescheduledToUid *string `json:"rescheduledToUid,omitempty"`

	// ReschedulingReason Example: User rescheduled the event
	ReschedulingReason *string `json:"reschedulingReason,omitempty"`

	// SeatUid Example: 3be561a9-31f1-4b8e-aefc-9d9a085f0dd1
	SeatUid string `json:"seatUid"`

	// Start Example: 2024-08-13T15:30:00Z
	Start string `json:"start"`

	// Status Example: accepted
	Status CreateRecurringSeatedBookingOutput20240813Status `json:"status"`

	// Title Example: Consultation
	Title string `json:"title"`

	// Uid Example: booking_uid_123
	Uid string `json:"uid"`

	// UpdatedAt Example: 2024-08-13T15:30:00Z
	UpdatedAt string `json:"updatedAt"`
}

CreateRecurringSeatedBookingOutput20240813 defines model for CreateRecurringSeatedBookingOutput_2024_08_13.

type CreateRecurringSeatedBookingOutput20240813Status

type CreateRecurringSeatedBookingOutput20240813Status string

CreateRecurringSeatedBookingOutput20240813Status Example: accepted

const (
	CreateRecurringSeatedBookingOutput20240813StatusAccepted  CreateRecurringSeatedBookingOutput20240813Status = "accepted"
	CreateRecurringSeatedBookingOutput20240813StatusCancelled CreateRecurringSeatedBookingOutput20240813Status = "cancelled"
	CreateRecurringSeatedBookingOutput20240813StatusPending   CreateRecurringSeatedBookingOutput20240813Status = "pending"
	CreateRecurringSeatedBookingOutput20240813StatusRejected  CreateRecurringSeatedBookingOutput20240813Status = "rejected"
)

Defines values for CreateRecurringSeatedBookingOutput20240813Status.

func (CreateRecurringSeatedBookingOutput20240813Status) Valid

Valid indicates whether the value is a known member of the CreateRecurringSeatedBookingOutput20240813Status enum.

type CreateScheduleInput20240611

type CreateScheduleInput20240611 struct {
	// Availability Each object contains days and times when the user is available. If not passed, the default availability is Monday to Friday from 09:00 to 17:00.
	//
	// Example: [{"days":["Monday","Tuesday"],"endTime":"19:00","startTime":"17:00"},{"days":["Wednesday","Thursday"],"endTime":"20:00","startTime":"16:00"}]
	Availability *[]ScheduleAvailabilityInput20240611 `json:"availability,omitempty"`

	// IsDefault Each user should have 1 default schedule. If you specified `timeZone` when creating managed user, then the default schedule will be created with that timezone.
	//     Default schedule means that if an event type is not tied to a specific schedule then the default schedule is used.
	//
	// Example: true
	IsDefault bool `json:"isDefault"`

	// Name Example: Catch up hours
	Name string `json:"name"`

	// Overrides Need to change availability for a specific date? Add an override.
	//
	// Example: [{"date":"2024-05-20","endTime":"21:00","startTime":"18:00"}]
	Overrides *[]ScheduleOverrideInput20240611 `json:"overrides,omitempty"`

	// TimeZone Timezone is used to calculate available times when an event using the schedule is booked.
	//
	// Example: Europe/Rome
	TimeZone string `json:"timeZone"`
}

CreateScheduleInput20240611 defines model for CreateScheduleInput_2024_06_11.

type CreateScheduleOutput20240611

type CreateScheduleOutput20240611 struct {
	Data ScheduleOutput20240611 `json:"data"`

	// Status Example: success
	Status CreateScheduleOutput20240611Status `json:"status"`
}

CreateScheduleOutput20240611 defines model for CreateScheduleOutput_2024_06_11.

type CreateScheduleOutput20240611Status

type CreateScheduleOutput20240611Status string

CreateScheduleOutput20240611Status Example: success

const (
	CreateScheduleOutput20240611StatusError   CreateScheduleOutput20240611Status = "error"
	CreateScheduleOutput20240611StatusSuccess CreateScheduleOutput20240611Status = "success"
)

Defines values for CreateScheduleOutput20240611Status.

func (CreateScheduleOutput20240611Status) Valid

Valid indicates whether the value is a known member of the CreateScheduleOutput20240611Status enum.

type CreateSeatedBookingOutput20240813

type CreateSeatedBookingOutput20240813 struct {
	// AbsentHost Example: true
	AbsentHost bool             `json:"absentHost"`
	Attendees  []SeatedAttendee `json:"attendees"`

	// CancellationReason Example: User requested cancellation
	CancellationReason *string `json:"cancellationReason,omitempty"`

	// CancelledByEmail Example: canceller@example.com
	CancelledByEmail *string `json:"cancelledByEmail,omitempty"`

	// CreatedAt Example: 2024-08-13T15:30:00Z
	CreatedAt string `json:"createdAt"`

	// Description Example: Learn how to integrate scheduling into marketplace.
	Description string `json:"description"`

	// Duration Example: 60
	Duration float64 `json:"duration"`

	// End Example: 2024-08-13T16:30:00Z
	End       string    `json:"end"`
	EventType EventType `json:"eventType"`

	// EventTypeId Deprecated - rely on 'eventType' object containing the id instead.
	//
	// Example: 50
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	EventTypeId float64       `json:"eventTypeId"`
	Hosts       []BookingHost `json:"hosts"`

	// IcsUid UID of ICS event.
	//
	// Example: ics_uid_123
	IcsUid *string `json:"icsUid,omitempty"`

	// Id Example: 123
	Id float64 `json:"id"`

	// Location Example: https://example.com/meeting
	Location string `json:"location"`

	// MeetingUrl Deprecated - rely on 'location' field instead.
	//
	// Example: https://example.com/recurring-meeting
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MeetingUrl *string `json:"meetingUrl,omitempty"`

	// Metadata Example: {"key":"value"}
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Rating Example: 4
	Rating *float64 `json:"rating,omitempty"`

	// RescheduledByEmail Example: rescheduler@example.com
	RescheduledByEmail *string `json:"rescheduledByEmail,omitempty"`

	// RescheduledFromUid UID of the previous booking from which this booking was rescheduled.
	//
	// Example: previous_uid_123
	RescheduledFromUid *string `json:"rescheduledFromUid,omitempty"`

	// RescheduledToUid UID of the new booking to which this booking was rescheduled.
	//
	// Example: new_uid_456
	RescheduledToUid *string `json:"rescheduledToUid,omitempty"`

	// ReschedulingReason Example: User rescheduled the event
	ReschedulingReason *string `json:"reschedulingReason,omitempty"`

	// SeatUid Example: 3be561a9-31f1-4b8e-aefc-9d9a085f0dd1
	SeatUid string `json:"seatUid"`

	// Start Example: 2024-08-13T15:30:00Z
	Start string `json:"start"`

	// Status Example: accepted
	Status CreateSeatedBookingOutput20240813Status `json:"status"`

	// Title Example: Consultation
	Title string `json:"title"`

	// Uid Example: booking_uid_123
	Uid string `json:"uid"`

	// UpdatedAt Example: 2024-08-13T15:30:00Z
	UpdatedAt string `json:"updatedAt"`
}

CreateSeatedBookingOutput20240813 defines model for CreateSeatedBookingOutput_2024_08_13.

type CreateSeatedBookingOutput20240813Status

type CreateSeatedBookingOutput20240813Status string

CreateSeatedBookingOutput20240813Status Example: accepted

const (
	CreateSeatedBookingOutput20240813StatusAccepted  CreateSeatedBookingOutput20240813Status = "accepted"
	CreateSeatedBookingOutput20240813StatusCancelled CreateSeatedBookingOutput20240813Status = "cancelled"
	CreateSeatedBookingOutput20240813StatusPending   CreateSeatedBookingOutput20240813Status = "pending"
	CreateSeatedBookingOutput20240813StatusRejected  CreateSeatedBookingOutput20240813Status = "rejected"
)

Defines values for CreateSeatedBookingOutput20240813Status.

func (CreateSeatedBookingOutput20240813Status) Valid

Valid indicates whether the value is a known member of the CreateSeatedBookingOutput20240813Status enum.

type CreateUnifiedCalendarEventInput

type CreateUnifiedCalendarEventInput struct {
	// Attendees List of attendees
	Attendees *[]CreateEventAttendee `json:"attendees,omitempty"`

	// Description Description of the event
	Description *string `json:"description,omitempty"`

	// End End date and time with time zone
	End CreateEventDateTimeWithZone `json:"end"`

	// Start Start date and time with time zone
	Start CreateEventDateTimeWithZone `json:"start"`

	// Title Title of the calendar event
	Title string `json:"title"`
}

CreateUnifiedCalendarEventInput defines model for CreateUnifiedCalendarEventInput.

type CreateWebhookInputDto

type CreateWebhookInputDto struct {
	Active bool `json:"active"`

	// PayloadTemplate The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information
	//
	// Example: {"content":"A new event has been scheduled","type":"{{type}}","name":"{{title}}","organizer":"{{organizer.name}}","booker":"{{attendees.0.name}}"}
	PayloadTemplate *string `json:"payloadTemplate,omitempty"`
	Secret          *string `json:"secret,omitempty"`
	SubscriberUrl   string  `json:"subscriberUrl"`

	// Triggers Example: ["BOOKING_CREATED","BOOKING_RESCHEDULED","BOOKING_CANCELLED","BOOKING_CONFIRMED","BOOKING_REJECTED","BOOKING_COMPLETED","BOOKING_NO_SHOW","BOOKING_REOPENED"]
	Triggers []CreateWebhookInputDtoTriggers `json:"triggers"`

	// Version The version of the webhook
	//
	// Example: 2021-10-20
	Version *CreateWebhookInputDtoVersion `json:"version,omitempty"`
}

CreateWebhookInputDto defines model for CreateWebhookInputDto.

type CreateWebhookInputDtoTriggers

type CreateWebhookInputDtoTriggers string

CreateWebhookInputDtoTriggers defines model for CreateWebhookInputDto.Triggers.

const (
	CreateWebhookInputDtoTriggersAFTERGUESTSCALVIDEONOSHOW       CreateWebhookInputDtoTriggers = "AFTER_GUESTS_CAL_VIDEO_NO_SHOW"
	CreateWebhookInputDtoTriggersAFTERHOSTSCALVIDEONOSHOW        CreateWebhookInputDtoTriggers = "AFTER_HOSTS_CAL_VIDEO_NO_SHOW"
	CreateWebhookInputDtoTriggersBOOKINGCANCELLED                CreateWebhookInputDtoTriggers = "BOOKING_CANCELLED"
	CreateWebhookInputDtoTriggersBOOKINGCREATED                  CreateWebhookInputDtoTriggers = "BOOKING_CREATED"
	CreateWebhookInputDtoTriggersBOOKINGNOSHOWUPDATED            CreateWebhookInputDtoTriggers = "BOOKING_NO_SHOW_UPDATED"
	CreateWebhookInputDtoTriggersBOOKINGPAID                     CreateWebhookInputDtoTriggers = "BOOKING_PAID"
	CreateWebhookInputDtoTriggersBOOKINGPAYMENTINITIATED         CreateWebhookInputDtoTriggers = "BOOKING_PAYMENT_INITIATED"
	CreateWebhookInputDtoTriggersBOOKINGREJECTED                 CreateWebhookInputDtoTriggers = "BOOKING_REJECTED"
	CreateWebhookInputDtoTriggersBOOKINGREQUESTED                CreateWebhookInputDtoTriggers = "BOOKING_REQUESTED"
	CreateWebhookInputDtoTriggersBOOKINGRESCHEDULED              CreateWebhookInputDtoTriggers = "BOOKING_RESCHEDULED"
	CreateWebhookInputDtoTriggersDELEGATIONCREDENTIALERROR       CreateWebhookInputDtoTriggers = "DELEGATION_CREDENTIAL_ERROR"
	CreateWebhookInputDtoTriggersFORMSUBMITTED                   CreateWebhookInputDtoTriggers = "FORM_SUBMITTED"
	CreateWebhookInputDtoTriggersFORMSUBMITTEDNOEVENT            CreateWebhookInputDtoTriggers = "FORM_SUBMITTED_NO_EVENT"
	CreateWebhookInputDtoTriggersINSTANTMEETING                  CreateWebhookInputDtoTriggers = "INSTANT_MEETING"
	CreateWebhookInputDtoTriggersMEETINGENDED                    CreateWebhookInputDtoTriggers = "MEETING_ENDED"
	CreateWebhookInputDtoTriggersMEETINGSTARTED                  CreateWebhookInputDtoTriggers = "MEETING_STARTED"
	CreateWebhookInputDtoTriggersOOOCREATED                      CreateWebhookInputDtoTriggers = "OOO_CREATED"
	CreateWebhookInputDtoTriggersRECORDINGREADY                  CreateWebhookInputDtoTriggers = "RECORDING_READY"
	CreateWebhookInputDtoTriggersRECORDINGTRANSCRIPTIONGENERATED CreateWebhookInputDtoTriggers = "RECORDING_TRANSCRIPTION_GENERATED"
	CreateWebhookInputDtoTriggersWRONGASSIGNMENTREPORT           CreateWebhookInputDtoTriggers = "WRONG_ASSIGNMENT_REPORT"
)

Defines values for CreateWebhookInputDtoTriggers.

func (CreateWebhookInputDtoTriggers) Valid

Valid indicates whether the value is a known member of the CreateWebhookInputDtoTriggers enum.

type CreateWebhookInputDtoVersion

type CreateWebhookInputDtoVersion string

CreateWebhookInputDtoVersion The version of the webhook

Example: 2021-10-20

const (
	CreateWebhookInputDtoVersionN20211020 CreateWebhookInputDtoVersion = "2021-10-20"
)

Defines values for CreateWebhookInputDtoVersion.

func (CreateWebhookInputDtoVersion) Valid

Valid indicates whether the value is a known member of the CreateWebhookInputDtoVersion enum.

type DeclineBookingInput20240813

type DeclineBookingInput20240813 struct {
	// Reason Reason for declining a booking that requires a confirmation
	//
	// Example: Host has to take another call
	Reason *string `json:"reason,omitempty"`
}

DeclineBookingInput20240813 defines model for DeclineBookingInput_2024_08_13.

type DefaultConferencingAppsOutputDto

type DefaultConferencingAppsOutputDto struct {
	AppLink *string `json:"appLink,omitempty"`
	AppSlug *string `json:"appSlug,omitempty"`
}

DefaultConferencingAppsOutputDto defines model for DefaultConferencingAppsOutputDto.

type DeleteCalendarCredentialsInputBodyDto

type DeleteCalendarCredentialsInputBodyDto struct {
	// Id Credential ID of the calendar to delete, as returned by the /calendars endpoint
	//
	// Example: 10
	Id int `json:"id"`
}

DeleteCalendarCredentialsInputBodyDto defines model for DeleteCalendarCredentialsInputBodyDto.

type DeleteData20240614

type DeleteData20240614 struct {
	// Id Example: 1
	Id float64 `json:"id"`

	// LengthInMinutes Example: 60
	LengthInMinutes float64 `json:"lengthInMinutes"`
	Slug            string  `json:"slug"`

	// Title Example: Learn the secrets of masterchief!
	Title string `json:"title"`
}

DeleteData20240614 defines model for DeleteData_2024_06_14.

type DeleteEventTypeOutput20240614

type DeleteEventTypeOutput20240614 struct {
	Data DeleteData20240614 `json:"data"`

	// Status Example: success
	Status DeleteEventTypeOutput20240614Status `json:"status"`
}

DeleteEventTypeOutput20240614 defines model for DeleteEventTypeOutput_2024_06_14.

type DeleteEventTypeOutput20240614Status

type DeleteEventTypeOutput20240614Status string

DeleteEventTypeOutput20240614Status Example: success

const (
	DeleteEventTypeOutput20240614StatusError   DeleteEventTypeOutput20240614Status = "error"
	DeleteEventTypeOutput20240614StatusSuccess DeleteEventTypeOutput20240614Status = "success"
)

Defines values for DeleteEventTypeOutput20240614Status.

func (DeleteEventTypeOutput20240614Status) Valid

Valid indicates whether the value is a known member of the DeleteEventTypeOutput20240614Status enum.

type DeleteManyWebhooksOutputResponseDto

type DeleteManyWebhooksOutputResponseDto struct {
	Data string `json:"data"`

	// Status Example: success
	Status DeleteManyWebhooksOutputResponseDtoStatus `json:"status"`
}

DeleteManyWebhooksOutputResponseDto defines model for DeleteManyWebhooksOutputResponseDto.

type DeleteManyWebhooksOutputResponseDtoStatus

type DeleteManyWebhooksOutputResponseDtoStatus string

DeleteManyWebhooksOutputResponseDtoStatus Example: success

const (
	DeleteManyWebhooksOutputResponseDtoStatusError   DeleteManyWebhooksOutputResponseDtoStatus = "error"
	DeleteManyWebhooksOutputResponseDtoStatusSuccess DeleteManyWebhooksOutputResponseDtoStatus = "success"
)

Defines values for DeleteManyWebhooksOutputResponseDtoStatus.

func (DeleteManyWebhooksOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the DeleteManyWebhooksOutputResponseDtoStatus enum.

type DeletePrivateLinkOutput

type DeletePrivateLinkOutput struct {
	// Data Deleted link information
	Data struct {
		// LinkId Example: abc123def456
		LinkId *string `json:"linkId,omitempty"`

		// Message Example: Private link deleted successfully
		Message *string `json:"message,omitempty"`
	} `json:"data"`

	// Status Response status
	//
	// Example: success
	Status string `json:"status"`
}

DeletePrivateLinkOutput defines model for DeletePrivateLinkOutput.

type DeleteScheduleOutput20240611

type DeleteScheduleOutput20240611 struct {
	// Status Example: success
	Status DeleteScheduleOutput20240611Status `json:"status"`
}

DeleteScheduleOutput20240611 defines model for DeleteScheduleOutput_2024_06_11.

type DeleteScheduleOutput20240611Status

type DeleteScheduleOutput20240611Status string

DeleteScheduleOutput20240611Status Example: success

const (
	DeleteScheduleOutput20240611StatusError   DeleteScheduleOutput20240611Status = "error"
	DeleteScheduleOutput20240611StatusSuccess DeleteScheduleOutput20240611Status = "success"
)

Defines values for DeleteScheduleOutput20240611Status.

func (DeleteScheduleOutput20240611Status) Valid

Valid indicates whether the value is a known member of the DeleteScheduleOutput20240611Status enum.

type DeletedCalendarCredentialsOutputDto

type DeletedCalendarCredentialsOutputDto struct {
	AppId   *string  `json:"appId"`
	Id      float64  `json:"id"`
	Invalid *bool    `json:"invalid"`
	TeamId  *float64 `json:"teamId"`
	Type    string   `json:"type"`
	UserId  *float64 `json:"userId"`
}

DeletedCalendarCredentialsOutputDto defines model for DeletedCalendarCredentialsOutputDto.

type DeletedCalendarCredentialsOutputResponseDto

type DeletedCalendarCredentialsOutputResponseDto struct {
	Data DeletedCalendarCredentialsOutputDto `json:"data"`

	// Status Example: success
	Status DeletedCalendarCredentialsOutputResponseDtoStatus `json:"status"`
}

DeletedCalendarCredentialsOutputResponseDto defines model for DeletedCalendarCredentialsOutputResponseDto.

type DeletedCalendarCredentialsOutputResponseDtoStatus

type DeletedCalendarCredentialsOutputResponseDtoStatus string

DeletedCalendarCredentialsOutputResponseDtoStatus Example: success

const (
	DeletedCalendarCredentialsOutputResponseDtoStatusError   DeletedCalendarCredentialsOutputResponseDtoStatus = "error"
	DeletedCalendarCredentialsOutputResponseDtoStatusSuccess DeletedCalendarCredentialsOutputResponseDtoStatus = "success"
)

Defines values for DeletedCalendarCredentialsOutputResponseDtoStatus.

func (DeletedCalendarCredentialsOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the DeletedCalendarCredentialsOutputResponseDtoStatus enum.

type DestinationCalendar

type DestinationCalendar struct {
	CredentialId           *float64               `json:"credentialId"`
	DelegationCredentialId *string                `json:"delegationCredentialId,omitempty"`
	Email                  *string                `json:"email,omitempty"`
	EventTypeId            *float64               `json:"eventTypeId"`
	ExternalId             string                 `json:"externalId"`
	Id                     map[string]interface{} `json:"id"`
	Integration            string                 `json:"integration"`
	IntegrationTitle       *string                `json:"integrationTitle,omitempty"`
	Name                   *string                `json:"name,omitempty"`
	Primary                *bool                  `json:"primary,omitempty"`
	PrimaryEmail           *string                `json:"primaryEmail"`
	ReadOnly               *bool                  `json:"readOnly,omitempty"`
	UserId                 *float64               `json:"userId"`
}

DestinationCalendar defines model for DestinationCalendar.

type DestinationCalendar20240614

type DestinationCalendar20240614 struct {
	// ExternalId The external ID of the destination calendar. Refer to the /api/v2/calendars endpoint to retrieve the external IDs of your connected calendars.
	ExternalId string `json:"externalId"`

	// Integration The integration type of the destination calendar. Refer to the /api/v2/calendars endpoint to retrieve the integration type of your connected calendars.
	Integration string `json:"integration"`
}

DestinationCalendar20240614 defines model for DestinationCalendar_2024_06_14.

type DestinationCalendarsControllerUpdateDestinationCalendarsJSONRequestBody

type DestinationCalendarsControllerUpdateDestinationCalendarsJSONRequestBody = DestinationCalendarsInputBodyDto

DestinationCalendarsControllerUpdateDestinationCalendarsJSONRequestBody defines body for DestinationCalendarsControllerUpdateDestinationCalendars for application/json ContentType.

type DestinationCalendarsControllerUpdateDestinationCalendarsParams

type DestinationCalendarsControllerUpdateDestinationCalendarsParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

DestinationCalendarsControllerUpdateDestinationCalendarsParams defines parameters for DestinationCalendarsControllerUpdateDestinationCalendars.

type DestinationCalendarsControllerUpdateDestinationCalendarsResponse

type DestinationCalendarsControllerUpdateDestinationCalendarsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DestinationCalendarsOutputResponseDto
}

func ParseDestinationCalendarsControllerUpdateDestinationCalendarsResponse

func ParseDestinationCalendarsControllerUpdateDestinationCalendarsResponse(rsp *http.Response) (*DestinationCalendarsControllerUpdateDestinationCalendarsResponse, error)

ParseDestinationCalendarsControllerUpdateDestinationCalendarsResponse parses an HTTP response from a DestinationCalendarsControllerUpdateDestinationCalendarsWithResponse call

func (DestinationCalendarsControllerUpdateDestinationCalendarsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DestinationCalendarsControllerUpdateDestinationCalendarsResponse) GetBody

GetBody returns the raw response body bytes

func (DestinationCalendarsControllerUpdateDestinationCalendarsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DestinationCalendarsControllerUpdateDestinationCalendarsResponse) Status

Status returns HTTPResponse.Status

func (DestinationCalendarsControllerUpdateDestinationCalendarsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DestinationCalendarsInputBodyDto

type DestinationCalendarsInputBodyDto struct {
	DelegationCredentialId *string `json:"delegationCredentialId,omitempty"`

	// ExternalId Unique identifier used to represent the specific calendar, as returned by the /calendars endpoint
	//
	// Example: https://caldav.icloud.com/26962146906/calendars/1644422A-1945-4438-BBC0-4F0Q23A57R7S/
	ExternalId string `json:"externalId"`

	// Integration The calendar service you want to integrate, as returned by the /calendars endpoint
	//
	// Example: apple_calendar
	Integration DestinationCalendarsInputBodyDtoIntegration `json:"integration"`
}

DestinationCalendarsInputBodyDto defines model for DestinationCalendarsInputBodyDto.

type DestinationCalendarsInputBodyDtoIntegration

type DestinationCalendarsInputBodyDtoIntegration string

DestinationCalendarsInputBodyDtoIntegration The calendar service you want to integrate, as returned by the /calendars endpoint

Example: apple_calendar

const (
	DestinationCalendarsInputBodyDtoIntegrationAppleCalendar     DestinationCalendarsInputBodyDtoIntegration = "apple_calendar"
	DestinationCalendarsInputBodyDtoIntegrationGoogleCalendar    DestinationCalendarsInputBodyDtoIntegration = "google_calendar"
	DestinationCalendarsInputBodyDtoIntegrationOffice365Calendar DestinationCalendarsInputBodyDtoIntegration = "office365_calendar"
)

Defines values for DestinationCalendarsInputBodyDtoIntegration.

func (DestinationCalendarsInputBodyDtoIntegration) Valid

Valid indicates whether the value is a known member of the DestinationCalendarsInputBodyDtoIntegration enum.

type DestinationCalendarsOutputDto

type DestinationCalendarsOutputDto struct {
	CredentialId *float64 `json:"credentialId"`
	ExternalId   string   `json:"externalId"`
	Integration  string   `json:"integration"`
	UserId       float64  `json:"userId"`
}

DestinationCalendarsOutputDto defines model for DestinationCalendarsOutputDto.

type DestinationCalendarsOutputResponseDto

type DestinationCalendarsOutputResponseDto struct {
	Data DestinationCalendarsOutputDto `json:"data"`

	// Status Example: success
	Status DestinationCalendarsOutputResponseDtoStatus `json:"status"`
}

DestinationCalendarsOutputResponseDto defines model for DestinationCalendarsOutputResponseDto.

type DestinationCalendarsOutputResponseDtoStatus

type DestinationCalendarsOutputResponseDtoStatus string

DestinationCalendarsOutputResponseDtoStatus Example: success

const (
	DestinationCalendarsOutputResponseDtoStatusError   DestinationCalendarsOutputResponseDtoStatus = "error"
	DestinationCalendarsOutputResponseDtoStatusSuccess DestinationCalendarsOutputResponseDtoStatus = "success"
)

Defines values for DestinationCalendarsOutputResponseDtoStatus.

func (DestinationCalendarsOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the DestinationCalendarsOutputResponseDtoStatus enum.

type DisableCancelling20240614

type DisableCancelling20240614 struct {
	// Disabled If true, cancelling is always disabled for this event type.
	//
	// Example: true
	Disabled *bool `json:"disabled,omitempty"`
}

DisableCancelling20240614 defines model for DisableCancelling_2024_06_14.

type DisableCancellingOutput20240614

type DisableCancellingOutput20240614 struct {
	// Disabled If true, cancelling is always disabled for this event type.
	//
	// Example: true
	Disabled *bool `json:"disabled,omitempty"`
}

DisableCancellingOutput20240614 defines model for DisableCancellingOutput_2024_06_14.

type DisableRescheduling20240614

type DisableRescheduling20240614 struct {
	// Disabled If true, rescheduling is always disabled for this event type.
	//
	// Example: true
	Disabled *bool `json:"disabled,omitempty"`

	// MinutesBefore Disable rescheduling when less than the specified number of minutes before the meeting. If set, `disabled` should be false or undefined.
	//
	// Example: 60
	MinutesBefore *float64 `json:"minutesBefore,omitempty"`
}

DisableRescheduling20240614 defines model for DisableRescheduling_2024_06_14.

type DisableReschedulingOutput20240614

type DisableReschedulingOutput20240614 struct {
	// Disabled If true, rescheduling is always disabled for this event type.
	//
	// Example: true
	Disabled *bool `json:"disabled,omitempty"`

	// MinutesBefore Rescheduling is disabled when less than the specified number of minutes before the meeting.
	//
	// Example: 60
	MinutesBefore *float64 `json:"minutesBefore,omitempty"`
}

DisableReschedulingOutput20240614 defines model for DisableReschedulingOutput_2024_06_14.

type Disabled20240614

type Disabled20240614 struct {
	// Disabled Only acceptable value for the `disabled` property is `true`. It is used to reset the value of the property for which previously an object containing specific settings was passed.
	//
	// Example: true
	Disabled bool `json:"disabled"`
}

Disabled20240614 defines model for Disabled_2024_06_14.

type DisconnectConferencingAppOutputResponseDto

type DisconnectConferencingAppOutputResponseDto struct {
	// Status Example: success
	Status DisconnectConferencingAppOutputResponseDtoStatus `json:"status"`
}

DisconnectConferencingAppOutputResponseDto defines model for DisconnectConferencingAppOutputResponseDto.

type DisconnectConferencingAppOutputResponseDtoStatus

type DisconnectConferencingAppOutputResponseDtoStatus string

DisconnectConferencingAppOutputResponseDtoStatus Example: success

const (
	DisconnectConferencingAppOutputResponseDtoStatusError   DisconnectConferencingAppOutputResponseDtoStatus = "error"
	DisconnectConferencingAppOutputResponseDtoStatusSuccess DisconnectConferencingAppOutputResponseDtoStatus = "success"
)

Defines values for DisconnectConferencingAppOutputResponseDtoStatus.

func (DisconnectConferencingAppOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the DisconnectConferencingAppOutputResponseDtoStatus enum.

type EmailDefaultFieldInput20240614

type EmailDefaultFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if URL contains query parameter `&email=bob@gmail.com`,      the email field will be prefilled with this value and disabled. In case of Booker atom need to pass 'email' to defaultFormValues prop with the desired value e.g. `defaultFormValues={{email: 'bob@gmail.com'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden Can be set to true only for organization team event types and if you also pass booking field {type: "phone", slug: "attendeePhoneNumber", required: true, hidden: false, label: "whatever label"} of booking field type PhoneFieldInput_2024_06_14 - this is done
	//       to enable phone only bookings where during the booking attendee can provide only their phone number and not provide email, so you must pass to the email booking field {hidden: true, required: false}.
	//       If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden      *bool  `json:"hidden,omitempty"`
	Label       string `json:"label"`
	Placeholder string `json:"placeholder"`

	// Required Can be set to false only for organization team event types and if you also pass booking field {type: "phone", slug: "attendeePhoneNumber", required: true, hidden: false, label: "whatever label"} of booking field type PhoneFieldInput_2024_06_14 - this is done
	//       to enable phone only bookings where during the booking attendee can provide only their phone number and not provide email, so you must pass to the email booking field {hidden: true, required: false}.
	//       If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Required *map[string]interface{} `json:"required,omitempty"`

	// Type only allowed value for type is `email`
	//
	// Example: email
	Type string `json:"type"`
}

EmailDefaultFieldInput20240614 defines model for EmailDefaultFieldInput_2024_06_14.

type EmailDefaultFieldOutput20240614

type EmailDefaultFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if URL contains query parameter `&email=bob@gmail.com`,      the email field will be prefilled with this value and disabled. In case of Booker atom need to pass 'email' to defaultFormValues prop with the desired value e.g. `defaultFormValues={{email: 'bob@gmail.com'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both. Can only be hidden
	//       for organization team event types when also providing attendee phone number booking field.
	Hidden *bool `json:"hidden,omitempty"`

	// IsDefault This property is always true because it's a default field
	//
	// Example: true
	IsDefault   map[string]interface{} `json:"isDefault"`
	Label       string                 `json:"label"`
	Placeholder string                 `json:"placeholder"`

	// Required Can be set to false only for organization team event types and if you also pass booking field {type: "phone", slug: "attendeePhoneNumber", required: true, hidden: false, label: "whatever label"} of booking field type PhoneFieldInput_2024_06_14 - this is done
	//       to enable phone only bookings where during the booking attendee can provide only their phone number and not provide email, so you must pass to the email booking field {hidden: true, required: false}.
	//       If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Required *map[string]interface{} `json:"required,omitempty"`
	Slug     string                  `json:"slug"`

	// Type only allowed value for type is `email`
	//
	// Example: email
	Type string `json:"type"`
}

EmailDefaultFieldOutput20240614 defines model for EmailDefaultFieldOutput_2024_06_14.

type EmailSettings20240614

type EmailSettings20240614 struct {
	// DisableEmailsToAttendees Disables all email communication to attendees for this event type, including booking confirmations, reminders, and cancellations. This DOES NOT include emails sent by custom email workflows.
	DisableEmailsToAttendees *bool `json:"disableEmailsToAttendees,omitempty"`

	// DisableEmailsToHosts Disables all email communication to hosts for this event type, including booking confirmations, reminders, and cancellations. This DOES NOT include emails sent by custom email workflows.
	DisableEmailsToHosts *bool `json:"disableEmailsToHosts,omitempty"`
}

EmailSettings20240614 defines model for EmailSettings_2024_06_14.

type EventType

type EventType struct {
	// Id Example: 1
	Id float64 `json:"id"`

	// Slug Example: some-event
	Slug string `json:"slug"`
}

EventType defines model for EventType.

type EventTypeColor20240614

type EventTypeColor20240614 struct {
	// DarkThemeHex Color used for event types in dark theme
	//
	// Example: #fafafa
	DarkThemeHex string `json:"darkThemeHex"`

	// LightThemeHex Color used for event types in light theme
	//
	// Example: #292929
	LightThemeHex string `json:"lightThemeHex"`
}

EventTypeColor20240614 defines model for EventTypeColor_2024_06_14.

type EventTypeOutput20240614

type EventTypeOutput20240614 struct {
	// AfterEventBuffer Example: 0
	AfterEventBuffer *float64 `json:"afterEventBuffer,omitempty"`

	// AllowReschedulingCancelledBookings When enabled, users will be able to create a new booking when trying to reschedule a cancelled booking.
	AllowReschedulingCancelledBookings *bool `json:"allowReschedulingCancelledBookings,omitempty"`

	// AllowReschedulingPastBookings Enabling this option allows for past events to be rescheduled.
	AllowReschedulingPastBookings *bool `json:"allowReschedulingPastBookings,omitempty"`

	// BeforeEventBuffer Example: 0
	BeforeEventBuffer         *float64                                     `json:"beforeEventBuffer,omitempty"`
	BookerActiveBookingsLimit *BookerActiveBookingsLimitOutput20240614     `json:"bookerActiveBookingsLimit,omitempty"`
	BookerLayouts             *BookerLayouts20240614                       `json:"bookerLayouts,omitempty"`
	BookingFields             []EventTypeOutput20240614_BookingFields_Item `json:"bookingFields"`
	BookingLimitsCount        *map[string]interface{}                      `json:"bookingLimitsCount,omitempty"`
	BookingLimitsDuration     *map[string]interface{}                      `json:"bookingLimitsDuration,omitempty"`

	// BookingRequiresAuthentication Boolean to require authentication for booking this event type via api. If true, only authenticated users who are the event-type owner or org/team admin/owner can book this event type.
	BookingRequiresAuthentication bool `json:"bookingRequiresAuthentication"`

	// BookingUrl Full URL to the booking page for this event type
	//
	// Example: https://cal.com/john-doe/30min
	BookingUrl string `json:"bookingUrl"`

	// BookingWindow Limit how far in the future this event can be booked
	BookingWindow *[]EventTypeOutput20240614_BookingWindow_Item `json:"bookingWindow,omitempty"`

	// CalVideoSettings Cal video settings for the event type
	CalVideoSettings   *CalVideoSettings       `json:"calVideoSettings,omitempty"`
	Color              *EventTypeColor20240614 `json:"color,omitempty"`
	ConfirmationPolicy *map[string]interface{} `json:"confirmationPolicy,omitempty"`
	Currency           string                  `json:"currency"`
	CustomName         *string                 `json:"customName,omitempty"`

	// Description Example: Discover the culinary wonders of Argentina by making the best flan ever!
	Description         string                       `json:"description"`
	DestinationCalendar *DestinationCalendar20240614 `json:"destinationCalendar,omitempty"`

	// DisableCancelling Settings for disabling cancelling of this event type.
	DisableCancelling *DisableCancellingOutput20240614 `json:"disableCancelling,omitempty"`
	DisableGuests     bool                             `json:"disableGuests"`

	// DisableRescheduling Settings for disabling rescheduling of this event type. Can be always disabled or disabled when less than X minutes before the meeting.
	DisableRescheduling          *DisableReschedulingOutput20240614 `json:"disableRescheduling,omitempty"`
	ForwardParamsSuccessRedirect *map[string]interface{}            `json:"forwardParamsSuccessRedirect"`
	Hidden                       bool                               `json:"hidden"`
	HideCalendarEventDetails     *bool                              `json:"hideCalendarEventDetails,omitempty"`
	HideCalendarNotes            *bool                              `json:"hideCalendarNotes,omitempty"`

	// HideOrganizerEmail Boolean to Hide organizer's email address from the booking screen, email notifications, and calendar events
	HideOrganizerEmail *bool `json:"hideOrganizerEmail,omitempty"`

	// Id Example: 1
	Id float64 `json:"id"`

	// InterfaceLanguage Set preferred language for the booking interface.
	InterfaceLanguage *string `json:"interfaceLanguage,omitempty"`
	IsInstantEvent    bool    `json:"isInstantEvent"`

	// LengthInMinutes Example: 60
	LengthInMinutes float64 `json:"lengthInMinutes"`

	// LengthInMinutesOptions If you want that user can choose between different lengths of the event you can specify them here. Must include the provided `lengthInMinutes`.
	//
	// Example: [15,30,60]
	LengthInMinutesOptions          *[]float64                               `json:"lengthInMinutesOptions,omitempty"`
	Locations                       []EventTypeOutput20240614_Locations_Item `json:"locations"`
	LockTimeZoneToggleOnBookingPage bool                                     `json:"lockTimeZoneToggleOnBookingPage"`
	Metadata                        map[string]interface{}                   `json:"metadata"`

	// MinimumBookingNotice Example: 0
	MinimumBookingNotice       *float64 `json:"minimumBookingNotice,omitempty"`
	OffsetStart                *float64 `json:"offsetStart,omitempty"`
	OnlyShowFirstAvailableSlot *bool    `json:"onlyShowFirstAvailableSlot,omitempty"`

	// OwnerId Example: 10
	OwnerId                         float64                 `json:"ownerId"`
	Price                           float64                 `json:"price"`
	Recurrence                      *Recurrence20240614     `json:"recurrence"`
	RequiresBookerEmailVerification *bool                   `json:"requiresBookerEmailVerification,omitempty"`
	ScheduleId                      *float64                `json:"scheduleId"`
	Seats                           *Seats20240614          `json:"seats,omitempty"`
	SeatsPerTimeSlot                *map[string]interface{} `json:"seatsPerTimeSlot,omitempty"`
	SeatsShowAvailabilityCount      *bool                   `json:"seatsShowAvailabilityCount,omitempty"`

	// ShowOptimizedSlots Arrange time slots to optimize availability.
	ShowOptimizedSlots *bool `json:"showOptimizedSlots,omitempty"`

	// SlotInterval Example: 60
	SlotInterval *map[string]interface{} `json:"slotInterval,omitempty"`

	// Slug Example: learn-the-secrets-of-masterchief
	Slug               string                  `json:"slug"`
	SuccessRedirectUrl *map[string]interface{} `json:"successRedirectUrl"`

	// Title Example: Learn the secrets of masterchief!
	Title                       string   `json:"title"`
	UseDestinationCalendarEmail *bool    `json:"useDestinationCalendarEmail,omitempty"`
	Users                       []string `json:"users"`
}

EventTypeOutput20240614 defines model for EventTypeOutput_2024_06_14.

type EventTypeOutput20240614_BookingFields_Item

type EventTypeOutput20240614_BookingFields_Item struct {
	// contains filtered or unexported fields
}

EventTypeOutput20240614_BookingFields_Item defines model for EventTypeOutput_2024_06_14.bookingFields.Item.

func (EventTypeOutput20240614_BookingFields_Item) AsAddressFieldOutput20240614

AsAddressFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a AddressFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsBooleanFieldOutput20240614

AsBooleanFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a BooleanFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsCheckboxGroupFieldOutput20240614

func (t EventTypeOutput20240614_BookingFields_Item) AsCheckboxGroupFieldOutput20240614() (CheckboxGroupFieldOutput20240614, error)

AsCheckboxGroupFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a CheckboxGroupFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsEmailDefaultFieldOutput20240614

func (t EventTypeOutput20240614_BookingFields_Item) AsEmailDefaultFieldOutput20240614() (EmailDefaultFieldOutput20240614, error)

AsEmailDefaultFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a EmailDefaultFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsGuestsDefaultFieldOutput20240614

func (t EventTypeOutput20240614_BookingFields_Item) AsGuestsDefaultFieldOutput20240614() (GuestsDefaultFieldOutput20240614, error)

AsGuestsDefaultFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a GuestsDefaultFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsLocationDefaultFieldOutput20240614

func (t EventTypeOutput20240614_BookingFields_Item) AsLocationDefaultFieldOutput20240614() (LocationDefaultFieldOutput20240614, error)

AsLocationDefaultFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a LocationDefaultFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsMultiEmailFieldOutput20240614

AsMultiEmailFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a MultiEmailFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsMultiSelectFieldOutput20240614

AsMultiSelectFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a MultiSelectFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsNameDefaultFieldOutput20240614

AsNameDefaultFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a NameDefaultFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsNotesDefaultFieldOutput20240614

func (t EventTypeOutput20240614_BookingFields_Item) AsNotesDefaultFieldOutput20240614() (NotesDefaultFieldOutput20240614, error)

AsNotesDefaultFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a NotesDefaultFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsNumberFieldOutput20240614

AsNumberFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a NumberFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsPhoneFieldOutput20240614

AsPhoneFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a PhoneFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsRadioGroupFieldOutput20240614

AsRadioGroupFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a RadioGroupFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsRescheduleReasonDefaultFieldOutput20240614

func (t EventTypeOutput20240614_BookingFields_Item) AsRescheduleReasonDefaultFieldOutput20240614() (RescheduleReasonDefaultFieldOutput20240614, error)

AsRescheduleReasonDefaultFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a RescheduleReasonDefaultFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsSelectFieldOutput20240614

AsSelectFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a SelectFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsTextAreaFieldOutput20240614

AsTextAreaFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a TextAreaFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsTextFieldOutput20240614

AsTextFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a TextFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsTitleDefaultFieldOutput20240614

func (t EventTypeOutput20240614_BookingFields_Item) AsTitleDefaultFieldOutput20240614() (TitleDefaultFieldOutput20240614, error)

AsTitleDefaultFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a TitleDefaultFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) AsUrlFieldOutput20240614

AsUrlFieldOutput20240614 returns the union data inside the EventTypeOutput20240614_BookingFields_Item as a UrlFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromAddressFieldOutput20240614

FromAddressFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided AddressFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromBooleanFieldOutput20240614

FromBooleanFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided BooleanFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromCheckboxGroupFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) FromCheckboxGroupFieldOutput20240614(v CheckboxGroupFieldOutput20240614) error

FromCheckboxGroupFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided CheckboxGroupFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromEmailDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) FromEmailDefaultFieldOutput20240614(v EmailDefaultFieldOutput20240614) error

FromEmailDefaultFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided EmailDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromGuestsDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) FromGuestsDefaultFieldOutput20240614(v GuestsDefaultFieldOutput20240614) error

FromGuestsDefaultFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided GuestsDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromLocationDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) FromLocationDefaultFieldOutput20240614(v LocationDefaultFieldOutput20240614) error

FromLocationDefaultFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided LocationDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromMultiEmailFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) FromMultiEmailFieldOutput20240614(v MultiEmailFieldOutput20240614) error

FromMultiEmailFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided MultiEmailFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromMultiSelectFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) FromMultiSelectFieldOutput20240614(v MultiSelectFieldOutput20240614) error

FromMultiSelectFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided MultiSelectFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromNameDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) FromNameDefaultFieldOutput20240614(v NameDefaultFieldOutput20240614) error

FromNameDefaultFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided NameDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromNotesDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) FromNotesDefaultFieldOutput20240614(v NotesDefaultFieldOutput20240614) error

FromNotesDefaultFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided NotesDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromNumberFieldOutput20240614

FromNumberFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided NumberFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromPhoneFieldOutput20240614

FromPhoneFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided PhoneFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromRadioGroupFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) FromRadioGroupFieldOutput20240614(v RadioGroupFieldOutput20240614) error

FromRadioGroupFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided RadioGroupFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromRescheduleReasonDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) FromRescheduleReasonDefaultFieldOutput20240614(v RescheduleReasonDefaultFieldOutput20240614) error

FromRescheduleReasonDefaultFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided RescheduleReasonDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromSelectFieldOutput20240614

FromSelectFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided SelectFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromTextAreaFieldOutput20240614

FromTextAreaFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided TextAreaFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromTextFieldOutput20240614

FromTextFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided TextFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromTitleDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) FromTitleDefaultFieldOutput20240614(v TitleDefaultFieldOutput20240614) error

FromTitleDefaultFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided TitleDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) FromUrlFieldOutput20240614

FromUrlFieldOutput20240614 overwrites any union data inside the EventTypeOutput20240614_BookingFields_Item as the provided UrlFieldOutput20240614

func (EventTypeOutput20240614_BookingFields_Item) MarshalJSON

func (*EventTypeOutput20240614_BookingFields_Item) MergeAddressFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeAddressFieldOutput20240614(v AddressFieldOutput20240614) error

MergeAddressFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided AddressFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeBooleanFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeBooleanFieldOutput20240614(v BooleanFieldOutput20240614) error

MergeBooleanFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided BooleanFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeCheckboxGroupFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeCheckboxGroupFieldOutput20240614(v CheckboxGroupFieldOutput20240614) error

MergeCheckboxGroupFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided CheckboxGroupFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeEmailDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeEmailDefaultFieldOutput20240614(v EmailDefaultFieldOutput20240614) error

MergeEmailDefaultFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided EmailDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeGuestsDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeGuestsDefaultFieldOutput20240614(v GuestsDefaultFieldOutput20240614) error

MergeGuestsDefaultFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided GuestsDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeLocationDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeLocationDefaultFieldOutput20240614(v LocationDefaultFieldOutput20240614) error

MergeLocationDefaultFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided LocationDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeMultiEmailFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeMultiEmailFieldOutput20240614(v MultiEmailFieldOutput20240614) error

MergeMultiEmailFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided MultiEmailFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeMultiSelectFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeMultiSelectFieldOutput20240614(v MultiSelectFieldOutput20240614) error

MergeMultiSelectFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided MultiSelectFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeNameDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeNameDefaultFieldOutput20240614(v NameDefaultFieldOutput20240614) error

MergeNameDefaultFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided NameDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeNotesDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeNotesDefaultFieldOutput20240614(v NotesDefaultFieldOutput20240614) error

MergeNotesDefaultFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided NotesDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeNumberFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeNumberFieldOutput20240614(v NumberFieldOutput20240614) error

MergeNumberFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided NumberFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergePhoneFieldOutput20240614

MergePhoneFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided PhoneFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeRadioGroupFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeRadioGroupFieldOutput20240614(v RadioGroupFieldOutput20240614) error

MergeRadioGroupFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided RadioGroupFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeRescheduleReasonDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeRescheduleReasonDefaultFieldOutput20240614(v RescheduleReasonDefaultFieldOutput20240614) error

MergeRescheduleReasonDefaultFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided RescheduleReasonDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeSelectFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeSelectFieldOutput20240614(v SelectFieldOutput20240614) error

MergeSelectFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided SelectFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeTextAreaFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeTextAreaFieldOutput20240614(v TextAreaFieldOutput20240614) error

MergeTextAreaFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided TextAreaFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeTextFieldOutput20240614

MergeTextFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided TextFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeTitleDefaultFieldOutput20240614

func (t *EventTypeOutput20240614_BookingFields_Item) MergeTitleDefaultFieldOutput20240614(v TitleDefaultFieldOutput20240614) error

MergeTitleDefaultFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided TitleDefaultFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) MergeUrlFieldOutput20240614

MergeUrlFieldOutput20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingFields_Item, using the provided UrlFieldOutput20240614

func (*EventTypeOutput20240614_BookingFields_Item) UnmarshalJSON

type EventTypeOutput20240614_BookingWindow_Item

type EventTypeOutput20240614_BookingWindow_Item struct {
	// contains filtered or unexported fields
}

EventTypeOutput20240614_BookingWindow_Item defines model for EventTypeOutput_2024_06_14.bookingWindow.Item.

func (EventTypeOutput20240614_BookingWindow_Item) AsBusinessDaysWindow20240614

AsBusinessDaysWindow20240614 returns the union data inside the EventTypeOutput20240614_BookingWindow_Item as a BusinessDaysWindow20240614

func (EventTypeOutput20240614_BookingWindow_Item) AsCalendarDaysWindow20240614

AsCalendarDaysWindow20240614 returns the union data inside the EventTypeOutput20240614_BookingWindow_Item as a CalendarDaysWindow20240614

func (EventTypeOutput20240614_BookingWindow_Item) AsRangeWindow20240614

AsRangeWindow20240614 returns the union data inside the EventTypeOutput20240614_BookingWindow_Item as a RangeWindow20240614

func (*EventTypeOutput20240614_BookingWindow_Item) FromBusinessDaysWindow20240614

FromBusinessDaysWindow20240614 overwrites any union data inside the EventTypeOutput20240614_BookingWindow_Item as the provided BusinessDaysWindow20240614

func (*EventTypeOutput20240614_BookingWindow_Item) FromCalendarDaysWindow20240614

FromCalendarDaysWindow20240614 overwrites any union data inside the EventTypeOutput20240614_BookingWindow_Item as the provided CalendarDaysWindow20240614

func (*EventTypeOutput20240614_BookingWindow_Item) FromRangeWindow20240614

FromRangeWindow20240614 overwrites any union data inside the EventTypeOutput20240614_BookingWindow_Item as the provided RangeWindow20240614

func (EventTypeOutput20240614_BookingWindow_Item) MarshalJSON

func (*EventTypeOutput20240614_BookingWindow_Item) MergeBusinessDaysWindow20240614

func (t *EventTypeOutput20240614_BookingWindow_Item) MergeBusinessDaysWindow20240614(v BusinessDaysWindow20240614) error

MergeBusinessDaysWindow20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingWindow_Item, using the provided BusinessDaysWindow20240614

func (*EventTypeOutput20240614_BookingWindow_Item) MergeCalendarDaysWindow20240614

func (t *EventTypeOutput20240614_BookingWindow_Item) MergeCalendarDaysWindow20240614(v CalendarDaysWindow20240614) error

MergeCalendarDaysWindow20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingWindow_Item, using the provided CalendarDaysWindow20240614

func (*EventTypeOutput20240614_BookingWindow_Item) MergeRangeWindow20240614

MergeRangeWindow20240614 performs a merge with any union data inside the EventTypeOutput20240614_BookingWindow_Item, using the provided RangeWindow20240614

func (*EventTypeOutput20240614_BookingWindow_Item) UnmarshalJSON

type EventTypeOutput20240614_Locations_Item

type EventTypeOutput20240614_Locations_Item struct {
	// contains filtered or unexported fields
}

EventTypeOutput20240614_Locations_Item defines model for EventTypeOutput_2024_06_14.locations.Item.

func (EventTypeOutput20240614_Locations_Item) AsOutputAddressLocation20240614

func (t EventTypeOutput20240614_Locations_Item) AsOutputAddressLocation20240614() (OutputAddressLocation20240614, error)

AsOutputAddressLocation20240614 returns the union data inside the EventTypeOutput20240614_Locations_Item as a OutputAddressLocation20240614

func (EventTypeOutput20240614_Locations_Item) AsOutputIntegrationLocation20240614

func (t EventTypeOutput20240614_Locations_Item) AsOutputIntegrationLocation20240614() (OutputIntegrationLocation20240614, error)

AsOutputIntegrationLocation20240614 returns the union data inside the EventTypeOutput20240614_Locations_Item as a OutputIntegrationLocation20240614

func (EventTypeOutput20240614_Locations_Item) AsOutputLinkLocation20240614

func (t EventTypeOutput20240614_Locations_Item) AsOutputLinkLocation20240614() (OutputLinkLocation20240614, error)

AsOutputLinkLocation20240614 returns the union data inside the EventTypeOutput20240614_Locations_Item as a OutputLinkLocation20240614

func (EventTypeOutput20240614_Locations_Item) AsOutputOrganizersDefaultAppLocation20240614

func (t EventTypeOutput20240614_Locations_Item) AsOutputOrganizersDefaultAppLocation20240614() (OutputOrganizersDefaultAppLocation20240614, error)

AsOutputOrganizersDefaultAppLocation20240614 returns the union data inside the EventTypeOutput20240614_Locations_Item as a OutputOrganizersDefaultAppLocation20240614

func (EventTypeOutput20240614_Locations_Item) AsOutputPhoneLocation20240614

func (t EventTypeOutput20240614_Locations_Item) AsOutputPhoneLocation20240614() (OutputPhoneLocation20240614, error)

AsOutputPhoneLocation20240614 returns the union data inside the EventTypeOutput20240614_Locations_Item as a OutputPhoneLocation20240614

func (EventTypeOutput20240614_Locations_Item) AsOutputUnknownLocation20240614

func (t EventTypeOutput20240614_Locations_Item) AsOutputUnknownLocation20240614() (OutputUnknownLocation20240614, error)

AsOutputUnknownLocation20240614 returns the union data inside the EventTypeOutput20240614_Locations_Item as a OutputUnknownLocation20240614

func (*EventTypeOutput20240614_Locations_Item) FromOutputAddressLocation20240614

func (t *EventTypeOutput20240614_Locations_Item) FromOutputAddressLocation20240614(v OutputAddressLocation20240614) error

FromOutputAddressLocation20240614 overwrites any union data inside the EventTypeOutput20240614_Locations_Item as the provided OutputAddressLocation20240614

func (*EventTypeOutput20240614_Locations_Item) FromOutputIntegrationLocation20240614

func (t *EventTypeOutput20240614_Locations_Item) FromOutputIntegrationLocation20240614(v OutputIntegrationLocation20240614) error

FromOutputIntegrationLocation20240614 overwrites any union data inside the EventTypeOutput20240614_Locations_Item as the provided OutputIntegrationLocation20240614

func (*EventTypeOutput20240614_Locations_Item) FromOutputLinkLocation20240614

func (t *EventTypeOutput20240614_Locations_Item) FromOutputLinkLocation20240614(v OutputLinkLocation20240614) error

FromOutputLinkLocation20240614 overwrites any union data inside the EventTypeOutput20240614_Locations_Item as the provided OutputLinkLocation20240614

func (*EventTypeOutput20240614_Locations_Item) FromOutputOrganizersDefaultAppLocation20240614

func (t *EventTypeOutput20240614_Locations_Item) FromOutputOrganizersDefaultAppLocation20240614(v OutputOrganizersDefaultAppLocation20240614) error

FromOutputOrganizersDefaultAppLocation20240614 overwrites any union data inside the EventTypeOutput20240614_Locations_Item as the provided OutputOrganizersDefaultAppLocation20240614

func (*EventTypeOutput20240614_Locations_Item) FromOutputPhoneLocation20240614

func (t *EventTypeOutput20240614_Locations_Item) FromOutputPhoneLocation20240614(v OutputPhoneLocation20240614) error

FromOutputPhoneLocation20240614 overwrites any union data inside the EventTypeOutput20240614_Locations_Item as the provided OutputPhoneLocation20240614

func (*EventTypeOutput20240614_Locations_Item) FromOutputUnknownLocation20240614

func (t *EventTypeOutput20240614_Locations_Item) FromOutputUnknownLocation20240614(v OutputUnknownLocation20240614) error

FromOutputUnknownLocation20240614 overwrites any union data inside the EventTypeOutput20240614_Locations_Item as the provided OutputUnknownLocation20240614

func (EventTypeOutput20240614_Locations_Item) MarshalJSON

func (t EventTypeOutput20240614_Locations_Item) MarshalJSON() ([]byte, error)

func (*EventTypeOutput20240614_Locations_Item) MergeOutputAddressLocation20240614

func (t *EventTypeOutput20240614_Locations_Item) MergeOutputAddressLocation20240614(v OutputAddressLocation20240614) error

MergeOutputAddressLocation20240614 performs a merge with any union data inside the EventTypeOutput20240614_Locations_Item, using the provided OutputAddressLocation20240614

func (*EventTypeOutput20240614_Locations_Item) MergeOutputIntegrationLocation20240614

func (t *EventTypeOutput20240614_Locations_Item) MergeOutputIntegrationLocation20240614(v OutputIntegrationLocation20240614) error

MergeOutputIntegrationLocation20240614 performs a merge with any union data inside the EventTypeOutput20240614_Locations_Item, using the provided OutputIntegrationLocation20240614

func (*EventTypeOutput20240614_Locations_Item) MergeOutputLinkLocation20240614

func (t *EventTypeOutput20240614_Locations_Item) MergeOutputLinkLocation20240614(v OutputLinkLocation20240614) error

MergeOutputLinkLocation20240614 performs a merge with any union data inside the EventTypeOutput20240614_Locations_Item, using the provided OutputLinkLocation20240614

func (*EventTypeOutput20240614_Locations_Item) MergeOutputOrganizersDefaultAppLocation20240614

func (t *EventTypeOutput20240614_Locations_Item) MergeOutputOrganizersDefaultAppLocation20240614(v OutputOrganizersDefaultAppLocation20240614) error

MergeOutputOrganizersDefaultAppLocation20240614 performs a merge with any union data inside the EventTypeOutput20240614_Locations_Item, using the provided OutputOrganizersDefaultAppLocation20240614

func (*EventTypeOutput20240614_Locations_Item) MergeOutputPhoneLocation20240614

func (t *EventTypeOutput20240614_Locations_Item) MergeOutputPhoneLocation20240614(v OutputPhoneLocation20240614) error

MergeOutputPhoneLocation20240614 performs a merge with any union data inside the EventTypeOutput20240614_Locations_Item, using the provided OutputPhoneLocation20240614

func (*EventTypeOutput20240614_Locations_Item) MergeOutputUnknownLocation20240614

func (t *EventTypeOutput20240614_Locations_Item) MergeOutputUnknownLocation20240614(v OutputUnknownLocation20240614) error

MergeOutputUnknownLocation20240614 performs a merge with any union data inside the EventTypeOutput20240614_Locations_Item, using the provided OutputUnknownLocation20240614

func (*EventTypeOutput20240614_Locations_Item) UnmarshalJSON

func (t *EventTypeOutput20240614_Locations_Item) UnmarshalJSON(b []byte) error

type EventTypeTeam

type EventTypeTeam struct {
	BannerUrl      string  `json:"bannerUrl"`
	BrandColor     string  `json:"brandColor"`
	DarkBrandColor string  `json:"darkBrandColor"`
	Id             float64 `json:"id"`
	LogoUrl        string  `json:"logoUrl"`
	Name           string  `json:"name"`
	Slug           string  `json:"slug"`
	Theme          string  `json:"theme"`
	WeekStart      string  `json:"weekStart"`
}

EventTypeTeam defines model for EventTypeTeam.

type EventTypeWebhookOutputDto

type EventTypeWebhookOutputDto struct {
	Active      bool    `json:"active"`
	EventTypeId float64 `json:"eventTypeId"`
	Id          float64 `json:"id"`

	// PayloadTemplate The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information
	//
	// Example: {"content":"A new event has been scheduled","type":"{{type}}","name":"{{title}}","organizer":"{{organizer.name}}","booker":"{{attendees.0.name}}"}
	PayloadTemplate string                              `json:"payloadTemplate"`
	Secret          *string                             `json:"secret,omitempty"`
	SubscriberUrl   string                              `json:"subscriberUrl"`
	Triggers        []EventTypeWebhookOutputDtoTriggers `json:"triggers"`
}

EventTypeWebhookOutputDto defines model for EventTypeWebhookOutputDto.

type EventTypeWebhookOutputDtoTriggers

type EventTypeWebhookOutputDtoTriggers string

EventTypeWebhookOutputDtoTriggers defines model for EventTypeWebhookOutputDto.Triggers.

const (
	EventTypeWebhookOutputDtoTriggersAFTERGUESTSCALVIDEONOSHOW       EventTypeWebhookOutputDtoTriggers = "AFTER_GUESTS_CAL_VIDEO_NO_SHOW"
	EventTypeWebhookOutputDtoTriggersAFTERHOSTSCALVIDEONOSHOW        EventTypeWebhookOutputDtoTriggers = "AFTER_HOSTS_CAL_VIDEO_NO_SHOW"
	EventTypeWebhookOutputDtoTriggersBOOKINGCANCELLED                EventTypeWebhookOutputDtoTriggers = "BOOKING_CANCELLED"
	EventTypeWebhookOutputDtoTriggersBOOKINGCREATED                  EventTypeWebhookOutputDtoTriggers = "BOOKING_CREATED"
	EventTypeWebhookOutputDtoTriggersBOOKINGNOSHOWUPDATED            EventTypeWebhookOutputDtoTriggers = "BOOKING_NO_SHOW_UPDATED"
	EventTypeWebhookOutputDtoTriggersBOOKINGPAID                     EventTypeWebhookOutputDtoTriggers = "BOOKING_PAID"
	EventTypeWebhookOutputDtoTriggersBOOKINGPAYMENTINITIATED         EventTypeWebhookOutputDtoTriggers = "BOOKING_PAYMENT_INITIATED"
	EventTypeWebhookOutputDtoTriggersBOOKINGREJECTED                 EventTypeWebhookOutputDtoTriggers = "BOOKING_REJECTED"
	EventTypeWebhookOutputDtoTriggersBOOKINGREQUESTED                EventTypeWebhookOutputDtoTriggers = "BOOKING_REQUESTED"
	EventTypeWebhookOutputDtoTriggersBOOKINGRESCHEDULED              EventTypeWebhookOutputDtoTriggers = "BOOKING_RESCHEDULED"
	EventTypeWebhookOutputDtoTriggersDELEGATIONCREDENTIALERROR       EventTypeWebhookOutputDtoTriggers = "DELEGATION_CREDENTIAL_ERROR"
	EventTypeWebhookOutputDtoTriggersFORMSUBMITTED                   EventTypeWebhookOutputDtoTriggers = "FORM_SUBMITTED"
	EventTypeWebhookOutputDtoTriggersFORMSUBMITTEDNOEVENT            EventTypeWebhookOutputDtoTriggers = "FORM_SUBMITTED_NO_EVENT"
	EventTypeWebhookOutputDtoTriggersINSTANTMEETING                  EventTypeWebhookOutputDtoTriggers = "INSTANT_MEETING"
	EventTypeWebhookOutputDtoTriggersMEETINGENDED                    EventTypeWebhookOutputDtoTriggers = "MEETING_ENDED"
	EventTypeWebhookOutputDtoTriggersMEETINGSTARTED                  EventTypeWebhookOutputDtoTriggers = "MEETING_STARTED"
	EventTypeWebhookOutputDtoTriggersOOOCREATED                      EventTypeWebhookOutputDtoTriggers = "OOO_CREATED"
	EventTypeWebhookOutputDtoTriggersRECORDINGREADY                  EventTypeWebhookOutputDtoTriggers = "RECORDING_READY"
	EventTypeWebhookOutputDtoTriggersRECORDINGTRANSCRIPTIONGENERATED EventTypeWebhookOutputDtoTriggers = "RECORDING_TRANSCRIPTION_GENERATED"
	EventTypeWebhookOutputDtoTriggersWRONGASSIGNMENTREPORT           EventTypeWebhookOutputDtoTriggers = "WRONG_ASSIGNMENT_REPORT"
)

Defines values for EventTypeWebhookOutputDtoTriggers.

func (EventTypeWebhookOutputDtoTriggers) Valid

Valid indicates whether the value is a known member of the EventTypeWebhookOutputDtoTriggers enum.

type EventTypeWebhookOutputResponseDto

type EventTypeWebhookOutputResponseDto struct {
	Data EventTypeWebhookOutputDto `json:"data"`

	// Status Example: success
	Status EventTypeWebhookOutputResponseDtoStatus `json:"status"`
}

EventTypeWebhookOutputResponseDto defines model for EventTypeWebhookOutputResponseDto.

type EventTypeWebhookOutputResponseDtoStatus

type EventTypeWebhookOutputResponseDtoStatus string

EventTypeWebhookOutputResponseDtoStatus Example: success

const (
	EventTypeWebhookOutputResponseDtoStatusError   EventTypeWebhookOutputResponseDtoStatus = "error"
	EventTypeWebhookOutputResponseDtoStatusSuccess EventTypeWebhookOutputResponseDtoStatus = "success"
)

Defines values for EventTypeWebhookOutputResponseDtoStatus.

func (EventTypeWebhookOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the EventTypeWebhookOutputResponseDtoStatus enum.

type EventTypeWebhooksControllerCreateEventTypeWebhookJSONRequestBody

type EventTypeWebhooksControllerCreateEventTypeWebhookJSONRequestBody = CreateWebhookInputDto

EventTypeWebhooksControllerCreateEventTypeWebhookJSONRequestBody defines body for EventTypeWebhooksControllerCreateEventTypeWebhook for application/json ContentType.

type EventTypeWebhooksControllerCreateEventTypeWebhookParams

type EventTypeWebhooksControllerCreateEventTypeWebhookParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypeWebhooksControllerCreateEventTypeWebhookParams defines parameters for EventTypeWebhooksControllerCreateEventTypeWebhook.

type EventTypeWebhooksControllerCreateEventTypeWebhookResponse

type EventTypeWebhooksControllerCreateEventTypeWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *EventTypeWebhookOutputResponseDto
}

func ParseEventTypeWebhooksControllerCreateEventTypeWebhookResponse

func ParseEventTypeWebhooksControllerCreateEventTypeWebhookResponse(rsp *http.Response) (*EventTypeWebhooksControllerCreateEventTypeWebhookResponse, error)

ParseEventTypeWebhooksControllerCreateEventTypeWebhookResponse parses an HTTP response from a EventTypeWebhooksControllerCreateEventTypeWebhookWithResponse call

func (EventTypeWebhooksControllerCreateEventTypeWebhookResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypeWebhooksControllerCreateEventTypeWebhookResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypeWebhooksControllerCreateEventTypeWebhookResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (EventTypeWebhooksControllerCreateEventTypeWebhookResponse) Status

Status returns HTTPResponse.Status

func (EventTypeWebhooksControllerCreateEventTypeWebhookResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypeWebhooksControllerDeleteAllEventTypeWebhooksParams

type EventTypeWebhooksControllerDeleteAllEventTypeWebhooksParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypeWebhooksControllerDeleteAllEventTypeWebhooksParams defines parameters for EventTypeWebhooksControllerDeleteAllEventTypeWebhooks.

type EventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse

type EventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeleteManyWebhooksOutputResponseDto
}

func ParseEventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse

func ParseEventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse(rsp *http.Response) (*EventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse, error)

ParseEventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse parses an HTTP response from a EventTypeWebhooksControllerDeleteAllEventTypeWebhooksWithResponse call

func (EventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse) Status

Status returns HTTPResponse.Status

func (EventTypeWebhooksControllerDeleteAllEventTypeWebhooksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypeWebhooksControllerDeleteEventTypeWebhookParams

type EventTypeWebhooksControllerDeleteEventTypeWebhookParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypeWebhooksControllerDeleteEventTypeWebhookParams defines parameters for EventTypeWebhooksControllerDeleteEventTypeWebhook.

type EventTypeWebhooksControllerDeleteEventTypeWebhookResponse

type EventTypeWebhooksControllerDeleteEventTypeWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *EventTypeWebhookOutputResponseDto
}

func ParseEventTypeWebhooksControllerDeleteEventTypeWebhookResponse

func ParseEventTypeWebhooksControllerDeleteEventTypeWebhookResponse(rsp *http.Response) (*EventTypeWebhooksControllerDeleteEventTypeWebhookResponse, error)

ParseEventTypeWebhooksControllerDeleteEventTypeWebhookResponse parses an HTTP response from a EventTypeWebhooksControllerDeleteEventTypeWebhookWithResponse call

func (EventTypeWebhooksControllerDeleteEventTypeWebhookResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypeWebhooksControllerDeleteEventTypeWebhookResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypeWebhooksControllerDeleteEventTypeWebhookResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EventTypeWebhooksControllerDeleteEventTypeWebhookResponse) Status

Status returns HTTPResponse.Status

func (EventTypeWebhooksControllerDeleteEventTypeWebhookResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypeWebhooksControllerGetEventTypeWebhookParams

type EventTypeWebhooksControllerGetEventTypeWebhookParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypeWebhooksControllerGetEventTypeWebhookParams defines parameters for EventTypeWebhooksControllerGetEventTypeWebhook.

type EventTypeWebhooksControllerGetEventTypeWebhookResponse

type EventTypeWebhooksControllerGetEventTypeWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *EventTypeWebhookOutputResponseDto
}

func ParseEventTypeWebhooksControllerGetEventTypeWebhookResponse

func ParseEventTypeWebhooksControllerGetEventTypeWebhookResponse(rsp *http.Response) (*EventTypeWebhooksControllerGetEventTypeWebhookResponse, error)

ParseEventTypeWebhooksControllerGetEventTypeWebhookResponse parses an HTTP response from a EventTypeWebhooksControllerGetEventTypeWebhookWithResponse call

func (EventTypeWebhooksControllerGetEventTypeWebhookResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypeWebhooksControllerGetEventTypeWebhookResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypeWebhooksControllerGetEventTypeWebhookResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EventTypeWebhooksControllerGetEventTypeWebhookResponse) Status

Status returns HTTPResponse.Status

func (EventTypeWebhooksControllerGetEventTypeWebhookResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypeWebhooksControllerGetEventTypeWebhooksParams

type EventTypeWebhooksControllerGetEventTypeWebhooksParams struct {
	// Take Maximum number of items to return
	Take *float64 `form:"take,omitempty" json:"take,omitempty"`

	// Skip Number of items to skip
	Skip *float64 `form:"skip,omitempty" json:"skip,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypeWebhooksControllerGetEventTypeWebhooksParams defines parameters for EventTypeWebhooksControllerGetEventTypeWebhooks.

type EventTypeWebhooksControllerGetEventTypeWebhooksResponse

type EventTypeWebhooksControllerGetEventTypeWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *EventTypeWebhooksOutputResponseDto
}

func ParseEventTypeWebhooksControllerGetEventTypeWebhooksResponse

func ParseEventTypeWebhooksControllerGetEventTypeWebhooksResponse(rsp *http.Response) (*EventTypeWebhooksControllerGetEventTypeWebhooksResponse, error)

ParseEventTypeWebhooksControllerGetEventTypeWebhooksResponse parses an HTTP response from a EventTypeWebhooksControllerGetEventTypeWebhooksWithResponse call

func (EventTypeWebhooksControllerGetEventTypeWebhooksResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypeWebhooksControllerGetEventTypeWebhooksResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypeWebhooksControllerGetEventTypeWebhooksResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EventTypeWebhooksControllerGetEventTypeWebhooksResponse) Status

Status returns HTTPResponse.Status

func (EventTypeWebhooksControllerGetEventTypeWebhooksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypeWebhooksControllerUpdateEventTypeWebhookJSONRequestBody

type EventTypeWebhooksControllerUpdateEventTypeWebhookJSONRequestBody = UpdateWebhookInputDto

EventTypeWebhooksControllerUpdateEventTypeWebhookJSONRequestBody defines body for EventTypeWebhooksControllerUpdateEventTypeWebhook for application/json ContentType.

type EventTypeWebhooksControllerUpdateEventTypeWebhookParams

type EventTypeWebhooksControllerUpdateEventTypeWebhookParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypeWebhooksControllerUpdateEventTypeWebhookParams defines parameters for EventTypeWebhooksControllerUpdateEventTypeWebhook.

type EventTypeWebhooksControllerUpdateEventTypeWebhookResponse

type EventTypeWebhooksControllerUpdateEventTypeWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *EventTypeWebhookOutputResponseDto
}

func ParseEventTypeWebhooksControllerUpdateEventTypeWebhookResponse

func ParseEventTypeWebhooksControllerUpdateEventTypeWebhookResponse(rsp *http.Response) (*EventTypeWebhooksControllerUpdateEventTypeWebhookResponse, error)

ParseEventTypeWebhooksControllerUpdateEventTypeWebhookResponse parses an HTTP response from a EventTypeWebhooksControllerUpdateEventTypeWebhookWithResponse call

func (EventTypeWebhooksControllerUpdateEventTypeWebhookResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypeWebhooksControllerUpdateEventTypeWebhookResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypeWebhooksControllerUpdateEventTypeWebhookResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EventTypeWebhooksControllerUpdateEventTypeWebhookResponse) Status

Status returns HTTPResponse.Status

func (EventTypeWebhooksControllerUpdateEventTypeWebhookResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypeWebhooksOutputResponseDto

type EventTypeWebhooksOutputResponseDto struct {
	Data []EventTypeWebhookOutputDto `json:"data"`

	// Status Example: success
	Status EventTypeWebhooksOutputResponseDtoStatus `json:"status"`
}

EventTypeWebhooksOutputResponseDto defines model for EventTypeWebhooksOutputResponseDto.

type EventTypeWebhooksOutputResponseDtoStatus

type EventTypeWebhooksOutputResponseDtoStatus string

EventTypeWebhooksOutputResponseDtoStatus Example: success

const (
	EventTypeWebhooksOutputResponseDtoStatusError   EventTypeWebhooksOutputResponseDtoStatus = "error"
	EventTypeWebhooksOutputResponseDtoStatusSuccess EventTypeWebhooksOutputResponseDtoStatus = "success"
)

Defines values for EventTypeWebhooksOutputResponseDtoStatus.

func (EventTypeWebhooksOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the EventTypeWebhooksOutputResponseDtoStatus enum.

type EventTypesController20240614CreateEventTypeJSONRequestBody

type EventTypesController20240614CreateEventTypeJSONRequestBody = CreateEventTypeInput20240614

EventTypesController20240614CreateEventTypeJSONRequestBody defines body for EventTypesController20240614CreateEventType for application/json ContentType.

type EventTypesController20240614CreateEventTypeParams

type EventTypesController20240614CreateEventTypeParams struct {
	// CalApiVersion Must be set to 2024-06-14. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypesController20240614CreateEventTypeParams defines parameters for EventTypesController20240614CreateEventType.

type EventTypesController20240614CreateEventTypeResponse

type EventTypesController20240614CreateEventTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CreateEventTypeOutput20240614
}

func ParseEventTypesController20240614CreateEventTypeResponse

func ParseEventTypesController20240614CreateEventTypeResponse(rsp *http.Response) (*EventTypesController20240614CreateEventTypeResponse, error)

ParseEventTypesController20240614CreateEventTypeResponse parses an HTTP response from a EventTypesController20240614CreateEventTypeWithResponse call

func (EventTypesController20240614CreateEventTypeResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypesController20240614CreateEventTypeResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypesController20240614CreateEventTypeResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (EventTypesController20240614CreateEventTypeResponse) Status

Status returns HTTPResponse.Status

func (EventTypesController20240614CreateEventTypeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypesController20240614DeleteEventTypeParams

type EventTypesController20240614DeleteEventTypeParams struct {
	// CalApiVersion Must be set to 2024-06-14. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypesController20240614DeleteEventTypeParams defines parameters for EventTypesController20240614DeleteEventType.

type EventTypesController20240614DeleteEventTypeResponse

type EventTypesController20240614DeleteEventTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeleteEventTypeOutput20240614
}

func ParseEventTypesController20240614DeleteEventTypeResponse

func ParseEventTypesController20240614DeleteEventTypeResponse(rsp *http.Response) (*EventTypesController20240614DeleteEventTypeResponse, error)

ParseEventTypesController20240614DeleteEventTypeResponse parses an HTTP response from a EventTypesController20240614DeleteEventTypeWithResponse call

func (EventTypesController20240614DeleteEventTypeResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypesController20240614DeleteEventTypeResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypesController20240614DeleteEventTypeResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EventTypesController20240614DeleteEventTypeResponse) Status

Status returns HTTPResponse.Status

func (EventTypesController20240614DeleteEventTypeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypesController20240614GetEventTypeByIdParams

type EventTypesController20240614GetEventTypeByIdParams struct {
	// CalApiVersion Must be set to 2024-06-14. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypesController20240614GetEventTypeByIdParams defines parameters for EventTypesController20240614GetEventTypeById.

type EventTypesController20240614GetEventTypeByIdResponse

type EventTypesController20240614GetEventTypeByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetEventTypeOutput20240614
}

func ParseEventTypesController20240614GetEventTypeByIdResponse

func ParseEventTypesController20240614GetEventTypeByIdResponse(rsp *http.Response) (*EventTypesController20240614GetEventTypeByIdResponse, error)

ParseEventTypesController20240614GetEventTypeByIdResponse parses an HTTP response from a EventTypesController20240614GetEventTypeByIdWithResponse call

func (EventTypesController20240614GetEventTypeByIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypesController20240614GetEventTypeByIdResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypesController20240614GetEventTypeByIdResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EventTypesController20240614GetEventTypeByIdResponse) Status

Status returns HTTPResponse.Status

func (EventTypesController20240614GetEventTypeByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypesController20240614GetEventTypesParams

type EventTypesController20240614GetEventTypesParams struct {
	// Username The username of the user to get event types for. If only username provided will get all event types.
	Username *string `form:"username,omitempty" json:"username,omitempty"`

	// EventSlug Slug of event type to return. Notably, if eventSlug is provided then username must be provided too, because multiple users can have event with same slug.
	EventSlug *string `form:"eventSlug,omitempty" json:"eventSlug,omitempty"`

	// Usernames Get dynamic event type for multiple usernames separated by comma. e.g `usernames=alice,bob`
	Usernames *string `form:"usernames,omitempty" json:"usernames,omitempty"`

	// OrgSlug slug of the user's organization if he is in one, orgId is not required if using this parameter
	OrgSlug *string `form:"orgSlug,omitempty" json:"orgSlug,omitempty"`

	// OrgId ID of the organization of the user you want the get the event-types of, orgSlug is not needed when using this parameter
	OrgId *float64 `form:"orgId,omitempty" json:"orgId,omitempty"`

	// SortCreatedAt Sort event types by creation date. When not provided, no explicit ordering is applied.
	SortCreatedAt *EventTypesController20240614GetEventTypesParamsSortCreatedAt `form:"sortCreatedAt,omitempty" json:"sortCreatedAt,omitempty"`

	// CalApiVersion Must be set to 2024-06-14. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization *string `json:"Authorization,omitempty"`

	// XCalSecretKey For platform customers - OAuth client secret key
	XCalSecretKey *string `json:"x-cal-secret-key,omitempty"`

	// XCalClientId For platform customers - OAuth client ID
	XCalClientId *string `json:"x-cal-client-id,omitempty"`
}

EventTypesController20240614GetEventTypesParams defines parameters for EventTypesController20240614GetEventTypes.

type EventTypesController20240614GetEventTypesParamsSortCreatedAt

type EventTypesController20240614GetEventTypesParamsSortCreatedAt string

EventTypesController20240614GetEventTypesParamsSortCreatedAt defines parameters for EventTypesController20240614GetEventTypes.

const (
	EventTypesController20240614GetEventTypesParamsSortCreatedAtAsc  EventTypesController20240614GetEventTypesParamsSortCreatedAt = "asc"
	EventTypesController20240614GetEventTypesParamsSortCreatedAtDesc EventTypesController20240614GetEventTypesParamsSortCreatedAt = "desc"
)

Defines values for EventTypesController20240614GetEventTypesParamsSortCreatedAt.

func (EventTypesController20240614GetEventTypesParamsSortCreatedAt) Valid

Valid indicates whether the value is a known member of the EventTypesController20240614GetEventTypesParamsSortCreatedAt enum.

type EventTypesController20240614GetEventTypesResponse

type EventTypesController20240614GetEventTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetEventTypesOutput20240614
}

func ParseEventTypesController20240614GetEventTypesResponse

func ParseEventTypesController20240614GetEventTypesResponse(rsp *http.Response) (*EventTypesController20240614GetEventTypesResponse, error)

ParseEventTypesController20240614GetEventTypesResponse parses an HTTP response from a EventTypesController20240614GetEventTypesWithResponse call

func (EventTypesController20240614GetEventTypesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypesController20240614GetEventTypesResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypesController20240614GetEventTypesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EventTypesController20240614GetEventTypesResponse) Status

Status returns HTTPResponse.Status

func (EventTypesController20240614GetEventTypesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypesController20240614UpdateEventTypeJSONRequestBody

type EventTypesController20240614UpdateEventTypeJSONRequestBody = UpdateEventTypeInput20240614

EventTypesController20240614UpdateEventTypeJSONRequestBody defines body for EventTypesController20240614UpdateEventType for application/json ContentType.

type EventTypesController20240614UpdateEventTypeParams

type EventTypesController20240614UpdateEventTypeParams struct {
	// CalApiVersion Must be set to 2024-06-14. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypesController20240614UpdateEventTypeParams defines parameters for EventTypesController20240614UpdateEventType.

type EventTypesController20240614UpdateEventTypeResponse

type EventTypesController20240614UpdateEventTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UpdateEventTypeOutput20240614
}

func ParseEventTypesController20240614UpdateEventTypeResponse

func ParseEventTypesController20240614UpdateEventTypeResponse(rsp *http.Response) (*EventTypesController20240614UpdateEventTypeResponse, error)

ParseEventTypesController20240614UpdateEventTypeResponse parses an HTTP response from a EventTypesController20240614UpdateEventTypeWithResponse call

func (EventTypesController20240614UpdateEventTypeResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypesController20240614UpdateEventTypeResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypesController20240614UpdateEventTypeResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EventTypesController20240614UpdateEventTypeResponse) Status

Status returns HTTPResponse.Status

func (EventTypesController20240614UpdateEventTypeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypesPrivateLinksControllerCreatePrivateLinkJSONRequestBody

type EventTypesPrivateLinksControllerCreatePrivateLinkJSONRequestBody = CreatePrivateLinkInput

EventTypesPrivateLinksControllerCreatePrivateLinkJSONRequestBody defines body for EventTypesPrivateLinksControllerCreatePrivateLink for application/json ContentType.

type EventTypesPrivateLinksControllerCreatePrivateLinkParams

type EventTypesPrivateLinksControllerCreatePrivateLinkParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypesPrivateLinksControllerCreatePrivateLinkParams defines parameters for EventTypesPrivateLinksControllerCreatePrivateLink.

type EventTypesPrivateLinksControllerCreatePrivateLinkResponse

type EventTypesPrivateLinksControllerCreatePrivateLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CreatePrivateLinkOutput
}

func ParseEventTypesPrivateLinksControllerCreatePrivateLinkResponse

func ParseEventTypesPrivateLinksControllerCreatePrivateLinkResponse(rsp *http.Response) (*EventTypesPrivateLinksControllerCreatePrivateLinkResponse, error)

ParseEventTypesPrivateLinksControllerCreatePrivateLinkResponse parses an HTTP response from a EventTypesPrivateLinksControllerCreatePrivateLinkWithResponse call

func (EventTypesPrivateLinksControllerCreatePrivateLinkResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypesPrivateLinksControllerCreatePrivateLinkResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypesPrivateLinksControllerCreatePrivateLinkResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (EventTypesPrivateLinksControllerCreatePrivateLinkResponse) Status

Status returns HTTPResponse.Status

func (EventTypesPrivateLinksControllerCreatePrivateLinkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypesPrivateLinksControllerDeletePrivateLinkParams

type EventTypesPrivateLinksControllerDeletePrivateLinkParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypesPrivateLinksControllerDeletePrivateLinkParams defines parameters for EventTypesPrivateLinksControllerDeletePrivateLink.

type EventTypesPrivateLinksControllerDeletePrivateLinkResponse

type EventTypesPrivateLinksControllerDeletePrivateLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeletePrivateLinkOutput
}

func ParseEventTypesPrivateLinksControllerDeletePrivateLinkResponse

func ParseEventTypesPrivateLinksControllerDeletePrivateLinkResponse(rsp *http.Response) (*EventTypesPrivateLinksControllerDeletePrivateLinkResponse, error)

ParseEventTypesPrivateLinksControllerDeletePrivateLinkResponse parses an HTTP response from a EventTypesPrivateLinksControllerDeletePrivateLinkWithResponse call

func (EventTypesPrivateLinksControllerDeletePrivateLinkResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypesPrivateLinksControllerDeletePrivateLinkResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypesPrivateLinksControllerDeletePrivateLinkResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EventTypesPrivateLinksControllerDeletePrivateLinkResponse) Status

Status returns HTTPResponse.Status

func (EventTypesPrivateLinksControllerDeletePrivateLinkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypesPrivateLinksControllerGetPrivateLinksParams

type EventTypesPrivateLinksControllerGetPrivateLinksParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypesPrivateLinksControllerGetPrivateLinksParams defines parameters for EventTypesPrivateLinksControllerGetPrivateLinks.

type EventTypesPrivateLinksControllerGetPrivateLinksResponse

type EventTypesPrivateLinksControllerGetPrivateLinksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetPrivateLinksOutput
}

func ParseEventTypesPrivateLinksControllerGetPrivateLinksResponse

func ParseEventTypesPrivateLinksControllerGetPrivateLinksResponse(rsp *http.Response) (*EventTypesPrivateLinksControllerGetPrivateLinksResponse, error)

ParseEventTypesPrivateLinksControllerGetPrivateLinksResponse parses an HTTP response from a EventTypesPrivateLinksControllerGetPrivateLinksWithResponse call

func (EventTypesPrivateLinksControllerGetPrivateLinksResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypesPrivateLinksControllerGetPrivateLinksResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypesPrivateLinksControllerGetPrivateLinksResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EventTypesPrivateLinksControllerGetPrivateLinksResponse) Status

Status returns HTTPResponse.Status

func (EventTypesPrivateLinksControllerGetPrivateLinksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EventTypesPrivateLinksControllerUpdatePrivateLinkJSONRequestBody

type EventTypesPrivateLinksControllerUpdatePrivateLinkJSONRequestBody = UpdatePrivateLinkBody

EventTypesPrivateLinksControllerUpdatePrivateLinkJSONRequestBody defines body for EventTypesPrivateLinksControllerUpdatePrivateLink for application/json ContentType.

type EventTypesPrivateLinksControllerUpdatePrivateLinkParams

type EventTypesPrivateLinksControllerUpdatePrivateLinkParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

EventTypesPrivateLinksControllerUpdatePrivateLinkParams defines parameters for EventTypesPrivateLinksControllerUpdatePrivateLink.

type EventTypesPrivateLinksControllerUpdatePrivateLinkResponse

type EventTypesPrivateLinksControllerUpdatePrivateLinkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UpdatePrivateLinkOutput
}

func ParseEventTypesPrivateLinksControllerUpdatePrivateLinkResponse

func ParseEventTypesPrivateLinksControllerUpdatePrivateLinkResponse(rsp *http.Response) (*EventTypesPrivateLinksControllerUpdatePrivateLinkResponse, error)

ParseEventTypesPrivateLinksControllerUpdatePrivateLinkResponse parses an HTTP response from a EventTypesPrivateLinksControllerUpdatePrivateLinkWithResponse call

func (EventTypesPrivateLinksControllerUpdatePrivateLinkResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EventTypesPrivateLinksControllerUpdatePrivateLinkResponse) GetBody

GetBody returns the raw response body bytes

func (EventTypesPrivateLinksControllerUpdatePrivateLinkResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EventTypesPrivateLinksControllerUpdatePrivateLinkResponse) Status

Status returns HTTPResponse.Status

func (EventTypesPrivateLinksControllerUpdatePrivateLinkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetBookingAttendeeOutput20240813

type GetBookingAttendeeOutput20240813 struct {
	Data BookingAttendeeWithId20240813 `json:"data"`

	// Status Example: success
	Status GetBookingAttendeeOutput20240813Status `json:"status"`
}

GetBookingAttendeeOutput20240813 defines model for GetBookingAttendeeOutput_2024_08_13.

type GetBookingAttendeeOutput20240813Status

type GetBookingAttendeeOutput20240813Status string

GetBookingAttendeeOutput20240813Status Example: success

const (
	GetBookingAttendeeOutput20240813StatusError   GetBookingAttendeeOutput20240813Status = "error"
	GetBookingAttendeeOutput20240813StatusSuccess GetBookingAttendeeOutput20240813Status = "success"
)

Defines values for GetBookingAttendeeOutput20240813Status.

func (GetBookingAttendeeOutput20240813Status) Valid

Valid indicates whether the value is a known member of the GetBookingAttendeeOutput20240813Status enum.

type GetBookingAttendeesOutput20240813

type GetBookingAttendeesOutput20240813 struct {
	Data []BookingAttendeeWithId20240813 `json:"data"`

	// Status Example: success
	Status GetBookingAttendeesOutput20240813Status `json:"status"`
}

GetBookingAttendeesOutput20240813 defines model for GetBookingAttendeesOutput_2024_08_13.

type GetBookingAttendeesOutput20240813Status

type GetBookingAttendeesOutput20240813Status string

GetBookingAttendeesOutput20240813Status Example: success

const (
	GetBookingAttendeesOutput20240813StatusError   GetBookingAttendeesOutput20240813Status = "error"
	GetBookingAttendeesOutput20240813StatusSuccess GetBookingAttendeesOutput20240813Status = "success"
)

Defines values for GetBookingAttendeesOutput20240813Status.

func (GetBookingAttendeesOutput20240813Status) Valid

Valid indicates whether the value is a known member of the GetBookingAttendeesOutput20240813Status enum.

type GetBookingOutput20240813

type GetBookingOutput20240813 struct {
	// Data Booking data, which can be either a BookingOutput object, a RecurringBookingOutput object, or an array of RecurringBookingOutput objects
	Data  GetBookingOutput20240813_Data `json:"data"`
	Error *map[string]interface{}       `json:"error,omitempty"`

	// Status Example: success
	Status GetBookingOutput20240813Status `json:"status"`
}

GetBookingOutput20240813 defines model for GetBookingOutput_2024_08_13.

type GetBookingOutput20240813Data2

type GetBookingOutput20240813Data2 = []RecurringBookingOutput20240813

GetBookingOutput20240813Data2 defines model for GetBookingOutput20240813.Data.2.

type GetBookingOutput20240813Data5

type GetBookingOutput20240813Data5 = []GetRecurringSeatedBookingOutput20240813

GetBookingOutput20240813Data5 defines model for GetBookingOutput20240813.Data.5.

type GetBookingOutput20240813Status

type GetBookingOutput20240813Status string

GetBookingOutput20240813Status Example: success

const (
	GetBookingOutput20240813StatusError   GetBookingOutput20240813Status = "error"
	GetBookingOutput20240813StatusSuccess GetBookingOutput20240813Status = "success"
)

Defines values for GetBookingOutput20240813Status.

func (GetBookingOutput20240813Status) Valid

Valid indicates whether the value is a known member of the GetBookingOutput20240813Status enum.

type GetBookingOutput20240813_Data

type GetBookingOutput20240813_Data struct {
	// contains filtered or unexported fields
}

GetBookingOutput20240813_Data Booking data, which can be either a BookingOutput object, a RecurringBookingOutput object, or an array of RecurringBookingOutput objects

func (GetBookingOutput20240813_Data) AsBookingOutput20240813

func (t GetBookingOutput20240813_Data) AsBookingOutput20240813() (BookingOutput20240813, error)

AsBookingOutput20240813 returns the union data inside the GetBookingOutput20240813_Data as a BookingOutput20240813

func (GetBookingOutput20240813_Data) AsGetBookingOutput20240813Data2

func (t GetBookingOutput20240813_Data) AsGetBookingOutput20240813Data2() (GetBookingOutput20240813Data2, error)

AsGetBookingOutput20240813Data2 returns the union data inside the GetBookingOutput20240813_Data as a GetBookingOutput20240813Data2

func (GetBookingOutput20240813_Data) AsGetBookingOutput20240813Data5

func (t GetBookingOutput20240813_Data) AsGetBookingOutput20240813Data5() (GetBookingOutput20240813Data5, error)

AsGetBookingOutput20240813Data5 returns the union data inside the GetBookingOutput20240813_Data as a GetBookingOutput20240813Data5

func (GetBookingOutput20240813_Data) AsGetRecurringSeatedBookingOutput20240813

func (t GetBookingOutput20240813_Data) AsGetRecurringSeatedBookingOutput20240813() (GetRecurringSeatedBookingOutput20240813, error)

AsGetRecurringSeatedBookingOutput20240813 returns the union data inside the GetBookingOutput20240813_Data as a GetRecurringSeatedBookingOutput20240813

func (GetBookingOutput20240813_Data) AsGetSeatedBookingOutput20240813

func (t GetBookingOutput20240813_Data) AsGetSeatedBookingOutput20240813() (GetSeatedBookingOutput20240813, error)

AsGetSeatedBookingOutput20240813 returns the union data inside the GetBookingOutput20240813_Data as a GetSeatedBookingOutput20240813

func (GetBookingOutput20240813_Data) AsRecurringBookingOutput20240813

func (t GetBookingOutput20240813_Data) AsRecurringBookingOutput20240813() (RecurringBookingOutput20240813, error)

AsRecurringBookingOutput20240813 returns the union data inside the GetBookingOutput20240813_Data as a RecurringBookingOutput20240813

func (*GetBookingOutput20240813_Data) FromBookingOutput20240813

func (t *GetBookingOutput20240813_Data) FromBookingOutput20240813(v BookingOutput20240813) error

FromBookingOutput20240813 overwrites any union data inside the GetBookingOutput20240813_Data as the provided BookingOutput20240813

func (*GetBookingOutput20240813_Data) FromGetBookingOutput20240813Data2

func (t *GetBookingOutput20240813_Data) FromGetBookingOutput20240813Data2(v GetBookingOutput20240813Data2) error

FromGetBookingOutput20240813Data2 overwrites any union data inside the GetBookingOutput20240813_Data as the provided GetBookingOutput20240813Data2

func (*GetBookingOutput20240813_Data) FromGetBookingOutput20240813Data5

func (t *GetBookingOutput20240813_Data) FromGetBookingOutput20240813Data5(v GetBookingOutput20240813Data5) error

FromGetBookingOutput20240813Data5 overwrites any union data inside the GetBookingOutput20240813_Data as the provided GetBookingOutput20240813Data5

func (*GetBookingOutput20240813_Data) FromGetRecurringSeatedBookingOutput20240813

func (t *GetBookingOutput20240813_Data) FromGetRecurringSeatedBookingOutput20240813(v GetRecurringSeatedBookingOutput20240813) error

FromGetRecurringSeatedBookingOutput20240813 overwrites any union data inside the GetBookingOutput20240813_Data as the provided GetRecurringSeatedBookingOutput20240813

func (*GetBookingOutput20240813_Data) FromGetSeatedBookingOutput20240813

func (t *GetBookingOutput20240813_Data) FromGetSeatedBookingOutput20240813(v GetSeatedBookingOutput20240813) error

FromGetSeatedBookingOutput20240813 overwrites any union data inside the GetBookingOutput20240813_Data as the provided GetSeatedBookingOutput20240813

func (*GetBookingOutput20240813_Data) FromRecurringBookingOutput20240813

func (t *GetBookingOutput20240813_Data) FromRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

FromRecurringBookingOutput20240813 overwrites any union data inside the GetBookingOutput20240813_Data as the provided RecurringBookingOutput20240813

func (GetBookingOutput20240813_Data) MarshalJSON

func (t GetBookingOutput20240813_Data) MarshalJSON() ([]byte, error)

func (*GetBookingOutput20240813_Data) MergeBookingOutput20240813

func (t *GetBookingOutput20240813_Data) MergeBookingOutput20240813(v BookingOutput20240813) error

MergeBookingOutput20240813 performs a merge with any union data inside the GetBookingOutput20240813_Data, using the provided BookingOutput20240813

func (*GetBookingOutput20240813_Data) MergeGetBookingOutput20240813Data2

func (t *GetBookingOutput20240813_Data) MergeGetBookingOutput20240813Data2(v GetBookingOutput20240813Data2) error

MergeGetBookingOutput20240813Data2 performs a merge with any union data inside the GetBookingOutput20240813_Data, using the provided GetBookingOutput20240813Data2

func (*GetBookingOutput20240813_Data) MergeGetBookingOutput20240813Data5

func (t *GetBookingOutput20240813_Data) MergeGetBookingOutput20240813Data5(v GetBookingOutput20240813Data5) error

MergeGetBookingOutput20240813Data5 performs a merge with any union data inside the GetBookingOutput20240813_Data, using the provided GetBookingOutput20240813Data5

func (*GetBookingOutput20240813_Data) MergeGetRecurringSeatedBookingOutput20240813

func (t *GetBookingOutput20240813_Data) MergeGetRecurringSeatedBookingOutput20240813(v GetRecurringSeatedBookingOutput20240813) error

MergeGetRecurringSeatedBookingOutput20240813 performs a merge with any union data inside the GetBookingOutput20240813_Data, using the provided GetRecurringSeatedBookingOutput20240813

func (*GetBookingOutput20240813_Data) MergeGetSeatedBookingOutput20240813

func (t *GetBookingOutput20240813_Data) MergeGetSeatedBookingOutput20240813(v GetSeatedBookingOutput20240813) error

MergeGetSeatedBookingOutput20240813 performs a merge with any union data inside the GetBookingOutput20240813_Data, using the provided GetSeatedBookingOutput20240813

func (*GetBookingOutput20240813_Data) MergeRecurringBookingOutput20240813

func (t *GetBookingOutput20240813_Data) MergeRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

MergeRecurringBookingOutput20240813 performs a merge with any union data inside the GetBookingOutput20240813_Data, using the provided RecurringBookingOutput20240813

func (*GetBookingOutput20240813_Data) UnmarshalJSON

func (t *GetBookingOutput20240813_Data) UnmarshalJSON(b []byte) error

type GetBookingRecordingsOutput

type GetBookingRecordingsOutput struct {
	Data  []RecordingItem         `json:"data"`
	Error *map[string]interface{} `json:"error,omitempty"`

	// Status Example: success
	Status GetBookingRecordingsOutputStatus `json:"status"`
}

GetBookingRecordingsOutput defines model for GetBookingRecordingsOutput.

type GetBookingRecordingsOutputStatus

type GetBookingRecordingsOutputStatus string

GetBookingRecordingsOutputStatus Example: success

const (
	GetBookingRecordingsOutputStatusError   GetBookingRecordingsOutputStatus = "error"
	GetBookingRecordingsOutputStatusSuccess GetBookingRecordingsOutputStatus = "success"
)

Defines values for GetBookingRecordingsOutputStatus.

func (GetBookingRecordingsOutputStatus) Valid

Valid indicates whether the value is a known member of the GetBookingRecordingsOutputStatus enum.

type GetBookingTranscriptsOutput

type GetBookingTranscriptsOutput struct {
	// Data Example: ["https://transcript1.com","https://transcript2.com"]
	Data  []string                `json:"data"`
	Error *map[string]interface{} `json:"error,omitempty"`

	// Status Example: success
	Status GetBookingTranscriptsOutputStatus `json:"status"`
}

GetBookingTranscriptsOutput defines model for GetBookingTranscriptsOutput.

type GetBookingTranscriptsOutputStatus

type GetBookingTranscriptsOutputStatus string

GetBookingTranscriptsOutputStatus Example: success

const (
	GetBookingTranscriptsOutputStatusError   GetBookingTranscriptsOutputStatus = "error"
	GetBookingTranscriptsOutputStatusSuccess GetBookingTranscriptsOutputStatus = "success"
)

Defines values for GetBookingTranscriptsOutputStatus.

func (GetBookingTranscriptsOutputStatus) Valid

Valid indicates whether the value is a known member of the GetBookingTranscriptsOutputStatus enum.

type GetBookingVideoSessionsOutput

type GetBookingVideoSessionsOutput struct {
	Data  []CalMeetingSession     `json:"data"`
	Error *map[string]interface{} `json:"error,omitempty"`

	// Status Example: success
	Status GetBookingVideoSessionsOutputStatus `json:"status"`
}

GetBookingVideoSessionsOutput defines model for GetBookingVideoSessionsOutput.

type GetBookingVideoSessionsOutputStatus

type GetBookingVideoSessionsOutputStatus string

GetBookingVideoSessionsOutputStatus Example: success

const (
	GetBookingVideoSessionsOutputStatusError   GetBookingVideoSessionsOutputStatus = "error"
	GetBookingVideoSessionsOutputStatusSuccess GetBookingVideoSessionsOutputStatus = "success"
)

Defines values for GetBookingVideoSessionsOutputStatus.

func (GetBookingVideoSessionsOutputStatus) Valid

Valid indicates whether the value is a known member of the GetBookingVideoSessionsOutputStatus enum.

type GetBookingsOutput20240813

type GetBookingsOutput20240813 struct {
	// Data Array of booking data, which can contain either BookingOutput objects or RecurringBookingOutput objects
	Data       []GetBookingsOutput20240813_Data_Item `json:"data"`
	Error      *map[string]interface{}               `json:"error,omitempty"`
	Pagination PaginationMetaDto                     `json:"pagination"`

	// Status Example: success
	Status GetBookingsOutput20240813Status `json:"status"`
}

GetBookingsOutput20240813 defines model for GetBookingsOutput_2024_08_13.

type GetBookingsOutput20240813Status

type GetBookingsOutput20240813Status string

GetBookingsOutput20240813Status Example: success

const (
	GetBookingsOutput20240813StatusError   GetBookingsOutput20240813Status = "error"
	GetBookingsOutput20240813StatusSuccess GetBookingsOutput20240813Status = "success"
)

Defines values for GetBookingsOutput20240813Status.

func (GetBookingsOutput20240813Status) Valid

Valid indicates whether the value is a known member of the GetBookingsOutput20240813Status enum.

type GetBookingsOutput20240813_Data_Item

type GetBookingsOutput20240813_Data_Item struct {
	// contains filtered or unexported fields
}

GetBookingsOutput20240813_Data_Item defines model for GetBookingsOutput_2024_08_13.data.Item.

func (GetBookingsOutput20240813_Data_Item) AsBookingOutput20240813

func (t GetBookingsOutput20240813_Data_Item) AsBookingOutput20240813() (BookingOutput20240813, error)

AsBookingOutput20240813 returns the union data inside the GetBookingsOutput20240813_Data_Item as a BookingOutput20240813

func (GetBookingsOutput20240813_Data_Item) AsGetRecurringSeatedBookingOutput20240813

func (t GetBookingsOutput20240813_Data_Item) AsGetRecurringSeatedBookingOutput20240813() (GetRecurringSeatedBookingOutput20240813, error)

AsGetRecurringSeatedBookingOutput20240813 returns the union data inside the GetBookingsOutput20240813_Data_Item as a GetRecurringSeatedBookingOutput20240813

func (GetBookingsOutput20240813_Data_Item) AsGetSeatedBookingOutput20240813

func (t GetBookingsOutput20240813_Data_Item) AsGetSeatedBookingOutput20240813() (GetSeatedBookingOutput20240813, error)

AsGetSeatedBookingOutput20240813 returns the union data inside the GetBookingsOutput20240813_Data_Item as a GetSeatedBookingOutput20240813

func (GetBookingsOutput20240813_Data_Item) AsRecurringBookingOutput20240813

func (t GetBookingsOutput20240813_Data_Item) AsRecurringBookingOutput20240813() (RecurringBookingOutput20240813, error)

AsRecurringBookingOutput20240813 returns the union data inside the GetBookingsOutput20240813_Data_Item as a RecurringBookingOutput20240813

func (*GetBookingsOutput20240813_Data_Item) FromBookingOutput20240813

func (t *GetBookingsOutput20240813_Data_Item) FromBookingOutput20240813(v BookingOutput20240813) error

FromBookingOutput20240813 overwrites any union data inside the GetBookingsOutput20240813_Data_Item as the provided BookingOutput20240813

func (*GetBookingsOutput20240813_Data_Item) FromGetRecurringSeatedBookingOutput20240813

func (t *GetBookingsOutput20240813_Data_Item) FromGetRecurringSeatedBookingOutput20240813(v GetRecurringSeatedBookingOutput20240813) error

FromGetRecurringSeatedBookingOutput20240813 overwrites any union data inside the GetBookingsOutput20240813_Data_Item as the provided GetRecurringSeatedBookingOutput20240813

func (*GetBookingsOutput20240813_Data_Item) FromGetSeatedBookingOutput20240813

func (t *GetBookingsOutput20240813_Data_Item) FromGetSeatedBookingOutput20240813(v GetSeatedBookingOutput20240813) error

FromGetSeatedBookingOutput20240813 overwrites any union data inside the GetBookingsOutput20240813_Data_Item as the provided GetSeatedBookingOutput20240813

func (*GetBookingsOutput20240813_Data_Item) FromRecurringBookingOutput20240813

func (t *GetBookingsOutput20240813_Data_Item) FromRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

FromRecurringBookingOutput20240813 overwrites any union data inside the GetBookingsOutput20240813_Data_Item as the provided RecurringBookingOutput20240813

func (GetBookingsOutput20240813_Data_Item) MarshalJSON

func (t GetBookingsOutput20240813_Data_Item) MarshalJSON() ([]byte, error)

func (*GetBookingsOutput20240813_Data_Item) MergeBookingOutput20240813

func (t *GetBookingsOutput20240813_Data_Item) MergeBookingOutput20240813(v BookingOutput20240813) error

MergeBookingOutput20240813 performs a merge with any union data inside the GetBookingsOutput20240813_Data_Item, using the provided BookingOutput20240813

func (*GetBookingsOutput20240813_Data_Item) MergeGetRecurringSeatedBookingOutput20240813

func (t *GetBookingsOutput20240813_Data_Item) MergeGetRecurringSeatedBookingOutput20240813(v GetRecurringSeatedBookingOutput20240813) error

MergeGetRecurringSeatedBookingOutput20240813 performs a merge with any union data inside the GetBookingsOutput20240813_Data_Item, using the provided GetRecurringSeatedBookingOutput20240813

func (*GetBookingsOutput20240813_Data_Item) MergeGetSeatedBookingOutput20240813

func (t *GetBookingsOutput20240813_Data_Item) MergeGetSeatedBookingOutput20240813(v GetSeatedBookingOutput20240813) error

MergeGetSeatedBookingOutput20240813 performs a merge with any union data inside the GetBookingsOutput20240813_Data_Item, using the provided GetSeatedBookingOutput20240813

func (*GetBookingsOutput20240813_Data_Item) MergeRecurringBookingOutput20240813

func (t *GetBookingsOutput20240813_Data_Item) MergeRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

MergeRecurringBookingOutput20240813 performs a merge with any union data inside the GetBookingsOutput20240813_Data_Item, using the provided RecurringBookingOutput20240813

func (*GetBookingsOutput20240813_Data_Item) UnmarshalJSON

func (t *GetBookingsOutput20240813_Data_Item) UnmarshalJSON(b []byte) error

type GetBusyTimesOutput

type GetBusyTimesOutput struct {
	Data []BusyTimesOutput `json:"data"`

	// Status Example: success
	Status GetBusyTimesOutputStatus `json:"status"`
}

GetBusyTimesOutput defines model for GetBusyTimesOutput.

type GetBusyTimesOutputStatus

type GetBusyTimesOutputStatus string

GetBusyTimesOutputStatus Example: success

const (
	GetBusyTimesOutputStatusError   GetBusyTimesOutputStatus = "error"
	GetBusyTimesOutputStatusSuccess GetBusyTimesOutputStatus = "success"
)

Defines values for GetBusyTimesOutputStatus.

func (GetBusyTimesOutputStatus) Valid

func (e GetBusyTimesOutputStatus) Valid() bool

Valid indicates whether the value is a known member of the GetBusyTimesOutputStatus enum.

type GetConferencingAppsOauthUrlResponseDto

type GetConferencingAppsOauthUrlResponseDto struct {
	// Status Example: success
	Status GetConferencingAppsOauthUrlResponseDtoStatus `json:"status"`
}

GetConferencingAppsOauthUrlResponseDto defines model for GetConferencingAppsOauthUrlResponseDto.

type GetConferencingAppsOauthUrlResponseDtoStatus

type GetConferencingAppsOauthUrlResponseDtoStatus string

GetConferencingAppsOauthUrlResponseDtoStatus Example: success

const (
	GetConferencingAppsOauthUrlResponseDtoStatusError   GetConferencingAppsOauthUrlResponseDtoStatus = "error"
	GetConferencingAppsOauthUrlResponseDtoStatusSuccess GetConferencingAppsOauthUrlResponseDtoStatus = "success"
)

Defines values for GetConferencingAppsOauthUrlResponseDtoStatus.

func (GetConferencingAppsOauthUrlResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the GetConferencingAppsOauthUrlResponseDtoStatus enum.

type GetDefaultConferencingAppOutputResponseDto

type GetDefaultConferencingAppOutputResponseDto struct {
	Data *DefaultConferencingAppsOutputDto `json:"data,omitempty"`

	// Status Example: success
	Status GetDefaultConferencingAppOutputResponseDtoStatus `json:"status"`
}

GetDefaultConferencingAppOutputResponseDto defines model for GetDefaultConferencingAppOutputResponseDto.

type GetDefaultConferencingAppOutputResponseDtoStatus

type GetDefaultConferencingAppOutputResponseDtoStatus string

GetDefaultConferencingAppOutputResponseDtoStatus Example: success

const (
	GetDefaultConferencingAppOutputResponseDtoStatusError   GetDefaultConferencingAppOutputResponseDtoStatus = "error"
	GetDefaultConferencingAppOutputResponseDtoStatusSuccess GetDefaultConferencingAppOutputResponseDtoStatus = "success"
)

Defines values for GetDefaultConferencingAppOutputResponseDtoStatus.

func (GetDefaultConferencingAppOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the GetDefaultConferencingAppOutputResponseDtoStatus enum.

type GetDefaultScheduleOutput20240611

type GetDefaultScheduleOutput20240611 struct {
	Data ScheduleOutput20240611 `json:"data"`

	// Status Example: success
	Status GetDefaultScheduleOutput20240611Status `json:"status"`
}

GetDefaultScheduleOutput20240611 defines model for GetDefaultScheduleOutput_2024_06_11.

type GetDefaultScheduleOutput20240611Status

type GetDefaultScheduleOutput20240611Status string

GetDefaultScheduleOutput20240611Status Example: success

const (
	GetDefaultScheduleOutput20240611StatusError   GetDefaultScheduleOutput20240611Status = "error"
	GetDefaultScheduleOutput20240611StatusSuccess GetDefaultScheduleOutput20240611Status = "success"
)

Defines values for GetDefaultScheduleOutput20240611Status.

func (GetDefaultScheduleOutput20240611Status) Valid

Valid indicates whether the value is a known member of the GetDefaultScheduleOutput20240611Status enum.

type GetEventTypeOutput20240614

type GetEventTypeOutput20240614 struct {
	Data GetEventTypeOutput20240614_Data `json:"data"`

	// Status Example: success
	Status GetEventTypeOutput20240614Status `json:"status"`
}

GetEventTypeOutput20240614 defines model for GetEventTypeOutput_2024_06_14.

type GetEventTypeOutput20240614Status

type GetEventTypeOutput20240614Status string

GetEventTypeOutput20240614Status Example: success

const (
	GetEventTypeOutput20240614StatusError   GetEventTypeOutput20240614Status = "error"
	GetEventTypeOutput20240614StatusSuccess GetEventTypeOutput20240614Status = "success"
)

Defines values for GetEventTypeOutput20240614Status.

func (GetEventTypeOutput20240614Status) Valid

Valid indicates whether the value is a known member of the GetEventTypeOutput20240614Status enum.

type GetEventTypeOutput20240614_Data

type GetEventTypeOutput20240614_Data struct {
	// contains filtered or unexported fields
}

GetEventTypeOutput20240614_Data defines model for GetEventTypeOutput20240614.Data.

func (GetEventTypeOutput20240614_Data) AsEventTypeOutput20240614

func (t GetEventTypeOutput20240614_Data) AsEventTypeOutput20240614() (EventTypeOutput20240614, error)

AsEventTypeOutput20240614 returns the union data inside the GetEventTypeOutput20240614_Data as a EventTypeOutput20240614

func (GetEventTypeOutput20240614_Data) AsTeamEventTypeOutput20240614

func (t GetEventTypeOutput20240614_Data) AsTeamEventTypeOutput20240614() (TeamEventTypeOutput20240614, error)

AsTeamEventTypeOutput20240614 returns the union data inside the GetEventTypeOutput20240614_Data as a TeamEventTypeOutput20240614

func (*GetEventTypeOutput20240614_Data) FromEventTypeOutput20240614

func (t *GetEventTypeOutput20240614_Data) FromEventTypeOutput20240614(v EventTypeOutput20240614) error

FromEventTypeOutput20240614 overwrites any union data inside the GetEventTypeOutput20240614_Data as the provided EventTypeOutput20240614

func (*GetEventTypeOutput20240614_Data) FromTeamEventTypeOutput20240614

func (t *GetEventTypeOutput20240614_Data) FromTeamEventTypeOutput20240614(v TeamEventTypeOutput20240614) error

FromTeamEventTypeOutput20240614 overwrites any union data inside the GetEventTypeOutput20240614_Data as the provided TeamEventTypeOutput20240614

func (GetEventTypeOutput20240614_Data) MarshalJSON

func (t GetEventTypeOutput20240614_Data) MarshalJSON() ([]byte, error)

func (*GetEventTypeOutput20240614_Data) MergeEventTypeOutput20240614

func (t *GetEventTypeOutput20240614_Data) MergeEventTypeOutput20240614(v EventTypeOutput20240614) error

MergeEventTypeOutput20240614 performs a merge with any union data inside the GetEventTypeOutput20240614_Data, using the provided EventTypeOutput20240614

func (*GetEventTypeOutput20240614_Data) MergeTeamEventTypeOutput20240614

func (t *GetEventTypeOutput20240614_Data) MergeTeamEventTypeOutput20240614(v TeamEventTypeOutput20240614) error

MergeTeamEventTypeOutput20240614 performs a merge with any union data inside the GetEventTypeOutput20240614_Data, using the provided TeamEventTypeOutput20240614

func (*GetEventTypeOutput20240614_Data) UnmarshalJSON

func (t *GetEventTypeOutput20240614_Data) UnmarshalJSON(b []byte) error

type GetEventTypesOutput20240614

type GetEventTypesOutput20240614 struct {
	Data []EventTypeOutput20240614 `json:"data"`

	// Status Example: success
	Status GetEventTypesOutput20240614Status `json:"status"`
}

GetEventTypesOutput20240614 defines model for GetEventTypesOutput_2024_06_14.

type GetEventTypesOutput20240614Status

type GetEventTypesOutput20240614Status string

GetEventTypesOutput20240614Status Example: success

const (
	GetEventTypesOutput20240614StatusError   GetEventTypesOutput20240614Status = "error"
	GetEventTypesOutput20240614StatusSuccess GetEventTypesOutput20240614Status = "success"
)

Defines values for GetEventTypesOutput20240614Status.

func (GetEventTypesOutput20240614Status) Valid

Valid indicates whether the value is a known member of the GetEventTypesOutput20240614Status enum.

type GetManagedUserOutput

type GetManagedUserOutput struct {
	Data ManagedUserOutput `json:"data"`

	// Status Example: success
	Status GetManagedUserOutputStatus `json:"status"`
}

GetManagedUserOutput defines model for GetManagedUserOutput.

type GetManagedUserOutputStatus

type GetManagedUserOutputStatus string

GetManagedUserOutputStatus Example: success

const (
	GetManagedUserOutputStatusError   GetManagedUserOutputStatus = "error"
	GetManagedUserOutputStatusSuccess GetManagedUserOutputStatus = "success"
)

Defines values for GetManagedUserOutputStatus.

func (GetManagedUserOutputStatus) Valid

func (e GetManagedUserOutputStatus) Valid() bool

Valid indicates whether the value is a known member of the GetManagedUserOutputStatus enum.

type GetManagedUsersOutput

type GetManagedUsersOutput struct {
	Data []ManagedUserOutput `json:"data"`

	// Status Example: success
	Status GetManagedUsersOutputStatus `json:"status"`
}

GetManagedUsersOutput defines model for GetManagedUsersOutput.

type GetManagedUsersOutputStatus

type GetManagedUsersOutputStatus string

GetManagedUsersOutputStatus Example: success

const (
	GetManagedUsersOutputStatusError   GetManagedUsersOutputStatus = "error"
	GetManagedUsersOutputStatusSuccess GetManagedUsersOutputStatus = "success"
)

Defines values for GetManagedUsersOutputStatus.

func (GetManagedUsersOutputStatus) Valid

Valid indicates whether the value is a known member of the GetManagedUsersOutputStatus enum.

type GetMeOutput

type GetMeOutput struct {
	Data MeOutput `json:"data"`

	// Status Example: success
	Status GetMeOutputStatus `json:"status"`
}

GetMeOutput defines model for GetMeOutput.

type GetMeOutputStatus

type GetMeOutputStatus string

GetMeOutputStatus Example: success

const (
	GetMeOutputStatusError   GetMeOutputStatus = "error"
	GetMeOutputStatusSuccess GetMeOutputStatus = "success"
)

Defines values for GetMeOutputStatus.

func (GetMeOutputStatus) Valid

func (e GetMeOutputStatus) Valid() bool

Valid indicates whether the value is a known member of the GetMeOutputStatus enum.

type GetOAuthClientResponseDto

type GetOAuthClientResponseDto struct {
	Data PlatformOAuthClientDto `json:"data"`

	// Status Example: success
	Status GetOAuthClientResponseDtoStatus `json:"status"`
}

GetOAuthClientResponseDto defines model for GetOAuthClientResponseDto.

type GetOAuthClientResponseDtoStatus

type GetOAuthClientResponseDtoStatus string

GetOAuthClientResponseDtoStatus Example: success

const (
	GetOAuthClientResponseDtoStatusError   GetOAuthClientResponseDtoStatus = "error"
	GetOAuthClientResponseDtoStatusSuccess GetOAuthClientResponseDtoStatus = "success"
)

Defines values for GetOAuthClientResponseDtoStatus.

func (GetOAuthClientResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the GetOAuthClientResponseDtoStatus enum.

type GetOAuthClientsResponseDto

type GetOAuthClientsResponseDto struct {
	Data []PlatformOAuthClientDto `json:"data"`

	// Status Example: success
	Status GetOAuthClientsResponseDtoStatus `json:"status"`
}

GetOAuthClientsResponseDto defines model for GetOAuthClientsResponseDto.

type GetOAuthClientsResponseDtoStatus

type GetOAuthClientsResponseDtoStatus string

GetOAuthClientsResponseDtoStatus Example: success

const (
	GetOAuthClientsResponseDtoStatusError   GetOAuthClientsResponseDtoStatus = "error"
	GetOAuthClientsResponseDtoStatusSuccess GetOAuthClientsResponseDtoStatus = "success"
)

Defines values for GetOAuthClientsResponseDtoStatus.

func (GetOAuthClientsResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the GetOAuthClientsResponseDtoStatus enum.

type GetPrivateLinksOutput

type GetPrivateLinksOutput struct {
	// Data Array of private links for the event type (mix of time-based and usage-based)
	Data []GetPrivateLinksOutput_Data_Item `json:"data"`

	// Status Response status
	//
	// Example: success
	Status string `json:"status"`
}

GetPrivateLinksOutput defines model for GetPrivateLinksOutput.

type GetPrivateLinksOutput_Data_Item

type GetPrivateLinksOutput_Data_Item struct {
	// contains filtered or unexported fields
}

GetPrivateLinksOutput_Data_Item defines model for GetPrivateLinksOutput.data.Item.

func (GetPrivateLinksOutput_Data_Item) AsTimeBasedPrivateLinkOutput

func (t GetPrivateLinksOutput_Data_Item) AsTimeBasedPrivateLinkOutput() (TimeBasedPrivateLinkOutput, error)

AsTimeBasedPrivateLinkOutput returns the union data inside the GetPrivateLinksOutput_Data_Item as a TimeBasedPrivateLinkOutput

func (GetPrivateLinksOutput_Data_Item) AsUsageBasedPrivateLinkOutput

func (t GetPrivateLinksOutput_Data_Item) AsUsageBasedPrivateLinkOutput() (UsageBasedPrivateLinkOutput, error)

AsUsageBasedPrivateLinkOutput returns the union data inside the GetPrivateLinksOutput_Data_Item as a UsageBasedPrivateLinkOutput

func (*GetPrivateLinksOutput_Data_Item) FromTimeBasedPrivateLinkOutput

func (t *GetPrivateLinksOutput_Data_Item) FromTimeBasedPrivateLinkOutput(v TimeBasedPrivateLinkOutput) error

FromTimeBasedPrivateLinkOutput overwrites any union data inside the GetPrivateLinksOutput_Data_Item as the provided TimeBasedPrivateLinkOutput

func (*GetPrivateLinksOutput_Data_Item) FromUsageBasedPrivateLinkOutput

func (t *GetPrivateLinksOutput_Data_Item) FromUsageBasedPrivateLinkOutput(v UsageBasedPrivateLinkOutput) error

FromUsageBasedPrivateLinkOutput overwrites any union data inside the GetPrivateLinksOutput_Data_Item as the provided UsageBasedPrivateLinkOutput

func (GetPrivateLinksOutput_Data_Item) MarshalJSON

func (t GetPrivateLinksOutput_Data_Item) MarshalJSON() ([]byte, error)

func (*GetPrivateLinksOutput_Data_Item) MergeTimeBasedPrivateLinkOutput

func (t *GetPrivateLinksOutput_Data_Item) MergeTimeBasedPrivateLinkOutput(v TimeBasedPrivateLinkOutput) error

MergeTimeBasedPrivateLinkOutput performs a merge with any union data inside the GetPrivateLinksOutput_Data_Item, using the provided TimeBasedPrivateLinkOutput

func (*GetPrivateLinksOutput_Data_Item) MergeUsageBasedPrivateLinkOutput

func (t *GetPrivateLinksOutput_Data_Item) MergeUsageBasedPrivateLinkOutput(v UsageBasedPrivateLinkOutput) error

MergeUsageBasedPrivateLinkOutput performs a merge with any union data inside the GetPrivateLinksOutput_Data_Item, using the provided UsageBasedPrivateLinkOutput

func (*GetPrivateLinksOutput_Data_Item) UnmarshalJSON

func (t *GetPrivateLinksOutput_Data_Item) UnmarshalJSON(b []byte) error

type GetRecurringSeatedBookingOutput20240813

type GetRecurringSeatedBookingOutput20240813 struct {
	// AbsentHost Example: true
	AbsentHost bool             `json:"absentHost"`
	Attendees  []SeatedAttendee `json:"attendees"`

	// CancellationReason Example: User requested cancellation
	CancellationReason *string `json:"cancellationReason,omitempty"`

	// CancelledByEmail Example: canceller@example.com
	CancelledByEmail *string `json:"cancelledByEmail,omitempty"`

	// CreatedAt Example: 2024-08-13T15:30:00Z
	CreatedAt string `json:"createdAt"`

	// Description Example: Learn how to integrate scheduling into marketplace.
	Description string `json:"description"`

	// Duration Example: 60
	Duration float64 `json:"duration"`

	// End Example: 2024-08-13T16:30:00Z
	End       string    `json:"end"`
	EventType EventType `json:"eventType"`

	// EventTypeId Deprecated - rely on 'eventType' object containing the id instead.
	//
	// Example: 50
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	EventTypeId float64       `json:"eventTypeId"`
	Hosts       []BookingHost `json:"hosts"`

	// IcsUid UID of ICS event.
	//
	// Example: ics_uid_123
	IcsUid *string `json:"icsUid,omitempty"`

	// Id Example: 123
	Id float64 `json:"id"`

	// Location Example: https://example.com/meeting
	Location string `json:"location"`

	// MeetingUrl Deprecated - rely on 'location' field instead.
	//
	// Example: https://example.com/recurring-meeting
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MeetingUrl *string `json:"meetingUrl,omitempty"`

	// Metadata Example: {"key":"value"}
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Rating Example: 4
	Rating *float64 `json:"rating,omitempty"`

	// RecurringBookingUid Example: recurring_uid_987
	RecurringBookingUid string `json:"recurringBookingUid"`

	// RescheduledByEmail Example: rescheduler@example.com
	RescheduledByEmail *string `json:"rescheduledByEmail,omitempty"`

	// RescheduledFromUid UID of the previous booking from which this booking was rescheduled.
	//
	// Example: previous_uid_123
	RescheduledFromUid *string `json:"rescheduledFromUid,omitempty"`

	// RescheduledToUid UID of the new booking to which this booking was rescheduled.
	//
	// Example: new_uid_456
	RescheduledToUid *string `json:"rescheduledToUid,omitempty"`

	// ReschedulingReason Example: User rescheduled the event
	ReschedulingReason *string `json:"reschedulingReason,omitempty"`

	// Start Example: 2024-08-13T15:30:00Z
	Start string `json:"start"`

	// Status Example: accepted
	Status GetRecurringSeatedBookingOutput20240813Status `json:"status"`

	// Title Example: Consultation
	Title string `json:"title"`

	// Uid Example: booking_uid_123
	Uid string `json:"uid"`

	// UpdatedAt Example: 2024-08-13T15:30:00Z
	UpdatedAt string `json:"updatedAt"`
}

GetRecurringSeatedBookingOutput20240813 defines model for GetRecurringSeatedBookingOutput_2024_08_13.

type GetRecurringSeatedBookingOutput20240813Status

type GetRecurringSeatedBookingOutput20240813Status string

GetRecurringSeatedBookingOutput20240813Status Example: accepted

const (
	GetRecurringSeatedBookingOutput20240813StatusAccepted  GetRecurringSeatedBookingOutput20240813Status = "accepted"
	GetRecurringSeatedBookingOutput20240813StatusCancelled GetRecurringSeatedBookingOutput20240813Status = "cancelled"
	GetRecurringSeatedBookingOutput20240813StatusPending   GetRecurringSeatedBookingOutput20240813Status = "pending"
	GetRecurringSeatedBookingOutput20240813StatusRejected  GetRecurringSeatedBookingOutput20240813Status = "rejected"
)

Defines values for GetRecurringSeatedBookingOutput20240813Status.

func (GetRecurringSeatedBookingOutput20240813Status) Valid

Valid indicates whether the value is a known member of the GetRecurringSeatedBookingOutput20240813Status enum.

type GetReservedSlotOutput20240904

type GetReservedSlotOutput20240904 struct {
	Data *GetReservedSlotOutput20240904 `json:"data"`

	// Status Example: success
	Status GetReservedSlotOutput20240904Status `json:"status"`
}

GetReservedSlotOutput20240904 defines model for GetReservedSlotOutput_2024_09_04.

type GetReservedSlotOutput20240904Status

type GetReservedSlotOutput20240904Status string

GetReservedSlotOutput20240904Status Example: success

const (
	GetReservedSlotOutput20240904StatusError   GetReservedSlotOutput20240904Status = "error"
	GetReservedSlotOutput20240904StatusSuccess GetReservedSlotOutput20240904Status = "success"
)

Defines values for GetReservedSlotOutput20240904Status.

func (GetReservedSlotOutput20240904Status) Valid

Valid indicates whether the value is a known member of the GetReservedSlotOutput20240904Status enum.

type GetScheduleOutput20240611

type GetScheduleOutput20240611 struct {
	Data  *ScheduleOutput20240611 `json:"data"`
	Error *map[string]interface{} `json:"error,omitempty"`

	// Status Example: success
	Status GetScheduleOutput20240611Status `json:"status"`
}

GetScheduleOutput20240611 defines model for GetScheduleOutput_2024_06_11.

type GetScheduleOutput20240611Status

type GetScheduleOutput20240611Status string

GetScheduleOutput20240611Status Example: success

const (
	GetScheduleOutput20240611StatusError   GetScheduleOutput20240611Status = "error"
	GetScheduleOutput20240611StatusSuccess GetScheduleOutput20240611Status = "success"
)

Defines values for GetScheduleOutput20240611Status.

func (GetScheduleOutput20240611Status) Valid

Valid indicates whether the value is a known member of the GetScheduleOutput20240611Status enum.

type GetSchedulesOutput20240611

type GetSchedulesOutput20240611 struct {
	Data  []ScheduleOutput20240611 `json:"data"`
	Error *map[string]interface{}  `json:"error,omitempty"`

	// Status Example: success
	Status GetSchedulesOutput20240611Status `json:"status"`
}

GetSchedulesOutput20240611 defines model for GetSchedulesOutput_2024_06_11.

type GetSchedulesOutput20240611Status

type GetSchedulesOutput20240611Status string

GetSchedulesOutput20240611Status Example: success

const (
	GetSchedulesOutput20240611StatusError   GetSchedulesOutput20240611Status = "error"
	GetSchedulesOutput20240611StatusSuccess GetSchedulesOutput20240611Status = "success"
)

Defines values for GetSchedulesOutput20240611Status.

func (GetSchedulesOutput20240611Status) Valid

Valid indicates whether the value is a known member of the GetSchedulesOutput20240611Status enum.

type GetSeatedBookingOutput20240813

type GetSeatedBookingOutput20240813 struct {
	// AbsentHost Example: true
	AbsentHost bool             `json:"absentHost"`
	Attendees  []SeatedAttendee `json:"attendees"`

	// CancellationReason Example: User requested cancellation
	CancellationReason *string `json:"cancellationReason,omitempty"`

	// CancelledByEmail Example: canceller@example.com
	CancelledByEmail *string `json:"cancelledByEmail,omitempty"`

	// CreatedAt Example: 2024-08-13T15:30:00Z
	CreatedAt string `json:"createdAt"`

	// Description Example: Learn how to integrate scheduling into marketplace.
	Description string `json:"description"`

	// Duration Example: 60
	Duration float64 `json:"duration"`

	// End Example: 2024-08-13T16:30:00Z
	End       string    `json:"end"`
	EventType EventType `json:"eventType"`

	// EventTypeId Deprecated - rely on 'eventType' object containing the id instead.
	//
	// Example: 50
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	EventTypeId float64       `json:"eventTypeId"`
	Hosts       []BookingHost `json:"hosts"`

	// IcsUid UID of ICS event.
	//
	// Example: ics_uid_123
	IcsUid *string `json:"icsUid,omitempty"`

	// Id Example: 123
	Id float64 `json:"id"`

	// Location Example: https://example.com/meeting
	Location string `json:"location"`

	// MeetingUrl Deprecated - rely on 'location' field instead.
	//
	// Example: https://example.com/recurring-meeting
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MeetingUrl *string `json:"meetingUrl,omitempty"`

	// Metadata Example: {"key":"value"}
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Rating Example: 4
	Rating *float64 `json:"rating,omitempty"`

	// RescheduledByEmail Example: rescheduler@example.com
	RescheduledByEmail *string `json:"rescheduledByEmail,omitempty"`

	// RescheduledFromUid UID of the previous booking from which this booking was rescheduled.
	//
	// Example: previous_uid_123
	RescheduledFromUid *string `json:"rescheduledFromUid,omitempty"`

	// RescheduledToUid UID of the new booking to which this booking was rescheduled.
	//
	// Example: new_uid_456
	RescheduledToUid *string `json:"rescheduledToUid,omitempty"`

	// ReschedulingReason Example: User rescheduled the event
	ReschedulingReason *string `json:"reschedulingReason,omitempty"`

	// Start Example: 2024-08-13T15:30:00Z
	Start string `json:"start"`

	// Status Example: accepted
	Status GetSeatedBookingOutput20240813Status `json:"status"`

	// Title Example: Consultation
	Title string `json:"title"`

	// Uid Example: booking_uid_123
	Uid string `json:"uid"`

	// UpdatedAt Example: 2024-08-13T15:30:00Z
	UpdatedAt string `json:"updatedAt"`
}

GetSeatedBookingOutput20240813 defines model for GetSeatedBookingOutput_2024_08_13.

type GetSeatedBookingOutput20240813Status

type GetSeatedBookingOutput20240813Status string

GetSeatedBookingOutput20240813Status Example: accepted

const (
	GetSeatedBookingOutput20240813StatusAccepted  GetSeatedBookingOutput20240813Status = "accepted"
	GetSeatedBookingOutput20240813StatusCancelled GetSeatedBookingOutput20240813Status = "cancelled"
	GetSeatedBookingOutput20240813StatusPending   GetSeatedBookingOutput20240813Status = "pending"
	GetSeatedBookingOutput20240813StatusRejected  GetSeatedBookingOutput20240813Status = "rejected"
)

Defines values for GetSeatedBookingOutput20240813Status.

func (GetSeatedBookingOutput20240813Status) Valid

Valid indicates whether the value is a known member of the GetSeatedBookingOutput20240813Status enum.

type GetUnifiedCalendarEventOutput

type GetUnifiedCalendarEventOutput struct {
	Data UnifiedCalendarEventOutput `json:"data"`

	// Status Example: success
	Status GetUnifiedCalendarEventOutputStatus `json:"status"`
}

GetUnifiedCalendarEventOutput defines model for GetUnifiedCalendarEventOutput.

type GetUnifiedCalendarEventOutputStatus

type GetUnifiedCalendarEventOutputStatus string

GetUnifiedCalendarEventOutputStatus Example: success

const (
	GetUnifiedCalendarEventOutputStatusError   GetUnifiedCalendarEventOutputStatus = "error"
	GetUnifiedCalendarEventOutputStatusSuccess GetUnifiedCalendarEventOutputStatus = "success"
)

Defines values for GetUnifiedCalendarEventOutputStatus.

func (GetUnifiedCalendarEventOutputStatus) Valid

Valid indicates whether the value is a known member of the GetUnifiedCalendarEventOutputStatus enum.

type Guest

type Guest struct {
	// Email The email of the guest.
	//
	// Example: john.doe@example.com
	Email string `json:"email"`

	// Language The preferred language of the guest. Used for booking confirmation.
	//
	// Example: it
	Language *GuestLanguage `json:"language,omitempty"`

	// Name The name of the guest.
	//
	// Example: John Doe
	Name *string `json:"name,omitempty"`

	// PhoneNumber The phone number of the guest in international format.
	//
	// Example: +919876543210
	PhoneNumber *string `json:"phoneNumber,omitempty"`

	// TimeZone The time zone of the guest.
	//
	// Example: America/New_York
	TimeZone *string `json:"timeZone,omitempty"`
}

Guest defines model for Guest.

type GuestLanguage

type GuestLanguage string

GuestLanguage The preferred language of the guest. Used for booking confirmation.

Example: it

const (
	GuestLanguageAr    GuestLanguage = "ar"
	GuestLanguageAz    GuestLanguage = "az"
	GuestLanguageBg    GuestLanguage = "bg"
	GuestLanguageBn    GuestLanguage = "bn"
	GuestLanguageCa    GuestLanguage = "ca"
	GuestLanguageCs    GuestLanguage = "cs"
	GuestLanguageDa    GuestLanguage = "da"
	GuestLanguageDe    GuestLanguage = "de"
	GuestLanguageEl    GuestLanguage = "el"
	GuestLanguageEn    GuestLanguage = "en"
	GuestLanguageEs    GuestLanguage = "es"
	GuestLanguageEs419 GuestLanguage = "es-419"
	GuestLanguageEt    GuestLanguage = "et"
	GuestLanguageEu    GuestLanguage = "eu"
	GuestLanguageFi    GuestLanguage = "fi"
	GuestLanguageFr    GuestLanguage = "fr"
	GuestLanguageHe    GuestLanguage = "he"
	GuestLanguageHr    GuestLanguage = "hr"
	GuestLanguageHu    GuestLanguage = "hu"
	GuestLanguageId    GuestLanguage = "id"
	GuestLanguageIt    GuestLanguage = "it"
	GuestLanguageIw    GuestLanguage = "iw"
	GuestLanguageJa    GuestLanguage = "ja"
	GuestLanguageKm    GuestLanguage = "km"
	GuestLanguageKo    GuestLanguage = "ko"
	GuestLanguageLv    GuestLanguage = "lv"
	GuestLanguageNl    GuestLanguage = "nl"
	GuestLanguageNo    GuestLanguage = "no"
	GuestLanguagePl    GuestLanguage = "pl"
	GuestLanguagePt    GuestLanguage = "pt"
	GuestLanguagePtBR  GuestLanguage = "pt-BR"
	GuestLanguageRo    GuestLanguage = "ro"
	GuestLanguageRu    GuestLanguage = "ru"
	GuestLanguageSk    GuestLanguage = "sk"
	GuestLanguageSr    GuestLanguage = "sr"
	GuestLanguageSv    GuestLanguage = "sv"
	GuestLanguageTa    GuestLanguage = "ta"
	GuestLanguageTh    GuestLanguage = "th"
	GuestLanguageTr    GuestLanguage = "tr"
	GuestLanguageUk    GuestLanguage = "uk"
	GuestLanguageVi    GuestLanguage = "vi"
	GuestLanguageZhCN  GuestLanguage = "zh-CN"
	GuestLanguageZhTW  GuestLanguage = "zh-TW"
)

Defines values for GuestLanguage.

func (GuestLanguage) Valid

func (e GuestLanguage) Valid() bool

Valid indicates whether the value is a known member of the GuestLanguage enum.

type GuestsDefaultFieldInput20240614

type GuestsDefaultFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if URL contains query parameter `&guests=bob@cal.com`,      the guests field will be prefilled with this value and disabled. In case of Booker atom need to pass 'guests' to defaultFormValues prop with the desired value e.g. `defaultFormValues={{guests: ['bob@gmail.com', 'alice@gmail.com']}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden      *bool   `json:"hidden,omitempty"`
	Label       *string `json:"label,omitempty"`
	Placeholder *string `json:"placeholder,omitempty"`
	Required    *bool   `json:"required,omitempty"`

	// Slug only allowed value for type is `guests`
	//
	// Example: guests
	Slug string `json:"slug"`
}

GuestsDefaultFieldInput20240614 defines model for GuestsDefaultFieldInput_2024_06_14.

type GuestsDefaultFieldOutput20240614

type GuestsDefaultFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if URL contains query parameter `&guests=lauris@cal.com`,      the guests field will be prefilled with this value and disabled.
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden *bool `json:"hidden,omitempty"`

	// IsDefault This property is always true because it's a default field
	//
	// Example: true
	IsDefault   map[string]interface{} `json:"isDefault"`
	Label       *string                `json:"label,omitempty"`
	Placeholder *string                `json:"placeholder,omitempty"`
	Required    *bool                  `json:"required,omitempty"`

	// Slug only allowed value for type is `guests`
	//
	// Example: guests
	Slug string `json:"slug"`
	Type string `json:"type"`
}

GuestsDefaultFieldOutput20240614 defines model for GuestsDefaultFieldOutput_2024_06_14.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InputAddressLocation20240614

type InputAddressLocation20240614 struct {
	// Address Example: 123 Example St, City, Country
	Address string `json:"address"`
	Public  bool   `json:"public"`

	// Type only allowed value for type is `address`
	//
	// Example: address
	Type string `json:"type"`
}

InputAddressLocation20240614 defines model for InputAddressLocation_2024_06_14.

type InputAttendeeAddressLocation20240614

type InputAttendeeAddressLocation20240614 struct {
	// Type only allowed value for type is `attendeeAddress`
	//
	// Example: attendeeAddress
	Type string `json:"type"`
}

InputAttendeeAddressLocation20240614 defines model for InputAttendeeAddressLocation_2024_06_14.

type InputAttendeeDefinedLocation20240614

type InputAttendeeDefinedLocation20240614 struct {
	// Type only allowed value for type is `attendeeDefined`
	//
	// Example: attendeeDefined
	Type string `json:"type"`
}

InputAttendeeDefinedLocation20240614 defines model for InputAttendeeDefinedLocation_2024_06_14.

type InputAttendeePhoneLocation20240614

type InputAttendeePhoneLocation20240614 struct {
	// Type only allowed value for type is `attendeePhone`
	//
	// Example: attendeePhone
	Type string `json:"type"`
}

InputAttendeePhoneLocation20240614 defines model for InputAttendeePhoneLocation_2024_06_14.

type InputIntegrationLocation20240614

type InputIntegrationLocation20240614 struct {
	// Integration Example: cal-video
	Integration InputIntegrationLocation20240614Integration `json:"integration"`

	// Type only allowed value for type is `integration`
	//
	// Example: integration
	Type string `json:"type"`
}

InputIntegrationLocation20240614 defines model for InputIntegrationLocation_2024_06_14.

type InputIntegrationLocation20240614Integration

type InputIntegrationLocation20240614Integration string

InputIntegrationLocation20240614Integration Example: cal-video

const (
	InputIntegrationLocation20240614IntegrationCalVideo          InputIntegrationLocation20240614Integration = "cal-video"
	InputIntegrationLocation20240614IntegrationCampfireVideo     InputIntegrationLocation20240614Integration = "campfire-video"
	InputIntegrationLocation20240614IntegrationDemodeskVideo     InputIntegrationLocation20240614Integration = "demodesk-video"
	InputIntegrationLocation20240614IntegrationDiscordVideo      InputIntegrationLocation20240614Integration = "discord-video"
	InputIntegrationLocation20240614IntegrationEightxeightVideo  InputIntegrationLocation20240614Integration = "eightxeight-video"
	InputIntegrationLocation20240614IntegrationElementCallVideo  InputIntegrationLocation20240614Integration = "element-call-video"
	InputIntegrationLocation20240614IntegrationFacetimeVideo     InputIntegrationLocation20240614Integration = "facetime-video"
	InputIntegrationLocation20240614IntegrationGoogleMeet        InputIntegrationLocation20240614Integration = "google-meet"
	InputIntegrationLocation20240614IntegrationHuddle            InputIntegrationLocation20240614Integration = "huddle"
	InputIntegrationLocation20240614IntegrationJellyConferencing InputIntegrationLocation20240614Integration = "jelly-conferencing"
	InputIntegrationLocation20240614IntegrationJellyVideo        InputIntegrationLocation20240614Integration = "jelly-video"
	InputIntegrationLocation20240614IntegrationJitsi             InputIntegrationLocation20240614Integration = "jitsi"
	InputIntegrationLocation20240614IntegrationMirotalkVideo     InputIntegrationLocation20240614Integration = "mirotalk-video"
	InputIntegrationLocation20240614IntegrationOffice365Video    InputIntegrationLocation20240614Integration = "office365-video"
	InputIntegrationLocation20240614IntegrationPingVideo         InputIntegrationLocation20240614Integration = "ping-video"
	InputIntegrationLocation20240614IntegrationRiversideVideo    InputIntegrationLocation20240614Integration = "riverside-video"
	InputIntegrationLocation20240614IntegrationRoamVideo         InputIntegrationLocation20240614Integration = "roam-video"
	InputIntegrationLocation20240614IntegrationSalesroomVideo    InputIntegrationLocation20240614Integration = "salesroom-video"
	InputIntegrationLocation20240614IntegrationShimmerVideo      InputIntegrationLocation20240614Integration = "shimmer-video"
	InputIntegrationLocation20240614IntegrationSignalVideo       InputIntegrationLocation20240614Integration = "signal-video"
	InputIntegrationLocation20240614IntegrationSiriusVideo       InputIntegrationLocation20240614Integration = "sirius-video"
	InputIntegrationLocation20240614IntegrationSkypeVideo        InputIntegrationLocation20240614Integration = "skype-video"
	InputIntegrationLocation20240614IntegrationSylapsVideo       InputIntegrationLocation20240614Integration = "sylaps-video"
	InputIntegrationLocation20240614IntegrationTandem            InputIntegrationLocation20240614Integration = "tandem"
	InputIntegrationLocation20240614IntegrationTelegramVideo     InputIntegrationLocation20240614Integration = "telegram-video"
	InputIntegrationLocation20240614IntegrationWebexVideo        InputIntegrationLocation20240614Integration = "webex-video"
	InputIntegrationLocation20240614IntegrationWhatsappVideo     InputIntegrationLocation20240614Integration = "whatsapp-video"
	InputIntegrationLocation20240614IntegrationWherebyVideo      InputIntegrationLocation20240614Integration = "whereby-video"
	InputIntegrationLocation20240614IntegrationZoom              InputIntegrationLocation20240614Integration = "zoom"
)

Defines values for InputIntegrationLocation20240614Integration.

func (InputIntegrationLocation20240614Integration) Valid

Valid indicates whether the value is a known member of the InputIntegrationLocation20240614Integration enum.

type InputLinkLocation20240614

type InputLinkLocation20240614 struct {
	// Link Example: https://customvideo.com/join/123456
	Link   string `json:"link"`
	Public bool   `json:"public"`

	// Type only allowed value for type is `link`
	//
	// Example: link
	Type string `json:"type"`
}

InputLinkLocation20240614 defines model for InputLinkLocation_2024_06_14.

type InputPhoneLocation20240614

type InputPhoneLocation20240614 struct {
	// Phone Example: +37120993151
	Phone  string `json:"phone"`
	Public bool   `json:"public"`

	// Type only allowed value for type is `phone`
	//
	// Example: phone
	Type string `json:"type"`
}

InputPhoneLocation20240614 defines model for InputPhoneLocation_2024_06_14.

type Integration

type Integration struct {
	UnderscoreUnderscoreTemplate *string                 `json:"__template,omitempty"`
	AppData                      *map[string]interface{} `json:"appData,omitempty"`
	Categories                   []string                `json:"categories"`
	Category                     *string                 `json:"category,omitempty"`
	Description                  string                  `json:"description"`
	DirName                      *string                 `json:"dirName,omitempty"`
	Email                        string                  `json:"email"`
	Installed                    *bool                   `json:"installed,omitempty"`
	LocationOption               *map[string]interface{} `json:"locationOption"`
	Name                         string                  `json:"name"`
	Publisher                    string                  `json:"publisher"`
	Slug                         string                  `json:"slug"`
	Title                        *string                 `json:"title,omitempty"`
	Type                         string                  `json:"type"`
	Url                          string                  `json:"url"`
	Variant                      string                  `json:"variant"`
}

Integration defines model for Integration.

type KeysDto

type KeysDto struct {
	// AccessToken Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
	AccessToken          string  `json:"accessToken"`
	AccessTokenExpiresAt float64 `json:"accessTokenExpiresAt"`

	// RefreshToken Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
	RefreshToken          string  `json:"refreshToken"`
	RefreshTokenExpiresAt float64 `json:"refreshTokenExpiresAt"`
}

KeysDto defines model for KeysDto.

type KeysResponseDto

type KeysResponseDto struct {
	Data KeysDto `json:"data"`

	// Status Example: success
	Status KeysResponseDtoStatus `json:"status"`
}

KeysResponseDto defines model for KeysResponseDto.

type KeysResponseDtoStatus

type KeysResponseDtoStatus string

KeysResponseDtoStatus Example: success

const (
	KeysResponseDtoStatusError   KeysResponseDtoStatus = "error"
	KeysResponseDtoStatusSuccess KeysResponseDtoStatus = "success"
)

Defines values for KeysResponseDtoStatus.

func (KeysResponseDtoStatus) Valid

func (e KeysResponseDtoStatus) Valid() bool

Valid indicates whether the value is a known member of the KeysResponseDtoStatus enum.

type ListConnectionsData

type ListConnectionsData struct {
	Connections []CalendarConnectionItem `json:"connections"`
}

ListConnectionsData defines model for ListConnectionsData.

type ListConnectionsOutput

type ListConnectionsOutput struct {
	Data ListConnectionsData `json:"data"`

	// Status Example: success
	Status ListConnectionsOutputStatus `json:"status"`
}

ListConnectionsOutput defines model for ListConnectionsOutput.

type ListConnectionsOutputStatus

type ListConnectionsOutputStatus string

ListConnectionsOutputStatus Example: success

const (
	ListConnectionsOutputStatusError   ListConnectionsOutputStatus = "error"
	ListConnectionsOutputStatusSuccess ListConnectionsOutputStatus = "success"
)

Defines values for ListConnectionsOutputStatus.

func (ListConnectionsOutputStatus) Valid

Valid indicates whether the value is a known member of the ListConnectionsOutputStatus enum.

type ListUnifiedCalendarEventsOutput

type ListUnifiedCalendarEventsOutput struct {
	Data []UnifiedCalendarEventOutput `json:"data"`

	// Status Example: success
	Status ListUnifiedCalendarEventsOutputStatus `json:"status"`
}

ListUnifiedCalendarEventsOutput defines model for ListUnifiedCalendarEventsOutput.

type ListUnifiedCalendarEventsOutputStatus

type ListUnifiedCalendarEventsOutputStatus string

ListUnifiedCalendarEventsOutputStatus Example: success

const (
	ListUnifiedCalendarEventsOutputStatusError   ListUnifiedCalendarEventsOutputStatus = "error"
	ListUnifiedCalendarEventsOutputStatusSuccess ListUnifiedCalendarEventsOutputStatus = "success"
)

Defines values for ListUnifiedCalendarEventsOutputStatus.

func (ListUnifiedCalendarEventsOutputStatus) Valid

Valid indicates whether the value is a known member of the ListUnifiedCalendarEventsOutputStatus enum.

type LocationDefaultFieldInput20240614

type LocationDefaultFieldInput20240614 struct {
	Label *string `json:"label,omitempty"`

	// Slug only allowed value for type is `location`. This booking field is displayed only when event type has 2 or more locations in order to allow person doing the booking pick the location.
	//
	// Example: location
	Slug string `json:"slug"`
}

LocationDefaultFieldInput20240614 defines model for LocationDefaultFieldInput_2024_06_14.

type LocationDefaultFieldOutput20240614

type LocationDefaultFieldOutput20240614 struct {
	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always true because it's a default field
	//
	// Example: true
	IsDefault map[string]interface{} `json:"isDefault"`
	Label     string                 `json:"label"`
	Required  bool                   `json:"required"`

	// Slug This booking field is returned only if the event type has more than one location. The purpose of this field is to allow the user to select the location where the event will take place.
	Slug string `json:"slug"`
	Type string `json:"type"`
}

LocationDefaultFieldOutput20240614 defines model for LocationDefaultFieldOutput_2024_06_14.

type ManagedUserOutput

type ManagedUserOutput struct {
	// AvatarUrl URL of the user's avatar image
	//
	// Example: https://cal.com/api/avatar/2b735186-b01b-46d3-87da-019b8f61776b.png
	AvatarUrl *string `json:"avatarUrl,omitempty"`

	// Bio Example: bio
	Bio *string `json:"bio"`

	// CreatedDate Example: 2024-04-01T00:00:00.000Z
	CreatedDate       string   `json:"createdDate"`
	DefaultScheduleId *float64 `json:"defaultScheduleId"`

	// Email Example: alice+cluo37fwd0001khkzqqynkpj3@example.com
	Email string `json:"email"`

	// Id Example: 1
	Id float64 `json:"id"`

	// Locale Example: en
	Locale *ManagedUserOutputLocale `json:"locale,omitempty"`

	// Metadata Example: {"key":"value"}
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Name Example: alice
	Name *string `json:"name"`

	// TimeFormat Example: 12
	TimeFormat *float64 `json:"timeFormat"`

	// TimeZone Example: America/New_York
	TimeZone string `json:"timeZone"`

	// Username Example: alice
	Username *string `json:"username"`

	// WeekStart Example: Sunday
	WeekStart string `json:"weekStart"`
}

ManagedUserOutput defines model for ManagedUserOutput.

type ManagedUserOutputLocale

type ManagedUserOutputLocale string

ManagedUserOutputLocale Example: en

const (
	ManagedUserOutputLocaleAr    ManagedUserOutputLocale = "ar"
	ManagedUserOutputLocaleAz    ManagedUserOutputLocale = "az"
	ManagedUserOutputLocaleBg    ManagedUserOutputLocale = "bg"
	ManagedUserOutputLocaleBn    ManagedUserOutputLocale = "bn"
	ManagedUserOutputLocaleCa    ManagedUserOutputLocale = "ca"
	ManagedUserOutputLocaleCs    ManagedUserOutputLocale = "cs"
	ManagedUserOutputLocaleDa    ManagedUserOutputLocale = "da"
	ManagedUserOutputLocaleDe    ManagedUserOutputLocale = "de"
	ManagedUserOutputLocaleEl    ManagedUserOutputLocale = "el"
	ManagedUserOutputLocaleEn    ManagedUserOutputLocale = "en"
	ManagedUserOutputLocaleEs    ManagedUserOutputLocale = "es"
	ManagedUserOutputLocaleEs419 ManagedUserOutputLocale = "es-419"
	ManagedUserOutputLocaleEt    ManagedUserOutputLocale = "et"
	ManagedUserOutputLocaleEu    ManagedUserOutputLocale = "eu"
	ManagedUserOutputLocaleFi    ManagedUserOutputLocale = "fi"
	ManagedUserOutputLocaleFr    ManagedUserOutputLocale = "fr"
	ManagedUserOutputLocaleHe    ManagedUserOutputLocale = "he"
	ManagedUserOutputLocaleHr    ManagedUserOutputLocale = "hr"
	ManagedUserOutputLocaleHu    ManagedUserOutputLocale = "hu"
	ManagedUserOutputLocaleId    ManagedUserOutputLocale = "id"
	ManagedUserOutputLocaleIt    ManagedUserOutputLocale = "it"
	ManagedUserOutputLocaleIw    ManagedUserOutputLocale = "iw"
	ManagedUserOutputLocaleJa    ManagedUserOutputLocale = "ja"
	ManagedUserOutputLocaleKm    ManagedUserOutputLocale = "km"
	ManagedUserOutputLocaleKo    ManagedUserOutputLocale = "ko"
	ManagedUserOutputLocaleLv    ManagedUserOutputLocale = "lv"
	ManagedUserOutputLocaleNl    ManagedUserOutputLocale = "nl"
	ManagedUserOutputLocaleNo    ManagedUserOutputLocale = "no"
	ManagedUserOutputLocalePl    ManagedUserOutputLocale = "pl"
	ManagedUserOutputLocalePt    ManagedUserOutputLocale = "pt"
	ManagedUserOutputLocalePtBR  ManagedUserOutputLocale = "pt-BR"
	ManagedUserOutputLocaleRo    ManagedUserOutputLocale = "ro"
	ManagedUserOutputLocaleRu    ManagedUserOutputLocale = "ru"
	ManagedUserOutputLocaleSk    ManagedUserOutputLocale = "sk"
	ManagedUserOutputLocaleSr    ManagedUserOutputLocale = "sr"
	ManagedUserOutputLocaleSv    ManagedUserOutputLocale = "sv"
	ManagedUserOutputLocaleTa    ManagedUserOutputLocale = "ta"
	ManagedUserOutputLocaleTh    ManagedUserOutputLocale = "th"
	ManagedUserOutputLocaleTr    ManagedUserOutputLocale = "tr"
	ManagedUserOutputLocaleUk    ManagedUserOutputLocale = "uk"
	ManagedUserOutputLocaleVi    ManagedUserOutputLocale = "vi"
	ManagedUserOutputLocaleZhCN  ManagedUserOutputLocale = "zh-CN"
	ManagedUserOutputLocaleZhTW  ManagedUserOutputLocale = "zh-TW"
)

Defines values for ManagedUserOutputLocale.

func (ManagedUserOutputLocale) Valid

func (e ManagedUserOutputLocale) Valid() bool

Valid indicates whether the value is a known member of the ManagedUserOutputLocale enum.

type MarkAbsentAttendee

type MarkAbsentAttendee struct {
	Absent bool   `json:"absent"`
	Email  string `json:"email"`
}

MarkAbsentAttendee defines model for MarkAbsentAttendee.

type MarkAbsentBookingInput20240813

type MarkAbsentBookingInput20240813 struct {
	Attendees *[]MarkAbsentAttendee `json:"attendees,omitempty"`

	// Host Whether the host was absent
	//
	// Example: false
	Host *bool `json:"host,omitempty"`
}

MarkAbsentBookingInput20240813 defines model for MarkAbsentBookingInput_2024_08_13.

type MarkAbsentBookingOutput20240813

type MarkAbsentBookingOutput20240813 struct {
	// Data Booking data, which can be either a BookingOutput object or a RecurringBookingOutput object
	Data MarkAbsentBookingOutput20240813_Data `json:"data"`

	// Status Example: success
	Status MarkAbsentBookingOutput20240813Status `json:"status"`
}

MarkAbsentBookingOutput20240813 defines model for MarkAbsentBookingOutput_2024_08_13.

type MarkAbsentBookingOutput20240813Status

type MarkAbsentBookingOutput20240813Status string

MarkAbsentBookingOutput20240813Status Example: success

const (
	MarkAbsentBookingOutput20240813StatusError   MarkAbsentBookingOutput20240813Status = "error"
	MarkAbsentBookingOutput20240813StatusSuccess MarkAbsentBookingOutput20240813Status = "success"
)

Defines values for MarkAbsentBookingOutput20240813Status.

func (MarkAbsentBookingOutput20240813Status) Valid

Valid indicates whether the value is a known member of the MarkAbsentBookingOutput20240813Status enum.

type MarkAbsentBookingOutput20240813_Data

type MarkAbsentBookingOutput20240813_Data struct {
	// contains filtered or unexported fields
}

MarkAbsentBookingOutput20240813_Data Booking data, which can be either a BookingOutput object or a RecurringBookingOutput object

func (MarkAbsentBookingOutput20240813_Data) AsBookingOutput20240813

func (t MarkAbsentBookingOutput20240813_Data) AsBookingOutput20240813() (BookingOutput20240813, error)

AsBookingOutput20240813 returns the union data inside the MarkAbsentBookingOutput20240813_Data as a BookingOutput20240813

func (MarkAbsentBookingOutput20240813_Data) AsRecurringBookingOutput20240813

func (t MarkAbsentBookingOutput20240813_Data) AsRecurringBookingOutput20240813() (RecurringBookingOutput20240813, error)

AsRecurringBookingOutput20240813 returns the union data inside the MarkAbsentBookingOutput20240813_Data as a RecurringBookingOutput20240813

func (*MarkAbsentBookingOutput20240813_Data) FromBookingOutput20240813

func (t *MarkAbsentBookingOutput20240813_Data) FromBookingOutput20240813(v BookingOutput20240813) error

FromBookingOutput20240813 overwrites any union data inside the MarkAbsentBookingOutput20240813_Data as the provided BookingOutput20240813

func (*MarkAbsentBookingOutput20240813_Data) FromRecurringBookingOutput20240813

func (t *MarkAbsentBookingOutput20240813_Data) FromRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

FromRecurringBookingOutput20240813 overwrites any union data inside the MarkAbsentBookingOutput20240813_Data as the provided RecurringBookingOutput20240813

func (MarkAbsentBookingOutput20240813_Data) MarshalJSON

func (t MarkAbsentBookingOutput20240813_Data) MarshalJSON() ([]byte, error)

func (*MarkAbsentBookingOutput20240813_Data) MergeBookingOutput20240813

func (t *MarkAbsentBookingOutput20240813_Data) MergeBookingOutput20240813(v BookingOutput20240813) error

MergeBookingOutput20240813 performs a merge with any union data inside the MarkAbsentBookingOutput20240813_Data, using the provided BookingOutput20240813

func (*MarkAbsentBookingOutput20240813_Data) MergeRecurringBookingOutput20240813

func (t *MarkAbsentBookingOutput20240813_Data) MergeRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

MergeRecurringBookingOutput20240813 performs a merge with any union data inside the MarkAbsentBookingOutput20240813_Data, using the provided RecurringBookingOutput20240813

func (*MarkAbsentBookingOutput20240813_Data) UnmarshalJSON

func (t *MarkAbsentBookingOutput20240813_Data) UnmarshalJSON(b []byte) error

type MeControllerGetMeParams

type MeControllerGetMeParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

MeControllerGetMeParams defines parameters for MeControllerGetMe.

type MeControllerGetMeResponse

type MeControllerGetMeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetMeOutput
}

func ParseMeControllerGetMeResponse

func ParseMeControllerGetMeResponse(rsp *http.Response) (*MeControllerGetMeResponse, error)

ParseMeControllerGetMeResponse parses an HTTP response from a MeControllerGetMeWithResponse call

func (MeControllerGetMeResponse) ContentType

func (r MeControllerGetMeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (MeControllerGetMeResponse) GetBody

func (r MeControllerGetMeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MeControllerGetMeResponse) GetJSON200

func (r MeControllerGetMeResponse) GetJSON200() *GetMeOutput

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (MeControllerGetMeResponse) Status

func (r MeControllerGetMeResponse) Status() string

Status returns HTTPResponse.Status

func (MeControllerGetMeResponse) StatusCode

func (r MeControllerGetMeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MeControllerUpdateMeJSONRequestBody

type MeControllerUpdateMeJSONRequestBody = UpdateManagedUserInput

MeControllerUpdateMeJSONRequestBody defines body for MeControllerUpdateMe for application/json ContentType.

type MeControllerUpdateMeParams

type MeControllerUpdateMeParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

MeControllerUpdateMeParams defines parameters for MeControllerUpdateMe.

type MeControllerUpdateMeResponse

type MeControllerUpdateMeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UpdateMeOutput
}

func ParseMeControllerUpdateMeResponse

func ParseMeControllerUpdateMeResponse(rsp *http.Response) (*MeControllerUpdateMeResponse, error)

ParseMeControllerUpdateMeResponse parses an HTTP response from a MeControllerUpdateMeWithResponse call

func (MeControllerUpdateMeResponse) ContentType

func (r MeControllerUpdateMeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (MeControllerUpdateMeResponse) GetBody

func (r MeControllerUpdateMeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MeControllerUpdateMeResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (MeControllerUpdateMeResponse) Status

Status returns HTTPResponse.Status

func (MeControllerUpdateMeResponse) StatusCode

func (r MeControllerUpdateMeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MeOrgOutput

type MeOrgOutput struct {
	Id         float64 `json:"id"`
	IsPlatform bool    `json:"isPlatform"`
}

MeOrgOutput defines model for MeOrgOutput.

type MeOutput

type MeOutput struct {
	AvatarUrl         *string      `json:"avatarUrl"`
	Bio               *string      `json:"bio"`
	DefaultScheduleId *float64     `json:"defaultScheduleId"`
	Email             string       `json:"email"`
	Id                float64      `json:"id"`
	Name              *string      `json:"name"`
	Organization      *MeOrgOutput `json:"organization,omitempty"`
	OrganizationId    *float64     `json:"organizationId"`
	TimeFormat        float64      `json:"timeFormat"`
	TimeZone          string       `json:"timeZone"`
	Username          string       `json:"username"`
	WeekStart         string       `json:"weekStart"`
}

MeOutput defines model for MeOutput.

type MultiEmailFieldInput20240614

type MultiEmailFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `consultants` and the URL contains query parameter `&consultants=alice@gmail.com&consultants=bob@gmail.com`,      the these emails will be added and none more can be added. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{consultants: ['alice@gmail.com', 'bob@gmail.com']}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// Label Example: Please enter multiple emails
	Label string `json:"label"`

	// Placeholder Example: e.g., example@example.com
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `multiemail`
	//
	// Example: multiemail
	Type string `json:"type"`
}

MultiEmailFieldInput20240614 defines model for MultiEmailFieldInput_2024_06_14.

type MultiEmailFieldOutput20240614

type MultiEmailFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `consultants` and the URL contains query parameter `&consultants=alice@gmail.com&consultants=bob@gmail.com`,      the these emails will be added and none more can be added. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{consultants: ['alice@gmail.com', 'bob@gmail.com']}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always false because it's not default field but custom field
	//
	// Example: false
	IsDefault map[string]interface{} `json:"isDefault"`

	// Label Example: Please enter multiple emails
	Label string `json:"label"`

	// Placeholder Example: e.g., example@example.com
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `multiemail`
	//
	// Example: multiemail
	Type string `json:"type"`
}

MultiEmailFieldOutput20240614 defines model for MultiEmailFieldOutput_2024_06_14.

type MultiSelectFieldInput20240614

type MultiSelectFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `language` and the URL contains query parameter `&language=en&language=it`,      the 'en' and 'it' will be selected and the select field will be disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{language: ['en', 'it']}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// Label Example: Please select multiple options
	Label string `json:"label"`

	// Options Example: ["Option 1","Option 2"]
	Options  []string `json:"options"`
	Required bool     `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `multiselect`
	//
	// Example: multiselect
	Type string `json:"type"`
}

MultiSelectFieldInput20240614 defines model for MultiSelectFieldInput_2024_06_14.

type MultiSelectFieldOutput20240614

type MultiSelectFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `language` and the URL contains query parameter `&language=en&language=it`,      the 'en' and 'it' will be selected and the select field will be disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{language: ['en', 'it']}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always false because it's not default field but custom field
	//
	// Example: false
	IsDefault map[string]interface{} `json:"isDefault"`

	// Label Example: Please select multiple options
	Label string `json:"label"`

	// Options Example: ["Option 1","Option 2"]
	Options  []string `json:"options"`
	Required bool     `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `multiselect`
	//
	// Example: multiselect
	Type string `json:"type"`
}

MultiSelectFieldOutput20240614 defines model for MultiSelectFieldOutput_2024_06_14.

type NameDefaultFieldInput20240614

type NameDefaultFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if URL contains query parameter `&name=bob`,      the name field will be prefilled with this value and disabled. In case of Booker atom need to pass 'name' to defaultFormValues prop with the desired value e.g. `defaultFormValues={{name: 'bob'}}`. See guide https://cal.com/docs/platform/guides/booking-fields
	DisableOnPrefill *bool  `json:"disableOnPrefill,omitempty"`
	Label            string `json:"label"`
	Placeholder      string `json:"placeholder"`

	// Type only allowed value for type is `name`. Used for having 1 booking field for both first name and last name.
	//
	// Example: name
	Type string `json:"type"`
}

NameDefaultFieldInput20240614 defines model for NameDefaultFieldInput_2024_06_14.

type NameDefaultFieldOutput20240614

type NameDefaultFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if URL contains query parameter `&name=bob`,      the name field will be prefilled with this value and disabled. In case of Booker atom need to pass 'name' to defaultFormValues prop with the desired value e.g. `defaultFormValues={{name: 'bob'}}`. See guide https://cal.com/docs/platform/guides/booking-fields
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// IsDefault This property is always true because it's a default field
	//
	// Example: true
	IsDefault   map[string]interface{} `json:"isDefault"`
	Label       string                 `json:"label"`
	Placeholder string                 `json:"placeholder"`
	Required    bool                   `json:"required"`
	Slug        string                 `json:"slug"`

	// Type only allowed value for type is `name`. Used for having 1 booking field for both first name and last name.
	//
	// Example: name
	Type string `json:"type"`
}

NameDefaultFieldOutput20240614 defines model for NameDefaultFieldOutput_2024_06_14.

type NotesDefaultFieldInput20240614

type NotesDefaultFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if URL contains query parameter `&notes=journey`,      the notes field will be prefilled with this value and disabled. In case of Booker atom need to pass 'notes' to defaultFormValues prop with the desired value e.g. `defaultFormValues={{notes: 'bring notebook and paper'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden      *bool   `json:"hidden,omitempty"`
	Label       *string `json:"label,omitempty"`
	Placeholder *string `json:"placeholder,omitempty"`
	Required    *bool   `json:"required,omitempty"`

	// Slug only allowed value for type is `notes`
	//
	// Example: notes
	Slug string `json:"slug"`
}

NotesDefaultFieldInput20240614 defines model for NotesDefaultFieldInput_2024_06_14.

type NotesDefaultFieldOutput20240614

type NotesDefaultFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if URL contains query parameter `&notes=hello`,      the notes field will be prefilled with this value and disabled.
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden *bool `json:"hidden,omitempty"`

	// IsDefault This property is always true because it's a default field
	//
	// Example: true
	IsDefault   map[string]interface{} `json:"isDefault"`
	Label       *string                `json:"label,omitempty"`
	Placeholder *string                `json:"placeholder,omitempty"`
	Required    *bool                  `json:"required,omitempty"`

	// Slug only allowed value for type is `notes`
	//
	// Example: notes
	Slug string `json:"slug"`
	Type string `json:"type"`
}

NotesDefaultFieldOutput20240614 defines model for NotesDefaultFieldOutput_2024_06_14.

type NoticeThreshold20240614

type NoticeThreshold20240614 struct {
	// Count The time value for the notice threshold
	//
	// Example: 30
	Count float64 `json:"count"`

	// Unit The unit of time for the notice threshold (e.g., minutes, hours)
	//
	// Example: minutes
	Unit string `json:"unit"`
}

NoticeThreshold20240614 defines model for NoticeThreshold_2024_06_14.

type NumberFieldInput20240614

type NumberFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `calories` and the URL contains query parameter `&calories=3000`,      the number field will be prefilled with this value and disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{calories: 3000}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// Label Example: Please enter a number
	Label string `json:"label"`

	// Placeholder Example: e.g., 100
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `number`
	//
	// Example: number
	Type string `json:"type"`
}

NumberFieldInput20240614 defines model for NumberFieldInput_2024_06_14.

type NumberFieldOutput20240614

type NumberFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `calories` and the URL contains query parameter `&calories=3000`,      the number field will be prefilled with this value and disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{calories: 3000}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always false because it's not default field but custom field
	//
	// Example: false
	IsDefault map[string]interface{} `json:"isDefault"`

	// Label Example: Please enter a number
	Label string `json:"label"`

	// Placeholder Example: e.g., 100
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `number`
	//
	// Example: number
	Type string `json:"type"`
}

NumberFieldOutput20240614 defines model for NumberFieldOutput_2024_06_14.

type OAuth2ClientDto

type OAuth2ClientDto struct {
	// ClientId The OAuth client ID
	//
	// Example: clxxxxxxxxxxxxxxxx
	ClientId string `json:"client_id"`

	// ClientType The type of OAuth client (CONFIDENTIAL or PUBLIC)
	//
	// Example: CONFIDENTIAL
	ClientType OAuth2ClientDtoClientType `json:"client_type"`

	// IsTrusted Whether the OAuth client is trusted
	//
	// Example: false
	IsTrusted bool `json:"is_trusted"`

	Logo *string `json:"logo,omitempty"`

	// Name The name of the OAuth client
	//
	// Example: My App
	Name string `json:"name"`

	// RedirectUris The redirect URIs for the OAuth client
	//
	// Example: ["https://example.com/callback"]
	RedirectUris []string `json:"redirect_uris"`
}

OAuth2ClientDto defines model for OAuth2ClientDto.

type OAuth2ClientDtoClientType

type OAuth2ClientDtoClientType string

OAuth2ClientDtoClientType The type of OAuth client (CONFIDENTIAL or PUBLIC)

Example: CONFIDENTIAL

const (
	OAuth2ClientDtoClientTypeCONFIDENTIAL OAuth2ClientDtoClientType = "CONFIDENTIAL"
	OAuth2ClientDtoClientTypePUBLIC       OAuth2ClientDtoClientType = "PUBLIC"
)

Defines values for OAuth2ClientDtoClientType.

func (OAuth2ClientDtoClientType) Valid

func (e OAuth2ClientDtoClientType) Valid() bool

Valid indicates whether the value is a known member of the OAuth2ClientDtoClientType enum.

type OAuth2ClientResponseDto

type OAuth2ClientResponseDto struct {
	Data OAuth2ClientDto `json:"data"`

	// Status Example: success
	Status OAuth2ClientResponseDtoStatus `json:"status"`
}

OAuth2ClientResponseDto defines model for OAuth2ClientResponseDto.

type OAuth2ClientResponseDtoStatus

type OAuth2ClientResponseDtoStatus string

OAuth2ClientResponseDtoStatus Example: success

const (
	OAuth2ClientResponseDtoStatusError   OAuth2ClientResponseDtoStatus = "error"
	OAuth2ClientResponseDtoStatusSuccess OAuth2ClientResponseDtoStatus = "success"
)

Defines values for OAuth2ClientResponseDtoStatus.

func (OAuth2ClientResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the OAuth2ClientResponseDtoStatus enum.

type OAuth2ControllerGetClientResponse

type OAuth2ControllerGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OAuth2ClientResponseDto
}

func ParseOAuth2ControllerGetClientResponse

func ParseOAuth2ControllerGetClientResponse(rsp *http.Response) (*OAuth2ControllerGetClientResponse, error)

ParseOAuth2ControllerGetClientResponse parses an HTTP response from a OAuth2ControllerGetClientWithResponse call

func (OAuth2ControllerGetClientResponse) ContentType

func (r OAuth2ControllerGetClientResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuth2ControllerGetClientResponse) GetBody

GetBody returns the raw response body bytes

func (OAuth2ControllerGetClientResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuth2ControllerGetClientResponse) Status

Status returns HTTPResponse.Status

func (OAuth2ControllerGetClientResponse) StatusCode

func (r OAuth2ControllerGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type OAuth2ControllerTokenJSONBody

type OAuth2ControllerTokenJSONBody struct {
	// contains filtered or unexported fields
}

OAuth2ControllerTokenJSONBody defines parameters for OAuth2ControllerToken.

func (OAuth2ControllerTokenJSONBody) AsOAuth2ExchangeConfidentialInput

func (t OAuth2ControllerTokenJSONBody) AsOAuth2ExchangeConfidentialInput() (OAuth2ExchangeConfidentialInput, error)

AsOAuth2ExchangeConfidentialInput returns the union data inside the OAuth2ControllerTokenJSONBody as a OAuth2ExchangeConfidentialInput

func (OAuth2ControllerTokenJSONBody) AsOAuth2ExchangePublicInput

func (t OAuth2ControllerTokenJSONBody) AsOAuth2ExchangePublicInput() (OAuth2ExchangePublicInput, error)

AsOAuth2ExchangePublicInput returns the union data inside the OAuth2ControllerTokenJSONBody as a OAuth2ExchangePublicInput

func (OAuth2ControllerTokenJSONBody) AsOAuth2RefreshConfidentialInput

func (t OAuth2ControllerTokenJSONBody) AsOAuth2RefreshConfidentialInput() (OAuth2RefreshConfidentialInput, error)

AsOAuth2RefreshConfidentialInput returns the union data inside the OAuth2ControllerTokenJSONBody as a OAuth2RefreshConfidentialInput

func (OAuth2ControllerTokenJSONBody) AsOAuth2RefreshPublicInput

func (t OAuth2ControllerTokenJSONBody) AsOAuth2RefreshPublicInput() (OAuth2RefreshPublicInput, error)

AsOAuth2RefreshPublicInput returns the union data inside the OAuth2ControllerTokenJSONBody as a OAuth2RefreshPublicInput

func (*OAuth2ControllerTokenJSONBody) FromOAuth2ExchangeConfidentialInput

func (t *OAuth2ControllerTokenJSONBody) FromOAuth2ExchangeConfidentialInput(v OAuth2ExchangeConfidentialInput) error

FromOAuth2ExchangeConfidentialInput overwrites any union data inside the OAuth2ControllerTokenJSONBody as the provided OAuth2ExchangeConfidentialInput

func (*OAuth2ControllerTokenJSONBody) FromOAuth2ExchangePublicInput

func (t *OAuth2ControllerTokenJSONBody) FromOAuth2ExchangePublicInput(v OAuth2ExchangePublicInput) error

FromOAuth2ExchangePublicInput overwrites any union data inside the OAuth2ControllerTokenJSONBody as the provided OAuth2ExchangePublicInput

func (*OAuth2ControllerTokenJSONBody) FromOAuth2RefreshConfidentialInput

func (t *OAuth2ControllerTokenJSONBody) FromOAuth2RefreshConfidentialInput(v OAuth2RefreshConfidentialInput) error

FromOAuth2RefreshConfidentialInput overwrites any union data inside the OAuth2ControllerTokenJSONBody as the provided OAuth2RefreshConfidentialInput

func (*OAuth2ControllerTokenJSONBody) FromOAuth2RefreshPublicInput

func (t *OAuth2ControllerTokenJSONBody) FromOAuth2RefreshPublicInput(v OAuth2RefreshPublicInput) error

FromOAuth2RefreshPublicInput overwrites any union data inside the OAuth2ControllerTokenJSONBody as the provided OAuth2RefreshPublicInput

func (OAuth2ControllerTokenJSONBody) MarshalJSON

func (t OAuth2ControllerTokenJSONBody) MarshalJSON() ([]byte, error)

func (*OAuth2ControllerTokenJSONBody) MergeOAuth2ExchangeConfidentialInput

func (t *OAuth2ControllerTokenJSONBody) MergeOAuth2ExchangeConfidentialInput(v OAuth2ExchangeConfidentialInput) error

MergeOAuth2ExchangeConfidentialInput performs a merge with any union data inside the OAuth2ControllerTokenJSONBody, using the provided OAuth2ExchangeConfidentialInput

func (*OAuth2ControllerTokenJSONBody) MergeOAuth2ExchangePublicInput

func (t *OAuth2ControllerTokenJSONBody) MergeOAuth2ExchangePublicInput(v OAuth2ExchangePublicInput) error

MergeOAuth2ExchangePublicInput performs a merge with any union data inside the OAuth2ControllerTokenJSONBody, using the provided OAuth2ExchangePublicInput

func (*OAuth2ControllerTokenJSONBody) MergeOAuth2RefreshConfidentialInput

func (t *OAuth2ControllerTokenJSONBody) MergeOAuth2RefreshConfidentialInput(v OAuth2RefreshConfidentialInput) error

MergeOAuth2RefreshConfidentialInput performs a merge with any union data inside the OAuth2ControllerTokenJSONBody, using the provided OAuth2RefreshConfidentialInput

func (*OAuth2ControllerTokenJSONBody) MergeOAuth2RefreshPublicInput

func (t *OAuth2ControllerTokenJSONBody) MergeOAuth2RefreshPublicInput(v OAuth2RefreshPublicInput) error

MergeOAuth2RefreshPublicInput performs a merge with any union data inside the OAuth2ControllerTokenJSONBody, using the provided OAuth2RefreshPublicInput

func (*OAuth2ControllerTokenJSONBody) UnmarshalJSON

func (t *OAuth2ControllerTokenJSONBody) UnmarshalJSON(b []byte) error

type OAuth2ControllerTokenJSONRequestBody

type OAuth2ControllerTokenJSONRequestBody OAuth2ControllerTokenJSONBody

OAuth2ControllerTokenJSONRequestBody defines body for OAuth2ControllerToken for application/json ContentType.

type OAuth2ControllerTokenResponse

type OAuth2ControllerTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OAuth2TokensDto
}

func ParseOAuth2ControllerTokenResponse

func ParseOAuth2ControllerTokenResponse(rsp *http.Response) (*OAuth2ControllerTokenResponse, error)

ParseOAuth2ControllerTokenResponse parses an HTTP response from a OAuth2ControllerTokenWithResponse call

func (OAuth2ControllerTokenResponse) ContentType

func (r OAuth2ControllerTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuth2ControllerTokenResponse) GetBody

func (r OAuth2ControllerTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (OAuth2ControllerTokenResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuth2ControllerTokenResponse) Status

Status returns HTTPResponse.Status

func (OAuth2ControllerTokenResponse) StatusCode

func (r OAuth2ControllerTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type OAuth2ExchangeConfidentialInput

type OAuth2ExchangeConfidentialInput struct {
	// ClientId The client identifier
	//
	// Example: my-client-id
	ClientId string `json:"client_id"`

	// ClientSecret The client secret for confidential clients
	ClientSecret string `json:"client_secret"`

	// Code The authorization code received from the authorize endpoint
	//
	// Example: abc123
	Code string `json:"code"`

	// GrantType The grant type — must be 'authorization_code'
	//
	// Example: authorization_code
	GrantType OAuth2ExchangeConfidentialInputGrantType `json:"grant_type"`

	// RedirectUri The redirect URI used in the authorization request
	//
	// Example: https://example.com/callback
	RedirectUri string `json:"redirect_uri"`
}

OAuth2ExchangeConfidentialInput defines model for OAuth2ExchangeConfidentialInput.

type OAuth2ExchangeConfidentialInputGrantType

type OAuth2ExchangeConfidentialInputGrantType string

OAuth2ExchangeConfidentialInputGrantType The grant type — must be 'authorization_code'

Example: authorization_code

const (
	OAuth2ExchangeConfidentialInputGrantTypeAuthorizationCode OAuth2ExchangeConfidentialInputGrantType = "authorization_code"
)

Defines values for OAuth2ExchangeConfidentialInputGrantType.

func (OAuth2ExchangeConfidentialInputGrantType) Valid

Valid indicates whether the value is a known member of the OAuth2ExchangeConfidentialInputGrantType enum.

type OAuth2ExchangePublicInput

type OAuth2ExchangePublicInput struct {
	// ClientId The client identifier
	//
	// Example: my-client-id
	ClientId string `json:"client_id"`

	// Code The authorization code received from the authorize endpoint
	//
	// Example: abc123
	Code string `json:"code"`

	// CodeVerifier PKCE code verifier (required for public clients that used code_challenge)
	CodeVerifier string `json:"code_verifier"`

	// GrantType The grant type — must be 'authorization_code'
	//
	// Example: authorization_code
	GrantType OAuth2ExchangePublicInputGrantType `json:"grant_type"`

	// RedirectUri The redirect URI used in the authorization request
	//
	// Example: https://example.com/callback
	RedirectUri string `json:"redirect_uri"`
}

OAuth2ExchangePublicInput defines model for OAuth2ExchangePublicInput.

type OAuth2ExchangePublicInputGrantType

type OAuth2ExchangePublicInputGrantType string

OAuth2ExchangePublicInputGrantType The grant type — must be 'authorization_code'

Example: authorization_code

const (
	OAuth2ExchangePublicInputGrantTypeAuthorizationCode OAuth2ExchangePublicInputGrantType = "authorization_code"
)

Defines values for OAuth2ExchangePublicInputGrantType.

func (OAuth2ExchangePublicInputGrantType) Valid

Valid indicates whether the value is a known member of the OAuth2ExchangePublicInputGrantType enum.

type OAuth2RefreshConfidentialInput

type OAuth2RefreshConfidentialInput struct {
	// ClientId The client identifier
	//
	// Example: my-client-id
	ClientId string `json:"client_id"`

	// ClientSecret The client secret for confidential clients
	ClientSecret string `json:"client_secret"`

	// GrantType The grant type — must be 'refresh_token'
	//
	// Example: refresh_token
	GrantType OAuth2RefreshConfidentialInputGrantType `json:"grant_type"`

	// RefreshToken The refresh token
	//
	// Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
	RefreshToken string `json:"refresh_token"`
}

OAuth2RefreshConfidentialInput defines model for OAuth2RefreshConfidentialInput.

type OAuth2RefreshConfidentialInputGrantType

type OAuth2RefreshConfidentialInputGrantType string

OAuth2RefreshConfidentialInputGrantType The grant type — must be 'refresh_token'

Example: refresh_token

const (
	OAuth2RefreshConfidentialInputGrantTypeRefreshToken OAuth2RefreshConfidentialInputGrantType = "refresh_token"
)

Defines values for OAuth2RefreshConfidentialInputGrantType.

func (OAuth2RefreshConfidentialInputGrantType) Valid

Valid indicates whether the value is a known member of the OAuth2RefreshConfidentialInputGrantType enum.

type OAuth2RefreshPublicInput

type OAuth2RefreshPublicInput struct {
	// ClientId The client identifier
	//
	// Example: my-client-id
	ClientId string `json:"client_id"`

	// GrantType The grant type — must be 'refresh_token'
	//
	// Example: refresh_token
	GrantType OAuth2RefreshPublicInputGrantType `json:"grant_type"`

	// RefreshToken The refresh token
	//
	// Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
	RefreshToken string `json:"refresh_token"`
}

OAuth2RefreshPublicInput defines model for OAuth2RefreshPublicInput.

type OAuth2RefreshPublicInputGrantType

type OAuth2RefreshPublicInputGrantType string

OAuth2RefreshPublicInputGrantType The grant type — must be 'refresh_token'

Example: refresh_token

const (
	OAuth2RefreshPublicInputGrantTypeRefreshToken OAuth2RefreshPublicInputGrantType = "refresh_token"
)

Defines values for OAuth2RefreshPublicInputGrantType.

func (OAuth2RefreshPublicInputGrantType) Valid

Valid indicates whether the value is a known member of the OAuth2RefreshPublicInputGrantType enum.

type OAuth2TokensDto

type OAuth2TokensDto struct {
	// AccessToken The access token
	//
	// Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
	AccessToken string `json:"access_token"`

	// ExpiresIn The number of seconds until the access token expires
	//
	// Example: 1800
	ExpiresIn float64 `json:"expires_in"`

	// RefreshToken The refresh token
	//
	// Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
	RefreshToken string `json:"refresh_token"`

	// TokenType The token type
	//
	// Example: bearer
	TokenType string `json:"token_type"`
}

OAuth2TokensDto defines model for OAuth2TokensDto.

type OAuthClientUsersControllerCreateUserJSONRequestBody

type OAuthClientUsersControllerCreateUserJSONRequestBody = CreateManagedUserInput

OAuthClientUsersControllerCreateUserJSONRequestBody defines body for OAuthClientUsersControllerCreateUser for application/json ContentType.

type OAuthClientUsersControllerCreateUserParams

type OAuthClientUsersControllerCreateUserParams struct {
	// XCalSecretKey OAuth client secret key
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthClientUsersControllerCreateUserParams defines parameters for OAuthClientUsersControllerCreateUser.

type OAuthClientUsersControllerCreateUserResponse

type OAuthClientUsersControllerCreateUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CreateManagedUserOutput
}

func ParseOAuthClientUsersControllerCreateUserResponse

func ParseOAuthClientUsersControllerCreateUserResponse(rsp *http.Response) (*OAuthClientUsersControllerCreateUserResponse, error)

ParseOAuthClientUsersControllerCreateUserResponse parses an HTTP response from a OAuthClientUsersControllerCreateUserWithResponse call

func (OAuthClientUsersControllerCreateUserResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientUsersControllerCreateUserResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientUsersControllerCreateUserResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (OAuthClientUsersControllerCreateUserResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientUsersControllerCreateUserResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientUsersControllerDeleteUserParams

type OAuthClientUsersControllerDeleteUserParams struct {
	// XCalSecretKey OAuth client secret key
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthClientUsersControllerDeleteUserParams defines parameters for OAuthClientUsersControllerDeleteUser.

type OAuthClientUsersControllerDeleteUserResponse

type OAuthClientUsersControllerDeleteUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetManagedUserOutput
}

func ParseOAuthClientUsersControllerDeleteUserResponse

func ParseOAuthClientUsersControllerDeleteUserResponse(rsp *http.Response) (*OAuthClientUsersControllerDeleteUserResponse, error)

ParseOAuthClientUsersControllerDeleteUserResponse parses an HTTP response from a OAuthClientUsersControllerDeleteUserWithResponse call

func (OAuthClientUsersControllerDeleteUserResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientUsersControllerDeleteUserResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientUsersControllerDeleteUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientUsersControllerDeleteUserResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientUsersControllerDeleteUserResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientUsersControllerForceRefreshParams

type OAuthClientUsersControllerForceRefreshParams struct {
	// XCalSecretKey OAuth client secret key
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthClientUsersControllerForceRefreshParams defines parameters for OAuthClientUsersControllerForceRefresh.

type OAuthClientUsersControllerForceRefreshResponse

type OAuthClientUsersControllerForceRefreshResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KeysResponseDto
}

func ParseOAuthClientUsersControllerForceRefreshResponse

func ParseOAuthClientUsersControllerForceRefreshResponse(rsp *http.Response) (*OAuthClientUsersControllerForceRefreshResponse, error)

ParseOAuthClientUsersControllerForceRefreshResponse parses an HTTP response from a OAuthClientUsersControllerForceRefreshWithResponse call

func (OAuthClientUsersControllerForceRefreshResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientUsersControllerForceRefreshResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientUsersControllerForceRefreshResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientUsersControllerForceRefreshResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientUsersControllerForceRefreshResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientUsersControllerGetManagedUsersParams

type OAuthClientUsersControllerGetManagedUsersParams struct {
	// Limit The number of items to return
	Limit *float64 `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset The number of items to skip
	Offset *float64 `form:"offset,omitempty" json:"offset,omitempty"`

	// Emails Filter managed users by email. If you want to filter by multiple emails, separate them with a comma.
	Emails *[]string `form:"emails,omitempty" json:"emails,omitempty"`

	// XCalSecretKey OAuth client secret key
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthClientUsersControllerGetManagedUsersParams defines parameters for OAuthClientUsersControllerGetManagedUsers.

type OAuthClientUsersControllerGetManagedUsersResponse

type OAuthClientUsersControllerGetManagedUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetManagedUsersOutput
}

func ParseOAuthClientUsersControllerGetManagedUsersResponse

func ParseOAuthClientUsersControllerGetManagedUsersResponse(rsp *http.Response) (*OAuthClientUsersControllerGetManagedUsersResponse, error)

ParseOAuthClientUsersControllerGetManagedUsersResponse parses an HTTP response from a OAuthClientUsersControllerGetManagedUsersWithResponse call

func (OAuthClientUsersControllerGetManagedUsersResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientUsersControllerGetManagedUsersResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientUsersControllerGetManagedUsersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientUsersControllerGetManagedUsersResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientUsersControllerGetManagedUsersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientUsersControllerGetUserByIdParams

type OAuthClientUsersControllerGetUserByIdParams struct {
	// XCalSecretKey OAuth client secret key
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthClientUsersControllerGetUserByIdParams defines parameters for OAuthClientUsersControllerGetUserById.

type OAuthClientUsersControllerGetUserByIdResponse

type OAuthClientUsersControllerGetUserByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetManagedUserOutput
}

func ParseOAuthClientUsersControllerGetUserByIdResponse

func ParseOAuthClientUsersControllerGetUserByIdResponse(rsp *http.Response) (*OAuthClientUsersControllerGetUserByIdResponse, error)

ParseOAuthClientUsersControllerGetUserByIdResponse parses an HTTP response from a OAuthClientUsersControllerGetUserByIdWithResponse call

func (OAuthClientUsersControllerGetUserByIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientUsersControllerGetUserByIdResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientUsersControllerGetUserByIdResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientUsersControllerGetUserByIdResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientUsersControllerGetUserByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientUsersControllerUpdateUserJSONRequestBody

type OAuthClientUsersControllerUpdateUserJSONRequestBody = UpdateManagedUserInput

OAuthClientUsersControllerUpdateUserJSONRequestBody defines body for OAuthClientUsersControllerUpdateUser for application/json ContentType.

type OAuthClientUsersControllerUpdateUserParams

type OAuthClientUsersControllerUpdateUserParams struct {
	// XCalSecretKey OAuth client secret key
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthClientUsersControllerUpdateUserParams defines parameters for OAuthClientUsersControllerUpdateUser.

type OAuthClientUsersControllerUpdateUserResponse

type OAuthClientUsersControllerUpdateUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetManagedUserOutput
}

func ParseOAuthClientUsersControllerUpdateUserResponse

func ParseOAuthClientUsersControllerUpdateUserResponse(rsp *http.Response) (*OAuthClientUsersControllerUpdateUserResponse, error)

ParseOAuthClientUsersControllerUpdateUserResponse parses an HTTP response from a OAuthClientUsersControllerUpdateUserWithResponse call

func (OAuthClientUsersControllerUpdateUserResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientUsersControllerUpdateUserResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientUsersControllerUpdateUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientUsersControllerUpdateUserResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientUsersControllerUpdateUserResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientWebhookOutputDto

type OAuthClientWebhookOutputDto struct {
	Active        bool    `json:"active"`
	Id            float64 `json:"id"`
	OAuthClientId string  `json:"oAuthClientId"`

	// PayloadTemplate The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information
	//
	// Example: {"content":"A new event has been scheduled","type":"{{type}}","name":"{{title}}","organizer":"{{organizer.name}}","booker":"{{attendees.0.name}}"}
	PayloadTemplate string                                `json:"payloadTemplate"`
	Secret          *string                               `json:"secret,omitempty"`
	SubscriberUrl   string                                `json:"subscriberUrl"`
	Triggers        []OAuthClientWebhookOutputDtoTriggers `json:"triggers"`
}

OAuthClientWebhookOutputDto defines model for OAuthClientWebhookOutputDto.

type OAuthClientWebhookOutputDtoTriggers

type OAuthClientWebhookOutputDtoTriggers string

OAuthClientWebhookOutputDtoTriggers defines model for OAuthClientWebhookOutputDto.Triggers.

const (
	OAuthClientWebhookOutputDtoTriggersAFTERGUESTSCALVIDEONOSHOW       OAuthClientWebhookOutputDtoTriggers = "AFTER_GUESTS_CAL_VIDEO_NO_SHOW"
	OAuthClientWebhookOutputDtoTriggersAFTERHOSTSCALVIDEONOSHOW        OAuthClientWebhookOutputDtoTriggers = "AFTER_HOSTS_CAL_VIDEO_NO_SHOW"
	OAuthClientWebhookOutputDtoTriggersBOOKINGCANCELLED                OAuthClientWebhookOutputDtoTriggers = "BOOKING_CANCELLED"
	OAuthClientWebhookOutputDtoTriggersBOOKINGCREATED                  OAuthClientWebhookOutputDtoTriggers = "BOOKING_CREATED"
	OAuthClientWebhookOutputDtoTriggersBOOKINGNOSHOWUPDATED            OAuthClientWebhookOutputDtoTriggers = "BOOKING_NO_SHOW_UPDATED"
	OAuthClientWebhookOutputDtoTriggersBOOKINGPAID                     OAuthClientWebhookOutputDtoTriggers = "BOOKING_PAID"
	OAuthClientWebhookOutputDtoTriggersBOOKINGPAYMENTINITIATED         OAuthClientWebhookOutputDtoTriggers = "BOOKING_PAYMENT_INITIATED"
	OAuthClientWebhookOutputDtoTriggersBOOKINGREJECTED                 OAuthClientWebhookOutputDtoTriggers = "BOOKING_REJECTED"
	OAuthClientWebhookOutputDtoTriggersBOOKINGREQUESTED                OAuthClientWebhookOutputDtoTriggers = "BOOKING_REQUESTED"
	OAuthClientWebhookOutputDtoTriggersBOOKINGRESCHEDULED              OAuthClientWebhookOutputDtoTriggers = "BOOKING_RESCHEDULED"
	OAuthClientWebhookOutputDtoTriggersDELEGATIONCREDENTIALERROR       OAuthClientWebhookOutputDtoTriggers = "DELEGATION_CREDENTIAL_ERROR"
	OAuthClientWebhookOutputDtoTriggersFORMSUBMITTED                   OAuthClientWebhookOutputDtoTriggers = "FORM_SUBMITTED"
	OAuthClientWebhookOutputDtoTriggersFORMSUBMITTEDNOEVENT            OAuthClientWebhookOutputDtoTriggers = "FORM_SUBMITTED_NO_EVENT"
	OAuthClientWebhookOutputDtoTriggersINSTANTMEETING                  OAuthClientWebhookOutputDtoTriggers = "INSTANT_MEETING"
	OAuthClientWebhookOutputDtoTriggersMEETINGENDED                    OAuthClientWebhookOutputDtoTriggers = "MEETING_ENDED"
	OAuthClientWebhookOutputDtoTriggersMEETINGSTARTED                  OAuthClientWebhookOutputDtoTriggers = "MEETING_STARTED"
	OAuthClientWebhookOutputDtoTriggersOOOCREATED                      OAuthClientWebhookOutputDtoTriggers = "OOO_CREATED"
	OAuthClientWebhookOutputDtoTriggersRECORDINGREADY                  OAuthClientWebhookOutputDtoTriggers = "RECORDING_READY"
	OAuthClientWebhookOutputDtoTriggersRECORDINGTRANSCRIPTIONGENERATED OAuthClientWebhookOutputDtoTriggers = "RECORDING_TRANSCRIPTION_GENERATED"
	OAuthClientWebhookOutputDtoTriggersWRONGASSIGNMENTREPORT           OAuthClientWebhookOutputDtoTriggers = "WRONG_ASSIGNMENT_REPORT"
)

Defines values for OAuthClientWebhookOutputDtoTriggers.

func (OAuthClientWebhookOutputDtoTriggers) Valid

Valid indicates whether the value is a known member of the OAuthClientWebhookOutputDtoTriggers enum.

type OAuthClientWebhookOutputResponseDto

type OAuthClientWebhookOutputResponseDto struct {
	Data OAuthClientWebhookOutputDto `json:"data"`

	// Status Example: success
	Status OAuthClientWebhookOutputResponseDtoStatus `json:"status"`
}

OAuthClientWebhookOutputResponseDto defines model for OAuthClientWebhookOutputResponseDto.

type OAuthClientWebhookOutputResponseDtoStatus

type OAuthClientWebhookOutputResponseDtoStatus string

OAuthClientWebhookOutputResponseDtoStatus Example: success

const (
	OAuthClientWebhookOutputResponseDtoStatusError   OAuthClientWebhookOutputResponseDtoStatus = "error"
	OAuthClientWebhookOutputResponseDtoStatusSuccess OAuthClientWebhookOutputResponseDtoStatus = "success"
)

Defines values for OAuthClientWebhookOutputResponseDtoStatus.

func (OAuthClientWebhookOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the OAuthClientWebhookOutputResponseDtoStatus enum.

type OAuthClientWebhooksControllerCreateOAuthClientWebhookJSONRequestBody

type OAuthClientWebhooksControllerCreateOAuthClientWebhookJSONRequestBody = CreateWebhookInputDto

OAuthClientWebhooksControllerCreateOAuthClientWebhookJSONRequestBody defines body for OAuthClientWebhooksControllerCreateOAuthClientWebhook for application/json ContentType.

type OAuthClientWebhooksControllerCreateOAuthClientWebhookParams

type OAuthClientWebhooksControllerCreateOAuthClientWebhookParams struct {
	// XCalSecretKey OAuth client secret key
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthClientWebhooksControllerCreateOAuthClientWebhookParams defines parameters for OAuthClientWebhooksControllerCreateOAuthClientWebhook.

type OAuthClientWebhooksControllerCreateOAuthClientWebhookResponse

type OAuthClientWebhooksControllerCreateOAuthClientWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *OAuthClientWebhookOutputResponseDto
}

func ParseOAuthClientWebhooksControllerCreateOAuthClientWebhookResponse

func ParseOAuthClientWebhooksControllerCreateOAuthClientWebhookResponse(rsp *http.Response) (*OAuthClientWebhooksControllerCreateOAuthClientWebhookResponse, error)

ParseOAuthClientWebhooksControllerCreateOAuthClientWebhookResponse parses an HTTP response from a OAuthClientWebhooksControllerCreateOAuthClientWebhookWithResponse call

func (OAuthClientWebhooksControllerCreateOAuthClientWebhookResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientWebhooksControllerCreateOAuthClientWebhookResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientWebhooksControllerCreateOAuthClientWebhookResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (OAuthClientWebhooksControllerCreateOAuthClientWebhookResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientWebhooksControllerCreateOAuthClientWebhookResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksParams

type OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksParams struct {
	// XCalSecretKey OAuth client secret key
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksParams defines parameters for OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooks.

type OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse

type OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeleteManyWebhooksOutputResponseDto
}

func ParseOAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse

func ParseOAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse(rsp *http.Response) (*OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse, error)

ParseOAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse parses an HTTP response from a OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksWithResponse call

func (OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientWebhooksControllerDeleteAllOAuthClientWebhooksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientWebhooksControllerDeleteOAuthClientWebhookParams

type OAuthClientWebhooksControllerDeleteOAuthClientWebhookParams struct {
	// XCalSecretKey OAuth client secret key
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthClientWebhooksControllerDeleteOAuthClientWebhookParams defines parameters for OAuthClientWebhooksControllerDeleteOAuthClientWebhook.

type OAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse

type OAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OAuthClientWebhookOutputResponseDto
}

func ParseOAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse

func ParseOAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse(rsp *http.Response) (*OAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse, error)

ParseOAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse parses an HTTP response from a OAuthClientWebhooksControllerDeleteOAuthClientWebhookWithResponse call

func (OAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientWebhooksControllerDeleteOAuthClientWebhookResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientWebhooksControllerGetOAuthClientWebhookParams

type OAuthClientWebhooksControllerGetOAuthClientWebhookParams struct {
	// XCalSecretKey OAuth client secret key
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthClientWebhooksControllerGetOAuthClientWebhookParams defines parameters for OAuthClientWebhooksControllerGetOAuthClientWebhook.

type OAuthClientWebhooksControllerGetOAuthClientWebhookResponse

type OAuthClientWebhooksControllerGetOAuthClientWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OAuthClientWebhookOutputResponseDto
}

func ParseOAuthClientWebhooksControllerGetOAuthClientWebhookResponse

func ParseOAuthClientWebhooksControllerGetOAuthClientWebhookResponse(rsp *http.Response) (*OAuthClientWebhooksControllerGetOAuthClientWebhookResponse, error)

ParseOAuthClientWebhooksControllerGetOAuthClientWebhookResponse parses an HTTP response from a OAuthClientWebhooksControllerGetOAuthClientWebhookWithResponse call

func (OAuthClientWebhooksControllerGetOAuthClientWebhookResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientWebhooksControllerGetOAuthClientWebhookResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientWebhooksControllerGetOAuthClientWebhookResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientWebhooksControllerGetOAuthClientWebhookResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientWebhooksControllerGetOAuthClientWebhookResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientWebhooksControllerGetOAuthClientWebhooksParams

type OAuthClientWebhooksControllerGetOAuthClientWebhooksParams struct {
	// Take Maximum number of items to return
	Take *float64 `form:"take,omitempty" json:"take,omitempty"`

	// Skip Number of items to skip
	Skip *float64 `form:"skip,omitempty" json:"skip,omitempty"`

	// XCalSecretKey OAuth client secret key
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthClientWebhooksControllerGetOAuthClientWebhooksParams defines parameters for OAuthClientWebhooksControllerGetOAuthClientWebhooks.

type OAuthClientWebhooksControllerGetOAuthClientWebhooksResponse

type OAuthClientWebhooksControllerGetOAuthClientWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OAuthClientWebhooksOutputResponseDto
}

func ParseOAuthClientWebhooksControllerGetOAuthClientWebhooksResponse

func ParseOAuthClientWebhooksControllerGetOAuthClientWebhooksResponse(rsp *http.Response) (*OAuthClientWebhooksControllerGetOAuthClientWebhooksResponse, error)

ParseOAuthClientWebhooksControllerGetOAuthClientWebhooksResponse parses an HTTP response from a OAuthClientWebhooksControllerGetOAuthClientWebhooksWithResponse call

func (OAuthClientWebhooksControllerGetOAuthClientWebhooksResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientWebhooksControllerGetOAuthClientWebhooksResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientWebhooksControllerGetOAuthClientWebhooksResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientWebhooksControllerGetOAuthClientWebhooksResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientWebhooksControllerGetOAuthClientWebhooksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientWebhooksControllerUpdateOAuthClientWebhookJSONRequestBody

type OAuthClientWebhooksControllerUpdateOAuthClientWebhookJSONRequestBody = UpdateWebhookInputDto

OAuthClientWebhooksControllerUpdateOAuthClientWebhookJSONRequestBody defines body for OAuthClientWebhooksControllerUpdateOAuthClientWebhook for application/json ContentType.

type OAuthClientWebhooksControllerUpdateOAuthClientWebhookParams

type OAuthClientWebhooksControllerUpdateOAuthClientWebhookParams struct {
	// XCalSecretKey OAuth client secret key
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthClientWebhooksControllerUpdateOAuthClientWebhookParams defines parameters for OAuthClientWebhooksControllerUpdateOAuthClientWebhook.

type OAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse

type OAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OAuthClientWebhookOutputResponseDto
}

func ParseOAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse

func ParseOAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse(rsp *http.Response) (*OAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse, error)

ParseOAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse parses an HTTP response from a OAuthClientWebhooksControllerUpdateOAuthClientWebhookWithResponse call

func (OAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientWebhooksControllerUpdateOAuthClientWebhookResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientWebhooksOutputResponseDto

type OAuthClientWebhooksOutputResponseDto struct {
	Data []OAuthClientWebhookOutputDto `json:"data"`

	// Status Example: success
	Status OAuthClientWebhooksOutputResponseDtoStatus `json:"status"`
}

OAuthClientWebhooksOutputResponseDto defines model for OAuthClientWebhooksOutputResponseDto.

type OAuthClientWebhooksOutputResponseDtoStatus

type OAuthClientWebhooksOutputResponseDtoStatus string

OAuthClientWebhooksOutputResponseDtoStatus Example: success

const (
	OAuthClientWebhooksOutputResponseDtoStatusError   OAuthClientWebhooksOutputResponseDtoStatus = "error"
	OAuthClientWebhooksOutputResponseDtoStatusSuccess OAuthClientWebhooksOutputResponseDtoStatus = "success"
)

Defines values for OAuthClientWebhooksOutputResponseDtoStatus.

func (OAuthClientWebhooksOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the OAuthClientWebhooksOutputResponseDtoStatus enum.

type OAuthClientsControllerCreateOAuthClientJSONRequestBody

type OAuthClientsControllerCreateOAuthClientJSONRequestBody = CreateOAuthClientInput

OAuthClientsControllerCreateOAuthClientJSONRequestBody defines body for OAuthClientsControllerCreateOAuthClient for application/json ContentType.

type OAuthClientsControllerCreateOAuthClientParams

type OAuthClientsControllerCreateOAuthClientParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
	Authorization string `json:"Authorization"`
}

OAuthClientsControllerCreateOAuthClientParams defines parameters for OAuthClientsControllerCreateOAuthClient.

type OAuthClientsControllerCreateOAuthClientResponse

type OAuthClientsControllerCreateOAuthClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CreateOAuthClientResponseDto
}

func ParseOAuthClientsControllerCreateOAuthClientResponse

func ParseOAuthClientsControllerCreateOAuthClientResponse(rsp *http.Response) (*OAuthClientsControllerCreateOAuthClientResponse, error)

ParseOAuthClientsControllerCreateOAuthClientResponse parses an HTTP response from a OAuthClientsControllerCreateOAuthClientWithResponse call

func (OAuthClientsControllerCreateOAuthClientResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientsControllerCreateOAuthClientResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientsControllerCreateOAuthClientResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (OAuthClientsControllerCreateOAuthClientResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientsControllerCreateOAuthClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientsControllerDeleteOAuthClientParams

type OAuthClientsControllerDeleteOAuthClientParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
	Authorization string `json:"Authorization"`
}

OAuthClientsControllerDeleteOAuthClientParams defines parameters for OAuthClientsControllerDeleteOAuthClient.

type OAuthClientsControllerDeleteOAuthClientResponse

type OAuthClientsControllerDeleteOAuthClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetOAuthClientResponseDto
}

func ParseOAuthClientsControllerDeleteOAuthClientResponse

func ParseOAuthClientsControllerDeleteOAuthClientResponse(rsp *http.Response) (*OAuthClientsControllerDeleteOAuthClientResponse, error)

ParseOAuthClientsControllerDeleteOAuthClientResponse parses an HTTP response from a OAuthClientsControllerDeleteOAuthClientWithResponse call

func (OAuthClientsControllerDeleteOAuthClientResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientsControllerDeleteOAuthClientResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientsControllerDeleteOAuthClientResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientsControllerDeleteOAuthClientResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientsControllerDeleteOAuthClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientsControllerGetOAuthClientByIdParams

type OAuthClientsControllerGetOAuthClientByIdParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
	Authorization string `json:"Authorization"`
}

OAuthClientsControllerGetOAuthClientByIdParams defines parameters for OAuthClientsControllerGetOAuthClientById.

type OAuthClientsControllerGetOAuthClientByIdResponse

type OAuthClientsControllerGetOAuthClientByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetOAuthClientResponseDto
}

func ParseOAuthClientsControllerGetOAuthClientByIdResponse

func ParseOAuthClientsControllerGetOAuthClientByIdResponse(rsp *http.Response) (*OAuthClientsControllerGetOAuthClientByIdResponse, error)

ParseOAuthClientsControllerGetOAuthClientByIdResponse parses an HTTP response from a OAuthClientsControllerGetOAuthClientByIdWithResponse call

func (OAuthClientsControllerGetOAuthClientByIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientsControllerGetOAuthClientByIdResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientsControllerGetOAuthClientByIdResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientsControllerGetOAuthClientByIdResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientsControllerGetOAuthClientByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientsControllerGetOAuthClientsParams

type OAuthClientsControllerGetOAuthClientsParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
	Authorization string `json:"Authorization"`
}

OAuthClientsControllerGetOAuthClientsParams defines parameters for OAuthClientsControllerGetOAuthClients.

type OAuthClientsControllerGetOAuthClientsResponse

type OAuthClientsControllerGetOAuthClientsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetOAuthClientsResponseDto
}

func ParseOAuthClientsControllerGetOAuthClientsResponse

func ParseOAuthClientsControllerGetOAuthClientsResponse(rsp *http.Response) (*OAuthClientsControllerGetOAuthClientsResponse, error)

ParseOAuthClientsControllerGetOAuthClientsResponse parses an HTTP response from a OAuthClientsControllerGetOAuthClientsWithResponse call

func (OAuthClientsControllerGetOAuthClientsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientsControllerGetOAuthClientsResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientsControllerGetOAuthClientsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientsControllerGetOAuthClientsResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientsControllerGetOAuthClientsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthClientsControllerUpdateOAuthClientJSONRequestBody

type OAuthClientsControllerUpdateOAuthClientJSONRequestBody = UpdateOAuthClientInput

OAuthClientsControllerUpdateOAuthClientJSONRequestBody defines body for OAuthClientsControllerUpdateOAuthClient for application/json ContentType.

type OAuthClientsControllerUpdateOAuthClientParams

type OAuthClientsControllerUpdateOAuthClientParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
	Authorization string `json:"Authorization"`
}

OAuthClientsControllerUpdateOAuthClientParams defines parameters for OAuthClientsControllerUpdateOAuthClient.

type OAuthClientsControllerUpdateOAuthClientResponse

type OAuthClientsControllerUpdateOAuthClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetOAuthClientResponseDto
}

func ParseOAuthClientsControllerUpdateOAuthClientResponse

func ParseOAuthClientsControllerUpdateOAuthClientResponse(rsp *http.Response) (*OAuthClientsControllerUpdateOAuthClientResponse, error)

ParseOAuthClientsControllerUpdateOAuthClientResponse parses an HTTP response from a OAuthClientsControllerUpdateOAuthClientWithResponse call

func (OAuthClientsControllerUpdateOAuthClientResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthClientsControllerUpdateOAuthClientResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthClientsControllerUpdateOAuthClientResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthClientsControllerUpdateOAuthClientResponse) Status

Status returns HTTPResponse.Status

func (OAuthClientsControllerUpdateOAuthClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OAuthFlowControllerRefreshTokensJSONRequestBody

type OAuthFlowControllerRefreshTokensJSONRequestBody = RefreshTokenInput

OAuthFlowControllerRefreshTokensJSONRequestBody defines body for OAuthFlowControllerRefreshTokens for application/json ContentType.

type OAuthFlowControllerRefreshTokensParams

type OAuthFlowControllerRefreshTokensParams struct {
	// XCalSecretKey OAuth client secret key.
	XCalSecretKey string `json:"x-cal-secret-key"`
}

OAuthFlowControllerRefreshTokensParams defines parameters for OAuthFlowControllerRefreshTokens.

type OAuthFlowControllerRefreshTokensResponse

type OAuthFlowControllerRefreshTokensResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KeysResponseDto
}

func ParseOAuthFlowControllerRefreshTokensResponse

func ParseOAuthFlowControllerRefreshTokensResponse(rsp *http.Response) (*OAuthFlowControllerRefreshTokensResponse, error)

ParseOAuthFlowControllerRefreshTokensResponse parses an HTTP response from a OAuthFlowControllerRefreshTokensWithResponse call

func (OAuthFlowControllerRefreshTokensResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OAuthFlowControllerRefreshTokensResponse) GetBody

GetBody returns the raw response body bytes

func (OAuthFlowControllerRefreshTokensResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OAuthFlowControllerRefreshTokensResponse) Status

Status returns HTTPResponse.Status

func (OAuthFlowControllerRefreshTokensResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OutputAddressLocation20240614

type OutputAddressLocation20240614 struct {
	// Address Example: 123 Example St, City, Country
	Address string `json:"address"`
	Public  bool   `json:"public"`

	// Type only allowed value for type is `address`
	//
	// Example: address
	Type string `json:"type"`
}

OutputAddressLocation20240614 defines model for OutputAddressLocation_2024_06_14.

type OutputIntegrationLocation20240614

type OutputIntegrationLocation20240614 struct {
	// CredentialId Credential ID associated with the integration
	CredentialId *float64 `json:"credentialId,omitempty"`

	// Integration Example: cal-video
	Integration OutputIntegrationLocation20240614Integration `json:"integration"`

	// Link Example: https://example.com
	Link *string `json:"link,omitempty"`

	// Type Only allowed value for type is `integration`
	//
	// Example: integration
	Type string `json:"type"`
}

OutputIntegrationLocation20240614 defines model for OutputIntegrationLocation_2024_06_14.

type OutputIntegrationLocation20240614Integration

type OutputIntegrationLocation20240614Integration string

OutputIntegrationLocation20240614Integration Example: cal-video

const (
	OutputIntegrationLocation20240614IntegrationCalVideo          OutputIntegrationLocation20240614Integration = "cal-video"
	OutputIntegrationLocation20240614IntegrationCampfireVideo     OutputIntegrationLocation20240614Integration = "campfire-video"
	OutputIntegrationLocation20240614IntegrationDemodeskVideo     OutputIntegrationLocation20240614Integration = "demodesk-video"
	OutputIntegrationLocation20240614IntegrationDiscordVideo      OutputIntegrationLocation20240614Integration = "discord-video"
	OutputIntegrationLocation20240614IntegrationEightxeightVideo  OutputIntegrationLocation20240614Integration = "eightxeight-video"
	OutputIntegrationLocation20240614IntegrationElementCallVideo  OutputIntegrationLocation20240614Integration = "element-call-video"
	OutputIntegrationLocation20240614IntegrationFacetimeVideo     OutputIntegrationLocation20240614Integration = "facetime-video"
	OutputIntegrationLocation20240614IntegrationGoogleMeet        OutputIntegrationLocation20240614Integration = "google-meet"
	OutputIntegrationLocation20240614IntegrationHuddle            OutputIntegrationLocation20240614Integration = "huddle"
	OutputIntegrationLocation20240614IntegrationJellyConferencing OutputIntegrationLocation20240614Integration = "jelly-conferencing"
	OutputIntegrationLocation20240614IntegrationJellyVideo        OutputIntegrationLocation20240614Integration = "jelly-video"
	OutputIntegrationLocation20240614IntegrationJitsi             OutputIntegrationLocation20240614Integration = "jitsi"
	OutputIntegrationLocation20240614IntegrationMirotalkVideo     OutputIntegrationLocation20240614Integration = "mirotalk-video"
	OutputIntegrationLocation20240614IntegrationOffice365Video    OutputIntegrationLocation20240614Integration = "office365-video"
	OutputIntegrationLocation20240614IntegrationPingVideo         OutputIntegrationLocation20240614Integration = "ping-video"
	OutputIntegrationLocation20240614IntegrationRiversideVideo    OutputIntegrationLocation20240614Integration = "riverside-video"
	OutputIntegrationLocation20240614IntegrationRoamVideo         OutputIntegrationLocation20240614Integration = "roam-video"
	OutputIntegrationLocation20240614IntegrationSalesroomVideo    OutputIntegrationLocation20240614Integration = "salesroom-video"
	OutputIntegrationLocation20240614IntegrationShimmerVideo      OutputIntegrationLocation20240614Integration = "shimmer-video"
	OutputIntegrationLocation20240614IntegrationSignalVideo       OutputIntegrationLocation20240614Integration = "signal-video"
	OutputIntegrationLocation20240614IntegrationSiriusVideo       OutputIntegrationLocation20240614Integration = "sirius-video"
	OutputIntegrationLocation20240614IntegrationSkypeVideo        OutputIntegrationLocation20240614Integration = "skype-video"
	OutputIntegrationLocation20240614IntegrationSylapsVideo       OutputIntegrationLocation20240614Integration = "sylaps-video"
	OutputIntegrationLocation20240614IntegrationTandem            OutputIntegrationLocation20240614Integration = "tandem"
	OutputIntegrationLocation20240614IntegrationTelegramVideo     OutputIntegrationLocation20240614Integration = "telegram-video"
	OutputIntegrationLocation20240614IntegrationWebexVideo        OutputIntegrationLocation20240614Integration = "webex-video"
	OutputIntegrationLocation20240614IntegrationWhatsappVideo     OutputIntegrationLocation20240614Integration = "whatsapp-video"
	OutputIntegrationLocation20240614IntegrationWherebyVideo      OutputIntegrationLocation20240614Integration = "whereby-video"
	OutputIntegrationLocation20240614IntegrationZoom              OutputIntegrationLocation20240614Integration = "zoom"
)

Defines values for OutputIntegrationLocation20240614Integration.

func (OutputIntegrationLocation20240614Integration) Valid

Valid indicates whether the value is a known member of the OutputIntegrationLocation20240614Integration enum.

type OutputLinkLocation20240614

type OutputLinkLocation20240614 struct {
	// Link Example: https://customvideo.com/join/123456
	Link   string `json:"link"`
	Public bool   `json:"public"`

	// Type only allowed value for type is `link`
	//
	// Example: link
	Type string `json:"type"`
}

OutputLinkLocation20240614 defines model for OutputLinkLocation_2024_06_14.

type OutputOrganizersDefaultAppLocation20240614

type OutputOrganizersDefaultAppLocation20240614 struct {
	// Type only allowed value for type is `organizersDefaultApp`
	//
	// Example: organizersDefaultApp
	Type string `json:"type"`
}

OutputOrganizersDefaultAppLocation20240614 defines model for OutputOrganizersDefaultAppLocation_2024_06_14.

type OutputPhoneLocation20240614

type OutputPhoneLocation20240614 struct {
	// Phone Example: +37120993151
	Phone  string `json:"phone"`
	Public bool   `json:"public"`

	// Type only allowed value for type is `phone`
	//
	// Example: phone
	Type string `json:"type"`
}

OutputPhoneLocation20240614 defines model for OutputPhoneLocation_2024_06_14.

type OutputUnknownLocation20240614

type OutputUnknownLocation20240614 struct {
	Location string `json:"location"`

	// Type only allowed value for type is `unknown`
	//
	// Example: unknown
	Type string `json:"type"`
}

OutputUnknownLocation20240614 defines model for OutputUnknownLocation_2024_06_14.

type PaginationMetaDto

type PaginationMetaDto struct {
	// CurrentPage The current page number being returned.
	//
	// Example: 2
	CurrentPage float64 `json:"currentPage"`

	// HasNextPage Indicates if there is a subsequent page available after the current one.
	//
	// Example: true
	HasNextPage bool `json:"hasNextPage"`

	// HasPreviousPage Indicates if there is a preceding page available before the current one.
	//
	// Example: true
	HasPreviousPage bool `json:"hasPreviousPage"`

	// ItemsPerPage The maximum number of items requested per page.
	//
	// Example: 10
	ItemsPerPage float64 `json:"itemsPerPage"`

	// RemainingItems The number of items remaining to be fetched *after* the current page. Calculated as: `totalItems - (skip + itemsPerPage)`.
	//
	// Example: 103
	RemainingItems float64 `json:"remainingItems"`

	// ReturnedItems The number of items returned in the current page.
	//
	// Example: 10
	ReturnedItems float64 `json:"returnedItems"`

	// TotalItems The total number of items available across all pages, matching the query criteria.
	//
	// Example: 123
	TotalItems float64 `json:"totalItems"`

	// TotalPages The total number of pages available.
	//
	// Example: 13
	TotalPages float64 `json:"totalPages"`
}

PaginationMetaDto defines model for PaginationMetaDto.

type PhoneFieldInput20240614

type PhoneFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `phone` and the URL contains query parameter `&phone=1234567890`,      the phone field will be prefilled with this value and disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value e.g. `defaultFormValues={{phone: '+37122222222'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden      bool   `json:"hidden"`
	Label       string `json:"label"`
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking. Special slug is `attendeePhoneNumber` - if you create
	//       a phone input field with this slug for organization team event type you can create an organization team event type that can be booked using phone without requiring an email by setting {"type": "email", "required": false, "hidden": true} to the email booking field input in the request body.
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `phone`
	//
	// Example: phone
	Type string `json:"type"`
}

PhoneFieldInput20240614 defines model for PhoneFieldInput_2024_06_14.

type PhoneFieldOutput20240614

type PhoneFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `phone` and the URL contains query parameter `&phone=1234567890`,      the phone field will be prefilled with this value and disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value e.g. `defaultFormValues={{phone: '+37122222222'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always false because it's not default field but custom field
	//
	// Example: false
	IsDefault   map[string]interface{} `json:"isDefault"`
	Label       string                 `json:"label"`
	Placeholder string                 `json:"placeholder"`
	Required    bool                   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking. Special slug is `attendeePhoneNumber` - if you create
	//       a phone input field with this slug for organization team event type you can create an organization team event type that can be booked using phone without requiring an email by setting {"type": "email", "required": false, "hidden": true} to the email booking field input in the request body.
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `phone`
	//
	// Example: phone
	Type string `json:"type"`
}

PhoneFieldOutput20240614 defines model for PhoneFieldOutput_2024_06_14.

type PlatformOAuthClientDto

type PlatformOAuthClientDto struct {
	// AreCalendarEventsEnabled If true and if managed user has calendar connected, calendar events will be created. Disable it if you manually create calendar events. Default to true.
	//
	// Example: true
	AreCalendarEventsEnabled bool `json:"areCalendarEventsEnabled"`

	// AreDefaultEventTypesEnabled If enabled, when creating a managed user the managed user will have 4 default event types: 30 and 60 minutes without Cal video, 30 and 60 minutes with Cal video. Leave this disabled if you want to create a managed user and then manually create event types for the user.
	//
	// Example: true
	AreDefaultEventTypesEnabled bool `json:"areDefaultEventTypesEnabled"`

	// AreEmailsEnabled Example: true
	AreEmailsEnabled bool `json:"areEmailsEnabled"`

	// BookingCancelRedirectUri Example: https://example.com/booking-cancel
	BookingCancelRedirectUri *string `json:"bookingCancelRedirectUri,omitempty"`

	// BookingRedirectUri Example: https://example.com/booking-redirect
	BookingRedirectUri *string `json:"bookingRedirectUri,omitempty"`

	// BookingRescheduleRedirectUri Example: https://example.com/booking-reschedule
	BookingRescheduleRedirectUri *string `json:"bookingRescheduleRedirectUri,omitempty"`

	// CreatedAt Example: 2024-03-23T08:33:21.851Z
	CreatedAt time.Time `json:"createdAt"`

	// Id Example: clsx38nbl0001vkhlwin9fmt0
	Id string `json:"id"`

	Logo *map[string]interface{} `json:"logo,omitempty"`

	// Name Example: MyClient
	Name string `json:"name"`

	// OrganizationId Example: 1
	OrganizationId float64 `json:"organizationId"`

	// Permissions Array of permission keys like ["BOOKING_READ", "BOOKING_WRITE"]
	//
	// Example: ["BOOKING_READ","BOOKING_WRITE"]
	Permissions []PlatformOAuthClientDtoPermissions `json:"permissions"`

	// RedirectUris Example: ["https://example.com/callback"]
	RedirectUris []string `json:"redirectUris"`

	// Secret Example: secretValue
	Secret string `json:"secret"`
}

PlatformOAuthClientDto defines model for PlatformOAuthClientDto.

type PlatformOAuthClientDtoPermissions

type PlatformOAuthClientDtoPermissions string

PlatformOAuthClientDtoPermissions defines model for PlatformOAuthClientDto.Permissions.

const (
	PlatformOAuthClientDtoPermissionsAPPSREAD       PlatformOAuthClientDtoPermissions = "APPS_READ"
	PlatformOAuthClientDtoPermissionsAPPSWRITE      PlatformOAuthClientDtoPermissions = "APPS_WRITE"
	PlatformOAuthClientDtoPermissionsBOOKINGREAD    PlatformOAuthClientDtoPermissions = "BOOKING_READ"
	PlatformOAuthClientDtoPermissionsBOOKINGWRITE   PlatformOAuthClientDtoPermissions = "BOOKING_WRITE"
	PlatformOAuthClientDtoPermissionsEVENTTYPEREAD  PlatformOAuthClientDtoPermissions = "EVENT_TYPE_READ"
	PlatformOAuthClientDtoPermissionsEVENTTYPEWRITE PlatformOAuthClientDtoPermissions = "EVENT_TYPE_WRITE"
	PlatformOAuthClientDtoPermissionsPROFILEREAD    PlatformOAuthClientDtoPermissions = "PROFILE_READ"
	PlatformOAuthClientDtoPermissionsPROFILEWRITE   PlatformOAuthClientDtoPermissions = "PROFILE_WRITE"
	PlatformOAuthClientDtoPermissionsSCHEDULEREAD   PlatformOAuthClientDtoPermissions = "SCHEDULE_READ"
	PlatformOAuthClientDtoPermissionsSCHEDULEWRITE  PlatformOAuthClientDtoPermissions = "SCHEDULE_WRITE"
)

Defines values for PlatformOAuthClientDtoPermissions.

func (PlatformOAuthClientDtoPermissions) Valid

Valid indicates whether the value is a known member of the PlatformOAuthClientDtoPermissions enum.

type Primary

type Primary struct {
	CredentialId           float64 `json:"credentialId"`
	DelegationCredentialId *string `json:"delegationCredentialId,omitempty"`
	Email                  *string `json:"email,omitempty"`
	ExternalId             string  `json:"externalId"`
	Integration            *string `json:"integration,omitempty"`
	IsSelected             bool    `json:"isSelected"`
	Name                   *string `json:"name,omitempty"`
	Primary                *bool   `json:"primary"`
	ReadOnly               bool    `json:"readOnly"`
}

Primary defines model for Primary.

type RadioGroupFieldInput20240614

type RadioGroupFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `language` and options of this select field are ['english', 'italian'] and the URL contains query parameter `&language=italian`,      the 'italian' radio button will be selected and the select field will be disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{language: 'italian'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// Label Example: Select one option
	Label string `json:"label"`

	// Options Example: ["Radio 1","Radio 2"]
	Options  []string `json:"options"`
	Required bool     `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `radio`
	//
	// Example: radio
	Type string `json:"type"`
}

RadioGroupFieldInput20240614 defines model for RadioGroupFieldInput_2024_06_14.

type RadioGroupFieldOutput20240614

type RadioGroupFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `language` and options of this select field are ['english', 'italian'] and the URL contains query parameter `&language=italian`,      the 'italian' radio button will be selected and the select field will be disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{language: 'italian'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always false because it's not default field but custom field
	//
	// Example: false
	IsDefault map[string]interface{} `json:"isDefault"`

	// Label Example: Select one option
	Label string `json:"label"`

	// Options Example: ["Radio 1","Radio 2"]
	Options  []string `json:"options"`
	Required bool     `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `radio`
	//
	// Example: radio
	Type string `json:"type"`
}

RadioGroupFieldOutput20240614 defines model for RadioGroupFieldOutput_2024_06_14.

type RangeWindow20240614

type RangeWindow20240614 struct {
	// Type Whether the window should be business days, calendar days or a range of dates
	Type RangeWindow20240614Type `json:"type"`

	// Value Date range for when this event can be booked.
	//
	// Example: ["2030-09-05","2030-09-09"]
	Value []string `json:"value"`
}

RangeWindow20240614 defines model for RangeWindow_2024_06_14.

type RangeWindow20240614Type

type RangeWindow20240614Type string

RangeWindow20240614Type Whether the window should be business days, calendar days or a range of dates

const (
	RangeWindow20240614TypeBusinessDays RangeWindow20240614Type = "businessDays"
	RangeWindow20240614TypeCalendarDays RangeWindow20240614Type = "calendarDays"
	RangeWindow20240614TypeRange        RangeWindow20240614Type = "range"
)

Defines values for RangeWindow20240614Type.

func (RangeWindow20240614Type) Valid

func (e RangeWindow20240614Type) Valid() bool

Valid indicates whether the value is a known member of the RangeWindow20240614Type enum.

type ReassignBookingOutput20240813

type ReassignBookingOutput20240813 struct {
	// Data Booking data, which can be either a ReassignAutoBookingOutput object or a ReassignManualBookingOutput object
	Data map[string]interface{} `json:"data"`

	// Status Example: success
	Status ReassignBookingOutput20240813Status `json:"status"`
}

ReassignBookingOutput20240813 defines model for ReassignBookingOutput_2024_08_13.

type ReassignBookingOutput20240813Status

type ReassignBookingOutput20240813Status string

ReassignBookingOutput20240813Status Example: success

const (
	ReassignBookingOutput20240813StatusError   ReassignBookingOutput20240813Status = "error"
	ReassignBookingOutput20240813StatusSuccess ReassignBookingOutput20240813Status = "success"
)

Defines values for ReassignBookingOutput20240813Status.

func (ReassignBookingOutput20240813Status) Valid

Valid indicates whether the value is a known member of the ReassignBookingOutput20240813Status enum.

type ReassignToUserBookingInput20240813

type ReassignToUserBookingInput20240813 struct {
	// Reason Reason for reassigning the booking
	//
	// Example: Host has to take another call
	Reason *string `json:"reason,omitempty"`
}

ReassignToUserBookingInput20240813 defines model for ReassignToUserBookingInput_2024_08_13.

type RecordingItem

type RecordingItem struct {
	// DownloadLink Example: https://cal-video-recordings.s3.us-east-2.amazonaws.com/meetco/123s
	DownloadLink *string `json:"downloadLink,omitempty"`

	// Duration Example: 3600
	Duration float64 `json:"duration"`

	// Error Example: Error message
	Error *string `json:"error,omitempty"`

	// Id Example: 1234567890
	Id string `json:"id"`

	// MaxParticipants Example: 10
	MaxParticipants *float64 `json:"maxParticipants,omitempty"`

	// RoomName Example: daily-video-room-123
	RoomName string `json:"roomName"`

	// ShareToken Example: share-token-123
	ShareToken string `json:"shareToken"`

	// StartTs Example: 1678901234
	StartTs float64 `json:"startTs"`

	// Status Example: completed
	Status string `json:"status"`
}

RecordingItem defines model for RecordingItem.

type Recurrence20240614

type Recurrence20240614 struct {
	Frequency Recurrence20240614Frequency `json:"frequency"`

	// Interval Repeats every {count} week | month | year
	//
	// Example: 10
	Interval float64 `json:"interval"`

	// Occurrences Repeats for a maximum of {count} events
	//
	// Example: 10
	Occurrences float64 `json:"occurrences"`
}

Recurrence20240614 defines model for Recurrence_2024_06_14.

type Recurrence20240614Frequency

type Recurrence20240614Frequency string

Recurrence20240614Frequency defines model for Recurrence20240614.Frequency.

const (
	Recurrence20240614FrequencyMonthly Recurrence20240614Frequency = "monthly"
	Recurrence20240614FrequencyWeekly  Recurrence20240614Frequency = "weekly"
	Recurrence20240614FrequencyYearly  Recurrence20240614Frequency = "yearly"
)

Defines values for Recurrence20240614Frequency.

func (Recurrence20240614Frequency) Valid

Valid indicates whether the value is a known member of the Recurrence20240614Frequency enum.

type RecurringBookingOutput20240813

type RecurringBookingOutput20240813 struct {
	// AbsentHost Example: true
	AbsentHost bool              `json:"absentHost"`
	Attendees  []BookingAttendee `json:"attendees"`

	// BookingFieldsResponses Booking field responses consisting of an object with booking field slug as keys and user response as values.
	//
	// Example: {"customField":"customValue"}
	BookingFieldsResponses map[string]interface{} `json:"bookingFieldsResponses"`

	// CancellationReason Example: User requested cancellation
	CancellationReason *string `json:"cancellationReason,omitempty"`

	// CancelledByEmail Example: canceller@example.com
	CancelledByEmail *string `json:"cancelledByEmail,omitempty"`

	// CreatedAt Example: 2024-08-13T15:30:00Z
	CreatedAt string `json:"createdAt"`

	// Description Example: Learn how to integrate scheduling into marketplace.
	Description string `json:"description"`

	// Duration Example: 60
	Duration float64 `json:"duration"`

	// End Example: 2024-08-13T16:30:00Z
	End       string    `json:"end"`
	EventType EventType `json:"eventType"`

	// EventTypeId Deprecated - rely on 'eventType' object containing the id instead.
	//
	// Example: 50
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	EventTypeId float64 `json:"eventTypeId"`

	// Guests Example: ["guest1@example.com","guest2@example.com"]
	Guests *[]string     `json:"guests,omitempty"`
	Hosts  []BookingHost `json:"hosts"`

	// IcsUid UID of ICS event.
	//
	// Example: ics_uid_123
	IcsUid *string `json:"icsUid,omitempty"`

	// Id Example: 123
	Id float64 `json:"id"`

	// Location Example: https://example.com/meeting
	Location string `json:"location"`

	// MeetingUrl Deprecated - rely on 'location' field instead.
	//
	// Example: https://example.com/recurring-meeting
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MeetingUrl *string `json:"meetingUrl,omitempty"`

	// Metadata Example: {"key":"value"}
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Rating Example: 4
	Rating *float64 `json:"rating,omitempty"`

	// RecurringBookingUid Example: recurring_uid_987
	RecurringBookingUid string `json:"recurringBookingUid"`

	// RescheduledByEmail Example: rescheduler@example.com
	RescheduledByEmail *string `json:"rescheduledByEmail,omitempty"`

	// RescheduledFromUid UID of the previous booking from which this booking was rescheduled.
	//
	// Example: previous_uid_123
	RescheduledFromUid *string `json:"rescheduledFromUid,omitempty"`

	// RescheduledToUid UID of the new booking to which this booking was rescheduled.
	//
	// Example: new_uid_456
	RescheduledToUid *string `json:"rescheduledToUid,omitempty"`

	// ReschedulingReason Example: User rescheduled the event
	ReschedulingReason *string `json:"reschedulingReason,omitempty"`

	// Start Example: 2024-08-13T15:30:00Z
	Start string `json:"start"`

	// Status Example: accepted
	Status RecurringBookingOutput20240813Status `json:"status"`

	// Title Example: Consultation
	Title string `json:"title"`

	// Uid Example: booking_uid_123
	Uid string `json:"uid"`

	// UpdatedAt Example: 2024-08-13T15:30:00Z
	UpdatedAt string `json:"updatedAt"`
}

RecurringBookingOutput20240813 defines model for RecurringBookingOutput_2024_08_13.

type RecurringBookingOutput20240813Status

type RecurringBookingOutput20240813Status string

RecurringBookingOutput20240813Status Example: accepted

const (
	RecurringBookingOutput20240813StatusAccepted  RecurringBookingOutput20240813Status = "accepted"
	RecurringBookingOutput20240813StatusCancelled RecurringBookingOutput20240813Status = "cancelled"
	RecurringBookingOutput20240813StatusPending   RecurringBookingOutput20240813Status = "pending"
	RecurringBookingOutput20240813StatusRejected  RecurringBookingOutput20240813Status = "rejected"
)

Defines values for RecurringBookingOutput20240813Status.

func (RecurringBookingOutput20240813Status) Valid

Valid indicates whether the value is a known member of the RecurringBookingOutput20240813Status enum.

type RefreshApiKeyInput

type RefreshApiKeyInput struct {
	// ApiKeyDaysValid For how many days is managed organization api key valid. Defaults to 30 days.
	//
	// Example: 60
	ApiKeyDaysValid *float64 `json:"apiKeyDaysValid,omitempty"`

	// ApiKeyNeverExpires If true, organization api key never expires.
	//
	// Example: true
	ApiKeyNeverExpires *bool `json:"apiKeyNeverExpires,omitempty"`
}

RefreshApiKeyInput defines model for RefreshApiKeyInput.

type RefreshApiKeyOutput

type RefreshApiKeyOutput struct {
	Data ApiKeyOutput `json:"data"`

	// Status Example: success
	Status RefreshApiKeyOutputStatus `json:"status"`
}

RefreshApiKeyOutput defines model for RefreshApiKeyOutput.

type RefreshApiKeyOutputStatus

type RefreshApiKeyOutputStatus string

RefreshApiKeyOutputStatus Example: success

const (
	RefreshApiKeyOutputStatusError   RefreshApiKeyOutputStatus = "error"
	RefreshApiKeyOutputStatusSuccess RefreshApiKeyOutputStatus = "success"
)

Defines values for RefreshApiKeyOutputStatus.

func (RefreshApiKeyOutputStatus) Valid

func (e RefreshApiKeyOutputStatus) Valid() bool

Valid indicates whether the value is a known member of the RefreshApiKeyOutputStatus enum.

type RefreshTokenInput

type RefreshTokenInput struct {
	// RefreshToken Managed user's refresh token.
	RefreshToken string `json:"refreshToken"`
}

RefreshTokenInput defines model for RefreshTokenInput.

type RemoveAttendeeOutput20240813

type RemoveAttendeeOutput20240813 struct {
	Data RemovedAttendeeOutput20240813 `json:"data"`

	// Status Example: success
	Status RemoveAttendeeOutput20240813Status `json:"status"`
}

RemoveAttendeeOutput20240813 defines model for RemoveAttendeeOutput_2024_08_13.

type RemoveAttendeeOutput20240813Status

type RemoveAttendeeOutput20240813Status string

RemoveAttendeeOutput20240813Status Example: success

const (
	RemoveAttendeeOutput20240813StatusError   RemoveAttendeeOutput20240813Status = "error"
	RemoveAttendeeOutput20240813StatusSuccess RemoveAttendeeOutput20240813Status = "success"
)

Defines values for RemoveAttendeeOutput20240813Status.

func (RemoveAttendeeOutput20240813Status) Valid

Valid indicates whether the value is a known member of the RemoveAttendeeOutput20240813Status enum.

type RemovedAttendeeOutput20240813

type RemovedAttendeeOutput20240813 struct {
	// BookingId The ID of the booking.
	//
	// Example: 456
	BookingId float64 `json:"bookingId"`

	// Email The email of the attendee.
	//
	// Example: john.doe@example.com
	Email string `json:"email"`

	// Id The ID of the attendee.
	//
	// Example: 123
	Id float64 `json:"id"`

	// Name The name of the attendee.
	//
	// Example: John Doe
	Name string `json:"name"`

	// TimeZone The time zone of the attendee.
	//
	// Example: America/New_York
	TimeZone string `json:"timeZone"`
}

RemovedAttendeeOutput20240813 defines model for RemovedAttendeeOutput_2024_08_13.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequestEmailVerificationInput

type RequestEmailVerificationInput struct {
	// Email Email to verify.
	//
	// Example: acme@example.com
	Email string `json:"email"`
}

RequestEmailVerificationInput defines model for RequestEmailVerificationInput.

type RequestEmailVerificationOutput

type RequestEmailVerificationOutput struct {
	// Status Example: success
	Status RequestEmailVerificationOutputStatus `json:"status"`
}

RequestEmailVerificationOutput defines model for RequestEmailVerificationOutput.

type RequestEmailVerificationOutputStatus

type RequestEmailVerificationOutputStatus string

RequestEmailVerificationOutputStatus Example: success

const (
	RequestEmailVerificationOutputStatusError   RequestEmailVerificationOutputStatus = "error"
	RequestEmailVerificationOutputStatusSuccess RequestEmailVerificationOutputStatus = "success"
)

Defines values for RequestEmailVerificationOutputStatus.

func (RequestEmailVerificationOutputStatus) Valid

Valid indicates whether the value is a known member of the RequestEmailVerificationOutputStatus enum.

type RequestPhoneVerificationInput

type RequestPhoneVerificationInput struct {
	// Phone Phone number to verify.
	//
	// Example: +372 5555 6666
	Phone string `json:"phone"`
}

RequestPhoneVerificationInput defines model for RequestPhoneVerificationInput.

type RequestPhoneVerificationOutput

type RequestPhoneVerificationOutput struct {
	// Status Example: success
	Status RequestPhoneVerificationOutputStatus `json:"status"`
}

RequestPhoneVerificationOutput defines model for RequestPhoneVerificationOutput.

type RequestPhoneVerificationOutputStatus

type RequestPhoneVerificationOutputStatus string

RequestPhoneVerificationOutputStatus Example: success

const (
	RequestPhoneVerificationOutputStatusError   RequestPhoneVerificationOutputStatus = "error"
	RequestPhoneVerificationOutputStatusSuccess RequestPhoneVerificationOutputStatus = "success"
)

Defines values for RequestPhoneVerificationOutputStatus.

func (RequestPhoneVerificationOutputStatus) Valid

Valid indicates whether the value is a known member of the RequestPhoneVerificationOutputStatus enum.

type RescheduleBookingInput20240813

type RescheduleBookingInput20240813 struct {
	// EmailVerificationCode Email verification code required when event type has email verification enabled.
	//
	// Example: 123456
	EmailVerificationCode *string `json:"emailVerificationCode,omitempty"`

	// RescheduledBy Email of the person who is rescheduling the booking - only needed when rescheduling a booking that requires a confirmation.
	// If event type owner email is provided then rescheduled booking will be automatically confirmed. If attendee email or no email is passed then the event type
	// owner will have to confirm the rescheduled booking.
	RescheduledBy *string `json:"rescheduledBy,omitempty"`

	// ReschedulingReason Reason for rescheduling the booking
	//
	// Example: User requested reschedule
	ReschedulingReason *string `json:"reschedulingReason,omitempty"`

	// Start The start time of the booking in ISO 8601 format in UTC timezone.
	//
	// Example: 2024-08-13T09:00:00Z
	Start string `json:"start"`
}

RescheduleBookingInput20240813 defines model for RescheduleBookingInput_2024_08_13.

type RescheduleBookingOutput20240813

type RescheduleBookingOutput20240813 struct {
	// Data Booking data, which can be either a BookingOutput object or a RecurringBookingOutput object
	Data RescheduleBookingOutput20240813_Data `json:"data"`

	// Status Example: success
	Status RescheduleBookingOutput20240813Status `json:"status"`
}

RescheduleBookingOutput20240813 defines model for RescheduleBookingOutput_2024_08_13.

type RescheduleBookingOutput20240813Status

type RescheduleBookingOutput20240813Status string

RescheduleBookingOutput20240813Status Example: success

const (
	RescheduleBookingOutput20240813StatusError   RescheduleBookingOutput20240813Status = "error"
	RescheduleBookingOutput20240813StatusSuccess RescheduleBookingOutput20240813Status = "success"
)

Defines values for RescheduleBookingOutput20240813Status.

func (RescheduleBookingOutput20240813Status) Valid

Valid indicates whether the value is a known member of the RescheduleBookingOutput20240813Status enum.

type RescheduleBookingOutput20240813_Data

type RescheduleBookingOutput20240813_Data struct {
	// contains filtered or unexported fields
}

RescheduleBookingOutput20240813_Data Booking data, which can be either a BookingOutput object or a RecurringBookingOutput object

func (RescheduleBookingOutput20240813_Data) AsBookingOutput20240813

func (t RescheduleBookingOutput20240813_Data) AsBookingOutput20240813() (BookingOutput20240813, error)

AsBookingOutput20240813 returns the union data inside the RescheduleBookingOutput20240813_Data as a BookingOutput20240813

func (RescheduleBookingOutput20240813_Data) AsCreateRecurringSeatedBookingOutput20240813

func (t RescheduleBookingOutput20240813_Data) AsCreateRecurringSeatedBookingOutput20240813() (CreateRecurringSeatedBookingOutput20240813, error)

AsCreateRecurringSeatedBookingOutput20240813 returns the union data inside the RescheduleBookingOutput20240813_Data as a CreateRecurringSeatedBookingOutput20240813

func (RescheduleBookingOutput20240813_Data) AsCreateSeatedBookingOutput20240813

func (t RescheduleBookingOutput20240813_Data) AsCreateSeatedBookingOutput20240813() (CreateSeatedBookingOutput20240813, error)

AsCreateSeatedBookingOutput20240813 returns the union data inside the RescheduleBookingOutput20240813_Data as a CreateSeatedBookingOutput20240813

func (RescheduleBookingOutput20240813_Data) AsRecurringBookingOutput20240813

func (t RescheduleBookingOutput20240813_Data) AsRecurringBookingOutput20240813() (RecurringBookingOutput20240813, error)

AsRecurringBookingOutput20240813 returns the union data inside the RescheduleBookingOutput20240813_Data as a RecurringBookingOutput20240813

func (*RescheduleBookingOutput20240813_Data) FromBookingOutput20240813

func (t *RescheduleBookingOutput20240813_Data) FromBookingOutput20240813(v BookingOutput20240813) error

FromBookingOutput20240813 overwrites any union data inside the RescheduleBookingOutput20240813_Data as the provided BookingOutput20240813

func (*RescheduleBookingOutput20240813_Data) FromCreateRecurringSeatedBookingOutput20240813

func (t *RescheduleBookingOutput20240813_Data) FromCreateRecurringSeatedBookingOutput20240813(v CreateRecurringSeatedBookingOutput20240813) error

FromCreateRecurringSeatedBookingOutput20240813 overwrites any union data inside the RescheduleBookingOutput20240813_Data as the provided CreateRecurringSeatedBookingOutput20240813

func (*RescheduleBookingOutput20240813_Data) FromCreateSeatedBookingOutput20240813

func (t *RescheduleBookingOutput20240813_Data) FromCreateSeatedBookingOutput20240813(v CreateSeatedBookingOutput20240813) error

FromCreateSeatedBookingOutput20240813 overwrites any union data inside the RescheduleBookingOutput20240813_Data as the provided CreateSeatedBookingOutput20240813

func (*RescheduleBookingOutput20240813_Data) FromRecurringBookingOutput20240813

func (t *RescheduleBookingOutput20240813_Data) FromRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

FromRecurringBookingOutput20240813 overwrites any union data inside the RescheduleBookingOutput20240813_Data as the provided RecurringBookingOutput20240813

func (RescheduleBookingOutput20240813_Data) MarshalJSON

func (t RescheduleBookingOutput20240813_Data) MarshalJSON() ([]byte, error)

func (*RescheduleBookingOutput20240813_Data) MergeBookingOutput20240813

func (t *RescheduleBookingOutput20240813_Data) MergeBookingOutput20240813(v BookingOutput20240813) error

MergeBookingOutput20240813 performs a merge with any union data inside the RescheduleBookingOutput20240813_Data, using the provided BookingOutput20240813

func (*RescheduleBookingOutput20240813_Data) MergeCreateRecurringSeatedBookingOutput20240813

func (t *RescheduleBookingOutput20240813_Data) MergeCreateRecurringSeatedBookingOutput20240813(v CreateRecurringSeatedBookingOutput20240813) error

MergeCreateRecurringSeatedBookingOutput20240813 performs a merge with any union data inside the RescheduleBookingOutput20240813_Data, using the provided CreateRecurringSeatedBookingOutput20240813

func (*RescheduleBookingOutput20240813_Data) MergeCreateSeatedBookingOutput20240813

func (t *RescheduleBookingOutput20240813_Data) MergeCreateSeatedBookingOutput20240813(v CreateSeatedBookingOutput20240813) error

MergeCreateSeatedBookingOutput20240813 performs a merge with any union data inside the RescheduleBookingOutput20240813_Data, using the provided CreateSeatedBookingOutput20240813

func (*RescheduleBookingOutput20240813_Data) MergeRecurringBookingOutput20240813

func (t *RescheduleBookingOutput20240813_Data) MergeRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

MergeRecurringBookingOutput20240813 performs a merge with any union data inside the RescheduleBookingOutput20240813_Data, using the provided RecurringBookingOutput20240813

func (*RescheduleBookingOutput20240813_Data) UnmarshalJSON

func (t *RescheduleBookingOutput20240813_Data) UnmarshalJSON(b []byte) error

type RescheduleReasonDefaultFieldInput20240614

type RescheduleReasonDefaultFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if URL contains query parameter `&rescheduleReason=travel`,      the rescheduleReason field will be prefilled with this value and disabled. In case of Booker atom need to pass 'rescheduleReason' to defaultFormValues prop with the desired value e.g. `defaultFormValues={{rescheduleReason: 'bob'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden      *bool   `json:"hidden,omitempty"`
	Label       *string `json:"label,omitempty"`
	Placeholder *string `json:"placeholder,omitempty"`
	Required    *bool   `json:"required,omitempty"`

	// Slug only allowed value for type is `rescheduleReason`
	//
	// Example: rescheduleReason
	Slug string `json:"slug"`
}

RescheduleReasonDefaultFieldInput20240614 defines model for RescheduleReasonDefaultFieldInput_2024_06_14.

type RescheduleReasonDefaultFieldOutput20240614

type RescheduleReasonDefaultFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if URL contains query parameter `&rescheduleReason=busy`,      the reschedule reason field will be prefilled with this value and disabled.
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden *bool `json:"hidden,omitempty"`

	// IsDefault This property is always true because it's a default field
	//
	// Example: true
	IsDefault   map[string]interface{} `json:"isDefault"`
	Label       *string                `json:"label,omitempty"`
	Placeholder *string                `json:"placeholder,omitempty"`
	Required    *bool                  `json:"required,omitempty"`

	// Slug only allowed value for type is `rescheduleReason`
	//
	// Example: rescheduleReason
	Slug string `json:"slug"`
	Type string `json:"type"`
}

RescheduleReasonDefaultFieldOutput20240614 defines model for RescheduleReasonDefaultFieldOutput_2024_06_14.

type RescheduleSeatedBookingInput20240813

type RescheduleSeatedBookingInput20240813 struct {
	// EmailVerificationCode Email verification code required when event type has email verification enabled.
	//
	// Example: 123456
	EmailVerificationCode *string `json:"emailVerificationCode,omitempty"`

	// RescheduledBy Email of the person who is rescheduling the booking - only needed when rescheduling a booking that requires a confirmation.
	// If event type owner email is provided then rescheduled booking will be automatically confirmed. If attendee email or no email is passed then the event type
	// owner will have to confirm the rescheduled booking.
	RescheduledBy *string `json:"rescheduledBy,omitempty"`

	// SeatUid Uid of the specific seat within booking.
	//
	// Example: 3be561a9-31f1-4b8e-aefc-9d9a085f0dd1
	SeatUid string `json:"seatUid"`

	// Start The start time of the booking in ISO 8601 format in UTC timezone.
	//
	// Example: 2024-08-13T09:00:00Z
	Start string `json:"start"`
}

RescheduleSeatedBookingInput20240813 defines model for RescheduleSeatedBookingInput_2024_08_13.

type ReserveSlotInput20240904

type ReserveSlotInput20240904 struct {
	// EventTypeId The ID of the event type for which slot should be reserved.
	//
	// Example: 1
	EventTypeId float64 `json:"eventTypeId"`

	// ReservationDuration ONLY for authenticated requests with api key, access token or OAuth credentials (ID + secret).
	//
	//       For how many minutes the slot should be reserved - for this long time noone else can book this event type at `start` time. If not provided, defaults to 5 minutes.
	//
	// Example: 5
	ReservationDuration *float64 `json:"reservationDuration,omitempty"`

	// SlotDuration By default slot duration is equal to event type length, but if you want to reserve a slot for an event type that has a variable length you can specify it here as a number in minutes. If you don't have this set explicitly that event type can have one of many lengths you can omit this.
	//
	// Example: 30
	SlotDuration *float64 `json:"slotDuration,omitempty"`

	// SlotStart ISO 8601 datestring in UTC timezone representing available slot.
	//
	// Example: 2024-09-04T09:00:00Z
	SlotStart string `json:"slotStart"`
}

ReserveSlotInput20240904 defines model for ReserveSlotInput_2024_09_04.

type ReserveSlotOutput20240904

type ReserveSlotOutput20240904 struct {
	// EventTypeId The ID of the event type for which slot was reserved.
	//
	// Example: 1
	EventTypeId float64 `json:"eventTypeId"`

	// ReservationDuration For how many minutes the slot is reserved - for this long time noone else can book this event type at `start` time.
	//
	// Example: 5
	ReservationDuration float64 `json:"reservationDuration"`

	// ReservationUid The unique identifier of the reservation. Use it to update, get or delete the reservation.
	//
	// Example: e84be5a3-4696-49e3-acc7-b2f3999c3b94
	ReservationUid string `json:"reservationUid"`

	// ReservationUntil ISO 8601 datestring in UTC timezone representing time until which the slot is reserved.
	//
	// Example: 2023-09-04T10:00:00Z
	ReservationUntil string `json:"reservationUntil"`

	// SlotDuration By default slot duration is equal to event type length, but if you want to reserve a slot for an event type that has a variable length you can specify it here. If you don't have this set explicitly that event type can have one of many lengths you can omit this.
	//
	// Example: 30
	SlotDuration float64 `json:"slotDuration"`

	// SlotEnd ISO 8601 datestring in UTC timezone representing slot end.
	//
	// Example: 2024-09-04T10:00:00Z
	SlotEnd string `json:"slotEnd"`

	// SlotStart ISO 8601 datestring in UTC timezone representing available slot.
	//
	// Example: 2024-09-04T09:00:00Z
	SlotStart string `json:"slotStart"`
}

ReserveSlotOutput20240904 defines model for ReserveSlotOutput_2024_09_04.

type ReserveSlotOutputResponse20240904

type ReserveSlotOutputResponse20240904 struct {
	Data ReserveSlotOutput20240904 `json:"data"`

	// Status Example: success
	Status ReserveSlotOutputResponse20240904Status `json:"status"`
}

ReserveSlotOutputResponse20240904 defines model for ReserveSlotOutputResponse_2024_09_04.

type ReserveSlotOutputResponse20240904Status

type ReserveSlotOutputResponse20240904Status string

ReserveSlotOutputResponse20240904Status Example: success

const (
	ReserveSlotOutputResponse20240904StatusError   ReserveSlotOutputResponse20240904Status = "error"
	ReserveSlotOutputResponse20240904StatusSuccess ReserveSlotOutputResponse20240904Status = "success"
)

Defines values for ReserveSlotOutputResponse20240904Status.

func (ReserveSlotOutputResponse20240904Status) Valid

Valid indicates whether the value is a known member of the ReserveSlotOutputResponse20240904Status enum.

type Routing

type Routing struct {
	// CrmAppSlug The CRM application slug for integration.
	//
	// Example: salesforce
	CrmAppSlug *string `json:"crmAppSlug,omitempty"`

	// CrmOwnerRecordType The CRM owner record type for contact assignment.
	//
	// Example: Account
	CrmOwnerRecordType *string `json:"crmOwnerRecordType,omitempty"`

	// ResponseId The ID of the routing form response that determined this booking assignment.
	//
	// Example: 123
	ResponseId float64 `json:"responseId"`

	// SkipContactOwner Whether to skip contact owner assignment from CRM integration.
	//
	// Example: true
	SkipContactOwner *bool `json:"skipContactOwner,omitempty"`

	// TeamMemberEmail The email of the team member assigned to handle this booking.
	//
	// Example: john.doe@example.com
	TeamMemberEmail *string `json:"teamMemberEmail,omitempty"`

	// TeamMemberIds Array of team member IDs that were routed to handle this booking.
	//
	// Example: [101,102]
	TeamMemberIds []float64 `json:"teamMemberIds"`
}

Routing defines model for Routing.

type ScheduleAvailabilityInput20240611

type ScheduleAvailabilityInput20240611 struct {
	// Days Array of days when schedule is active.
	//
	// Example: ["Monday","Tuesday"]
	Days []ScheduleAvailabilityInput20240611Days `json:"days"`

	// EndTime endTime must be a valid time in format HH:MM e.g. 15:00
	//
	// Example: 15:00
	EndTime string `json:"endTime"`

	// StartTime startTime must be a valid time in format HH:MM e.g. 08:00
	//
	// Example: 08:00
	StartTime string `json:"startTime"`
}

ScheduleAvailabilityInput20240611 defines model for ScheduleAvailabilityInput_2024_06_11.

type ScheduleAvailabilityInput20240611Days

type ScheduleAvailabilityInput20240611Days string

ScheduleAvailabilityInput20240611Days defines model for ScheduleAvailabilityInput20240611.Days.

const (
	ScheduleAvailabilityInput20240611DaysFriday    ScheduleAvailabilityInput20240611Days = "Friday"
	ScheduleAvailabilityInput20240611DaysMonday    ScheduleAvailabilityInput20240611Days = "Monday"
	ScheduleAvailabilityInput20240611DaysSaturday  ScheduleAvailabilityInput20240611Days = "Saturday"
	ScheduleAvailabilityInput20240611DaysSunday    ScheduleAvailabilityInput20240611Days = "Sunday"
	ScheduleAvailabilityInput20240611DaysThursday  ScheduleAvailabilityInput20240611Days = "Thursday"
	ScheduleAvailabilityInput20240611DaysTuesday   ScheduleAvailabilityInput20240611Days = "Tuesday"
	ScheduleAvailabilityInput20240611DaysWednesday ScheduleAvailabilityInput20240611Days = "Wednesday"
)

Defines values for ScheduleAvailabilityInput20240611Days.

func (ScheduleAvailabilityInput20240611Days) Valid

Valid indicates whether the value is a known member of the ScheduleAvailabilityInput20240611Days enum.

type ScheduleOutput20240611

type ScheduleOutput20240611 struct {
	// Availability Example: [{"days":["Monday","Tuesday"],"endTime":"19:00","startTime":"17:00"},{"days":["Wednesday","Thursday"],"endTime":"20:00","startTime":"16:00"}]
	Availability []ScheduleAvailabilityInput20240611 `json:"availability"`

	// Id Example: 254
	Id float64 `json:"id"`

	// IsDefault Example: true
	IsDefault bool `json:"isDefault"`

	// Name Example: Catch up hours
	Name string `json:"name"`

	// Overrides Example: [{"date":"2024-05-20","endTime":"21:00","startTime":"18:00"}]
	Overrides []ScheduleOverrideInput20240611 `json:"overrides"`

	// OwnerId Example: 478
	OwnerId float64 `json:"ownerId"`

	// TimeZone Example: Europe/Rome
	TimeZone string `json:"timeZone"`
}

ScheduleOutput20240611 defines model for ScheduleOutput_2024_06_11.

type ScheduleOverrideInput20240611

type ScheduleOverrideInput20240611 struct {
	// Date Example: 2024-05-20
	Date string `json:"date"`

	// EndTime endTime must be a valid time in format HH:MM e.g. 13:00
	//
	// Example: 13:00
	EndTime string `json:"endTime"`

	// StartTime startTime must be a valid time in format HH:MM e.g. 12:00
	//
	// Example: 12:00
	StartTime string `json:"startTime"`
}

ScheduleOverrideInput20240611 defines model for ScheduleOverrideInput_2024_06_11.

type SchedulesController20240611CreateScheduleJSONRequestBody

type SchedulesController20240611CreateScheduleJSONRequestBody = CreateScheduleInput20240611

SchedulesController20240611CreateScheduleJSONRequestBody defines body for SchedulesController20240611CreateSchedule for application/json ContentType.

type SchedulesController20240611CreateScheduleParams

type SchedulesController20240611CreateScheduleParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`

	// CalApiVersion Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`
}

SchedulesController20240611CreateScheduleParams defines parameters for SchedulesController20240611CreateSchedule.

type SchedulesController20240611CreateScheduleResponse

type SchedulesController20240611CreateScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CreateScheduleOutput20240611
}

func ParseSchedulesController20240611CreateScheduleResponse

func ParseSchedulesController20240611CreateScheduleResponse(rsp *http.Response) (*SchedulesController20240611CreateScheduleResponse, error)

ParseSchedulesController20240611CreateScheduleResponse parses an HTTP response from a SchedulesController20240611CreateScheduleWithResponse call

func (SchedulesController20240611CreateScheduleResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SchedulesController20240611CreateScheduleResponse) GetBody

GetBody returns the raw response body bytes

func (SchedulesController20240611CreateScheduleResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (SchedulesController20240611CreateScheduleResponse) Status

Status returns HTTPResponse.Status

func (SchedulesController20240611CreateScheduleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SchedulesController20240611DeleteScheduleParams

type SchedulesController20240611DeleteScheduleParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`

	// CalApiVersion Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`
}

SchedulesController20240611DeleteScheduleParams defines parameters for SchedulesController20240611DeleteSchedule.

type SchedulesController20240611DeleteScheduleResponse

type SchedulesController20240611DeleteScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeleteScheduleOutput20240611
}

func ParseSchedulesController20240611DeleteScheduleResponse

func ParseSchedulesController20240611DeleteScheduleResponse(rsp *http.Response) (*SchedulesController20240611DeleteScheduleResponse, error)

ParseSchedulesController20240611DeleteScheduleResponse parses an HTTP response from a SchedulesController20240611DeleteScheduleWithResponse call

func (SchedulesController20240611DeleteScheduleResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SchedulesController20240611DeleteScheduleResponse) GetBody

GetBody returns the raw response body bytes

func (SchedulesController20240611DeleteScheduleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SchedulesController20240611DeleteScheduleResponse) Status

Status returns HTTPResponse.Status

func (SchedulesController20240611DeleteScheduleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SchedulesController20240611GetDefaultScheduleParams

type SchedulesController20240611GetDefaultScheduleParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`

	// CalApiVersion Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`
}

SchedulesController20240611GetDefaultScheduleParams defines parameters for SchedulesController20240611GetDefaultSchedule.

type SchedulesController20240611GetDefaultScheduleResponse

type SchedulesController20240611GetDefaultScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetDefaultScheduleOutput20240611
}

func ParseSchedulesController20240611GetDefaultScheduleResponse

func ParseSchedulesController20240611GetDefaultScheduleResponse(rsp *http.Response) (*SchedulesController20240611GetDefaultScheduleResponse, error)

ParseSchedulesController20240611GetDefaultScheduleResponse parses an HTTP response from a SchedulesController20240611GetDefaultScheduleWithResponse call

func (SchedulesController20240611GetDefaultScheduleResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SchedulesController20240611GetDefaultScheduleResponse) GetBody

GetBody returns the raw response body bytes

func (SchedulesController20240611GetDefaultScheduleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SchedulesController20240611GetDefaultScheduleResponse) Status

Status returns HTTPResponse.Status

func (SchedulesController20240611GetDefaultScheduleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SchedulesController20240611GetScheduleParams

type SchedulesController20240611GetScheduleParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`

	// CalApiVersion Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`
}

SchedulesController20240611GetScheduleParams defines parameters for SchedulesController20240611GetSchedule.

type SchedulesController20240611GetScheduleResponse

type SchedulesController20240611GetScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetScheduleOutput20240611
}

func ParseSchedulesController20240611GetScheduleResponse

func ParseSchedulesController20240611GetScheduleResponse(rsp *http.Response) (*SchedulesController20240611GetScheduleResponse, error)

ParseSchedulesController20240611GetScheduleResponse parses an HTTP response from a SchedulesController20240611GetScheduleWithResponse call

func (SchedulesController20240611GetScheduleResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SchedulesController20240611GetScheduleResponse) GetBody

GetBody returns the raw response body bytes

func (SchedulesController20240611GetScheduleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SchedulesController20240611GetScheduleResponse) Status

Status returns HTTPResponse.Status

func (SchedulesController20240611GetScheduleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SchedulesController20240611GetSchedulesParams

type SchedulesController20240611GetSchedulesParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`

	// CalApiVersion Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`
}

SchedulesController20240611GetSchedulesParams defines parameters for SchedulesController20240611GetSchedules.

type SchedulesController20240611GetSchedulesResponse

type SchedulesController20240611GetSchedulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetSchedulesOutput20240611
}

func ParseSchedulesController20240611GetSchedulesResponse

func ParseSchedulesController20240611GetSchedulesResponse(rsp *http.Response) (*SchedulesController20240611GetSchedulesResponse, error)

ParseSchedulesController20240611GetSchedulesResponse parses an HTTP response from a SchedulesController20240611GetSchedulesWithResponse call

func (SchedulesController20240611GetSchedulesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SchedulesController20240611GetSchedulesResponse) GetBody

GetBody returns the raw response body bytes

func (SchedulesController20240611GetSchedulesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SchedulesController20240611GetSchedulesResponse) Status

Status returns HTTPResponse.Status

func (SchedulesController20240611GetSchedulesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SchedulesController20240611UpdateScheduleJSONRequestBody

type SchedulesController20240611UpdateScheduleJSONRequestBody = UpdateScheduleInput20240611

SchedulesController20240611UpdateScheduleJSONRequestBody defines body for SchedulesController20240611UpdateSchedule for application/json ContentType.

type SchedulesController20240611UpdateScheduleParams

type SchedulesController20240611UpdateScheduleParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`

	// CalApiVersion Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`
}

SchedulesController20240611UpdateScheduleParams defines parameters for SchedulesController20240611UpdateSchedule.

type SchedulesController20240611UpdateScheduleResponse

type SchedulesController20240611UpdateScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UpdateScheduleOutput20240611
}

func ParseSchedulesController20240611UpdateScheduleResponse

func ParseSchedulesController20240611UpdateScheduleResponse(rsp *http.Response) (*SchedulesController20240611UpdateScheduleResponse, error)

ParseSchedulesController20240611UpdateScheduleResponse parses an HTTP response from a SchedulesController20240611UpdateScheduleWithResponse call

func (SchedulesController20240611UpdateScheduleResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SchedulesController20240611UpdateScheduleResponse) GetBody

GetBody returns the raw response body bytes

func (SchedulesController20240611UpdateScheduleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SchedulesController20240611UpdateScheduleResponse) Status

Status returns HTTPResponse.Status

func (SchedulesController20240611UpdateScheduleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SeatedAttendee

type SeatedAttendee struct {
	// Absent Example: false
	Absent bool `json:"absent"`

	// BookingFieldsResponses Booking field responses consisting of an object with booking field slug as keys and user response as values.
	//
	// Example: {"customField":"customValue"}
	BookingFieldsResponses map[string]interface{} `json:"bookingFieldsResponses"`

	// DisplayEmail Clean email for display purposes
	//
	// Example: john@example.com
	DisplayEmail string `json:"displayEmail"`

	// Email Example: john@example.com
	Email string `json:"email"`

	// Language Example: en
	Language *SeatedAttendeeLanguage `json:"language,omitempty"`

	// Metadata Example: {"key":"value"}
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Name Example: John Doe
	Name string `json:"name"`

	// PhoneNumber Example: +1234567890
	PhoneNumber *string `json:"phoneNumber,omitempty"`

	// SeatUid Example: 3be561a9-31f1-4b8e-aefc-9d9a085f0dd1
	SeatUid string `json:"seatUid"`

	// TimeZone Example: America/New_York
	TimeZone string `json:"timeZone"`
}

SeatedAttendee defines model for SeatedAttendee.

type SeatedAttendeeLanguage

type SeatedAttendeeLanguage string

SeatedAttendeeLanguage Example: en

const (
	SeatedAttendeeLanguageAr    SeatedAttendeeLanguage = "ar"
	SeatedAttendeeLanguageAz    SeatedAttendeeLanguage = "az"
	SeatedAttendeeLanguageBg    SeatedAttendeeLanguage = "bg"
	SeatedAttendeeLanguageBn    SeatedAttendeeLanguage = "bn"
	SeatedAttendeeLanguageCa    SeatedAttendeeLanguage = "ca"
	SeatedAttendeeLanguageCs    SeatedAttendeeLanguage = "cs"
	SeatedAttendeeLanguageDa    SeatedAttendeeLanguage = "da"
	SeatedAttendeeLanguageDe    SeatedAttendeeLanguage = "de"
	SeatedAttendeeLanguageEl    SeatedAttendeeLanguage = "el"
	SeatedAttendeeLanguageEn    SeatedAttendeeLanguage = "en"
	SeatedAttendeeLanguageEs    SeatedAttendeeLanguage = "es"
	SeatedAttendeeLanguageEs419 SeatedAttendeeLanguage = "es-419"
	SeatedAttendeeLanguageEt    SeatedAttendeeLanguage = "et"
	SeatedAttendeeLanguageEu    SeatedAttendeeLanguage = "eu"
	SeatedAttendeeLanguageFi    SeatedAttendeeLanguage = "fi"
	SeatedAttendeeLanguageFr    SeatedAttendeeLanguage = "fr"
	SeatedAttendeeLanguageHe    SeatedAttendeeLanguage = "he"
	SeatedAttendeeLanguageHr    SeatedAttendeeLanguage = "hr"
	SeatedAttendeeLanguageHu    SeatedAttendeeLanguage = "hu"
	SeatedAttendeeLanguageId    SeatedAttendeeLanguage = "id"
	SeatedAttendeeLanguageIt    SeatedAttendeeLanguage = "it"
	SeatedAttendeeLanguageIw    SeatedAttendeeLanguage = "iw"
	SeatedAttendeeLanguageJa    SeatedAttendeeLanguage = "ja"
	SeatedAttendeeLanguageKm    SeatedAttendeeLanguage = "km"
	SeatedAttendeeLanguageKo    SeatedAttendeeLanguage = "ko"
	SeatedAttendeeLanguageLv    SeatedAttendeeLanguage = "lv"
	SeatedAttendeeLanguageNl    SeatedAttendeeLanguage = "nl"
	SeatedAttendeeLanguageNo    SeatedAttendeeLanguage = "no"
	SeatedAttendeeLanguagePl    SeatedAttendeeLanguage = "pl"
	SeatedAttendeeLanguagePt    SeatedAttendeeLanguage = "pt"
	SeatedAttendeeLanguagePtBR  SeatedAttendeeLanguage = "pt-BR"
	SeatedAttendeeLanguageRo    SeatedAttendeeLanguage = "ro"
	SeatedAttendeeLanguageRu    SeatedAttendeeLanguage = "ru"
	SeatedAttendeeLanguageSk    SeatedAttendeeLanguage = "sk"
	SeatedAttendeeLanguageSr    SeatedAttendeeLanguage = "sr"
	SeatedAttendeeLanguageSv    SeatedAttendeeLanguage = "sv"
	SeatedAttendeeLanguageTa    SeatedAttendeeLanguage = "ta"
	SeatedAttendeeLanguageTh    SeatedAttendeeLanguage = "th"
	SeatedAttendeeLanguageTr    SeatedAttendeeLanguage = "tr"
	SeatedAttendeeLanguageUk    SeatedAttendeeLanguage = "uk"
	SeatedAttendeeLanguageVi    SeatedAttendeeLanguage = "vi"
	SeatedAttendeeLanguageZhCN  SeatedAttendeeLanguage = "zh-CN"
	SeatedAttendeeLanguageZhTW  SeatedAttendeeLanguage = "zh-TW"
)

Defines values for SeatedAttendeeLanguage.

func (SeatedAttendeeLanguage) Valid

func (e SeatedAttendeeLanguage) Valid() bool

Valid indicates whether the value is a known member of the SeatedAttendeeLanguage enum.

type Seats20240614

type Seats20240614 struct {
	// SeatsPerTimeSlot Number of seats available per time slot
	//
	// Example: 4
	SeatsPerTimeSlot float64 `json:"seatsPerTimeSlot"`

	// ShowAttendeeInfo Show attendee information to other guests
	//
	// Example: true
	ShowAttendeeInfo bool `json:"showAttendeeInfo"`

	// ShowAvailabilityCount Display the count of available seats
	//
	// Example: true
	ShowAvailabilityCount bool `json:"showAvailabilityCount"`
}

Seats20240614 defines model for Seats_2024_06_14.

type SelectFieldInput20240614

type SelectFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `language` and options of this select field are ['english', 'italian'] and the URL contains query parameter `&language=italian`,      the 'italian' will be selected and the select field will be disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{language: 'italian'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// Label Example: Please select an option
	Label string `json:"label"`

	// Options Example: ["Option 1","Option 2"]
	Options []string `json:"options"`

	// Placeholder Example: Select...
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `select`
	//
	// Example: select
	Type string `json:"type"`
}

SelectFieldInput20240614 defines model for SelectFieldInput_2024_06_14.

type SelectFieldOutput20240614

type SelectFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `language` and options of this select field are ['english', 'italian'] and the URL contains query parameter `&language=italian`,      the 'italian' will be selected and the select field will be disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{language: 'italian'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always false because it's not default field but custom field
	//
	// Example: false
	IsDefault map[string]interface{} `json:"isDefault"`

	// Label Example: Please select an option
	Label string `json:"label"`

	// Options Example: ["Option 1","Option 2"]
	Options []string `json:"options"`

	// Placeholder Example: Select...
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `select`
	//
	// Example: select
	Type string `json:"type"`
}

SelectFieldOutput20240614 defines model for SelectFieldOutput_2024_06_14.

type SelectedCalendarOutputDto

type SelectedCalendarOutputDto struct {
	CredentialId *float64 `json:"credentialId"`
	ExternalId   string   `json:"externalId"`
	Integration  string   `json:"integration"`
	UserId       float64  `json:"userId"`
}

SelectedCalendarOutputDto defines model for SelectedCalendarOutputDto.

type SelectedCalendarOutputResponseDto

type SelectedCalendarOutputResponseDto struct {
	Data SelectedCalendarOutputDto `json:"data"`

	// Status Example: success
	Status SelectedCalendarOutputResponseDtoStatus `json:"status"`
}

SelectedCalendarOutputResponseDto defines model for SelectedCalendarOutputResponseDto.

type SelectedCalendarOutputResponseDtoStatus

type SelectedCalendarOutputResponseDtoStatus string

SelectedCalendarOutputResponseDtoStatus Example: success

const (
	SelectedCalendarOutputResponseDtoStatusError   SelectedCalendarOutputResponseDtoStatus = "error"
	SelectedCalendarOutputResponseDtoStatusSuccess SelectedCalendarOutputResponseDtoStatus = "success"
)

Defines values for SelectedCalendarOutputResponseDtoStatus.

func (SelectedCalendarOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the SelectedCalendarOutputResponseDtoStatus enum.

type SelectedCalendarsControllerAddSelectedCalendarJSONRequestBody

type SelectedCalendarsControllerAddSelectedCalendarJSONRequestBody = SelectedCalendarsInputDto

SelectedCalendarsControllerAddSelectedCalendarJSONRequestBody defines body for SelectedCalendarsControllerAddSelectedCalendar for application/json ContentType.

type SelectedCalendarsControllerAddSelectedCalendarParams

type SelectedCalendarsControllerAddSelectedCalendarParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

SelectedCalendarsControllerAddSelectedCalendarParams defines parameters for SelectedCalendarsControllerAddSelectedCalendar.

type SelectedCalendarsControllerAddSelectedCalendarResponse

type SelectedCalendarsControllerAddSelectedCalendarResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *SelectedCalendarOutputResponseDto
}

func ParseSelectedCalendarsControllerAddSelectedCalendarResponse

func ParseSelectedCalendarsControllerAddSelectedCalendarResponse(rsp *http.Response) (*SelectedCalendarsControllerAddSelectedCalendarResponse, error)

ParseSelectedCalendarsControllerAddSelectedCalendarResponse parses an HTTP response from a SelectedCalendarsControllerAddSelectedCalendarWithResponse call

func (SelectedCalendarsControllerAddSelectedCalendarResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SelectedCalendarsControllerAddSelectedCalendarResponse) GetBody

GetBody returns the raw response body bytes

func (SelectedCalendarsControllerAddSelectedCalendarResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (SelectedCalendarsControllerAddSelectedCalendarResponse) Status

Status returns HTTPResponse.Status

func (SelectedCalendarsControllerAddSelectedCalendarResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SelectedCalendarsControllerDeleteSelectedCalendarParams

type SelectedCalendarsControllerDeleteSelectedCalendarParams struct {
	Integration            string  `form:"integration" json:"integration"`
	ExternalId             string  `form:"externalId" json:"externalId"`
	CredentialId           string  `form:"credentialId" json:"credentialId"`
	DelegationCredentialId *string `form:"delegationCredentialId,omitempty" json:"delegationCredentialId,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

SelectedCalendarsControllerDeleteSelectedCalendarParams defines parameters for SelectedCalendarsControllerDeleteSelectedCalendar.

type SelectedCalendarsControllerDeleteSelectedCalendarResponse

type SelectedCalendarsControllerDeleteSelectedCalendarResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SelectedCalendarOutputResponseDto
}

func ParseSelectedCalendarsControllerDeleteSelectedCalendarResponse

func ParseSelectedCalendarsControllerDeleteSelectedCalendarResponse(rsp *http.Response) (*SelectedCalendarsControllerDeleteSelectedCalendarResponse, error)

ParseSelectedCalendarsControllerDeleteSelectedCalendarResponse parses an HTTP response from a SelectedCalendarsControllerDeleteSelectedCalendarWithResponse call

func (SelectedCalendarsControllerDeleteSelectedCalendarResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SelectedCalendarsControllerDeleteSelectedCalendarResponse) GetBody

GetBody returns the raw response body bytes

func (SelectedCalendarsControllerDeleteSelectedCalendarResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SelectedCalendarsControllerDeleteSelectedCalendarResponse) Status

Status returns HTTPResponse.Status

func (SelectedCalendarsControllerDeleteSelectedCalendarResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SelectedCalendarsInputDto

type SelectedCalendarsInputDto struct {
	CredentialId           float64 `json:"credentialId"`
	DelegationCredentialId *string `json:"delegationCredentialId,omitempty"`
	ExternalId             string  `json:"externalId"`
	Integration            string  `json:"integration"`
}

SelectedCalendarsInputDto defines model for SelectedCalendarsInputDto.

type SetDefaultConferencingAppOutputResponseDto

type SetDefaultConferencingAppOutputResponseDto struct {
	// Status Example: success
	Status SetDefaultConferencingAppOutputResponseDtoStatus `json:"status"`
}

SetDefaultConferencingAppOutputResponseDto defines model for SetDefaultConferencingAppOutputResponseDto.

type SetDefaultConferencingAppOutputResponseDtoStatus

type SetDefaultConferencingAppOutputResponseDtoStatus string

SetDefaultConferencingAppOutputResponseDtoStatus Example: success

const (
	SetDefaultConferencingAppOutputResponseDtoStatusError   SetDefaultConferencingAppOutputResponseDtoStatus = "error"
	SetDefaultConferencingAppOutputResponseDtoStatusSuccess SetDefaultConferencingAppOutputResponseDtoStatus = "success"
)

Defines values for SetDefaultConferencingAppOutputResponseDtoStatus.

func (SetDefaultConferencingAppOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the SetDefaultConferencingAppOutputResponseDtoStatus enum.

type SlotsController20240904DeleteReservedSlotParams

type SlotsController20240904DeleteReservedSlotParams struct {
	// CalApiVersion Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`
}

SlotsController20240904DeleteReservedSlotParams defines parameters for SlotsController20240904DeleteReservedSlot.

type SlotsController20240904DeleteReservedSlotResponse

type SlotsController20240904DeleteReservedSlotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
}

func ParseSlotsController20240904DeleteReservedSlotResponse

func ParseSlotsController20240904DeleteReservedSlotResponse(rsp *http.Response) (*SlotsController20240904DeleteReservedSlotResponse, error)

ParseSlotsController20240904DeleteReservedSlotResponse parses an HTTP response from a SlotsController20240904DeleteReservedSlotWithResponse call

func (SlotsController20240904DeleteReservedSlotResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SlotsController20240904DeleteReservedSlotResponse) GetBody

GetBody returns the raw response body bytes

func (SlotsController20240904DeleteReservedSlotResponse) GetJSON200

func (r SlotsController20240904DeleteReservedSlotResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SlotsController20240904DeleteReservedSlotResponse) Status

Status returns HTTPResponse.Status

func (SlotsController20240904DeleteReservedSlotResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SlotsController20240904GetAvailableSlots200JSONResponseBody

type SlotsController20240904GetAvailableSlots200JSONResponseBody struct {
	// contains filtered or unexported fields
}

SlotsController20240904GetAvailableSlots200JSONResponseBody defines parameters for SlotsController20240904GetAvailableSlots.

func (SlotsController20240904GetAvailableSlots200JSONResponseBody) AsSlotsController20240904GetAvailableSlots200JSONResponseBody0

AsSlotsController20240904GetAvailableSlots200JSONResponseBody0 returns the union data inside the SlotsController20240904GetAvailableSlots200JSONResponseBody as a SlotsController20240904GetAvailableSlots200JSONResponseBody0

func (SlotsController20240904GetAvailableSlots200JSONResponseBody) AsSlotsController20240904GetAvailableSlots200JSONResponseBody1

AsSlotsController20240904GetAvailableSlots200JSONResponseBody1 returns the union data inside the SlotsController20240904GetAvailableSlots200JSONResponseBody as a SlotsController20240904GetAvailableSlots200JSONResponseBody1

func (*SlotsController20240904GetAvailableSlots200JSONResponseBody) FromSlotsController20240904GetAvailableSlots200JSONResponseBody0

FromSlotsController20240904GetAvailableSlots200JSONResponseBody0 overwrites any union data inside the SlotsController20240904GetAvailableSlots200JSONResponseBody as the provided SlotsController20240904GetAvailableSlots200JSONResponseBody0

func (*SlotsController20240904GetAvailableSlots200JSONResponseBody) FromSlotsController20240904GetAvailableSlots200JSONResponseBody1

FromSlotsController20240904GetAvailableSlots200JSONResponseBody1 overwrites any union data inside the SlotsController20240904GetAvailableSlots200JSONResponseBody as the provided SlotsController20240904GetAvailableSlots200JSONResponseBody1

func (SlotsController20240904GetAvailableSlots200JSONResponseBody) MarshalJSON

func (*SlotsController20240904GetAvailableSlots200JSONResponseBody) MergeSlotsController20240904GetAvailableSlots200JSONResponseBody0

func (t *SlotsController20240904GetAvailableSlots200JSONResponseBody) MergeSlotsController20240904GetAvailableSlots200JSONResponseBody0(v SlotsController20240904GetAvailableSlots200JSONResponseBody0) error

MergeSlotsController20240904GetAvailableSlots200JSONResponseBody0 performs a merge with any union data inside the SlotsController20240904GetAvailableSlots200JSONResponseBody, using the provided SlotsController20240904GetAvailableSlots200JSONResponseBody0

func (*SlotsController20240904GetAvailableSlots200JSONResponseBody) MergeSlotsController20240904GetAvailableSlots200JSONResponseBody1

func (t *SlotsController20240904GetAvailableSlots200JSONResponseBody) MergeSlotsController20240904GetAvailableSlots200JSONResponseBody1(v SlotsController20240904GetAvailableSlots200JSONResponseBody1) error

MergeSlotsController20240904GetAvailableSlots200JSONResponseBody1 performs a merge with any union data inside the SlotsController20240904GetAvailableSlots200JSONResponseBody, using the provided SlotsController20240904GetAvailableSlots200JSONResponseBody1

func (*SlotsController20240904GetAvailableSlots200JSONResponseBody) UnmarshalJSON

type SlotsController20240904GetAvailableSlots200JSONResponseBody0

type SlotsController20240904GetAvailableSlots200JSONResponseBody0 map[string][]string

SlotsController20240904GetAvailableSlots200JSONResponseBody0 defines parameters for SlotsController20240904GetAvailableSlots.

type SlotsController20240904GetAvailableSlots200JSONResponseBody1

type SlotsController20240904GetAvailableSlots200JSONResponseBody1 map[string][]struct {
	End   *string `json:"end,omitempty"`
	Start *string `json:"start,omitempty"`
}

SlotsController20240904GetAvailableSlots200JSONResponseBody1 defines parameters for SlotsController20240904GetAvailableSlots.

type SlotsController20240904GetAvailableSlotsParams

type SlotsController20240904GetAvailableSlotsParams struct {
	// BookingUidToReschedule The unique identifier of the booking being rescheduled. When provided will ensure that the original booking time appears within the returned available slots when rescheduling.
	BookingUidToReschedule *string `form:"bookingUidToReschedule,omitempty" json:"bookingUidToReschedule,omitempty"`

	// Start
	//       Time starting from which available slots should be checked.
	//
	//       Must be in UTC timezone as ISO 8601 datestring.
	//
	//       You can pass date without hours which defaults to start of day or specify hours:
	//       2024-08-13 (will have hours 00:00:00 aka at very beginning of the date) or you can specify hours manually like 2024-08-13T09:00:00Z.
	Start string `form:"start" json:"start"`

	// End
	//     Time until which available slots should be checked.
	//
	//     Must be in UTC timezone as ISO 8601 datestring.
	//
	//     You can pass date without hours which defaults to end of day or specify hours:
	//     2024-08-20 (will have hours 23:59:59 aka at the very end of the date) or you can specify hours manually like 2024-08-20T18:00:00Z.
	End string `form:"end" json:"end"`

	// OrganizationSlug The slug of the organization to which user with username belongs or team with teamSlug belongs.
	OrganizationSlug *string `form:"organizationSlug,omitempty" json:"organizationSlug,omitempty"`

	// TeamSlug The slug of the team who owns event type with eventTypeSlug - used when slots are checked for team event type.
	TeamSlug *string `form:"teamSlug,omitempty" json:"teamSlug,omitempty"`

	// Username The username of the user who owns event type with eventTypeSlug - used when slots are checked for individual user event type.
	Username *string `form:"username,omitempty" json:"username,omitempty"`

	// EventTypeSlug The slug of the event type for which available slots should be checked. If slug is provided then username or teamSlug must be provided too and if relevant organizationSlug too.
	EventTypeSlug *string `form:"eventTypeSlug,omitempty" json:"eventTypeSlug,omitempty"`

	// EventTypeId The ID of the event type for which available slots should be checked.
	EventTypeId *float64 `form:"eventTypeId,omitempty" json:"eventTypeId,omitempty"`

	// Usernames The usernames for which available slots should be checked separated by a comma.
	//
	//     Checking slots by usernames is used mainly for dynamic events where there is no specific event but we just want to know when 2 or more people are available.
	//
	//     Must contain at least 2 usernames.
	Usernames *string `form:"usernames,omitempty" json:"usernames,omitempty"`

	// Format Format of slot times in response. Use 'range' to get start and end times. Use 'time' or omit this query parameter to get only start time.
	Format *string `form:"format,omitempty" json:"format,omitempty"`

	// Duration If event type has multiple possible durations then you can specify the desired duration here. Also, if you are fetching slots for a dynamic event then you can specify the duration her which defaults to 30, meaning that returned slots will be each 30 minutes long.
	Duration *float64 `form:"duration,omitempty" json:"duration,omitempty"`

	// TimeZone Time zone in which the available slots should be returned. Defaults to UTC.
	TimeZone *string `form:"timeZone,omitempty" json:"timeZone,omitempty"`

	// CalApiVersion Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`
}

SlotsController20240904GetAvailableSlotsParams defines parameters for SlotsController20240904GetAvailableSlots.

type SlotsController20240904GetAvailableSlotsResponse

type SlotsController20240904GetAvailableSlotsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SlotsController20240904GetAvailableSlots200JSONResponseBody
}

func ParseSlotsController20240904GetAvailableSlotsResponse

func ParseSlotsController20240904GetAvailableSlotsResponse(rsp *http.Response) (*SlotsController20240904GetAvailableSlotsResponse, error)

ParseSlotsController20240904GetAvailableSlotsResponse parses an HTTP response from a SlotsController20240904GetAvailableSlotsWithResponse call

func (SlotsController20240904GetAvailableSlotsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SlotsController20240904GetAvailableSlotsResponse) GetBody

GetBody returns the raw response body bytes

func (SlotsController20240904GetAvailableSlotsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SlotsController20240904GetAvailableSlotsResponse) Status

Status returns HTTPResponse.Status

func (SlotsController20240904GetAvailableSlotsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SlotsController20240904GetReservedSlotParams

type SlotsController20240904GetReservedSlotParams struct {
	// CalApiVersion Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`
}

SlotsController20240904GetReservedSlotParams defines parameters for SlotsController20240904GetReservedSlot.

type SlotsController20240904GetReservedSlotResponse

type SlotsController20240904GetReservedSlotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetReservedSlotOutput20240904
}

func ParseSlotsController20240904GetReservedSlotResponse

func ParseSlotsController20240904GetReservedSlotResponse(rsp *http.Response) (*SlotsController20240904GetReservedSlotResponse, error)

ParseSlotsController20240904GetReservedSlotResponse parses an HTTP response from a SlotsController20240904GetReservedSlotWithResponse call

func (SlotsController20240904GetReservedSlotResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SlotsController20240904GetReservedSlotResponse) GetBody

GetBody returns the raw response body bytes

func (SlotsController20240904GetReservedSlotResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SlotsController20240904GetReservedSlotResponse) Status

Status returns HTTPResponse.Status

func (SlotsController20240904GetReservedSlotResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SlotsController20240904ReserveSlotJSONRequestBody

type SlotsController20240904ReserveSlotJSONRequestBody = ReserveSlotInput20240904

SlotsController20240904ReserveSlotJSONRequestBody defines body for SlotsController20240904ReserveSlot for application/json ContentType.

type SlotsController20240904ReserveSlotParams

type SlotsController20240904ReserveSlotParams struct {
	// CalApiVersion Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization *string `json:"Authorization,omitempty"`

	// XCalClientId For platform customers - OAuth client ID
	XCalClientId *string `json:"x-cal-client-id,omitempty"`
}

SlotsController20240904ReserveSlotParams defines parameters for SlotsController20240904ReserveSlot.

type SlotsController20240904ReserveSlotResponse

type SlotsController20240904ReserveSlotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ReserveSlotOutputResponse20240904
}

func ParseSlotsController20240904ReserveSlotResponse

func ParseSlotsController20240904ReserveSlotResponse(rsp *http.Response) (*SlotsController20240904ReserveSlotResponse, error)

ParseSlotsController20240904ReserveSlotResponse parses an HTTP response from a SlotsController20240904ReserveSlotWithResponse call

func (SlotsController20240904ReserveSlotResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SlotsController20240904ReserveSlotResponse) GetBody

GetBody returns the raw response body bytes

func (SlotsController20240904ReserveSlotResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (SlotsController20240904ReserveSlotResponse) Status

Status returns HTTPResponse.Status

func (SlotsController20240904ReserveSlotResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SlotsController20240904UpdateReservedSlotJSONRequestBody

type SlotsController20240904UpdateReservedSlotJSONRequestBody = ReserveSlotInput20240904

SlotsController20240904UpdateReservedSlotJSONRequestBody defines body for SlotsController20240904UpdateReservedSlot for application/json ContentType.

type SlotsController20240904UpdateReservedSlotParams

type SlotsController20240904UpdateReservedSlotParams struct {
	// CalApiVersion Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version.
	CalApiVersion string `json:"cal-api-version"`
}

SlotsController20240904UpdateReservedSlotParams defines parameters for SlotsController20240904UpdateReservedSlot.

type SlotsController20240904UpdateReservedSlotResponse

type SlotsController20240904UpdateReservedSlotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReserveSlotOutputResponse20240904
}

func ParseSlotsController20240904UpdateReservedSlotResponse

func ParseSlotsController20240904UpdateReservedSlotResponse(rsp *http.Response) (*SlotsController20240904UpdateReservedSlotResponse, error)

ParseSlotsController20240904UpdateReservedSlotResponse parses an HTTP response from a SlotsController20240904UpdateReservedSlotWithResponse call

func (SlotsController20240904UpdateReservedSlotResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SlotsController20240904UpdateReservedSlotResponse) GetBody

GetBody returns the raw response body bytes

func (SlotsController20240904UpdateReservedSlotResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SlotsController20240904UpdateReservedSlotResponse) Status

Status returns HTTPResponse.Status

func (SlotsController20240904UpdateReservedSlotResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type StripConnectOutputDto

type StripConnectOutputDto struct {
	AuthUrl string `json:"authUrl"`
}

StripConnectOutputDto defines model for StripConnectOutputDto.

type StripConnectOutputResponseDto

type StripConnectOutputResponseDto struct {
	Data StripConnectOutputDto `json:"data"`

	// Status Example: success
	Status StripConnectOutputResponseDtoStatus `json:"status"`
}

StripConnectOutputResponseDto defines model for StripConnectOutputResponseDto.

type StripConnectOutputResponseDtoStatus

type StripConnectOutputResponseDtoStatus string

StripConnectOutputResponseDtoStatus Example: success

const (
	StripConnectOutputResponseDtoStatusError   StripConnectOutputResponseDtoStatus = "error"
	StripConnectOutputResponseDtoStatusSuccess StripConnectOutputResponseDtoStatus = "success"
)

Defines values for StripConnectOutputResponseDtoStatus.

func (StripConnectOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the StripConnectOutputResponseDtoStatus enum.

type StripCredentialsCheckOutputResponseDto

type StripCredentialsCheckOutputResponseDto struct {
	// Status Example: success
	Status map[string]interface{} `json:"status"`
}

StripCredentialsCheckOutputResponseDto defines model for StripCredentialsCheckOutputResponseDto.

type StripCredentialsSaveOutputResponseDto

type StripCredentialsSaveOutputResponseDto struct {
	Url string `json:"url"`
}

StripCredentialsSaveOutputResponseDto defines model for StripCredentialsSaveOutputResponseDto.

type StripeControllerCheckParams

type StripeControllerCheckParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

StripeControllerCheckParams defines parameters for StripeControllerCheck.

type StripeControllerCheckResponse

type StripeControllerCheckResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *StripCredentialsCheckOutputResponseDto
}

func ParseStripeControllerCheckResponse

func ParseStripeControllerCheckResponse(rsp *http.Response) (*StripeControllerCheckResponse, error)

ParseStripeControllerCheckResponse parses an HTTP response from a StripeControllerCheckWithResponse call

func (StripeControllerCheckResponse) ContentType

func (r StripeControllerCheckResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (StripeControllerCheckResponse) GetBody

func (r StripeControllerCheckResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StripeControllerCheckResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (StripeControllerCheckResponse) Status

Status returns HTTPResponse.Status

func (StripeControllerCheckResponse) StatusCode

func (r StripeControllerCheckResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StripeControllerRedirectParams

type StripeControllerRedirectParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

StripeControllerRedirectParams defines parameters for StripeControllerRedirect.

type StripeControllerRedirectResponse

type StripeControllerRedirectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *StripConnectOutputResponseDto
}

func ParseStripeControllerRedirectResponse

func ParseStripeControllerRedirectResponse(rsp *http.Response) (*StripeControllerRedirectResponse, error)

ParseStripeControllerRedirectResponse parses an HTTP response from a StripeControllerRedirectWithResponse call

func (StripeControllerRedirectResponse) ContentType

func (r StripeControllerRedirectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (StripeControllerRedirectResponse) GetBody

func (r StripeControllerRedirectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StripeControllerRedirectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (StripeControllerRedirectResponse) Status

Status returns HTTPResponse.Status

func (StripeControllerRedirectResponse) StatusCode

func (r StripeControllerRedirectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StripeControllerSaveParams

type StripeControllerSaveParams struct {
	State string `form:"state" json:"state"`
	Code  string `form:"code" json:"code"`
}

StripeControllerSaveParams defines parameters for StripeControllerSave.

type StripeControllerSaveResponse

type StripeControllerSaveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *StripCredentialsSaveOutputResponseDto
}

func ParseStripeControllerSaveResponse

func ParseStripeControllerSaveResponse(rsp *http.Response) (*StripeControllerSaveResponse, error)

ParseStripeControllerSaveResponse parses an HTTP response from a StripeControllerSaveWithResponse call

func (StripeControllerSaveResponse) ContentType

func (r StripeControllerSaveResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (StripeControllerSaveResponse) GetBody

func (r StripeControllerSaveResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StripeControllerSaveResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (StripeControllerSaveResponse) Status

Status returns HTTPResponse.Status

func (StripeControllerSaveResponse) StatusCode

func (r StripeControllerSaveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TeamEventTypeOutput20240614

type TeamEventTypeOutput20240614 struct {
	// AfterEventBuffer Example: 0
	AfterEventBuffer *float64 `json:"afterEventBuffer,omitempty"`

	// AllowReschedulingCancelledBookings When enabled, users will be able to create a new booking when trying to reschedule a cancelled booking.
	AllowReschedulingCancelledBookings *bool `json:"allowReschedulingCancelledBookings,omitempty"`

	// AllowReschedulingPastBookings Enabling this option allows for past events to be rescheduled.
	AllowReschedulingPastBookings *bool `json:"allowReschedulingPastBookings,omitempty"`
	AssignAllTeamMembers          *bool `json:"assignAllTeamMembers,omitempty"`

	// BeforeEventBuffer Example: 0
	BeforeEventBuffer         *float64                                         `json:"beforeEventBuffer,omitempty"`
	BookerActiveBookingsLimit *BookerActiveBookingsLimitOutput20240614         `json:"bookerActiveBookingsLimit,omitempty"`
	BookerLayouts             *BookerLayouts20240614                           `json:"bookerLayouts,omitempty"`
	BookingFields             []TeamEventTypeOutput20240614_BookingFields_Item `json:"bookingFields"`
	BookingLimitsCount        *map[string]interface{}                          `json:"bookingLimitsCount,omitempty"`
	BookingLimitsDuration     *map[string]interface{}                          `json:"bookingLimitsDuration,omitempty"`

	// BookingRequiresAuthentication Boolean to require authentication for booking this event type via api. If true, only authenticated users who are the event-type owner or org/team admin/owner can book this event type.
	BookingRequiresAuthentication bool `json:"bookingRequiresAuthentication"`

	// BookingWindow Limit how far in the future this event can be booked
	BookingWindow *[]TeamEventTypeOutput20240614_BookingWindow_Item `json:"bookingWindow,omitempty"`

	// CalVideoSettings Cal video settings for the event type
	CalVideoSettings   *CalVideoSettings       `json:"calVideoSettings,omitempty"`
	Color              *EventTypeColor20240614 `json:"color,omitempty"`
	ConfirmationPolicy *map[string]interface{} `json:"confirmationPolicy,omitempty"`
	Currency           string                  `json:"currency"`
	CustomName         *string                 `json:"customName,omitempty"`

	// Description Example: Discover the culinary wonders of Argentina by making the best flan ever!
	Description         string                       `json:"description"`
	DestinationCalendar *DestinationCalendar20240614 `json:"destinationCalendar,omitempty"`

	// DisableCancelling Settings for disabling cancelling of this event type.
	DisableCancelling *DisableCancellingOutput20240614 `json:"disableCancelling,omitempty"`
	DisableGuests     bool                             `json:"disableGuests"`

	// DisableRescheduling Settings for disabling rescheduling of this event type. Can be always disabled or disabled when less than X minutes before the meeting.
	DisableRescheduling *DisableReschedulingOutput20240614 `json:"disableRescheduling,omitempty"`

	// EmailSettings Email settings for this event type. Only available for organization team event types.
	EmailSettings                *EmailSettings20240614  `json:"emailSettings,omitempty"`
	ForwardParamsSuccessRedirect *map[string]interface{} `json:"forwardParamsSuccessRedirect"`
	Hidden                       bool                    `json:"hidden"`
	HideCalendarEventDetails     *bool                   `json:"hideCalendarEventDetails,omitempty"`
	HideCalendarNotes            *bool                   `json:"hideCalendarNotes,omitempty"`

	// HideOrganizerEmail Boolean to Hide organizer's email address from the booking screen, email notifications, and calendar events
	HideOrganizerEmail *bool    `json:"hideOrganizerEmail,omitempty"`
	Hosts              []string `json:"hosts"`

	// Id Example: 1
	Id float64 `json:"id"`

	// InterfaceLanguage Set preferred language for the booking interface.
	InterfaceLanguage *string `json:"interfaceLanguage,omitempty"`
	IsInstantEvent    bool    `json:"isInstantEvent"`

	// LengthInMinutes Example: 60
	LengthInMinutes float64 `json:"lengthInMinutes"`

	// LengthInMinutesOptions If you want that user can choose between different lengths of the event you can specify them here. Must include the provided `lengthInMinutes`.
	//
	// Example: [15,30,60]
	LengthInMinutesOptions          *[]float64                                   `json:"lengthInMinutesOptions,omitempty"`
	Locations                       []TeamEventTypeOutput20240614_Locations_Item `json:"locations"`
	LockTimeZoneToggleOnBookingPage bool                                         `json:"lockTimeZoneToggleOnBookingPage"`
	Metadata                        map[string]interface{}                       `json:"metadata"`

	// MinimumBookingNotice Example: 0
	MinimumBookingNotice       *float64                `json:"minimumBookingNotice,omitempty"`
	OffsetStart                *float64                `json:"offsetStart,omitempty"`
	OnlyShowFirstAvailableSlot *bool                   `json:"onlyShowFirstAvailableSlot,omitempty"`
	OwnerId                    *map[string]interface{} `json:"ownerId,omitempty"`

	// ParentEventTypeId For managed event types, parent event type is the event type that this event type is based on
	ParentEventTypeId               *map[string]interface{} `json:"parentEventTypeId,omitempty"`
	Price                           float64                 `json:"price"`
	Recurrence                      *Recurrence20240614     `json:"recurrence"`
	RequiresBookerEmailVerification *bool                   `json:"requiresBookerEmailVerification,omitempty"`

	// RescheduleWithSameRoundRobinHost Rescheduled events will be assigned to the same host as initially scheduled.
	RescheduleWithSameRoundRobinHost *bool                                     `json:"rescheduleWithSameRoundRobinHost,omitempty"`
	ScheduleId                       *float64                                  `json:"scheduleId"`
	SchedulingType                   TeamEventTypeOutput20240614SchedulingType `json:"schedulingType"`
	Seats                            *Seats20240614                            `json:"seats,omitempty"`
	SeatsPerTimeSlot                 *map[string]interface{}                   `json:"seatsPerTimeSlot,omitempty"`
	SeatsShowAvailabilityCount       *bool                                     `json:"seatsShowAvailabilityCount,omitempty"`

	// ShowOptimizedSlots Arrange time slots to optimize availability.
	ShowOptimizedSlots *bool `json:"showOptimizedSlots,omitempty"`

	// SlotInterval Example: 60
	SlotInterval *map[string]interface{} `json:"slotInterval,omitempty"`

	// Slug Example: learn-the-secrets-of-masterchief
	Slug               string                  `json:"slug"`
	SuccessRedirectUrl *map[string]interface{} `json:"successRedirectUrl"`
	Team               EventTypeTeam           `json:"team"`
	TeamId             float64                 `json:"teamId"`

	// Title Example: Learn the secrets of masterchief!
	Title                       string `json:"title"`
	UseDestinationCalendarEmail *bool  `json:"useDestinationCalendarEmail,omitempty"`
}

TeamEventTypeOutput20240614 defines model for TeamEventTypeOutput_2024_06_14.

type TeamEventTypeOutput20240614SchedulingType

type TeamEventTypeOutput20240614SchedulingType string

TeamEventTypeOutput20240614SchedulingType defines model for TeamEventTypeOutput20240614.SchedulingType.

const (
	TeamEventTypeOutput20240614SchedulingTypeCollective TeamEventTypeOutput20240614SchedulingType = "collective"
	TeamEventTypeOutput20240614SchedulingTypeManaged    TeamEventTypeOutput20240614SchedulingType = "managed"
	TeamEventTypeOutput20240614SchedulingTypeRoundRobin TeamEventTypeOutput20240614SchedulingType = "roundRobin"
)

Defines values for TeamEventTypeOutput20240614SchedulingType.

func (TeamEventTypeOutput20240614SchedulingType) Valid

Valid indicates whether the value is a known member of the TeamEventTypeOutput20240614SchedulingType enum.

type TeamEventTypeOutput20240614_BookingFields_Item

type TeamEventTypeOutput20240614_BookingFields_Item struct {
	// contains filtered or unexported fields
}

TeamEventTypeOutput20240614_BookingFields_Item defines model for TeamEventTypeOutput_2024_06_14.bookingFields.Item.

func (TeamEventTypeOutput20240614_BookingFields_Item) AsAddressFieldOutput20240614

AsAddressFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a AddressFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsBooleanFieldOutput20240614

AsBooleanFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a BooleanFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsCheckboxGroupFieldOutput20240614

AsCheckboxGroupFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a CheckboxGroupFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsEmailDefaultFieldOutput20240614

AsEmailDefaultFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a EmailDefaultFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsGuestsDefaultFieldOutput20240614

AsGuestsDefaultFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a GuestsDefaultFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsLocationDefaultFieldOutput20240614

AsLocationDefaultFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a LocationDefaultFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsMultiEmailFieldOutput20240614

AsMultiEmailFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a MultiEmailFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsMultiSelectFieldOutput20240614

AsMultiSelectFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a MultiSelectFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsNameDefaultFieldOutput20240614

AsNameDefaultFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a NameDefaultFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsNotesDefaultFieldOutput20240614

AsNotesDefaultFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a NotesDefaultFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsNumberFieldOutput20240614

AsNumberFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a NumberFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsPhoneFieldOutput20240614

AsPhoneFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a PhoneFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsRadioGroupFieldOutput20240614

AsRadioGroupFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a RadioGroupFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsRescheduleReasonDefaultFieldOutput20240614

func (t TeamEventTypeOutput20240614_BookingFields_Item) AsRescheduleReasonDefaultFieldOutput20240614() (RescheduleReasonDefaultFieldOutput20240614, error)

AsRescheduleReasonDefaultFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a RescheduleReasonDefaultFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsSelectFieldOutput20240614

AsSelectFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a SelectFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsTextAreaFieldOutput20240614

AsTextAreaFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a TextAreaFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsTextFieldOutput20240614

AsTextFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a TextFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsTitleDefaultFieldOutput20240614

AsTitleDefaultFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a TitleDefaultFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) AsUrlFieldOutput20240614

AsUrlFieldOutput20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingFields_Item as a UrlFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromAddressFieldOutput20240614

FromAddressFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided AddressFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromBooleanFieldOutput20240614

FromBooleanFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided BooleanFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromCheckboxGroupFieldOutput20240614

FromCheckboxGroupFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided CheckboxGroupFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromEmailDefaultFieldOutput20240614

FromEmailDefaultFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided EmailDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromGuestsDefaultFieldOutput20240614

FromGuestsDefaultFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided GuestsDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromLocationDefaultFieldOutput20240614

FromLocationDefaultFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided LocationDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromMultiEmailFieldOutput20240614

FromMultiEmailFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided MultiEmailFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromMultiSelectFieldOutput20240614

FromMultiSelectFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided MultiSelectFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromNameDefaultFieldOutput20240614

FromNameDefaultFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided NameDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromNotesDefaultFieldOutput20240614

FromNotesDefaultFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided NotesDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromNumberFieldOutput20240614

FromNumberFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided NumberFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromPhoneFieldOutput20240614

FromPhoneFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided PhoneFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromRadioGroupFieldOutput20240614

FromRadioGroupFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided RadioGroupFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromRescheduleReasonDefaultFieldOutput20240614

func (t *TeamEventTypeOutput20240614_BookingFields_Item) FromRescheduleReasonDefaultFieldOutput20240614(v RescheduleReasonDefaultFieldOutput20240614) error

FromRescheduleReasonDefaultFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided RescheduleReasonDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromSelectFieldOutput20240614

FromSelectFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided SelectFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromTextAreaFieldOutput20240614

FromTextAreaFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided TextAreaFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromTextFieldOutput20240614

FromTextFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided TextFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromTitleDefaultFieldOutput20240614

FromTitleDefaultFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided TitleDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) FromUrlFieldOutput20240614

FromUrlFieldOutput20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingFields_Item as the provided UrlFieldOutput20240614

func (TeamEventTypeOutput20240614_BookingFields_Item) MarshalJSON

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeAddressFieldOutput20240614

MergeAddressFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided AddressFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeBooleanFieldOutput20240614

MergeBooleanFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided BooleanFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeCheckboxGroupFieldOutput20240614

MergeCheckboxGroupFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided CheckboxGroupFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeEmailDefaultFieldOutput20240614

MergeEmailDefaultFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided EmailDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeGuestsDefaultFieldOutput20240614

MergeGuestsDefaultFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided GuestsDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeLocationDefaultFieldOutput20240614

func (t *TeamEventTypeOutput20240614_BookingFields_Item) MergeLocationDefaultFieldOutput20240614(v LocationDefaultFieldOutput20240614) error

MergeLocationDefaultFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided LocationDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeMultiEmailFieldOutput20240614

MergeMultiEmailFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided MultiEmailFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeMultiSelectFieldOutput20240614

MergeMultiSelectFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided MultiSelectFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeNameDefaultFieldOutput20240614

MergeNameDefaultFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided NameDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeNotesDefaultFieldOutput20240614

MergeNotesDefaultFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided NotesDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeNumberFieldOutput20240614

MergeNumberFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided NumberFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergePhoneFieldOutput20240614

MergePhoneFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided PhoneFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeRadioGroupFieldOutput20240614

MergeRadioGroupFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided RadioGroupFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeRescheduleReasonDefaultFieldOutput20240614

func (t *TeamEventTypeOutput20240614_BookingFields_Item) MergeRescheduleReasonDefaultFieldOutput20240614(v RescheduleReasonDefaultFieldOutput20240614) error

MergeRescheduleReasonDefaultFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided RescheduleReasonDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeSelectFieldOutput20240614

MergeSelectFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided SelectFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeTextAreaFieldOutput20240614

MergeTextAreaFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided TextAreaFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeTextFieldOutput20240614

MergeTextFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided TextFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeTitleDefaultFieldOutput20240614

MergeTitleDefaultFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided TitleDefaultFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) MergeUrlFieldOutput20240614

MergeUrlFieldOutput20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingFields_Item, using the provided UrlFieldOutput20240614

func (*TeamEventTypeOutput20240614_BookingFields_Item) UnmarshalJSON

type TeamEventTypeOutput20240614_BookingWindow_Item

type TeamEventTypeOutput20240614_BookingWindow_Item struct {
	// contains filtered or unexported fields
}

TeamEventTypeOutput20240614_BookingWindow_Item defines model for TeamEventTypeOutput_2024_06_14.bookingWindow.Item.

func (TeamEventTypeOutput20240614_BookingWindow_Item) AsBusinessDaysWindow20240614

AsBusinessDaysWindow20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingWindow_Item as a BusinessDaysWindow20240614

func (TeamEventTypeOutput20240614_BookingWindow_Item) AsCalendarDaysWindow20240614

AsCalendarDaysWindow20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingWindow_Item as a CalendarDaysWindow20240614

func (TeamEventTypeOutput20240614_BookingWindow_Item) AsRangeWindow20240614

AsRangeWindow20240614 returns the union data inside the TeamEventTypeOutput20240614_BookingWindow_Item as a RangeWindow20240614

func (*TeamEventTypeOutput20240614_BookingWindow_Item) FromBusinessDaysWindow20240614

FromBusinessDaysWindow20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingWindow_Item as the provided BusinessDaysWindow20240614

func (*TeamEventTypeOutput20240614_BookingWindow_Item) FromCalendarDaysWindow20240614

FromCalendarDaysWindow20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingWindow_Item as the provided CalendarDaysWindow20240614

func (*TeamEventTypeOutput20240614_BookingWindow_Item) FromRangeWindow20240614

FromRangeWindow20240614 overwrites any union data inside the TeamEventTypeOutput20240614_BookingWindow_Item as the provided RangeWindow20240614

func (TeamEventTypeOutput20240614_BookingWindow_Item) MarshalJSON

func (*TeamEventTypeOutput20240614_BookingWindow_Item) MergeBusinessDaysWindow20240614

MergeBusinessDaysWindow20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingWindow_Item, using the provided BusinessDaysWindow20240614

func (*TeamEventTypeOutput20240614_BookingWindow_Item) MergeCalendarDaysWindow20240614

MergeCalendarDaysWindow20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingWindow_Item, using the provided CalendarDaysWindow20240614

func (*TeamEventTypeOutput20240614_BookingWindow_Item) MergeRangeWindow20240614

MergeRangeWindow20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_BookingWindow_Item, using the provided RangeWindow20240614

func (*TeamEventTypeOutput20240614_BookingWindow_Item) UnmarshalJSON

type TeamEventTypeOutput20240614_Locations_Item

type TeamEventTypeOutput20240614_Locations_Item struct {
	// contains filtered or unexported fields
}

TeamEventTypeOutput20240614_Locations_Item defines model for TeamEventTypeOutput_2024_06_14.locations.Item.

func (TeamEventTypeOutput20240614_Locations_Item) AsOutputAddressLocation20240614

AsOutputAddressLocation20240614 returns the union data inside the TeamEventTypeOutput20240614_Locations_Item as a OutputAddressLocation20240614

func (TeamEventTypeOutput20240614_Locations_Item) AsOutputIntegrationLocation20240614

func (t TeamEventTypeOutput20240614_Locations_Item) AsOutputIntegrationLocation20240614() (OutputIntegrationLocation20240614, error)

AsOutputIntegrationLocation20240614 returns the union data inside the TeamEventTypeOutput20240614_Locations_Item as a OutputIntegrationLocation20240614

func (TeamEventTypeOutput20240614_Locations_Item) AsOutputLinkLocation20240614

AsOutputLinkLocation20240614 returns the union data inside the TeamEventTypeOutput20240614_Locations_Item as a OutputLinkLocation20240614

func (TeamEventTypeOutput20240614_Locations_Item) AsOutputOrganizersDefaultAppLocation20240614

func (t TeamEventTypeOutput20240614_Locations_Item) AsOutputOrganizersDefaultAppLocation20240614() (OutputOrganizersDefaultAppLocation20240614, error)

AsOutputOrganizersDefaultAppLocation20240614 returns the union data inside the TeamEventTypeOutput20240614_Locations_Item as a OutputOrganizersDefaultAppLocation20240614

func (TeamEventTypeOutput20240614_Locations_Item) AsOutputPhoneLocation20240614

AsOutputPhoneLocation20240614 returns the union data inside the TeamEventTypeOutput20240614_Locations_Item as a OutputPhoneLocation20240614

func (TeamEventTypeOutput20240614_Locations_Item) AsOutputUnknownLocation20240614

AsOutputUnknownLocation20240614 returns the union data inside the TeamEventTypeOutput20240614_Locations_Item as a OutputUnknownLocation20240614

func (*TeamEventTypeOutput20240614_Locations_Item) FromOutputAddressLocation20240614

func (t *TeamEventTypeOutput20240614_Locations_Item) FromOutputAddressLocation20240614(v OutputAddressLocation20240614) error

FromOutputAddressLocation20240614 overwrites any union data inside the TeamEventTypeOutput20240614_Locations_Item as the provided OutputAddressLocation20240614

func (*TeamEventTypeOutput20240614_Locations_Item) FromOutputIntegrationLocation20240614

func (t *TeamEventTypeOutput20240614_Locations_Item) FromOutputIntegrationLocation20240614(v OutputIntegrationLocation20240614) error

FromOutputIntegrationLocation20240614 overwrites any union data inside the TeamEventTypeOutput20240614_Locations_Item as the provided OutputIntegrationLocation20240614

func (*TeamEventTypeOutput20240614_Locations_Item) FromOutputLinkLocation20240614

FromOutputLinkLocation20240614 overwrites any union data inside the TeamEventTypeOutput20240614_Locations_Item as the provided OutputLinkLocation20240614

func (*TeamEventTypeOutput20240614_Locations_Item) FromOutputOrganizersDefaultAppLocation20240614

func (t *TeamEventTypeOutput20240614_Locations_Item) FromOutputOrganizersDefaultAppLocation20240614(v OutputOrganizersDefaultAppLocation20240614) error

FromOutputOrganizersDefaultAppLocation20240614 overwrites any union data inside the TeamEventTypeOutput20240614_Locations_Item as the provided OutputOrganizersDefaultAppLocation20240614

func (*TeamEventTypeOutput20240614_Locations_Item) FromOutputPhoneLocation20240614

FromOutputPhoneLocation20240614 overwrites any union data inside the TeamEventTypeOutput20240614_Locations_Item as the provided OutputPhoneLocation20240614

func (*TeamEventTypeOutput20240614_Locations_Item) FromOutputUnknownLocation20240614

func (t *TeamEventTypeOutput20240614_Locations_Item) FromOutputUnknownLocation20240614(v OutputUnknownLocation20240614) error

FromOutputUnknownLocation20240614 overwrites any union data inside the TeamEventTypeOutput20240614_Locations_Item as the provided OutputUnknownLocation20240614

func (TeamEventTypeOutput20240614_Locations_Item) MarshalJSON

func (*TeamEventTypeOutput20240614_Locations_Item) MergeOutputAddressLocation20240614

func (t *TeamEventTypeOutput20240614_Locations_Item) MergeOutputAddressLocation20240614(v OutputAddressLocation20240614) error

MergeOutputAddressLocation20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_Locations_Item, using the provided OutputAddressLocation20240614

func (*TeamEventTypeOutput20240614_Locations_Item) MergeOutputIntegrationLocation20240614

func (t *TeamEventTypeOutput20240614_Locations_Item) MergeOutputIntegrationLocation20240614(v OutputIntegrationLocation20240614) error

MergeOutputIntegrationLocation20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_Locations_Item, using the provided OutputIntegrationLocation20240614

func (*TeamEventTypeOutput20240614_Locations_Item) MergeOutputLinkLocation20240614

func (t *TeamEventTypeOutput20240614_Locations_Item) MergeOutputLinkLocation20240614(v OutputLinkLocation20240614) error

MergeOutputLinkLocation20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_Locations_Item, using the provided OutputLinkLocation20240614

func (*TeamEventTypeOutput20240614_Locations_Item) MergeOutputOrganizersDefaultAppLocation20240614

func (t *TeamEventTypeOutput20240614_Locations_Item) MergeOutputOrganizersDefaultAppLocation20240614(v OutputOrganizersDefaultAppLocation20240614) error

MergeOutputOrganizersDefaultAppLocation20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_Locations_Item, using the provided OutputOrganizersDefaultAppLocation20240614

func (*TeamEventTypeOutput20240614_Locations_Item) MergeOutputPhoneLocation20240614

func (t *TeamEventTypeOutput20240614_Locations_Item) MergeOutputPhoneLocation20240614(v OutputPhoneLocation20240614) error

MergeOutputPhoneLocation20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_Locations_Item, using the provided OutputPhoneLocation20240614

func (*TeamEventTypeOutput20240614_Locations_Item) MergeOutputUnknownLocation20240614

func (t *TeamEventTypeOutput20240614_Locations_Item) MergeOutputUnknownLocation20240614(v OutputUnknownLocation20240614) error

MergeOutputUnknownLocation20240614 performs a merge with any union data inside the TeamEventTypeOutput20240614_Locations_Item, using the provided OutputUnknownLocation20240614

func (*TeamEventTypeOutput20240614_Locations_Item) UnmarshalJSON

type TextAreaFieldInput20240614

type TextAreaFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `reflection` and the URL contains query parameter `&reflection=Today I shipped a feature`,      the text area will be prefilled with this value and disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{reflection: 'Today i shipped a feature'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// Label Example: Please enter detailed information
	Label string `json:"label"`

	// Placeholder Example: e.g., Detailed description here...
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `textarea`
	//
	// Example: textarea
	Type string `json:"type"`
}

TextAreaFieldInput20240614 defines model for TextAreaFieldInput_2024_06_14.

type TextAreaFieldOutput20240614

type TextAreaFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `reflection` and the URL contains query parameter `&reflection=Today I shipped a feature`,      the text area will be prefilled with this value and disabled. In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{reflection: 'Today i shipped a feature'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always false because it's not default field but custom field
	//
	// Example: false
	IsDefault map[string]interface{} `json:"isDefault"`

	// Label Example: Please enter detailed information
	Label string `json:"label"`

	// Placeholder Example: e.g., Detailed description here...
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `textarea`
	//
	// Example: textarea
	Type string `json:"type"`
}

TextAreaFieldOutput20240614 defines model for TextAreaFieldOutput_2024_06_14.

type TextFieldInput20240614

type TextFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `friend` and the URL contains query parameter `&friend=bob`,      the text field will be prefilled with this value and disabled.  In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value e.g. `defaultFormValues={{friend: 'bob'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// Label Example: Please enter your text
	Label string `json:"label"`

	// Placeholder Example: e.g., Enter text here
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `text`
	//
	// Example: text
	Type string `json:"type"`
}

TextFieldInput20240614 defines model for TextFieldInput_2024_06_14.

type TextFieldOutput20240614

type TextFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `friend` and the URL contains query parameter `&friend=bob`,      the text field will be prefilled with this value and disabled.  In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value e.g. `defaultFormValues={{friend: 'bob'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always false because it's not default field but custom field
	//
	// Example: false
	IsDefault map[string]interface{} `json:"isDefault"`

	// Label Example: Please enter your text
	Label string `json:"label"`

	// Placeholder Example: e.g., Enter text here
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `text`
	//
	// Example: text
	Type string `json:"type"`
}

TextFieldOutput20240614 defines model for TextFieldOutput_2024_06_14.

type TimeBasedPrivateLinkOutput

type TimeBasedPrivateLinkOutput struct {
	// BookingUrl Full booking URL for this private link
	//
	// Example: https://cal.com/d/abc123def456/30min
	BookingUrl string `json:"bookingUrl"`

	// EventTypeId Event type ID this link belongs to
	//
	// Example: 123
	EventTypeId float64 `json:"eventTypeId"`

	// ExpiresAt Expiration date for this time-based link
	//
	// Example: 2025-12-31T23:59:59.000Z
	ExpiresAt time.Time `json:"expiresAt"`

	// IsExpired Whether the link is currently expired
	//
	// Example: false
	IsExpired bool `json:"isExpired"`

	// LinkId The private link ID
	//
	// Example: abc123def456
	LinkId string `json:"linkId"`
}

TimeBasedPrivateLinkOutput defines model for TimeBasedPrivateLinkOutput.

type TitleDefaultFieldInput20240614

type TitleDefaultFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if URL contains query parameter `&title=journey`,      the title field will be prefilled with this value and disabled. In case of Booker atom need to pass 'title' to defaultFormValues prop with the desired value e.g. `defaultFormValues={{title: 'very important meeting'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden      *bool   `json:"hidden,omitempty"`
	Label       *string `json:"label,omitempty"`
	Placeholder *string `json:"placeholder,omitempty"`
	Required    *bool   `json:"required,omitempty"`

	// Slug only allowed value for type is `title`
	//
	// Example: title
	Slug string `json:"slug"`
}

TitleDefaultFieldInput20240614 defines model for TitleDefaultFieldInput_2024_06_14.

type TitleDefaultFieldOutput20240614

type TitleDefaultFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if URL contains query parameter `&title=masterclass`,      the title field will be prefilled with this value and disabled.
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden *bool `json:"hidden,omitempty"`

	// IsDefault This property is always true because it's a default field
	//
	// Example: true
	IsDefault   map[string]interface{} `json:"isDefault"`
	Label       *string                `json:"label,omitempty"`
	Placeholder *string                `json:"placeholder,omitempty"`
	Required    *bool                  `json:"required,omitempty"`

	// Slug only allowed value for type is `title`
	//
	// Example: title
	Slug string `json:"slug"`
	Type string `json:"type"`
}

TitleDefaultFieldOutput20240614 defines model for TitleDefaultFieldOutput_2024_06_14.

type UnifiedCalendarEventOutput

type UnifiedCalendarEventOutput struct {
	// Attendees List of attendees with their response status
	Attendees *[]CalendarEventAttendee `json:"attendees,omitempty"`

	// CalendarEventOwner The calendar account that owns this event. This is the primary calendar where the event is stored and cannot be modified without appropriate permissions. Changing this would require moving the event to a different calendar
	CalendarEventOwner *CalendarEventOwner `json:"calendarEventOwner,omitempty"`

	// Description Detailed description of the calendar event
	Description *string `json:"description,omitempty"`

	// End End date and time of the calendar event with timezone information
	End struct {
		Time     *time.Time `json:"time,omitempty"`
		TimeZone *string    `json:"timeZone,omitempty"`
	} `json:"end"`

	// Hosts Information about the event hosts (organizers)
	Hosts *[]CalendarEventHost `json:"hosts,omitempty"`

	// Id Unique identifier of the calendar event
	Id string `json:"id"`

	// Locations Conference locations with entry points (video, phone, sip, more)
	Locations *[]UnifiedCalendarEventOutput_Locations_Item `json:"locations,omitempty"`

	// Source Calendar integration source (e.g., Google Calendar, Office 365, Apple Calendar). Currently only Google Calendar is supported.
	Source CalendarSource `json:"source"`

	// Start Start date and time of the calendar event with timezone information
	Start struct {
		Time     *time.Time `json:"time,omitempty"`
		TimeZone *string    `json:"timeZone,omitempty"`
	} `json:"start"`

	// Status Status of the event (accepted, pending, declined, cancelled)
	Status *CalendarEventStatus `json:"status,omitempty"`

	// Title Title of the calendar event
	Title string `json:"title"`
}

UnifiedCalendarEventOutput defines model for UnifiedCalendarEventOutput.

type UnifiedCalendarEventOutput_Locations_Item

type UnifiedCalendarEventOutput_Locations_Item struct {
	// contains filtered or unexported fields
}

UnifiedCalendarEventOutput_Locations_Item defines model for UnifiedCalendarEventOutput.locations.Item.

func (UnifiedCalendarEventOutput_Locations_Item) AsCalendarEventMoreLocation

AsCalendarEventMoreLocation returns the union data inside the UnifiedCalendarEventOutput_Locations_Item as a CalendarEventMoreLocation

func (UnifiedCalendarEventOutput_Locations_Item) AsCalendarEventPhoneLocation

AsCalendarEventPhoneLocation returns the union data inside the UnifiedCalendarEventOutput_Locations_Item as a CalendarEventPhoneLocation

func (UnifiedCalendarEventOutput_Locations_Item) AsCalendarEventSipLocation

AsCalendarEventSipLocation returns the union data inside the UnifiedCalendarEventOutput_Locations_Item as a CalendarEventSipLocation

func (UnifiedCalendarEventOutput_Locations_Item) AsCalendarEventVideoLocation

AsCalendarEventVideoLocation returns the union data inside the UnifiedCalendarEventOutput_Locations_Item as a CalendarEventVideoLocation

func (UnifiedCalendarEventOutput_Locations_Item) Discriminator

func (*UnifiedCalendarEventOutput_Locations_Item) FromCalendarEventMoreLocation

FromCalendarEventMoreLocation overwrites any union data inside the UnifiedCalendarEventOutput_Locations_Item as the provided CalendarEventMoreLocation

func (*UnifiedCalendarEventOutput_Locations_Item) FromCalendarEventPhoneLocation

func (t *UnifiedCalendarEventOutput_Locations_Item) FromCalendarEventPhoneLocation(v CalendarEventPhoneLocation) error

FromCalendarEventPhoneLocation overwrites any union data inside the UnifiedCalendarEventOutput_Locations_Item as the provided CalendarEventPhoneLocation

func (*UnifiedCalendarEventOutput_Locations_Item) FromCalendarEventSipLocation

FromCalendarEventSipLocation overwrites any union data inside the UnifiedCalendarEventOutput_Locations_Item as the provided CalendarEventSipLocation

func (*UnifiedCalendarEventOutput_Locations_Item) FromCalendarEventVideoLocation

func (t *UnifiedCalendarEventOutput_Locations_Item) FromCalendarEventVideoLocation(v CalendarEventVideoLocation) error

FromCalendarEventVideoLocation overwrites any union data inside the UnifiedCalendarEventOutput_Locations_Item as the provided CalendarEventVideoLocation

func (UnifiedCalendarEventOutput_Locations_Item) MarshalJSON

func (*UnifiedCalendarEventOutput_Locations_Item) MergeCalendarEventMoreLocation

func (t *UnifiedCalendarEventOutput_Locations_Item) MergeCalendarEventMoreLocation(v CalendarEventMoreLocation) error

MergeCalendarEventMoreLocation performs a merge with any union data inside the UnifiedCalendarEventOutput_Locations_Item, using the provided CalendarEventMoreLocation

func (*UnifiedCalendarEventOutput_Locations_Item) MergeCalendarEventPhoneLocation

func (t *UnifiedCalendarEventOutput_Locations_Item) MergeCalendarEventPhoneLocation(v CalendarEventPhoneLocation) error

MergeCalendarEventPhoneLocation performs a merge with any union data inside the UnifiedCalendarEventOutput_Locations_Item, using the provided CalendarEventPhoneLocation

func (*UnifiedCalendarEventOutput_Locations_Item) MergeCalendarEventSipLocation

func (t *UnifiedCalendarEventOutput_Locations_Item) MergeCalendarEventSipLocation(v CalendarEventSipLocation) error

MergeCalendarEventSipLocation performs a merge with any union data inside the UnifiedCalendarEventOutput_Locations_Item, using the provided CalendarEventSipLocation

func (*UnifiedCalendarEventOutput_Locations_Item) MergeCalendarEventVideoLocation

func (t *UnifiedCalendarEventOutput_Locations_Item) MergeCalendarEventVideoLocation(v CalendarEventVideoLocation) error

MergeCalendarEventVideoLocation performs a merge with any union data inside the UnifiedCalendarEventOutput_Locations_Item, using the provided CalendarEventVideoLocation

func (*UnifiedCalendarEventOutput_Locations_Item) UnmarshalJSON

func (UnifiedCalendarEventOutput_Locations_Item) ValueByDiscriminator

func (t UnifiedCalendarEventOutput_Locations_Item) ValueByDiscriminator() (interface{}, error)

type UpdateBookingInputAttendeeAddressLocation20240813

type UpdateBookingInputAttendeeAddressLocation20240813 struct {
	// Address Example: 123 Example St, City, Country
	Address string `json:"address"`

	// Type only allowed value for type is `attendeeAddress`
	//
	// Example: attendeeAddress
	Type string `json:"type"`
}

UpdateBookingInputAttendeeAddressLocation20240813 defines model for UpdateBookingInputAttendeeAddressLocation_2024_08_13.

type UpdateBookingInputAttendeeDefinedLocation20240813

type UpdateBookingInputAttendeeDefinedLocation20240813 struct {
	// Location Example: 321 Example St, City, Country
	Location string `json:"location"`

	// Type only allowed value for type is `attendeeDefined`
	//
	// Example: attendeeDefined
	Type string `json:"type"`
}

UpdateBookingInputAttendeeDefinedLocation20240813 defines model for UpdateBookingInputAttendeeDefinedLocation_2024_08_13.

type UpdateBookingInputAttendeePhoneLocation20240813

type UpdateBookingInputAttendeePhoneLocation20240813 struct {
	// Phone Example: +37120993151
	Phone string `json:"phone"`

	// Type only allowed value for type is `attendeePhone`
	//
	// Example: attendeePhone
	Type string `json:"type"`
}

UpdateBookingInputAttendeePhoneLocation20240813 defines model for UpdateBookingInputAttendeePhoneLocation_2024_08_13.

type UpdateBookingInputIntegrationLocation20240813

type UpdateBookingInputIntegrationLocation20240813 struct {
	// Integration Example: cal-video
	Integration UpdateBookingInputIntegrationLocation20240813Integration `json:"integration"`

	// Type only allowed value for type is `integration`
	//
	// Example: integration
	Type string `json:"type"`
}

UpdateBookingInputIntegrationLocation20240813 defines model for UpdateBookingInputIntegrationLocation_2024_08_13.

type UpdateBookingInputIntegrationLocation20240813Integration

type UpdateBookingInputIntegrationLocation20240813Integration string

UpdateBookingInputIntegrationLocation20240813Integration Example: cal-video

const (
	UpdateBookingInputIntegrationLocation20240813IntegrationCalVideo          UpdateBookingInputIntegrationLocation20240813Integration = "cal-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationCampfireVideo     UpdateBookingInputIntegrationLocation20240813Integration = "campfire-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationDemodeskVideo     UpdateBookingInputIntegrationLocation20240813Integration = "demodesk-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationDiscordVideo      UpdateBookingInputIntegrationLocation20240813Integration = "discord-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationEightxeightVideo  UpdateBookingInputIntegrationLocation20240813Integration = "eightxeight-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationElementCallVideo  UpdateBookingInputIntegrationLocation20240813Integration = "element-call-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationFacetimeVideo     UpdateBookingInputIntegrationLocation20240813Integration = "facetime-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationGoogleMeet        UpdateBookingInputIntegrationLocation20240813Integration = "google-meet"
	UpdateBookingInputIntegrationLocation20240813IntegrationHuddle            UpdateBookingInputIntegrationLocation20240813Integration = "huddle"
	UpdateBookingInputIntegrationLocation20240813IntegrationJellyConferencing UpdateBookingInputIntegrationLocation20240813Integration = "jelly-conferencing"
	UpdateBookingInputIntegrationLocation20240813IntegrationJellyVideo        UpdateBookingInputIntegrationLocation20240813Integration = "jelly-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationJitsi             UpdateBookingInputIntegrationLocation20240813Integration = "jitsi"
	UpdateBookingInputIntegrationLocation20240813IntegrationMirotalkVideo     UpdateBookingInputIntegrationLocation20240813Integration = "mirotalk-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationOffice365Video    UpdateBookingInputIntegrationLocation20240813Integration = "office365-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationPingVideo         UpdateBookingInputIntegrationLocation20240813Integration = "ping-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationRiversideVideo    UpdateBookingInputIntegrationLocation20240813Integration = "riverside-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationRoamVideo         UpdateBookingInputIntegrationLocation20240813Integration = "roam-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationSalesroomVideo    UpdateBookingInputIntegrationLocation20240813Integration = "salesroom-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationShimmerVideo      UpdateBookingInputIntegrationLocation20240813Integration = "shimmer-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationSignalVideo       UpdateBookingInputIntegrationLocation20240813Integration = "signal-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationSiriusVideo       UpdateBookingInputIntegrationLocation20240813Integration = "sirius-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationSkypeVideo        UpdateBookingInputIntegrationLocation20240813Integration = "skype-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationSylapsVideo       UpdateBookingInputIntegrationLocation20240813Integration = "sylaps-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationTandem            UpdateBookingInputIntegrationLocation20240813Integration = "tandem"
	UpdateBookingInputIntegrationLocation20240813IntegrationTelegramVideo     UpdateBookingInputIntegrationLocation20240813Integration = "telegram-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationWebexVideo        UpdateBookingInputIntegrationLocation20240813Integration = "webex-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationWhatsappVideo     UpdateBookingInputIntegrationLocation20240813Integration = "whatsapp-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationWherebyVideo      UpdateBookingInputIntegrationLocation20240813Integration = "whereby-video"
	UpdateBookingInputIntegrationLocation20240813IntegrationZoom              UpdateBookingInputIntegrationLocation20240813Integration = "zoom"
)

Defines values for UpdateBookingInputIntegrationLocation20240813Integration.

func (UpdateBookingInputIntegrationLocation20240813Integration) Valid

Valid indicates whether the value is a known member of the UpdateBookingInputIntegrationLocation20240813Integration enum.

type UpdateBookingInputLinkLocation20240813

type UpdateBookingInputLinkLocation20240813 struct {
	// Link Example: https://meet.google.com/txi-fein-xyz
	Link string `json:"link"`

	// Type only allowed value for type is `link` - it refers to link defined by the organizer.
	//
	// Example: link
	Type string `json:"type"`
}

UpdateBookingInputLinkLocation20240813 defines model for UpdateBookingInputLinkLocation_2024_08_13.

type UpdateBookingInputPhoneLocation20240813

type UpdateBookingInputPhoneLocation20240813 struct {
	// Phone Example: +37120993151
	Phone string `json:"phone"`

	// Type only allowed value for type is `phone` - it refers to phone defined by the organizer.
	//
	// Example: phone
	Type string `json:"type"`
}

UpdateBookingInputPhoneLocation20240813 defines model for UpdateBookingInputPhoneLocation_2024_08_13.

type UpdateBookingLocationInput20240813

type UpdateBookingLocationInput20240813 struct {
	// Location One of the event type locations. If instead of passing one of the location objects as required by schema you are still passing a string please use an object.
	Location *UpdateBookingLocationInput20240813_Location `json:"location,omitempty"`
}

UpdateBookingLocationInput20240813 defines model for UpdateBookingLocationInput_2024_08_13.

type UpdateBookingLocationInput20240813_Location

type UpdateBookingLocationInput20240813_Location struct {
	// contains filtered or unexported fields
}

UpdateBookingLocationInput20240813_Location One of the event type locations. If instead of passing one of the location objects as required by schema you are still passing a string please use an object.

func (UpdateBookingLocationInput20240813_Location) AsUpdateBookingInputAttendeeAddressLocation20240813

func (t UpdateBookingLocationInput20240813_Location) AsUpdateBookingInputAttendeeAddressLocation20240813() (UpdateBookingInputAttendeeAddressLocation20240813, error)

AsUpdateBookingInputAttendeeAddressLocation20240813 returns the union data inside the UpdateBookingLocationInput20240813_Location as a UpdateBookingInputAttendeeAddressLocation20240813

func (UpdateBookingLocationInput20240813_Location) AsUpdateBookingInputAttendeeDefinedLocation20240813

func (t UpdateBookingLocationInput20240813_Location) AsUpdateBookingInputAttendeeDefinedLocation20240813() (UpdateBookingInputAttendeeDefinedLocation20240813, error)

AsUpdateBookingInputAttendeeDefinedLocation20240813 returns the union data inside the UpdateBookingLocationInput20240813_Location as a UpdateBookingInputAttendeeDefinedLocation20240813

func (UpdateBookingLocationInput20240813_Location) AsUpdateBookingInputAttendeePhoneLocation20240813

func (t UpdateBookingLocationInput20240813_Location) AsUpdateBookingInputAttendeePhoneLocation20240813() (UpdateBookingInputAttendeePhoneLocation20240813, error)

AsUpdateBookingInputAttendeePhoneLocation20240813 returns the union data inside the UpdateBookingLocationInput20240813_Location as a UpdateBookingInputAttendeePhoneLocation20240813

func (UpdateBookingLocationInput20240813_Location) AsUpdateBookingInputIntegrationLocation20240813

func (t UpdateBookingLocationInput20240813_Location) AsUpdateBookingInputIntegrationLocation20240813() (UpdateBookingInputIntegrationLocation20240813, error)

AsUpdateBookingInputIntegrationLocation20240813 returns the union data inside the UpdateBookingLocationInput20240813_Location as a UpdateBookingInputIntegrationLocation20240813

func (UpdateBookingLocationInput20240813_Location) AsUpdateBookingInputLinkLocation20240813

func (t UpdateBookingLocationInput20240813_Location) AsUpdateBookingInputLinkLocation20240813() (UpdateBookingInputLinkLocation20240813, error)

AsUpdateBookingInputLinkLocation20240813 returns the union data inside the UpdateBookingLocationInput20240813_Location as a UpdateBookingInputLinkLocation20240813

func (UpdateBookingLocationInput20240813_Location) AsUpdateBookingInputPhoneLocation20240813

func (t UpdateBookingLocationInput20240813_Location) AsUpdateBookingInputPhoneLocation20240813() (UpdateBookingInputPhoneLocation20240813, error)

AsUpdateBookingInputPhoneLocation20240813 returns the union data inside the UpdateBookingLocationInput20240813_Location as a UpdateBookingInputPhoneLocation20240813

func (UpdateBookingLocationInput20240813_Location) AsUpdateInputAddressLocation20240813

func (t UpdateBookingLocationInput20240813_Location) AsUpdateInputAddressLocation20240813() (UpdateInputAddressLocation20240813, error)

AsUpdateInputAddressLocation20240813 returns the union data inside the UpdateBookingLocationInput20240813_Location as a UpdateInputAddressLocation20240813

func (*UpdateBookingLocationInput20240813_Location) FromUpdateBookingInputAttendeeAddressLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) FromUpdateBookingInputAttendeeAddressLocation20240813(v UpdateBookingInputAttendeeAddressLocation20240813) error

FromUpdateBookingInputAttendeeAddressLocation20240813 overwrites any union data inside the UpdateBookingLocationInput20240813_Location as the provided UpdateBookingInputAttendeeAddressLocation20240813

func (*UpdateBookingLocationInput20240813_Location) FromUpdateBookingInputAttendeeDefinedLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) FromUpdateBookingInputAttendeeDefinedLocation20240813(v UpdateBookingInputAttendeeDefinedLocation20240813) error

FromUpdateBookingInputAttendeeDefinedLocation20240813 overwrites any union data inside the UpdateBookingLocationInput20240813_Location as the provided UpdateBookingInputAttendeeDefinedLocation20240813

func (*UpdateBookingLocationInput20240813_Location) FromUpdateBookingInputAttendeePhoneLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) FromUpdateBookingInputAttendeePhoneLocation20240813(v UpdateBookingInputAttendeePhoneLocation20240813) error

FromUpdateBookingInputAttendeePhoneLocation20240813 overwrites any union data inside the UpdateBookingLocationInput20240813_Location as the provided UpdateBookingInputAttendeePhoneLocation20240813

func (*UpdateBookingLocationInput20240813_Location) FromUpdateBookingInputIntegrationLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) FromUpdateBookingInputIntegrationLocation20240813(v UpdateBookingInputIntegrationLocation20240813) error

FromUpdateBookingInputIntegrationLocation20240813 overwrites any union data inside the UpdateBookingLocationInput20240813_Location as the provided UpdateBookingInputIntegrationLocation20240813

func (*UpdateBookingLocationInput20240813_Location) FromUpdateBookingInputLinkLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) FromUpdateBookingInputLinkLocation20240813(v UpdateBookingInputLinkLocation20240813) error

FromUpdateBookingInputLinkLocation20240813 overwrites any union data inside the UpdateBookingLocationInput20240813_Location as the provided UpdateBookingInputLinkLocation20240813

func (*UpdateBookingLocationInput20240813_Location) FromUpdateBookingInputPhoneLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) FromUpdateBookingInputPhoneLocation20240813(v UpdateBookingInputPhoneLocation20240813) error

FromUpdateBookingInputPhoneLocation20240813 overwrites any union data inside the UpdateBookingLocationInput20240813_Location as the provided UpdateBookingInputPhoneLocation20240813

func (*UpdateBookingLocationInput20240813_Location) FromUpdateInputAddressLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) FromUpdateInputAddressLocation20240813(v UpdateInputAddressLocation20240813) error

FromUpdateInputAddressLocation20240813 overwrites any union data inside the UpdateBookingLocationInput20240813_Location as the provided UpdateInputAddressLocation20240813

func (UpdateBookingLocationInput20240813_Location) MarshalJSON

func (*UpdateBookingLocationInput20240813_Location) MergeUpdateBookingInputAttendeeAddressLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) MergeUpdateBookingInputAttendeeAddressLocation20240813(v UpdateBookingInputAttendeeAddressLocation20240813) error

MergeUpdateBookingInputAttendeeAddressLocation20240813 performs a merge with any union data inside the UpdateBookingLocationInput20240813_Location, using the provided UpdateBookingInputAttendeeAddressLocation20240813

func (*UpdateBookingLocationInput20240813_Location) MergeUpdateBookingInputAttendeeDefinedLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) MergeUpdateBookingInputAttendeeDefinedLocation20240813(v UpdateBookingInputAttendeeDefinedLocation20240813) error

MergeUpdateBookingInputAttendeeDefinedLocation20240813 performs a merge with any union data inside the UpdateBookingLocationInput20240813_Location, using the provided UpdateBookingInputAttendeeDefinedLocation20240813

func (*UpdateBookingLocationInput20240813_Location) MergeUpdateBookingInputAttendeePhoneLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) MergeUpdateBookingInputAttendeePhoneLocation20240813(v UpdateBookingInputAttendeePhoneLocation20240813) error

MergeUpdateBookingInputAttendeePhoneLocation20240813 performs a merge with any union data inside the UpdateBookingLocationInput20240813_Location, using the provided UpdateBookingInputAttendeePhoneLocation20240813

func (*UpdateBookingLocationInput20240813_Location) MergeUpdateBookingInputIntegrationLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) MergeUpdateBookingInputIntegrationLocation20240813(v UpdateBookingInputIntegrationLocation20240813) error

MergeUpdateBookingInputIntegrationLocation20240813 performs a merge with any union data inside the UpdateBookingLocationInput20240813_Location, using the provided UpdateBookingInputIntegrationLocation20240813

func (*UpdateBookingLocationInput20240813_Location) MergeUpdateBookingInputLinkLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) MergeUpdateBookingInputLinkLocation20240813(v UpdateBookingInputLinkLocation20240813) error

MergeUpdateBookingInputLinkLocation20240813 performs a merge with any union data inside the UpdateBookingLocationInput20240813_Location, using the provided UpdateBookingInputLinkLocation20240813

func (*UpdateBookingLocationInput20240813_Location) MergeUpdateBookingInputPhoneLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) MergeUpdateBookingInputPhoneLocation20240813(v UpdateBookingInputPhoneLocation20240813) error

MergeUpdateBookingInputPhoneLocation20240813 performs a merge with any union data inside the UpdateBookingLocationInput20240813_Location, using the provided UpdateBookingInputPhoneLocation20240813

func (*UpdateBookingLocationInput20240813_Location) MergeUpdateInputAddressLocation20240813

func (t *UpdateBookingLocationInput20240813_Location) MergeUpdateInputAddressLocation20240813(v UpdateInputAddressLocation20240813) error

MergeUpdateInputAddressLocation20240813 performs a merge with any union data inside the UpdateBookingLocationInput20240813_Location, using the provided UpdateInputAddressLocation20240813

func (*UpdateBookingLocationInput20240813_Location) UnmarshalJSON

type UpdateBookingLocationOutput20240813

type UpdateBookingLocationOutput20240813 struct {
	// Data Booking data, which can be either a BookingOutput object, a RecurringBookingOutput object, or an array of RecurringBookingOutput objects
	Data UpdateBookingLocationOutput20240813_Data `json:"data"`

	// Status Example: success
	Status UpdateBookingLocationOutput20240813Status `json:"status"`
}

UpdateBookingLocationOutput20240813 defines model for UpdateBookingLocationOutput_2024_08_13.

type UpdateBookingLocationOutput20240813Data2

type UpdateBookingLocationOutput20240813Data2 = []RecurringBookingOutput20240813

UpdateBookingLocationOutput20240813Data2 defines model for UpdateBookingLocationOutput20240813.Data.2.

type UpdateBookingLocationOutput20240813Data5

type UpdateBookingLocationOutput20240813Data5 = []GetRecurringSeatedBookingOutput20240813

UpdateBookingLocationOutput20240813Data5 defines model for UpdateBookingLocationOutput20240813.Data.5.

type UpdateBookingLocationOutput20240813Status

type UpdateBookingLocationOutput20240813Status string

UpdateBookingLocationOutput20240813Status Example: success

const (
	UpdateBookingLocationOutput20240813StatusError   UpdateBookingLocationOutput20240813Status = "error"
	UpdateBookingLocationOutput20240813StatusSuccess UpdateBookingLocationOutput20240813Status = "success"
)

Defines values for UpdateBookingLocationOutput20240813Status.

func (UpdateBookingLocationOutput20240813Status) Valid

Valid indicates whether the value is a known member of the UpdateBookingLocationOutput20240813Status enum.

type UpdateBookingLocationOutput20240813_Data

type UpdateBookingLocationOutput20240813_Data struct {
	// contains filtered or unexported fields
}

UpdateBookingLocationOutput20240813_Data Booking data, which can be either a BookingOutput object, a RecurringBookingOutput object, or an array of RecurringBookingOutput objects

func (UpdateBookingLocationOutput20240813_Data) AsBookingOutput20240813

AsBookingOutput20240813 returns the union data inside the UpdateBookingLocationOutput20240813_Data as a BookingOutput20240813

func (UpdateBookingLocationOutput20240813_Data) AsGetRecurringSeatedBookingOutput20240813

func (t UpdateBookingLocationOutput20240813_Data) AsGetRecurringSeatedBookingOutput20240813() (GetRecurringSeatedBookingOutput20240813, error)

AsGetRecurringSeatedBookingOutput20240813 returns the union data inside the UpdateBookingLocationOutput20240813_Data as a GetRecurringSeatedBookingOutput20240813

func (UpdateBookingLocationOutput20240813_Data) AsGetSeatedBookingOutput20240813

func (t UpdateBookingLocationOutput20240813_Data) AsGetSeatedBookingOutput20240813() (GetSeatedBookingOutput20240813, error)

AsGetSeatedBookingOutput20240813 returns the union data inside the UpdateBookingLocationOutput20240813_Data as a GetSeatedBookingOutput20240813

func (UpdateBookingLocationOutput20240813_Data) AsRecurringBookingOutput20240813

func (t UpdateBookingLocationOutput20240813_Data) AsRecurringBookingOutput20240813() (RecurringBookingOutput20240813, error)

AsRecurringBookingOutput20240813 returns the union data inside the UpdateBookingLocationOutput20240813_Data as a RecurringBookingOutput20240813

func (UpdateBookingLocationOutput20240813_Data) AsUpdateBookingLocationOutput20240813Data2

func (t UpdateBookingLocationOutput20240813_Data) AsUpdateBookingLocationOutput20240813Data2() (UpdateBookingLocationOutput20240813Data2, error)

AsUpdateBookingLocationOutput20240813Data2 returns the union data inside the UpdateBookingLocationOutput20240813_Data as a UpdateBookingLocationOutput20240813Data2

func (UpdateBookingLocationOutput20240813_Data) AsUpdateBookingLocationOutput20240813Data5

func (t UpdateBookingLocationOutput20240813_Data) AsUpdateBookingLocationOutput20240813Data5() (UpdateBookingLocationOutput20240813Data5, error)

AsUpdateBookingLocationOutput20240813Data5 returns the union data inside the UpdateBookingLocationOutput20240813_Data as a UpdateBookingLocationOutput20240813Data5

func (*UpdateBookingLocationOutput20240813_Data) FromBookingOutput20240813

FromBookingOutput20240813 overwrites any union data inside the UpdateBookingLocationOutput20240813_Data as the provided BookingOutput20240813

func (*UpdateBookingLocationOutput20240813_Data) FromGetRecurringSeatedBookingOutput20240813

func (t *UpdateBookingLocationOutput20240813_Data) FromGetRecurringSeatedBookingOutput20240813(v GetRecurringSeatedBookingOutput20240813) error

FromGetRecurringSeatedBookingOutput20240813 overwrites any union data inside the UpdateBookingLocationOutput20240813_Data as the provided GetRecurringSeatedBookingOutput20240813

func (*UpdateBookingLocationOutput20240813_Data) FromGetSeatedBookingOutput20240813

func (t *UpdateBookingLocationOutput20240813_Data) FromGetSeatedBookingOutput20240813(v GetSeatedBookingOutput20240813) error

FromGetSeatedBookingOutput20240813 overwrites any union data inside the UpdateBookingLocationOutput20240813_Data as the provided GetSeatedBookingOutput20240813

func (*UpdateBookingLocationOutput20240813_Data) FromRecurringBookingOutput20240813

func (t *UpdateBookingLocationOutput20240813_Data) FromRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

FromRecurringBookingOutput20240813 overwrites any union data inside the UpdateBookingLocationOutput20240813_Data as the provided RecurringBookingOutput20240813

func (*UpdateBookingLocationOutput20240813_Data) FromUpdateBookingLocationOutput20240813Data2

func (t *UpdateBookingLocationOutput20240813_Data) FromUpdateBookingLocationOutput20240813Data2(v UpdateBookingLocationOutput20240813Data2) error

FromUpdateBookingLocationOutput20240813Data2 overwrites any union data inside the UpdateBookingLocationOutput20240813_Data as the provided UpdateBookingLocationOutput20240813Data2

func (*UpdateBookingLocationOutput20240813_Data) FromUpdateBookingLocationOutput20240813Data5

func (t *UpdateBookingLocationOutput20240813_Data) FromUpdateBookingLocationOutput20240813Data5(v UpdateBookingLocationOutput20240813Data5) error

FromUpdateBookingLocationOutput20240813Data5 overwrites any union data inside the UpdateBookingLocationOutput20240813_Data as the provided UpdateBookingLocationOutput20240813Data5

func (UpdateBookingLocationOutput20240813_Data) MarshalJSON

func (*UpdateBookingLocationOutput20240813_Data) MergeBookingOutput20240813

func (t *UpdateBookingLocationOutput20240813_Data) MergeBookingOutput20240813(v BookingOutput20240813) error

MergeBookingOutput20240813 performs a merge with any union data inside the UpdateBookingLocationOutput20240813_Data, using the provided BookingOutput20240813

func (*UpdateBookingLocationOutput20240813_Data) MergeGetRecurringSeatedBookingOutput20240813

func (t *UpdateBookingLocationOutput20240813_Data) MergeGetRecurringSeatedBookingOutput20240813(v GetRecurringSeatedBookingOutput20240813) error

MergeGetRecurringSeatedBookingOutput20240813 performs a merge with any union data inside the UpdateBookingLocationOutput20240813_Data, using the provided GetRecurringSeatedBookingOutput20240813

func (*UpdateBookingLocationOutput20240813_Data) MergeGetSeatedBookingOutput20240813

func (t *UpdateBookingLocationOutput20240813_Data) MergeGetSeatedBookingOutput20240813(v GetSeatedBookingOutput20240813) error

MergeGetSeatedBookingOutput20240813 performs a merge with any union data inside the UpdateBookingLocationOutput20240813_Data, using the provided GetSeatedBookingOutput20240813

func (*UpdateBookingLocationOutput20240813_Data) MergeRecurringBookingOutput20240813

func (t *UpdateBookingLocationOutput20240813_Data) MergeRecurringBookingOutput20240813(v RecurringBookingOutput20240813) error

MergeRecurringBookingOutput20240813 performs a merge with any union data inside the UpdateBookingLocationOutput20240813_Data, using the provided RecurringBookingOutput20240813

func (*UpdateBookingLocationOutput20240813_Data) MergeUpdateBookingLocationOutput20240813Data2

func (t *UpdateBookingLocationOutput20240813_Data) MergeUpdateBookingLocationOutput20240813Data2(v UpdateBookingLocationOutput20240813Data2) error

MergeUpdateBookingLocationOutput20240813Data2 performs a merge with any union data inside the UpdateBookingLocationOutput20240813_Data, using the provided UpdateBookingLocationOutput20240813Data2

func (*UpdateBookingLocationOutput20240813_Data) MergeUpdateBookingLocationOutput20240813Data5

func (t *UpdateBookingLocationOutput20240813_Data) MergeUpdateBookingLocationOutput20240813Data5(v UpdateBookingLocationOutput20240813Data5) error

MergeUpdateBookingLocationOutput20240813Data5 performs a merge with any union data inside the UpdateBookingLocationOutput20240813_Data, using the provided UpdateBookingLocationOutput20240813Data5

func (*UpdateBookingLocationOutput20240813_Data) UnmarshalJSON

func (t *UpdateBookingLocationOutput20240813_Data) UnmarshalJSON(b []byte) error

type UpdateCalendarEventAttendee

type UpdateCalendarEventAttendee struct {
	// Email Email address of the attendee
	Email *string `json:"email,omitempty"`

	// Host Indicates if this attendee is the host
	Host *bool `json:"host,omitempty"`

	// Name Display name of the attendee
	Name *string `json:"name,omitempty"`

	// Optional Indicates if this attendee's attendance is optional
	Optional *bool `json:"optional,omitempty"`

	// ResponseStatus Response status of the attendee
	ResponseStatus *CalendarEventResponseStatus `json:"responseStatus,omitempty"`

	// Self Indicates if this attendee is the current user
	Self *bool `json:"self,omitempty"`
}

UpdateCalendarEventAttendee defines model for UpdateCalendarEventAttendee.

type UpdateEventTypeInput20240614

type UpdateEventTypeInput20240614 struct {
	// AfterEventBuffer Extra time automatically blocked on your calendar after a meeting ends. This gives you time to wrap up, add notes, or decompress before your next commitment.
	AfterEventBuffer *float64 `json:"afterEventBuffer,omitempty"`

	// AllowReschedulingCancelledBookings When enabled, users will be able to create a new booking when trying to reschedule a cancelled booking.
	AllowReschedulingCancelledBookings *bool `json:"allowReschedulingCancelledBookings,omitempty"`

	// AllowReschedulingPastBookings Enabling this option allows for past events to be rescheduled.
	AllowReschedulingPastBookings *bool `json:"allowReschedulingPastBookings,omitempty"`

	// BeforeEventBuffer Extra time automatically blocked on your calendar before a meeting starts. This gives you time to prepare, review notes, or transition from your previous activity.
	BeforeEventBuffer *float64 `json:"beforeEventBuffer,omitempty"`

	// BookerActiveBookingsLimit Limit the number of active bookings a booker can make for this event type.
	BookerActiveBookingsLimit *UpdateEventTypeInput20240614_BookerActiveBookingsLimit `json:"bookerActiveBookingsLimit,omitempty"`

	// BookerLayouts Should booker have week, month or column view. Specify default layout and enabled layouts user can pick.
	BookerLayouts *BookerLayouts20240614 `json:"bookerLayouts,omitempty"`

	// BookingFields Complete set of booking form fields. This array replaces all existing booking fields. To modify existing fields, first fetch the current event type, then include all desired fields in this array. Sending only one field will remove all other custom fields, keeping only default fields plus the provided one.
	BookingFields *[]UpdateEventTypeInput20240614_BookingFields_Item `json:"bookingFields,omitempty"`

	// BookingLimitsCount Limit how many times this event can be booked
	BookingLimitsCount *UpdateEventTypeInput20240614_BookingLimitsCount `json:"bookingLimitsCount,omitempty"`

	// BookingLimitsDuration Limit total amount of time that this event can be booked
	BookingLimitsDuration *UpdateEventTypeInput20240614_BookingLimitsDuration `json:"bookingLimitsDuration,omitempty"`

	// BookingRequiresAuthentication Boolean to require authentication for booking this event type via api. If true, only authenticated users who are the event-type owner or org/team admin/owner can book this event type.
	BookingRequiresAuthentication *bool `json:"bookingRequiresAuthentication,omitempty"`

	// BookingWindow Limit how far in the future this event can be booked
	BookingWindow *UpdateEventTypeInput20240614_BookingWindow `json:"bookingWindow,omitempty"`

	// CalVideoSettings Cal video settings for the event type
	CalVideoSettings *CalVideoSettings       `json:"calVideoSettings,omitempty"`
	Color            *EventTypeColor20240614 `json:"color,omitempty"`

	// ConfirmationPolicy Specify how the booking needs to be manually confirmed before it is pushed to the integrations and a confirmation mail is sent.
	ConfirmationPolicy *UpdateEventTypeInput20240614_ConfirmationPolicy `json:"confirmationPolicy,omitempty"`

	// CustomName Customizable event name with valid variables:
	//       {Event type title}, {Organiser}, {Scheduler}, {Location}, {Organiser first name},
	//       {Scheduler first name}, {Scheduler last name}, {Event duration}, {LOCATION},
	//       {HOST/ATTENDEE}, {HOST}, {ATTENDEE}, {USER}
	//
	// Example: {Event type title} between {Organiser} and {Scheduler}
	CustomName *string `json:"customName,omitempty"`

	// Description Example: Discover the culinary wonders of the Argentina by making the best flan ever!
	Description         *string                      `json:"description,omitempty"`
	DestinationCalendar *DestinationCalendar20240614 `json:"destinationCalendar,omitempty"`

	// DisableCancelling Settings for disabling cancelling of this event type.
	//
	// Example: {"disabled":true}
	DisableCancelling *DisableCancelling20240614 `json:"disableCancelling,omitempty"`

	// DisableGuests If true, person booking this event can't add guests via their emails.
	DisableGuests *bool `json:"disableGuests,omitempty"`

	// DisableRescheduling Settings for disabling rescheduling of this event type. Can be always disabled or disabled when less than X minutes before the meeting.
	//
	// Example: {"disabled":false,"minutesBefore":60}
	DisableRescheduling      *DisableRescheduling20240614 `json:"disableRescheduling,omitempty"`
	Hidden                   *bool                        `json:"hidden,omitempty"`
	HideCalendarEventDetails *bool                        `json:"hideCalendarEventDetails,omitempty"`
	HideCalendarNotes        *bool                        `json:"hideCalendarNotes,omitempty"`

	// HideOrganizerEmail Boolean to Hide organizer's email address from the booking screen, email notifications, and calendar events
	HideOrganizerEmail *bool `json:"hideOrganizerEmail,omitempty"`

	// InterfaceLanguage Set preferred language for the booking interface. Use empty string for visitor's browser language (default).
	InterfaceLanguage *UpdateEventTypeInput20240614InterfaceLanguage `json:"interfaceLanguage,omitempty"`

	// LengthInMinutes Example: 60
	LengthInMinutes *float64 `json:"lengthInMinutes,omitempty"`

	// LengthInMinutesOptions If you want that user can choose between different lengths of the event you can specify them here. Must include the provided `lengthInMinutes`.
	//
	// Example: [15,30,60]
	LengthInMinutesOptions *[]string `json:"lengthInMinutesOptions,omitempty"`

	// Locations Locations where the event will take place. If not provided, cal video link will be used as the location. Note: Setting a location to a conferencing app does not install the app - the app must already be installed. Via API, only Google Meet (google-meet), Microsoft Teams (office365-video), and Zoom (zoom) can be installed. Cal Video (cal-video) is installed by default. All other conferencing apps must be connected via the Cal.diy web app and are not available for Platform plan customers. You can only set an event type location to an app that has already been installed or connected.
	Locations                       *[]UpdateEventTypeInput20240614_Locations_Item `json:"locations,omitempty"`
	LockTimeZoneToggleOnBookingPage *bool                                          `json:"lockTimeZoneToggleOnBookingPage,omitempty"`

	// MinimumBookingNotice Minimum number of minutes before the event that a booking can be made.
	MinimumBookingNotice *float64 `json:"minimumBookingNotice,omitempty"`

	// OffsetStart Offset timeslots shown to bookers by a specified number of minutes
	OffsetStart *float64 `json:"offsetStart,omitempty"`

	// OnlyShowFirstAvailableSlot This will limit your availability for this event type to one slot per day, scheduled at the earliest available time.
	OnlyShowFirstAvailableSlot *bool `json:"onlyShowFirstAvailableSlot,omitempty"`

	// Recurrence Create a recurring event type.
	Recurrence                      *UpdateEventTypeInput20240614_Recurrence `json:"recurrence,omitempty"`
	RequiresBookerEmailVerification *bool                                    `json:"requiresBookerEmailVerification,omitempty"`

	// ScheduleId If you want that this event has different schedule than user's default one you can specify it here.
	ScheduleId *float64 `json:"scheduleId,omitempty"`

	// Seats Create an event type with multiple seats.
	Seats *UpdateEventTypeInput20240614_Seats `json:"seats,omitempty"`

	// ShowOptimizedSlots Arrange time slots to optimize availability.
	ShowOptimizedSlots *bool `json:"showOptimizedSlots,omitempty"`

	// SlotInterval Number representing length of each slot when event is booked. By default it equal length of the event type.
	//       If event length is 60 minutes then we would have slots 9AM, 10AM, 11AM etc. but if it was changed to 30 minutes then
	//       we would have slots 9AM, 9:30AM, 10AM, 10:30AM etc. as the available times to book the 60 minute event.
	SlotInterval *float64 `json:"slotInterval,omitempty"`

	// Slug Example: learn-the-secrets-of-masterchief
	Slug *string `json:"slug,omitempty"`

	// SuccessRedirectUrl A valid URL where the booker will redirect to, once the booking is completed successfully
	//
	// Example: https://masterchief.com/argentina/flan/video/9129412
	SuccessRedirectUrl *string `json:"successRedirectUrl,omitempty"`

	// Title Example: Learn the secrets of masterchief!
	Title                       *string `json:"title,omitempty"`
	UseDestinationCalendarEmail *bool   `json:"useDestinationCalendarEmail,omitempty"`
}

UpdateEventTypeInput20240614 defines model for UpdateEventTypeInput_2024_06_14.

type UpdateEventTypeInput20240614InterfaceLanguage

type UpdateEventTypeInput20240614InterfaceLanguage string

UpdateEventTypeInput20240614InterfaceLanguage Set preferred language for the booking interface. Use empty string for visitor's browser language (default).

const (
	UpdateEventTypeInput20240614InterfaceLanguageAr    UpdateEventTypeInput20240614InterfaceLanguage = "ar"
	UpdateEventTypeInput20240614InterfaceLanguageAz    UpdateEventTypeInput20240614InterfaceLanguage = "az"
	UpdateEventTypeInput20240614InterfaceLanguageBg    UpdateEventTypeInput20240614InterfaceLanguage = "bg"
	UpdateEventTypeInput20240614InterfaceLanguageBn    UpdateEventTypeInput20240614InterfaceLanguage = "bn"
	UpdateEventTypeInput20240614InterfaceLanguageCa    UpdateEventTypeInput20240614InterfaceLanguage = "ca"
	UpdateEventTypeInput20240614InterfaceLanguageCs    UpdateEventTypeInput20240614InterfaceLanguage = "cs"
	UpdateEventTypeInput20240614InterfaceLanguageDa    UpdateEventTypeInput20240614InterfaceLanguage = "da"
	UpdateEventTypeInput20240614InterfaceLanguageDe    UpdateEventTypeInput20240614InterfaceLanguage = "de"
	UpdateEventTypeInput20240614InterfaceLanguageEl    UpdateEventTypeInput20240614InterfaceLanguage = "el"
	UpdateEventTypeInput20240614InterfaceLanguageEmpty UpdateEventTypeInput20240614InterfaceLanguage = ""
	UpdateEventTypeInput20240614InterfaceLanguageEn    UpdateEventTypeInput20240614InterfaceLanguage = "en"
	UpdateEventTypeInput20240614InterfaceLanguageEs    UpdateEventTypeInput20240614InterfaceLanguage = "es"
	UpdateEventTypeInput20240614InterfaceLanguageEs419 UpdateEventTypeInput20240614InterfaceLanguage = "es-419"
	UpdateEventTypeInput20240614InterfaceLanguageEt    UpdateEventTypeInput20240614InterfaceLanguage = "et"
	UpdateEventTypeInput20240614InterfaceLanguageEu    UpdateEventTypeInput20240614InterfaceLanguage = "eu"
	UpdateEventTypeInput20240614InterfaceLanguageFi    UpdateEventTypeInput20240614InterfaceLanguage = "fi"
	UpdateEventTypeInput20240614InterfaceLanguageFr    UpdateEventTypeInput20240614InterfaceLanguage = "fr"
	UpdateEventTypeInput20240614InterfaceLanguageHe    UpdateEventTypeInput20240614InterfaceLanguage = "he"
	UpdateEventTypeInput20240614InterfaceLanguageHu    UpdateEventTypeInput20240614InterfaceLanguage = "hu"
	UpdateEventTypeInput20240614InterfaceLanguageIt    UpdateEventTypeInput20240614InterfaceLanguage = "it"
	UpdateEventTypeInput20240614InterfaceLanguageJa    UpdateEventTypeInput20240614InterfaceLanguage = "ja"
	UpdateEventTypeInput20240614InterfaceLanguageKm    UpdateEventTypeInput20240614InterfaceLanguage = "km"
	UpdateEventTypeInput20240614InterfaceLanguageKo    UpdateEventTypeInput20240614InterfaceLanguage = "ko"
	UpdateEventTypeInput20240614InterfaceLanguageNl    UpdateEventTypeInput20240614InterfaceLanguage = "nl"
	UpdateEventTypeInput20240614InterfaceLanguageNo    UpdateEventTypeInput20240614InterfaceLanguage = "no"
	UpdateEventTypeInput20240614InterfaceLanguagePl    UpdateEventTypeInput20240614InterfaceLanguage = "pl"
	UpdateEventTypeInput20240614InterfaceLanguagePt    UpdateEventTypeInput20240614InterfaceLanguage = "pt"
	UpdateEventTypeInput20240614InterfaceLanguagePtBR  UpdateEventTypeInput20240614InterfaceLanguage = "pt-BR"
	UpdateEventTypeInput20240614InterfaceLanguageRo    UpdateEventTypeInput20240614InterfaceLanguage = "ro"
	UpdateEventTypeInput20240614InterfaceLanguageRu    UpdateEventTypeInput20240614InterfaceLanguage = "ru"
	UpdateEventTypeInput20240614InterfaceLanguageSkSK  UpdateEventTypeInput20240614InterfaceLanguage = "sk-SK"
	UpdateEventTypeInput20240614InterfaceLanguageSr    UpdateEventTypeInput20240614InterfaceLanguage = "sr"
	UpdateEventTypeInput20240614InterfaceLanguageSv    UpdateEventTypeInput20240614InterfaceLanguage = "sv"
	UpdateEventTypeInput20240614InterfaceLanguageTr    UpdateEventTypeInput20240614InterfaceLanguage = "tr"
	UpdateEventTypeInput20240614InterfaceLanguageUk    UpdateEventTypeInput20240614InterfaceLanguage = "uk"
	UpdateEventTypeInput20240614InterfaceLanguageVi    UpdateEventTypeInput20240614InterfaceLanguage = "vi"
	UpdateEventTypeInput20240614InterfaceLanguageZhCN  UpdateEventTypeInput20240614InterfaceLanguage = "zh-CN"
	UpdateEventTypeInput20240614InterfaceLanguageZhTW  UpdateEventTypeInput20240614InterfaceLanguage = "zh-TW"
)

Defines values for UpdateEventTypeInput20240614InterfaceLanguage.

func (UpdateEventTypeInput20240614InterfaceLanguage) Valid

Valid indicates whether the value is a known member of the UpdateEventTypeInput20240614InterfaceLanguage enum.

type UpdateEventTypeInput20240614_BookerActiveBookingsLimit

type UpdateEventTypeInput20240614_BookerActiveBookingsLimit struct {
	// contains filtered or unexported fields
}

UpdateEventTypeInput20240614_BookerActiveBookingsLimit Limit the number of active bookings a booker can make for this event type.

func (UpdateEventTypeInput20240614_BookerActiveBookingsLimit) AsBookerActiveBookingsLimit20240614

AsBookerActiveBookingsLimit20240614 returns the union data inside the UpdateEventTypeInput20240614_BookerActiveBookingsLimit as a BookerActiveBookingsLimit20240614

func (UpdateEventTypeInput20240614_BookerActiveBookingsLimit) AsDisabled20240614

AsDisabled20240614 returns the union data inside the UpdateEventTypeInput20240614_BookerActiveBookingsLimit as a Disabled20240614

func (*UpdateEventTypeInput20240614_BookerActiveBookingsLimit) FromBookerActiveBookingsLimit20240614

FromBookerActiveBookingsLimit20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookerActiveBookingsLimit as the provided BookerActiveBookingsLimit20240614

func (*UpdateEventTypeInput20240614_BookerActiveBookingsLimit) FromDisabled20240614

FromDisabled20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookerActiveBookingsLimit as the provided Disabled20240614

func (UpdateEventTypeInput20240614_BookerActiveBookingsLimit) MarshalJSON

func (*UpdateEventTypeInput20240614_BookerActiveBookingsLimit) MergeBookerActiveBookingsLimit20240614

MergeBookerActiveBookingsLimit20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookerActiveBookingsLimit, using the provided BookerActiveBookingsLimit20240614

func (*UpdateEventTypeInput20240614_BookerActiveBookingsLimit) MergeDisabled20240614

MergeDisabled20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookerActiveBookingsLimit, using the provided Disabled20240614

func (*UpdateEventTypeInput20240614_BookerActiveBookingsLimit) UnmarshalJSON

type UpdateEventTypeInput20240614_BookingFields_Item

type UpdateEventTypeInput20240614_BookingFields_Item struct {
	// contains filtered or unexported fields
}

UpdateEventTypeInput20240614_BookingFields_Item defines model for UpdateEventTypeInput_2024_06_14.bookingFields.Item.

func (UpdateEventTypeInput20240614_BookingFields_Item) AsAddressFieldInput20240614

AsAddressFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a AddressFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsBooleanFieldInput20240614

AsBooleanFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a BooleanFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsCheckboxGroupFieldInput20240614

AsCheckboxGroupFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a CheckboxGroupFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsEmailDefaultFieldInput20240614

AsEmailDefaultFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a EmailDefaultFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsGuestsDefaultFieldInput20240614

AsGuestsDefaultFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a GuestsDefaultFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsLocationDefaultFieldInput20240614

AsLocationDefaultFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a LocationDefaultFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsMultiEmailFieldInput20240614

AsMultiEmailFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a MultiEmailFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsMultiSelectFieldInput20240614

AsMultiSelectFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a MultiSelectFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsNameDefaultFieldInput20240614

AsNameDefaultFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a NameDefaultFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsNotesDefaultFieldInput20240614

AsNotesDefaultFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a NotesDefaultFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsNumberFieldInput20240614

AsNumberFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a NumberFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsPhoneFieldInput20240614

AsPhoneFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a PhoneFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsRadioGroupFieldInput20240614

AsRadioGroupFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a RadioGroupFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsRescheduleReasonDefaultFieldInput20240614

func (t UpdateEventTypeInput20240614_BookingFields_Item) AsRescheduleReasonDefaultFieldInput20240614() (RescheduleReasonDefaultFieldInput20240614, error)

AsRescheduleReasonDefaultFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a RescheduleReasonDefaultFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsSelectFieldInput20240614

AsSelectFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a SelectFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsTextAreaFieldInput20240614

AsTextAreaFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a TextAreaFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsTextFieldInput20240614

AsTextFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a TextFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) AsTitleDefaultFieldInput20240614

AsTitleDefaultFieldInput20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingFields_Item as a TitleDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromAddressFieldInput20240614

FromAddressFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided AddressFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromBooleanFieldInput20240614

FromBooleanFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided BooleanFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromCheckboxGroupFieldInput20240614

FromCheckboxGroupFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided CheckboxGroupFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromEmailDefaultFieldInput20240614

FromEmailDefaultFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided EmailDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromGuestsDefaultFieldInput20240614

FromGuestsDefaultFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided GuestsDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromLocationDefaultFieldInput20240614

FromLocationDefaultFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided LocationDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromMultiEmailFieldInput20240614

FromMultiEmailFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided MultiEmailFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromMultiSelectFieldInput20240614

FromMultiSelectFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided MultiSelectFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromNameDefaultFieldInput20240614

FromNameDefaultFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided NameDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromNotesDefaultFieldInput20240614

FromNotesDefaultFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided NotesDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromNumberFieldInput20240614

FromNumberFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided NumberFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromPhoneFieldInput20240614

FromPhoneFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided PhoneFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromRadioGroupFieldInput20240614

FromRadioGroupFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided RadioGroupFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromRescheduleReasonDefaultFieldInput20240614

func (t *UpdateEventTypeInput20240614_BookingFields_Item) FromRescheduleReasonDefaultFieldInput20240614(v RescheduleReasonDefaultFieldInput20240614) error

FromRescheduleReasonDefaultFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided RescheduleReasonDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromSelectFieldInput20240614

FromSelectFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided SelectFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromTextAreaFieldInput20240614

FromTextAreaFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided TextAreaFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromTextFieldInput20240614

FromTextFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided TextFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) FromTitleDefaultFieldInput20240614

FromTitleDefaultFieldInput20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingFields_Item as the provided TitleDefaultFieldInput20240614

func (UpdateEventTypeInput20240614_BookingFields_Item) MarshalJSON

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeAddressFieldInput20240614

MergeAddressFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided AddressFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeBooleanFieldInput20240614

MergeBooleanFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided BooleanFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeCheckboxGroupFieldInput20240614

MergeCheckboxGroupFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided CheckboxGroupFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeEmailDefaultFieldInput20240614

MergeEmailDefaultFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided EmailDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeGuestsDefaultFieldInput20240614

MergeGuestsDefaultFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided GuestsDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeLocationDefaultFieldInput20240614

MergeLocationDefaultFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided LocationDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeMultiEmailFieldInput20240614

MergeMultiEmailFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided MultiEmailFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeMultiSelectFieldInput20240614

MergeMultiSelectFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided MultiSelectFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeNameDefaultFieldInput20240614

MergeNameDefaultFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided NameDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeNotesDefaultFieldInput20240614

MergeNotesDefaultFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided NotesDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeNumberFieldInput20240614

MergeNumberFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided NumberFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergePhoneFieldInput20240614

MergePhoneFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided PhoneFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeRadioGroupFieldInput20240614

MergeRadioGroupFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided RadioGroupFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeRescheduleReasonDefaultFieldInput20240614

func (t *UpdateEventTypeInput20240614_BookingFields_Item) MergeRescheduleReasonDefaultFieldInput20240614(v RescheduleReasonDefaultFieldInput20240614) error

MergeRescheduleReasonDefaultFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided RescheduleReasonDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeSelectFieldInput20240614

MergeSelectFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided SelectFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeTextAreaFieldInput20240614

MergeTextAreaFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided TextAreaFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeTextFieldInput20240614

MergeTextFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided TextFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) MergeTitleDefaultFieldInput20240614

MergeTitleDefaultFieldInput20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingFields_Item, using the provided TitleDefaultFieldInput20240614

func (*UpdateEventTypeInput20240614_BookingFields_Item) UnmarshalJSON

type UpdateEventTypeInput20240614_BookingLimitsCount

type UpdateEventTypeInput20240614_BookingLimitsCount struct {
	// contains filtered or unexported fields
}

UpdateEventTypeInput20240614_BookingLimitsCount Limit how many times this event can be booked

func (UpdateEventTypeInput20240614_BookingLimitsCount) AsBaseBookingLimitsCount20240614

AsBaseBookingLimitsCount20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingLimitsCount as a BaseBookingLimitsCount20240614

func (UpdateEventTypeInput20240614_BookingLimitsCount) AsDisabled20240614

AsDisabled20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingLimitsCount as a Disabled20240614

func (*UpdateEventTypeInput20240614_BookingLimitsCount) FromBaseBookingLimitsCount20240614

FromBaseBookingLimitsCount20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingLimitsCount as the provided BaseBookingLimitsCount20240614

func (*UpdateEventTypeInput20240614_BookingLimitsCount) FromDisabled20240614

FromDisabled20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingLimitsCount as the provided Disabled20240614

func (UpdateEventTypeInput20240614_BookingLimitsCount) MarshalJSON

func (*UpdateEventTypeInput20240614_BookingLimitsCount) MergeBaseBookingLimitsCount20240614

MergeBaseBookingLimitsCount20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingLimitsCount, using the provided BaseBookingLimitsCount20240614

func (*UpdateEventTypeInput20240614_BookingLimitsCount) MergeDisabled20240614

MergeDisabled20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingLimitsCount, using the provided Disabled20240614

func (*UpdateEventTypeInput20240614_BookingLimitsCount) UnmarshalJSON

type UpdateEventTypeInput20240614_BookingLimitsDuration

type UpdateEventTypeInput20240614_BookingLimitsDuration struct {
	// contains filtered or unexported fields
}

UpdateEventTypeInput20240614_BookingLimitsDuration Limit total amount of time that this event can be booked

func (UpdateEventTypeInput20240614_BookingLimitsDuration) AsBaseBookingLimitsDuration20240614

AsBaseBookingLimitsDuration20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingLimitsDuration as a BaseBookingLimitsDuration20240614

func (UpdateEventTypeInput20240614_BookingLimitsDuration) AsDisabled20240614

AsDisabled20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingLimitsDuration as a Disabled20240614

func (*UpdateEventTypeInput20240614_BookingLimitsDuration) FromBaseBookingLimitsDuration20240614

FromBaseBookingLimitsDuration20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingLimitsDuration as the provided BaseBookingLimitsDuration20240614

func (*UpdateEventTypeInput20240614_BookingLimitsDuration) FromDisabled20240614

FromDisabled20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingLimitsDuration as the provided Disabled20240614

func (UpdateEventTypeInput20240614_BookingLimitsDuration) MarshalJSON

func (*UpdateEventTypeInput20240614_BookingLimitsDuration) MergeBaseBookingLimitsDuration20240614

MergeBaseBookingLimitsDuration20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingLimitsDuration, using the provided BaseBookingLimitsDuration20240614

func (*UpdateEventTypeInput20240614_BookingLimitsDuration) MergeDisabled20240614

MergeDisabled20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingLimitsDuration, using the provided Disabled20240614

func (*UpdateEventTypeInput20240614_BookingLimitsDuration) UnmarshalJSON

type UpdateEventTypeInput20240614_BookingWindow

type UpdateEventTypeInput20240614_BookingWindow struct {
	// contains filtered or unexported fields
}

UpdateEventTypeInput20240614_BookingWindow Limit how far in the future this event can be booked

func (UpdateEventTypeInput20240614_BookingWindow) AsBusinessDaysWindow20240614

AsBusinessDaysWindow20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingWindow as a BusinessDaysWindow20240614

func (UpdateEventTypeInput20240614_BookingWindow) AsCalendarDaysWindow20240614

AsCalendarDaysWindow20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingWindow as a CalendarDaysWindow20240614

func (UpdateEventTypeInput20240614_BookingWindow) AsDisabled20240614

AsDisabled20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingWindow as a Disabled20240614

func (UpdateEventTypeInput20240614_BookingWindow) AsRangeWindow20240614

AsRangeWindow20240614 returns the union data inside the UpdateEventTypeInput20240614_BookingWindow as a RangeWindow20240614

func (*UpdateEventTypeInput20240614_BookingWindow) FromBusinessDaysWindow20240614

FromBusinessDaysWindow20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingWindow as the provided BusinessDaysWindow20240614

func (*UpdateEventTypeInput20240614_BookingWindow) FromCalendarDaysWindow20240614

FromCalendarDaysWindow20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingWindow as the provided CalendarDaysWindow20240614

func (*UpdateEventTypeInput20240614_BookingWindow) FromDisabled20240614

FromDisabled20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingWindow as the provided Disabled20240614

func (*UpdateEventTypeInput20240614_BookingWindow) FromRangeWindow20240614

FromRangeWindow20240614 overwrites any union data inside the UpdateEventTypeInput20240614_BookingWindow as the provided RangeWindow20240614

func (UpdateEventTypeInput20240614_BookingWindow) MarshalJSON

func (*UpdateEventTypeInput20240614_BookingWindow) MergeBusinessDaysWindow20240614

func (t *UpdateEventTypeInput20240614_BookingWindow) MergeBusinessDaysWindow20240614(v BusinessDaysWindow20240614) error

MergeBusinessDaysWindow20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingWindow, using the provided BusinessDaysWindow20240614

func (*UpdateEventTypeInput20240614_BookingWindow) MergeCalendarDaysWindow20240614

func (t *UpdateEventTypeInput20240614_BookingWindow) MergeCalendarDaysWindow20240614(v CalendarDaysWindow20240614) error

MergeCalendarDaysWindow20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingWindow, using the provided CalendarDaysWindow20240614

func (*UpdateEventTypeInput20240614_BookingWindow) MergeDisabled20240614

MergeDisabled20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingWindow, using the provided Disabled20240614

func (*UpdateEventTypeInput20240614_BookingWindow) MergeRangeWindow20240614

MergeRangeWindow20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_BookingWindow, using the provided RangeWindow20240614

func (*UpdateEventTypeInput20240614_BookingWindow) UnmarshalJSON

type UpdateEventTypeInput20240614_ConfirmationPolicy

type UpdateEventTypeInput20240614_ConfirmationPolicy struct {
	// contains filtered or unexported fields
}

UpdateEventTypeInput20240614_ConfirmationPolicy Specify how the booking needs to be manually confirmed before it is pushed to the integrations and a confirmation mail is sent.

func (UpdateEventTypeInput20240614_ConfirmationPolicy) AsBaseConfirmationPolicy20240614

AsBaseConfirmationPolicy20240614 returns the union data inside the UpdateEventTypeInput20240614_ConfirmationPolicy as a BaseConfirmationPolicy20240614

func (UpdateEventTypeInput20240614_ConfirmationPolicy) AsDisabled20240614

AsDisabled20240614 returns the union data inside the UpdateEventTypeInput20240614_ConfirmationPolicy as a Disabled20240614

func (*UpdateEventTypeInput20240614_ConfirmationPolicy) FromBaseConfirmationPolicy20240614

FromBaseConfirmationPolicy20240614 overwrites any union data inside the UpdateEventTypeInput20240614_ConfirmationPolicy as the provided BaseConfirmationPolicy20240614

func (*UpdateEventTypeInput20240614_ConfirmationPolicy) FromDisabled20240614

FromDisabled20240614 overwrites any union data inside the UpdateEventTypeInput20240614_ConfirmationPolicy as the provided Disabled20240614

func (UpdateEventTypeInput20240614_ConfirmationPolicy) MarshalJSON

func (*UpdateEventTypeInput20240614_ConfirmationPolicy) MergeBaseConfirmationPolicy20240614

MergeBaseConfirmationPolicy20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_ConfirmationPolicy, using the provided BaseConfirmationPolicy20240614

func (*UpdateEventTypeInput20240614_ConfirmationPolicy) MergeDisabled20240614

MergeDisabled20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_ConfirmationPolicy, using the provided Disabled20240614

func (*UpdateEventTypeInput20240614_ConfirmationPolicy) UnmarshalJSON

type UpdateEventTypeInput20240614_Locations_Item

type UpdateEventTypeInput20240614_Locations_Item struct {
	// contains filtered or unexported fields
}

UpdateEventTypeInput20240614_Locations_Item defines model for UpdateEventTypeInput_2024_06_14.locations.Item.

func (UpdateEventTypeInput20240614_Locations_Item) AsInputAddressLocation20240614

AsInputAddressLocation20240614 returns the union data inside the UpdateEventTypeInput20240614_Locations_Item as a InputAddressLocation20240614

func (UpdateEventTypeInput20240614_Locations_Item) AsInputAttendeeAddressLocation20240614

func (t UpdateEventTypeInput20240614_Locations_Item) AsInputAttendeeAddressLocation20240614() (InputAttendeeAddressLocation20240614, error)

AsInputAttendeeAddressLocation20240614 returns the union data inside the UpdateEventTypeInput20240614_Locations_Item as a InputAttendeeAddressLocation20240614

func (UpdateEventTypeInput20240614_Locations_Item) AsInputAttendeeDefinedLocation20240614

func (t UpdateEventTypeInput20240614_Locations_Item) AsInputAttendeeDefinedLocation20240614() (InputAttendeeDefinedLocation20240614, error)

AsInputAttendeeDefinedLocation20240614 returns the union data inside the UpdateEventTypeInput20240614_Locations_Item as a InputAttendeeDefinedLocation20240614

func (UpdateEventTypeInput20240614_Locations_Item) AsInputAttendeePhoneLocation20240614

func (t UpdateEventTypeInput20240614_Locations_Item) AsInputAttendeePhoneLocation20240614() (InputAttendeePhoneLocation20240614, error)

AsInputAttendeePhoneLocation20240614 returns the union data inside the UpdateEventTypeInput20240614_Locations_Item as a InputAttendeePhoneLocation20240614

func (UpdateEventTypeInput20240614_Locations_Item) AsInputIntegrationLocation20240614

AsInputIntegrationLocation20240614 returns the union data inside the UpdateEventTypeInput20240614_Locations_Item as a InputIntegrationLocation20240614

func (UpdateEventTypeInput20240614_Locations_Item) AsInputLinkLocation20240614

AsInputLinkLocation20240614 returns the union data inside the UpdateEventTypeInput20240614_Locations_Item as a InputLinkLocation20240614

func (UpdateEventTypeInput20240614_Locations_Item) AsInputPhoneLocation20240614

AsInputPhoneLocation20240614 returns the union data inside the UpdateEventTypeInput20240614_Locations_Item as a InputPhoneLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) FromInputAddressLocation20240614

FromInputAddressLocation20240614 overwrites any union data inside the UpdateEventTypeInput20240614_Locations_Item as the provided InputAddressLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) FromInputAttendeeAddressLocation20240614

func (t *UpdateEventTypeInput20240614_Locations_Item) FromInputAttendeeAddressLocation20240614(v InputAttendeeAddressLocation20240614) error

FromInputAttendeeAddressLocation20240614 overwrites any union data inside the UpdateEventTypeInput20240614_Locations_Item as the provided InputAttendeeAddressLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) FromInputAttendeeDefinedLocation20240614

func (t *UpdateEventTypeInput20240614_Locations_Item) FromInputAttendeeDefinedLocation20240614(v InputAttendeeDefinedLocation20240614) error

FromInputAttendeeDefinedLocation20240614 overwrites any union data inside the UpdateEventTypeInput20240614_Locations_Item as the provided InputAttendeeDefinedLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) FromInputAttendeePhoneLocation20240614

func (t *UpdateEventTypeInput20240614_Locations_Item) FromInputAttendeePhoneLocation20240614(v InputAttendeePhoneLocation20240614) error

FromInputAttendeePhoneLocation20240614 overwrites any union data inside the UpdateEventTypeInput20240614_Locations_Item as the provided InputAttendeePhoneLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) FromInputIntegrationLocation20240614

func (t *UpdateEventTypeInput20240614_Locations_Item) FromInputIntegrationLocation20240614(v InputIntegrationLocation20240614) error

FromInputIntegrationLocation20240614 overwrites any union data inside the UpdateEventTypeInput20240614_Locations_Item as the provided InputIntegrationLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) FromInputLinkLocation20240614

FromInputLinkLocation20240614 overwrites any union data inside the UpdateEventTypeInput20240614_Locations_Item as the provided InputLinkLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) FromInputPhoneLocation20240614

FromInputPhoneLocation20240614 overwrites any union data inside the UpdateEventTypeInput20240614_Locations_Item as the provided InputPhoneLocation20240614

func (UpdateEventTypeInput20240614_Locations_Item) MarshalJSON

func (*UpdateEventTypeInput20240614_Locations_Item) MergeInputAddressLocation20240614

func (t *UpdateEventTypeInput20240614_Locations_Item) MergeInputAddressLocation20240614(v InputAddressLocation20240614) error

MergeInputAddressLocation20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_Locations_Item, using the provided InputAddressLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) MergeInputAttendeeAddressLocation20240614

func (t *UpdateEventTypeInput20240614_Locations_Item) MergeInputAttendeeAddressLocation20240614(v InputAttendeeAddressLocation20240614) error

MergeInputAttendeeAddressLocation20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_Locations_Item, using the provided InputAttendeeAddressLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) MergeInputAttendeeDefinedLocation20240614

func (t *UpdateEventTypeInput20240614_Locations_Item) MergeInputAttendeeDefinedLocation20240614(v InputAttendeeDefinedLocation20240614) error

MergeInputAttendeeDefinedLocation20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_Locations_Item, using the provided InputAttendeeDefinedLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) MergeInputAttendeePhoneLocation20240614

func (t *UpdateEventTypeInput20240614_Locations_Item) MergeInputAttendeePhoneLocation20240614(v InputAttendeePhoneLocation20240614) error

MergeInputAttendeePhoneLocation20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_Locations_Item, using the provided InputAttendeePhoneLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) MergeInputIntegrationLocation20240614

func (t *UpdateEventTypeInput20240614_Locations_Item) MergeInputIntegrationLocation20240614(v InputIntegrationLocation20240614) error

MergeInputIntegrationLocation20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_Locations_Item, using the provided InputIntegrationLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) MergeInputLinkLocation20240614

MergeInputLinkLocation20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_Locations_Item, using the provided InputLinkLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) MergeInputPhoneLocation20240614

MergeInputPhoneLocation20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_Locations_Item, using the provided InputPhoneLocation20240614

func (*UpdateEventTypeInput20240614_Locations_Item) UnmarshalJSON

type UpdateEventTypeInput20240614_Recurrence

type UpdateEventTypeInput20240614_Recurrence struct {
	// contains filtered or unexported fields
}

UpdateEventTypeInput20240614_Recurrence Create a recurring event type.

func (UpdateEventTypeInput20240614_Recurrence) AsDisabled20240614

AsDisabled20240614 returns the union data inside the UpdateEventTypeInput20240614_Recurrence as a Disabled20240614

func (UpdateEventTypeInput20240614_Recurrence) AsRecurrence20240614

AsRecurrence20240614 returns the union data inside the UpdateEventTypeInput20240614_Recurrence as a Recurrence20240614

func (*UpdateEventTypeInput20240614_Recurrence) FromDisabled20240614

FromDisabled20240614 overwrites any union data inside the UpdateEventTypeInput20240614_Recurrence as the provided Disabled20240614

func (*UpdateEventTypeInput20240614_Recurrence) FromRecurrence20240614

FromRecurrence20240614 overwrites any union data inside the UpdateEventTypeInput20240614_Recurrence as the provided Recurrence20240614

func (UpdateEventTypeInput20240614_Recurrence) MarshalJSON

func (t UpdateEventTypeInput20240614_Recurrence) MarshalJSON() ([]byte, error)

func (*UpdateEventTypeInput20240614_Recurrence) MergeDisabled20240614

MergeDisabled20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_Recurrence, using the provided Disabled20240614

func (*UpdateEventTypeInput20240614_Recurrence) MergeRecurrence20240614

MergeRecurrence20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_Recurrence, using the provided Recurrence20240614

func (*UpdateEventTypeInput20240614_Recurrence) UnmarshalJSON

func (t *UpdateEventTypeInput20240614_Recurrence) UnmarshalJSON(b []byte) error

type UpdateEventTypeInput20240614_Seats

type UpdateEventTypeInput20240614_Seats struct {
	// contains filtered or unexported fields
}

UpdateEventTypeInput20240614_Seats Create an event type with multiple seats.

func (UpdateEventTypeInput20240614_Seats) AsDisabled20240614

func (t UpdateEventTypeInput20240614_Seats) AsDisabled20240614() (Disabled20240614, error)

AsDisabled20240614 returns the union data inside the UpdateEventTypeInput20240614_Seats as a Disabled20240614

func (UpdateEventTypeInput20240614_Seats) AsSeats20240614

AsSeats20240614 returns the union data inside the UpdateEventTypeInput20240614_Seats as a Seats20240614

func (*UpdateEventTypeInput20240614_Seats) FromDisabled20240614

func (t *UpdateEventTypeInput20240614_Seats) FromDisabled20240614(v Disabled20240614) error

FromDisabled20240614 overwrites any union data inside the UpdateEventTypeInput20240614_Seats as the provided Disabled20240614

func (*UpdateEventTypeInput20240614_Seats) FromSeats20240614

func (t *UpdateEventTypeInput20240614_Seats) FromSeats20240614(v Seats20240614) error

FromSeats20240614 overwrites any union data inside the UpdateEventTypeInput20240614_Seats as the provided Seats20240614

func (UpdateEventTypeInput20240614_Seats) MarshalJSON

func (t UpdateEventTypeInput20240614_Seats) MarshalJSON() ([]byte, error)

func (*UpdateEventTypeInput20240614_Seats) MergeDisabled20240614

func (t *UpdateEventTypeInput20240614_Seats) MergeDisabled20240614(v Disabled20240614) error

MergeDisabled20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_Seats, using the provided Disabled20240614

func (*UpdateEventTypeInput20240614_Seats) MergeSeats20240614

func (t *UpdateEventTypeInput20240614_Seats) MergeSeats20240614(v Seats20240614) error

MergeSeats20240614 performs a merge with any union data inside the UpdateEventTypeInput20240614_Seats, using the provided Seats20240614

func (*UpdateEventTypeInput20240614_Seats) UnmarshalJSON

func (t *UpdateEventTypeInput20240614_Seats) UnmarshalJSON(b []byte) error

type UpdateEventTypeOutput20240614

type UpdateEventTypeOutput20240614 struct {
	Data EventTypeOutput20240614 `json:"data"`

	// Status Example: success
	Status UpdateEventTypeOutput20240614Status `json:"status"`
}

UpdateEventTypeOutput20240614 defines model for UpdateEventTypeOutput_2024_06_14.

type UpdateEventTypeOutput20240614Status

type UpdateEventTypeOutput20240614Status string

UpdateEventTypeOutput20240614Status Example: success

const (
	UpdateEventTypeOutput20240614StatusError   UpdateEventTypeOutput20240614Status = "error"
	UpdateEventTypeOutput20240614StatusSuccess UpdateEventTypeOutput20240614Status = "success"
)

Defines values for UpdateEventTypeOutput20240614Status.

func (UpdateEventTypeOutput20240614Status) Valid

Valid indicates whether the value is a known member of the UpdateEventTypeOutput20240614Status enum.

type UpdateInputAddressLocation20240813

type UpdateInputAddressLocation20240813 struct {
	// Address Example: 123 Example St, City, Country
	Address string `json:"address"`

	// Type only allowed value for type is `address` - it refers to address defined by the organizer.
	//
	// Example: address
	Type string `json:"type"`
}

UpdateInputAddressLocation20240813 defines model for UpdateInputAddressLocation_2024_08_13.

type UpdateManagedUserInput

type UpdateManagedUserInput struct {
	// AvatarUrl URL of the user's avatar image
	//
	// Example: https://cal.com/api/avatar/2b735186-b01b-46d3-87da-019b8f61776b.png
	AvatarUrl *string `json:"avatarUrl,omitempty"`

	// Bio Bio
	//
	// Example: I am a bio
	Bio               *string  `json:"bio,omitempty"`
	DefaultScheduleId *float64 `json:"defaultScheduleId,omitempty"`
	Email             *string  `json:"email,omitempty"`

	// Locale Example: en
	Locale *UpdateManagedUserInputLocale `json:"locale,omitempty"`

	// Metadata You can store any additional data you want here. Metadata must have at most 50 keys, each key up to 40 characters, and values up to 500 characters.
	//
	// Example: {"key":"value"}
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	Name     *string                 `json:"name,omitempty"`

	// TimeFormat Must be 12 or 24
	//
	// Example: 12
	TimeFormat *UpdateManagedUserInputTimeFormat `json:"timeFormat,omitempty"`
	TimeZone   *string                           `json:"timeZone,omitempty"`

	// WeekStart Example: Monday
	WeekStart *UpdateManagedUserInputWeekStart `json:"weekStart,omitempty"`
}

UpdateManagedUserInput defines model for UpdateManagedUserInput.

type UpdateManagedUserInputLocale

type UpdateManagedUserInputLocale string

UpdateManagedUserInputLocale Example: en

const (
	UpdateManagedUserInputLocaleAr    UpdateManagedUserInputLocale = "ar"
	UpdateManagedUserInputLocaleAz    UpdateManagedUserInputLocale = "az"
	UpdateManagedUserInputLocaleBg    UpdateManagedUserInputLocale = "bg"
	UpdateManagedUserInputLocaleBn    UpdateManagedUserInputLocale = "bn"
	UpdateManagedUserInputLocaleCa    UpdateManagedUserInputLocale = "ca"
	UpdateManagedUserInputLocaleCs    UpdateManagedUserInputLocale = "cs"
	UpdateManagedUserInputLocaleDa    UpdateManagedUserInputLocale = "da"
	UpdateManagedUserInputLocaleDe    UpdateManagedUserInputLocale = "de"
	UpdateManagedUserInputLocaleEl    UpdateManagedUserInputLocale = "el"
	UpdateManagedUserInputLocaleEn    UpdateManagedUserInputLocale = "en"
	UpdateManagedUserInputLocaleEs    UpdateManagedUserInputLocale = "es"
	UpdateManagedUserInputLocaleEs419 UpdateManagedUserInputLocale = "es-419"
	UpdateManagedUserInputLocaleEt    UpdateManagedUserInputLocale = "et"
	UpdateManagedUserInputLocaleEu    UpdateManagedUserInputLocale = "eu"
	UpdateManagedUserInputLocaleFi    UpdateManagedUserInputLocale = "fi"
	UpdateManagedUserInputLocaleFr    UpdateManagedUserInputLocale = "fr"
	UpdateManagedUserInputLocaleHe    UpdateManagedUserInputLocale = "he"
	UpdateManagedUserInputLocaleHr    UpdateManagedUserInputLocale = "hr"
	UpdateManagedUserInputLocaleHu    UpdateManagedUserInputLocale = "hu"
	UpdateManagedUserInputLocaleId    UpdateManagedUserInputLocale = "id"
	UpdateManagedUserInputLocaleIt    UpdateManagedUserInputLocale = "it"
	UpdateManagedUserInputLocaleIw    UpdateManagedUserInputLocale = "iw"
	UpdateManagedUserInputLocaleJa    UpdateManagedUserInputLocale = "ja"
	UpdateManagedUserInputLocaleKm    UpdateManagedUserInputLocale = "km"
	UpdateManagedUserInputLocaleKo    UpdateManagedUserInputLocale = "ko"
	UpdateManagedUserInputLocaleLv    UpdateManagedUserInputLocale = "lv"
	UpdateManagedUserInputLocaleNl    UpdateManagedUserInputLocale = "nl"
	UpdateManagedUserInputLocaleNo    UpdateManagedUserInputLocale = "no"
	UpdateManagedUserInputLocalePl    UpdateManagedUserInputLocale = "pl"
	UpdateManagedUserInputLocalePt    UpdateManagedUserInputLocale = "pt"
	UpdateManagedUserInputLocalePtBR  UpdateManagedUserInputLocale = "pt-BR"
	UpdateManagedUserInputLocaleRo    UpdateManagedUserInputLocale = "ro"
	UpdateManagedUserInputLocaleRu    UpdateManagedUserInputLocale = "ru"
	UpdateManagedUserInputLocaleSk    UpdateManagedUserInputLocale = "sk"
	UpdateManagedUserInputLocaleSr    UpdateManagedUserInputLocale = "sr"
	UpdateManagedUserInputLocaleSv    UpdateManagedUserInputLocale = "sv"
	UpdateManagedUserInputLocaleTa    UpdateManagedUserInputLocale = "ta"
	UpdateManagedUserInputLocaleTh    UpdateManagedUserInputLocale = "th"
	UpdateManagedUserInputLocaleTr    UpdateManagedUserInputLocale = "tr"
	UpdateManagedUserInputLocaleUk    UpdateManagedUserInputLocale = "uk"
	UpdateManagedUserInputLocaleVi    UpdateManagedUserInputLocale = "vi"
	UpdateManagedUserInputLocaleZhCN  UpdateManagedUserInputLocale = "zh-CN"
	UpdateManagedUserInputLocaleZhTW  UpdateManagedUserInputLocale = "zh-TW"
)

Defines values for UpdateManagedUserInputLocale.

func (UpdateManagedUserInputLocale) Valid

Valid indicates whether the value is a known member of the UpdateManagedUserInputLocale enum.

type UpdateManagedUserInputTimeFormat

type UpdateManagedUserInputTimeFormat float64

UpdateManagedUserInputTimeFormat Must be 12 or 24

Example: 12

const (
	UpdateManagedUserInputTimeFormatN12 UpdateManagedUserInputTimeFormat = 12
	UpdateManagedUserInputTimeFormatN24 UpdateManagedUserInputTimeFormat = 24
)

Defines values for UpdateManagedUserInputTimeFormat.

func (UpdateManagedUserInputTimeFormat) Valid

Valid indicates whether the value is a known member of the UpdateManagedUserInputTimeFormat enum.

type UpdateManagedUserInputWeekStart

type UpdateManagedUserInputWeekStart string

UpdateManagedUserInputWeekStart Example: Monday

const (
	UpdateManagedUserInputWeekStartFriday    UpdateManagedUserInputWeekStart = "Friday"
	UpdateManagedUserInputWeekStartMonday    UpdateManagedUserInputWeekStart = "Monday"
	UpdateManagedUserInputWeekStartSaturday  UpdateManagedUserInputWeekStart = "Saturday"
	UpdateManagedUserInputWeekStartSunday    UpdateManagedUserInputWeekStart = "Sunday"
	UpdateManagedUserInputWeekStartThursday  UpdateManagedUserInputWeekStart = "Thursday"
	UpdateManagedUserInputWeekStartTuesday   UpdateManagedUserInputWeekStart = "Tuesday"
	UpdateManagedUserInputWeekStartWednesday UpdateManagedUserInputWeekStart = "Wednesday"
)

Defines values for UpdateManagedUserInputWeekStart.

func (UpdateManagedUserInputWeekStart) Valid

Valid indicates whether the value is a known member of the UpdateManagedUserInputWeekStart enum.

type UpdateMeOutput

type UpdateMeOutput struct {
	Data MeOutput `json:"data"`

	// Status Example: success
	Status UpdateMeOutputStatus `json:"status"`
}

UpdateMeOutput defines model for UpdateMeOutput.

type UpdateMeOutputStatus

type UpdateMeOutputStatus string

UpdateMeOutputStatus Example: success

const (
	UpdateMeOutputStatusError   UpdateMeOutputStatus = "error"
	UpdateMeOutputStatusSuccess UpdateMeOutputStatus = "success"
)

Defines values for UpdateMeOutputStatus.

func (UpdateMeOutputStatus) Valid

func (e UpdateMeOutputStatus) Valid() bool

Valid indicates whether the value is a known member of the UpdateMeOutputStatus enum.

type UpdateOAuthClientInput

type UpdateOAuthClientInput struct {
	// AreCalendarEventsEnabled If true and if managed user has calendar connected, calendar events will be created. Disable it if you manually create calendar events. Default to true.
	AreCalendarEventsEnabled *bool `json:"areCalendarEventsEnabled,omitempty"`

	// AreDefaultEventTypesEnabled If true, when creating a managed user the managed user will have 4 default event types: 30 and 60 minutes without Cal video, 30 and 60 minutes with Cal video. Set this as false if you want to create a managed user and then manually create event types for the user.
	AreDefaultEventTypesEnabled  *bool     `json:"areDefaultEventTypesEnabled,omitempty"`
	AreEmailsEnabled             *bool     `json:"areEmailsEnabled,omitempty"`
	BookingCancelRedirectUri     *string   `json:"bookingCancelRedirectUri,omitempty"`
	BookingRedirectUri           *string   `json:"bookingRedirectUri,omitempty"`
	BookingRescheduleRedirectUri *string   `json:"bookingRescheduleRedirectUri,omitempty"`
	Name                         *string   `json:"name,omitempty"`
	RedirectUris                 *[]string `json:"redirectUris,omitempty"`
}

UpdateOAuthClientInput defines model for UpdateOAuthClientInput.

type UpdatePrivateLinkBody

type UpdatePrivateLinkBody struct {
	// ExpiresAt New expiration date for time-based links
	//
	// Example: 2024-12-31T23:59:59.000Z
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`

	// MaxUsageCount New maximum number of times the link can be used
	//
	// Example: 10
	MaxUsageCount *float64 `json:"maxUsageCount,omitempty"`
}

UpdatePrivateLinkBody defines model for UpdatePrivateLinkBody.

type UpdatePrivateLinkOutput

type UpdatePrivateLinkOutput struct {
	// Data Updated private link data (either time-based or usage-based)
	Data UpdatePrivateLinkOutput_Data `json:"data"`

	// Status Response status
	//
	// Example: success
	Status string `json:"status"`
}

UpdatePrivateLinkOutput defines model for UpdatePrivateLinkOutput.

type UpdatePrivateLinkOutput_Data

type UpdatePrivateLinkOutput_Data struct {
	// contains filtered or unexported fields
}

UpdatePrivateLinkOutput_Data Updated private link data (either time-based or usage-based)

func (UpdatePrivateLinkOutput_Data) AsTimeBasedPrivateLinkOutput

func (t UpdatePrivateLinkOutput_Data) AsTimeBasedPrivateLinkOutput() (TimeBasedPrivateLinkOutput, error)

AsTimeBasedPrivateLinkOutput returns the union data inside the UpdatePrivateLinkOutput_Data as a TimeBasedPrivateLinkOutput

func (UpdatePrivateLinkOutput_Data) AsUsageBasedPrivateLinkOutput

func (t UpdatePrivateLinkOutput_Data) AsUsageBasedPrivateLinkOutput() (UsageBasedPrivateLinkOutput, error)

AsUsageBasedPrivateLinkOutput returns the union data inside the UpdatePrivateLinkOutput_Data as a UsageBasedPrivateLinkOutput

func (*UpdatePrivateLinkOutput_Data) FromTimeBasedPrivateLinkOutput

func (t *UpdatePrivateLinkOutput_Data) FromTimeBasedPrivateLinkOutput(v TimeBasedPrivateLinkOutput) error

FromTimeBasedPrivateLinkOutput overwrites any union data inside the UpdatePrivateLinkOutput_Data as the provided TimeBasedPrivateLinkOutput

func (*UpdatePrivateLinkOutput_Data) FromUsageBasedPrivateLinkOutput

func (t *UpdatePrivateLinkOutput_Data) FromUsageBasedPrivateLinkOutput(v UsageBasedPrivateLinkOutput) error

FromUsageBasedPrivateLinkOutput overwrites any union data inside the UpdatePrivateLinkOutput_Data as the provided UsageBasedPrivateLinkOutput

func (UpdatePrivateLinkOutput_Data) MarshalJSON

func (t UpdatePrivateLinkOutput_Data) MarshalJSON() ([]byte, error)

func (*UpdatePrivateLinkOutput_Data) MergeTimeBasedPrivateLinkOutput

func (t *UpdatePrivateLinkOutput_Data) MergeTimeBasedPrivateLinkOutput(v TimeBasedPrivateLinkOutput) error

MergeTimeBasedPrivateLinkOutput performs a merge with any union data inside the UpdatePrivateLinkOutput_Data, using the provided TimeBasedPrivateLinkOutput

func (*UpdatePrivateLinkOutput_Data) MergeUsageBasedPrivateLinkOutput

func (t *UpdatePrivateLinkOutput_Data) MergeUsageBasedPrivateLinkOutput(v UsageBasedPrivateLinkOutput) error

MergeUsageBasedPrivateLinkOutput performs a merge with any union data inside the UpdatePrivateLinkOutput_Data, using the provided UsageBasedPrivateLinkOutput

func (*UpdatePrivateLinkOutput_Data) UnmarshalJSON

func (t *UpdatePrivateLinkOutput_Data) UnmarshalJSON(b []byte) error

type UpdateScheduleInput20240611

type UpdateScheduleInput20240611 struct {
	// Availability Example: [{"days":["Monday","Tuesday"],"endTime":"10:00","startTime":"09:00"}]
	Availability *[]ScheduleAvailabilityInput20240611 `json:"availability,omitempty"`

	// IsDefault Example: true
	IsDefault *bool `json:"isDefault,omitempty"`

	// Name Example: One-on-one coaching
	Name *string `json:"name,omitempty"`

	// Overrides Example: [{"date":"2024-05-20","endTime":"14:00","startTime":"12:00"}]
	Overrides *[]ScheduleOverrideInput20240611 `json:"overrides,omitempty"`

	// TimeZone Example: Europe/Rome
	TimeZone *string `json:"timeZone,omitempty"`
}

UpdateScheduleInput20240611 defines model for UpdateScheduleInput_2024_06_11.

type UpdateScheduleOutput20240611

type UpdateScheduleOutput20240611 struct {
	Data  ScheduleOutput20240611  `json:"data"`
	Error *map[string]interface{} `json:"error,omitempty"`

	// Status Example: success
	Status UpdateScheduleOutput20240611Status `json:"status"`
}

UpdateScheduleOutput20240611 defines model for UpdateScheduleOutput_2024_06_11.

type UpdateScheduleOutput20240611Status

type UpdateScheduleOutput20240611Status string

UpdateScheduleOutput20240611Status Example: success

const (
	UpdateScheduleOutput20240611StatusError   UpdateScheduleOutput20240611Status = "error"
	UpdateScheduleOutput20240611StatusSuccess UpdateScheduleOutput20240611Status = "success"
)

Defines values for UpdateScheduleOutput20240611Status.

func (UpdateScheduleOutput20240611Status) Valid

Valid indicates whether the value is a known member of the UpdateScheduleOutput20240611Status enum.

type UpdateUnifiedCalendarEventInput

type UpdateUnifiedCalendarEventInput struct {
	// Attendees List of attendees. CAUTION: You must pass the entire array with all updated values. Any attendees not included in this array will be removed from the event.
	Attendees *[]UpdateCalendarEventAttendee `json:"attendees,omitempty"`

	// Description Detailed description of the calendar event
	Description *string `json:"description,omitempty"`

	// End End date and time of the calendar event with timezone information
	End *struct {
		Time     *time.Time `json:"time,omitempty"`
		TimeZone *string    `json:"timeZone,omitempty"`
	} `json:"end,omitempty"`

	// Start Start date and time of the calendar event with timezone information
	Start *struct {
		Time     *time.Time `json:"time,omitempty"`
		TimeZone *string    `json:"timeZone,omitempty"`
	} `json:"start,omitempty"`

	// Status Status of the event (accepted, pending, declined, cancelled)
	Status *CalendarEventStatus `json:"status,omitempty"`

	// Title Title of the calendar event
	Title *string `json:"title,omitempty"`
}

UpdateUnifiedCalendarEventInput defines model for UpdateUnifiedCalendarEventInput.

type UpdateWebhookInputDto

type UpdateWebhookInputDto struct {
	Active *bool `json:"active,omitempty"`

	// PayloadTemplate The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information
	//
	// Example: {"content":"A new event has been scheduled","type":"{{type}}","name":"{{title}}","organizer":"{{organizer.name}}","booker":"{{attendees.0.name}}"}
	PayloadTemplate *string `json:"payloadTemplate,omitempty"`
	Secret          *string `json:"secret,omitempty"`
	SubscriberUrl   *string `json:"subscriberUrl,omitempty"`

	// Triggers Example: ["BOOKING_CREATED","BOOKING_RESCHEDULED","BOOKING_CANCELLED","BOOKING_CONFIRMED","BOOKING_REJECTED","BOOKING_COMPLETED","BOOKING_NO_SHOW","BOOKING_REOPENED"]
	Triggers *[]UpdateWebhookInputDtoTriggers `json:"triggers,omitempty"`

	// Version The version of the webhook
	//
	// Example: 2021-10-20
	Version *UpdateWebhookInputDtoVersion `json:"version,omitempty"`
}

UpdateWebhookInputDto defines model for UpdateWebhookInputDto.

type UpdateWebhookInputDtoTriggers

type UpdateWebhookInputDtoTriggers string

UpdateWebhookInputDtoTriggers defines model for UpdateWebhookInputDto.Triggers.

const (
	UpdateWebhookInputDtoTriggersAFTERGUESTSCALVIDEONOSHOW       UpdateWebhookInputDtoTriggers = "AFTER_GUESTS_CAL_VIDEO_NO_SHOW"
	UpdateWebhookInputDtoTriggersAFTERHOSTSCALVIDEONOSHOW        UpdateWebhookInputDtoTriggers = "AFTER_HOSTS_CAL_VIDEO_NO_SHOW"
	UpdateWebhookInputDtoTriggersBOOKINGCANCELLED                UpdateWebhookInputDtoTriggers = "BOOKING_CANCELLED"
	UpdateWebhookInputDtoTriggersBOOKINGCREATED                  UpdateWebhookInputDtoTriggers = "BOOKING_CREATED"
	UpdateWebhookInputDtoTriggersBOOKINGNOSHOWUPDATED            UpdateWebhookInputDtoTriggers = "BOOKING_NO_SHOW_UPDATED"
	UpdateWebhookInputDtoTriggersBOOKINGPAID                     UpdateWebhookInputDtoTriggers = "BOOKING_PAID"
	UpdateWebhookInputDtoTriggersBOOKINGPAYMENTINITIATED         UpdateWebhookInputDtoTriggers = "BOOKING_PAYMENT_INITIATED"
	UpdateWebhookInputDtoTriggersBOOKINGREJECTED                 UpdateWebhookInputDtoTriggers = "BOOKING_REJECTED"
	UpdateWebhookInputDtoTriggersBOOKINGREQUESTED                UpdateWebhookInputDtoTriggers = "BOOKING_REQUESTED"
	UpdateWebhookInputDtoTriggersBOOKINGRESCHEDULED              UpdateWebhookInputDtoTriggers = "BOOKING_RESCHEDULED"
	UpdateWebhookInputDtoTriggersDELEGATIONCREDENTIALERROR       UpdateWebhookInputDtoTriggers = "DELEGATION_CREDENTIAL_ERROR"
	UpdateWebhookInputDtoTriggersFORMSUBMITTED                   UpdateWebhookInputDtoTriggers = "FORM_SUBMITTED"
	UpdateWebhookInputDtoTriggersFORMSUBMITTEDNOEVENT            UpdateWebhookInputDtoTriggers = "FORM_SUBMITTED_NO_EVENT"
	UpdateWebhookInputDtoTriggersINSTANTMEETING                  UpdateWebhookInputDtoTriggers = "INSTANT_MEETING"
	UpdateWebhookInputDtoTriggersMEETINGENDED                    UpdateWebhookInputDtoTriggers = "MEETING_ENDED"
	UpdateWebhookInputDtoTriggersMEETINGSTARTED                  UpdateWebhookInputDtoTriggers = "MEETING_STARTED"
	UpdateWebhookInputDtoTriggersOOOCREATED                      UpdateWebhookInputDtoTriggers = "OOO_CREATED"
	UpdateWebhookInputDtoTriggersRECORDINGREADY                  UpdateWebhookInputDtoTriggers = "RECORDING_READY"
	UpdateWebhookInputDtoTriggersRECORDINGTRANSCRIPTIONGENERATED UpdateWebhookInputDtoTriggers = "RECORDING_TRANSCRIPTION_GENERATED"
	UpdateWebhookInputDtoTriggersWRONGASSIGNMENTREPORT           UpdateWebhookInputDtoTriggers = "WRONG_ASSIGNMENT_REPORT"
)

Defines values for UpdateWebhookInputDtoTriggers.

func (UpdateWebhookInputDtoTriggers) Valid

Valid indicates whether the value is a known member of the UpdateWebhookInputDtoTriggers enum.

type UpdateWebhookInputDtoVersion

type UpdateWebhookInputDtoVersion string

UpdateWebhookInputDtoVersion The version of the webhook

Example: 2021-10-20

const (
	UpdateWebhookInputDtoVersionN20211020 UpdateWebhookInputDtoVersion = "2021-10-20"
)

Defines values for UpdateWebhookInputDtoVersion.

func (UpdateWebhookInputDtoVersion) Valid

Valid indicates whether the value is a known member of the UpdateWebhookInputDtoVersion enum.

type UrlFieldInput20240614

type UrlFieldInput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `videourl` and the URL contains query parameter `&videourl=https://youtube.com/abc`the url field will be prefilled with this value and disabled.       In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{videourl: 'https://caltube.com/123'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// Label Example: Please enter your text
	Label string `json:"label"`

	// Placeholder Example: e.g., Enter url here
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `url`
	//
	// Example: url
	Type string `json:"type"`
}

UrlFieldInput20240614 defines model for UrlFieldInput_2024_06_14.

type UrlFieldOutput20240614

type UrlFieldOutput20240614 struct {
	// DisableOnPrefill Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value.      For example, if the slug is `videourl` and the URL contains query parameter `&videourl=https://youtube.com/abc`the url field will be prefilled with this value and disabled.       In case of Booker atom need to pass slug you used for this booking field to defaultFormValues prop with the desired value  e.g. `defaultFormValues={{videourl: 'https://caltube.com/123'}}`. See guide https://cal.com/docs/platform/guides/booking-field
	DisableOnPrefill *bool `json:"disableOnPrefill,omitempty"`

	// Hidden If true show under event type settings but don't show this booking field in the Booker. If false show in both.
	Hidden bool `json:"hidden"`

	// IsDefault This property is always false because it's not default field but custom field
	//
	// Example: false
	IsDefault map[string]interface{} `json:"isDefault"`

	// Label Example: Please enter your text
	Label string `json:"label"`

	// Placeholder Example: e.g., Enter url here
	Placeholder string `json:"placeholder"`
	Required    bool   `json:"required"`

	// Slug Unique identifier for the field in format `some-slug`. It is used to access response to this booking field during the booking
	//
	// Example: some-slug
	Slug string `json:"slug"`

	// Type only allowed value for type is `url`
	//
	// Example: url
	Type string `json:"type"`
}

UrlFieldOutput20240614 defines model for UrlFieldOutput_2024_06_14.

type UsageBasedPrivateLinkOutput

type UsageBasedPrivateLinkOutput struct {
	// BookingUrl Full booking URL for this private link
	//
	// Example: https://cal.com/d/abc123def456/30min
	BookingUrl string `json:"bookingUrl"`

	// EventTypeId Event type ID this link belongs to
	//
	// Example: 123
	EventTypeId float64 `json:"eventTypeId"`

	// IsExpired Whether the link is currently expired
	//
	// Example: false
	IsExpired bool `json:"isExpired"`

	// LinkId The private link ID
	//
	// Example: abc123def456
	LinkId string `json:"linkId"`

	// MaxUsageCount Maximum number of times this link can be used
	//
	// Example: 10
	MaxUsageCount float64 `json:"maxUsageCount"`

	// UsageCount Current usage count for this link
	//
	// Example: 3
	UsageCount float64 `json:"usageCount"`
}

UsageBasedPrivateLinkOutput defines model for UsageBasedPrivateLinkOutput.

type UserVerifiedEmailOutput

type UserVerifiedEmailOutput struct {
	Data UserVerifiedEmailOutputData `json:"data"`

	// Status Example: success
	Status UserVerifiedEmailOutputStatus `json:"status"`
}

UserVerifiedEmailOutput defines model for UserVerifiedEmailOutput.

type UserVerifiedEmailOutputData

type UserVerifiedEmailOutputData struct {
	// Email The verified email address.
	//
	// Example: user@example.com
	Email openapi_types.Email `json:"email"`

	// Id The unique identifier for the verified email.
	//
	// Example: 789
	Id float64 `json:"id"`

	// UserId The ID of the associated user, if applicable.
	//
	// Example: 45
	UserId float64 `json:"userId"`
}

UserVerifiedEmailOutputData defines model for UserVerifiedEmailOutputData.

type UserVerifiedEmailOutputStatus

type UserVerifiedEmailOutputStatus string

UserVerifiedEmailOutputStatus Example: success

const (
	UserVerifiedEmailOutputStatusError   UserVerifiedEmailOutputStatus = "error"
	UserVerifiedEmailOutputStatusSuccess UserVerifiedEmailOutputStatus = "success"
)

Defines values for UserVerifiedEmailOutputStatus.

func (UserVerifiedEmailOutputStatus) Valid

Valid indicates whether the value is a known member of the UserVerifiedEmailOutputStatus enum.

type UserVerifiedEmailsOutput

type UserVerifiedEmailsOutput struct {
	Data []UserVerifiedEmailOutputData `json:"data"`

	// Status Example: success
	Status UserVerifiedEmailsOutputStatus `json:"status"`
}

UserVerifiedEmailsOutput defines model for UserVerifiedEmailsOutput.

type UserVerifiedEmailsOutputStatus

type UserVerifiedEmailsOutputStatus string

UserVerifiedEmailsOutputStatus Example: success

const (
	UserVerifiedEmailsOutputStatusError   UserVerifiedEmailsOutputStatus = "error"
	UserVerifiedEmailsOutputStatusSuccess UserVerifiedEmailsOutputStatus = "success"
)

Defines values for UserVerifiedEmailsOutputStatus.

func (UserVerifiedEmailsOutputStatus) Valid

Valid indicates whether the value is a known member of the UserVerifiedEmailsOutputStatus enum.

type UserVerifiedPhoneOutput

type UserVerifiedPhoneOutput struct {
	Data UserVerifiedPhoneOutputData `json:"data"`

	// Status Example: success
	Status UserVerifiedPhoneOutputStatus `json:"status"`
}

UserVerifiedPhoneOutput defines model for UserVerifiedPhoneOutput.

type UserVerifiedPhoneOutputData

type UserVerifiedPhoneOutputData struct {
	// Id The unique identifier for the verified email.
	//
	// Example: 789
	Id float64 `json:"id"`

	// PhoneNumber The verified phone number.
	//
	// Example: +37255556666
	PhoneNumber string `json:"phoneNumber"`

	// UserId The ID of the associated user, if applicable.
	//
	// Example: 45
	UserId float64 `json:"userId"`
}

UserVerifiedPhoneOutputData defines model for UserVerifiedPhoneOutputData.

type UserVerifiedPhoneOutputStatus

type UserVerifiedPhoneOutputStatus string

UserVerifiedPhoneOutputStatus Example: success

const (
	UserVerifiedPhoneOutputStatusError   UserVerifiedPhoneOutputStatus = "error"
	UserVerifiedPhoneOutputStatusSuccess UserVerifiedPhoneOutputStatus = "success"
)

Defines values for UserVerifiedPhoneOutputStatus.

func (UserVerifiedPhoneOutputStatus) Valid

Valid indicates whether the value is a known member of the UserVerifiedPhoneOutputStatus enum.

type UserVerifiedPhonesOutput

type UserVerifiedPhonesOutput struct {
	Data []UserVerifiedPhoneOutputData `json:"data"`

	// Status Example: success
	Status UserVerifiedPhonesOutputStatus `json:"status"`
}

UserVerifiedPhonesOutput defines model for UserVerifiedPhonesOutput.

type UserVerifiedPhonesOutputStatus

type UserVerifiedPhonesOutputStatus string

UserVerifiedPhonesOutputStatus Example: success

const (
	UserVerifiedPhonesOutputStatusError   UserVerifiedPhonesOutputStatus = "error"
	UserVerifiedPhonesOutputStatusSuccess UserVerifiedPhonesOutputStatus = "success"
)

Defines values for UserVerifiedPhonesOutputStatus.

func (UserVerifiedPhonesOutputStatus) Valid

Valid indicates whether the value is a known member of the UserVerifiedPhonesOutputStatus enum.

type UserVerifiedResourcesControllerGetVerifiedEmailByIdParams

type UserVerifiedResourcesControllerGetVerifiedEmailByIdParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

UserVerifiedResourcesControllerGetVerifiedEmailByIdParams defines parameters for UserVerifiedResourcesControllerGetVerifiedEmailById.

type UserVerifiedResourcesControllerGetVerifiedEmailByIdResponse

type UserVerifiedResourcesControllerGetVerifiedEmailByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserVerifiedEmailOutput
}

func ParseUserVerifiedResourcesControllerGetVerifiedEmailByIdResponse

func ParseUserVerifiedResourcesControllerGetVerifiedEmailByIdResponse(rsp *http.Response) (*UserVerifiedResourcesControllerGetVerifiedEmailByIdResponse, error)

ParseUserVerifiedResourcesControllerGetVerifiedEmailByIdResponse parses an HTTP response from a UserVerifiedResourcesControllerGetVerifiedEmailByIdWithResponse call

func (UserVerifiedResourcesControllerGetVerifiedEmailByIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserVerifiedResourcesControllerGetVerifiedEmailByIdResponse) GetBody

GetBody returns the raw response body bytes

func (UserVerifiedResourcesControllerGetVerifiedEmailByIdResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserVerifiedResourcesControllerGetVerifiedEmailByIdResponse) Status

Status returns HTTPResponse.Status

func (UserVerifiedResourcesControllerGetVerifiedEmailByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UserVerifiedResourcesControllerGetVerifiedEmailsParams

type UserVerifiedResourcesControllerGetVerifiedEmailsParams struct {
	// Take Maximum number of items to return
	Take *float64 `form:"take,omitempty" json:"take,omitempty"`

	// Skip Number of items to skip
	Skip *float64 `form:"skip,omitempty" json:"skip,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

UserVerifiedResourcesControllerGetVerifiedEmailsParams defines parameters for UserVerifiedResourcesControllerGetVerifiedEmails.

type UserVerifiedResourcesControllerGetVerifiedEmailsResponse

type UserVerifiedResourcesControllerGetVerifiedEmailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserVerifiedEmailsOutput
}

func ParseUserVerifiedResourcesControllerGetVerifiedEmailsResponse

func ParseUserVerifiedResourcesControllerGetVerifiedEmailsResponse(rsp *http.Response) (*UserVerifiedResourcesControllerGetVerifiedEmailsResponse, error)

ParseUserVerifiedResourcesControllerGetVerifiedEmailsResponse parses an HTTP response from a UserVerifiedResourcesControllerGetVerifiedEmailsWithResponse call

func (UserVerifiedResourcesControllerGetVerifiedEmailsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserVerifiedResourcesControllerGetVerifiedEmailsResponse) GetBody

GetBody returns the raw response body bytes

func (UserVerifiedResourcesControllerGetVerifiedEmailsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserVerifiedResourcesControllerGetVerifiedEmailsResponse) Status

Status returns HTTPResponse.Status

func (UserVerifiedResourcesControllerGetVerifiedEmailsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UserVerifiedResourcesControllerGetVerifiedPhoneByIdParams

type UserVerifiedResourcesControllerGetVerifiedPhoneByIdParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

UserVerifiedResourcesControllerGetVerifiedPhoneByIdParams defines parameters for UserVerifiedResourcesControllerGetVerifiedPhoneById.

type UserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse

type UserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserVerifiedPhoneOutput
}

func ParseUserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse

func ParseUserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse(rsp *http.Response) (*UserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse, error)

ParseUserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse parses an HTTP response from a UserVerifiedResourcesControllerGetVerifiedPhoneByIdWithResponse call

func (UserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse) GetBody

GetBody returns the raw response body bytes

func (UserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse) Status

Status returns HTTPResponse.Status

func (UserVerifiedResourcesControllerGetVerifiedPhoneByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UserVerifiedResourcesControllerGetVerifiedPhoneNumbersParams

type UserVerifiedResourcesControllerGetVerifiedPhoneNumbersParams struct {
	// Take Maximum number of items to return
	Take *float64 `form:"take,omitempty" json:"take,omitempty"`

	// Skip Number of items to skip
	Skip *float64 `form:"skip,omitempty" json:"skip,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

UserVerifiedResourcesControllerGetVerifiedPhoneNumbersParams defines parameters for UserVerifiedResourcesControllerGetVerifiedPhoneNumbers.

type UserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse

type UserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserVerifiedPhonesOutput
}

func ParseUserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse

func ParseUserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse(rsp *http.Response) (*UserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse, error)

ParseUserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse parses an HTTP response from a UserVerifiedResourcesControllerGetVerifiedPhoneNumbersWithResponse call

func (UserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse) GetBody

GetBody returns the raw response body bytes

func (UserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse) Status

Status returns HTTPResponse.Status

func (UserVerifiedResourcesControllerGetVerifiedPhoneNumbersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UserVerifiedResourcesControllerRequestEmailVerificationCodeJSONRequestBody

type UserVerifiedResourcesControllerRequestEmailVerificationCodeJSONRequestBody = RequestEmailVerificationInput

UserVerifiedResourcesControllerRequestEmailVerificationCodeJSONRequestBody defines body for UserVerifiedResourcesControllerRequestEmailVerificationCode for application/json ContentType.

type UserVerifiedResourcesControllerRequestEmailVerificationCodeParams

type UserVerifiedResourcesControllerRequestEmailVerificationCodeParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

UserVerifiedResourcesControllerRequestEmailVerificationCodeParams defines parameters for UserVerifiedResourcesControllerRequestEmailVerificationCode.

type UserVerifiedResourcesControllerRequestEmailVerificationCodeResponse

type UserVerifiedResourcesControllerRequestEmailVerificationCodeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RequestEmailVerificationOutput
}

func ParseUserVerifiedResourcesControllerRequestEmailVerificationCodeResponse

func ParseUserVerifiedResourcesControllerRequestEmailVerificationCodeResponse(rsp *http.Response) (*UserVerifiedResourcesControllerRequestEmailVerificationCodeResponse, error)

ParseUserVerifiedResourcesControllerRequestEmailVerificationCodeResponse parses an HTTP response from a UserVerifiedResourcesControllerRequestEmailVerificationCodeWithResponse call

func (UserVerifiedResourcesControllerRequestEmailVerificationCodeResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserVerifiedResourcesControllerRequestEmailVerificationCodeResponse) GetBody

GetBody returns the raw response body bytes

func (UserVerifiedResourcesControllerRequestEmailVerificationCodeResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserVerifiedResourcesControllerRequestEmailVerificationCodeResponse) Status

Status returns HTTPResponse.Status

func (UserVerifiedResourcesControllerRequestEmailVerificationCodeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UserVerifiedResourcesControllerRequestPhoneVerificationCodeJSONRequestBody

type UserVerifiedResourcesControllerRequestPhoneVerificationCodeJSONRequestBody = RequestPhoneVerificationInput

UserVerifiedResourcesControllerRequestPhoneVerificationCodeJSONRequestBody defines body for UserVerifiedResourcesControllerRequestPhoneVerificationCode for application/json ContentType.

type UserVerifiedResourcesControllerRequestPhoneVerificationCodeParams

type UserVerifiedResourcesControllerRequestPhoneVerificationCodeParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

UserVerifiedResourcesControllerRequestPhoneVerificationCodeParams defines parameters for UserVerifiedResourcesControllerRequestPhoneVerificationCode.

type UserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse

type UserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RequestPhoneVerificationOutput
}

func ParseUserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse

func ParseUserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse(rsp *http.Response) (*UserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse, error)

ParseUserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse parses an HTTP response from a UserVerifiedResourcesControllerRequestPhoneVerificationCodeWithResponse call

func (UserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse) GetBody

GetBody returns the raw response body bytes

func (UserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse) Status

Status returns HTTPResponse.Status

func (UserVerifiedResourcesControllerRequestPhoneVerificationCodeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UserVerifiedResourcesControllerVerifyEmailJSONRequestBody

type UserVerifiedResourcesControllerVerifyEmailJSONRequestBody = VerifyEmailInput

UserVerifiedResourcesControllerVerifyEmailJSONRequestBody defines body for UserVerifiedResourcesControllerVerifyEmail for application/json ContentType.

type UserVerifiedResourcesControllerVerifyEmailParams

type UserVerifiedResourcesControllerVerifyEmailParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

UserVerifiedResourcesControllerVerifyEmailParams defines parameters for UserVerifiedResourcesControllerVerifyEmail.

type UserVerifiedResourcesControllerVerifyEmailResponse

type UserVerifiedResourcesControllerVerifyEmailResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserVerifiedEmailOutput
}

func ParseUserVerifiedResourcesControllerVerifyEmailResponse

func ParseUserVerifiedResourcesControllerVerifyEmailResponse(rsp *http.Response) (*UserVerifiedResourcesControllerVerifyEmailResponse, error)

ParseUserVerifiedResourcesControllerVerifyEmailResponse parses an HTTP response from a UserVerifiedResourcesControllerVerifyEmailWithResponse call

func (UserVerifiedResourcesControllerVerifyEmailResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserVerifiedResourcesControllerVerifyEmailResponse) GetBody

GetBody returns the raw response body bytes

func (UserVerifiedResourcesControllerVerifyEmailResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserVerifiedResourcesControllerVerifyEmailResponse) Status

Status returns HTTPResponse.Status

func (UserVerifiedResourcesControllerVerifyEmailResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UserVerifiedResourcesControllerVerifyPhoneNumberJSONRequestBody

type UserVerifiedResourcesControllerVerifyPhoneNumberJSONRequestBody = VerifyPhoneInput

UserVerifiedResourcesControllerVerifyPhoneNumberJSONRequestBody defines body for UserVerifiedResourcesControllerVerifyPhoneNumber for application/json ContentType.

type UserVerifiedResourcesControllerVerifyPhoneNumberParams

type UserVerifiedResourcesControllerVerifyPhoneNumberParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access token
	Authorization string `json:"Authorization"`
}

UserVerifiedResourcesControllerVerifyPhoneNumberParams defines parameters for UserVerifiedResourcesControllerVerifyPhoneNumber.

type UserVerifiedResourcesControllerVerifyPhoneNumberResponse

type UserVerifiedResourcesControllerVerifyPhoneNumberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserVerifiedPhoneOutput
}

func ParseUserVerifiedResourcesControllerVerifyPhoneNumberResponse

func ParseUserVerifiedResourcesControllerVerifyPhoneNumberResponse(rsp *http.Response) (*UserVerifiedResourcesControllerVerifyPhoneNumberResponse, error)

ParseUserVerifiedResourcesControllerVerifyPhoneNumberResponse parses an HTTP response from a UserVerifiedResourcesControllerVerifyPhoneNumberWithResponse call

func (UserVerifiedResourcesControllerVerifyPhoneNumberResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UserVerifiedResourcesControllerVerifyPhoneNumberResponse) GetBody

GetBody returns the raw response body bytes

func (UserVerifiedResourcesControllerVerifyPhoneNumberResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserVerifiedResourcesControllerVerifyPhoneNumberResponse) Status

Status returns HTTPResponse.Status

func (UserVerifiedResourcesControllerVerifyPhoneNumberResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UserWebhookOutputDto

type UserWebhookOutputDto struct {
	Active bool    `json:"active"`
	Id     float64 `json:"id"`

	// PayloadTemplate The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information
	//
	// Example: {"content":"A new event has been scheduled","type":"{{type}}","name":"{{title}}","organizer":"{{organizer.name}}","booker":"{{attendees.0.name}}"}
	PayloadTemplate string                         `json:"payloadTemplate"`
	Secret          *string                        `json:"secret,omitempty"`
	SubscriberUrl   string                         `json:"subscriberUrl"`
	Triggers        []UserWebhookOutputDtoTriggers `json:"triggers"`
	UserId          float64                        `json:"userId"`
}

UserWebhookOutputDto defines model for UserWebhookOutputDto.

type UserWebhookOutputDtoTriggers

type UserWebhookOutputDtoTriggers string

UserWebhookOutputDtoTriggers defines model for UserWebhookOutputDto.Triggers.

const (
	UserWebhookOutputDtoTriggersAFTERGUESTSCALVIDEONOSHOW       UserWebhookOutputDtoTriggers = "AFTER_GUESTS_CAL_VIDEO_NO_SHOW"
	UserWebhookOutputDtoTriggersAFTERHOSTSCALVIDEONOSHOW        UserWebhookOutputDtoTriggers = "AFTER_HOSTS_CAL_VIDEO_NO_SHOW"
	UserWebhookOutputDtoTriggersBOOKINGCANCELLED                UserWebhookOutputDtoTriggers = "BOOKING_CANCELLED"
	UserWebhookOutputDtoTriggersBOOKINGCREATED                  UserWebhookOutputDtoTriggers = "BOOKING_CREATED"
	UserWebhookOutputDtoTriggersBOOKINGNOSHOWUPDATED            UserWebhookOutputDtoTriggers = "BOOKING_NO_SHOW_UPDATED"
	UserWebhookOutputDtoTriggersBOOKINGPAID                     UserWebhookOutputDtoTriggers = "BOOKING_PAID"
	UserWebhookOutputDtoTriggersBOOKINGPAYMENTINITIATED         UserWebhookOutputDtoTriggers = "BOOKING_PAYMENT_INITIATED"
	UserWebhookOutputDtoTriggersBOOKINGREJECTED                 UserWebhookOutputDtoTriggers = "BOOKING_REJECTED"
	UserWebhookOutputDtoTriggersBOOKINGREQUESTED                UserWebhookOutputDtoTriggers = "BOOKING_REQUESTED"
	UserWebhookOutputDtoTriggersBOOKINGRESCHEDULED              UserWebhookOutputDtoTriggers = "BOOKING_RESCHEDULED"
	UserWebhookOutputDtoTriggersDELEGATIONCREDENTIALERROR       UserWebhookOutputDtoTriggers = "DELEGATION_CREDENTIAL_ERROR"
	UserWebhookOutputDtoTriggersFORMSUBMITTED                   UserWebhookOutputDtoTriggers = "FORM_SUBMITTED"
	UserWebhookOutputDtoTriggersFORMSUBMITTEDNOEVENT            UserWebhookOutputDtoTriggers = "FORM_SUBMITTED_NO_EVENT"
	UserWebhookOutputDtoTriggersINSTANTMEETING                  UserWebhookOutputDtoTriggers = "INSTANT_MEETING"
	UserWebhookOutputDtoTriggersMEETINGENDED                    UserWebhookOutputDtoTriggers = "MEETING_ENDED"
	UserWebhookOutputDtoTriggersMEETINGSTARTED                  UserWebhookOutputDtoTriggers = "MEETING_STARTED"
	UserWebhookOutputDtoTriggersOOOCREATED                      UserWebhookOutputDtoTriggers = "OOO_CREATED"
	UserWebhookOutputDtoTriggersRECORDINGREADY                  UserWebhookOutputDtoTriggers = "RECORDING_READY"
	UserWebhookOutputDtoTriggersRECORDINGTRANSCRIPTIONGENERATED UserWebhookOutputDtoTriggers = "RECORDING_TRANSCRIPTION_GENERATED"
	UserWebhookOutputDtoTriggersWRONGASSIGNMENTREPORT           UserWebhookOutputDtoTriggers = "WRONG_ASSIGNMENT_REPORT"
)

Defines values for UserWebhookOutputDtoTriggers.

func (UserWebhookOutputDtoTriggers) Valid

Valid indicates whether the value is a known member of the UserWebhookOutputDtoTriggers enum.

type UserWebhookOutputResponseDto

type UserWebhookOutputResponseDto struct {
	Data UserWebhookOutputDto `json:"data"`

	// Status Example: success
	Status UserWebhookOutputResponseDtoStatus `json:"status"`
}

UserWebhookOutputResponseDto defines model for UserWebhookOutputResponseDto.

type UserWebhookOutputResponseDtoStatus

type UserWebhookOutputResponseDtoStatus string

UserWebhookOutputResponseDtoStatus Example: success

const (
	UserWebhookOutputResponseDtoStatusError   UserWebhookOutputResponseDtoStatus = "error"
	UserWebhookOutputResponseDtoStatusSuccess UserWebhookOutputResponseDtoStatus = "success"
)

Defines values for UserWebhookOutputResponseDtoStatus.

func (UserWebhookOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the UserWebhookOutputResponseDtoStatus enum.

type UserWebhooksOutputResponseDto

type UserWebhooksOutputResponseDto struct {
	Data []UserWebhookOutputDto `json:"data"`

	// Status Example: success
	Status UserWebhooksOutputResponseDtoStatus `json:"status"`
}

UserWebhooksOutputResponseDto defines model for UserWebhooksOutputResponseDto.

type UserWebhooksOutputResponseDtoStatus

type UserWebhooksOutputResponseDtoStatus string

UserWebhooksOutputResponseDtoStatus Example: success

const (
	UserWebhooksOutputResponseDtoStatusError   UserWebhooksOutputResponseDtoStatus = "error"
	UserWebhooksOutputResponseDtoStatusSuccess UserWebhooksOutputResponseDtoStatus = "success"
)

Defines values for UserWebhooksOutputResponseDtoStatus.

func (UserWebhooksOutputResponseDtoStatus) Valid

Valid indicates whether the value is a known member of the UserWebhooksOutputResponseDtoStatus enum.

type VerifyEmailInput

type VerifyEmailInput struct {
	// Code verification code sent to the email to verify
	//
	// Example: 1ABG2C
	Code string `json:"code"`

	// Email Email to verify.
	//
	// Example: example@acme.com
	Email string `json:"email"`
}

VerifyEmailInput defines model for VerifyEmailInput.

type VerifyPhoneInput

type VerifyPhoneInput struct {
	// Code verification code sent to the phone number to verify
	//
	// Example: 1ABG2C
	Code string `json:"code"`

	// Phone phone number to verify.
	//
	// Example: +37255556666
	Phone string `json:"phone"`
}

VerifyPhoneInput defines model for VerifyPhoneInput.

type WebhooksControllerCreateWebhookJSONRequestBody

type WebhooksControllerCreateWebhookJSONRequestBody = CreateWebhookInputDto

WebhooksControllerCreateWebhookJSONRequestBody defines body for WebhooksControllerCreateWebhook for application/json ContentType.

type WebhooksControllerCreateWebhookParams

type WebhooksControllerCreateWebhookParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
	Authorization string `json:"Authorization"`
}

WebhooksControllerCreateWebhookParams defines parameters for WebhooksControllerCreateWebhook.

type WebhooksControllerCreateWebhookResponse

type WebhooksControllerCreateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *UserWebhookOutputResponseDto
}

func ParseWebhooksControllerCreateWebhookResponse

func ParseWebhooksControllerCreateWebhookResponse(rsp *http.Response) (*WebhooksControllerCreateWebhookResponse, error)

ParseWebhooksControllerCreateWebhookResponse parses an HTTP response from a WebhooksControllerCreateWebhookWithResponse call

func (WebhooksControllerCreateWebhookResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (WebhooksControllerCreateWebhookResponse) GetBody

GetBody returns the raw response body bytes

func (WebhooksControllerCreateWebhookResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (WebhooksControllerCreateWebhookResponse) Status

Status returns HTTPResponse.Status

func (WebhooksControllerCreateWebhookResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WebhooksControllerDeleteWebhookParams

type WebhooksControllerDeleteWebhookParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
	Authorization string `json:"Authorization"`
}

WebhooksControllerDeleteWebhookParams defines parameters for WebhooksControllerDeleteWebhook.

type WebhooksControllerDeleteWebhookResponse

type WebhooksControllerDeleteWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserWebhookOutputResponseDto
}

func ParseWebhooksControllerDeleteWebhookResponse

func ParseWebhooksControllerDeleteWebhookResponse(rsp *http.Response) (*WebhooksControllerDeleteWebhookResponse, error)

ParseWebhooksControllerDeleteWebhookResponse parses an HTTP response from a WebhooksControllerDeleteWebhookWithResponse call

func (WebhooksControllerDeleteWebhookResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (WebhooksControllerDeleteWebhookResponse) GetBody

GetBody returns the raw response body bytes

func (WebhooksControllerDeleteWebhookResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WebhooksControllerDeleteWebhookResponse) Status

Status returns HTTPResponse.Status

func (WebhooksControllerDeleteWebhookResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WebhooksControllerGetWebhookParams

type WebhooksControllerGetWebhookParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
	Authorization string `json:"Authorization"`
}

WebhooksControllerGetWebhookParams defines parameters for WebhooksControllerGetWebhook.

type WebhooksControllerGetWebhookResponse

type WebhooksControllerGetWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserWebhookOutputResponseDto
}

func ParseWebhooksControllerGetWebhookResponse

func ParseWebhooksControllerGetWebhookResponse(rsp *http.Response) (*WebhooksControllerGetWebhookResponse, error)

ParseWebhooksControllerGetWebhookResponse parses an HTTP response from a WebhooksControllerGetWebhookWithResponse call

func (WebhooksControllerGetWebhookResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (WebhooksControllerGetWebhookResponse) GetBody

GetBody returns the raw response body bytes

func (WebhooksControllerGetWebhookResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WebhooksControllerGetWebhookResponse) Status

Status returns HTTPResponse.Status

func (WebhooksControllerGetWebhookResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WebhooksControllerGetWebhooksParams

type WebhooksControllerGetWebhooksParams struct {
	// Take Maximum number of items to return
	Take *float64 `form:"take,omitempty" json:"take,omitempty"`

	// Skip Number of items to skip
	Skip *float64 `form:"skip,omitempty" json:"skip,omitempty"`

	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
	Authorization string `json:"Authorization"`
}

WebhooksControllerGetWebhooksParams defines parameters for WebhooksControllerGetWebhooks.

type WebhooksControllerGetWebhooksResponse

type WebhooksControllerGetWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserWebhooksOutputResponseDto
}

func ParseWebhooksControllerGetWebhooksResponse

func ParseWebhooksControllerGetWebhooksResponse(rsp *http.Response) (*WebhooksControllerGetWebhooksResponse, error)

ParseWebhooksControllerGetWebhooksResponse parses an HTTP response from a WebhooksControllerGetWebhooksWithResponse call

func (WebhooksControllerGetWebhooksResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (WebhooksControllerGetWebhooksResponse) GetBody

GetBody returns the raw response body bytes

func (WebhooksControllerGetWebhooksResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WebhooksControllerGetWebhooksResponse) Status

Status returns HTTPResponse.Status

func (WebhooksControllerGetWebhooksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WebhooksControllerUpdateWebhookJSONRequestBody

type WebhooksControllerUpdateWebhookJSONRequestBody = UpdateWebhookInputDto

WebhooksControllerUpdateWebhookJSONRequestBody defines body for WebhooksControllerUpdateWebhook for application/json ContentType.

type WebhooksControllerUpdateWebhookParams

type WebhooksControllerUpdateWebhookParams struct {
	// Authorization value must be `Bearer <token>` where `<token>` is api key prefixed with cal_
	Authorization string `json:"Authorization"`
}

WebhooksControllerUpdateWebhookParams defines parameters for WebhooksControllerUpdateWebhook.

type WebhooksControllerUpdateWebhookResponse

type WebhooksControllerUpdateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserWebhookOutputResponseDto
}

func ParseWebhooksControllerUpdateWebhookResponse

func ParseWebhooksControllerUpdateWebhookResponse(rsp *http.Response) (*WebhooksControllerUpdateWebhookResponse, error)

ParseWebhooksControllerUpdateWebhookResponse parses an HTTP response from a WebhooksControllerUpdateWebhookWithResponse call

func (WebhooksControllerUpdateWebhookResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (WebhooksControllerUpdateWebhookResponse) GetBody

GetBody returns the raw response body bytes

func (WebhooksControllerUpdateWebhookResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WebhooksControllerUpdateWebhookResponse) Status

Status returns HTTPResponse.Status

func (WebhooksControllerUpdateWebhookResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL