@connectedxm/admin-sdk 6.7.6 → 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
@@ -28733,6 +29428,44 @@ export const EventsPassesApiAxiosParamCreator = function (configuration) {
28733
29428
  options: localVarRequestOptions,
28734
29429
  };
28735
29430
  }),
29431
+ /**
29432
+ * Checkin Event Pass endpoint
29433
+ * @summary Checkin Event Pass
29434
+ * @param {string} eventId The event identifier
29435
+ * @param {string} passId The pass identifier
29436
+ * @param {*} [options] Override http request option.
29437
+ * @throws {RequiredError}
29438
+ */
29439
+ checkinEventPass: (eventId_1, passId_1, ...args_1) => __awaiter(this, [eventId_1, passId_1, ...args_1], void 0, function* (eventId, passId, options = {}) {
29440
+ // verify required parameter 'eventId' is not null or undefined
29441
+ assertParamExists('checkinEventPass', 'eventId', eventId);
29442
+ // verify required parameter 'passId' is not null or undefined
29443
+ assertParamExists('checkinEventPass', 'passId', passId);
29444
+ const localVarPath = `/events/{eventId}/passes/{passId}/checkin`
29445
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
29446
+ .replace(`{${"passId"}}`, encodeURIComponent(String(passId)));
29447
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29448
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29449
+ let baseOptions;
29450
+ if (configuration) {
29451
+ baseOptions = configuration.baseOptions;
29452
+ }
29453
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
29454
+ const localVarHeaderParameter = {};
29455
+ const localVarQueryParameter = {};
29456
+ // authentication ApiKeyAuth required
29457
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
29458
+ // authentication OrganizationId required
29459
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
29460
+ localVarHeaderParameter['Accept'] = 'application/json';
29461
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29462
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29463
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
29464
+ return {
29465
+ url: toPathString(localVarUrlObj),
29466
+ options: localVarRequestOptions,
29467
+ };
29468
+ }),
28736
29469
  /**
28737
29470
  * Create Event Pass endpoint
28738
29471
  * @summary Create Event Pass
@@ -29650,6 +30383,44 @@ export const EventsPassesApiAxiosParamCreator = function (configuration) {
29650
30383
  options: localVarRequestOptions,
29651
30384
  };
29652
30385
  }),
30386
+ /**
30387
+ * Undo Checkin Event Pass endpoint
30388
+ * @summary Undo Checkin Event Pass
30389
+ * @param {string} eventId The event identifier
30390
+ * @param {string} passId The pass identifier
30391
+ * @param {*} [options] Override http request option.
30392
+ * @throws {RequiredError}
30393
+ */
30394
+ undoCheckinEventPass: (eventId_1, passId_1, ...args_1) => __awaiter(this, [eventId_1, passId_1, ...args_1], void 0, function* (eventId, passId, options = {}) {
30395
+ // verify required parameter 'eventId' is not null or undefined
30396
+ assertParamExists('undoCheckinEventPass', 'eventId', eventId);
30397
+ // verify required parameter 'passId' is not null or undefined
30398
+ assertParamExists('undoCheckinEventPass', 'passId', passId);
30399
+ const localVarPath = `/events/{eventId}/passes/{passId}/checkin/undo`
30400
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
30401
+ .replace(`{${"passId"}}`, encodeURIComponent(String(passId)));
30402
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30403
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30404
+ let baseOptions;
30405
+ if (configuration) {
30406
+ baseOptions = configuration.baseOptions;
30407
+ }
30408
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
30409
+ const localVarHeaderParameter = {};
30410
+ const localVarQueryParameter = {};
30411
+ // authentication ApiKeyAuth required
30412
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
30413
+ // authentication OrganizationId required
30414
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
30415
+ localVarHeaderParameter['Accept'] = 'application/json';
30416
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30417
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30418
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30419
+ return {
30420
+ url: toPathString(localVarUrlObj),
30421
+ options: localVarRequestOptions,
30422
+ };
30423
+ }),
29653
30424
  /**
29654
30425
  * Update Event Pass endpoint
29655
30426
  * @summary Update Event Pass
@@ -30026,6 +30797,23 @@ export const EventsPassesApiFp = function (configuration) {
30026
30797
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30027
30798
  });
30028
30799
  },
30800
+ /**
30801
+ * Checkin Event Pass endpoint
30802
+ * @summary Checkin Event Pass
30803
+ * @param {string} eventId The event identifier
30804
+ * @param {string} passId The pass identifier
30805
+ * @param {*} [options] Override http request option.
30806
+ * @throws {RequiredError}
30807
+ */
30808
+ checkinEventPass(eventId, passId, options) {
30809
+ return __awaiter(this, void 0, void 0, function* () {
30810
+ var _a, _b, _c;
30811
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.checkinEventPass(eventId, passId, options);
30812
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30813
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPassesApi.checkinEventPass']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30814
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30815
+ });
30816
+ },
30029
30817
  /**
30030
30818
  * Create Event Pass endpoint
30031
30819
  * @summary Create Event Pass
@@ -30397,6 +31185,23 @@ export const EventsPassesApiFp = function (configuration) {
30397
31185
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30398
31186
  });
30399
31187
  },
31188
+ /**
31189
+ * Undo Checkin Event Pass endpoint
31190
+ * @summary Undo Checkin Event Pass
31191
+ * @param {string} eventId The event identifier
31192
+ * @param {string} passId The pass identifier
31193
+ * @param {*} [options] Override http request option.
31194
+ * @throws {RequiredError}
31195
+ */
31196
+ undoCheckinEventPass(eventId, passId, options) {
31197
+ return __awaiter(this, void 0, void 0, function* () {
31198
+ var _a, _b, _c;
31199
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.undoCheckinEventPass(eventId, passId, options);
31200
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
31201
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPassesApi.undoCheckinEventPass']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
31202
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31203
+ });
31204
+ },
30400
31205
  /**
30401
31206
  * Update Event Pass endpoint
30402
31207
  * @summary Update Event Pass
@@ -30558,6 +31363,16 @@ export const EventsPassesApiFactory = function (configuration, basePath, axios)
30558
31363
  cancelEventPass(requestParameters, options) {
30559
31364
  return localVarFp.cancelEventPass(requestParameters.eventId, requestParameters.passId, requestParameters.sendEmail, options).then((request) => request(axios, basePath));
30560
31365
  },
31366
+ /**
31367
+ * Checkin Event Pass endpoint
31368
+ * @summary Checkin Event Pass
31369
+ * @param {EventsPassesApiCheckinEventPassRequest} requestParameters Request parameters.
31370
+ * @param {*} [options] Override http request option.
31371
+ * @throws {RequiredError}
31372
+ */
31373
+ checkinEventPass(requestParameters, options) {
31374
+ return localVarFp.checkinEventPass(requestParameters.eventId, requestParameters.passId, options).then((request) => request(axios, basePath));
31375
+ },
30561
31376
  /**
30562
31377
  * Create Event Pass endpoint
30563
31378
  * @summary Create Event Pass
@@ -30748,6 +31563,16 @@ export const EventsPassesApiFactory = function (configuration, basePath, axios)
30748
31563
  transferEventPass(requestParameters, options) {
30749
31564
  return localVarFp.transferEventPass(requestParameters.eventId, requestParameters.accountId, requestParameters.passId, requestParameters.receiverId, options).then((request) => request(axios, basePath));
30750
31565
  },
31566
+ /**
31567
+ * Undo Checkin Event Pass endpoint
31568
+ * @summary Undo Checkin Event Pass
31569
+ * @param {EventsPassesApiUndoCheckinEventPassRequest} requestParameters Request parameters.
31570
+ * @param {*} [options] Override http request option.
31571
+ * @throws {RequiredError}
31572
+ */
31573
+ undoCheckinEventPass(requestParameters, options) {
31574
+ return localVarFp.undoCheckinEventPass(requestParameters.eventId, requestParameters.passId, options).then((request) => request(axios, basePath));
31575
+ },
30751
31576
  /**
30752
31577
  * Update Event Pass endpoint
30753
31578
  * @summary Update Event Pass
@@ -30844,6 +31669,16 @@ export class EventsPassesApi extends BaseAPI {
30844
31669
  cancelEventPass(requestParameters, options) {
30845
31670
  return EventsPassesApiFp(this.configuration).cancelEventPass(requestParameters.eventId, requestParameters.passId, requestParameters.sendEmail, options).then((request) => request(this.axios, this.basePath));
30846
31671
  }
31672
+ /**
31673
+ * Checkin Event Pass endpoint
31674
+ * @summary Checkin Event Pass
31675
+ * @param {EventsPassesApiCheckinEventPassRequest} requestParameters Request parameters.
31676
+ * @param {*} [options] Override http request option.
31677
+ * @throws {RequiredError}
31678
+ */
31679
+ checkinEventPass(requestParameters, options) {
31680
+ return EventsPassesApiFp(this.configuration).checkinEventPass(requestParameters.eventId, requestParameters.passId, options).then((request) => request(this.axios, this.basePath));
31681
+ }
30847
31682
  /**
30848
31683
  * Create Event Pass endpoint
30849
31684
  * @summary Create Event Pass
@@ -31034,6 +31869,16 @@ export class EventsPassesApi extends BaseAPI {
31034
31869
  transferEventPass(requestParameters, options) {
31035
31870
  return EventsPassesApiFp(this.configuration).transferEventPass(requestParameters.eventId, requestParameters.accountId, requestParameters.passId, requestParameters.receiverId, options).then((request) => request(this.axios, this.basePath));
31036
31871
  }
31872
+ /**
31873
+ * Undo Checkin Event Pass endpoint
31874
+ * @summary Undo Checkin Event Pass
31875
+ * @param {EventsPassesApiUndoCheckinEventPassRequest} requestParameters Request parameters.
31876
+ * @param {*} [options] Override http request option.
31877
+ * @throws {RequiredError}
31878
+ */
31879
+ undoCheckinEventPass(requestParameters, options) {
31880
+ return EventsPassesApiFp(this.configuration).undoCheckinEventPass(requestParameters.eventId, requestParameters.passId, options).then((request) => request(this.axios, this.basePath));
31881
+ }
31037
31882
  /**
31038
31883
  * Update Event Pass endpoint
31039
31884
  * @summary Update Event Pass
@@ -38904,6 +39749,48 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
38904
39749
  options: localVarRequestOptions,
38905
39750
  };
38906
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
+ }),
38907
39794
  /**
38908
39795
  * Add Event Session Pass Type endpoint
38909
39796
  * @summary Add Event Session Pass Type
@@ -39299,6 +40186,60 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
39299
40186
  options: localVarRequestOptions,
39300
40187
  };
39301
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
+ }),
39302
40243
  /**
39303
40244
  * Get Event Session Pass Types endpoint
39304
40245
  * @summary Get Event Session Pass Types
@@ -39661,6 +40602,48 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
39661
40602
  options: localVarRequestOptions,
39662
40603
  };
39663
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
+ }),
39664
40647
  /**
39665
40648
  * Remove Event Session Pass Type endpoint
39666
40649
  * @summary Remove Event Session Pass Type
@@ -39901,6 +40884,24 @@ export const EventsSessionsApiFp = function (configuration) {
39901
40884
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39902
40885
  });
39903
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
+ },
39904
40905
  /**
39905
40906
  * Add Event Session Pass Type endpoint
39906
40907
  * @summary Add Event Session Pass Type
@@ -40067,6 +41068,27 @@ export const EventsSessionsApiFp = function (configuration) {
40067
41068
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40068
41069
  });
40069
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
+ },
40070
41092
  /**
40071
41093
  * Get Event Session Pass Types endpoint
40072
41094
  * @summary Get Event Session Pass Types
@@ -40210,6 +41232,24 @@ export const EventsSessionsApiFp = function (configuration) {
40210
41232
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40211
41233
  });
40212
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
+ },
40213
41253
  /**
40214
41254
  * Remove Event Session Pass Type endpoint
40215
41255
  * @summary Remove Event Session Pass Type
@@ -40318,6 +41358,16 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
40318
41358
  addEventSessionAccount(requestParameters, options) {
40319
41359
  return localVarFp.addEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(axios, basePath));
40320
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
+ },
40321
41371
  /**
40322
41372
  * Add Event Session Pass Type endpoint
40323
41373
  * @summary Add Event Session Pass Type
@@ -40408,6 +41458,16 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
40408
41458
  getEventSessionAccounts(requestParameters, options) {
40409
41459
  return localVarFp.getEventSessionAccounts(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
40410
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
+ },
40411
41471
  /**
40412
41472
  * Get Event Session Pass Types endpoint
40413
41473
  * @summary Get Event Session Pass Types
@@ -40478,6 +41538,16 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
40478
41538
  removeEventSessionAccount(requestParameters, options) {
40479
41539
  return localVarFp.removeEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(axios, basePath));
40480
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
+ },
40481
41551
  /**
40482
41552
  * Remove Event Session Pass Type endpoint
40483
41553
  * @summary Remove Event Session Pass Type
@@ -40544,6 +41614,16 @@ export class EventsSessionsApi extends BaseAPI {
40544
41614
  addEventSessionAccount(requestParameters, options) {
40545
41615
  return EventsSessionsApiFp(this.configuration).addEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
40546
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
+ }
40547
41627
  /**
40548
41628
  * Add Event Session Pass Type endpoint
40549
41629
  * @summary Add Event Session Pass Type
@@ -40634,6 +41714,16 @@ export class EventsSessionsApi extends BaseAPI {
40634
41714
  getEventSessionAccounts(requestParameters, options) {
40635
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));
40636
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
+ }
40637
41727
  /**
40638
41728
  * Get Event Session Pass Types endpoint
40639
41729
  * @summary Get Event Session Pass Types
@@ -40704,6 +41794,16 @@ export class EventsSessionsApi extends BaseAPI {
40704
41794
  removeEventSessionAccount(requestParameters, options) {
40705
41795
  return EventsSessionsApiFp(this.configuration).removeEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
40706
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
+ }
40707
41807
  /**
40708
41808
  * Remove Event Session Pass Type endpoint
40709
41809
  * @summary Remove Event Session Pass Type
@@ -74205,6 +75305,8 @@ export const SurveysApiAxiosParamCreator = function (configuration) {
74205
75305
  /**
74206
75306
  * Get Surveys endpoint
74207
75307
  * @summary Get Surveys
75308
+ * @param {string} [eventId] Filter by eventId
75309
+ * @param {string} [sessionId] Filter by sessionId
74208
75310
  * @param {number} [page] Page number
74209
75311
  * @param {number} [pageSize] Number of items per page
74210
75312
  * @param {string} [orderBy] Field to order by
@@ -74212,7 +75314,7 @@ export const SurveysApiAxiosParamCreator = function (configuration) {
74212
75314
  * @param {*} [options] Override http request option.
74213
75315
  * @throws {RequiredError}
74214
75316
  */
