@connectedxm/admin-sdk 6.27.0 → 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.
@@ -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
@@ -1490,6 +1490,7 @@ export interface BaseEventSession {
1490
1490
  'startTime': string;
1491
1491
  'endTime': string;
1492
1492
  'registrationEnd'?: string;
1493
+ 'onsiteRegistration': boolean;
1493
1494
  'allowQuickRegister': boolean;
1494
1495
  'tracks': Array<BaseEventTrack>;
1495
1496
  'nonSession': boolean;
@@ -1497,6 +1498,7 @@ export interface BaseEventSession {
1497
1498
  'location': BaseEventSessionLocation | null;
1498
1499
  'registrationEnabled': boolean;
1499
1500
  'price': number | null;
1501
+ 'prices': Array<EventSessionPrice>;
1500
1502
  'limit': number | null;
1501
1503
  'taxCode': string | null;
1502
1504
  'taxIncluded': boolean;
@@ -5787,6 +5789,7 @@ export interface EventSession {
5787
5789
  'startTime': string;
5788
5790
  'endTime': string;
5789
5791
  'registrationEnd'?: string;
5792
+ 'onsiteRegistration': boolean;
5790
5793
  'allowQuickRegister': boolean;
5791
5794
  'tracks': Array<BaseEventTrack>;
5792
5795
  'nonSession': boolean;
@@ -5794,6 +5797,7 @@ export interface EventSession {
5794
5797
  'location': BaseEventSessionLocation | null;
5795
5798
  'registrationEnabled': boolean;
5796
5799
  'price': number | null;
5800
+ 'prices': Array<EventSessionPrice>;
5797
5801
  'limit': number | null;
5798
5802
  'taxCode': string | null;
5799
5803
  'taxIncluded': boolean;
@@ -5852,6 +5856,7 @@ export interface EventSessionCreateInputs {
5852
5856
  'visibility'?: EventSessionVisibility;
5853
5857
  'sortOrder'?: AdvertisementCreateInputsWeight | null;
5854
5858
  'registrationEnabled'?: boolean;
5859
+ 'onsiteRegistration'?: boolean;
5855
5860
  'allowQuickRegister'?: boolean;
5856
5861
  'limit'?: AdvertisementCreateInputsWeight | null;
5857
5862
  'price'?: AdvertisementCreateInputsWeight | null;
@@ -5916,6 +5921,11 @@ export interface EventSessionLocationUpdateInputs {
5916
5921
  'country'?: string | null;
5917
5922
  'zip'?: string | null;
5918
5923
  }
5924
+ export interface EventSessionPrice {
5925
+ 'id': string;
5926
+ 'passTypeId': string;
5927
+ 'price': number;
5928
+ }
5919
5929
  export interface EventSessionQuestion {
5920
5930
  'id': string;
5921
5931
  'eventId': string;
@@ -6214,6 +6224,7 @@ export interface EventSessionUpdateInputs {
6214
6224
  'visibility'?: EventSessionVisibility;
6215
6225
  'sortOrder'?: AdvertisementCreateInputsWeight | null;
6216
6226
  'registrationEnabled'?: boolean;
6227
+ 'onsiteRegistration'?: boolean;
6217
6228
  'allowQuickRegister'?: boolean;
6218
6229
  'limit'?: AdvertisementCreateInputsWeight | null;
6219
6230
  'price'?: AdvertisementCreateInputsWeight | null;
@@ -87093,6 +87104,389 @@ export class EventsSessionsMatchesApi extends BaseAPI {
87093
87104
 
87094
87105
 
87095
87106
 
87107
+ /**
87108
+ * EventsSessionsPricesApi - axios parameter creator
87109
+ */
87110
+ export const EventsSessionsPricesApiAxiosParamCreator = function (configuration?: Configuration) {
87111
+ return {
87112
+ /**
87113
+ * Create Event Session Price endpoint
87114
+ * @summary Create Event Session Price
87115
+ * @param {string} eventId The event identifier
87116
+ * @param {string} sessionId The session identifier
87117
+ * @param {string} passTypeId Filter by passTypeId
87118
+ * @param {number} price Filter by price
87119
+ * @param {*} [options] Override http request option.
87120
+ * @throws {RequiredError}
87121
+ */
87122
+ createEventSessionPrice: async (eventId: string, sessionId: string, passTypeId: string, price: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
87123
+ // verify required parameter 'eventId' is not null or undefined
87124
+ assertParamExists('createEventSessionPrice', 'eventId', eventId)
87125
+ // verify required parameter 'sessionId' is not null or undefined
87126
+ assertParamExists('createEventSessionPrice', 'sessionId', sessionId)
87127
+ // verify required parameter 'passTypeId' is not null or undefined
87128
+ assertParamExists('createEventSessionPrice', 'passTypeId', passTypeId)
87129
+ // verify required parameter 'price' is not null or undefined
87130
+ assertParamExists('createEventSessionPrice', 'price', price)
87131
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/prices`
87132
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
87133
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
87134
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
87135
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87136
+ let baseOptions;
87137
+ if (configuration) {
87138
+ baseOptions = configuration.baseOptions;
87139
+ }
87140
+
87141
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
87142
+ const localVarHeaderParameter = {} as any;
87143
+ const localVarQueryParameter = {} as any;
87144
+
87145
+ // authentication ApiKeyAuth required
87146
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
87147
+
87148
+ // authentication OrganizationId required
87149
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
87150
+
87151
+ if (passTypeId !== undefined) {
87152
+ localVarQueryParameter['passTypeId'] = passTypeId;
87153
+ }
87154
+
87155
+ if (price !== undefined) {
87156
+ localVarQueryParameter['price'] = price;
87157
+ }
87158
+
87159
+ localVarHeaderParameter['Accept'] = 'application/json';
87160
+
87161
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
87162
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87163
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
87164
+
87165
+ return {
87166
+ url: toPathString(localVarUrlObj),
87167
+ options: localVarRequestOptions,
87168
+ };
87169
+ },
87170
+ /**
87171
+ * Delete Event Session Price endpoint
87172
+ * @summary Delete Event Session Price
87173
+ * @param {string} eventId The event identifier
87174
+ * @param {string} sessionId The session identifier
87175
+ * @param {string} priceId The price identifier
87176
+ * @param {*} [options] Override http request option.
87177
+ * @throws {RequiredError}
87178
+ */
87179
+ deleteEventSessionPrice: async (eventId: string, sessionId: string, priceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
87180
+ // verify required parameter 'eventId' is not null or undefined
87181
+ assertParamExists('deleteEventSessionPrice', 'eventId', eventId)
87182
+ // verify required parameter 'sessionId' is not null or undefined
87183
+ assertParamExists('deleteEventSessionPrice', 'sessionId', sessionId)
87184
+ // verify required parameter 'priceId' is not null or undefined
87185
+ assertParamExists('deleteEventSessionPrice', 'priceId', priceId)
87186
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/prices/{priceId}`
87187
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
87188
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
87189
+ .replace(`{${"priceId"}}`, encodeURIComponent(String(priceId)));
87190
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
87191
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87192
+ let baseOptions;
87193
+ if (configuration) {
87194
+ baseOptions = configuration.baseOptions;
87195
+ }
87196
+
87197
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
87198
+ const localVarHeaderParameter = {} as any;
87199
+ const localVarQueryParameter = {} as any;
87200
+
87201
+ // authentication ApiKeyAuth required
87202
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
87203
+
87204
+ // authentication OrganizationId required
87205
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
87206
+
87207
+ localVarHeaderParameter['Accept'] = 'application/json';
87208
+
87209
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
87210
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87211
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
87212
+
87213
+ return {
87214
+ url: toPathString(localVarUrlObj),
87215
+ options: localVarRequestOptions,
87216
+ };
87217
+ },
87218
+ /**
87219
+ * Update Event Session Price endpoint
87220
+ * @summary Update Event Session Price
87221
+ * @param {string} eventId The event identifier
87222
+ * @param {string} sessionId The session identifier
87223
+ * @param {string} priceId The price identifier
87224
+ * @param {string} [passTypeId] Filter by passTypeId
87225
+ * @param {number} [price] Filter by price
87226
+ * @param {*} [options] Override http request option.
87227
+ * @throws {RequiredError}
87228
+ */
87229
+ updateEventSessionPrice: async (eventId: string, sessionId: string, priceId: string, passTypeId?: string, price?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
87230
+ // verify required parameter 'eventId' is not null or undefined
87231
+ assertParamExists('updateEventSessionPrice', 'eventId', eventId)
87232
+ // verify required parameter 'sessionId' is not null or undefined
87233
+ assertParamExists('updateEventSessionPrice', 'sessionId', sessionId)
87234
+ // verify required parameter 'priceId' is not null or undefined
87235
+ assertParamExists('updateEventSessionPrice', 'priceId', priceId)
87236
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/prices/{priceId}`
87237
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
87238
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
87239
+ .replace(`{${"priceId"}}`, encodeURIComponent(String(priceId)));
87240
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
87241
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87242
+ let baseOptions;
87243
+ if (configuration) {
87244
+ baseOptions = configuration.baseOptions;
87245
+ }
87246
+
87247
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
87248
+ const localVarHeaderParameter = {} as any;
87249
+ const localVarQueryParameter = {} as any;
87250
+
87251
+ // authentication ApiKeyAuth required
87252
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
87253
+
87254
+ // authentication OrganizationId required
87255
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
87256
+
87257
+ if (passTypeId !== undefined) {
87258
+ localVarQueryParameter['passTypeId'] = passTypeId;
87259
+ }
87260
+
87261
+ if (price !== undefined) {
87262
+ localVarQueryParameter['price'] = price;
87263
+ }
87264
+
87265
+ localVarHeaderParameter['Accept'] = 'application/json';
87266
+
87267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
87268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87269
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
87270
+
87271
+ return {
87272
+ url: toPathString(localVarUrlObj),
87273
+ options: localVarRequestOptions,
87274
+ };
87275
+ },
87276
+ }
87277
+ };
87278
+
87279
+ /**
87280
+ * EventsSessionsPricesApi - functional programming interface
87281
+ */
87282
+ export const EventsSessionsPricesApiFp = function(configuration?: Configuration) {
87283
+ const localVarAxiosParamCreator = EventsSessionsPricesApiAxiosParamCreator(configuration)
87284
+ return {
87285
+ /**
87286
+ * Create Event Session Price endpoint
87287
+ * @summary Create Event Session Price
87288
+ * @param {string} eventId The event identifier
87289
+ * @param {string} sessionId The session identifier
87290
+ * @param {string} passTypeId Filter by passTypeId
87291
+ * @param {number} price Filter by price
87292
+ * @param {*} [options] Override http request option.
87293
+ * @throws {RequiredError}
87294
+ */
87295
+ async createEventSessionPrice(eventId: string, sessionId: string, passTypeId: string, price: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>> {
87296
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createEventSessionPrice(eventId, sessionId, passTypeId, price, options);
87297
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
87298
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsPricesApi.createEventSessionPrice']?.[localVarOperationServerIndex]?.url;
87299
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87300
+ },
87301
+ /**
87302
+ * Delete Event Session Price endpoint
87303
+ * @summary Delete Event Session Price
87304
+ * @param {string} eventId The event identifier
87305
+ * @param {string} sessionId The session identifier
87306
+ * @param {string} priceId The price identifier
87307
+ * @param {*} [options] Override http request option.
87308
+ * @throws {RequiredError}
87309
+ */
87310
+ async deleteEventSessionPrice(eventId: string, sessionId: string, priceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>> {
87311
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEventSessionPrice(eventId, sessionId, priceId, options);
87312
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
87313
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsPricesApi.deleteEventSessionPrice']?.[localVarOperationServerIndex]?.url;
87314
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87315
+ },
87316
+ /**
87317
+ * Update Event Session Price endpoint
87318
+ * @summary Update Event Session Price
87319
+ * @param {string} eventId The event identifier
87320
+ * @param {string} sessionId The session identifier
87321
+ * @param {string} priceId The price identifier
87322
+ * @param {string} [passTypeId] Filter by passTypeId
87323
+ * @param {number} [price] Filter by price
87324
+ * @param {*} [options] Override http request option.
87325
+ * @throws {RequiredError}
87326
+ */
87327
+ async updateEventSessionPrice(eventId: string, sessionId: string, priceId: string, passTypeId?: string, price?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>> {
87328
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEventSessionPrice(eventId, sessionId, priceId, passTypeId, price, options);
87329
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
87330
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsPricesApi.updateEventSessionPrice']?.[localVarOperationServerIndex]?.url;
87331
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87332
+ },
87333
+ }
87334
+ };
87335
+
87336
+ /**
87337
+ * EventsSessionsPricesApi - factory interface
87338
+ */
87339
+ export const EventsSessionsPricesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
87340
+ const localVarFp = EventsSessionsPricesApiFp(configuration)
87341
+ return {
87342
+ /**
87343
+ * Create Event Session Price endpoint
87344
+ * @summary Create Event Session Price
87345
+ * @param {EventsSessionsPricesApiCreateEventSessionPriceRequest} requestParameters Request parameters.
87346
+ * @param {*} [options] Override http request option.
87347
+ * @throws {RequiredError}
87348
+ */
87349
+ createEventSessionPrice(requestParameters: EventsSessionsPricesApiCreateEventSessionPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
87350
+ return localVarFp.createEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(axios, basePath));
87351
+ },
87352
+ /**
87353
+ * Delete Event Session Price endpoint
87354
+ * @summary Delete Event Session Price
87355
+ * @param {EventsSessionsPricesApiDeleteEventSessionPriceRequest} requestParameters Request parameters.
87356
+ * @param {*} [options] Override http request option.
87357
+ * @throws {RequiredError}
87358
+ */
87359
+ deleteEventSessionPrice(requestParameters: EventsSessionsPricesApiDeleteEventSessionPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
87360
+ return localVarFp.deleteEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, options).then((request) => request(axios, basePath));
87361
+ },
87362
+ /**
87363
+ * Update Event Session Price endpoint
87364
+ * @summary Update Event Session Price
87365
+ * @param {EventsSessionsPricesApiUpdateEventSessionPriceRequest} requestParameters Request parameters.
87366
+ * @param {*} [options] Override http request option.
87367
+ * @throws {RequiredError}
87368
+ */
87369
+ updateEventSessionPrice(requestParameters: EventsSessionsPricesApiUpdateEventSessionPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
87370
+ return localVarFp.updateEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(axios, basePath));
87371
+ },
87372
+ };
87373
+ };
87374
+
87375
+ /**
87376
+ * Request parameters for createEventSessionPrice operation in EventsSessionsPricesApi.
87377
+ */
87378
+ export interface EventsSessionsPricesApiCreateEventSessionPriceRequest {
87379
+ /**
87380
+ * The event identifier
87381
+ */
87382
+ readonly eventId: string
87383
+
87384
+ /**
87385
+ * The session identifier
87386
+ */
87387
+ readonly sessionId: string
87388
+
87389
+ /**
87390
+ * Filter by passTypeId
87391
+ */
87392
+ readonly passTypeId: string
87393
+
87394
+ /**
87395
+ * Filter by price
87396
+ */
87397
+ readonly price: number
87398
+ }
87399
+
87400
+ /**
87401
+ * Request parameters for deleteEventSessionPrice operation in EventsSessionsPricesApi.
87402
+ */
87403
+ export interface EventsSessionsPricesApiDeleteEventSessionPriceRequest {
87404
+ /**
87405
+ * The event identifier
87406
+ */
87407
+ readonly eventId: string
87408
+
87409
+ /**
87410
+ * The session identifier
87411
+ */
87412
+ readonly sessionId: string
87413
+
87414
+ /**
87415
+ * The price identifier
87416
+ */
87417
+ readonly priceId: string
87418
+ }
87419
+
87420
+ /**
87421
+ * Request parameters for updateEventSessionPrice operation in EventsSessionsPricesApi.
87422
+ */
87423
+ export interface EventsSessionsPricesApiUpdateEventSessionPriceRequest {
87424
+ /**
87425
+ * The event identifier
87426
+ */
87427
+ readonly eventId: string
87428
+
87429
+ /**
87430
+ * The session identifier
87431
+ */
87432
+ readonly sessionId: string
87433
+
87434
+ /**
87435
+ * The price identifier
87436
+ */
87437
+ readonly priceId: string
87438
+
87439
+ /**
87440
+ * Filter by passTypeId
87441
+ */
87442
+ readonly passTypeId?: string
87443
+
87444
+ /**
87445
+ * Filter by price
87446
+ */
87447
+ readonly price?: number
87448
+ }
87449
+
87450
+ /**
87451
+ * EventsSessionsPricesApi - object-oriented interface
87452
+ */
87453
+ export class EventsSessionsPricesApi extends BaseAPI {
87454
+ /**
87455
+ * Create Event Session Price endpoint
87456
+ * @summary Create Event Session Price
87457
+ * @param {EventsSessionsPricesApiCreateEventSessionPriceRequest} requestParameters Request parameters.
87458
+ * @param {*} [options] Override http request option.
87459
+ * @throws {RequiredError}
87460
+ */
87461
+ public createEventSessionPrice(requestParameters: EventsSessionsPricesApiCreateEventSessionPriceRequest, options?: RawAxiosRequestConfig) {
87462
+ return EventsSessionsPricesApiFp(this.configuration).createEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(this.axios, this.basePath));
87463
+ }
87464
+
87465
+ /**
87466
+ * Delete Event Session Price endpoint
87467
+ * @summary Delete Event Session Price
87468
+ * @param {EventsSessionsPricesApiDeleteEventSessionPriceRequest} requestParameters Request parameters.
87469
+ * @param {*} [options] Override http request option.
87470
+ * @throws {RequiredError}
87471
+ */
87472
+ public deleteEventSessionPrice(requestParameters: EventsSessionsPricesApiDeleteEventSessionPriceRequest, options?: RawAxiosRequestConfig) {
87473
+ return EventsSessionsPricesApiFp(this.configuration).deleteEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, options).then((request) => request(this.axios, this.basePath));
87474
+ }
87475
+
87476
+ /**
87477
+ * Update Event Session Price endpoint
87478
+ * @summary Update Event Session Price
87479
+ * @param {EventsSessionsPricesApiUpdateEventSessionPriceRequest} requestParameters Request parameters.
87480
+ * @param {*} [options] Override http request option.
87481
+ * @throws {RequiredError}
87482
+ */
87483
+ public updateEventSessionPrice(requestParameters: EventsSessionsPricesApiUpdateEventSessionPriceRequest, options?: RawAxiosRequestConfig) {
87484
+ return EventsSessionsPricesApiFp(this.configuration).updateEventSessionPrice(requestParameters.eventId, requestParameters.sessionId, requestParameters.priceId, requestParameters.passTypeId, requestParameters.price, options).then((request) => request(this.axios, this.basePath));
87485
+ }
87486
+ }
87487
+
87488
+
87489
+
87096
87490
  /**
87097
87491
  * EventsSessionsQuestionsApi - axios parameter creator
87098
87492
  */
@@ -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);