/* tslint:disable */ /* eslint-disable */ /** * AdminApi - Unified API client wrapper * * Usage: * const adminApi = new AdminApi({ * apiKey: "your-api-key", * organizationId: "your-org-id", * }); * const accounts = await adminApi.accounts.getAccounts(); * const eventsPasses = await adminApi.eventsPasses.getEventPasses(); */ import { Configuration } from "./configuration"; import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsResponsesApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsGroupcouponreminderApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPasschangesApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesExchangetargetsApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRegistrationsApi, EventsRegistrationsPackagesApi, EventsRegistrationsReservationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsPricesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTransfersApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationEntitiesApi, OrganizationIntegrationsApi, OrganizationLanguageoverridesApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsAccountsApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, ThreadsStorageApi, TiersApi, } from "./api"; export interface AdminApiConfig { /** Your API key for authentication */ apiKey: string; /** Your organization ID */ organizationId: string; /** Optional base URL (defaults to production). Use "https://staging-admin-api.connected.dev" for staging. */ basePath?: "https://admin-api.connected.dev" | "https://staging-admin-api.connected.dev"; } export class AdminApi { private readonly config: Configuration; public readonly accounts: AccountsApi; public readonly accountsAddresses: AccountsAddressesApi; public readonly accountsFollowers: AccountsFollowersApi; public readonly accountsFollowing: AccountsFollowingApi; public readonly accountsGroups: AccountsGroupsApi; public readonly accountsInterests: AccountsInterestsApi; public readonly accountsInvitations: AccountsInvitationsApi; public readonly accountsLeads: AccountsLeadsApi; public readonly accountsTiers: AccountsTiersApi; public readonly activities: ActivitiesApi; public readonly activitiesSchedule: ActivitiesScheduleApi; public readonly advertisements: AdvertisementsApi; public readonly announcements: AnnouncementsApi; public readonly announcementsSchedule: AnnouncementsScheduleApi; public readonly announcementsTranslations: AnnouncementsTranslationsApi; public readonly apiLogs: ApiLogsApi; public readonly authSessions: AuthSessionsApi; public readonly benefits: BenefitsApi; public readonly benefitsTranslations: BenefitsTranslationsApi; public readonly bookings: BookingsApi; public readonly bookingsAvailabilities: BookingsAvailabilitiesApi; public readonly bookingsBlackouts: BookingsBlackoutsApi; public readonly bookingsPlaces: BookingsPlacesApi; public readonly bookingsPlacesTranslations: BookingsPlacesTranslationsApi; public readonly bookingsQuestions: BookingsQuestionsApi; public readonly bookingsQuestionsChoices: BookingsQuestionsChoicesApi; public readonly bookingsQuestionsChoicesTranslations: BookingsQuestionsChoicesTranslationsApi; public readonly bookingsQuestionsTranslations: BookingsQuestionsTranslationsApi; public readonly bookingsResponses: BookingsResponsesApi; public readonly bookingsSpaces: BookingsSpacesApi; public readonly bookingsSpacesTranslations: BookingsSpacesTranslationsApi; public readonly channels: ChannelsApi; public readonly channelsTranslations: ChannelsTranslationsApi; public readonly dashboards: DashboardsApi; public readonly dashboardsWidgets: DashboardsWidgetsApi; public readonly emailReceipts: EmailReceiptsApi; public readonly events: EventsApi; public readonly eventsAccess: EventsAccessApi; public readonly eventsActivations: EventsActivationsApi; public readonly eventsActivationsSessions: EventsActivationsSessionsApi; public readonly eventsActivationsTranslations: EventsActivationsTranslationsApi; public readonly eventsAddons: EventsAddonsApi; public readonly eventsAddonsTranslations: EventsAddonsTranslationsApi; public readonly eventsAttributes: EventsAttributesApi; public readonly eventsBenefits: EventsBenefitsApi; public readonly eventsBlocks: EventsBlocksApi; public readonly eventsBypass: EventsBypassApi; public readonly eventsCohosts: EventsCohostsApi; public readonly eventsCoupons: EventsCouponsApi; public readonly eventsEmails: EventsEmailsApi; public readonly eventsEmailsTranslations: EventsEmailsTranslationsApi; public readonly eventsFaqs: EventsFaqsApi; public readonly eventsFaqsTranslations: EventsFaqsTranslationsApi; public readonly eventsFollowups: EventsFollowupsApi; public readonly eventsFollowupsTranslations: EventsFollowupsTranslationsApi; public readonly eventsGroupcouponreminder: EventsGroupcouponreminderApi; public readonly eventsMatches: EventsMatchesApi; public readonly eventsMedia: EventsMediaApi; public readonly eventsMediaTranslations: EventsMediaTranslationsApi; public readonly eventsOnSite: EventsOnSiteApi; public readonly eventsPackages: EventsPackagesApi; public readonly eventsPackagesPasses: EventsPackagesPassesApi; public readonly eventsPackagesTranslations: EventsPackagesTranslationsApi; public readonly eventsPages: EventsPagesApi; public readonly eventsPagesTranslations: EventsPagesTranslationsApi; public readonly eventsPasschanges: EventsPasschangesApi; public readonly eventsPasses: EventsPassesApi; public readonly eventsPassesAccesses: EventsPassesAccessesApi; public readonly eventsPassesAddons: EventsPassesAddonsApi; public readonly eventsPassesAttributes: EventsPassesAttributesApi; public readonly eventsPassesFollowups: EventsPassesFollowupsApi; public readonly eventsPassesResponses: EventsPassesResponsesApi; public readonly eventsPasstypes: EventsPasstypesApi; public readonly eventsPasstypesExchangetargets: EventsPasstypesExchangetargetsApi; public readonly eventsPasstypesPriceschedules: EventsPasstypesPriceschedulesApi; public readonly eventsPasstypesRefundschedules: EventsPasstypesRefundschedulesApi; public readonly eventsPasstypesTranslations: EventsPasstypesTranslationsApi; public readonly eventsQuestions: EventsQuestionsApi; public readonly eventsQuestionsTranslations: EventsQuestionsTranslationsApi; public readonly eventsRegistrations: EventsRegistrationsApi; public readonly eventsRegistrationsPackages: EventsRegistrationsPackagesApi; public readonly eventsRegistrationsReservations: EventsRegistrationsReservationsApi; public readonly eventsRooms: EventsRoomsApi; public readonly eventsRoomtypes: EventsRoomtypesApi; public readonly eventsRoomtypesTranslations: EventsRoomtypesTranslationsApi; public readonly eventsSections: EventsSectionsApi; public readonly eventsSectionsTranslations: EventsSectionsTranslationsApi; public readonly eventsSessions: EventsSessionsApi; public readonly eventsSessionsAccesses: EventsSessionsAccessesApi; public readonly eventsSessionsLocations: EventsSessionsLocationsApi; public readonly eventsSessionsLocationsTranslations: EventsSessionsLocationsTranslationsApi; public readonly eventsSessionsMatches: EventsSessionsMatchesApi; public readonly eventsSessionsPrices: EventsSessionsPricesApi; public readonly eventsSessionsQuestions: EventsSessionsQuestionsApi; public readonly eventsSessionsQuestionsTranslations: EventsSessionsQuestionsTranslationsApi; public readonly eventsSessionsSections: EventsSessionsSectionsApi; public readonly eventsSessionsSectionsTranslations: EventsSessionsSectionsTranslationsApi; public readonly eventsSessionsTimes: EventsSessionsTimesApi; public readonly eventsSessionsTimesTranslations: EventsSessionsTimesTranslationsApi; public readonly eventsSessionsTranslations: EventsSessionsTranslationsApi; public readonly eventsSpeakers: EventsSpeakersApi; public readonly eventsSpeakersTranslations: EventsSpeakersTranslationsApi; public readonly eventsSponsors: EventsSponsorsApi; public readonly eventsSponsorshiplevels: EventsSponsorshiplevelsApi; public readonly eventsSponsorshiplevelsTranslations: EventsSponsorshiplevelsTranslationsApi; public readonly eventsSponsorships: EventsSponsorshipsApi; public readonly eventsSponsorshipsTranslations: EventsSponsorshipsTranslationsApi; public readonly eventsTemplates: EventsTemplatesApi; public readonly eventsTracks: EventsTracksApi; public readonly eventsTracksTranslations: EventsTracksTranslationsApi; public readonly eventsTransfers: EventsTransfersApi; public readonly eventsTranslations: EventsTranslationsApi; public readonly files: FilesApi; public readonly groups: GroupsApi; public readonly groupsEvents: GroupsEventsApi; public readonly groupsInterests: GroupsInterestsApi; public readonly groupsInvitations: GroupsInvitationsApi; public readonly groupsMembers: GroupsMembersApi; public readonly groupsModerators: GroupsModeratorsApi; public readonly groupsRequests: GroupsRequestsApi; public readonly groupsSponsors: GroupsSponsorsApi; public readonly groupsTranslations: GroupsTranslationsApi; public readonly imports: ImportsApi; public readonly interests: InterestsApi; public readonly invoices: InvoicesApi; public readonly invoicesLineitems: InvoicesLineitemsApi; public readonly logins: LoginsApi; public readonly loginsAccounts: LoginsAccountsApi; public readonly meetings: MeetingsApi; public readonly meetingsLinks: MeetingsLinksApi; public readonly meetingsLivestreams: MeetingsLivestreamsApi; public readonly meetingsParticipants: MeetingsParticipantsApi; public readonly meetingsPresets: MeetingsPresetsApi; public readonly meetingsRecordings: MeetingsRecordingsApi; public readonly meetingsSessions: MeetingsSessionsApi; public readonly notifications: NotificationsApi; public readonly organization: OrganizationApi; public readonly organizationAttributes: OrganizationAttributesApi; public readonly organizationDomains: OrganizationDomainsApi; public readonly organizationEntities: OrganizationEntitiesApi; public readonly organizationIntegrations: OrganizationIntegrationsApi; public readonly organizationLanguageoverrides: OrganizationLanguageoverridesApi; public readonly organizationModules: OrganizationModulesApi; public readonly organizationModulesCustom: OrganizationModulesCustomApi; public readonly organizationModulesCustomTranslations: OrganizationModulesCustomTranslationsApi; public readonly organizationModulesSettings: OrganizationModulesSettingsApi; public readonly organizationModulesSettingsTranslations: OrganizationModulesSettingsTranslationsApi; public readonly organizationModulesTiers: OrganizationModulesTiersApi; public readonly organizationPayments: OrganizationPaymentsApi; public readonly organizationSideeffects: OrganizationSideeffectsApi; public readonly organizationTax: OrganizationTaxApi; public readonly organizationTeammembers: OrganizationTeammembersApi; public readonly organizationUsers: OrganizationUsersApi; public readonly organizationWebhooks: OrganizationWebhooksApi; public readonly payments: PaymentsApi; public readonly preferences: PreferencesApi; public readonly pushDevices: PushDevicesApi; public readonly reports: ReportsApi; public readonly reportsUsers: ReportsUsersApi; public readonly searchlists: SearchlistsApi; public readonly searchlistsValues: SearchlistsValuesApi; public readonly self: SelfApi; public readonly selfApikeys: SelfApikeysApi; public readonly selfImages: SelfImagesApi; public readonly series: SeriesApi; public readonly seriesQuestions: SeriesQuestionsApi; public readonly seriesQuestionsChoices: SeriesQuestionsChoicesApi; public readonly seriesQuestionsTranslations: SeriesQuestionsTranslationsApi; public readonly seriesRegistrations: SeriesRegistrationsApi; public readonly seriesTranslations: SeriesTranslationsApi; public readonly sponsors: SponsorsApi; public readonly sponsorsAccounts: SponsorsAccountsApi; public readonly sponsorsTranslations: SponsorsTranslationsApi; public readonly storageFiles: StorageFilesApi; public readonly storageImages: StorageImagesApi; public readonly storageVideos: StorageVideosApi; public readonly storageVideosCaptions: StorageVideosCaptionsApi; public readonly streams: StreamsApi; public readonly streamsOutputs: StreamsOutputsApi; public readonly streamsSessions: StreamsSessionsApi; public readonly support: SupportApi; public readonly supportMessages: SupportMessagesApi; public readonly supportNotes: SupportNotesApi; public readonly surveys: SurveysApi; public readonly surveysQuestions: SurveysQuestionsApi; public readonly surveysQuestionsTranslations: SurveysQuestionsTranslationsApi; public readonly surveysSections: SurveysSectionsApi; public readonly surveysSectionsTranslations: SurveysSectionsTranslationsApi; public readonly surveysSessions: SurveysSessionsApi; public readonly surveysSubmissions: SurveysSubmissionsApi; public readonly surveysTranslations: SurveysTranslationsApi; public readonly threads: ThreadsApi; public readonly threadsAccounts: ThreadsAccountsApi; public readonly threadsMessages: ThreadsMessagesApi; public readonly threadsMessagesFiles: ThreadsMessagesFilesApi; public readonly threadsMessagesImages: ThreadsMessagesImagesApi; public readonly threadsMessagesReactions: ThreadsMessagesReactionsApi; public readonly threadsMessagesVideos: ThreadsMessagesVideosApi; public readonly threadsStorage: ThreadsStorageApi; public readonly tiers: TiersApi; constructor(config: AdminApiConfig) { this.config = new Configuration({ basePath: config.basePath ?? "https://admin-api.connected.dev", baseOptions: { headers: { "api-key": config.apiKey, "organization": config.organizationId, }, }, }); this.accounts = new AccountsApi(this.config); this.accountsAddresses = new AccountsAddressesApi(this.config); this.accountsFollowers = new AccountsFollowersApi(this.config); this.accountsFollowing = new AccountsFollowingApi(this.config); this.accountsGroups = new AccountsGroupsApi(this.config); this.accountsInterests = new AccountsInterestsApi(this.config); this.accountsInvitations = new AccountsInvitationsApi(this.config); this.accountsLeads = new AccountsLeadsApi(this.config); this.accountsTiers = new AccountsTiersApi(this.config); this.activities = new ActivitiesApi(this.config); this.activitiesSchedule = new ActivitiesScheduleApi(this.config); this.advertisements = new AdvertisementsApi(this.config); this.announcements = new AnnouncementsApi(this.config); this.announcementsSchedule = new AnnouncementsScheduleApi(this.config); this.announcementsTranslations = new AnnouncementsTranslationsApi(this.config); this.apiLogs = new ApiLogsApi(this.config); this.authSessions = new AuthSessionsApi(this.config); this.benefits = new BenefitsApi(this.config); this.benefitsTranslations = new BenefitsTranslationsApi(this.config); this.bookings = new BookingsApi(this.config); this.bookingsAvailabilities = new BookingsAvailabilitiesApi(this.config); this.bookingsBlackouts = new BookingsBlackoutsApi(this.config); this.bookingsPlaces = new BookingsPlacesApi(this.config); this.bookingsPlacesTranslations = new BookingsPlacesTranslationsApi(this.config); this.bookingsQuestions = new BookingsQuestionsApi(this.config); this.bookingsQuestionsChoices = new BookingsQuestionsChoicesApi(this.config); this.bookingsQuestionsChoicesTranslations = new BookingsQuestionsChoicesTranslationsApi(this.config); this.bookingsQuestionsTranslations = new BookingsQuestionsTranslationsApi(this.config); this.bookingsResponses = new BookingsResponsesApi(this.config); this.bookingsSpaces = new BookingsSpacesApi(this.config); this.bookingsSpacesTranslations = new BookingsSpacesTranslationsApi(this.config); this.channels = new ChannelsApi(this.config); this.channelsTranslations = new ChannelsTranslationsApi(this.config); this.dashboards = new DashboardsApi(this.config); this.dashboardsWidgets = new DashboardsWidgetsApi(this.config); this.emailReceipts = new EmailReceiptsApi(this.config); this.events = new EventsApi(this.config); this.eventsAccess = new EventsAccessApi(this.config); this.eventsActivations = new EventsActivationsApi(this.config); this.eventsActivationsSessions = new EventsActivationsSessionsApi(this.config); this.eventsActivationsTranslations = new EventsActivationsTranslationsApi(this.config); this.eventsAddons = new EventsAddonsApi(this.config); this.eventsAddonsTranslations = new EventsAddonsTranslationsApi(this.config); this.eventsAttributes = new EventsAttributesApi(this.config); this.eventsBenefits = new EventsBenefitsApi(this.config); this.eventsBlocks = new EventsBlocksApi(this.config); this.eventsBypass = new EventsBypassApi(this.config); this.eventsCohosts = new EventsCohostsApi(this.config); this.eventsCoupons = new EventsCouponsApi(this.config); this.eventsEmails = new EventsEmailsApi(this.config); this.eventsEmailsTranslations = new EventsEmailsTranslationsApi(this.config); this.eventsFaqs = new EventsFaqsApi(this.config); this.eventsFaqsTranslations = new EventsFaqsTranslationsApi(this.config); this.eventsFollowups = new EventsFollowupsApi(this.config); this.eventsFollowupsTranslations = new EventsFollowupsTranslationsApi(this.config); this.eventsGroupcouponreminder = new EventsGroupcouponreminderApi(this.config); this.eventsMatches = new EventsMatchesApi(this.config); this.eventsMedia = new EventsMediaApi(this.config); this.eventsMediaTranslations = new EventsMediaTranslationsApi(this.config); this.eventsOnSite = new EventsOnSiteApi(this.config); this.eventsPackages = new EventsPackagesApi(this.config); this.eventsPackagesPasses = new EventsPackagesPassesApi(this.config); this.eventsPackagesTranslations = new EventsPackagesTranslationsApi(this.config); this.eventsPages = new EventsPagesApi(this.config); this.eventsPagesTranslations = new EventsPagesTranslationsApi(this.config); this.eventsPasschanges = new EventsPasschangesApi(this.config); this.eventsPasses = new EventsPassesApi(this.config); this.eventsPassesAccesses = new EventsPassesAccessesApi(this.config); this.eventsPassesAddons = new EventsPassesAddonsApi(this.config); this.eventsPassesAttributes = new EventsPassesAttributesApi(this.config); this.eventsPassesFollowups = new EventsPassesFollowupsApi(this.config); this.eventsPassesResponses = new EventsPassesResponsesApi(this.config); this.eventsPasstypes = new EventsPasstypesApi(this.config); this.eventsPasstypesExchangetargets = new EventsPasstypesExchangetargetsApi(this.config); this.eventsPasstypesPriceschedules = new EventsPasstypesPriceschedulesApi(this.config); this.eventsPasstypesRefundschedules = new EventsPasstypesRefundschedulesApi(this.config); this.eventsPasstypesTranslations = new EventsPasstypesTranslationsApi(this.config); this.eventsQuestions = new EventsQuestionsApi(this.config); this.eventsQuestionsTranslations = new EventsQuestionsTranslationsApi(this.config); this.eventsRegistrations = new EventsRegistrationsApi(this.config); this.eventsRegistrationsPackages = new EventsRegistrationsPackagesApi(this.config); this.eventsRegistrationsReservations = new EventsRegistrationsReservationsApi(this.config); this.eventsRooms = new EventsRoomsApi(this.config); this.eventsRoomtypes = new EventsRoomtypesApi(this.config); this.eventsRoomtypesTranslations = new EventsRoomtypesTranslationsApi(this.config); this.eventsSections = new EventsSectionsApi(this.config); this.eventsSectionsTranslations = new EventsSectionsTranslationsApi(this.config); this.eventsSessions = new EventsSessionsApi(this.config); this.eventsSessionsAccesses = new EventsSessionsAccessesApi(this.config); this.eventsSessionsLocations = new EventsSessionsLocationsApi(this.config); this.eventsSessionsLocationsTranslations = new EventsSessionsLocationsTranslationsApi(this.config); this.eventsSessionsMatches = new EventsSessionsMatchesApi(this.config); this.eventsSessionsPrices = new EventsSessionsPricesApi(this.config); this.eventsSessionsQuestions = new EventsSessionsQuestionsApi(this.config); this.eventsSessionsQuestionsTranslations = new EventsSessionsQuestionsTranslationsApi(this.config); this.eventsSessionsSections = new EventsSessionsSectionsApi(this.config); this.eventsSessionsSectionsTranslations = new EventsSessionsSectionsTranslationsApi(this.config); this.eventsSessionsTimes = new EventsSessionsTimesApi(this.config); this.eventsSessionsTimesTranslations = new EventsSessionsTimesTranslationsApi(this.config); this.eventsSessionsTranslations = new EventsSessionsTranslationsApi(this.config); this.eventsSpeakers = new EventsSpeakersApi(this.config); this.eventsSpeakersTranslations = new EventsSpeakersTranslationsApi(this.config); this.eventsSponsors = new EventsSponsorsApi(this.config); this.eventsSponsorshiplevels = new EventsSponsorshiplevelsApi(this.config); this.eventsSponsorshiplevelsTranslations = new EventsSponsorshiplevelsTranslationsApi(this.config); this.eventsSponsorships = new EventsSponsorshipsApi(this.config); this.eventsSponsorshipsTranslations = new EventsSponsorshipsTranslationsApi(this.config); this.eventsTemplates = new EventsTemplatesApi(this.config); this.eventsTracks = new EventsTracksApi(this.config); this.eventsTracksTranslations = new EventsTracksTranslationsApi(this.config); this.eventsTransfers = new EventsTransfersApi(this.config); this.eventsTranslations = new EventsTranslationsApi(this.config); this.files = new FilesApi(this.config); this.groups = new GroupsApi(this.config); this.groupsEvents = new GroupsEventsApi(this.config); this.groupsInterests = new GroupsInterestsApi(this.config); this.groupsInvitations = new GroupsInvitationsApi(this.config); this.groupsMembers = new GroupsMembersApi(this.config); this.groupsModerators = new GroupsModeratorsApi(this.config); this.groupsRequests = new GroupsRequestsApi(this.config); this.groupsSponsors = new GroupsSponsorsApi(this.config); this.groupsTranslations = new GroupsTranslationsApi(this.config); this.imports = new ImportsApi(this.config); this.interests = new InterestsApi(this.config); this.invoices = new InvoicesApi(this.config); this.invoicesLineitems = new InvoicesLineitemsApi(this.config); this.logins = new LoginsApi(this.config); this.loginsAccounts = new LoginsAccountsApi(this.config); this.meetings = new MeetingsApi(this.config); this.meetingsLinks = new MeetingsLinksApi(this.config); this.meetingsLivestreams = new MeetingsLivestreamsApi(this.config); this.meetingsParticipants = new MeetingsParticipantsApi(this.config); this.meetingsPresets = new MeetingsPresetsApi(this.config); this.meetingsRecordings = new MeetingsRecordingsApi(this.config); this.meetingsSessions = new MeetingsSessionsApi(this.config); this.notifications = new NotificationsApi(this.config); this.organization = new OrganizationApi(this.config); this.organizationAttributes = new OrganizationAttributesApi(this.config); this.organizationDomains = new OrganizationDomainsApi(this.config); this.organizationEntities = new OrganizationEntitiesApi(this.config); this.organizationIntegrations = new OrganizationIntegrationsApi(this.config); this.organizationLanguageoverrides = new OrganizationLanguageoverridesApi(this.config); this.organizationModules = new OrganizationModulesApi(this.config); this.organizationModulesCustom = new OrganizationModulesCustomApi(this.config); this.organizationModulesCustomTranslations = new OrganizationModulesCustomTranslationsApi(this.config); this.organizationModulesSettings = new OrganizationModulesSettingsApi(this.config); this.organizationModulesSettingsTranslations = new OrganizationModulesSettingsTranslationsApi(this.config); this.organizationModulesTiers = new OrganizationModulesTiersApi(this.config); this.organizationPayments = new OrganizationPaymentsApi(this.config); this.organizationSideeffects = new OrganizationSideeffectsApi(this.config); this.organizationTax = new OrganizationTaxApi(this.config); this.organizationTeammembers = new OrganizationTeammembersApi(this.config); this.organizationUsers = new OrganizationUsersApi(this.config); this.organizationWebhooks = new OrganizationWebhooksApi(this.config); this.payments = new PaymentsApi(this.config); this.preferences = new PreferencesApi(this.config); this.pushDevices = new PushDevicesApi(this.config); this.reports = new ReportsApi(this.config); this.reportsUsers = new ReportsUsersApi(this.config); this.searchlists = new SearchlistsApi(this.config); this.searchlistsValues = new SearchlistsValuesApi(this.config); this.self = new SelfApi(this.config); this.selfApikeys = new SelfApikeysApi(this.config); this.selfImages = new SelfImagesApi(this.config); this.series = new SeriesApi(this.config); this.seriesQuestions = new SeriesQuestionsApi(this.config); this.seriesQuestionsChoices = new SeriesQuestionsChoicesApi(this.config); this.seriesQuestionsTranslations = new SeriesQuestionsTranslationsApi(this.config); this.seriesRegistrations = new SeriesRegistrationsApi(this.config); this.seriesTranslations = new SeriesTranslationsApi(this.config); this.sponsors = new SponsorsApi(this.config); this.sponsorsAccounts = new SponsorsAccountsApi(this.config); this.sponsorsTranslations = new SponsorsTranslationsApi(this.config); this.storageFiles = new StorageFilesApi(this.config); this.storageImages = new StorageImagesApi(this.config); this.storageVideos = new StorageVideosApi(this.config); this.storageVideosCaptions = new StorageVideosCaptionsApi(this.config); this.streams = new StreamsApi(this.config); this.streamsOutputs = new StreamsOutputsApi(this.config); this.streamsSessions = new StreamsSessionsApi(this.config); this.support = new SupportApi(this.config); this.supportMessages = new SupportMessagesApi(this.config); this.supportNotes = new SupportNotesApi(this.config); this.surveys = new SurveysApi(this.config); this.surveysQuestions = new SurveysQuestionsApi(this.config); this.surveysQuestionsTranslations = new SurveysQuestionsTranslationsApi(this.config); this.surveysSections = new SurveysSectionsApi(this.config); this.surveysSectionsTranslations = new SurveysSectionsTranslationsApi(this.config); this.surveysSessions = new SurveysSessionsApi(this.config); this.surveysSubmissions = new SurveysSubmissionsApi(this.config); this.surveysTranslations = new SurveysTranslationsApi(this.config); this.threads = new ThreadsApi(this.config); this.threadsAccounts = new ThreadsAccountsApi(this.config); this.threadsMessages = new ThreadsMessagesApi(this.config); this.threadsMessagesFiles = new ThreadsMessagesFilesApi(this.config); this.threadsMessagesImages = new ThreadsMessagesImagesApi(this.config); this.threadsMessagesReactions = new ThreadsMessagesReactionsApi(this.config); this.threadsMessagesVideos = new ThreadsMessagesVideosApi(this.config); this.threadsStorage = new ThreadsStorageApi(this.config); this.tiers = new TiersApi(this.config); } /** * Update the API key */ setApiKey(apiKey: string): void { if (this.config.baseOptions?.headers) { (this.config.baseOptions.headers as Record)["api-key"] = apiKey; } } /** * Update the organization ID */ setOrganizationId(organizationId: string): void { if (this.config.baseOptions?.headers) { (this.config.baseOptions.headers as Record)["organization"] = organizationId; } } } export default AdminApi;