@connectedxm/admin-sdk 1.0.0 → 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.
Files changed (232) hide show
  1. package/.openapi-generator/FILES +59 -33
  2. package/AdminApi.ts +3 -9
  3. package/README.md +67 -36
  4. package/api.ts +2783 -980
  5. package/dist/AdminApi.d.ts +2 -4
  6. package/dist/AdminApi.js +1 -3
  7. package/dist/api.d.ts +2085 -511
  8. package/dist/api.js +832 -622
  9. package/dist/esm/AdminApi.d.ts +2 -4
  10. package/dist/esm/AdminApi.js +2 -4
  11. package/dist/esm/api.d.ts +2085 -511
  12. package/dist/esm/api.js +804 -586
  13. package/docs/APILog.md +28 -0
  14. package/docs/Account.md +38 -2
  15. package/docs/AccountAddress.md +18 -0
  16. package/docs/AccountAttribute.md +23 -1
  17. package/docs/{AccountAttributeCount.md → AccountAttributeAllOfCount.md} +3 -3
  18. package/docs/AccountAttributeValue.md +8 -0
  19. package/docs/AccountInvitation.md +22 -0
  20. package/docs/AccountsApi.md +64 -0
  21. package/docs/ActivationCompletion.md +12 -0
  22. package/docs/ActivitiesApi.md +3 -0
  23. package/docs/Activity.md +36 -0
  24. package/docs/ActivityEntity.md +38 -0
  25. package/docs/ActivityEntityInputs.md +6 -0
  26. package/docs/AdminNotification.md +20 -0
  27. package/docs/Advertisement.md +27 -1
  28. package/docs/{AdvertisementCount.md → AdvertisementAllOfCount.md} +3 -3
  29. package/docs/Announcement.md +37 -1
  30. package/docs/{AnnouncementCount.md → AnnouncementAllOfCount.md} +3 -3
  31. package/docs/AttendeePackage.md +12 -0
  32. package/docs/BaseOrganizationModuleSettings.md +20 -0
  33. package/docs/BaseOrganizationModuleSettingsTranslation.md +22 -0
  34. package/docs/Benefit.md +21 -1
  35. package/docs/{BenefitCount.md → BenefitAllOfCount.md} +3 -3
  36. package/docs/Booking.md +18 -0
  37. package/docs/BookingPlace.md +20 -0
  38. package/docs/BookingSpace.md +30 -0
  39. package/docs/BookingSpaceAvailability.md +8 -0
  40. package/docs/BookingSpaceBlackout.md +6 -0
  41. package/docs/Channel.md +24 -0
  42. package/docs/ChannelContent.md +41 -1
  43. package/docs/{ChannelContentCount.md → ChannelContentAllOfCount.md} +3 -3
  44. package/docs/ChannelContentGuest.md +66 -0
  45. package/docs/ChannelContentLike.md +6 -0
  46. package/docs/Coupon.md +45 -1
  47. package/docs/{CouponCount.md → CouponAllOfCount.md} +3 -3
  48. package/docs/CreatePreset200Response.md +1 -1
  49. package/docs/CreateThread200Response.md +1 -1
  50. package/docs/CreateThreadCircle200Response.md +1 -1
  51. package/docs/CustomReportCreateInputs.md +16 -0
  52. package/docs/Dashboard.md +14 -0
  53. package/docs/DashboardWidget.md +30 -0
  54. package/docs/EmailReceipt.md +20 -0
  55. package/docs/Event.md +68 -0
  56. package/docs/EventActivation.md +18 -0
  57. package/docs/EventAddOn.md +31 -1
  58. package/docs/{EventAddOnCount.md → EventAddOnAllOfCount.md} +3 -3
  59. package/docs/EventAttendee.md +13 -1
  60. package/docs/{EventAttendeeCount.md → EventAttendeeAllOfCount.md} +3 -3
  61. package/docs/EventAttendeeCreateInputs.md +20 -0
  62. package/docs/EventEmail.md +12 -0
  63. package/docs/EventMediaItem.md +20 -0
  64. package/docs/EventOnSite.md +10 -0
  65. package/docs/EventOnSiteBadgeField.md +26 -0
  66. package/docs/EventPackage.md +22 -0
  67. package/docs/EventPackagePass.md +8 -0
  68. package/docs/EventPage.md +12 -0
  69. package/docs/EventPass.md +40 -2
  70. package/docs/EventPassType.md +57 -1
  71. package/docs/{EventPassTypeCount.md → EventPassTypeAllOfCount.md} +3 -3
  72. package/docs/EventPassTypePriceSchedule.md +34 -0
  73. package/docs/EventPassTypeRefundSchedule.md +32 -0
  74. package/docs/EventRoomType.md +21 -1
  75. package/docs/EventRoomTypeAddOnDetails.md +16 -0
  76. package/docs/{EventRoomTypeCount.md → EventRoomTypeAllOfCount.md} +3 -3
  77. package/docs/EventRoomTypePassTypeDetails.md +26 -0
  78. package/docs/EventRoomTypeReservation.md +14 -0
  79. package/docs/EventRoomTypeReservationCreateInputs.md +1 -1
  80. package/docs/EventSession.md +48 -0
  81. package/docs/EventSessionAccess.md +12 -0
  82. package/docs/EventSessionLocation.md +18 -0
  83. package/docs/EventSessionQuestion.md +47 -1
  84. package/docs/{EventSessionQuestionCount.md → EventSessionQuestionAllOfCount.md} +3 -3
  85. package/docs/EventSessionQuestionChoice.md +18 -4
  86. package/docs/EventSessionQuestionChoiceSubQuestion.md +8 -0
  87. package/docs/EventSessionQuestionResponse.md +8 -0
  88. package/docs/EventSessionQuestionResponseChange.md +16 -0
  89. package/docs/EventSessionSection.md +12 -0
  90. package/docs/EventSessionSectionQuestion.md +10 -0
  91. package/docs/EventSpeaker.md +26 -0
  92. package/docs/EventSponsorship.md +14 -0
  93. package/docs/EventSponsorshipLevel.md +10 -0
  94. package/docs/EventTrack.md +11 -1
  95. package/docs/{EventTrackCount.md → EventTrackAllOfCount.md} +3 -3
  96. package/docs/EventsAttendeesApi.md +7 -6
  97. package/docs/Faq.md +10 -0
  98. package/docs/FaqSection.md +8 -0
  99. package/docs/File.md +36 -0
  100. package/docs/GetAccountThreads200Response.md +1 -1
  101. package/docs/GetFiles200Response.md +1 -1
  102. package/docs/GetPresets200Response.md +1 -1
  103. package/docs/GetPushDevice200Response.md +1 -1
  104. package/docs/GetSelf200Response.md +1 -1
  105. package/docs/GetThreadCircles200Response.md +1 -1
  106. package/docs/GetThreadMessageFiles200Response.md +1 -1
  107. package/docs/Group.md +24 -2
  108. package/docs/{GroupCount.md → GroupAllOfCount.md} +3 -3
  109. package/docs/GroupInvitation.md +8 -0
  110. package/docs/GroupMembership.md +12 -0
  111. package/docs/GroupRequest.md +8 -0
  112. package/docs/Image.md +12 -0
  113. package/docs/ImageUsage.md +21 -1
  114. package/docs/{ImageUsageCount.md → ImageUsageAllOfCount.md} +3 -3
  115. package/docs/ImageWCopyUri.md +20 -0
  116. package/docs/Import.md +13 -1
  117. package/docs/{ImportCount.md → ImportAllOfCount.md} +3 -3
  118. package/docs/ImportItem.md +16 -0
  119. package/docs/Integration.md +11 -1
  120. package/docs/{IntegrationDetails.md → IntegrationAllOfDetails.md} +3 -3
  121. package/docs/Interest.md +11 -1
  122. package/docs/{InterestCount.md → InterestAllOfCount.md} +3 -3
  123. package/docs/InterestInputs.md +6 -0
  124. package/docs/Invoice.md +18 -0
  125. package/docs/InvoiceLineItem.md +20 -0
  126. package/docs/Lead.md +13 -1
  127. package/docs/{LeadAttributesInner.md → LeadAllOfAttributes.md} +3 -3
  128. package/docs/Level.md +19 -1
  129. package/docs/Like.md +4 -0
  130. package/docs/LinkInputs.md +6 -0
  131. package/docs/LinkPreview.md +36 -0
  132. package/docs/Login.md +25 -1
  133. package/docs/{LoginCount.md → LoginAllOfCount.md} +3 -3
  134. package/docs/Match.md +10 -0
  135. package/docs/Meeting.md +6 -0
  136. package/docs/MeetingLink.md +10 -0
  137. package/docs/MeetingRecording.md +42 -0
  138. package/docs/MeetingSessionParticipant.md +28 -2
  139. package/docs/{MeetingSessionParticipantQualityStatsInnerAudioStatsInner.md → MeetingSessionParticipantAllOfAudioStats.md} +3 -3
  140. package/docs/MeetingSessionParticipantAllOfPeerStats.md +30 -0
  141. package/docs/{MeetingSessionParticipantPeerStatsDeviceInfo.md → MeetingSessionParticipantAllOfPeerStatsDeviceInfo.md} +3 -3
  142. package/docs/{MeetingSessionParticipantPeerStatsEventsInner.md → MeetingSessionParticipantAllOfPeerStatsEvents.md} +3 -3
  143. package/docs/{MeetingSessionParticipantPeerStatsIpInformation.md → MeetingSessionParticipantAllOfPeerStatsIpInformation.md} +3 -3
  144. package/docs/{MeetingSessionParticipantPeerStatsPrecallNetworkInformation.md → MeetingSessionParticipantAllOfPeerStatsPrecallNetworkInformation.md} +3 -3
  145. package/docs/{MeetingSessionParticipantQualityStatsInner.md → MeetingSessionParticipantAllOfQualityStats.md} +5 -5
  146. package/docs/{MeetingSessionParticipantQualityStatsInnerVideoStatsInner.md → MeetingSessionParticipantAllOfVideoStats.md} +3 -3
  147. package/docs/MentionInputs.md +6 -0
  148. package/docs/Notification.md +18 -0
  149. package/docs/Organization.md +19 -17
  150. package/docs/{OrganizationOAuthInner.md → OrganizationAllOfOAuth.md} +3 -3
  151. package/docs/OrganizationModule.md +12 -0
  152. package/docs/OrganizationModuleSettings.md +36 -0
  153. package/docs/OrganizationModuleSettingsTranslation.md +24 -0
  154. package/docs/OrganizationModuleSettingsTranslationUpdateInputs.md +20 -0
  155. package/docs/OrganizationModuleSettingsUpdateInputs.md +34 -0
  156. package/docs/OrganizationModulesSettingsApi.md +105 -0
  157. package/docs/OrganizationUpdateInputs.md +0 -16
  158. package/docs/PassAddOn.md +6 -0
  159. package/docs/Payment.md +57 -3
  160. package/docs/PaymentAllOfIntegration.md +20 -0
  161. package/docs/PaymentIntegration.md +16 -0
  162. package/docs/PaymentLineItem.md +44 -0
  163. package/docs/Preset.md +26 -0
  164. package/docs/PushDevice.md +46 -0
  165. package/docs/RegistrationBypass.md +34 -0
  166. package/docs/RegistrationFollowup.md +12 -0
  167. package/docs/RegistrationFollowupQuestion.md +10 -0
  168. package/docs/RegistrationQuestion.md +46 -0
  169. package/docs/RegistrationQuestionChoice.md +18 -4
  170. package/docs/RegistrationQuestionChoiceSubQuestion.md +8 -0
  171. package/docs/RegistrationQuestionResponse.md +8 -0
  172. package/docs/RegistrationQuestionResponseChange.md +16 -0
  173. package/docs/RegistrationSection.md +12 -0
  174. package/docs/RegistrationSectionQuestion.md +10 -0
  175. package/docs/Room.md +8 -0
  176. package/docs/Round.md +9 -1
  177. package/docs/{RoundMatchesInner.md → RoundAllOfMatches.md} +3 -3
  178. package/docs/RoundEventQuestion.md +58 -0
  179. package/docs/RoundSessionQuestion.md +58 -0
  180. package/docs/Schedule.md +26 -0
  181. package/docs/SearchList.md +7 -1
  182. package/docs/SearchListValue.md +8 -0
  183. package/docs/SegmentInputs.md +6 -0
  184. package/docs/Self.md +38 -0
  185. package/docs/Series.md +18 -0
  186. package/docs/SideEffect.md +18 -0
  187. package/docs/StandardReport.md +16 -0
  188. package/docs/StreamInput.md +22 -4
  189. package/docs/StreamSession.md +16 -0
  190. package/docs/StreamSessionSubscription.md +14 -0
  191. package/docs/SupportApi.md +241 -0
  192. package/docs/SupportMessagesApi.md +64 -0
  193. package/docs/SupportNotesApi.md +64 -0
  194. package/docs/SupportTicket.md +13 -1
  195. package/docs/SupportTicketActivityLog.md +34 -0
  196. package/docs/SupportTicketMessage.md +16 -0
  197. package/docs/SupportTicketNote.md +8 -0
  198. package/docs/SupportTicketState.md +2 -0
  199. package/docs/SupportTicketViewer.md +32 -0
  200. package/docs/Survey.md +14 -0
  201. package/docs/SurveyQuestion.md +43 -1
  202. package/docs/SurveyQuestionChoice.md +18 -4
  203. package/docs/SurveyQuestionChoiceSubQuestion.md +8 -0
  204. package/docs/SurveyQuestionResponse.md +8 -0
  205. package/docs/SurveyQuestionResponseChange.md +16 -0
  206. package/docs/SurveySection.md +12 -0
  207. package/docs/SurveySectionQuestion.md +10 -0
  208. package/docs/SurveySubmission.md +8 -0
  209. package/docs/TaxIntegrationLog.md +12 -0
  210. package/docs/TeamMember.md +20 -0
  211. package/docs/Thread.md +34 -0
  212. package/docs/ThreadCircle.md +28 -0
  213. package/docs/ThreadCircleAccount.md +24 -0
  214. package/docs/ThreadMember.md +12 -0
  215. package/docs/ThreadMessage.md +15 -1
  216. package/docs/ThreadMessageEntity.md +34 -0
  217. package/docs/ThreadMessageReaction.md +8 -0
  218. package/docs/Tier.md +19 -1
  219. package/docs/{TierCount.md → TierAllOfCount.md} +3 -3
  220. package/docs/Transfer.md +8 -0
  221. package/docs/TransferLog.md +10 -0
  222. package/docs/UploadFile200Response.md +1 -1
  223. package/docs/UpsertLinkPreview200Response.md +1 -1
  224. package/docs/User.md +14 -0
  225. package/docs/Video.md +22 -0
  226. package/docs/WebSocketConnection.md +34 -0
  227. package/docs/Webhook.md +8 -0
  228. package/package.json +5 -2
  229. package/docs/MeetingSessionParticipantPeerStats.md +0 -30
  230. package/docs/SupportticketsApi.md +0 -248
  231. package/docs/SupportticketsMessagesApi.md +0 -71
  232. package/docs/SupportticketsNotesApi.md +0 -71
