@connectedxm/admin-sdk 6.7.7 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +13 -0
- package/AdminApi.ts +9 -1
- package/README.md +28 -0
- package/api.ts +2619 -564
- package/dist/AdminApi.d.ts +5 -1
- package/dist/AdminApi.js +4 -1
- package/dist/api.d.ts +1122 -30
- package/dist/api.js +1759 -286
- package/dist/esm/AdminApi.d.ts +5 -1
- package/dist/esm/AdminApi.js +5 -2
- package/dist/esm/api.d.ts +1122 -30
- package/dist/esm/api.js +1729 -264
- package/docs/AccountCreateInputs.md +2 -0
- package/docs/AccountUpdateInputs.md +2 -0
- package/docs/BaseEventActivation.md +2 -0
- package/docs/BaseEventBlock.md +28 -0
- package/docs/BaseSeriesRegistration.md +32 -0
- package/docs/BaseSurvey.md +2 -0
- package/docs/BaseSurveySubmission.md +6 -0
- package/docs/CreateEventBlock200Response.md +24 -0
- package/docs/EventActivation.md +2 -0
- package/docs/EventBlock.md +36 -0
- package/docs/EventBlockCreateInputs.md +26 -0
- package/docs/EventBlockUpdateInputs.md +26 -0
- package/docs/EventSession.md +2 -0
- package/docs/EventsBlocksApi.md +479 -0
- package/docs/EventsCouponsApi.md +3 -0
- package/docs/EventsSessionsApi.md +183 -0
- package/docs/GetEventBlocks200Response.md +26 -0
- package/docs/Series.md +8 -0
- package/docs/SeriesCreateInputs.md +10 -0
- package/docs/SeriesRegistration.md +36 -0
- package/docs/SeriesRegistrationCreateInputs.md +20 -0
- package/docs/SeriesRegistrationUpdateInputs.md +20 -0
- package/docs/SeriesRegistrationsApi.md +354 -0
- package/docs/SeriesUpdateInputs.md +10 -0
- package/docs/Survey.md +18 -0
- package/docs/SurveyAllOfCount.md +20 -0
- package/docs/SurveyCreateInputs.md +8 -0
- package/docs/SurveySubmission.md +6 -0
- package/docs/SurveySubmissionUpdateInputs.md +4 -0
- package/docs/SurveyUpdateInputs.md +8 -0
- package/docs/SurveysApi.md +6 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -22,24 +22,24 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.GetTiersTypeEnum = exports.TiersApi = exports.TiersApiFactory = exports.TiersApiFp = exports.TiersApiAxiosParamCreator = exports.ThreadsMessagesVideosApi = exports.ThreadsMessagesVideosApiFactory = exports.ThreadsMessagesVideosApiFp = exports.ThreadsMessagesVideosApiAxiosParamCreator = exports.ThreadsMessagesReactionsApi = exports.ThreadsMessagesReactionsApiFactory = exports.ThreadsMessagesReactionsApiFp = exports.ThreadsMessagesReactionsApiAxiosParamCreator = exports.ThreadsMessagesImagesApi = exports.ThreadsMessagesImagesApiFactory = exports.ThreadsMessagesImagesApiFp = exports.ThreadsMessagesImagesApiAxiosParamCreator = exports.ThreadsMessagesFilesApi = exports.ThreadsMessagesFilesApiFactory = exports.ThreadsMessagesFilesApiFp = exports.ThreadsMessagesFilesApiAxiosParamCreator = void 0;
|
|
25
|
+
exports.CreateEventPass200ResponseStatusEnum = exports.CreateEventPage200ResponseStatusEnum = exports.CreateEventPackage200ResponseStatusEnum = exports.CreateEventMatch200ResponseStatusEnum = exports.CreateEventFaqSectionQuestion200ResponseStatusEnum = exports.CreateEventFaqSection200ResponseStatusEnum = exports.CreateEventCouponVariants200ResponseStatusEnum = exports.CreateEventCoupon200ResponseStatusEnum = exports.CreateEventBlock200ResponseStatusEnum = exports.CreateEventAttendee200ResponseStatusEnum = exports.CreateEventAddOn200ResponseStatusEnum = exports.CreateEvent200ResponseStatusEnum = exports.CreateDashboard200ResponseStatusEnum = exports.CreateCustomModule200ResponseStatusEnum = exports.CreateChannel200ResponseStatusEnum = exports.CreateBookingSpace200ResponseStatusEnum = exports.CreateBookingPlace200ResponseStatusEnum = exports.CreateBooking200ResponseStatusEnum = exports.CreateBenefit200ResponseStatusEnum = exports.CreateAnnouncement200ResponseStatusEnum = exports.CreateAdvertisement200ResponseStatusEnum = exports.CreateActivity200ResponseStatusEnum = exports.CreateAccountInvitations200ResponseStatusEnum = exports.CreateAccountAddress200ResponseStatusEnum = exports.CreateAccount200ResponseStatusEnum = exports.CountChartSummaryDataDataEnum = exports.CountChartSummaryDataTypeEnum = exports.ContentStatus = exports.ContentGuestType = exports.ChannelFormat = exports.BaseActivityEntityInputMarksEnum = exports.BaseAccountAttributeTypeEnum = exports.BaseAPILogStatusEnum = exports.BaseAPILogSourceEnum = exports.BarChartSummaryDataTypeEnum = exports.BadgeFieldType = exports.BadgeFieldTransformation = exports.AuthLayout = exports.AdvertisementType = exports.AdminNotificationType = exports.AdminNotificationSource = exports.AddAccountGroup200ResponseStatusEnum = exports.ActivityStatus = exports.ActivityPreference = exports.ActivityEntityType = exports.AccountAttributeCreateInputsTypeEnum = exports.AccountAttributeTypeEnum = exports.AccountAccess = exports.APILogStatusEnum = exports.APILogSourceEnum = void 0;
|
|
26
|
+
exports.GetAccountGroups200ResponseStatusEnum = exports.GetAccountEvents200ResponseStatusEnum = exports.GetAccountAddress200ResponseStatusEnum = exports.GetAccountActivities200ResponseStatusEnum = exports.GetAPILogs200ResponseStatusEnum = exports.GetAPILog200ResponseStatusEnum = exports.FileSource = exports.ExportStatus = exports.EventType = exports.EventSource = exports.EventSessionQuestionType = exports.EventReportDateType = exports.EventEmailType = exports.EventAnnouncementFiltersTypeEnum = exports.EventAgendaVisibility = exports.EventActivationType = exports.EmailReceiptStatus = exports.DelegateRole = exports.DefaultAuthAction = exports.DayOfWeek = exports.CustomModulePosition = exports.Currency = exports.CreateTier200ResponseStatusEnum = exports.CreateThreadMessage200ResponseStatusEnum = exports.CreateThreadCircle200ResponseStatusEnum = exports.CreateThread200ResponseStatusEnum = exports.CreateSurveySection200ResponseStatusEnum = exports.CreateSurvey200ResponseStatusEnum = exports.CreateSupportTicket200ResponseStatusEnum = exports.CreateStreamInput200ResponseStatusEnum = exports.CreateSeries200ResponseStatusEnum = exports.CreateSelfApiKey200ResponseStatusEnum = exports.CreateSearchList200ResponseStatusEnum = exports.CreateRoom200ResponseStatusEnum = exports.CreatePreset200ResponseStatusEnum = exports.CreateOrganizationWebhook200ResponseStatusEnum = exports.CreateMeetingLink200ResponseStatusEnum = exports.CreateMeeting200ResponseStatusEnum = exports.CreateLevel200ResponseStatusEnum = exports.CreateInvoice200ResponseStatusEnum = exports.CreateInterest200ResponseStatusEnum = exports.CreateIntegration200ResponseStatusEnum = exports.CreateImage200ResponseStatusEnum = exports.CreateGroup200ResponseStatusEnum = exports.CreateEventTrack200ResponseStatusEnum = exports.CreateEventSpeaker200ResponseStatusEnum = exports.CreateEventSession200ResponseStatusEnum = exports.CreateEventRound200ResponseStatusEnum = exports.CreateEventRoomType200ResponseStatusEnum = exports.CreateEventPassType200ResponseStatusEnum = void 0;
|
|
27
|
+
exports.GetEventRounds200ResponseStatusEnum = exports.GetEventRoundMatches200ResponseStatusEnum = exports.GetEventRoomTypes200ResponseStatusEnum = exports.GetEventQuestionSummary200ResponseStatusEnum = exports.GetEventPassTypes200ResponseStatusEnum = exports.GetEventPassMatches200ResponseStatusEnum = exports.GetEventPages200ResponseStatusEnum = exports.GetEventPageImages200ResponseStatusEnum = exports.GetEventPackages200ResponseStatusEnum = exports.GetEventOnSite200ResponseStatusEnum = exports.GetEventMediaItems200ResponseStatusEnum = exports.GetEventMediaItem200ResponseStatusEnum = exports.GetEventFaqSections200ResponseStatusEnum = exports.GetEventFaqSectionQuestions200ResponseStatusEnum = exports.GetEventEmail200ResponseStatusEnum = exports.GetEventBlocks200ResponseStatusEnum = exports.GetEventAttendees200ResponseStatusEnum = exports.GetEventAttendeeCoupons200ResponseStatusEnum = exports.GetEventAddOns200ResponseStatusEnum = exports.GetEventAddOnPasses200ResponseStatusEnum = exports.GetEventActivation200ResponseStatusEnum = exports.GetEventAccessUsers200ResponseStatusEnum = exports.GetEntityUseCodes200ResponseStatusEnum = exports.GetEmailReceipt200ResponseStatusEnum = exports.GetDashboards200ResponseStatusEnum = exports.GetCustomReports200ResponseStatusEnum = exports.GetCustomReportUsers200ResponseStatusEnum = exports.GetCustomReport200ResponseStatusEnum = exports.GetCustomModules200ResponseStatusEnum = exports.GetChannels200ResponseStatusEnum = exports.GetChannelContents200ResponseStatusEnum = exports.GetChannelContent200ResponseStatusEnum = exports.GetBookingSpaces200ResponseStatusEnum = exports.GetBookingPlaces200ResponseStatusEnum = exports.GetBookingPlaceBookings200ResponseStatusEnum = exports.GetBenefits200ResponseStatusEnum = exports.GetBenefitClicks200ResponseStatusEnum = exports.GetAuthSession200ResponseStatusEnum = exports.GetAnnouncements200ResponseStatusEnum = exports.GetAdvertisements200ResponseStatusEnum = exports.GetAccounts200ResponseStatusEnum = exports.GetAccountTiers200ResponseStatusEnum = exports.GetAccountThreads200ResponseStatusEnum = exports.GetAccountPayments200ResponseStatusEnum = exports.GetAccountLikes200ResponseStatusEnum = exports.GetAccountLevels200ResponseStatusEnum = exports.GetAccountLeads200ResponseStatusEnum = exports.GetAccountLead200ResponseStatusEnum = exports.GetAccountInvitations200ResponseStatusEnum = exports.GetAccountInterests200ResponseStatusEnum = void 0;
|
|
28
|
+
exports.GetSurveySections200ResponseStatusEnum = exports.GetSurveyQuestions200ResponseStatusEnum = exports.GetSurveyQuestion200ResponseStatusEnum = exports.GetSupportTickets200ResponseStatusEnum = exports.GetStreamVideos200ResponseStatusEnum = exports.GetStreamSessions200ResponseStatusEnum = exports.GetStreamSession200ResponseStatusEnum = exports.GetStreamInputs200ResponseStatusEnum = exports.GetSeriesList200ResponseStatusEnum = exports.GetSelfOrganizations200ResponseStatusEnum = exports.GetSelfApiKeys200ResponseStatusEnum = exports.GetSelf200ResponseStatusEnum = exports.GetSearchLists200ResponseStatusEnum = exports.GetSearchListValue200ResponseStatusEnum = exports.GetRoomTypeRooms200ResponseStatusEnum = exports.GetReports200ResponseStatusEnum = exports.GetReport200ResponseStatusEnum = exports.GetPushDevice200ResponseStatusEnum = exports.GetPresets200ResponseStatusEnum = exports.GetPayment200ResponseStatusEnum = exports.GetOrganizationWebhooks200ResponseStatusEnum = exports.GetOrganization200ResponseStatusEnum = exports.GetMeetings200ResponseStatusEnum = exports.GetMeetingSession200ResponseStatusEnum = exports.GetMeetingLinks200ResponseStatusEnum = exports.GetLogins200ResponseStatusEnum = exports.GetLoginDevices200ResponseStatusEnum = exports.GetLoginAuthSessions200ResponseStatusEnum = exports.GetLogin200ResponseStatusEnum = exports.GetLivestreams200ResponseStatusEnum = exports.GetLivestream200ResponseStatusEnum = exports.GetInvoices200ResponseStatusEnum = exports.GetInvoiceLineItem200ResponseStatusEnum = exports.GetIntegrations200ResponseStatusEnum = exports.GetImports200ResponseStatusEnum = exports.GetImportItems200ResponseStatusEnum = exports.GetImport200ResponseStatusEnum = exports.GetImages200ResponseStatusEnum = exports.GetImageUsage200ResponseStatusEnum = exports.GetGroups200ResponseStatusEnum = exports.GetGroupRequests200ResponseStatusEnum = exports.GetGroupRequest200ResponseStatusEnum = exports.GetGroupInvitation200ResponseStatusEnum = exports.GetFiles200ResponseStatusEnum = exports.GetEvents200ResponseStatusEnum = exports.GetEventTiers200ResponseStatusEnum = exports.GetEventSpeakers200ResponseStatusEnum = exports.GetEventSessions200ResponseStatusEnum = exports.GetEventSessionTracks200ResponseStatusEnum = exports.GetEventSection200ResponseStatusEnum = void 0;
|
|
29
|
+
exports.OrganizationActionType = exports.NotificationType = exports.ModerationStatus = exports.MentionInputsMarksEnum = exports.MentionInputsTypeEnum = exports.MeetingUpdateInputsStatusEnum = exports.MeetingUpdateInputsPreferredRegionEnum = exports.MeetingType = exports.MeetingSessionStatusEnum = exports.MeetingSessionTypeEnum = exports.MeetingRecordingUpdateInputsActionEnum = exports.MeetingCreateInputsPreferredRegionEnum = exports.MeetingStatusEnum = exports.MeetingPreferredRegionEnum = exports.MatchQuestionType = exports.LocationQuestionOption = exports.LivestreamStatusEnum = exports.LinkInputsMarksEnum = exports.LinkInputsTypeEnum = exports.LineChartSummaryDataTypeEnum = exports.LeadStatus = exports.InvoiceStatus = exports.InterestInputsMarksEnum = exports.InterestInputsTypeEnum = exports.IntegrationType = exports.IndexEventPasses200ResponseStatusEnum = exports.ImportType = exports.ImportRooms200ResponseStatusEnum = exports.ImportItemStatus = exports.ImpersonateAccount200ResponseStatusEnum = exports.ImageType = exports.ImageModerationLevel = exports.GroupRequestStatus = exports.GroupMembershipRole = exports.GroupInvitationStatus = exports.GroupAccess = exports.GetVideoCaptions200ResponseStatusEnum = exports.GetVideo200ResponseStatusEnum = exports.GetThreadMessages200ResponseStatusEnum = exports.GetThreadMessageVideos200ResponseStatusEnum = exports.GetThreadMessageImages200ResponseStatusEnum = exports.GetThreadMessageFiles200ResponseStatusEnum = exports.GetThreadMembers200ResponseStatusEnum = exports.GetThreadCircles200ResponseStatusEnum = exports.GetTaxLogs200ResponseStatusEnum = exports.GetTaxLog200ResponseStatusEnum = exports.GetTaxIntegrations200ResponseStatusEnum = exports.GetTaxIntegration200ResponseStatusEnum = exports.GetTaxCodes200ResponseStatusEnum = exports.GetSurveys200ResponseStatusEnum = void 0;
|
|
30
|
+
exports.UserRole = exports.UpsertLinkPreview200ResponseStatusEnum = exports.UploadVideoCaptions200ResponseStatusEnum = exports.UploadFile200ResponseStatusEnum = exports.UpdateThreadMember200ResponseStatusEnum = exports.UpdateSelf200ResponseStatusEnum = exports.UpdateEventCheckinCode200ResponseStatusEnum = exports.ThreadType = exports.ThreadMessageType = exports.ThreadMemberRole = exports.ThreadInvitationStatus = exports.ThreadCircleType = exports.ThreadCircleAccountRole = exports.TaxLocationType = exports.TaxIntegrationType = exports.TaxIntegrationLogType = exports.TableChartSummaryDataTypeEnum = exports.SystemEventLogStatus = exports.SurveyQuestionType = exports.SupportedLocale = exports.SupportTicketType = exports.SupportTicketState = exports.SupportTicketMessageSource = exports.SupportTicketActivityType = exports.SupportTicketActivitySource = exports.StreamInputDetailsRecordingModeEnum = exports.StorageConfigAuthMethodEnum = exports.StorageConfigTypeEnum = exports.SideEffectTriggerType = exports.SideEffectActionType = exports.SessionAccess = exports.SegmentInputsMarksEnum = exports.SegmentInputsTypeEnum = exports.SearchOrganization200ResponseStatusEnum = exports.SearchListConnectedQuestionQuestionTypeEnum = exports.RoundSessionQuestionMatchTypeEnum = exports.RoundEventQuestionMatchTypeEnum = exports.ReportType = exports.RegistrationQuestionType = exports.RecordingAction = exports.PushService = exports.PurchaseStatus = exports.PaymentType = exports.PaymentLineItemType = exports.PaymentIntegrationType = exports.PassTypeVisibility = exports.PassTypeAccessLevel = exports.PageType = exports.OrganizationTriggerType = exports.OrganizationModuleType = void 0;
|
|
31
|
+
exports.ActivitiesScheduleApi = exports.ActivitiesScheduleApiFactory = exports.ActivitiesScheduleApiFp = exports.ActivitiesScheduleApiAxiosParamCreator = exports.ActivitiesApi = exports.ActivitiesApiFactory = exports.ActivitiesApiFp = exports.ActivitiesApiAxiosParamCreator = exports.GetAccountTiersTypeEnum = exports.AccountsTiersApi = exports.AccountsTiersApiFactory = exports.AccountsTiersApiFp = exports.AccountsTiersApiAxiosParamCreator = exports.AccountsLeadsApi = exports.AccountsLeadsApiFactory = exports.AccountsLeadsApiFp = exports.AccountsLeadsApiAxiosParamCreator = exports.AccountsInvitationsApi = exports.AccountsInvitationsApiFactory = exports.AccountsInvitationsApiFp = exports.AccountsInvitationsApiAxiosParamCreator = exports.AccountsInterestsApi = exports.AccountsInterestsApiFactory = exports.AccountsInterestsApiFp = exports.AccountsInterestsApiAxiosParamCreator = exports.AccountsGroupsApi = exports.AccountsGroupsApiFactory = exports.AccountsGroupsApiFp = exports.AccountsGroupsApiAxiosParamCreator = exports.AccountsFollowingApi = exports.AccountsFollowingApiFactory = exports.AccountsFollowingApiFp = exports.AccountsFollowingApiAxiosParamCreator = exports.AccountsFollowersApi = exports.AccountsFollowersApiFactory = exports.AccountsFollowersApiFp = exports.AccountsFollowersApiAxiosParamCreator = exports.AccountsAddressesApi = exports.AccountsAddressesApiFactory = exports.AccountsAddressesApiFp = exports.AccountsAddressesApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.WidgetType = exports.WidgetCategory = exports.VideoStatus = exports.VideoSource = exports.VideoCaptionStatusEnum = void 0;
|
|
32
|
+
exports.GetContentsTypeEnum = exports.ChannelsApi = exports.ChannelsApiFactory = exports.ChannelsApiFp = exports.ChannelsApiAxiosParamCreator = exports.BookingsSpacesApi = exports.BookingsSpacesApiFactory = exports.BookingsSpacesApiFp = exports.BookingsSpacesApiAxiosParamCreator = exports.BookingsPlacesApi = exports.BookingsPlacesApiFactory = exports.BookingsPlacesApiFp = exports.BookingsPlacesApiAxiosParamCreator = exports.BookingsBlackoutsApi = exports.BookingsBlackoutsApiFactory = exports.BookingsBlackoutsApiFp = exports.BookingsBlackoutsApiAxiosParamCreator = exports.BookingsAvailabilitiesApi = exports.BookingsAvailabilitiesApiFactory = exports.BookingsAvailabilitiesApiFp = exports.BookingsAvailabilitiesApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.BenefitsApi = exports.BenefitsApiFactory = exports.BenefitsApiFp = exports.BenefitsApiAxiosParamCreator = exports.AuthSessionsApi = exports.AuthSessionsApiFactory = exports.AuthSessionsApiFp = exports.AuthSessionsApiAxiosParamCreator = exports.GetAPILogsStatusEnum = exports.ApiLogsApi = exports.ApiLogsApiFactory = exports.ApiLogsApiFp = exports.ApiLogsApiAxiosParamCreator = exports.AnnouncementsScheduleApi = exports.AnnouncementsScheduleApiFactory = exports.AnnouncementsScheduleApiFp = exports.AnnouncementsScheduleApiAxiosParamCreator = exports.AnnouncementsApi = exports.AnnouncementsApiFactory = exports.AnnouncementsApiFp = exports.AnnouncementsApiAxiosParamCreator = exports.AdvertisementsApi = exports.AdvertisementsApiFactory = exports.AdvertisementsApiFp = exports.AdvertisementsApiAxiosParamCreator = void 0;
|
|
33
|
+
exports.EventsBypassApiFp = exports.EventsBypassApiAxiosParamCreator = exports.EventsBlocksApi = exports.EventsBlocksApiFactory = exports.EventsBlocksApiFp = exports.EventsBlocksApiAxiosParamCreator = exports.EventsBenefitsApi = exports.EventsBenefitsApiFactory = exports.EventsBenefitsApiFp = exports.EventsBenefitsApiAxiosParamCreator = exports.EventsAttendeesReservationsApi = exports.EventsAttendeesReservationsApiFactory = exports.EventsAttendeesReservationsApiFp = exports.EventsAttendeesReservationsApiAxiosParamCreator = exports.EventsAttendeesPackagesApi = exports.EventsAttendeesPackagesApiFactory = exports.EventsAttendeesPackagesApiFp = exports.EventsAttendeesPackagesApiAxiosParamCreator = exports.EventsAttendeesApi = exports.EventsAttendeesApiFactory = exports.EventsAttendeesApiFp = exports.EventsAttendeesApiAxiosParamCreator = exports.EventsAddonsApi = exports.EventsAddonsApiFactory = exports.EventsAddonsApiFp = exports.EventsAddonsApiAxiosParamCreator = exports.EventsActivationsApi = exports.EventsActivationsApiFactory = exports.EventsActivationsApiFp = exports.EventsActivationsApiAxiosParamCreator = exports.EventsAccessApi = exports.EventsAccessApiFactory = exports.EventsAccessApiFp = exports.EventsAccessApiAxiosParamCreator = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.EmailReceiptsApi = exports.EmailReceiptsApiFactory = exports.EmailReceiptsApiFp = exports.EmailReceiptsApiAxiosParamCreator = exports.DashboardsWidgetsApi = exports.DashboardsWidgetsApiFactory = exports.DashboardsWidgetsApiFp = exports.DashboardsWidgetsApiAxiosParamCreator = exports.DashboardsApi = exports.DashboardsApiFactory = exports.DashboardsApiFp = exports.DashboardsApiAxiosParamCreator = void 0;
|
|
34
|
+
exports.EventsPassesApiFactory = exports.EventsPassesApiFp = exports.EventsPassesApiAxiosParamCreator = exports.EventsPagesApi = exports.EventsPagesApiFactory = exports.EventsPagesApiFp = exports.EventsPagesApiAxiosParamCreator = exports.EventsPackagesPassesApi = exports.EventsPackagesPassesApiFactory = exports.EventsPackagesPassesApiFp = exports.EventsPackagesPassesApiAxiosParamCreator = exports.EventsPackagesApi = exports.EventsPackagesApiFactory = exports.EventsPackagesApiFp = exports.EventsPackagesApiAxiosParamCreator = exports.EventsOnSiteApi = exports.EventsOnSiteApiFactory = exports.EventsOnSiteApiFp = exports.EventsOnSiteApiAxiosParamCreator = exports.GetEventMediaItemsTypeEnum = exports.EventsMediaApi = exports.EventsMediaApiFactory = exports.EventsMediaApiFp = exports.EventsMediaApiAxiosParamCreator = exports.EventsMatchesApi = exports.EventsMatchesApiFactory = exports.EventsMatchesApiFp = exports.EventsMatchesApiAxiosParamCreator = exports.EventsFollowupsApi = exports.EventsFollowupsApiFactory = exports.EventsFollowupsApiFp = exports.EventsFollowupsApiAxiosParamCreator = exports.EventsFaqsApi = exports.EventsFaqsApiFactory = exports.EventsFaqsApiFp = exports.EventsFaqsApiAxiosParamCreator = exports.EventsEmailsApi = exports.EventsEmailsApiFactory = exports.EventsEmailsApiFp = exports.EventsEmailsApiAxiosParamCreator = exports.EventsCouponsApi = exports.EventsCouponsApiFactory = exports.EventsCouponsApiFp = exports.EventsCouponsApiAxiosParamCreator = exports.EventsCohostsApi = exports.EventsCohostsApiFactory = exports.EventsCohostsApiFp = exports.EventsCohostsApiAxiosParamCreator = exports.EventsBypassApi = exports.EventsBypassApiFactory = void 0;
|
|
35
|
+
exports.EventsSessionsSectionsApiAxiosParamCreator = exports.EventsSessionsQuestionsApi = exports.EventsSessionsQuestionsApiFactory = exports.EventsSessionsQuestionsApiFp = exports.EventsSessionsQuestionsApiAxiosParamCreator = exports.EventsSessionsMatchesApi = exports.EventsSessionsMatchesApiFactory = exports.EventsSessionsMatchesApiFp = exports.EventsSessionsMatchesApiAxiosParamCreator = exports.EventsSessionsLocationsApi = exports.EventsSessionsLocationsApiFactory = exports.EventsSessionsLocationsApiFp = exports.EventsSessionsLocationsApiAxiosParamCreator = exports.EventsSessionsAccessesApi = exports.EventsSessionsAccessesApiFactory = exports.EventsSessionsAccessesApiFp = exports.EventsSessionsAccessesApiAxiosParamCreator = exports.EventsSessionsApi = exports.EventsSessionsApiFactory = exports.EventsSessionsApiFp = exports.EventsSessionsApiAxiosParamCreator = exports.EventsSectionsApi = exports.EventsSectionsApiFactory = exports.EventsSectionsApiFp = exports.EventsSectionsApiAxiosParamCreator = exports.EventsRoomtypesApi = exports.EventsRoomtypesApiFactory = exports.EventsRoomtypesApiFp = exports.EventsRoomtypesApiAxiosParamCreator = exports.EventsRoomsApi = exports.EventsRoomsApiFactory = exports.EventsRoomsApiFp = exports.EventsRoomsApiAxiosParamCreator = exports.EventsQuestionsApi = exports.EventsQuestionsApiFactory = exports.EventsQuestionsApiFp = exports.EventsQuestionsApiAxiosParamCreator = exports.EventsPasstypesRefundschedulesApi = exports.EventsPasstypesRefundschedulesApiFactory = exports.EventsPasstypesRefundschedulesApiFp = exports.EventsPasstypesRefundschedulesApiAxiosParamCreator = exports.EventsPasstypesPriceschedulesApi = exports.EventsPasstypesPriceschedulesApiFactory = exports.EventsPasstypesPriceschedulesApiFp = exports.EventsPasstypesPriceschedulesApiAxiosParamCreator = exports.EventsPasstypesApi = exports.EventsPasstypesApiFactory = exports.EventsPasstypesApiFp = exports.EventsPasstypesApiAxiosParamCreator = exports.EventsPassesApi = void 0;
|
|
36
|
+
exports.GroupsMembersApiFp = exports.GroupsMembersApiAxiosParamCreator = exports.GroupsInvitationsApi = exports.GroupsInvitationsApiFactory = exports.GroupsInvitationsApiFp = exports.GroupsInvitationsApiAxiosParamCreator = exports.GroupsInterestsApi = exports.GroupsInterestsApiFactory = exports.GroupsInterestsApiFp = exports.GroupsInterestsApiAxiosParamCreator = exports.GroupsEventsApi = exports.GroupsEventsApiFactory = exports.GroupsEventsApiFp = exports.GroupsEventsApiAxiosParamCreator = exports.GetGroupsAccessEnum = exports.GroupsApi = exports.GroupsApiFactory = exports.GroupsApiFp = exports.GroupsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.EventsTracksApi = exports.EventsTracksApiFactory = exports.EventsTracksApiFp = exports.EventsTracksApiAxiosParamCreator = exports.EventsTemplatesApi = exports.EventsTemplatesApiFactory = exports.EventsTemplatesApiFp = exports.EventsTemplatesApiAxiosParamCreator = exports.EventsSponsorshipsApi = exports.EventsSponsorshipsApiFactory = exports.EventsSponsorshipsApiFp = exports.EventsSponsorshipsApiAxiosParamCreator = exports.EventsSponsorshiplevelsApi = exports.EventsSponsorshiplevelsApiFactory = exports.EventsSponsorshiplevelsApiFp = exports.EventsSponsorshiplevelsApiAxiosParamCreator = exports.EventsSponsorsApi = exports.EventsSponsorsApiFactory = exports.EventsSponsorsApiFp = exports.EventsSponsorsApiAxiosParamCreator = exports.EventsSpeakersApi = exports.EventsSpeakersApiFactory = exports.EventsSpeakersApiFp = exports.EventsSpeakersApiAxiosParamCreator = exports.EventsSessionsSectionsApi = exports.EventsSessionsSectionsApiFactory = exports.EventsSessionsSectionsApiFp = void 0;
|
|
37
|
+
exports.MeetingsLivestreamsApi = exports.MeetingsLivestreamsApiFactory = exports.MeetingsLivestreamsApiFp = exports.MeetingsLivestreamsApiAxiosParamCreator = exports.MeetingsLinksApi = exports.MeetingsLinksApiFactory = exports.MeetingsLinksApiFp = exports.MeetingsLinksApiAxiosParamCreator = exports.MeetingsApi = exports.MeetingsApiFactory = exports.MeetingsApiFp = exports.MeetingsApiAxiosParamCreator = exports.LoginsAccountsApi = exports.LoginsAccountsApiFactory = exports.LoginsAccountsApiFp = exports.LoginsAccountsApiAxiosParamCreator = exports.LoginsApi = exports.LoginsApiFactory = exports.LoginsApiFp = exports.LoginsApiAxiosParamCreator = exports.InvoicesLineitemsApi = exports.InvoicesLineitemsApiFactory = exports.InvoicesLineitemsApiFp = exports.InvoicesLineitemsApiAxiosParamCreator = exports.InvoicesApi = exports.InvoicesApiFactory = exports.InvoicesApiFp = exports.InvoicesApiAxiosParamCreator = exports.InterestsApi = exports.InterestsApiFactory = exports.InterestsApiFp = exports.InterestsApiAxiosParamCreator = exports.ImportsApi = exports.ImportsApiFactory = exports.ImportsApiFp = exports.ImportsApiAxiosParamCreator = exports.GroupsSponsorsApi = exports.GroupsSponsorsApiFactory = exports.GroupsSponsorsApiFp = exports.GroupsSponsorsApiAxiosParamCreator = exports.GroupsRequestsApi = exports.GroupsRequestsApiFactory = exports.GroupsRequestsApiFp = exports.GroupsRequestsApiAxiosParamCreator = exports.GroupsModeratorsApi = exports.GroupsModeratorsApiFactory = exports.GroupsModeratorsApiFp = exports.GroupsModeratorsApiAxiosParamCreator = exports.GroupsMembersApi = exports.GroupsMembersApiFactory = void 0;
|
|
38
|
+
exports.OrganizationModulesTiersApiFp = exports.OrganizationModulesTiersApiAxiosParamCreator = exports.OrganizationModulesSettingsApi = exports.OrganizationModulesSettingsApiFactory = exports.OrganizationModulesSettingsApiFp = exports.OrganizationModulesSettingsApiAxiosParamCreator = exports.OrganizationModulesCustomApi = exports.OrganizationModulesCustomApiFactory = exports.OrganizationModulesCustomApiFp = exports.OrganizationModulesCustomApiAxiosParamCreator = exports.OrganizationModulesApi = exports.OrganizationModulesApiFactory = exports.OrganizationModulesApiFp = exports.OrganizationModulesApiAxiosParamCreator = exports.OrganizationIntegrationsApi = exports.OrganizationIntegrationsApiFactory = exports.OrganizationIntegrationsApiFp = exports.OrganizationIntegrationsApiAxiosParamCreator = exports.OrganizationDomainsApi = exports.OrganizationDomainsApiFactory = exports.OrganizationDomainsApiFp = exports.OrganizationDomainsApiAxiosParamCreator = exports.OrganizationAttributesApi = exports.OrganizationAttributesApiFactory = exports.OrganizationAttributesApiFp = exports.OrganizationAttributesApiAxiosParamCreator = exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MeetingsSessionsApi = exports.MeetingsSessionsApiFactory = exports.MeetingsSessionsApiFp = exports.MeetingsSessionsApiAxiosParamCreator = exports.MeetingsRecordingsApi = exports.MeetingsRecordingsApiFactory = exports.MeetingsRecordingsApiFp = exports.MeetingsRecordingsApiAxiosParamCreator = exports.MeetingsPresetsApi = exports.MeetingsPresetsApiFactory = exports.MeetingsPresetsApiFp = exports.MeetingsPresetsApiAxiosParamCreator = exports.MeetingsParticipantsApi = exports.MeetingsParticipantsApiFactory = exports.MeetingsParticipantsApiFp = exports.MeetingsParticipantsApiAxiosParamCreator = void 0;
|
|
39
|
+
exports.SearchlistsApi = exports.SearchlistsApiFactory = exports.SearchlistsApiFp = exports.SearchlistsApiAxiosParamCreator = exports.ReportsUsersApi = exports.ReportsUsersApiFactory = exports.ReportsUsersApiFp = exports.ReportsUsersApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.PushDevicesApi = exports.PushDevicesApiFactory = exports.PushDevicesApiFp = exports.PushDevicesApiAxiosParamCreator = exports.PreferencesApi = exports.PreferencesApiFactory = exports.PreferencesApiFp = exports.PreferencesApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.OrganizationWebhooksApi = exports.OrganizationWebhooksApiFactory = exports.OrganizationWebhooksApiFp = exports.OrganizationWebhooksApiAxiosParamCreator = exports.OrganizationUsersApi = exports.OrganizationUsersApiFactory = exports.OrganizationUsersApiFp = exports.OrganizationUsersApiAxiosParamCreator = exports.OrganizationTeammembersApi = exports.OrganizationTeammembersApiFactory = exports.OrganizationTeammembersApiFp = exports.OrganizationTeammembersApiAxiosParamCreator = exports.OrganizationTaxApi = exports.OrganizationTaxApiFactory = exports.OrganizationTaxApiFp = exports.OrganizationTaxApiAxiosParamCreator = exports.OrganizationSideeffectsApi = exports.OrganizationSideeffectsApiFactory = exports.OrganizationSideeffectsApiFp = exports.OrganizationSideeffectsApiAxiosParamCreator = exports.OrganizationPaymentsApi = exports.OrganizationPaymentsApiFactory = exports.OrganizationPaymentsApiFp = exports.OrganizationPaymentsApiAxiosParamCreator = exports.OrganizationModulesTiersApi = exports.OrganizationModulesTiersApiFactory = void 0;
|
|
40
|
+
exports.StreamsApiAxiosParamCreator = exports.StorageVideosCaptionsApi = exports.StorageVideosCaptionsApiFactory = exports.StorageVideosCaptionsApiFp = exports.StorageVideosCaptionsApiAxiosParamCreator = exports.StorageVideosApi = exports.StorageVideosApiFactory = exports.StorageVideosApiFp = exports.StorageVideosApiAxiosParamCreator = exports.StorageImagesApi = exports.StorageImagesApiFactory = exports.StorageImagesApiFp = exports.StorageImagesApiAxiosParamCreator = exports.UploadFileSourceEnum = exports.StorageFilesApi = exports.StorageFilesApiFactory = exports.StorageFilesApiFp = exports.StorageFilesApiAxiosParamCreator = exports.SponsorsAccountsApi = exports.SponsorsAccountsApiFactory = exports.SponsorsAccountsApiFp = exports.SponsorsAccountsApiAxiosParamCreator = exports.SponsorsApi = exports.SponsorsApiFactory = exports.SponsorsApiFp = exports.SponsorsApiAxiosParamCreator = exports.SeriesRegistrationsApi = exports.SeriesRegistrationsApiFactory = exports.SeriesRegistrationsApiFp = exports.SeriesRegistrationsApiAxiosParamCreator = exports.SeriesApi = exports.SeriesApiFactory = exports.SeriesApiFp = exports.SeriesApiAxiosParamCreator = exports.SelfImagesApi = exports.SelfImagesApiFactory = exports.SelfImagesApiFp = exports.SelfImagesApiAxiosParamCreator = exports.SelfApikeysApi = exports.SelfApikeysApiFactory = exports.SelfApikeysApiFp = exports.SelfApikeysApiAxiosParamCreator = exports.SelfApi = exports.SelfApiFactory = exports.SelfApiFp = exports.SelfApiAxiosParamCreator = exports.SearchlistsValuesApi = exports.SearchlistsValuesApiFactory = exports.SearchlistsValuesApiFp = exports.SearchlistsValuesApiAxiosParamCreator = void 0;
|
|
41
|
+
exports.ThreadsCirclesAccountsApiFp = exports.ThreadsCirclesAccountsApiAxiosParamCreator = exports.ThreadsCirclesApi = exports.ThreadsCirclesApiFactory = exports.ThreadsCirclesApiFp = exports.ThreadsCirclesApiAxiosParamCreator = exports.ThreadsApi = exports.ThreadsApiFactory = exports.ThreadsApiFp = exports.ThreadsApiAxiosParamCreator = exports.SurveysSubmissionsApi = exports.SurveysSubmissionsApiFactory = exports.SurveysSubmissionsApiFp = exports.SurveysSubmissionsApiAxiosParamCreator = exports.SurveysSectionsApi = exports.SurveysSectionsApiFactory = exports.SurveysSectionsApiFp = exports.SurveysSectionsApiAxiosParamCreator = exports.SurveysQuestionsApi = exports.SurveysQuestionsApiFactory = exports.SurveysQuestionsApiFp = exports.SurveysQuestionsApiAxiosParamCreator = exports.SurveysApi = exports.SurveysApiFactory = exports.SurveysApiFp = exports.SurveysApiAxiosParamCreator = exports.SupportNotesApi = exports.SupportNotesApiFactory = exports.SupportNotesApiFp = exports.SupportNotesApiAxiosParamCreator = exports.SupportMessagesApi = exports.SupportMessagesApiFactory = exports.SupportMessagesApiFp = exports.SupportMessagesApiAxiosParamCreator = exports.GetSupportTicketsAssignmentEnum = exports.SupportApi = exports.SupportApiFactory = exports.SupportApiFp = exports.SupportApiAxiosParamCreator = exports.StreamsSessionsApi = exports.StreamsSessionsApiFactory = exports.StreamsSessionsApiFp = exports.StreamsSessionsApiAxiosParamCreator = exports.StreamsOutputsApi = exports.StreamsOutputsApiFactory = exports.StreamsOutputsApiFp = exports.StreamsOutputsApiAxiosParamCreator = exports.StreamsApi = exports.StreamsApiFactory = exports.StreamsApiFp = void 0;
|
|
42
|
+
exports.GetTiersTypeEnum = exports.TiersApi = exports.TiersApiFactory = exports.TiersApiFp = exports.TiersApiAxiosParamCreator = exports.ThreadsMessagesVideosApi = exports.ThreadsMessagesVideosApiFactory = exports.ThreadsMessagesVideosApiFp = exports.ThreadsMessagesVideosApiAxiosParamCreator = exports.ThreadsMessagesReactionsApi = exports.ThreadsMessagesReactionsApiFactory = exports.ThreadsMessagesReactionsApiFp = exports.ThreadsMessagesReactionsApiAxiosParamCreator = exports.ThreadsMessagesImagesApi = exports.ThreadsMessagesImagesApiFactory = exports.ThreadsMessagesImagesApiFp = exports.ThreadsMessagesImagesApiAxiosParamCreator = exports.ThreadsMessagesFilesApi = exports.ThreadsMessagesFilesApiFactory = exports.ThreadsMessagesFilesApiFp = exports.ThreadsMessagesFilesApiAxiosParamCreator = exports.ThreadsMessagesApi = exports.ThreadsMessagesApiFactory = exports.ThreadsMessagesApiFp = exports.ThreadsMessagesApiAxiosParamCreator = exports.ThreadsMembersApi = exports.ThreadsMembersApiFactory = exports.ThreadsMembersApiFp = exports.ThreadsMembersApiAxiosParamCreator = exports.ThreadsCirclesAccountsApi = exports.ThreadsCirclesAccountsApiFactory = void 0;
|
|
43
43
|
const axios_1 = require("axios");
|
|
44
44
|
// Some imports not used depending on template conditions
|
|
45
45
|
// @ts-ignore
|
|
@@ -255,6 +255,10 @@ var CreateEventAttendee200ResponseStatusEnum;
|
|
|
255
255
|
(function (CreateEventAttendee200ResponseStatusEnum) {
|
|
256
256
|
CreateEventAttendee200ResponseStatusEnum["Ok"] = "ok";
|
|
257
257
|
})(CreateEventAttendee200ResponseStatusEnum || (exports.CreateEventAttendee200ResponseStatusEnum = CreateEventAttendee200ResponseStatusEnum = {}));
|
|
258
|
+
var CreateEventBlock200ResponseStatusEnum;
|
|
259
|
+
(function (CreateEventBlock200ResponseStatusEnum) {
|
|
260
|
+
CreateEventBlock200ResponseStatusEnum["Ok"] = "ok";
|
|
261
|
+
})(CreateEventBlock200ResponseStatusEnum || (exports.CreateEventBlock200ResponseStatusEnum = CreateEventBlock200ResponseStatusEnum = {}));
|
|
258
262
|
var CreateEventCoupon200ResponseStatusEnum;
|
|
259
263
|
(function (CreateEventCoupon200ResponseStatusEnum) {
|
|
260
264
|
CreateEventCoupon200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -664,6 +668,10 @@ var GetEventAttendees200ResponseStatusEnum;
|
|
|
664
668
|
(function (GetEventAttendees200ResponseStatusEnum) {
|
|
665
669
|
GetEventAttendees200ResponseStatusEnum["Ok"] = "ok";
|
|
666
670
|
})(GetEventAttendees200ResponseStatusEnum || (exports.GetEventAttendees200ResponseStatusEnum = GetEventAttendees200ResponseStatusEnum = {}));
|
|
671
|
+
var GetEventBlocks200ResponseStatusEnum;
|
|
672
|
+
(function (GetEventBlocks200ResponseStatusEnum) {
|
|
673
|
+
GetEventBlocks200ResponseStatusEnum["Ok"] = "ok";
|
|
674
|
+
})(GetEventBlocks200ResponseStatusEnum || (exports.GetEventBlocks200ResponseStatusEnum = GetEventBlocks200ResponseStatusEnum = {}));
|
|
667
675
|
var GetEventEmail200ResponseStatusEnum;
|
|
668
676
|
(function (GetEventEmail200ResponseStatusEnum) {
|
|
669
677
|
GetEventEmail200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -20204,6 +20212,690 @@ class EventsBenefitsApi extends base_1.BaseAPI {
|
|
|
20204
20212
|
}
|
|
20205
20213
|
}
|
|
20206
20214
|
exports.EventsBenefitsApi = EventsBenefitsApi;
|
|
20215
|
+
/**
|
|
20216
|
+
* EventsBlocksApi - axios parameter creator
|
|
20217
|
+
*/
|
|
20218
|
+
const EventsBlocksApiAxiosParamCreator = function (configuration) {
|
|
20219
|
+
return {
|
|
20220
|
+
/**
|
|
20221
|
+
* Add Event Block Session endpoint
|
|
20222
|
+
* @summary Add Event Block Session
|
|
20223
|
+
* @param {string} eventId The event identifier
|
|
20224
|
+
* @param {string} blockId The block identifier
|
|
20225
|
+
* @param {string} sessionId The session identifier
|
|
20226
|
+
* @param {*} [options] Override http request option.
|
|
20227
|
+
* @throws {RequiredError}
|
|
20228
|
+
*/
|
|
20229
|
+
addEventBlockSession: (eventId_1, blockId_1, sessionId_1, ...args_1) => __awaiter(this, [eventId_1, blockId_1, sessionId_1, ...args_1], void 0, function* (eventId, blockId, sessionId, options = {}) {
|
|
20230
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
20231
|
+
(0, common_1.assertParamExists)('addEventBlockSession', 'eventId', eventId);
|
|
20232
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
20233
|
+
(0, common_1.assertParamExists)('addEventBlockSession', 'blockId', blockId);
|
|
20234
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
20235
|
+
(0, common_1.assertParamExists)('addEventBlockSession', 'sessionId', sessionId);
|
|
20236
|
+
const localVarPath = `/events/{eventId}/blocks/{blockId}/sessions/{sessionId}`
|
|
20237
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
20238
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)))
|
|
20239
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
20240
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20241
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20242
|
+
let baseOptions;
|
|
20243
|
+
if (configuration) {
|
|
20244
|
+
baseOptions = configuration.baseOptions;
|
|
20245
|
+
}
|
|
20246
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
20247
|
+
const localVarHeaderParameter = {};
|
|
20248
|
+
const localVarQueryParameter = {};
|
|
20249
|
+
// authentication ApiKeyAuth required
|
|
20250
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
20251
|
+
// authentication OrganizationId required
|
|
20252
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
20253
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20254
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20255
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20256
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20257
|
+
return {
|
|
20258
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20259
|
+
options: localVarRequestOptions,
|
|
20260
|
+
};
|
|
20261
|
+
}),
|
|
20262
|
+
/**
|
|
20263
|
+
* Create Event Block endpoint
|
|
20264
|
+
* @summary Create Event Block
|
|
20265
|
+
* @param {string} eventId The event identifier
|
|
20266
|
+
* @param {EventBlockCreateInputs} eventBlockCreateInputs
|
|
20267
|
+
* @param {*} [options] Override http request option.
|
|
20268
|
+
* @throws {RequiredError}
|
|
20269
|
+
*/
|
|
20270
|
+
createEventBlock: (eventId_1, eventBlockCreateInputs_1, ...args_1) => __awaiter(this, [eventId_1, eventBlockCreateInputs_1, ...args_1], void 0, function* (eventId, eventBlockCreateInputs, options = {}) {
|
|
20271
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
20272
|
+
(0, common_1.assertParamExists)('createEventBlock', 'eventId', eventId);
|
|
20273
|
+
// verify required parameter 'eventBlockCreateInputs' is not null or undefined
|
|
20274
|
+
(0, common_1.assertParamExists)('createEventBlock', 'eventBlockCreateInputs', eventBlockCreateInputs);
|
|
20275
|
+
const localVarPath = `/events/{eventId}/blocks`
|
|
20276
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
20277
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20278
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20279
|
+
let baseOptions;
|
|
20280
|
+
if (configuration) {
|
|
20281
|
+
baseOptions = configuration.baseOptions;
|
|
20282
|
+
}
|
|
20283
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
20284
|
+
const localVarHeaderParameter = {};
|
|
20285
|
+
const localVarQueryParameter = {};
|
|
20286
|
+
// authentication ApiKeyAuth required
|
|
20287
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
20288
|
+
// authentication OrganizationId required
|
|
20289
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
20290
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20291
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20292
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20293
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20294
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20295
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventBlockCreateInputs, localVarRequestOptions, configuration);
|
|
20296
|
+
return {
|
|
20297
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20298
|
+
options: localVarRequestOptions,
|
|
20299
|
+
};
|
|
20300
|
+
}),
|
|
20301
|
+
/**
|
|
20302
|
+
* Delete Event Block endpoint
|
|
20303
|
+
* @summary Delete Event Block
|
|
20304
|
+
* @param {string} eventId The event identifier
|
|
20305
|
+
* @param {string} blockId The block identifier
|
|
20306
|
+
* @param {*} [options] Override http request option.
|
|
20307
|
+
* @throws {RequiredError}
|
|
20308
|
+
*/
|
|
20309
|
+
deleteEventBlock: (eventId_1, blockId_1, ...args_1) => __awaiter(this, [eventId_1, blockId_1, ...args_1], void 0, function* (eventId, blockId, options = {}) {
|
|
20310
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
20311
|
+
(0, common_1.assertParamExists)('deleteEventBlock', 'eventId', eventId);
|
|
20312
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
20313
|
+
(0, common_1.assertParamExists)('deleteEventBlock', 'blockId', blockId);
|
|
20314
|
+
const localVarPath = `/events/{eventId}/blocks/{blockId}`
|
|
20315
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
20316
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
20317
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20318
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20319
|
+
let baseOptions;
|
|
20320
|
+
if (configuration) {
|
|
20321
|
+
baseOptions = configuration.baseOptions;
|
|
20322
|
+
}
|
|
20323
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
20324
|
+
const localVarHeaderParameter = {};
|
|
20325
|
+
const localVarQueryParameter = {};
|
|
20326
|
+
// authentication ApiKeyAuth required
|
|
20327
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
20328
|
+
// authentication OrganizationId required
|
|
20329
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
20330
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20331
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20332
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20333
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20334
|
+
return {
|
|
20335
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20336
|
+
options: localVarRequestOptions,
|
|
20337
|
+
};
|
|
20338
|
+
}),
|
|
20339
|
+
/**
|
|
20340
|
+
* Get Event Block endpoint
|
|
20341
|
+
* @summary Get Event Block
|
|
20342
|
+
* @param {string} eventId The event identifier
|
|
20343
|
+
* @param {string} blockId The block identifier
|
|
20344
|
+
* @param {*} [options] Override http request option.
|
|
20345
|
+
* @throws {RequiredError}
|
|
20346
|
+
*/
|
|
20347
|
+
getEventBlock: (eventId_1, blockId_1, ...args_1) => __awaiter(this, [eventId_1, blockId_1, ...args_1], void 0, function* (eventId, blockId, options = {}) {
|
|
20348
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
20349
|
+
(0, common_1.assertParamExists)('getEventBlock', 'eventId', eventId);
|
|
20350
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
20351
|
+
(0, common_1.assertParamExists)('getEventBlock', 'blockId', blockId);
|
|
20352
|
+
const localVarPath = `/events/{eventId}/blocks/{blockId}`
|
|
20353
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
20354
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
20355
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20356
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20357
|
+
let baseOptions;
|
|
20358
|
+
if (configuration) {
|
|
20359
|
+
baseOptions = configuration.baseOptions;
|
|
20360
|
+
}
|
|
20361
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
20362
|
+
const localVarHeaderParameter = {};
|
|
20363
|
+
const localVarQueryParameter = {};
|
|
20364
|
+
// authentication ApiKeyAuth required
|
|
20365
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
20366
|
+
// authentication OrganizationId required
|
|
20367
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
20368
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20369
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20370
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20371
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20372
|
+
return {
|
|
20373
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20374
|
+
options: localVarRequestOptions,
|
|
20375
|
+
};
|
|
20376
|
+
}),
|
|
20377
|
+
/**
|
|
20378
|
+
* Get Event Block Sessions endpoint
|
|
20379
|
+
* @summary Get Event Block Sessions
|
|
20380
|
+
* @param {string} eventId The event identifier
|
|
20381
|
+
* @param {string} blockId The block identifier
|
|
20382
|
+
* @param {number} [page] Page number
|
|
20383
|
+
* @param {number} [pageSize] Number of items per page
|
|
20384
|
+
* @param {string} [orderBy] Field to order by
|
|
20385
|
+
* @param {string} [search] Search query
|
|
20386
|
+
* @param {*} [options] Override http request option.
|
|
20387
|
+
* @throws {RequiredError}
|
|
20388
|
+
*/
|
|
20389
|
+
getEventBlockSessions: (eventId_1, blockId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, blockId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, blockId, page, pageSize, orderBy, search, options = {}) {
|
|
20390
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
20391
|
+
(0, common_1.assertParamExists)('getEventBlockSessions', 'eventId', eventId);
|
|
20392
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
20393
|
+
(0, common_1.assertParamExists)('getEventBlockSessions', 'blockId', blockId);
|
|
20394
|
+
const localVarPath = `/events/{eventId}/blocks/{blockId}/sessions`
|
|
20395
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
20396
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
20397
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20398
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20399
|
+
let baseOptions;
|
|
20400
|
+
if (configuration) {
|
|
20401
|
+
baseOptions = configuration.baseOptions;
|
|
20402
|
+
}
|
|
20403
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
20404
|
+
const localVarHeaderParameter = {};
|
|
20405
|
+
const localVarQueryParameter = {};
|
|
20406
|
+
// authentication ApiKeyAuth required
|
|
20407
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
20408
|
+
// authentication OrganizationId required
|
|
20409
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
20410
|
+
if (page !== undefined) {
|
|
20411
|
+
localVarQueryParameter['page'] = page;
|
|
20412
|
+
}
|
|
20413
|
+
if (pageSize !== undefined) {
|
|
20414
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
20415
|
+
}
|
|
20416
|
+
if (orderBy !== undefined) {
|
|
20417
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
20418
|
+
}
|
|
20419
|
+
if (search !== undefined) {
|
|
20420
|
+
localVarQueryParameter['search'] = search;
|
|
20421
|
+
}
|
|
20422
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20423
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20424
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20425
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20426
|
+
return {
|
|
20427
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20428
|
+
options: localVarRequestOptions,
|
|
20429
|
+
};
|
|
20430
|
+
}),
|
|
20431
|
+
/**
|
|
20432
|
+
* Get Event Blocks endpoint
|
|
20433
|
+
* @summary Get Event Blocks
|
|
20434
|
+
* @param {string} eventId The event identifier
|
|
20435
|
+
* @param {number} [page] Page number
|
|
20436
|
+
* @param {number} [pageSize] Number of items per page
|
|
20437
|
+
* @param {string} [orderBy] Field to order by
|
|
20438
|
+
* @param {string} [search] Search query
|
|
20439
|
+
* @param {*} [options] Override http request option.
|
|
20440
|
+
* @throws {RequiredError}
|
|
20441
|
+
*/
|
|
20442
|
+
getEventBlocks: (eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, page, pageSize, orderBy, search, options = {}) {
|
|
20443
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
20444
|
+
(0, common_1.assertParamExists)('getEventBlocks', 'eventId', eventId);
|
|
20445
|
+
const localVarPath = `/events/{eventId}/blocks`
|
|
20446
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
20447
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20448
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20449
|
+
let baseOptions;
|
|
20450
|
+
if (configuration) {
|
|
20451
|
+
baseOptions = configuration.baseOptions;
|
|
20452
|
+
}
|
|
20453
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
20454
|
+
const localVarHeaderParameter = {};
|
|
20455
|
+
const localVarQueryParameter = {};
|
|
20456
|
+
// authentication ApiKeyAuth required
|
|
20457
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
20458
|
+
// authentication OrganizationId required
|
|
20459
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
20460
|
+
if (page !== undefined) {
|
|
20461
|
+
localVarQueryParameter['page'] = page;
|
|
20462
|
+
}
|
|
20463
|
+
if (pageSize !== undefined) {
|
|
20464
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
20465
|
+
}
|
|
20466
|
+
if (orderBy !== undefined) {
|
|
20467
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
20468
|
+
}
|
|
20469
|
+
if (search !== undefined) {
|
|
20470
|
+
localVarQueryParameter['search'] = search;
|
|
20471
|
+
}
|
|
20472
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20473
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20474
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20475
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20476
|
+
return {
|
|
20477
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20478
|
+
options: localVarRequestOptions,
|
|
20479
|
+
};
|
|
20480
|
+
}),
|
|
20481
|
+
/**
|
|
20482
|
+
* Remove Event Block Session endpoint
|
|
20483
|
+
* @summary Remove Event Block Session
|
|
20484
|
+
* @param {string} eventId The event identifier
|
|
20485
|
+
* @param {string} blockId The block identifier
|
|
20486
|
+
* @param {string} sessionId The session identifier
|
|
20487
|
+
* @param {*} [options] Override http request option.
|
|
20488
|
+
* @throws {RequiredError}
|
|
20489
|
+
*/
|
|
20490
|
+
removeEventBlockSession: (eventId_1, blockId_1, sessionId_1, ...args_1) => __awaiter(this, [eventId_1, blockId_1, sessionId_1, ...args_1], void 0, function* (eventId, blockId, sessionId, options = {}) {
|
|
20491
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
20492
|
+
(0, common_1.assertParamExists)('removeEventBlockSession', 'eventId', eventId);
|
|
20493
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
20494
|
+
(0, common_1.assertParamExists)('removeEventBlockSession', 'blockId', blockId);
|
|
20495
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
20496
|
+
(0, common_1.assertParamExists)('removeEventBlockSession', 'sessionId', sessionId);
|
|
20497
|
+
const localVarPath = `/events/{eventId}/blocks/{blockId}/sessions/{sessionId}`
|
|
20498
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
20499
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)))
|
|
20500
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
20501
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20502
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20503
|
+
let baseOptions;
|
|
20504
|
+
if (configuration) {
|
|
20505
|
+
baseOptions = configuration.baseOptions;
|
|
20506
|
+
}
|
|
20507
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
20508
|
+
const localVarHeaderParameter = {};
|
|
20509
|
+
const localVarQueryParameter = {};
|
|
20510
|
+
// authentication ApiKeyAuth required
|
|
20511
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
20512
|
+
// authentication OrganizationId required
|
|
20513
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
20514
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20515
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20516
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20517
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20518
|
+
return {
|
|
20519
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20520
|
+
options: localVarRequestOptions,
|
|
20521
|
+
};
|
|
20522
|
+
}),
|
|
20523
|
+
/**
|
|
20524
|
+
* Update Event Block endpoint
|
|
20525
|
+
* @summary Update Event Block
|
|
20526
|
+
* @param {string} eventId The event identifier
|
|
20527
|
+
* @param {string} blockId The block identifier
|
|
20528
|
+
* @param {EventBlockUpdateInputs} eventBlockUpdateInputs
|
|
20529
|
+
* @param {*} [options] Override http request option.
|
|
20530
|
+
* @throws {RequiredError}
|
|
20531
|
+
*/
|
|
20532
|
+
updateEventBlock: (eventId_1, blockId_1, eventBlockUpdateInputs_1, ...args_1) => __awaiter(this, [eventId_1, blockId_1, eventBlockUpdateInputs_1, ...args_1], void 0, function* (eventId, blockId, eventBlockUpdateInputs, options = {}) {
|
|
20533
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
20534
|
+
(0, common_1.assertParamExists)('updateEventBlock', 'eventId', eventId);
|
|
20535
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
20536
|
+
(0, common_1.assertParamExists)('updateEventBlock', 'blockId', blockId);
|
|
20537
|
+
// verify required parameter 'eventBlockUpdateInputs' is not null or undefined
|
|
20538
|
+
(0, common_1.assertParamExists)('updateEventBlock', 'eventBlockUpdateInputs', eventBlockUpdateInputs);
|
|
20539
|
+
const localVarPath = `/events/{eventId}/blocks/{blockId}`
|
|
20540
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
20541
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
20542
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20543
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20544
|
+
let baseOptions;
|
|
20545
|
+
if (configuration) {
|
|
20546
|
+
baseOptions = configuration.baseOptions;
|
|
20547
|
+
}
|
|
20548
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
20549
|
+
const localVarHeaderParameter = {};
|
|
20550
|
+
const localVarQueryParameter = {};
|
|
20551
|
+
// authentication ApiKeyAuth required
|
|
20552
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
20553
|
+
// authentication OrganizationId required
|
|
20554
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
20555
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20556
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20557
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20558
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20559
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20560
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventBlockUpdateInputs, localVarRequestOptions, configuration);
|
|
20561
|
+
return {
|
|
20562
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20563
|
+
options: localVarRequestOptions,
|
|
20564
|
+
};
|
|
20565
|
+
}),
|
|
20566
|
+
};
|
|
20567
|
+
};
|
|
20568
|
+
exports.EventsBlocksApiAxiosParamCreator = EventsBlocksApiAxiosParamCreator;
|
|
20569
|
+
/**
|
|
20570
|
+
* EventsBlocksApi - functional programming interface
|
|
20571
|
+
*/
|
|
20572
|
+
const EventsBlocksApiFp = function (configuration) {
|
|
20573
|
+
const localVarAxiosParamCreator = (0, exports.EventsBlocksApiAxiosParamCreator)(configuration);
|
|
20574
|
+
return {
|
|
20575
|
+
/**
|
|
20576
|
+
* Add Event Block Session endpoint
|
|
20577
|
+
* @summary Add Event Block Session
|
|
20578
|
+
* @param {string} eventId The event identifier
|
|
20579
|
+
* @param {string} blockId The block identifier
|
|
20580
|
+
* @param {string} sessionId The session identifier
|
|
20581
|
+
* @param {*} [options] Override http request option.
|
|
20582
|
+
* @throws {RequiredError}
|
|
20583
|
+
*/
|
|
20584
|
+
addEventBlockSession(eventId, blockId, sessionId, options) {
|
|
20585
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20586
|
+
var _a, _b, _c;
|
|
20587
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventBlockSession(eventId, blockId, sessionId, options);
|
|
20588
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20589
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsBlocksApi.addEventBlockSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20590
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20591
|
+
});
|
|
20592
|
+
},
|
|
20593
|
+
/**
|
|
20594
|
+
* Create Event Block endpoint
|
|
20595
|
+
* @summary Create Event Block
|
|
20596
|
+
* @param {string} eventId The event identifier
|
|
20597
|
+
* @param {EventBlockCreateInputs} eventBlockCreateInputs
|
|
20598
|
+
* @param {*} [options] Override http request option.
|
|
20599
|
+
* @throws {RequiredError}
|
|
20600
|
+
*/
|
|
20601
|
+
createEventBlock(eventId, eventBlockCreateInputs, options) {
|
|
20602
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20603
|
+
var _a, _b, _c;
|
|
20604
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventBlock(eventId, eventBlockCreateInputs, options);
|
|
20605
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20606
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsBlocksApi.createEventBlock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20607
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20608
|
+
});
|
|
20609
|
+
},
|
|
20610
|
+
/**
|
|
20611
|
+
* Delete Event Block endpoint
|
|
20612
|
+
* @summary Delete Event Block
|
|
20613
|
+
* @param {string} eventId The event identifier
|
|
20614
|
+
* @param {string} blockId The block identifier
|
|
20615
|
+
* @param {*} [options] Override http request option.
|
|
20616
|
+
* @throws {RequiredError}
|
|
20617
|
+
*/
|
|
20618
|
+
deleteEventBlock(eventId, blockId, options) {
|
|
20619
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20620
|
+
var _a, _b, _c;
|
|
20621
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteEventBlock(eventId, blockId, options);
|
|
20622
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20623
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsBlocksApi.deleteEventBlock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20624
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20625
|
+
});
|
|
20626
|
+
},
|
|
20627
|
+
/**
|
|
20628
|
+
* Get Event Block endpoint
|
|
20629
|
+
* @summary Get Event Block
|
|
20630
|
+
* @param {string} eventId The event identifier
|
|
20631
|
+
* @param {string} blockId The block identifier
|
|
20632
|
+
* @param {*} [options] Override http request option.
|
|
20633
|
+
* @throws {RequiredError}
|
|
20634
|
+
*/
|
|
20635
|
+
getEventBlock(eventId, blockId, options) {
|
|
20636
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20637
|
+
var _a, _b, _c;
|
|
20638
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventBlock(eventId, blockId, options);
|
|
20639
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20640
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsBlocksApi.getEventBlock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20641
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20642
|
+
});
|
|
20643
|
+
},
|
|
20644
|
+
/**
|
|
20645
|
+
* Get Event Block Sessions endpoint
|
|
20646
|
+
* @summary Get Event Block Sessions
|
|
20647
|
+
* @param {string} eventId The event identifier
|
|
20648
|
+
* @param {string} blockId The block identifier
|
|
20649
|
+
* @param {number} [page] Page number
|
|
20650
|
+
* @param {number} [pageSize] Number of items per page
|
|
20651
|
+
* @param {string} [orderBy] Field to order by
|
|
20652
|
+
* @param {string} [search] Search query
|
|
20653
|
+
* @param {*} [options] Override http request option.
|
|
20654
|
+
* @throws {RequiredError}
|
|
20655
|
+
*/
|
|
20656
|
+
getEventBlockSessions(eventId, blockId, page, pageSize, orderBy, search, options) {
|
|
20657
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20658
|
+
var _a, _b, _c;
|
|
20659
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventBlockSessions(eventId, blockId, page, pageSize, orderBy, search, options);
|
|
20660
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20661
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsBlocksApi.getEventBlockSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20662
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20663
|
+
});
|
|
20664
|
+
},
|
|
20665
|
+
/**
|
|
20666
|
+
* Get Event Blocks endpoint
|
|
20667
|
+
* @summary Get Event Blocks
|
|
20668
|
+
* @param {string} eventId The event identifier
|
|
20669
|
+
* @param {number} [page] Page number
|
|
20670
|
+
* @param {number} [pageSize] Number of items per page
|
|
20671
|
+
* @param {string} [orderBy] Field to order by
|
|
20672
|
+
* @param {string} [search] Search query
|
|
20673
|
+
* @param {*} [options] Override http request option.
|
|
20674
|
+
* @throws {RequiredError}
|
|
20675
|
+
*/
|
|
20676
|
+
getEventBlocks(eventId, page, pageSize, orderBy, search, options) {
|
|
20677
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20678
|
+
var _a, _b, _c;
|
|
20679
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventBlocks(eventId, page, pageSize, orderBy, search, options);
|
|
20680
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20681
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsBlocksApi.getEventBlocks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20682
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20683
|
+
});
|
|
20684
|
+
},
|
|
20685
|
+
/**
|
|
20686
|
+
* Remove Event Block Session endpoint
|
|
20687
|
+
* @summary Remove Event Block Session
|
|
20688
|
+
* @param {string} eventId The event identifier
|
|
20689
|
+
* @param {string} blockId The block identifier
|
|
20690
|
+
* @param {string} sessionId The session identifier
|
|
20691
|
+
* @param {*} [options] Override http request option.
|
|
20692
|
+
* @throws {RequiredError}
|
|
20693
|
+
*/
|
|
20694
|
+
removeEventBlockSession(eventId, blockId, sessionId, options) {
|
|
20695
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20696
|
+
var _a, _b, _c;
|
|
20697
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventBlockSession(eventId, blockId, sessionId, options);
|
|
20698
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20699
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsBlocksApi.removeEventBlockSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20700
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20701
|
+
});
|
|
20702
|
+
},
|
|
20703
|
+
/**
|
|
20704
|
+
* Update Event Block endpoint
|
|
20705
|
+
* @summary Update Event Block
|
|
20706
|
+
* @param {string} eventId The event identifier
|
|
20707
|
+
* @param {string} blockId The block identifier
|
|
20708
|
+
* @param {EventBlockUpdateInputs} eventBlockUpdateInputs
|
|
20709
|
+
* @param {*} [options] Override http request option.
|
|
20710
|
+
* @throws {RequiredError}
|
|
20711
|
+
*/
|
|
20712
|
+
updateEventBlock(eventId, blockId, eventBlockUpdateInputs, options) {
|
|
20713
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20714
|
+
var _a, _b, _c;
|
|
20715
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEventBlock(eventId, blockId, eventBlockUpdateInputs, options);
|
|
20716
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20717
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsBlocksApi.updateEventBlock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20718
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20719
|
+
});
|
|
20720
|
+
},
|
|
20721
|
+
};
|
|
20722
|
+
};
|
|
20723
|
+
exports.EventsBlocksApiFp = EventsBlocksApiFp;
|
|
20724
|
+
/**
|
|
20725
|
+
* EventsBlocksApi - factory interface
|
|
20726
|
+
*/
|
|
20727
|
+
const EventsBlocksApiFactory = function (configuration, basePath, axios) {
|
|
20728
|
+
const localVarFp = (0, exports.EventsBlocksApiFp)(configuration);
|
|
20729
|
+
return {
|
|
20730
|
+
/**
|
|
20731
|
+
* Add Event Block Session endpoint
|
|
20732
|
+
* @summary Add Event Block Session
|
|
20733
|
+
* @param {EventsBlocksApiAddEventBlockSessionRequest} requestParameters Request parameters.
|
|
20734
|
+
* @param {*} [options] Override http request option.
|
|
20735
|
+
* @throws {RequiredError}
|
|
20736
|
+
*/
|
|
20737
|
+
addEventBlockSession(requestParameters, options) {
|
|
20738
|
+
return localVarFp.addEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
20739
|
+
},
|
|
20740
|
+
/**
|
|
20741
|
+
* Create Event Block endpoint
|
|
20742
|
+
* @summary Create Event Block
|
|
20743
|
+
* @param {EventsBlocksApiCreateEventBlockRequest} requestParameters Request parameters.
|
|
20744
|
+
* @param {*} [options] Override http request option.
|
|
20745
|
+
* @throws {RequiredError}
|
|
20746
|
+
*/
|
|
20747
|
+
createEventBlock(requestParameters, options) {
|
|
20748
|
+
return localVarFp.createEventBlock(requestParameters.eventId, requestParameters.eventBlockCreateInputs, options).then((request) => request(axios, basePath));
|
|
20749
|
+
},
|
|
20750
|
+
/**
|
|
20751
|
+
* Delete Event Block endpoint
|
|
20752
|
+
* @summary Delete Event Block
|
|
20753
|
+
* @param {EventsBlocksApiDeleteEventBlockRequest} requestParameters Request parameters.
|
|
20754
|
+
* @param {*} [options] Override http request option.
|
|
20755
|
+
* @throws {RequiredError}
|
|
20756
|
+
*/
|
|
20757
|
+
deleteEventBlock(requestParameters, options) {
|
|
20758
|
+
return localVarFp.deleteEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(axios, basePath));
|
|
20759
|
+
},
|
|
20760
|
+
/**
|
|
20761
|
+
* Get Event Block endpoint
|
|
20762
|
+
* @summary Get Event Block
|
|
20763
|
+
* @param {EventsBlocksApiGetEventBlockRequest} requestParameters Request parameters.
|
|
20764
|
+
* @param {*} [options] Override http request option.
|
|
20765
|
+
* @throws {RequiredError}
|
|
20766
|
+
*/
|
|
20767
|
+
getEventBlock(requestParameters, options) {
|
|
20768
|
+
return localVarFp.getEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(axios, basePath));
|
|
20769
|
+
},
|
|
20770
|
+
/**
|
|
20771
|
+
* Get Event Block Sessions endpoint
|
|
20772
|
+
* @summary Get Event Block Sessions
|
|
20773
|
+
* @param {EventsBlocksApiGetEventBlockSessionsRequest} requestParameters Request parameters.
|
|
20774
|
+
* @param {*} [options] Override http request option.
|
|
20775
|
+
* @throws {RequiredError}
|
|
20776
|
+
*/
|
|
20777
|
+
getEventBlockSessions(requestParameters, options) {
|
|
20778
|
+
return localVarFp.getEventBlockSessions(requestParameters.eventId, requestParameters.blockId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
20779
|
+
},
|
|
20780
|
+
/**
|
|
20781
|
+
* Get Event Blocks endpoint
|
|
20782
|
+
* @summary Get Event Blocks
|
|
20783
|
+
* @param {EventsBlocksApiGetEventBlocksRequest} requestParameters Request parameters.
|
|
20784
|
+
* @param {*} [options] Override http request option.
|
|
20785
|
+
* @throws {RequiredError}
|
|
20786
|
+
*/
|
|
20787
|
+
getEventBlocks(requestParameters, options) {
|
|
20788
|
+
return localVarFp.getEventBlocks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
20789
|
+
},
|
|
20790
|
+
/**
|
|
20791
|
+
* Remove Event Block Session endpoint
|
|
20792
|
+
* @summary Remove Event Block Session
|
|
20793
|
+
* @param {EventsBlocksApiRemoveEventBlockSessionRequest} requestParameters Request parameters.
|
|
20794
|
+
* @param {*} [options] Override http request option.
|
|
20795
|
+
* @throws {RequiredError}
|
|
20796
|
+
*/
|
|
20797
|
+
removeEventBlockSession(requestParameters, options) {
|
|
20798
|
+
return localVarFp.removeEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
20799
|
+
},
|
|
20800
|
+
/**
|
|
20801
|
+
* Update Event Block endpoint
|
|
20802
|
+
* @summary Update Event Block
|
|
20803
|
+
* @param {EventsBlocksApiUpdateEventBlockRequest} requestParameters Request parameters.
|
|
20804
|
+
* @param {*} [options] Override http request option.
|
|
20805
|
+
* @throws {RequiredError}
|
|
20806
|
+
*/
|
|
20807
|
+
updateEventBlock(requestParameters, options) {
|
|
20808
|
+
return localVarFp.updateEventBlock(requestParameters.eventId, requestParameters.blockId, requestParameters.eventBlockUpdateInputs, options).then((request) => request(axios, basePath));
|
|
20809
|
+
},
|
|
20810
|
+
};
|
|
20811
|
+
};
|
|
20812
|
+
exports.EventsBlocksApiFactory = EventsBlocksApiFactory;
|
|
20813
|
+
/**
|
|
20814
|
+
* EventsBlocksApi - object-oriented interface
|
|
20815
|
+
*/
|
|
20816
|
+
class EventsBlocksApi extends base_1.BaseAPI {
|
|
20817
|
+
/**
|
|
20818
|
+
* Add Event Block Session endpoint
|
|
20819
|
+
* @summary Add Event Block Session
|
|
20820
|
+
* @param {EventsBlocksApiAddEventBlockSessionRequest} requestParameters Request parameters.
|
|
20821
|
+
* @param {*} [options] Override http request option.
|
|
20822
|
+
* @throws {RequiredError}
|
|
20823
|
+
*/
|
|
20824
|
+
addEventBlockSession(requestParameters, options) {
|
|
20825
|
+
return (0, exports.EventsBlocksApiFp)(this.configuration).addEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
20826
|
+
}
|
|
20827
|
+
/**
|
|
20828
|
+
* Create Event Block endpoint
|
|
20829
|
+
* @summary Create Event Block
|
|
20830
|
+
* @param {EventsBlocksApiCreateEventBlockRequest} requestParameters Request parameters.
|
|
20831
|
+
* @param {*} [options] Override http request option.
|
|
20832
|
+
* @throws {RequiredError}
|
|
20833
|
+
*/
|
|
20834
|
+
createEventBlock(requestParameters, options) {
|
|
20835
|
+
return (0, exports.EventsBlocksApiFp)(this.configuration).createEventBlock(requestParameters.eventId, requestParameters.eventBlockCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
20836
|
+
}
|
|
20837
|
+
/**
|
|
20838
|
+
* Delete Event Block endpoint
|
|
20839
|
+
* @summary Delete Event Block
|
|
20840
|
+
* @param {EventsBlocksApiDeleteEventBlockRequest} requestParameters Request parameters.
|
|
20841
|
+
* @param {*} [options] Override http request option.
|
|
20842
|
+
* @throws {RequiredError}
|
|
20843
|
+
*/
|
|
20844
|
+
deleteEventBlock(requestParameters, options) {
|
|
20845
|
+
return (0, exports.EventsBlocksApiFp)(this.configuration).deleteEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
|
|
20846
|
+
}
|
|
20847
|
+
/**
|
|
20848
|
+
* Get Event Block endpoint
|
|
20849
|
+
* @summary Get Event Block
|
|
20850
|
+
* @param {EventsBlocksApiGetEventBlockRequest} requestParameters Request parameters.
|
|
20851
|
+
* @param {*} [options] Override http request option.
|
|
20852
|
+
* @throws {RequiredError}
|
|
20853
|
+
*/
|
|
20854
|
+
getEventBlock(requestParameters, options) {
|
|
20855
|
+
return (0, exports.EventsBlocksApiFp)(this.configuration).getEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
|
|
20856
|
+
}
|
|
20857
|
+
/**
|
|
20858
|
+
* Get Event Block Sessions endpoint
|
|
20859
|
+
* @summary Get Event Block Sessions
|
|
20860
|
+
* @param {EventsBlocksApiGetEventBlockSessionsRequest} requestParameters Request parameters.
|
|
20861
|
+
* @param {*} [options] Override http request option.
|
|
20862
|
+
* @throws {RequiredError}
|
|
20863
|
+
*/
|
|
20864
|
+
getEventBlockSessions(requestParameters, options) {
|
|
20865
|
+
return (0, exports.EventsBlocksApiFp)(this.configuration).getEventBlockSessions(requestParameters.eventId, requestParameters.blockId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
20866
|
+
}
|
|
20867
|
+
/**
|
|
20868
|
+
* Get Event Blocks endpoint
|
|
20869
|
+
* @summary Get Event Blocks
|
|
20870
|
+
* @param {EventsBlocksApiGetEventBlocksRequest} requestParameters Request parameters.
|
|
20871
|
+
* @param {*} [options] Override http request option.
|
|
20872
|
+
* @throws {RequiredError}
|
|
20873
|
+
*/
|
|
20874
|
+
getEventBlocks(requestParameters, options) {
|
|
20875
|
+
return (0, exports.EventsBlocksApiFp)(this.configuration).getEventBlocks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
20876
|
+
}
|
|
20877
|
+
/**
|
|
20878
|
+
* Remove Event Block Session endpoint
|
|
20879
|
+
* @summary Remove Event Block Session
|
|
20880
|
+
* @param {EventsBlocksApiRemoveEventBlockSessionRequest} requestParameters Request parameters.
|
|
20881
|
+
* @param {*} [options] Override http request option.
|
|
20882
|
+
* @throws {RequiredError}
|
|
20883
|
+
*/
|
|
20884
|
+
removeEventBlockSession(requestParameters, options) {
|
|
20885
|
+
return (0, exports.EventsBlocksApiFp)(this.configuration).removeEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
20886
|
+
}
|
|
20887
|
+
/**
|
|
20888
|
+
* Update Event Block endpoint
|
|
20889
|
+
* @summary Update Event Block
|
|
20890
|
+
* @param {EventsBlocksApiUpdateEventBlockRequest} requestParameters Request parameters.
|
|
20891
|
+
* @param {*} [options] Override http request option.
|
|
20892
|
+
* @throws {RequiredError}
|
|
20893
|
+
*/
|
|
20894
|
+
updateEventBlock(requestParameters, options) {
|
|
20895
|
+
return (0, exports.EventsBlocksApiFp)(this.configuration).updateEventBlock(requestParameters.eventId, requestParameters.blockId, requestParameters.eventBlockUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
20896
|
+
}
|
|
20897
|
+
}
|
|
20898
|
+
exports.EventsBlocksApi = EventsBlocksApi;
|
|
20207
20899
|
/**
|
|
20208
20900
|
* EventsBypassApi - axios parameter creator
|
|
20209
20901
|
*/
|
|
@@ -21276,6 +21968,7 @@ const EventsCouponsApiAxiosParamCreator = function (configuration) {
|
|
|
21276
21968
|
* @summary Get Event Coupons
|
|
21277
21969
|
* @param {string} eventId The event identifier
|
|
21278
21970
|
* @param {boolean} [prePaid] Filter by prePaid
|
|
21971
|
+
* @param {object} [includeVariants] Filter by includeVariants
|
|
21279
21972
|
* @param {number} [page] Page number
|
|
21280
21973
|
* @param {number} [pageSize] Number of items per page
|
|
21281
21974
|
* @param {string} [orderBy] Field to order by
|
|
@@ -21283,7 +21976,7 @@ const EventsCouponsApiAxiosParamCreator = function (configuration) {
|
|
|
21283
21976
|
* @param {*} [options] Override http request option.
|
|
21284
21977
|
* @throws {RequiredError}
|
|
21285
21978
|
*/
|
|
21286
|
-
getEventCoupons: (eventId_1, prePaid_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, prePaid_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, prePaid, page, pageSize, orderBy, search, options = {}) {
|
|
21979
|
+
getEventCoupons: (eventId_1, prePaid_1, includeVariants_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, prePaid_1, includeVariants_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, prePaid, includeVariants, page, pageSize, orderBy, search, options = {}) {
|
|
21287
21980
|
// verify required parameter 'eventId' is not null or undefined
|
|
21288
21981
|
(0, common_1.assertParamExists)('getEventCoupons', 'eventId', eventId);
|
|
21289
21982
|
const localVarPath = `/events/{eventId}/coupons`
|
|
@@ -21304,6 +21997,11 @@ const EventsCouponsApiAxiosParamCreator = function (configuration) {
|
|
|
21304
21997
|
if (prePaid !== undefined) {
|
|
21305
21998
|
localVarQueryParameter['prePaid'] = prePaid;
|
|
21306
21999
|
}
|
|
22000
|
+
if (includeVariants !== undefined) {
|
|
22001
|
+
for (const [key, value] of Object.entries(includeVariants)) {
|
|
22002
|
+
localVarQueryParameter[key] = value;
|
|
22003
|
+
}
|
|
22004
|
+
}
|
|
21307
22005
|
if (page !== undefined) {
|
|
21308
22006
|
localVarQueryParameter['page'] = page;
|
|
21309
22007
|
}
|
|
@@ -21574,6 +22272,7 @@ const EventsCouponsApiFp = function (configuration) {
|
|
|
21574
22272
|
* @summary Get Event Coupons
|
|
21575
22273
|
* @param {string} eventId The event identifier
|
|
21576
22274
|
* @param {boolean} [prePaid] Filter by prePaid
|
|
22275
|
+
* @param {object} [includeVariants] Filter by includeVariants
|
|
21577
22276
|
* @param {number} [page] Page number
|
|
21578
22277
|
* @param {number} [pageSize] Number of items per page
|
|
21579
22278
|
* @param {string} [orderBy] Field to order by
|
|
@@ -21581,10 +22280,10 @@ const EventsCouponsApiFp = function (configuration) {
|
|
|
21581
22280
|
* @param {*} [options] Override http request option.
|
|
21582
22281
|
* @throws {RequiredError}
|
|
21583
22282
|
*/
|
|
21584
|
-
getEventCoupons(eventId, prePaid, page, pageSize, orderBy, search, options) {
|
|
22283
|
+
getEventCoupons(eventId, prePaid, includeVariants, page, pageSize, orderBy, search, options) {
|
|
21585
22284
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21586
22285
|
var _a, _b, _c;
|
|
21587
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventCoupons(eventId, prePaid, page, pageSize, orderBy, search, options);
|
|
22286
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventCoupons(eventId, prePaid, includeVariants, page, pageSize, orderBy, search, options);
|
|
21588
22287
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21589
22288
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsCouponsApi.getEventCoupons']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21590
22289
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -21723,7 +22422,7 @@ const EventsCouponsApiFactory = function (configuration, basePath, axios) {
|
|
|
21723
22422
|
* @throws {RequiredError}
|
|
21724
22423
|
*/
|
|
21725
22424
|
getEventCoupons(requestParameters, options) {
|
|
21726
|
-
return localVarFp.getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
22425
|
+
return localVarFp.getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.includeVariants, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
21727
22426
|
},
|
|
21728
22427
|
/**
|
|
21729
22428
|
* Sync Event Coupon To Variants endpoint
|
|
@@ -21840,7 +22539,7 @@ class EventsCouponsApi extends base_1.BaseAPI {
|
|
|
21840
22539
|
* @throws {RequiredError}
|
|
21841
22540
|
*/
|
|
21842
22541
|
getEventCoupons(requestParameters, options) {
|
|
21843
|
-
return (0, exports.EventsCouponsApiFp)(this.configuration).getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
22542
|
+
return (0, exports.EventsCouponsApiFp)(this.configuration).getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.includeVariants, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
21844
22543
|
}
|
|
21845
22544
|
/**
|
|
21846
22545
|
* Sync Event Coupon To Variants endpoint
|
|
@@ -39290,6 +39989,48 @@ const EventsSessionsApiAxiosParamCreator = function (configuration) {
|
|
|
39290
39989
|
options: localVarRequestOptions,
|
|
39291
39990
|
};
|
|
39292
39991
|
}),
|
|
39992
|
+
/**
|
|
39993
|
+
* Add Event Session Block endpoint
|
|
39994
|
+
* @summary Add Event Session Block
|
|
39995
|
+
* @param {string} eventId The event identifier
|
|
39996
|
+
* @param {string} sessionId The session identifier
|
|
39997
|
+
* @param {string} blockId The block identifier
|
|
39998
|
+
* @param {*} [options] Override http request option.
|
|
39999
|
+
* @throws {RequiredError}
|
|
40000
|
+
*/
|
|
40001
|
+
addEventSessionBlock: (eventId_1, sessionId_1, blockId_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, blockId_1, ...args_1], void 0, function* (eventId, sessionId, blockId, options = {}) {
|
|
40002
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
40003
|
+
(0, common_1.assertParamExists)('addEventSessionBlock', 'eventId', eventId);
|
|
40004
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
40005
|
+
(0, common_1.assertParamExists)('addEventSessionBlock', 'sessionId', sessionId);
|
|
40006
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
40007
|
+
(0, common_1.assertParamExists)('addEventSessionBlock', 'blockId', blockId);
|
|
40008
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks/{blockId}`
|
|
40009
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
40010
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
40011
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
40012
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40013
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
40014
|
+
let baseOptions;
|
|
40015
|
+
if (configuration) {
|
|
40016
|
+
baseOptions = configuration.baseOptions;
|
|
40017
|
+
}
|
|
40018
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
40019
|
+
const localVarHeaderParameter = {};
|
|
40020
|
+
const localVarQueryParameter = {};
|
|
40021
|
+
// authentication ApiKeyAuth required
|
|
40022
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
40023
|
+
// authentication OrganizationId required
|
|
40024
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
40025
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
40026
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
40027
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40028
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
40029
|
+
return {
|
|
40030
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
40031
|
+
options: localVarRequestOptions,
|
|
40032
|
+
};
|
|
40033
|
+
}),
|
|
39293
40034
|
/**
|
|
39294
40035
|
* Add Event Session Pass Type endpoint
|
|
39295
40036
|
* @summary Add Event Session Pass Type
|
|
@@ -39685,6 +40426,60 @@ const EventsSessionsApiAxiosParamCreator = function (configuration) {
|
|
|
39685
40426
|
options: localVarRequestOptions,
|
|
39686
40427
|
};
|
|
39687
40428
|
}),
|
|
40429
|
+
/**
|
|
40430
|
+
* Get Event Session Blocks endpoint
|
|
40431
|
+
* @summary Get Event Session Blocks
|
|
40432
|
+
* @param {string} eventId The event identifier
|
|
40433
|
+
* @param {string} sessionId The session identifier
|
|
40434
|
+
* @param {number} [page] Page number
|
|
40435
|
+
* @param {number} [pageSize] Number of items per page
|
|
40436
|
+
* @param {string} [orderBy] Field to order by
|
|
40437
|
+
* @param {string} [search] Search query
|
|
40438
|
+
* @param {*} [options] Override http request option.
|
|
40439
|
+
* @throws {RequiredError}
|
|
40440
|
+
*/
|
|
40441
|
+
getEventSessionBlocks: (eventId_1, sessionId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, sessionId, page, pageSize, orderBy, search, options = {}) {
|
|
40442
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
40443
|
+
(0, common_1.assertParamExists)('getEventSessionBlocks', 'eventId', eventId);
|
|
40444
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
40445
|
+
(0, common_1.assertParamExists)('getEventSessionBlocks', 'sessionId', sessionId);
|
|
40446
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks`
|
|
40447
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
40448
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
40449
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40450
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
40451
|
+
let baseOptions;
|
|
40452
|
+
if (configuration) {
|
|
40453
|
+
baseOptions = configuration.baseOptions;
|
|
40454
|
+
}
|
|
40455
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
40456
|
+
const localVarHeaderParameter = {};
|
|
40457
|
+
const localVarQueryParameter = {};
|
|
40458
|
+
// authentication ApiKeyAuth required
|
|
40459
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
40460
|
+
// authentication OrganizationId required
|
|
40461
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
40462
|
+
if (page !== undefined) {
|
|
40463
|
+
localVarQueryParameter['page'] = page;
|
|
40464
|
+
}
|
|
40465
|
+
if (pageSize !== undefined) {
|
|
40466
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
40467
|
+
}
|
|
40468
|
+
if (orderBy !== undefined) {
|
|
40469
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
40470
|
+
}
|
|
40471
|
+
if (search !== undefined) {
|
|
40472
|
+
localVarQueryParameter['search'] = search;
|
|
40473
|
+
}
|
|
40474
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
40475
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
40476
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40477
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
40478
|
+
return {
|
|
40479
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
40480
|
+
options: localVarRequestOptions,
|
|
40481
|
+
};
|
|
40482
|
+
}),
|
|
39688
40483
|
/**
|
|
39689
40484
|
* Get Event Session Pass Types endpoint
|
|
39690
40485
|
* @summary Get Event Session Pass Types
|
|
@@ -40047,6 +40842,48 @@ const EventsSessionsApiAxiosParamCreator = function (configuration) {
|
|
|
40047
40842
|
options: localVarRequestOptions,
|
|
40048
40843
|
};
|
|
40049
40844
|
}),
|
|
40845
|
+
/**
|
|
40846
|
+
* Remove Event Session Block endpoint
|
|
40847
|
+
* @summary Remove Event Session Block
|
|
40848
|
+
* @param {string} eventId The event identifier
|
|
40849
|
+
* @param {string} sessionId The session identifier
|
|
40850
|
+
* @param {string} blockId The block identifier
|
|
40851
|
+
* @param {*} [options] Override http request option.
|
|
40852
|
+
* @throws {RequiredError}
|
|
40853
|
+
*/
|
|
40854
|
+
removeEventSessionBlock: (eventId_1, sessionId_1, blockId_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, blockId_1, ...args_1], void 0, function* (eventId, sessionId, blockId, options = {}) {
|
|
40855
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
40856
|
+
(0, common_1.assertParamExists)('removeEventSessionBlock', 'eventId', eventId);
|
|
40857
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
40858
|
+
(0, common_1.assertParamExists)('removeEventSessionBlock', 'sessionId', sessionId);
|
|
40859
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
40860
|
+
(0, common_1.assertParamExists)('removeEventSessionBlock', 'blockId', blockId);
|
|
40861
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks/{blockId}`
|
|
40862
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
40863
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
40864
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
40865
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40866
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
40867
|
+
let baseOptions;
|
|
40868
|
+
if (configuration) {
|
|
40869
|
+
baseOptions = configuration.baseOptions;
|
|
40870
|
+
}
|
|
40871
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
40872
|
+
const localVarHeaderParameter = {};
|
|
40873
|
+
const localVarQueryParameter = {};
|
|
40874
|
+
// authentication ApiKeyAuth required
|
|
40875
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
40876
|
+
// authentication OrganizationId required
|
|
40877
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
40878
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
40879
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
40880
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40881
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
40882
|
+
return {
|
|
40883
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
40884
|
+
options: localVarRequestOptions,
|
|
40885
|
+
};
|
|
40886
|
+
}),
|
|
40050
40887
|
/**
|
|
40051
40888
|
* Remove Event Session Pass Type endpoint
|
|
40052
40889
|
* @summary Remove Event Session Pass Type
|
|
@@ -40288,6 +41125,24 @@ const EventsSessionsApiFp = function (configuration) {
|
|
|
40288
41125
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40289
41126
|
});
|
|
40290
41127
|
},
|
|
41128
|
+
/**
|
|
41129
|
+
* Add Event Session Block endpoint
|
|
41130
|
+
* @summary Add Event Session Block
|
|
41131
|
+
* @param {string} eventId The event identifier
|
|
41132
|
+
* @param {string} sessionId The session identifier
|
|
41133
|
+
* @param {string} blockId The block identifier
|
|
41134
|
+
* @param {*} [options] Override http request option.
|
|
41135
|
+
* @throws {RequiredError}
|
|
41136
|
+
*/
|
|
41137
|
+
addEventSessionBlock(eventId, sessionId, blockId, options) {
|
|
41138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41139
|
+
var _a, _b, _c;
|
|
41140
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventSessionBlock(eventId, sessionId, blockId, options);
|
|
41141
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
41142
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsSessionsApi.addEventSessionBlock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
41143
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41144
|
+
});
|
|
41145
|
+
},
|
|
40291
41146
|
/**
|
|
40292
41147
|
* Add Event Session Pass Type endpoint
|
|
40293
41148
|
* @summary Add Event Session Pass Type
|
|
@@ -40454,6 +41309,27 @@ const EventsSessionsApiFp = function (configuration) {
|
|
|
40454
41309
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40455
41310
|
});
|
|
40456
41311
|
},
|
|
41312
|
+
/**
|
|
41313
|
+
* Get Event Session Blocks endpoint
|
|
41314
|
+
* @summary Get Event Session Blocks
|
|
41315
|
+
* @param {string} eventId The event identifier
|
|
41316
|
+
* @param {string} sessionId The session identifier
|
|
41317
|
+
* @param {number} [page] Page number
|
|
41318
|
+
* @param {number} [pageSize] Number of items per page
|
|
41319
|
+
* @param {string} [orderBy] Field to order by
|
|
41320
|
+
* @param {string} [search] Search query
|
|
41321
|
+
* @param {*} [options] Override http request option.
|
|
41322
|
+
* @throws {RequiredError}
|
|
41323
|
+
*/
|
|
41324
|
+
getEventSessionBlocks(eventId, sessionId, page, pageSize, orderBy, search, options) {
|
|
41325
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41326
|
+
var _a, _b, _c;
|
|
41327
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventSessionBlocks(eventId, sessionId, page, pageSize, orderBy, search, options);
|
|
41328
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
41329
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsSessionsApi.getEventSessionBlocks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
41330
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41331
|
+
});
|
|
41332
|
+
},
|
|
40457
41333
|
/**
|
|
40458
41334
|
* Get Event Session Pass Types endpoint
|
|
40459
41335
|
* @summary Get Event Session Pass Types
|
|
@@ -40597,6 +41473,24 @@ const EventsSessionsApiFp = function (configuration) {
|
|
|
40597
41473
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40598
41474
|
});
|
|
40599
41475
|
},
|
|
41476
|
+
/**
|
|
41477
|
+
* Remove Event Session Block endpoint
|
|
41478
|
+
* @summary Remove Event Session Block
|
|
41479
|
+
* @param {string} eventId The event identifier
|
|
41480
|
+
* @param {string} sessionId The session identifier
|
|
41481
|
+
* @param {string} blockId The block identifier
|
|
41482
|
+
* @param {*} [options] Override http request option.
|
|
41483
|
+
* @throws {RequiredError}
|
|
41484
|
+
*/
|
|
41485
|
+
removeEventSessionBlock(eventId, sessionId, blockId, options) {
|
|
41486
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41487
|
+
var _a, _b, _c;
|
|
41488
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventSessionBlock(eventId, sessionId, blockId, options);
|
|
41489
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
41490
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsSessionsApi.removeEventSessionBlock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
41491
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41492
|
+
});
|
|
41493
|
+
},
|
|
40600
41494
|
/**
|
|
40601
41495
|
* Remove Event Session Pass Type endpoint
|
|
40602
41496
|
* @summary Remove Event Session Pass Type
|
|
@@ -40706,6 +41600,16 @@ const EventsSessionsApiFactory = function (configuration, basePath, axios) {
|
|
|
40706
41600
|
addEventSessionAccount(requestParameters, options) {
|
|
40707
41601
|
return localVarFp.addEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
40708
41602
|
},
|
|
41603
|
+
/**
|
|
41604
|
+
* Add Event Session Block endpoint
|
|
41605
|
+
* @summary Add Event Session Block
|
|
41606
|
+
* @param {EventsSessionsApiAddEventSessionBlockRequest} requestParameters Request parameters.
|
|
41607
|
+
* @param {*} [options] Override http request option.
|
|
41608
|
+
* @throws {RequiredError}
|
|
41609
|
+
*/
|
|
41610
|
+
addEventSessionBlock(requestParameters, options) {
|
|
41611
|
+
return localVarFp.addEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(axios, basePath));
|
|
41612
|
+
},
|
|
40709
41613
|
/**
|
|
40710
41614
|
* Add Event Session Pass Type endpoint
|
|
40711
41615
|
* @summary Add Event Session Pass Type
|
|
@@ -40796,6 +41700,16 @@ const EventsSessionsApiFactory = function (configuration, basePath, axios) {
|
|
|
40796
41700
|
getEventSessionAccounts(requestParameters, options) {
|
|
40797
41701
|
return localVarFp.getEventSessionAccounts(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
40798
41702
|
},
|
|
41703
|
+
/**
|
|
41704
|
+
* Get Event Session Blocks endpoint
|
|
41705
|
+
* @summary Get Event Session Blocks
|
|
41706
|
+
* @param {EventsSessionsApiGetEventSessionBlocksRequest} requestParameters Request parameters.
|
|
41707
|
+
* @param {*} [options] Override http request option.
|
|
41708
|
+
* @throws {RequiredError}
|
|
41709
|
+
*/
|
|
41710
|
+
getEventSessionBlocks(requestParameters, options) {
|
|
41711
|
+
return localVarFp.getEventSessionBlocks(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
41712
|
+
},
|
|
40799
41713
|
/**
|
|
40800
41714
|
* Get Event Session Pass Types endpoint
|
|
40801
41715
|
* @summary Get Event Session Pass Types
|
|
@@ -40866,6 +41780,16 @@ const EventsSessionsApiFactory = function (configuration, basePath, axios) {
|
|
|
40866
41780
|
removeEventSessionAccount(requestParameters, options) {
|
|
40867
41781
|
return localVarFp.removeEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
40868
41782
|
},
|
|
41783
|
+
/**
|
|
41784
|
+
* Remove Event Session Block endpoint
|
|
41785
|
+
* @summary Remove Event Session Block
|
|
41786
|
+
* @param {EventsSessionsApiRemoveEventSessionBlockRequest} requestParameters Request parameters.
|
|
41787
|
+
* @param {*} [options] Override http request option.
|
|
41788
|
+
* @throws {RequiredError}
|
|
41789
|
+
*/
|
|
41790
|
+
removeEventSessionBlock(requestParameters, options) {
|
|
41791
|
+
return localVarFp.removeEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(axios, basePath));
|
|
41792
|
+
},
|
|
40869
41793
|
/**
|
|
40870
41794
|
* Remove Event Session Pass Type endpoint
|
|
40871
41795
|
* @summary Remove Event Session Pass Type
|
|
@@ -40933,6 +41857,16 @@ class EventsSessionsApi extends base_1.BaseAPI {
|
|
|
40933
41857
|
addEventSessionAccount(requestParameters, options) {
|
|
40934
41858
|
return (0, exports.EventsSessionsApiFp)(this.configuration).addEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
40935
41859
|
}
|
|
41860
|
+
/**
|
|
41861
|
+
* Add Event Session Block endpoint
|
|
41862
|
+
* @summary Add Event Session Block
|
|
41863
|
+
* @param {EventsSessionsApiAddEventSessionBlockRequest} requestParameters Request parameters.
|
|
41864
|
+
* @param {*} [options] Override http request option.
|
|
41865
|
+
* @throws {RequiredError}
|
|
41866
|
+
*/
|
|
41867
|
+
addEventSessionBlock(requestParameters, options) {
|
|
41868
|
+
return (0, exports.EventsSessionsApiFp)(this.configuration).addEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
|
|
41869
|
+
}
|
|
40936
41870
|
/**
|
|
40937
41871
|
* Add Event Session Pass Type endpoint
|
|
40938
41872
|
* @summary Add Event Session Pass Type
|
|
@@ -41023,6 +41957,16 @@ class EventsSessionsApi extends base_1.BaseAPI {
|
|
|
41023
41957
|
getEventSessionAccounts(requestParameters, options) {
|
|
41024
41958
|
return (0, exports.EventsSessionsApiFp)(this.configuration).getEventSessionAccounts(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
41025
41959
|
}
|
|
41960
|
+
/**
|
|
41961
|
+
* Get Event Session Blocks endpoint
|
|
41962
|
+
* @summary Get Event Session Blocks
|
|
41963
|
+
* @param {EventsSessionsApiGetEventSessionBlocksRequest} requestParameters Request parameters.
|
|
41964
|
+
* @param {*} [options] Override http request option.
|
|
41965
|
+
* @throws {RequiredError}
|
|
41966
|
+
*/
|
|
41967
|
+
getEventSessionBlocks(requestParameters, options) {
|
|
41968
|
+
return (0, exports.EventsSessionsApiFp)(this.configuration).getEventSessionBlocks(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
41969
|
+
}
|
|
41026
41970
|
/**
|
|
41027
41971
|
* Get Event Session Pass Types endpoint
|
|
41028
41972
|
* @summary Get Event Session Pass Types
|
|
@@ -41093,6 +42037,16 @@ class EventsSessionsApi extends base_1.BaseAPI {
|
|
|
41093
42037
|
removeEventSessionAccount(requestParameters, options) {
|
|
41094
42038
|
return (0, exports.EventsSessionsApiFp)(this.configuration).removeEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
41095
42039
|
}
|
|
42040
|
+
/**
|
|
42041
|
+
* Remove Event Session Block endpoint
|
|
42042
|
+
* @summary Remove Event Session Block
|
|
42043
|
+
* @param {EventsSessionsApiRemoveEventSessionBlockRequest} requestParameters Request parameters.
|
|
42044
|
+
* @param {*} [options] Override http request option.
|
|
42045
|
+
* @throws {RequiredError}
|
|
42046
|
+
*/
|
|
42047
|
+
removeEventSessionBlock(requestParameters, options) {
|
|
42048
|
+
return (0, exports.EventsSessionsApiFp)(this.configuration).removeEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
|
|
42049
|
+
}
|
|
41096
42050
|
/**
|
|
41097
42051
|
* Remove Event Session Pass Type endpoint
|
|
41098
42052
|
* @summary Remove Event Session Pass Type
|
|
@@ -69084,21 +70038,642 @@ const SeriesApiAxiosParamCreator = function (configuration) {
|
|
|
69084
70038
|
};
|
|
69085
70039
|
}),
|
|
69086
70040
|
/**
|
|
69087
|
-
* Get Series Events endpoint
|
|
69088
|
-
* @summary Get Series Events
|
|
70041
|
+
* Get Series Events endpoint
|
|
70042
|
+
* @summary Get Series Events
|
|
70043
|
+
* @param {string} seriesId The series identifier
|
|
70044
|
+
* @param {number} [page] Page number
|
|
70045
|
+
* @param {number} [pageSize] Number of items per page
|
|
70046
|
+
* @param {string} [orderBy] Field to order by
|
|
70047
|
+
* @param {string} [search] Search query
|
|
70048
|
+
* @param {*} [options] Override http request option.
|
|
70049
|
+
* @throws {RequiredError}
|
|
70050
|
+
*/
|
|
70051
|
+
getSeriesEvents: (seriesId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [seriesId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (seriesId, page, pageSize, orderBy, search, options = {}) {
|
|
70052
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
70053
|
+
(0, common_1.assertParamExists)('getSeriesEvents', 'seriesId', seriesId);
|
|
70054
|
+
const localVarPath = `/series/{seriesId}/events`
|
|
70055
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
|
|
70056
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70057
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
70058
|
+
let baseOptions;
|
|
70059
|
+
if (configuration) {
|
|
70060
|
+
baseOptions = configuration.baseOptions;
|
|
70061
|
+
}
|
|
70062
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
70063
|
+
const localVarHeaderParameter = {};
|
|
70064
|
+
const localVarQueryParameter = {};
|
|
70065
|
+
// authentication ApiKeyAuth required
|
|
70066
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
70067
|
+
// authentication OrganizationId required
|
|
70068
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
70069
|
+
if (page !== undefined) {
|
|
70070
|
+
localVarQueryParameter['page'] = page;
|
|
70071
|
+
}
|
|
70072
|
+
if (pageSize !== undefined) {
|
|
70073
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
70074
|
+
}
|
|
70075
|
+
if (orderBy !== undefined) {
|
|
70076
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
70077
|
+
}
|
|
70078
|
+
if (search !== undefined) {
|
|
70079
|
+
localVarQueryParameter['search'] = search;
|
|
70080
|
+
}
|
|
70081
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70082
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
70083
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70084
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70085
|
+
return {
|
|
70086
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
70087
|
+
options: localVarRequestOptions,
|
|
70088
|
+
};
|
|
70089
|
+
}),
|
|
70090
|
+
/**
|
|
70091
|
+
* Get Series List endpoint
|
|
70092
|
+
* @summary Get Series List
|
|
70093
|
+
* @param {number} [page] Page number
|
|
70094
|
+
* @param {number} [pageSize] Number of items per page
|
|
70095
|
+
* @param {string} [orderBy] Field to order by
|
|
70096
|
+
* @param {string} [search] Search query
|
|
70097
|
+
* @param {*} [options] Override http request option.
|
|
70098
|
+
* @throws {RequiredError}
|
|
70099
|
+
*/
|
|
70100
|
+
getSeriesList: (page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (page, pageSize, orderBy, search, options = {}) {
|
|
70101
|
+
const localVarPath = `/series`;
|
|
70102
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70103
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
70104
|
+
let baseOptions;
|
|
70105
|
+
if (configuration) {
|
|
70106
|
+
baseOptions = configuration.baseOptions;
|
|
70107
|
+
}
|
|
70108
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
70109
|
+
const localVarHeaderParameter = {};
|
|
70110
|
+
const localVarQueryParameter = {};
|
|
70111
|
+
// authentication ApiKeyAuth required
|
|
70112
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
70113
|
+
// authentication OrganizationId required
|
|
70114
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
70115
|
+
if (page !== undefined) {
|
|
70116
|
+
localVarQueryParameter['page'] = page;
|
|
70117
|
+
}
|
|
70118
|
+
if (pageSize !== undefined) {
|
|
70119
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
70120
|
+
}
|
|
70121
|
+
if (orderBy !== undefined) {
|
|
70122
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
70123
|
+
}
|
|
70124
|
+
if (search !== undefined) {
|
|
70125
|
+
localVarQueryParameter['search'] = search;
|
|
70126
|
+
}
|
|
70127
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70128
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
70129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70130
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70131
|
+
return {
|
|
70132
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
70133
|
+
options: localVarRequestOptions,
|
|
70134
|
+
};
|
|
70135
|
+
}),
|
|
70136
|
+
/**
|
|
70137
|
+
* Remove Series Event endpoint
|
|
70138
|
+
* @summary Remove Series Event
|
|
70139
|
+
* @param {string} seriesId The series identifier
|
|
70140
|
+
* @param {string} eventId The event identifier
|
|
70141
|
+
* @param {*} [options] Override http request option.
|
|
70142
|
+
* @throws {RequiredError}
|
|
70143
|
+
*/
|
|
70144
|
+
removeSeriesEvent: (seriesId_1, eventId_1, ...args_1) => __awaiter(this, [seriesId_1, eventId_1, ...args_1], void 0, function* (seriesId, eventId, options = {}) {
|
|
70145
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
70146
|
+
(0, common_1.assertParamExists)('removeSeriesEvent', 'seriesId', seriesId);
|
|
70147
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
70148
|
+
(0, common_1.assertParamExists)('removeSeriesEvent', 'eventId', eventId);
|
|
70149
|
+
const localVarPath = `/series/{seriesId}/events/{eventId}`
|
|
70150
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
|
|
70151
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
70152
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70153
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
70154
|
+
let baseOptions;
|
|
70155
|
+
if (configuration) {
|
|
70156
|
+
baseOptions = configuration.baseOptions;
|
|
70157
|
+
}
|
|
70158
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
70159
|
+
const localVarHeaderParameter = {};
|
|
70160
|
+
const localVarQueryParameter = {};
|
|
70161
|
+
// authentication ApiKeyAuth required
|
|
70162
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
70163
|
+
// authentication OrganizationId required
|
|
70164
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
70165
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70166
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
70167
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70168
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70169
|
+
return {
|
|
70170
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
70171
|
+
options: localVarRequestOptions,
|
|
70172
|
+
};
|
|
70173
|
+
}),
|
|
70174
|
+
/**
|
|
70175
|
+
* Update Series endpoint
|
|
70176
|
+
* @summary Update Series
|
|
70177
|
+
* @param {string} seriesId The series identifier
|
|
70178
|
+
* @param {SeriesUpdateInputs} series Filter by series
|
|
70179
|
+
* @param {*} [options] Override http request option.
|
|
70180
|
+
* @throws {RequiredError}
|
|
70181
|
+
*/
|
|
70182
|
+
updateSeries: (seriesId_1, series_1, ...args_1) => __awaiter(this, [seriesId_1, series_1, ...args_1], void 0, function* (seriesId, series, options = {}) {
|
|
70183
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
70184
|
+
(0, common_1.assertParamExists)('updateSeries', 'seriesId', seriesId);
|
|
70185
|
+
// verify required parameter 'series' is not null or undefined
|
|
70186
|
+
(0, common_1.assertParamExists)('updateSeries', 'series', series);
|
|
70187
|
+
const localVarPath = `/series/{seriesId}`
|
|
70188
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
|
|
70189
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70190
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
70191
|
+
let baseOptions;
|
|
70192
|
+
if (configuration) {
|
|
70193
|
+
baseOptions = configuration.baseOptions;
|
|
70194
|
+
}
|
|
70195
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
70196
|
+
const localVarHeaderParameter = {};
|
|
70197
|
+
const localVarQueryParameter = {};
|
|
70198
|
+
// authentication ApiKeyAuth required
|
|
70199
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
70200
|
+
// authentication OrganizationId required
|
|
70201
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
70202
|
+
if (series !== undefined) {
|
|
70203
|
+
for (const [key, value] of Object.entries(series)) {
|
|
70204
|
+
localVarQueryParameter[key] = value;
|
|
70205
|
+
}
|
|
70206
|
+
}
|
|
70207
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70208
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
70209
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70210
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70211
|
+
return {
|
|
70212
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
70213
|
+
options: localVarRequestOptions,
|
|
70214
|
+
};
|
|
70215
|
+
}),
|
|
70216
|
+
};
|
|
70217
|
+
};
|
|
70218
|
+
exports.SeriesApiAxiosParamCreator = SeriesApiAxiosParamCreator;
|
|
70219
|
+
/**
|
|
70220
|
+
* SeriesApi - functional programming interface
|
|
70221
|
+
*/
|
|
70222
|
+
const SeriesApiFp = function (configuration) {
|
|
70223
|
+
const localVarAxiosParamCreator = (0, exports.SeriesApiAxiosParamCreator)(configuration);
|
|
70224
|
+
return {
|
|
70225
|
+
/**
|
|
70226
|
+
* Add Series Event endpoint
|
|
70227
|
+
* @summary Add Series Event
|
|
70228
|
+
* @param {string} seriesId The series identifier
|
|
70229
|
+
* @param {string} eventId The event identifier
|
|
70230
|
+
* @param {*} [options] Override http request option.
|
|
70231
|
+
* @throws {RequiredError}
|
|
70232
|
+
*/
|
|
70233
|
+
addSeriesEvent(seriesId, eventId, options) {
|
|
70234
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70235
|
+
var _a, _b, _c;
|
|
70236
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addSeriesEvent(seriesId, eventId, options);
|
|
70237
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
70238
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesApi.addSeriesEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
70239
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70240
|
+
});
|
|
70241
|
+
},
|
|
70242
|
+
/**
|
|
70243
|
+
* Create Series endpoint
|
|
70244
|
+
* @summary Create Series
|
|
70245
|
+
* @param {SeriesCreateInputs} seriesCreateInputs
|
|
70246
|
+
* @param {*} [options] Override http request option.
|
|
70247
|
+
* @throws {RequiredError}
|
|
70248
|
+
*/
|
|
70249
|
+
createSeries(seriesCreateInputs, options) {
|
|
70250
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70251
|
+
var _a, _b, _c;
|
|
70252
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSeries(seriesCreateInputs, options);
|
|
70253
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
70254
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesApi.createSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
70255
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70256
|
+
});
|
|
70257
|
+
},
|
|
70258
|
+
/**
|
|
70259
|
+
* Delete Series endpoint
|
|
70260
|
+
* @summary Delete Series
|
|
70261
|
+
* @param {string} seriesId The series identifier
|
|
70262
|
+
* @param {*} [options] Override http request option.
|
|
70263
|
+
* @throws {RequiredError}
|
|
70264
|
+
*/
|
|
70265
|
+
deleteSeries(seriesId, options) {
|
|
70266
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70267
|
+
var _a, _b, _c;
|
|
70268
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSeries(seriesId, options);
|
|
70269
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
70270
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesApi.deleteSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
70271
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70272
|
+
});
|
|
70273
|
+
},
|
|
70274
|
+
/**
|
|
70275
|
+
* Get Series endpoint
|
|
70276
|
+
* @summary Get Series
|
|
70277
|
+
* @param {string} seriesId The series identifier
|
|
70278
|
+
* @param {*} [options] Override http request option.
|
|
70279
|
+
* @throws {RequiredError}
|
|
70280
|
+
*/
|
|
70281
|
+
getSeries(seriesId, options) {
|
|
70282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70283
|
+
var _a, _b, _c;
|
|
70284
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeries(seriesId, options);
|
|
70285
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
70286
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesApi.getSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
70287
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70288
|
+
});
|
|
70289
|
+
},
|
|
70290
|
+
/**
|
|
70291
|
+
* Get Series Events endpoint
|
|
70292
|
+
* @summary Get Series Events
|
|
70293
|
+
* @param {string} seriesId The series identifier
|
|
70294
|
+
* @param {number} [page] Page number
|
|
70295
|
+
* @param {number} [pageSize] Number of items per page
|
|
70296
|
+
* @param {string} [orderBy] Field to order by
|
|
70297
|
+
* @param {string} [search] Search query
|
|
70298
|
+
* @param {*} [options] Override http request option.
|
|
70299
|
+
* @throws {RequiredError}
|
|
70300
|
+
*/
|
|
70301
|
+
getSeriesEvents(seriesId, page, pageSize, orderBy, search, options) {
|
|
70302
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70303
|
+
var _a, _b, _c;
|
|
70304
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesEvents(seriesId, page, pageSize, orderBy, search, options);
|
|
70305
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
70306
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesApi.getSeriesEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
70307
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70308
|
+
});
|
|
70309
|
+
},
|
|
70310
|
+
/**
|
|
70311
|
+
* Get Series List endpoint
|
|
70312
|
+
* @summary Get Series List
|
|
70313
|
+
* @param {number} [page] Page number
|
|
70314
|
+
* @param {number} [pageSize] Number of items per page
|
|
70315
|
+
* @param {string} [orderBy] Field to order by
|
|
70316
|
+
* @param {string} [search] Search query
|
|
70317
|
+
* @param {*} [options] Override http request option.
|
|
70318
|
+
* @throws {RequiredError}
|
|
70319
|
+
*/
|
|
70320
|
+
getSeriesList(page, pageSize, orderBy, search, options) {
|
|
70321
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70322
|
+
var _a, _b, _c;
|
|
70323
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesList(page, pageSize, orderBy, search, options);
|
|
70324
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
70325
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesApi.getSeriesList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
70326
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70327
|
+
});
|
|
70328
|
+
},
|
|
70329
|
+
/**
|
|
70330
|
+
* Remove Series Event endpoint
|
|
70331
|
+
* @summary Remove Series Event
|
|
70332
|
+
* @param {string} seriesId The series identifier
|
|
70333
|
+
* @param {string} eventId The event identifier
|
|
70334
|
+
* @param {*} [options] Override http request option.
|
|
70335
|
+
* @throws {RequiredError}
|
|
70336
|
+
*/
|
|
70337
|
+
removeSeriesEvent(seriesId, eventId, options) {
|
|
70338
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70339
|
+
var _a, _b, _c;
|
|
70340
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeSeriesEvent(seriesId, eventId, options);
|
|
70341
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
70342
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesApi.removeSeriesEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
70343
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70344
|
+
});
|
|
70345
|
+
},
|
|
70346
|
+
/**
|
|
70347
|
+
* Update Series endpoint
|
|
70348
|
+
* @summary Update Series
|
|
70349
|
+
* @param {string} seriesId The series identifier
|
|
70350
|
+
* @param {SeriesUpdateInputs} series Filter by series
|
|
70351
|
+
* @param {*} [options] Override http request option.
|
|
70352
|
+
* @throws {RequiredError}
|
|
70353
|
+
*/
|
|
70354
|
+
updateSeries(seriesId, series, options) {
|
|
70355
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70356
|
+
var _a, _b, _c;
|
|
70357
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSeries(seriesId, series, options);
|
|
70358
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
70359
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesApi.updateSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
70360
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70361
|
+
});
|
|
70362
|
+
},
|
|
70363
|
+
};
|
|
70364
|
+
};
|
|
70365
|
+
exports.SeriesApiFp = SeriesApiFp;
|
|
70366
|
+
/**
|
|
70367
|
+
* SeriesApi - factory interface
|
|
70368
|
+
*/
|
|
70369
|
+
const SeriesApiFactory = function (configuration, basePath, axios) {
|
|
70370
|
+
const localVarFp = (0, exports.SeriesApiFp)(configuration);
|
|
70371
|
+
return {
|
|
70372
|
+
/**
|
|
70373
|
+
* Add Series Event endpoint
|
|
70374
|
+
* @summary Add Series Event
|
|
70375
|
+
* @param {SeriesApiAddSeriesEventRequest} requestParameters Request parameters.
|
|
70376
|
+
* @param {*} [options] Override http request option.
|
|
70377
|
+
* @throws {RequiredError}
|
|
70378
|
+
*/
|
|
70379
|
+
addSeriesEvent(requestParameters, options) {
|
|
70380
|
+
return localVarFp.addSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
70381
|
+
},
|
|
70382
|
+
/**
|
|
70383
|
+
* Create Series endpoint
|
|
70384
|
+
* @summary Create Series
|
|
70385
|
+
* @param {SeriesApiCreateSeriesRequest} requestParameters Request parameters.
|
|
70386
|
+
* @param {*} [options] Override http request option.
|
|
70387
|
+
* @throws {RequiredError}
|
|
70388
|
+
*/
|
|
70389
|
+
createSeries(requestParameters, options) {
|
|
70390
|
+
return localVarFp.createSeries(requestParameters.seriesCreateInputs, options).then((request) => request(axios, basePath));
|
|
70391
|
+
},
|
|
70392
|
+
/**
|
|
70393
|
+
* Delete Series endpoint
|
|
70394
|
+
* @summary Delete Series
|
|
70395
|
+
* @param {SeriesApiDeleteSeriesRequest} requestParameters Request parameters.
|
|
70396
|
+
* @param {*} [options] Override http request option.
|
|
70397
|
+
* @throws {RequiredError}
|
|
70398
|
+
*/
|
|
70399
|
+
deleteSeries(requestParameters, options) {
|
|
70400
|
+
return localVarFp.deleteSeries(requestParameters.seriesId, options).then((request) => request(axios, basePath));
|
|
70401
|
+
},
|
|
70402
|
+
/**
|
|
70403
|
+
* Get Series endpoint
|
|
70404
|
+
* @summary Get Series
|
|
70405
|
+
* @param {SeriesApiGetSeriesRequest} requestParameters Request parameters.
|
|
70406
|
+
* @param {*} [options] Override http request option.
|
|
70407
|
+
* @throws {RequiredError}
|
|
70408
|
+
*/
|
|
70409
|
+
getSeries(requestParameters, options) {
|
|
70410
|
+
return localVarFp.getSeries(requestParameters.seriesId, options).then((request) => request(axios, basePath));
|
|
70411
|
+
},
|
|
70412
|
+
/**
|
|
70413
|
+
* Get Series Events endpoint
|
|
70414
|
+
* @summary Get Series Events
|
|
70415
|
+
* @param {SeriesApiGetSeriesEventsRequest} requestParameters Request parameters.
|
|
70416
|
+
* @param {*} [options] Override http request option.
|
|
70417
|
+
* @throws {RequiredError}
|
|
70418
|
+
*/
|
|
70419
|
+
getSeriesEvents(requestParameters, options) {
|
|
70420
|
+
return localVarFp.getSeriesEvents(requestParameters.seriesId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
70421
|
+
},
|
|
70422
|
+
/**
|
|
70423
|
+
* Get Series List endpoint
|
|
70424
|
+
* @summary Get Series List
|
|
70425
|
+
* @param {SeriesApiGetSeriesListRequest} requestParameters Request parameters.
|
|
70426
|
+
* @param {*} [options] Override http request option.
|
|
70427
|
+
* @throws {RequiredError}
|
|
70428
|
+
*/
|
|
70429
|
+
getSeriesList(requestParameters = {}, options) {
|
|
70430
|
+
return localVarFp.getSeriesList(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
70431
|
+
},
|
|
70432
|
+
/**
|
|
70433
|
+
* Remove Series Event endpoint
|
|
70434
|
+
* @summary Remove Series Event
|
|
70435
|
+
* @param {SeriesApiRemoveSeriesEventRequest} requestParameters Request parameters.
|
|
70436
|
+
* @param {*} [options] Override http request option.
|
|
70437
|
+
* @throws {RequiredError}
|
|
70438
|
+
*/
|
|
70439
|
+
removeSeriesEvent(requestParameters, options) {
|
|
70440
|
+
return localVarFp.removeSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
70441
|
+
},
|
|
70442
|
+
/**
|
|
70443
|
+
* Update Series endpoint
|
|
70444
|
+
* @summary Update Series
|
|
70445
|
+
* @param {SeriesApiUpdateSeriesRequest} requestParameters Request parameters.
|
|
70446
|
+
* @param {*} [options] Override http request option.
|
|
70447
|
+
* @throws {RequiredError}
|
|
70448
|
+
*/
|
|
70449
|
+
updateSeries(requestParameters, options) {
|
|
70450
|
+
return localVarFp.updateSeries(requestParameters.seriesId, requestParameters.series, options).then((request) => request(axios, basePath));
|
|
70451
|
+
},
|
|
70452
|
+
};
|
|
70453
|
+
};
|
|
70454
|
+
exports.SeriesApiFactory = SeriesApiFactory;
|
|
70455
|
+
/**
|
|
70456
|
+
* SeriesApi - object-oriented interface
|
|
70457
|
+
*/
|
|
70458
|
+
class SeriesApi extends base_1.BaseAPI {
|
|
70459
|
+
/**
|
|
70460
|
+
* Add Series Event endpoint
|
|
70461
|
+
* @summary Add Series Event
|
|
70462
|
+
* @param {SeriesApiAddSeriesEventRequest} requestParameters Request parameters.
|
|
70463
|
+
* @param {*} [options] Override http request option.
|
|
70464
|
+
* @throws {RequiredError}
|
|
70465
|
+
*/
|
|
70466
|
+
addSeriesEvent(requestParameters, options) {
|
|
70467
|
+
return (0, exports.SeriesApiFp)(this.configuration).addSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
70468
|
+
}
|
|
70469
|
+
/**
|
|
70470
|
+
* Create Series endpoint
|
|
70471
|
+
* @summary Create Series
|
|
70472
|
+
* @param {SeriesApiCreateSeriesRequest} requestParameters Request parameters.
|
|
70473
|
+
* @param {*} [options] Override http request option.
|
|
70474
|
+
* @throws {RequiredError}
|
|
70475
|
+
*/
|
|
70476
|
+
createSeries(requestParameters, options) {
|
|
70477
|
+
return (0, exports.SeriesApiFp)(this.configuration).createSeries(requestParameters.seriesCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
70478
|
+
}
|
|
70479
|
+
/**
|
|
70480
|
+
* Delete Series endpoint
|
|
70481
|
+
* @summary Delete Series
|
|
70482
|
+
* @param {SeriesApiDeleteSeriesRequest} requestParameters Request parameters.
|
|
70483
|
+
* @param {*} [options] Override http request option.
|
|
70484
|
+
* @throws {RequiredError}
|
|
70485
|
+
*/
|
|
70486
|
+
deleteSeries(requestParameters, options) {
|
|
70487
|
+
return (0, exports.SeriesApiFp)(this.configuration).deleteSeries(requestParameters.seriesId, options).then((request) => request(this.axios, this.basePath));
|
|
70488
|
+
}
|
|
70489
|
+
/**
|
|
70490
|
+
* Get Series endpoint
|
|
70491
|
+
* @summary Get Series
|
|
70492
|
+
* @param {SeriesApiGetSeriesRequest} requestParameters Request parameters.
|
|
70493
|
+
* @param {*} [options] Override http request option.
|
|
70494
|
+
* @throws {RequiredError}
|
|
70495
|
+
*/
|
|
70496
|
+
getSeries(requestParameters, options) {
|
|
70497
|
+
return (0, exports.SeriesApiFp)(this.configuration).getSeries(requestParameters.seriesId, options).then((request) => request(this.axios, this.basePath));
|
|
70498
|
+
}
|
|
70499
|
+
/**
|
|
70500
|
+
* Get Series Events endpoint
|
|
70501
|
+
* @summary Get Series Events
|
|
70502
|
+
* @param {SeriesApiGetSeriesEventsRequest} requestParameters Request parameters.
|
|
70503
|
+
* @param {*} [options] Override http request option.
|
|
70504
|
+
* @throws {RequiredError}
|
|
70505
|
+
*/
|
|
70506
|
+
getSeriesEvents(requestParameters, options) {
|
|
70507
|
+
return (0, exports.SeriesApiFp)(this.configuration).getSeriesEvents(requestParameters.seriesId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
70508
|
+
}
|
|
70509
|
+
/**
|
|
70510
|
+
* Get Series List endpoint
|
|
70511
|
+
* @summary Get Series List
|
|
70512
|
+
* @param {SeriesApiGetSeriesListRequest} requestParameters Request parameters.
|
|
70513
|
+
* @param {*} [options] Override http request option.
|
|
70514
|
+
* @throws {RequiredError}
|
|
70515
|
+
*/
|
|
70516
|
+
getSeriesList(requestParameters = {}, options) {
|
|
70517
|
+
return (0, exports.SeriesApiFp)(this.configuration).getSeriesList(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
70518
|
+
}
|
|
70519
|
+
/**
|
|
70520
|
+
* Remove Series Event endpoint
|
|
70521
|
+
* @summary Remove Series Event
|
|
70522
|
+
* @param {SeriesApiRemoveSeriesEventRequest} requestParameters Request parameters.
|
|
70523
|
+
* @param {*} [options] Override http request option.
|
|
70524
|
+
* @throws {RequiredError}
|
|
70525
|
+
*/
|
|
70526
|
+
removeSeriesEvent(requestParameters, options) {
|
|
70527
|
+
return (0, exports.SeriesApiFp)(this.configuration).removeSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
70528
|
+
}
|
|
70529
|
+
/**
|
|
70530
|
+
* Update Series endpoint
|
|
70531
|
+
* @summary Update Series
|
|
70532
|
+
* @param {SeriesApiUpdateSeriesRequest} requestParameters Request parameters.
|
|
70533
|
+
* @param {*} [options] Override http request option.
|
|
70534
|
+
* @throws {RequiredError}
|
|
70535
|
+
*/
|
|
70536
|
+
updateSeries(requestParameters, options) {
|
|
70537
|
+
return (0, exports.SeriesApiFp)(this.configuration).updateSeries(requestParameters.seriesId, requestParameters.series, options).then((request) => request(this.axios, this.basePath));
|
|
70538
|
+
}
|
|
70539
|
+
}
|
|
70540
|
+
exports.SeriesApi = SeriesApi;
|
|
70541
|
+
/**
|
|
70542
|
+
* SeriesRegistrationsApi - axios parameter creator
|
|
70543
|
+
*/
|
|
70544
|
+
const SeriesRegistrationsApiAxiosParamCreator = function (configuration) {
|
|
70545
|
+
return {
|
|
70546
|
+
/**
|
|
70547
|
+
* Create Series Registration endpoint
|
|
70548
|
+
* @summary Create Series Registration
|
|
70549
|
+
* @param {string} seriesId The series identifier
|
|
70550
|
+
* @param {SeriesRegistrationCreateInputs} seriesRegistrationCreateInputs
|
|
70551
|
+
* @param {*} [options] Override http request option.
|
|
70552
|
+
* @throws {RequiredError}
|
|
70553
|
+
*/
|
|
70554
|
+
createSeriesRegistration: (seriesId_1, seriesRegistrationCreateInputs_1, ...args_1) => __awaiter(this, [seriesId_1, seriesRegistrationCreateInputs_1, ...args_1], void 0, function* (seriesId, seriesRegistrationCreateInputs, options = {}) {
|
|
70555
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
70556
|
+
(0, common_1.assertParamExists)('createSeriesRegistration', 'seriesId', seriesId);
|
|
70557
|
+
// verify required parameter 'seriesRegistrationCreateInputs' is not null or undefined
|
|
70558
|
+
(0, common_1.assertParamExists)('createSeriesRegistration', 'seriesRegistrationCreateInputs', seriesRegistrationCreateInputs);
|
|
70559
|
+
const localVarPath = `/series/{seriesId}/registrations`
|
|
70560
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
|
|
70561
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70562
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
70563
|
+
let baseOptions;
|
|
70564
|
+
if (configuration) {
|
|
70565
|
+
baseOptions = configuration.baseOptions;
|
|
70566
|
+
}
|
|
70567
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
70568
|
+
const localVarHeaderParameter = {};
|
|
70569
|
+
const localVarQueryParameter = {};
|
|
70570
|
+
// authentication ApiKeyAuth required
|
|
70571
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
70572
|
+
// authentication OrganizationId required
|
|
70573
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
70574
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
70575
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70576
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
70577
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70578
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70579
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(seriesRegistrationCreateInputs, localVarRequestOptions, configuration);
|
|
70580
|
+
return {
|
|
70581
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
70582
|
+
options: localVarRequestOptions,
|
|
70583
|
+
};
|
|
70584
|
+
}),
|
|
70585
|
+
/**
|
|
70586
|
+
* Delete Series Registration endpoint
|
|
70587
|
+
* @summary Delete Series Registration
|
|
70588
|
+
* @param {string} seriesId The series identifier
|
|
70589
|
+
* @param {string} registrationId The registration identifier
|
|
70590
|
+
* @param {*} [options] Override http request option.
|
|
70591
|
+
* @throws {RequiredError}
|
|
70592
|
+
*/
|
|
70593
|
+
deleteSeriesRegistration: (seriesId_1, registrationId_1, ...args_1) => __awaiter(this, [seriesId_1, registrationId_1, ...args_1], void 0, function* (seriesId, registrationId, options = {}) {
|
|
70594
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
70595
|
+
(0, common_1.assertParamExists)('deleteSeriesRegistration', 'seriesId', seriesId);
|
|
70596
|
+
// verify required parameter 'registrationId' is not null or undefined
|
|
70597
|
+
(0, common_1.assertParamExists)('deleteSeriesRegistration', 'registrationId', registrationId);
|
|
70598
|
+
const localVarPath = `/series/{seriesId}/registrations/{registrationId}`
|
|
70599
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
|
|
70600
|
+
.replace(`{${"registrationId"}}`, encodeURIComponent(String(registrationId)));
|
|
70601
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70602
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
70603
|
+
let baseOptions;
|
|
70604
|
+
if (configuration) {
|
|
70605
|
+
baseOptions = configuration.baseOptions;
|
|
70606
|
+
}
|
|
70607
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
70608
|
+
const localVarHeaderParameter = {};
|
|
70609
|
+
const localVarQueryParameter = {};
|
|
70610
|
+
// authentication ApiKeyAuth required
|
|
70611
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
70612
|
+
// authentication OrganizationId required
|
|
70613
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
70614
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70615
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
70616
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70617
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70618
|
+
return {
|
|
70619
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
70620
|
+
options: localVarRequestOptions,
|
|
70621
|
+
};
|
|
70622
|
+
}),
|
|
70623
|
+
/**
|
|
70624
|
+
* Get Series Registration endpoint
|
|
70625
|
+
* @summary Get Series Registration
|
|
70626
|
+
* @param {string} seriesId The series identifier
|
|
70627
|
+
* @param {string} registrationId The registration identifier
|
|
70628
|
+
* @param {*} [options] Override http request option.
|
|
70629
|
+
* @throws {RequiredError}
|
|
70630
|
+
*/
|
|
70631
|
+
getSeriesRegistration: (seriesId_1, registrationId_1, ...args_1) => __awaiter(this, [seriesId_1, registrationId_1, ...args_1], void 0, function* (seriesId, registrationId, options = {}) {
|
|
70632
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
70633
|
+
(0, common_1.assertParamExists)('getSeriesRegistration', 'seriesId', seriesId);
|
|
70634
|
+
// verify required parameter 'registrationId' is not null or undefined
|
|
70635
|
+
(0, common_1.assertParamExists)('getSeriesRegistration', 'registrationId', registrationId);
|
|
70636
|
+
const localVarPath = `/series/{seriesId}/registrations/{registrationId}`
|
|
70637
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
|
|
70638
|
+
.replace(`{${"registrationId"}}`, encodeURIComponent(String(registrationId)));
|
|
70639
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70640
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
70641
|
+
let baseOptions;
|
|
70642
|
+
if (configuration) {
|
|
70643
|
+
baseOptions = configuration.baseOptions;
|
|
70644
|
+
}
|
|
70645
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
70646
|
+
const localVarHeaderParameter = {};
|
|
70647
|
+
const localVarQueryParameter = {};
|
|
70648
|
+
// authentication ApiKeyAuth required
|
|
70649
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
70650
|
+
// authentication OrganizationId required
|
|
70651
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
70652
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70653
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
70654
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70655
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70656
|
+
return {
|
|
70657
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
70658
|
+
options: localVarRequestOptions,
|
|
70659
|
+
};
|
|
70660
|
+
}),
|
|
70661
|
+
/**
|
|
70662
|
+
* Get Series Registration Passes endpoint
|
|
70663
|
+
* @summary Get Series Registration Passes
|
|
69089
70664
|
* @param {string} seriesId The series identifier
|
|
69090
|
-
* @param {
|
|
69091
|
-
* @param {number} [pageSize] Number of items per page
|
|
69092
|
-
* @param {string} [orderBy] Field to order by
|
|
69093
|
-
* @param {string} [search] Search query
|
|
70665
|
+
* @param {string} registrationId The registration identifier
|
|
69094
70666
|
* @param {*} [options] Override http request option.
|
|
69095
70667
|
* @throws {RequiredError}
|
|
69096
70668
|
*/
|
|
69097
|
-
|
|
70669
|
+
getSeriesRegistrationPasses: (seriesId_1, registrationId_1, ...args_1) => __awaiter(this, [seriesId_1, registrationId_1, ...args_1], void 0, function* (seriesId, registrationId, options = {}) {
|
|
69098
70670
|
// verify required parameter 'seriesId' is not null or undefined
|
|
69099
|
-
(0, common_1.assertParamExists)('
|
|
69100
|
-
|
|
69101
|
-
|
|
70671
|
+
(0, common_1.assertParamExists)('getSeriesRegistrationPasses', 'seriesId', seriesId);
|
|
70672
|
+
// verify required parameter 'registrationId' is not null or undefined
|
|
70673
|
+
(0, common_1.assertParamExists)('getSeriesRegistrationPasses', 'registrationId', registrationId);
|
|
70674
|
+
const localVarPath = `/series/{seriesId}/registrations/{registrationId}/passes`
|
|
70675
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
|
|
70676
|
+
.replace(`{${"registrationId"}}`, encodeURIComponent(String(registrationId)));
|
|
69102
70677
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
69103
70678
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
69104
70679
|
let baseOptions;
|
|
@@ -69112,18 +70687,6 @@ const SeriesApiAxiosParamCreator = function (configuration) {
|
|
|
69112
70687
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
69113
70688
|
// authentication OrganizationId required
|
|
69114
70689
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
69115
|
-
if (page !== undefined) {
|
|
69116
|
-
localVarQueryParameter['page'] = page;
|
|
69117
|
-
}
|
|
69118
|
-
if (pageSize !== undefined) {
|
|
69119
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
69120
|
-
}
|
|
69121
|
-
if (orderBy !== undefined) {
|
|
69122
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
69123
|
-
}
|
|
69124
|
-
if (search !== undefined) {
|
|
69125
|
-
localVarQueryParameter['search'] = search;
|
|
69126
|
-
}
|
|
69127
70690
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
69128
70691
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
69129
70692
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -69134,8 +70697,10 @@ const SeriesApiAxiosParamCreator = function (configuration) {
|
|
|
69134
70697
|
};
|
|
69135
70698
|
}),
|
|
69136
70699
|
/**
|
|
69137
|
-
* Get Series
|
|
69138
|
-
* @summary Get Series
|
|
70700
|
+
* Get Series Registrations endpoint
|
|
70701
|
+
* @summary Get Series Registrations
|
|
70702
|
+
* @param {string} seriesId The series identifier
|
|
70703
|
+
* @param {PurchaseStatus} [status] Filter by status
|
|
69139
70704
|
* @param {number} [page] Page number
|
|
69140
70705
|
* @param {number} [pageSize] Number of items per page
|
|
69141
70706
|
* @param {string} [orderBy] Field to order by
|
|
@@ -69143,8 +70708,11 @@ const SeriesApiAxiosParamCreator = function (configuration) {
|
|
|
69143
70708
|
* @param {*} [options] Override http request option.
|
|
69144
70709
|
* @throws {RequiredError}
|
|
69145
70710
|
*/
|
|
69146
|
-
|
|
69147
|
-
|
|
70711
|
+
getSeriesRegistrations: (seriesId_1, status_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [seriesId_1, status_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (seriesId, status, page, pageSize, orderBy, search, options = {}) {
|
|
70712
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
70713
|
+
(0, common_1.assertParamExists)('getSeriesRegistrations', 'seriesId', seriesId);
|
|
70714
|
+
const localVarPath = `/series/{seriesId}/registrations`
|
|
70715
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
|
|
69148
70716
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
69149
70717
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
69150
70718
|
let baseOptions;
|
|
@@ -69158,6 +70726,9 @@ const SeriesApiAxiosParamCreator = function (configuration) {
|
|
|
69158
70726
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
69159
70727
|
// authentication OrganizationId required
|
|
69160
70728
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
70729
|
+
if (status !== undefined) {
|
|
70730
|
+
localVarQueryParameter['status'] = status;
|
|
70731
|
+
}
|
|
69161
70732
|
if (page !== undefined) {
|
|
69162
70733
|
localVarQueryParameter['page'] = page;
|
|
69163
70734
|
}
|
|
@@ -69180,58 +70751,24 @@ const SeriesApiAxiosParamCreator = function (configuration) {
|
|
|
69180
70751
|
};
|
|
69181
70752
|
}),
|
|
69182
70753
|
/**
|
|
69183
|
-
*
|
|
69184
|
-
* @summary
|
|
70754
|
+
* Update Series Registration endpoint
|
|
70755
|
+
* @summary Update Series Registration
|
|
69185
70756
|
* @param {string} seriesId The series identifier
|
|
69186
|
-
* @param {string}
|
|
70757
|
+
* @param {string} registrationId The registration identifier
|
|
70758
|
+
* @param {SeriesRegistrationUpdateInputs} seriesRegistrationUpdateInputs
|
|
69187
70759
|
* @param {*} [options] Override http request option.
|
|
69188
70760
|
* @throws {RequiredError}
|
|
69189
70761
|
*/
|
|
69190
|
-
|
|
70762
|
+
updateSeriesRegistration: (seriesId_1, registrationId_1, seriesRegistrationUpdateInputs_1, ...args_1) => __awaiter(this, [seriesId_1, registrationId_1, seriesRegistrationUpdateInputs_1, ...args_1], void 0, function* (seriesId, registrationId, seriesRegistrationUpdateInputs, options = {}) {
|
|
69191
70763
|
// verify required parameter 'seriesId' is not null or undefined
|
|
69192
|
-
(0, common_1.assertParamExists)('
|
|
69193
|
-
// verify required parameter '
|
|
69194
|
-
(0, common_1.assertParamExists)('
|
|
69195
|
-
|
|
70764
|
+
(0, common_1.assertParamExists)('updateSeriesRegistration', 'seriesId', seriesId);
|
|
70765
|
+
// verify required parameter 'registrationId' is not null or undefined
|
|
70766
|
+
(0, common_1.assertParamExists)('updateSeriesRegistration', 'registrationId', registrationId);
|
|
70767
|
+
// verify required parameter 'seriesRegistrationUpdateInputs' is not null or undefined
|
|
70768
|
+
(0, common_1.assertParamExists)('updateSeriesRegistration', 'seriesRegistrationUpdateInputs', seriesRegistrationUpdateInputs);
|
|
70769
|
+
const localVarPath = `/series/{seriesId}/registrations/{registrationId}`
|
|
69196
70770
|
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
|
|
69197
|
-
.replace(`{${"
|
|
69198
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
69199
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
69200
|
-
let baseOptions;
|
|
69201
|
-
if (configuration) {
|
|
69202
|
-
baseOptions = configuration.baseOptions;
|
|
69203
|
-
}
|
|
69204
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
69205
|
-
const localVarHeaderParameter = {};
|
|
69206
|
-
const localVarQueryParameter = {};
|
|
69207
|
-
// authentication ApiKeyAuth required
|
|
69208
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
69209
|
-
// authentication OrganizationId required
|
|
69210
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
69211
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
69212
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
69213
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69214
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
69215
|
-
return {
|
|
69216
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
69217
|
-
options: localVarRequestOptions,
|
|
69218
|
-
};
|
|
69219
|
-
}),
|
|
69220
|
-
/**
|
|
69221
|
-
* Update Series endpoint
|
|
69222
|
-
* @summary Update Series
|
|
69223
|
-
* @param {string} seriesId The series identifier
|
|
69224
|
-
* @param {SeriesUpdateInputs} series Filter by series
|
|
69225
|
-
* @param {*} [options] Override http request option.
|
|
69226
|
-
* @throws {RequiredError}
|
|
69227
|
-
*/
|
|
69228
|
-
updateSeries: (seriesId_1, series_1, ...args_1) => __awaiter(this, [seriesId_1, series_1, ...args_1], void 0, function* (seriesId, series, options = {}) {
|
|
69229
|
-
// verify required parameter 'seriesId' is not null or undefined
|
|
69230
|
-
(0, common_1.assertParamExists)('updateSeries', 'seriesId', seriesId);
|
|
69231
|
-
// verify required parameter 'series' is not null or undefined
|
|
69232
|
-
(0, common_1.assertParamExists)('updateSeries', 'series', series);
|
|
69233
|
-
const localVarPath = `/series/{seriesId}`
|
|
69234
|
-
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
|
|
70771
|
+
.replace(`{${"registrationId"}}`, encodeURIComponent(String(registrationId)));
|
|
69235
70772
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
69236
70773
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
69237
70774
|
let baseOptions;
|
|
@@ -69245,15 +70782,12 @@ const SeriesApiAxiosParamCreator = function (configuration) {
|
|
|
69245
70782
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
69246
70783
|
// authentication OrganizationId required
|
|
69247
70784
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
69248
|
-
|
|
69249
|
-
for (const [key, value] of Object.entries(series)) {
|
|
69250
|
-
localVarQueryParameter[key] = value;
|
|
69251
|
-
}
|
|
69252
|
-
}
|
|
70785
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
69253
70786
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
69254
70787
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
69255
70788
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69256
70789
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70790
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(seriesRegistrationUpdateInputs, localVarRequestOptions, configuration);
|
|
69257
70791
|
return {
|
|
69258
70792
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
69259
70793
|
options: localVarRequestOptions,
|
|
@@ -69261,101 +70795,86 @@ const SeriesApiAxiosParamCreator = function (configuration) {
|
|
|
69261
70795
|
}),
|
|
69262
70796
|
};
|
|
69263
70797
|
};
|
|
69264
|
-
exports.
|
|
70798
|
+
exports.SeriesRegistrationsApiAxiosParamCreator = SeriesRegistrationsApiAxiosParamCreator;
|
|
69265
70799
|
/**
|
|
69266
|
-
*
|
|
70800
|
+
* SeriesRegistrationsApi - functional programming interface
|
|
69267
70801
|
*/
|
|
69268
|
-
const
|
|
69269
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
70802
|
+
const SeriesRegistrationsApiFp = function (configuration) {
|
|
70803
|
+
const localVarAxiosParamCreator = (0, exports.SeriesRegistrationsApiAxiosParamCreator)(configuration);
|
|
69270
70804
|
return {
|
|
69271
70805
|
/**
|
|
69272
|
-
*
|
|
69273
|
-
* @summary
|
|
70806
|
+
* Create Series Registration endpoint
|
|
70807
|
+
* @summary Create Series Registration
|
|
69274
70808
|
* @param {string} seriesId The series identifier
|
|
69275
|
-
* @param {
|
|
69276
|
-
* @param {*} [options] Override http request option.
|
|
69277
|
-
* @throws {RequiredError}
|
|
69278
|
-
*/
|
|
69279
|
-
addSeriesEvent(seriesId, eventId, options) {
|
|
69280
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
69281
|
-
var _a, _b, _c;
|
|
69282
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.addSeriesEvent(seriesId, eventId, options);
|
|
69283
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
69284
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesApi.addSeriesEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
69285
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69286
|
-
});
|
|
69287
|
-
},
|
|
69288
|
-
/**
|
|
69289
|
-
* Create Series endpoint
|
|
69290
|
-
* @summary Create Series
|
|
69291
|
-
* @param {SeriesCreateInputs} seriesCreateInputs
|
|
70809
|
+
* @param {SeriesRegistrationCreateInputs} seriesRegistrationCreateInputs
|
|
69292
70810
|
* @param {*} [options] Override http request option.
|
|
69293
70811
|
* @throws {RequiredError}
|
|
69294
70812
|
*/
|
|
69295
|
-
|
|
70813
|
+
createSeriesRegistration(seriesId, seriesRegistrationCreateInputs, options) {
|
|
69296
70814
|
return __awaiter(this, void 0, void 0, function* () {
|
|
69297
70815
|
var _a, _b, _c;
|
|
69298
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
70816
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSeriesRegistration(seriesId, seriesRegistrationCreateInputs, options);
|
|
69299
70817
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
69300
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
70818
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesRegistrationsApi.createSeriesRegistration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
69301
70819
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69302
70820
|
});
|
|
69303
70821
|
},
|
|
69304
70822
|
/**
|
|
69305
|
-
* Delete Series endpoint
|
|
69306
|
-
* @summary Delete Series
|
|
70823
|
+
* Delete Series Registration endpoint
|
|
70824
|
+
* @summary Delete Series Registration
|
|
69307
70825
|
* @param {string} seriesId The series identifier
|
|
70826
|
+
* @param {string} registrationId The registration identifier
|
|
69308
70827
|
* @param {*} [options] Override http request option.
|
|
69309
70828
|
* @throws {RequiredError}
|
|
69310
70829
|
*/
|
|
69311
|
-
|
|
70830
|
+
deleteSeriesRegistration(seriesId, registrationId, options) {
|
|
69312
70831
|
return __awaiter(this, void 0, void 0, function* () {
|
|
69313
70832
|
var _a, _b, _c;
|
|
69314
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
70833
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSeriesRegistration(seriesId, registrationId, options);
|
|
69315
70834
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
69316
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
70835
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesRegistrationsApi.deleteSeriesRegistration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
69317
70836
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69318
70837
|
});
|
|
69319
70838
|
},
|
|
69320
70839
|
/**
|
|
69321
|
-
* Get Series endpoint
|
|
69322
|
-
* @summary Get Series
|
|
70840
|
+
* Get Series Registration endpoint
|
|
70841
|
+
* @summary Get Series Registration
|
|
69323
70842
|
* @param {string} seriesId The series identifier
|
|
70843
|
+
* @param {string} registrationId The registration identifier
|
|
69324
70844
|
* @param {*} [options] Override http request option.
|
|
69325
70845
|
* @throws {RequiredError}
|
|
69326
70846
|
*/
|
|
69327
|
-
|
|
70847
|
+
getSeriesRegistration(seriesId, registrationId, options) {
|
|
69328
70848
|
return __awaiter(this, void 0, void 0, function* () {
|
|
69329
70849
|
var _a, _b, _c;
|
|
69330
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
70850
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesRegistration(seriesId, registrationId, options);
|
|
69331
70851
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
69332
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
70852
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesRegistrationsApi.getSeriesRegistration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
69333
70853
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69334
70854
|
});
|
|
69335
70855
|
},
|
|
69336
70856
|
/**
|
|
69337
|
-
* Get Series
|
|
69338
|
-
* @summary Get Series
|
|
70857
|
+
* Get Series Registration Passes endpoint
|
|
70858
|
+
* @summary Get Series Registration Passes
|
|
69339
70859
|
* @param {string} seriesId The series identifier
|
|
69340
|
-
* @param {
|
|
69341
|
-
* @param {number} [pageSize] Number of items per page
|
|
69342
|
-
* @param {string} [orderBy] Field to order by
|
|
69343
|
-
* @param {string} [search] Search query
|
|
70860
|
+
* @param {string} registrationId The registration identifier
|
|
69344
70861
|
* @param {*} [options] Override http request option.
|
|
69345
70862
|
* @throws {RequiredError}
|
|
69346
70863
|
*/
|
|
69347
|
-
|
|
70864
|
+
getSeriesRegistrationPasses(seriesId, registrationId, options) {
|
|
69348
70865
|
return __awaiter(this, void 0, void 0, function* () {
|
|
69349
70866
|
var _a, _b, _c;
|
|
69350
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
70867
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesRegistrationPasses(seriesId, registrationId, options);
|
|
69351
70868
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
69352
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
70869
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesRegistrationsApi.getSeriesRegistrationPasses']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
69353
70870
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69354
70871
|
});
|
|
69355
70872
|
},
|
|
69356
70873
|
/**
|
|
69357
|
-
* Get Series
|
|
69358
|
-
* @summary Get Series
|
|
70874
|
+
* Get Series Registrations endpoint
|
|
70875
|
+
* @summary Get Series Registrations
|
|
70876
|
+
* @param {string} seriesId The series identifier
|
|
70877
|
+
* @param {PurchaseStatus} [status] Filter by status
|
|
69359
70878
|
* @param {number} [page] Page number
|
|
69360
70879
|
* @param {number} [pageSize] Number of items per page
|
|
69361
70880
|
* @param {string} [orderBy] Field to order by
|
|
@@ -69363,227 +70882,171 @@ const SeriesApiFp = function (configuration) {
|
|
|
69363
70882
|
* @param {*} [options] Override http request option.
|
|
69364
70883
|
* @throws {RequiredError}
|
|
69365
70884
|
*/
|
|
69366
|
-
|
|
70885
|
+
getSeriesRegistrations(seriesId, status, page, pageSize, orderBy, search, options) {
|
|
69367
70886
|
return __awaiter(this, void 0, void 0, function* () {
|
|
69368
70887
|
var _a, _b, _c;
|
|
69369
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
70888
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesRegistrations(seriesId, status, page, pageSize, orderBy, search, options);
|
|
69370
70889
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
69371
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
70890
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesRegistrationsApi.getSeriesRegistrations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
69372
70891
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69373
70892
|
});
|
|
69374
70893
|
},
|
|
69375
70894
|
/**
|
|
69376
|
-
*
|
|
69377
|
-
* @summary
|
|
70895
|
+
* Update Series Registration endpoint
|
|
70896
|
+
* @summary Update Series Registration
|
|
69378
70897
|
* @param {string} seriesId The series identifier
|
|
69379
|
-
* @param {string}
|
|
70898
|
+
* @param {string} registrationId The registration identifier
|
|
70899
|
+
* @param {SeriesRegistrationUpdateInputs} seriesRegistrationUpdateInputs
|
|
69380
70900
|
* @param {*} [options] Override http request option.
|
|
69381
70901
|
* @throws {RequiredError}
|
|
69382
70902
|
*/
|
|
69383
|
-
|
|
70903
|
+
updateSeriesRegistration(seriesId, registrationId, seriesRegistrationUpdateInputs, options) {
|
|
69384
70904
|
return __awaiter(this, void 0, void 0, function* () {
|
|
69385
70905
|
var _a, _b, _c;
|
|
69386
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
70906
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSeriesRegistration(seriesId, registrationId, seriesRegistrationUpdateInputs, options);
|
|
69387
70907
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
69388
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
69389
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69390
|
-
});
|
|
69391
|
-
},
|
|
69392
|
-
/**
|
|
69393
|
-
* Update Series endpoint
|
|
69394
|
-
* @summary Update Series
|
|
69395
|
-
* @param {string} seriesId The series identifier
|
|
69396
|
-
* @param {SeriesUpdateInputs} series Filter by series
|
|
69397
|
-
* @param {*} [options] Override http request option.
|
|
69398
|
-
* @throws {RequiredError}
|
|
69399
|
-
*/
|
|
69400
|
-
updateSeries(seriesId, series, options) {
|
|
69401
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
69402
|
-
var _a, _b, _c;
|
|
69403
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSeries(seriesId, series, options);
|
|
69404
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
69405
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesApi.updateSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
70908
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SeriesRegistrationsApi.updateSeriesRegistration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
69406
70909
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69407
70910
|
});
|
|
69408
70911
|
},
|
|
69409
70912
|
};
|
|
69410
70913
|
};
|
|
69411
|
-
exports.
|
|
70914
|
+
exports.SeriesRegistrationsApiFp = SeriesRegistrationsApiFp;
|
|
69412
70915
|
/**
|
|
69413
|
-
*
|
|
70916
|
+
* SeriesRegistrationsApi - factory interface
|
|
69414
70917
|
*/
|
|
69415
|
-
const
|
|
69416
|
-
const localVarFp = (0, exports.
|
|
70918
|
+
const SeriesRegistrationsApiFactory = function (configuration, basePath, axios) {
|
|
70919
|
+
const localVarFp = (0, exports.SeriesRegistrationsApiFp)(configuration);
|
|
69417
70920
|
return {
|
|
69418
70921
|
/**
|
|
69419
|
-
*
|
|
69420
|
-
* @summary
|
|
69421
|
-
* @param {
|
|
69422
|
-
* @param {*} [options] Override http request option.
|
|
69423
|
-
* @throws {RequiredError}
|
|
69424
|
-
*/
|
|
69425
|
-
addSeriesEvent(requestParameters, options) {
|
|
69426
|
-
return localVarFp.addSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
69427
|
-
},
|
|
69428
|
-
/**
|
|
69429
|
-
* Create Series endpoint
|
|
69430
|
-
* @summary Create Series
|
|
69431
|
-
* @param {SeriesApiCreateSeriesRequest} requestParameters Request parameters.
|
|
70922
|
+
* Create Series Registration endpoint
|
|
70923
|
+
* @summary Create Series Registration
|
|
70924
|
+
* @param {SeriesRegistrationsApiCreateSeriesRegistrationRequest} requestParameters Request parameters.
|
|
69432
70925
|
* @param {*} [options] Override http request option.
|
|
69433
70926
|
* @throws {RequiredError}
|
|
69434
70927
|
*/
|
|
69435
|
-
|
|
69436
|
-
return localVarFp.
|
|
70928
|
+
createSeriesRegistration(requestParameters, options) {
|
|
70929
|
+
return localVarFp.createSeriesRegistration(requestParameters.seriesId, requestParameters.seriesRegistrationCreateInputs, options).then((request) => request(axios, basePath));
|
|
69437
70930
|
},
|
|
69438
70931
|
/**
|
|
69439
|
-
* Delete Series endpoint
|
|
69440
|
-
* @summary Delete Series
|
|
69441
|
-
* @param {
|
|
70932
|
+
* Delete Series Registration endpoint
|
|
70933
|
+
* @summary Delete Series Registration
|
|
70934
|
+
* @param {SeriesRegistrationsApiDeleteSeriesRegistrationRequest} requestParameters Request parameters.
|
|
69442
70935
|
* @param {*} [options] Override http request option.
|
|
69443
70936
|
* @throws {RequiredError}
|
|
69444
70937
|
*/
|
|
69445
|
-
|
|
69446
|
-
return localVarFp.
|
|
70938
|
+
deleteSeriesRegistration(requestParameters, options) {
|
|
70939
|
+
return localVarFp.deleteSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(axios, basePath));
|
|
69447
70940
|
},
|
|
69448
70941
|
/**
|
|
69449
|
-
* Get Series endpoint
|
|
69450
|
-
* @summary Get Series
|
|
69451
|
-
* @param {
|
|
70942
|
+
* Get Series Registration endpoint
|
|
70943
|
+
* @summary Get Series Registration
|
|
70944
|
+
* @param {SeriesRegistrationsApiGetSeriesRegistrationRequest} requestParameters Request parameters.
|
|
69452
70945
|
* @param {*} [options] Override http request option.
|
|
69453
70946
|
* @throws {RequiredError}
|
|
69454
70947
|
*/
|
|
69455
|
-
|
|
69456
|
-
return localVarFp.
|
|
70948
|
+
getSeriesRegistration(requestParameters, options) {
|
|
70949
|
+
return localVarFp.getSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(axios, basePath));
|
|
69457
70950
|
},
|
|
69458
70951
|
/**
|
|
69459
|
-
* Get Series
|
|
69460
|
-
* @summary Get Series
|
|
69461
|
-
* @param {
|
|
70952
|
+
* Get Series Registration Passes endpoint
|
|
70953
|
+
* @summary Get Series Registration Passes
|
|
70954
|
+
* @param {SeriesRegistrationsApiGetSeriesRegistrationPassesRequest} requestParameters Request parameters.
|
|
69462
70955
|
* @param {*} [options] Override http request option.
|
|
69463
70956
|
* @throws {RequiredError}
|
|
69464
70957
|
*/
|
|
69465
|
-
|
|
69466
|
-
return localVarFp.
|
|
70958
|
+
getSeriesRegistrationPasses(requestParameters, options) {
|
|
70959
|
+
return localVarFp.getSeriesRegistrationPasses(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(axios, basePath));
|
|
69467
70960
|
},
|
|
69468
70961
|
/**
|
|
69469
|
-
* Get Series
|
|
69470
|
-
* @summary Get Series
|
|
69471
|
-
* @param {
|
|
70962
|
+
* Get Series Registrations endpoint
|
|
70963
|
+
* @summary Get Series Registrations
|
|
70964
|
+
* @param {SeriesRegistrationsApiGetSeriesRegistrationsRequest} requestParameters Request parameters.
|
|
69472
70965
|
* @param {*} [options] Override http request option.
|
|
69473
70966
|
* @throws {RequiredError}
|
|
69474
70967
|
*/
|
|
69475
|
-
|
|
69476
|
-
return localVarFp.
|
|
70968
|
+
getSeriesRegistrations(requestParameters, options) {
|
|
70969
|
+
return localVarFp.getSeriesRegistrations(requestParameters.seriesId, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
69477
70970
|
},
|
|
69478
70971
|
/**
|
|
69479
|
-
*
|
|
69480
|
-
* @summary
|
|
69481
|
-
* @param {
|
|
70972
|
+
* Update Series Registration endpoint
|
|
70973
|
+
* @summary Update Series Registration
|
|
70974
|
+
* @param {SeriesRegistrationsApiUpdateSeriesRegistrationRequest} requestParameters Request parameters.
|
|
69482
70975
|
* @param {*} [options] Override http request option.
|
|
69483
70976
|
* @throws {RequiredError}
|
|
69484
70977
|
*/
|
|
69485
|
-
|
|
69486
|
-
return localVarFp.
|
|
69487
|
-
},
|
|
69488
|
-
/**
|
|
69489
|
-
* Update Series endpoint
|
|
69490
|
-
* @summary Update Series
|
|
69491
|
-
* @param {SeriesApiUpdateSeriesRequest} requestParameters Request parameters.
|
|
69492
|
-
* @param {*} [options] Override http request option.
|
|
69493
|
-
* @throws {RequiredError}
|
|
69494
|
-
*/
|
|
69495
|
-
updateSeries(requestParameters, options) {
|
|
69496
|
-
return localVarFp.updateSeries(requestParameters.seriesId, requestParameters.series, options).then((request) => request(axios, basePath));
|
|
70978
|
+
updateSeriesRegistration(requestParameters, options) {
|
|
70979
|
+
return localVarFp.updateSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, requestParameters.seriesRegistrationUpdateInputs, options).then((request) => request(axios, basePath));
|
|
69497
70980
|
},
|
|
69498
70981
|
};
|
|
69499
70982
|
};
|
|
69500
|
-
exports.
|
|
70983
|
+
exports.SeriesRegistrationsApiFactory = SeriesRegistrationsApiFactory;
|
|
69501
70984
|
/**
|
|
69502
|
-
*
|
|
70985
|
+
* SeriesRegistrationsApi - object-oriented interface
|
|
69503
70986
|
*/
|
|
69504
|
-
class
|
|
70987
|
+
class SeriesRegistrationsApi extends base_1.BaseAPI {
|
|
69505
70988
|
/**
|
|
69506
|
-
*
|
|
69507
|
-
* @summary
|
|
69508
|
-
* @param {
|
|
70989
|
+
* Create Series Registration endpoint
|
|
70990
|
+
* @summary Create Series Registration
|
|
70991
|
+
* @param {SeriesRegistrationsApiCreateSeriesRegistrationRequest} requestParameters Request parameters.
|
|
69509
70992
|
* @param {*} [options] Override http request option.
|
|
69510
70993
|
* @throws {RequiredError}
|
|
69511
70994
|
*/
|
|
69512
|
-
|
|
69513
|
-
return (0, exports.
|
|
70995
|
+
createSeriesRegistration(requestParameters, options) {
|
|
70996
|
+
return (0, exports.SeriesRegistrationsApiFp)(this.configuration).createSeriesRegistration(requestParameters.seriesId, requestParameters.seriesRegistrationCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
69514
70997
|
}
|
|
69515
70998
|
/**
|
|
69516
|
-
*
|
|
69517
|
-
* @summary
|
|
69518
|
-
* @param {
|
|
70999
|
+
* Delete Series Registration endpoint
|
|
71000
|
+
* @summary Delete Series Registration
|
|
71001
|
+
* @param {SeriesRegistrationsApiDeleteSeriesRegistrationRequest} requestParameters Request parameters.
|
|
69519
71002
|
* @param {*} [options] Override http request option.
|
|
69520
71003
|
* @throws {RequiredError}
|
|
69521
71004
|
*/
|
|
69522
|
-
|
|
69523
|
-
return (0, exports.
|
|
71005
|
+
deleteSeriesRegistration(requestParameters, options) {
|
|
71006
|
+
return (0, exports.SeriesRegistrationsApiFp)(this.configuration).deleteSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(this.axios, this.basePath));
|
|
69524
71007
|
}
|
|
69525
71008
|
/**
|
|
69526
|
-
*
|
|
69527
|
-
* @summary
|
|
69528
|
-
* @param {
|
|
71009
|
+
* Get Series Registration endpoint
|
|
71010
|
+
* @summary Get Series Registration
|
|
71011
|
+
* @param {SeriesRegistrationsApiGetSeriesRegistrationRequest} requestParameters Request parameters.
|
|
69529
71012
|
* @param {*} [options] Override http request option.
|
|
69530
71013
|
* @throws {RequiredError}
|
|
69531
71014
|
*/
|
|
69532
|
-
|
|
69533
|
-
return (0, exports.
|
|
71015
|
+
getSeriesRegistration(requestParameters, options) {
|
|
71016
|
+
return (0, exports.SeriesRegistrationsApiFp)(this.configuration).getSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(this.axios, this.basePath));
|
|
69534
71017
|
}
|
|
69535
71018
|
/**
|
|
69536
|
-
* Get Series endpoint
|
|
69537
|
-
* @summary Get Series
|
|
69538
|
-
* @param {
|
|
71019
|
+
* Get Series Registration Passes endpoint
|
|
71020
|
+
* @summary Get Series Registration Passes
|
|
71021
|
+
* @param {SeriesRegistrationsApiGetSeriesRegistrationPassesRequest} requestParameters Request parameters.
|
|
69539
71022
|
* @param {*} [options] Override http request option.
|
|
69540
71023
|
* @throws {RequiredError}
|
|
69541
71024
|
*/
|
|
69542
|
-
|
|
69543
|
-
return (0, exports.
|
|
71025
|
+
getSeriesRegistrationPasses(requestParameters, options) {
|
|
71026
|
+
return (0, exports.SeriesRegistrationsApiFp)(this.configuration).getSeriesRegistrationPasses(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(this.axios, this.basePath));
|
|
69544
71027
|
}
|
|
69545
71028
|
/**
|
|
69546
|
-
* Get Series
|
|
69547
|
-
* @summary Get Series
|
|
69548
|
-
* @param {
|
|
71029
|
+
* Get Series Registrations endpoint
|
|
71030
|
+
* @summary Get Series Registrations
|
|
71031
|
+
* @param {SeriesRegistrationsApiGetSeriesRegistrationsRequest} requestParameters Request parameters.
|
|
69549
71032
|
* @param {*} [options] Override http request option.
|
|
69550
71033
|
* @throws {RequiredError}
|
|
69551
71034
|
*/
|
|
69552
|
-
|
|
69553
|
-
return (0, exports.
|
|
71035
|
+
getSeriesRegistrations(requestParameters, options) {
|
|
71036
|
+
return (0, exports.SeriesRegistrationsApiFp)(this.configuration).getSeriesRegistrations(requestParameters.seriesId, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
69554
71037
|
}
|
|
69555
71038
|
/**
|
|
69556
|
-
*
|
|
69557
|
-
* @summary
|
|
69558
|
-
* @param {
|
|
69559
|
-
* @param {*} [options] Override http request option.
|
|
69560
|
-
* @throws {RequiredError}
|
|
69561
|
-
*/
|
|
69562
|
-
getSeriesList(requestParameters = {}, options) {
|
|
69563
|
-
return (0, exports.SeriesApiFp)(this.configuration).getSeriesList(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
69564
|
-
}
|
|
69565
|
-
/**
|
|
69566
|
-
* Remove Series Event endpoint
|
|
69567
|
-
* @summary Remove Series Event
|
|
69568
|
-
* @param {SeriesApiRemoveSeriesEventRequest} requestParameters Request parameters.
|
|
69569
|
-
* @param {*} [options] Override http request option.
|
|
69570
|
-
* @throws {RequiredError}
|
|
69571
|
-
*/
|
|
69572
|
-
removeSeriesEvent(requestParameters, options) {
|
|
69573
|
-
return (0, exports.SeriesApiFp)(this.configuration).removeSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
69574
|
-
}
|
|
69575
|
-
/**
|
|
69576
|
-
* Update Series endpoint
|
|
69577
|
-
* @summary Update Series
|
|
69578
|
-
* @param {SeriesApiUpdateSeriesRequest} requestParameters Request parameters.
|
|
71039
|
+
* Update Series Registration endpoint
|
|
71040
|
+
* @summary Update Series Registration
|
|
71041
|
+
* @param {SeriesRegistrationsApiUpdateSeriesRegistrationRequest} requestParameters Request parameters.
|
|
69579
71042
|
* @param {*} [options] Override http request option.
|
|
69580
71043
|
* @throws {RequiredError}
|
|
69581
71044
|
*/
|
|
69582
|
-
|
|
69583
|
-
return (0, exports.
|
|
71045
|
+
updateSeriesRegistration(requestParameters, options) {
|
|
71046
|
+
return (0, exports.SeriesRegistrationsApiFp)(this.configuration).updateSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, requestParameters.seriesRegistrationUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
69584
71047
|
}
|
|
69585
71048
|
}
|
|
69586
|
-
exports.
|
|
71049
|
+
exports.SeriesRegistrationsApi = SeriesRegistrationsApi;
|
|
69587
71050
|
/**
|
|
69588
71051
|
* SponsorsApi - axios parameter creator
|
|
69589
71052
|
*/
|
|
@@ -74879,6 +76342,8 @@ const SurveysApiAxiosParamCreator = function (configuration) {
|
|
|
74879
76342
|
/**
|
|
74880
76343
|
* Get Surveys endpoint
|
|
74881
76344
|
* @summary Get Surveys
|
|
76345
|
+
* @param {string} [eventId] Filter by eventId
|
|
76346
|
+
* @param {string} [sessionId] Filter by sessionId
|
|
74882
76347
|
* @param {number} [page] Page number
|
|
74883
76348
|
* @param {number} [pageSize] Number of items per page
|
|
74884
76349
|
* @param {string} [orderBy] Field to order by
|
|
@@ -74886,7 +76351,7 @@ const SurveysApiAxiosParamCreator = function (configuration) {
|
|
|
74886
76351
|
* @param {*} [options] Override http request option.
|
|
74887
76352
|
* @throws {RequiredError}
|
|
74888
76353
|
*/
|
|
74889
|
-
getSurveys: (page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (page, pageSize, orderBy, search, options = {}) {
|
|
76354
|
+
getSurveys: (eventId_1, sessionId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, sessionId, page, pageSize, orderBy, search, options = {}) {
|
|
74890
76355
|
const localVarPath = `/surveys`;
|
|
74891
76356
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74892
76357
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -74901,6 +76366,12 @@ const SurveysApiAxiosParamCreator = function (configuration) {
|
|
|
74901
76366
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
74902
76367
|
// authentication OrganizationId required
|
|
74903
76368
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
76369
|
+
if (eventId !== undefined) {
|
|
76370
|
+
localVarQueryParameter['eventId'] = eventId;
|
|
76371
|
+
}
|
|
76372
|
+
if (sessionId !== undefined) {
|
|
76373
|
+
localVarQueryParameter['sessionId'] = sessionId;
|
|
76374
|
+
}
|
|
74904
76375
|
if (page !== undefined) {
|
|
74905
76376
|
localVarQueryParameter['page'] = page;
|
|
74906
76377
|
}
|
|
@@ -75021,6 +76492,8 @@ const SurveysApiFp = function (configuration) {
|
|
|
75021
76492
|
/**
|
|
75022
76493
|
* Get Surveys endpoint
|
|
75023
76494
|
* @summary Get Surveys
|
|
76495
|
+
* @param {string} [eventId] Filter by eventId
|
|
76496
|
+
* @param {string} [sessionId] Filter by sessionId
|
|
75024
76497
|
* @param {number} [page] Page number
|
|
75025
76498
|
* @param {number} [pageSize] Number of items per page
|
|
75026
76499
|
* @param {string} [orderBy] Field to order by
|
|
@@ -75028,10 +76501,10 @@ const SurveysApiFp = function (configuration) {
|
|
|
75028
76501
|
* @param {*} [options] Override http request option.
|
|
75029
76502
|
* @throws {RequiredError}
|
|
75030
76503
|
*/
|
|
75031
|
-
getSurveys(page, pageSize, orderBy, search, options) {
|
|
76504
|
+
getSurveys(eventId, sessionId, page, pageSize, orderBy, search, options) {
|
|
75032
76505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
75033
76506
|
var _a, _b, _c;
|
|
75034
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSurveys(page, pageSize, orderBy, search, options);
|
|
76507
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSurveys(eventId, sessionId, page, pageSize, orderBy, search, options);
|
|
75035
76508
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
75036
76509
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveysApi.getSurveys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
75037
76510
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -75101,7 +76574,7 @@ const SurveysApiFactory = function (configuration, basePath, axios) {
|
|
|
75101
76574
|
* @throws {RequiredError}
|
|
75102
76575
|
*/
|
|
75103
76576
|
getSurveys(requestParameters = {}, options) {
|
|
75104
|
-
return localVarFp.getSurveys(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
76577
|
+
return localVarFp.getSurveys(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
75105
76578
|
},
|
|
75106
76579
|
/**
|
|
75107
76580
|
* Update Survey endpoint
|
|
@@ -75158,7 +76631,7 @@ class SurveysApi extends base_1.BaseAPI {
|
|
|
75158
76631
|
* @throws {RequiredError}
|
|
75159
76632
|
*/
|
|
75160
76633
|
getSurveys(requestParameters = {}, options) {
|
|
75161
|
-
return (0, exports.SurveysApiFp)(this.configuration).getSurveys(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
76634
|
+
return (0, exports.SurveysApiFp)(this.configuration).getSurveys(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
75162
76635
|
}
|
|
75163
76636
|
/**
|
|
75164
76637
|
* Update Survey endpoint
|