@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/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/api.js
CHANGED
|
@@ -40,15 +40,16 @@ exports.EventsAttendeesReservationsApiAxiosParamCreator = exports.EventsAttendee
|
|
|
40
40
|
exports.EventsFollowupsTranslationsApiFactory = exports.EventsFollowupsTranslationsApiFp = exports.EventsFollowupsTranslationsApiAxiosParamCreator = exports.EventsFollowupsApi = exports.EventsFollowupsApiFactory = exports.EventsFollowupsApiFp = exports.EventsFollowupsApiAxiosParamCreator = exports.EventsFaqsTranslationsApi = exports.EventsFaqsTranslationsApiFactory = exports.EventsFaqsTranslationsApiFp = exports.EventsFaqsTranslationsApiAxiosParamCreator = exports.EventsFaqsApi = exports.EventsFaqsApiFactory = exports.EventsFaqsApiFp = exports.EventsFaqsApiAxiosParamCreator = exports.EventsEmailsTranslationsApi = exports.EventsEmailsTranslationsApiFactory = exports.EventsEmailsTranslationsApiFp = exports.EventsEmailsTranslationsApiAxiosParamCreator = 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 = exports.EventsBypassApiFp = exports.EventsBypassApiAxiosParamCreator = exports.EventsBlocksApi = exports.EventsBlocksApiFactory = exports.EventsBlocksApiFp = exports.EventsBlocksApiAxiosParamCreator = exports.EventsBenefitsApi = exports.EventsBenefitsApiFactory = exports.EventsBenefitsApiFp = exports.EventsBenefitsApiAxiosParamCreator = exports.EventsAttributesApi = exports.EventsAttributesApiFactory = exports.EventsAttributesApiFp = exports.EventsAttributesApiAxiosParamCreator = exports.EventsAttendeesReservationsApi = exports.EventsAttendeesReservationsApiFactory = exports.EventsAttendeesReservationsApiFp = void 0;
|
|
41
41
|
exports.EventsPassesAddonsApi = exports.EventsPassesAddonsApiFactory = exports.EventsPassesAddonsApiFp = exports.EventsPassesAddonsApiAxiosParamCreator = exports.EventsPassesAccessesApi = exports.EventsPassesAccessesApiFactory = exports.EventsPassesAccessesApiFp = exports.EventsPassesAccessesApiAxiosParamCreator = exports.EventsPassesApi = exports.EventsPassesApiFactory = exports.EventsPassesApiFp = exports.EventsPassesApiAxiosParamCreator = exports.EventsPagesTranslationsApi = exports.EventsPagesTranslationsApiFactory = exports.EventsPagesTranslationsApiFp = exports.EventsPagesTranslationsApiAxiosParamCreator = exports.EventsPagesApi = exports.EventsPagesApiFactory = exports.EventsPagesApiFp = exports.EventsPagesApiAxiosParamCreator = exports.EventsPackagesTranslationsApi = exports.EventsPackagesTranslationsApiFactory = exports.EventsPackagesTranslationsApiFp = exports.EventsPackagesTranslationsApiAxiosParamCreator = 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.EventsMediaTranslationsApi = exports.EventsMediaTranslationsApiFactory = exports.EventsMediaTranslationsApiFp = exports.EventsMediaTranslationsApiAxiosParamCreator = exports.GetEventMediaItemsTypeEnum = exports.EventsMediaApi = exports.EventsMediaApiFactory = exports.EventsMediaApiFp = exports.EventsMediaApiAxiosParamCreator = exports.EventsMatchesApi = exports.EventsMatchesApiFactory = exports.EventsMatchesApiFp = exports.EventsMatchesApiAxiosParamCreator = exports.EventsFollowupsTranslationsApi = void 0;
|
|
42
42
|
exports.EventsSectionsApiFp = exports.EventsSectionsApiAxiosParamCreator = exports.EventsRoomtypesTranslationsApi = exports.EventsRoomtypesTranslationsApiFactory = exports.EventsRoomtypesTranslationsApiFp = exports.EventsRoomtypesTranslationsApiAxiosParamCreator = exports.EventsRoomtypesApi = exports.EventsRoomtypesApiFactory = exports.EventsRoomtypesApiFp = exports.EventsRoomtypesApiAxiosParamCreator = exports.EventsRoomsApi = exports.EventsRoomsApiFactory = exports.EventsRoomsApiFp = exports.EventsRoomsApiAxiosParamCreator = exports.EventsQuestionsTranslationsApi = exports.EventsQuestionsTranslationsApiFactory = exports.EventsQuestionsTranslationsApiFp = exports.EventsQuestionsTranslationsApiAxiosParamCreator = exports.EventsQuestionsApi = exports.EventsQuestionsApiFactory = exports.EventsQuestionsApiFp = exports.EventsQuestionsApiAxiosParamCreator = exports.EventsPasstypesTranslationsApi = exports.EventsPasstypesTranslationsApiFactory = exports.EventsPasstypesTranslationsApiFp = exports.EventsPasstypesTranslationsApiAxiosParamCreator = 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.EventsPassesResponsesApi = exports.EventsPassesResponsesApiFactory = exports.EventsPassesResponsesApiFp = exports.EventsPassesResponsesApiAxiosParamCreator = exports.EventsPassesFollowupsApi = exports.EventsPassesFollowupsApiFactory = exports.EventsPassesFollowupsApiFp = exports.EventsPassesFollowupsApiAxiosParamCreator = exports.EventsPassesAttributesApi = exports.EventsPassesAttributesApiFactory = exports.EventsPassesAttributesApiFp = exports.EventsPassesAttributesApiAxiosParamCreator = void 0;
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
50
|
-
exports.
|
|
51
|
-
exports.
|
|
43
|
+
exports.EventsSessionsTimesApi = exports.EventsSessionsTimesApiFactory = exports.EventsSessionsTimesApiFp = exports.EventsSessionsTimesApiAxiosParamCreator = exports.EventsSessionsSectionsTranslationsApi = exports.EventsSessionsSectionsTranslationsApiFactory = exports.EventsSessionsSectionsTranslationsApiFp = exports.EventsSessionsSectionsTranslationsApiAxiosParamCreator = exports.EventsSessionsSectionsApi = exports.EventsSessionsSectionsApiFactory = exports.EventsSessionsSectionsApiFp = exports.EventsSessionsSectionsApiAxiosParamCreator = exports.EventsSessionsQuestionsTranslationsApi = exports.EventsSessionsQuestionsTranslationsApiFactory = exports.EventsSessionsQuestionsTranslationsApiFp = exports.EventsSessionsQuestionsTranslationsApiAxiosParamCreator = exports.EventsSessionsQuestionsApi = exports.EventsSessionsQuestionsApiFactory = exports.EventsSessionsQuestionsApiFp = exports.EventsSessionsQuestionsApiAxiosParamCreator = exports.EventsSessionsPricesApi = exports.EventsSessionsPricesApiFactory = exports.EventsSessionsPricesApiFp = exports.EventsSessionsPricesApiAxiosParamCreator = exports.EventsSessionsMatchesApi = exports.EventsSessionsMatchesApiFactory = exports.EventsSessionsMatchesApiFp = exports.EventsSessionsMatchesApiAxiosParamCreator = exports.EventsSessionsLocationsTranslationsApi = exports.EventsSessionsLocationsTranslationsApiFactory = exports.EventsSessionsLocationsTranslationsApiFp = exports.EventsSessionsLocationsTranslationsApiAxiosParamCreator = 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.EventsSectionsTranslationsApi = exports.EventsSectionsTranslationsApiFactory = exports.EventsSectionsTranslationsApiFp = exports.EventsSectionsTranslationsApiAxiosParamCreator = exports.EventsSectionsApi = exports.EventsSectionsApiFactory = void 0;
|
|
44
|
+
exports.EventsTranslationsApiFp = exports.EventsTranslationsApiAxiosParamCreator = exports.EventsTracksTranslationsApi = exports.EventsTracksTranslationsApiFactory = exports.EventsTracksTranslationsApiFp = exports.EventsTracksTranslationsApiAxiosParamCreator = exports.EventsTracksApi = exports.EventsTracksApiFactory = exports.EventsTracksApiFp = exports.EventsTracksApiAxiosParamCreator = exports.EventsTemplatesApi = exports.EventsTemplatesApiFactory = exports.EventsTemplatesApiFp = exports.EventsTemplatesApiAxiosParamCreator = exports.EventsSponsorshipsTranslationsApi = exports.EventsSponsorshipsTranslationsApiFactory = exports.EventsSponsorshipsTranslationsApiFp = exports.EventsSponsorshipsTranslationsApiAxiosParamCreator = exports.EventsSponsorshipsApi = exports.EventsSponsorshipsApiFactory = exports.EventsSponsorshipsApiFp = exports.EventsSponsorshipsApiAxiosParamCreator = exports.EventsSponsorshiplevelsTranslationsApi = exports.EventsSponsorshiplevelsTranslationsApiFactory = exports.EventsSponsorshiplevelsTranslationsApiFp = exports.EventsSponsorshiplevelsTranslationsApiAxiosParamCreator = exports.EventsSponsorshiplevelsApi = exports.EventsSponsorshiplevelsApiFactory = exports.EventsSponsorshiplevelsApiFp = exports.EventsSponsorshiplevelsApiAxiosParamCreator = exports.EventsSponsorsApi = exports.EventsSponsorsApiFactory = exports.EventsSponsorsApiFp = exports.EventsSponsorsApiAxiosParamCreator = exports.EventsSpeakersTranslationsApi = exports.EventsSpeakersTranslationsApiFactory = exports.EventsSpeakersTranslationsApiFp = exports.EventsSpeakersTranslationsApiAxiosParamCreator = exports.EventsSpeakersApi = exports.EventsSpeakersApiFactory = exports.EventsSpeakersApiFp = exports.EventsSpeakersApiAxiosParamCreator = exports.EventsSessionsTranslationsApi = exports.EventsSessionsTranslationsApiFactory = exports.EventsSessionsTranslationsApiFp = exports.EventsSessionsTranslationsApiAxiosParamCreator = exports.EventsSessionsTimesTranslationsApi = exports.EventsSessionsTimesTranslationsApiFactory = exports.EventsSessionsTimesTranslationsApiFp = exports.EventsSessionsTimesTranslationsApiAxiosParamCreator = void 0;
|
|
45
|
+
exports.InterestsApiFactory = exports.InterestsApiFp = exports.InterestsApiAxiosParamCreator = exports.ImportsApi = exports.ImportsApiFactory = exports.ImportsApiFp = exports.ImportsApiAxiosParamCreator = exports.GroupsTranslationsApi = exports.GroupsTranslationsApiFactory = exports.GroupsTranslationsApiFp = exports.GroupsTranslationsApiAxiosParamCreator = 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 = 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.EventsTranslationsApi = exports.EventsTranslationsApiFactory = void 0;
|
|
46
|
+
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 = 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 = void 0;
|
|
47
|
+
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 = exports.OrganizationModulesTiersApiFp = exports.OrganizationModulesTiersApiAxiosParamCreator = exports.OrganizationModulesSettingsTranslationsApi = exports.OrganizationModulesSettingsTranslationsApiFactory = exports.OrganizationModulesSettingsTranslationsApiFp = exports.OrganizationModulesSettingsTranslationsApiAxiosParamCreator = exports.OrganizationModulesSettingsApi = exports.OrganizationModulesSettingsApiFactory = exports.OrganizationModulesSettingsApiFp = exports.OrganizationModulesSettingsApiAxiosParamCreator = exports.OrganizationModulesCustomTranslationsApi = exports.OrganizationModulesCustomTranslationsApiFactory = exports.OrganizationModulesCustomTranslationsApiFp = exports.OrganizationModulesCustomTranslationsApiAxiosParamCreator = 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 = void 0;
|
|
48
|
+
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 = 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 = void 0;
|
|
49
|
+
exports.StorageVideosApiFp = exports.StorageVideosApiAxiosParamCreator = exports.StorageImagesApi = exports.StorageImagesApiFactory = exports.StorageImagesApiFp = exports.StorageImagesApiAxiosParamCreator = exports.UploadFileSourceEnum = exports.StorageFilesApi = exports.StorageFilesApiFactory = exports.StorageFilesApiFp = exports.StorageFilesApiAxiosParamCreator = exports.SponsorsTranslationsApi = exports.SponsorsTranslationsApiFactory = exports.SponsorsTranslationsApiFp = exports.SponsorsTranslationsApiAxiosParamCreator = exports.SponsorsAccountsApi = exports.SponsorsAccountsApiFactory = exports.SponsorsAccountsApiFp = exports.SponsorsAccountsApiAxiosParamCreator = exports.SponsorsApi = exports.SponsorsApiFactory = exports.SponsorsApiFp = exports.SponsorsApiAxiosParamCreator = exports.SeriesTranslationsApi = exports.SeriesTranslationsApiFactory = exports.SeriesTranslationsApiFp = exports.SeriesTranslationsApiAxiosParamCreator = exports.SeriesRegistrationsApi = exports.SeriesRegistrationsApiFactory = exports.SeriesRegistrationsApiFp = exports.SeriesRegistrationsApiAxiosParamCreator = exports.SeriesQuestionsTranslationsApi = exports.SeriesQuestionsTranslationsApiFactory = exports.SeriesQuestionsTranslationsApiFp = exports.SeriesQuestionsTranslationsApiAxiosParamCreator = exports.SeriesQuestionsChoicesApi = exports.SeriesQuestionsChoicesApiFactory = exports.SeriesQuestionsChoicesApiFp = exports.SeriesQuestionsChoicesApiAxiosParamCreator = exports.SeriesQuestionsApi = exports.SeriesQuestionsApiFactory = exports.SeriesQuestionsApiFp = exports.SeriesQuestionsApiAxiosParamCreator = exports.SeriesApi = exports.SeriesApiFactory = exports.SeriesApiFp = exports.SeriesApiAxiosParamCreator = exports.SelfImagesApi = exports.SelfImagesApiFactory = exports.SelfImagesApiFp = void 0;
|
|
50
|
+
exports.SurveysSectionsTranslationsApiFactory = exports.SurveysSectionsTranslationsApiFp = exports.SurveysSectionsTranslationsApiAxiosParamCreator = exports.SurveysSectionsApi = exports.SurveysSectionsApiFactory = exports.SurveysSectionsApiFp = exports.SurveysSectionsApiAxiosParamCreator = exports.SurveysQuestionsTranslationsApi = exports.SurveysQuestionsTranslationsApiFactory = exports.SurveysQuestionsTranslationsApiFp = exports.SurveysQuestionsTranslationsApiAxiosParamCreator = 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 = exports.StreamsApiAxiosParamCreator = exports.StorageVideosCaptionsApi = exports.StorageVideosCaptionsApiFactory = exports.StorageVideosCaptionsApiFp = exports.StorageVideosCaptionsApiAxiosParamCreator = exports.StorageVideosApi = exports.StorageVideosApiFactory = void 0;
|
|
51
|
+
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 = exports.ThreadsCirclesAccountsApiFp = exports.ThreadsCirclesAccountsApiAxiosParamCreator = exports.ThreadsCirclesApi = exports.ThreadsCirclesApiFactory = exports.ThreadsCirclesApiFp = exports.ThreadsCirclesApiAxiosParamCreator = exports.ThreadsApi = exports.ThreadsApiFactory = exports.ThreadsApiFp = exports.ThreadsApiAxiosParamCreator = exports.SurveysTranslationsApi = exports.SurveysTranslationsApiFactory = exports.SurveysTranslationsApiFp = exports.SurveysTranslationsApiAxiosParamCreator = exports.SurveysSubmissionsApi = exports.SurveysSubmissionsApiFactory = exports.SurveysSubmissionsApiFp = exports.SurveysSubmissionsApiAxiosParamCreator = exports.SurveysSessionsApi = exports.SurveysSessionsApiFactory = exports.SurveysSessionsApiFp = exports.SurveysSessionsApiAxiosParamCreator = exports.SurveysSectionsTranslationsApi = void 0;
|
|
52
|
+
exports.GetTiersTypeEnum = exports.TiersApi = exports.TiersApiFactory = exports.TiersApiFp = void 0;
|
|
52
53
|
const axios_1 = require("axios");
|
|
53
54
|
// Some imports not used depending on template conditions
|
|
54
55
|
// @ts-ignore
|
|
@@ -58013,6 +58014,297 @@ class EventsSessionsMatchesApi extends base_1.BaseAPI {
|
|
|
58013
58014
|
}
|
|
58014
58015
|
}
|
|
58015
58016
|
exports.EventsSessionsMatchesApi = EventsSessionsMatchesApi;
|
|
58017
|
+
/**
|
|
58018
|
+
* EventsSessionsPricesApi - axios parameter creator
|
|
58019
|
+
*/
|
|
58020
|
+
const EventsSessionsPricesApiAxiosParamCreator = function (configuration) {
|
|
58021
|
+
return {
|
|
58022
|
+
/**
|
|
58023
|
+
* Create Event Session Price endpoint
|
|
58024
|
+
* @summary Create Event Session Price
|
|
58025
|
+
* @param {string} eventId The event identifier
|
|
58026
|
+
* @param {string} sessionId The session identifier
|
|
58027
|
+
* @param {string} passTypeId Filter by passTypeId
|
|
58028
|
+
* @param {number} price Filter by price
|
|
58029
|
+
* @param {*} [options] Override http request option.
|
|
58030
|
+
* @throws {RequiredError}
|
|
58031
|
+
*/
|
|
58032
|
+
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 = {}) {
|
|
58033
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
58034
|
+
(0, common_1.assertParamExists)('createEventSessionPrice', 'eventId', eventId);
|
|
58035
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
58036
|
+
(0, common_1.assertParamExists)('createEventSessionPrice', 'sessionId', sessionId);
|
|
58037
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
58038
|
+
(0, common_1.assertParamExists)('createEventSessionPrice', 'passTypeId', passTypeId);
|
|
58039
|
+
// verify required parameter 'price' is not null or undefined
|
|
58040
|
+
(0, common_1.assertParamExists)('createEventSessionPrice', 'price', price);
|
|
58041
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/prices`
|
|
58042
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
58043
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
58044
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58045
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
58046
|
+
let baseOptions;
|
|
58047
|
+
if (configuration) {
|
|
58048
|
+
baseOptions = configuration.baseOptions;
|
|
58049
|
+
}
|
|
58050
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
58051
|
+
const localVarHeaderParameter = {};
|
|
58052
|
+
const localVarQueryParameter = {};
|
|
58053
|
+
// authentication ApiKeyAuth required
|
|
58054
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
58055
|
+
// authentication OrganizationId required
|
|
58056
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
58057
|
+
if (passTypeId !== undefined) {
|
|
58058
|
+
localVarQueryParameter['passTypeId'] = passTypeId;
|
|
58059
|
+
}
|
|
58060
|
+
if (price !== undefined) {
|
|
58061
|
+
localVarQueryParameter['price'] = price;
|
|
58062
|
+
}
|
|
58063
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
58064
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
58065
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58066
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
58067
|
+
return {
|
|
58068
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
58069
|
+
options: localVarRequestOptions,
|
|
58070
|
+
};
|
|
58071
|
+
}),
|
|
58072
|
+
/**
|
|
58073
|
+
* Delete Event Session Price endpoint
|
|
58074
|
+
* @summary Delete Event Session Price
|
|
58075
|
+
* @param {string} eventId The event identifier
|
|
58076
|
+
* @param {string} sessionId The session identifier
|
|
58077
|
+
* @param {string} priceId The price identifier
|
|
58078
|
+
* @param {*} [options] Override http request option.
|
|
58079
|
+
* @throws {RequiredError}
|
|
58080
|
+
*/
|
|
58081
|
+
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 = {}) {
|
|
58082
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
58083
|
+
(0, common_1.assertParamExists)('deleteEventSessionPrice', 'eventId', eventId);
|
|
58084
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
58085
|
+
(0, common_1.assertParamExists)('deleteEventSessionPrice', 'sessionId', sessionId);
|
|
58086
|
+
// verify required parameter 'priceId' is not null or undefined
|
|
58087
|
+
(0, common_1.assertParamExists)('deleteEventSessionPrice', 'priceId', priceId);
|
|
58088
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/prices/{priceId}`
|
|
58089
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
58090
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
58091
|
+
.replace(`{${"priceId"}}`, encodeURIComponent(String(priceId)));
|
|
58092
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58093
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
58094
|
+
let baseOptions;
|
|
58095
|
+
if (configuration) {
|
|
58096
|
+
baseOptions = configuration.baseOptions;
|
|
58097
|
+
}
|
|
58098
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
58099
|
+
const localVarHeaderParameter = {};
|
|
58100
|
+
const localVarQueryParameter = {};
|
|
58101
|
+
// authentication ApiKeyAuth required
|
|
58102
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
58103
|
+
// authentication OrganizationId required
|
|
58104
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
58105
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
58106
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
58107
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58108
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
58109
|
+
return {
|
|
58110
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
58111
|
+
options: localVarRequestOptions,
|
|
58112
|
+
};
|
|
58113
|
+
}),
|
|
58114
|
+
/**
|
|
58115
|
+
* Update Event Session Price endpoint
|
|
58116
|
+
* @summary Update Event Session Price
|
|
58117
|
+
* @param {string} eventId The event identifier
|
|
58118
|
+
* @param {string} sessionId The session identifier
|
|
58119
|
+
* @param {string} priceId The price identifier
|
|
58120
|
+
* @param {string} [passTypeId] Filter by passTypeId
|
|
58121
|
+
* @param {number} [price] Filter by price
|
|
58122
|
+
* @param {*} [options] Override http request option.
|
|
58123
|
+
* @throws {RequiredError}
|
|
58124
|
+
*/
|
|
58125
|
+
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 = {}) {
|
|
58126
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
58127
|
+
(0, common_1.assertParamExists)('updateEventSessionPrice', 'eventId', eventId);
|
|
58128
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
58129
|
+
(0, common_1.assertParamExists)('updateEventSessionPrice', 'sessionId', sessionId);
|
|
58130
|
+
// verify required parameter 'priceId' is not null or undefined
|
|
58131
|
+
(0, common_1.assertParamExists)('updateEventSessionPrice', 'priceId', priceId);
|
|
58132
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/prices/{priceId}`
|
|
58133
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
58134
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
58135
|
+
.replace(`{${"priceId"}}`, encodeURIComponent(String(priceId)));
|
|
58136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58137
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
58138
|
+
let baseOptions;
|
|
58139
|
+
if (configuration) {
|
|
58140
|
+
baseOptions = configuration.baseOptions;
|
|
58141
|
+
}
|
|
58142
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
58143
|
+
const localVarHeaderParameter = {};
|
|
58144
|
+
const localVarQueryParameter = {};
|
|
58145
|
+
// authentication ApiKeyAuth required
|
|
58146
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
58147
|
+
// authentication OrganizationId required
|
|
58148
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
58149
|
+
if (passTypeId !== undefined) {
|
|
58150
|
+
localVarQueryParameter['passTypeId'] = passTypeId;
|
|
58151
|
+
}
|
|
58152
|
+
if (price !== undefined) {
|
|
58153
|
+
localVarQueryParameter['price'] = price;
|
|
58154
|
+
}
|
|
58155
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
58156
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
58157
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58158
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
58159
|
+
return {
|
|
58160
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
58161
|
+
options: localVarRequestOptions,
|
|
58162
|
+
};
|
|
58163
|
+
}),
|
|
58164
|
+
};
|
|
58165
|
+
};
|
|
58166
|
+
exports.EventsSessionsPricesApiAxiosParamCreator = EventsSessionsPricesApiAxiosParamCreator;
|
|
58167
|
+
/**
|
|
58168
|
+
* EventsSessionsPricesApi - functional programming interface
|
|
58169
|
+
*/
|
|
58170
|
+
const EventsSessionsPricesApiFp = function (configuration) {
|
|
58171
|
+
const localVarAxiosParamCreator = (0, exports.EventsSessionsPricesApiAxiosParamCreator)(configuration);
|
|
58172
|
+
return {
|
|
58173
|
+
/**
|
|
58174
|
+
* Create Event Session Price endpoint
|
|
58175
|
+
* @summary Create Event Session Price
|
|
58176
|
+
* @param {string} eventId The event identifier
|
|
58177
|
+
* @param {string} sessionId The session identifier
|
|
58178
|
+
* @param {string} passTypeId Filter by passTypeId
|
|
58179
|
+
* @param {number} price Filter by price
|
|
58180
|
+
* @param {*} [options] Override http request option.
|
|
58181
|
+
* @throws {RequiredError}
|
|
58182
|
+
*/
|
|
58183
|
+
createEventSessionPrice(eventId, sessionId, passTypeId, price, options) {
|
|
58184
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
58185
|
+
var _a, _b, _c;
|
|
58186
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventSessionPrice(eventId, sessionId, passTypeId, price, options);
|
|
58187
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
58188
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsSessionsPricesApi.createEventSessionPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
58189
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58190
|
+
});
|
|
58191
|
+
},
|
|
58192
|
+
/**
|
|
58193
|
+
* Delete Event Session Price endpoint
|
|
58194
|
+
* @summary Delete Event Session Price
|
|
58195
|
+
* @param {string} eventId The event identifier
|
|
58196
|
+
* @param {string} sessionId The session identifier
|
|
58197
|
+
* @param {string} priceId The price identifier
|
|
58198
|
+
* @param {*} [options] Override http request option.
|
|
58199
|
+
* @throws {RequiredError}
|
|
58200
|
+
*/
|
|
58201
|
+
deleteEventSessionPrice(eventId, sessionId, priceId, options) {
|
|
58202
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
58203
|
+
var _a, _b, _c;
|
|
58204
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteEventSessionPrice(eventId, sessionId, priceId, options);
|
|
58205
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
58206
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsSessionsPricesApi.deleteEventSessionPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
58207
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58208
|
+
});
|
|
58209
|
+
},
|
|
58210
|
+
/**
|
|
58211
|
+
* Update Event Session Price endpoint
|
|
58212
|
+
* @summary Update Event Session Price
|
|
58213
|
+
* @param {string} eventId The event identifier
|
|
58214
|
+
* @param {string} sessionId The session identifier
|
|
58215
|
+
* @param {string} priceId The price identifier
|
|
58216
|
+
* @param {string} [passTypeId] Filter by passTypeId
|
|
58217
|
+
* @param {number} [price] Filter by price
|
|
58218
|
+
* @param {*} [options] Override http request option.
|
|
58219
|
+
* @throws {RequiredError}
|
|
58220
|
+
*/
|
|
58221
|
+
updateEventSessionPrice(eventId, sessionId, priceId, passTypeId, price, options) {
|
|
58222
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
58223
|
+
var _a, _b, _c;
|
|
58224
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEventSessionPrice(eventId, sessionId, priceId, passTypeId, price, options);
|
|
58225
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
58226
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsSessionsPricesApi.updateEventSessionPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
58227
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58228
|
+
});
|
|
58229
|
+
},
|
|
58230
|
+
};
|
|
58231
|
+
};
|
|
58232
|
+
exports.EventsSessionsPricesApiFp = EventsSessionsPricesApiFp;
|
|
58233
|
+
/**
|
|
58234
|
+
* EventsSessionsPricesApi - factory interface
|
|
58235
|
+
*/
|
|
58236
|
+
const EventsSessionsPricesApiFactory = function (configuration, basePath, axios) {
|
|
58237
|
+
const localVarFp = (0, exports.EventsSessionsPricesApiFp)(configuration);
|
|
58238
|
+
return {
|
|
58239
|
+
/**
|
|
58240
|
+
* Create Event Session Price endpoint
|
|
58241
|
+
* @summary Create Event Session Price
|
|
58242
|
+
* @param {EventsSessionsPricesApiCreateEventSessionPriceRequest} requestParameters Request parameters.
|
|
58243
|
+
* @param {*} [options] Override http request option.
|
|
58244
|
+
* @throws {RequiredError}
|
|
58245
|
+
*/
|
|
58246
|
+
createEventSessionPrice(requestParameters, options) {
|
|
58247
|
+
return localVarFp.createEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(axios, basePath));
|
|
58248
|
+
},
|
|
58249
|
+
/**
|
|
58250
|
+
* Delete Event Session Price endpoint
|
|
58251
|
+
* @summary Delete Event Session Price
|
|
58252
|
+
* @param {EventsSessionsPricesApiDeleteEventSessionPriceRequest} requestParameters Request parameters.
|
|
58253
|
+
* @param {*} [options] Override http request option.
|
|
58254
|
+
* @throws {RequiredError}
|
|
58255
|
+
*/
|
|
58256
|
+
deleteEventSessionPrice(requestParameters, options) {
|
|
58257
|
+
return localVarFp.deleteEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, options).then((request) => request(axios, basePath));
|
|
58258
|
+
},
|
|
58259
|
+
/**
|
|
58260
|
+
* Update Event Session Price endpoint
|
|
58261
|
+
* @summary Update Event Session Price
|
|
58262
|
+
* @param {EventsSessionsPricesApiUpdateEventSessionPriceRequest} requestParameters Request parameters.
|
|
58263
|
+
* @param {*} [options] Override http request option.
|
|
58264
|
+
* @throws {RequiredError}
|
|
58265
|
+
*/
|
|
58266
|
+
updateEventSessionPrice(requestParameters, options) {
|
|
58267
|
+
return localVarFp.updateEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(axios, basePath));
|
|
58268
|
+
},
|
|
58269
|
+
};
|
|
58270
|
+
};
|
|
58271
|
+
exports.EventsSessionsPricesApiFactory = EventsSessionsPricesApiFactory;
|
|
58272
|
+
/**
|
|
58273
|
+
* EventsSessionsPricesApi - object-oriented interface
|
|
58274
|
+
*/
|
|
58275
|
+
class EventsSessionsPricesApi extends base_1.BaseAPI {
|
|
58276
|
+
/**
|
|
58277
|
+
* Create Event Session Price endpoint
|
|
58278
|
+
* @summary Create Event Session Price
|
|
58279
|
+
* @param {EventsSessionsPricesApiCreateEventSessionPriceRequest} requestParameters Request parameters.
|
|
58280
|
+
* @param {*} [options] Override http request option.
|
|
58281
|
+
* @throws {RequiredError}
|
|
58282
|
+
*/
|
|
58283
|
+
createEventSessionPrice(requestParameters, options) {
|
|
58284
|
+
return (0, exports.EventsSessionsPricesApiFp)(this.configuration).createEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(this.axios, this.basePath));
|
|
58285
|
+
}
|
|
58286
|
+
/**
|
|
58287
|
+
* Delete Event Session Price endpoint
|
|
58288
|
+
* @summary Delete Event Session Price
|
|
58289
|
+
* @param {EventsSessionsPricesApiDeleteEventSessionPriceRequest} requestParameters Request parameters.
|
|
58290
|
+
* @param {*} [options] Override http request option.
|
|
58291
|
+
* @throws {RequiredError}
|
|
58292
|
+
*/
|
|
58293
|
+
deleteEventSessionPrice(requestParameters, options) {
|
|
58294
|
+
return (0, exports.EventsSessionsPricesApiFp)(this.configuration).deleteEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, options).then((request) => request(this.axios, this.basePath));
|
|
58295
|
+
}
|
|
58296
|
+
/**
|
|
58297
|
+
* Update Event Session Price endpoint
|
|
58298
|
+
* @summary Update Event Session Price
|
|
58299
|
+
* @param {EventsSessionsPricesApiUpdateEventSessionPriceRequest} requestParameters Request parameters.
|
|
58300
|
+
* @param {*} [options] Override http request option.
|
|
58301
|
+
* @throws {RequiredError}
|
|
58302
|
+
*/
|
|
58303
|
+
updateEventSessionPrice(requestParameters, options) {
|
|
58304
|
+
return (0, exports.EventsSessionsPricesApiFp)(this.configuration).updateEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(this.axios, this.basePath));
|
|
58305
|
+
}
|
|
58306
|
+
}
|
|
58307
|
+
exports.EventsSessionsPricesApi = EventsSessionsPricesApi;
|
|
58016
58308
|
/**
|
|
58017
58309
|
* EventsSessionsQuestionsApi - axios parameter creator
|
|
58018
58310
|
*/
|