package/dist/esm/api.js CHANGED
@@ -26,6 +26,16 @@ import globalAxios from 'axios';
26
26
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from './base';
29
+ export var APILogSourceEnum;
30
+ (function (APILogSourceEnum) {
31
+ APILogSourceEnum["Admin"] = "admin";
32
+ APILogSourceEnum["Client"] = "client";
33
+ })(APILogSourceEnum || (APILogSourceEnum = {}));
34
+ export var APILogStatusEnum;
35
+ (function (APILogStatusEnum) {
36
+ APILogStatusEnum["Success"] = "success";
37
+ APILogStatusEnum["Failure"] = "failure";
38
+ })(APILogStatusEnum || (APILogStatusEnum = {}));
29
39
  export var AccountAccess;
30
40
  (function (AccountAccess) {
31
41
  AccountAccess["FullAccess"] = "FULL_ACCESS";
@@ -33,6 +43,13 @@ export var AccountAccess;
33
43
  AccountAccess["Restricted"] = "RESTRICTED";
34
44
  AccountAccess["Banned"] = "BANNED";
35
45
  })(AccountAccess || (AccountAccess = {}));
46
+ export var AccountAttributeTypeEnum;
47
+ (function (AccountAttributeTypeEnum) {
48
+ AccountAttributeTypeEnum["Text"] = "text";
49
+ AccountAttributeTypeEnum["Number"] = "number";
50
+ AccountAttributeTypeEnum["Date"] = "date";
51
+ AccountAttributeTypeEnum["Boolean"] = "boolean";
52
+ })(AccountAttributeTypeEnum || (AccountAttributeTypeEnum = {}));
36
53
  export var AccountAttributeCreateInputsTypeEnum;
