@connectedxm/admin-sdk 6.25.2 → 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";
@@ -921,6 +922,10 @@ export var GetCustomReport200ResponseStatusEnum;
921
922
  (function (GetCustomReport200ResponseStatusEnum) {
922
923
  GetCustomReport200ResponseStatusEnum["Ok"] = "ok";
923
924
  })(GetCustomReport200ResponseStatusEnum || (GetCustomReport200ResponseStatusEnum = {}));
925
+ export var GetCustomReportSchedule200ResponseStatusEnum;
926
+ (function (GetCustomReportSchedule200ResponseStatusEnum) {
927
+ GetCustomReportSchedule200ResponseStatusEnum["Ok"] = "ok";
928
+ })(GetCustomReportSchedule200ResponseStatusEnum || (GetCustomReportSchedule200ResponseStatusEnum = {}));
924
929
  export var GetCustomReportUsers200ResponseStatusEnum;
925
930
  (function (GetCustomReportUsers200ResponseStatusEnum) {
926
931
  GetCustomReportUsers200ResponseStatusEnum["Ok"] = "ok";
@@ -2649,6 +2654,10 @@ export var UploadVideoCaptions200ResponseStatusEnum;
2649
2654
  (function (UploadVideoCaptions200ResponseStatusEnum) {
2650
2655
  UploadVideoCaptions200ResponseStatusEnum["Ok"] = "ok";
2651
2656
  })(UploadVideoCaptions200ResponseStatusEnum || (UploadVideoCaptions200ResponseStatusEnum = {}));
2657
+ export var UpsertCustomReportSchedule200ResponseStatusEnum;
2658
+ (function (UpsertCustomReportSchedule200ResponseStatusEnum) {
2659
+ UpsertCustomReportSchedule200ResponseStatusEnum["Ok"] = "ok";
2660
+ })(UpsertCustomReportSchedule200ResponseStatusEnum || (UpsertCustomReportSchedule200ResponseStatusEnum = {}));
2652
2661
  export var UpsertLinkPreview200ResponseStatusEnum;
2653
2662
  (function (UpsertLinkPreview200ResponseStatusEnum) {
2654
2663
  UpsertLinkPreview200ResponseStatusEnum["Ok"] = "ok";
@@ -52109,6 +52118,90 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
52109
52118
  options: localVarRequestOptions,
52110
52119
  };
52111
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
+ }),
52112
52205
  /**
52113
52206
  * Clone Event Session endpoint
52114
52207
  * @summary Clone Event Session
@@ -52757,6 +52850,114 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
52757
52850
  options: localVarRequestOptions,
52758
52851
  };
52759
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
+ }),
52760
52961
  /**
52761
52962
  * Get Event Sessions endpoint
52762
52963
  * @summary Get Event Sessions
@@ -53101,6 +53302,90 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
53101
53302
  options: localVarRequestOptions,
53102
53303
  };
53103
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
+ }),
53104
53389
  /**
53105
53390
  * Update Event Session endpoint
53106
53391
  * @summary Update Event Session
@@ -53281,6 +53566,42 @@ export const EventsSessionsApiFp = function (configuration) {
53281
53566
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
53282
53567
  });
53283
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
+ },
53284
53605
  /**
53285
53606
  * Clone Event Session endpoint
53286
53607
  * @summary Clone Event Session
@@ -53540,6 +53861,48 @@ export const EventsSessionsApiFp = function (configuration) {
53540
53861
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
53541
53862
  });
53542
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
+ },
53543
53906
  /**
53544
53907
  * Get Event Sessions endpoint
53545
53908
  * @summary Get Event Sessions
@@ -53686,6 +54049,42 @@ export const EventsSessionsApiFp = function (configuration) {
53686
54049
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
53687
54050
  });
53688
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
+ },
53689
54088
  /**
53690
54089
  * Update Event Session endpoint
53691
54090
  * @summary Update Event Session
@@ -53782,6 +54181,26 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
53782
54181
  addEventSessionTrack(requestParameters, options) {
53783
54182
  return localVarFp.addEventSessionTrack(requestParameters.eventId, requestParameters.sessionId, requestParameters.trackId, options).then((request) => request(axios, basePath));
53784
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
+ },
53785
54204
  /**
53786
54205
  * Clone Event Session endpoint
53787
54206
  * @summary Clone Event Session
@@ -53912,6 +54331,26 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
53912
54331
  getEventSessionTracks(requestParameters, options) {
53913
54332
  return localVarFp.getEventSessionTracks(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
53914
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
+ },
53915
54354
  /**
53916
54355
  * Get Event Sessions endpoint
53917
54356
  * @summary Get Event Sessions
@@ -53992,6 +54431,26 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
53992
54431
  removeEventSessionTrack(requestParameters, options) {
53993
54432
  return localVarFp.removeEventSessionTrack(requestParameters.eventId, requestParameters.sessionId, requestParameters.trackId, options).then((request) => request(axios, basePath));
53994
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
+ },
53995
54454
  /**
53996
54455
  * Update Event Session endpoint
53997
54456
  * @summary Update Event Session
@@ -54078,6 +54537,26 @@ export class EventsSessionsApi extends BaseAPI {
54078
54537
  addEventSessionTrack(requestParameters, options) {
54079
54538
  return EventsSessionsApiFp(this.configuration).addEventSessionTrack(requestParameters.eventId, requestParameters.sessionId, requestParameters.trackId, options).then((request) => request(this.axios, this.basePath));
54080
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
+ }
54081
54560
  /**
54082
54561
  * Clone Event Session endpoint
54083
54562
  * @summary Clone Event Session
@@ -54208,6 +54687,26 @@ export class EventsSessionsApi extends BaseAPI {
54208
54687
  getEventSessionTracks(requestParameters, options) {
54209
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));
54210
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
+ }
54211
54710
  /**
54212
54711
  * Get Event Sessions endpoint
54213
54712
  * @summary Get Event Sessions
@@ -54288,6 +54787,26 @@ export class EventsSessionsApi extends BaseAPI {
54288
54787
  removeEventSessionTrack(requestParameters, options) {
54289
54788
  return EventsSessionsApiFp(this.configuration).removeEventSessionTrack(requestParameters.eventId, requestParameters.sessionId, requestParameters.trackId, options).then((request) => request(this.axios, this.basePath));
54290
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
+ }
54291
54810
  /**
54292
54811
  * Update Event Session endpoint
54293
54812
  * @summary Update Event Session
@@ -85169,6 +85688,40 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
85169
85688
  options: localVarRequestOptions,
85170
85689
  };
85171
85690
  }),
85691
+ /**
85692
+ * Delete Custom Report Schedule endpoint
85693
+ * @summary Delete Custom Report Schedule
85694
+ * @param {string} reportId The report identifier
85695
+ * @param {*} [options] Override http request option.
85696
+ * @throws {RequiredError}
85697
+ */
85698
+ deleteCustomReportSchedule: (reportId_1, ...args_1) => __awaiter(this, [reportId_1, ...args_1], void 0, function* (reportId, options = {}) {
85699
+ // verify required parameter 'reportId' is not null or undefined
85700
+ assertParamExists('deleteCustomReportSchedule', 'reportId', reportId);
85701
+ const localVarPath = `/reports/custom/{reportId}/schedule`
85702
+ .replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
85703
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
85704
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
85705
+ let baseOptions;
85706
+ if (configuration) {
85707
+ baseOptions = configuration.baseOptions;
85708
+ }
85709
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
85710
+ const localVarHeaderParameter = {};
85711
+ const localVarQueryParameter = {};
85712
+ // authentication ApiKeyAuth required
85713
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
85714
+ // authentication OrganizationId required
85715
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
85716
+ localVarHeaderParameter['Accept'] = 'application/json';
85717
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
85718
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85719
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
85720
+ return {
85721
+ url: toPathString(localVarUrlObj),
85722
+ options: localVarRequestOptions,
85723
+ };
85724
+ }),
85172
85725
  /**
85173
85726
  * Export Custom Report endpoint
85174
85727
  * @summary Export Custom Report
@@ -85242,6 +85795,40 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
85242
85795
  options: localVarRequestOptions,
85243
85796
  };
85244
85797
  }),
85798
+ /**
85799
+ * Get Custom Report Schedule endpoint
85800
+ * @summary Get Custom Report Schedule
85801
+ * @param {string} reportId The report identifier
85802
+ * @param {*} [options] Override http request option.
85803
+ * @throws {RequiredError}
85804
+ */
85805
+ getCustomReportSchedule: (reportId_1, ...args_1) => __awaiter(this, [reportId_1, ...args_1], void 0, function* (reportId, options = {}) {
85806
+ // verify required parameter 'reportId' is not null or undefined
85807
+ assertParamExists('getCustomReportSchedule', 'reportId', reportId);
85808
+ const localVarPath = `/reports/custom/{reportId}/schedule`
85809
+ .replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
85810
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
85811
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
85812
+ let baseOptions;
85813
+ if (configuration) {
85814
+ baseOptions = configuration.baseOptions;
85815
+ }
85816
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
85817
+ const localVarHeaderParameter = {};
85818
+ const localVarQueryParameter = {};
85819
+ // authentication ApiKeyAuth required
85820
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
85821
+ // authentication OrganizationId required
85822
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
85823
+ localVarHeaderParameter['Accept'] = 'application/json';
85824
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
85825
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85826
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
85827
+ return {
85828
+ url: toPathString(localVarUrlObj),
85829
+ options: localVarRequestOptions,
85830
+ };
85831
+ }),
85245
85832
  /**
85246
85833
  * Get Custom Reports endpoint
85247
85834
  * @summary Get Custom Reports
@@ -85412,6 +85999,45 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
85412
85999
  options: localVarRequestOptions,
85413
86000
  };
85414
86001
  }),
86002
+ /**
86003
+ * Upsert Custom Report Schedule endpoint
86004
+ * @summary Upsert Custom Report Schedule
86005
+ * @param {string} reportId The report identifier
86006
+ * @param {CustomReportScheduleInputs} customReportScheduleInputs
86007
+ * @param {*} [options] Override http request option.
86008
+ * @throws {RequiredError}
86009
+ */
86010
+ upsertCustomReportSchedule: (reportId_1, customReportScheduleInputs_1, ...args_1) => __awaiter(this, [reportId_1, customReportScheduleInputs_1, ...args_1], void 0, function* (reportId, customReportScheduleInputs, options = {}) {
86011
+ // verify required parameter 'reportId' is not null or undefined
86012
+ assertParamExists('upsertCustomReportSchedule', 'reportId', reportId);
86013
+ // verify required parameter 'customReportScheduleInputs' is not null or undefined
86014
+ assertParamExists('upsertCustomReportSchedule', 'customReportScheduleInputs', customReportScheduleInputs);
86015
+ const localVarPath = `/reports/custom/{reportId}/schedule`
86016
+ .replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
86017
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
86018
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
86019
+ let baseOptions;
86020
+ if (configuration) {
86021
+ baseOptions = configuration.baseOptions;
86022
+ }
86023
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
86024
+ const localVarHeaderParameter = {};
86025
+ const localVarQueryParameter = {};
86026
+ // authentication ApiKeyAuth required
86027
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
86028
+ // authentication OrganizationId required
86029
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
86030
+ localVarHeaderParameter['Content-Type'] = 'application/json';
86031
+ localVarHeaderParameter['Accept'] = 'application/json';
86032
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
86033
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
86034
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
86035
+ localVarRequestOptions.data = serializeDataIfNeeded(customReportScheduleInputs, localVarRequestOptions, configuration);
86036
+ return {
86037
+ url: toPathString(localVarUrlObj),
86038
+ options: localVarRequestOptions,
86039
+ };
86040
+ }),
85415
86041
  };
