@connectedxm/admin-sdk 6.7.7 → 6.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/.openapi-generator/FILES +13 -0
  2. package/AdminApi.ts +9 -1
  3. package/README.md +28 -0
  4. package/api.ts +2619 -564
  5. package/dist/AdminApi.d.ts +5 -1
  6. package/dist/AdminApi.js +4 -1
  7. package/dist/api.d.ts +1122 -30
  8. package/dist/api.js +1759 -286
  9. package/dist/esm/AdminApi.d.ts +5 -1
  10. package/dist/esm/AdminApi.js +5 -2
  11. package/dist/esm/api.d.ts +1122 -30
  12. package/dist/esm/api.js +1729 -264
  13. package/docs/AccountCreateInputs.md +2 -0
  14. package/docs/AccountUpdateInputs.md +2 -0
  15. package/docs/BaseEventActivation.md +2 -0
  16. package/docs/BaseEventBlock.md +28 -0
  17. package/docs/BaseSeriesRegistration.md +32 -0
  18. package/docs/BaseSurvey.md +2 -0
  19. package/docs/BaseSurveySubmission.md +6 -0
  20. package/docs/CreateEventBlock200Response.md +24 -0
  21. package/docs/EventActivation.md +2 -0
  22. package/docs/EventBlock.md +36 -0
  23. package/docs/EventBlockCreateInputs.md +26 -0
  24. package/docs/EventBlockUpdateInputs.md +26 -0
  25. package/docs/EventSession.md +2 -0
  26. package/docs/EventsBlocksApi.md +479 -0
  27. package/docs/EventsCouponsApi.md +3 -0
  28. package/docs/EventsSessionsApi.md +183 -0
  29. package/docs/GetEventBlocks200Response.md +26 -0
  30. package/docs/Series.md +8 -0
  31. package/docs/SeriesCreateInputs.md +10 -0
  32. package/docs/SeriesRegistration.md +36 -0
  33. package/docs/SeriesRegistrationCreateInputs.md +20 -0
  34. package/docs/SeriesRegistrationUpdateInputs.md +20 -0
  35. package/docs/SeriesRegistrationsApi.md +354 -0
  36. package/docs/SeriesUpdateInputs.md +10 -0
  37. package/docs/Survey.md +18 -0
  38. package/docs/SurveyAllOfCount.md +20 -0
  39. package/docs/SurveyCreateInputs.md +8 -0
  40. package/docs/SurveySubmission.md +6 -0
  41. package/docs/SurveySubmissionUpdateInputs.md +4 -0
  42. package/docs/SurveyUpdateInputs.md +8 -0
  43. package/docs/SurveysApi.md +6 -0
  44. package/package.json +1 -1
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
@@ -68612,21 +69562,638 @@ export const SeriesApiAxiosParamCreator = function (configuration) {
68612
69562
  };
68613
69563
  }),