37
54
  (function (AccountAttributeCreateInputsTypeEnum) {
38
55
  AccountAttributeCreateInputsTypeEnum["Text"] = "text";
@@ -1008,6 +1025,13 @@ export var InterestInputsTypeEnum;
1008
1025
  (function (InterestInputsTypeEnum) {
1009
1026
  InterestInputsTypeEnum["Interest"] = "interest";
1010
1027
  })(InterestInputsTypeEnum || (InterestInputsTypeEnum = {}));
1028
+ export var InterestInputsMarksEnum;
1029
+ (function (InterestInputsMarksEnum) {
1030
+ InterestInputsMarksEnum["Bold"] = "bold";
1031
+ InterestInputsMarksEnum["Italic"] = "italic";
1032
+ InterestInputsMarksEnum["Underline"] = "underline";
1033
+ InterestInputsMarksEnum["Strike"] = "strike";
1034
+ })(InterestInputsMarksEnum || (InterestInputsMarksEnum = {}));
1011
1035
  export var InvoiceStatus;
1012
1036
  (function (InvoiceStatus) {
1013
1037
  InvoiceStatus["Draft"] = "draft";
@@ -1030,6 +1054,13 @@ export var LinkInputsTypeEnum;
1030
1054
  (function (LinkInputsTypeEnum) {
1031
1055
  LinkInputsTypeEnum["Link"] = "link";
1032
1056
  })(LinkInputsTypeEnum || (LinkInputsTypeEnum = {}));
1057
+ export var LinkInputsMarksEnum;
1058
+ (function (LinkInputsMarksEnum) {
1059
+ LinkInputsMarksEnum["Bold"] = "bold";
1060
+ LinkInputsMarksEnum["Italic"] = "italic";
1061
+ LinkInputsMarksEnum["Underline"] = "underline";
1062
+ LinkInputsMarksEnum["Strike"] = "strike";
1063
+ })(LinkInputsMarksEnum || (LinkInputsMarksEnum = {}));
1033
1064
  export var LivestreamStatusEnum;
1034
1065
  (function (LivestreamStatusEnum) {
1035
1066
  LivestreamStatusEnum["Live"] = "LIVE";
@@ -1107,6 +1138,13 @@ export var MentionInputsTypeEnum;
1107
1138
  (function (MentionInputsTypeEnum) {
1108
1139
  MentionInputsTypeEnum["Mention"] = "mention";
1109
1140
  })(MentionInputsTypeEnum || (MentionInputsTypeEnum = {}));
1141
+ export var MentionInputsMarksEnum;
1142
+ (function (MentionInputsMarksEnum) {
1143
+ MentionInputsMarksEnum["Bold"] = "bold";
1144
+ MentionInputsMarksEnum["Italic"] = "italic";
1145
+ MentionInputsMarksEnum["Underline"] = "underline";
1146
+ MentionInputsMarksEnum["Strike"] = "strike";
1147
+ })(MentionInputsMarksEnum || (MentionInputsMarksEnum = {}));
1110
1148
  export var ModerationStatus;
1111
1149
  (function (ModerationStatus) {
1112
1150
  ModerationStatus["None"] = "none";
@@ -1286,6 +1324,13 @@ export var SegmentInputsTypeEnum;
1286
1324
  (function (SegmentInputsTypeEnum) {
1287
1325
  SegmentInputsTypeEnum["Segment"] = "segment";
1288
1326
  })(SegmentInputsTypeEnum || (SegmentInputsTypeEnum = {}));
1327
+ export var SegmentInputsMarksEnum;
1328
+ (function (SegmentInputsMarksEnum) {
1329
+ SegmentInputsMarksEnum["Bold"] = "bold";
1330
+ SegmentInputsMarksEnum["Italic"] = "italic";
1331
+ SegmentInputsMarksEnum["Underline"] = "underline";
1332
+ SegmentInputsMarksEnum["Strike"] = "strike";
1333
+ })(SegmentInputsMarksEnum || (SegmentInputsMarksEnum = {}));
1289
1334
  export var SessionAccess;
1290
1335
  (function (SessionAccess) {
1291
1336
  SessionAccess["Public"] = "PUBLIC";
@@ -1350,6 +1395,7 @@ export var SupportTicketState;
1350
1395
  SupportTicketState["InProgress"] = "inProgress";
1351
1396
  SupportTicketState["Resolved"] = "resolved";
1352
1397
  SupportTicketState["Spam"] = "spam";
1398
+ SupportTicketState["Archived"] = "archived";
1353
1399
  })(SupportTicketState || (SupportTicketState = {}));
1354
1400
  export var SupportTicketType;
1355
1401
  (function (SupportTicketType) {
@@ -2049,6 +2095,56 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
2049
2095
  options: localVarRequestOptions,
2050
2096
  };
2051
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
+ }),
2052
2148
  /**
2053
2149
  * Get Account Threads endpoint
2054
2150
  * @summary Get Account Threads
@@ -2441,6 +2537,26 @@ export const AccountsApiFp = function (configuration) {
2441
2537
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2442
2538
  });
2443
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
+ },
2444
2560
  /**
2445
2561
  * Get Account Threads endpoint
2446
2562
  * @summary Get Account Threads
@@ -2634,6 +2750,16 @@ export const AccountsApiFactory = function (configuration, basePath, axios) {
2634
2750
  getAccountPayments(requestParameters, options) {
2635
2751
  return localVarFp.getAccountPayments(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
2636
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
+ },
2637
2763
  /**
2638
2764
  * Get Account Threads endpoint
2639
2765
  * @summary Get Account Threads
@@ -2790,6 +2916,16 @@ export class AccountsApi extends BaseAPI {
2790
2916
  getAccountPayments(requestParameters, options) {
2791
2917
  return AccountsApiFp(this.configuration).getAccountPayments(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2792
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
+ }
2793
2929
  /**
2794
2930
  * Get Account Threads endpoint
2795
2931
  * @summary Get Account Threads
@@ -5436,6 +5572,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
5436
5572
  * @param {ModerationStatus} [moderation] Filter by moderation
5437
5573
  * @param {object} [featured] Filter by featured
5438
5574
  * @param {ActivityStatus} [status] Filter by status
5575
+ * @param {boolean} [global] Filter by global
5439
5576
  * @param {number} [page] Page number
5440
5577
  * @param {number} [pageSize] Number of items per page
5441
5578
  * @param {string} [orderBy] Field to order by
@@ -5443,7 +5580,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
5443
5580
  * @param {*} [options] Override http request option.
5444
5581
  * @throws {RequiredError}
5445
5582
  */
5446
- 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 = {}) {
5447
5584
  const localVarPath = `/activities`;
5448
5585
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5449
5586
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5469,6 +5606,9 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
5469
5606
  if (status !== undefined) {
5470
5607
  localVarQueryParameter['status'] = status;
5471
5608
  }
5609
+ if (global !== undefined) {
5610
+ localVarQueryParameter['global'] = global;
5611
+ }
5472
5612
  if (page !== undefined) {
5473
5613
  localVarQueryParameter['page'] = page;
5474
5614
  }
@@ -5761,6 +5901,7 @@ export const ActivitiesApiFp = function (configuration) {
5761
5901
  * @param {ModerationStatus} [moderation] Filter by moderation
5762
5902
  * @param {object} [featured] Filter by featured
5763
5903
  * @param {ActivityStatus} [status] Filter by status
5904
+ * @param {boolean} [global] Filter by global
5764
5905
  * @param {number} [page] Page number
5765
5906
  * @param {number} [pageSize] Number of items per page
5766
5907
  * @param {string} [orderBy] Field to order by
@@ -5768,10 +5909,10 @@ export const ActivitiesApiFp = function (configuration) {
5768
5909
  * @param {*} [options] Override http request option.
5769
5910
  * @throws {RequiredError}
5770
5911
  */
5771
- getActivities(moderation, featured, status, page, pageSize, orderBy, search, options) {
5912
+ getActivities(moderation, featured, status, global, page, pageSize, orderBy, search, options) {
5772
5913
  return __awaiter(this, void 0, void 0, function* () {
5773
5914
  var _a, _b, _c;
5774
- 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);
5775
5916
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5776
5917
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ActivitiesApi.getActivities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5777
5918
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5912,7 +6053,7 @@ export const ActivitiesApiFactory = function (configuration, basePath, axios) {
5912
6053
  * @throws {RequiredError}
5913
6054
  */
5914
6055
  getActivities(requestParameters = {}, options) {
5915
- 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));
5916
6057
  },
5917
6058
  /**
5918
6059
  * Get Activity endpoint
@@ -6008,7 +6149,7 @@ export class ActivitiesApi extends BaseAPI {
6008
6149
  * @throws {RequiredError}
6009
6150
  */
6010
6151
  getActivities(requestParameters = {}, options) {
6011
- 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));
6012
6153
  }
6013
6154
  /**
6014
6155
  * Get Activity endpoint
@@ -17482,15 +17623,15 @@ export const EventsAttendeesApiAxiosParamCreator = function (configuration) {
17482
17623
  * Create Event Attendee endpoint
17483
17624
  * @summary Create Event Attendee
17484
17625
  * @param {string} eventId The event identifier
17485
- * @param {string} accountId Filter by accountId
17626
+ * @param {EventAttendeeCreateInputs} eventAttendeeCreateInputs
17486
17627
  * @param {*} [options] Override http request option.
17487
17628
  * @throws {RequiredError}
17488
17629
  */
17489
- 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 = {}) {
17490
17631
  // verify required parameter 'eventId' is not null or undefined
17491
17632
  assertParamExists('createEventAttendee', 'eventId', eventId);
17492
- // verify required parameter 'accountId' is not null or undefined
17493
- assertParamExists('createEventAttendee', 'accountId', accountId);
17633
+ // verify required parameter 'eventAttendeeCreateInputs' is not null or undefined
17634
+ assertParamExists('createEventAttendee', 'eventAttendeeCreateInputs', eventAttendeeCreateInputs);
17494
17635
  const localVarPath = `/events/{eventId}/attendees`
17495
17636
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
17496
17637
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -17506,13 +17647,12 @@ export const EventsAttendeesApiAxiosParamCreator = function (configuration) {
17506
17647
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
17507
17648
  // authentication OrganizationId required
17508
17649
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
17509
- if (accountId !== undefined) {
17510
- localVarQueryParameter['accountId'] = accountId;
17511
- }
17650
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17512
17651
  localVarHeaderParameter['Accept'] = 'application/json';
17513
17652
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17514
17653
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17515
17654
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17655
+ localVarRequestOptions.data = serializeDataIfNeeded(eventAttendeeCreateInputs, localVarRequestOptions, configuration);
17516
17656
  return {
17517
17657
  url: toPathString(localVarUrlObj),
17518
17658
  options: localVarRequestOptions,
@@ -18023,14 +18163,14 @@ export const EventsAttendeesApiFp = function (configuration) {
18023
18163
  * Create Event Attendee endpoint
18024
18164
  * @summary Create Event Attendee
18025
18165
  * @param {string} eventId The event identifier
18026
- * @param {string} accountId Filter by accountId
18166
+ * @param {EventAttendeeCreateInputs} eventAttendeeCreateInputs
18027
18167
  * @param {*} [options] Override http request option.
18028
18168
  * @throws {RequiredError}
18029
18169
  */
18030
- createEventAttendee(eventId, accountId, options) {
18170
+ createEventAttendee(eventId, eventAttendeeCreateInputs, options) {
18031
18171
  return __awaiter(this, void 0, void 0, function* () {
18032
18172
  var _a, _b, _c;
18033
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventAttendee(eventId, accountId, options);
18173
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventAttendee(eventId, eventAttendeeCreateInputs, options);
18034
18174
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18035
18175
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsAttendeesApi.createEventAttendee']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18036
18176
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -18250,7 +18390,7 @@ export const EventsAttendeesApiFactory = function (configuration, basePath, axio
18250
18390
  * @throws {RequiredError}
18251
18391
  */
18252
18392
  createEventAttendee(requestParameters, options) {
18253
- 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));
18254
18394
  },
18255
18395
  /**
18256
18396
  * Delete Event Attendee endpoint
@@ -18366,7 +18506,7 @@ export class EventsAttendeesApi extends BaseAPI {
18366
18506
  * @throws {RequiredError}
18367
18507
  */
18368
18508
  createEventAttendee(requestParameters, options) {
18369
- 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));
18370
18510
  }
18371
18511
  /**
18372
18512
  * Delete Event Attendee endpoint
@@ -62746,6 +62886,168 @@ export class OrganizationModulesCustomApi extends BaseAPI {
62746
62886
  return OrganizationModulesCustomApiFp(this.configuration).updateCustomModule(requestParameters.moduleId, requestParameters.customModuleUpdateInputs, options).then((request) => request(this.axios, this.basePath));
62747
62887
  }
62748
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
+ }
62749
63051
  /**
62750
63052
  * OrganizationModulesTiersApi - axios parameter creator
62751
63053
  */
@@ -71844,6 +72146,186 @@ export const SupportApiAxiosParamCreator = function (configuration) {
71844
72146
  options: localVarRequestOptions,
71845
72147
  };
71846
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
+ }),
71847
72329
  /**
71848
72330
  * Update Support Ticket endpoint
71849
72331
  * @summary Update Support Ticket
@@ -71923,6 +72405,81 @@ export const SupportApiFp = function (configuration) {
71923
72405
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
71924
72406
  });
71925
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
+ },
71926
72483
  /**
71927
72484
  * Update Support Ticket endpoint
71928
72485
  * @summary Update Support Ticket
@@ -71968,6 +72525,46 @@ export const SupportApiFactory = function (configuration, basePath, axios) {
71968
72525
  deleteSupportTicket(requestParameters, options) {
71969
72526
  return localVarFp.deleteSupportTicket(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
71970
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
+ },
71971
72568
  /**
71972
72569
  * Update Support Ticket endpoint
71973
72570
  * @summary Update Support Ticket
@@ -72004,6 +72601,46 @@ export class SupportApi extends BaseAPI {
72004
72601
  deleteSupportTicket(requestParameters, options) {
72005
72602
  return SupportApiFp(this.configuration).deleteSupportTicket(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
72006
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
+ }
72007
72644
  /**
72008
72645
  * Update Support Ticket endpoint
72009
72646
  * @summary Update Support Ticket
@@ -72015,6 +72652,11 @@ export class SupportApi extends BaseAPI {
72015
72652
  return SupportApiFp(this.configuration).updateSupportTicket(requestParameters.supportTicketId, requestParameters.supportTicketUpdateInputs, options).then((request) => request(this.axios, this.basePath));
72016
72653
  }
72017
72654
  }
72655
+ export var GetSupportTicketsAssignmentEnum;
72656
+ (function (GetSupportTicketsAssignmentEnum) {
72657
+ GetSupportTicketsAssignmentEnum["Me"] = "me";
72658
+ GetSupportTicketsAssignmentEnum["Unassigned"] = "unassigned";
72659
+ })(GetSupportTicketsAssignmentEnum || (GetSupportTicketsAssignmentEnum = {}));
72018
72660
  /**
72019
72661
  * SupportMessagesApi - axios parameter creator
72020
72662
  */
@@ -72059,85 +72701,21 @@ export const SupportMessagesApiAxiosParamCreator = function (configuration) {
72059
72701
  options: localVarRequestOptions,
72060
72702
  };
72061
72703
  }),
72062
- };
72063
- };
72064
- /**
72065
- * SupportMessagesApi - functional programming interface
72066
- */
72067
- export const SupportMessagesApiFp = function (configuration) {
72068
- const localVarAxiosParamCreator = SupportMessagesApiAxiosParamCreator(configuration);
72069
- return {
72070
- /**
72071
- * Create Support Ticket Message endpoint
72072
- * @summary Create Support Ticket Message
72073
- * @param {string} supportTicketId The supportTicket identifier
72074
- * @param {SupportTicketMessageCreateInputs} supportTicketMessageCreateInputs
72075
- * @param {*} [options] Override http request option.
72076
- * @throws {RequiredError}
72077
- */
72078
- createSupportTicketMessage(supportTicketId, supportTicketMessageCreateInputs, options) {
72079
- return __awaiter(this, void 0, void 0, function* () {
72080
- var _a, _b, _c;
72081
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createSupportTicketMessage(supportTicketId, supportTicketMessageCreateInputs, options);
72082
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72083
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportMessagesApi.createSupportTicketMessage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72084
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72085
- });
72086
- },
72087
- };
72088
- };
72089
- /**
72090
- * SupportMessagesApi - factory interface
72091
- */
72092
- export const SupportMessagesApiFactory = function (configuration, basePath, axios) {
72093
- const localVarFp = SupportMessagesApiFp(configuration);
72094
- return {
72095
- /**
72096
- * Create Support Ticket Message endpoint
72097
- * @summary Create Support Ticket Message
72098
- * @param {SupportMessagesApiCreateSupportTicketMessageRequest} requestParameters Request parameters.
72099
- * @param {*} [options] Override http request option.
72100
- * @throws {RequiredError}
72101
- */
72102
- createSupportTicketMessage(requestParameters, options) {
72103
- return localVarFp.createSupportTicketMessage(requestParameters.supportTicketId, requestParameters.supportTicketMessageCreateInputs, options).then((request) => request(axios, basePath));
72104
- },
72105
- };
72106
- };
72107
- /**
72108
- * SupportMessagesApi - object-oriented interface
72109
- */
72110
- export class SupportMessagesApi extends BaseAPI {
72111
- /**
72112
- * Create Support Ticket Message endpoint
72113
- * @summary Create Support Ticket Message
72114
- * @param {SupportMessagesApiCreateSupportTicketMessageRequest} requestParameters Request parameters.
72115
- * @param {*} [options] Override http request option.
72116
- * @throws {RequiredError}
72117
- */
72118
- createSupportTicketMessage(requestParameters, options) {
72119
- return SupportMessagesApiFp(this.configuration).createSupportTicketMessage(requestParameters.supportTicketId, requestParameters.supportTicketMessageCreateInputs, options).then((request) => request(this.axios, this.basePath));
72120
- }
72121
- }
72122
- /**
72123
- * SupportNotesApi - axios parameter creator
72124
- */
72125
- export const SupportNotesApiAxiosParamCreator = function (configuration) {
72126
- return {
72127
72704
  /**
72128
- * Create Support Ticket Note endpoint
72129
- * @summary Create Support Ticket Note
72705
+ * Get Support Ticket Messages endpoint
72706
+ * @summary Get Support Ticket Messages
72130
72707
  * @param {string} supportTicketId The supportTicket identifier
72131
- * @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
72132
72712
  * @param {*} [options] Override http request option.
72133
72713
  * @throws {RequiredError}
72134
72714
  */
72135
- 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 = {}) {
72136
72716
  // verify required parameter 'supportTicketId' is not null or undefined
72137
- assertParamExists('createSupportTicketNote', 'supportTicketId', supportTicketId);
72138
- // verify required parameter 'supportTicketNoteCreateInputs' is not null or undefined
72139
- assertParamExists('createSupportTicketNote', 'supportTicketNoteCreateInputs', supportTicketNoteCreateInputs);
72140
- const localVarPath = `/supportTickets/{supportTicketId}/notes`
72717
+ assertParamExists('getSupportTicketMessages', 'supportTicketId', supportTicketId);
72718
+ const localVarPath = `/supportTickets/{supportTicketId}/messages`
72141
72719
  .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72142
72720
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
72143
72721
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -72145,53 +72723,25 @@ export const SupportNotesApiAxiosParamCreator = function (configuration) {
72145
72723
  if (configuration) {
72146
72724
  baseOptions = configuration.baseOptions;
72147
72725
  }
72148
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
72726
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72149
72727
  const localVarHeaderParameter = {};
72150
72728
  const localVarQueryParameter = {};
72151
72729
  // authentication ApiKeyAuth required
72152
72730
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72153
72731
  // authentication OrganizationId required
72154
72732
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72155
- localVarHeaderParameter['Content-Type'] = 'application/json';
72156
- localVarHeaderParameter['Accept'] = 'application/json';
72157
- setSearchParams(localVarUrlObj, localVarQueryParameter);
72158
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72159
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72160
- localVarRequestOptions.data = serializeDataIfNeeded(supportTicketNoteCreateInputs, localVarRequestOptions, configuration);
72161
- return {
72162
- url: toPathString(localVarUrlObj),
72163
- options: localVarRequestOptions,
72164
- };
72165
- }),
72166
- /**
72167
- * Delete Support Ticket Note endpoint
72168
- * @summary Delete Support Ticket Note
72169
- * @param {string} supportTicketId The supportTicket identifier
72170
- * @param {string} noteId The note identifier
72171
- * @param {*} [options] Override http request option.
72172
- * @throws {RequiredError}
72173
- */
72174
- deleteSupportTicketNote: (supportTicketId_1, noteId_1, ...args_1) => __awaiter(this, [supportTicketId_1, noteId_1, ...args_1], void 0, function* (supportTicketId, noteId, options = {}) {
72175
- // verify required parameter 'supportTicketId' is not null or undefined
72176
- assertParamExists('deleteSupportTicketNote', 'supportTicketId', supportTicketId);
72177
- // verify required parameter 'noteId' is not null or undefined
72178
- assertParamExists('deleteSupportTicketNote', 'noteId', noteId);
72179
- const localVarPath = `/supportTickets/{supportTicketId}/notes/{noteId}`
72180
- .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)))
72181
- .replace(`{${"noteId"}}`, encodeURIComponent(String(noteId)));
72182
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
72183
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72184
- let baseOptions;
72185
- if (configuration) {
72186
- 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;
72187
72744
  }
72188
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
72189
- const localVarHeaderParameter = {};
72190
- const localVarQueryParameter = {};
72191
- // authentication ApiKeyAuth required
72192
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72193
- // authentication OrganizationId required
72194
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72195
72745
  localVarHeaderParameter['Accept'] = 'application/json';
72196
72746
  setSearchParams(localVarUrlObj, localVarQueryParameter);
72197
72747
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -72204,116 +72754,122 @@ export const SupportNotesApiAxiosParamCreator = function (configuration) {
72204
72754
  };
72205
72755
  };
72206
72756
  /**
72207
- * SupportNotesApi - functional programming interface
72757
+ * SupportMessagesApi - functional programming interface
72208
72758
  */
72209
- export const SupportNotesApiFp = function (configuration) {
72210
- const localVarAxiosParamCreator = SupportNotesApiAxiosParamCreator(configuration);
72759
+ export const SupportMessagesApiFp = function (configuration) {
72760
+ const localVarAxiosParamCreator = SupportMessagesApiAxiosParamCreator(configuration);
72211
72761
  return {
72212
72762
  /**
72213
- * Create Support Ticket Note endpoint
72214
- * @summary Create Support Ticket Note
72763
+ * Create Support Ticket Message endpoint
72764
+ * @summary Create Support Ticket Message
72215
72765
  * @param {string} supportTicketId The supportTicket identifier
72216
- * @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
72766
+ * @param {SupportTicketMessageCreateInputs} supportTicketMessageCreateInputs
72217
72767
  * @param {*} [options] Override http request option.
72218
72768
  * @throws {RequiredError}
72219
72769
  */
72220
- createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options) {
72770
+ createSupportTicketMessage(supportTicketId, supportTicketMessageCreateInputs, options) {
72221
72771
  return __awaiter(this, void 0, void 0, function* () {
72222
72772
  var _a, _b, _c;
72223
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options);
72773
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createSupportTicketMessage(supportTicketId, supportTicketMessageCreateInputs, options);
72224
72774
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72225
- 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;
72226
72776
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72227
72777
  });
72228
72778
  },
72229
72779
  /**
72230
- * Delete Support Ticket Note endpoint
72231
- * @summary Delete Support Ticket Note
72780
+ * Get Support Ticket Messages endpoint
72781
+ * @summary Get Support Ticket Messages
72232
72782
  * @param {string} supportTicketId The supportTicket identifier
72233
- * @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
72234
72787
  * @param {*} [options] Override http request option.
72235
72788
  * @throws {RequiredError}
72236
72789
  */
72237
- deleteSupportTicketNote(supportTicketId, noteId, options) {
72790
+ getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options) {
72238
72791
  return __awaiter(this, void 0, void 0, function* () {
72239
72792
  var _a, _b, _c;
72240
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSupportTicketNote(supportTicketId, noteId, options);
72793
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options);
72241
72794
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72242
- 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;
72243
72796
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72244
72797
  });
72245
72798
  },
72246
72799
  };
72247
72800
  };
72248
72801
  /**
72249
- * SupportNotesApi - factory interface
72802
+ * SupportMessagesApi - factory interface
72250
72803
  */
72251
- export const SupportNotesApiFactory = function (configuration, basePath, axios) {
72252
- const localVarFp = SupportNotesApiFp(configuration);
72804
+ export const SupportMessagesApiFactory = function (configuration, basePath, axios) {
72805
+ const localVarFp = SupportMessagesApiFp(configuration);
72253
72806
  return {
72254
72807
  /**
72255
- * Create Support Ticket Note endpoint
72256
- * @summary Create Support Ticket Note
72257
- * @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
72808
+ * Create Support Ticket Message endpoint
72809
+ * @summary Create Support Ticket Message
72810
+ * @param {SupportMessagesApiCreateSupportTicketMessageRequest} requestParameters Request parameters.
72258
72811
  * @param {*} [options] Override http request option.
72259
72812
  * @throws {RequiredError}
72260
72813
  */
72261
- createSupportTicketNote(requestParameters, options) {
72262
- 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));
72263
72816
  },
72264
72817
  /**
72265
- * Delete Support Ticket Note endpoint
72266
- * @summary Delete Support Ticket Note
72267
- * @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
72818
+ * Get Support Ticket Messages endpoint
72819
+ * @summary Get Support Ticket Messages
72820
+ * @param {SupportMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
72268
72821
  * @param {*} [options] Override http request option.
72269
72822
  * @throws {RequiredError}
72270
72823
  */
72271
- deleteSupportTicketNote(requestParameters, options) {
72272
- 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));
72273
72826
  },
72274
72827
  };
72275
72828
  };
72276
72829
  /**
72277
- * SupportNotesApi - object-oriented interface
72830
+ * SupportMessagesApi - object-oriented interface
72278
72831
  */
72279
- export class SupportNotesApi extends BaseAPI {
72832
+ export class SupportMessagesApi extends BaseAPI {
72280
72833
  /**
72281
- * Create Support Ticket Note endpoint
72282
- * @summary Create Support Ticket Note
72283
- * @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
72834
+ * Create Support Ticket Message endpoint
72835
+ * @summary Create Support Ticket Message
72836
+ * @param {SupportMessagesApiCreateSupportTicketMessageRequest} requestParameters Request parameters.
72284
72837
  * @param {*} [options] Override http request option.
72285
72838
  * @throws {RequiredError}
72286
72839
  */
72287
- createSupportTicketNote(requestParameters, options) {
72288
- 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));
72289
72842
  }
72290
72843
  /**
72291
- * Delete Support Ticket Note endpoint
72292
- * @summary Delete Support Ticket Note
72293
- * @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
72844
+ * Get Support Ticket Messages endpoint
72845
+ * @summary Get Support Ticket Messages
72846
+ * @param {SupportMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
72294
72847
  * @param {*} [options] Override http request option.
72295
72848
  * @throws {RequiredError}
72296
72849
  */
72297
- deleteSupportTicketNote(requestParameters, options) {
72298
- 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));
72299
72852
  }
