@connectedxm/admin-sdk 6.27.1 → 6.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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;
@@ -5298,6 +5300,8 @@ export interface EventSession {
5298
5300
  'event': BaseEvent;
5299
5301
  'speakers': Array<BaseEventSpeaker>;
5300
5302
  'meetingId': string | null;
5303
+ 'autoRefundEnabled': boolean;
5304
+ 'autoRefundPercentage': number | null;
5301
5305
  'meeting': BaseMeeting | null;
5302
5306
  'blocks': Array<BaseEventBlock> | null;
5303
5307
  'activationId': string | null;
@@ -5341,6 +5345,8 @@ export interface EventSessionCreateInputs {
5341
5345
  'allowQuickRegister'?: boolean;
5342
5346
  'limit'?: AdvertisementCreateInputsWeight | null;
5343
5347
  'price'?: AdvertisementCreateInputsWeight | null;
5348
+ 'autoRefundEnabled'?: boolean;
5349
+ 'autoRefundPercentage'?: number | null;
5344
5350
  'locationId'?: string | null;
5345
5351
  'roundName'?: string | null;
5346
5352
  'matchName'?: string | null;
@@ -5400,6 +5406,11 @@ export interface EventSessionLocationUpdateInputs {
5400
5406
  'country'?: string | null;
5401
5407
  'zip'?: string | null;
5402
5408
  }
5409
+ export interface EventSessionPrice {
5410
+ 'id': string;
5411
+ 'passTypeId': string;
5412
+ 'price': number;
5413
+ }
5403
5414
  export interface EventSessionQuestion {
5404
5415
  'id': string;
5405
5416
  'eventId': string;
@@ -5693,6 +5704,8 @@ export interface EventSessionUpdateInputs {
5693
5704
  'allowQuickRegister'?: boolean;
5694
5705
  'limit'?: AdvertisementCreateInputsWeight | null;
5695
5706
  'price'?: AdvertisementCreateInputsWeight | null;
5707
+ 'autoRefundEnabled'?: boolean;
5708
+ 'autoRefundPercentage'?: number | null;
5696
5709
  'locationId'?: string | null;
5697
5710
  'roundName'?: string | null;
5698
5711
  'matchName'?: string | null;
@@ -49644,6 +49657,203 @@ export declare class EventsSessionsMatchesApi extends BaseAPI {
49644
49657
  */
49645
49658
  updateEventSessionRoundQuestion(requestParameters: EventsSessionsMatchesApiUpdateEventSessionRoundQuestionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateEventSessionRoundQuestion200Response, any, {}>>;
49646
49659
  }
49660
+ /**
49661
+ * EventsSessionsPricesApi - axios parameter creator
49662
+ */
49663
+ export declare const EventsSessionsPricesApiAxiosParamCreator: (configuration?: Configuration) => {
49664
+ /**
49665
+ * Create Event Session Price endpoint
49666
+ * @summary Create Event Session Price
49667
+ * @param {string} eventId The event identifier
49668
+ * @param {string} sessionId The session identifier
49669
+ * @param {string} passTypeId Filter by passTypeId
49670
+ * @param {number} price Filter by price
49671
+ * @param {*} [options] Override http request option.
49672
+ * @throws {RequiredError}
49673
+ */
49674
+ createEventSessionPrice: (eventId: string, sessionId: string, passTypeId: string, price: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49675
+ /**
49676
+ * Delete Event Session Price endpoint
49677
+ * @summary Delete Event Session Price
49678
+ * @param {string} eventId The event identifier
49679
+ * @param {string} sessionId The session identifier
49680
+ * @param {string} priceId The price identifier
49681
+ * @param {*} [options] Override http request option.
49682
+ * @throws {RequiredError}
49683
+ */
49684
+ deleteEventSessionPrice: (eventId: string, sessionId: string, priceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49685
+ /**
49686
+ * Update Event Session Price endpoint
49687
+ * @summary Update Event Session Price
49688
+ * @param {string} eventId The event identifier
49689
+ * @param {string} sessionId The session identifier
49690
+ * @param {string} priceId The price identifier
49691
+ * @param {string} [passTypeId] Filter by passTypeId
49692
+ * @param {number} [price] Filter by price
49693
+ * @param {*} [options] Override http request option.
49694
+ * @throws {RequiredError}
49695
+ */
49696
+ updateEventSessionPrice: (eventId: string, sessionId: string, priceId: string, passTypeId?: string, price?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49697
+ };
49698
+ /**
49699
+ * EventsSessionsPricesApi - functional programming interface
49700
+ */
49701
+ export declare const EventsSessionsPricesApiFp: (configuration?: Configuration) => {
49702
+ /**
49703
+ * Create Event Session Price endpoint
49704
+ * @summary Create Event Session Price
49705
+ * @param {string} eventId The event identifier
49706
+ * @param {string} sessionId The session identifier
49707
+ * @param {string} passTypeId Filter by passTypeId
49708
+ * @param {number} price Filter by price
49709
+ * @param {*} [options] Override http request option.
49710
+ * @throws {RequiredError}
49711
+ */
49712
+ createEventSessionPrice(eventId: string, sessionId: string, passTypeId: string, price: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>>;
49713
+ /**
49714
+ * Delete Event Session Price endpoint
49715
+ * @summary Delete Event Session Price
49716
+ * @param {string} eventId The event identifier
49717
+ * @param {string} sessionId The session identifier
49718
+ * @param {string} priceId The price identifier
49719
+ * @param {*} [options] Override http request option.
49720
+ * @throws {RequiredError}
49721
+ */
49722
+ deleteEventSessionPrice(eventId: string, sessionId: string, priceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>>;
49723
+ /**
49724
+ * Update Event Session Price endpoint
49725
+ * @summary Update Event Session Price
49726
+ * @param {string} eventId The event identifier
49727
+ * @param {string} sessionId The session identifier
49728
+ * @param {string} priceId The price identifier
49729
+ * @param {string} [passTypeId] Filter by passTypeId
49730
+ * @param {number} [price] Filter by price
49731
+ * @param {*} [options] Override http request option.
49732
+ * @throws {RequiredError}
49733
+ */
49734
+ updateEventSessionPrice(eventId: string, sessionId: string, priceId: string, passTypeId?: string, price?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>>;
49735
+ };
49736
+ /**
49737
+ * EventsSessionsPricesApi - factory interface
49738
+ */
49739
+ export declare const EventsSessionsPricesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
49740
+ /**
49741
+ * Create Event Session Price endpoint
49742
+ * @summary Create Event Session Price
49743
+ * @param {EventsSessionsPricesApiCreateEventSessionPriceRequest} requestParameters Request parameters.
49744
+ * @param {*} [options] Override http request option.
49745
+ * @throws {RequiredError}
49746
+ */
49747
+ createEventSessionPrice(requestParameters: EventsSessionsPricesApiCreateEventSessionPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response>;
49748
+ /**
49749
+ * Delete Event Session Price endpoint
49750
+ * @summary Delete Event Session Price
49751
+ * @param {EventsSessionsPricesApiDeleteEventSessionPriceRequest} requestParameters Request parameters.
49752
+ * @param {*} [options] Override http request option.
49753
+ * @throws {RequiredError}
49754
+ */
49755
+ deleteEventSessionPrice(requestParameters: EventsSessionsPricesApiDeleteEventSessionPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response>;
49756
+ /**
49757
+ * Update Event Session Price endpoint
49758
+ * @summary Update Event Session Price
49759
+ * @param {EventsSessionsPricesApiUpdateEventSessionPriceRequest} requestParameters Request parameters.
49760
+ * @param {*} [options] Override http request option.
49761
+ * @throws {RequiredError}
49762
+ */
49763
+ updateEventSessionPrice(requestParameters: EventsSessionsPricesApiUpdateEventSessionPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response>;
49764
+ };
49765
+ /**
49766
+ * Request parameters for createEventSessionPrice operation in EventsSessionsPricesApi.
49767
+ */
49768
+ export interface EventsSessionsPricesApiCreateEventSessionPriceRequest {
49769
+ /**
49770
+ * The event identifier
49771
+ */
49772
+ readonly eventId: string;
49773
+ /**
49774
+ * The session identifier
49775
+ */
49776
+ readonly sessionId: string;
49777
+ /**
49778
+ * Filter by passTypeId
49779
+ */
49780
+ readonly passTypeId: string;
49781
+ /**
49782
+ * Filter by price
49783
+ */
49784
+ readonly price: number;
49785
+ }
49786
+ /**
49787
+ * Request parameters for deleteEventSessionPrice operation in EventsSessionsPricesApi.
49788
+ */
49789
+ export interface EventsSessionsPricesApiDeleteEventSessionPriceRequest {
49790
+ /**
49791
+ * The event identifier
49792
+ */
49793
+ readonly eventId: string;
49794
+ /**
49795
+ * The session identifier
49796
+ */
49797
+ readonly sessionId: string;
49798
+ /**
49799
+ * The price identifier
49800
+ */
49801
+ readonly priceId: string;
49802
+ }
49803
+ /**
49804
+ * Request parameters for updateEventSessionPrice operation in EventsSessionsPricesApi.
49805
+ */
49806
+ export interface EventsSessionsPricesApiUpdateEventSessionPriceRequest {
49807
+ /**
49808
+ * The event identifier
49809
+ */
49810
+ readonly eventId: string;
49811
+ /**
49812
+ * The session identifier
49813
+ */
49814
+ readonly sessionId: string;
49815
+ /**
49816
+ * The price identifier
49817
+ */
49818
+ readonly priceId: string;
49819
+ /**
49820
+ * Filter by passTypeId
49821
+ */
49822
+ readonly passTypeId?: string;
49823
+ /**
49824
+ * Filter by price
49825
+ */
49826
+ readonly price?: number;
49827
+ }
49828
+ /**
49829
+ * EventsSessionsPricesApi - object-oriented interface
49830
+ */
49831
+ export declare class EventsSessionsPricesApi extends BaseAPI {
49832
+ /**
49833
+ * Create Event Session Price endpoint
49834
+ * @summary Create Event Session Price
49835
+ * @param {EventsSessionsPricesApiCreateEventSessionPriceRequest} requestParameters Request parameters.
49836
+ * @param {*} [options] Override http request option.
49837
+ * @throws {RequiredError}
49838
+ */
49839
+ createEventSessionPrice(requestParameters: EventsSessionsPricesApiCreateEventSessionPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventSession200Response, any, {}>>;
49840
+ /**
49841
+ * Delete Event Session Price endpoint
49842
+ * @summary Delete Event Session Price
49843
+ * @param {EventsSessionsPricesApiDeleteEventSessionPriceRequest} requestParameters Request parameters.
49844
+ * @param {*} [options] Override http request option.
49845
+ * @throws {RequiredError}
49846
+ */
49847
+ deleteEventSessionPrice(requestParameters: EventsSessionsPricesApiDeleteEventSessionPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventSession200Response, any, {}>>;
49848
+ /**
49849
+ * Update Event Session Price endpoint
49850
+ * @summary Update Event Session Price
49851
+ * @param {EventsSessionsPricesApiUpdateEventSessionPriceRequest} requestParameters Request parameters.
49852
+ * @param {*} [options] Override http request option.
49853
+ * @throws {RequiredError}
49854
+ */
49855
+ updateEventSessionPrice(requestParameters: EventsSessionsPricesApiUpdateEventSessionPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventSession200Response, any, {}>>;
49856
+ }
49647
49857
  /**
49648
49858
  * EventsSessionsQuestionsApi - axios parameter creator
49649
49859
  */
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
  */
@@ -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&lt;EventSessionPrice&gt;**](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,
@@ -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&lt;EventSessionPrice&gt;**](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]
@@ -36,6 +37,8 @@ Name | Type | Description | Notes
36
37
  **event** | [**BaseEvent**](BaseEvent.md) | | [default to undefined]
37
38
  **speakers** | [**Array&lt;BaseEventSpeaker&gt;**](BaseEventSpeaker.md) | | [default to undefined]
38
39
  **meetingId** | **string** | | [default to undefined]
40
+ **autoRefundEnabled** | **boolean** | | [default to undefined]
41
+ **autoRefundPercentage** | **number** | | [default to undefined]
39
42
  **meeting** | [**BaseMeeting**](BaseMeeting.md) | | [default to undefined]
40
43
  **blocks** | [**Array&lt;BaseEventBlock&gt;**](BaseEventBlock.md) | | [default to undefined]
41
44
  **activationId** | **string** | | [default to undefined]
@@ -68,6 +71,7 @@ const instance: EventSession = {
68
71
  location,
69
72
  registrationEnabled,
70
73
  price,
74
+ prices,
71
75
  limit,
72
76
  taxCode,
73
77
  taxIncluded,
@@ -81,6 +85,8 @@ const instance: EventSession = {
81
85
  event,
82
86
  speakers,
83
87
  meetingId,
88
+ autoRefundEnabled,
89
+ autoRefundPercentage,
84
90
  meeting,
85
91
  blocks,
86
92
  activationId,
@@ -21,6 +21,8 @@ Name | Type | Description | Notes
21
21
  **allowQuickRegister** | **boolean** | | [optional] [default to undefined]
22
22
  **limit** | [**AdvertisementCreateInputsWeight**](AdvertisementCreateInputsWeight.md) | | [optional] [default to undefined]
23
23
  **price** | [**AdvertisementCreateInputsWeight**](AdvertisementCreateInputsWeight.md) | | [optional] [default to undefined]
24
+ **autoRefundEnabled** | **boolean** | | [optional] [default to undefined]
25
+ **autoRefundPercentage** | **number** | | [optional] [default to undefined]
24
26
  **locationId** | **string** | | [optional] [default to undefined]
25
27
  **roundName** | **string** | | [optional] [default to undefined]
26
28
  **matchName** | **string** | | [optional] [default to undefined]
@@ -54,6 +56,8 @@ const instance: EventSessionCreateInputs = {
54
56
  allowQuickRegister,
55
57
  limit,
56
58
  price,
59
+ autoRefundEnabled,
60
+ autoRefundPercentage,
57
61
  locationId,
58
62
  roundName,
59
63
  matchName,
@@ -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)
@@ -21,6 +21,8 @@ Name | Type | Description | Notes
21
21
  **allowQuickRegister** | **boolean** | | [optional] [default to undefined]
22
22
  **limit** | [**AdvertisementCreateInputsWeight**](AdvertisementCreateInputsWeight.md) | | [optional] [default to undefined]
23
23
  **price** | [**AdvertisementCreateInputsWeight**](AdvertisementCreateInputsWeight.md) | | [optional] [default to undefined]
24
+ **autoRefundEnabled** | **boolean** | | [optional] [default to undefined]
25
+ **autoRefundPercentage** | **number** | | [optional] [default to undefined]
24
26
  **locationId** | **string** | | [optional] [default to undefined]
25
27
  **roundName** | **string** | | [optional] [default to undefined]
26
28
  **matchName** | **string** | | [optional] [default to undefined]
@@ -54,6 +56,8 @@ const instance: EventSessionUpdateInputs = {
54
56
  allowQuickRegister,
55
57
  limit,
56
58
  price,
59
+ autoRefundEnabled,
60
+ autoRefundPercentage,
57
61
  locationId,
58
62
  roundName,
59
63
  matchName,