74215
- 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 = {}) {
74216
75318
  const localVarPath = `/surveys`;
74217
75319
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
74218
75320
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -74227,6 +75329,12 @@ export const SurveysApiAxiosParamCreator = function (configuration) {
74227
75329
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
74228
75330
  // authentication OrganizationId required
74229
75331
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
75332
+ if (eventId !== undefined) {
75333
+ localVarQueryParameter['eventId'] = eventId;
75334
+ }
75335
+ if (sessionId !== undefined) {
75336
+ localVarQueryParameter['sessionId'] = sessionId;
75337
+ }
74230
75338
  if (page !== undefined) {
74231
75339
  localVarQueryParameter['page'] = page;
74232
75340
  }
@@ -74346,6 +75454,8 @@ export const SurveysApiFp = function (configuration) {
74346
75454
  /**
74347
75455
  * Get Surveys endpoint
74348
75456
  * @summary Get Surveys
75457
+ * @param {string} [eventId] Filter by eventId
75458
+ * @param {string} [sessionId] Filter by sessionId
74349
75459
  * @param {number} [page] Page number
74350
75460
  * @param {number} [pageSize] Number of items per page
74351
75461
  * @param {string} [orderBy] Field to order by
@@ -74353,10 +75463,10 @@ export const SurveysApiFp = function (configuration) {
74353
75463
  * @param {*} [options] Override http request option.
74354
75464
  * @throws {RequiredError}
74355
75465
  */
74356
- getSurveys(page, pageSize, orderBy, search, options) {
75466
+ getSurveys(eventId, sessionId, page, pageSize, orderBy, search, options) {
74357
75467
  return __awaiter(this, void 0, void 0, function* () {
74358
75468
  var _a, _b, _c;
74359
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSurveys(page, pageSize, orderBy, search, options);
75469
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSurveys(eventId, sessionId, page, pageSize, orderBy, search, options);
74360
75470
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
74361
75471
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SurveysApi.getSurveys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
74362
75472
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -74425,7 +75535,7 @@ export const SurveysApiFactory = function (configuration, basePath, axios) {
74425
75535
  * @throws {RequiredError}
74426
75536
  */
74427
75537
  getSurveys(requestParameters = {}, options) {
74428
- 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));
74429
75539
  },
74430
75540
  /**
74431
75541
  * Update Survey endpoint
@@ -74481,7 +75591,7 @@ export class SurveysApi extends BaseAPI {
74481
75591
  * @throws {RequiredError}
74482
75592
  */
74483
75593
  getSurveys(requestParameters = {}, options) {
74484
- 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));
74485
75595
  }
74486
75596
  /**
74487
75597
  * Update Survey endpoint