72300
72853
  }
72301
72854
  /**
72302
- * SupportticketsApi - axios parameter creator
72855
+ * SupportNotesApi - axios parameter creator
72303
72856
  */
72304
- export const SupportticketsApiAxiosParamCreator = function (configuration) {
72857
+ export const SupportNotesApiAxiosParamCreator = function (configuration) {
72305
72858
  return {
72306
72859
  /**
72307
- * Get Support Ticket endpoint
72308
- * @summary Get Support Ticket
72860
+ * Create Support Ticket Note endpoint
72861
+ * @summary Create Support Ticket Note
72309
72862
  * @param {string} supportTicketId The supportTicket identifier
72863
+ * @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
72310
72864
  * @param {*} [options] Override http request option.
72311
72865
  * @throws {RequiredError}
72312
72866
  */
72313
- 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 = {}) {
72314
72868
  // verify required parameter 'supportTicketId' is not null or undefined
72315
- assertParamExists('getSupportTicket', 'supportTicketId', supportTicketId);
72316
- 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`
72317
72873
  .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72318
72874
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
72319
72875
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -72321,41 +72877,47 @@ export const SupportticketsApiAxiosParamCreator = function (configuration) {
72321
72877
  if (configuration) {
72322
72878
  baseOptions = configuration.baseOptions;
72323
72879
  }
72324
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72880
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
72325
72881
  const localVarHeaderParameter = {};
72326
72882
  const localVarQueryParameter = {};
72327
72883
  // authentication ApiKeyAuth required
72328
72884
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72329
72885
  // authentication OrganizationId required
72330
72886
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72887
+ localVarHeaderParameter['Content-Type'] = 'application/json';
72331
72888
  localVarHeaderParameter['Accept'] = 'application/json';
72332
72889
  setSearchParams(localVarUrlObj, localVarQueryParameter);
72333
72890
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72334
72891
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72892
+ localVarRequestOptions.data = serializeDataIfNeeded(supportTicketNoteCreateInputs, localVarRequestOptions, configuration);
72335
72893
  return {
72336
72894
  url: toPathString(localVarUrlObj),
72337
72895
  options: localVarRequestOptions,
72338
72896
  };
72339
72897
  }),
72340
72898
  /**
72341
- * Get Support Ticket Activity endpoint
72342
- * @summary Get Support Ticket Activity
72899
+ * Delete Support Ticket Note endpoint
72900
+ * @summary Delete Support Ticket Note
72343
72901
  * @param {string} supportTicketId The supportTicket identifier
72902
+ * @param {string} noteId The note identifier
72344
72903
  * @param {*} [options] Override http request option.
72345
72904
  * @throws {RequiredError}
72346
72905
  */
72347
- 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 = {}) {
72348
72907
  // verify required parameter 'supportTicketId' is not null or undefined
72349
- assertParamExists('getSupportTicketActivity', 'supportTicketId', supportTicketId);
72350
- const localVarPath = `/supportTickets/{supportTicketId}/activityLog`
72351
- .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)));
72352
72914
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
72353
72915
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72354
72916
  let baseOptions;
72355
72917
  if (configuration) {
72356
72918
  baseOptions = configuration.baseOptions;
72357
72919
  }
72358
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72920
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
72359
72921
  const localVarHeaderParameter = {};
72360
72922
  const localVarQueryParameter = {};
72361
72923
  // authentication ApiKeyAuth required
@@ -72372,10 +72934,9 @@ export const SupportticketsApiAxiosParamCreator = function (configuration) {
72372
72934
  };
72373
72935
  }),
72374
72936
  /**
72375
- * Get Support Ticket Viewer endpoint
72376
- * @summary Get Support Ticket Viewer
72937
+ * Get Support Ticket Notes endpoint
72938
+ * @summary Get Support Ticket Notes
72377
72939
  * @param {string} supportTicketId The supportTicket identifier
72378
- * @param {string} [orgMembershipId] Filter by orgMembershipId
72379
72940
  * @param {number} [page] Page number
72380
72941
  * @param {number} [pageSize] Number of items per page
72381
72942
  * @param {string} [orderBy] Field to order by
@@ -72383,10 +72944,10 @@ export const SupportticketsApiAxiosParamCreator = function (configuration) {
72383
72944
  * @param {*} [options] Override http request option.
72384
72945
  * @throws {RequiredError}
72385
72946
  */
72386
- 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 = {}) {
72387
72948
  // verify required parameter 'supportTicketId' is not null or undefined
72388
- assertParamExists('getSupportTicketViewer', 'supportTicketId', supportTicketId);
72389
- const localVarPath = `/supportTickets/{supportTicketId}/viewer`
72949
+ assertParamExists('getSupportTicketNotes', 'supportTicketId', supportTicketId);
72950
+ const localVarPath = `/supportTickets/{supportTicketId}/notes`
72390
72951
  .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72391
72952
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
72392
72953
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -72401,67 +72962,6 @@ export const SupportticketsApiAxiosParamCreator = function (configuration) {
72401
72962
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72402
72963
  // authentication OrganizationId required
72403
72964
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72404
- if (orgMembershipId !== undefined) {
72405
- localVarQueryParameter['orgMembershipId'] = orgMembershipId;
72406
- }
72407
- if (page !== undefined) {
72408
- localVarQueryParameter['page'] = page;
72409
- }
72410
- if (pageSize !== undefined) {
72411
- localVarQueryParameter['pageSize'] = pageSize;
72412
- }
72413
- if (orderBy !== undefined) {
72414
- localVarQueryParameter['orderBy'] = orderBy;
72415
- }
72416
- if (search !== undefined) {
72417
- localVarQueryParameter['search'] = search;
72418
- }
72419
- localVarHeaderParameter['Accept'] = 'application/json';
72420
- setSearchParams(localVarUrlObj, localVarQueryParameter);
72421
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72422
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72423
- return {
72424
- url: toPathString(localVarUrlObj),
72425
- options: localVarRequestOptions,
72426
- };
72427
- }),
72428
- /**
72429
- * Get Support Tickets endpoint
72430
- * @summary Get Support Tickets
72431
- * @param {string} [type] Filter by type
72432
- * @param {string} [state] Filter by state
72433
- * @param {GetSupportTicketsAssignmentEnum} [assignment] Filter by assignment
72434
- * @param {number} [page] Page number
72435
- * @param {number} [pageSize] Number of items per page
72436
- * @param {string} [orderBy] Field to order by
72437
- * @param {string} [search] Search query
72438
- * @param {*} [options] Override http request option.
72439
- * @throws {RequiredError}
72440
- */
72441
- 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 = {}) {
72442
- const localVarPath = `/supportTickets`;
72443
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
72444
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72445
- let baseOptions;
72446
- if (configuration) {
72447
- baseOptions = configuration.baseOptions;
72448
- }
72449
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72450
- const localVarHeaderParameter = {};
72451
- const localVarQueryParameter = {};
72452
- // authentication ApiKeyAuth required
72453
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72454
- // authentication OrganizationId required
72455
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72456
- if (type !== undefined) {
72457
- localVarQueryParameter['type'] = type;
72458
- }
72459
- if (state !== undefined) {
72460
- localVarQueryParameter['state'] = state;
72461
- }
72462
- if (assignment !== undefined) {
72463
- localVarQueryParameter['assignment'] = assignment;
72464
- }
72465
72965
  if (page !== undefined) {
72466
72966
  localVarQueryParameter['page'] = page;
72467
72967
  }
@@ -72486,48 +72986,49 @@ export const SupportticketsApiAxiosParamCreator = function (configuration) {
72486
72986
  };
72487
72987
  };
72488
72988
  /**
72489
- * SupportticketsApi - functional programming interface
72989
+ * SupportNotesApi - functional programming interface
72490
72990
  */
72491
- export const SupportticketsApiFp = function (configuration) {
72492
- const localVarAxiosParamCreator = SupportticketsApiAxiosParamCreator(configuration);
72991
+ export const SupportNotesApiFp = function (configuration) {
72992
+ const localVarAxiosParamCreator = SupportNotesApiAxiosParamCreator(configuration);
72493
72993
  return {
72494
72994
  /**
72495
- * Get Support Ticket endpoint
72496
- * @summary Get Support Ticket
72995
+ * Create Support Ticket Note endpoint
72996
+ * @summary Create Support Ticket Note
72497
72997
  * @param {string} supportTicketId The supportTicket identifier
72998
+ * @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
72498
72999
  * @param {*} [options] Override http request option.
72499
73000
  * @throws {RequiredError}
72500
73001
  */
72501
- getSupportTicket(supportTicketId, options) {
73002
+ createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options) {
72502
73003
  return __awaiter(this, void 0, void 0, function* () {
72503
73004
  var _a, _b, _c;
72504
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicket(supportTicketId, options);
73005
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options);
72505
73006
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72506
- 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;
72507
73008
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72508
73009
  });
72509
73010
  },
72510
73011
  /**
72511
- * Get Support Ticket Activity endpoint
72512
- * @summary Get Support Ticket Activity
73012
+ * Delete Support Ticket Note endpoint
73013
+ * @summary Delete Support Ticket Note
72513
73014
  * @param {string} supportTicketId The supportTicket identifier
73015
+ * @param {string} noteId The note identifier
72514
73016
  * @param {*} [options] Override http request option.
72515
73017
  * @throws {RequiredError}
72516
73018
  */
72517
- getSupportTicketActivity(supportTicketId, options) {
73019
+ deleteSupportTicketNote(supportTicketId, noteId, options) {
72518
73020
  return __awaiter(this, void 0, void 0, function* () {
72519
73021
  var _a, _b, _c;
72520
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketActivity(supportTicketId, options);
73022
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSupportTicketNote(supportTicketId, noteId, options);
72521
73023
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72522
- 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;
72523
73025
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72524
73026
  });
72525
73027
  },
72526
73028
  /**
72527
- * Get Support Ticket Viewer endpoint
72528
- * @summary Get Support Ticket Viewer
73029
+ * Get Support Ticket Notes endpoint
73030
+ * @summary Get Support Ticket Notes
72529
73031
  * @param {string} supportTicketId The supportTicket identifier
72530
- * @param {string} [orgMembershipId] Filter by orgMembershipId
72531
73032
  * @param {number} [page] Page number
72532
73033
  * @param {number} [pageSize] Number of items per page
72533
73034
  * @param {string} [orderBy] Field to order by
@@ -72535,371 +73036,88 @@ export const SupportticketsApiFp = function (configuration) {
72535
73036
  * @param {*} [options] Override http request option.
72536
73037
  * @throws {RequiredError}
72537
73038
  */
72538
- getSupportTicketViewer(supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options) {
72539
- return __awaiter(this, void 0, void 0, function* () {
72540
- var _a, _b, _c;
72541
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketViewer(supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options);
72542
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72543
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportticketsApi.getSupportTicketViewer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72544
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72545
- });
72546
- },
72547
- /**
72548
- * Get Support Tickets endpoint
72549
- * @summary Get Support Tickets
72550
- * @param {string} [type] Filter by type
72551
- * @param {string} [state] Filter by state
72552
- * @param {GetSupportTicketsAssignmentEnum} [assignment] Filter by assignment
72553
- * @param {number} [page] Page number
72554
- * @param {number} [pageSize] Number of items per page
72555
- * @param {string} [orderBy] Field to order by
72556
- * @param {string} [search] Search query
72557
- * @param {*} [options] Override http request option.
72558
- * @throws {RequiredError}
72559
- */
72560
- getSupportTickets(type, state, assignment, page, pageSize, orderBy, search, options) {
73039
+ getSupportTicketNotes(supportTicketId, page, pageSize, orderBy, search, options) {
72561
73040
  return __awaiter(this, void 0, void 0, function* () {
72562
73041
  var _a, _b, _c;
72563
- 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);
72564
73043
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72565
- 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;
72566
73045
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72567
73046
  });
72568
73047
  },
72569
73048
  };
72570
73049
  };
72571
73050
  /**
72572
- * SupportticketsApi - factory interface
73051
+ * SupportNotesApi - factory interface
72573
73052
  */
72574
- export const SupportticketsApiFactory = function (configuration, basePath, axios) {
72575
- const localVarFp = SupportticketsApiFp(configuration);
73053
+ export const SupportNotesApiFactory = function (configuration, basePath, axios) {
73054
+ const localVarFp = SupportNotesApiFp(configuration);
72576
73055
  return {
72577
73056
  /**
72578
- * Get Support Ticket endpoint
72579
- * @summary Get Support Ticket
72580
- * @param {SupportticketsApiGetSupportTicketRequest} requestParameters Request parameters.
72581
- * @param {*} [options] Override http request option.
72582
- * @throws {RequiredError}
72583
- */
72584
- getSupportTicket(requestParameters, options) {
72585
- return localVarFp.getSupportTicket(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
72586
- },
72587
- /**
72588
- * Get Support Ticket Activity endpoint
72589
- * @summary Get Support Ticket Activity
72590
- * @param {SupportticketsApiGetSupportTicketActivityRequest} requestParameters Request parameters.
73057
+ * Create Support Ticket Note endpoint
73058
+ * @summary Create Support Ticket Note
73059
+ * @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
72591
73060
  * @param {*} [options] Override http request option.
72592
73061
  * @throws {RequiredError}
72593
73062
  */
72594
- getSupportTicketActivity(requestParameters, options) {
72595
- 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));
72596
73065
  },
72597
73066
  /**
72598
- * Get Support Ticket Viewer endpoint
72599
- * @summary Get Support Ticket Viewer
72600
- * @param {SupportticketsApiGetSupportTicketViewerRequest} requestParameters Request parameters.
73067
+ * Delete Support Ticket Note endpoint
73068
+ * @summary Delete Support Ticket Note
73069
+ * @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
72601
73070
  * @param {*} [options] Override http request option.
72602
73071
  * @throws {RequiredError}
72603
73072
  */
72604
- getSupportTicketViewer(requestParameters, options) {
72605
- 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));
72606
73075
  },
72607
73076
  /**
72608
- * Get Support Tickets endpoint
72609
- * @summary Get Support Tickets
72610
- * @param {SupportticketsApiGetSupportTicketsRequest} requestParameters Request parameters.
73077
+ * Get Support Ticket Notes endpoint
73078
+ * @summary Get Support Ticket Notes
73079
+ * @param {SupportNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
72611
73080
  * @param {*} [options] Override http request option.
72612
73081
  * @throws {RequiredError}
72613
73082
  */
72614
- getSupportTickets(requestParameters = {}, options) {
72615
- 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));
72616
73085
  },
72617
73086
  };
72618
73087
  };
72619
73088
  /**
72620
- * SupportticketsApi - object-oriented interface
73089
+ * SupportNotesApi - object-oriented interface
72621
73090
  */
72622
- export class SupportticketsApi extends BaseAPI {
72623
- /**
72624
- * Get Support Ticket endpoint
72625
- * @summary Get Support Ticket
72626
- * @param {SupportticketsApiGetSupportTicketRequest} requestParameters Request parameters.
72627
- * @param {*} [options] Override http request option.
72628
- * @throws {RequiredError}
72629
- */
72630
- getSupportTicket(requestParameters, options) {
72631
- return SupportticketsApiFp(this.configuration).getSupportTicket(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
72632
- }
72633
- /**
72634
- * Get Support Ticket Activity endpoint
72635
- * @summary Get Support Ticket Activity
72636
- * @param {SupportticketsApiGetSupportTicketActivityRequest} requestParameters Request parameters.
72637
- * @param {*} [options] Override http request option.
72638
- * @throws {RequiredError}
72639
- */
72640
- getSupportTicketActivity(requestParameters, options) {
72641
- return SupportticketsApiFp(this.configuration).getSupportTicketActivity(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
72642
- }
72643
- /**
72644
- * Get Support Ticket Viewer endpoint
72645
- * @summary Get Support Ticket Viewer
72646
- * @param {SupportticketsApiGetSupportTicketViewerRequest} requestParameters Request parameters.
72647
- * @param {*} [options] Override http request option.
72648
- * @throws {RequiredError}
72649
- */
72650
- getSupportTicketViewer(requestParameters, options) {
72651
- 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));
72652
- }
73091
+ export class SupportNotesApi extends BaseAPI {
72653
73092
  /**
72654
- * Get Support Tickets endpoint
72655
- * @summary Get Support Tickets
72656
- * @param {SupportticketsApiGetSupportTicketsRequest} requestParameters Request parameters.
73093
+ * Create Support Ticket Note endpoint
73094
+ * @summary Create Support Ticket Note
73095
+ * @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
72657
73096
  * @param {*} [options] Override http request option.
72658
73097
  * @throws {RequiredError}
72659
73098
  */
72660
- getSupportTickets(requestParameters = {}, options) {
72661
- 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));
72662
73101
  }
72663
- }
72664
- export var GetSupportTicketsAssignmentEnum;
72665
- (function (GetSupportTicketsAssignmentEnum) {
72666
- GetSupportTicketsAssignmentEnum["Me"] = "me";
72667
- GetSupportTicketsAssignmentEnum["Unassigned"] = "unassigned";
72668
- })(GetSupportTicketsAssignmentEnum || (GetSupportTicketsAssignmentEnum = {}));
72669
- /**
72670
- * SupportticketsMessagesApi - axios parameter creator
72671
- */
72672
- export const SupportticketsMessagesApiAxiosParamCreator = function (configuration) {
72673
- return {
72674
- /**
72675
- * Get Support Ticket Messages endpoint
72676
- * @summary Get Support Ticket Messages
72677
- * @param {string} supportTicketId The supportTicket identifier
72678
- * @param {number} [page] Page number
72679
- * @param {number} [pageSize] Number of items per page
72680
- * @param {string} [orderBy] Field to order by
72681
- * @param {string} [search] Search query
72682
- * @param {*} [options] Override http request option.
72683
- * @throws {RequiredError}
72684
- */
72685
- 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 = {}) {
72686
- // verify required parameter 'supportTicketId' is not null or undefined
72687
- assertParamExists('getSupportTicketMessages', 'supportTicketId', supportTicketId);
72688
- const localVarPath = `/supportTickets/{supportTicketId}/messages`
72689
- .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72690
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
72691
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72692
- let baseOptions;
72693
- if (configuration) {
72694
- baseOptions = configuration.baseOptions;
72695
- }
72696
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72697
- const localVarHeaderParameter = {};
72698
- const localVarQueryParameter = {};
72699
- // authentication ApiKeyAuth required
72700
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72701
- // authentication OrganizationId required
72702
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72703
- if (page !== undefined) {
72704
- localVarQueryParameter['page'] = page;
72705
- }
72706
- if (pageSize !== undefined) {
72707
- localVarQueryParameter['pageSize'] = pageSize;
72708
- }
72709
- if (orderBy !== undefined) {
72710
- localVarQueryParameter['orderBy'] = orderBy;
72711
- }
72712
- if (search !== undefined) {
72713
- localVarQueryParameter['search'] = search;
72714
- }
72715
- localVarHeaderParameter['Accept'] = 'application/json';
72716
- setSearchParams(localVarUrlObj, localVarQueryParameter);
72717
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72718
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72719
- return {
72720
- url: toPathString(localVarUrlObj),
72721
- options: localVarRequestOptions,
72722
- };
72723
- }),
72724
- };
72725
- };
72726
- /**
72727
- * SupportticketsMessagesApi - functional programming interface
72728
- */
72729
- export const SupportticketsMessagesApiFp = function (configuration) {
72730
- const localVarAxiosParamCreator = SupportticketsMessagesApiAxiosParamCreator(configuration);
72731
- return {
72732
- /**
72733
- * Get Support Ticket Messages endpoint
72734
- * @summary Get Support Ticket Messages
72735
- * @param {string} supportTicketId The supportTicket identifier
72736
- * @param {number} [page] Page number
72737
- * @param {number} [pageSize] Number of items per page
72738
- * @param {string} [orderBy] Field to order by
72739
- * @param {string} [search] Search query
72740
- * @param {*} [options] Override http request option.
72741
- * @throws {RequiredError}
72742
- */
72743
- getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options) {
72744
- return __awaiter(this, void 0, void 0, function* () {
72745
- var _a, _b, _c;
72746
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options);
72747
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72748
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportticketsMessagesApi.getSupportTicketMessages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72749
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72750
- });
72751
- },
72752
- };
72753
- };
72754
- /**
72755
- * SupportticketsMessagesApi - factory interface
72756
- */
72757
- export const SupportticketsMessagesApiFactory = function (configuration, basePath, axios) {
72758
- const localVarFp = SupportticketsMessagesApiFp(configuration);
72759
- return {
72760
- /**
72761
- * Get Support Ticket Messages endpoint
72762
- * @summary Get Support Ticket Messages
72763
- * @param {SupportticketsMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
72764
- * @param {*} [options] Override http request option.
72765
- * @throws {RequiredError}
72766
- */
72767
- getSupportTicketMessages(requestParameters, options) {
72768
- return localVarFp.getSupportTicketMessages(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
72769
- },
72770
- };
72771
- };
72772
- /**
72773
- * SupportticketsMessagesApi - object-oriented interface
72774
- */
72775
- export class SupportticketsMessagesApi extends BaseAPI {
72776
73102
  /**
72777
- * Get Support Ticket Messages endpoint
72778
- * @summary Get Support Ticket Messages
72779
- * @param {SupportticketsMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
73103
+ * Delete Support Ticket Note endpoint
73104
+ * @summary Delete Support Ticket Note
73105
+ * @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
72780
73106
  * @param {*} [options] Override http request option.
72781
73107
  * @throws {RequiredError}
72782
73108
  */
72783
- getSupportTicketMessages(requestParameters, options) {
72784
- 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));
72785
73111
  }
72786
- }
72787
- /**
72788
- * SupportticketsNotesApi - axios parameter creator
72789
- */
72790
- export const SupportticketsNotesApiAxiosParamCreator = function (configuration) {
72791
- return {
72792
- /**
72793
- * Get Support Ticket Notes endpoint
72794
- * @summary Get Support Ticket Notes
72795
- * @param {string} supportTicketId The supportTicket identifier
72796
- * @param {number} [page] Page number
72797
- * @param {number} [pageSize] Number of items per page
72798
- * @param {string} [orderBy] Field to order by
72799
- * @param {string} [search] Search query
72800
- * @param {*} [options] Override http request option.
72801
- * @throws {RequiredError}
72802
- */
72803
- 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 = {}) {
72804
- // verify required parameter 'supportTicketId' is not null or undefined
72805
- assertParamExists('getSupportTicketNotes', 'supportTicketId', supportTicketId);
72806
- const localVarPath = `/supportTickets/{supportTicketId}/notes`
72807
- .replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
72808
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
72809
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72810
- let baseOptions;
72811
- if (configuration) {
72812
- baseOptions = configuration.baseOptions;
72813
- }
72814
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
72815
- const localVarHeaderParameter = {};
72816
- const localVarQueryParameter = {};
72817
- // authentication ApiKeyAuth required
72818
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
72819
- // authentication OrganizationId required
72820
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
72821
- if (page !== undefined) {
72822
- localVarQueryParameter['page'] = page;
72823
- }
72824
- if (pageSize !== undefined) {
72825
- localVarQueryParameter['pageSize'] = pageSize;
72826
- }
72827
- if (orderBy !== undefined) {
72828
- localVarQueryParameter['orderBy'] = orderBy;
72829
- }
72830
- if (search !== undefined) {
72831
- localVarQueryParameter['search'] = search;
72832
- }
72833
- localVarHeaderParameter['Accept'] = 'application/json';
72834
- setSearchParams(localVarUrlObj, localVarQueryParameter);
72835
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72836
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
72837
- return {
72838
- url: toPathString(localVarUrlObj),
72839
- options: localVarRequestOptions,
72840
- };
72841
- }),
72842
- };
72843
- };
72844
- /**
72845
- * SupportticketsNotesApi - functional programming interface
72846
- */
72847
- export const SupportticketsNotesApiFp = function (configuration) {
72848
- const localVarAxiosParamCreator = SupportticketsNotesApiAxiosParamCreator(configuration);
72849
- return {
72850
- /**
72851
- * Get Support Ticket Notes endpoint
72852
- * @summary Get Support Ticket Notes
72853
- * @param {string} supportTicketId The supportTicket identifier
72854
- * @param {number} [page] Page number
72855
- * @param {number} [pageSize] Number of items per page
72856
- * @param {string} [orderBy] Field to order by
72857
- * @param {string} [search] Search query
72858
- * @param {*} [options] Override http request option.
72859
- * @throws {RequiredError}
72860
- */
72861
- getSupportTicketNotes(supportTicketId, page, pageSize, orderBy, search, options) {
72862
- return __awaiter(this, void 0, void 0, function* () {
72863
- var _a, _b, _c;
72864
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketNotes(supportTicketId, page, pageSize, orderBy, search, options);
72865
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
72866
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SupportticketsNotesApi.getSupportTicketNotes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
72867
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
72868
- });
72869
- },
72870
- };
72871
- };
72872
- /**
72873
- * SupportticketsNotesApi - factory interface
72874
- */
72875
- export const SupportticketsNotesApiFactory = function (configuration, basePath, axios) {
72876
- const localVarFp = SupportticketsNotesApiFp(configuration);
72877
- return {
72878
- /**
72879
- * Get Support Ticket Notes endpoint
72880
- * @summary Get Support Ticket Notes
72881
- * @param {SupportticketsNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
72882
- * @param {*} [options] Override http request option.
72883
- * @throws {RequiredError}
72884
- */
72885
- getSupportTicketNotes(requestParameters, options) {
72886
- return localVarFp.getSupportTicketNotes(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
72887
- },
72888
- };
72889
- };
72890
- /**
72891
- * SupportticketsNotesApi - object-oriented interface
72892
- */
72893
- export class SupportticketsNotesApi extends BaseAPI {
72894
73112
  /**
72895
73113
  * Get Support Ticket Notes endpoint
72896
73114
  * @summary Get Support Ticket Notes
72897
- * @param {SupportticketsNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
73115
+ * @param {SupportNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
72898
73116
  * @param {*} [options] Override http request option.
72899
73117
  * @throws {RequiredError}
72900
73118
  */
72901
73119
  getSupportTicketNotes(requestParameters, options) {
72902
- 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));
72903
73121
  }
72904
73122
  }
72905
73123
  /**