@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/api.ts CHANGED
@@ -234,6 +234,7 @@ export interface AccountCreateInputs {
234
234
  'locale'?: string | null;
235
235
  'taxEntityUseCode'?: string | null;
236
236
  'attributes'?: { [key: string]: any; } | null;
237
+ 'confirmationEmailCount'?: number;
237
238
  }
238
239
  export interface AccountInvitation {
239
240
  'email': string;
@@ -266,6 +267,7 @@ export interface AccountUpdateInputs {
266
267
  'locale'?: string | null;
267
268
  'taxEntityUseCode'?: string | null;
268
269
  'attributes'?: { [key: string]: any; } | null;
270
+ 'confirmationEmailCount'?: number;
269
271
  }
270
272
 
271
273
 
@@ -1182,6 +1184,7 @@ export interface BaseEventActivation {
1182
1184
  'startAfter': string | null;
1183
1185
  'type': EventActivationType;
1184
1186
  'accessLevel': PassTypeAccessLevel;
1187
+ 'survey': BaseSurvey | null;
1185
1188
  }
1186
1189
 
1187
1190
 
@@ -1212,6 +1215,13 @@ export interface BaseEventAttendee {
1212
1215
  'eventId': string;
1213
1216
  'event': BaseEvent;
1214
1217
  }
1218
+ export interface BaseEventBlock {
1219
+ 'id': string;
1220
+ 'name': string;
1221
+ 'description': string | null;
1222
+ 'limit': number;
1223
+ 'grouped': boolean;
1224
+ }
1215
1225
  export interface BaseEventEmail {
1216
1226
  'type': EventEmailType;
1217
1227
  'eventId': string;
@@ -2157,6 +2167,17 @@ export interface BaseSeries {
2157
2167
  'imageId': string | null;
2158
2168
  'image': BaseImage | null;
2159
2169
  }
2170
+ export interface BaseSeriesRegistration {
2171
+ 'id': string;
2172
+ 'organizationId': string;
2173
+ 'seriesId': string;
2174
+ 'series': BaseSeries;
2175
+ 'accountId': string;
2176
+ 'account': BaseAccount;
2177
+ 'status': PurchaseStatus;
2178
+ }
2179
+
2180
+
2160
2181
  export interface BaseSideEffect {
2161
2182
  'id': string;
2162
2183
  'newPassOfPassTypeId': string | null;
@@ -2274,6 +2295,7 @@ export interface BaseSurvey {
2274
2295
  'id': string;
2275
2296
  'slug': string;
2276
2297
  'name': string;
2298
+ 'active': boolean;
2277
2299
  'description': string | null;
2278
2300
  'image': BaseImage;
2279
2301
  'requireAuth': boolean;
@@ -2359,7 +2381,10 @@ export interface BaseSurveySectionQuestion {
2359
2381
  }
2360
2382
  export interface BaseSurveySubmission {
2361
2383
  'id': string;
2384
+ 'accountId': string | null;
2362
2385
  'account': BaseAccount | null;
2386
+ 'passId': string | null;
2387
+ 'pass': BaseEventPass | null;
2363
2388
  'status': PurchaseStatus;
2364
2389
  'responses': Array<BaseSurveyQuestionResponse>;
2365
2390
  }
@@ -3343,6 +3368,16 @@ export enum CreateEventAttendee200ResponseStatusEnum {
3343
3368
  Ok = 'ok'
3344
3369
  }
3345
3370
 
3371
+ export interface CreateEventBlock200Response {
3372
+ 'status': CreateEventBlock200ResponseStatusEnum;
3373
+ 'message': string;
3374
+ 'data': EventBlock;
3375
+ }
3376
+
3377
+ export enum CreateEventBlock200ResponseStatusEnum {
3378
+ Ok = 'ok'
3379
+ }
3380
+
3346
3381
  export interface CreateEventCoupon200Response {
3347
3382
  'status': CreateEventCoupon200ResponseStatusEnum;
3348
3383
  'message': string;
@@ -3999,6 +4034,7 @@ export interface EventActivation {
3999
4034
  'startAfter': string | null;
4000
4035
  'type': EventActivationType;
4001
4036
  'accessLevel': PassTypeAccessLevel;
4037
+ 'survey': BaseSurvey | null;
4002
4038
  'eventId': string;
4003
4039
  'event': BaseEvent;
4004
4040
  'imageId': string | null;
@@ -4204,6 +4240,29 @@ export interface EventBadgeFieldUpdateInputs {
4204
4240
  }
4205
4241
 
4206
4242
 
4243
+ export interface EventBlock {
4244
+ 'id': string;
4245
+ 'name': string;
4246
+ 'description': string | null;
4247
+ 'limit': number;
4248
+ 'grouped': boolean;
4249
+ 'event': BaseEvent;
4250
+ 'sessions': Array<BaseEventSession>;
4251
+ 'createdAt': string;
4252
+ 'updatedAt': string;
4253
+ }
4254
+ export interface EventBlockCreateInputs {
4255
+ 'name': string;
4256
+ 'description'?: string;
4257
+ 'limit'?: number;
4258
+ 'grouped'?: boolean;
4259
+ }
4260
+ export interface EventBlockUpdateInputs {
4261
+ 'name'?: string;
4262
+ 'description'?: string | null;
4263
+ 'limit'?: number;
4264
+ 'grouped'?: boolean;
4265
+ }
4207
4266
  export interface EventCouponCreateInputs {
4208
4267
  'code': string;
4209
4268
  'description'?: string | null;
@@ -5005,6 +5064,7 @@ export interface EventSession {
5005
5064
  'speakers': Array<BaseEventSpeaker>;
5006
5065
  'meetingId': string | null;
5007
5066
  'meeting': BaseMeeting | null;
5067
+ 'blocks': Array<BaseEventBlock> | null;
5008
5068
  }
5009
5069
 
5010
5070
 
@@ -6175,6 +6235,17 @@ export enum GetEventAttendees200ResponseStatusEnum {
6175
6235
  Ok = 'ok'
6176
6236
  }
6177
6237
 
6238
+ export interface GetEventBlocks200Response {
6239
+ 'status': GetEventBlocks200ResponseStatusEnum;
6240
+ 'message': string;
6241
+ 'data': Array<EventBlock>;
6242
+ 'count'?: number;
6243
+ }
6244
+
6245
+ export enum GetEventBlocks200ResponseStatusEnum {
6246
+ Ok = 'ok'
6247
+ }
6248
+
6178
6249
  export interface GetEventEmail200Response {
6179
6250
  'status': GetEventEmail200ResponseStatusEnum;
6180
6251
  'message': string;
@@ -9293,9 +9364,15 @@ export interface Series {
9293
9364
  'templateId': string;
9294
9365
  'template': BaseEvent;
9295
9366
  'sortOrder': number;
9367
+ 'price': number | null;
9368
+ 'taxCode': string | null;
9369
+ 'taxIncluded': boolean;
9370
+ 'taxLocation': TaxLocationType;
9296
9371
  'createdAt': string;
9297
9372
  'updatedAt': string;
9298
9373
  }
9374
+
9375
+
9299
9376
  export interface SeriesCreateInputs {
9300
9377
  'name': string;
9301
9378
  'slug'?: string | null;
@@ -9305,7 +9382,35 @@ export interface SeriesCreateInputs {
9305
9382
  'templateId': string;
9306
9383
  'startDate'?: string | null;
9307
9384
  'endDate'?: string | null;
9385
+ 'registration'?: boolean;
9386
+ 'price'?: number;
9387
+ 'taxCode'?: string | null;
9388
+ 'taxIncluded'?: boolean;
9389
+ 'taxLocation'?: TaxLocationType;
9390
+ }
9391
+
9392
+
9393
+ export interface SeriesRegistration {
9394
+ 'id': string;
9395
+ 'organizationId': string;
9396
+ 'seriesId': string;
9397
+ 'series': BaseSeries;
9398
+ 'accountId': string;
9399
+ 'account': BaseAccount;
9400
+ 'status': PurchaseStatus;
9401
+ 'createdAt': string;
9402
+ 'updatedAt': string;
9403
+ }
9404
+
9405
+
9406
+ export interface SeriesRegistrationCreateInputs {
9407
+ 'accountId': string;
9308
9408
  }
9409
+ export interface SeriesRegistrationUpdateInputs {
9410
+ 'status'?: PurchaseStatus;
9411
+ }
9412
+
9413
+
9309
9414
  export interface SeriesUpdateInputs {
9310
9415
  'name'?: string | null;
9311
9416
  'slug'?: string | null;
@@ -9315,8 +9420,15 @@ export interface SeriesUpdateInputs {
9315
9420
  'templateId'?: string;
9316
9421
  'startDate'?: string | null;
9317
9422
  'endDate'?: string | null;
9423
+ 'registration'?: boolean;
9424
+ 'price'?: number;
9425
+ 'taxCode'?: string | null;
9426
+ 'taxIncluded'?: boolean;
9427
+ 'taxLocation'?: TaxLocationType;
9318
9428
  }
9319
9429
 
9430
+
9431
+
9320
9432
  export enum SessionAccess {
9321
9433
  Public = 'PUBLIC',
9322
9434
  Private = 'PRIVATE'
@@ -9791,6 +9903,7 @@ export interface Survey {
9791
9903
  'id': string;
9792
9904
  'slug': string;
9793
9905
  'name': string;
9906
+ 'active': boolean;
9794
9907
  'description': string | null;
9795
9908
  'image': BaseImage;
9796
9909
  'requireAuth': boolean;
@@ -9799,16 +9912,31 @@ export interface Survey {
9799
9912
  'emailBody': string | null;
9800
9913
  'createdAt': string;
9801
9914
  'updatedAt': string;
9915
+ 'eventId': string | null;
9916
+ 'event': BaseEvent | null;
9917
+ 'sessionId': string | null;
9918
+ 'session': BaseEventSession | null;
9919
+ 'activationId': string | null;
9920
+ 'activation': BaseEventActivation | null;
9921
+ 'passTypes': Array<BaseEventPassType> | null;
9922
+ '_count': SurveyAllOfCount;
9923
+ }
9924
+ export interface SurveyAllOfCount {
9925
+ 'submissions': number;
9802
9926
  }
9803
9927
  export interface SurveyCreateInputs {
9804
9928
  'name': string;
9805
9929
  'slug'?: string;
9930
+ 'active'?: boolean;
9806
9931
  'description'?: string | null;
9807
9932
  'imageId'?: string | null;
9808
9933
  'requireAuth'?: boolean;
9809
9934
  'submissionsPerAccount'?: InvoiceLineItemCreateInputsQuantity;
9810
9935
  'replyTo'?: string | null;
9811
9936
  'emailBody'?: string | null;
9937
+ 'eventId'?: string | null;
9938
+ 'sessionId'?: string | null;
9939
+ 'activationId'?: string | null;
9812
9940
  }
9813
9941
  export interface SurveyQuestion {
9814
9942
  'id': string;
@@ -10039,7 +10167,10 @@ export interface SurveySectionUpdateInputs {
10039
10167
  }
10040
10168
  export interface SurveySubmission {
10041
10169
  'id': string;
10170
+ 'accountId': string | null;
10042
10171
  'account': BaseAccount | null;
10172
+ 'passId': string | null;
10173
+ 'pass': BaseEventPass | null;
10043
10174
  'status': PurchaseStatus;
10044
10175
  'responses': Array<BaseSurveyQuestionResponse>;
10045
10176
  'createdAt': string;
@@ -10049,6 +10180,8 @@ export interface SurveySubmission {
10049
10180
 
10050
10181
  export interface SurveySubmissionUpdateInputs {
10051
10182
  'status'?: PurchaseStatus;
10183
+ 'accountId'?: string | null;
10184
+ 'passId'?: string | null;
10052
10185
  }
10053
10186
 
10054
10187
 
@@ -10067,6 +10200,7 @@ export interface SurveyTranslationUpdateInputs {
10067
10200
  }
10068
10201
  export interface SurveyUpdateInputs {
10069
10202
  'name'?: string;
10203
+ 'active'?: boolean;
10070
10204
  'slug'?: string;
10071
10205
  'description'?: string | null;
10072
10206
  'imageId'?: string | null;
@@ -10074,6 +10208,9 @@ export interface SurveyUpdateInputs {
10074
10208
  'submissionsPerAccount'?: InvoiceLineItemCreateInputsQuantity;
10075
10209
  'replyTo'?: string | null;
10076
10210
  'emailBody'?: string | null;
10211
+ 'eventId'?: string | null;
10212
+ 'sessionId'?: string | null;
10213
+ 'activationId'?: string | null;
10077
10214
  }
10078
10215
  export interface SystemEventLog {
10079
10216
  'id': string;
@@ -34962,24 +35099,72 @@ export class EventsBenefitsApi extends BaseAPI {
34962
35099
 
34963
35100
 
34964
35101
  /**
34965
- * EventsBypassApi - axios parameter creator
35102
+ * EventsBlocksApi - axios parameter creator
34966
35103
  */
34967
- export const EventsBypassApiAxiosParamCreator = function (configuration?: Configuration) {
35104
+ export const EventsBlocksApiAxiosParamCreator = function (configuration?: Configuration) {
34968
35105
  return {
34969
35106
  /**
34970
- * Create Event Registration Bypass endpoint
34971
- * @summary Create Event Registration Bypass
35107
+ * Add Event Block Session endpoint
35108
+ * @summary Add Event Block Session
34972
35109
  * @param {string} eventId The event identifier
34973
- * @param {EventRegistrationBypassCreateInputs} eventRegistrationBypassCreateInputs
35110
+ * @param {string} blockId The block identifier
35111
+ * @param {string} sessionId The session identifier
34974
35112
  * @param {*} [options] Override http request option.
34975
35113
  * @throws {RequiredError}
34976
35114
  */
34977
- createEventRegistrationBypass: async (eventId: string, eventRegistrationBypassCreateInputs: EventRegistrationBypassCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35115
+ addEventBlockSession: async (eventId: string, blockId: string, sessionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
34978
35116
  // verify required parameter 'eventId' is not null or undefined
34979
- assertParamExists('createEventRegistrationBypass', 'eventId', eventId)
34980
- // verify required parameter 'eventRegistrationBypassCreateInputs' is not null or undefined
34981
- assertParamExists('createEventRegistrationBypass', 'eventRegistrationBypassCreateInputs', eventRegistrationBypassCreateInputs)
34982
- const localVarPath = `/events/{eventId}/bypass`
35117
+ assertParamExists('addEventBlockSession', 'eventId', eventId)
35118
+ // verify required parameter 'blockId' is not null or undefined
35119
+ assertParamExists('addEventBlockSession', 'blockId', blockId)
35120
+ // verify required parameter 'sessionId' is not null or undefined
35121
+ assertParamExists('addEventBlockSession', 'sessionId', sessionId)
35122
+ const localVarPath = `/events/{eventId}/blocks/{blockId}/sessions/{sessionId}`
35123
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
35124
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)))
35125
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
35126
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35127
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35128
+ let baseOptions;
35129
+ if (configuration) {
35130
+ baseOptions = configuration.baseOptions;
35131
+ }
35132
+
35133
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35134
+ const localVarHeaderParameter = {} as any;
35135
+ const localVarQueryParameter = {} as any;
35136
+
35137
+ // authentication ApiKeyAuth required
35138
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
35139
+
35140
+ // authentication OrganizationId required
35141
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
35142
+
35143
+ localVarHeaderParameter['Accept'] = 'application/json';
35144
+
35145
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35147
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35148
+
35149
+ return {
35150
+ url: toPathString(localVarUrlObj),
35151
+ options: localVarRequestOptions,
35152
+ };
35153
+ },
35154
+ /**
35155
+ * Create Event Block endpoint
35156
+ * @summary Create Event Block
35157
+ * @param {string} eventId The event identifier
35158
+ * @param {EventBlockCreateInputs} eventBlockCreateInputs
35159
+ * @param {*} [options] Override http request option.
35160
+ * @throws {RequiredError}
35161
+ */
35162
+ createEventBlock: async (eventId: string, eventBlockCreateInputs: EventBlockCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35163
+ // verify required parameter 'eventId' is not null or undefined
35164
+ assertParamExists('createEventBlock', 'eventId', eventId)
35165
+ // verify required parameter 'eventBlockCreateInputs' is not null or undefined
35166
+ assertParamExists('createEventBlock', 'eventBlockCreateInputs', eventBlockCreateInputs)
35167
+ const localVarPath = `/events/{eventId}/blocks`
34983
35168
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
34984
35169
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34985
35170
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -35004,7 +35189,7 @@ export const EventsBypassApiAxiosParamCreator = function (configuration?: Config
35004
35189
  setSearchParams(localVarUrlObj, localVarQueryParameter);
35005
35190
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35006
35191
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35007
- localVarRequestOptions.data = serializeDataIfNeeded(eventRegistrationBypassCreateInputs, localVarRequestOptions, configuration)
35192
+ localVarRequestOptions.data = serializeDataIfNeeded(eventBlockCreateInputs, localVarRequestOptions, configuration)
35008
35193
 
35009
35194
  return {
35010
35195
  url: toPathString(localVarUrlObj),
@@ -35012,21 +35197,21 @@ export const EventsBypassApiAxiosParamCreator = function (configuration?: Config
35012
35197
  };
35013
35198
  },
35014
35199
  /**
35015
- * Delete Event Registration Bypass endpoint
35016
- * @summary Delete Event Registration Bypass
35200
+ * Delete Event Block endpoint
35201
+ * @summary Delete Event Block
35017
35202
  * @param {string} eventId The event identifier
35018
- * @param {string} bypassId The bypass identifier
35203
+ * @param {string} blockId The block identifier
35019
35204
  * @param {*} [options] Override http request option.
35020
35205
  * @throws {RequiredError}
35021
35206
  */
35022
- deleteEventRegistrationBypass: async (eventId: string, bypassId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35207
+ deleteEventBlock: async (eventId: string, blockId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35023
35208
  // verify required parameter 'eventId' is not null or undefined
35024
- assertParamExists('deleteEventRegistrationBypass', 'eventId', eventId)
35025
- // verify required parameter 'bypassId' is not null or undefined
35026
- assertParamExists('deleteEventRegistrationBypass', 'bypassId', bypassId)
35027
- const localVarPath = `/events/{eventId}/bypass/{bypassId}`
35209
+ assertParamExists('deleteEventBlock', 'eventId', eventId)
35210
+ // verify required parameter 'blockId' is not null or undefined
35211
+ assertParamExists('deleteEventBlock', 'blockId', blockId)
35212
+ const localVarPath = `/events/{eventId}/blocks/{blockId}`
35028
35213
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
35029
- .replace(`{${"bypassId"}}`, encodeURIComponent(String(bypassId)));
35214
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
35030
35215
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35031
35216
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35032
35217
  let baseOptions;
@@ -35056,21 +35241,21 @@ export const EventsBypassApiAxiosParamCreator = function (configuration?: Config
35056
35241
  };
35057
35242
  },
35058
35243
  /**
35059
- * Get Event Registration Bypass endpoint
35060
- * @summary Get Event Registration Bypass
35244
+ * Get Event Block endpoint
35245
+ * @summary Get Event Block
35061
35246
  * @param {string} eventId The event identifier
35062
- * @param {string} bypassId The bypass identifier
35247
+ * @param {string} blockId The block identifier
35063
35248
  * @param {*} [options] Override http request option.
35064
35249
  * @throws {RequiredError}
35065
35250
  */
35066
- getEventRegistrationBypass: async (eventId: string, bypassId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35251
+ getEventBlock: async (eventId: string, blockId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35067
35252
  // verify required parameter 'eventId' is not null or undefined
35068
- assertParamExists('getEventRegistrationBypass', 'eventId', eventId)
35069
- // verify required parameter 'bypassId' is not null or undefined
35070
- assertParamExists('getEventRegistrationBypass', 'bypassId', bypassId)
35071
- const localVarPath = `/events/{eventId}/bypass/{bypassId}`
35253
+ assertParamExists('getEventBlock', 'eventId', eventId)
35254
+ // verify required parameter 'blockId' is not null or undefined
35255
+ assertParamExists('getEventBlock', 'blockId', blockId)
35256
+ const localVarPath = `/events/{eventId}/blocks/{blockId}`
35072
35257
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
35073
- .replace(`{${"bypassId"}}`, encodeURIComponent(String(bypassId)));
35258
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
35074
35259
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35075
35260
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35076
35261
  let baseOptions;
@@ -35100,9 +35285,10 @@ export const EventsBypassApiAxiosParamCreator = function (configuration?: Config
35100
35285
  };
35101
35286
  },
35102
35287
  /**
35103
- * Get Event Registration Bypass List endpoint
35104
- * @summary Get Event Registration Bypass List
35288
+ * Get Event Block Sessions endpoint
35289
+ * @summary Get Event Block Sessions
35105
35290
  * @param {string} eventId The event identifier
35291
+ * @param {string} blockId The block identifier
35106
35292
  * @param {number} [page] Page number
35107
35293
  * @param {number} [pageSize] Number of items per page
35108
35294
  * @param {string} [orderBy] Field to order by
@@ -35110,10 +35296,73 @@ export const EventsBypassApiAxiosParamCreator = function (configuration?: Config
35110
35296
  * @param {*} [options] Override http request option.
35111
35297
  * @throws {RequiredError}
35112
35298
  */
35113
- getEventRegistrationBypassList: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35299
+ getEventBlockSessions: async (eventId: string, blockId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35114
35300
  // verify required parameter 'eventId' is not null or undefined
35115
- assertParamExists('getEventRegistrationBypassList', 'eventId', eventId)
35116
- const localVarPath = `/events/{eventId}/bypass`
35301
+ assertParamExists('getEventBlockSessions', 'eventId', eventId)
35302
+ // verify required parameter 'blockId' is not null or undefined
35303
+ assertParamExists('getEventBlockSessions', 'blockId', blockId)
35304
+ const localVarPath = `/events/{eventId}/blocks/{blockId}/sessions`
35305
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
35306
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
35307
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35308
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35309
+ let baseOptions;
35310
+ if (configuration) {
35311
+ baseOptions = configuration.baseOptions;
35312
+ }
35313
+
35314
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35315
+ const localVarHeaderParameter = {} as any;
35316
+ const localVarQueryParameter = {} as any;
35317
+
35318
+ // authentication ApiKeyAuth required
35319
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
35320
+
35321
+ // authentication OrganizationId required
35322
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
35323
+
35324
+ if (page !== undefined) {
35325
+ localVarQueryParameter['page'] = page;
35326
+ }
35327
+
35328
+ if (pageSize !== undefined) {
35329
+ localVarQueryParameter['pageSize'] = pageSize;
35330
+ }
35331
+
35332
+ if (orderBy !== undefined) {
35333
+ localVarQueryParameter['orderBy'] = orderBy;
35334
+ }
35335
+
35336
+ if (search !== undefined) {
35337
+ localVarQueryParameter['search'] = search;
35338
+ }
35339
+
35340
+ localVarHeaderParameter['Accept'] = 'application/json';
35341
+
35342
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35343
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35344
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35345
+
35346
+ return {
35347
+ url: toPathString(localVarUrlObj),
35348
+ options: localVarRequestOptions,
35349
+ };
35350
+ },
35351
+ /**
35352
+ * Get Event Blocks endpoint
35353
+ * @summary Get Event Blocks
35354
+ * @param {string} eventId The event identifier
35355
+ * @param {number} [page] Page number
35356
+ * @param {number} [pageSize] Number of items per page
35357
+ * @param {string} [orderBy] Field to order by
35358
+ * @param {string} [search] Search query
35359
+ * @param {*} [options] Override http request option.
35360
+ * @throws {RequiredError}
35361
+ */
35362
+ getEventBlocks: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35363
+ // verify required parameter 'eventId' is not null or undefined
35364
+ assertParamExists('getEventBlocks', 'eventId', eventId)
35365
+ const localVarPath = `/events/{eventId}/blocks`
35117
35366
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
35118
35367
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35119
35368
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -35160,24 +35409,25 @@ export const EventsBypassApiAxiosParamCreator = function (configuration?: Config
35160
35409
  };
35161
35410
  },
35162
35411
  /**
35163
- * Update Event Registration Bypass endpoint
35164
- * @summary Update Event Registration Bypass
35412
+ * Remove Event Block Session endpoint
35413
+ * @summary Remove Event Block Session
35165
35414
  * @param {string} eventId The event identifier
35166
- * @param {string} bypassId The bypass identifier
35167
- * @param {EventRegistrationBypassUpdateInputs} page Filter by page
35415
+ * @param {string} blockId The block identifier
35416
+ * @param {string} sessionId The session identifier
35168
35417
  * @param {*} [options] Override http request option.
35169
35418
  * @throws {RequiredError}
35170
35419
  */
35171
- updateEventRegistrationBypass: async (eventId: string, bypassId: string, page: EventRegistrationBypassUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35420
+ removeEventBlockSession: async (eventId: string, blockId: string, sessionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35172
35421
  // verify required parameter 'eventId' is not null or undefined
35173
- assertParamExists('updateEventRegistrationBypass', 'eventId', eventId)
35174
- // verify required parameter 'bypassId' is not null or undefined
35175
- assertParamExists('updateEventRegistrationBypass', 'bypassId', bypassId)
35176
- // verify required parameter 'page' is not null or undefined
35177
- assertParamExists('updateEventRegistrationBypass', 'page', page)
35178
- const localVarPath = `/events/{eventId}/bypass/{bypassId}`
35422
+ assertParamExists('removeEventBlockSession', 'eventId', eventId)
35423
+ // verify required parameter 'blockId' is not null or undefined
35424
+ assertParamExists('removeEventBlockSession', 'blockId', blockId)
35425
+ // verify required parameter 'sessionId' is not null or undefined
35426
+ assertParamExists('removeEventBlockSession', 'sessionId', sessionId)
35427
+ const localVarPath = `/events/{eventId}/blocks/{blockId}/sessions/{sessionId}`
35179
35428
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
35180
- .replace(`{${"bypassId"}}`, encodeURIComponent(String(bypassId)));
35429
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)))
35430
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
35181
35431
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35182
35432
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35183
35433
  let baseOptions;
@@ -35185,7 +35435,7 @@ export const EventsBypassApiAxiosParamCreator = function (configuration?: Config
35185
35435
  baseOptions = configuration.baseOptions;
35186
35436
  }
35187
35437
 
35188
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
35438
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
35189
35439
  const localVarHeaderParameter = {} as any;
35190
35440
  const localVarQueryParameter = {} as any;
35191
35441
 
@@ -35195,17 +35445,60 @@ export const EventsBypassApiAxiosParamCreator = function (configuration?: Config
35195
35445
  // authentication OrganizationId required
35196
35446
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
35197
35447
 
35198
- if (page !== undefined) {
35199
- for (const [key, value] of Object.entries(page)) {
35200
- localVarQueryParameter[key] = value;
35201
- }
35448
+ localVarHeaderParameter['Accept'] = 'application/json';
35449
+
35450
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35451
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35452
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35453
+
35454
+ return {
35455
+ url: toPathString(localVarUrlObj),
35456
+ options: localVarRequestOptions,
35457
+ };
35458
+ },
35459
+ /**
35460
+ * Update Event Block endpoint
35461
+ * @summary Update Event Block
35462
+ * @param {string} eventId The event identifier
35463
+ * @param {string} blockId The block identifier
35464
+ * @param {EventBlockUpdateInputs} eventBlockUpdateInputs
35465
+ * @param {*} [options] Override http request option.
35466
+ * @throws {RequiredError}
35467
+ */
35468
+ updateEventBlock: async (eventId: string, blockId: string, eventBlockUpdateInputs: EventBlockUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35469
+ // verify required parameter 'eventId' is not null or undefined
35470
+ assertParamExists('updateEventBlock', 'eventId', eventId)
35471
+ // verify required parameter 'blockId' is not null or undefined
35472
+ assertParamExists('updateEventBlock', 'blockId', blockId)
35473
+ // verify required parameter 'eventBlockUpdateInputs' is not null or undefined
35474
+ assertParamExists('updateEventBlock', 'eventBlockUpdateInputs', eventBlockUpdateInputs)
35475
+ const localVarPath = `/events/{eventId}/blocks/{blockId}`
35476
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
35477
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
35478
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35479
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35480
+ let baseOptions;
35481
+ if (configuration) {
35482
+ baseOptions = configuration.baseOptions;
35202
35483
  }
35203
35484
 
35485
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
35486
+ const localVarHeaderParameter = {} as any;
35487
+ const localVarQueryParameter = {} as any;
35488
+
35489
+ // authentication ApiKeyAuth required
35490
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
35491
+
35492
+ // authentication OrganizationId required
35493
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
35494
+
35495
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35204
35496
  localVarHeaderParameter['Accept'] = 'application/json';
35205
35497
 
35206
35498
  setSearchParams(localVarUrlObj, localVarQueryParameter);
35207
35499
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35208
35500
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35501
+ localVarRequestOptions.data = serializeDataIfNeeded(eventBlockUpdateInputs, localVarRequestOptions, configuration)
35209
35502
 
35210
35503
  return {
35211
35504
  url: toPathString(localVarUrlObj),
@@ -35216,57 +35509,73 @@ export const EventsBypassApiAxiosParamCreator = function (configuration?: Config
35216
35509
  };
35217
35510
 
35218
35511
  /**
35219
- * EventsBypassApi - functional programming interface
35512
+ * EventsBlocksApi - functional programming interface
35220
35513
  */
35221
- export const EventsBypassApiFp = function(configuration?: Configuration) {
35222
- const localVarAxiosParamCreator = EventsBypassApiAxiosParamCreator(configuration)
35514
+ export const EventsBlocksApiFp = function(configuration?: Configuration) {
35515
+ const localVarAxiosParamCreator = EventsBlocksApiAxiosParamCreator(configuration)
35223
35516
  return {
35224
35517
  /**
35225
- * Create Event Registration Bypass endpoint
35226
- * @summary Create Event Registration Bypass
35518
+ * Add Event Block Session endpoint
35519
+ * @summary Add Event Block Session
35227
35520
  * @param {string} eventId The event identifier
35228
- * @param {EventRegistrationBypassCreateInputs} eventRegistrationBypassCreateInputs
35521
+ * @param {string} blockId The block identifier
35522
+ * @param {string} sessionId The session identifier
35229
35523
  * @param {*} [options] Override http request option.
35230
35524
  * @throws {RequiredError}
35231
35525
  */
35232
- async createEventRegistrationBypass(eventId: string, eventRegistrationBypassCreateInputs: EventRegistrationBypassCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
35233
- const localVarAxiosArgs = await localVarAxiosParamCreator.createEventRegistrationBypass(eventId, eventRegistrationBypassCreateInputs, options);
35526
+ async addEventBlockSession(eventId: string, blockId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBlock200Response>> {
35527
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addEventBlockSession(eventId, blockId, sessionId, options);
35234
35528
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35235
- const localVarOperationServerBasePath = operationServerMap['EventsBypassApi.createEventRegistrationBypass']?.[localVarOperationServerIndex]?.url;
35529
+ const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.addEventBlockSession']?.[localVarOperationServerIndex]?.url;
35236
35530
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35237
35531
  },
35238
35532
  /**
35239
- * Delete Event Registration Bypass endpoint
35240
- * @summary Delete Event Registration Bypass
35533
+ * Create Event Block endpoint
35534
+ * @summary Create Event Block
35241
35535
  * @param {string} eventId The event identifier
35242
- * @param {string} bypassId The bypass identifier
35536
+ * @param {EventBlockCreateInputs} eventBlockCreateInputs
35243
35537
  * @param {*} [options] Override http request option.
35244
35538
  * @throws {RequiredError}
35245
35539
  */
35246
- async deleteEventRegistrationBypass(eventId: string, bypassId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
35247
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEventRegistrationBypass(eventId, bypassId, options);
35540
+ async createEventBlock(eventId: string, eventBlockCreateInputs: EventBlockCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBlock200Response>> {
35541
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createEventBlock(eventId, eventBlockCreateInputs, options);
35248
35542
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35249
- const localVarOperationServerBasePath = operationServerMap['EventsBypassApi.deleteEventRegistrationBypass']?.[localVarOperationServerIndex]?.url;
35543
+ const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.createEventBlock']?.[localVarOperationServerIndex]?.url;
35250
35544
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35251
35545
  },
35252
35546
  /**
35253
- * Get Event Registration Bypass endpoint
35254
- * @summary Get Event Registration Bypass
35547
+ * Delete Event Block endpoint
35548
+ * @summary Delete Event Block
35255
35549
  * @param {string} eventId The event identifier
35256
- * @param {string} bypassId The bypass identifier
35550
+ * @param {string} blockId The block identifier
35257
35551
  * @param {*} [options] Override http request option.
35258
35552
  * @throws {RequiredError}
35259
35553
  */
35260
- async getEventRegistrationBypass(eventId: string, bypassId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
35261
- const localVarAxiosArgs = await localVarAxiosParamCreator.getEventRegistrationBypass(eventId, bypassId, options);
35554
+ async deleteEventBlock(eventId: string, blockId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
35555
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEventBlock(eventId, blockId, options);
35262
35556
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35263
- const localVarOperationServerBasePath = operationServerMap['EventsBypassApi.getEventRegistrationBypass']?.[localVarOperationServerIndex]?.url;
35557
+ const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.deleteEventBlock']?.[localVarOperationServerIndex]?.url;
35264
35558
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35265
35559
  },
35266
35560
  /**
35267
- * Get Event Registration Bypass List endpoint
35268
- * @summary Get Event Registration Bypass List
35561
+ * Get Event Block endpoint
35562
+ * @summary Get Event Block
35269
35563
  * @param {string} eventId The event identifier
35564
+ * @param {string} blockId The block identifier
35565
+ * @param {*} [options] Override http request option.
35566
+ * @throws {RequiredError}
35567
+ */
35568
+ async getEventBlock(eventId: string, blockId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBlock200Response>> {
35569
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventBlock(eventId, blockId, options);
35570
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35571
+ const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.getEventBlock']?.[localVarOperationServerIndex]?.url;
35572
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35573
+ },
35574
+ /**
35575
+ * Get Event Block Sessions endpoint
35576
+ * @summary Get Event Block Sessions
35577
+ * @param {string} eventId The event identifier
35578
+ * @param {string} blockId The block identifier
35270
35579
  * @param {number} [page] Page number
35271
35580
  * @param {number} [pageSize] Number of items per page
35272
35581
  * @param {string} [orderBy] Field to order by
@@ -35274,140 +35583,227 @@ export const EventsBypassApiFp = function(configuration?: Configuration) {
35274
35583
  * @param {*} [options] Override http request option.
35275
35584
  * @throws {RequiredError}
35276
35585
  */
35277
- async getEventRegistrationBypassList(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountInvitations200Response>> {
35278
- const localVarAxiosArgs = await localVarAxiosParamCreator.getEventRegistrationBypassList(eventId, page, pageSize, orderBy, search, options);
35586
+ async getEventBlockSessions(eventId: string, blockId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountInvitations200Response>> {
35587
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventBlockSessions(eventId, blockId, page, pageSize, orderBy, search, options);
35279
35588
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35280
- const localVarOperationServerBasePath = operationServerMap['EventsBypassApi.getEventRegistrationBypassList']?.[localVarOperationServerIndex]?.url;
35589
+ const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.getEventBlockSessions']?.[localVarOperationServerIndex]?.url;
35281
35590
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35282
35591
  },
35283
35592
  /**
35284
- * Update Event Registration Bypass endpoint
35285
- * @summary Update Event Registration Bypass
35593
+ * Get Event Blocks endpoint
35594
+ * @summary Get Event Blocks
35286
35595
  * @param {string} eventId The event identifier
35287
- * @param {string} bypassId The bypass identifier
35288
- * @param {EventRegistrationBypassUpdateInputs} page Filter by page
35596
+ * @param {number} [page] Page number
35597
+ * @param {number} [pageSize] Number of items per page
35598
+ * @param {string} [orderBy] Field to order by
35599
+ * @param {string} [search] Search query
35289
35600
  * @param {*} [options] Override http request option.
35290
35601
  * @throws {RequiredError}
35291
35602
  */
35292
- async updateEventRegistrationBypass(eventId: string, bypassId: string, page: EventRegistrationBypassUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
35293
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateEventRegistrationBypass(eventId, bypassId, page, options);
35603
+ async getEventBlocks(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventBlocks200Response>> {
35604
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventBlocks(eventId, page, pageSize, orderBy, search, options);
35294
35605
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35295
- const localVarOperationServerBasePath = operationServerMap['EventsBypassApi.updateEventRegistrationBypass']?.[localVarOperationServerIndex]?.url;
35606
+ const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.getEventBlocks']?.[localVarOperationServerIndex]?.url;
35607
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35608
+ },
35609
+ /**
35610
+ * Remove Event Block Session endpoint
35611
+ * @summary Remove Event Block Session
35612
+ * @param {string} eventId The event identifier
35613
+ * @param {string} blockId The block identifier
35614
+ * @param {string} sessionId The session identifier
35615
+ * @param {*} [options] Override http request option.
35616
+ * @throws {RequiredError}
35617
+ */
35618
+ async removeEventBlockSession(eventId: string, blockId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBlock200Response>> {
35619
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventBlockSession(eventId, blockId, sessionId, options);
35620
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35621
+ const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.removeEventBlockSession']?.[localVarOperationServerIndex]?.url;
35622
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35623
+ },
35624
+ /**
35625
+ * Update Event Block endpoint
35626
+ * @summary Update Event Block
35627
+ * @param {string} eventId The event identifier
35628
+ * @param {string} blockId The block identifier
35629
+ * @param {EventBlockUpdateInputs} eventBlockUpdateInputs
35630
+ * @param {*} [options] Override http request option.
35631
+ * @throws {RequiredError}
35632
+ */
35633
+ async updateEventBlock(eventId: string, blockId: string, eventBlockUpdateInputs: EventBlockUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBlock200Response>> {
35634
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEventBlock(eventId, blockId, eventBlockUpdateInputs, options);
35635
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35636
+ const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.updateEventBlock']?.[localVarOperationServerIndex]?.url;
35296
35637
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35297
35638
  },
35298
35639
  }
35299
35640
  };
35300
35641
 
35301
35642
  /**
35302
- * EventsBypassApi - factory interface
35643
+ * EventsBlocksApi - factory interface
35303
35644
  */
35304
- export const EventsBypassApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
35305
- const localVarFp = EventsBypassApiFp(configuration)
35645
+ export const EventsBlocksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
35646
+ const localVarFp = EventsBlocksApiFp(configuration)
35306
35647
  return {
35307
35648
  /**
35308
- * Create Event Registration Bypass endpoint
35309
- * @summary Create Event Registration Bypass
35310
- * @param {EventsBypassApiCreateEventRegistrationBypassRequest} requestParameters Request parameters.
35649
+ * Add Event Block Session endpoint
35650
+ * @summary Add Event Block Session
35651
+ * @param {EventsBlocksApiAddEventBlockSessionRequest} requestParameters Request parameters.
35311
35652
  * @param {*} [options] Override http request option.
35312
35653
  * @throws {RequiredError}
35313
35654
  */
35314
- createEventRegistrationBypass(requestParameters: EventsBypassApiCreateEventRegistrationBypassRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
35315
- return localVarFp.createEventRegistrationBypass(requestParameters.eventId, requestParameters.eventRegistrationBypassCreateInputs, options).then((request) => request(axios, basePath));
35655
+ addEventBlockSession(requestParameters: EventsBlocksApiAddEventBlockSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBlock200Response> {
35656
+ return localVarFp.addEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
35316
35657
  },
35317
35658
  /**
35318
- * Delete Event Registration Bypass endpoint
35319
- * @summary Delete Event Registration Bypass
35320
- * @param {EventsBypassApiDeleteEventRegistrationBypassRequest} requestParameters Request parameters.
35659
+ * Create Event Block endpoint
35660
+ * @summary Create Event Block
35661
+ * @param {EventsBlocksApiCreateEventBlockRequest} requestParameters Request parameters.
35321
35662
  * @param {*} [options] Override http request option.
35322
35663
  * @throws {RequiredError}
35323
35664
  */
35324
- deleteEventRegistrationBypass(requestParameters: EventsBypassApiDeleteEventRegistrationBypassRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
35325
- return localVarFp.deleteEventRegistrationBypass(requestParameters.eventId, requestParameters.bypassId, options).then((request) => request(axios, basePath));
35665
+ createEventBlock(requestParameters: EventsBlocksApiCreateEventBlockRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBlock200Response> {
35666
+ return localVarFp.createEventBlock(requestParameters.eventId, requestParameters.eventBlockCreateInputs, options).then((request) => request(axios, basePath));
35326
35667
  },
35327
35668
  /**
35328
- * Get Event Registration Bypass endpoint
35329
- * @summary Get Event Registration Bypass
35330
- * @param {EventsBypassApiGetEventRegistrationBypassRequest} requestParameters Request parameters.
35669
+ * Delete Event Block endpoint
35670
+ * @summary Delete Event Block
35671
+ * @param {EventsBlocksApiDeleteEventBlockRequest} requestParameters Request parameters.
35331
35672
  * @param {*} [options] Override http request option.
35332
35673
  * @throws {RequiredError}
35333
35674
  */
35334
- getEventRegistrationBypass(requestParameters: EventsBypassApiGetEventRegistrationBypassRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
35335
- return localVarFp.getEventRegistrationBypass(requestParameters.eventId, requestParameters.bypassId, options).then((request) => request(axios, basePath));
35675
+ deleteEventBlock(requestParameters: EventsBlocksApiDeleteEventBlockRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
35676
+ return localVarFp.deleteEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(axios, basePath));
35336
35677
  },
35337
35678
  /**
35338
- * Get Event Registration Bypass List endpoint
35339
- * @summary Get Event Registration Bypass List
35340
- * @param {EventsBypassApiGetEventRegistrationBypassListRequest} requestParameters Request parameters.
35679
+ * Get Event Block endpoint
35680
+ * @summary Get Event Block
35681
+ * @param {EventsBlocksApiGetEventBlockRequest} requestParameters Request parameters.
35341
35682
  * @param {*} [options] Override http request option.
35342
35683
  * @throws {RequiredError}
35343
35684
  */
35344
- getEventRegistrationBypassList(requestParameters: EventsBypassApiGetEventRegistrationBypassListRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountInvitations200Response> {
35345
- return localVarFp.getEventRegistrationBypassList(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
35685
+ getEventBlock(requestParameters: EventsBlocksApiGetEventBlockRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBlock200Response> {
35686
+ return localVarFp.getEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(axios, basePath));
35346
35687
  },
35347
35688
  /**
35348
- * Update Event Registration Bypass endpoint
35349
- * @summary Update Event Registration Bypass
35350
- * @param {EventsBypassApiUpdateEventRegistrationBypassRequest} requestParameters Request parameters.
35689
+ * Get Event Block Sessions endpoint
35690
+ * @summary Get Event Block Sessions
35691
+ * @param {EventsBlocksApiGetEventBlockSessionsRequest} requestParameters Request parameters.
35351
35692
  * @param {*} [options] Override http request option.
35352
35693
  * @throws {RequiredError}
35353
35694
  */
35354
- updateEventRegistrationBypass(requestParameters: EventsBypassApiUpdateEventRegistrationBypassRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
35355
- return localVarFp.updateEventRegistrationBypass(requestParameters.eventId, requestParameters.bypassId, requestParameters.page, options).then((request) => request(axios, basePath));
35695
+ getEventBlockSessions(requestParameters: EventsBlocksApiGetEventBlockSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountInvitations200Response> {
35696
+ return localVarFp.getEventBlockSessions(requestParameters.eventId, requestParameters.blockId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
35697
+ },
35698
+ /**
35699
+ * Get Event Blocks endpoint
35700
+ * @summary Get Event Blocks
35701
+ * @param {EventsBlocksApiGetEventBlocksRequest} requestParameters Request parameters.
35702
+ * @param {*} [options] Override http request option.
35703
+ * @throws {RequiredError}
35704
+ */
35705
+ getEventBlocks(requestParameters: EventsBlocksApiGetEventBlocksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventBlocks200Response> {
35706
+ return localVarFp.getEventBlocks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
35707
+ },
35708
+ /**
35709
+ * Remove Event Block Session endpoint
35710
+ * @summary Remove Event Block Session
35711
+ * @param {EventsBlocksApiRemoveEventBlockSessionRequest} requestParameters Request parameters.
35712
+ * @param {*} [options] Override http request option.
35713
+ * @throws {RequiredError}
35714
+ */
35715
+ removeEventBlockSession(requestParameters: EventsBlocksApiRemoveEventBlockSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBlock200Response> {
35716
+ return localVarFp.removeEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
35717
+ },
35718
+ /**
35719
+ * Update Event Block endpoint
35720
+ * @summary Update Event Block
35721
+ * @param {EventsBlocksApiUpdateEventBlockRequest} requestParameters Request parameters.
35722
+ * @param {*} [options] Override http request option.
35723
+ * @throws {RequiredError}
35724
+ */
35725
+ updateEventBlock(requestParameters: EventsBlocksApiUpdateEventBlockRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBlock200Response> {
35726
+ return localVarFp.updateEventBlock(requestParameters.eventId, requestParameters.blockId, requestParameters.eventBlockUpdateInputs, options).then((request) => request(axios, basePath));
35356
35727
  },
35357
35728
  };
35358
35729
  };
35359
35730
 
35360
35731
  /**
35361
- * Request parameters for createEventRegistrationBypass operation in EventsBypassApi.
35732
+ * Request parameters for addEventBlockSession operation in EventsBlocksApi.
35362
35733
  */
35363
- export interface EventsBypassApiCreateEventRegistrationBypassRequest {
35734
+ export interface EventsBlocksApiAddEventBlockSessionRequest {
35364
35735
  /**
35365
35736
  * The event identifier
35366
35737
  */
35367
35738
  readonly eventId: string
35368
35739
 
35369
- readonly eventRegistrationBypassCreateInputs: EventRegistrationBypassCreateInputs
35740
+ /**
35741
+ * The block identifier
35742
+ */
35743
+ readonly blockId: string
35744
+
35745
+ /**
35746
+ * The session identifier
35747
+ */
35748
+ readonly sessionId: string
35370
35749
  }
35371
35750
 
35372
35751
  /**
35373
- * Request parameters for deleteEventRegistrationBypass operation in EventsBypassApi.
35752
+ * Request parameters for createEventBlock operation in EventsBlocksApi.
35374
35753
  */
35375
- export interface EventsBypassApiDeleteEventRegistrationBypassRequest {
35754
+ export interface EventsBlocksApiCreateEventBlockRequest {
35376
35755
  /**
35377
35756
  * The event identifier
35378
35757
  */
35379
35758
  readonly eventId: string
35380
35759
 
35760
+ readonly eventBlockCreateInputs: EventBlockCreateInputs
35761
+ }
35762
+
35763
+ /**
35764
+ * Request parameters for deleteEventBlock operation in EventsBlocksApi.
35765
+ */
35766
+ export interface EventsBlocksApiDeleteEventBlockRequest {
35381
35767
  /**
35382
- * The bypass identifier
35768
+ * The event identifier
35383
35769
  */
35384
- readonly bypassId: string
35770
+ readonly eventId: string
35771
+
35772
+ /**
35773
+ * The block identifier
35774
+ */
35775
+ readonly blockId: string
35385
35776
  }
35386
35777
 
35387
35778
  /**
35388
- * Request parameters for getEventRegistrationBypass operation in EventsBypassApi.
35779
+ * Request parameters for getEventBlock operation in EventsBlocksApi.
35389
35780
  */
35390
- export interface EventsBypassApiGetEventRegistrationBypassRequest {
35781
+ export interface EventsBlocksApiGetEventBlockRequest {
35391
35782
  /**
35392
35783
  * The event identifier
35393
35784
  */
35394
35785
  readonly eventId: string
35395
35786
 
35396
35787
  /**
35397
- * The bypass identifier
35788
+ * The block identifier
35398
35789
  */
35399
- readonly bypassId: string
35790
+ readonly blockId: string
35400
35791
  }
35401
35792
 
35402
35793
  /**
35403
- * Request parameters for getEventRegistrationBypassList operation in EventsBypassApi.
35794
+ * Request parameters for getEventBlockSessions operation in EventsBlocksApi.
35404
35795
  */
35405
- export interface EventsBypassApiGetEventRegistrationBypassListRequest {
35796
+ export interface EventsBlocksApiGetEventBlockSessionsRequest {
35406
35797
  /**
35407
35798
  * The event identifier
35408
35799
  */
35409
35800
  readonly eventId: string
35410
35801
 
35802
+ /**
35803
+ * The block identifier
35804
+ */
35805
+ readonly blockId: string
35806
+
35411
35807
  /**
35412
35808
  * Page number
35413
35809
  */
@@ -35430,108 +35826,187 @@ export interface EventsBypassApiGetEventRegistrationBypassListRequest {
35430
35826
  }
35431
35827
 
35432
35828
  /**
35433
- * Request parameters for updateEventRegistrationBypass operation in EventsBypassApi.
35829
+ * Request parameters for getEventBlocks operation in EventsBlocksApi.
35434
35830
  */
35435
- export interface EventsBypassApiUpdateEventRegistrationBypassRequest {
35831
+ export interface EventsBlocksApiGetEventBlocksRequest {
35436
35832
  /**
35437
35833
  * The event identifier
35438
35834
  */
35439
35835
  readonly eventId: string
35440
35836
 
35441
35837
  /**
35442
- * The bypass identifier
35838
+ * Page number
35443
35839
  */
35444
- readonly bypassId: string
35840
+ readonly page?: number
35445
35841
 
35446
35842
  /**
35447
- * Filter by page
35843
+ * Number of items per page
35448
35844
  */
35449
- readonly page: EventRegistrationBypassUpdateInputs
35845
+ readonly pageSize?: number
35846
+
35847
+ /**
35848
+ * Field to order by
35849
+ */
35850
+ readonly orderBy?: string
35851
+
35852
+ /**
35853
+ * Search query
35854
+ */
35855
+ readonly search?: string
35450
35856
  }
35451
35857
 
35452
35858
  /**
35453
- * EventsBypassApi - object-oriented interface
35859
+ * Request parameters for removeEventBlockSession operation in EventsBlocksApi.
35454
35860
  */
35455
- export class EventsBypassApi extends BaseAPI {
35861
+ export interface EventsBlocksApiRemoveEventBlockSessionRequest {
35456
35862
  /**
35457
- * Create Event Registration Bypass endpoint
35458
- * @summary Create Event Registration Bypass
35459
- * @param {EventsBypassApiCreateEventRegistrationBypassRequest} requestParameters Request parameters.
35863
+ * The event identifier
35864
+ */
35865
+ readonly eventId: string
35866
+
35867
+ /**
35868
+ * The block identifier
35869
+ */
35870
+ readonly blockId: string
35871
+
35872
+ /**
35873
+ * The session identifier
35874
+ */
35875
+ readonly sessionId: string
35876
+ }
35877
+
35878
+ /**
35879
+ * Request parameters for updateEventBlock operation in EventsBlocksApi.
35880
+ */
35881
+ export interface EventsBlocksApiUpdateEventBlockRequest {
35882
+ /**
35883
+ * The event identifier
35884
+ */
35885
+ readonly eventId: string
35886
+
35887
+ /**
35888
+ * The block identifier
35889
+ */
35890
+ readonly blockId: string
35891
+
35892
+ readonly eventBlockUpdateInputs: EventBlockUpdateInputs
35893
+ }
35894
+
35895
+ /**
35896
+ * EventsBlocksApi - object-oriented interface
35897
+ */
35898
+ export class EventsBlocksApi extends BaseAPI {
35899
+ /**
35900
+ * Add Event Block Session endpoint
35901
+ * @summary Add Event Block Session
35902
+ * @param {EventsBlocksApiAddEventBlockSessionRequest} requestParameters Request parameters.
35460
35903
  * @param {*} [options] Override http request option.
35461
35904
  * @throws {RequiredError}
35462
35905
  */
35463
- public createEventRegistrationBypass(requestParameters: EventsBypassApiCreateEventRegistrationBypassRequest, options?: RawAxiosRequestConfig) {
35464
- return EventsBypassApiFp(this.configuration).createEventRegistrationBypass(requestParameters.eventId, requestParameters.eventRegistrationBypassCreateInputs, options).then((request) => request(this.axios, this.basePath));
35906
+ public addEventBlockSession(requestParameters: EventsBlocksApiAddEventBlockSessionRequest, options?: RawAxiosRequestConfig) {
35907
+ return EventsBlocksApiFp(this.configuration).addEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
35465
35908
  }
35466
35909
 
35467
35910
  /**
35468
- * Delete Event Registration Bypass endpoint
35469
- * @summary Delete Event Registration Bypass
35470
- * @param {EventsBypassApiDeleteEventRegistrationBypassRequest} requestParameters Request parameters.
35911
+ * Create Event Block endpoint
35912
+ * @summary Create Event Block
35913
+ * @param {EventsBlocksApiCreateEventBlockRequest} requestParameters Request parameters.
35471
35914
  * @param {*} [options] Override http request option.
35472
35915
  * @throws {RequiredError}
35473
35916
  */
35474
- public deleteEventRegistrationBypass(requestParameters: EventsBypassApiDeleteEventRegistrationBypassRequest, options?: RawAxiosRequestConfig) {
35475
- return EventsBypassApiFp(this.configuration).deleteEventRegistrationBypass(requestParameters.eventId, requestParameters.bypassId, options).then((request) => request(this.axios, this.basePath));
35917
+ public createEventBlock(requestParameters: EventsBlocksApiCreateEventBlockRequest, options?: RawAxiosRequestConfig) {
35918
+ return EventsBlocksApiFp(this.configuration).createEventBlock(requestParameters.eventId, requestParameters.eventBlockCreateInputs, options).then((request) => request(this.axios, this.basePath));
35476
35919
  }
35477
35920
 
35478
35921
  /**
35479
- * Get Event Registration Bypass endpoint
35480
- * @summary Get Event Registration Bypass
35481
- * @param {EventsBypassApiGetEventRegistrationBypassRequest} requestParameters Request parameters.
35922
+ * Delete Event Block endpoint
35923
+ * @summary Delete Event Block
35924
+ * @param {EventsBlocksApiDeleteEventBlockRequest} requestParameters Request parameters.
35482
35925
  * @param {*} [options] Override http request option.
35483
35926
  * @throws {RequiredError}
35484
35927
  */
35485
- public getEventRegistrationBypass(requestParameters: EventsBypassApiGetEventRegistrationBypassRequest, options?: RawAxiosRequestConfig) {
35486
- return EventsBypassApiFp(this.configuration).getEventRegistrationBypass(requestParameters.eventId, requestParameters.bypassId, options).then((request) => request(this.axios, this.basePath));
35928
+ public deleteEventBlock(requestParameters: EventsBlocksApiDeleteEventBlockRequest, options?: RawAxiosRequestConfig) {
35929
+ return EventsBlocksApiFp(this.configuration).deleteEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
35487
35930
  }
35488
35931
 
35489
35932
  /**
35490
- * Get Event Registration Bypass List endpoint
35491
- * @summary Get Event Registration Bypass List
35492
- * @param {EventsBypassApiGetEventRegistrationBypassListRequest} requestParameters Request parameters.
35933
+ * Get Event Block endpoint
35934
+ * @summary Get Event Block
35935
+ * @param {EventsBlocksApiGetEventBlockRequest} requestParameters Request parameters.
35493
35936
  * @param {*} [options] Override http request option.
35494
35937
  * @throws {RequiredError}
35495
35938
  */
35496
- public getEventRegistrationBypassList(requestParameters: EventsBypassApiGetEventRegistrationBypassListRequest, options?: RawAxiosRequestConfig) {
35497
- return EventsBypassApiFp(this.configuration).getEventRegistrationBypassList(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
35939
+ public getEventBlock(requestParameters: EventsBlocksApiGetEventBlockRequest, options?: RawAxiosRequestConfig) {
35940
+ return EventsBlocksApiFp(this.configuration).getEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
35498
35941
  }
35499
35942
 
35500
35943
  /**
35501
- * Update Event Registration Bypass endpoint
35502
- * @summary Update Event Registration Bypass
35503
- * @param {EventsBypassApiUpdateEventRegistrationBypassRequest} requestParameters Request parameters.
35944
+ * Get Event Block Sessions endpoint
35945
+ * @summary Get Event Block Sessions
35946
+ * @param {EventsBlocksApiGetEventBlockSessionsRequest} requestParameters Request parameters.
35504
35947
  * @param {*} [options] Override http request option.
35505
35948
  * @throws {RequiredError}
35506
35949
  */
35507
- public updateEventRegistrationBypass(requestParameters: EventsBypassApiUpdateEventRegistrationBypassRequest, options?: RawAxiosRequestConfig) {
35508
- return EventsBypassApiFp(this.configuration).updateEventRegistrationBypass(requestParameters.eventId, requestParameters.bypassId, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
35950
+ public getEventBlockSessions(requestParameters: EventsBlocksApiGetEventBlockSessionsRequest, options?: RawAxiosRequestConfig) {
35951
+ 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));
35952
+ }
35953
+
35954
+ /**
35955
+ * Get Event Blocks endpoint
35956
+ * @summary Get Event Blocks
35957
+ * @param {EventsBlocksApiGetEventBlocksRequest} requestParameters Request parameters.
35958
+ * @param {*} [options] Override http request option.
35959
+ * @throws {RequiredError}
35960
+ */
35961
+ public getEventBlocks(requestParameters: EventsBlocksApiGetEventBlocksRequest, options?: RawAxiosRequestConfig) {
35962
+ return EventsBlocksApiFp(this.configuration).getEventBlocks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
35963
+ }
35964
+
35965
+ /**
35966
+ * Remove Event Block Session endpoint
35967
+ * @summary Remove Event Block Session
35968
+ * @param {EventsBlocksApiRemoveEventBlockSessionRequest} requestParameters Request parameters.
35969
+ * @param {*} [options] Override http request option.
35970
+ * @throws {RequiredError}
35971
+ */
35972
+ public removeEventBlockSession(requestParameters: EventsBlocksApiRemoveEventBlockSessionRequest, options?: RawAxiosRequestConfig) {
35973
+ return EventsBlocksApiFp(this.configuration).removeEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
35974
+ }
35975
+
35976
+ /**
35977
+ * Update Event Block endpoint
35978
+ * @summary Update Event Block
35979
+ * @param {EventsBlocksApiUpdateEventBlockRequest} requestParameters Request parameters.
35980
+ * @param {*} [options] Override http request option.
35981
+ * @throws {RequiredError}
35982
+ */
35983
+ public updateEventBlock(requestParameters: EventsBlocksApiUpdateEventBlockRequest, options?: RawAxiosRequestConfig) {
35984
+ return EventsBlocksApiFp(this.configuration).updateEventBlock(requestParameters.eventId, requestParameters.blockId, requestParameters.eventBlockUpdateInputs, options).then((request) => request(this.axios, this.basePath));
35509
35985
  }
35510
35986
  }
35511
35987
 
35512
35988
 
35513
35989
 
35514
35990
  /**
35515
- * EventsCohostsApi - axios parameter creator
35991
+ * EventsBypassApi - axios parameter creator
35516
35992
  */
35517
- export const EventsCohostsApiAxiosParamCreator = function (configuration?: Configuration) {
35993
+ export const EventsBypassApiAxiosParamCreator = function (configuration?: Configuration) {
35518
35994
  return {
35519
35995
  /**
35520
- * Add Event Co Host endpoint
35521
- * @summary Add Event Co Host
35996
+ * Create Event Registration Bypass endpoint
35997
+ * @summary Create Event Registration Bypass
35522
35998
  * @param {string} eventId The event identifier
35523
- * @param {string} accountId The account identifier
35999
+ * @param {EventRegistrationBypassCreateInputs} eventRegistrationBypassCreateInputs
35524
36000
  * @param {*} [options] Override http request option.
35525
36001
  * @throws {RequiredError}
35526
36002
  */
35527
- addEventCoHost: async (eventId: string, accountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36003
+ createEventRegistrationBypass: async (eventId: string, eventRegistrationBypassCreateInputs: EventRegistrationBypassCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35528
36004
  // verify required parameter 'eventId' is not null or undefined
35529
- assertParamExists('addEventCoHost', 'eventId', eventId)
35530
- // verify required parameter 'accountId' is not null or undefined
35531
- assertParamExists('addEventCoHost', 'accountId', accountId)
35532
- const localVarPath = `/events/{eventId}/coHosts/{accountId}`
35533
- .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
35534
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
36005
+ assertParamExists('createEventRegistrationBypass', 'eventId', eventId)
36006
+ // verify required parameter 'eventRegistrationBypassCreateInputs' is not null or undefined
36007
+ assertParamExists('createEventRegistrationBypass', 'eventRegistrationBypassCreateInputs', eventRegistrationBypassCreateInputs)
36008
+ const localVarPath = `/events/{eventId}/bypass`
36009
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
35535
36010
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35536
36011
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35537
36012
  let baseOptions;
@@ -35549,11 +36024,13 @@ export const EventsCohostsApiAxiosParamCreator = function (configuration?: Confi
35549
36024
  // authentication OrganizationId required
35550
36025
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
35551
36026
 
36027
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35552
36028
  localVarHeaderParameter['Accept'] = 'application/json';
35553
36029
 
35554
36030
  setSearchParams(localVarUrlObj, localVarQueryParameter);
35555
36031
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35556
36032
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36033
+ localVarRequestOptions.data = serializeDataIfNeeded(eventRegistrationBypassCreateInputs, localVarRequestOptions, configuration)
35557
36034
 
35558
36035
  return {
35559
36036
  url: toPathString(localVarUrlObj),
@@ -35561,8 +36038,96 @@ export const EventsCohostsApiAxiosParamCreator = function (configuration?: Confi
35561
36038
  };
35562
36039
  },
35563
36040
  /**
35564
- * Get Event Co Hosts endpoint
35565
- * @summary Get Event Co Hosts
36041
+ * Delete Event Registration Bypass endpoint
36042
+ * @summary Delete Event Registration Bypass
36043
+ * @param {string} eventId The event identifier
36044
+ * @param {string} bypassId The bypass identifier
36045
+ * @param {*} [options] Override http request option.
36046
+ * @throws {RequiredError}
36047
+ */
36048
+ deleteEventRegistrationBypass: async (eventId: string, bypassId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36049
+ // verify required parameter 'eventId' is not null or undefined
36050
+ assertParamExists('deleteEventRegistrationBypass', 'eventId', eventId)
36051
+ // verify required parameter 'bypassId' is not null or undefined
36052
+ assertParamExists('deleteEventRegistrationBypass', 'bypassId', bypassId)
36053
+ const localVarPath = `/events/{eventId}/bypass/{bypassId}`
36054
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
36055
+ .replace(`{${"bypassId"}}`, encodeURIComponent(String(bypassId)));
36056
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36057
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36058
+ let baseOptions;
36059
+ if (configuration) {
36060
+ baseOptions = configuration.baseOptions;
36061
+ }
36062
+
36063
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
36064
+ const localVarHeaderParameter = {} as any;
36065
+ const localVarQueryParameter = {} as any;
36066
+
36067
+ // authentication ApiKeyAuth required
36068
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
36069
+
36070
+ // authentication OrganizationId required
36071
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
36072
+
36073
+ localVarHeaderParameter['Accept'] = 'application/json';
36074
+
36075
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36076
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36077
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36078
+
36079
+ return {
36080
+ url: toPathString(localVarUrlObj),
36081
+ options: localVarRequestOptions,
36082
+ };
36083
+ },
36084
+ /**
36085
+ * Get Event Registration Bypass endpoint
36086
+ * @summary Get Event Registration Bypass
36087
+ * @param {string} eventId The event identifier
36088
+ * @param {string} bypassId The bypass identifier
36089
+ * @param {*} [options] Override http request option.
36090
+ * @throws {RequiredError}
36091
+ */
36092
+ getEventRegistrationBypass: async (eventId: string, bypassId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36093
+ // verify required parameter 'eventId' is not null or undefined
36094
+ assertParamExists('getEventRegistrationBypass', 'eventId', eventId)
36095
+ // verify required parameter 'bypassId' is not null or undefined
36096
+ assertParamExists('getEventRegistrationBypass', 'bypassId', bypassId)
36097
+ const localVarPath = `/events/{eventId}/bypass/{bypassId}`
36098
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
36099
+ .replace(`{${"bypassId"}}`, encodeURIComponent(String(bypassId)));
36100
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36101
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36102
+ let baseOptions;
36103
+ if (configuration) {
36104
+ baseOptions = configuration.baseOptions;
36105
+ }
36106
+
36107
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36108
+ const localVarHeaderParameter = {} as any;
36109
+ const localVarQueryParameter = {} as any;
36110
+
36111
+ // authentication ApiKeyAuth required
36112
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
36113
+
36114
+ // authentication OrganizationId required
36115
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
36116
+
36117
+ localVarHeaderParameter['Accept'] = 'application/json';
36118
+
36119
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36120
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36121
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36122
+
36123
+ return {
36124
+ url: toPathString(localVarUrlObj),
36125
+ options: localVarRequestOptions,
36126
+ };
36127
+ },
36128
+ /**
36129
+ * Get Event Registration Bypass List endpoint
36130
+ * @summary Get Event Registration Bypass List
35566
36131
  * @param {string} eventId The event identifier
35567
36132
  * @param {number} [page] Page number
35568
36133
  * @param {number} [pageSize] Number of items per page
@@ -35571,10 +36136,10 @@ export const EventsCohostsApiAxiosParamCreator = function (configuration?: Confi
35571
36136
  * @param {*} [options] Override http request option.
35572
36137
  * @throws {RequiredError}
35573
36138
  */
35574
- getEventCoHosts: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36139
+ getEventRegistrationBypassList: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35575
36140
  // verify required parameter 'eventId' is not null or undefined
35576
- assertParamExists('getEventCoHosts', 'eventId', eventId)
35577
- const localVarPath = `/events/{eventId}/coHosts`
36141
+ assertParamExists('getEventRegistrationBypassList', 'eventId', eventId)
36142
+ const localVarPath = `/events/{eventId}/bypass`
35578
36143
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
35579
36144
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35580
36145
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -35621,21 +36186,24 @@ export const EventsCohostsApiAxiosParamCreator = function (configuration?: Confi
35621
36186
  };
35622
36187
  },
35623
36188
  /**
35624
- * Remove Event Co Host endpoint
35625
- * @summary Remove Event Co Host
36189
+ * Update Event Registration Bypass endpoint
36190
+ * @summary Update Event Registration Bypass
35626
36191
  * @param {string} eventId The event identifier
35627
- * @param {string} accountId The account identifier
36192
+ * @param {string} bypassId The bypass identifier
36193
+ * @param {EventRegistrationBypassUpdateInputs} page Filter by page
35628
36194
  * @param {*} [options] Override http request option.
35629
36195
  * @throws {RequiredError}
35630
36196
  */
35631
- removeEventCoHost: async (eventId: string, accountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36197
+ updateEventRegistrationBypass: async (eventId: string, bypassId: string, page: EventRegistrationBypassUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35632
36198
  // verify required parameter 'eventId' is not null or undefined
35633
- assertParamExists('removeEventCoHost', 'eventId', eventId)
35634
- // verify required parameter 'accountId' is not null or undefined
35635
- assertParamExists('removeEventCoHost', 'accountId', accountId)
35636
- const localVarPath = `/events/{eventId}/coHosts/{accountId}`
36199
+ assertParamExists('updateEventRegistrationBypass', 'eventId', eventId)
36200
+ // verify required parameter 'bypassId' is not null or undefined
36201
+ assertParamExists('updateEventRegistrationBypass', 'bypassId', bypassId)
36202
+ // verify required parameter 'page' is not null or undefined
36203
+ assertParamExists('updateEventRegistrationBypass', 'page', page)
36204
+ const localVarPath = `/events/{eventId}/bypass/{bypassId}`
35637
36205
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
35638
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
36206
+ .replace(`{${"bypassId"}}`, encodeURIComponent(String(bypassId)));
35639
36207
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35640
36208
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35641
36209
  let baseOptions;
@@ -35643,7 +36211,7 @@ export const EventsCohostsApiAxiosParamCreator = function (configuration?: Confi
35643
36211
  baseOptions = configuration.baseOptions;
35644
36212
  }
35645
36213
 
35646
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
36214
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
35647
36215
  const localVarHeaderParameter = {} as any;
35648
36216
  const localVarQueryParameter = {} as any;
35649
36217
 
@@ -35653,6 +36221,12 @@ export const EventsCohostsApiAxiosParamCreator = function (configuration?: Confi
35653
36221
  // authentication OrganizationId required
35654
36222
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
35655
36223
 
36224
+ if (page !== undefined) {
36225
+ for (const [key, value] of Object.entries(page)) {
36226
+ localVarQueryParameter[key] = value;
36227
+ }
36228
+ }
36229
+
35656
36230
  localVarHeaderParameter['Accept'] = 'application/json';
35657
36231
 
35658
36232
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -35668,28 +36242,56 @@ export const EventsCohostsApiAxiosParamCreator = function (configuration?: Confi
35668
36242
  };
35669
36243
 
35670
36244
  /**
35671
- * EventsCohostsApi - functional programming interface
36245
+ * EventsBypassApi - functional programming interface
35672
36246
  */
35673
- export const EventsCohostsApiFp = function(configuration?: Configuration) {
35674
- const localVarAxiosParamCreator = EventsCohostsApiAxiosParamCreator(configuration)
36247
+ export const EventsBypassApiFp = function(configuration?: Configuration) {
36248
+ const localVarAxiosParamCreator = EventsBypassApiAxiosParamCreator(configuration)
35675
36249
  return {
35676
36250
  /**
35677
- * Add Event Co Host endpoint
35678
- * @summary Add Event Co Host
36251
+ * Create Event Registration Bypass endpoint
36252
+ * @summary Create Event Registration Bypass
35679
36253
  * @param {string} eventId The event identifier
35680
- * @param {string} accountId The account identifier
36254
+ * @param {EventRegistrationBypassCreateInputs} eventRegistrationBypassCreateInputs
35681
36255
  * @param {*} [options] Override http request option.
35682
36256
  * @throws {RequiredError}
35683
36257
  */
35684
- async addEventCoHost(eventId: string, accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccount200Response>> {
35685
- const localVarAxiosArgs = await localVarAxiosParamCreator.addEventCoHost(eventId, accountId, options);
36258
+ async createEventRegistrationBypass(eventId: string, eventRegistrationBypassCreateInputs: EventRegistrationBypassCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
36259
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createEventRegistrationBypass(eventId, eventRegistrationBypassCreateInputs, options);
35686
36260
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35687
- const localVarOperationServerBasePath = operationServerMap['EventsCohostsApi.addEventCoHost']?.[localVarOperationServerIndex]?.url;
36261
+ const localVarOperationServerBasePath = operationServerMap['EventsBypassApi.createEventRegistrationBypass']?.[localVarOperationServerIndex]?.url;
35688
36262
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35689
36263
  },
35690
36264
  /**
35691
- * Get Event Co Hosts endpoint
35692
- * @summary Get Event Co Hosts
36265
+ * Delete Event Registration Bypass endpoint
36266
+ * @summary Delete Event Registration Bypass
36267
+ * @param {string} eventId The event identifier
36268
+ * @param {string} bypassId The bypass identifier
36269
+ * @param {*} [options] Override http request option.
36270
+ * @throws {RequiredError}
36271
+ */
36272
+ async deleteEventRegistrationBypass(eventId: string, bypassId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
36273
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEventRegistrationBypass(eventId, bypassId, options);
36274
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36275
+ const localVarOperationServerBasePath = operationServerMap['EventsBypassApi.deleteEventRegistrationBypass']?.[localVarOperationServerIndex]?.url;
36276
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36277
+ },
36278
+ /**
36279
+ * Get Event Registration Bypass endpoint
36280
+ * @summary Get Event Registration Bypass
36281
+ * @param {string} eventId The event identifier
36282
+ * @param {string} bypassId The bypass identifier
36283
+ * @param {*} [options] Override http request option.
36284
+ * @throws {RequiredError}
36285
+ */
36286
+ async getEventRegistrationBypass(eventId: string, bypassId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
36287
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventRegistrationBypass(eventId, bypassId, options);
36288
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36289
+ const localVarOperationServerBasePath = operationServerMap['EventsBypassApi.getEventRegistrationBypass']?.[localVarOperationServerIndex]?.url;
36290
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36291
+ },
36292
+ /**
36293
+ * Get Event Registration Bypass List endpoint
36294
+ * @summary Get Event Registration Bypass List
35693
36295
  * @param {string} eventId The event identifier
35694
36296
  * @param {number} [page] Page number
35695
36297
  * @param {number} [pageSize] Number of items per page
@@ -35698,87 +36300,135 @@ export const EventsCohostsApiFp = function(configuration?: Configuration) {
35698
36300
  * @param {*} [options] Override http request option.
35699
36301
  * @throws {RequiredError}
35700
36302
  */
35701
- async getEventCoHosts(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccounts200Response>> {
35702
- const localVarAxiosArgs = await localVarAxiosParamCreator.getEventCoHosts(eventId, page, pageSize, orderBy, search, options);
36303
+ async getEventRegistrationBypassList(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountInvitations200Response>> {
36304
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventRegistrationBypassList(eventId, page, pageSize, orderBy, search, options);
35703
36305
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35704
- const localVarOperationServerBasePath = operationServerMap['EventsCohostsApi.getEventCoHosts']?.[localVarOperationServerIndex]?.url;
36306
+ const localVarOperationServerBasePath = operationServerMap['EventsBypassApi.getEventRegistrationBypassList']?.[localVarOperationServerIndex]?.url;
35705
36307
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35706
36308
  },
35707
36309
  /**
35708
- * Remove Event Co Host endpoint
35709
- * @summary Remove Event Co Host
36310
+ * Update Event Registration Bypass endpoint
36311
+ * @summary Update Event Registration Bypass
35710
36312
  * @param {string} eventId The event identifier
35711
- * @param {string} accountId The account identifier
36313
+ * @param {string} bypassId The bypass identifier
36314
+ * @param {EventRegistrationBypassUpdateInputs} page Filter by page
35712
36315
  * @param {*} [options] Override http request option.
35713
36316
  * @throws {RequiredError}
35714
36317
  */
35715
- async removeEventCoHost(eventId: string, accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccount200Response>> {
35716
- const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventCoHost(eventId, accountId, options);
36318
+ async updateEventRegistrationBypass(eventId: string, bypassId: string, page: EventRegistrationBypassUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
36319
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEventRegistrationBypass(eventId, bypassId, page, options);
35717
36320
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35718
- const localVarOperationServerBasePath = operationServerMap['EventsCohostsApi.removeEventCoHost']?.[localVarOperationServerIndex]?.url;
36321
+ const localVarOperationServerBasePath = operationServerMap['EventsBypassApi.updateEventRegistrationBypass']?.[localVarOperationServerIndex]?.url;
35719
36322
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35720
36323
  },
35721
36324
  }
35722
36325
  };
35723
36326
 
35724
36327
  /**
35725
- * EventsCohostsApi - factory interface
36328
+ * EventsBypassApi - factory interface
35726
36329
  */
35727
- export const EventsCohostsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
35728
- const localVarFp = EventsCohostsApiFp(configuration)
36330
+ export const EventsBypassApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36331
+ const localVarFp = EventsBypassApiFp(configuration)
35729
36332
  return {
35730
36333
  /**
35731
- * Add Event Co Host endpoint
35732
- * @summary Add Event Co Host
35733
- * @param {EventsCohostsApiAddEventCoHostRequest} requestParameters Request parameters.
36334
+ * Create Event Registration Bypass endpoint
36335
+ * @summary Create Event Registration Bypass
36336
+ * @param {EventsBypassApiCreateEventRegistrationBypassRequest} requestParameters Request parameters.
35734
36337
  * @param {*} [options] Override http request option.
35735
36338
  * @throws {RequiredError}
35736
36339
  */
35737
- addEventCoHost(requestParameters: EventsCohostsApiAddEventCoHostRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccount200Response> {
35738
- return localVarFp.addEventCoHost(requestParameters.eventId, requestParameters.accountId, options).then((request) => request(axios, basePath));
36340
+ createEventRegistrationBypass(requestParameters: EventsBypassApiCreateEventRegistrationBypassRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
36341
+ return localVarFp.createEventRegistrationBypass(requestParameters.eventId, requestParameters.eventRegistrationBypassCreateInputs, options).then((request) => request(axios, basePath));
35739
36342
  },
35740
36343
  /**
35741
- * Get Event Co Hosts endpoint
35742
- * @summary Get Event Co Hosts
35743
- * @param {EventsCohostsApiGetEventCoHostsRequest} requestParameters Request parameters.
36344
+ * Delete Event Registration Bypass endpoint
36345
+ * @summary Delete Event Registration Bypass
36346
+ * @param {EventsBypassApiDeleteEventRegistrationBypassRequest} requestParameters Request parameters.
35744
36347
  * @param {*} [options] Override http request option.
35745
36348
  * @throws {RequiredError}
35746
36349
  */
35747
- getEventCoHosts(requestParameters: EventsCohostsApiGetEventCoHostsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccounts200Response> {
35748
- return localVarFp.getEventCoHosts(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
36350
+ deleteEventRegistrationBypass(requestParameters: EventsBypassApiDeleteEventRegistrationBypassRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
36351
+ return localVarFp.deleteEventRegistrationBypass(requestParameters.eventId, requestParameters.bypassId, options).then((request) => request(axios, basePath));
35749
36352
  },
35750
36353
  /**
35751
- * Remove Event Co Host endpoint
35752
- * @summary Remove Event Co Host
35753
- * @param {EventsCohostsApiRemoveEventCoHostRequest} requestParameters Request parameters.
36354
+ * Get Event Registration Bypass endpoint
36355
+ * @summary Get Event Registration Bypass
36356
+ * @param {EventsBypassApiGetEventRegistrationBypassRequest} requestParameters Request parameters.
35754
36357
  * @param {*} [options] Override http request option.
35755
36358
  * @throws {RequiredError}
35756
36359
  */
35757
- removeEventCoHost(requestParameters: EventsCohostsApiRemoveEventCoHostRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccount200Response> {
35758
- return localVarFp.removeEventCoHost(requestParameters.eventId, requestParameters.accountId, options).then((request) => request(axios, basePath));
36360
+ getEventRegistrationBypass(requestParameters: EventsBypassApiGetEventRegistrationBypassRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
36361
+ return localVarFp.getEventRegistrationBypass(requestParameters.eventId, requestParameters.bypassId, options).then((request) => request(axios, basePath));
36362
+ },
36363
+ /**
36364
+ * Get Event Registration Bypass List endpoint
36365
+ * @summary Get Event Registration Bypass List
36366
+ * @param {EventsBypassApiGetEventRegistrationBypassListRequest} requestParameters Request parameters.
36367
+ * @param {*} [options] Override http request option.
36368
+ * @throws {RequiredError}
36369
+ */
36370
+ getEventRegistrationBypassList(requestParameters: EventsBypassApiGetEventRegistrationBypassListRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountInvitations200Response> {
36371
+ return localVarFp.getEventRegistrationBypassList(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
36372
+ },
36373
+ /**
36374
+ * Update Event Registration Bypass endpoint
36375
+ * @summary Update Event Registration Bypass
36376
+ * @param {EventsBypassApiUpdateEventRegistrationBypassRequest} requestParameters Request parameters.
36377
+ * @param {*} [options] Override http request option.
36378
+ * @throws {RequiredError}
36379
+ */
36380
+ updateEventRegistrationBypass(requestParameters: EventsBypassApiUpdateEventRegistrationBypassRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
36381
+ return localVarFp.updateEventRegistrationBypass(requestParameters.eventId, requestParameters.bypassId, requestParameters.page, options).then((request) => request(axios, basePath));
35759
36382
  },
35760
36383
  };
35761
36384
  };
35762
36385
 
35763
36386
  /**
35764
- * Request parameters for addEventCoHost operation in EventsCohostsApi.
36387
+ * Request parameters for createEventRegistrationBypass operation in EventsBypassApi.
35765
36388
  */
35766
- export interface EventsCohostsApiAddEventCoHostRequest {
36389
+ export interface EventsBypassApiCreateEventRegistrationBypassRequest {
35767
36390
  /**
35768
36391
  * The event identifier
35769
36392
  */
35770
36393
  readonly eventId: string
35771
36394
 
36395
+ readonly eventRegistrationBypassCreateInputs: EventRegistrationBypassCreateInputs
36396
+ }
36397
+
36398
+ /**
36399
+ * Request parameters for deleteEventRegistrationBypass operation in EventsBypassApi.
36400
+ */
36401
+ export interface EventsBypassApiDeleteEventRegistrationBypassRequest {
35772
36402
  /**
35773
- * The account identifier
36403
+ * The event identifier
35774
36404
  */
35775
- readonly accountId: string
36405
+ readonly eventId: string
36406
+
36407
+ /**
36408
+ * The bypass identifier
36409
+ */
36410
+ readonly bypassId: string
35776
36411
  }
35777
36412
 
35778
36413
  /**
35779
- * Request parameters for getEventCoHosts operation in EventsCohostsApi.
36414
+ * Request parameters for getEventRegistrationBypass operation in EventsBypassApi.
35780
36415
  */
35781
- export interface EventsCohostsApiGetEventCoHostsRequest {
36416
+ export interface EventsBypassApiGetEventRegistrationBypassRequest {
36417
+ /**
36418
+ * The event identifier
36419
+ */
36420
+ readonly eventId: string
36421
+
36422
+ /**
36423
+ * The bypass identifier
36424
+ */
36425
+ readonly bypassId: string
36426
+ }
36427
+
36428
+ /**
36429
+ * Request parameters for getEventRegistrationBypassList operation in EventsBypassApi.
36430
+ */
36431
+ export interface EventsBypassApiGetEventRegistrationBypassListRequest {
35782
36432
  /**
35783
36433
  * The event identifier
35784
36434
  */
@@ -35806,80 +36456,108 @@ export interface EventsCohostsApiGetEventCoHostsRequest {
35806
36456
  }
35807
36457
 
35808
36458
  /**
35809
- * Request parameters for removeEventCoHost operation in EventsCohostsApi.
36459
+ * Request parameters for updateEventRegistrationBypass operation in EventsBypassApi.
35810
36460
  */
35811
- export interface EventsCohostsApiRemoveEventCoHostRequest {
36461
+ export interface EventsBypassApiUpdateEventRegistrationBypassRequest {
35812
36462
  /**
35813
36463
  * The event identifier
35814
36464
  */
35815
36465
  readonly eventId: string
35816
36466
 
35817
36467
  /**
35818
- * The account identifier
36468
+ * The bypass identifier
35819
36469
  */
35820
- readonly accountId: string
36470
+ readonly bypassId: string
36471
+
36472
+ /**
36473
+ * Filter by page
36474
+ */
36475
+ readonly page: EventRegistrationBypassUpdateInputs
35821
36476
  }
35822
36477
 
35823
36478
  /**
35824
- * EventsCohostsApi - object-oriented interface
36479
+ * EventsBypassApi - object-oriented interface
35825
36480
  */
35826
- export class EventsCohostsApi extends BaseAPI {
36481
+ export class EventsBypassApi extends BaseAPI {
35827
36482
  /**
35828
- * Add Event Co Host endpoint
35829
- * @summary Add Event Co Host
35830
- * @param {EventsCohostsApiAddEventCoHostRequest} requestParameters Request parameters.
36483
+ * Create Event Registration Bypass endpoint
36484
+ * @summary Create Event Registration Bypass
36485
+ * @param {EventsBypassApiCreateEventRegistrationBypassRequest} requestParameters Request parameters.
35831
36486
  * @param {*} [options] Override http request option.
35832
36487
  * @throws {RequiredError}
35833
36488
  */
35834
- public addEventCoHost(requestParameters: EventsCohostsApiAddEventCoHostRequest, options?: RawAxiosRequestConfig) {
35835
- return EventsCohostsApiFp(this.configuration).addEventCoHost(requestParameters.eventId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
36489
+ public createEventRegistrationBypass(requestParameters: EventsBypassApiCreateEventRegistrationBypassRequest, options?: RawAxiosRequestConfig) {
36490
+ return EventsBypassApiFp(this.configuration).createEventRegistrationBypass(requestParameters.eventId, requestParameters.eventRegistrationBypassCreateInputs, options).then((request) => request(this.axios, this.basePath));
35836
36491
  }
35837
36492
 
35838
36493
  /**
35839
- * Get Event Co Hosts endpoint
35840
- * @summary Get Event Co Hosts
35841
- * @param {EventsCohostsApiGetEventCoHostsRequest} requestParameters Request parameters.
36494
+ * Delete Event Registration Bypass endpoint
36495
+ * @summary Delete Event Registration Bypass
36496
+ * @param {EventsBypassApiDeleteEventRegistrationBypassRequest} requestParameters Request parameters.
35842
36497
  * @param {*} [options] Override http request option.
35843
36498
  * @throws {RequiredError}
35844
36499
  */
35845
- public getEventCoHosts(requestParameters: EventsCohostsApiGetEventCoHostsRequest, options?: RawAxiosRequestConfig) {
35846
- return EventsCohostsApiFp(this.configuration).getEventCoHosts(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
36500
+ public deleteEventRegistrationBypass(requestParameters: EventsBypassApiDeleteEventRegistrationBypassRequest, options?: RawAxiosRequestConfig) {
36501
+ return EventsBypassApiFp(this.configuration).deleteEventRegistrationBypass(requestParameters.eventId, requestParameters.bypassId, options).then((request) => request(this.axios, this.basePath));
35847
36502
  }
35848
36503
 
35849
36504
  /**
35850
- * Remove Event Co Host endpoint
35851
- * @summary Remove Event Co Host
35852
- * @param {EventsCohostsApiRemoveEventCoHostRequest} requestParameters Request parameters.
36505
+ * Get Event Registration Bypass endpoint
36506
+ * @summary Get Event Registration Bypass
36507
+ * @param {EventsBypassApiGetEventRegistrationBypassRequest} requestParameters Request parameters.
35853
36508
  * @param {*} [options] Override http request option.
35854
36509
  * @throws {RequiredError}
35855
36510
  */
35856
- public removeEventCoHost(requestParameters: EventsCohostsApiRemoveEventCoHostRequest, options?: RawAxiosRequestConfig) {
35857
- return EventsCohostsApiFp(this.configuration).removeEventCoHost(requestParameters.eventId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
36511
+ public getEventRegistrationBypass(requestParameters: EventsBypassApiGetEventRegistrationBypassRequest, options?: RawAxiosRequestConfig) {
36512
+ return EventsBypassApiFp(this.configuration).getEventRegistrationBypass(requestParameters.eventId, requestParameters.bypassId, options).then((request) => request(this.axios, this.basePath));
36513
+ }
36514
+
36515
+ /**
36516
+ * Get Event Registration Bypass List endpoint
36517
+ * @summary Get Event Registration Bypass List
36518
+ * @param {EventsBypassApiGetEventRegistrationBypassListRequest} requestParameters Request parameters.
36519
+ * @param {*} [options] Override http request option.
36520
+ * @throws {RequiredError}
36521
+ */
36522
+ public getEventRegistrationBypassList(requestParameters: EventsBypassApiGetEventRegistrationBypassListRequest, options?: RawAxiosRequestConfig) {
36523
+ return EventsBypassApiFp(this.configuration).getEventRegistrationBypassList(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
36524
+ }
36525
+
36526
+ /**
36527
+ * Update Event Registration Bypass endpoint
36528
+ * @summary Update Event Registration Bypass
36529
+ * @param {EventsBypassApiUpdateEventRegistrationBypassRequest} requestParameters Request parameters.
36530
+ * @param {*} [options] Override http request option.
36531
+ * @throws {RequiredError}
36532
+ */
36533
+ public updateEventRegistrationBypass(requestParameters: EventsBypassApiUpdateEventRegistrationBypassRequest, options?: RawAxiosRequestConfig) {
36534
+ return EventsBypassApiFp(this.configuration).updateEventRegistrationBypass(requestParameters.eventId, requestParameters.bypassId, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
35858
36535
  }
35859
36536
  }
35860
36537
 
35861
36538
 
35862
36539
 
35863
36540
  /**
35864
- * EventsCouponsApi - axios parameter creator
36541
+ * EventsCohostsApi - axios parameter creator
35865
36542
  */
35866
- export const EventsCouponsApiAxiosParamCreator = function (configuration?: Configuration) {
36543
+ export const EventsCohostsApiAxiosParamCreator = function (configuration?: Configuration) {
35867
36544
  return {
35868
36545
  /**
35869
- * Create Event Coupon endpoint
35870
- * @summary Create Event Coupon
36546
+ * Add Event Co Host endpoint
36547
+ * @summary Add Event Co Host
35871
36548
  * @param {string} eventId The event identifier
35872
- * @param {EventCouponCreateInputs} eventCouponCreateInputs
36549
+ * @param {string} accountId The account identifier
35873
36550
  * @param {*} [options] Override http request option.
35874
36551
  * @throws {RequiredError}
35875
36552
  */
35876
- createEventCoupon: async (eventId: string, eventCouponCreateInputs: EventCouponCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36553
+ addEventCoHost: async (eventId: string, accountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35877
36554
  // verify required parameter 'eventId' is not null or undefined
35878
- assertParamExists('createEventCoupon', 'eventId', eventId)
35879
- // verify required parameter 'eventCouponCreateInputs' is not null or undefined
35880
- assertParamExists('createEventCoupon', 'eventCouponCreateInputs', eventCouponCreateInputs)
35881
- const localVarPath = `/events/{eventId}/coupons`
35882
- .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
36555
+ assertParamExists('addEventCoHost', 'eventId', eventId)
36556
+ // verify required parameter 'accountId' is not null or undefined
36557
+ assertParamExists('addEventCoHost', 'accountId', accountId)
36558
+ const localVarPath = `/events/{eventId}/coHosts/{accountId}`
36559
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
36560
+ .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
35883
36561
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35884
36562
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35885
36563
  let baseOptions;
@@ -35897,13 +36575,11 @@ export const EventsCouponsApiAxiosParamCreator = function (configuration?: Confi
35897
36575
  // authentication OrganizationId required
35898
36576
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
35899
36577
 
35900
- localVarHeaderParameter['Content-Type'] = 'application/json';
35901
36578
  localVarHeaderParameter['Accept'] = 'application/json';
35902
36579
 
35903
36580
  setSearchParams(localVarUrlObj, localVarQueryParameter);
35904
36581
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35905
36582
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35906
- localVarRequestOptions.data = serializeDataIfNeeded(eventCouponCreateInputs, localVarRequestOptions, configuration)
35907
36583
 
35908
36584
  return {
35909
36585
  url: toPathString(localVarUrlObj),
@@ -35911,14 +36587,364 @@ export const EventsCouponsApiAxiosParamCreator = function (configuration?: Confi
35911
36587
  };
35912
36588
  },
35913
36589
  /**
35914
- * Create Event Coupon Variants endpoint
35915
- * @summary Create Event Coupon Variants
36590
+ * Get Event Co Hosts endpoint
36591
+ * @summary Get Event Co Hosts
35916
36592
  * @param {string} eventId The event identifier
35917
- * @param {string} couponId The coupon identifier
35918
- * @param {EventVariantCouponCreateInputs} eventVariantCouponCreateInputs
35919
- * @param {*} [options] Override http request option.
35920
- * @throws {RequiredError}
35921
- */
36593
+ * @param {number} [page] Page number
36594
+ * @param {number} [pageSize] Number of items per page
36595
+ * @param {string} [orderBy] Field to order by
36596
+ * @param {string} [search] Search query
36597
+ * @param {*} [options] Override http request option.
36598
+ * @throws {RequiredError}
36599
+ */
36600
+ getEventCoHosts: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36601
+ // verify required parameter 'eventId' is not null or undefined
36602
+ assertParamExists('getEventCoHosts', 'eventId', eventId)
36603
+ const localVarPath = `/events/{eventId}/coHosts`
36604
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
36605
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36606
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36607
+ let baseOptions;
36608
+ if (configuration) {
36609
+ baseOptions = configuration.baseOptions;
36610
+ }
36611
+
36612
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36613
+ const localVarHeaderParameter = {} as any;
36614
+ const localVarQueryParameter = {} as any;
36615
+
36616
+ // authentication ApiKeyAuth required
36617
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
36618
+
36619
+ // authentication OrganizationId required
36620
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
36621
+
36622
+ if (page !== undefined) {
36623
+ localVarQueryParameter['page'] = page;
36624
+ }
36625
+
36626
+ if (pageSize !== undefined) {
36627
+ localVarQueryParameter['pageSize'] = pageSize;
36628
+ }
36629
+
36630
+ if (orderBy !== undefined) {
36631
+ localVarQueryParameter['orderBy'] = orderBy;
36632
+ }
36633
+
36634
+ if (search !== undefined) {
36635
+ localVarQueryParameter['search'] = search;
36636
+ }
36637
+
36638
+ localVarHeaderParameter['Accept'] = 'application/json';
36639
+
36640
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36641
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36642
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36643
+
36644
+ return {
36645
+ url: toPathString(localVarUrlObj),
36646
+ options: localVarRequestOptions,
36647
+ };
36648
+ },
36649
+ /**
36650
+ * Remove Event Co Host endpoint
36651
+ * @summary Remove Event Co Host
36652
+ * @param {string} eventId The event identifier
36653
+ * @param {string} accountId The account identifier
36654
+ * @param {*} [options] Override http request option.
36655
+ * @throws {RequiredError}
36656
+ */
36657
+ removeEventCoHost: async (eventId: string, accountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36658
+ // verify required parameter 'eventId' is not null or undefined
36659
+ assertParamExists('removeEventCoHost', 'eventId', eventId)
36660
+ // verify required parameter 'accountId' is not null or undefined
36661
+ assertParamExists('removeEventCoHost', 'accountId', accountId)
36662
+ const localVarPath = `/events/{eventId}/coHosts/{accountId}`
36663
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
36664
+ .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
36665
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36666
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36667
+ let baseOptions;
36668
+ if (configuration) {
36669
+ baseOptions = configuration.baseOptions;
36670
+ }
36671
+
36672
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
36673
+ const localVarHeaderParameter = {} as any;
36674
+ const localVarQueryParameter = {} as any;
36675
+
36676
+ // authentication ApiKeyAuth required
36677
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
36678
+
36679
+ // authentication OrganizationId required
36680
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
36681
+
36682
+ localVarHeaderParameter['Accept'] = 'application/json';
36683
+
36684
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36685
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36686
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36687
+
36688
+ return {
36689
+ url: toPathString(localVarUrlObj),
36690
+ options: localVarRequestOptions,
36691
+ };
36692
+ },
36693
+ }
36694
+ };
36695
+
36696
+ /**
36697
+ * EventsCohostsApi - functional programming interface
36698
+ */
36699
+ export const EventsCohostsApiFp = function(configuration?: Configuration) {
36700
+ const localVarAxiosParamCreator = EventsCohostsApiAxiosParamCreator(configuration)
36701
+ return {
36702
+ /**
36703
+ * Add Event Co Host endpoint
36704
+ * @summary Add Event Co Host
36705
+ * @param {string} eventId The event identifier
36706
+ * @param {string} accountId The account identifier
36707
+ * @param {*} [options] Override http request option.
36708
+ * @throws {RequiredError}
36709
+ */
36710
+ async addEventCoHost(eventId: string, accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccount200Response>> {
36711
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addEventCoHost(eventId, accountId, options);
36712
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36713
+ const localVarOperationServerBasePath = operationServerMap['EventsCohostsApi.addEventCoHost']?.[localVarOperationServerIndex]?.url;
36714
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36715
+ },
36716
+ /**
36717
+ * Get Event Co Hosts endpoint
36718
+ * @summary Get Event Co Hosts
36719
+ * @param {string} eventId The event identifier
36720
+ * @param {number} [page] Page number
36721
+ * @param {number} [pageSize] Number of items per page
36722
+ * @param {string} [orderBy] Field to order by
36723
+ * @param {string} [search] Search query
36724
+ * @param {*} [options] Override http request option.
36725
+ * @throws {RequiredError}
36726
+ */
36727
+ async getEventCoHosts(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccounts200Response>> {
36728
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventCoHosts(eventId, page, pageSize, orderBy, search, options);
36729
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36730
+ const localVarOperationServerBasePath = operationServerMap['EventsCohostsApi.getEventCoHosts']?.[localVarOperationServerIndex]?.url;
36731
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36732
+ },
36733
+ /**
36734
+ * Remove Event Co Host endpoint
36735
+ * @summary Remove Event Co Host
36736
+ * @param {string} eventId The event identifier
36737
+ * @param {string} accountId The account identifier
36738
+ * @param {*} [options] Override http request option.
36739
+ * @throws {RequiredError}
36740
+ */
36741
+ async removeEventCoHost(eventId: string, accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccount200Response>> {
36742
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventCoHost(eventId, accountId, options);
36743
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36744
+ const localVarOperationServerBasePath = operationServerMap['EventsCohostsApi.removeEventCoHost']?.[localVarOperationServerIndex]?.url;
36745
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36746
+ },
36747
+ }
36748
+ };
36749
+
36750
+ /**
36751
+ * EventsCohostsApi - factory interface
36752
+ */
36753
+ export const EventsCohostsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36754
+ const localVarFp = EventsCohostsApiFp(configuration)
36755
+ return {
36756
+ /**
36757
+ * Add Event Co Host endpoint
36758
+ * @summary Add Event Co Host
36759
+ * @param {EventsCohostsApiAddEventCoHostRequest} requestParameters Request parameters.
36760
+ * @param {*} [options] Override http request option.
36761
+ * @throws {RequiredError}
36762
+ */
36763
+ addEventCoHost(requestParameters: EventsCohostsApiAddEventCoHostRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccount200Response> {
36764
+ return localVarFp.addEventCoHost(requestParameters.eventId, requestParameters.accountId, options).then((request) => request(axios, basePath));
36765
+ },
36766
+ /**
36767
+ * Get Event Co Hosts endpoint
36768
+ * @summary Get Event Co Hosts
36769
+ * @param {EventsCohostsApiGetEventCoHostsRequest} requestParameters Request parameters.
36770
+ * @param {*} [options] Override http request option.
36771
+ * @throws {RequiredError}
36772
+ */
36773
+ getEventCoHosts(requestParameters: EventsCohostsApiGetEventCoHostsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccounts200Response> {
36774
+ return localVarFp.getEventCoHosts(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
36775
+ },
36776
+ /**
36777
+ * Remove Event Co Host endpoint
36778
+ * @summary Remove Event Co Host
36779
+ * @param {EventsCohostsApiRemoveEventCoHostRequest} requestParameters Request parameters.
36780
+ * @param {*} [options] Override http request option.
36781
+ * @throws {RequiredError}
36782
+ */
36783
+ removeEventCoHost(requestParameters: EventsCohostsApiRemoveEventCoHostRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccount200Response> {
36784
+ return localVarFp.removeEventCoHost(requestParameters.eventId, requestParameters.accountId, options).then((request) => request(axios, basePath));
36785
+ },
36786
+ };
36787
+ };
36788
+
36789
+ /**
36790
+ * Request parameters for addEventCoHost operation in EventsCohostsApi.
36791
+ */
36792
+ export interface EventsCohostsApiAddEventCoHostRequest {
36793
+ /**
36794
+ * The event identifier
36795
+ */
36796
+ readonly eventId: string
36797
+
36798
+ /**
36799
+ * The account identifier
36800
+ */
36801
+ readonly accountId: string
36802
+ }
36803
+
36804
+ /**
36805
+ * Request parameters for getEventCoHosts operation in EventsCohostsApi.
36806
+ */
36807
+ export interface EventsCohostsApiGetEventCoHostsRequest {
36808
+ /**
36809
+ * The event identifier
36810
+ */
36811
+ readonly eventId: string
36812
+
36813
+ /**
36814
+ * Page number
36815
+ */
36816
+ readonly page?: number
36817
+
36818
+ /**
36819
+ * Number of items per page
36820
+ */
36821
+ readonly pageSize?: number
36822
+
36823
+ /**
36824
+ * Field to order by
36825
+ */
36826
+ readonly orderBy?: string
36827
+
36828
+ /**
36829
+ * Search query
36830
+ */
36831
+ readonly search?: string
36832
+ }
36833
+
36834
+ /**
36835
+ * Request parameters for removeEventCoHost operation in EventsCohostsApi.
36836
+ */
36837
+ export interface EventsCohostsApiRemoveEventCoHostRequest {
36838
+ /**
36839
+ * The event identifier
36840
+ */
36841
+ readonly eventId: string
36842
+
36843
+ /**
36844
+ * The account identifier
36845
+ */
36846
+ readonly accountId: string
36847
+ }
36848
+
36849
+ /**
36850
+ * EventsCohostsApi - object-oriented interface
36851
+ */
36852
+ export class EventsCohostsApi extends BaseAPI {
36853
+ /**
36854
+ * Add Event Co Host endpoint
36855
+ * @summary Add Event Co Host
36856
+ * @param {EventsCohostsApiAddEventCoHostRequest} requestParameters Request parameters.
36857
+ * @param {*} [options] Override http request option.
36858
+ * @throws {RequiredError}
36859
+ */
36860
+ public addEventCoHost(requestParameters: EventsCohostsApiAddEventCoHostRequest, options?: RawAxiosRequestConfig) {
36861
+ return EventsCohostsApiFp(this.configuration).addEventCoHost(requestParameters.eventId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
36862
+ }
36863
+
36864
+ /**
36865
+ * Get Event Co Hosts endpoint
36866
+ * @summary Get Event Co Hosts
36867
+ * @param {EventsCohostsApiGetEventCoHostsRequest} requestParameters Request parameters.
36868
+ * @param {*} [options] Override http request option.
36869
+ * @throws {RequiredError}
36870
+ */
36871
+ public getEventCoHosts(requestParameters: EventsCohostsApiGetEventCoHostsRequest, options?: RawAxiosRequestConfig) {
36872
+ return EventsCohostsApiFp(this.configuration).getEventCoHosts(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
36873
+ }
36874
+
36875
+ /**
36876
+ * Remove Event Co Host endpoint
36877
+ * @summary Remove Event Co Host
36878
+ * @param {EventsCohostsApiRemoveEventCoHostRequest} requestParameters Request parameters.
36879
+ * @param {*} [options] Override http request option.
36880
+ * @throws {RequiredError}
36881
+ */
36882
+ public removeEventCoHost(requestParameters: EventsCohostsApiRemoveEventCoHostRequest, options?: RawAxiosRequestConfig) {
36883
+ return EventsCohostsApiFp(this.configuration).removeEventCoHost(requestParameters.eventId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
36884
+ }
36885
+ }
36886
+
36887
+
36888
+
36889
+ /**
36890
+ * EventsCouponsApi - axios parameter creator
36891
+ */
36892
+ export const EventsCouponsApiAxiosParamCreator = function (configuration?: Configuration) {
36893
+ return {
36894
+ /**
36895
+ * Create Event Coupon endpoint
36896
+ * @summary Create Event Coupon
36897
+ * @param {string} eventId The event identifier
36898
+ * @param {EventCouponCreateInputs} eventCouponCreateInputs
36899
+ * @param {*} [options] Override http request option.
36900
+ * @throws {RequiredError}
36901
+ */
36902
+ createEventCoupon: async (eventId: string, eventCouponCreateInputs: EventCouponCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36903
+ // verify required parameter 'eventId' is not null or undefined
36904
+ assertParamExists('createEventCoupon', 'eventId', eventId)
36905
+ // verify required parameter 'eventCouponCreateInputs' is not null or undefined
36906
+ assertParamExists('createEventCoupon', 'eventCouponCreateInputs', eventCouponCreateInputs)
36907
+ const localVarPath = `/events/{eventId}/coupons`
36908
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
36909
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36910
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36911
+ let baseOptions;
36912
+ if (configuration) {
36913
+ baseOptions = configuration.baseOptions;
36914
+ }
36915
+
36916
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
36917
+ const localVarHeaderParameter = {} as any;
36918
+ const localVarQueryParameter = {} as any;
36919
+
36920
+ // authentication ApiKeyAuth required
36921
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
36922
+
36923
+ // authentication OrganizationId required
36924
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
36925
+
36926
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36927
+ localVarHeaderParameter['Accept'] = 'application/json';
36928
+
36929
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36930
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36931
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36932
+ localVarRequestOptions.data = serializeDataIfNeeded(eventCouponCreateInputs, localVarRequestOptions, configuration)
36933
+
36934
+ return {
36935
+ url: toPathString(localVarUrlObj),
36936
+ options: localVarRequestOptions,
36937
+ };
36938
+ },
36939
+ /**
36940
+ * Create Event Coupon Variants endpoint
36941
+ * @summary Create Event Coupon Variants
36942
+ * @param {string} eventId The event identifier
36943
+ * @param {string} couponId The coupon identifier
36944
+ * @param {EventVariantCouponCreateInputs} eventVariantCouponCreateInputs
36945
+ * @param {*} [options] Override http request option.
36946
+ * @throws {RequiredError}
36947
+ */
35922
36948
  createEventCouponVariants: async (eventId: string, couponId: string, eventVariantCouponCreateInputs: EventVariantCouponCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35923
36949
  // verify required parameter 'eventId' is not null or undefined
35924
36950
  assertParamExists('createEventCouponVariants', 'eventId', eventId)
@@ -36288,6 +37314,7 @@ export const EventsCouponsApiAxiosParamCreator = function (configuration?: Confi
36288
37314
  * @summary Get Event Coupons
36289
37315
  * @param {string} eventId The event identifier
36290
37316
  * @param {boolean} [prePaid] Filter by prePaid
37317
+ * @param {object} [includeVariants] Filter by includeVariants
36291
37318
  * @param {number} [page] Page number
36292
37319
  * @param {number} [pageSize] Number of items per page
36293
37320
  * @param {string} [orderBy] Field to order by
@@ -36295,7 +37322,7 @@ export const EventsCouponsApiAxiosParamCreator = function (configuration?: Confi
36295
37322
  * @param {*} [options] Override http request option.
36296
37323
  * @throws {RequiredError}
36297
37324
  */
36298
- getEventCoupons: async (eventId: string, prePaid?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
37325
+ getEventCoupons: async (eventId: string, prePaid?: boolean, includeVariants?: object, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36299
37326
  // verify required parameter 'eventId' is not null or undefined
36300
37327
  assertParamExists('getEventCoupons', 'eventId', eventId)
36301
37328
  const localVarPath = `/events/{eventId}/coupons`
@@ -36321,6 +37348,12 @@ export const EventsCouponsApiAxiosParamCreator = function (configuration?: Confi
36321
37348
  localVarQueryParameter['prePaid'] = prePaid;
36322
37349
  }
36323
37350
 
37351
+ if (includeVariants !== undefined) {
37352
+ for (const [key, value] of Object.entries(includeVariants)) {
37353
+ localVarQueryParameter[key] = value;
37354
+ }
37355
+ }
37356
+
36324
37357
  if (page !== undefined) {
36325
37358
  localVarQueryParameter['page'] = page;
36326
37359
  }
@@ -36585,6 +37618,7 @@ export const EventsCouponsApiFp = function(configuration?: Configuration) {
36585
37618
  * @summary Get Event Coupons
36586
37619
  * @param {string} eventId The event identifier
36587
37620
  * @param {boolean} [prePaid] Filter by prePaid
37621
+ * @param {object} [includeVariants] Filter by includeVariants
36588
37622
  * @param {number} [page] Page number
36589
37623
  * @param {number} [pageSize] Number of items per page
36590
37624
  * @param {string} [orderBy] Field to order by
@@ -36592,8 +37626,8 @@ export const EventsCouponsApiFp = function(configuration?: Configuration) {
36592
37626
  * @param {*} [options] Override http request option.
36593
37627
  * @throws {RequiredError}
36594
37628
  */
36595
- async getEventCoupons(eventId: string, prePaid?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventAttendeeCoupons200Response>> {
36596
- const localVarAxiosArgs = await localVarAxiosParamCreator.getEventCoupons(eventId, prePaid, page, pageSize, orderBy, search, options);
37629
+ async getEventCoupons(eventId: string, prePaid?: boolean, includeVariants?: object, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventAttendeeCoupons200Response>> {
37630
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventCoupons(eventId, prePaid, includeVariants, page, pageSize, orderBy, search, options);
36597
37631
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36598
37632
  const localVarOperationServerBasePath = operationServerMap['EventsCouponsApi.getEventCoupons']?.[localVarOperationServerIndex]?.url;
36599
37633
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -36725,7 +37759,7 @@ export const EventsCouponsApiFactory = function (configuration?: Configuration,
36725
37759
  * @throws {RequiredError}
36726
37760
  */
36727
37761
  getEventCoupons(requestParameters: EventsCouponsApiGetEventCouponsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventAttendeeCoupons200Response> {
36728
- return localVarFp.getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
37762
+ return localVarFp.getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.includeVariants, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
36729
37763
  },
36730
37764
  /**
36731
37765
  * Sync Event Coupon To Variants endpoint
@@ -36943,6 +37977,11 @@ export interface EventsCouponsApiGetEventCouponsRequest {
36943
37977
  */
36944
37978
  readonly prePaid?: boolean
36945
37979
 
37980
+ /**
37981
+ * Filter by includeVariants
37982
+ */
37983
+ readonly includeVariants?: object
37984
+
36946
37985
  /**
36947
37986
  * Page number
36948
37987
  */
@@ -37098,7 +38137,7 @@ export class EventsCouponsApi extends BaseAPI {
37098
38137
  * @throws {RequiredError}
37099
38138
  */
37100
38139
  public getEventCoupons(requestParameters: EventsCouponsApiGetEventCouponsRequest, options?: RawAxiosRequestConfig) {
37101
- 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));
38140
+ 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));
37102
38141
  }
37103
38142
 
37104
38143
  /**
@@ -60237,6 +61276,54 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
60237
61276
  options: localVarRequestOptions,
60238
61277
  };
60239
61278
  },
61279
+ /**
61280
+ * Add Event Session Block endpoint
61281
+ * @summary Add Event Session Block
61282
+ * @param {string} eventId The event identifier
61283
+ * @param {string} sessionId The session identifier
61284
+ * @param {string} blockId The block identifier
61285
+ * @param {*} [options] Override http request option.
61286
+ * @throws {RequiredError}
61287
+ */
61288
+ addEventSessionBlock: async (eventId: string, sessionId: string, blockId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
61289
+ // verify required parameter 'eventId' is not null or undefined
61290
+ assertParamExists('addEventSessionBlock', 'eventId', eventId)
61291
+ // verify required parameter 'sessionId' is not null or undefined
61292
+ assertParamExists('addEventSessionBlock', 'sessionId', sessionId)
61293
+ // verify required parameter 'blockId' is not null or undefined
61294
+ assertParamExists('addEventSessionBlock', 'blockId', blockId)
61295
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks/{blockId}`
61296
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
61297
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
61298
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
61299
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
61300
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
61301
+ let baseOptions;
61302
+ if (configuration) {
61303
+ baseOptions = configuration.baseOptions;
61304
+ }
61305
+
61306
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
61307
+ const localVarHeaderParameter = {} as any;
61308
+ const localVarQueryParameter = {} as any;
61309
+
61310
+ // authentication ApiKeyAuth required
61311
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
61312
+
61313
+ // authentication OrganizationId required
61314
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
61315
+
61316
+ localVarHeaderParameter['Accept'] = 'application/json';
61317
+
61318
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
61319
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61320
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
61321
+
61322
+ return {
61323
+ url: toPathString(localVarUrlObj),
61324
+ options: localVarRequestOptions,
61325
+ };
61326
+ },
60240
61327
  /**
60241
61328
  * Add Event Session Pass Type endpoint
60242
61329
  * @summary Add Event Session Pass Type
@@ -60695,6 +61782,70 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
60695
61782
  options: localVarRequestOptions,
60696
61783
  };
60697
61784
  },
61785
+ /**
61786
+ * Get Event Session Blocks endpoint
61787
+ * @summary Get Event Session Blocks
61788
+ * @param {string} eventId The event identifier
61789
+ * @param {string} sessionId The session identifier
61790
+ * @param {number} [page] Page number
61791
+ * @param {number} [pageSize] Number of items per page
61792
+ * @param {string} [orderBy] Field to order by
61793
+ * @param {string} [search] Search query
61794
+ * @param {*} [options] Override http request option.
61795
+ * @throws {RequiredError}
61796
+ */
61797
+ getEventSessionBlocks: async (eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
61798
+ // verify required parameter 'eventId' is not null or undefined
61799
+ assertParamExists('getEventSessionBlocks', 'eventId', eventId)
61800
+ // verify required parameter 'sessionId' is not null or undefined
61801
+ assertParamExists('getEventSessionBlocks', 'sessionId', sessionId)
61802
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks`
61803
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
61804
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
61805
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
61806
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
61807
+ let baseOptions;
61808
+ if (configuration) {
61809
+ baseOptions = configuration.baseOptions;
61810
+ }
61811
+
61812
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
61813
+ const localVarHeaderParameter = {} as any;
61814
+ const localVarQueryParameter = {} as any;
61815
+
61816
+ // authentication ApiKeyAuth required
61817
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
61818
+
61819
+ // authentication OrganizationId required
61820
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
61821
+
61822
+ if (page !== undefined) {
61823
+ localVarQueryParameter['page'] = page;
61824
+ }
61825
+
61826
+ if (pageSize !== undefined) {
61827
+ localVarQueryParameter['pageSize'] = pageSize;
61828
+ }
61829
+
61830
+ if (orderBy !== undefined) {
61831
+ localVarQueryParameter['orderBy'] = orderBy;
61832
+ }
61833
+
61834
+ if (search !== undefined) {
61835
+ localVarQueryParameter['search'] = search;
61836
+ }
61837
+
61838
+ localVarHeaderParameter['Accept'] = 'application/json';
61839
+
61840
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
61841
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61842
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
61843
+
61844
+ return {
61845
+ url: toPathString(localVarUrlObj),
61846
+ options: localVarRequestOptions,
61847
+ };
61848
+ },
60698
61849
  /**
60699
61850
  * Get Event Session Pass Types endpoint
60700
61851
  * @summary Get Event Session Pass Types
@@ -61123,6 +62274,54 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
61123
62274
  options: localVarRequestOptions,
61124
62275
  };
61125
62276
  },
62277
+ /**
62278
+ * Remove Event Session Block endpoint
62279
+ * @summary Remove Event Session Block
62280
+ * @param {string} eventId The event identifier
62281
+ * @param {string} sessionId The session identifier
62282
+ * @param {string} blockId The block identifier
62283
+ * @param {*} [options] Override http request option.
62284
+ * @throws {RequiredError}
62285
+ */
62286
+ removeEventSessionBlock: async (eventId: string, sessionId: string, blockId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
62287
+ // verify required parameter 'eventId' is not null or undefined
62288
+ assertParamExists('removeEventSessionBlock', 'eventId', eventId)
62289
+ // verify required parameter 'sessionId' is not null or undefined
62290
+ assertParamExists('removeEventSessionBlock', 'sessionId', sessionId)
62291
+ // verify required parameter 'blockId' is not null or undefined
62292
+ assertParamExists('removeEventSessionBlock', 'blockId', blockId)
62293
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks/{blockId}`
62294
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
62295
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
62296
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
62297
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
62298
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62299
+ let baseOptions;
62300
+ if (configuration) {
62301
+ baseOptions = configuration.baseOptions;
62302
+ }
62303
+
62304
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
62305
+ const localVarHeaderParameter = {} as any;
62306
+ const localVarQueryParameter = {} as any;
62307
+
62308
+ // authentication ApiKeyAuth required
62309
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
62310
+
62311
+ // authentication OrganizationId required
62312
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
62313
+
62314
+ localVarHeaderParameter['Accept'] = 'application/json';
62315
+
62316
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
62317
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62318
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62319
+
62320
+ return {
62321
+ url: toPathString(localVarUrlObj),
62322
+ options: localVarRequestOptions,
62323
+ };
62324
+ },
61126
62325
  /**
61127
62326
  * Remove Event Session Pass Type endpoint
61128
62327
  * @summary Remove Event Session Pass Type
@@ -61392,6 +62591,21 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
61392
62591
  const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.addEventSessionAccount']?.[localVarOperationServerIndex]?.url;
61393
62592
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
61394
62593
  },
62594
+ /**
62595
+ * Add Event Session Block endpoint
62596
+ * @summary Add Event Session Block
62597
+ * @param {string} eventId The event identifier
62598
+ * @param {string} sessionId The session identifier
62599
+ * @param {string} blockId The block identifier
62600
+ * @param {*} [options] Override http request option.
62601
+ * @throws {RequiredError}
62602
+ */
62603
+ async addEventSessionBlock(eventId: string, sessionId: string, blockId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>> {
62604
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addEventSessionBlock(eventId, sessionId, blockId, options);
62605
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
62606
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.addEventSessionBlock']?.[localVarOperationServerIndex]?.url;
62607
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
62608
+ },
61395
62609
  /**
61396
62610
  * Add Event Session Pass Type endpoint
61397
62611
  * @summary Add Event Session Pass Type
@@ -61531,6 +62745,24 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
61531
62745
  const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.getEventSessionAccounts']?.[localVarOperationServerIndex]?.url;
61532
62746
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
61533
62747
  },
62748
+ /**
62749
+ * Get Event Session Blocks endpoint
62750
+ * @summary Get Event Session Blocks
62751
+ * @param {string} eventId The event identifier
62752
+ * @param {string} sessionId The session identifier
62753
+ * @param {number} [page] Page number
62754
+ * @param {number} [pageSize] Number of items per page
62755
+ * @param {string} [orderBy] Field to order by
62756
+ * @param {string} [search] Search query
62757
+ * @param {*} [options] Override http request option.
62758
+ * @throws {RequiredError}
62759
+ */
62760
+ async getEventSessionBlocks(eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventBlocks200Response>> {
62761
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventSessionBlocks(eventId, sessionId, page, pageSize, orderBy, search, options);
62762
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
62763
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.getEventSessionBlocks']?.[localVarOperationServerIndex]?.url;
62764
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
62765
+ },
61534
62766
  /**
61535
62767
  * Get Event Session Pass Types endpoint
61536
62768
  * @summary Get Event Session Pass Types
@@ -61653,6 +62885,21 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
61653
62885
  const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.removeEventSessionAccount']?.[localVarOperationServerIndex]?.url;
61654
62886
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
61655
62887
  },
62888
+ /**
62889
+ * Remove Event Session Block endpoint
62890
+ * @summary Remove Event Session Block
62891
+ * @param {string} eventId The event identifier
62892
+ * @param {string} sessionId The session identifier
62893
+ * @param {string} blockId The block identifier
62894
+ * @param {*} [options] Override http request option.
62895
+ * @throws {RequiredError}
62896
+ */
62897
+ async removeEventSessionBlock(eventId: string, sessionId: string, blockId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
62898
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventSessionBlock(eventId, sessionId, blockId, options);
62899
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
62900
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.removeEventSessionBlock']?.[localVarOperationServerIndex]?.url;
62901
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
62902
+ },
61656
62903
  /**
61657
62904
  * Remove Event Session Pass Type endpoint
61658
62905
  * @summary Remove Event Session Pass Type
@@ -61747,6 +62994,16 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
61747
62994
  addEventSessionAccount(requestParameters: EventsSessionsApiAddEventSessionAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
61748
62995
  return localVarFp.addEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(axios, basePath));
61749
62996
  },
62997
+ /**
62998
+ * Add Event Session Block endpoint
62999
+ * @summary Add Event Session Block
63000
+ * @param {EventsSessionsApiAddEventSessionBlockRequest} requestParameters Request parameters.
63001
+ * @param {*} [options] Override http request option.
63002
+ * @throws {RequiredError}
63003
+ */
63004
+ addEventSessionBlock(requestParameters: EventsSessionsApiAddEventSessionBlockRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
63005
+ return localVarFp.addEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(axios, basePath));
63006
+ },
61750
63007
  /**
61751
63008
  * Add Event Session Pass Type endpoint
61752
63009
  * @summary Add Event Session Pass Type
@@ -61837,6 +63094,16 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
61837
63094
  getEventSessionAccounts(requestParameters: EventsSessionsApiGetEventSessionAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccounts200Response> {
61838
63095
  return localVarFp.getEventSessionAccounts(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
61839
63096
  },
63097
+ /**
63098
+ * Get Event Session Blocks endpoint
63099
+ * @summary Get Event Session Blocks
63100
+ * @param {EventsSessionsApiGetEventSessionBlocksRequest} requestParameters Request parameters.
63101
+ * @param {*} [options] Override http request option.
63102
+ * @throws {RequiredError}
63103
+ */
63104
+ getEventSessionBlocks(requestParameters: EventsSessionsApiGetEventSessionBlocksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventBlocks200Response> {
63105
+ return localVarFp.getEventSessionBlocks(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
63106
+ },
61840
63107
  /**
61841
63108
  * Get Event Session Pass Types endpoint
61842
63109
  * @summary Get Event Session Pass Types
@@ -61907,6 +63174,16 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
61907
63174
  removeEventSessionAccount(requestParameters: EventsSessionsApiRemoveEventSessionAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
61908
63175
  return localVarFp.removeEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(axios, basePath));
61909
63176
  },
63177
+ /**
63178
+ * Remove Event Session Block endpoint
63179
+ * @summary Remove Event Session Block
63180
+ * @param {EventsSessionsApiRemoveEventSessionBlockRequest} requestParameters Request parameters.
63181
+ * @param {*} [options] Override http request option.
63182
+ * @throws {RequiredError}
63183
+ */
63184
+ removeEventSessionBlock(requestParameters: EventsSessionsApiRemoveEventSessionBlockRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
63185
+ return localVarFp.removeEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(axios, basePath));
63186
+ },
61910
63187
  /**
61911
63188
  * Remove Event Session Pass Type endpoint
61912
63189
  * @summary Remove Event Session Pass Type
@@ -61980,6 +63257,26 @@ export interface EventsSessionsApiAddEventSessionAccountRequest {
61980
63257
  readonly accountId: string
61981
63258
  }
61982
63259
 
63260
+ /**
63261
+ * Request parameters for addEventSessionBlock operation in EventsSessionsApi.
63262
+ */
63263
+ export interface EventsSessionsApiAddEventSessionBlockRequest {
63264
+ /**
63265
+ * The event identifier
63266
+ */
63267
+ readonly eventId: string
63268
+
63269
+ /**
63270
+ * The session identifier
63271
+ */
63272
+ readonly sessionId: string
63273
+
63274
+ /**
63275
+ * The block identifier
63276
+ */
63277
+ readonly blockId: string
63278
+ }
63279
+
61983
63280
  /**
61984
63281
  * Request parameters for addEventSessionPassType operation in EventsSessionsApi.
61985
63282
  */
@@ -62177,6 +63474,41 @@ export interface EventsSessionsApiGetEventSessionAccountsRequest {
62177
63474
  readonly search?: string
62178
63475
  }
62179
63476
 
63477
+ /**
63478
+ * Request parameters for getEventSessionBlocks operation in EventsSessionsApi.
63479
+ */
63480
+ export interface EventsSessionsApiGetEventSessionBlocksRequest {
63481
+ /**
63482
+ * The event identifier
63483
+ */
63484
+ readonly eventId: string
63485
+
63486
+ /**
63487
+ * The session identifier
63488
+ */
63489
+ readonly sessionId: string
63490
+
63491
+ /**
63492
+ * Page number
63493
+ */
63494
+ readonly page?: number
63495
+
63496
+ /**
63497
+ * Number of items per page
63498
+ */
63499
+ readonly pageSize?: number
63500
+
63501
+ /**
63502
+ * Field to order by
63503
+ */
63504
+ readonly orderBy?: string
63505
+
63506
+ /**
63507
+ * Search query
63508
+ */
63509
+ readonly search?: string
63510
+ }
63511
+
62180
63512
  /**
62181
63513
  * Request parameters for getEventSessionPassTypes operation in EventsSessionsApi.
62182
63514
  */
@@ -62402,6 +63734,26 @@ export interface EventsSessionsApiRemoveEventSessionAccountRequest {
62402
63734
  readonly accountId: string
62403
63735
  }
62404
63736
 
63737
+ /**
63738
+ * Request parameters for removeEventSessionBlock operation in EventsSessionsApi.
63739
+ */
63740
+ export interface EventsSessionsApiRemoveEventSessionBlockRequest {
63741
+ /**
63742
+ * The event identifier
63743
+ */
63744
+ readonly eventId: string
63745
+
63746
+ /**
63747
+ * The session identifier
63748
+ */
63749
+ readonly sessionId: string
63750
+
63751
+ /**
63752
+ * The block identifier
63753
+ */
63754
+ readonly blockId: string
63755
+ }
63756
+
62405
63757
  /**
62406
63758
  * Request parameters for removeEventSessionPassType operation in EventsSessionsApi.
62407
63759
  */
@@ -62517,6 +63869,17 @@ export class EventsSessionsApi extends BaseAPI {
62517
63869
  return EventsSessionsApiFp(this.configuration).addEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
62518
63870
  }
62519
63871
 
63872
+ /**
63873
+ * Add Event Session Block endpoint
63874
+ * @summary Add Event Session Block
63875
+ * @param {EventsSessionsApiAddEventSessionBlockRequest} requestParameters Request parameters.
63876
+ * @param {*} [options] Override http request option.
63877
+ * @throws {RequiredError}
63878
+ */
63879
+ public addEventSessionBlock(requestParameters: EventsSessionsApiAddEventSessionBlockRequest, options?: RawAxiosRequestConfig) {
63880
+ return EventsSessionsApiFp(this.configuration).addEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
63881
+ }
63882
+
62520
63883
  /**
62521
63884
  * Add Event Session Pass Type endpoint
62522
63885
  * @summary Add Event Session Pass Type
@@ -62616,6 +63979,17 @@ export class EventsSessionsApi extends BaseAPI {
62616
63979
  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));
62617
63980
  }
62618
63981
 
63982
+ /**
63983
+ * Get Event Session Blocks endpoint
63984
+ * @summary Get Event Session Blocks
63985
+ * @param {EventsSessionsApiGetEventSessionBlocksRequest} requestParameters Request parameters.
63986
+ * @param {*} [options] Override http request option.
63987
+ * @throws {RequiredError}
63988
+ */
63989
+ public getEventSessionBlocks(requestParameters: EventsSessionsApiGetEventSessionBlocksRequest, options?: RawAxiosRequestConfig) {
63990
+ 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));
63991
+ }
63992
+
62619
63993
  /**
62620
63994
  * Get Event Session Pass Types endpoint
62621
63995
  * @summary Get Event Session Pass Types
@@ -62693,6 +64067,17 @@ export class EventsSessionsApi extends BaseAPI {
62693
64067
  return EventsSessionsApiFp(this.configuration).removeEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
62694
64068
  }
62695
64069
 
64070
+ /**
64071
+ * Remove Event Session Block endpoint
64072
+ * @summary Remove Event Session Block
64073
+ * @param {EventsSessionsApiRemoveEventSessionBlockRequest} requestParameters Request parameters.
64074
+ * @param {*} [options] Override http request option.
64075
+ * @throws {RequiredError}
64076
+ */
64077
+ public removeEventSessionBlock(requestParameters: EventsSessionsApiRemoveEventSessionBlockRequest, options?: RawAxiosRequestConfig) {
64078
+ return EventsSessionsApiFp(this.configuration).removeEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
64079
+ }
64080
+
62696
64081
  /**
62697
64082
  * Remove Event Session Pass Type endpoint
62698
64083
  * @summary Remove Event Session Pass Type
@@ -98526,64 +99911,801 @@ export const SeriesApiAxiosParamCreator = function (configuration?: Configuratio
98526
99911
  };
98527
99912
  },
98528
99913
  /**
98529
- * Remove Series Event endpoint
98530
- * @summary Remove Series Event
99914
+ * Remove Series Event endpoint
99915
+ * @summary Remove Series Event
99916
+ * @param {string} seriesId The series identifier
99917
+ * @param {string} eventId The event identifier
99918
+ * @param {*} [options] Override http request option.
99919
+ * @throws {RequiredError}
99920
+ */
99921
+ removeSeriesEvent: async (seriesId: string, eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
99922
+ // verify required parameter 'seriesId' is not null or undefined
99923
+ assertParamExists('removeSeriesEvent', 'seriesId', seriesId)
99924
+ // verify required parameter 'eventId' is not null or undefined
99925
+ assertParamExists('removeSeriesEvent', 'eventId', eventId)
99926
+ const localVarPath = `/series/{seriesId}/events/{eventId}`
99927
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
99928
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
99929
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
99930
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
99931
+ let baseOptions;
99932
+ if (configuration) {
99933
+ baseOptions = configuration.baseOptions;
99934
+ }
99935
+
99936
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
99937
+ const localVarHeaderParameter = {} as any;
99938
+ const localVarQueryParameter = {} as any;
99939
+
99940
+ // authentication ApiKeyAuth required
99941
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
99942
+
99943
+ // authentication OrganizationId required
99944
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
99945
+
99946
+ localVarHeaderParameter['Accept'] = 'application/json';
99947
+
99948
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
99949
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
99950
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
99951
+
99952
+ return {
99953
+ url: toPathString(localVarUrlObj),
99954
+ options: localVarRequestOptions,
99955
+ };
99956
+ },
99957
+ /**
99958
+ * Update Series endpoint
99959
+ * @summary Update Series
99960
+ * @param {string} seriesId The series identifier
99961
+ * @param {SeriesUpdateInputs} series Filter by series
99962
+ * @param {*} [options] Override http request option.
99963
+ * @throws {RequiredError}
99964
+ */
99965
+ updateSeries: async (seriesId: string, series: SeriesUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
99966
+ // verify required parameter 'seriesId' is not null or undefined
99967
+ assertParamExists('updateSeries', 'seriesId', seriesId)
99968
+ // verify required parameter 'series' is not null or undefined
99969
+ assertParamExists('updateSeries', 'series', series)
99970
+ const localVarPath = `/series/{seriesId}`
99971
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
99972
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
99973
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
99974
+ let baseOptions;
99975
+ if (configuration) {
99976
+ baseOptions = configuration.baseOptions;
99977
+ }
99978
+
99979
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
99980
+ const localVarHeaderParameter = {} as any;
99981
+ const localVarQueryParameter = {} as any;
99982
+
99983
+ // authentication ApiKeyAuth required
99984
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
99985
+
99986
+ // authentication OrganizationId required
99987
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
99988
+
99989
+ if (series !== undefined) {
99990
+ for (const [key, value] of Object.entries(series)) {
99991
+ localVarQueryParameter[key] = value;
99992
+ }
99993
+ }
99994
+
99995
+ localVarHeaderParameter['Accept'] = 'application/json';
99996
+
99997
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
99998
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
99999
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
100000
+
100001
+ return {
100002
+ url: toPathString(localVarUrlObj),
100003
+ options: localVarRequestOptions,
100004
+ };
100005
+ },
100006
+ }
100007
+ };
100008
+
100009
+ /**
100010
+ * SeriesApi - functional programming interface
100011
+ */
100012
+ export const SeriesApiFp = function(configuration?: Configuration) {
100013
+ const localVarAxiosParamCreator = SeriesApiAxiosParamCreator(configuration)
100014
+ return {
100015
+ /**
100016
+ * Add Series Event endpoint
100017
+ * @summary Add Series Event
100018
+ * @param {string} seriesId The series identifier
100019
+ * @param {string} eventId The event identifier
100020
+ * @param {*} [options] Override http request option.
100021
+ * @throws {RequiredError}
100022
+ */
100023
+ async addSeriesEvent(seriesId: string, eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSeries200Response>> {
100024
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addSeriesEvent(seriesId, eventId, options);
100025
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
100026
+ const localVarOperationServerBasePath = operationServerMap['SeriesApi.addSeriesEvent']?.[localVarOperationServerIndex]?.url;
100027
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
100028
+ },
100029
+ /**
100030
+ * Create Series endpoint
100031
+ * @summary Create Series
100032
+ * @param {SeriesCreateInputs} seriesCreateInputs
100033
+ * @param {*} [options] Override http request option.
100034
+ * @throws {RequiredError}
100035
+ */
100036
+ async createSeries(seriesCreateInputs: SeriesCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSeries200Response>> {
100037
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeries(seriesCreateInputs, options);
100038
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
100039
+ const localVarOperationServerBasePath = operationServerMap['SeriesApi.createSeries']?.[localVarOperationServerIndex]?.url;
100040
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
100041
+ },
100042
+ /**
100043
+ * Delete Series endpoint
100044
+ * @summary Delete Series
100045
+ * @param {string} seriesId The series identifier
100046
+ * @param {*} [options] Override http request option.
100047
+ * @throws {RequiredError}
100048
+ */
100049
+ async deleteSeries(seriesId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
100050
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeries(seriesId, options);
100051
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
100052
+ const localVarOperationServerBasePath = operationServerMap['SeriesApi.deleteSeries']?.[localVarOperationServerIndex]?.url;
100053
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
100054
+ },
100055
+ /**
100056
+ * Get Series endpoint
100057
+ * @summary Get Series
100058
+ * @param {string} seriesId The series identifier
100059
+ * @param {*} [options] Override http request option.
100060
+ * @throws {RequiredError}
100061
+ */
100062
+ async getSeries(seriesId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSeries200Response>> {
100063
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSeries(seriesId, options);
100064
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
100065
+ const localVarOperationServerBasePath = operationServerMap['SeriesApi.getSeries']?.[localVarOperationServerIndex]?.url;
100066
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
100067
+ },
100068
+ /**
100069
+ * Get Series Events endpoint
100070
+ * @summary Get Series Events
100071
+ * @param {string} seriesId The series identifier
100072
+ * @param {number} [page] Page number
100073
+ * @param {number} [pageSize] Number of items per page
100074
+ * @param {string} [orderBy] Field to order by
100075
+ * @param {string} [search] Search query
100076
+ * @param {*} [options] Override http request option.
100077
+ * @throws {RequiredError}
100078
+ */
100079
+ async getSeriesEvents(seriesId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountEvents200Response>> {
100080
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesEvents(seriesId, page, pageSize, orderBy, search, options);
100081
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
100082
+ const localVarOperationServerBasePath = operationServerMap['SeriesApi.getSeriesEvents']?.[localVarOperationServerIndex]?.url;
100083
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
100084
+ },
100085
+ /**
100086
+ * Get Series List endpoint
100087
+ * @summary Get Series List
100088
+ * @param {number} [page] Page number
100089
+ * @param {number} [pageSize] Number of items per page
100090
+ * @param {string} [orderBy] Field to order by
100091
+ * @param {string} [search] Search query
100092
+ * @param {*} [options] Override http request option.
100093
+ * @throws {RequiredError}
100094
+ */
100095
+ async getSeriesList(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSeriesList200Response>> {
100096
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesList(page, pageSize, orderBy, search, options);
100097
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
100098
+ const localVarOperationServerBasePath = operationServerMap['SeriesApi.getSeriesList']?.[localVarOperationServerIndex]?.url;
100099
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
100100
+ },
100101
+ /**
100102
+ * Remove Series Event endpoint
100103
+ * @summary Remove Series Event
100104
+ * @param {string} seriesId The series identifier
100105
+ * @param {string} eventId The event identifier
100106
+ * @param {*} [options] Override http request option.
100107
+ * @throws {RequiredError}
100108
+ */
100109
+ async removeSeriesEvent(seriesId: string, eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSeries200Response>> {
100110
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeSeriesEvent(seriesId, eventId, options);
100111
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
100112
+ const localVarOperationServerBasePath = operationServerMap['SeriesApi.removeSeriesEvent']?.[localVarOperationServerIndex]?.url;
100113
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
100114
+ },
100115
+ /**
100116
+ * Update Series endpoint
100117
+ * @summary Update Series
100118
+ * @param {string} seriesId The series identifier
100119
+ * @param {SeriesUpdateInputs} series Filter by series
100120
+ * @param {*} [options] Override http request option.
100121
+ * @throws {RequiredError}
100122
+ */
100123
+ async updateSeries(seriesId: string, series: SeriesUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSeries200Response>> {
100124
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeries(seriesId, series, options);
100125
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
100126
+ const localVarOperationServerBasePath = operationServerMap['SeriesApi.updateSeries']?.[localVarOperationServerIndex]?.url;
100127
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
100128
+ },
100129
+ }
100130
+ };
100131
+
100132
+ /**
100133
+ * SeriesApi - factory interface
100134
+ */
100135
+ export const SeriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
100136
+ const localVarFp = SeriesApiFp(configuration)
100137
+ return {
100138
+ /**
100139
+ * Add Series Event endpoint
100140
+ * @summary Add Series Event
100141
+ * @param {SeriesApiAddSeriesEventRequest} requestParameters Request parameters.
100142
+ * @param {*} [options] Override http request option.
100143
+ * @throws {RequiredError}
100144
+ */
100145
+ addSeriesEvent(requestParameters: SeriesApiAddSeriesEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSeries200Response> {
100146
+ return localVarFp.addSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(axios, basePath));
100147
+ },
100148
+ /**
100149
+ * Create Series endpoint
100150
+ * @summary Create Series
100151
+ * @param {SeriesApiCreateSeriesRequest} requestParameters Request parameters.
100152
+ * @param {*} [options] Override http request option.
100153
+ * @throws {RequiredError}
100154
+ */
100155
+ createSeries(requestParameters: SeriesApiCreateSeriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSeries200Response> {
100156
+ return localVarFp.createSeries(requestParameters.seriesCreateInputs, options).then((request) => request(axios, basePath));
100157
+ },
100158
+ /**
100159
+ * Delete Series endpoint
100160
+ * @summary Delete Series
100161
+ * @param {SeriesApiDeleteSeriesRequest} requestParameters Request parameters.
100162
+ * @param {*} [options] Override http request option.
100163
+ * @throws {RequiredError}
100164
+ */
100165
+ deleteSeries(requestParameters: SeriesApiDeleteSeriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
100166
+ return localVarFp.deleteSeries(requestParameters.seriesId, options).then((request) => request(axios, basePath));
100167
+ },
100168
+ /**
100169
+ * Get Series endpoint
100170
+ * @summary Get Series
100171
+ * @param {SeriesApiGetSeriesRequest} requestParameters Request parameters.
100172
+ * @param {*} [options] Override http request option.
100173
+ * @throws {RequiredError}
100174
+ */
100175
+ getSeries(requestParameters: SeriesApiGetSeriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSeries200Response> {
100176
+ return localVarFp.getSeries(requestParameters.seriesId, options).then((request) => request(axios, basePath));
100177
+ },
100178
+ /**
100179
+ * Get Series Events endpoint
100180
+ * @summary Get Series Events
100181
+ * @param {SeriesApiGetSeriesEventsRequest} requestParameters Request parameters.
100182
+ * @param {*} [options] Override http request option.
100183
+ * @throws {RequiredError}
100184
+ */
100185
+ getSeriesEvents(requestParameters: SeriesApiGetSeriesEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountEvents200Response> {
100186
+ return localVarFp.getSeriesEvents(requestParameters.seriesId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
100187
+ },
100188
+ /**
100189
+ * Get Series List endpoint
100190
+ * @summary Get Series List
100191
+ * @param {SeriesApiGetSeriesListRequest} requestParameters Request parameters.
100192
+ * @param {*} [options] Override http request option.
100193
+ * @throws {RequiredError}
100194
+ */
100195
+ getSeriesList(requestParameters: SeriesApiGetSeriesListRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetSeriesList200Response> {
100196
+ return localVarFp.getSeriesList(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
100197
+ },
100198
+ /**
100199
+ * Remove Series Event endpoint
100200
+ * @summary Remove Series Event
100201
+ * @param {SeriesApiRemoveSeriesEventRequest} requestParameters Request parameters.
100202
+ * @param {*} [options] Override http request option.
100203
+ * @throws {RequiredError}
100204
+ */
100205
+ removeSeriesEvent(requestParameters: SeriesApiRemoveSeriesEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSeries200Response> {
100206
+ return localVarFp.removeSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(axios, basePath));
100207
+ },
100208
+ /**
100209
+ * Update Series endpoint
100210
+ * @summary Update Series
100211
+ * @param {SeriesApiUpdateSeriesRequest} requestParameters Request parameters.
100212
+ * @param {*} [options] Override http request option.
100213
+ * @throws {RequiredError}
100214
+ */
100215
+ updateSeries(requestParameters: SeriesApiUpdateSeriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSeries200Response> {
100216
+ return localVarFp.updateSeries(requestParameters.seriesId, requestParameters.series, options).then((request) => request(axios, basePath));
100217
+ },
100218
+ };
100219
+ };
100220
+
100221
+ /**
100222
+ * Request parameters for addSeriesEvent operation in SeriesApi.
100223
+ */
100224
+ export interface SeriesApiAddSeriesEventRequest {
100225
+ /**
100226
+ * The series identifier
100227
+ */
100228
+ readonly seriesId: string
100229
+
100230
+ /**
100231
+ * The event identifier
100232
+ */
100233
+ readonly eventId: string
100234
+ }
100235
+
100236
+ /**
100237
+ * Request parameters for createSeries operation in SeriesApi.
100238
+ */
100239
+ export interface SeriesApiCreateSeriesRequest {
100240
+ readonly seriesCreateInputs: SeriesCreateInputs
100241
+ }
100242
+
100243
+ /**
100244
+ * Request parameters for deleteSeries operation in SeriesApi.
100245
+ */
100246
+ export interface SeriesApiDeleteSeriesRequest {
100247
+ /**
100248
+ * The series identifier
100249
+ */
100250
+ readonly seriesId: string
100251
+ }
100252
+
100253
+ /**
100254
+ * Request parameters for getSeries operation in SeriesApi.
100255
+ */
100256
+ export interface SeriesApiGetSeriesRequest {
100257
+ /**
100258
+ * The series identifier
100259
+ */
100260
+ readonly seriesId: string
100261
+ }
100262
+
100263
+ /**
100264
+ * Request parameters for getSeriesEvents operation in SeriesApi.
100265
+ */
100266
+ export interface SeriesApiGetSeriesEventsRequest {
100267
+ /**
100268
+ * The series identifier
100269
+ */
100270
+ readonly seriesId: string
100271
+
100272
+ /**
100273
+ * Page number
100274
+ */
100275
+ readonly page?: number
100276
+
100277
+ /**
100278
+ * Number of items per page
100279
+ */
100280
+ readonly pageSize?: number
100281
+
100282
+ /**
100283
+ * Field to order by
100284
+ */
100285
+ readonly orderBy?: string
100286
+
100287
+ /**
100288
+ * Search query
100289
+ */
100290
+ readonly search?: string
100291
+ }
100292
+
100293
+ /**
100294
+ * Request parameters for getSeriesList operation in SeriesApi.
100295
+ */
100296
+ export interface SeriesApiGetSeriesListRequest {
100297
+ /**
100298
+ * Page number
100299
+ */
100300
+ readonly page?: number
100301
+
100302
+ /**
100303
+ * Number of items per page
100304
+ */
100305
+ readonly pageSize?: number
100306
+
100307
+ /**
100308
+ * Field to order by
100309
+ */
100310
+ readonly orderBy?: string
100311
+
100312
+ /**
100313
+ * Search query
100314
+ */
100315
+ readonly search?: string
100316
+ }
100317
+
100318
+ /**
100319
+ * Request parameters for removeSeriesEvent operation in SeriesApi.
100320
+ */
100321
+ export interface SeriesApiRemoveSeriesEventRequest {
100322
+ /**
100323
+ * The series identifier
100324
+ */
100325
+ readonly seriesId: string
100326
+
100327
+ /**
100328
+ * The event identifier
100329
+ */
100330
+ readonly eventId: string
100331
+ }
100332
+
100333
+ /**
100334
+ * Request parameters for updateSeries operation in SeriesApi.
100335
+ */
100336
+ export interface SeriesApiUpdateSeriesRequest {
100337
+ /**
100338
+ * The series identifier
100339
+ */
100340
+ readonly seriesId: string
100341
+
100342
+ /**
100343
+ * Filter by series
100344
+ */
100345
+ readonly series: SeriesUpdateInputs
100346
+ }
100347
+
100348
+ /**
100349
+ * SeriesApi - object-oriented interface
100350
+ */
100351
+ export class SeriesApi extends BaseAPI {
100352
+ /**
100353
+ * Add Series Event endpoint
100354
+ * @summary Add Series Event
100355
+ * @param {SeriesApiAddSeriesEventRequest} requestParameters Request parameters.
100356
+ * @param {*} [options] Override http request option.
100357
+ * @throws {RequiredError}
100358
+ */
100359
+ public addSeriesEvent(requestParameters: SeriesApiAddSeriesEventRequest, options?: RawAxiosRequestConfig) {
100360
+ return SeriesApiFp(this.configuration).addSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
100361
+ }
100362
+
100363
+ /**
100364
+ * Create Series endpoint
100365
+ * @summary Create Series
100366
+ * @param {SeriesApiCreateSeriesRequest} requestParameters Request parameters.
100367
+ * @param {*} [options] Override http request option.
100368
+ * @throws {RequiredError}
100369
+ */
100370
+ public createSeries(requestParameters: SeriesApiCreateSeriesRequest, options?: RawAxiosRequestConfig) {
100371
+ return SeriesApiFp(this.configuration).createSeries(requestParameters.seriesCreateInputs, options).then((request) => request(this.axios, this.basePath));
100372
+ }
100373
+
100374
+ /**
100375
+ * Delete Series endpoint
100376
+ * @summary Delete Series
100377
+ * @param {SeriesApiDeleteSeriesRequest} requestParameters Request parameters.
100378
+ * @param {*} [options] Override http request option.
100379
+ * @throws {RequiredError}
100380
+ */
100381
+ public deleteSeries(requestParameters: SeriesApiDeleteSeriesRequest, options?: RawAxiosRequestConfig) {
100382
+ return SeriesApiFp(this.configuration).deleteSeries(requestParameters.seriesId, options).then((request) => request(this.axios, this.basePath));
100383
+ }
100384
+
100385
+ /**
100386
+ * Get Series endpoint
100387
+ * @summary Get Series
100388
+ * @param {SeriesApiGetSeriesRequest} requestParameters Request parameters.
100389
+ * @param {*} [options] Override http request option.
100390
+ * @throws {RequiredError}
100391
+ */
100392
+ public getSeries(requestParameters: SeriesApiGetSeriesRequest, options?: RawAxiosRequestConfig) {
100393
+ return SeriesApiFp(this.configuration).getSeries(requestParameters.seriesId, options).then((request) => request(this.axios, this.basePath));
100394
+ }
100395
+
100396
+ /**
100397
+ * Get Series Events endpoint
100398
+ * @summary Get Series Events
100399
+ * @param {SeriesApiGetSeriesEventsRequest} requestParameters Request parameters.
100400
+ * @param {*} [options] Override http request option.
100401
+ * @throws {RequiredError}
100402
+ */
100403
+ public getSeriesEvents(requestParameters: SeriesApiGetSeriesEventsRequest, options?: RawAxiosRequestConfig) {
100404
+ return SeriesApiFp(this.configuration).getSeriesEvents(requestParameters.seriesId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
100405
+ }
100406
+
100407
+ /**
100408
+ * Get Series List endpoint
100409
+ * @summary Get Series List
100410
+ * @param {SeriesApiGetSeriesListRequest} requestParameters Request parameters.
100411
+ * @param {*} [options] Override http request option.
100412
+ * @throws {RequiredError}
100413
+ */
100414
+ public getSeriesList(requestParameters: SeriesApiGetSeriesListRequest = {}, options?: RawAxiosRequestConfig) {
100415
+ return SeriesApiFp(this.configuration).getSeriesList(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
100416
+ }
100417
+
100418
+ /**
100419
+ * Remove Series Event endpoint
100420
+ * @summary Remove Series Event
100421
+ * @param {SeriesApiRemoveSeriesEventRequest} requestParameters Request parameters.
100422
+ * @param {*} [options] Override http request option.
100423
+ * @throws {RequiredError}
100424
+ */
100425
+ public removeSeriesEvent(requestParameters: SeriesApiRemoveSeriesEventRequest, options?: RawAxiosRequestConfig) {
100426
+ return SeriesApiFp(this.configuration).removeSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
100427
+ }
100428
+
100429
+ /**
100430
+ * Update Series endpoint
100431
+ * @summary Update Series
100432
+ * @param {SeriesApiUpdateSeriesRequest} requestParameters Request parameters.
100433
+ * @param {*} [options] Override http request option.
100434
+ * @throws {RequiredError}
100435
+ */
100436
+ public updateSeries(requestParameters: SeriesApiUpdateSeriesRequest, options?: RawAxiosRequestConfig) {
100437
+ return SeriesApiFp(this.configuration).updateSeries(requestParameters.seriesId, requestParameters.series, options).then((request) => request(this.axios, this.basePath));
100438
+ }
100439
+ }
100440
+
100441
+
100442
+
100443
+ /**
100444
+ * SeriesRegistrationsApi - axios parameter creator
100445
+ */
100446
+ export const SeriesRegistrationsApiAxiosParamCreator = function (configuration?: Configuration) {
100447
+ return {
100448
+ /**
100449
+ * Create Series Registration endpoint
100450
+ * @summary Create Series Registration
100451
+ * @param {string} seriesId The series identifier
100452
+ * @param {SeriesRegistrationCreateInputs} seriesRegistrationCreateInputs
100453
+ * @param {*} [options] Override http request option.
100454
+ * @throws {RequiredError}
100455
+ */
100456
+ createSeriesRegistration: async (seriesId: string, seriesRegistrationCreateInputs: SeriesRegistrationCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
100457
+ // verify required parameter 'seriesId' is not null or undefined
100458
+ assertParamExists('createSeriesRegistration', 'seriesId', seriesId)
100459
+ // verify required parameter 'seriesRegistrationCreateInputs' is not null or undefined
100460
+ assertParamExists('createSeriesRegistration', 'seriesRegistrationCreateInputs', seriesRegistrationCreateInputs)
100461
+ const localVarPath = `/series/{seriesId}/registrations`
100462
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
100463
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
100464
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
100465
+ let baseOptions;
100466
+ if (configuration) {
100467
+ baseOptions = configuration.baseOptions;
100468
+ }
100469
+
100470
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
100471
+ const localVarHeaderParameter = {} as any;
100472
+ const localVarQueryParameter = {} as any;
100473
+
100474
+ // authentication ApiKeyAuth required
100475
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
100476
+
100477
+ // authentication OrganizationId required
100478
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
100479
+
100480
+ localVarHeaderParameter['Content-Type'] = 'application/json';
100481
+ localVarHeaderParameter['Accept'] = 'application/json';
100482
+
100483
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
100484
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
100485
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
100486
+ localVarRequestOptions.data = serializeDataIfNeeded(seriesRegistrationCreateInputs, localVarRequestOptions, configuration)
100487
+
100488
+ return {
100489
+ url: toPathString(localVarUrlObj),
100490
+ options: localVarRequestOptions,
100491
+ };
100492
+ },
100493
+ /**
100494
+ * Delete Series Registration endpoint
100495
+ * @summary Delete Series Registration
100496
+ * @param {string} seriesId The series identifier
100497
+ * @param {string} registrationId The registration identifier
100498
+ * @param {*} [options] Override http request option.
100499
+ * @throws {RequiredError}
100500
+ */
100501
+ deleteSeriesRegistration: async (seriesId: string, registrationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
100502
+ // verify required parameter 'seriesId' is not null or undefined
100503
+ assertParamExists('deleteSeriesRegistration', 'seriesId', seriesId)
100504
+ // verify required parameter 'registrationId' is not null or undefined
100505
+ assertParamExists('deleteSeriesRegistration', 'registrationId', registrationId)
100506
+ const localVarPath = `/series/{seriesId}/registrations/{registrationId}`
100507
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
100508
+ .replace(`{${"registrationId"}}`, encodeURIComponent(String(registrationId)));
100509
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
100510
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
100511
+ let baseOptions;
100512
+ if (configuration) {
100513
+ baseOptions = configuration.baseOptions;
100514
+ }
100515
+
100516
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
100517
+ const localVarHeaderParameter = {} as any;
100518
+ const localVarQueryParameter = {} as any;
100519
+
100520
+ // authentication ApiKeyAuth required
100521
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
100522
+
100523
+ // authentication OrganizationId required
100524
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
100525
+
100526
+ localVarHeaderParameter['Accept'] = 'application/json';
100527
+
100528
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
100529
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
100530
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
100531
+
100532
+ return {
100533
+ url: toPathString(localVarUrlObj),
100534
+ options: localVarRequestOptions,
100535
+ };
100536
+ },
100537
+ /**
100538
+ * Get Series Registration endpoint
100539
+ * @summary Get Series Registration
100540
+ * @param {string} seriesId The series identifier
100541
+ * @param {string} registrationId The registration identifier
100542
+ * @param {*} [options] Override http request option.
100543
+ * @throws {RequiredError}
100544
+ */
100545
+ getSeriesRegistration: async (seriesId: string, registrationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
100546
+ // verify required parameter 'seriesId' is not null or undefined
100547
+ assertParamExists('getSeriesRegistration', 'seriesId', seriesId)
100548
+ // verify required parameter 'registrationId' is not null or undefined
100549
+ assertParamExists('getSeriesRegistration', 'registrationId', registrationId)
100550
+ const localVarPath = `/series/{seriesId}/registrations/{registrationId}`
100551
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
100552
+ .replace(`{${"registrationId"}}`, encodeURIComponent(String(registrationId)));
100553
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
100554
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
100555
+ let baseOptions;
100556
+ if (configuration) {
100557
+ baseOptions = configuration.baseOptions;
100558
+ }
100559
+
100560
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
100561
+ const localVarHeaderParameter = {} as any;
100562
+ const localVarQueryParameter = {} as any;
100563
+
100564
+ // authentication ApiKeyAuth required
100565
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
100566
+
100567
+ // authentication OrganizationId required
100568
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
100569
+
100570
+ localVarHeaderParameter['Accept'] = 'application/json';
100571
+
100572
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
100573
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
100574
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
100575
+
100576
+ return {
100577
+ url: toPathString(localVarUrlObj),
100578
+ options: localVarRequestOptions,
100579
+ };
100580
+ },
100581
+ /**
100582
+ * Get Series Registration Passes endpoint
100583
+ * @summary Get Series Registration Passes
100584
+ * @param {string} seriesId The series identifier
100585
+ * @param {string} registrationId The registration identifier
100586
+ * @param {*} [options] Override http request option.
100587
+ * @throws {RequiredError}
100588
+ */
100589
+ getSeriesRegistrationPasses: async (seriesId: string, registrationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
100590
+ // verify required parameter 'seriesId' is not null or undefined
100591
+ assertParamExists('getSeriesRegistrationPasses', 'seriesId', seriesId)
100592
+ // verify required parameter 'registrationId' is not null or undefined
100593
+ assertParamExists('getSeriesRegistrationPasses', 'registrationId', registrationId)
100594
+ const localVarPath = `/series/{seriesId}/registrations/{registrationId}/passes`
100595
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
100596
+ .replace(`{${"registrationId"}}`, encodeURIComponent(String(registrationId)));
100597
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
100598
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
100599
+ let baseOptions;
100600
+ if (configuration) {
100601
+ baseOptions = configuration.baseOptions;
100602
+ }
100603
+
100604
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
100605
+ const localVarHeaderParameter = {} as any;
100606
+ const localVarQueryParameter = {} as any;
100607
+
100608
+ // authentication ApiKeyAuth required
100609
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
100610
+
100611
+ // authentication OrganizationId required
100612
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
100613
+
100614
+ localVarHeaderParameter['Accept'] = 'application/json';
100615
+
100616
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
100617
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
100618
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
100619
+
100620
+ return {
100621
+ url: toPathString(localVarUrlObj),
100622
+ options: localVarRequestOptions,
100623
+ };
100624
+ },
100625
+ /**
100626
+ * Get Series Registrations endpoint
100627
+ * @summary Get Series Registrations
100628
+ * @param {string} seriesId The series identifier
100629
+ * @param {PurchaseStatus} [status] Filter by status
100630
+ * @param {number} [page] Page number
100631
+ * @param {number} [pageSize] Number of items per page
100632
+ * @param {string} [orderBy] Field to order by
100633
+ * @param {string} [search] Search query
100634
+ * @param {*} [options] Override http request option.
100635
+ * @throws {RequiredError}
100636
+ */
100637
+ getSeriesRegistrations: async (seriesId: string, status?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
100638
+ // verify required parameter 'seriesId' is not null or undefined
100639
+ assertParamExists('getSeriesRegistrations', 'seriesId', seriesId)
100640
+ const localVarPath = `/series/{seriesId}/registrations`
100641
+ .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
100642
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
100643
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
100644
+ let baseOptions;
100645
+ if (configuration) {
100646
+ baseOptions = configuration.baseOptions;
100647
+ }
100648
+
100649
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
100650
+ const localVarHeaderParameter = {} as any;
100651
+ const localVarQueryParameter = {} as any;
100652
+
100653
+ // authentication ApiKeyAuth required
100654
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
100655
+
100656
+ // authentication OrganizationId required
100657
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
100658
+
100659
+ if (status !== undefined) {
100660
+ localVarQueryParameter['status'] = status;
100661
+ }
100662
+
100663
+ if (page !== undefined) {
100664
+ localVarQueryParameter['page'] = page;
100665
+ }
100666
+
100667
+ if (pageSize !== undefined) {
100668
+ localVarQueryParameter['pageSize'] = pageSize;
100669
+ }
100670
+
100671
+ if (orderBy !== undefined) {
100672
+ localVarQueryParameter['orderBy'] = orderBy;
100673
+ }
100674
+
100675
+ if (search !== undefined) {
100676
+ localVarQueryParameter['search'] = search;
100677
+ }
100678
+
100679
+ localVarHeaderParameter['Accept'] = 'application/json';
100680
+
100681
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
100682
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
100683
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
100684
+
100685
+ return {
100686
+ url: toPathString(localVarUrlObj),
100687
+ options: localVarRequestOptions,
100688
+ };
100689
+ },
100690
+ /**
100691
+ * Update Series Registration endpoint
100692
+ * @summary Update Series Registration
98531
100693
  * @param {string} seriesId The series identifier
98532
- * @param {string} eventId The event identifier
100694
+ * @param {string} registrationId The registration identifier
100695
+ * @param {SeriesRegistrationUpdateInputs} seriesRegistrationUpdateInputs
98533
100696
  * @param {*} [options] Override http request option.
98534
100697
  * @throws {RequiredError}
98535
100698
  */
98536
- removeSeriesEvent: async (seriesId: string, eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
100699
+ updateSeriesRegistration: async (seriesId: string, registrationId: string, seriesRegistrationUpdateInputs: SeriesRegistrationUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
98537
100700
  // verify required parameter 'seriesId' is not null or undefined
98538
- assertParamExists('removeSeriesEvent', 'seriesId', seriesId)
98539
- // verify required parameter 'eventId' is not null or undefined
98540
- assertParamExists('removeSeriesEvent', 'eventId', eventId)
98541
- const localVarPath = `/series/{seriesId}/events/{eventId}`
100701
+ assertParamExists('updateSeriesRegistration', 'seriesId', seriesId)
100702
+ // verify required parameter 'registrationId' is not null or undefined
100703
+ assertParamExists('updateSeriesRegistration', 'registrationId', registrationId)
100704
+ // verify required parameter 'seriesRegistrationUpdateInputs' is not null or undefined
100705
+ assertParamExists('updateSeriesRegistration', 'seriesRegistrationUpdateInputs', seriesRegistrationUpdateInputs)
100706
+ const localVarPath = `/series/{seriesId}/registrations/{registrationId}`
98542
100707
  .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)))
98543
- .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
98544
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
98545
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
98546
- let baseOptions;
98547
- if (configuration) {
98548
- baseOptions = configuration.baseOptions;
98549
- }
98550
-
98551
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
98552
- const localVarHeaderParameter = {} as any;
98553
- const localVarQueryParameter = {} as any;
98554
-
98555
- // authentication ApiKeyAuth required
98556
- await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
98557
-
98558
- // authentication OrganizationId required
98559
- await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
98560
-
98561
- localVarHeaderParameter['Accept'] = 'application/json';
98562
-
98563
- setSearchParams(localVarUrlObj, localVarQueryParameter);
98564
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
98565
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
98566
-
98567
- return {
98568
- url: toPathString(localVarUrlObj),
98569
- options: localVarRequestOptions,
98570
- };
98571
- },
98572
- /**
98573
- * Update Series endpoint
98574
- * @summary Update Series
98575
- * @param {string} seriesId The series identifier
98576
- * @param {SeriesUpdateInputs} series Filter by series
98577
- * @param {*} [options] Override http request option.
98578
- * @throws {RequiredError}
98579
- */
98580
- updateSeries: async (seriesId: string, series: SeriesUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
98581
- // verify required parameter 'seriesId' is not null or undefined
98582
- assertParamExists('updateSeries', 'seriesId', seriesId)
98583
- // verify required parameter 'series' is not null or undefined
98584
- assertParamExists('updateSeries', 'series', series)
98585
- const localVarPath = `/series/{seriesId}`
98586
- .replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
100708
+ .replace(`{${"registrationId"}}`, encodeURIComponent(String(registrationId)));
98587
100709
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
98588
100710
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
98589
100711
  let baseOptions;
@@ -98601,17 +100723,13 @@ export const SeriesApiAxiosParamCreator = function (configuration?: Configuratio
98601
100723
  // authentication OrganizationId required
98602
100724
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
98603
100725
 
98604
- if (series !== undefined) {
98605
- for (const [key, value] of Object.entries(series)) {
98606
- localVarQueryParameter[key] = value;
98607
- }
98608
- }
98609
-
100726
+ localVarHeaderParameter['Content-Type'] = 'application/json';
98610
100727
  localVarHeaderParameter['Accept'] = 'application/json';
98611
100728
 
98612
100729
  setSearchParams(localVarUrlObj, localVarQueryParameter);
98613
100730
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
98614
100731
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
100732
+ localVarRequestOptions.data = serializeDataIfNeeded(seriesRegistrationUpdateInputs, localVarRequestOptions, configuration)
98615
100733
 
98616
100734
  return {
98617
100735
  url: toPathString(localVarUrlObj),
@@ -98622,84 +100740,72 @@ export const SeriesApiAxiosParamCreator = function (configuration?: Configuratio
98622
100740
  };
98623
100741
 
98624
100742
  /**
98625
- * SeriesApi - functional programming interface
100743
+ * SeriesRegistrationsApi - functional programming interface
98626
100744
  */
98627
- export const SeriesApiFp = function(configuration?: Configuration) {
98628
- const localVarAxiosParamCreator = SeriesApiAxiosParamCreator(configuration)
100745
+ export const SeriesRegistrationsApiFp = function(configuration?: Configuration) {
100746
+ const localVarAxiosParamCreator = SeriesRegistrationsApiAxiosParamCreator(configuration)
98629
100747
  return {
98630
100748
  /**
98631
- * Add Series Event endpoint
98632
- * @summary Add Series Event
100749
+ * Create Series Registration endpoint
100750
+ * @summary Create Series Registration
98633
100751
  * @param {string} seriesId The series identifier
98634
- * @param {string} eventId The event identifier
98635
- * @param {*} [options] Override http request option.
98636
- * @throws {RequiredError}
98637
- */
98638
- async addSeriesEvent(seriesId: string, eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSeries200Response>> {
98639
- const localVarAxiosArgs = await localVarAxiosParamCreator.addSeriesEvent(seriesId, eventId, options);
98640
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
98641
- const localVarOperationServerBasePath = operationServerMap['SeriesApi.addSeriesEvent']?.[localVarOperationServerIndex]?.url;
98642
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
98643
- },
98644
- /**
98645
- * Create Series endpoint
98646
- * @summary Create Series
98647
- * @param {SeriesCreateInputs} seriesCreateInputs
100752
+ * @param {SeriesRegistrationCreateInputs} seriesRegistrationCreateInputs
98648
100753
  * @param {*} [options] Override http request option.
98649
100754
  * @throws {RequiredError}
98650
100755
  */
98651
- async createSeries(seriesCreateInputs: SeriesCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSeries200Response>> {
98652
- const localVarAxiosArgs = await localVarAxiosParamCreator.createSeries(seriesCreateInputs, options);
100756
+ async createSeriesRegistration(seriesId: string, seriesRegistrationCreateInputs: SeriesRegistrationCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
100757
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeriesRegistration(seriesId, seriesRegistrationCreateInputs, options);
98653
100758
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
98654
- const localVarOperationServerBasePath = operationServerMap['SeriesApi.createSeries']?.[localVarOperationServerIndex]?.url;
100759
+ const localVarOperationServerBasePath = operationServerMap['SeriesRegistrationsApi.createSeriesRegistration']?.[localVarOperationServerIndex]?.url;
98655
100760
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
98656
100761
  },
98657
100762
  /**
98658
- * Delete Series endpoint
98659
- * @summary Delete Series
100763
+ * Delete Series Registration endpoint
100764
+ * @summary Delete Series Registration
98660
100765
  * @param {string} seriesId The series identifier
100766
+ * @param {string} registrationId The registration identifier
98661
100767
  * @param {*} [options] Override http request option.
98662
100768
  * @throws {RequiredError}
98663
100769
  */
98664
- async deleteSeries(seriesId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
98665
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeries(seriesId, options);
100770
+ async deleteSeriesRegistration(seriesId: string, registrationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
100771
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeriesRegistration(seriesId, registrationId, options);
98666
100772
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
98667
- const localVarOperationServerBasePath = operationServerMap['SeriesApi.deleteSeries']?.[localVarOperationServerIndex]?.url;
100773
+ const localVarOperationServerBasePath = operationServerMap['SeriesRegistrationsApi.deleteSeriesRegistration']?.[localVarOperationServerIndex]?.url;
98668
100774
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
98669
100775
  },
98670
100776
  /**
98671
- * Get Series endpoint
98672
- * @summary Get Series
100777
+ * Get Series Registration endpoint
100778
+ * @summary Get Series Registration
98673
100779
  * @param {string} seriesId The series identifier
100780
+ * @param {string} registrationId The registration identifier
98674
100781
  * @param {*} [options] Override http request option.
98675
100782
  * @throws {RequiredError}
98676
100783
  */
98677
- async getSeries(seriesId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSeries200Response>> {
98678
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSeries(seriesId, options);
100784
+ async getSeriesRegistration(seriesId: string, registrationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
100785
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesRegistration(seriesId, registrationId, options);
98679
100786
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
98680
- const localVarOperationServerBasePath = operationServerMap['SeriesApi.getSeries']?.[localVarOperationServerIndex]?.url;
100787
+ const localVarOperationServerBasePath = operationServerMap['SeriesRegistrationsApi.getSeriesRegistration']?.[localVarOperationServerIndex]?.url;
98681
100788
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
98682
100789
  },
98683
100790
  /**
98684
- * Get Series Events endpoint
98685
- * @summary Get Series Events
100791
+ * Get Series Registration Passes endpoint
100792
+ * @summary Get Series Registration Passes
98686
100793
  * @param {string} seriesId The series identifier
98687
- * @param {number} [page] Page number
98688
- * @param {number} [pageSize] Number of items per page
98689
- * @param {string} [orderBy] Field to order by
98690
- * @param {string} [search] Search query
100794
+ * @param {string} registrationId The registration identifier
98691
100795
  * @param {*} [options] Override http request option.
98692
100796
  * @throws {RequiredError}
98693
100797
  */
98694
- async getSeriesEvents(seriesId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountEvents200Response>> {
98695
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesEvents(seriesId, page, pageSize, orderBy, search, options);
100798
+ async getSeriesRegistrationPasses(seriesId: string, registrationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
100799
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesRegistrationPasses(seriesId, registrationId, options);
98696
100800
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
98697
- const localVarOperationServerBasePath = operationServerMap['SeriesApi.getSeriesEvents']?.[localVarOperationServerIndex]?.url;
100801
+ const localVarOperationServerBasePath = operationServerMap['SeriesRegistrationsApi.getSeriesRegistrationPasses']?.[localVarOperationServerIndex]?.url;
98698
100802
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
98699
100803
  },
98700
100804
  /**
98701
- * Get Series List endpoint
98702
- * @summary Get Series List
100805
+ * Get Series Registrations endpoint
100806
+ * @summary Get Series Registrations
100807
+ * @param {string} seriesId The series identifier
100808
+ * @param {PurchaseStatus} [status] Filter by status
98703
100809
  * @param {number} [page] Page number
98704
100810
  * @param {number} [pageSize] Number of items per page
98705
100811
  * @param {string} [orderBy] Field to order by
@@ -98707,208 +100813,170 @@ export const SeriesApiFp = function(configuration?: Configuration) {
98707
100813
  * @param {*} [options] Override http request option.
98708
100814
  * @throws {RequiredError}
98709
100815
  */
98710
- async getSeriesList(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSeriesList200Response>> {
98711
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesList(page, pageSize, orderBy, search, options);
98712
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
98713
- const localVarOperationServerBasePath = operationServerMap['SeriesApi.getSeriesList']?.[localVarOperationServerIndex]?.url;
98714
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
98715
- },
98716
- /**
98717
- * Remove Series Event endpoint
98718
- * @summary Remove Series Event
98719
- * @param {string} seriesId The series identifier
98720
- * @param {string} eventId The event identifier
98721
- * @param {*} [options] Override http request option.
98722
- * @throws {RequiredError}
98723
- */
98724
- async removeSeriesEvent(seriesId: string, eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSeries200Response>> {
98725
- const localVarAxiosArgs = await localVarAxiosParamCreator.removeSeriesEvent(seriesId, eventId, options);
100816
+ async getSeriesRegistrations(seriesId: string, status?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountInvitations200Response>> {
100817
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesRegistrations(seriesId, status, page, pageSize, orderBy, search, options);
98726
100818
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
98727
- const localVarOperationServerBasePath = operationServerMap['SeriesApi.removeSeriesEvent']?.[localVarOperationServerIndex]?.url;
100819
+ const localVarOperationServerBasePath = operationServerMap['SeriesRegistrationsApi.getSeriesRegistrations']?.[localVarOperationServerIndex]?.url;
98728
100820
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
98729
100821
  },
98730
100822
  /**
98731
- * Update Series endpoint
98732
- * @summary Update Series
100823
+ * Update Series Registration endpoint
100824
+ * @summary Update Series Registration
98733
100825
  * @param {string} seriesId The series identifier
98734
- * @param {SeriesUpdateInputs} series Filter by series
100826
+ * @param {string} registrationId The registration identifier
100827
+ * @param {SeriesRegistrationUpdateInputs} seriesRegistrationUpdateInputs
98735
100828
  * @param {*} [options] Override http request option.
98736
100829
  * @throws {RequiredError}
98737
100830
  */
98738
- async updateSeries(seriesId: string, series: SeriesUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSeries200Response>> {
98739
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeries(seriesId, series, options);
100831
+ async updateSeriesRegistration(seriesId: string, registrationId: string, seriesRegistrationUpdateInputs: SeriesRegistrationUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
100832
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeriesRegistration(seriesId, registrationId, seriesRegistrationUpdateInputs, options);
98740
100833
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
98741
- const localVarOperationServerBasePath = operationServerMap['SeriesApi.updateSeries']?.[localVarOperationServerIndex]?.url;
100834
+ const localVarOperationServerBasePath = operationServerMap['SeriesRegistrationsApi.updateSeriesRegistration']?.[localVarOperationServerIndex]?.url;
98742
100835
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
98743
100836
  },
98744
100837
  }
98745
100838
  };
98746
100839
 
98747
100840
  /**
98748
- * SeriesApi - factory interface
100841
+ * SeriesRegistrationsApi - factory interface
98749
100842
  */
98750
- export const SeriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
98751
- const localVarFp = SeriesApiFp(configuration)
100843
+ export const SeriesRegistrationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
100844
+ const localVarFp = SeriesRegistrationsApiFp(configuration)
98752
100845
  return {
98753
100846
  /**
98754
- * Add Series Event endpoint
98755
- * @summary Add Series Event
98756
- * @param {SeriesApiAddSeriesEventRequest} requestParameters Request parameters.
98757
- * @param {*} [options] Override http request option.
98758
- * @throws {RequiredError}
98759
- */
98760
- addSeriesEvent(requestParameters: SeriesApiAddSeriesEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSeries200Response> {
98761
- return localVarFp.addSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(axios, basePath));
98762
- },
98763
- /**
98764
- * Create Series endpoint
98765
- * @summary Create Series
98766
- * @param {SeriesApiCreateSeriesRequest} requestParameters Request parameters.
98767
- * @param {*} [options] Override http request option.
98768
- * @throws {RequiredError}
98769
- */
98770
- createSeries(requestParameters: SeriesApiCreateSeriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSeries200Response> {
98771
- return localVarFp.createSeries(requestParameters.seriesCreateInputs, options).then((request) => request(axios, basePath));
98772
- },
98773
- /**
98774
- * Delete Series endpoint
98775
- * @summary Delete Series
98776
- * @param {SeriesApiDeleteSeriesRequest} requestParameters Request parameters.
100847
+ * Create Series Registration endpoint
100848
+ * @summary Create Series Registration
100849
+ * @param {SeriesRegistrationsApiCreateSeriesRegistrationRequest} requestParameters Request parameters.
98777
100850
  * @param {*} [options] Override http request option.
98778
100851
  * @throws {RequiredError}
98779
100852
  */
98780
- deleteSeries(requestParameters: SeriesApiDeleteSeriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
98781
- return localVarFp.deleteSeries(requestParameters.seriesId, options).then((request) => request(axios, basePath));
100853
+ createSeriesRegistration(requestParameters: SeriesRegistrationsApiCreateSeriesRegistrationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
100854
+ return localVarFp.createSeriesRegistration(requestParameters.seriesId, requestParameters.seriesRegistrationCreateInputs, options).then((request) => request(axios, basePath));
98782
100855
  },
98783
100856
  /**
98784
- * Get Series endpoint
98785
- * @summary Get Series
98786
- * @param {SeriesApiGetSeriesRequest} requestParameters Request parameters.
100857
+ * Delete Series Registration endpoint
100858
+ * @summary Delete Series Registration
100859
+ * @param {SeriesRegistrationsApiDeleteSeriesRegistrationRequest} requestParameters Request parameters.
98787
100860
  * @param {*} [options] Override http request option.
98788
100861
  * @throws {RequiredError}
98789
100862
  */
98790
- getSeries(requestParameters: SeriesApiGetSeriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSeries200Response> {
98791
- return localVarFp.getSeries(requestParameters.seriesId, options).then((request) => request(axios, basePath));
100863
+ deleteSeriesRegistration(requestParameters: SeriesRegistrationsApiDeleteSeriesRegistrationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
100864
+ return localVarFp.deleteSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(axios, basePath));
98792
100865
  },
98793
100866
  /**
98794
- * Get Series Events endpoint
98795
- * @summary Get Series Events
98796
- * @param {SeriesApiGetSeriesEventsRequest} requestParameters Request parameters.
100867
+ * Get Series Registration endpoint
100868
+ * @summary Get Series Registration
100869
+ * @param {SeriesRegistrationsApiGetSeriesRegistrationRequest} requestParameters Request parameters.
98797
100870
  * @param {*} [options] Override http request option.
98798
100871
  * @throws {RequiredError}
98799
100872
  */
98800
- getSeriesEvents(requestParameters: SeriesApiGetSeriesEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountEvents200Response> {
98801
- return localVarFp.getSeriesEvents(requestParameters.seriesId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
100873
+ getSeriesRegistration(requestParameters: SeriesRegistrationsApiGetSeriesRegistrationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
100874
+ return localVarFp.getSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(axios, basePath));
98802
100875
  },
98803
100876
  /**
98804
- * Get Series List endpoint
98805
- * @summary Get Series List
98806
- * @param {SeriesApiGetSeriesListRequest} requestParameters Request parameters.
100877
+ * Get Series Registration Passes endpoint
100878
+ * @summary Get Series Registration Passes
100879
+ * @param {SeriesRegistrationsApiGetSeriesRegistrationPassesRequest} requestParameters Request parameters.
98807
100880
  * @param {*} [options] Override http request option.
98808
100881
  * @throws {RequiredError}
98809
100882
  */
98810
- getSeriesList(requestParameters: SeriesApiGetSeriesListRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetSeriesList200Response> {
98811
- return localVarFp.getSeriesList(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
100883
+ getSeriesRegistrationPasses(requestParameters: SeriesRegistrationsApiGetSeriesRegistrationPassesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
100884
+ return localVarFp.getSeriesRegistrationPasses(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(axios, basePath));
98812
100885
  },
98813
100886
  /**
98814
- * Remove Series Event endpoint
98815
- * @summary Remove Series Event
98816
- * @param {SeriesApiRemoveSeriesEventRequest} requestParameters Request parameters.
100887
+ * Get Series Registrations endpoint
100888
+ * @summary Get Series Registrations
100889
+ * @param {SeriesRegistrationsApiGetSeriesRegistrationsRequest} requestParameters Request parameters.
98817
100890
  * @param {*} [options] Override http request option.
98818
100891
  * @throws {RequiredError}
98819
100892
  */
98820
- removeSeriesEvent(requestParameters: SeriesApiRemoveSeriesEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSeries200Response> {
98821
- return localVarFp.removeSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(axios, basePath));
100893
+ getSeriesRegistrations(requestParameters: SeriesRegistrationsApiGetSeriesRegistrationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountInvitations200Response> {
100894
+ return localVarFp.getSeriesRegistrations(requestParameters.seriesId, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
98822
100895
  },
98823
100896
  /**
98824
- * Update Series endpoint
98825
- * @summary Update Series
98826
- * @param {SeriesApiUpdateSeriesRequest} requestParameters Request parameters.
100897
+ * Update Series Registration endpoint
100898
+ * @summary Update Series Registration
100899
+ * @param {SeriesRegistrationsApiUpdateSeriesRegistrationRequest} requestParameters Request parameters.
98827
100900
  * @param {*} [options] Override http request option.
98828
100901
  * @throws {RequiredError}
98829
100902
  */
98830
- updateSeries(requestParameters: SeriesApiUpdateSeriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSeries200Response> {
98831
- return localVarFp.updateSeries(requestParameters.seriesId, requestParameters.series, options).then((request) => request(axios, basePath));
100903
+ updateSeriesRegistration(requestParameters: SeriesRegistrationsApiUpdateSeriesRegistrationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
100904
+ return localVarFp.updateSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, requestParameters.seriesRegistrationUpdateInputs, options).then((request) => request(axios, basePath));
98832
100905
  },
98833
100906
  };
98834
100907
  };
98835
100908
 
98836
100909
  /**
98837
- * Request parameters for addSeriesEvent operation in SeriesApi.
100910
+ * Request parameters for createSeriesRegistration operation in SeriesRegistrationsApi.
98838
100911
  */
98839
- export interface SeriesApiAddSeriesEventRequest {
100912
+ export interface SeriesRegistrationsApiCreateSeriesRegistrationRequest {
98840
100913
  /**
98841
100914
  * The series identifier
98842
100915
  */
98843
100916
  readonly seriesId: string
98844
100917
 
98845
- /**
98846
- * The event identifier
98847
- */
98848
- readonly eventId: string
98849
- }
98850
-
98851
- /**
98852
- * Request parameters for createSeries operation in SeriesApi.
98853
- */
98854
- export interface SeriesApiCreateSeriesRequest {
98855
- readonly seriesCreateInputs: SeriesCreateInputs
100918
+ readonly seriesRegistrationCreateInputs: SeriesRegistrationCreateInputs
98856
100919
  }
98857
100920
 
98858
100921
  /**
98859
- * Request parameters for deleteSeries operation in SeriesApi.
100922
+ * Request parameters for deleteSeriesRegistration operation in SeriesRegistrationsApi.
98860
100923
  */
98861
- export interface SeriesApiDeleteSeriesRequest {
100924
+ export interface SeriesRegistrationsApiDeleteSeriesRegistrationRequest {
98862
100925
  /**
98863
100926
  * The series identifier
98864
100927
  */
98865
100928
  readonly seriesId: string
100929
+
100930
+ /**
100931
+ * The registration identifier
100932
+ */
100933
+ readonly registrationId: string
98866
100934
  }
98867
100935
 
98868
100936
  /**
98869
- * Request parameters for getSeries operation in SeriesApi.
100937
+ * Request parameters for getSeriesRegistration operation in SeriesRegistrationsApi.
98870
100938
  */
98871
- export interface SeriesApiGetSeriesRequest {
100939
+ export interface SeriesRegistrationsApiGetSeriesRegistrationRequest {
98872
100940
  /**
98873
100941
  * The series identifier
98874
100942
  */
98875
100943
  readonly seriesId: string
100944
+
100945
+ /**
100946
+ * The registration identifier
100947
+ */
100948
+ readonly registrationId: string
98876
100949
  }
98877
100950
 
98878
100951
  /**
98879
- * Request parameters for getSeriesEvents operation in SeriesApi.
100952
+ * Request parameters for getSeriesRegistrationPasses operation in SeriesRegistrationsApi.
98880
100953
  */
98881
- export interface SeriesApiGetSeriesEventsRequest {
100954
+ export interface SeriesRegistrationsApiGetSeriesRegistrationPassesRequest {
98882
100955
  /**
98883
100956
  * The series identifier
98884
100957
  */
98885
100958
  readonly seriesId: string
98886
100959
 
98887
100960
  /**
98888
- * Page number
98889
- */
98890
- readonly page?: number
98891
-
98892
- /**
98893
- * Number of items per page
100961
+ * The registration identifier
98894
100962
  */
98895
- readonly pageSize?: number
100963
+ readonly registrationId: string
100964
+ }
98896
100965
 
100966
+ /**
100967
+ * Request parameters for getSeriesRegistrations operation in SeriesRegistrationsApi.
100968
+ */
100969
+ export interface SeriesRegistrationsApiGetSeriesRegistrationsRequest {
98897
100970
  /**
98898
- * Field to order by
100971
+ * The series identifier
98899
100972
  */
98900
- readonly orderBy?: string
100973
+ readonly seriesId: string
98901
100974
 
98902
100975
  /**
98903
- * Search query
100976
+ * Filter by status
98904
100977
  */
98905
- readonly search?: string
98906
- }
100978
+ readonly status?: PurchaseStatus
98907
100979
 
98908
- /**
98909
- * Request parameters for getSeriesList operation in SeriesApi.
98910
- */
98911
- export interface SeriesApiGetSeriesListRequest {
98912
100980
  /**
98913
100981
  * Page number
98914
100982
  */
@@ -98931,125 +100999,90 @@ export interface SeriesApiGetSeriesListRequest {
98931
100999
  }
98932
101000
 
98933
101001
  /**
98934
- * Request parameters for removeSeriesEvent operation in SeriesApi.
101002
+ * Request parameters for updateSeriesRegistration operation in SeriesRegistrationsApi.
98935
101003
  */
98936
- export interface SeriesApiRemoveSeriesEventRequest {
101004
+ export interface SeriesRegistrationsApiUpdateSeriesRegistrationRequest {
98937
101005
  /**
98938
101006
  * The series identifier
98939
101007
  */
98940
101008
  readonly seriesId: string
98941
101009
 
98942
101010
  /**
98943
- * The event identifier
98944
- */
98945
- readonly eventId: string
98946
- }
98947
-
98948
- /**
98949
- * Request parameters for updateSeries operation in SeriesApi.
98950
- */
98951
- export interface SeriesApiUpdateSeriesRequest {
98952
- /**
98953
- * The series identifier
101011
+ * The registration identifier
98954
101012
  */
98955
- readonly seriesId: string
101013
+ readonly registrationId: string
98956
101014
 
98957
- /**
98958
- * Filter by series
98959
- */
98960
- readonly series: SeriesUpdateInputs
101015
+ readonly seriesRegistrationUpdateInputs: SeriesRegistrationUpdateInputs
98961
101016
  }
98962
101017
 
98963
101018
  /**
98964
- * SeriesApi - object-oriented interface
101019
+ * SeriesRegistrationsApi - object-oriented interface
98965
101020
  */
98966
- export class SeriesApi extends BaseAPI {
98967
- /**
98968
- * Add Series Event endpoint
98969
- * @summary Add Series Event
98970
- * @param {SeriesApiAddSeriesEventRequest} requestParameters Request parameters.
98971
- * @param {*} [options] Override http request option.
98972
- * @throws {RequiredError}
98973
- */
98974
- public addSeriesEvent(requestParameters: SeriesApiAddSeriesEventRequest, options?: RawAxiosRequestConfig) {
98975
- return SeriesApiFp(this.configuration).addSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
98976
- }
98977
-
98978
- /**
98979
- * Create Series endpoint
98980
- * @summary Create Series
98981
- * @param {SeriesApiCreateSeriesRequest} requestParameters Request parameters.
98982
- * @param {*} [options] Override http request option.
98983
- * @throws {RequiredError}
98984
- */
98985
- public createSeries(requestParameters: SeriesApiCreateSeriesRequest, options?: RawAxiosRequestConfig) {
98986
- return SeriesApiFp(this.configuration).createSeries(requestParameters.seriesCreateInputs, options).then((request) => request(this.axios, this.basePath));
98987
- }
98988
-
101021
+ export class SeriesRegistrationsApi extends BaseAPI {
98989
101022
  /**
98990
- * Delete Series endpoint
98991
- * @summary Delete Series
98992
- * @param {SeriesApiDeleteSeriesRequest} requestParameters Request parameters.
101023
+ * Create Series Registration endpoint
101024
+ * @summary Create Series Registration
101025
+ * @param {SeriesRegistrationsApiCreateSeriesRegistrationRequest} requestParameters Request parameters.
98993
101026
  * @param {*} [options] Override http request option.
98994
101027
  * @throws {RequiredError}
98995
101028
  */
98996
- public deleteSeries(requestParameters: SeriesApiDeleteSeriesRequest, options?: RawAxiosRequestConfig) {
98997
- return SeriesApiFp(this.configuration).deleteSeries(requestParameters.seriesId, options).then((request) => request(this.axios, this.basePath));
101029
+ public createSeriesRegistration(requestParameters: SeriesRegistrationsApiCreateSeriesRegistrationRequest, options?: RawAxiosRequestConfig) {
101030
+ return SeriesRegistrationsApiFp(this.configuration).createSeriesRegistration(requestParameters.seriesId, requestParameters.seriesRegistrationCreateInputs, options).then((request) => request(this.axios, this.basePath));
98998
101031
  }
98999
101032
 
99000
101033
  /**
99001
- * Get Series endpoint
99002
- * @summary Get Series
99003
- * @param {SeriesApiGetSeriesRequest} requestParameters Request parameters.
101034
+ * Delete Series Registration endpoint
101035
+ * @summary Delete Series Registration
101036
+ * @param {SeriesRegistrationsApiDeleteSeriesRegistrationRequest} requestParameters Request parameters.
99004
101037
  * @param {*} [options] Override http request option.
99005
101038
  * @throws {RequiredError}
99006
101039
  */
99007
- public getSeries(requestParameters: SeriesApiGetSeriesRequest, options?: RawAxiosRequestConfig) {
99008
- return SeriesApiFp(this.configuration).getSeries(requestParameters.seriesId, options).then((request) => request(this.axios, this.basePath));
101040
+ public deleteSeriesRegistration(requestParameters: SeriesRegistrationsApiDeleteSeriesRegistrationRequest, options?: RawAxiosRequestConfig) {
101041
+ return SeriesRegistrationsApiFp(this.configuration).deleteSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(this.axios, this.basePath));
99009
101042
  }
99010
101043
 
99011
101044
  /**
99012
- * Get Series Events endpoint
99013
- * @summary Get Series Events
99014
- * @param {SeriesApiGetSeriesEventsRequest} requestParameters Request parameters.
101045
+ * Get Series Registration endpoint
101046
+ * @summary Get Series Registration
101047
+ * @param {SeriesRegistrationsApiGetSeriesRegistrationRequest} requestParameters Request parameters.
99015
101048
  * @param {*} [options] Override http request option.
99016
101049
  * @throws {RequiredError}
99017
101050
  */
99018
- public getSeriesEvents(requestParameters: SeriesApiGetSeriesEventsRequest, options?: RawAxiosRequestConfig) {
99019
- return SeriesApiFp(this.configuration).getSeriesEvents(requestParameters.seriesId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
101051
+ public getSeriesRegistration(requestParameters: SeriesRegistrationsApiGetSeriesRegistrationRequest, options?: RawAxiosRequestConfig) {
101052
+ return SeriesRegistrationsApiFp(this.configuration).getSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(this.axios, this.basePath));
99020
101053
  }
99021
101054
 
99022
101055
  /**
99023
- * Get Series List endpoint
99024
- * @summary Get Series List
99025
- * @param {SeriesApiGetSeriesListRequest} requestParameters Request parameters.
101056
+ * Get Series Registration Passes endpoint
101057
+ * @summary Get Series Registration Passes
101058
+ * @param {SeriesRegistrationsApiGetSeriesRegistrationPassesRequest} requestParameters Request parameters.
99026
101059
  * @param {*} [options] Override http request option.
99027
101060
  * @throws {RequiredError}
99028
101061
  */
99029
- public getSeriesList(requestParameters: SeriesApiGetSeriesListRequest = {}, options?: RawAxiosRequestConfig) {
99030
- return SeriesApiFp(this.configuration).getSeriesList(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
101062
+ public getSeriesRegistrationPasses(requestParameters: SeriesRegistrationsApiGetSeriesRegistrationPassesRequest, options?: RawAxiosRequestConfig) {
101063
+ return SeriesRegistrationsApiFp(this.configuration).getSeriesRegistrationPasses(requestParameters.seriesId, requestParameters.registrationId, options).then((request) => request(this.axios, this.basePath));
99031
101064
  }
99032
101065
 
99033
101066
  /**
99034
- * Remove Series Event endpoint
99035
- * @summary Remove Series Event
99036
- * @param {SeriesApiRemoveSeriesEventRequest} requestParameters Request parameters.
101067
+ * Get Series Registrations endpoint
101068
+ * @summary Get Series Registrations
101069
+ * @param {SeriesRegistrationsApiGetSeriesRegistrationsRequest} requestParameters Request parameters.
99037
101070
  * @param {*} [options] Override http request option.
99038
101071
  * @throws {RequiredError}
99039
101072
  */
99040
- public removeSeriesEvent(requestParameters: SeriesApiRemoveSeriesEventRequest, options?: RawAxiosRequestConfig) {
99041
- return SeriesApiFp(this.configuration).removeSeriesEvent(requestParameters.seriesId, requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
101073
+ public getSeriesRegistrations(requestParameters: SeriesRegistrationsApiGetSeriesRegistrationsRequest, options?: RawAxiosRequestConfig) {
101074
+ 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));
99042
101075
  }
99043
101076
 
99044
101077
  /**
99045
- * Update Series endpoint
99046
- * @summary Update Series
99047
- * @param {SeriesApiUpdateSeriesRequest} requestParameters Request parameters.
101078
+ * Update Series Registration endpoint
101079
+ * @summary Update Series Registration
101080
+ * @param {SeriesRegistrationsApiUpdateSeriesRegistrationRequest} requestParameters Request parameters.
99048
101081
  * @param {*} [options] Override http request option.
99049
101082
  * @throws {RequiredError}
99050
101083
  */
99051
- public updateSeries(requestParameters: SeriesApiUpdateSeriesRequest, options?: RawAxiosRequestConfig) {
99052
- return SeriesApiFp(this.configuration).updateSeries(requestParameters.seriesId, requestParameters.series, options).then((request) => request(this.axios, this.basePath));
101084
+ public updateSeriesRegistration(requestParameters: SeriesRegistrationsApiUpdateSeriesRegistrationRequest, options?: RawAxiosRequestConfig) {
101085
+ return SeriesRegistrationsApiFp(this.configuration).updateSeriesRegistration(requestParameters.seriesId, requestParameters.registrationId, requestParameters.seriesRegistrationUpdateInputs, options).then((request) => request(this.axios, this.basePath));
99053
101086
  }
99054
101087
  }
99055
101088
 
@@ -105760,6 +107793,8 @@ export const SurveysApiAxiosParamCreator = function (configuration?: Configurati
105760
107793
  /**
105761
107794
  * Get Surveys endpoint
105762
107795
  * @summary Get Surveys
107796
+ * @param {string} [eventId] Filter by eventId
107797
+ * @param {string} [sessionId] Filter by sessionId
105763
107798
  * @param {number} [page] Page number
105764
107799
  * @param {number} [pageSize] Number of items per page
105765
107800
  * @param {string} [orderBy] Field to order by
@@ -105767,7 +107802,7 @@ export const SurveysApiAxiosParamCreator = function (configuration?: Configurati
105767
107802
  * @param {*} [options] Override http request option.
105768
107803
  * @throws {RequiredError}
105769
107804
  */
105770
- getSurveys: async (page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
107805
+ getSurveys: async (eventId?: string, sessionId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
105771
107806
  const localVarPath = `/surveys`;
105772
107807
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
105773
107808
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -105786,6 +107821,14 @@ export const SurveysApiAxiosParamCreator = function (configuration?: Configurati
105786
107821
  // authentication OrganizationId required
105787
107822
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
105788
107823
 
107824
+ if (eventId !== undefined) {
107825
+ localVarQueryParameter['eventId'] = eventId;
107826
+ }
107827
+
107828
+ if (sessionId !== undefined) {
107829
+ localVarQueryParameter['sessionId'] = sessionId;
107830
+ }
107831
+
105789
107832
  if (page !== undefined) {
105790
107833
  localVarQueryParameter['page'] = page;
105791
107834
  }
@@ -105909,6 +107952,8 @@ export const SurveysApiFp = function(configuration?: Configuration) {
105909
107952
  /**
105910
107953
  * Get Surveys endpoint
105911
107954
  * @summary Get Surveys
107955
+ * @param {string} [eventId] Filter by eventId
107956
+ * @param {string} [sessionId] Filter by sessionId
105912
107957
  * @param {number} [page] Page number
105913
107958
  * @param {number} [pageSize] Number of items per page
105914
107959
  * @param {string} [orderBy] Field to order by
@@ -105916,8 +107961,8 @@ export const SurveysApiFp = function(configuration?: Configuration) {
105916
107961
  * @param {*} [options] Override http request option.
105917
107962
  * @throws {RequiredError}
105918
107963
  */
105919
- async getSurveys(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSurveys200Response>> {
105920
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSurveys(page, pageSize, orderBy, search, options);
107964
+ async getSurveys(eventId?: string, sessionId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSurveys200Response>> {
107965
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSurveys(eventId, sessionId, page, pageSize, orderBy, search, options);
105921
107966
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
105922
107967
  const localVarOperationServerBasePath = operationServerMap['SurveysApi.getSurveys']?.[localVarOperationServerIndex]?.url;
105923
107968
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -105983,7 +108028,7 @@ export const SurveysApiFactory = function (configuration?: Configuration, basePa
105983
108028
  * @throws {RequiredError}
105984
108029
  */
105985
108030
  getSurveys(requestParameters: SurveysApiGetSurveysRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetSurveys200Response> {
105986
- return localVarFp.getSurveys(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
108031
+ return localVarFp.getSurveys(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
105987
108032
  },
105988
108033
  /**
105989
108034
  * Update Survey endpoint
@@ -106029,6 +108074,16 @@ export interface SurveysApiGetSurveyRequest {
106029
108074
  * Request parameters for getSurveys operation in SurveysApi.
106030
108075
  */
106031
108076
  export interface SurveysApiGetSurveysRequest {
108077
+ /**
108078
+ * Filter by eventId
108079
+ */
108080
+ readonly eventId?: string
108081
+
108082
+ /**
108083
+ * Filter by sessionId
108084
+ */
108085
+ readonly sessionId?: string
108086
+
106032
108087
  /**
106033
108088
  * Page number
106034
108089
  */
@@ -106107,7 +108162,7 @@ export class SurveysApi extends BaseAPI {
106107
108162
  * @throws {RequiredError}
106108
108163
  */
106109
108164
  public getSurveys(requestParameters: SurveysApiGetSurveysRequest = {}, options?: RawAxiosRequestConfig) {
106110
- return SurveysApiFp(this.configuration).getSurveys(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
108165
+ 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));
106111
108166
  }
106112
108167
 
106113
108168
  /**