85416
86042
  };
85417
86043
  /**
@@ -85453,6 +86079,22 @@ export const ReportsApiFp = function (configuration) {
85453
86079
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
85454
86080
  });
85455
86081
  },
86082
+ /**
86083
+ * Delete Custom Report Schedule endpoint
86084
+ * @summary Delete Custom Report Schedule
86085
+ * @param {string} reportId The report identifier
86086
+ * @param {*} [options] Override http request option.
86087
+ * @throws {RequiredError}
86088
+ */
86089
+ deleteCustomReportSchedule(reportId, options) {
86090
+ return __awaiter(this, void 0, void 0, function* () {
86091
+ var _a, _b, _c;
86092
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCustomReportSchedule(reportId, options);
86093
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
86094
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReportsApi.deleteCustomReportSchedule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
86095
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
86096
+ });
86097
+ },
85456
86098
  /**
85457
86099
  * Export Custom Report endpoint
85458
86100
  * @summary Export Custom Report
@@ -85486,6 +86128,22 @@ export const ReportsApiFp = function (configuration) {
85486
86128
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
85487
86129
  });
85488
86130
  },
86131
+ /**
86132
+ * Get Custom Report Schedule endpoint
86133
+ * @summary Get Custom Report Schedule
86134
+ * @param {string} reportId The report identifier
86135
+ * @param {*} [options] Override http request option.
86136
+ * @throws {RequiredError}
86137
+ */
86138
+ getCustomReportSchedule(reportId, options) {
86139
+ return __awaiter(this, void 0, void 0, function* () {
86140
+ var _a, _b, _c;
86141
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCustomReportSchedule(reportId, options);
86142
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
86143
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReportsApi.getCustomReportSchedule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
86144
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
86145
+ });
86146
+ },
85489
86147
  /**
85490
86148
  * Get Custom Reports endpoint
85491
86149
  * @summary Get Custom Reports
@@ -85556,6 +86214,23 @@ export const ReportsApiFp = function (configuration) {
85556
86214
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
85557
86215
  });
85558
86216
  },
86217
+ /**
86218
+ * Upsert Custom Report Schedule endpoint
86219
+ * @summary Upsert Custom Report Schedule
86220
+ * @param {string} reportId The report identifier
86221
+ * @param {CustomReportScheduleInputs} customReportScheduleInputs
86222
+ * @param {*} [options] Override http request option.
86223
+ * @throws {RequiredError}
86224
+ */
86225
+ upsertCustomReportSchedule(reportId, customReportScheduleInputs, options) {
86226
+ return __awaiter(this, void 0, void 0, function* () {
86227
+ var _a, _b, _c;
86228
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.upsertCustomReportSchedule(reportId, customReportScheduleInputs, options);
86229
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
86230
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReportsApi.upsertCustomReportSchedule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
86231
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
86232
+ });
86233
+ },
85559
86234
  };
