@connectedxm/admin-sdk 6.7.7 → 6.8.6

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.js CHANGED
@@ -235,6 +235,10 @@ export var CreateEventAttendee200ResponseStatusEnum;
235
235
  (function (CreateEventAttendee200ResponseStatusEnum) {
236
236
  CreateEventAttendee200ResponseStatusEnum["Ok"] = "ok";
237
237
  })(CreateEventAttendee200ResponseStatusEnum || (CreateEventAttendee200ResponseStatusEnum = {}));
238
+ export var CreateEventBlock200ResponseStatusEnum;
239
+ (function (CreateEventBlock200ResponseStatusEnum) {
240
+ CreateEventBlock200ResponseStatusEnum["Ok"] = "ok";
241
+ })(CreateEventBlock200ResponseStatusEnum || (CreateEventBlock200ResponseStatusEnum = {}));
238
242
  export var CreateEventCoupon200ResponseStatusEnum;
239
243
  (function (CreateEventCoupon200ResponseStatusEnum) {
240
244
  CreateEventCoupon200ResponseStatusEnum["Ok"] = "ok";
@@ -644,6 +648,10 @@ export var GetEventAttendees200ResponseStatusEnum;
644
648
  (function (GetEventAttendees200ResponseStatusEnum) {
645
649
  GetEventAttendees200ResponseStatusEnum["Ok"] = "ok";
646
650
  })(GetEventAttendees200ResponseStatusEnum || (GetEventAttendees200ResponseStatusEnum = {}));
651
+ export var GetEventBlocks200ResponseStatusEnum;
652
+ (function (GetEventBlocks200ResponseStatusEnum) {
653
+ GetEventBlocks200ResponseStatusEnum["Ok"] = "ok";
654
+ })(GetEventBlocks200ResponseStatusEnum || (GetEventBlocks200ResponseStatusEnum = {}));
647
655
  export var GetEventEmail200ResponseStatusEnum;
648
656
  (function (GetEventEmail200ResponseStatusEnum) {
649
657
  GetEventEmail200ResponseStatusEnum["Ok"] = "ok";
@@ -20048,6 +20056,686 @@ export class EventsBenefitsApi extends BaseAPI {
20048
20056
  return EventsBenefitsApiFp(this.configuration).removeEventBenefit(requestParameters.eventId, requestParameters.benefitId, options).then((request) => request(this.axios, this.basePath));
20049
20057
  }
20050
20058
  }
20059
+ /**
20060
+ * EventsBlocksApi - axios parameter creator
20061
+ */
20062
+ export const EventsBlocksApiAxiosParamCreator = function (configuration) {
20063
+ return {
20064
+ /**
20065
+ * Add Event Block Session endpoint
20066
+ * @summary Add Event Block Session
20067
+ * @param {string} eventId The event identifier
20068
+ * @param {string} blockId The block identifier
20069
+ * @param {string} sessionId The session identifier
20070
+ * @param {*} [options] Override http request option.
20071
+ * @throws {RequiredError}
20072
+ */
20073
+ addEventBlockSession: (eventId_1, blockId_1, sessionId_1, ...args_1) => __awaiter(this, [eventId_1, blockId_1, sessionId_1, ...args_1], void 0, function* (eventId, blockId, sessionId, options = {}) {
20074
+ // verify required parameter 'eventId' is not null or undefined
20075
+ assertParamExists('addEventBlockSession', 'eventId', eventId);
20076
+ // verify required parameter 'blockId' is not null or undefined
20077
+ assertParamExists('addEventBlockSession', 'blockId', blockId);
20078
+ // verify required parameter 'sessionId' is not null or undefined
20079
+ assertParamExists('addEventBlockSession', 'sessionId', sessionId);
20080
+ const localVarPath = `/events/{eventId}/blocks/{blockId}/sessions/{sessionId}`
20081
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
20082
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)))
20083
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
20084
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20085
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20086
+ let baseOptions;
20087
+ if (configuration) {
20088
+ baseOptions = configuration.baseOptions;
20089
+ }
20090
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
20091
+ const localVarHeaderParameter = {};
20092
+ const localVarQueryParameter = {};
20093
+ // authentication ApiKeyAuth required
20094
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
20095
+ // authentication OrganizationId required
20096
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
20097
+ localVarHeaderParameter['Accept'] = 'application/json';
20098
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20099
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20100
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20101
+ return {
20102
+ url: toPathString(localVarUrlObj),
20103
+ options: localVarRequestOptions,
20104
+ };
20105
+ }),
20106
+ /**
20107
+ * Create Event Block endpoint
20108
+ * @summary Create Event Block
20109
+ * @param {string} eventId The event identifier
20110
+ * @param {EventBlockCreateInputs} eventBlockCreateInputs
20111
+ * @param {*} [options] Override http request option.
20112
+ * @throws {RequiredError}
20113
+ */
20114
+ createEventBlock: (eventId_1, eventBlockCreateInputs_1, ...args_1) => __awaiter(this, [eventId_1, eventBlockCreateInputs_1, ...args_1], void 0, function* (eventId, eventBlockCreateInputs, options = {}) {
20115
+ // verify required parameter 'eventId' is not null or undefined
20116
+ assertParamExists('createEventBlock', 'eventId', eventId);
20117
+ // verify required parameter 'eventBlockCreateInputs' is not null or undefined
20118
+ assertParamExists('createEventBlock', 'eventBlockCreateInputs', eventBlockCreateInputs);
20119
+ const localVarPath = `/events/{eventId}/blocks`
20120
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
20121
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20122
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20123
+ let baseOptions;
20124
+ if (configuration) {
20125
+ baseOptions = configuration.baseOptions;
20126
+ }
20127
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
20128
+ const localVarHeaderParameter = {};
20129
+ const localVarQueryParameter = {};
20130
+ // authentication ApiKeyAuth required
20131
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
20132
+ // authentication OrganizationId required
20133
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
20134
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20135
+ localVarHeaderParameter['Accept'] = 'application/json';
20136
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20137
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20138
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20139
+ localVarRequestOptions.data = serializeDataIfNeeded(eventBlockCreateInputs, localVarRequestOptions, configuration);
20140
+ return {
20141
+ url: toPathString(localVarUrlObj),
20142
+ options: localVarRequestOptions,
20143
+ };
20144
+ }),
20145
+ /**
20146
+ * Delete Event Block endpoint
20147
+ * @summary Delete Event Block
20148
+ * @param {string} eventId The event identifier
20149
+ * @param {string} blockId The block identifier
20150
+ * @param {*} [options] Override http request option.
20151
+ * @throws {RequiredError}
20152
+ */
20153
+ deleteEventBlock: (eventId_1, blockId_1, ...args_1) => __awaiter(this, [eventId_1, blockId_1, ...args_1], void 0, function* (eventId, blockId, options = {}) {
20154
+ // verify required parameter 'eventId' is not null or undefined
20155
+ assertParamExists('deleteEventBlock', 'eventId', eventId);
20156
+ // verify required parameter 'blockId' is not null or undefined
20157
+ assertParamExists('deleteEventBlock', 'blockId', blockId);
20158
+ const localVarPath = `/events/{eventId}/blocks/{blockId}`
20159
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
20160
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
20161
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20162
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20163
+ let baseOptions;
20164
+ if (configuration) {
20165
+ baseOptions = configuration.baseOptions;
20166
+ }
20167
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
20168
+ const localVarHeaderParameter = {};
20169
+ const localVarQueryParameter = {};
20170
+ // authentication ApiKeyAuth required
20171
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
20172
+ // authentication OrganizationId required
20173
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
20174
+ localVarHeaderParameter['Accept'] = 'application/json';
20175
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20176
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20177
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20178
+ return {
20179
+ url: toPathString(localVarUrlObj),
20180
+ options: localVarRequestOptions,
20181
+ };
20182
+ }),
20183
+ /**
20184
+ * Get Event Block endpoint
20185
+ * @summary Get Event Block
20186
+ * @param {string} eventId The event identifier
20187
+ * @param {string} blockId The block identifier
20188
+ * @param {*} [options] Override http request option.
20189
+ * @throws {RequiredError}
20190
+ */
20191
+ getEventBlock: (eventId_1, blockId_1, ...args_1) => __awaiter(this, [eventId_1, blockId_1, ...args_1], void 0, function* (eventId, blockId, options = {}) {
20192
+ // verify required parameter 'eventId' is not null or undefined
20193
+ assertParamExists('getEventBlock', 'eventId', eventId);
20194
+ // verify required parameter 'blockId' is not null or undefined
20195
+ assertParamExists('getEventBlock', 'blockId', blockId);
20196
+ const localVarPath = `/events/{eventId}/blocks/{blockId}`
20197
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
20198
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
20199
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20200
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20201
+ let baseOptions;
20202
+ if (configuration) {
20203
+ baseOptions = configuration.baseOptions;
20204
+ }
20205
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
20206
+ const localVarHeaderParameter = {};
20207
+ const localVarQueryParameter = {};
20208
+ // authentication ApiKeyAuth required
20209
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
20210
+ // authentication OrganizationId required
20211
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
20212
+ localVarHeaderParameter['Accept'] = 'application/json';
20213
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20214
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20215
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20216
+ return {
20217
+ url: toPathString(localVarUrlObj),
20218
+ options: localVarRequestOptions,
20219
+ };
20220
+ }),
20221
+ /**
20222
+ * Get Event Block Sessions endpoint
20223
+ * @summary Get Event Block Sessions
20224
+ * @param {string} eventId The event identifier
20225
+ * @param {string} blockId The block identifier
20226
+ * @param {number} [page] Page number
20227
+ * @param {number} [pageSize] Number of items per page
20228
+ * @param {string} [orderBy] Field to order by
20229
+ * @param {string} [search] Search query
20230
+ * @param {*} [options] Override http request option.
20231
+ * @throws {RequiredError}
20232
+ */
20233
+ getEventBlockSessions: (eventId_1, blockId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, blockId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, blockId, page, pageSize, orderBy, search, options = {}) {
20234
+ // verify required parameter 'eventId' is not null or undefined
20235
+ assertParamExists('getEventBlockSessions', 'eventId', eventId);
20236
+ // verify required parameter 'blockId' is not null or undefined
20237
+ assertParamExists('getEventBlockSessions', 'blockId', blockId);
20238
+ const localVarPath = `/events/{eventId}/blocks/{blockId}/sessions`
20239
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
20240
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
20241
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20242
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20243
+ let baseOptions;
20244
+ if (configuration) {
20245
+ baseOptions = configuration.baseOptions;
20246
+ }
20247
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
20248
+ const localVarHeaderParameter = {};
20249
+ const localVarQueryParameter = {};
20250
+ // authentication ApiKeyAuth required
20251
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
20252
+ // authentication OrganizationId required
20253
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
20254
+ if (page !== undefined) {
20255
+ localVarQueryParameter['page'] = page;
20256
+ }
20257
+ if (pageSize !== undefined) {
20258
+ localVarQueryParameter['pageSize'] = pageSize;
20259
+ }
20260
+ if (orderBy !== undefined) {
20261
+ localVarQueryParameter['orderBy'] = orderBy;
20262
+ }
20263
+ if (search !== undefined) {
20264
+ localVarQueryParameter['search'] = search;
20265
+ }
20266
+ localVarHeaderParameter['Accept'] = 'application/json';
20267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20269
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20270
+ return {
20271
+ url: toPathString(localVarUrlObj),
20272
+ options: localVarRequestOptions,
20273
+ };
20274
+ }),
20275
+ /**
20276
+ * Get Event Blocks endpoint
20277
+ * @summary Get Event Blocks
20278
+ * @param {string} eventId The event identifier
20279
+ * @param {number} [page] Page number
20280
+ * @param {number} [pageSize] Number of items per page
20281
+ * @param {string} [orderBy] Field to order by
20282
+ * @param {string} [search] Search query
20283
+ * @param {*} [options] Override http request option.
20284
+ * @throws {RequiredError}
20285
+ */
20286
+ getEventBlocks: (eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, page, pageSize, orderBy, search, options = {}) {
20287
+ // verify required parameter 'eventId' is not null or undefined
20288
+ assertParamExists('getEventBlocks', 'eventId', eventId);
20289
+ const localVarPath = `/events/{eventId}/blocks`
20290
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
20291
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20292
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20293
+ let baseOptions;
20294
+ if (configuration) {
20295
+ baseOptions = configuration.baseOptions;
20296
+ }
20297
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
20298
+ const localVarHeaderParameter = {};
20299
+ const localVarQueryParameter = {};
20300
+ // authentication ApiKeyAuth required
20301
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
20302
+ // authentication OrganizationId required
20303
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
20304
+ if (page !== undefined) {
20305
+ localVarQueryParameter['page'] = page;
20306
+ }
20307
+ if (pageSize !== undefined) {
20308
+ localVarQueryParameter['pageSize'] = pageSize;
20309
+ }
20310
+ if (orderBy !== undefined) {
20311
+ localVarQueryParameter['orderBy'] = orderBy;
20312
+ }
20313
+ if (search !== undefined) {
20314
+ localVarQueryParameter['search'] = search;
20315
+ }
20316
+ localVarHeaderParameter['Accept'] = 'application/json';
20317
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20318
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20319
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20320
+ return {
20321
+ url: toPathString(localVarUrlObj),
20322
+ options: localVarRequestOptions,
20323
+ };
20324
+ }),
20325
+ /**
20326
+ * Remove Event Block Session endpoint
20327
+ * @summary Remove Event Block Session
20328
+ * @param {string} eventId The event identifier
20329
+ * @param {string} blockId The block identifier
20330
+ * @param {string} sessionId The session identifier
20331
+ * @param {*} [options] Override http request option.
20332
+ * @throws {RequiredError}
20333
+ */
20334
+ removeEventBlockSession: (eventId_1, blockId_1, sessionId_1, ...args_1) => __awaiter(this, [eventId_1, blockId_1, sessionId_1, ...args_1], void 0, function* (eventId, blockId, sessionId, options = {}) {
20335
+ // verify required parameter 'eventId' is not null or undefined
20336
+ assertParamExists('removeEventBlockSession', 'eventId', eventId);
20337
+ // verify required parameter 'blockId' is not null or undefined
20338
+ assertParamExists('removeEventBlockSession', 'blockId', blockId);
20339
+ // verify required parameter 'sessionId' is not null or undefined
20340
+ assertParamExists('removeEventBlockSession', 'sessionId', sessionId);
20341
+ const localVarPath = `/events/{eventId}/blocks/{blockId}/sessions/{sessionId}`
20342
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
20343
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)))
20344
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
20345
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20346
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20347
+ let baseOptions;
20348
+ if (configuration) {
20349
+ baseOptions = configuration.baseOptions;
20350
+ }
20351
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
20352
+ const localVarHeaderParameter = {};
20353
+ const localVarQueryParameter = {};
20354
+ // authentication ApiKeyAuth required
20355
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
20356
+ // authentication OrganizationId required
20357
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
20358
+ localVarHeaderParameter['Accept'] = 'application/json';
20359
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20360
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20361
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20362
+ return {
20363
+ url: toPathString(localVarUrlObj),
20364
+ options: localVarRequestOptions,
20365
+ };
20366
+ }),
20367
+ /**
20368
+ * Update Event Block endpoint
20369
+ * @summary Update Event Block
20370
+ * @param {string} eventId The event identifier
20371
+ * @param {string} blockId The block identifier
20372
+ * @param {EventBlockUpdateInputs} eventBlockUpdateInputs
20373
+ * @param {*} [options] Override http request option.
20374
+ * @throws {RequiredError}
20375
+ */
20376
+ updateEventBlock: (eventId_1, blockId_1, eventBlockUpdateInputs_1, ...args_1) => __awaiter(this, [eventId_1, blockId_1, eventBlockUpdateInputs_1, ...args_1], void 0, function* (eventId, blockId, eventBlockUpdateInputs, options = {}) {
20377
+ // verify required parameter 'eventId' is not null or undefined
20378
+ assertParamExists('updateEventBlock', 'eventId', eventId);
20379
+ // verify required parameter 'blockId' is not null or undefined
20380
+ assertParamExists('updateEventBlock', 'blockId', blockId);
20381
+ // verify required parameter 'eventBlockUpdateInputs' is not null or undefined
20382
+ assertParamExists('updateEventBlock', 'eventBlockUpdateInputs', eventBlockUpdateInputs);
20383
+ const localVarPath = `/events/{eventId}/blocks/{blockId}`
20384
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
20385
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
20386
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20387
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20388
+ let baseOptions;
20389
+ if (configuration) {
20390
+ baseOptions = configuration.baseOptions;
20391
+ }
20392
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
20393
+ const localVarHeaderParameter = {};
20394
+ const localVarQueryParameter = {};
20395
+ // authentication ApiKeyAuth required
20396
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
20397
+ // authentication OrganizationId required
20398
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
20399
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20400
+ localVarHeaderParameter['Accept'] = 'application/json';
20401
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20402
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20403
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20404
+ localVarRequestOptions.data = serializeDataIfNeeded(eventBlockUpdateInputs, localVarRequestOptions, configuration);
20405
+ return {
20406
+ url: toPathString(localVarUrlObj),
20407
+ options: localVarRequestOptions,
20408
+ };
20409
+ }),
20410
+ };
20411
+ };
20412
+ /**
20413
+ * EventsBlocksApi - functional programming interface
20414
+ */
20415
+ export const EventsBlocksApiFp = function (configuration) {
20416
+ const localVarAxiosParamCreator = EventsBlocksApiAxiosParamCreator(configuration);
20417
+ return {
20418
+ /**
20419
+ * Add Event Block Session endpoint
20420
+ * @summary Add Event Block Session
20421
+ * @param {string} eventId The event identifier
20422
+ * @param {string} blockId The block identifier
20423
+ * @param {string} sessionId The session identifier
20424
+ * @param {*} [options] Override http request option.
20425
+ * @throws {RequiredError}
20426
+ */
20427
+ addEventBlockSession(eventId, blockId, sessionId, options) {
20428
+ return __awaiter(this, void 0, void 0, function* () {
20429
+ var _a, _b, _c;
20430
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventBlockSession(eventId, blockId, sessionId, options);
20431
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20432
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsBlocksApi.addEventBlockSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20433
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20434
+ });
20435
+ },
20436
+ /**
20437
+ * Create Event Block endpoint
20438
+ * @summary Create Event Block
20439
+ * @param {string} eventId The event identifier
20440
+ * @param {EventBlockCreateInputs} eventBlockCreateInputs
20441
+ * @param {*} [options] Override http request option.
20442
+ * @throws {RequiredError}
20443
+ */
20444
+ createEventBlock(eventId, eventBlockCreateInputs, options) {
20445
+ return __awaiter(this, void 0, void 0, function* () {
20446
+ var _a, _b, _c;
20447
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventBlock(eventId, eventBlockCreateInputs, options);
20448
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20449
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsBlocksApi.createEventBlock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20450
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20451
+ });
20452
+ },
20453
+ /**
20454
+ * Delete Event Block endpoint
20455
+ * @summary Delete Event Block
20456
+ * @param {string} eventId The event identifier
20457
+ * @param {string} blockId The block identifier
20458
+ * @param {*} [options] Override http request option.
20459
+ * @throws {RequiredError}
20460
+ */
20461
+ deleteEventBlock(eventId, blockId, options) {
20462
+ return __awaiter(this, void 0, void 0, function* () {
20463
+ var _a, _b, _c;
20464
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteEventBlock(eventId, blockId, options);
20465
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20466
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsBlocksApi.deleteEventBlock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20467
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20468
+ });
20469
+ },
20470
+ /**
20471
+ * Get Event Block endpoint
20472
+ * @summary Get Event Block
20473
+ * @param {string} eventId The event identifier
20474
+ * @param {string} blockId The block identifier
20475
+ * @param {*} [options] Override http request option.
20476
+ * @throws {RequiredError}
20477
+ */
20478
+ getEventBlock(eventId, blockId, options) {
20479
+ return __awaiter(this, void 0, void 0, function* () {
20480
+ var _a, _b, _c;
20481
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventBlock(eventId, blockId, options);
20482
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20483
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsBlocksApi.getEventBlock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20484
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20485
+ });
20486
+ },
20487
+ /**
20488
+ * Get Event Block Sessions endpoint
20489
+ * @summary Get Event Block Sessions
20490
+ * @param {string} eventId The event identifier
20491
+ * @param {string} blockId The block identifier
20492
+ * @param {number} [page] Page number
20493
+ * @param {number} [pageSize] Number of items per page
20494
+ * @param {string} [orderBy] Field to order by
20495
+ * @param {string} [search] Search query
20496
+ * @param {*} [options] Override http request option.
20497
+ * @throws {RequiredError}
20498
+ */
20499
+ getEventBlockSessions(eventId, blockId, page, pageSize, orderBy, search, options) {
20500
+ return __awaiter(this, void 0, void 0, function* () {
20501
+ var _a, _b, _c;
20502
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventBlockSessions(eventId, blockId, page, pageSize, orderBy, search, options);
20503
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20504
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsBlocksApi.getEventBlockSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20505
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20506
+ });
20507
+ },
20508
+ /**
20509
+ * Get Event Blocks endpoint
20510
+ * @summary Get Event Blocks
20511
+ * @param {string} eventId The event identifier
20512
+ * @param {number} [page] Page number
20513
+ * @param {number} [pageSize] Number of items per page
20514
+ * @param {string} [orderBy] Field to order by
20515
+ * @param {string} [search] Search query
20516
+ * @param {*} [options] Override http request option.
20517
+ * @throws {RequiredError}
20518
+ */
20519
+ getEventBlocks(eventId, page, pageSize, orderBy, search, options) {
20520
+ return __awaiter(this, void 0, void 0, function* () {
20521
+ var _a, _b, _c;
20522
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventBlocks(eventId, page, pageSize, orderBy, search, options);
20523
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20524
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsBlocksApi.getEventBlocks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20525
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20526
+ });
20527
+ },
20528
+ /**
20529
+ * Remove Event Block Session endpoint
20530
+ * @summary Remove Event Block Session
20531
+ * @param {string} eventId The event identifier
20532
+ * @param {string} blockId The block identifier
20533
+ * @param {string} sessionId The session identifier
20534
+ * @param {*} [options] Override http request option.
20535
+ * @throws {RequiredError}
20536
+ */
20537
+ removeEventBlockSession(eventId, blockId, sessionId, options) {
20538
+ return __awaiter(this, void 0, void 0, function* () {
20539
+ var _a, _b, _c;
20540
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventBlockSession(eventId, blockId, sessionId, options);
20541
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20542
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsBlocksApi.removeEventBlockSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20543
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20544
+ });
20545
+ },
20546
+ /**
20547
+ * Update Event Block endpoint
20548
+ * @summary Update Event Block
20549
+ * @param {string} eventId The event identifier
20550
+ * @param {string} blockId The block identifier
20551
+ * @param {EventBlockUpdateInputs} eventBlockUpdateInputs
20552
+ * @param {*} [options] Override http request option.
20553
+ * @throws {RequiredError}
20554
+ */
20555
+ updateEventBlock(eventId, blockId, eventBlockUpdateInputs, options) {
20556
+ return __awaiter(this, void 0, void 0, function* () {
20557
+ var _a, _b, _c;
20558
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEventBlock(eventId, blockId, eventBlockUpdateInputs, options);
20559
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20560
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsBlocksApi.updateEventBlock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20561
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20562
+ });
20563
+ },
20564
+ };
20565
+ };
20566
+ /**
20567
+ * EventsBlocksApi - factory interface
20568
+ */
20569
+ export const EventsBlocksApiFactory = function (configuration, basePath, axios) {
20570
+ const localVarFp = EventsBlocksApiFp(configuration);
20571
+ return {
20572
+ /**
20573
+ * Add Event Block Session endpoint
20574
+ * @summary Add Event Block Session
20575
+ * @param {EventsBlocksApiAddEventBlockSessionRequest} requestParameters Request parameters.
20576
+ * @param {*} [options] Override http request option.
20577
+ * @throws {RequiredError}
20578
+ */
20579
+ addEventBlockSession(requestParameters, options) {
20580
+ return localVarFp.addEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
20581
+ },
20582
+ /**
20583
+ * Create Event Block endpoint
20584
+ * @summary Create Event Block
20585
+ * @param {EventsBlocksApiCreateEventBlockRequest} requestParameters Request parameters.
20586
+ * @param {*} [options] Override http request option.
20587
+ * @throws {RequiredError}
20588
+ */
20589
+ createEventBlock(requestParameters, options) {
20590
+ return localVarFp.createEventBlock(requestParameters.eventId, requestParameters.eventBlockCreateInputs, options).then((request) => request(axios, basePath));
20591
+ },
20592
+ /**
20593
+ * Delete Event Block endpoint
20594
+ * @summary Delete Event Block
20595
+ * @param {EventsBlocksApiDeleteEventBlockRequest} requestParameters Request parameters.
20596
+ * @param {*} [options] Override http request option.
20597
+ * @throws {RequiredError}
20598
+ */
20599
+ deleteEventBlock(requestParameters, options) {
20600
+ return localVarFp.deleteEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(axios, basePath));
20601
+ },
20602
+ /**
20603
+ * Get Event Block endpoint
20604
+ * @summary Get Event Block
20605
+ * @param {EventsBlocksApiGetEventBlockRequest} requestParameters Request parameters.
20606
+ * @param {*} [options] Override http request option.
20607
+ * @throws {RequiredError}
20608
+ */
20609
+ getEventBlock(requestParameters, options) {
20610
+ return localVarFp.getEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(axios, basePath));
20611
+ },
20612
+ /**
20613
+ * Get Event Block Sessions endpoint
20614
+ * @summary Get Event Block Sessions
20615
+ * @param {EventsBlocksApiGetEventBlockSessionsRequest} requestParameters Request parameters.
20616
+ * @param {*} [options] Override http request option.
20617
+ * @throws {RequiredError}
20618
+ */
20619
+ getEventBlockSessions(requestParameters, options) {
20620
+ return localVarFp.getEventBlockSessions(requestParameters.eventId, requestParameters.blockId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
20621
+ },
20622
+ /**
20623
+ * Get Event Blocks endpoint
20624
+ * @summary Get Event Blocks
20625
+ * @param {EventsBlocksApiGetEventBlocksRequest} requestParameters Request parameters.
20626
+ * @param {*} [options] Override http request option.
20627
+ * @throws {RequiredError}
20628
+ */
20629
+ getEventBlocks(requestParameters, options) {
20630
+ return localVarFp.getEventBlocks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
20631
+ },
20632
+ /**
20633
+ * Remove Event Block Session endpoint
20634
+ * @summary Remove Event Block Session
20635
+ * @param {EventsBlocksApiRemoveEventBlockSessionRequest} requestParameters Request parameters.
20636
+ * @param {*} [options] Override http request option.
20637
+ * @throws {RequiredError}
20638
+ */
20639
+ removeEventBlockSession(requestParameters, options) {
20640
+ return localVarFp.removeEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
20641
+ },
20642
+ /**
20643
+ * Update Event Block endpoint
20644
+ * @summary Update Event Block
20645
+ * @param {EventsBlocksApiUpdateEventBlockRequest} requestParameters Request parameters.
20646
+ * @param {*} [options] Override http request option.
20647
+ * @throws {RequiredError}
20648
+ */
20649
+ updateEventBlock(requestParameters, options) {
20650
+ return localVarFp.updateEventBlock(requestParameters.eventId, requestParameters.blockId, requestParameters.eventBlockUpdateInputs, options).then((request) => request(axios, basePath));
20651
+ },
20652
+ };
20653
+ };
20654
+ /**
20655
+ * EventsBlocksApi - object-oriented interface
20656
+ */
20657
+ export class EventsBlocksApi extends BaseAPI {
20658
+ /**
20659
+ * Add Event Block Session endpoint
20660
+ * @summary Add Event Block Session
20661
+ * @param {EventsBlocksApiAddEventBlockSessionRequest} requestParameters Request parameters.
20662
+ * @param {*} [options] Override http request option.
20663
+ * @throws {RequiredError}
20664
+ */
20665
+ addEventBlockSession(requestParameters, options) {
20666
+ return EventsBlocksApiFp(this.configuration).addEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
20667
+ }
20668
+ /**
20669
+ * Create Event Block endpoint
20670
+ * @summary Create Event Block
20671
+ * @param {EventsBlocksApiCreateEventBlockRequest} requestParameters Request parameters.
20672
+ * @param {*} [options] Override http request option.
20673
+ * @throws {RequiredError}
20674
+ */
20675
+ createEventBlock(requestParameters, options) {
20676
+ return EventsBlocksApiFp(this.configuration).createEventBlock(requestParameters.eventId, requestParameters.eventBlockCreateInputs, options).then((request) => request(this.axios, this.basePath));
20677
+ }
20678
+ /**
20679
+ * Delete Event Block endpoint
20680
+ * @summary Delete Event Block
20681
+ * @param {EventsBlocksApiDeleteEventBlockRequest} requestParameters Request parameters.
20682
+ * @param {*} [options] Override http request option.
20683
+ * @throws {RequiredError}
20684
+ */
20685
+ deleteEventBlock(requestParameters, options) {
20686
+ return EventsBlocksApiFp(this.configuration).deleteEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
20687
+ }
20688
+ /**
20689
+ * Get Event Block endpoint
20690
+ * @summary Get Event Block
20691
+ * @param {EventsBlocksApiGetEventBlockRequest} requestParameters Request parameters.
20692
+ * @param {*} [options] Override http request option.
20693
+ * @throws {RequiredError}
20694
+ */
20695
+ getEventBlock(requestParameters, options) {
20696
+ return EventsBlocksApiFp(this.configuration).getEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
20697
+ }
20698
+ /**
20699
+ * Get Event Block Sessions endpoint
20700
+ * @summary Get Event Block Sessions
20701
+ * @param {EventsBlocksApiGetEventBlockSessionsRequest} requestParameters Request parameters.
20702
+ * @param {*} [options] Override http request option.
20703
+ * @throws {RequiredError}
20704
+ */
20705
+ getEventBlockSessions(requestParameters, options) {
20706
+ return EventsBlocksApiFp(this.configuration).getEventBlockSessions(requestParameters.eventId, requestParameters.blockId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
20707
+ }
20708
+ /**
20709
+ * Get Event Blocks endpoint
20710
+ * @summary Get Event Blocks
20711
+ * @param {EventsBlocksApiGetEventBlocksRequest} requestParameters Request parameters.
20712
+ * @param {*} [options] Override http request option.
20713
+ * @throws {RequiredError}
20714
+ */
20715
+ getEventBlocks(requestParameters, options) {
20716
+ return EventsBlocksApiFp(this.configuration).getEventBlocks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
20717
+ }
20718
+ /**
20719
+ * Remove Event Block Session endpoint
20720
+ * @summary Remove Event Block Session
20721
+ * @param {EventsBlocksApiRemoveEventBlockSessionRequest} requestParameters Request parameters.
20722
+ * @param {*} [options] Override http request option.
20723
+ * @throws {RequiredError}
20724
+ */
20725
+ removeEventBlockSession(requestParameters, options) {
20726
+ return EventsBlocksApiFp(this.configuration).removeEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
20727
+ }
20728
+ /**
20729
+ * Update Event Block endpoint
20730
+ * @summary Update Event Block
20731
+ * @param {EventsBlocksApiUpdateEventBlockRequest} requestParameters Request parameters.
20732
+ * @param {*} [options] Override http request option.
20733
+ * @throws {RequiredError}
20734
+ */
20735
+ updateEventBlock(requestParameters, options) {
20736
+ return EventsBlocksApiFp(this.configuration).updateEventBlock(requestParameters.eventId, requestParameters.blockId, requestParameters.eventBlockUpdateInputs, options).then((request) => request(this.axios, this.basePath));
20737
+ }
20738
+ }
20051
20739
  /**
20052
20740
  * EventsBypassApi - axios parameter creator
20053
20741
  */
@@ -21112,6 +21800,7 @@ export const EventsCouponsApiAxiosParamCreator = function (configuration) {
21112
21800
  * @summary Get Event Coupons
21113
21801
  * @param {string} eventId The event identifier
21114
21802
  * @param {boolean} [prePaid] Filter by prePaid
21803
+ * @param {object} [includeVariants] Filter by includeVariants
21115
21804
  * @param {number} [page] Page number
21116
21805
  * @param {number} [pageSize] Number of items per page
21117
21806
  * @param {string} [orderBy] Field to order by
@@ -21119,7 +21808,7 @@ export const EventsCouponsApiAxiosParamCreator = function (configuration) {
21119
21808
  * @param {*} [options] Override http request option.
21120
21809
  * @throws {RequiredError}
21121
21810
  */
21122
- getEventCoupons: (eventId_1, prePaid_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, prePaid_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, prePaid, page, pageSize, orderBy, search, options = {}) {
21811
+ getEventCoupons: (eventId_1, prePaid_1, includeVariants_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, prePaid_1, includeVariants_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, prePaid, includeVariants, page, pageSize, orderBy, search, options = {}) {
21123
21812
  // verify required parameter 'eventId' is not null or undefined
21124
21813
  assertParamExists('getEventCoupons', 'eventId', eventId);
21125
21814
  const localVarPath = `/events/{eventId}/coupons`
@@ -21140,6 +21829,11 @@ export const EventsCouponsApiAxiosParamCreator = function (configuration) {
21140
21829
  if (prePaid !== undefined) {
21141
21830
  localVarQueryParameter['prePaid'] = prePaid;
21142
21831
  }
21832
+ if (includeVariants !== undefined) {
21833
+ for (const [key, value] of Object.entries(includeVariants)) {
21834
+ localVarQueryParameter[key] = value;
21835
+ }
21836
+ }
21143
21837
  if (page !== undefined) {
21144
21838
  localVarQueryParameter['page'] = page;
21145
21839
  }
@@ -21409,6 +22103,7 @@ export const EventsCouponsApiFp = function (configuration) {
21409
22103
  * @summary Get Event Coupons
21410
22104
  * @param {string} eventId The event identifier
21411
22105
  * @param {boolean} [prePaid] Filter by prePaid
22106
+ * @param {object} [includeVariants] Filter by includeVariants
21412
22107
  * @param {number} [page] Page number
21413
22108
  * @param {number} [pageSize] Number of items per page
21414
22109
  * @param {string} [orderBy] Field to order by
@@ -21416,10 +22111,10 @@ export const EventsCouponsApiFp = function (configuration) {
21416
22111
  * @param {*} [options] Override http request option.
21417
22112
  * @throws {RequiredError}
21418
22113
  */
21419
- getEventCoupons(eventId, prePaid, page, pageSize, orderBy, search, options) {
22114
+ getEventCoupons(eventId, prePaid, includeVariants, page, pageSize, orderBy, search, options) {
21420
22115
  return __awaiter(this, void 0, void 0, function* () {
21421
22116
  var _a, _b, _c;
21422
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventCoupons(eventId, prePaid, page, pageSize, orderBy, search, options);
22117
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventCoupons(eventId, prePaid, includeVariants, page, pageSize, orderBy, search, options);
21423
22118
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
21424
22119
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsCouponsApi.getEventCoupons']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21425
22120
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -21557,7 +22252,7 @@ export const EventsCouponsApiFactory = function (configuration, basePath, axios)
21557
22252
  * @throws {RequiredError}
21558
22253
  */
21559
22254
  getEventCoupons(requestParameters, options) {
21560
- return localVarFp.getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
22255
+ return localVarFp.getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.includeVariants, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
21561
22256
  },
21562
22257
  /**
21563
22258
  * Sync Event Coupon To Variants endpoint
@@ -21673,7 +22368,7 @@ export class EventsCouponsApi extends BaseAPI {
21673
22368
  * @throws {RequiredError}
21674
22369
  */
21675
22370
  getEventCoupons(requestParameters, options) {
21676
- return EventsCouponsApiFp(this.configuration).getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
22371
+ return EventsCouponsApiFp(this.configuration).getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.includeVariants, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
21677
22372
  }
21678
22373
  /**
21679
22374
  * Sync Event Coupon To Variants endpoint
@@ -39054,6 +39749,48 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
39054
39749
  options: localVarRequestOptions,
39055
39750
  };
39056
39751
  }),
39752
+ /**
39753
+ * Add Event Session Block endpoint
39754
+ * @summary Add Event Session Block
39755
+ * @param {string} eventId The event identifier
39756
+ * @param {string} sessionId The session identifier
39757
+ * @param {string} blockId The block identifier
39758
+ * @param {*} [options] Override http request option.
39759
+ * @throws {RequiredError}
39760
+ */
39761
+ addEventSessionBlock: (eventId_1, sessionId_1, blockId_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, blockId_1, ...args_1], void 0, function* (eventId, sessionId, blockId, options = {}) {
39762
+ // verify required parameter 'eventId' is not null or undefined
39763
+ assertParamExists('addEventSessionBlock', 'eventId', eventId);
39764
+ // verify required parameter 'sessionId' is not null or undefined
39765
+ assertParamExists('addEventSessionBlock', 'sessionId', sessionId);
39766
+ // verify required parameter 'blockId' is not null or undefined
39767
+ assertParamExists('addEventSessionBlock', 'blockId', blockId);
39768
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks/{blockId}`
39769
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
39770
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
39771
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
39772
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
39773
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39774
+ let baseOptions;
39775
+ if (configuration) {
39776
+ baseOptions = configuration.baseOptions;
39777
+ }
39778
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
39779
+ const localVarHeaderParameter = {};
39780
+ const localVarQueryParameter = {};
39781
+ // authentication ApiKeyAuth required
39782
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
39783
+ // authentication OrganizationId required
39784
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
39785
+ localVarHeaderParameter['Accept'] = 'application/json';
39786
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
39787
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
39788
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
39789
+ return {
39790
+ url: toPathString(localVarUrlObj),
39791
+ options: localVarRequestOptions,
39792
+ };
39793
+ }),
39057
39794
  /**
39058
39795
  * Add Event Session Pass Type endpoint
39059
39796
  * @summary Add Event Session Pass Type
@@ -39449,6 +40186,60 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
39449
40186
  options: localVarRequestOptions,
39450
40187
  };
39451
40188
  }),
40189
+ /**
40190
+ * Get Event Session Blocks endpoint
40191
+ * @summary Get Event Session Blocks
40192
+ * @param {string} eventId The event identifier
40193
+ * @param {string} sessionId The session identifier
40194
+ * @param {number} [page] Page number
40195
+ * @param {number} [pageSize] Number of items per page
40196
+ * @param {string} [orderBy] Field to order by
40197
+ * @param {string} [search] Search query
40198
+ * @param {*} [options] Override http request option.
40199
+ * @throws {RequiredError}
40200
+ */
40201
+ getEventSessionBlocks: (eventId_1, sessionId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, sessionId, page, pageSize, orderBy, search, options = {}) {
40202
+ // verify required parameter 'eventId' is not null or undefined
40203
+ assertParamExists('getEventSessionBlocks', 'eventId', eventId);
40204
+ // verify required parameter 'sessionId' is not null or undefined
40205
+ assertParamExists('getEventSessionBlocks', 'sessionId', sessionId);
40206
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks`
40207
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
40208
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
40209
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40210
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40211
+ let baseOptions;
40212
+ if (configuration) {
40213
+ baseOptions = configuration.baseOptions;
40214
+ }
40215
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
40216
+ const localVarHeaderParameter = {};
40217
+ const localVarQueryParameter = {};
40218
+ // authentication ApiKeyAuth required
40219
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
40220
+ // authentication OrganizationId required
40221
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
40222
+ if (page !== undefined) {
40223
+ localVarQueryParameter['page'] = page;
40224
+ }
40225
+ if (pageSize !== undefined) {
40226
+ localVarQueryParameter['pageSize'] = pageSize;
40227
+ }
40228
+ if (orderBy !== undefined) {
40229
+ localVarQueryParameter['orderBy'] = orderBy;
40230
+ }
40231
+ if (search !== undefined) {
40232
+ localVarQueryParameter['search'] = search;
40233
+ }
40234
+ localVarHeaderParameter['Accept'] = 'application/json';
40235
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40236
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40237
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
40238
+ return {
40239
+ url: toPathString(localVarUrlObj),
40240
+ options: localVarRequestOptions,
40241
+ };
40242
+ }),
39452
40243
  /**
39453
40244
  * Get Event Session Pass Types endpoint
39454
40245
  * @summary Get Event Session Pass Types
@@ -39811,6 +40602,48 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
39811
40602
  options: localVarRequestOptions,
39812
40603
  };
39813
40604
  }),
40605
+ /**
40606
+ * Remove Event Session Block endpoint
40607
+ * @summary Remove Event Session Block
40608
+ * @param {string} eventId The event identifier
40609
+ * @param {string} sessionId The session identifier
40610
+ * @param {string} blockId The block identifier
40611
+ * @param {*} [options] Override http request option.
40612
+ * @throws {RequiredError}
40613
+ */
40614
+ removeEventSessionBlock: (eventId_1, sessionId_1, blockId_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, blockId_1, ...args_1], void 0, function* (eventId, sessionId, blockId, options = {}) {
40615
+ // verify required parameter 'eventId' is not null or undefined
40616
+ assertParamExists('removeEventSessionBlock', 'eventId', eventId);
40617
+ // verify required parameter 'sessionId' is not null or undefined
40618
+ assertParamExists('removeEventSessionBlock', 'sessionId', sessionId);
40619
+ // verify required parameter 'blockId' is not null or undefined
40620
+ assertParamExists('removeEventSessionBlock', 'blockId', blockId);
40621
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks/{blockId}`
40622
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
40623
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
40624
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
40625
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40626
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40627
+ let baseOptions;
40628
+ if (configuration) {
40629
+ baseOptions = configuration.baseOptions;
40630
+ }
40631
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
40632
+ const localVarHeaderParameter = {};
40633
+ const localVarQueryParameter = {};
40634
+ // authentication ApiKeyAuth required
40635
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
40636
+ // authentication OrganizationId required
40637
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
40638
+ localVarHeaderParameter['Accept'] = 'application/json';
40639
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40640
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40641
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
40642
+ return {
40643
+ url: toPathString(localVarUrlObj),
40644
+ options: localVarRequestOptions,
40645
+ };
40646
+ }),
39814
40647
  /**
39815
40648
  * Remove Event Session Pass Type endpoint
39816
40649
  * @summary Remove Event Session Pass Type
@@ -40051,6 +40884,24 @@ export const EventsSessionsApiFp = function (configuration) {
40051
40884
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40052
40885
  });
40053
40886
  },
40887
+ /**
40888
+ * Add Event Session Block endpoint
40889
+ * @summary Add Event Session Block
40890
+ * @param {string} eventId The event identifier
40891
+ * @param {string} sessionId The session identifier
40892
+ * @param {string} blockId The block identifier
40893
+ * @param {*} [options] Override http request option.
40894
+ * @throws {RequiredError}
40895
+ */
40896
+ addEventSessionBlock(eventId, sessionId, blockId, options) {
40897
+ return __awaiter(this, void 0, void 0, function* () {
40898
+ var _a, _b, _c;
40899
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventSessionBlock(eventId, sessionId, blockId, options);
40900
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
40901
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsApi.addEventSessionBlock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
40902
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40903
+ });
40904
+ },
40054
40905
  /**
40055
40906
  * Add Event Session Pass Type endpoint
40056
40907
  * @summary Add Event Session Pass Type
@@ -40217,6 +41068,27 @@ export const EventsSessionsApiFp = function (configuration) {
40217
41068
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40218
41069
  });
40219
41070
  },
41071
+ /**
41072
+ * Get Event Session Blocks endpoint
41073
+ * @summary Get Event Session Blocks
41074
+ * @param {string} eventId The event identifier
41075
+ * @param {string} sessionId The session identifier
41076
+ * @param {number} [page] Page number
41077
+ * @param {number} [pageSize] Number of items per page
41078
+ * @param {string} [orderBy] Field to order by
41079
+ * @param {string} [search] Search query
41080
+ * @param {*} [options] Override http request option.
41081
+ * @throws {RequiredError}
41082
+ */
41083
+ getEventSessionBlocks(eventId, sessionId, page, pageSize, orderBy, search, options) {
41084
+ return __awaiter(this, void 0, void 0, function* () {
41085
+ var _a, _b, _c;
41086
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventSessionBlocks(eventId, sessionId, page, pageSize, orderBy, search, options);
41087
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
41088
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsApi.getEventSessionBlocks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
41089
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
41090
+ });
41091
+ },
40220
41092
  /**
40221
41093
  * Get Event Session Pass Types endpoint
40222
41094
  * @summary Get Event Session Pass Types
@@ -40360,6 +41232,24 @@ export const EventsSessionsApiFp = function (configuration) {
40360
41232
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40361
41233
  });
40362
41234
  },
41235
+ /**
41236
+ * Remove Event Session Block endpoint
41237
+ * @summary Remove Event Session Block
41238
+ * @param {string} eventId The event identifier
41239
+ * @param {string} sessionId The session identifier
41240
+ * @param {string} blockId The block identifier
41241
+ * @param {*} [options] Override http request option.
41242
+ * @throws {RequiredError}
41243
+ */
41244
+ removeEventSessionBlock(eventId, sessionId, blockId, options) {
41245
+ return __awaiter(this, void 0, void 0, function* () {
41246
+ var _a, _b, _c;
41247
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventSessionBlock(eventId, sessionId, blockId, options);
41248
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
41249
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsApi.removeEventSessionBlock']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
41250
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
41251
+ });
41252
+ },
40363
41253
  /**
40364
41254
  * Remove Event Session Pass Type endpoint
40365
41255
  * @summary Remove Event Session Pass Type
@@ -40468,6 +41358,16 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
40468
41358
  addEventSessionAccount(requestParameters, options) {
40469
41359
  return localVarFp.addEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(axios, basePath));
40470
41360
  },
41361
+ /**
41362
+ * Add Event Session Block endpoint
41363
+ * @summary Add Event Session Block
41364
+ * @param {EventsSessionsApiAddEventSessionBlockRequest} requestParameters Request parameters.
41365
+ * @param {*} [options] Override http request option.
41366
+ * @throws {RequiredError}
41367
+ */
41368
+ addEventSessionBlock(requestParameters, options) {
41369
+ return localVarFp.addEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(axios, basePath));
41370
+ },
40471
41371
  /**
40472
41372
  * Add Event Session Pass Type endpoint
40473
41373
  * @summary Add Event Session Pass Type
@@ -40558,6 +41458,16 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
40558
41458
  getEventSessionAccounts(requestParameters, options) {
40559
41459
  return localVarFp.getEventSessionAccounts(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
40560
41460
  },
41461
+ /**
41462
+ * Get Event Session Blocks endpoint
41463
+ * @summary Get Event Session Blocks
41464
+ * @param {EventsSessionsApiGetEventSessionBlocksRequest} requestParameters Request parameters.
41465
+ * @param {*} [options] Override http request option.
41466
+ * @throws {RequiredError}
41467
+ */
41468
+ getEventSessionBlocks(requestParameters, options) {
41469
+ return localVarFp.getEventSessionBlocks(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
41470
+ },
40561
41471
  /**
40562
41472
  * Get Event Session Pass Types endpoint
40563
41473
  * @summary Get Event Session Pass Types
@@ -40628,6 +41538,16 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
40628
41538
  removeEventSessionAccount(requestParameters, options) {
40629
41539
  return localVarFp.removeEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(axios, basePath));
40630
41540
  },
41541
+ /**
41542
+ * Remove Event Session Block endpoint
41543
+ * @summary Remove Event Session Block
41544
+ * @param {EventsSessionsApiRemoveEventSessionBlockRequest} requestParameters Request parameters.
41545
+ * @param {*} [options] Override http request option.
41546
+ * @throws {RequiredError}
41547
+ */
41548
+ removeEventSessionBlock(requestParameters, options) {
41549
+ return localVarFp.removeEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(axios, basePath));
41550
+ },
40631
41551
  /**
40632
41552
  * Remove Event Session Pass Type endpoint
40633
41553
  * @summary Remove Event Session Pass Type
@@ -40694,6 +41614,16 @@ export class EventsSessionsApi extends BaseAPI {
40694
41614
  addEventSessionAccount(requestParameters, options) {
40695
41615
  return EventsSessionsApiFp(this.configuration).addEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
40696
41616
  }
41617
+ /**
41618
+ * Add Event Session Block endpoint
41619
+ * @summary Add Event Session Block
41620
+ * @param {EventsSessionsApiAddEventSessionBlockRequest} requestParameters Request parameters.
41621
+ * @param {*} [options] Override http request option.
41622
+ * @throws {RequiredError}
41623
+ */
41624
+ addEventSessionBlock(requestParameters, options) {
41625
+ return EventsSessionsApiFp(this.configuration).addEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
41626
+ }
40697
41627
  /**
40698
41628
  * Add Event Session Pass Type endpoint
40699
41629
  * @summary Add Event Session Pass Type
@@ -40784,6 +41714,16 @@ export class EventsSessionsApi extends BaseAPI {
40784
41714
  getEventSessionAccounts(requestParameters, options) {
40785
41715
  return EventsSessionsApiFp(this.configuration).getEventSessionAccounts(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
40786
41716
  }
41717
+ /**
41718
+ * Get Event Session Blocks endpoint
41719
+ * @summary Get Event Session Blocks
41720
+ * @param {EventsSessionsApiGetEventSessionBlocksRequest} requestParameters Request parameters.
41721
+ * @param {*} [options] Override http request option.
41722
+ * @throws {RequiredError}
41723
+ */
41724
+ getEventSessionBlocks(requestParameters, options) {
41725
+ return EventsSessionsApiFp(this.configuration).getEventSessionBlocks(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
41726
+ }
40787
41727
  /**
40788
41728
  * Get Event Session Pass Types endpoint
40789
41729
  * @summary Get Event Session Pass Types
@@ -40854,6 +41794,16 @@ export class EventsSessionsApi extends BaseAPI {
40854
41794
  removeEventSessionAccount(requestParameters, options) {
40855
41795
  return EventsSessionsApiFp(this.configuration).removeEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
40856
41796
  }
41797
+ /**
41798
+ * Remove Event Session Block endpoint
41799
+ * @summary Remove Event Session Block
41800
+ * @param {EventsSessionsApiRemoveEventSessionBlockRequest} requestParameters Request parameters.
41801
+ * @param {*} [options] Override http request option.
41802
+ * @throws {RequiredError}
41803
+ */
41804
+ removeEventSessionBlock(requestParameters, options) {
41805
+ return EventsSessionsApiFp(this.configuration).removeEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
41806
+ }
40857
41807
  /**
40858
41808
  * Remove Event Session Pass Type endpoint
40859
41809
  * @summary Remove Event Session Pass Type
@@ -74355,6 +75305,8 @@ export const SurveysApiAxiosParamCreator = function (configuration) {
74355
75305
  /**
74356
75306
  * Get Surveys endpoint
74357
75307
  * @summary Get Surveys
75308
+ * @param {string} [eventId] Filter by eventId
75309
+ * @param {string} [sessionId] Filter by sessionId
74358
75310
  * @param {number} [page] Page number
74359
75311
  * @param {number} [pageSize] Number of items per page
74360
75312
  * @param {string} [orderBy] Field to order by
@@ -74362,7 +75314,7 @@ export const SurveysApiAxiosParamCreator = function (configuration) {
74362
75314
  * @param {*} [options] Override http request option.
74363
75315
  * @throws {RequiredError}
74364
75316
  */
74365
- getSurveys: (page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (page, pageSize, orderBy, search, options = {}) {
75317
+ getSurveys: (eventId_1, sessionId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, sessionId, page, pageSize, orderBy, search, options = {}) {
74366
75318
  const localVarPath = `/surveys`;
74367
75319
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
74368
75320
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -74377,6 +75329,12 @@ export const SurveysApiAxiosParamCreator = function (configuration) {
74377
75329
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
74378
75330
  // authentication OrganizationId required
74379
75331
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
75332
+ if (eventId !== undefined) {
75333
+ localVarQueryParameter['eventId'] = eventId;
75334
+ }
75335
+ if (sessionId !== undefined) {
75336
+ localVarQueryParameter['sessionId'] = sessionId;
75337
+ }
74380
75338
  if (page !== undefined) {
74381
75339
  localVarQueryParameter['page'] = page;
74382
75340
  }
@@ -74496,6 +75454,8 @@ export const SurveysApiFp = function (configuration) {
74496
75454
  /**
74497
75455
  * Get Surveys endpoint
74498
75456
  * @summary Get Surveys
75457
+ * @param {string} [eventId] Filter by eventId
75458
+ * @param {string} [sessionId] Filter by sessionId
74499
75459
  * @param {number} [page] Page number
74500
75460
  * @param {number} [pageSize] Number of items per page
74501
75461
  * @param {string} [orderBy] Field to order by
@@ -74503,10 +75463,10 @@ export const SurveysApiFp = function (configuration) {
74503
75463
  * @param {*} [options] Override http request option.
74504
75464
  * @throws {RequiredError}
74505
75465
  */
74506
- getSurveys(page, pageSize, orderBy, search, options) {
75466
+ getSurveys(eventId, sessionId, page, pageSize, orderBy, search, options) {
74507
75467
  return __awaiter(this, void 0, void 0, function* () {
74508
75468
  var _a, _b, _c;
74509
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSurveys(page, pageSize, orderBy, search, options);
75469
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSurveys(eventId, sessionId, page, pageSize, orderBy, search, options);
74510
75470
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
74511
75471
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SurveysApi.getSurveys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
74512
75472
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -74575,7 +75535,7 @@ export const SurveysApiFactory = function (configuration, basePath, axios) {
74575
75535
  * @throws {RequiredError}
74576
75536
  */
74577
75537
  getSurveys(requestParameters = {}, options) {
74578
- return localVarFp.getSurveys(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
75538
+ return localVarFp.getSurveys(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
74579
75539
  },
74580
75540
  /**
74581
75541
  * Update Survey endpoint
@@ -74631,7 +75591,7 @@ export class SurveysApi extends BaseAPI {
74631
75591
  * @throws {RequiredError}
74632
75592
  */
74633
75593
  getSurveys(requestParameters = {}, options) {
74634
- return SurveysApiFp(this.configuration).getSurveys(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
75594
+ return SurveysApiFp(this.configuration).getSurveys(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
74635
75595
  }
74636
75596
  /**
74637
75597
  * Update Survey endpoint