@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.
@@ -583,6 +583,7 @@ docs/EventSessionLocationCreateInputs.md
583
583
  docs/EventSessionLocationTranslation.md
584
584
  docs/EventSessionLocationTranslationUpdateInputs.md
585
585
  docs/EventSessionLocationUpdateInputs.md
586
+ docs/EventSessionPrice.md
586
587
  docs/EventSessionQuestion.md
587
588
  docs/EventSessionQuestionAllOfCount.md
588
589
  docs/EventSessionQuestionChoice.md
@@ -693,6 +694,7 @@ docs/EventsSessionsApi.md
693
694
  docs/EventsSessionsLocationsApi.md
694
695
  docs/EventsSessionsLocationsTranslationsApi.md
695
696
  docs/EventsSessionsMatchesApi.md
697
+ docs/EventsSessionsPricesApi.md
696
698
  docs/EventsSessionsQuestionsApi.md
697
699
  docs/EventsSessionsQuestionsTranslationsApi.md
698
700
  docs/EventsSessionsSectionsApi.md
package/AdminApi.ts CHANGED
@@ -102,6 +102,7 @@ import {
102
102
  EventsSessionsLocationsApi,
103
103
  EventsSessionsLocationsTranslationsApi,
104
104
  EventsSessionsMatchesApi,
105
+ EventsSessionsPricesApi,
105
106
  EventsSessionsQuestionsApi,
106
107
  EventsSessionsQuestionsTranslationsApi,
107
108
  EventsSessionsSectionsApi,
@@ -309,6 +310,7 @@ export class AdminApi {
309
310
  public readonly eventsSessionsLocations: EventsSessionsLocationsApi;
310
311
  public readonly eventsSessionsLocationsTranslations: EventsSessionsLocationsTranslationsApi;
311
312
  public readonly eventsSessionsMatches: EventsSessionsMatchesApi;
313
+ public readonly eventsSessionsPrices: EventsSessionsPricesApi;
312
314
  public readonly eventsSessionsQuestions: EventsSessionsQuestionsApi;
313
315
  public readonly eventsSessionsQuestionsTranslations: EventsSessionsQuestionsTranslationsApi;
314
316
  public readonly eventsSessionsSections: EventsSessionsSectionsApi;
@@ -514,6 +516,7 @@ export class AdminApi {
514
516
  this.eventsSessionsLocations = new EventsSessionsLocationsApi(this.config);
515
517
  this.eventsSessionsLocationsTranslations = new EventsSessionsLocationsTranslationsApi(this.config);
516
518
  this.eventsSessionsMatches = new EventsSessionsMatchesApi(this.config);
519
+ this.eventsSessionsPrices = new EventsSessionsPricesApi(this.config);
517
520
  this.eventsSessionsQuestions = new EventsSessionsQuestionsApi(this.config);
518
521
  this.eventsSessionsQuestionsTranslations = new EventsSessionsQuestionsTranslationsApi(this.config);
519
522
  this.eventsSessionsSections = new EventsSessionsSectionsApi(this.config);
package/README.md CHANGED
@@ -678,6 +678,9 @@ Class | Method | HTTP request | Description
678
678
  *EventsSessionsMatchesApi* | [**startEventSessionRoundMatchmaking**](docs/EventsSessionsMatchesApi.md#starteventsessionroundmatchmaking) | **POST** /events/{eventId}/sessions/{sessionId}/rounds/{roundId}/start | Start Event Session Round Matchmaking
679
679
  *EventsSessionsMatchesApi* | [**updateEventSessionMatch**](docs/EventsSessionsMatchesApi.md#updateeventsessionmatch) | **PUT** /events/{eventId}/sessions/{sessionId}/rounds/{roundId}/matches/{matchId} | Update Event Session Match
680
680
  *EventsSessionsMatchesApi* | [**updateEventSessionRoundQuestion**](docs/EventsSessionsMatchesApi.md#updateeventsessionroundquestion) | **PUT** /events/{eventId}/sessions/{sessionId}/rounds/{roundId}/questions/{questionId} | Update Event Session Round Question
681
+ *EventsSessionsPricesApi* | [**createEventSessionPrice**](docs/EventsSessionsPricesApi.md#createeventsessionprice) | **POST** /events/{eventId}/sessions/{sessionId}/prices | Create Event Session Price
682
+ *EventsSessionsPricesApi* | [**deleteEventSessionPrice**](docs/EventsSessionsPricesApi.md#deleteeventsessionprice) | **DELETE** /events/{eventId}/sessions/{sessionId}/prices/{priceId} | Delete Event Session Price
683
+ *EventsSessionsPricesApi* | [**updateEventSessionPrice**](docs/EventsSessionsPricesApi.md#updateeventsessionprice) | **PUT** /events/{eventId}/sessions/{sessionId}/prices/{priceId} | Update Event Session Price
681
684
  *EventsSessionsQuestionsApi* | [**addEventSessionQuestionChoiceSubQuestion**](docs/EventsSessionsQuestionsApi.md#addeventsessionquestionchoicesubquestion) | **POST** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/choices/{choiceId}/subQuestions/{subQuestionId} | Add Event Session Question Choice Sub Question
682
685
  *EventsSessionsQuestionsApi* | [**attachEventSessionQuestionSearchList**](docs/EventsSessionsQuestionsApi.md#attacheventsessionquestionsearchlist) | **PUT** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/searchlist | Attach Event Session Question Search List
683
686
  *EventsSessionsQuestionsApi* | [**createEventSessionQuestion**](docs/EventsSessionsQuestionsApi.md#createeventsessionquestion) | **POST** /events/{eventId}/sessions/{sessionId}/questions | Create Event Session Question
@@ -1795,6 +1798,7 @@ Class | Method | HTTP request | Description
1795
1798
  - [EventSessionLocationTranslation](docs/EventSessionLocationTranslation.md)
1796
1799
  - [EventSessionLocationTranslationUpdateInputs](docs/EventSessionLocationTranslationUpdateInputs.md)
1797
1800
  - [EventSessionLocationUpdateInputs](docs/EventSessionLocationUpdateInputs.md)
1801
+ - [EventSessionPrice](docs/EventSessionPrice.md)
1798
1802
  - [EventSessionQuestion](docs/EventSessionQuestion.md)
1799
1803
  - [EventSessionQuestionAllOfCount](docs/EventSessionQuestionAllOfCount.md)
1800
1804
  - [EventSessionQuestionChoice](docs/EventSessionQuestionChoice.md)
package/api.ts CHANGED
@@ -1498,6 +1498,7 @@ export interface BaseEventSession {
1498
1498
  'location': BaseEventSessionLocation | null;
1499
1499
  'registrationEnabled': boolean;
1500
1500
  'price': number | null;
1501
+ 'prices': Array<EventSessionPrice>;
1501
1502
  'limit': number | null;
1502
1503
  'taxCode': string | null;
1503
1504
  'taxIncluded': boolean;
@@ -5796,6 +5797,7 @@ export interface EventSession {
5796
5797
  'location': BaseEventSessionLocation | null;
5797
5798
  'registrationEnabled': boolean;
5798
5799
  'price': number | null;
5800
+ 'prices': Array<EventSessionPrice>;
5799
5801
  'limit': number | null;
5800
5802
  'taxCode': string | null;
5801
5803
  'taxIncluded': boolean;
@@ -5809,6 +5811,8 @@ export interface EventSession {
5809
5811
  'event': BaseEvent;
5810
5812
  'speakers': Array<BaseEventSpeaker>;
5811
5813
  'meetingId': string | null;
5814
+ 'autoRefundEnabled': boolean;
5815
+ 'autoRefundPercentage': number | null;
5812
5816
  'meeting': BaseMeeting | null;
5813
5817
  'blocks': Array<BaseEventBlock> | null;
5814
5818
  'activationId': string | null;
@@ -5858,6 +5862,8 @@ export interface EventSessionCreateInputs {
5858
5862
  'allowQuickRegister'?: boolean;
5859
5863
  'limit'?: AdvertisementCreateInputsWeight | null;
5860
5864
  'price'?: AdvertisementCreateInputsWeight | null;
5865
+ 'autoRefundEnabled'?: boolean;
5866
+ 'autoRefundPercentage'?: number | null;
5861
5867
  'locationId'?: string | null;
5862
5868
  'roundName'?: string | null;
5863
5869
  'matchName'?: string | null;
@@ -5919,6 +5925,11 @@ export interface EventSessionLocationUpdateInputs {
5919
5925
  'country'?: string | null;
5920
5926
  'zip'?: string | null;
5921
5927
  }
5928
+ export interface EventSessionPrice {
5929
+ 'id': string;
5930
+ 'passTypeId': string;
5931
+ 'price': number;
5932
+ }
5922
5933
  export interface EventSessionQuestion {
5923
5934
  'id': string;
5924
5935
  'eventId': string;
@@ -6221,6 +6232,8 @@ export interface EventSessionUpdateInputs {
6221
6232
  'allowQuickRegister'?: boolean;
6222
6233
  'limit'?: AdvertisementCreateInputsWeight | null;
6223
6234
  'price'?: AdvertisementCreateInputsWeight | null;
6235
+ 'autoRefundEnabled'?: boolean;
6236
+ 'autoRefundPercentage'?: number | null;
6224
6237
  'locationId'?: string | null;
6225
6238
  'roundName'?: string | null;
6226
6239
  'matchName'?: string | null;
@@ -87097,6 +87110,389 @@ export class EventsSessionsMatchesApi extends BaseAPI {
87097
87110
 
87098
87111
 
87099
87112
 
87113
+ /**
87114
+ * EventsSessionsPricesApi - axios parameter creator
87115
+ */
87116
+ export const EventsSessionsPricesApiAxiosParamCreator = function (configuration?: Configuration) {
87117
+ return {
87118
+ /**
87119
+ * Create Event Session Price endpoint
87120
+ * @summary Create Event Session Price
87121
+ * @param {string} eventId The event identifier
87122
+ * @param {string} sessionId The session identifier
87123
+ * @param {string} passTypeId Filter by passTypeId
87124
+ * @param {number} price Filter by price
87125
+ * @param {*} [options] Override http request option.
87126
+ * @throws {RequiredError}
87127
+ */
87128
+ createEventSessionPrice: async (eventId: string, sessionId: string, passTypeId: string, price: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
87129
+ // verify required parameter 'eventId' is not null or undefined
87130
+ assertParamExists('createEventSessionPrice', 'eventId', eventId)
87131
+ // verify required parameter 'sessionId' is not null or undefined
87132
+ assertParamExists('createEventSessionPrice', 'sessionId', sessionId)
87133
+ // verify required parameter 'passTypeId' is not null or undefined
87134
+ assertParamExists('createEventSessionPrice', 'passTypeId', passTypeId)
87135
+ // verify required parameter 'price' is not null or undefined
87136
+ assertParamExists('createEventSessionPrice', 'price', price)
87137
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/prices`
87138
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
87139
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
87140
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
87141
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87142
+ let baseOptions;
87143
+ if (configuration) {
87144
+ baseOptions = configuration.baseOptions;
87145
+ }
87146
+
87147
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
87148
+ const localVarHeaderParameter = {} as any;
87149
+ const localVarQueryParameter = {} as any;
87150
+
87151
+ // authentication ApiKeyAuth required
87152
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
87153
+
87154
+ // authentication OrganizationId required
87155
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
87156
+
87157
+ if (passTypeId !== undefined) {
87158
+ localVarQueryParameter['passTypeId'] = passTypeId;
87159
+ }
87160
+
87161
+ if (price !== undefined) {
87162
+ localVarQueryParameter['price'] = price;
87163
+ }
87164
+
87165
+ localVarHeaderParameter['Accept'] = 'application/json';
87166
+
87167
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
87168
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87169
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
87170
+
87171
+ return {
87172
+ url: toPathString(localVarUrlObj),
87173
+ options: localVarRequestOptions,
87174
+ };
87175
+ },
87176
+ /**
87177
+ * Delete Event Session Price endpoint
87178
+ * @summary Delete Event Session Price
87179
+ * @param {string} eventId The event identifier
87180
+ * @param {string} sessionId The session identifier
87181
+ * @param {string} priceId The price identifier
87182
+ * @param {*} [options] Override http request option.
87183
+ * @throws {RequiredError}
87184
+ */
87185
+ deleteEventSessionPrice: async (eventId: string, sessionId: string, priceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
87186
+ // verify required parameter 'eventId' is not null or undefined
87187
+ assertParamExists('deleteEventSessionPrice', 'eventId', eventId)
87188
+ // verify required parameter 'sessionId' is not null or undefined
87189
+ assertParamExists('deleteEventSessionPrice', 'sessionId', sessionId)
87190
+ // verify required parameter 'priceId' is not null or undefined
87191
+ assertParamExists('deleteEventSessionPrice', 'priceId', priceId)
87192
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/prices/{priceId}`
87193
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
87194
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
87195
+ .replace(`{${"priceId"}}`, encodeURIComponent(String(priceId)));
87196
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
87197
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87198
+ let baseOptions;
87199
+ if (configuration) {
87200
+ baseOptions = configuration.baseOptions;
87201
+ }
87202
+
87203
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
87204
+ const localVarHeaderParameter = {} as any;
87205
+ const localVarQueryParameter = {} as any;
87206
+
87207
+ // authentication ApiKeyAuth required
87208
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
87209
+
87210
+ // authentication OrganizationId required
87211
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
87212
+
87213
+ localVarHeaderParameter['Accept'] = 'application/json';
87214
+
87215
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
87216
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87217
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
87218
+
87219
+ return {
87220
+ url: toPathString(localVarUrlObj),
87221
+ options: localVarRequestOptions,
87222
+ };
87223
+ },
87224
+ /**
87225
+ * Update Event Session Price endpoint
87226
+ * @summary Update Event Session Price
87227
+ * @param {string} eventId The event identifier
87228
+ * @param {string} sessionId The session identifier
87229
+ * @param {string} priceId The price identifier
87230
+ * @param {string} [passTypeId] Filter by passTypeId
87231
+ * @param {number} [price] Filter by price
87232
+ * @param {*} [options] Override http request option.
87233
+ * @throws {RequiredError}
87234
+ */
87235
+ updateEventSessionPrice: async (eventId: string, sessionId: string, priceId: string, passTypeId?: string, price?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
87236
+ // verify required parameter 'eventId' is not null or undefined
87237
+ assertParamExists('updateEventSessionPrice', 'eventId', eventId)
87238
+ // verify required parameter 'sessionId' is not null or undefined
87239
+ assertParamExists('updateEventSessionPrice', 'sessionId', sessionId)
87240
+ // verify required parameter 'priceId' is not null or undefined
87241
+ assertParamExists('updateEventSessionPrice', 'priceId', priceId)
87242
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/prices/{priceId}`
87243
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
87244
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
87245
+ .replace(`{${"priceId"}}`, encodeURIComponent(String(priceId)));
87246
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
87247
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87248
+ let baseOptions;
87249
+ if (configuration) {
87250
+ baseOptions = configuration.baseOptions;
87251
+ }
87252
+
87253
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
87254
+ const localVarHeaderParameter = {} as any;
87255
+ const localVarQueryParameter = {} as any;
87256
+
87257
+ // authentication ApiKeyAuth required
87258
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
87259
+
87260
+ // authentication OrganizationId required
87261
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
87262
+
87263
+ if (passTypeId !== undefined) {
87264
+ localVarQueryParameter['passTypeId'] = passTypeId;
87265
+ }
87266
+
87267
+ if (price !== undefined) {
87268
+ localVarQueryParameter['price'] = price;
87269
+ }
87270
+
87271
+ localVarHeaderParameter['Accept'] = 'application/json';
87272
+
87273
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
87274
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87275
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
87276
+
87277
+ return {
87278
+ url: toPathString(localVarUrlObj),
87279
+ options: localVarRequestOptions,
87280
+ };
87281
+ },
87282
+ }
87283
+ };
87284
+
87285
+ /**
87286
+ * EventsSessionsPricesApi - functional programming interface
87287
+ */
87288
+ export const EventsSessionsPricesApiFp = function(configuration?: Configuration) {
87289
+ const localVarAxiosParamCreator = EventsSessionsPricesApiAxiosParamCreator(configuration)
87290
+ return {
87291
+ /**
87292
+ * Create Event Session Price endpoint
87293
+ * @summary Create Event Session Price
87294
+ * @param {string} eventId The event identifier
87295
+ * @param {string} sessionId The session identifier
87296
+ * @param {string} passTypeId Filter by passTypeId
87297
+ * @param {number} price Filter by price
87298
+ * @param {*} [options] Override http request option.
87299
+ * @throws {RequiredError}
87300
+ */
87301
+ async createEventSessionPrice(eventId: string, sessionId: string, passTypeId: string, price: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>> {
87302
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createEventSessionPrice(eventId, sessionId, passTypeId, price, options);
87303
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
87304
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsPricesApi.createEventSessionPrice']?.[localVarOperationServerIndex]?.url;
87305
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87306
+ },
87307
+ /**
87308
+ * Delete Event Session Price endpoint
87309
+ * @summary Delete Event Session Price
87310
+ * @param {string} eventId The event identifier
87311
+ * @param {string} sessionId The session identifier
87312
+ * @param {string} priceId The price identifier
87313
+ * @param {*} [options] Override http request option.
87314
+ * @throws {RequiredError}
87315
+ */
87316
+ async deleteEventSessionPrice(eventId: string, sessionId: string, priceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>> {
87317
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEventSessionPrice(eventId, sessionId, priceId, options);
87318
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
87319
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsPricesApi.deleteEventSessionPrice']?.[localVarOperationServerIndex]?.url;
87320
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87321
+ },
87322
+ /**
87323
+ * Update Event Session Price endpoint
87324
+ * @summary Update Event Session Price
87325
+ * @param {string} eventId The event identifier
87326
+ * @param {string} sessionId The session identifier
87327
+ * @param {string} priceId The price identifier
87328
+ * @param {string} [passTypeId] Filter by passTypeId
87329
+ * @param {number} [price] Filter by price
87330
+ * @param {*} [options] Override http request option.
87331
+ * @throws {RequiredError}
87332
+ */
87333
+ async updateEventSessionPrice(eventId: string, sessionId: string, priceId: string, passTypeId?: string, price?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>> {
87334
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEventSessionPrice(eventId, sessionId, priceId, passTypeId, price, options);
87335
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
87336
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsPricesApi.updateEventSessionPrice']?.[localVarOperationServerIndex]?.url;
87337
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87338
+ },
87339
+ }
87340
+ };
87341
+
87342
+ /**
87343
+ * EventsSessionsPricesApi - factory interface
87344
+ */
87345
+ export const EventsSessionsPricesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
87346
+ const localVarFp = EventsSessionsPricesApiFp(configuration)
87347
+ return {
87348
+ /**
87349
+ * Create Event Session Price endpoint
87350
+ * @summary Create Event Session Price
87351
+ * @param {EventsSessionsPricesApiCreateEventSessionPriceRequest} requestParameters Request parameters.
87352
+ * @param {*} [options] Override http request option.
87353
+ * @throws {RequiredError}
87354
+ */
87355
+ createEventSessionPrice(requestParameters: EventsSessionsPricesApiCreateEventSessionPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
87356
+ return localVarFp.createEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(axios, basePath));
87357
+ },
87358
+ /**
87359
+ * Delete Event Session Price endpoint
87360
+ * @summary Delete Event Session Price
87361
+ * @param {EventsSessionsPricesApiDeleteEventSessionPriceRequest} requestParameters Request parameters.
87362
+ * @param {*} [options] Override http request option.
87363
+ * @throws {RequiredError}
87364
+ */
87365
+ deleteEventSessionPrice(requestParameters: EventsSessionsPricesApiDeleteEventSessionPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
87366
+ return localVarFp.deleteEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, options).then((request) => request(axios, basePath));
87367
+ },
87368
+ /**
87369
+ * Update Event Session Price endpoint
87370
+ * @summary Update Event Session Price
87371
+ * @param {EventsSessionsPricesApiUpdateEventSessionPriceRequest} requestParameters Request parameters.
87372
+ * @param {*} [options] Override http request option.
87373
+ * @throws {RequiredError}
87374
+ */
87375
+ updateEventSessionPrice(requestParameters: EventsSessionsPricesApiUpdateEventSessionPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
87376
+ return localVarFp.updateEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(axios, basePath));
87377
+ },
87378
+ };
87379
+ };
87380
+
87381
+ /**
87382
+ * Request parameters for createEventSessionPrice operation in EventsSessionsPricesApi.
87383
+ */
87384
+ export interface EventsSessionsPricesApiCreateEventSessionPriceRequest {
87385
+ /**
87386
+ * The event identifier
87387
+ */
87388
+ readonly eventId: string
87389
+
87390
+ /**
87391
+ * The session identifier
87392
+ */
87393
+ readonly sessionId: string
87394
+
87395
+ /**
87396
+ * Filter by passTypeId
87397
+ */
87398
+ readonly passTypeId: string
87399
+
87400
+ /**
87401
+ * Filter by price
87402
+ */
87403
+ readonly price: number
87404
+ }
87405
+
87406
+ /**
87407
+ * Request parameters for deleteEventSessionPrice operation in EventsSessionsPricesApi.
87408
+ */
87409
+ export interface EventsSessionsPricesApiDeleteEventSessionPriceRequest {
87410
+ /**
87411
+ * The event identifier
87412
+ */
87413
+ readonly eventId: string
87414
+
87415
+ /**
87416
+ * The session identifier
87417
+ */
87418
+ readonly sessionId: string
87419
+
87420
+ /**
87421
+ * The price identifier
87422
+ */
87423
+ readonly priceId: string
87424
+ }
87425
+
87426
+ /**
87427
+ * Request parameters for updateEventSessionPrice operation in EventsSessionsPricesApi.
87428
+ */
87429
+ export interface EventsSessionsPricesApiUpdateEventSessionPriceRequest {
87430
+ /**
87431
+ * The event identifier
87432
+ */
87433
+ readonly eventId: string
87434
+
87435
+ /**
87436
+ * The session identifier
87437
+ */
87438
+ readonly sessionId: string
87439
+
87440
+ /**
87441
+ * The price identifier
87442
+ */
87443
+ readonly priceId: string
87444
+
87445
+ /**
87446
+ * Filter by passTypeId
87447
+ */
87448
+ readonly passTypeId?: string
87449
+
87450
+ /**
87451
+ * Filter by price
87452
+ */
87453
+ readonly price?: number
87454
+ }
87455
+
87456
+ /**
87457
+ * EventsSessionsPricesApi - object-oriented interface
87458
+ */
87459
+ export class EventsSessionsPricesApi extends BaseAPI {
87460
+ /**
87461
+ * Create Event Session Price endpoint
87462
+ * @summary Create Event Session Price
87463
+ * @param {EventsSessionsPricesApiCreateEventSessionPriceRequest} requestParameters Request parameters.
87464
+ * @param {*} [options] Override http request option.
87465
+ * @throws {RequiredError}
87466
+ */
87467
+ public createEventSessionPrice(requestParameters: EventsSessionsPricesApiCreateEventSessionPriceRequest, options?: RawAxiosRequestConfig) {
87468
+ return EventsSessionsPricesApiFp(this.configuration).createEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(this.axios, this.basePath));
87469
+ }
87470
+
87471
+ /**
87472
+ * Delete Event Session Price endpoint
87473
+ * @summary Delete Event Session Price
87474
+ * @param {EventsSessionsPricesApiDeleteEventSessionPriceRequest} requestParameters Request parameters.
87475
+ * @param {*} [options] Override http request option.
87476
+ * @throws {RequiredError}
87477
+ */
87478
+ public deleteEventSessionPrice(requestParameters: EventsSessionsPricesApiDeleteEventSessionPriceRequest, options?: RawAxiosRequestConfig) {
87479
+ return EventsSessionsPricesApiFp(this.configuration).deleteEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, options).then((request) => request(this.axios, this.basePath));
87480
+ }
87481
+
87482
+ /**
87483
+ * Update Event Session Price endpoint
87484
+ * @summary Update Event Session Price
87485
+ * @param {EventsSessionsPricesApiUpdateEventSessionPriceRequest} requestParameters Request parameters.
87486
+ * @param {*} [options] Override http request option.
87487
+ * @throws {RequiredError}
87488
+ */
87489
+ public updateEventSessionPrice(requestParameters: EventsSessionsPricesApiUpdateEventSessionPriceRequest, options?: RawAxiosRequestConfig) {
87490
+ return EventsSessionsPricesApiFp(this.configuration).updateEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(this.axios, this.basePath));
87491
+ }
87492
+ }
87493
+
87494
+
87495
+
87100
87496
  /**
87101
87497
  * EventsSessionsQuestionsApi - axios parameter creator
87102
87498
  */
@@ -9,7 +9,7 @@
9
9
  * const accounts = await adminApi.accounts.getAccounts();
10
10
  * const eventsPasses = await adminApi.eventsPasses.getEventPasses();
11
11
  */
12
- import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttendeesApi, EventsAttendeesPackagesApi, EventsAttendeesReservationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsCirclesApi, ThreadsCirclesAccountsApi, ThreadsMembersApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, TiersApi } from "./api";
12
+ import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttendeesApi, EventsAttendeesPackagesApi, EventsAttendeesReservationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsPricesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsCirclesApi, ThreadsCirclesAccountsApi, ThreadsMembersApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, TiersApi } from "./api";
13
13
  export interface AdminApiConfig {
14
14
  /** Your API key for authentication */
15
15
  apiKey: string;
@@ -108,6 +108,7 @@ export declare class AdminApi {
108
108
  readonly eventsSessionsLocations: EventsSessionsLocationsApi;
109
109
  readonly eventsSessionsLocationsTranslations: EventsSessionsLocationsTranslationsApi;
110
110
  readonly eventsSessionsMatches: EventsSessionsMatchesApi;
111
+ readonly eventsSessionsPrices: EventsSessionsPricesApi;
111
112
  readonly eventsSessionsQuestions: EventsSessionsQuestionsApi;
112
113
  readonly eventsSessionsQuestionsTranslations: EventsSessionsQuestionsTranslationsApi;
113
114
  readonly eventsSessionsSections: EventsSessionsSectionsApi;
package/dist/AdminApi.js CHANGED
@@ -116,6 +116,7 @@ class AdminApi {
116
116
  this.eventsSessionsLocations = new api_1.EventsSessionsLocationsApi(this.config);
117
117
  this.eventsSessionsLocationsTranslations = new api_1.EventsSessionsLocationsTranslationsApi(this.config);
118
118
  this.eventsSessionsMatches = new api_1.EventsSessionsMatchesApi(this.config);
119
+ this.eventsSessionsPrices = new api_1.EventsSessionsPricesApi(this.config);
119
120
  this.eventsSessionsQuestions = new api_1.EventsSessionsQuestionsApi(this.config);
120
121
  this.eventsSessionsQuestionsTranslations = new api_1.EventsSessionsQuestionsTranslationsApi(this.config);
121
122
  this.eventsSessionsSections = new api_1.EventsSessionsSectionsApi(this.config);