68614
69564
  /**
68615
- * Get Series Events endpoint
68616
- * @summary Get Series Events
69565
+ * Get Series Events endpoint
69566
+ * @summary Get Series Events
69567
+ * @param {string} seriesId The series identifier
69568
+ * @param {number} [page] Page number
69569
+ * @param {number} [pageSize] Number of items per page
69570
+ * @param {string} [orderBy] Field to order by
69571
+ * @param {string} [search] Search query
69572
+ * @param {*} [options] Override http request option.
69573
+ * @throws {RequiredError}
69574
+ */
69575
+ getSeriesEvents: (seriesId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [seriesId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (seriesId, page, pageSize, orderBy, search, options = {}) {
69576
+ // verify required parameter 'seriesId' is not null or undefined
69577
+ assertParamExists('getSeriesEvents', 'seriesId', seriesId);
69578
+ const localVarPath = `/series/{seriesId}/events`
69579
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
69580
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
69581
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
69582
+ let baseOptions;
69583
+ if (configuration) {
69584
+ baseOptions = configuration.baseOptions;
69585
+ }
69586
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
69587
+ const localVarHeaderParameter = {};
69588
+ const localVarQueryParameter = {};
69589
+ // authentication ApiKeyAuth required
69590
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
69591
+ // authentication OrganizationId required
69592
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
69593
+ if (page !== undefined) {
69594
+ localVarQueryParameter['page'] = page;
69595
+ }
69596
+ if (pageSize !== undefined) {
69597
+ localVarQueryParameter['pageSize'] = pageSize;
69598
+ }
69599
+ if (orderBy !== undefined) {
69600
+ localVarQueryParameter['orderBy'] = orderBy;
69601
+ }
69602
+ if (search !== undefined) {
69603
+ localVarQueryParameter['search'] = search;
69604
+ }
69605
+ localVarHeaderParameter['Accept'] = 'application/json';
69606
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
69607
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69608
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
69609
+ return {
69610
+ url: toPathString(localVarUrlObj),
69611
+ options: localVarRequestOptions,
69612
+ };
69613
+ }),
69614
+ /**
69615
+ * Get Series List endpoint
69616
+ * @summary Get Series List
69617
+ * @param {number} [page] Page number
69618
+ * @param {number} [pageSize] Number of items per page
69619
+ * @param {string} [orderBy] Field to order by
69620
+ * @param {string} [search] Search query
69621
+ * @param {*} [options] Override http request option.
69622
+ * @throws {RequiredError}
69623
+ */
69624
+ getSeriesList: (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 = {}) {
69625
+ const localVarPath = `/series`;
69626
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
69627
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
69628
+ let baseOptions;
69629
+ if (configuration) {
69630
+ baseOptions = configuration.baseOptions;
69631
+ }
69632
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
69633
+ const localVarHeaderParameter = {};
69634
+ const localVarQueryParameter = {};
69635
+ // authentication ApiKeyAuth required
69636
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
69637
+ // authentication OrganizationId required
69638
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
69639
+ if (page !== undefined) {
69640
+ localVarQueryParameter['page'] = page;
69641
+ }
69642
+ if (pageSize !== undefined) {
69643
+ localVarQueryParameter['pageSize'] = pageSize;
69644
+ }
69645
+ if (orderBy !== undefined) {
69646
+ localVarQueryParameter['orderBy'] = orderBy;
69647
+ }
69648
+ if (search !== undefined) {
69649
+ localVarQueryParameter['search'] = search;
69650
+ }
69651
+ localVarHeaderParameter['Accept'] = 'application/json';
69652
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
69653
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69654
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
69655
+ return {
69656
+ url: toPathString(localVarUrlObj),
69657
+ options: localVarRequestOptions,
69658
+ };
69659
+ }),
69660
+ /**
69661
+ * Remove Series Event endpoint
69662
+ * @summary Remove Series Event
69663
+ * @param {string} seriesId The series identifier
69664
+ * @param {string} eventId The event identifier
69665
+ * @param {*} [options] Override http request option.
69666
+ * @throws {RequiredError}
69667
+ */
69668
+ removeSeriesEvent: (seriesId_1, eventId_1, ...args_1) => __awaiter(this, [seriesId_1, eventId_1, ...args_1], void 0, function* (seriesId, eventId, options = {}) {
69669
+ // verify required parameter 'seriesId' is not null or undefined
69670
+ assertParamExists('removeSeriesEvent', 'seriesId', seriesId);
69671
+ // verify required parameter 'eventId' is not null or undefined
69672
+ assertParamExists('removeSeriesEvent', 'eventId', eventId);
69673
+ const localVarPath = `/series/{seriesId}/events/{eventId}`
69674
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
69675
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
69676
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
69677
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
69678
+ let baseOptions;
69679
+ if (configuration) {
69680
+ baseOptions = configuration.baseOptions;
69681
+ }
69682
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
69683
+ const localVarHeaderParameter = {};
69684
+ const localVarQueryParameter = {};
69685
+ // authentication ApiKeyAuth required
69686
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
69687
+ // authentication OrganizationId required
69688
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
69689
+ localVarHeaderParameter['Accept'] = 'application/json';
69690
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
69691
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69692
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
69693
+ return {
69694
+ url: toPathString(localVarUrlObj),
69695
+ options: localVarRequestOptions,
69696
+ };
69697
+ }),
69698
+ /**
69699
+ * Update Series endpoint
69700
+ * @summary Update Series
69701
+ * @param {string} seriesId The series identifier
69702
+ * @param {SeriesUpdateInputs} series Filter by series
69703
+ * @param {*} [options] Override http request option.
69704
+ * @throws {RequiredError}
69705
+ */
69706
+ updateSeries: (seriesId_1, series_1, ...args_1) => __awaiter(this, [seriesId_1, series_1, ...args_1], void 0, function* (seriesId, series, options = {}) {
69707
+ // verify required parameter 'seriesId' is not null or undefined
69708
+ assertParamExists('updateSeries', 'seriesId', seriesId);
69709
+ // verify required parameter 'series' is not null or undefined
69710
+ assertParamExists('updateSeries', 'series', series);
69711
+ const localVarPath = `/series/{seriesId}`
69712
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
69713
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
69714
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
69715
+ let baseOptions;
69716
+ if (configuration) {
69717
+ baseOptions = configuration.baseOptions;
69718
+ }
69719
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
69720
+ const localVarHeaderParameter = {};
69721
+ const localVarQueryParameter = {};
69722
+ // authentication ApiKeyAuth required
69723
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
69724
+ // authentication OrganizationId required
69725
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
69726
+ if (series !== undefined) {
69727
+ for (const [key, value] of Object.entries(series)) {
69728
+ localVarQueryParameter[key] = value;
69729
+ }
69730
+ }
69731
+ localVarHeaderParameter['Accept'] = 'application/json';
69732
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
69733
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69734
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
69735
+ return {
69736
+ url: toPathString(localVarUrlObj),
69737
+ options: localVarRequestOptions,
69738
+ };
69739
+ }),
69740
+ };
69741
+ };
69742
+ /**
69743
+ * SeriesApi - functional programming interface
69744
+ */
69745
+ export const SeriesApiFp = function (configuration) {
69746
+ const localVarAxiosParamCreator = SeriesApiAxiosParamCreator(configuration);
69747
+ return {
69748
+ /**
69749
+ * Add Series Event endpoint
69750
+ * @summary Add Series Event
69751
+ * @param {string} seriesId The series identifier
69752
+ * @param {string} eventId The event identifier
69753
+ * @param {*} [options] Override http request option.
69754
+ * @throws {RequiredError}
69755
+ */
69756
+ addSeriesEvent(seriesId, eventId, options) {
69757
+ return __awaiter(this, void 0, void 0, function* () {
69758
+ var _a, _b, _c;
69759
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addSeriesEvent(seriesId, eventId, options);
69760
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
69761
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.addSeriesEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
69762
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69763
+ });
69764
+ },
69765
+ /**
69766
+ * Create Series endpoint
69767
+ * @summary Create Series
69768
+ * @param {SeriesCreateInputs} seriesCreateInputs
69769
+ * @param {*} [options] Override http request option.
69770
+ * @throws {RequiredError}
69771
+ */
69772
+ createSeries(seriesCreateInputs, options) {
69773
+ return __awaiter(this, void 0, void 0, function* () {
69774
+ var _a, _b, _c;
69775
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createSeries(seriesCreateInputs, options);
69776
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
69777
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.createSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
69778
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69779
+ });
69780
+ },
69781
+ /**
69782
+ * Delete Series endpoint
69783
+ * @summary Delete Series
69784
+ * @param {string} seriesId The series identifier
69785
+ * @param {*} [options] Override http request option.
69786
+ * @throws {RequiredError}
69787
+ */
69788
+ deleteSeries(seriesId, options) {
69789
+ return __awaiter(this, void 0, void 0, function* () {
69790
+ var _a, _b, _c;
69791
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSeries(seriesId, options);
69792
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
69793
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.deleteSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
69794
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69795
+ });
69796
+ },
69797
+ /**
69798
+ * Get Series endpoint
69799
+ * @summary Get Series
69800
+ * @param {string} seriesId The series identifier
69801
+ * @param {*} [options] Override http request option.
69802
+ * @throws {RequiredError}
69803
+ */
69804
+ getSeries(seriesId, options) {
69805
+ return __awaiter(this, void 0, void 0, function* () {
69806
+ var _a, _b, _c;
69807
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeries(seriesId, options);
69808
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
69809
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.getSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
69810
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69811
+ });
69812
+ },
69813
+ /**
69814
+ * Get Series Events endpoint
69815
+ * @summary Get Series Events
69816
+ * @param {string} seriesId The series identifier
69817
+ * @param {number} [page] Page number
69818
+ * @param {number} [pageSize] Number of items per page
69819
+ * @param {string} [orderBy] Field to order by
69820
+ * @param {string} [search] Search query
69821
+ * @param {*} [options] Override http request option.
69822
+ * @throws {RequiredError}
69823
+ */
69824
+ getSeriesEvents(seriesId, page, pageSize, orderBy, search, options) {
69825
+ return __awaiter(this, void 0, void 0, function* () {
69826
+ var _a, _b, _c;
69827
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesEvents(seriesId, page, pageSize, orderBy, search, options);
69828
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
69829
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.getSeriesEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
69830
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69831
+ });
69832
+ },
69833
+ /**
69834
+ * Get Series List endpoint
69835
+ * @summary Get Series List
69836
+ * @param {number} [page] Page number
69837
+ * @param {number} [pageSize] Number of items per page
69838
+ * @param {string} [orderBy] Field to order by
69839
+ * @param {string} [search] Search query
69840
+ * @param {*} [options] Override http request option.
69841
+ * @throws {RequiredError}
69842
+ */
69843
+ getSeriesList(page, pageSize, orderBy, search, options) {
69844
+ return __awaiter(this, void 0, void 0, function* () {
69845
+ var _a, _b, _c;
69846
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesList(page, pageSize, orderBy, search, options);
69847
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
69848
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.getSeriesList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
69849
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69850
+ });
69851
+ },
69852
+ /**
69853
+ * Remove Series Event endpoint
69854
+ * @summary Remove Series Event
69855
+ * @param {string} seriesId The series identifier
69856
+ * @param {string} eventId The event identifier
69857
+ * @param {*} [options] Override http request option.
69858
+ * @throws {RequiredError}
69859
+ */
69860
+ removeSeriesEvent(seriesId, eventId, options) {
69861
+ return __awaiter(this, void 0, void 0, function* () {
69862
+ var _a, _b, _c;
69863
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeSeriesEvent(seriesId, eventId, options);
69864
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
69865
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.removeSeriesEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
69866
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69867
+ });
69868
+ },
69869
+ /**
69870
+ * Update Series endpoint
69871
+ * @summary Update Series
69872
+ * @param {string} seriesId The series identifier
69873
+ * @param {SeriesUpdateInputs} series Filter by series
69874
+ * @param {*} [options] Override http request option.
69875
+ * @throws {RequiredError}
69876
+ */
69877
+ updateSeries(seriesId, series, options) {
69878
+ return __awaiter(this, void 0, void 0, function* () {
69879
+ var _a, _b, _c;
69880
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSeries(seriesId, series, options);
69881
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
69882
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.updateSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
69883
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69884
+ });
69885
+ },
69886
+ };
69887
+ };
69888
+ /**
69889
+ * SeriesApi - factory interface
69890
+ */
69891
+ export const SeriesApiFactory = function (configuration, basePath, axios) {
69892
+ const localVarFp = SeriesApiFp(configuration);
69893
+ return {
69894
+ /**
69895
+ * Add Series Event endpoint
69896
+ * @summary Add Series Event
69897
+ * @param {SeriesApiAddSeriesEventRequest} requestParameters Request parameters.
69898
+ * @param {*} [options] Override http request option.
69899
+ * @throws {RequiredError}
69900
+ */
69901
+ addSeriesEvent(requestParameters, options) {
69902
+ return localVarFp.addSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(axios, basePath));
69903
+ },
69904
+ /**
69905
+ * Create Series endpoint
69906
+ * @summary Create Series
69907
+ * @param {SeriesApiCreateSeriesRequest} requestParameters Request parameters.
69908
+ * @param {*} [options] Override http request option.
69909
+ * @throws {RequiredError}
69910
+ */
69911
+ createSeries(requestParameters, options) {
69912
+ return localVarFp.createSeries(requestParameters.seriesCreateInputs, options).then((request) => request(axios, basePath));
69913
+ },
69914
+ /**
69915
+ * Delete Series endpoint
69916
+ * @summary Delete Series
69917
+ * @param {SeriesApiDeleteSeriesRequest} requestParameters Request parameters.
69918
+ * @param {*} [options] Override http request option.
69919
+ * @throws {RequiredError}
69920
+ */
69921
+ deleteSeries(requestParameters, options) {
69922
+ return localVarFp.deleteSeries(requestParameters.seriesId, options).then((request) => request(axios, basePath));
69923
+ },
69924
+ /**
69925
+ * Get Series endpoint
69926
+ * @summary Get Series
69927
+ * @param {SeriesApiGetSeriesRequest} requestParameters Request parameters.
69928
+ * @param {*} [options] Override http request option.
69929
+ * @throws {RequiredError}
69930
+ */
69931
+ getSeries(requestParameters, options) {
69932
+ return localVarFp.getSeries(requestParameters.seriesId, options).then((request) => request(axios, basePath));
69933
+ },
69934
+ /**
69935
+ * Get Series Events endpoint
69936
+ * @summary Get Series Events
69937
+ * @param {SeriesApiGetSeriesEventsRequest} requestParameters Request parameters.
69938
+ * @param {*} [options] Override http request option.
69939
+ * @throws {RequiredError}
69940
+ */
69941
+ getSeriesEvents(requestParameters, options) {
69942
+ return localVarFp.getSeriesEvents(requestParameters.seriesId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
69943
+ },
69944
+ /**
69945
+ * Get Series List endpoint
69946
+ * @summary Get Series List
69947
+ * @param {SeriesApiGetSeriesListRequest} requestParameters Request parameters.
69948
+ * @param {*} [options] Override http request option.
69949
+ * @throws {RequiredError}
69950
+ */
69951
+ getSeriesList(requestParameters = {}, options) {
69952
+ return localVarFp.getSeriesList(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
69953
+ },
69954
+ /**
69955
+ * Remove Series Event endpoint
69956
+ * @summary Remove Series Event
69957
+ * @param {SeriesApiRemoveSeriesEventRequest} requestParameters Request parameters.
69958
+ * @param {*} [options] Override http request option.
69959
+ * @throws {RequiredError}
69960
+ */
69961
+ removeSeriesEvent(requestParameters, options) {
69962
+ return localVarFp.removeSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(axios, basePath));
69963
+ },
69964
+ /**
69965
+ * Update Series endpoint
69966
+ * @summary Update Series
69967
+ * @param {SeriesApiUpdateSeriesRequest} requestParameters Request parameters.
69968
+ * @param {*} [options] Override http request option.
69969
+ * @throws {RequiredError}
69970
+ */
69971
+ updateSeries(requestParameters, options) {
69972
+ return localVarFp.updateSeries(requestParameters.seriesId, requestParameters.series, options).then((request) => request(axios, basePath));
69973
+ },
69974
+ };
69975
+ };
69976
+ /**
69977
+ * SeriesApi - object-oriented interface
69978
+ */
69979
+ export class SeriesApi extends BaseAPI {
69980
+ /**
69981
+ * Add Series Event endpoint
69982
+ * @summary Add Series Event
69983
+ * @param {SeriesApiAddSeriesEventRequest} requestParameters Request parameters.
69984
+ * @param {*} [options] Override http request option.
69985
+ * @throws {RequiredError}
69986
+ */
69987
+ addSeriesEvent(requestParameters, options) {
69988
+ return SeriesApiFp(this.configuration).addSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
69989
+ }
69990
+ /**
69991
+ * Create Series endpoint
69992
+ * @summary Create Series
69993
+ * @param {SeriesApiCreateSeriesRequest} requestParameters Request parameters.
69994
+ * @param {*} [options] Override http request option.
69995
+ * @throws {RequiredError}
69996
+ */
69997
+ createSeries(requestParameters, options) {
69998
+ return SeriesApiFp(this.configuration).createSeries(requestParameters.seriesCreateInputs, options).then((request) => request(this.axios, this.basePath));
69999
+ }
70000
+ /**
70001
+ * Delete Series endpoint
70002
+ * @summary Delete Series
70003
+ * @param {SeriesApiDeleteSeriesRequest} requestParameters Request parameters.
70004
+ * @param {*} [options] Override http request option.
70005
+ * @throws {RequiredError}
70006
+ */
70007
+ deleteSeries(requestParameters, options) {
70008
+ return SeriesApiFp(this.configuration).deleteSeries(requestParameters.seriesId, options).then((request) => request(this.axios, this.basePath));
70009
+ }
70010
+ /**
70011
+ * Get Series endpoint
70012
+ * @summary Get Series
70013
+ * @param {SeriesApiGetSeriesRequest} requestParameters Request parameters.
70014
+ * @param {*} [options] Override http request option.
70015
+ * @throws {RequiredError}
70016
+ */
70017
+ getSeries(requestParameters, options) {
70018
+ return SeriesApiFp(this.configuration).getSeries(requestParameters.seriesId, options).then((request) => request(this.axios, this.basePath));
70019
+ }
70020
+ /**
70021
+ * Get Series Events endpoint
70022
+ * @summary Get Series Events
70023
+ * @param {SeriesApiGetSeriesEventsRequest} requestParameters Request parameters.
70024
+ * @param {*} [options] Override http request option.
70025
+ * @throws {RequiredError}
70026
+ */
70027
+ getSeriesEvents(requestParameters, options) {
70028
+ return SeriesApiFp(this.configuration).getSeriesEvents(requestParameters.seriesId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
70029
+ }
70030
+ /**
70031
+ * Get Series List endpoint
70032
+ * @summary Get Series List
70033
+ * @param {SeriesApiGetSeriesListRequest} requestParameters Request parameters.
70034
+ * @param {*} [options] Override http request option.
70035
+ * @throws {RequiredError}
70036
+ */
70037
+ getSeriesList(requestParameters = {}, options) {
70038
+ return SeriesApiFp(this.configuration).getSeriesList(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
70039
+ }
70040
+ /**
70041
+ * Remove Series Event endpoint
70042
+ * @summary Remove Series Event
70043
+ * @param {SeriesApiRemoveSeriesEventRequest} requestParameters Request parameters.
70044
+ * @param {*} [options] Override http request option.
70045
+ * @throws {RequiredError}
70046
+ */
70047
+ removeSeriesEvent(requestParameters, options) {
70048
+ return SeriesApiFp(this.configuration).removeSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
70049
+ }
70050
+ /**
70051
+ * Update Series endpoint
70052
+ * @summary Update Series
70053
+ * @param {SeriesApiUpdateSeriesRequest} requestParameters Request parameters.
70054
+ * @param {*} [options] Override http request option.
70055
+ * @throws {RequiredError}
70056
+ */
70057
+ updateSeries(requestParameters, options) {
70058
+ return SeriesApiFp(this.configuration).updateSeries(requestParameters.seriesId, requestParameters.series, options).then((request) => request(this.axios, this.basePath));
70059
+ }
70060
+ }
70061
+ /**
70062
+ * SeriesRegistrationsApi - axios parameter creator
70063
+ */
70064
+ export const SeriesRegistrationsApiAxiosParamCreator = function (configuration) {
70065
+ return {
70066
+ /**
70067
+ * Create Series Registration endpoint
70068
+ * @summary Create Series Registration
70069
+ * @param {string} seriesId The series identifier
70070
+ * @param {SeriesRegistrationCreateInputs} seriesRegistrationCreateInputs
70071
+ * @param {*} [options] Override http request option.
70072
+ * @throws {RequiredError}
70073
+ */
70074
+ createSeriesRegistration: (seriesId_1, seriesRegistrationCreateInputs_1, ...args_1) => __awaiter(this, [seriesId_1, seriesRegistrationCreateInputs_1, ...args_1], void 0, function* (seriesId, seriesRegistrationCreateInputs, options = {}) {
70075
+ // verify required parameter 'seriesId' is not null or undefined
70076
+ assertParamExists('createSeriesRegistration', 'seriesId', seriesId);
70077
+ // verify required parameter 'seriesRegistrationCreateInputs' is not null or undefined
70078
+ assertParamExists('createSeriesRegistration', 'seriesRegistrationCreateInputs', seriesRegistrationCreateInputs);
70079
+ const localVarPath = `/series/{seriesId}/registrations`
70080
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
70081
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
70082
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70083
+ let baseOptions;
70084
+ if (configuration) {
70085
+ baseOptions = configuration.baseOptions;
70086
+ }
70087
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
70088
+ const localVarHeaderParameter = {};
70089
+ const localVarQueryParameter = {};
70090
+ // authentication ApiKeyAuth required
70091
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
70092
+ // authentication OrganizationId required
70093
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
70094
+ localVarHeaderParameter['Content-Type'] = 'application/json';
70095
+ localVarHeaderParameter['Accept'] = 'application/json';
70096
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
70097
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70098
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
70099
+ localVarRequestOptions.data = serializeDataIfNeeded(seriesRegistrationCreateInputs, localVarRequestOptions, configuration);
70100
+ return {
70101
+ url: toPathString(localVarUrlObj),
70102
+ options: localVarRequestOptions,
70103
+ };
70104
+ }),
70105
+ /**
70106
+ * Delete Series Registration endpoint
70107
+ * @summary Delete Series Registration
70108
+ * @param {string} seriesId The series identifier
70109
+ * @param {string} registrationId The registration identifier
70110
+ * @param {*} [options] Override http request option.
70111
+ * @throws {RequiredError}
70112
+ */
70113
+ deleteSeriesRegistration: (seriesId_1, registrationId_1, ...args_1) => __awaiter(this, [seriesId_1, registrationId_1, ...args_1], void 0, function* (seriesId, registrationId, options = {}) {
70114
+ // verify required parameter 'seriesId' is not null or undefined
70115
+ assertParamExists('deleteSeriesRegistration', 'seriesId', seriesId);
70116
+ // verify required parameter 'registrationId' is not null or undefined
70117
+ assertParamExists('deleteSeriesRegistration', 'registrationId', registrationId);
70118
+ const localVarPath = `/series/{seriesId}/registrations/{registrationId}`
70119
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
70120
+ .replace(`{${"registrationId"}}`, encodeURIComponent(String(registrationId)));
70121
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
70122
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70123
+ let baseOptions;
70124
+ if (configuration) {
70125
+ baseOptions = configuration.baseOptions;
70126
+ }
70127
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
70128
+ const localVarHeaderParameter = {};
70129
+ const localVarQueryParameter = {};
70130
+ // authentication ApiKeyAuth required
70131
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
70132
+ // authentication OrganizationId required
70133
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
70134
+ localVarHeaderParameter['Accept'] = 'application/json';
70135
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
70136
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70137
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
70138
+ return {
70139
+ url: toPathString(localVarUrlObj),
70140
+ options: localVarRequestOptions,
70141
+ };
70142
+ }),
70143
+ /**
70144
+ * Get Series Registration endpoint
70145
+ * @summary Get Series Registration
70146
+ * @param {string} seriesId The series identifier
70147
+ * @param {string} registrationId The registration identifier
70148
+ * @param {*} [options] Override http request option.
70149
+ * @throws {RequiredError}
70150
+ */
70151
+ getSeriesRegistration: (seriesId_1, registrationId_1, ...args_1) => __awaiter(this, [seriesId_1, registrationId_1, ...args_1], void 0, function* (seriesId, registrationId, options = {}) {
70152
+ // verify required parameter 'seriesId' is not null or undefined
70153
+ assertParamExists('getSeriesRegistration', 'seriesId', seriesId);
70154
+ // verify required parameter 'registrationId' is not null or undefined
70155
+ assertParamExists('getSeriesRegistration', 'registrationId', registrationId);
70156
+ const localVarPath = `/series/{seriesId}/registrations/{registrationId}`
70157
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
70158
+ .replace(`{${"registrationId"}}`, encodeURIComponent(String(registrationId)));
70159
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
70160
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70161
+ let baseOptions;
70162
+ if (configuration) {
70163
+ baseOptions = configuration.baseOptions;
70164
+ }
70165
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
70166
+ const localVarHeaderParameter = {};
70167
+ const localVarQueryParameter = {};
70168
+ // authentication ApiKeyAuth required
70169
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
70170
+ // authentication OrganizationId required
70171
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
70172
+ localVarHeaderParameter['Accept'] = 'application/json';
70173
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
70174
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70175
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
70176
+ return {
70177
+ url: toPathString(localVarUrlObj),
70178
+ options: localVarRequestOptions,
70179
+ };
70180
+ }),
70181
+ /**
70182
+ * Get Series Registration Passes endpoint
70183
+ * @summary Get Series Registration Passes
68617
70184
  * @param {string} seriesId The series identifier
68618
- * @param {number} [page] Page number
68619
- * @param {number} [pageSize] Number of items per page
68620
- * @param {string} [orderBy] Field to order by
68621
- * @param {string} [search] Search query
70185
+ * @param {string} registrationId The registration identifier
68622
70186
  * @param {*} [options] Override http request option.
68623
70187
  * @throws {RequiredError}
68624
70188
  */
68625
- getSeriesEvents: (seriesId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [seriesId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (seriesId, page, pageSize, orderBy, search, options = {}) {
70189
+ getSeriesRegistrationPasses: (seriesId_1, registrationId_1, ...args_1) => __awaiter(this, [seriesId_1, registrationId_1, ...args_1], void 0, function* (seriesId, registrationId, options = {}) {
68626
70190
  // verify required parameter 'seriesId' is not null or undefined
68627
- assertParamExists('getSeriesEvents', 'seriesId', seriesId);
68628
- const localVarPath = `/series/{seriesId}/events`
68629
- .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
70191
+ assertParamExists('getSeriesRegistrationPasses', 'seriesId', seriesId);
70192
+ // verify required parameter 'registrationId' is not null or undefined
70193
+ assertParamExists('getSeriesRegistrationPasses', 'registrationId', registrationId);
70194
+ const localVarPath = `/series/{seriesId}/registrations/{registrationId}/passes`
70195
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
70196
+ .replace(`{${"registrationId"}}`, encodeURIComponent(String(registrationId)));
68630
70197
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
68631
70198
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68632
70199
  let baseOptions;
@@ -68640,18 +70207,6 @@ export const SeriesApiAxiosParamCreator = function (configuration) {
68640
70207
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
68641
70208
  // authentication OrganizationId required
68642
70209
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
68643
- if (page !== undefined) {
68644
- localVarQueryParameter['page'] = page;
68645
- }
68646
- if (pageSize !== undefined) {
68647
- localVarQueryParameter['pageSize'] = pageSize;
68648
- }
68649
- if (orderBy !== undefined) {
68650
- localVarQueryParameter['orderBy'] = orderBy;
68651
- }
68652
- if (search !== undefined) {
68653
- localVarQueryParameter['search'] = search;
68654
- }
68655
70210
  localVarHeaderParameter['Accept'] = 'application/json';
68656
70211
  setSearchParams(localVarUrlObj, localVarQueryParameter);
68657
70212
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -68662,8 +70217,10 @@ export const SeriesApiAxiosParamCreator = function (configuration) {
68662
70217
  };
68663
70218
  }),
68664
70219
  /**
68665
- * Get Series List endpoint
68666
- * @summary Get Series List
70220
+ * Get Series Registrations endpoint
70221
+ * @summary Get Series Registrations
70222
+ * @param {string} seriesId The series identifier
70223
+ * @param {PurchaseStatus} [status] Filter by status
68667
70224
  * @param {number} [page] Page number
68668
70225
  * @param {number} [pageSize] Number of items per page
68669
70226
  * @param {string} [orderBy] Field to order by
@@ -68671,8 +70228,11 @@ export const SeriesApiAxiosParamCreator = function (configuration) {
68671
70228
  * @param {*} [options] Override http request option.
68672
70229
  * @throws {RequiredError}
68673
70230
  */
68674
- getSeriesList: (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 = {}) {
68675
- const localVarPath = `/series`;
70231
+ getSeriesRegistrations: (seriesId_1, status_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [seriesId_1, status_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (seriesId, status, page, pageSize, orderBy, search, options = {}) {
70232
+ // verify required parameter 'seriesId' is not null or undefined
70233
+ assertParamExists('getSeriesRegistrations', 'seriesId', seriesId);
70234
+ const localVarPath = `/series/{seriesId}/registrations`
70235
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
68676
70236
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
68677
70237
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68678
70238
  let baseOptions;
@@ -68686,6 +70246,9 @@ export const SeriesApiAxiosParamCreator = function (configuration) {
68686
70246
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
68687
70247
  // authentication OrganizationId required
68688
70248
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
70249
+ if (status !== undefined) {
70250
+ localVarQueryParameter['status'] = status;
70251
+ }
68689
70252
  if (page !== undefined) {
68690
70253
  localVarQueryParameter['page'] = page;
68691
70254
  }
@@ -68708,58 +70271,24 @@ export const SeriesApiAxiosParamCreator = function (configuration) {
68708
70271
  };
68709
70272
  }),
68710
70273
  /**
68711
- * Remove Series Event endpoint
68712
- * @summary Remove Series Event
70274
+ * Update Series Registration endpoint
70275
+ * @summary Update Series Registration
68713
70276
  * @param {string} seriesId The series identifier
68714
- * @param {string} eventId The event identifier
70277
+ * @param {string} registrationId The registration identifier
70278
+ * @param {SeriesRegistrationUpdateInputs} seriesRegistrationUpdateInputs
68715
70279
  * @param {*} [options] Override http request option.
68716
70280
  * @throws {RequiredError}
68717
70281
  */
68718
- removeSeriesEvent: (seriesId_1, eventId_1, ...args_1) => __awaiter(this, [seriesId_1, eventId_1, ...args_1], void 0, function* (seriesId, eventId, options = {}) {
70282
+ updateSeriesRegistration: (seriesId_1, registrationId_1, seriesRegistrationUpdateInputs_1, ...args_1) => __awaiter(this, [seriesId_1, registrationId_1, seriesRegistrationUpdateInputs_1, ...args_1], void 0, function* (seriesId, registrationId, seriesRegistrationUpdateInputs, options = {}) {
68719
70283
  // verify required parameter 'seriesId' is not null or undefined
68720
- assertParamExists('removeSeriesEvent', 'seriesId', seriesId);
68721
- // verify required parameter 'eventId' is not null or undefined
68722
- assertParamExists('removeSeriesEvent', 'eventId', eventId);
68723
- const localVarPath = `/series/{seriesId}/events/{eventId}`
70284
+ assertParamExists('updateSeriesRegistration', 'seriesId', seriesId);
70285
+ // verify required parameter 'registrationId' is not null or undefined
70286
+ assertParamExists('updateSeriesRegistration', 'registrationId', registrationId);
70287
+ // verify required parameter 'seriesRegistrationUpdateInputs' is not null or undefined
70288
+ assertParamExists('updateSeriesRegistration', 'seriesRegistrationUpdateInputs', seriesRegistrationUpdateInputs);
70289
+ const localVarPath = `/series/{seriesId}/registrations/{registrationId}`
68724
70290
  .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
68725
- .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
68726
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
68727
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68728
- let baseOptions;
68729
- if (configuration) {
68730
- baseOptions = configuration.baseOptions;
68731
- }
68732
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
68733
- const localVarHeaderParameter = {};
68734
- const localVarQueryParameter = {};
68735
- // authentication ApiKeyAuth required
68736
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
68737
- // authentication OrganizationId required
68738
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
68739
- localVarHeaderParameter['Accept'] = 'application/json';
68740
- setSearchParams(localVarUrlObj, localVarQueryParameter);
68741
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68742
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
68743
- return {
68744
- url: toPathString(localVarUrlObj),
68745
- options: localVarRequestOptions,
68746
- };
68747
- }),
68748
- /**
68749
- * Update Series endpoint
68750
- * @summary Update Series
68751
- * @param {string} seriesId The series identifier
68752
- * @param {SeriesUpdateInputs} series Filter by series
68753
- * @param {*} [options] Override http request option.
68754
- * @throws {RequiredError}
68755
- */
68756
- updateSeries: (seriesId_1, series_1, ...args_1) => __awaiter(this, [seriesId_1, series_1, ...args_1], void 0, function* (seriesId, series, options = {}) {
68757
- // verify required parameter 'seriesId' is not null or undefined
68758
- assertParamExists('updateSeries', 'seriesId', seriesId);
68759
- // verify required parameter 'series' is not null or undefined
68760
- assertParamExists('updateSeries', 'series', series);
68761
- const localVarPath = `/series/{seriesId}`
68762
- .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
70291
+ .replace(`{${"registrationId"}}`, encodeURIComponent(String(registrationId)));
68763
70292
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
68764
70293
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68765
70294
  let baseOptions;
@@ -68773,15 +70302,12 @@ export const SeriesApiAxiosParamCreator = function (configuration) {
68773
70302
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
68774
70303
  // authentication OrganizationId required
68775
70304
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
68776
- if (series !== undefined) {
68777
- for (const [key, value] of Object.entries(series)) {
68778
- localVarQueryParameter[key] = value;
68779
- }
68780
- }
70305
+ localVarHeaderParameter['Content-Type'] = 'application/json';
68781
70306
  localVarHeaderParameter['Accept'] = 'application/json';
68782
70307
  setSearchParams(localVarUrlObj, localVarQueryParameter);
68783
70308
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68784
70309
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
70310
+ localVarRequestOptions.data = serializeDataIfNeeded(seriesRegistrationUpdateInputs, localVarRequestOptions, configuration);
68785
70311
  return {
68786
70312
  url: toPathString(localVarUrlObj),
68787
70313
  options: localVarRequestOptions,
@@ -68790,99 +70316,84 @@ export const SeriesApiAxiosParamCreator = function (configuration) {
68790
70316
  };
68791
70317
  };
68792
70318
  /**
68793
- * SeriesApi - functional programming interface
70319
+ * SeriesRegistrationsApi - functional programming interface
68794
70320
  */
68795
- export const SeriesApiFp = function (configuration) {
68796
- const localVarAxiosParamCreator = SeriesApiAxiosParamCreator(configuration);
70321
+ export const SeriesRegistrationsApiFp = function (configuration) {
70322
+ const localVarAxiosParamCreator = SeriesRegistrationsApiAxiosParamCreator(configuration);
68797
70323
  return {
68798
70324
  /**
68799
- * Add Series Event endpoint
68800
- * @summary Add Series Event
70325
+ * Create Series Registration endpoint
70326
+ * @summary Create Series Registration
68801
70327
  * @param {string} seriesId The series identifier
68802
- * @param {string} eventId The event identifier
70328
+ * @param {SeriesRegistrationCreateInputs} seriesRegistrationCreateInputs
68803
70329
  * @param {*} [options] Override http request option.
68804
70330
  * @throws {RequiredError}
68805
70331
  */
68806
- addSeriesEvent(seriesId, eventId, options) {
70332
+ createSeriesRegistration(seriesId, seriesRegistrationCreateInputs, options) {
68807
70333
  return __awaiter(this, void 0, void 0, function* () {
68808
70334
  var _a, _b, _c;
68809
- const localVarAxiosArgs = yield localVarAxiosParamCreator.addSeriesEvent(seriesId, eventId, options);
70335
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createSeriesRegistration(seriesId, seriesRegistrationCreateInputs, options);
68810
70336
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
68811
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.addSeriesEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
70337
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesRegistrationsApi.createSeriesRegistration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
68812
70338
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68813
70339
  });
68814
70340
  },
68815
70341
  /**
68816
- * Create Series endpoint
68817
- * @summary Create Series
68818
- * @param {SeriesCreateInputs} seriesCreateInputs
68819
- * @param {*} [options] Override http request option.
68820
- * @throws {RequiredError}
68821
- */
68822
- createSeries(seriesCreateInputs, options) {
68823
- return __awaiter(this, void 0, void 0, function* () {
68824
- var _a, _b, _c;
68825
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createSeries(seriesCreateInputs, options);
68826
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
68827
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.createSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
68828
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68829
- });
68830
- },
68831
- /**
68832
- * Delete Series endpoint
68833
- * @summary Delete Series
70342
+ * Delete Series Registration endpoint
70343
+ * @summary Delete Series Registration
68834
70344
  * @param {string} seriesId The series identifier
70345
+ * @param {string} registrationId The registration identifier
68835
70346
  * @param {*} [options] Override http request option.
68836
70347
  * @throws {RequiredError}
68837
70348
  */
68838
- deleteSeries(seriesId, options) {
70349
+ deleteSeriesRegistration(seriesId, registrationId, options) {
68839
70350
  return __awaiter(this, void 0, void 0, function* () {
68840
70351
  var _a, _b, _c;
68841
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSeries(seriesId, options);
70352
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSeriesRegistration(seriesId, registrationId, options);
68842
70353
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
68843
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.deleteSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
70354
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesRegistrationsApi.deleteSeriesRegistration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
68844
70355
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68845
70356
  });
68846
70357
  },
68847
70358
  /**
68848
- * Get Series endpoint
68849
- * @summary Get Series
70359
+ * Get Series Registration endpoint
70360
+ * @summary Get Series Registration
68850
70361
  * @param {string} seriesId The series identifier
70362
+ * @param {string} registrationId The registration identifier
68851
70363
  * @param {*} [options] Override http request option.
68852
70364
  * @throws {RequiredError}
68853
70365
  */
68854
- getSeries(seriesId, options) {
70366
+ getSeriesRegistration(seriesId, registrationId, options) {
68855
70367
  return __awaiter(this, void 0, void 0, function* () {
68856
70368
  var _a, _b, _c;
68857
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeries(seriesId, options);
70369
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesRegistration(seriesId, registrationId, options);
68858
70370
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
68859
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.getSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
70371
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesRegistrationsApi.getSeriesRegistration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
68860
70372
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68861
70373
  });
68862
70374
  },
68863
70375
  /**
68864
- * Get Series Events endpoint
68865
- * @summary Get Series Events
70376
+ * Get Series Registration Passes endpoint
70377
+ * @summary Get Series Registration Passes
68866
70378
  * @param {string} seriesId The series identifier
68867
- * @param {number} [page] Page number
68868
- * @param {number} [pageSize] Number of items per page
68869
- * @param {string} [orderBy] Field to order by
68870
- * @param {string} [search] Search query
70379
+ * @param {string} registrationId The registration identifier
68871
70380
  * @param {*} [options] Override http request option.
68872
70381
  * @throws {RequiredError}
68873
70382
  */
68874
- getSeriesEvents(seriesId, page, pageSize, orderBy, search, options) {
70383
+ getSeriesRegistrationPasses(seriesId, registrationId, options) {
68875
70384
  return __awaiter(this, void 0, void 0, function* () {
68876
70385
  var _a, _b, _c;
68877
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesEvents(seriesId, page, pageSize, orderBy, search, options);
70386
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesRegistrationPasses(seriesId, registrationId, options);
68878
70387
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
68879
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.getSeriesEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
70388
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesRegistrationsApi.getSeriesRegistrationPasses']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
68880
70389
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68881
70390
  });
68882
70391
  },
68883
70392
  /**
68884
- * Get Series List endpoint
68885
- * @summary Get Series List
70393
+ * Get Series Registrations endpoint
70394
+ * @summary Get Series Registrations
70395
+ * @param {string} seriesId The series identifier
70396
+ * @param {PurchaseStatus} [status] Filter by status
68886
70397
  * @param {number} [page] Page number
68887
70398
  * @param {number} [pageSize] Number of items per page
68888
70399
  * @param {string} [orderBy] Field to order by
@@ -68890,222 +70401,166 @@ export const SeriesApiFp = function (configuration) {
68890
70401
  * @param {*} [options] Override http request option.
68891
70402
  * @throws {RequiredError}
68892
70403
  */
68893
- getSeriesList(page, pageSize, orderBy, search, options) {
70404
+ getSeriesRegistrations(seriesId, status, page, pageSize, orderBy, search, options) {
68894
70405
  return __awaiter(this, void 0, void 0, function* () {
68895
70406
  var _a, _b, _c;
68896
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesList(page, pageSize, orderBy, search, options);
70407
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesRegistrations(seriesId, status, page, pageSize, orderBy, search, options);
68897
70408
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
68898
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.getSeriesList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
70409
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesRegistrationsApi.getSeriesRegistrations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
68899
70410
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68900
70411
  });
68901
70412
  },
68902
70413
  /**
68903
- * Remove Series Event endpoint
68904
- * @summary Remove Series Event
70414
+ * Update Series Registration endpoint
70415
+ * @summary Update Series Registration
68905
70416
  * @param {string} seriesId The series identifier
68906
- * @param {string} eventId The event identifier
70417
+ * @param {string} registrationId The registration identifier
70418
+ * @param {SeriesRegistrationUpdateInputs} seriesRegistrationUpdateInputs
68907
70419
  * @param {*} [options] Override http request option.
68908
70420
  * @throws {RequiredError}
68909
70421
  */
68910
- removeSeriesEvent(seriesId, eventId, options) {
70422
+ updateSeriesRegistration(seriesId, registrationId, seriesRegistrationUpdateInputs, options) {
68911
70423
  return __awaiter(this, void 0, void 0, function* () {
68912
70424
  var _a, _b, _c;
68913
- const localVarAxiosArgs = yield localVarAxiosParamCreator.removeSeriesEvent(seriesId, eventId, options);
70425
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSeriesRegistration(seriesId, registrationId, seriesRegistrationUpdateInputs, options);
68914
70426
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
68915
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.removeSeriesEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
68916
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68917
- });
68918
- },
68919
- /**
68920
- * Update Series endpoint
68921
- * @summary Update Series
68922
- * @param {string} seriesId The series identifier
68923
- * @param {SeriesUpdateInputs} series Filter by series
68924
- * @param {*} [options] Override http request option.
68925
- * @throws {RequiredError}
68926
- */
68927
- updateSeries(seriesId, series, options) {
68928
- return __awaiter(this, void 0, void 0, function* () {
68929
- var _a, _b, _c;
68930
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSeries(seriesId, series, options);
68931
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
68932
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.updateSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
70427
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesRegistrationsApi.updateSeriesRegistration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
68933
70428
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68934
70429
  });
68935
70430
  },
68936
70431
  };
68937
70432
  };
68938
70433
  /**
68939
- * SeriesApi - factory interface
70434
+ * SeriesRegistrationsApi - factory interface
68940
70435
  */
68941
- export const SeriesApiFactory = function (configuration, basePath, axios) {
68942
- const localVarFp = SeriesApiFp(configuration);
70436
+ export const SeriesRegistrationsApiFactory = function (configuration, basePath, axios) {
70437
+ const localVarFp = SeriesRegistrationsApiFp(configuration);
68943
70438
  return {
68944
70439
  /**
68945
- * Add Series Event endpoint
68946
- * @summary Add Series Event
68947
- * @param {SeriesApiAddSeriesEventRequest} requestParameters Request parameters.
70440
+ * Create Series Registration endpoint
70441
+ * @summary Create Series Registration
70442
+ * @param {SeriesRegistrationsApiCreateSeriesRegistrationRequest} requestParameters Request parameters.
68948
70443
  * @param {*} [options] Override http request option.
68949
70444
  * @throws {RequiredError}
68950
70445
  */
68951
- addSeriesEvent(requestParameters, options) {
68952
- return localVarFp.addSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(axios, basePath));
70446
+ createSeriesRegistration(requestParameters, options) {
70447
+ return localVarFp.createSeriesRegistration(requestParameters.seriesId, requestParameters.seriesRegistrationCreateInputs, options).then((request) => request(axios, basePath));
68953
70448
  },
68954
70449
  /**
68955
- * Create Series endpoint
68956
- * @summary Create Series
68957
- * @param {SeriesApiCreateSeriesRequest} requestParameters Request parameters.
70450
+ * Delete Series Registration endpoint
70451
+ * @summary Delete Series Registration
70452
+ * @param {SeriesRegistrationsApiDeleteSeriesRegistrationRequest} requestParameters Request parameters.
68958
70453
  * @param {*} [options] Override http request option.
68959
70454
  * @throws {RequiredError}
68960
70455
  */
68961
- createSeries(requestParameters, options) {
68962
- return localVarFp.createSeries(requestParameters.seriesCreateInputs, options).then((request) => request(axios, basePath));
70456
+ deleteSeriesRegistration(requestParameters, options) {
70457
+ return localVarFp.deleteSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(axios, basePath));
68963
70458
  },
68964
70459
  /**
68965
- * Delete Series endpoint
68966
- * @summary Delete Series
68967
- * @param {SeriesApiDeleteSeriesRequest} requestParameters Request parameters.
70460
+ * Get Series Registration endpoint
70461
+ * @summary Get Series Registration
70462
+ * @param {SeriesRegistrationsApiGetSeriesRegistrationRequest} requestParameters Request parameters.
68968
70463
  * @param {*} [options] Override http request option.
68969
70464
  * @throws {RequiredError}
68970
70465
  */
68971
- deleteSeries(requestParameters, options) {
68972
- return localVarFp.deleteSeries(requestParameters.seriesId, options).then((request) => request(axios, basePath));
70466
+ getSeriesRegistration(requestParameters, options) {
70467
+ return localVarFp.getSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(axios, basePath));
68973
70468
  },
68974
70469
  /**
68975
- * Get Series endpoint
68976
- * @summary Get Series
68977
- * @param {SeriesApiGetSeriesRequest} requestParameters Request parameters.
68978
- * @param {*} [options] Override http request option.
68979
- * @throws {RequiredError}
68980
- */
68981
- getSeries(requestParameters, options) {
68982
- return localVarFp.getSeries(requestParameters.seriesId, options).then((request) => request(axios, basePath));
68983
- },
68984
- /**
68985
- * Get Series Events endpoint
68986
- * @summary Get Series Events
68987
- * @param {SeriesApiGetSeriesEventsRequest} requestParameters Request parameters.
70470
+ * Get Series Registration Passes endpoint
70471
+ * @summary Get Series Registration Passes
70472
+ * @param {SeriesRegistrationsApiGetSeriesRegistrationPassesRequest} requestParameters Request parameters.
68988
70473
  * @param {*} [options] Override http request option.
68989
70474
  * @throws {RequiredError}
68990
70475
  */
68991
- getSeriesEvents(requestParameters, options) {
68992
- return localVarFp.getSeriesEvents(requestParameters.seriesId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
70476
+ getSeriesRegistrationPasses(requestParameters, options) {
70477
+ return localVarFp.getSeriesRegistrationPasses(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(axios, basePath));
68993
70478
  },
68994
70479
  /**
68995
- * Get Series List endpoint
68996
- * @summary Get Series List
68997
- * @param {SeriesApiGetSeriesListRequest} requestParameters Request parameters.
70480
+ * Get Series Registrations endpoint
70481
+ * @summary Get Series Registrations
70482
+ * @param {SeriesRegistrationsApiGetSeriesRegistrationsRequest} requestParameters Request parameters.
68998
70483
  * @param {*} [options] Override http request option.
68999
70484
  * @throws {RequiredError}
69000
70485
  */
69001
- getSeriesList(requestParameters = {}, options) {
69002
- return localVarFp.getSeriesList(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
70486
+ getSeriesRegistrations(requestParameters, options) {
70487
+ return localVarFp.getSeriesRegistrations(requestParameters.seriesId, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
69003
70488
  },
69004
70489
  /**
69005
- * Remove Series Event endpoint
69006
- * @summary Remove Series Event
69007
- * @param {SeriesApiRemoveSeriesEventRequest} requestParameters Request parameters.
70490
+ * Update Series Registration endpoint
70491
+ * @summary Update Series Registration
70492
+ * @param {SeriesRegistrationsApiUpdateSeriesRegistrationRequest} requestParameters Request parameters.
69008
70493
  * @param {*} [options] Override http request option.
69009
70494
  * @throws {RequiredError}
69010
70495
  */
69011
- removeSeriesEvent(requestParameters, options) {
69012
- return localVarFp.removeSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(axios, basePath));
69013
- },
69014
- /**
69015
- * Update Series endpoint
69016
- * @summary Update Series
69017
- * @param {SeriesApiUpdateSeriesRequest} requestParameters Request parameters.
69018
- * @param {*} [options] Override http request option.
69019
- * @throws {RequiredError}
69020
- */
69021
- updateSeries(requestParameters, options) {
69022
- return localVarFp.updateSeries(requestParameters.seriesId, requestParameters.series, options).then((request) => request(axios, basePath));
70496
+ updateSeriesRegistration(requestParameters, options) {
70497
+ return localVarFp.updateSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, requestParameters.seriesRegistrationUpdateInputs, options).then((request) => request(axios, basePath));
69023
70498
  },
69024
70499
  };
69025
70500
  };
69026
70501
  /**
69027
- * SeriesApi - object-oriented interface
70502
+ * SeriesRegistrationsApi - object-oriented interface
69028
70503
  */
69029
- export class SeriesApi extends BaseAPI {
69030
- /**
69031
- * Add Series Event endpoint
69032
- * @summary Add Series Event
69033
- * @param {SeriesApiAddSeriesEventRequest} requestParameters Request parameters.
69034
- * @param {*} [options] Override http request option.
69035
- * @throws {RequiredError}
69036
- */
69037
- addSeriesEvent(requestParameters, options) {
69038
- return SeriesApiFp(this.configuration).addSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
69039
- }
70504
+ export class SeriesRegistrationsApi extends BaseAPI {
69040
70505
  /**
69041
- * Create Series endpoint
69042
- * @summary Create Series
69043
- * @param {SeriesApiCreateSeriesRequest} requestParameters Request parameters.
70506
+ * Create Series Registration endpoint
70507
+ * @summary Create Series Registration
70508
+ * @param {SeriesRegistrationsApiCreateSeriesRegistrationRequest} requestParameters Request parameters.
69044
70509
  * @param {*} [options] Override http request option.
69045
70510
  * @throws {RequiredError}
69046
70511
  */
69047
- createSeries(requestParameters, options) {
69048
- return SeriesApiFp(this.configuration).createSeries(requestParameters.seriesCreateInputs, options).then((request) => request(this.axios, this.basePath));
70512
+ createSeriesRegistration(requestParameters, options) {
70513
+ return SeriesRegistrationsApiFp(this.configuration).createSeriesRegistration(requestParameters.seriesId, requestParameters.seriesRegistrationCreateInputs, options).then((request) => request(this.axios, this.basePath));
69049
70514
  }
69050
70515
  /**
69051
- * Delete Series endpoint
69052
- * @summary Delete Series
69053
- * @param {SeriesApiDeleteSeriesRequest} requestParameters Request parameters.
69054
- * @param {*} [options] Override http request option.
69055
- * @throws {RequiredError}
69056
- */
69057
- deleteSeries(requestParameters, options) {
69058
- return SeriesApiFp(this.configuration).deleteSeries(requestParameters.seriesId, options).then((request) => request(this.axios, this.basePath));
69059
- }
69060
- /**
69061
- * Get Series endpoint
69062
- * @summary Get Series
69063
- * @param {SeriesApiGetSeriesRequest} requestParameters Request parameters.
70516
+ * Delete Series Registration endpoint
70517
+ * @summary Delete Series Registration
70518
+ * @param {SeriesRegistrationsApiDeleteSeriesRegistrationRequest} requestParameters Request parameters.
69064
70519
  * @param {*} [options] Override http request option.
69065
70520
  * @throws {RequiredError}
69066
70521
  */
69067
- getSeries(requestParameters, options) {
69068
- return SeriesApiFp(this.configuration).getSeries(requestParameters.seriesId, options).then((request) => request(this.axios, this.basePath));
70522
+ deleteSeriesRegistration(requestParameters, options) {
70523
+ return SeriesRegistrationsApiFp(this.configuration).deleteSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(this.axios, this.basePath));
69069
70524
  }
69070
70525
  /**
69071
- * Get Series Events endpoint
69072
- * @summary Get Series Events
69073
- * @param {SeriesApiGetSeriesEventsRequest} requestParameters Request parameters.
70526
+ * Get Series Registration endpoint
70527
+ * @summary Get Series Registration
70528
+ * @param {SeriesRegistrationsApiGetSeriesRegistrationRequest} requestParameters Request parameters.
69074
70529
  * @param {*} [options] Override http request option.
69075
70530
  * @throws {RequiredError}
69076
70531
  */
69077
- getSeriesEvents(requestParameters, options) {
69078
- return SeriesApiFp(this.configuration).getSeriesEvents(requestParameters.seriesId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
70532
+ getSeriesRegistration(requestParameters, options) {
70533
+ return SeriesRegistrationsApiFp(this.configuration).getSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(this.axios, this.basePath));
69079
70534
  }
69080
70535
  /**
69081
- * Get Series List endpoint
69082
- * @summary Get Series List
69083
- * @param {SeriesApiGetSeriesListRequest} requestParameters Request parameters.
70536
+ * Get Series Registration Passes endpoint
70537
+ * @summary Get Series Registration Passes
70538
+ * @param {SeriesRegistrationsApiGetSeriesRegistrationPassesRequest} requestParameters Request parameters.
69084
70539
  * @param {*} [options] Override http request option.
69085
70540
  * @throws {RequiredError}
69086
70541
  */
69087
- getSeriesList(requestParameters = {}, options) {
69088
- return SeriesApiFp(this.configuration).getSeriesList(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
70542
+ getSeriesRegistrationPasses(requestParameters, options) {
70543
+ return SeriesRegistrationsApiFp(this.configuration).getSeriesRegistrationPasses(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(this.axios, this.basePath));
69089
70544
  }
69090
70545
  /**
69091
- * Remove Series Event endpoint
69092
- * @summary Remove Series Event
69093
- * @param {SeriesApiRemoveSeriesEventRequest} requestParameters Request parameters.
70546
+ * Get Series Registrations endpoint
70547
+ * @summary Get Series Registrations
70548
+ * @param {SeriesRegistrationsApiGetSeriesRegistrationsRequest} requestParameters Request parameters.
69094
70549
  * @param {*} [options] Override http request option.
69095
70550
  * @throws {RequiredError}
69096
70551
  */
69097
- removeSeriesEvent(requestParameters, options) {
69098
- return SeriesApiFp(this.configuration).removeSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
70552
+ getSeriesRegistrations(requestParameters, options) {
70553
+ return SeriesRegistrationsApiFp(this.configuration).getSeriesRegistrations(requestParameters.seriesId, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
69099
70554
  }
69100
70555
  /**
69101
- * Update Series endpoint
69102
- * @summary Update Series
69103
- * @param {SeriesApiUpdateSeriesRequest} requestParameters Request parameters.
70556
+ * Update Series Registration endpoint
70557
+ * @summary Update Series Registration
70558
+ * @param {SeriesRegistrationsApiUpdateSeriesRegistrationRequest} requestParameters Request parameters.
69104
70559
  * @param {*} [options] Override http request option.
69105
70560
  * @throws {RequiredError}
69106
70561
  */
69107
- updateSeries(requestParameters, options) {
69108
- return SeriesApiFp(this.configuration).updateSeries(requestParameters.seriesId, requestParameters.series, options).then((request) => request(this.axios, this.basePath));
70562
+ updateSeriesRegistration(requestParameters, options) {
70563
+ return SeriesRegistrationsApiFp(this.configuration).updateSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, requestParameters.seriesRegistrationUpdateInputs, options).then((request) => request(this.axios, this.basePath));
69109
70564
  }
69110
70565
  }
69111
70566
  /**
@@ -74355,6 +75810,8 @@ export const SurveysApiAxiosParamCreator = function (configuration) {
74355
75810
  /**
74356
75811
  * Get Surveys endpoint
74357
75812
  * @summary Get Surveys
75813
+ * @param {string} [eventId] Filter by eventId
75814
+ * @param {string} [sessionId] Filter by sessionId
74358
75815
  * @param {number} [page] Page number
74359
75816
  * @param {number} [pageSize] Number of items per page
74360
75817
  * @param {string} [orderBy] Field to order by
@@ -74362,7 +75819,7 @@ export const SurveysApiAxiosParamCreator = function (configuration) {
74362
75819
  * @param {*} [options] Override http request option.
74363
75820
  * @throws {RequiredError}
74364
75821
  */
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 = {}) {
75822
+ 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
75823
  const localVarPath = `/surveys`;
74367
75824
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
74368
75825
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -74377,6 +75834,12 @@ export const SurveysApiAxiosParamCreator = function (configuration) {
74377
75834
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
74378
75835
  // authentication OrganizationId required
74379
75836
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
75837
+ if (eventId !== undefined) {
75838
+ localVarQueryParameter['eventId'] = eventId;
75839
+ }
75840
+ if (sessionId !== undefined) {
75841
+ localVarQueryParameter['sessionId'] = sessionId;
75842
+ }
74380
75843
  if (page !== undefined) {
74381
75844
  localVarQueryParameter['page'] = page;
74382
75845
  }
@@ -74496,6 +75959,8 @@ export const SurveysApiFp = function (configuration) {
74496
75959
  /**
74497
75960
  * Get Surveys endpoint
74498
75961
  * @summary Get Surveys
75962
+ * @param {string} [eventId] Filter by eventId
75963
+ * @param {string} [sessionId] Filter by sessionId
74499
75964
  * @param {number} [page] Page number
74500
75965
  * @param {number} [pageSize] Number of items per page
74501
75966
  * @param {string} [orderBy] Field to order by
@@ -74503,10 +75968,10 @@ export const SurveysApiFp = function (configuration) {
74503
75968
  * @param {*} [options] Override http request option.
74504
75969
  * @throws {RequiredError}
74505
75970
  */
74506
- getSurveys(page, pageSize, orderBy, search, options) {
75971
+ getSurveys(eventId, sessionId, page, pageSize, orderBy, search, options) {
74507
75972
  return __awaiter(this, void 0, void 0, function* () {
74508
75973
  var _a, _b, _c;
74509
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSurveys(page, pageSize, orderBy, search, options);
75974
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSurveys(eventId, sessionId, page, pageSize, orderBy, search, options);
74510
75975
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
74511
75976
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SurveysApi.getSurveys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
74512
75977
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -74575,7 +76040,7 @@ export const SurveysApiFactory = function (configuration, basePath, axios) {
74575
76040
  * @throws {RequiredError}
74576
76041
  */
74577
76042
  getSurveys(requestParameters = {}, options) {
74578
- return localVarFp.getSurveys(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
76043
+ return localVarFp.getSurveys(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
74579
76044
  },
74580
76045
  /**
74581
76046
  * Update Survey endpoint
@@ -74631,7 +76096,7 @@ export class SurveysApi extends BaseAPI {
74631
76096
  * @throws {RequiredError}
74632
76097
  */
74633
76098
  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));
76099
+ 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
76100
  }
74636
76101
  /**
74637
76102
  * Update Survey endpoint