@connectedxm/admin-sdk 6.26.0 → 6.27.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.
package/dist/esm/api.js CHANGED
@@ -637,6 +637,7 @@ export var EventSessionQuestionType;
637
637
  export var EventSessionVisibility;
638
638
  (function (EventSessionVisibility) {
639
639
  EventSessionVisibility["Public"] = "PUBLIC";
640
+ EventSessionVisibility["Preview"] = "PREVIEW";
640
641
  EventSessionVisibility["Restricted"] = "RESTRICTED";
641
642
  EventSessionVisibility["Registered"] = "REGISTERED";
642
643
  EventSessionVisibility["Hidden"] = "HIDDEN";
@@ -52117,6 +52118,90 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
52117
52118
  options: localVarRequestOptions,
52118
52119
  };
52119
52120
  }),
52121
+ /**
52122
+ * Add Event Session Visible Pass Type endpoint
52123
+ * @summary Add Event Session Visible Pass Type
52124
+ * @param {string} eventId The event identifier
52125
+ * @param {string} sessionId The session identifier
52126
+ * @param {string} passTypeId The passType identifier
52127
+ * @param {*} [options] Override http request option.
52128
+ * @throws {RequiredError}
52129
+ */
52130
+ addEventSessionVisiblePassType: (eventId_1, sessionId_1, passTypeId_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, passTypeId_1, ...args_1], void 0, function* (eventId, sessionId, passTypeId, options = {}) {
52131
+ // verify required parameter 'eventId' is not null or undefined
52132
+ assertParamExists('addEventSessionVisiblePassType', 'eventId', eventId);
52133
+ // verify required parameter 'sessionId' is not null or undefined
52134
+ assertParamExists('addEventSessionVisiblePassType', 'sessionId', sessionId);
52135
+ // verify required parameter 'passTypeId' is not null or undefined
52136
+ assertParamExists('addEventSessionVisiblePassType', 'passTypeId', passTypeId);
52137
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/visiblePassTypes/{passTypeId}`
52138
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
52139
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
52140
+ .replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
52141
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52142
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
52143
+ let baseOptions;
52144
+ if (configuration) {
52145
+ baseOptions = configuration.baseOptions;
52146
+ }
52147
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
52148
+ const localVarHeaderParameter = {};
52149
+ const localVarQueryParameter = {};
52150
+ // authentication ApiKeyAuth required
52151
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
52152
+ // authentication OrganizationId required
52153
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
52154
+ localVarHeaderParameter['Accept'] = 'application/json';
52155
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
52156
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
52157
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
52158
+ return {
52159
+ url: toPathString(localVarUrlObj),
52160
+ options: localVarRequestOptions,
52161
+ };
52162
+ }),
52163
+ /**
52164
+ * Add Event Session Visible Tier endpoint
52165
+ * @summary Add Event Session Visible Tier
52166
+ * @param {string} eventId The event identifier
52167
+ * @param {string} sessionId The session identifier
52168
+ * @param {string} tierId The tier identifier
52169
+ * @param {*} [options] Override http request option.
52170
+ * @throws {RequiredError}
52171
+ */
52172
+ addEventSessionVisibleTier: (eventId_1, sessionId_1, tierId_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, tierId_1, ...args_1], void 0, function* (eventId, sessionId, tierId, options = {}) {
52173
+ // verify required parameter 'eventId' is not null or undefined
52174
+ assertParamExists('addEventSessionVisibleTier', 'eventId', eventId);
52175
+ // verify required parameter 'sessionId' is not null or undefined
52176
+ assertParamExists('addEventSessionVisibleTier', 'sessionId', sessionId);
52177
+ // verify required parameter 'tierId' is not null or undefined
52178
+ assertParamExists('addEventSessionVisibleTier', 'tierId', tierId);
52179
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/visibleTiers/{tierId}`
52180
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
52181
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
52182
+ .replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
52183
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52184
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
52185
+ let baseOptions;
52186
+ if (configuration) {
52187
+ baseOptions = configuration.baseOptions;
52188
+ }
52189
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
52190
+ const localVarHeaderParameter = {};
52191
+ const localVarQueryParameter = {};
52192
+ // authentication ApiKeyAuth required
52193
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
52194
+ // authentication OrganizationId required
52195
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
52196
+ localVarHeaderParameter['Accept'] = 'application/json';
52197
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
52198
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
52199
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
52200
+ return {
52201
+ url: toPathString(localVarUrlObj),
52202
+ options: localVarRequestOptions,
52203
+ };
52204
+ }),
52120
52205
  /**
52121
52206
  * Clone Event Session endpoint
52122
52207
  * @summary Clone Event Session
@@ -52765,6 +52850,114 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
52765
52850
  options: localVarRequestOptions,
52766
52851
  };
52767
52852
  }),
52853
+ /**
52854
+ * Get Event Session Visible Pass Types endpoint
52855
+ * @summary Get Event Session Visible Pass Types
52856
+ * @param {string} eventId The event identifier
52857
+ * @param {string} sessionId The session identifier
52858
+ * @param {number} [page] Page number
52859
+ * @param {number} [pageSize] Number of items per page
52860
+ * @param {string} [orderBy] Field to order by
52861
+ * @param {string} [search] Search query
52862
+ * @param {*} [options] Override http request option.
52863
+ * @throws {RequiredError}
52864
+ */
52865
+ getEventSessionVisiblePassTypes: (eventId_1, sessionId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, sessionId, page, pageSize, orderBy, search, options = {}) {
52866
+ // verify required parameter 'eventId' is not null or undefined
52867
+ assertParamExists('getEventSessionVisiblePassTypes', 'eventId', eventId);
52868
+ // verify required parameter 'sessionId' is not null or undefined
52869
+ assertParamExists('getEventSessionVisiblePassTypes', 'sessionId', sessionId);
52870
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/visiblePassTypes`
52871
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
52872
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
52873
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52874
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
52875
+ let baseOptions;
52876
+ if (configuration) {
52877
+ baseOptions = configuration.baseOptions;
52878
+ }
52879
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
52880
+ const localVarHeaderParameter = {};
52881
+ const localVarQueryParameter = {};
52882
+ // authentication ApiKeyAuth required
52883
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
52884
+ // authentication OrganizationId required
52885
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
52886
+ if (page !== undefined) {
52887
+ localVarQueryParameter['page'] = page;
52888
+ }
52889
+ if (pageSize !== undefined) {
52890
+ localVarQueryParameter['pageSize'] = pageSize;
52891
+ }
52892
+ if (orderBy !== undefined) {
52893
+ localVarQueryParameter['orderBy'] = orderBy;
52894
+ }
52895
+ if (search !== undefined) {
52896
+ localVarQueryParameter['search'] = search;
52897
+ }
52898
+ localVarHeaderParameter['Accept'] = 'application/json';
52899
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
52900
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
52901
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
52902
+ return {
52903
+ url: toPathString(localVarUrlObj),
52904
+ options: localVarRequestOptions,
52905
+ };
52906
+ }),
52907
+ /**
52908
+ * Get Event Session Visible Tiers endpoint
52909
+ * @summary Get Event Session Visible Tiers
52910
+ * @param {string} eventId The event identifier
52911
+ * @param {string} sessionId The session identifier
52912
+ * @param {number} [page] Page number
52913
+ * @param {number} [pageSize] Number of items per page
52914
+ * @param {string} [orderBy] Field to order by
52915
+ * @param {string} [search] Search query
52916
+ * @param {*} [options] Override http request option.
52917
+ * @throws {RequiredError}
52918
+ */
52919
+ getEventSessionVisibleTiers: (eventId_1, sessionId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, sessionId, page, pageSize, orderBy, search, options = {}) {
52920
+ // verify required parameter 'eventId' is not null or undefined
52921
+ assertParamExists('getEventSessionVisibleTiers', 'eventId', eventId);
52922
+ // verify required parameter 'sessionId' is not null or undefined
52923
+ assertParamExists('getEventSessionVisibleTiers', 'sessionId', sessionId);
52924
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/visibleTiers`
52925
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
52926
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
52927
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52928
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
52929
+ let baseOptions;
52930
+ if (configuration) {
52931
+ baseOptions = configuration.baseOptions;
52932
+ }
52933
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
52934
+ const localVarHeaderParameter = {};
52935
+ const localVarQueryParameter = {};
52936
+ // authentication ApiKeyAuth required
52937
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
52938
+ // authentication OrganizationId required
52939
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
52940
+ if (page !== undefined) {
52941
+ localVarQueryParameter['page'] = page;
52942
+ }
52943
+ if (pageSize !== undefined) {
52944
+ localVarQueryParameter['pageSize'] = pageSize;
52945
+ }
52946
+ if (orderBy !== undefined) {
52947
+ localVarQueryParameter['orderBy'] = orderBy;
52948
+ }
52949
+ if (search !== undefined) {
52950
+ localVarQueryParameter['search'] = search;
52951
+ }
52952
+ localVarHeaderParameter['Accept'] = 'application/json';
52953
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
52954
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
52955
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
52956
+ return {
52957
+ url: toPathString(localVarUrlObj),
52958
+ options: localVarRequestOptions,
52959
+ };
52960
+ }),
52768
52961
  /**
52769
52962
  * Get Event Sessions endpoint
52770
52963
  * @summary Get Event Sessions
@@ -53109,6 +53302,90 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
53109
53302
  options: localVarRequestOptions,
53110
53303
  };
53111
53304
  }),
53305
+ /**
53306
+ * Remove Event Session Visible Pass Type endpoint
53307
+ * @summary Remove Event Session Visible Pass Type
53308
+ * @param {string} eventId The event identifier
53309
+ * @param {string} sessionId The session identifier
53310
+ * @param {string} passTypeId The passType identifier
53311
+ * @param {*} [options] Override http request option.
53312
+ * @throws {RequiredError}
53313
+ */
53314
+ removeEventSessionVisiblePassType: (eventId_1, sessionId_1, passTypeId_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, passTypeId_1, ...args_1], void 0, function* (eventId, sessionId, passTypeId, options = {}) {
53315
+ // verify required parameter 'eventId' is not null or undefined
53316
+ assertParamExists('removeEventSessionVisiblePassType', 'eventId', eventId);
53317
+ // verify required parameter 'sessionId' is not null or undefined
53318
+ assertParamExists('removeEventSessionVisiblePassType', 'sessionId', sessionId);
53319
+ // verify required parameter 'passTypeId' is not null or undefined
53320
+ assertParamExists('removeEventSessionVisiblePassType', 'passTypeId', passTypeId);
53321
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/visiblePassTypes/{passTypeId}`
53322
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
53323
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
53324
+ .replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
53325
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
53326
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
53327
+ let baseOptions;
53328
+ if (configuration) {
53329
+ baseOptions = configuration.baseOptions;
53330
+ }
53331
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
53332
+ const localVarHeaderParameter = {};
53333
+ const localVarQueryParameter = {};
53334
+ // authentication ApiKeyAuth required
53335
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
53336
+ // authentication OrganizationId required
53337
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
53338
+ localVarHeaderParameter['Accept'] = 'application/json';
53339
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
53340
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
53341
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
53342
+ return {
53343
+ url: toPathString(localVarUrlObj),
53344
+ options: localVarRequestOptions,
53345
+ };
53346
+ }),
53347
+ /**
53348
+ * Remove Event Session Visible Tier endpoint
53349
+ * @summary Remove Event Session Visible Tier
53350
+ * @param {string} eventId The event identifier
53351
+ * @param {string} sessionId The session identifier
53352
+ * @param {string} tierId The tier identifier
53353
+ * @param {*} [options] Override http request option.
53354
+ * @throws {RequiredError}
53355
+ */
53356
+ removeEventSessionVisibleTier: (eventId_1, sessionId_1, tierId_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, tierId_1, ...args_1], void 0, function* (eventId, sessionId, tierId, options = {}) {
53357
+ // verify required parameter 'eventId' is not null or undefined
53358
+ assertParamExists('removeEventSessionVisibleTier', 'eventId', eventId);
53359
+ // verify required parameter 'sessionId' is not null or undefined
53360
+ assertParamExists('removeEventSessionVisibleTier', 'sessionId', sessionId);
53361
+ // verify required parameter 'tierId' is not null or undefined
53362
+ assertParamExists('removeEventSessionVisibleTier', 'tierId', tierId);
53363
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/visibleTiers/{tierId}`
53364
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
53365
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
53366
+ .replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
53367
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
53368
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
53369
+ let baseOptions;
53370
+ if (configuration) {
53371
+ baseOptions = configuration.baseOptions;
53372
+ }
53373
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
53374
+ const localVarHeaderParameter = {};
53375
+ const localVarQueryParameter = {};
53376
+ // authentication ApiKeyAuth required
53377
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
53378
+ // authentication OrganizationId required
53379
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
53380
+ localVarHeaderParameter['Accept'] = 'application/json';
53381
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
53382
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
53383
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
53384
+ return {
53385
+ url: toPathString(localVarUrlObj),
53386
+ options: localVarRequestOptions,
53387
+ };
53388
+ }),
53112
53389
  /**
53113
53390
  * Update Event Session endpoint
53114
53391
  * @summary Update Event Session
@@ -53289,6 +53566,42 @@ export const EventsSessionsApiFp = function (configuration) {
53289
53566
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
53290
53567
  });
53291
53568
  },
53569
+ /**
53570
+ * Add Event Session Visible Pass Type endpoint
53571
+ * @summary Add Event Session Visible Pass Type
53572
+ * @param {string} eventId The event identifier
53573
+ * @param {string} sessionId The session identifier
53574
+ * @param {string} passTypeId The passType identifier
53575
+ * @param {*} [options] Override http request option.
53576
+ * @throws {RequiredError}
53577
+ */
53578
+ addEventSessionVisiblePassType(eventId, sessionId, passTypeId, options) {
53579
+ return __awaiter(this, void 0, void 0, function* () {
53580
+ var _a, _b, _c;
53581
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventSessionVisiblePassType(eventId, sessionId, passTypeId, options);
53582
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
53583
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsApi.addEventSessionVisiblePassType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
53584
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
53585
+ });
53586
+ },
53587
+ /**
53588
+ * Add Event Session Visible Tier endpoint
53589
+ * @summary Add Event Session Visible Tier
53590
+ * @param {string} eventId The event identifier
53591
+ * @param {string} sessionId The session identifier
53592
+ * @param {string} tierId The tier identifier
53593
+ * @param {*} [options] Override http request option.
53594
+ * @throws {RequiredError}
53595
+ */
53596
+ addEventSessionVisibleTier(eventId, sessionId, tierId, options) {
53597
+ return __awaiter(this, void 0, void 0, function* () {
53598
+ var _a, _b, _c;
53599
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventSessionVisibleTier(eventId, sessionId, tierId, options);
53600
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
53601
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsApi.addEventSessionVisibleTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
53602
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
53603
+ });
53604
+ },
53292
53605
  /**
53293
53606
  * Clone Event Session endpoint
53294
53607
  * @summary Clone Event Session
@@ -53548,6 +53861,48 @@ export const EventsSessionsApiFp = function (configuration) {
53548
53861
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
53549
53862
  });
53550
53863
  },
53864
+ /**
53865
+ * Get Event Session Visible Pass Types endpoint
53866
+ * @summary Get Event Session Visible Pass Types
53867
+ * @param {string} eventId The event identifier
53868
+ * @param {string} sessionId The session identifier
53869
+ * @param {number} [page] Page number
53870
+ * @param {number} [pageSize] Number of items per page
53871
+ * @param {string} [orderBy] Field to order by
53872
+ * @param {string} [search] Search query
53873
+ * @param {*} [options] Override http request option.
53874
+ * @throws {RequiredError}
53875
+ */
53876
+ getEventSessionVisiblePassTypes(eventId, sessionId, page, pageSize, orderBy, search, options) {
53877
+ return __awaiter(this, void 0, void 0, function* () {
53878
+ var _a, _b, _c;
53879
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventSessionVisiblePassTypes(eventId, sessionId, page, pageSize, orderBy, search, options);
53880
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
53881
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsApi.getEventSessionVisiblePassTypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
53882
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
53883
+ });
53884
+ },
53885
+ /**
53886
+ * Get Event Session Visible Tiers endpoint
53887
+ * @summary Get Event Session Visible Tiers
53888
+ * @param {string} eventId The event identifier
53889
+ * @param {string} sessionId The session identifier
53890
+ * @param {number} [page] Page number
53891
+ * @param {number} [pageSize] Number of items per page
53892
+ * @param {string} [orderBy] Field to order by
53893
+ * @param {string} [search] Search query
53894
+ * @param {*} [options] Override http request option.
53895
+ * @throws {RequiredError}
53896
+ */
53897
+ getEventSessionVisibleTiers(eventId, sessionId, page, pageSize, orderBy, search, options) {
53898
+ return __awaiter(this, void 0, void 0, function* () {
53899
+ var _a, _b, _c;
53900
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventSessionVisibleTiers(eventId, sessionId, page, pageSize, orderBy, search, options);
53901
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
53902
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsApi.getEventSessionVisibleTiers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
53903
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
53904
+ });
53905
+ },
53551
53906
  /**
53552
53907
  * Get Event Sessions endpoint
53553
53908
  * @summary Get Event Sessions
@@ -53694,6 +54049,42 @@ export const EventsSessionsApiFp = function (configuration) {
53694
54049
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
53695
54050
  });
53696
54051
  },
54052
+ /**
54053
+ * Remove Event Session Visible Pass Type endpoint
54054
+ * @summary Remove Event Session Visible Pass Type
54055
+ * @param {string} eventId The event identifier
54056
+ * @param {string} sessionId The session identifier
54057
+ * @param {string} passTypeId The passType identifier
54058
+ * @param {*} [options] Override http request option.
54059
+ * @throws {RequiredError}
54060
+ */
54061
+ removeEventSessionVisiblePassType(eventId, sessionId, passTypeId, options) {
54062
+ return __awaiter(this, void 0, void 0, function* () {
54063
+ var _a, _b, _c;
54064
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventSessionVisiblePassType(eventId, sessionId, passTypeId, options);
54065
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
54066
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsApi.removeEventSessionVisiblePassType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
54067
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
54068
+ });
54069
+ },
54070
+ /**
54071
+ * Remove Event Session Visible Tier endpoint
54072
+ * @summary Remove Event Session Visible Tier
54073
+ * @param {string} eventId The event identifier
54074
+ * @param {string} sessionId The session identifier
54075
+ * @param {string} tierId The tier identifier
54076
+ * @param {*} [options] Override http request option.
54077
+ * @throws {RequiredError}
54078
+ */
54079
+ removeEventSessionVisibleTier(eventId, sessionId, tierId, options) {
54080
+ return __awaiter(this, void 0, void 0, function* () {
54081
+ var _a, _b, _c;
54082
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventSessionVisibleTier(eventId, sessionId, tierId, options);
54083
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
54084
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsApi.removeEventSessionVisibleTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
54085
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
54086
+ });
54087
+ },
53697
54088
  /**
53698
54089
  * Update Event Session endpoint
53699
54090
  * @summary Update Event Session
@@ -53790,6 +54181,26 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
53790
54181
  addEventSessionTrack(requestParameters, options) {
53791
54182
  return localVarFp.addEventSessionTrack(requestParameters.eventId, requestParameters.sessionId, requestParameters.trackId, options).then((request) => request(axios, basePath));
53792
54183
  },
54184
+ /**
54185
+ * Add Event Session Visible Pass Type endpoint
54186
+ * @summary Add Event Session Visible Pass Type
54187
+ * @param {EventsSessionsApiAddEventSessionVisiblePassTypeRequest} requestParameters Request parameters.
54188
+ * @param {*} [options] Override http request option.
54189
+ * @throws {RequiredError}
54190
+ */
54191
+ addEventSessionVisiblePassType(requestParameters, options) {
54192
+ return localVarFp.addEventSessionVisiblePassType(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
54193
+ },
54194
+ /**
54195
+ * Add Event Session Visible Tier endpoint
54196
+ * @summary Add Event Session Visible Tier
54197
+ * @param {EventsSessionsApiAddEventSessionVisibleTierRequest} requestParameters Request parameters.
54198
+ * @param {*} [options] Override http request option.
54199
+ * @throws {RequiredError}
54200
+ */
54201
+ addEventSessionVisibleTier(requestParameters, options) {
54202
+ return localVarFp.addEventSessionVisibleTier(requestParameters.eventId, requestParameters.sessionId, requestParameters.tierId, options).then((request) => request(axios, basePath));
54203
+ },
53793
54204
  /**
53794
54205
  * Clone Event Session endpoint
53795
54206
  * @summary Clone Event Session
@@ -53920,6 +54331,26 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
53920
54331
  getEventSessionTracks(requestParameters, options) {
53921
54332
  return localVarFp.getEventSessionTracks(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
53922
54333
  },
54334
+ /**
54335
+ * Get Event Session Visible Pass Types endpoint
54336
+ * @summary Get Event Session Visible Pass Types
54337
+ * @param {EventsSessionsApiGetEventSessionVisiblePassTypesRequest} requestParameters Request parameters.
54338
+ * @param {*} [options] Override http request option.
54339
+ * @throws {RequiredError}
54340
+ */
54341
+ getEventSessionVisiblePassTypes(requestParameters, options) {
54342
+ return localVarFp.getEventSessionVisiblePassTypes(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
54343
+ },
54344
+ /**
54345
+ * Get Event Session Visible Tiers endpoint
54346
+ * @summary Get Event Session Visible Tiers
54347
+ * @param {EventsSessionsApiGetEventSessionVisibleTiersRequest} requestParameters Request parameters.
54348
+ * @param {*} [options] Override http request option.
54349
+ * @throws {RequiredError}
54350
+ */
54351
+ getEventSessionVisibleTiers(requestParameters, options) {
54352
+ return localVarFp.getEventSessionVisibleTiers(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
54353
+ },
53923
54354
  /**
53924
54355
  * Get Event Sessions endpoint
53925
54356
  * @summary Get Event Sessions
@@ -54000,6 +54431,26 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
54000
54431
  removeEventSessionTrack(requestParameters, options) {
54001
54432
  return localVarFp.removeEventSessionTrack(requestParameters.eventId, requestParameters.sessionId, requestParameters.trackId, options).then((request) => request(axios, basePath));
54002
54433
  },
54434
+ /**
54435
+ * Remove Event Session Visible Pass Type endpoint
54436
+ * @summary Remove Event Session Visible Pass Type
54437
+ * @param {EventsSessionsApiRemoveEventSessionVisiblePassTypeRequest} requestParameters Request parameters.
54438
+ * @param {*} [options] Override http request option.
54439
+ * @throws {RequiredError}
54440
+ */
54441
+ removeEventSessionVisiblePassType(requestParameters, options) {
54442
+ return localVarFp.removeEventSessionVisiblePassType(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
54443
+ },
54444
+ /**
54445
+ * Remove Event Session Visible Tier endpoint
54446
+ * @summary Remove Event Session Visible Tier
54447
+ * @param {EventsSessionsApiRemoveEventSessionVisibleTierRequest} requestParameters Request parameters.
54448
+ * @param {*} [options] Override http request option.
54449
+ * @throws {RequiredError}
54450
+ */
54451
+ removeEventSessionVisibleTier(requestParameters, options) {
54452
+ return localVarFp.removeEventSessionVisibleTier(requestParameters.eventId, requestParameters.sessionId, requestParameters.tierId, options).then((request) => request(axios, basePath));
54453
+ },
54003
54454
  /**
54004
54455
  * Update Event Session endpoint
54005
54456
  * @summary Update Event Session
@@ -54086,6 +54537,26 @@ export class EventsSessionsApi extends BaseAPI {
54086
54537
  addEventSessionTrack(requestParameters, options) {
54087
54538
  return EventsSessionsApiFp(this.configuration).addEventSessionTrack(requestParameters.eventId, requestParameters.sessionId, requestParameters.trackId, options).then((request) => request(this.axios, this.basePath));
54088
54539
  }
54540
+ /**
54541
+ * Add Event Session Visible Pass Type endpoint
54542
+ * @summary Add Event Session Visible Pass Type
54543
+ * @param {EventsSessionsApiAddEventSessionVisiblePassTypeRequest} requestParameters Request parameters.
54544
+ * @param {*} [options] Override http request option.
54545
+ * @throws {RequiredError}
54546
+ */
54547
+ addEventSessionVisiblePassType(requestParameters, options) {
54548
+ return EventsSessionsApiFp(this.configuration).addEventSessionVisiblePassType(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
54549
+ }
54550
+ /**
54551
+ * Add Event Session Visible Tier endpoint
54552
+ * @summary Add Event Session Visible Tier
54553
+ * @param {EventsSessionsApiAddEventSessionVisibleTierRequest} requestParameters Request parameters.
54554
+ * @param {*} [options] Override http request option.
54555
+ * @throws {RequiredError}
54556
+ */
54557
+ addEventSessionVisibleTier(requestParameters, options) {
54558
+ return EventsSessionsApiFp(this.configuration).addEventSessionVisibleTier(requestParameters.eventId, requestParameters.sessionId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
54559
+ }
54089
54560
  /**
54090
54561
  * Clone Event Session endpoint
54091
54562
  * @summary Clone Event Session
@@ -54216,6 +54687,26 @@ export class EventsSessionsApi extends BaseAPI {
54216
54687
  getEventSessionTracks(requestParameters, options) {
54217
54688
  return EventsSessionsApiFp(this.configuration).getEventSessionTracks(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
54218
54689
  }
54690
+ /**
54691
+ * Get Event Session Visible Pass Types endpoint
54692
+ * @summary Get Event Session Visible Pass Types
54693
+ * @param {EventsSessionsApiGetEventSessionVisiblePassTypesRequest} requestParameters Request parameters.
54694
+ * @param {*} [options] Override http request option.
54695
+ * @throws {RequiredError}
54696
+ */
54697
+ getEventSessionVisiblePassTypes(requestParameters, options) {
54698
+ return EventsSessionsApiFp(this.configuration).getEventSessionVisiblePassTypes(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
54699
+ }
54700
+ /**
54701
+ * Get Event Session Visible Tiers endpoint
54702
+ * @summary Get Event Session Visible Tiers
54703
+ * @param {EventsSessionsApiGetEventSessionVisibleTiersRequest} requestParameters Request parameters.
54704
+ * @param {*} [options] Override http request option.
54705
+ * @throws {RequiredError}
54706
+ */
54707
+ getEventSessionVisibleTiers(requestParameters, options) {
54708
+ return EventsSessionsApiFp(this.configuration).getEventSessionVisibleTiers(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
54709
+ }
54219
54710
  /**
54220
54711
  * Get Event Sessions endpoint
54221
54712
  * @summary Get Event Sessions
@@ -54296,6 +54787,26 @@ export class EventsSessionsApi extends BaseAPI {
54296
54787
  removeEventSessionTrack(requestParameters, options) {
54297
54788
  return EventsSessionsApiFp(this.configuration).removeEventSessionTrack(requestParameters.eventId, requestParameters.sessionId, requestParameters.trackId, options).then((request) => request(this.axios, this.basePath));
54298
54789
  }
54790
+ /**
54791
+ * Remove Event Session Visible Pass Type endpoint
54792
+ * @summary Remove Event Session Visible Pass Type
54793
+ * @param {EventsSessionsApiRemoveEventSessionVisiblePassTypeRequest} requestParameters Request parameters.
54794
+ * @param {*} [options] Override http request option.
54795
+ * @throws {RequiredError}
54796
+ */
54797
+ removeEventSessionVisiblePassType(requestParameters, options) {
54798
+ return EventsSessionsApiFp(this.configuration).removeEventSessionVisiblePassType(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
54799
+ }
54800
+ /**
54801
+ * Remove Event Session Visible Tier endpoint
54802
+ * @summary Remove Event Session Visible Tier
54803
+ * @param {EventsSessionsApiRemoveEventSessionVisibleTierRequest} requestParameters Request parameters.
54804
+ * @param {*} [options] Override http request option.
54805
+ * @throws {RequiredError}
54806
+ */
54807
+ removeEventSessionVisibleTier(requestParameters, options) {
54808
+ return EventsSessionsApiFp(this.configuration).removeEventSessionVisibleTier(requestParameters.eventId, requestParameters.sessionId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
54809
+ }
54299
54810
  /**
54300
54811
  * Update Event Session endpoint
54301
54812
  * @summary Update Event Session
@@ -5,6 +5,8 @@
5
5
 
6
6
  * `Public` (value: `'PUBLIC'`)
7
7
 
8
+ * `Preview` (value: `'PREVIEW'`)
9
+
8
10
  * `Restricted` (value: `'RESTRICTED'`)
9
11
 
10
12
  * `Registered` (value: `'REGISTERED'`)