@connectedxm/admin-sdk 6.6.2 → 6.7.3

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
@@ -1395,6 +1395,7 @@ export var SupportTicketState;
1395
1395
  SupportTicketState["InProgress"] = "inProgress";
1396
1396
  SupportTicketState["Resolved"] = "resolved";
1397
1397
  SupportTicketState["Spam"] = "spam";
1398
+ SupportTicketState["Archived"] = "archived";
1398
1399
  })(SupportTicketState || (SupportTicketState = {}));
1399
1400
  export var SupportTicketType;
1400
1401
  (function (SupportTicketType) {
@@ -2094,6 +2095,56 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
2094
2095
  options: localVarRequestOptions,
2095
2096
  };
2096
2097
  }),
2098
+ /**
2099
+ * Get Account Registrations endpoint
2100
+ * @summary Get Account Registrations
2101
+ * @param {string} accountId The account identifier
2102
+ * @param {number} [page] Page number
2103
+ * @param {number} [pageSize] Number of items per page
2104
+ * @param {string} [orderBy] Field to order by
2105
+ * @param {string} [search] Search query
2106
+ * @param {*} [options] Override http request option.
2107
+ * @throws {RequiredError}
2108
+ */
2109
+ getAccountRegistrations: (accountId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [accountId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (accountId, page, pageSize, orderBy, search, options = {}) {
2110
+ // verify required parameter 'accountId' is not null or undefined
2111
+ assertParamExists('getAccountRegistrations', 'accountId', accountId);
2112
+ const localVarPath = `/accounts/{accountId}/registrations`
2113
+ .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
2114
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2115
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2116
+ let baseOptions;
2117
+ if (configuration) {
2118
+ baseOptions = configuration.baseOptions;
2119
+ }
2120
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2121
+ const localVarHeaderParameter = {};
2122
+ const localVarQueryParameter = {};
2123
+ // authentication ApiKeyAuth required
2124
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
2125
+ // authentication OrganizationId required
2126
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
2127
+ if (page !== undefined) {
2128
+ localVarQueryParameter['page'] = page;
2129
+ }
2130
+ if (pageSize !== undefined) {
2131
+ localVarQueryParameter['pageSize'] = pageSize;
2132
+ }
2133
+ if (orderBy !== undefined) {
2134
+ localVarQueryParameter['orderBy'] = orderBy;
2135
+ }
2136
+ if (search !== undefined) {
2137
+ localVarQueryParameter['search'] = search;
2138
+ }
2139
+ localVarHeaderParameter['Accept'] = 'application/json';
2140
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2141
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2142
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2143
+ return {
2144
+ url: toPathString(localVarUrlObj),
2145
+ options: localVarRequestOptions,
2146
+ };
2147
+ }),
2097
2148
  /**
2098
2149
  * Get Account Threads endpoint
2099
2150
  * @summary Get Account Threads
@@ -2486,6 +2537,26 @@ export const AccountsApiFp = function (configuration) {
2486
2537
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2487
2538
  });
2488
2539
  },
2540
+ /**
2541
+ * Get Account Registrations endpoint
2542
+ * @summary Get Account Registrations
2543
+ * @param {string} accountId The account identifier
2544
+ * @param {number} [page] Page number
2545
+ * @param {number} [pageSize] Number of items per page
2546
+ * @param {string} [orderBy] Field to order by
2547
+ * @param {string} [search] Search query
2548
+ * @param {*} [options] Override http request option.
2549
+ * @throws {RequiredError}
2550
+ */
2551
+ getAccountRegistrations(accountId, page, pageSize, orderBy, search, options) {
2552
+ return __awaiter(this, void 0, void 0, function* () {
2553
+ var _a, _b, _c;
2554
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAccountRegistrations(accountId, page, pageSize, orderBy, search, options);
2555
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2556
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccountsApi.getAccountRegistrations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2557
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2558
+ });
2559
+ },
2489
2560
  /**
2490
2561
  * Get Account Threads endpoint
2491
2562
  * @summary Get Account Threads
@@ -2679,6 +2750,16 @@ export const AccountsApiFactory = function (configuration, basePath, axios) {
2679
2750
  getAccountPayments(requestParameters, options) {
2680
2751
  return localVarFp.getAccountPayments(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
2681
2752
  },
2753
+ /**
2754
+ * Get Account Registrations endpoint
2755
+ * @summary Get Account Registrations
2756
+ * @param {AccountsApiGetAccountRegistrationsRequest} requestParameters Request parameters.
2757
+ * @param {*} [options] Override http request option.
2758
+ * @throws {RequiredError}
2759
+ */
2760
+ getAccountRegistrations(requestParameters, options) {
2761
+ return localVarFp.getAccountRegistrations(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
2762
+ },
2682
2763
  /**
2683
2764
  * Get Account Threads endpoint
2684
2765
  * @summary Get Account Threads
@@ -2835,6 +2916,16 @@ export class AccountsApi extends BaseAPI {
2835
2916
  getAccountPayments(requestParameters, options) {
2836
2917
  return AccountsApiFp(this.configuration).getAccountPayments(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2837
2918
  }
2919
+ /**
2920
+ * Get Account Registrations endpoint
2921
+ * @summary Get Account Registrations
2922
+ * @param {AccountsApiGetAccountRegistrationsRequest} requestParameters Request parameters.
2923
+ * @param {*} [options] Override http request option.
2924
+ * @throws {RequiredError}
2925
+ */
2926
+ getAccountRegistrations(requestParameters, options) {
2927
+ return AccountsApiFp(this.configuration).getAccountRegistrations(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2928
+ }
2838
2929
  /**
2839
2930
  * Get Account Threads endpoint
2840
2931
  * @summary Get Account Threads
@@ -5481,6 +5572,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
5481
5572
  * @param {ModerationStatus} [moderation] Filter by moderation
5482
5573
  * @param {object} [featured] Filter by featured
5483
5574
  * @param {ActivityStatus} [status] Filter by status
5575
+ * @param {boolean} [global] Filter by global
5484
5576
  * @param {number} [page] Page number
5485
5577
  * @param {number} [pageSize] Number of items per page
5486
5578
  * @param {string} [orderBy] Field to order by
@@ -5488,7 +5580,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
5488
5580
  * @param {*} [options] Override http request option.
5489
5581
  * @throws {RequiredError}
5490
5582
  */
5491
- getActivities: (moderation_1, featured_1, status_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [moderation_1, featured_1, status_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (moderation, featured, status, page, pageSize, orderBy, search, options = {}) {
5583
+ getActivities: (moderation_1, featured_1, status_1, global_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [moderation_1, featured_1, status_1, global_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (moderation, featured, status, global, page, pageSize, orderBy, search, options = {}) {
5492
5584
  const localVarPath = `/activities`;
5493
5585
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5494
5586
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5514,6 +5606,9 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
5514
5606
  if (status !== undefined) {
5515
5607
  localVarQueryParameter['status'] = status;
5516
5608
  }
5609
+ if (global !== undefined) {
5610
+ localVarQueryParameter['global'] = global;
5611
+ }
5517
5612
  if (page !== undefined) {
5518
5613
  localVarQueryParameter['page'] = page;
5519
5614
  }
@@ -5806,6 +5901,7 @@ export const ActivitiesApiFp = function (configuration) {
5806
5901
  * @param {ModerationStatus} [moderation] Filter by moderation
5807
5902
  * @param {object} [featured] Filter by featured
5808
5903
  * @param {ActivityStatus} [status] Filter by status
5904
+ * @param {boolean} [global] Filter by global
5809
5905
  * @param {number} [page] Page number
5810
5906
  * @param {number} [pageSize] Number of items per page
5811
5907
  * @param {string} [orderBy] Field to order by
@@ -5813,10 +5909,10 @@ export const ActivitiesApiFp = function (configuration) {
5813
5909
  * @param {*} [options] Override http request option.
5814
5910
  * @throws {RequiredError}
5815
5911
  */
5816
- getActivities(moderation, featured, status, page, pageSize, orderBy, search, options) {
5912
+ getActivities(moderation, featured, status, global, page, pageSize, orderBy, search, options) {
5817
5913
  return __awaiter(this, void 0, void 0, function* () {
5818
5914
  var _a, _b, _c;
5819
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getActivities(moderation, featured, status, page, pageSize, orderBy, search, options);
5915
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getActivities(moderation, featured, status, global, page, pageSize, orderBy, search, options);
5820
5916
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5821
5917
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ActivitiesApi.getActivities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5822
5918
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5957,7 +6053,7 @@ export const ActivitiesApiFactory = function (configuration, basePath, axios) {
5957
6053
  * @throws {RequiredError}
5958
6054
  */
5959
6055
  getActivities(requestParameters = {}, options) {
5960
- return localVarFp.getActivities(requestParameters.moderation, requestParameters.featured, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
6056
+ return localVarFp.getActivities(requestParameters.moderation, requestParameters.featured, requestParameters.status, requestParameters.global, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
5961
6057
  },
5962
6058
  /**
5963
6059
  * Get Activity endpoint
@@ -6053,7 +6149,7 @@ export class ActivitiesApi extends BaseAPI {
6053
6149
  * @throws {RequiredError}
6054
6150
  */
6055
6151
  getActivities(requestParameters = {}, options) {
6056
- return ActivitiesApiFp(this.configuration).getActivities(requestParameters.moderation, requestParameters.featured, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
6152
+ return ActivitiesApiFp(this.configuration).getActivities(requestParameters.moderation, requestParameters.featured, requestParameters.status, requestParameters.global, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
6057
6153
  }
6058
6154
  /**
6059
6155
  * Get Activity endpoint
@@ -17527,15 +17623,15 @@ export const EventsAttendeesApiAxiosParamCreator = function (configuration) {
17527
17623
  * Create Event Attendee endpoint
17528
17624
  * @summary Create Event Attendee
17529
17625
  * @param {string} eventId The event identifier
17530
- * @param {string} accountId Filter by accountId
17626
+ * @param {EventAttendeeCreateInputs} eventAttendeeCreateInputs
17531
17627
  * @param {*} [options] Override http request option.
17532
17628
  * @throws {RequiredError}
17533
17629
  */
17534
- createEventAttendee: (eventId_1, accountId_1, ...args_1) => __awaiter(this, [eventId_1, accountId_1, ...args_1], void 0, function* (eventId, accountId, options = {}) {
17630
+ createEventAttendee: (eventId_1, eventAttendeeCreateInputs_1, ...args_1) => __awaiter(this, [eventId_1, eventAttendeeCreateInputs_1, ...args_1], void 0, function* (eventId, eventAttendeeCreateInputs, options = {}) {
17535
17631
  // verify required parameter 'eventId' is not null or undefined
17536
17632
  assertParamExists('createEventAttendee', 'eventId', eventId);
17537
- // verify required parameter 'accountId' is not null or undefined
17538
- assertParamExists('createEventAttendee', 'accountId', accountId);
17633
+ // verify required parameter 'eventAttendeeCreateInputs' is not null or undefined
17634
+ assertParamExists('createEventAttendee', 'eventAttendeeCreateInputs', eventAttendeeCreateInputs);
17539
17635
  const localVarPath = `/events/{eventId}/attendees`
17540
17636
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
17541
17637
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -17551,13 +17647,12 @@ export const EventsAttendeesApiAxiosParamCreator = function (configuration) {
17551
17647
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
17552
17648
  // authentication OrganizationId required
17553
17649
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
17554
- if (accountId !== undefined) {
17555
- localVarQueryParameter['accountId'] = accountId;
17556
- }
17650
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17557
17651
  localVarHeaderParameter['Accept'] = 'application/json';
17558
17652
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17559
17653
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17560
17654
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17655
+ localVarRequestOptions.data = serializeDataIfNeeded(eventAttendeeCreateInputs, localVarRequestOptions, configuration);
17561
17656
  return {
17562
17657
  url: toPathString(localVarUrlObj),
17563
17658
  options: localVarRequestOptions,
@@ -18068,14 +18163,14 @@ export const EventsAttendeesApiFp = function (configuration) {
18068
18163
  * Create Event Attendee endpoint
18069
18164
  * @summary Create Event Attendee
18070
18165
  * @param {string} eventId The event identifier
18071
- * @param {string} accountId Filter by accountId
18166
+ * @param {EventAttendeeCreateInputs} eventAttendeeCreateInputs
18072
18167
  * @param {*} [options] Override http request option.
18073
18168
  * @throws {RequiredError}
18074
18169
  */
18075
- createEventAttendee(eventId, accountId, options) {
18170
+ createEventAttendee(eventId, eventAttendeeCreateInputs, options) {
18076
18171
  return __awaiter(this, void 0, void 0, function* () {
18077
18172
  var _a, _b, _c;
18078
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventAttendee(eventId, accountId, options);
18173
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventAttendee(eventId, eventAttendeeCreateInputs, options);
18079
18174
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18080
18175
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsAttendeesApi.createEventAttendee']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18081
18176
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -18295,7 +18390,7 @@ export const EventsAttendeesApiFactory = function (configuration, basePath, axio
18295
18390
  * @throws {RequiredError}
18296
18391
  */
18297
18392
  createEventAttendee(requestParameters, options) {
18298
- return localVarFp.createEventAttendee(requestParameters.eventId, requestParameters.accountId, options).then((request) => request(axios, basePath));
18393
+ return localVarFp.createEventAttendee(requestParameters.eventId, requestParameters.eventAttendeeCreateInputs, options).then((request) => request(axios, basePath));
18299
18394
  },
18300
18395
  /**
18301
18396
  * Delete Event Attendee endpoint
@@ -18411,7 +18506,7 @@ export class EventsAttendeesApi extends BaseAPI {
18411
18506
  * @throws {RequiredError}
18412
18507
  */
18413
18508
  createEventAttendee(requestParameters, options) {
18414
- return EventsAttendeesApiFp(this.configuration).createEventAttendee(requestParameters.eventId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
18509
+ return EventsAttendeesApiFp(this.configuration).createEventAttendee(requestParameters.eventId, requestParameters.eventAttendeeCreateInputs, options).then((request) => request(this.axios, this.basePath));
18415
18510
  }
18416
18511
  /**
18417
18512
  * Delete Event Attendee endpoint
@@ -62791,6 +62886,168 @@ export class OrganizationModulesCustomApi extends BaseAPI {
62791
62886
  return OrganizationModulesCustomApiFp(this.configuration).updateCustomModule(requestParameters.moduleId, requestParameters.customModuleUpdateInputs, options).then((request) => request(this.axios, this.basePath));
62792
62887
  }
62793
62888
  }
62889
+ /**
62890
+ * OrganizationModulesSettingsApi - axios parameter creator
62891
+ */
62892
+ export const OrganizationModulesSettingsApiAxiosParamCreator = function (configuration) {
62893
+ return {
62894
+ /**
62895
+ * Get Organization Module Settings endpoint
62896
+ * @summary Get Organization Module Settings
62897
+ * @param {*} [options] Override http request option.
62898
+ * @throws {RequiredError}
62899
+ */
62900
+ getOrganizationModuleSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
62901
+ const localVarPath = `/organization/module-settings`;
62902
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
62903
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62904
+ let baseOptions;
62905
+ if (configuration) {
62906
+ baseOptions = configuration.baseOptions;
62907
+ }
62908
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
62909
+ const localVarHeaderParameter = {};
62910
+ const localVarQueryParameter = {};
62911
+ // authentication ApiKeyAuth required
62912
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
62913
+ // authentication OrganizationId required
62914
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
62915
+ localVarHeaderParameter['Accept'] = 'application/json';
62916
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
62917
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62918
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
62919
+ return {
62920
+ url: toPathString(localVarUrlObj),
62921
+ options: localVarRequestOptions,
62922
+ };
62923
+ }),
62924
+ /**
62925
+ * Update Organization Module Settings endpoint
62926
+ * @summary Update Organization Module Settings
62927
+ * @param {OrganizationModuleSettingsUpdateInputs} organizationModuleSettingsUpdateInputs
62928
+ * @param {*} [options] Override http request option.
62929
+ * @throws {RequiredError}
62930
+ */
62931
+ updateOrganizationModuleSettings: (organizationModuleSettingsUpdateInputs_1, ...args_1) => __awaiter(this, [organizationModuleSettingsUpdateInputs_1, ...args_1], void 0, function* (organizationModuleSettingsUpdateInputs, options = {}) {
62932
+ // verify required parameter 'organizationModuleSettingsUpdateInputs' is not null or undefined
62933
+ assertParamExists('updateOrganizationModuleSettings', 'organizationModuleSettingsUpdateInputs', organizationModuleSettingsUpdateInputs);
62934
+ const localVarPath = `/organization/module-settings`;
62935
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
62936
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62937
+ let baseOptions;
62938
+ if (configuration) {
62939
+ baseOptions = configuration.baseOptions;
62940
+ }
62941
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
62942
+ const localVarHeaderParameter = {};
62943
+ const localVarQueryParameter = {};
62944
+ // authentication ApiKeyAuth required
62945
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
62946
+ // authentication OrganizationId required
62947
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
62948
+ localVarHeaderParameter['Content-Type'] = 'application/json';
62949
+ localVarHeaderParameter['Accept'] = 'application/json';
62950
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
62951
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62952
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
62953
+ localVarRequestOptions.data = serializeDataIfNeeded(organizationModuleSettingsUpdateInputs, localVarRequestOptions, configuration);
62954
+ return {
62955
+ url: toPathString(localVarUrlObj),
62956
+ options: localVarRequestOptions,
62957
+ };
62958
+ }),
62959
+ };
62960
+ };
62961
+ /**
62962
+ * OrganizationModulesSettingsApi - functional programming interface
62963
+ */
62964
+ export const OrganizationModulesSettingsApiFp = function (configuration) {
62965
+ const localVarAxiosParamCreator = OrganizationModulesSettingsApiAxiosParamCreator(configuration);
62966
+ return {
62967
+ /**
62968
+ * Get Organization Module Settings endpoint
62969
+ * @summary Get Organization Module Settings
62970
+ * @param {*} [options] Override http request option.
62971
+ * @throws {RequiredError}
62972
+ */
62973
+ getOrganizationModuleSettings(options) {
62974
+ return __awaiter(this, void 0, void 0, function* () {
62975
+ var _a, _b, _c;
62976
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationModuleSettings(options);
62977
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
62978
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationModulesSettingsApi.getOrganizationModuleSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
62979
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
62980
+ });
62981
+ },
62982
+ /**
62983
+ * Update Organization Module Settings endpoint
62984
+ * @summary Update Organization Module Settings
62985
+ * @param {OrganizationModuleSettingsUpdateInputs} organizationModuleSettingsUpdateInputs
62986
+ * @param {*} [options] Override http request option.
62987
+ * @throws {RequiredError}
62988
+ */
62989
+ updateOrganizationModuleSettings(organizationModuleSettingsUpdateInputs, options) {
62990
+ return __awaiter(this, void 0, void 0, function* () {
62991
+ var _a, _b, _c;
62992
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrganizationModuleSettings(organizationModuleSettingsUpdateInputs, options);
62993
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
62994
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationModulesSettingsApi.updateOrganizationModuleSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
62995
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
62996
+ });
62997
+ },
62998
+ };
62999
+ };
63000
+ /**
63001
+ * OrganizationModulesSettingsApi - factory interface
63002
+ */
63003
+ export const OrganizationModulesSettingsApiFactory = function (configuration, basePath, axios) {
63004
+ const localVarFp = OrganizationModulesSettingsApiFp(configuration);
63005
+ return {
63006
+ /**
63007
+ * Get Organization Module Settings endpoint
63008
+ * @summary Get Organization Module Settings
63009
+ * @param {*} [options] Override http request option.
63010
+ * @throws {RequiredError}
63011
+ */
63012
+ getOrganizationModuleSettings(options) {
63013
+ return localVarFp.getOrganizationModuleSettings(options).then((request) => request(axios, basePath));
63014
+ },
63015
+ /**
63016
+ * Update Organization Module Settings endpoint
63017
+ * @summary Update Organization Module Settings
63018
+ * @param {OrganizationModulesSettingsApiUpdateOrganizationModuleSettingsRequest} requestParameters Request parameters.
63019
+ * @param {*} [options] Override http request option.
63020
+ * @throws {RequiredError}
63021
+ */
63022
+ updateOrganizationModuleSettings(requestParameters, options) {
63023
+ return localVarFp.updateOrganizationModuleSettings(requestParameters.organizationModuleSettingsUpdateInputs, options).then((request) => request(axios, basePath));
63024
+ },
63025
+ };
63026
+ };
63027
+ /**
63028
+ * OrganizationModulesSettingsApi - object-oriented interface
63029
+ */
63030
+ export class OrganizationModulesSettingsApi extends BaseAPI {
63031
+ /**
63032
+ * Get Organization Module Settings endpoint
63033
+ * @summary Get Organization Module Settings
63034
+ * @param {*} [options] Override http request option.
63035
+ * @throws {RequiredError}
63036
+ */
63037
+ getOrganizationModuleSettings(options) {
63038
+ return OrganizationModulesSettingsApiFp(this.configuration).getOrganizationModuleSettings(options).then((request) => request(this.axios, this.basePath));
63039
+ }
63040
+ /**
63041
+ * Update Organization Module Settings endpoint
63042
+ * @summary Update Organization Module Settings
63043
+ * @param {OrganizationModulesSettingsApiUpdateOrganizationModuleSettingsRequest} requestParameters Request parameters.
63044
+ * @param {*} [options] Override http request option.
63045
+ * @throws {RequiredError}
63046
+ */
63047
+ updateOrganizationModuleSettings(requestParameters, options) {
63048
+ return OrganizationModulesSettingsApiFp(this.configuration).updateOrganizationModuleSettings(requestParameters.organizationModuleSettingsUpdateInputs, options).then((request) => request(this.axios, this.basePath));
63049
+ }
63050
+ }
62794
63051
  /**
62795
63052
  * OrganizationModulesTiersApi - axios parameter creator
62796
63053
  */
@@ -71889,6 +72146,186 @@ export const SupportApiAxiosParamCreator = function (configuration) {
71889
72146
  options: localVarRequestOptions,
71890
72147
  };
71891
72148
  }),
72149
+ /**
72150
+ * Get Support Ticket endpoint
72151
+ * @summary Get Support Ticket
72152
+ * @param {string} supportTicketId The supportTicket identifier
72153
+ * @param {*} [options] Override http request option.
72154
+ * @throws {RequiredError}
72155
+ */
72156
+ getSupportTicket: (supportTicketId_1, ...args_1) => __awaiter(this, [supportTicketId_1, ...args_1], void 0, function* (supportTicketId, options = {}) {
72157
+ // verify required parameter 'supportTicketId' is not null or undefined
72158
+ assertParamExists('getSupportTicket', 'supportTicketId', supportTicketId);
72159
+ const localVarPath = `/supportTickets/{supportTicketId}`
72160
+ .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72161
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
72162
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72163
+ let baseOptions;
72164
+ if (configuration) {
72165
+ baseOptions = configuration.baseOptions;
72166
+ }
72167
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72168
+ const localVarHeaderParameter = {};
72169
+ const localVarQueryParameter = {};
72170
+ // authentication ApiKeyAuth required
72171
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72172
+ // authentication OrganizationId required
72173
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72174
+ localVarHeaderParameter['Accept'] = 'application/json';
72175
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
72176
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72177
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72178
+ return {
72179
+ url: toPathString(localVarUrlObj),
72180
+ options: localVarRequestOptions,
72181
+ };
72182
+ }),
72183
+ /**
72184
+ * Get Support Ticket Activity endpoint
72185
+ * @summary Get Support Ticket Activity
72186
+ * @param {string} supportTicketId The supportTicket identifier
72187
+ * @param {*} [options] Override http request option.
72188
+ * @throws {RequiredError}
72189
+ */
72190
+ getSupportTicketActivity: (supportTicketId_1, ...args_1) => __awaiter(this, [supportTicketId_1, ...args_1], void 0, function* (supportTicketId, options = {}) {
72191
+ // verify required parameter 'supportTicketId' is not null or undefined
72192
+ assertParamExists('getSupportTicketActivity', 'supportTicketId', supportTicketId);
72193
+ const localVarPath = `/supportTickets/{supportTicketId}/activityLog`
72194
+ .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72195
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
72196
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72197
+ let baseOptions;
72198
+ if (configuration) {
72199
+ baseOptions = configuration.baseOptions;
72200
+ }
72201
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72202
+ const localVarHeaderParameter = {};
72203
+ const localVarQueryParameter = {};
72204
+ // authentication ApiKeyAuth required
72205
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72206
+ // authentication OrganizationId required
72207
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72208
+ localVarHeaderParameter['Accept'] = 'application/json';
72209
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
72210
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72211
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72212
+ return {
72213
+ url: toPathString(localVarUrlObj),
72214
+ options: localVarRequestOptions,
72215
+ };
72216
+ }),
72217
+ /**
72218
+ * Get Support Ticket Viewer endpoint
72219
+ * @summary Get Support Ticket Viewer
72220
+ * @param {string} supportTicketId The supportTicket identifier
72221
+ * @param {string} [orgMembershipId] Filter by orgMembershipId
72222
+ * @param {number} [page] Page number
72223
+ * @param {number} [pageSize] Number of items per page
72224
+ * @param {string} [orderBy] Field to order by
72225
+ * @param {string} [search] Search query
72226
+ * @param {*} [options] Override http request option.
72227
+ * @throws {RequiredError}
72228
+ */
72229
+ getSupportTicketViewer: (supportTicketId_1, orgMembershipId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [supportTicketId_1, orgMembershipId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options = {}) {
72230
+ // verify required parameter 'supportTicketId' is not null or undefined
72231
+ assertParamExists('getSupportTicketViewer', 'supportTicketId', supportTicketId);
72232
+ const localVarPath = `/supportTickets/{supportTicketId}/viewer`
72233
+ .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72234
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
72235
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72236
+ let baseOptions;
72237
+ if (configuration) {
72238
+ baseOptions = configuration.baseOptions;
72239
+ }
72240
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72241
+ const localVarHeaderParameter = {};
72242
+ const localVarQueryParameter = {};
72243
+ // authentication ApiKeyAuth required
72244
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72245
+ // authentication OrganizationId required
72246
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72247
+ if (orgMembershipId !== undefined) {
72248
+ localVarQueryParameter['orgMembershipId'] = orgMembershipId;
72249
+ }
72250
+ if (page !== undefined) {
72251
+ localVarQueryParameter['page'] = page;
72252
+ }
72253
+ if (pageSize !== undefined) {
72254
+ localVarQueryParameter['pageSize'] = pageSize;
72255
+ }
72256
+ if (orderBy !== undefined) {
72257
+ localVarQueryParameter['orderBy'] = orderBy;
72258
+ }
72259
+ if (search !== undefined) {
72260
+ localVarQueryParameter['search'] = search;
72261
+ }
72262
+ localVarHeaderParameter['Accept'] = 'application/json';
72263
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
72264
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72265
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72266
+ return {
72267
+ url: toPathString(localVarUrlObj),
72268
+ options: localVarRequestOptions,
72269
+ };
72270
+ }),
72271
+ /**
72272
+ * Get Support Tickets endpoint
72273
+ * @summary Get Support Tickets
72274
+ * @param {string} [type] Filter by type
72275
+ * @param {string} [state] Filter by state
72276
+ * @param {GetSupportTicketsAssignmentEnum} [assignment] Filter by assignment
72277
+ * @param {number} [page] Page number
72278
+ * @param {number} [pageSize] Number of items per page
72279
+ * @param {string} [orderBy] Field to order by
72280
+ * @param {string} [search] Search query
72281
+ * @param {*} [options] Override http request option.
72282
+ * @throws {RequiredError}
72283
+ */
72284
+ getSupportTickets: (type_1, state_1, assignment_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [type_1, state_1, assignment_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (type, state, assignment, page, pageSize, orderBy, search, options = {}) {
72285
+ const localVarPath = `/supportTickets`;
72286
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
72287
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72288
+ let baseOptions;
72289
+ if (configuration) {
72290
+ baseOptions = configuration.baseOptions;
72291
+ }
72292
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72293
+ const localVarHeaderParameter = {};
72294
+ const localVarQueryParameter = {};
72295
+ // authentication ApiKeyAuth required
72296
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72297
+ // authentication OrganizationId required
72298
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72299
+ if (type !== undefined) {
72300
+ localVarQueryParameter['type'] = type;
72301
+ }
72302
+ if (state !== undefined) {
72303
+ localVarQueryParameter['state'] = state;
72304
+ }
72305
+ if (assignment !== undefined) {
72306
+ localVarQueryParameter['assignment'] = assignment;
72307
+ }
72308
+ if (page !== undefined) {
72309
+ localVarQueryParameter['page'] = page;
72310
+ }
72311
+ if (pageSize !== undefined) {
72312
+ localVarQueryParameter['pageSize'] = pageSize;
72313
+ }
72314
+ if (orderBy !== undefined) {
72315
+ localVarQueryParameter['orderBy'] = orderBy;
72316
+ }
72317
+ if (search !== undefined) {
72318
+ localVarQueryParameter['search'] = search;
72319
+ }
72320
+ localVarHeaderParameter['Accept'] = 'application/json';
72321
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
72322
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72323
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72324
+ return {
72325
+ url: toPathString(localVarUrlObj),
72326
+ options: localVarRequestOptions,
72327
+ };
72328
+ }),
71892
72329
  /**
71893
72330
  * Update Support Ticket endpoint
71894
72331
  * @summary Update Support Ticket
@@ -71968,6 +72405,81 @@ export const SupportApiFp = function (configuration) {
71968
72405
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
71969
72406
  });
71970
72407
  },
72408
+ /**
72409
+ * Get Support Ticket endpoint
72410
+ * @summary Get Support Ticket
72411
+ * @param {string} supportTicketId The supportTicket identifier
72412
+ * @param {*} [options] Override http request option.
72413
+ * @throws {RequiredError}
72414
+ */
72415
+ getSupportTicket(supportTicketId, options) {
72416
+ return __awaiter(this, void 0, void 0, function* () {
72417
+ var _a, _b, _c;
72418
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicket(supportTicketId, options);
72419
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72420
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportApi.getSupportTicket']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72421
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72422
+ });
72423
+ },
72424
+ /**
72425
+ * Get Support Ticket Activity endpoint
72426
+ * @summary Get Support Ticket Activity
72427
+ * @param {string} supportTicketId The supportTicket identifier
72428
+ * @param {*} [options] Override http request option.
72429
+ * @throws {RequiredError}
72430
+ */
72431
+ getSupportTicketActivity(supportTicketId, options) {
72432
+ return __awaiter(this, void 0, void 0, function* () {
72433
+ var _a, _b, _c;
72434
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketActivity(supportTicketId, options);
72435
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72436
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportApi.getSupportTicketActivity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72437
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72438
+ });
72439
+ },
72440
+ /**
72441
+ * Get Support Ticket Viewer endpoint
72442
+ * @summary Get Support Ticket Viewer
72443
+ * @param {string} supportTicketId The supportTicket identifier
72444
+ * @param {string} [orgMembershipId] Filter by orgMembershipId
72445
+ * @param {number} [page] Page number
72446
+ * @param {number} [pageSize] Number of items per page
72447
+ * @param {string} [orderBy] Field to order by
72448
+ * @param {string} [search] Search query
72449
+ * @param {*} [options] Override http request option.
72450
+ * @throws {RequiredError}
72451
+ */
72452
+ getSupportTicketViewer(supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options) {
72453
+ return __awaiter(this, void 0, void 0, function* () {
72454
+ var _a, _b, _c;
72455
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketViewer(supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options);
72456
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72457
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportApi.getSupportTicketViewer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72458
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72459
+ });
72460
+ },
72461
+ /**
72462
+ * Get Support Tickets endpoint
72463
+ * @summary Get Support Tickets
72464
+ * @param {string} [type] Filter by type
72465
+ * @param {string} [state] Filter by state
72466
+ * @param {GetSupportTicketsAssignmentEnum} [assignment] Filter by assignment
72467
+ * @param {number} [page] Page number
72468
+ * @param {number} [pageSize] Number of items per page
72469
+ * @param {string} [orderBy] Field to order by
72470
+ * @param {string} [search] Search query
72471
+ * @param {*} [options] Override http request option.
72472
+ * @throws {RequiredError}
72473
+ */
72474
+ getSupportTickets(type, state, assignment, page, pageSize, orderBy, search, options) {
72475
+ return __awaiter(this, void 0, void 0, function* () {
72476
+ var _a, _b, _c;
72477
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTickets(type, state, assignment, page, pageSize, orderBy, search, options);
72478
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72479
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportApi.getSupportTickets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72480
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72481
+ });
72482
+ },
71971
72483
  /**
71972
72484
  * Update Support Ticket endpoint
71973
72485
  * @summary Update Support Ticket
@@ -72013,6 +72525,46 @@ export const SupportApiFactory = function (configuration, basePath, axios) {
72013
72525
  deleteSupportTicket(requestParameters, options) {
72014
72526
  return localVarFp.deleteSupportTicket(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
72015
72527
  },
72528
+ /**
72529
+ * Get Support Ticket endpoint
72530
+ * @summary Get Support Ticket
72531
+ * @param {SupportApiGetSupportTicketRequest} requestParameters Request parameters.
72532
+ * @param {*} [options] Override http request option.
72533
+ * @throws {RequiredError}
72534
+ */
72535
+ getSupportTicket(requestParameters, options) {
72536
+ return localVarFp.getSupportTicket(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
72537
+ },
72538
+ /**
72539
+ * Get Support Ticket Activity endpoint
72540
+ * @summary Get Support Ticket Activity
72541
+ * @param {SupportApiGetSupportTicketActivityRequest} requestParameters Request parameters.
72542
+ * @param {*} [options] Override http request option.
72543
+ * @throws {RequiredError}
72544
+ */
72545
+ getSupportTicketActivity(requestParameters, options) {
72546
+ return localVarFp.getSupportTicketActivity(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
72547
+ },
72548
+ /**
72549
+ * Get Support Ticket Viewer endpoint
72550
+ * @summary Get Support Ticket Viewer
72551
+ * @param {SupportApiGetSupportTicketViewerRequest} requestParameters Request parameters.
72552
+ * @param {*} [options] Override http request option.
72553
+ * @throws {RequiredError}
72554
+ */
72555
+ getSupportTicketViewer(requestParameters, options) {
72556
+ return localVarFp.getSupportTicketViewer(requestParameters.supportTicketId, requestParameters.orgMembershipId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
72557
+ },
72558
+ /**
72559
+ * Get Support Tickets endpoint
72560
+ * @summary Get Support Tickets
72561
+ * @param {SupportApiGetSupportTicketsRequest} requestParameters Request parameters.
72562
+ * @param {*} [options] Override http request option.
72563
+ * @throws {RequiredError}
72564
+ */
72565
+ getSupportTickets(requestParameters = {}, options) {
72566
+ return localVarFp.getSupportTickets(requestParameters.type, requestParameters.state, requestParameters.assignment, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
72567
+ },
72016
72568
  /**
72017
72569
  * Update Support Ticket endpoint
72018
72570
  * @summary Update Support Ticket
@@ -72049,6 +72601,46 @@ export class SupportApi extends BaseAPI {
72049
72601
  deleteSupportTicket(requestParameters, options) {
72050
72602
  return SupportApiFp(this.configuration).deleteSupportTicket(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
72051
72603
  }
72604
+ /**
72605
+ * Get Support Ticket endpoint
72606
+ * @summary Get Support Ticket
72607
+ * @param {SupportApiGetSupportTicketRequest} requestParameters Request parameters.
72608
+ * @param {*} [options] Override http request option.
72609
+ * @throws {RequiredError}
72610
+ */
72611
+ getSupportTicket(requestParameters, options) {
72612
+ return SupportApiFp(this.configuration).getSupportTicket(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
72613
+ }
72614
+ /**
72615
+ * Get Support Ticket Activity endpoint
72616
+ * @summary Get Support Ticket Activity
72617
+ * @param {SupportApiGetSupportTicketActivityRequest} requestParameters Request parameters.
72618
+ * @param {*} [options] Override http request option.
72619
+ * @throws {RequiredError}
72620
+ */
72621
+ getSupportTicketActivity(requestParameters, options) {
72622
+ return SupportApiFp(this.configuration).getSupportTicketActivity(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
72623
+ }
72624
+ /**
72625
+ * Get Support Ticket Viewer endpoint
72626
+ * @summary Get Support Ticket Viewer
72627
+ * @param {SupportApiGetSupportTicketViewerRequest} requestParameters Request parameters.
72628
+ * @param {*} [options] Override http request option.
72629
+ * @throws {RequiredError}
72630
+ */
72631
+ getSupportTicketViewer(requestParameters, options) {
72632
+ return SupportApiFp(this.configuration).getSupportTicketViewer(requestParameters.supportTicketId, requestParameters.orgMembershipId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
72633
+ }
72634
+ /**
72635
+ * Get Support Tickets endpoint
72636
+ * @summary Get Support Tickets
72637
+ * @param {SupportApiGetSupportTicketsRequest} requestParameters Request parameters.
72638
+ * @param {*} [options] Override http request option.
72639
+ * @throws {RequiredError}
72640
+ */
72641
+ getSupportTickets(requestParameters = {}, options) {
72642
+ return SupportApiFp(this.configuration).getSupportTickets(requestParameters.type, requestParameters.state, requestParameters.assignment, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
72643
+ }
72052
72644
  /**
72053
72645
  * Update Support Ticket endpoint
72054
72646
  * @summary Update Support Ticket
@@ -72060,6 +72652,11 @@ export class SupportApi extends BaseAPI {
72060
72652
  return SupportApiFp(this.configuration).updateSupportTicket(requestParameters.supportTicketId, requestParameters.supportTicketUpdateInputs, options).then((request) => request(this.axios, this.basePath));
72061
72653
  }
72062
72654
  }
72655
+ export var GetSupportTicketsAssignmentEnum;
72656
+ (function (GetSupportTicketsAssignmentEnum) {
72657
+ GetSupportTicketsAssignmentEnum["Me"] = "me";
72658
+ GetSupportTicketsAssignmentEnum["Unassigned"] = "unassigned";
72659
+ })(GetSupportTicketsAssignmentEnum || (GetSupportTicketsAssignmentEnum = {}));
72063
72660
  /**
72064
72661
  * SupportMessagesApi - axios parameter creator
72065
72662
  */
@@ -72104,85 +72701,21 @@ export const SupportMessagesApiAxiosParamCreator = function (configuration) {
72104
72701
  options: localVarRequestOptions,
72105
72702
  };
72106
72703
  }),
72107
- };
72108
- };
72109
- /**
72110
- * SupportMessagesApi - functional programming interface
72111
- */
72112
- export const SupportMessagesApiFp = function (configuration) {
72113
- const localVarAxiosParamCreator = SupportMessagesApiAxiosParamCreator(configuration);
72114
- return {
72115
- /**
72116
- * Create Support Ticket Message endpoint
72117
- * @summary Create Support Ticket Message
72118
- * @param {string} supportTicketId The supportTicket identifier
72119
- * @param {SupportTicketMessageCreateInputs} supportTicketMessageCreateInputs
72120
- * @param {*} [options] Override http request option.
72121
- * @throws {RequiredError}
72122
- */
72123
- createSupportTicketMessage(supportTicketId, supportTicketMessageCreateInputs, options) {
72124
- return __awaiter(this, void 0, void 0, function* () {
72125
- var _a, _b, _c;
72126
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createSupportTicketMessage(supportTicketId, supportTicketMessageCreateInputs, options);
72127
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72128
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportMessagesApi.createSupportTicketMessage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72129
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72130
- });
72131
- },
72132
- };
72133
- };
72134
- /**
72135
- * SupportMessagesApi - factory interface
72136
- */
72137
- export const SupportMessagesApiFactory = function (configuration, basePath, axios) {
72138
- const localVarFp = SupportMessagesApiFp(configuration);
72139
- return {
72140
- /**
72141
- * Create Support Ticket Message endpoint
72142
- * @summary Create Support Ticket Message
72143
- * @param {SupportMessagesApiCreateSupportTicketMessageRequest} requestParameters Request parameters.
72144
- * @param {*} [options] Override http request option.
72145
- * @throws {RequiredError}
72146
- */
72147
- createSupportTicketMessage(requestParameters, options) {
72148
- return localVarFp.createSupportTicketMessage(requestParameters.supportTicketId, requestParameters.supportTicketMessageCreateInputs, options).then((request) => request(axios, basePath));
72149
- },
72150
- };
72151
- };
72152
- /**
72153
- * SupportMessagesApi - object-oriented interface
72154
- */
72155
- export class SupportMessagesApi extends BaseAPI {
72156
- /**
72157
- * Create Support Ticket Message endpoint
72158
- * @summary Create Support Ticket Message
72159
- * @param {SupportMessagesApiCreateSupportTicketMessageRequest} requestParameters Request parameters.
72160
- * @param {*} [options] Override http request option.
72161
- * @throws {RequiredError}
72162
- */
72163
- createSupportTicketMessage(requestParameters, options) {
72164
- return SupportMessagesApiFp(this.configuration).createSupportTicketMessage(requestParameters.supportTicketId, requestParameters.supportTicketMessageCreateInputs, options).then((request) => request(this.axios, this.basePath));
72165
- }
72166
- }
72167
- /**
72168
- * SupportNotesApi - axios parameter creator
72169
- */
72170
- export const SupportNotesApiAxiosParamCreator = function (configuration) {
72171
- return {
72172
72704
  /**
72173
- * Create Support Ticket Note endpoint
72174
- * @summary Create Support Ticket Note
72705
+ * Get Support Ticket Messages endpoint
72706
+ * @summary Get Support Ticket Messages
72175
72707
  * @param {string} supportTicketId The supportTicket identifier
72176
- * @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
72708
+ * @param {number} [page] Page number
72709
+ * @param {number} [pageSize] Number of items per page
72710
+ * @param {string} [orderBy] Field to order by
72711
+ * @param {string} [search] Search query
72177
72712
  * @param {*} [options] Override http request option.
72178
72713
  * @throws {RequiredError}
72179
72714
  */
72180
- createSupportTicketNote: (supportTicketId_1, supportTicketNoteCreateInputs_1, ...args_1) => __awaiter(this, [supportTicketId_1, supportTicketNoteCreateInputs_1, ...args_1], void 0, function* (supportTicketId, supportTicketNoteCreateInputs, options = {}) {
72715
+ getSupportTicketMessages: (supportTicketId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [supportTicketId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (supportTicketId, page, pageSize, orderBy, search, options = {}) {
72181
72716
  // verify required parameter 'supportTicketId' is not null or undefined
72182
- assertParamExists('createSupportTicketNote', 'supportTicketId', supportTicketId);
72183
- // verify required parameter 'supportTicketNoteCreateInputs' is not null or undefined
72184
- assertParamExists('createSupportTicketNote', 'supportTicketNoteCreateInputs', supportTicketNoteCreateInputs);
72185
- const localVarPath = `/supportTickets/{supportTicketId}/notes`
72717
+ assertParamExists('getSupportTicketMessages', 'supportTicketId', supportTicketId);
72718
+ const localVarPath = `/supportTickets/{supportTicketId}/messages`
72186
72719
  .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72187
72720
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
72188
72721
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -72190,53 +72723,25 @@ export const SupportNotesApiAxiosParamCreator = function (configuration) {
72190
72723
  if (configuration) {
72191
72724
  baseOptions = configuration.baseOptions;
72192
72725
  }
72193
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
72726
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72194
72727
  const localVarHeaderParameter = {};
72195
72728
  const localVarQueryParameter = {};
72196
72729
  // authentication ApiKeyAuth required
72197
72730
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72198
72731
  // authentication OrganizationId required
72199
72732
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72200
- localVarHeaderParameter['Content-Type'] = 'application/json';
72201
- localVarHeaderParameter['Accept'] = 'application/json';
72202
- setSearchParams(localVarUrlObj, localVarQueryParameter);
72203
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72204
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72205
- localVarRequestOptions.data = serializeDataIfNeeded(supportTicketNoteCreateInputs, localVarRequestOptions, configuration);
72206
- return {
72207
- url: toPathString(localVarUrlObj),
72208
- options: localVarRequestOptions,
72209
- };
72210
- }),
72211
- /**
72212
- * Delete Support Ticket Note endpoint
72213
- * @summary Delete Support Ticket Note
72214
- * @param {string} supportTicketId The supportTicket identifier
72215
- * @param {string} noteId The note identifier
72216
- * @param {*} [options] Override http request option.
72217
- * @throws {RequiredError}
72218
- */
72219
- deleteSupportTicketNote: (supportTicketId_1, noteId_1, ...args_1) => __awaiter(this, [supportTicketId_1, noteId_1, ...args_1], void 0, function* (supportTicketId, noteId, options = {}) {
72220
- // verify required parameter 'supportTicketId' is not null or undefined
72221
- assertParamExists('deleteSupportTicketNote', 'supportTicketId', supportTicketId);
72222
- // verify required parameter 'noteId' is not null or undefined
72223
- assertParamExists('deleteSupportTicketNote', 'noteId', noteId);
72224
- const localVarPath = `/supportTickets/{supportTicketId}/notes/{noteId}`
72225
- .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)))
72226
- .replace(`{${"noteId"}}`, encodeURIComponent(String(noteId)));
72227
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
72228
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72229
- let baseOptions;
72230
- if (configuration) {
72231
- baseOptions = configuration.baseOptions;
72733
+ if (page !== undefined) {
72734
+ localVarQueryParameter['page'] = page;
72735
+ }
72736
+ if (pageSize !== undefined) {
72737
+ localVarQueryParameter['pageSize'] = pageSize;
72738
+ }
72739
+ if (orderBy !== undefined) {
72740
+ localVarQueryParameter['orderBy'] = orderBy;
72741
+ }
72742
+ if (search !== undefined) {
72743
+ localVarQueryParameter['search'] = search;
72232
72744
  }
72233
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
72234
- const localVarHeaderParameter = {};
72235
- const localVarQueryParameter = {};
72236
- // authentication ApiKeyAuth required
72237
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72238
- // authentication OrganizationId required
72239
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72240
72745
  localVarHeaderParameter['Accept'] = 'application/json';
72241
72746
  setSearchParams(localVarUrlObj, localVarQueryParameter);
72242
72747
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -72249,116 +72754,122 @@ export const SupportNotesApiAxiosParamCreator = function (configuration) {
72249
72754
  };
72250
72755
  };
72251
72756
  /**
72252
- * SupportNotesApi - functional programming interface
72757
+ * SupportMessagesApi - functional programming interface
72253
72758
  */
72254
- export const SupportNotesApiFp = function (configuration) {
72255
- const localVarAxiosParamCreator = SupportNotesApiAxiosParamCreator(configuration);
72759
+ export const SupportMessagesApiFp = function (configuration) {
72760
+ const localVarAxiosParamCreator = SupportMessagesApiAxiosParamCreator(configuration);
72256
72761
  return {
72257
72762
  /**
72258
- * Create Support Ticket Note endpoint
72259
- * @summary Create Support Ticket Note
72763
+ * Create Support Ticket Message endpoint
72764
+ * @summary Create Support Ticket Message
72260
72765
  * @param {string} supportTicketId The supportTicket identifier
72261
- * @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
72766
+ * @param {SupportTicketMessageCreateInputs} supportTicketMessageCreateInputs
72262
72767
  * @param {*} [options] Override http request option.
72263
72768
  * @throws {RequiredError}
72264
72769
  */
72265
- createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options) {
72770
+ createSupportTicketMessage(supportTicketId, supportTicketMessageCreateInputs, options) {
72266
72771
  return __awaiter(this, void 0, void 0, function* () {
72267
72772
  var _a, _b, _c;
72268
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options);
72773
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createSupportTicketMessage(supportTicketId, supportTicketMessageCreateInputs, options);
72269
72774
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72270
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportNotesApi.createSupportTicketNote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72775
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportMessagesApi.createSupportTicketMessage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72271
72776
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72272
72777
  });
72273
72778
  },
72274
72779
  /**
72275
- * Delete Support Ticket Note endpoint
72276
- * @summary Delete Support Ticket Note
72780
+ * Get Support Ticket Messages endpoint
72781
+ * @summary Get Support Ticket Messages
72277
72782
  * @param {string} supportTicketId The supportTicket identifier
72278
- * @param {string} noteId The note identifier
72783
+ * @param {number} [page] Page number
72784
+ * @param {number} [pageSize] Number of items per page
72785
+ * @param {string} [orderBy] Field to order by
72786
+ * @param {string} [search] Search query
72279
72787
  * @param {*} [options] Override http request option.
72280
72788
  * @throws {RequiredError}
72281
72789
  */
72282
- deleteSupportTicketNote(supportTicketId, noteId, options) {
72790
+ getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options) {
72283
72791
  return __awaiter(this, void 0, void 0, function* () {
72284
72792
  var _a, _b, _c;
72285
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSupportTicketNote(supportTicketId, noteId, options);
72793
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options);
72286
72794
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72287
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportNotesApi.deleteSupportTicketNote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72795
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportMessagesApi.getSupportTicketMessages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72288
72796
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72289
72797
  });
72290
72798
  },
72291
72799
  };
72292
72800
  };
72293
72801
  /**
72294
- * SupportNotesApi - factory interface
72802
+ * SupportMessagesApi - factory interface
72295
72803
  */
72296
- export const SupportNotesApiFactory = function (configuration, basePath, axios) {
72297
- const localVarFp = SupportNotesApiFp(configuration);
72804
+ export const SupportMessagesApiFactory = function (configuration, basePath, axios) {
72805
+ const localVarFp = SupportMessagesApiFp(configuration);
72298
72806
  return {
72299
72807
  /**
72300
- * Create Support Ticket Note endpoint
72301
- * @summary Create Support Ticket Note
72302
- * @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
72808
+ * Create Support Ticket Message endpoint
72809
+ * @summary Create Support Ticket Message
72810
+ * @param {SupportMessagesApiCreateSupportTicketMessageRequest} requestParameters Request parameters.
72303
72811
  * @param {*} [options] Override http request option.
72304
72812
  * @throws {RequiredError}
72305
72813
  */
72306
- createSupportTicketNote(requestParameters, options) {
72307
- return localVarFp.createSupportTicketNote(requestParameters.supportTicketId, requestParameters.supportTicketNoteCreateInputs, options).then((request) => request(axios, basePath));
72814
+ createSupportTicketMessage(requestParameters, options) {
72815
+ return localVarFp.createSupportTicketMessage(requestParameters.supportTicketId, requestParameters.supportTicketMessageCreateInputs, options).then((request) => request(axios, basePath));
72308
72816
  },
72309
72817
  /**
72310
- * Delete Support Ticket Note endpoint
72311
- * @summary Delete Support Ticket Note
72312
- * @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
72818
+ * Get Support Ticket Messages endpoint
72819
+ * @summary Get Support Ticket Messages
72820
+ * @param {SupportMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
72313
72821
  * @param {*} [options] Override http request option.
72314
72822
  * @throws {RequiredError}
72315
72823
  */
72316
- deleteSupportTicketNote(requestParameters, options) {
72317
- return localVarFp.deleteSupportTicketNote(requestParameters.supportTicketId, requestParameters.noteId, options).then((request) => request(axios, basePath));
72824
+ getSupportTicketMessages(requestParameters, options) {
72825
+ return localVarFp.getSupportTicketMessages(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
72318
72826
  },
72319
72827
  };
72320
72828
  };
72321
72829
  /**
72322
- * SupportNotesApi - object-oriented interface
72830
+ * SupportMessagesApi - object-oriented interface
72323
72831
  */
72324
- export class SupportNotesApi extends BaseAPI {
72832
+ export class SupportMessagesApi extends BaseAPI {
72325
72833
  /**
72326
- * Create Support Ticket Note endpoint
72327
- * @summary Create Support Ticket Note
72328
- * @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
72834
+ * Create Support Ticket Message endpoint
72835
+ * @summary Create Support Ticket Message
72836
+ * @param {SupportMessagesApiCreateSupportTicketMessageRequest} requestParameters Request parameters.
72329
72837
  * @param {*} [options] Override http request option.
72330
72838
  * @throws {RequiredError}
72331
72839
  */
72332
- createSupportTicketNote(requestParameters, options) {
72333
- return SupportNotesApiFp(this.configuration).createSupportTicketNote(requestParameters.supportTicketId, requestParameters.supportTicketNoteCreateInputs, options).then((request) => request(this.axios, this.basePath));
72840
+ createSupportTicketMessage(requestParameters, options) {
72841
+ return SupportMessagesApiFp(this.configuration).createSupportTicketMessage(requestParameters.supportTicketId, requestParameters.supportTicketMessageCreateInputs, options).then((request) => request(this.axios, this.basePath));
72334
72842
  }
72335
72843
  /**
72336
- * Delete Support Ticket Note endpoint
72337
- * @summary Delete Support Ticket Note
72338
- * @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
72844
+ * Get Support Ticket Messages endpoint
72845
+ * @summary Get Support Ticket Messages
72846
+ * @param {SupportMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
72339
72847
  * @param {*} [options] Override http request option.
72340
72848
  * @throws {RequiredError}
72341
72849
  */
72342
- deleteSupportTicketNote(requestParameters, options) {
72343
- return SupportNotesApiFp(this.configuration).deleteSupportTicketNote(requestParameters.supportTicketId, requestParameters.noteId, options).then((request) => request(this.axios, this.basePath));
72850
+ getSupportTicketMessages(requestParameters, options) {
72851
+ return SupportMessagesApiFp(this.configuration).getSupportTicketMessages(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
72344
72852
  }
72345
72853
  }
72346
72854
  /**
72347
- * SupportticketsApi - axios parameter creator
72855
+ * SupportNotesApi - axios parameter creator
72348
72856
  */
72349
- export const SupportticketsApiAxiosParamCreator = function (configuration) {
72857
+ export const SupportNotesApiAxiosParamCreator = function (configuration) {
72350
72858
  return {
72351
72859
  /**
72352
- * Get Support Ticket endpoint
72353
- * @summary Get Support Ticket
72860
+ * Create Support Ticket Note endpoint
72861
+ * @summary Create Support Ticket Note
72354
72862
  * @param {string} supportTicketId The supportTicket identifier
72863
+ * @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
72355
72864
  * @param {*} [options] Override http request option.
72356
72865
  * @throws {RequiredError}
72357
72866
  */
72358
- getSupportTicket: (supportTicketId_1, ...args_1) => __awaiter(this, [supportTicketId_1, ...args_1], void 0, function* (supportTicketId, options = {}) {
72867
+ createSupportTicketNote: (supportTicketId_1, supportTicketNoteCreateInputs_1, ...args_1) => __awaiter(this, [supportTicketId_1, supportTicketNoteCreateInputs_1, ...args_1], void 0, function* (supportTicketId, supportTicketNoteCreateInputs, options = {}) {
72359
72868
  // verify required parameter 'supportTicketId' is not null or undefined
72360
- assertParamExists('getSupportTicket', 'supportTicketId', supportTicketId);
72361
- const localVarPath = `/supportTickets/{supportTicketId}`
72869
+ assertParamExists('createSupportTicketNote', 'supportTicketId', supportTicketId);
72870
+ // verify required parameter 'supportTicketNoteCreateInputs' is not null or undefined
72871
+ assertParamExists('createSupportTicketNote', 'supportTicketNoteCreateInputs', supportTicketNoteCreateInputs);
72872
+ const localVarPath = `/supportTickets/{supportTicketId}/notes`
72362
72873
  .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72363
72874
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
72364
72875
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -72366,41 +72877,47 @@ export const SupportticketsApiAxiosParamCreator = function (configuration) {
72366
72877
  if (configuration) {
72367
72878
  baseOptions = configuration.baseOptions;
72368
72879
  }
72369
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72880
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
72370
72881
  const localVarHeaderParameter = {};
72371
72882
  const localVarQueryParameter = {};
72372
72883
  // authentication ApiKeyAuth required
72373
72884
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72374
72885
  // authentication OrganizationId required
72375
72886
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72887
+ localVarHeaderParameter['Content-Type'] = 'application/json';
72376
72888
  localVarHeaderParameter['Accept'] = 'application/json';
72377
72889
  setSearchParams(localVarUrlObj, localVarQueryParameter);
72378
72890
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72379
72891
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72892
+ localVarRequestOptions.data = serializeDataIfNeeded(supportTicketNoteCreateInputs, localVarRequestOptions, configuration);
72380
72893
  return {
72381
72894
  url: toPathString(localVarUrlObj),
72382
72895
  options: localVarRequestOptions,
72383
72896
  };
72384
72897
  }),
72385
72898
  /**
72386
- * Get Support Ticket Activity endpoint
72387
- * @summary Get Support Ticket Activity
72899
+ * Delete Support Ticket Note endpoint
72900
+ * @summary Delete Support Ticket Note
72388
72901
  * @param {string} supportTicketId The supportTicket identifier
72902
+ * @param {string} noteId The note identifier
72389
72903
  * @param {*} [options] Override http request option.
72390
72904
  * @throws {RequiredError}
72391
72905
  */
72392
- getSupportTicketActivity: (supportTicketId_1, ...args_1) => __awaiter(this, [supportTicketId_1, ...args_1], void 0, function* (supportTicketId, options = {}) {
72906
+ deleteSupportTicketNote: (supportTicketId_1, noteId_1, ...args_1) => __awaiter(this, [supportTicketId_1, noteId_1, ...args_1], void 0, function* (supportTicketId, noteId, options = {}) {
72393
72907
  // verify required parameter 'supportTicketId' is not null or undefined
72394
- assertParamExists('getSupportTicketActivity', 'supportTicketId', supportTicketId);
72395
- const localVarPath = `/supportTickets/{supportTicketId}/activityLog`
72396
- .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72908
+ assertParamExists('deleteSupportTicketNote', 'supportTicketId', supportTicketId);
72909
+ // verify required parameter 'noteId' is not null or undefined
72910
+ assertParamExists('deleteSupportTicketNote', 'noteId', noteId);
72911
+ const localVarPath = `/supportTickets/{supportTicketId}/notes/{noteId}`
72912
+ .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)))
72913
+ .replace(`{${"noteId"}}`, encodeURIComponent(String(noteId)));
72397
72914
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
72398
72915
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72399
72916
  let baseOptions;
72400
72917
  if (configuration) {
72401
72918
  baseOptions = configuration.baseOptions;
72402
72919
  }
72403
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72920
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
72404
72921
  const localVarHeaderParameter = {};
72405
72922
  const localVarQueryParameter = {};
72406
72923
  // authentication ApiKeyAuth required
@@ -72417,10 +72934,9 @@ export const SupportticketsApiAxiosParamCreator = function (configuration) {
72417
72934
  };
72418
72935
  }),
72419
72936
  /**
72420
- * Get Support Ticket Viewer endpoint
72421
- * @summary Get Support Ticket Viewer
72937
+ * Get Support Ticket Notes endpoint
72938
+ * @summary Get Support Ticket Notes
72422
72939
  * @param {string} supportTicketId The supportTicket identifier
72423
- * @param {string} [orgMembershipId] Filter by orgMembershipId
72424
72940
  * @param {number} [page] Page number
72425
72941
  * @param {number} [pageSize] Number of items per page
72426
72942
  * @param {string} [orderBy] Field to order by
@@ -72428,10 +72944,10 @@ export const SupportticketsApiAxiosParamCreator = function (configuration) {
72428
72944
  * @param {*} [options] Override http request option.
72429
72945
  * @throws {RequiredError}
72430
72946
  */
72431
- getSupportTicketViewer: (supportTicketId_1, orgMembershipId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [supportTicketId_1, orgMembershipId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options = {}) {
72947
+ getSupportTicketNotes: (supportTicketId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [supportTicketId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (supportTicketId, page, pageSize, orderBy, search, options = {}) {
72432
72948
  // verify required parameter 'supportTicketId' is not null or undefined
72433
- assertParamExists('getSupportTicketViewer', 'supportTicketId', supportTicketId);
72434
- const localVarPath = `/supportTickets/{supportTicketId}/viewer`
72949
+ assertParamExists('getSupportTicketNotes', 'supportTicketId', supportTicketId);
72950
+ const localVarPath = `/supportTickets/{supportTicketId}/notes`
72435
72951
  .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72436
72952
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
72437
72953
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -72446,67 +72962,6 @@ export const SupportticketsApiAxiosParamCreator = function (configuration) {
72446
72962
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72447
72963
  // authentication OrganizationId required
72448
72964
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72449
- if (orgMembershipId !== undefined) {
72450
- localVarQueryParameter['orgMembershipId'] = orgMembershipId;
72451
- }
72452
- if (page !== undefined) {
72453
- localVarQueryParameter['page'] = page;
72454
- }
72455
- if (pageSize !== undefined) {
72456
- localVarQueryParameter['pageSize'] = pageSize;
72457
- }
72458
- if (orderBy !== undefined) {
72459
- localVarQueryParameter['orderBy'] = orderBy;
72460
- }
72461
- if (search !== undefined) {
72462
- localVarQueryParameter['search'] = search;
72463
- }
72464
- localVarHeaderParameter['Accept'] = 'application/json';
72465
- setSearchParams(localVarUrlObj, localVarQueryParameter);
72466
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72467
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72468
- return {
72469
- url: toPathString(localVarUrlObj),
72470
- options: localVarRequestOptions,
72471
- };
72472
- }),
72473
- /**
72474
- * Get Support Tickets endpoint
72475
- * @summary Get Support Tickets
72476
- * @param {string} [type] Filter by type
72477
- * @param {string} [state] Filter by state
72478
- * @param {GetSupportTicketsAssignmentEnum} [assignment] Filter by assignment
72479
- * @param {number} [page] Page number
72480
- * @param {number} [pageSize] Number of items per page
72481
- * @param {string} [orderBy] Field to order by
72482
- * @param {string} [search] Search query
72483
- * @param {*} [options] Override http request option.
72484
- * @throws {RequiredError}
72485
- */
72486
- getSupportTickets: (type_1, state_1, assignment_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [type_1, state_1, assignment_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (type, state, assignment, page, pageSize, orderBy, search, options = {}) {
72487
- const localVarPath = `/supportTickets`;
72488
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
72489
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72490
- let baseOptions;
72491
- if (configuration) {
72492
- baseOptions = configuration.baseOptions;
72493
- }
72494
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72495
- const localVarHeaderParameter = {};
72496
- const localVarQueryParameter = {};
72497
- // authentication ApiKeyAuth required
72498
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72499
- // authentication OrganizationId required
72500
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72501
- if (type !== undefined) {
72502
- localVarQueryParameter['type'] = type;
72503
- }
72504
- if (state !== undefined) {
72505
- localVarQueryParameter['state'] = state;
72506
- }
72507
- if (assignment !== undefined) {
72508
- localVarQueryParameter['assignment'] = assignment;
72509
- }
72510
72965
  if (page !== undefined) {
72511
72966
  localVarQueryParameter['page'] = page;
72512
72967
  }
@@ -72531,48 +72986,49 @@ export const SupportticketsApiAxiosParamCreator = function (configuration) {
72531
72986
  };
72532
72987
  };
72533
72988
  /**
72534
- * SupportticketsApi - functional programming interface
72989
+ * SupportNotesApi - functional programming interface
72535
72990
  */
72536
- export const SupportticketsApiFp = function (configuration) {
72537
- const localVarAxiosParamCreator = SupportticketsApiAxiosParamCreator(configuration);
72991
+ export const SupportNotesApiFp = function (configuration) {
72992
+ const localVarAxiosParamCreator = SupportNotesApiAxiosParamCreator(configuration);
72538
72993
  return {
72539
72994
  /**
72540
- * Get Support Ticket endpoint
72541
- * @summary Get Support Ticket
72995
+ * Create Support Ticket Note endpoint
72996
+ * @summary Create Support Ticket Note
72542
72997
  * @param {string} supportTicketId The supportTicket identifier
72998
+ * @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
72543
72999
  * @param {*} [options] Override http request option.
72544
73000
  * @throws {RequiredError}
72545
73001
  */
72546
- getSupportTicket(supportTicketId, options) {
73002
+ createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options) {
72547
73003
  return __awaiter(this, void 0, void 0, function* () {
72548
73004
  var _a, _b, _c;
72549
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicket(supportTicketId, options);
73005
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options);
72550
73006
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72551
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportticketsApi.getSupportTicket']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
73007
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportNotesApi.createSupportTicketNote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72552
73008
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72553
73009
  });
72554
73010
  },
72555
73011
  /**
72556
- * Get Support Ticket Activity endpoint
72557
- * @summary Get Support Ticket Activity
73012
+ * Delete Support Ticket Note endpoint
73013
+ * @summary Delete Support Ticket Note
72558
73014
  * @param {string} supportTicketId The supportTicket identifier
73015
+ * @param {string} noteId The note identifier
72559
73016
  * @param {*} [options] Override http request option.
72560
73017
  * @throws {RequiredError}
72561
73018
  */
72562
- getSupportTicketActivity(supportTicketId, options) {
73019
+ deleteSupportTicketNote(supportTicketId, noteId, options) {
72563
73020
  return __awaiter(this, void 0, void 0, function* () {
72564
73021
  var _a, _b, _c;
72565
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketActivity(supportTicketId, options);
73022
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSupportTicketNote(supportTicketId, noteId, options);
72566
73023
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72567
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportticketsApi.getSupportTicketActivity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
73024
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportNotesApi.deleteSupportTicketNote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72568
73025
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72569
73026
  });
72570
73027
  },
72571
73028
  /**
72572
- * Get Support Ticket Viewer endpoint
72573
- * @summary Get Support Ticket Viewer
73029
+ * Get Support Ticket Notes endpoint
73030
+ * @summary Get Support Ticket Notes
72574
73031
  * @param {string} supportTicketId The supportTicket identifier
72575
- * @param {string} [orgMembershipId] Filter by orgMembershipId
72576
73032
  * @param {number} [page] Page number
72577
73033
  * @param {number} [pageSize] Number of items per page
72578
73034
  * @param {string} [orderBy] Field to order by
@@ -72580,371 +73036,88 @@ export const SupportticketsApiFp = function (configuration) {
72580
73036
  * @param {*} [options] Override http request option.
72581
73037
  * @throws {RequiredError}
72582
73038
  */
72583
- getSupportTicketViewer(supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options) {
72584
- return __awaiter(this, void 0, void 0, function* () {
72585
- var _a, _b, _c;
72586
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketViewer(supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options);
72587
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72588
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportticketsApi.getSupportTicketViewer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72589
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72590
- });
72591
- },
72592
- /**
72593
- * Get Support Tickets endpoint
72594
- * @summary Get Support Tickets
72595
- * @param {string} [type] Filter by type
72596
- * @param {string} [state] Filter by state
72597
- * @param {GetSupportTicketsAssignmentEnum} [assignment] Filter by assignment
72598
- * @param {number} [page] Page number
72599
- * @param {number} [pageSize] Number of items per page
72600
- * @param {string} [orderBy] Field to order by
72601
- * @param {string} [search] Search query
72602
- * @param {*} [options] Override http request option.
72603
- * @throws {RequiredError}
72604
- */
72605
- getSupportTickets(type, state, assignment, page, pageSize, orderBy, search, options) {
73039
+ getSupportTicketNotes(supportTicketId, page, pageSize, orderBy, search, options) {
72606
73040
  return __awaiter(this, void 0, void 0, function* () {
72607
73041
  var _a, _b, _c;
72608
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTickets(type, state, assignment, page, pageSize, orderBy, search, options);
73042
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketNotes(supportTicketId, page, pageSize, orderBy, search, options);
72609
73043
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72610
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportticketsApi.getSupportTickets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
73044
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportNotesApi.getSupportTicketNotes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72611
73045
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72612
73046
  });
72613
73047
  },
72614
73048
  };
72615
73049
  };
72616
73050
  /**
72617
- * SupportticketsApi - factory interface
73051
+ * SupportNotesApi - factory interface
72618
73052
  */
72619
- export const SupportticketsApiFactory = function (configuration, basePath, axios) {
72620
- const localVarFp = SupportticketsApiFp(configuration);
73053
+ export const SupportNotesApiFactory = function (configuration, basePath, axios) {
73054
+ const localVarFp = SupportNotesApiFp(configuration);
72621
73055
  return {
72622
73056
  /**
72623
- * Get Support Ticket endpoint
72624
- * @summary Get Support Ticket
72625
- * @param {SupportticketsApiGetSupportTicketRequest} requestParameters Request parameters.
72626
- * @param {*} [options] Override http request option.
72627
- * @throws {RequiredError}
72628
- */
72629
- getSupportTicket(requestParameters, options) {
72630
- return localVarFp.getSupportTicket(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
72631
- },
72632
- /**
72633
- * Get Support Ticket Activity endpoint
72634
- * @summary Get Support Ticket Activity
72635
- * @param {SupportticketsApiGetSupportTicketActivityRequest} requestParameters Request parameters.
73057
+ * Create Support Ticket Note endpoint
73058
+ * @summary Create Support Ticket Note
73059
+ * @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
72636
73060
  * @param {*} [options] Override http request option.
72637
73061
  * @throws {RequiredError}
72638
73062
  */
72639
- getSupportTicketActivity(requestParameters, options) {
72640
- return localVarFp.getSupportTicketActivity(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
73063
+ createSupportTicketNote(requestParameters, options) {
73064
+ return localVarFp.createSupportTicketNote(requestParameters.supportTicketId, requestParameters.supportTicketNoteCreateInputs, options).then((request) => request(axios, basePath));
72641
73065
  },
72642
73066
  /**
72643
- * Get Support Ticket Viewer endpoint
72644
- * @summary Get Support Ticket Viewer
72645
- * @param {SupportticketsApiGetSupportTicketViewerRequest} requestParameters Request parameters.
73067
+ * Delete Support Ticket Note endpoint
73068
+ * @summary Delete Support Ticket Note
73069
+ * @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
72646
73070
  * @param {*} [options] Override http request option.
72647
73071
  * @throws {RequiredError}
72648
73072
  */
72649
- getSupportTicketViewer(requestParameters, options) {
72650
- return localVarFp.getSupportTicketViewer(requestParameters.supportTicketId, requestParameters.orgMembershipId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
73073
+ deleteSupportTicketNote(requestParameters, options) {
73074
+ return localVarFp.deleteSupportTicketNote(requestParameters.supportTicketId, requestParameters.noteId, options).then((request) => request(axios, basePath));
72651
73075
  },
72652
73076
  /**
72653
- * Get Support Tickets endpoint
72654
- * @summary Get Support Tickets
72655
- * @param {SupportticketsApiGetSupportTicketsRequest} requestParameters Request parameters.
73077
+ * Get Support Ticket Notes endpoint
73078
+ * @summary Get Support Ticket Notes
73079
+ * @param {SupportNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
72656
73080
  * @param {*} [options] Override http request option.
72657
73081
  * @throws {RequiredError}
72658
73082
  */
72659
- getSupportTickets(requestParameters = {}, options) {
72660
- return localVarFp.getSupportTickets(requestParameters.type, requestParameters.state, requestParameters.assignment, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
73083
+ getSupportTicketNotes(requestParameters, options) {
73084
+ return localVarFp.getSupportTicketNotes(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
72661
73085
  },
72662
73086
  };
72663
73087
  };
72664
73088
  /**
72665
- * SupportticketsApi - object-oriented interface
73089
+ * SupportNotesApi - object-oriented interface
72666
73090
  */
72667
- export class SupportticketsApi extends BaseAPI {
72668
- /**
72669
- * Get Support Ticket endpoint
72670
- * @summary Get Support Ticket
72671
- * @param {SupportticketsApiGetSupportTicketRequest} requestParameters Request parameters.
72672
- * @param {*} [options] Override http request option.
72673
- * @throws {RequiredError}
72674
- */
72675
- getSupportTicket(requestParameters, options) {
72676
- return SupportticketsApiFp(this.configuration).getSupportTicket(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
72677
- }
72678
- /**
72679
- * Get Support Ticket Activity endpoint
72680
- * @summary Get Support Ticket Activity
72681
- * @param {SupportticketsApiGetSupportTicketActivityRequest} requestParameters Request parameters.
72682
- * @param {*} [options] Override http request option.
72683
- * @throws {RequiredError}
72684
- */
72685
- getSupportTicketActivity(requestParameters, options) {
72686
- return SupportticketsApiFp(this.configuration).getSupportTicketActivity(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
72687
- }
72688
- /**
72689
- * Get Support Ticket Viewer endpoint
72690
- * @summary Get Support Ticket Viewer
72691
- * @param {SupportticketsApiGetSupportTicketViewerRequest} requestParameters Request parameters.
72692
- * @param {*} [options] Override http request option.
72693
- * @throws {RequiredError}
72694
- */
72695
- getSupportTicketViewer(requestParameters, options) {
72696
- return SupportticketsApiFp(this.configuration).getSupportTicketViewer(requestParameters.supportTicketId, requestParameters.orgMembershipId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
72697
- }
73091
+ export class SupportNotesApi extends BaseAPI {
72698
73092
  /**
72699
- * Get Support Tickets endpoint
72700
- * @summary Get Support Tickets
72701
- * @param {SupportticketsApiGetSupportTicketsRequest} requestParameters Request parameters.
73093
+ * Create Support Ticket Note endpoint
73094
+ * @summary Create Support Ticket Note
73095
+ * @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
72702
73096
  * @param {*} [options] Override http request option.
72703
73097
  * @throws {RequiredError}
72704
73098
  */
72705
- getSupportTickets(requestParameters = {}, options) {
72706
- return SupportticketsApiFp(this.configuration).getSupportTickets(requestParameters.type, requestParameters.state, requestParameters.assignment, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
73099
+ createSupportTicketNote(requestParameters, options) {
73100
+ return SupportNotesApiFp(this.configuration).createSupportTicketNote(requestParameters.supportTicketId, requestParameters.supportTicketNoteCreateInputs, options).then((request) => request(this.axios, this.basePath));
72707
73101
  }
72708
- }
72709
- export var GetSupportTicketsAssignmentEnum;
72710
- (function (GetSupportTicketsAssignmentEnum) {
72711
- GetSupportTicketsAssignmentEnum["Me"] = "me";
72712
- GetSupportTicketsAssignmentEnum["Unassigned"] = "unassigned";
72713
- })(GetSupportTicketsAssignmentEnum || (GetSupportTicketsAssignmentEnum = {}));
72714
- /**
72715
- * SupportticketsMessagesApi - axios parameter creator
72716
- */
72717
- export const SupportticketsMessagesApiAxiosParamCreator = function (configuration) {
72718
- return {
72719
- /**
72720
- * Get Support Ticket Messages endpoint
72721
- * @summary Get Support Ticket Messages
72722
- * @param {string} supportTicketId The supportTicket identifier
72723
- * @param {number} [page] Page number
72724
- * @param {number} [pageSize] Number of items per page
72725
- * @param {string} [orderBy] Field to order by
72726
- * @param {string} [search] Search query
72727
- * @param {*} [options] Override http request option.
72728
- * @throws {RequiredError}
72729
- */
72730
- getSupportTicketMessages: (supportTicketId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [supportTicketId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (supportTicketId, page, pageSize, orderBy, search, options = {}) {
72731
- // verify required parameter 'supportTicketId' is not null or undefined
72732
- assertParamExists('getSupportTicketMessages', 'supportTicketId', supportTicketId);
72733
- const localVarPath = `/supportTickets/{supportTicketId}/messages`
72734
- .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72735
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
72736
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72737
- let baseOptions;
72738
- if (configuration) {
72739
- baseOptions = configuration.baseOptions;
72740
- }
72741
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72742
- const localVarHeaderParameter = {};
72743
- const localVarQueryParameter = {};
72744
- // authentication ApiKeyAuth required
72745
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72746
- // authentication OrganizationId required
72747
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72748
- if (page !== undefined) {
72749
- localVarQueryParameter['page'] = page;
72750
- }
72751
- if (pageSize !== undefined) {
72752
- localVarQueryParameter['pageSize'] = pageSize;
72753
- }
72754
- if (orderBy !== undefined) {
72755
- localVarQueryParameter['orderBy'] = orderBy;
72756
- }
72757
- if (search !== undefined) {
72758
- localVarQueryParameter['search'] = search;
72759
- }
72760
- localVarHeaderParameter['Accept'] = 'application/json';
72761
- setSearchParams(localVarUrlObj, localVarQueryParameter);
72762
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72763
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72764
- return {
72765
- url: toPathString(localVarUrlObj),
72766
- options: localVarRequestOptions,
72767
- };
72768
- }),
72769
- };
72770
- };
72771
- /**
72772
- * SupportticketsMessagesApi - functional programming interface
72773
- */
72774
- export const SupportticketsMessagesApiFp = function (configuration) {
72775
- const localVarAxiosParamCreator = SupportticketsMessagesApiAxiosParamCreator(configuration);
72776
- return {
72777
- /**
72778
- * Get Support Ticket Messages endpoint
72779
- * @summary Get Support Ticket Messages
72780
- * @param {string} supportTicketId The supportTicket identifier
72781
- * @param {number} [page] Page number
72782
- * @param {number} [pageSize] Number of items per page
72783
- * @param {string} [orderBy] Field to order by
72784
- * @param {string} [search] Search query
72785
- * @param {*} [options] Override http request option.
72786
- * @throws {RequiredError}
72787
- */
72788
- getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options) {
72789
- return __awaiter(this, void 0, void 0, function* () {
72790
- var _a, _b, _c;
72791
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options);
72792
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72793
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportticketsMessagesApi.getSupportTicketMessages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72794
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72795
- });
72796
- },
72797
- };
72798
- };
72799
- /**
72800
- * SupportticketsMessagesApi - factory interface
72801
- */
72802
- export const SupportticketsMessagesApiFactory = function (configuration, basePath, axios) {
72803
- const localVarFp = SupportticketsMessagesApiFp(configuration);
72804
- return {
72805
- /**
72806
- * Get Support Ticket Messages endpoint
72807
- * @summary Get Support Ticket Messages
72808
- * @param {SupportticketsMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
72809
- * @param {*} [options] Override http request option.
72810
- * @throws {RequiredError}
72811
- */
72812
- getSupportTicketMessages(requestParameters, options) {
72813
- return localVarFp.getSupportTicketMessages(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
72814
- },
72815
- };
72816
- };
72817
- /**
72818
- * SupportticketsMessagesApi - object-oriented interface
72819
- */
72820
- export class SupportticketsMessagesApi extends BaseAPI {
72821
73102
  /**
72822
- * Get Support Ticket Messages endpoint
72823
- * @summary Get Support Ticket Messages
72824
- * @param {SupportticketsMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
73103
+ * Delete Support Ticket Note endpoint
73104
+ * @summary Delete Support Ticket Note
73105
+ * @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
72825
73106
  * @param {*} [options] Override http request option.
72826
73107
  * @throws {RequiredError}
72827
73108
  */
72828
- getSupportTicketMessages(requestParameters, options) {
72829
- return SupportticketsMessagesApiFp(this.configuration).getSupportTicketMessages(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
73109
+ deleteSupportTicketNote(requestParameters, options) {
73110
+ return SupportNotesApiFp(this.configuration).deleteSupportTicketNote(requestParameters.supportTicketId, requestParameters.noteId, options).then((request) => request(this.axios, this.basePath));
72830
73111
  }
72831
- }
72832
- /**
72833
- * SupportticketsNotesApi - axios parameter creator
72834
- */
72835
- export const SupportticketsNotesApiAxiosParamCreator = function (configuration) {
72836
- return {
72837
- /**
72838
- * Get Support Ticket Notes endpoint
72839
- * @summary Get Support Ticket Notes
72840
- * @param {string} supportTicketId The supportTicket identifier
72841
- * @param {number} [page] Page number
72842
- * @param {number} [pageSize] Number of items per page
72843
- * @param {string} [orderBy] Field to order by
72844
- * @param {string} [search] Search query
72845
- * @param {*} [options] Override http request option.
72846
- * @throws {RequiredError}
72847
- */
72848
- getSupportTicketNotes: (supportTicketId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [supportTicketId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (supportTicketId, page, pageSize, orderBy, search, options = {}) {
72849
- // verify required parameter 'supportTicketId' is not null or undefined
72850
- assertParamExists('getSupportTicketNotes', 'supportTicketId', supportTicketId);
72851
- const localVarPath = `/supportTickets/{supportTicketId}/notes`
72852
- .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72853
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
72854
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72855
- let baseOptions;
72856
- if (configuration) {
72857
- baseOptions = configuration.baseOptions;
72858
- }
72859
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72860
- const localVarHeaderParameter = {};
72861
- const localVarQueryParameter = {};
72862
- // authentication ApiKeyAuth required
72863
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72864
- // authentication OrganizationId required
72865
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72866
- if (page !== undefined) {
72867
- localVarQueryParameter['page'] = page;
72868
- }
72869
- if (pageSize !== undefined) {
72870
- localVarQueryParameter['pageSize'] = pageSize;
72871
- }
72872
- if (orderBy !== undefined) {
72873
- localVarQueryParameter['orderBy'] = orderBy;
72874
- }
72875
- if (search !== undefined) {
72876
- localVarQueryParameter['search'] = search;
72877
- }
72878
- localVarHeaderParameter['Accept'] = 'application/json';
72879
- setSearchParams(localVarUrlObj, localVarQueryParameter);
72880
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72881
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72882
- return {
72883
- url: toPathString(localVarUrlObj),
72884
- options: localVarRequestOptions,
72885
- };
72886
- }),
72887
- };
72888
- };
72889
- /**
72890
- * SupportticketsNotesApi - functional programming interface
72891
- */
72892
- export const SupportticketsNotesApiFp = function (configuration) {
72893
- const localVarAxiosParamCreator = SupportticketsNotesApiAxiosParamCreator(configuration);
72894
- return {
72895
- /**
72896
- * Get Support Ticket Notes endpoint
72897
- * @summary Get Support Ticket Notes
72898
- * @param {string} supportTicketId The supportTicket identifier
72899
- * @param {number} [page] Page number
72900
- * @param {number} [pageSize] Number of items per page
72901
- * @param {string} [orderBy] Field to order by
72902
- * @param {string} [search] Search query
72903
- * @param {*} [options] Override http request option.
72904
- * @throws {RequiredError}
72905
- */
72906
- getSupportTicketNotes(supportTicketId, page, pageSize, orderBy, search, options) {
72907
- return __awaiter(this, void 0, void 0, function* () {
72908
- var _a, _b, _c;
72909
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketNotes(supportTicketId, page, pageSize, orderBy, search, options);
72910
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72911
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportticketsNotesApi.getSupportTicketNotes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72912
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72913
- });
72914
- },
72915
- };
72916
- };
72917
- /**
72918
- * SupportticketsNotesApi - factory interface
72919
- */
72920
- export const SupportticketsNotesApiFactory = function (configuration, basePath, axios) {
72921
- const localVarFp = SupportticketsNotesApiFp(configuration);
72922
- return {
72923
- /**
72924
- * Get Support Ticket Notes endpoint
72925
- * @summary Get Support Ticket Notes
72926
- * @param {SupportticketsNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
72927
- * @param {*} [options] Override http request option.
72928
- * @throws {RequiredError}
72929
- */
72930
- getSupportTicketNotes(requestParameters, options) {
72931
- return localVarFp.getSupportTicketNotes(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
72932
- },
72933
- };
72934
- };
72935
- /**
72936
- * SupportticketsNotesApi - object-oriented interface
72937
- */
72938
- export class SupportticketsNotesApi extends BaseAPI {
72939
73112
  /**
72940
73113
  * Get Support Ticket Notes endpoint
72941
73114
  * @summary Get Support Ticket Notes
72942
- * @param {SupportticketsNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
73115
+ * @param {SupportNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
72943
73116
  * @param {*} [options] Override http request option.
72944
73117
  * @throws {RequiredError}
72945
73118
  */
72946
73119
  getSupportTicketNotes(requestParameters, options) {
72947
- return SupportticketsNotesApiFp(this.configuration).getSupportTicketNotes(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
73120
+ return SupportNotesApiFp(this.configuration).getSupportTicketNotes(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
72948
73121
  }
72949
73122
  }
72950
73123
  /**