85560
86235
  };
85561
86236
  /**
@@ -85584,6 +86259,16 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
85584
86259
  deleteCustomReport(requestParameters, options) {
85585
86260
  return localVarFp.deleteCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
85586
86261
  },
86262
+ /**
86263
+ * Delete Custom Report Schedule endpoint
86264
+ * @summary Delete Custom Report Schedule
86265
+ * @param {ReportsApiDeleteCustomReportScheduleRequest} requestParameters Request parameters.
86266
+ * @param {*} [options] Override http request option.
86267
+ * @throws {RequiredError}
86268
+ */
86269
+ deleteCustomReportSchedule(requestParameters, options) {
86270
+ return localVarFp.deleteCustomReportSchedule(requestParameters.reportId, options).then((request) => request(axios, basePath));
86271
+ },
85587
86272
  /**
85588
86273
  * Export Custom Report endpoint
85589
86274
  * @summary Export Custom Report
@@ -85604,6 +86289,16 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
85604
86289
  getCustomReport(requestParameters, options) {
85605
86290
  return localVarFp.getCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
85606
86291
  },
86292
+ /**
86293
+ * Get Custom Report Schedule endpoint
86294
+ * @summary Get Custom Report Schedule
86295
+ * @param {ReportsApiGetCustomReportScheduleRequest} requestParameters Request parameters.
86296
+ * @param {*} [options] Override http request option.
86297
+ * @throws {RequiredError}
86298
+ */
86299
+ getCustomReportSchedule(requestParameters, options) {
86300
+ return localVarFp.getCustomReportSchedule(requestParameters.reportId, options).then((request) => request(axios, basePath));
86301
+ },
85607
86302
  /**
85608
86303
  * Get Custom Reports endpoint
85609
86304
  * @summary Get Custom Reports
@@ -85644,6 +86339,16 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
85644
86339
  updateCustomReport(requestParameters, options) {
85645
86340
  return localVarFp.updateCustomReport(requestParameters.reportId, requestParameters.report, options).then((request) => request(axios, basePath));
85646
86341
  },
86342
+ /**
86343
+ * Upsert Custom Report Schedule endpoint
86344
+ * @summary Upsert Custom Report Schedule
86345
+ * @param {ReportsApiUpsertCustomReportScheduleRequest} requestParameters Request parameters.
86346
+ * @param {*} [options] Override http request option.
86347
+ * @throws {RequiredError}
86348
+ */
86349
+ upsertCustomReportSchedule(requestParameters, options) {
86350
+ return localVarFp.upsertCustomReportSchedule(requestParameters.reportId, requestParameters.customReportScheduleInputs, options).then((request) => request(axios, basePath));
86351
+ },
85647
86352
  };
