@connectedxm/admin-sdk 6.27.1 → 6.27.2
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 +2 -0
- package/AdminApi.ts +3 -0
- package/README.md +4 -0
- package/api.ts +390 -0
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +204 -0
- package/dist/api.js +301 -9
- package/dist/esm/AdminApi.d.ts +2 -1
- package/dist/esm/AdminApi.js +2 -1
- package/dist/esm/api.d.ts +204 -0
- package/dist/esm/api.js +287 -0
- package/docs/BaseEventSession.md +2 -0
- package/docs/EventSession.md +2 -0
- package/docs/EventSessionPrice.md +24 -0
- package/docs/EventsSessionsPricesApi.md +190 -0
- package/package.json +1 -1
package/dist/esm/AdminApi.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* const accounts = await adminApi.accounts.getAccounts();
|
|
10
10
|
* const eventsPasses = await adminApi.eventsPasses.getEventPasses();
|
|
11
11
|
*/
|
|
12
|
-
import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttendeesApi, EventsAttendeesPackagesApi, EventsAttendeesReservationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsCirclesApi, ThreadsCirclesAccountsApi, ThreadsMembersApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, TiersApi } from "./api";
|
|
12
|
+
import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttendeesApi, EventsAttendeesPackagesApi, EventsAttendeesReservationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsPricesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsCirclesApi, ThreadsCirclesAccountsApi, ThreadsMembersApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, TiersApi } from "./api";
|
|
13
13
|
export interface AdminApiConfig {
|
|
14
14
|
/** Your API key for authentication */
|
|
15
15
|
apiKey: string;
|
|
@@ -108,6 +108,7 @@ export declare class AdminApi {
|
|
|
108
108
|
readonly eventsSessionsLocations: EventsSessionsLocationsApi;
|
|
109
109
|
readonly eventsSessionsLocationsTranslations: EventsSessionsLocationsTranslationsApi;
|
|
110
110
|
readonly eventsSessionsMatches: EventsSessionsMatchesApi;
|
|
111
|
+
readonly eventsSessionsPrices: EventsSessionsPricesApi;
|
|
111
112
|
readonly eventsSessionsQuestions: EventsSessionsQuestionsApi;
|
|
112
113
|
readonly eventsSessionsQuestionsTranslations: EventsSessionsQuestionsTranslationsApi;
|
|
113
114
|
readonly eventsSessionsSections: EventsSessionsSectionsApi;
|
package/dist/esm/AdminApi.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* const eventsPasses = await adminApi.eventsPasses.getEventPasses();
|
|
13
13
|
*/
|
|
14
14
|
import { Configuration } from "./configuration";
|
|
15
|
-
import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttendeesApi, EventsAttendeesPackagesApi, EventsAttendeesReservationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsCirclesApi, ThreadsCirclesAccountsApi, ThreadsMembersApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, TiersApi, } from "./api";
|
|
15
|
+
import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttendeesApi, EventsAttendeesPackagesApi, EventsAttendeesReservationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsPricesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsCirclesApi, ThreadsCirclesAccountsApi, ThreadsMembersApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, TiersApi, } from "./api";
|
|
16
16
|
export class AdminApi {
|
|
17
17
|
constructor(config) {
|
|
18
18
|
var _a;
|
|
@@ -113,6 +113,7 @@ export class AdminApi {
|
|
|
113
113
|
this.eventsSessionsLocations = new EventsSessionsLocationsApi(this.config);
|
|
114
114
|
this.eventsSessionsLocationsTranslations = new EventsSessionsLocationsTranslationsApi(this.config);
|
|
115
115
|
this.eventsSessionsMatches = new EventsSessionsMatchesApi(this.config);
|
|
116
|
+
this.eventsSessionsPrices = new EventsSessionsPricesApi(this.config);
|
|
116
117
|
this.eventsSessionsQuestions = new EventsSessionsQuestionsApi(this.config);
|
|
117
118
|
this.eventsSessionsQuestionsTranslations = new EventsSessionsQuestionsTranslationsApi(this.config);
|
|
118
119
|
this.eventsSessionsSections = new EventsSessionsSectionsApi(this.config);
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1381,6 +1381,7 @@ export interface BaseEventSession {
|
|
|
1381
1381
|
'location': BaseEventSessionLocation | null;
|
|
1382
1382
|
'registrationEnabled': boolean;
|
|
1383
1383
|
'price': number | null;
|
|
1384
|
+
'prices': Array<EventSessionPrice>;
|
|
1384
1385
|
'limit': number | null;
|
|
1385
1386
|
'taxCode': string | null;
|
|
1386
1387
|
'taxIncluded': boolean;
|
|
@@ -5285,6 +5286,7 @@ export interface EventSession {
|
|
|
5285
5286
|
'location': BaseEventSessionLocation | null;
|
|
5286
5287
|
'registrationEnabled': boolean;
|
|
5287
5288
|
'price': number | null;
|
|
5289
|
+
'prices': Array<EventSessionPrice>;
|
|
5288
5290
|
'limit': number | null;
|
|
5289
5291
|
'taxCode': string | null;
|
|
5290
5292
|
'taxIncluded': boolean;
|
|
@@ -5400,6 +5402,11 @@ export interface EventSessionLocationUpdateInputs {
|
|
|
5400
5402
|
'country'?: string | null;
|
|
5401
5403
|
'zip'?: string | null;
|
|
5402
5404
|
}
|
|
5405
|
+
export interface EventSessionPrice {
|
|
5406
|
+
'id': string;
|
|
5407
|
+
'passTypeId': string;
|
|
5408
|
+
'price': number;
|
|
5409
|
+
}
|
|
5403
5410
|
export interface EventSessionQuestion {
|
|
5404
5411
|
'id': string;
|
|
5405
5412
|
'eventId': string;
|
|
@@ -49644,6 +49651,203 @@ export declare class EventsSessionsMatchesApi extends BaseAPI {
|
|
|
49644
49651
|
*/
|
|
49645
49652
|
updateEventSessionRoundQuestion(requestParameters: EventsSessionsMatchesApiUpdateEventSessionRoundQuestionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateEventSessionRoundQuestion200Response, any, {}>>;
|
|
49646
49653
|
}
|
|
49654
|
+
/**
|
|
49655
|
+
* EventsSessionsPricesApi - axios parameter creator
|
|
49656
|
+
*/
|
|
49657
|
+
export declare const EventsSessionsPricesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
49658
|
+
/**
|
|
49659
|
+
* Create Event Session Price endpoint
|
|
49660
|
+
* @summary Create Event Session Price
|
|
49661
|
+
* @param {string} eventId The event identifier
|
|
49662
|
+
* @param {string} sessionId The session identifier
|
|
49663
|
+
* @param {string} passTypeId Filter by passTypeId
|
|
49664
|
+
* @param {number} price Filter by price
|
|
49665
|
+
* @param {*} [options] Override http request option.
|
|
49666
|
+
* @throws {RequiredError}
|
|
49667
|
+
*/
|
|
49668
|
+
createEventSessionPrice: (eventId: string, sessionId: string, passTypeId: string, price: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49669
|
+
/**
|
|
49670
|
+
* Delete Event Session Price endpoint
|
|
49671
|
+
* @summary Delete Event Session Price
|
|
49672
|
+
* @param {string} eventId The event identifier
|
|
49673
|
+
* @param {string} sessionId The session identifier
|
|
49674
|
+
* @param {string} priceId The price identifier
|
|
49675
|
+
* @param {*} [options] Override http request option.
|
|
49676
|
+
* @throws {RequiredError}
|
|
49677
|
+
*/
|
|
49678
|
+
deleteEventSessionPrice: (eventId: string, sessionId: string, priceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49679
|
+
/**
|
|
49680
|
+
* Update Event Session Price endpoint
|
|
49681
|
+
* @summary Update Event Session Price
|
|
49682
|
+
* @param {string} eventId The event identifier
|
|
49683
|
+
* @param {string} sessionId The session identifier
|
|
49684
|
+
* @param {string} priceId The price identifier
|
|
49685
|
+
* @param {string} [passTypeId] Filter by passTypeId
|
|
49686
|
+
* @param {number} [price] Filter by price
|
|
49687
|
+
* @param {*} [options] Override http request option.
|
|
49688
|
+
* @throws {RequiredError}
|
|
49689
|
+
*/
|
|
49690
|
+
updateEventSessionPrice: (eventId: string, sessionId: string, priceId: string, passTypeId?: string, price?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49691
|
+
};
|
|
49692
|
+
/**
|
|
49693
|
+
* EventsSessionsPricesApi - functional programming interface
|
|
49694
|
+
*/
|
|
49695
|
+
export declare const EventsSessionsPricesApiFp: (configuration?: Configuration) => {
|
|
49696
|
+
/**
|
|
49697
|
+
* Create Event Session Price endpoint
|
|
49698
|
+
* @summary Create Event Session Price
|
|
49699
|
+
* @param {string} eventId The event identifier
|
|
49700
|
+
* @param {string} sessionId The session identifier
|
|
49701
|
+
* @param {string} passTypeId Filter by passTypeId
|
|
49702
|
+
* @param {number} price Filter by price
|
|
49703
|
+
* @param {*} [options] Override http request option.
|
|
49704
|
+
* @throws {RequiredError}
|
|
49705
|
+
*/
|
|
49706
|
+
createEventSessionPrice(eventId: string, sessionId: string, passTypeId: string, price: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>>;
|
|
49707
|
+
/**
|
|
49708
|
+
* Delete Event Session Price endpoint
|
|
49709
|
+
* @summary Delete Event Session Price
|
|
49710
|
+
* @param {string} eventId The event identifier
|
|
49711
|
+
* @param {string} sessionId The session identifier
|
|
49712
|
+
* @param {string} priceId The price identifier
|
|
49713
|
+
* @param {*} [options] Override http request option.
|
|
49714
|
+
* @throws {RequiredError}
|
|
49715
|
+
*/
|
|
49716
|
+
deleteEventSessionPrice(eventId: string, sessionId: string, priceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>>;
|
|
49717
|
+
/**
|
|
49718
|
+
* Update Event Session Price endpoint
|
|
49719
|
+
* @summary Update Event Session Price
|
|
49720
|
+
* @param {string} eventId The event identifier
|
|
49721
|
+
* @param {string} sessionId The session identifier
|
|
49722
|
+
* @param {string} priceId The price identifier
|
|
49723
|
+
* @param {string} [passTypeId] Filter by passTypeId
|
|
49724
|
+
* @param {number} [price] Filter by price
|
|
49725
|
+
* @param {*} [options] Override http request option.
|
|
49726
|
+
* @throws {RequiredError}
|
|
49727
|
+
*/
|
|
49728
|
+
updateEventSessionPrice(eventId: string, sessionId: string, priceId: string, passTypeId?: string, price?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>>;
|
|
49729
|
+
};
|
|
49730
|
+
/**
|
|
49731
|
+
* EventsSessionsPricesApi - factory interface
|
|
49732
|
+
*/
|
|
49733
|
+
export declare const EventsSessionsPricesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
49734
|
+
/**
|
|
49735
|
+
* Create Event Session Price endpoint
|
|
49736
|
+
* @summary Create Event Session Price
|
|
49737
|
+
* @param {EventsSessionsPricesApiCreateEventSessionPriceRequest} requestParameters Request parameters.
|
|
49738
|
+
* @param {*} [options] Override http request option.
|
|
49739
|
+
* @throws {RequiredError}
|
|
49740
|
+
*/
|
|
49741
|
+
createEventSessionPrice(requestParameters: EventsSessionsPricesApiCreateEventSessionPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response>;
|
|
49742
|
+
/**
|
|
49743
|
+
* Delete Event Session Price endpoint
|
|
49744
|
+
* @summary Delete Event Session Price
|
|
49745
|
+
* @param {EventsSessionsPricesApiDeleteEventSessionPriceRequest} requestParameters Request parameters.
|
|
49746
|
+
* @param {*} [options] Override http request option.
|
|
49747
|
+
* @throws {RequiredError}
|
|
49748
|
+
*/
|
|
49749
|
+
deleteEventSessionPrice(requestParameters: EventsSessionsPricesApiDeleteEventSessionPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response>;
|
|
49750
|
+
/**
|
|
49751
|
+
* Update Event Session Price endpoint
|
|
49752
|
+
* @summary Update Event Session Price
|
|
49753
|
+
* @param {EventsSessionsPricesApiUpdateEventSessionPriceRequest} requestParameters Request parameters.
|
|
49754
|
+
* @param {*} [options] Override http request option.
|
|
49755
|
+
* @throws {RequiredError}
|
|
49756
|
+
*/
|
|
49757
|
+
updateEventSessionPrice(requestParameters: EventsSessionsPricesApiUpdateEventSessionPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response>;
|
|
49758
|
+
};
|
|
49759
|
+
/**
|
|
49760
|
+
* Request parameters for createEventSessionPrice operation in EventsSessionsPricesApi.
|
|
49761
|
+
*/
|
|
49762
|
+
export interface EventsSessionsPricesApiCreateEventSessionPriceRequest {
|
|
49763
|
+
/**
|
|
49764
|
+
* The event identifier
|
|
49765
|
+
*/
|
|
49766
|
+
readonly eventId: string;
|
|
49767
|
+
/**
|
|
49768
|
+
* The session identifier
|
|
49769
|
+
*/
|
|
49770
|
+
readonly sessionId: string;
|
|
49771
|
+
/**
|
|
49772
|
+
* Filter by passTypeId
|
|
49773
|
+
*/
|
|
49774
|
+
readonly passTypeId: string;
|
|
49775
|
+
/**
|
|
49776
|
+
* Filter by price
|
|
49777
|
+
*/
|
|
49778
|
+
readonly price: number;
|
|
49779
|
+
}
|
|
49780
|
+
/**
|
|
49781
|
+
* Request parameters for deleteEventSessionPrice operation in EventsSessionsPricesApi.
|
|
49782
|
+
*/
|
|
49783
|
+
export interface EventsSessionsPricesApiDeleteEventSessionPriceRequest {
|
|
49784
|
+
/**
|
|
49785
|
+
* The event identifier
|
|
49786
|
+
*/
|
|
49787
|
+
readonly eventId: string;
|
|
49788
|
+
/**
|
|
49789
|
+
* The session identifier
|
|
49790
|
+
*/
|
|
49791
|
+
readonly sessionId: string;
|
|
49792
|
+
/**
|
|
49793
|
+
* The price identifier
|
|
49794
|
+
*/
|
|
49795
|
+
readonly priceId: string;
|
|
49796
|
+
}
|
|
49797
|
+
/**
|
|
49798
|
+
* Request parameters for updateEventSessionPrice operation in EventsSessionsPricesApi.
|
|
49799
|
+
*/
|
|
49800
|
+
export interface EventsSessionsPricesApiUpdateEventSessionPriceRequest {
|
|
49801
|
+
/**
|
|
49802
|
+
* The event identifier
|
|
49803
|
+
*/
|
|
49804
|
+
readonly eventId: string;
|
|
49805
|
+
/**
|
|
49806
|
+
* The session identifier
|
|
49807
|
+
*/
|
|
49808
|
+
readonly sessionId: string;
|
|
49809
|
+
/**
|
|
49810
|
+
* The price identifier
|
|
49811
|
+
*/
|
|
49812
|
+
readonly priceId: string;
|
|
49813
|
+
/**
|
|
49814
|
+
* Filter by passTypeId
|
|
49815
|
+
*/
|
|
49816
|
+
readonly passTypeId?: string;
|
|
49817
|
+
/**
|
|
49818
|
+
* Filter by price
|
|
49819
|
+
*/
|
|
49820
|
+
readonly price?: number;
|
|
49821
|
+
}
|
|
49822
|
+
/**
|
|
49823
|
+
* EventsSessionsPricesApi - object-oriented interface
|
|
49824
|
+
*/
|
|
49825
|
+
export declare class EventsSessionsPricesApi extends BaseAPI {
|
|
49826
|
+
/**
|
|
49827
|
+
* Create Event Session Price endpoint
|
|
49828
|
+
* @summary Create Event Session Price
|
|
49829
|
+
* @param {EventsSessionsPricesApiCreateEventSessionPriceRequest} requestParameters Request parameters.
|
|
49830
|
+
* @param {*} [options] Override http request option.
|
|
49831
|
+
* @throws {RequiredError}
|
|
49832
|
+
*/
|
|
49833
|
+
createEventSessionPrice(requestParameters: EventsSessionsPricesApiCreateEventSessionPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventSession200Response, any, {}>>;
|
|
49834
|
+
/**
|
|
49835
|
+
* Delete Event Session Price endpoint
|
|
49836
|
+
* @summary Delete Event Session Price
|
|
49837
|
+
* @param {EventsSessionsPricesApiDeleteEventSessionPriceRequest} requestParameters Request parameters.
|
|
49838
|
+
* @param {*} [options] Override http request option.
|
|
49839
|
+
* @throws {RequiredError}
|
|
49840
|
+
*/
|
|
49841
|
+
deleteEventSessionPrice(requestParameters: EventsSessionsPricesApiDeleteEventSessionPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventSession200Response, any, {}>>;
|
|
49842
|
+
/**
|
|
49843
|
+
* Update Event Session Price endpoint
|
|
49844
|
+
* @summary Update Event Session Price
|
|
49845
|
+
* @param {EventsSessionsPricesApiUpdateEventSessionPriceRequest} requestParameters Request parameters.
|
|
49846
|
+
* @param {*} [options] Override http request option.
|
|
49847
|
+
* @throws {RequiredError}
|
|
49848
|
+
*/
|
|
49849
|
+
updateEventSessionPrice(requestParameters: EventsSessionsPricesApiUpdateEventSessionPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventSession200Response, any, {}>>;
|
|
49850
|
+
}
|
|
49647
49851
|
/**
|
|
49648
49852
|
* EventsSessionsQuestionsApi - axios parameter creator
|
|
49649
49853
|
*/
|
package/dist/esm/api.js
CHANGED
|
@@ -57632,6 +57632,293 @@ export class EventsSessionsMatchesApi extends BaseAPI {
|
|
|
57632
57632
|
return EventsSessionsMatchesApiFp(this.configuration).updateEventSessionRoundQuestion(requestParameters.eventId, requestParameters.sessionId, requestParameters.roundId, requestParameters.questionId, requestParameters.roundSessionQuestionUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
57633
57633
|
}
|
|
57634
57634
|
}
|
|
57635
|
+
/**
|
|
57636
|
+
* EventsSessionsPricesApi - axios parameter creator
|
|
57637
|
+
*/
|
|
57638
|
+
export const EventsSessionsPricesApiAxiosParamCreator = function (configuration) {
|
|
57639
|
+
return {
|
|
57640
|
+
/**
|
|
57641
|
+
* Create Event Session Price endpoint
|
|
57642
|
+
* @summary Create Event Session Price
|
|
57643
|
+
* @param {string} eventId The event identifier
|
|
57644
|
+
* @param {string} sessionId The session identifier
|
|
57645
|
+
* @param {string} passTypeId Filter by passTypeId
|
|
57646
|
+
* @param {number} price Filter by price
|
|
57647
|
+
* @param {*} [options] Override http request option.
|
|
57648
|
+
* @throws {RequiredError}
|
|
57649
|
+
*/
|
|
57650
|
+
createEventSessionPrice: (eventId_1, sessionId_1, passTypeId_1, price_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, passTypeId_1, price_1, ...args_1], void 0, function* (eventId, sessionId, passTypeId, price, options = {}) {
|
|
57651
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
57652
|
+
assertParamExists('createEventSessionPrice', 'eventId', eventId);
|
|
57653
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
57654
|
+
assertParamExists('createEventSessionPrice', 'sessionId', sessionId);
|
|
57655
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
57656
|
+
assertParamExists('createEventSessionPrice', 'passTypeId', passTypeId);
|
|
57657
|
+
// verify required parameter 'price' is not null or undefined
|
|
57658
|
+
assertParamExists('createEventSessionPrice', 'price', price);
|
|
57659
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/prices`
|
|
57660
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
57661
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
57662
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57663
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57664
|
+
let baseOptions;
|
|
57665
|
+
if (configuration) {
|
|
57666
|
+
baseOptions = configuration.baseOptions;
|
|
57667
|
+
}
|
|
57668
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
57669
|
+
const localVarHeaderParameter = {};
|
|
57670
|
+
const localVarQueryParameter = {};
|
|
57671
|
+
// authentication ApiKeyAuth required
|
|
57672
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
57673
|
+
// authentication OrganizationId required
|
|
57674
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
57675
|
+
if (passTypeId !== undefined) {
|
|
57676
|
+
localVarQueryParameter['passTypeId'] = passTypeId;
|
|
57677
|
+
}
|
|
57678
|
+
if (price !== undefined) {
|
|
57679
|
+
localVarQueryParameter['price'] = price;
|
|
57680
|
+
}
|
|
57681
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
57682
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57683
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57684
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
57685
|
+
return {
|
|
57686
|
+
url: toPathString(localVarUrlObj),
|
|
57687
|
+
options: localVarRequestOptions,
|
|
57688
|
+
};
|
|
57689
|
+
}),
|
|
57690
|
+
/**
|
|
57691
|
+
* Delete Event Session Price endpoint
|
|
57692
|
+
* @summary Delete Event Session Price
|
|
57693
|
+
* @param {string} eventId The event identifier
|
|
57694
|
+
* @param {string} sessionId The session identifier
|
|
57695
|
+
* @param {string} priceId The price identifier
|
|
57696
|
+
* @param {*} [options] Override http request option.
|
|
57697
|
+
* @throws {RequiredError}
|
|
57698
|
+
*/
|
|
57699
|
+
deleteEventSessionPrice: (eventId_1, sessionId_1, priceId_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, priceId_1, ...args_1], void 0, function* (eventId, sessionId, priceId, options = {}) {
|
|
57700
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
57701
|
+
assertParamExists('deleteEventSessionPrice', 'eventId', eventId);
|
|
57702
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
57703
|
+
assertParamExists('deleteEventSessionPrice', 'sessionId', sessionId);
|
|
57704
|
+
// verify required parameter 'priceId' is not null or undefined
|
|
57705
|
+
assertParamExists('deleteEventSessionPrice', 'priceId', priceId);
|
|
57706
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/prices/{priceId}`
|
|
57707
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
57708
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
57709
|
+
.replace(`{${"priceId"}}`, encodeURIComponent(String(priceId)));
|
|
57710
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57711
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57712
|
+
let baseOptions;
|
|
57713
|
+
if (configuration) {
|
|
57714
|
+
baseOptions = configuration.baseOptions;
|
|
57715
|
+
}
|
|
57716
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
57717
|
+
const localVarHeaderParameter = {};
|
|
57718
|
+
const localVarQueryParameter = {};
|
|
57719
|
+
// authentication ApiKeyAuth required
|
|
57720
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
57721
|
+
// authentication OrganizationId required
|
|
57722
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
57723
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
57724
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57725
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57726
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
57727
|
+
return {
|
|
57728
|
+
url: toPathString(localVarUrlObj),
|
|
57729
|
+
options: localVarRequestOptions,
|
|
57730
|
+
};
|
|
57731
|
+
}),
|
|
57732
|
+
/**
|
|
57733
|
+
* Update Event Session Price endpoint
|
|
57734
|
+
* @summary Update Event Session Price
|
|
57735
|
+
* @param {string} eventId The event identifier
|
|
57736
|
+
* @param {string} sessionId The session identifier
|
|
57737
|
+
* @param {string} priceId The price identifier
|
|
57738
|
+
* @param {string} [passTypeId] Filter by passTypeId
|
|
57739
|
+
* @param {number} [price] Filter by price
|
|
57740
|
+
* @param {*} [options] Override http request option.
|
|
57741
|
+
* @throws {RequiredError}
|
|
57742
|
+
*/
|
|
57743
|
+
updateEventSessionPrice: (eventId_1, sessionId_1, priceId_1, passTypeId_1, price_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, priceId_1, passTypeId_1, price_1, ...args_1], void 0, function* (eventId, sessionId, priceId, passTypeId, price, options = {}) {
|
|
57744
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
57745
|
+
assertParamExists('updateEventSessionPrice', 'eventId', eventId);
|
|
57746
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
57747
|
+
assertParamExists('updateEventSessionPrice', 'sessionId', sessionId);
|
|
57748
|
+
// verify required parameter 'priceId' is not null or undefined
|
|
57749
|
+
assertParamExists('updateEventSessionPrice', 'priceId', priceId);
|
|
57750
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/prices/{priceId}`
|
|
57751
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
57752
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
57753
|
+
.replace(`{${"priceId"}}`, encodeURIComponent(String(priceId)));
|
|
57754
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57755
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57756
|
+
let baseOptions;
|
|
57757
|
+
if (configuration) {
|
|
57758
|
+
baseOptions = configuration.baseOptions;
|
|
57759
|
+
}
|
|
57760
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
57761
|
+
const localVarHeaderParameter = {};
|
|
57762
|
+
const localVarQueryParameter = {};
|
|
57763
|
+
// authentication ApiKeyAuth required
|
|
57764
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
57765
|
+
// authentication OrganizationId required
|
|
57766
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
57767
|
+
if (passTypeId !== undefined) {
|
|
57768
|
+
localVarQueryParameter['passTypeId'] = passTypeId;
|
|
57769
|
+
}
|
|
57770
|
+
if (price !== undefined) {
|
|
57771
|
+
localVarQueryParameter['price'] = price;
|
|
57772
|
+
}
|
|
57773
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
57774
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57775
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57776
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
57777
|
+
return {
|
|
57778
|
+
url: toPathString(localVarUrlObj),
|
|
57779
|
+
options: localVarRequestOptions,
|
|
57780
|
+
};
|
|
57781
|
+
}),
|
|
57782
|
+
};
|
|
57783
|
+
};
|
|
57784
|
+
/**
|
|
57785
|
+
* EventsSessionsPricesApi - functional programming interface
|
|
57786
|
+
*/
|
|
57787
|
+
export const EventsSessionsPricesApiFp = function (configuration) {
|
|
57788
|
+
const localVarAxiosParamCreator = EventsSessionsPricesApiAxiosParamCreator(configuration);
|
|
57789
|
+
return {
|
|
57790
|
+
/**
|
|
57791
|
+
* Create Event Session Price endpoint
|
|
57792
|
+
* @summary Create Event Session Price
|
|
57793
|
+
* @param {string} eventId The event identifier
|
|
57794
|
+
* @param {string} sessionId The session identifier
|
|
57795
|
+
* @param {string} passTypeId Filter by passTypeId
|
|
57796
|
+
* @param {number} price Filter by price
|
|
57797
|
+
* @param {*} [options] Override http request option.
|
|
57798
|
+
* @throws {RequiredError}
|
|
57799
|
+
*/
|
|
57800
|
+
createEventSessionPrice(eventId, sessionId, passTypeId, price, options) {
|
|
57801
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57802
|
+
var _a, _b, _c;
|
|
57803
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventSessionPrice(eventId, sessionId, passTypeId, price, options);
|
|
57804
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
57805
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsPricesApi.createEventSessionPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
57806
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57807
|
+
});
|
|
57808
|
+
},
|
|
57809
|
+
/**
|
|
57810
|
+
* Delete Event Session Price endpoint
|
|
57811
|
+
* @summary Delete Event Session Price
|
|
57812
|
+
* @param {string} eventId The event identifier
|
|
57813
|
+
* @param {string} sessionId The session identifier
|
|
57814
|
+
* @param {string} priceId The price identifier
|
|
57815
|
+
* @param {*} [options] Override http request option.
|
|
57816
|
+
* @throws {RequiredError}
|
|
57817
|
+
*/
|
|
57818
|
+
deleteEventSessionPrice(eventId, sessionId, priceId, options) {
|
|
57819
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57820
|
+
var _a, _b, _c;
|
|
57821
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteEventSessionPrice(eventId, sessionId, priceId, options);
|
|
57822
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
57823
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsPricesApi.deleteEventSessionPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
57824
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57825
|
+
});
|
|
57826
|
+
},
|
|
57827
|
+
/**
|
|
57828
|
+
* Update Event Session Price endpoint
|
|
57829
|
+
* @summary Update Event Session Price
|
|
57830
|
+
* @param {string} eventId The event identifier
|
|
57831
|
+
* @param {string} sessionId The session identifier
|
|
57832
|
+
* @param {string} priceId The price identifier
|
|
57833
|
+
* @param {string} [passTypeId] Filter by passTypeId
|
|
57834
|
+
* @param {number} [price] Filter by price
|
|
57835
|
+
* @param {*} [options] Override http request option.
|
|
57836
|
+
* @throws {RequiredError}
|
|
57837
|
+
*/
|
|
57838
|
+
updateEventSessionPrice(eventId, sessionId, priceId, passTypeId, price, options) {
|
|
57839
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57840
|
+
var _a, _b, _c;
|
|
57841
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEventSessionPrice(eventId, sessionId, priceId, passTypeId, price, options);
|
|
57842
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
57843
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsPricesApi.updateEventSessionPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
57844
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57845
|
+
});
|
|
57846
|
+
},
|
|
57847
|
+
};
|
|
57848
|
+
};
|
|
57849
|
+
/**
|
|
57850
|
+
* EventsSessionsPricesApi - factory interface
|
|
57851
|
+
*/
|
|
57852
|
+
export const EventsSessionsPricesApiFactory = function (configuration, basePath, axios) {
|
|
57853
|
+
const localVarFp = EventsSessionsPricesApiFp(configuration);
|
|
57854
|
+
return {
|
|
57855
|
+
/**
|
|
57856
|
+
* Create Event Session Price endpoint
|
|
57857
|
+
* @summary Create Event Session Price
|
|
57858
|
+
* @param {EventsSessionsPricesApiCreateEventSessionPriceRequest} requestParameters Request parameters.
|
|
57859
|
+
* @param {*} [options] Override http request option.
|
|
57860
|
+
* @throws {RequiredError}
|
|
57861
|
+
*/
|
|
57862
|
+
createEventSessionPrice(requestParameters, options) {
|
|
57863
|
+
return localVarFp.createEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(axios, basePath));
|
|
57864
|
+
},
|
|
57865
|
+
/**
|
|
57866
|
+
* Delete Event Session Price endpoint
|
|
57867
|
+
* @summary Delete Event Session Price
|
|
57868
|
+
* @param {EventsSessionsPricesApiDeleteEventSessionPriceRequest} requestParameters Request parameters.
|
|
57869
|
+
* @param {*} [options] Override http request option.
|
|
57870
|
+
* @throws {RequiredError}
|
|
57871
|
+
*/
|
|
57872
|
+
deleteEventSessionPrice(requestParameters, options) {
|
|
57873
|
+
return localVarFp.deleteEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, options).then((request) => request(axios, basePath));
|
|
57874
|
+
},
|
|
57875
|
+
/**
|
|
57876
|
+
* Update Event Session Price endpoint
|
|
57877
|
+
* @summary Update Event Session Price
|
|
57878
|
+
* @param {EventsSessionsPricesApiUpdateEventSessionPriceRequest} requestParameters Request parameters.
|
|
57879
|
+
* @param {*} [options] Override http request option.
|
|
57880
|
+
* @throws {RequiredError}
|
|
57881
|
+
*/
|
|
57882
|
+
updateEventSessionPrice(requestParameters, options) {
|
|
57883
|
+
return localVarFp.updateEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(axios, basePath));
|
|
57884
|
+
},
|
|
57885
|
+
};
|
|
57886
|
+
};
|
|
57887
|
+
/**
|
|
57888
|
+
* EventsSessionsPricesApi - object-oriented interface
|
|
57889
|
+
*/
|
|
57890
|
+
export class EventsSessionsPricesApi extends BaseAPI {
|
|
57891
|
+
/**
|
|
57892
|
+
* Create Event Session Price endpoint
|
|
57893
|
+
* @summary Create Event Session Price
|
|
57894
|
+
* @param {EventsSessionsPricesApiCreateEventSessionPriceRequest} requestParameters Request parameters.
|
|
57895
|
+
* @param {*} [options] Override http request option.
|
|
57896
|
+
* @throws {RequiredError}
|
|
57897
|
+
*/
|
|
57898
|
+
createEventSessionPrice(requestParameters, options) {
|
|
57899
|
+
return EventsSessionsPricesApiFp(this.configuration).createEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(this.axios, this.basePath));
|
|
57900
|
+
}
|
|
57901
|
+
/**
|
|
57902
|
+
* Delete Event Session Price endpoint
|
|
57903
|
+
* @summary Delete Event Session Price
|
|
57904
|
+
* @param {EventsSessionsPricesApiDeleteEventSessionPriceRequest} requestParameters Request parameters.
|
|
57905
|
+
* @param {*} [options] Override http request option.
|
|
57906
|
+
* @throws {RequiredError}
|
|
57907
|
+
*/
|
|
57908
|
+
deleteEventSessionPrice(requestParameters, options) {
|
|
57909
|
+
return EventsSessionsPricesApiFp(this.configuration).deleteEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, options).then((request) => request(this.axios, this.basePath));
|
|
57910
|
+
}
|
|
57911
|
+
/**
|
|
57912
|
+
* Update Event Session Price endpoint
|
|
57913
|
+
* @summary Update Event Session Price
|
|
57914
|
+
* @param {EventsSessionsPricesApiUpdateEventSessionPriceRequest} requestParameters Request parameters.
|
|
57915
|
+
* @param {*} [options] Override http request option.
|
|
57916
|
+
* @throws {RequiredError}
|
|
57917
|
+
*/
|
|
57918
|
+
updateEventSessionPrice(requestParameters, options) {
|
|
57919
|
+
return EventsSessionsPricesApiFp(this.configuration).updateEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(this.axios, this.basePath));
|
|
57920
|
+
}
|
|
57921
|
+
}
|
|
57635
57922
|
/**
|
|
57636
57923
|
* EventsSessionsQuestionsApi - axios parameter creator
|
|
57637
57924
|
*/
|
package/docs/BaseEventSession.md
CHANGED
|
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
|
|
|
23
23
|
**location** | [**BaseEventSessionLocation**](BaseEventSessionLocation.md) | | [default to undefined]
|
|
24
24
|
**registrationEnabled** | **boolean** | | [default to undefined]
|
|
25
25
|
**price** | **number** | | [default to undefined]
|
|
26
|
+
**prices** | [**Array<EventSessionPrice>**](EventSessionPrice.md) | | [default to undefined]
|
|
26
27
|
**limit** | **number** | | [default to undefined]
|
|
27
28
|
**taxCode** | **string** | | [default to undefined]
|
|
28
29
|
**taxIncluded** | **boolean** | | [default to undefined]
|
|
@@ -54,6 +55,7 @@ const instance: BaseEventSession = {
|
|
|
54
55
|
location,
|
|
55
56
|
registrationEnabled,
|
|
56
57
|
price,
|
|
58
|
+
prices,
|
|
57
59
|
limit,
|
|
58
60
|
taxCode,
|
|
59
61
|
taxIncluded,
|
package/docs/EventSession.md
CHANGED
|
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
|
|
|
23
23
|
**location** | [**BaseEventSessionLocation**](BaseEventSessionLocation.md) | | [default to undefined]
|
|
24
24
|
**registrationEnabled** | **boolean** | | [default to undefined]
|
|
25
25
|
**price** | **number** | | [default to undefined]
|
|
26
|
+
**prices** | [**Array<EventSessionPrice>**](EventSessionPrice.md) | | [default to undefined]
|
|
26
27
|
**limit** | **number** | | [default to undefined]
|
|
27
28
|
**taxCode** | **string** | | [default to undefined]
|
|
28
29
|
**taxIncluded** | **boolean** | | [default to undefined]
|
|
@@ -68,6 +69,7 @@ const instance: EventSession = {
|
|
|
68
69
|
location,
|
|
69
70
|
registrationEnabled,
|
|
70
71
|
price,
|
|
72
|
+
prices,
|
|
71
73
|
limit,
|
|
72
74
|
taxCode,
|
|
73
75
|
taxIncluded,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# EventSessionPrice
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**passTypeId** | **string** | | [default to undefined]
|
|
10
|
+
**price** | **number** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { EventSessionPrice } from '@connectedxm/admin-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: EventSessionPrice = {
|
|
18
|
+
id,
|
|
19
|
+
passTypeId,
|
|
20
|
+
price,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|