85648
86353
  };
85649
86354
  /**
@@ -85670,6 +86375,16 @@ export class ReportsApi extends BaseAPI {
85670
86375
  deleteCustomReport(requestParameters, options) {
85671
86376
  return ReportsApiFp(this.configuration).deleteCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
85672
86377
  }
86378
+ /**
86379
+ * Delete Custom Report Schedule endpoint
86380
+ * @summary Delete Custom Report Schedule
86381
+ * @param {ReportsApiDeleteCustomReportScheduleRequest} requestParameters Request parameters.
86382
+ * @param {*} [options] Override http request option.
86383
+ * @throws {RequiredError}
86384
+ */
86385
+ deleteCustomReportSchedule(requestParameters, options) {
86386
+ return ReportsApiFp(this.configuration).deleteCustomReportSchedule(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
86387
+ }
85673
86388
  /**
85674
86389
  * Export Custom Report endpoint
85675
86390
  * @summary Export Custom Report
@@ -85690,6 +86405,16 @@ export class ReportsApi extends BaseAPI {
85690
86405
  getCustomReport(requestParameters, options) {
85691
86406
  return ReportsApiFp(this.configuration).getCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
85692
86407
  }
86408
+ /**
86409
+ * Get Custom Report Schedule endpoint
86410
+ * @summary Get Custom Report Schedule
86411
+ * @param {ReportsApiGetCustomReportScheduleRequest} requestParameters Request parameters.
86412
+ * @param {*} [options] Override http request option.
86413
+ * @throws {RequiredError}
86414
+ */
86415
+ getCustomReportSchedule(requestParameters, options) {
86416
+ return ReportsApiFp(this.configuration).getCustomReportSchedule(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
86417
+ }
85693
86418
  /**
85694
86419
  * Get Custom Reports endpoint
85695
86420
  * @summary Get Custom Reports
@@ -85730,6 +86455,16 @@ export class ReportsApi extends BaseAPI {
85730
86455
  updateCustomReport(requestParameters, options) {
85731
86456
  return ReportsApiFp(this.configuration).updateCustomReport(requestParameters.reportId, requestParameters.report, options).then((request) => request(this.axios, this.basePath));
85732
86457
  }
86458
+ /**
86459
+ * Upsert Custom Report Schedule endpoint
86460
+ * @summary Upsert Custom Report Schedule
86461
+ * @param {ReportsApiUpsertCustomReportScheduleRequest} requestParameters Request parameters.
86462
+ * @param {*} [options] Override http request option.
86463
+ * @throws {RequiredError}
86464
+ */
86465
+ upsertCustomReportSchedule(requestParameters, options) {
86466
+ return ReportsApiFp(this.configuration).upsertCustomReportSchedule(requestParameters.reportId, requestParameters.customReportScheduleInputs, options).then((request) => request(this.axios, this.basePath));
86467
+ }
85733
86468
  }
85734
86469
  /**
85735
86470
  * ReportsUsersApi - axios parameter creator