@connectedxm/admin-sdk 6.6.2 → 6.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +8 -3
- package/AdminApi.ts +3 -9
- package/README.md +16 -6
- package/api.ts +1073 -832
- package/dist/AdminApi.d.ts +2 -4
- package/dist/AdminApi.js +1 -3
- package/dist/api.d.ts +550 -432
- package/dist/api.js +773 -608
- package/dist/esm/AdminApi.d.ts +2 -4
- package/dist/esm/AdminApi.js +2 -4
- package/dist/esm/api.d.ts +550 -432
- package/dist/esm/api.js +759 -586
- package/docs/AccountsApi.md +64 -0
- package/docs/ActivitiesApi.md +3 -0
- package/docs/BaseOrganizationModuleSettings.md +20 -0
- package/docs/BaseOrganizationModuleSettingsTranslation.md +22 -0
- package/docs/EventAttendeeCreateInputs.md +20 -0
- package/docs/EventsAttendeesApi.md +7 -6
- package/docs/Organization.md +0 -16
- package/docs/OrganizationModuleSettings.md +36 -0
- package/docs/OrganizationModuleSettingsTranslation.md +24 -0
- package/docs/OrganizationModuleSettingsTranslationUpdateInputs.md +20 -0
- package/docs/OrganizationModuleSettingsUpdateInputs.md +34 -0
- package/docs/OrganizationModulesSettingsApi.md +105 -0
- package/docs/OrganizationUpdateInputs.md +0 -16
- package/docs/SupportApi.md +241 -0
- package/docs/SupportMessagesApi.md +64 -0
- package/docs/SupportNotesApi.md +64 -0
- package/docs/SupportTicketState.md +2 -0
- package/package.json +1 -1
- package/docs/SupportticketsApi.md +0 -248
- package/docs/SupportticketsMessagesApi.md +0 -71
- package/docs/SupportticketsNotesApi.md +0 -71
package/dist/api.js
CHANGED
|
@@ -36,10 +36,10 @@ exports.EventsSpeakersApiFactory = exports.EventsSpeakersApiFp = exports.EventsS
|
|
|
36
36
|
exports.GroupsModeratorsApi = exports.GroupsModeratorsApiFactory = exports.GroupsModeratorsApiFp = exports.GroupsModeratorsApiAxiosParamCreator = exports.GroupsMembersApi = exports.GroupsMembersApiFactory = exports.GroupsMembersApiFp = exports.GroupsMembersApiAxiosParamCreator = exports.GroupsInvitationsApi = exports.GroupsInvitationsApiFactory = exports.GroupsInvitationsApiFp = exports.GroupsInvitationsApiAxiosParamCreator = exports.GroupsInterestsApi = exports.GroupsInterestsApiFactory = exports.GroupsInterestsApiFp = exports.GroupsInterestsApiAxiosParamCreator = exports.GroupsEventsApi = exports.GroupsEventsApiFactory = exports.GroupsEventsApiFp = exports.GroupsEventsApiAxiosParamCreator = exports.GetGroupsAccessEnum = exports.GroupsApi = exports.GroupsApiFactory = exports.GroupsApiFp = exports.GroupsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.EventsTracksApi = exports.EventsTracksApiFactory = exports.EventsTracksApiFp = exports.EventsTracksApiAxiosParamCreator = exports.EventsTemplatesApi = exports.EventsTemplatesApiFactory = exports.EventsTemplatesApiFp = exports.EventsTemplatesApiAxiosParamCreator = exports.EventsSponsorshipsApi = exports.EventsSponsorshipsApiFactory = exports.EventsSponsorshipsApiFp = exports.EventsSponsorshipsApiAxiosParamCreator = exports.EventsSponsorshiplevelsApi = exports.EventsSponsorshiplevelsApiFactory = exports.EventsSponsorshiplevelsApiFp = exports.EventsSponsorshiplevelsApiAxiosParamCreator = exports.EventsSponsorsApi = exports.EventsSponsorsApiFactory = exports.EventsSponsorsApiFp = exports.EventsSponsorsApiAxiosParamCreator = exports.EventsSpeakersApi = void 0;
|
|
37
37
|
exports.MeetingsLinksApiFp = exports.MeetingsLinksApiAxiosParamCreator = exports.MeetingsApi = exports.MeetingsApiFactory = exports.MeetingsApiFp = exports.MeetingsApiAxiosParamCreator = exports.LoginsAccountsApi = exports.LoginsAccountsApiFactory = exports.LoginsAccountsApiFp = exports.LoginsAccountsApiAxiosParamCreator = exports.LoginsApi = exports.LoginsApiFactory = exports.LoginsApiFp = exports.LoginsApiAxiosParamCreator = exports.LevelsAccountsApi = exports.LevelsAccountsApiFactory = exports.LevelsAccountsApiFp = exports.LevelsAccountsApiAxiosParamCreator = exports.LevelsApi = exports.LevelsApiFactory = exports.LevelsApiFp = exports.LevelsApiAxiosParamCreator = exports.InvoicesLineitemsApi = exports.InvoicesLineitemsApiFactory = exports.InvoicesLineitemsApiFp = exports.InvoicesLineitemsApiAxiosParamCreator = exports.InvoicesApi = exports.InvoicesApiFactory = exports.InvoicesApiFp = exports.InvoicesApiAxiosParamCreator = exports.InterestsApi = exports.InterestsApiFactory = exports.InterestsApiFp = exports.InterestsApiAxiosParamCreator = exports.ImportsApi = exports.ImportsApiFactory = exports.ImportsApiFp = exports.ImportsApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GroupsSponsorsApi = exports.GroupsSponsorsApiFactory = exports.GroupsSponsorsApiFp = exports.GroupsSponsorsApiAxiosParamCreator = exports.GroupsRequestsApi = exports.GroupsRequestsApiFactory = exports.GroupsRequestsApiFp = exports.GroupsRequestsApiAxiosParamCreator = void 0;
|
|
38
38
|
exports.OrganizationModulesCustomApi = exports.OrganizationModulesCustomApiFactory = exports.OrganizationModulesCustomApiFp = exports.OrganizationModulesCustomApiAxiosParamCreator = exports.OrganizationModulesApi = exports.OrganizationModulesApiFactory = exports.OrganizationModulesApiFp = exports.OrganizationModulesApiAxiosParamCreator = exports.OrganizationIntegrationsApi = exports.OrganizationIntegrationsApiFactory = exports.OrganizationIntegrationsApiFp = exports.OrganizationIntegrationsApiAxiosParamCreator = exports.OrganizationDomainsApi = exports.OrganizationDomainsApiFactory = exports.OrganizationDomainsApiFp = exports.OrganizationDomainsApiAxiosParamCreator = exports.OrganizationAttributesApi = exports.OrganizationAttributesApiFactory = exports.OrganizationAttributesApiFp = exports.OrganizationAttributesApiAxiosParamCreator = exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MeetingsSessionsApi = exports.MeetingsSessionsApiFactory = exports.MeetingsSessionsApiFp = exports.MeetingsSessionsApiAxiosParamCreator = exports.MeetingsRecordingsApi = exports.MeetingsRecordingsApiFactory = exports.MeetingsRecordingsApiFp = exports.MeetingsRecordingsApiAxiosParamCreator = exports.MeetingsPresetsApi = exports.MeetingsPresetsApiFactory = exports.MeetingsPresetsApiFp = exports.MeetingsPresetsApiAxiosParamCreator = exports.MeetingsParticipantsApi = exports.MeetingsParticipantsApiFactory = exports.MeetingsParticipantsApiFp = exports.MeetingsParticipantsApiAxiosParamCreator = exports.MeetingsLivestreamsApi = exports.MeetingsLivestreamsApiFactory = exports.MeetingsLivestreamsApiFp = exports.MeetingsLivestreamsApiAxiosParamCreator = exports.MeetingsLinksApi = exports.MeetingsLinksApiFactory = void 0;
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.VideosCaptionsApi = exports.VideosCaptionsApiFactory = exports.VideosCaptionsApiFp = exports.VideosCaptionsApiAxiosParamCreator = exports.VideosApi = exports.VideosApiFactory = exports.VideosApiFp = exports.VideosApiAxiosParamCreator = exports.GetTiersTypeEnum = exports.TiersApi = exports.TiersApiFactory = exports.TiersApiFp = exports.TiersApiAxiosParamCreator = exports.ThreadsMessagesVideosApi = exports.ThreadsMessagesVideosApiFactory = exports.ThreadsMessagesVideosApiFp = exports.ThreadsMessagesVideosApiAxiosParamCreator = exports.ThreadsMessagesReactionsApi = exports.ThreadsMessagesReactionsApiFactory = exports.ThreadsMessagesReactionsApiFp = exports.ThreadsMessagesReactionsApiAxiosParamCreator =
|
|
39
|
+
exports.ReportsUsersApiFp = exports.ReportsUsersApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.PushDevicesApi = exports.PushDevicesApiFactory = exports.PushDevicesApiFp = exports.PushDevicesApiAxiosParamCreator = exports.PreferencesApi = exports.PreferencesApiFactory = exports.PreferencesApiFp = exports.PreferencesApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.OrganizationWebhooksApi = exports.OrganizationWebhooksApiFactory = exports.OrganizationWebhooksApiFp = exports.OrganizationWebhooksApiAxiosParamCreator = exports.OrganizationUsersApi = exports.OrganizationUsersApiFactory = exports.OrganizationUsersApiFp = exports.OrganizationUsersApiAxiosParamCreator = exports.OrganizationTeammembersApi = exports.OrganizationTeammembersApiFactory = exports.OrganizationTeammembersApiFp = exports.OrganizationTeammembersApiAxiosParamCreator = exports.OrganizationTaxApi = exports.OrganizationTaxApiFactory = exports.OrganizationTaxApiFp = exports.OrganizationTaxApiAxiosParamCreator = exports.OrganizationSideeffectsApi = exports.OrganizationSideeffectsApiFactory = exports.OrganizationSideeffectsApiFp = exports.OrganizationSideeffectsApiAxiosParamCreator = exports.OrganizationPaymentsApi = exports.OrganizationPaymentsApiFactory = exports.OrganizationPaymentsApiFp = exports.OrganizationPaymentsApiAxiosParamCreator = exports.OrganizationModulesTiersApi = exports.OrganizationModulesTiersApiFactory = exports.OrganizationModulesTiersApiFp = exports.OrganizationModulesTiersApiAxiosParamCreator = exports.OrganizationModulesSettingsApi = exports.OrganizationModulesSettingsApiFactory = exports.OrganizationModulesSettingsApiFp = exports.OrganizationModulesSettingsApiAxiosParamCreator = void 0;
|
|
40
|
+
exports.SupportMessagesApiFp = exports.SupportMessagesApiAxiosParamCreator = exports.GetSupportTicketsAssignmentEnum = exports.SupportApi = exports.SupportApiFactory = exports.SupportApiFp = exports.SupportApiAxiosParamCreator = exports.StreamsSessionsApi = exports.StreamsSessionsApiFactory = exports.StreamsSessionsApiFp = exports.StreamsSessionsApiAxiosParamCreator = exports.StreamsOutputsApi = exports.StreamsOutputsApiFactory = exports.StreamsOutputsApiFp = exports.StreamsOutputsApiAxiosParamCreator = exports.StreamsApi = exports.StreamsApiFactory = exports.StreamsApiFp = exports.StreamsApiAxiosParamCreator = exports.UploadFileSourceEnum = exports.StorageApi = exports.StorageApiFactory = exports.StorageApiFp = exports.StorageApiAxiosParamCreator = exports.SeriesApi = exports.SeriesApiFactory = exports.SeriesApiFp = exports.SeriesApiAxiosParamCreator = exports.SelfImagesApi = exports.SelfImagesApiFactory = exports.SelfImagesApiFp = exports.SelfImagesApiAxiosParamCreator = exports.SelfApikeysApi = exports.SelfApikeysApiFactory = exports.SelfApikeysApiFp = exports.SelfApikeysApiAxiosParamCreator = exports.SelfApi = exports.SelfApiFactory = exports.SelfApiFp = exports.SelfApiAxiosParamCreator = exports.SearchlistsValuesApi = exports.SearchlistsValuesApiFactory = exports.SearchlistsValuesApiFp = exports.SearchlistsValuesApiAxiosParamCreator = exports.SearchlistsApi = exports.SearchlistsApiFactory = exports.SearchlistsApiFp = exports.SearchlistsApiAxiosParamCreator = exports.ReportsUsersApi = exports.ReportsUsersApiFactory = void 0;
|
|
41
|
+
exports.ThreadsMessagesImagesApi = exports.ThreadsMessagesImagesApiFactory = exports.ThreadsMessagesImagesApiFp = exports.ThreadsMessagesImagesApiAxiosParamCreator = exports.ThreadsMessagesFilesApi = exports.ThreadsMessagesFilesApiFactory = exports.ThreadsMessagesFilesApiFp = exports.ThreadsMessagesFilesApiAxiosParamCreator = exports.ThreadsMessagesApi = exports.ThreadsMessagesApiFactory = exports.ThreadsMessagesApiFp = exports.ThreadsMessagesApiAxiosParamCreator = exports.ThreadsMembersApi = exports.ThreadsMembersApiFactory = exports.ThreadsMembersApiFp = exports.ThreadsMembersApiAxiosParamCreator = exports.ThreadsCirclesAccountsApi = exports.ThreadsCirclesAccountsApiFactory = exports.ThreadsCirclesAccountsApiFp = exports.ThreadsCirclesAccountsApiAxiosParamCreator = exports.ThreadsCirclesApi = exports.ThreadsCirclesApiFactory = exports.ThreadsCirclesApiFp = exports.ThreadsCirclesApiAxiosParamCreator = exports.ThreadsApi = exports.ThreadsApiFactory = exports.ThreadsApiFp = exports.ThreadsApiAxiosParamCreator = exports.SurveysSubmissionsApi = exports.SurveysSubmissionsApiFactory = exports.SurveysSubmissionsApiFp = exports.SurveysSubmissionsApiAxiosParamCreator = exports.SurveysSectionsApi = exports.SurveysSectionsApiFactory = exports.SurveysSectionsApiFp = exports.SurveysSectionsApiAxiosParamCreator = exports.SurveysQuestionsApi = exports.SurveysQuestionsApiFactory = exports.SurveysQuestionsApiFp = exports.SurveysQuestionsApiAxiosParamCreator = exports.SurveysApi = exports.SurveysApiFactory = exports.SurveysApiFp = exports.SurveysApiAxiosParamCreator = exports.SupportNotesApi = exports.SupportNotesApiFactory = exports.SupportNotesApiFp = exports.SupportNotesApiAxiosParamCreator = exports.SupportMessagesApi = exports.SupportMessagesApiFactory = void 0;
|
|
42
|
+
exports.VideosCaptionsApi = exports.VideosCaptionsApiFactory = exports.VideosCaptionsApiFp = exports.VideosCaptionsApiAxiosParamCreator = exports.VideosApi = exports.VideosApiFactory = exports.VideosApiFp = exports.VideosApiAxiosParamCreator = exports.GetTiersTypeEnum = exports.TiersApi = exports.TiersApiFactory = exports.TiersApiFp = exports.TiersApiAxiosParamCreator = exports.ThreadsMessagesVideosApi = exports.ThreadsMessagesVideosApiFactory = exports.ThreadsMessagesVideosApiFp = exports.ThreadsMessagesVideosApiAxiosParamCreator = exports.ThreadsMessagesReactionsApi = exports.ThreadsMessagesReactionsApiFactory = exports.ThreadsMessagesReactionsApiFp = exports.ThreadsMessagesReactionsApiAxiosParamCreator = void 0;
|
|
43
43
|
const axios_1 = require("axios");
|
|
44
44
|
// Some imports not used depending on template conditions
|
|
45
45
|
// @ts-ignore
|
|
@@ -1415,6 +1415,7 @@ var SupportTicketState;
|
|
|
1415
1415
|
SupportTicketState["InProgress"] = "inProgress";
|
|
1416
1416
|
SupportTicketState["Resolved"] = "resolved";
|
|
1417
1417
|
SupportTicketState["Spam"] = "spam";
|
|
1418
|
+
SupportTicketState["Archived"] = "archived";
|
|
1418
1419
|
})(SupportTicketState || (exports.SupportTicketState = SupportTicketState = {}));
|
|
1419
1420
|
var SupportTicketType;
|
|
1420
1421
|
(function (SupportTicketType) {
|
|
@@ -2114,6 +2115,56 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
2114
2115
|
options: localVarRequestOptions,
|
|
2115
2116
|
};
|
|
2116
2117
|
}),
|
|
2118
|
+
/**
|
|
2119
|
+
* Get Account Registrations endpoint
|
|
2120
|
+
* @summary Get Account Registrations
|
|
2121
|
+
* @param {string} accountId The account identifier
|
|
2122
|
+
* @param {number} [page] Page number
|
|
2123
|
+
* @param {number} [pageSize] Number of items per page
|
|
2124
|
+
* @param {string} [orderBy] Field to order by
|
|
2125
|
+
* @param {string} [search] Search query
|
|
2126
|
+
* @param {*} [options] Override http request option.
|
|
2127
|
+
* @throws {RequiredError}
|
|
2128
|
+
*/
|
|
2129
|
+
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 = {}) {
|
|
2130
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
2131
|
+
(0, common_1.assertParamExists)('getAccountRegistrations', 'accountId', accountId);
|
|
2132
|
+
const localVarPath = `/accounts/{accountId}/registrations`
|
|
2133
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
2134
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2135
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2136
|
+
let baseOptions;
|
|
2137
|
+
if (configuration) {
|
|
2138
|
+
baseOptions = configuration.baseOptions;
|
|
2139
|
+
}
|
|
2140
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2141
|
+
const localVarHeaderParameter = {};
|
|
2142
|
+
const localVarQueryParameter = {};
|
|
2143
|
+
// authentication ApiKeyAuth required
|
|
2144
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
2145
|
+
// authentication OrganizationId required
|
|
2146
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
2147
|
+
if (page !== undefined) {
|
|
2148
|
+
localVarQueryParameter['page'] = page;
|
|
2149
|
+
}
|
|
2150
|
+
if (pageSize !== undefined) {
|
|
2151
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
2152
|
+
}
|
|
2153
|
+
if (orderBy !== undefined) {
|
|
2154
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
2155
|
+
}
|
|
2156
|
+
if (search !== undefined) {
|
|
2157
|
+
localVarQueryParameter['search'] = search;
|
|
2158
|
+
}
|
|
2159
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2160
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2161
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2162
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2163
|
+
return {
|
|
2164
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2165
|
+
options: localVarRequestOptions,
|
|
2166
|
+
};
|
|
2167
|
+
}),
|
|
2117
2168
|
/**
|
|
2118
2169
|
* Get Account Threads endpoint
|
|
2119
2170
|
* @summary Get Account Threads
|
|
@@ -2507,6 +2558,26 @@ const AccountsApiFp = function (configuration) {
|
|
|
2507
2558
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2508
2559
|
});
|
|
2509
2560
|
},
|
|
2561
|
+
/**
|
|
2562
|
+
* Get Account Registrations endpoint
|
|
2563
|
+
* @summary Get Account Registrations
|
|
2564
|
+
* @param {string} accountId The account identifier
|
|
2565
|
+
* @param {number} [page] Page number
|
|
2566
|
+
* @param {number} [pageSize] Number of items per page
|
|
2567
|
+
* @param {string} [orderBy] Field to order by
|
|
2568
|
+
* @param {string} [search] Search query
|
|
2569
|
+
* @param {*} [options] Override http request option.
|
|
2570
|
+
* @throws {RequiredError}
|
|
2571
|
+
*/
|
|
2572
|
+
getAccountRegistrations(accountId, page, pageSize, orderBy, search, options) {
|
|
2573
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2574
|
+
var _a, _b, _c;
|
|
2575
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAccountRegistrations(accountId, page, pageSize, orderBy, search, options);
|
|
2576
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2577
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getAccountRegistrations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2578
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2579
|
+
});
|
|
2580
|
+
},
|
|
2510
2581
|
/**
|
|
2511
2582
|
* Get Account Threads endpoint
|
|
2512
2583
|
* @summary Get Account Threads
|
|
@@ -2701,6 +2772,16 @@ const AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
2701
2772
|
getAccountPayments(requestParameters, options) {
|
|
2702
2773
|
return localVarFp.getAccountPayments(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
2703
2774
|
},
|
|
2775
|
+
/**
|
|
2776
|
+
* Get Account Registrations endpoint
|
|
2777
|
+
* @summary Get Account Registrations
|
|
2778
|
+
* @param {AccountsApiGetAccountRegistrationsRequest} requestParameters Request parameters.
|
|
2779
|
+
* @param {*} [options] Override http request option.
|
|
2780
|
+
* @throws {RequiredError}
|
|
2781
|
+
*/
|
|
2782
|
+
getAccountRegistrations(requestParameters, options) {
|
|
2783
|
+
return localVarFp.getAccountRegistrations(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
2784
|
+
},
|
|
2704
2785
|
/**
|
|
2705
2786
|
* Get Account Threads endpoint
|
|
2706
2787
|
* @summary Get Account Threads
|
|
@@ -2858,6 +2939,16 @@ class AccountsApi extends base_1.BaseAPI {
|
|
|
2858
2939
|
getAccountPayments(requestParameters, options) {
|
|
2859
2940
|
return (0, exports.AccountsApiFp)(this.configuration).getAccountPayments(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
2860
2941
|
}
|
|
2942
|
+
/**
|
|
2943
|
+
* Get Account Registrations endpoint
|
|
2944
|
+
* @summary Get Account Registrations
|
|
2945
|
+
* @param {AccountsApiGetAccountRegistrationsRequest} requestParameters Request parameters.
|
|
2946
|
+
* @param {*} [options] Override http request option.
|
|
2947
|
+
* @throws {RequiredError}
|
|
2948
|
+
*/
|
|
2949
|
+
getAccountRegistrations(requestParameters, options) {
|
|
2950
|
+
return (0, exports.AccountsApiFp)(this.configuration).getAccountRegistrations(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
2951
|
+
}
|
|
2861
2952
|
/**
|
|
2862
2953
|
* Get Account Threads endpoint
|
|
2863
2954
|
* @summary Get Account Threads
|
|
@@ -5537,6 +5628,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
|
5537
5628
|
* @param {ModerationStatus} [moderation] Filter by moderation
|
|
5538
5629
|
* @param {object} [featured] Filter by featured
|
|
5539
5630
|
* @param {ActivityStatus} [status] Filter by status
|
|
5631
|
+
* @param {boolean} [global] Filter by global
|
|
5540
5632
|
* @param {number} [page] Page number
|
|
5541
5633
|
* @param {number} [pageSize] Number of items per page
|
|
5542
5634
|
* @param {string} [orderBy] Field to order by
|
|
@@ -5544,7 +5636,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
|
5544
5636
|
* @param {*} [options] Override http request option.
|
|
5545
5637
|
* @throws {RequiredError}
|
|
5546
5638
|
*/
|
|
5547
|
-
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 = {}) {
|
|
5639
|
+
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 = {}) {
|
|
5548
5640
|
const localVarPath = `/activities`;
|
|
5549
5641
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5550
5642
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5570,6 +5662,9 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
|
5570
5662
|
if (status !== undefined) {
|
|
5571
5663
|
localVarQueryParameter['status'] = status;
|
|
5572
5664
|
}
|
|
5665
|
+
if (global !== undefined) {
|
|
5666
|
+
localVarQueryParameter['global'] = global;
|
|
5667
|
+
}
|
|
5573
5668
|
if (page !== undefined) {
|
|
5574
5669
|
localVarQueryParameter['page'] = page;
|
|
5575
5670
|
}
|
|
@@ -5863,6 +5958,7 @@ const ActivitiesApiFp = function (configuration) {
|
|
|
5863
5958
|
* @param {ModerationStatus} [moderation] Filter by moderation
|
|
5864
5959
|
* @param {object} [featured] Filter by featured
|
|
5865
5960
|
* @param {ActivityStatus} [status] Filter by status
|
|
5961
|
+
* @param {boolean} [global] Filter by global
|
|
5866
5962
|
* @param {number} [page] Page number
|
|
5867
5963
|
* @param {number} [pageSize] Number of items per page
|
|
5868
5964
|
* @param {string} [orderBy] Field to order by
|
|
@@ -5870,10 +5966,10 @@ const ActivitiesApiFp = function (configuration) {
|
|
|
5870
5966
|
* @param {*} [options] Override http request option.
|
|
5871
5967
|
* @throws {RequiredError}
|
|
5872
5968
|
*/
|
|
5873
|
-
getActivities(moderation, featured, status, page, pageSize, orderBy, search, options) {
|
|
5969
|
+
getActivities(moderation, featured, status, global, page, pageSize, orderBy, search, options) {
|
|
5874
5970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5875
5971
|
var _a, _b, _c;
|
|
5876
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getActivities(moderation, featured, status, page, pageSize, orderBy, search, options);
|
|
5972
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getActivities(moderation, featured, status, global, page, pageSize, orderBy, search, options);
|
|
5877
5973
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5878
5974
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ActivitiesApi.getActivities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5879
5975
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6015,7 +6111,7 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
6015
6111
|
* @throws {RequiredError}
|
|
6016
6112
|
*/
|
|
6017
6113
|
getActivities(requestParameters = {}, options) {
|
|
6018
|
-
return localVarFp.getActivities(requestParameters.moderation, requestParameters.featured, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
6114
|
+
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));
|
|
6019
6115
|
},
|
|
6020
6116
|
/**
|
|
6021
6117
|
* Get Activity endpoint
|
|
@@ -6112,7 +6208,7 @@ class ActivitiesApi extends base_1.BaseAPI {
|
|
|
6112
6208
|
* @throws {RequiredError}
|
|
6113
6209
|
*/
|
|
6114
6210
|
getActivities(requestParameters = {}, options) {
|
|
6115
|
-
return (0, exports.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));
|
|
6211
|
+
return (0, exports.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));
|
|
6116
6212
|
}
|
|
6117
6213
|
/**
|
|
6118
6214
|
* Get Activity endpoint
|
|
@@ -17667,15 +17763,15 @@ const EventsAttendeesApiAxiosParamCreator = function (configuration) {
|
|
|
17667
17763
|
* Create Event Attendee endpoint
|
|
17668
17764
|
* @summary Create Event Attendee
|
|
17669
17765
|
* @param {string} eventId The event identifier
|
|
17670
|
-
* @param {
|
|
17766
|
+
* @param {EventAttendeeCreateInputs} eventAttendeeCreateInputs
|
|
17671
17767
|
* @param {*} [options] Override http request option.
|
|
17672
17768
|
* @throws {RequiredError}
|
|
17673
17769
|
*/
|
|
17674
|
-
createEventAttendee: (eventId_1,
|
|
17770
|
+
createEventAttendee: (eventId_1, eventAttendeeCreateInputs_1, ...args_1) => __awaiter(this, [eventId_1, eventAttendeeCreateInputs_1, ...args_1], void 0, function* (eventId, eventAttendeeCreateInputs, options = {}) {
|
|
17675
17771
|
// verify required parameter 'eventId' is not null or undefined
|
|
17676
17772
|
(0, common_1.assertParamExists)('createEventAttendee', 'eventId', eventId);
|
|
17677
|
-
// verify required parameter '
|
|
17678
|
-
(0, common_1.assertParamExists)('createEventAttendee', '
|
|
17773
|
+
// verify required parameter 'eventAttendeeCreateInputs' is not null or undefined
|
|
17774
|
+
(0, common_1.assertParamExists)('createEventAttendee', 'eventAttendeeCreateInputs', eventAttendeeCreateInputs);
|
|
17679
17775
|
const localVarPath = `/events/{eventId}/attendees`
|
|
17680
17776
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
17681
17777
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -17691,13 +17787,12 @@ const EventsAttendeesApiAxiosParamCreator = function (configuration) {
|
|
|
17691
17787
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
17692
17788
|
// authentication OrganizationId required
|
|
17693
17789
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
17694
|
-
|
|
17695
|
-
localVarQueryParameter['accountId'] = accountId;
|
|
17696
|
-
}
|
|
17790
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17697
17791
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
17698
17792
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17699
17793
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17700
17794
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17795
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventAttendeeCreateInputs, localVarRequestOptions, configuration);
|
|
17701
17796
|
return {
|
|
17702
17797
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17703
17798
|
options: localVarRequestOptions,
|
|
@@ -18209,14 +18304,14 @@ const EventsAttendeesApiFp = function (configuration) {
|
|
|
18209
18304
|
* Create Event Attendee endpoint
|
|
18210
18305
|
* @summary Create Event Attendee
|
|
18211
18306
|
* @param {string} eventId The event identifier
|
|
18212
|
-
* @param {
|
|
18307
|
+
* @param {EventAttendeeCreateInputs} eventAttendeeCreateInputs
|
|
18213
18308
|
* @param {*} [options] Override http request option.
|
|
18214
18309
|
* @throws {RequiredError}
|
|
18215
18310
|
*/
|
|
18216
|
-
createEventAttendee(eventId,
|
|
18311
|
+
createEventAttendee(eventId, eventAttendeeCreateInputs, options) {
|
|
18217
18312
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18218
18313
|
var _a, _b, _c;
|
|
18219
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventAttendee(eventId,
|
|
18314
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventAttendee(eventId, eventAttendeeCreateInputs, options);
|
|
18220
18315
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18221
18316
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsAttendeesApi.createEventAttendee']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18222
18317
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -18437,7 +18532,7 @@ const EventsAttendeesApiFactory = function (configuration, basePath, axios) {
|
|
|
18437
18532
|
* @throws {RequiredError}
|
|
18438
18533
|
*/
|
|
18439
18534
|
createEventAttendee(requestParameters, options) {
|
|
18440
|
-
return localVarFp.createEventAttendee(requestParameters.eventId, requestParameters.
|
|
18535
|
+
return localVarFp.createEventAttendee(requestParameters.eventId, requestParameters.eventAttendeeCreateInputs, options).then((request) => request(axios, basePath));
|
|
18441
18536
|
},
|
|
18442
18537
|
/**
|
|
18443
18538
|
* Delete Event Attendee endpoint
|
|
@@ -18554,7 +18649,7 @@ class EventsAttendeesApi extends base_1.BaseAPI {
|
|
|
18554
18649
|
* @throws {RequiredError}
|
|
18555
18650
|
*/
|
|
18556
18651
|
createEventAttendee(requestParameters, options) {
|
|
18557
|
-
return (0, exports.EventsAttendeesApiFp)(this.configuration).createEventAttendee(requestParameters.eventId, requestParameters.
|
|
18652
|
+
return (0, exports.EventsAttendeesApiFp)(this.configuration).createEventAttendee(requestParameters.eventId, requestParameters.eventAttendeeCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
18558
18653
|
}
|
|
18559
18654
|
/**
|
|
18560
18655
|
* Delete Event Attendee endpoint
|
|
@@ -63203,6 +63298,172 @@ class OrganizationModulesCustomApi extends base_1.BaseAPI {
|
|
|
63203
63298
|
}
|
|
63204
63299
|
}
|
|
63205
63300
|
exports.OrganizationModulesCustomApi = OrganizationModulesCustomApi;
|
|
63301
|
+
/**
|
|
63302
|
+
* OrganizationModulesSettingsApi - axios parameter creator
|
|
63303
|
+
*/
|
|
63304
|
+
const OrganizationModulesSettingsApiAxiosParamCreator = function (configuration) {
|
|
63305
|
+
return {
|
|
63306
|
+
/**
|
|
63307
|
+
* Get Organization Module Settings endpoint
|
|
63308
|
+
* @summary Get Organization Module Settings
|
|
63309
|
+
* @param {*} [options] Override http request option.
|
|
63310
|
+
* @throws {RequiredError}
|
|
63311
|
+
*/
|
|
63312
|
+
getOrganizationModuleSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
63313
|
+
const localVarPath = `/organization/module-settings`;
|
|
63314
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63315
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
63316
|
+
let baseOptions;
|
|
63317
|
+
if (configuration) {
|
|
63318
|
+
baseOptions = configuration.baseOptions;
|
|
63319
|
+
}
|
|
63320
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
63321
|
+
const localVarHeaderParameter = {};
|
|
63322
|
+
const localVarQueryParameter = {};
|
|
63323
|
+
// authentication ApiKeyAuth required
|
|
63324
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
63325
|
+
// authentication OrganizationId required
|
|
63326
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
63327
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
63328
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63329
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63330
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
63331
|
+
return {
|
|
63332
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
63333
|
+
options: localVarRequestOptions,
|
|
63334
|
+
};
|
|
63335
|
+
}),
|
|
63336
|
+
/**
|
|
63337
|
+
* Update Organization Module Settings endpoint
|
|
63338
|
+
* @summary Update Organization Module Settings
|
|
63339
|
+
* @param {OrganizationModuleSettingsUpdateInputs} organizationModuleSettingsUpdateInputs
|
|
63340
|
+
* @param {*} [options] Override http request option.
|
|
63341
|
+
* @throws {RequiredError}
|
|
63342
|
+
*/
|
|
63343
|
+
updateOrganizationModuleSettings: (organizationModuleSettingsUpdateInputs_1, ...args_1) => __awaiter(this, [organizationModuleSettingsUpdateInputs_1, ...args_1], void 0, function* (organizationModuleSettingsUpdateInputs, options = {}) {
|
|
63344
|
+
// verify required parameter 'organizationModuleSettingsUpdateInputs' is not null or undefined
|
|
63345
|
+
(0, common_1.assertParamExists)('updateOrganizationModuleSettings', 'organizationModuleSettingsUpdateInputs', organizationModuleSettingsUpdateInputs);
|
|
63346
|
+
const localVarPath = `/organization/module-settings`;
|
|
63347
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63348
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
63349
|
+
let baseOptions;
|
|
63350
|
+
if (configuration) {
|
|
63351
|
+
baseOptions = configuration.baseOptions;
|
|
63352
|
+
}
|
|
63353
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
63354
|
+
const localVarHeaderParameter = {};
|
|
63355
|
+
const localVarQueryParameter = {};
|
|
63356
|
+
// authentication ApiKeyAuth required
|
|
63357
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
63358
|
+
// authentication OrganizationId required
|
|
63359
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
63360
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
63361
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
63362
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63363
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63364
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
63365
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(organizationModuleSettingsUpdateInputs, localVarRequestOptions, configuration);
|
|
63366
|
+
return {
|
|
63367
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
63368
|
+
options: localVarRequestOptions,
|
|
63369
|
+
};
|
|
63370
|
+
}),
|
|
63371
|
+
};
|
|
63372
|
+
};
|
|
63373
|
+
exports.OrganizationModulesSettingsApiAxiosParamCreator = OrganizationModulesSettingsApiAxiosParamCreator;
|
|
63374
|
+
/**
|
|
63375
|
+
* OrganizationModulesSettingsApi - functional programming interface
|
|
63376
|
+
*/
|
|
63377
|
+
const OrganizationModulesSettingsApiFp = function (configuration) {
|
|
63378
|
+
const localVarAxiosParamCreator = (0, exports.OrganizationModulesSettingsApiAxiosParamCreator)(configuration);
|
|
63379
|
+
return {
|
|
63380
|
+
/**
|
|
63381
|
+
* Get Organization Module Settings endpoint
|
|
63382
|
+
* @summary Get Organization Module Settings
|
|
63383
|
+
* @param {*} [options] Override http request option.
|
|
63384
|
+
* @throws {RequiredError}
|
|
63385
|
+
*/
|
|
63386
|
+
getOrganizationModuleSettings(options) {
|
|
63387
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63388
|
+
var _a, _b, _c;
|
|
63389
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationModuleSettings(options);
|
|
63390
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
63391
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationModulesSettingsApi.getOrganizationModuleSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
63392
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63393
|
+
});
|
|
63394
|
+
},
|
|
63395
|
+
/**
|
|
63396
|
+
* Update Organization Module Settings endpoint
|
|
63397
|
+
* @summary Update Organization Module Settings
|
|
63398
|
+
* @param {OrganizationModuleSettingsUpdateInputs} organizationModuleSettingsUpdateInputs
|
|
63399
|
+
* @param {*} [options] Override http request option.
|
|
63400
|
+
* @throws {RequiredError}
|
|
63401
|
+
*/
|
|
63402
|
+
updateOrganizationModuleSettings(organizationModuleSettingsUpdateInputs, options) {
|
|
63403
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63404
|
+
var _a, _b, _c;
|
|
63405
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrganizationModuleSettings(organizationModuleSettingsUpdateInputs, options);
|
|
63406
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
63407
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationModulesSettingsApi.updateOrganizationModuleSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
63408
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63409
|
+
});
|
|
63410
|
+
},
|
|
63411
|
+
};
|
|
63412
|
+
};
|
|
63413
|
+
exports.OrganizationModulesSettingsApiFp = OrganizationModulesSettingsApiFp;
|
|
63414
|
+
/**
|
|
63415
|
+
* OrganizationModulesSettingsApi - factory interface
|
|
63416
|
+
*/
|
|
63417
|
+
const OrganizationModulesSettingsApiFactory = function (configuration, basePath, axios) {
|
|
63418
|
+
const localVarFp = (0, exports.OrganizationModulesSettingsApiFp)(configuration);
|
|
63419
|
+
return {
|
|
63420
|
+
/**
|
|
63421
|
+
* Get Organization Module Settings endpoint
|
|
63422
|
+
* @summary Get Organization Module Settings
|
|
63423
|
+
* @param {*} [options] Override http request option.
|
|
63424
|
+
* @throws {RequiredError}
|
|
63425
|
+
*/
|
|
63426
|
+
getOrganizationModuleSettings(options) {
|
|
63427
|
+
return localVarFp.getOrganizationModuleSettings(options).then((request) => request(axios, basePath));
|
|
63428
|
+
},
|
|
63429
|
+
/**
|
|
63430
|
+
* Update Organization Module Settings endpoint
|
|
63431
|
+
* @summary Update Organization Module Settings
|
|
63432
|
+
* @param {OrganizationModulesSettingsApiUpdateOrganizationModuleSettingsRequest} requestParameters Request parameters.
|
|
63433
|
+
* @param {*} [options] Override http request option.
|
|
63434
|
+
* @throws {RequiredError}
|
|
63435
|
+
*/
|
|
63436
|
+
updateOrganizationModuleSettings(requestParameters, options) {
|
|
63437
|
+
return localVarFp.updateOrganizationModuleSettings(requestParameters.organizationModuleSettingsUpdateInputs, options).then((request) => request(axios, basePath));
|
|
63438
|
+
},
|
|
63439
|
+
};
|
|
63440
|
+
};
|
|
63441
|
+
exports.OrganizationModulesSettingsApiFactory = OrganizationModulesSettingsApiFactory;
|
|
63442
|
+
/**
|
|
63443
|
+
* OrganizationModulesSettingsApi - object-oriented interface
|
|
63444
|
+
*/
|
|
63445
|
+
class OrganizationModulesSettingsApi extends base_1.BaseAPI {
|
|
63446
|
+
/**
|
|
63447
|
+
* Get Organization Module Settings endpoint
|
|
63448
|
+
* @summary Get Organization Module Settings
|
|
63449
|
+
* @param {*} [options] Override http request option.
|
|
63450
|
+
* @throws {RequiredError}
|
|
63451
|
+
*/
|
|
63452
|
+
getOrganizationModuleSettings(options) {
|
|
63453
|
+
return (0, exports.OrganizationModulesSettingsApiFp)(this.configuration).getOrganizationModuleSettings(options).then((request) => request(this.axios, this.basePath));
|
|
63454
|
+
}
|
|
63455
|
+
/**
|
|
63456
|
+
* Update Organization Module Settings endpoint
|
|
63457
|
+
* @summary Update Organization Module Settings
|
|
63458
|
+
* @param {OrganizationModulesSettingsApiUpdateOrganizationModuleSettingsRequest} requestParameters Request parameters.
|
|
63459
|
+
* @param {*} [options] Override http request option.
|
|
63460
|
+
* @throws {RequiredError}
|
|
63461
|
+
*/
|
|
63462
|
+
updateOrganizationModuleSettings(requestParameters, options) {
|
|
63463
|
+
return (0, exports.OrganizationModulesSettingsApiFp)(this.configuration).updateOrganizationModuleSettings(requestParameters.organizationModuleSettingsUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
63464
|
+
}
|
|
63465
|
+
}
|
|
63466
|
+
exports.OrganizationModulesSettingsApi = OrganizationModulesSettingsApi;
|
|
63206
63467
|
/**
|
|
63207
63468
|
* OrganizationModulesTiersApi - axios parameter creator
|
|
63208
63469
|
*/
|
|
@@ -72389,6 +72650,186 @@ const SupportApiAxiosParamCreator = function (configuration) {
|
|
|
72389
72650
|
options: localVarRequestOptions,
|
|
72390
72651
|
};
|
|
72391
72652
|
}),
|
|
72653
|
+
/**
|
|
72654
|
+
* Get Support Ticket endpoint
|
|
72655
|
+
* @summary Get Support Ticket
|
|
72656
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
72657
|
+
* @param {*} [options] Override http request option.
|
|
72658
|
+
* @throws {RequiredError}
|
|
72659
|
+
*/
|
|
72660
|
+
getSupportTicket: (supportTicketId_1, ...args_1) => __awaiter(this, [supportTicketId_1, ...args_1], void 0, function* (supportTicketId, options = {}) {
|
|
72661
|
+
// verify required parameter 'supportTicketId' is not null or undefined
|
|
72662
|
+
(0, common_1.assertParamExists)('getSupportTicket', 'supportTicketId', supportTicketId);
|
|
72663
|
+
const localVarPath = `/supportTickets/{supportTicketId}`
|
|
72664
|
+
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
72665
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72666
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
72667
|
+
let baseOptions;
|
|
72668
|
+
if (configuration) {
|
|
72669
|
+
baseOptions = configuration.baseOptions;
|
|
72670
|
+
}
|
|
72671
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
72672
|
+
const localVarHeaderParameter = {};
|
|
72673
|
+
const localVarQueryParameter = {};
|
|
72674
|
+
// authentication ApiKeyAuth required
|
|
72675
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
72676
|
+
// authentication OrganizationId required
|
|
72677
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
72678
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
72679
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
72680
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72681
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
72682
|
+
return {
|
|
72683
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
72684
|
+
options: localVarRequestOptions,
|
|
72685
|
+
};
|
|
72686
|
+
}),
|
|
72687
|
+
/**
|
|
72688
|
+
* Get Support Ticket Activity endpoint
|
|
72689
|
+
* @summary Get Support Ticket Activity
|
|
72690
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
72691
|
+
* @param {*} [options] Override http request option.
|
|
72692
|
+
* @throws {RequiredError}
|
|
72693
|
+
*/
|
|
72694
|
+
getSupportTicketActivity: (supportTicketId_1, ...args_1) => __awaiter(this, [supportTicketId_1, ...args_1], void 0, function* (supportTicketId, options = {}) {
|
|
72695
|
+
// verify required parameter 'supportTicketId' is not null or undefined
|
|
72696
|
+
(0, common_1.assertParamExists)('getSupportTicketActivity', 'supportTicketId', supportTicketId);
|
|
72697
|
+
const localVarPath = `/supportTickets/{supportTicketId}/activityLog`
|
|
72698
|
+
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
72699
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72700
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
72701
|
+
let baseOptions;
|
|
72702
|
+
if (configuration) {
|
|
72703
|
+
baseOptions = configuration.baseOptions;
|
|
72704
|
+
}
|
|
72705
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
72706
|
+
const localVarHeaderParameter = {};
|
|
72707
|
+
const localVarQueryParameter = {};
|
|
72708
|
+
// authentication ApiKeyAuth required
|
|
72709
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
72710
|
+
// authentication OrganizationId required
|
|
72711
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
72712
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
72713
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
72714
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72715
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
72716
|
+
return {
|
|
72717
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
72718
|
+
options: localVarRequestOptions,
|
|
72719
|
+
};
|
|
72720
|
+
}),
|
|
72721
|
+
/**
|
|
72722
|
+
* Get Support Ticket Viewer endpoint
|
|
72723
|
+
* @summary Get Support Ticket Viewer
|
|
72724
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
72725
|
+
* @param {string} [orgMembershipId] Filter by orgMembershipId
|
|
72726
|
+
* @param {number} [page] Page number
|
|
72727
|
+
* @param {number} [pageSize] Number of items per page
|
|
72728
|
+
* @param {string} [orderBy] Field to order by
|
|
72729
|
+
* @param {string} [search] Search query
|
|
72730
|
+
* @param {*} [options] Override http request option.
|
|
72731
|
+
* @throws {RequiredError}
|
|
72732
|
+
*/
|
|
72733
|
+
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 = {}) {
|
|
72734
|
+
// verify required parameter 'supportTicketId' is not null or undefined
|
|
72735
|
+
(0, common_1.assertParamExists)('getSupportTicketViewer', 'supportTicketId', supportTicketId);
|
|
72736
|
+
const localVarPath = `/supportTickets/{supportTicketId}/viewer`
|
|
72737
|
+
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
72738
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72739
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
72740
|
+
let baseOptions;
|
|
72741
|
+
if (configuration) {
|
|
72742
|
+
baseOptions = configuration.baseOptions;
|
|
72743
|
+
}
|
|
72744
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
72745
|
+
const localVarHeaderParameter = {};
|
|
72746
|
+
const localVarQueryParameter = {};
|
|
72747
|
+
// authentication ApiKeyAuth required
|
|
72748
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
72749
|
+
// authentication OrganizationId required
|
|
72750
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
72751
|
+
if (orgMembershipId !== undefined) {
|
|
72752
|
+
localVarQueryParameter['orgMembershipId'] = orgMembershipId;
|
|
72753
|
+
}
|
|
72754
|
+
if (page !== undefined) {
|
|
72755
|
+
localVarQueryParameter['page'] = page;
|
|
72756
|
+
}
|
|
72757
|
+
if (pageSize !== undefined) {
|
|
72758
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
72759
|
+
}
|
|
72760
|
+
if (orderBy !== undefined) {
|
|
72761
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
72762
|
+
}
|
|
72763
|
+
if (search !== undefined) {
|
|
72764
|
+
localVarQueryParameter['search'] = search;
|
|
72765
|
+
}
|
|
72766
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
72767
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
72768
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72769
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
72770
|
+
return {
|
|
72771
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
72772
|
+
options: localVarRequestOptions,
|
|
72773
|
+
};
|
|
72774
|
+
}),
|
|
72775
|
+
/**
|
|
72776
|
+
* Get Support Tickets endpoint
|
|
72777
|
+
* @summary Get Support Tickets
|
|
72778
|
+
* @param {string} [type] Filter by type
|
|
72779
|
+
* @param {string} [state] Filter by state
|
|
72780
|
+
* @param {GetSupportTicketsAssignmentEnum} [assignment] Filter by assignment
|
|
72781
|
+
* @param {number} [page] Page number
|
|
72782
|
+
* @param {number} [pageSize] Number of items per page
|
|
72783
|
+
* @param {string} [orderBy] Field to order by
|
|
72784
|
+
* @param {string} [search] Search query
|
|
72785
|
+
* @param {*} [options] Override http request option.
|
|
72786
|
+
* @throws {RequiredError}
|
|
72787
|
+
*/
|
|
72788
|
+
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 = {}) {
|
|
72789
|
+
const localVarPath = `/supportTickets`;
|
|
72790
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72791
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
72792
|
+
let baseOptions;
|
|
72793
|
+
if (configuration) {
|
|
72794
|
+
baseOptions = configuration.baseOptions;
|
|
72795
|
+
}
|
|
72796
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
72797
|
+
const localVarHeaderParameter = {};
|
|
72798
|
+
const localVarQueryParameter = {};
|
|
72799
|
+
// authentication ApiKeyAuth required
|
|
72800
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
72801
|
+
// authentication OrganizationId required
|
|
72802
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
72803
|
+
if (type !== undefined) {
|
|
72804
|
+
localVarQueryParameter['type'] = type;
|
|
72805
|
+
}
|
|
72806
|
+
if (state !== undefined) {
|
|
72807
|
+
localVarQueryParameter['state'] = state;
|
|
72808
|
+
}
|
|
72809
|
+
if (assignment !== undefined) {
|
|
72810
|
+
localVarQueryParameter['assignment'] = assignment;
|
|
72811
|
+
}
|
|
72812
|
+
if (page !== undefined) {
|
|
72813
|
+
localVarQueryParameter['page'] = page;
|
|
72814
|
+
}
|
|
72815
|
+
if (pageSize !== undefined) {
|
|
72816
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
72817
|
+
}
|
|
72818
|
+
if (orderBy !== undefined) {
|
|
72819
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
72820
|
+
}
|
|
72821
|
+
if (search !== undefined) {
|
|
72822
|
+
localVarQueryParameter['search'] = search;
|
|
72823
|
+
}
|
|
72824
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
72825
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
72826
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72827
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
72828
|
+
return {
|
|
72829
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
72830
|
+
options: localVarRequestOptions,
|
|
72831
|
+
};
|
|
72832
|
+
}),
|
|
72392
72833
|
/**
|
|
72393
72834
|
* Update Support Ticket endpoint
|
|
72394
72835
|
* @summary Update Support Ticket
|
|
@@ -72469,6 +72910,81 @@ const SupportApiFp = function (configuration) {
|
|
|
72469
72910
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
72470
72911
|
});
|
|
72471
72912
|
},
|
|
72913
|
+
/**
|
|
72914
|
+
* Get Support Ticket endpoint
|
|
72915
|
+
* @summary Get Support Ticket
|
|
72916
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
72917
|
+
* @param {*} [options] Override http request option.
|
|
72918
|
+
* @throws {RequiredError}
|
|
72919
|
+
*/
|
|
72920
|
+
getSupportTicket(supportTicketId, options) {
|
|
72921
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72922
|
+
var _a, _b, _c;
|
|
72923
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicket(supportTicketId, options);
|
|
72924
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
72925
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportApi.getSupportTicket']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
72926
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
72927
|
+
});
|
|
72928
|
+
},
|
|
72929
|
+
/**
|
|
72930
|
+
* Get Support Ticket Activity endpoint
|
|
72931
|
+
* @summary Get Support Ticket Activity
|
|
72932
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
72933
|
+
* @param {*} [options] Override http request option.
|
|
72934
|
+
* @throws {RequiredError}
|
|
72935
|
+
*/
|
|
72936
|
+
getSupportTicketActivity(supportTicketId, options) {
|
|
72937
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72938
|
+
var _a, _b, _c;
|
|
72939
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketActivity(supportTicketId, options);
|
|
72940
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
72941
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportApi.getSupportTicketActivity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
72942
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
72943
|
+
});
|
|
72944
|
+
},
|
|
72945
|
+
/**
|
|
72946
|
+
* Get Support Ticket Viewer endpoint
|
|
72947
|
+
* @summary Get Support Ticket Viewer
|
|
72948
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
72949
|
+
* @param {string} [orgMembershipId] Filter by orgMembershipId
|
|
72950
|
+
* @param {number} [page] Page number
|
|
72951
|
+
* @param {number} [pageSize] Number of items per page
|
|
72952
|
+
* @param {string} [orderBy] Field to order by
|
|
72953
|
+
* @param {string} [search] Search query
|
|
72954
|
+
* @param {*} [options] Override http request option.
|
|
72955
|
+
* @throws {RequiredError}
|
|
72956
|
+
*/
|
|
72957
|
+
getSupportTicketViewer(supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options) {
|
|
72958
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72959
|
+
var _a, _b, _c;
|
|
72960
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketViewer(supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options);
|
|
72961
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
72962
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportApi.getSupportTicketViewer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
72963
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
72964
|
+
});
|
|
72965
|
+
},
|
|
72966
|
+
/**
|
|
72967
|
+
* Get Support Tickets endpoint
|
|
72968
|
+
* @summary Get Support Tickets
|
|
72969
|
+
* @param {string} [type] Filter by type
|
|
72970
|
+
* @param {string} [state] Filter by state
|
|
72971
|
+
* @param {GetSupportTicketsAssignmentEnum} [assignment] Filter by assignment
|
|
72972
|
+
* @param {number} [page] Page number
|
|
72973
|
+
* @param {number} [pageSize] Number of items per page
|
|
72974
|
+
* @param {string} [orderBy] Field to order by
|
|
72975
|
+
* @param {string} [search] Search query
|
|
72976
|
+
* @param {*} [options] Override http request option.
|
|
72977
|
+
* @throws {RequiredError}
|
|
72978
|
+
*/
|
|
72979
|
+
getSupportTickets(type, state, assignment, page, pageSize, orderBy, search, options) {
|
|
72980
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72981
|
+
var _a, _b, _c;
|
|
72982
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTickets(type, state, assignment, page, pageSize, orderBy, search, options);
|
|
72983
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
72984
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportApi.getSupportTickets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
72985
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
72986
|
+
});
|
|
72987
|
+
},
|
|
72472
72988
|
/**
|
|
72473
72989
|
* Update Support Ticket endpoint
|
|
72474
72990
|
* @summary Update Support Ticket
|
|
@@ -72515,6 +73031,46 @@ const SupportApiFactory = function (configuration, basePath, axios) {
|
|
|
72515
73031
|
deleteSupportTicket(requestParameters, options) {
|
|
72516
73032
|
return localVarFp.deleteSupportTicket(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
|
|
72517
73033
|
},
|
|
73034
|
+
/**
|
|
73035
|
+
* Get Support Ticket endpoint
|
|
73036
|
+
* @summary Get Support Ticket
|
|
73037
|
+
* @param {SupportApiGetSupportTicketRequest} requestParameters Request parameters.
|
|
73038
|
+
* @param {*} [options] Override http request option.
|
|
73039
|
+
* @throws {RequiredError}
|
|
73040
|
+
*/
|
|
73041
|
+
getSupportTicket(requestParameters, options) {
|
|
73042
|
+
return localVarFp.getSupportTicket(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
|
|
73043
|
+
},
|
|
73044
|
+
/**
|
|
73045
|
+
* Get Support Ticket Activity endpoint
|
|
73046
|
+
* @summary Get Support Ticket Activity
|
|
73047
|
+
* @param {SupportApiGetSupportTicketActivityRequest} requestParameters Request parameters.
|
|
73048
|
+
* @param {*} [options] Override http request option.
|
|
73049
|
+
* @throws {RequiredError}
|
|
73050
|
+
*/
|
|
73051
|
+
getSupportTicketActivity(requestParameters, options) {
|
|
73052
|
+
return localVarFp.getSupportTicketActivity(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
|
|
73053
|
+
},
|
|
73054
|
+
/**
|
|
73055
|
+
* Get Support Ticket Viewer endpoint
|
|
73056
|
+
* @summary Get Support Ticket Viewer
|
|
73057
|
+
* @param {SupportApiGetSupportTicketViewerRequest} requestParameters Request parameters.
|
|
73058
|
+
* @param {*} [options] Override http request option.
|
|
73059
|
+
* @throws {RequiredError}
|
|
73060
|
+
*/
|
|
73061
|
+
getSupportTicketViewer(requestParameters, options) {
|
|
73062
|
+
return localVarFp.getSupportTicketViewer(requestParameters.supportTicketId, requestParameters.orgMembershipId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
73063
|
+
},
|
|
73064
|
+
/**
|
|
73065
|
+
* Get Support Tickets endpoint
|
|
73066
|
+
* @summary Get Support Tickets
|
|
73067
|
+
* @param {SupportApiGetSupportTicketsRequest} requestParameters Request parameters.
|
|
73068
|
+
* @param {*} [options] Override http request option.
|
|
73069
|
+
* @throws {RequiredError}
|
|
73070
|
+
*/
|
|
73071
|
+
getSupportTickets(requestParameters = {}, options) {
|
|
73072
|
+
return localVarFp.getSupportTickets(requestParameters.type, requestParameters.state, requestParameters.assignment, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
73073
|
+
},
|
|
72518
73074
|
/**
|
|
72519
73075
|
* Update Support Ticket endpoint
|
|
72520
73076
|
* @summary Update Support Ticket
|
|
@@ -72552,6 +73108,46 @@ class SupportApi extends base_1.BaseAPI {
|
|
|
72552
73108
|
deleteSupportTicket(requestParameters, options) {
|
|
72553
73109
|
return (0, exports.SupportApiFp)(this.configuration).deleteSupportTicket(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
|
|
72554
73110
|
}
|
|
73111
|
+
/**
|
|
73112
|
+
* Get Support Ticket endpoint
|
|
73113
|
+
* @summary Get Support Ticket
|
|
73114
|
+
* @param {SupportApiGetSupportTicketRequest} requestParameters Request parameters.
|
|
73115
|
+
* @param {*} [options] Override http request option.
|
|
73116
|
+
* @throws {RequiredError}
|
|
73117
|
+
*/
|
|
73118
|
+
getSupportTicket(requestParameters, options) {
|
|
73119
|
+
return (0, exports.SupportApiFp)(this.configuration).getSupportTicket(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
|
|
73120
|
+
}
|
|
73121
|
+
/**
|
|
73122
|
+
* Get Support Ticket Activity endpoint
|
|
73123
|
+
* @summary Get Support Ticket Activity
|
|
73124
|
+
* @param {SupportApiGetSupportTicketActivityRequest} requestParameters Request parameters.
|
|
73125
|
+
* @param {*} [options] Override http request option.
|
|
73126
|
+
* @throws {RequiredError}
|
|
73127
|
+
*/
|
|
73128
|
+
getSupportTicketActivity(requestParameters, options) {
|
|
73129
|
+
return (0, exports.SupportApiFp)(this.configuration).getSupportTicketActivity(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
|
|
73130
|
+
}
|
|
73131
|
+
/**
|
|
73132
|
+
* Get Support Ticket Viewer endpoint
|
|
73133
|
+
* @summary Get Support Ticket Viewer
|
|
73134
|
+
* @param {SupportApiGetSupportTicketViewerRequest} requestParameters Request parameters.
|
|
73135
|
+
* @param {*} [options] Override http request option.
|
|
73136
|
+
* @throws {RequiredError}
|
|
73137
|
+
*/
|
|
73138
|
+
getSupportTicketViewer(requestParameters, options) {
|
|
73139
|
+
return (0, exports.SupportApiFp)(this.configuration).getSupportTicketViewer(requestParameters.supportTicketId, requestParameters.orgMembershipId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
73140
|
+
}
|
|
73141
|
+
/**
|
|
73142
|
+
* Get Support Tickets endpoint
|
|
73143
|
+
* @summary Get Support Tickets
|
|
73144
|
+
* @param {SupportApiGetSupportTicketsRequest} requestParameters Request parameters.
|
|
73145
|
+
* @param {*} [options] Override http request option.
|
|
73146
|
+
* @throws {RequiredError}
|
|
73147
|
+
*/
|
|
73148
|
+
getSupportTickets(requestParameters = {}, options) {
|
|
73149
|
+
return (0, exports.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));
|
|
73150
|
+
}
|
|
72555
73151
|
/**
|
|
72556
73152
|
* Update Support Ticket endpoint
|
|
72557
73153
|
* @summary Update Support Ticket
|
|
@@ -72564,6 +73160,11 @@ class SupportApi extends base_1.BaseAPI {
|
|
|
72564
73160
|
}
|
|
72565
73161
|
}
|
|
72566
73162
|
exports.SupportApi = SupportApi;
|
|
73163
|
+
var GetSupportTicketsAssignmentEnum;
|
|
73164
|
+
(function (GetSupportTicketsAssignmentEnum) {
|
|
73165
|
+
GetSupportTicketsAssignmentEnum["Me"] = "me";
|
|
73166
|
+
GetSupportTicketsAssignmentEnum["Unassigned"] = "unassigned";
|
|
73167
|
+
})(GetSupportTicketsAssignmentEnum || (exports.GetSupportTicketsAssignmentEnum = GetSupportTicketsAssignmentEnum = {}));
|
|
72567
73168
|
/**
|
|
72568
73169
|
* SupportMessagesApi - axios parameter creator
|
|
72569
73170
|
*/
|
|
@@ -72608,6 +73209,56 @@ const SupportMessagesApiAxiosParamCreator = function (configuration) {
|
|
|
72608
73209
|
options: localVarRequestOptions,
|
|
72609
73210
|
};
|
|
72610
73211
|
}),
|
|
73212
|
+
/**
|
|
73213
|
+
* Get Support Ticket Messages endpoint
|
|
73214
|
+
* @summary Get Support Ticket Messages
|
|
73215
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
73216
|
+
* @param {number} [page] Page number
|
|
73217
|
+
* @param {number} [pageSize] Number of items per page
|
|
73218
|
+
* @param {string} [orderBy] Field to order by
|
|
73219
|
+
* @param {string} [search] Search query
|
|
73220
|
+
* @param {*} [options] Override http request option.
|
|
73221
|
+
* @throws {RequiredError}
|
|
73222
|
+
*/
|
|
73223
|
+
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 = {}) {
|
|
73224
|
+
// verify required parameter 'supportTicketId' is not null or undefined
|
|
73225
|
+
(0, common_1.assertParamExists)('getSupportTicketMessages', 'supportTicketId', supportTicketId);
|
|
73226
|
+
const localVarPath = `/supportTickets/{supportTicketId}/messages`
|
|
73227
|
+
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
73228
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
73229
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
73230
|
+
let baseOptions;
|
|
73231
|
+
if (configuration) {
|
|
73232
|
+
baseOptions = configuration.baseOptions;
|
|
73233
|
+
}
|
|
73234
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
73235
|
+
const localVarHeaderParameter = {};
|
|
73236
|
+
const localVarQueryParameter = {};
|
|
73237
|
+
// authentication ApiKeyAuth required
|
|
73238
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
73239
|
+
// authentication OrganizationId required
|
|
73240
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
73241
|
+
if (page !== undefined) {
|
|
73242
|
+
localVarQueryParameter['page'] = page;
|
|
73243
|
+
}
|
|
73244
|
+
if (pageSize !== undefined) {
|
|
73245
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
73246
|
+
}
|
|
73247
|
+
if (orderBy !== undefined) {
|
|
73248
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
73249
|
+
}
|
|
73250
|
+
if (search !== undefined) {
|
|
73251
|
+
localVarQueryParameter['search'] = search;
|
|
73252
|
+
}
|
|
73253
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
73254
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
73255
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73256
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
73257
|
+
return {
|
|
73258
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
73259
|
+
options: localVarRequestOptions,
|
|
73260
|
+
};
|
|
73261
|
+
}),
|
|
72611
73262
|
};
|
|
72612
73263
|
};
|
|
72613
73264
|
exports.SupportMessagesApiAxiosParamCreator = SupportMessagesApiAxiosParamCreator;
|
|
@@ -72634,6 +73285,26 @@ const SupportMessagesApiFp = function (configuration) {
|
|
|
72634
73285
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
72635
73286
|
});
|
|
72636
73287
|
},
|
|
73288
|
+
/**
|
|
73289
|
+
* Get Support Ticket Messages endpoint
|
|
73290
|
+
* @summary Get Support Ticket Messages
|
|
73291
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
73292
|
+
* @param {number} [page] Page number
|
|
73293
|
+
* @param {number} [pageSize] Number of items per page
|
|
73294
|
+
* @param {string} [orderBy] Field to order by
|
|
73295
|
+
* @param {string} [search] Search query
|
|
73296
|
+
* @param {*} [options] Override http request option.
|
|
73297
|
+
* @throws {RequiredError}
|
|
73298
|
+
*/
|
|
73299
|
+
getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options) {
|
|
73300
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
73301
|
+
var _a, _b, _c;
|
|
73302
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options);
|
|
73303
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
73304
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportMessagesApi.getSupportTicketMessages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
73305
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
73306
|
+
});
|
|
73307
|
+
},
|
|
72637
73308
|
};
|
|
72638
73309
|
};
|
|
72639
73310
|
exports.SupportMessagesApiFp = SupportMessagesApiFp;
|
|
@@ -72653,6 +73324,16 @@ const SupportMessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
72653
73324
|
createSupportTicketMessage(requestParameters, options) {
|
|
72654
73325
|
return localVarFp.createSupportTicketMessage(requestParameters.supportTicketId, requestParameters.supportTicketMessageCreateInputs, options).then((request) => request(axios, basePath));
|
|
72655
73326
|
},
|
|
73327
|
+
/**
|
|
73328
|
+
* Get Support Ticket Messages endpoint
|
|
73329
|
+
* @summary Get Support Ticket Messages
|
|
73330
|
+
* @param {SupportMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
|
|
73331
|
+
* @param {*} [options] Override http request option.
|
|
73332
|
+
* @throws {RequiredError}
|
|
73333
|
+
*/
|
|
73334
|
+
getSupportTicketMessages(requestParameters, options) {
|
|
73335
|
+
return localVarFp.getSupportTicketMessages(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
73336
|
+
},
|
|
72656
73337
|
};
|
|
72657
73338
|
};
|
|
72658
73339
|
exports.SupportMessagesApiFactory = SupportMessagesApiFactory;
|
|
@@ -72670,6 +73351,16 @@ class SupportMessagesApi extends base_1.BaseAPI {
|
|
|
72670
73351
|
createSupportTicketMessage(requestParameters, options) {
|
|
72671
73352
|
return (0, exports.SupportMessagesApiFp)(this.configuration).createSupportTicketMessage(requestParameters.supportTicketId, requestParameters.supportTicketMessageCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
72672
73353
|
}
|
|
73354
|
+
/**
|
|
73355
|
+
* Get Support Ticket Messages endpoint
|
|
73356
|
+
* @summary Get Support Ticket Messages
|
|
73357
|
+
* @param {SupportMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
|
|
73358
|
+
* @param {*} [options] Override http request option.
|
|
73359
|
+
* @throws {RequiredError}
|
|
73360
|
+
*/
|
|
73361
|
+
getSupportTicketMessages(requestParameters, options) {
|
|
73362
|
+
return (0, exports.SupportMessagesApiFp)(this.configuration).getSupportTicketMessages(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
73363
|
+
}
|
|
72673
73364
|
}
|
|
72674
73365
|
exports.SupportMessagesApi = SupportMessagesApi;
|
|
72675
73366
|
/**
|
|
@@ -72754,185 +73445,10 @@ const SupportNotesApiAxiosParamCreator = function (configuration) {
|
|
|
72754
73445
|
options: localVarRequestOptions,
|
|
72755
73446
|
};
|
|
72756
73447
|
}),
|
|
72757
|
-
};
|
|
72758
|
-
};
|
|
72759
|
-
exports.SupportNotesApiAxiosParamCreator = SupportNotesApiAxiosParamCreator;
|
|
72760
|
-
/**
|
|
72761
|
-
* SupportNotesApi - functional programming interface
|
|
72762
|
-
*/
|
|
72763
|
-
const SupportNotesApiFp = function (configuration) {
|
|
72764
|
-
const localVarAxiosParamCreator = (0, exports.SupportNotesApiAxiosParamCreator)(configuration);
|
|
72765
|
-
return {
|
|
72766
|
-
/**
|
|
72767
|
-
* Create Support Ticket Note endpoint
|
|
72768
|
-
* @summary Create Support Ticket Note
|
|
72769
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
72770
|
-
* @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
|
|
72771
|
-
* @param {*} [options] Override http request option.
|
|
72772
|
-
* @throws {RequiredError}
|
|
72773
|
-
*/
|
|
72774
|
-
createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options) {
|
|
72775
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
72776
|
-
var _a, _b, _c;
|
|
72777
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options);
|
|
72778
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
72779
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportNotesApi.createSupportTicketNote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
72780
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
72781
|
-
});
|
|
72782
|
-
},
|
|
72783
|
-
/**
|
|
72784
|
-
* Delete Support Ticket Note endpoint
|
|
72785
|
-
* @summary Delete Support Ticket Note
|
|
72786
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
72787
|
-
* @param {string} noteId The note identifier
|
|
72788
|
-
* @param {*} [options] Override http request option.
|
|
72789
|
-
* @throws {RequiredError}
|
|
72790
|
-
*/
|
|
72791
|
-
deleteSupportTicketNote(supportTicketId, noteId, options) {
|
|
72792
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
72793
|
-
var _a, _b, _c;
|
|
72794
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSupportTicketNote(supportTicketId, noteId, options);
|
|
72795
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
72796
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportNotesApi.deleteSupportTicketNote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
72797
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
72798
|
-
});
|
|
72799
|
-
},
|
|
72800
|
-
};
|
|
72801
|
-
};
|
|
72802
|
-
exports.SupportNotesApiFp = SupportNotesApiFp;
|
|
72803
|
-
/**
|
|
72804
|
-
* SupportNotesApi - factory interface
|
|
72805
|
-
*/
|
|
72806
|
-
const SupportNotesApiFactory = function (configuration, basePath, axios) {
|
|
72807
|
-
const localVarFp = (0, exports.SupportNotesApiFp)(configuration);
|
|
72808
|
-
return {
|
|
72809
|
-
/**
|
|
72810
|
-
* Create Support Ticket Note endpoint
|
|
72811
|
-
* @summary Create Support Ticket Note
|
|
72812
|
-
* @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
|
|
72813
|
-
* @param {*} [options] Override http request option.
|
|
72814
|
-
* @throws {RequiredError}
|
|
72815
|
-
*/
|
|
72816
|
-
createSupportTicketNote(requestParameters, options) {
|
|
72817
|
-
return localVarFp.createSupportTicketNote(requestParameters.supportTicketId, requestParameters.supportTicketNoteCreateInputs, options).then((request) => request(axios, basePath));
|
|
72818
|
-
},
|
|
72819
|
-
/**
|
|
72820
|
-
* Delete Support Ticket Note endpoint
|
|
72821
|
-
* @summary Delete Support Ticket Note
|
|
72822
|
-
* @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
|
|
72823
|
-
* @param {*} [options] Override http request option.
|
|
72824
|
-
* @throws {RequiredError}
|
|
72825
|
-
*/
|
|
72826
|
-
deleteSupportTicketNote(requestParameters, options) {
|
|
72827
|
-
return localVarFp.deleteSupportTicketNote(requestParameters.supportTicketId, requestParameters.noteId, options).then((request) => request(axios, basePath));
|
|
72828
|
-
},
|
|
72829
|
-
};
|
|
72830
|
-
};
|
|
72831
|
-
exports.SupportNotesApiFactory = SupportNotesApiFactory;
|
|
72832
|
-
/**
|
|
72833
|
-
* SupportNotesApi - object-oriented interface
|
|
72834
|
-
*/
|
|
72835
|
-
class SupportNotesApi extends base_1.BaseAPI {
|
|
72836
|
-
/**
|
|
72837
|
-
* Create Support Ticket Note endpoint
|
|
72838
|
-
* @summary Create Support Ticket Note
|
|
72839
|
-
* @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
|
|
72840
|
-
* @param {*} [options] Override http request option.
|
|
72841
|
-
* @throws {RequiredError}
|
|
72842
|
-
*/
|
|
72843
|
-
createSupportTicketNote(requestParameters, options) {
|
|
72844
|
-
return (0, exports.SupportNotesApiFp)(this.configuration).createSupportTicketNote(requestParameters.supportTicketId, requestParameters.supportTicketNoteCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
72845
|
-
}
|
|
72846
|
-
/**
|
|
72847
|
-
* Delete Support Ticket Note endpoint
|
|
72848
|
-
* @summary Delete Support Ticket Note
|
|
72849
|
-
* @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
|
|
72850
|
-
* @param {*} [options] Override http request option.
|
|
72851
|
-
* @throws {RequiredError}
|
|
72852
|
-
*/
|
|
72853
|
-
deleteSupportTicketNote(requestParameters, options) {
|
|
72854
|
-
return (0, exports.SupportNotesApiFp)(this.configuration).deleteSupportTicketNote(requestParameters.supportTicketId, requestParameters.noteId, options).then((request) => request(this.axios, this.basePath));
|
|
72855
|
-
}
|
|
72856
|
-
}
|
|
72857
|
-
exports.SupportNotesApi = SupportNotesApi;
|
|
72858
|
-
/**
|
|
72859
|
-
* SupportticketsApi - axios parameter creator
|
|
72860
|
-
*/
|
|
72861
|
-
const SupportticketsApiAxiosParamCreator = function (configuration) {
|
|
72862
|
-
return {
|
|
72863
|
-
/**
|
|
72864
|
-
* Get Support Ticket endpoint
|
|
72865
|
-
* @summary Get Support Ticket
|
|
72866
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
72867
|
-
* @param {*} [options] Override http request option.
|
|
72868
|
-
* @throws {RequiredError}
|
|
72869
|
-
*/
|
|
72870
|
-
getSupportTicket: (supportTicketId_1, ...args_1) => __awaiter(this, [supportTicketId_1, ...args_1], void 0, function* (supportTicketId, options = {}) {
|
|
72871
|
-
// verify required parameter 'supportTicketId' is not null or undefined
|
|
72872
|
-
(0, common_1.assertParamExists)('getSupportTicket', 'supportTicketId', supportTicketId);
|
|
72873
|
-
const localVarPath = `/supportTickets/{supportTicketId}`
|
|
72874
|
-
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
72875
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72876
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
72877
|
-
let baseOptions;
|
|
72878
|
-
if (configuration) {
|
|
72879
|
-
baseOptions = configuration.baseOptions;
|
|
72880
|
-
}
|
|
72881
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
72882
|
-
const localVarHeaderParameter = {};
|
|
72883
|
-
const localVarQueryParameter = {};
|
|
72884
|
-
// authentication ApiKeyAuth required
|
|
72885
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
72886
|
-
// authentication OrganizationId required
|
|
72887
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
72888
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
72889
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
72890
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72891
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
72892
|
-
return {
|
|
72893
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
72894
|
-
options: localVarRequestOptions,
|
|
72895
|
-
};
|
|
72896
|
-
}),
|
|
72897
|
-
/**
|
|
72898
|
-
* Get Support Ticket Activity endpoint
|
|
72899
|
-
* @summary Get Support Ticket Activity
|
|
72900
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
72901
|
-
* @param {*} [options] Override http request option.
|
|
72902
|
-
* @throws {RequiredError}
|
|
72903
|
-
*/
|
|
72904
|
-
getSupportTicketActivity: (supportTicketId_1, ...args_1) => __awaiter(this, [supportTicketId_1, ...args_1], void 0, function* (supportTicketId, options = {}) {
|
|
72905
|
-
// verify required parameter 'supportTicketId' is not null or undefined
|
|
72906
|
-
(0, common_1.assertParamExists)('getSupportTicketActivity', 'supportTicketId', supportTicketId);
|
|
72907
|
-
const localVarPath = `/supportTickets/{supportTicketId}/activityLog`
|
|
72908
|
-
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
72909
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72910
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
72911
|
-
let baseOptions;
|
|
72912
|
-
if (configuration) {
|
|
72913
|
-
baseOptions = configuration.baseOptions;
|
|
72914
|
-
}
|
|
72915
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
72916
|
-
const localVarHeaderParameter = {};
|
|
72917
|
-
const localVarQueryParameter = {};
|
|
72918
|
-
// authentication ApiKeyAuth required
|
|
72919
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
72920
|
-
// authentication OrganizationId required
|
|
72921
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
72922
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
72923
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
72924
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72925
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
72926
|
-
return {
|
|
72927
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
72928
|
-
options: localVarRequestOptions,
|
|
72929
|
-
};
|
|
72930
|
-
}),
|
|
72931
73448
|
/**
|
|
72932
|
-
* Get Support Ticket
|
|
72933
|
-
* @summary Get Support Ticket
|
|
73449
|
+
* Get Support Ticket Notes endpoint
|
|
73450
|
+
* @summary Get Support Ticket Notes
|
|
72934
73451
|
* @param {string} supportTicketId The supportTicket identifier
|
|
72935
|
-
* @param {string} [orgMembershipId] Filter by orgMembershipId
|
|
72936
73452
|
* @param {number} [page] Page number
|
|
72937
73453
|
* @param {number} [pageSize] Number of items per page
|
|
72938
73454
|
* @param {string} [orderBy] Field to order by
|
|
@@ -72940,10 +73456,10 @@ const SupportticketsApiAxiosParamCreator = function (configuration) {
|
|
|
72940
73456
|
* @param {*} [options] Override http request option.
|
|
72941
73457
|
* @throws {RequiredError}
|
|
72942
73458
|
*/
|
|
72943
|
-
|
|
73459
|
+
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 = {}) {
|
|
72944
73460
|
// verify required parameter 'supportTicketId' is not null or undefined
|
|
72945
|
-
(0, common_1.assertParamExists)('
|
|
72946
|
-
const localVarPath = `/supportTickets/{supportTicketId}/
|
|
73461
|
+
(0, common_1.assertParamExists)('getSupportTicketNotes', 'supportTicketId', supportTicketId);
|
|
73462
|
+
const localVarPath = `/supportTickets/{supportTicketId}/notes`
|
|
72947
73463
|
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
72948
73464
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72949
73465
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -72958,67 +73474,6 @@ const SupportticketsApiAxiosParamCreator = function (configuration) {
|
|
|
72958
73474
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
72959
73475
|
// authentication OrganizationId required
|
|
72960
73476
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
72961
|
-
if (orgMembershipId !== undefined) {
|
|
72962
|
-
localVarQueryParameter['orgMembershipId'] = orgMembershipId;
|
|
72963
|
-
}
|
|
72964
|
-
if (page !== undefined) {
|
|
72965
|
-
localVarQueryParameter['page'] = page;
|
|
72966
|
-
}
|
|
72967
|
-
if (pageSize !== undefined) {
|
|
72968
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
72969
|
-
}
|
|
72970
|
-
if (orderBy !== undefined) {
|
|
72971
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
72972
|
-
}
|
|
72973
|
-
if (search !== undefined) {
|
|
72974
|
-
localVarQueryParameter['search'] = search;
|
|
72975
|
-
}
|
|
72976
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
72977
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
72978
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72979
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
72980
|
-
return {
|
|
72981
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
72982
|
-
options: localVarRequestOptions,
|
|
72983
|
-
};
|
|
72984
|
-
}),
|
|
72985
|
-
/**
|
|
72986
|
-
* Get Support Tickets endpoint
|
|
72987
|
-
* @summary Get Support Tickets
|
|
72988
|
-
* @param {string} [type] Filter by type
|
|
72989
|
-
* @param {string} [state] Filter by state
|
|
72990
|
-
* @param {GetSupportTicketsAssignmentEnum} [assignment] Filter by assignment
|
|
72991
|
-
* @param {number} [page] Page number
|
|
72992
|
-
* @param {number} [pageSize] Number of items per page
|
|
72993
|
-
* @param {string} [orderBy] Field to order by
|
|
72994
|
-
* @param {string} [search] Search query
|
|
72995
|
-
* @param {*} [options] Override http request option.
|
|
72996
|
-
* @throws {RequiredError}
|
|
72997
|
-
*/
|
|
72998
|
-
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 = {}) {
|
|
72999
|
-
const localVarPath = `/supportTickets`;
|
|
73000
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
73001
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
73002
|
-
let baseOptions;
|
|
73003
|
-
if (configuration) {
|
|
73004
|
-
baseOptions = configuration.baseOptions;
|
|
73005
|
-
}
|
|
73006
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
73007
|
-
const localVarHeaderParameter = {};
|
|
73008
|
-
const localVarQueryParameter = {};
|
|
73009
|
-
// authentication ApiKeyAuth required
|
|
73010
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
73011
|
-
// authentication OrganizationId required
|
|
73012
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
73013
|
-
if (type !== undefined) {
|
|
73014
|
-
localVarQueryParameter['type'] = type;
|
|
73015
|
-
}
|
|
73016
|
-
if (state !== undefined) {
|
|
73017
|
-
localVarQueryParameter['state'] = state;
|
|
73018
|
-
}
|
|
73019
|
-
if (assignment !== undefined) {
|
|
73020
|
-
localVarQueryParameter['assignment'] = assignment;
|
|
73021
|
-
}
|
|
73022
73477
|
if (page !== undefined) {
|
|
73023
73478
|
localVarQueryParameter['page'] = page;
|
|
73024
73479
|
}
|
|
@@ -73042,72 +73497,51 @@ const SupportticketsApiAxiosParamCreator = function (configuration) {
|
|
|
73042
73497
|
}),
|
|
73043
73498
|
};
|
|
73044
73499
|
};
|
|
73045
|
-
exports.
|
|
73500
|
+
exports.SupportNotesApiAxiosParamCreator = SupportNotesApiAxiosParamCreator;
|
|
73046
73501
|
/**
|
|
73047
|
-
*
|
|
73502
|
+
* SupportNotesApi - functional programming interface
|
|
73048
73503
|
*/
|
|
73049
|
-
const
|
|
73050
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
73504
|
+
const SupportNotesApiFp = function (configuration) {
|
|
73505
|
+
const localVarAxiosParamCreator = (0, exports.SupportNotesApiAxiosParamCreator)(configuration);
|
|
73051
73506
|
return {
|
|
73052
73507
|
/**
|
|
73053
|
-
*
|
|
73054
|
-
* @summary
|
|
73508
|
+
* Create Support Ticket Note endpoint
|
|
73509
|
+
* @summary Create Support Ticket Note
|
|
73055
73510
|
* @param {string} supportTicketId The supportTicket identifier
|
|
73511
|
+
* @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
|
|
73056
73512
|
* @param {*} [options] Override http request option.
|
|
73057
73513
|
* @throws {RequiredError}
|
|
73058
73514
|
*/
|
|
73059
|
-
|
|
73515
|
+
createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options) {
|
|
73060
73516
|
return __awaiter(this, void 0, void 0, function* () {
|
|
73061
73517
|
var _a, _b, _c;
|
|
73062
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
73518
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options);
|
|
73063
73519
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
73064
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
73520
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportNotesApi.createSupportTicketNote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
73065
73521
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
73066
73522
|
});
|
|
73067
73523
|
},
|
|
73068
73524
|
/**
|
|
73069
|
-
*
|
|
73070
|
-
* @summary
|
|
73525
|
+
* Delete Support Ticket Note endpoint
|
|
73526
|
+
* @summary Delete Support Ticket Note
|
|
73071
73527
|
* @param {string} supportTicketId The supportTicket identifier
|
|
73528
|
+
* @param {string} noteId The note identifier
|
|
73072
73529
|
* @param {*} [options] Override http request option.
|
|
73073
73530
|
* @throws {RequiredError}
|
|
73074
73531
|
*/
|
|
73075
|
-
|
|
73532
|
+
deleteSupportTicketNote(supportTicketId, noteId, options) {
|
|
73076
73533
|
return __awaiter(this, void 0, void 0, function* () {
|
|
73077
73534
|
var _a, _b, _c;
|
|
73078
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
73535
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSupportTicketNote(supportTicketId, noteId, options);
|
|
73079
73536
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
73080
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
73537
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportNotesApi.deleteSupportTicketNote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
73081
73538
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
73082
73539
|
});
|
|
73083
73540
|
},
|
|
73084
73541
|
/**
|
|
73085
|
-
* Get Support Ticket
|
|
73086
|
-
* @summary Get Support Ticket
|
|
73542
|
+
* Get Support Ticket Notes endpoint
|
|
73543
|
+
* @summary Get Support Ticket Notes
|
|
73087
73544
|
* @param {string} supportTicketId The supportTicket identifier
|
|
73088
|
-
* @param {string} [orgMembershipId] Filter by orgMembershipId
|
|
73089
|
-
* @param {number} [page] Page number
|
|
73090
|
-
* @param {number} [pageSize] Number of items per page
|
|
73091
|
-
* @param {string} [orderBy] Field to order by
|
|
73092
|
-
* @param {string} [search] Search query
|
|
73093
|
-
* @param {*} [options] Override http request option.
|
|
73094
|
-
* @throws {RequiredError}
|
|
73095
|
-
*/
|
|
73096
|
-
getSupportTicketViewer(supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options) {
|
|
73097
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
73098
|
-
var _a, _b, _c;
|
|
73099
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketViewer(supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options);
|
|
73100
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
73101
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportticketsApi.getSupportTicketViewer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
73102
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
73103
|
-
});
|
|
73104
|
-
},
|
|
73105
|
-
/**
|
|
73106
|
-
* Get Support Tickets endpoint
|
|
73107
|
-
* @summary Get Support Tickets
|
|
73108
|
-
* @param {string} [type] Filter by type
|
|
73109
|
-
* @param {string} [state] Filter by state
|
|
73110
|
-
* @param {GetSupportTicketsAssignmentEnum} [assignment] Filter by assignment
|
|
73111
73545
|
* @param {number} [page] Page number
|
|
73112
73546
|
* @param {number} [pageSize] Number of items per page
|
|
73113
73547
|
* @param {string} [orderBy] Field to order by
|
|
@@ -73115,362 +73549,93 @@ const SupportticketsApiFp = function (configuration) {
|
|
|
73115
73549
|
* @param {*} [options] Override http request option.
|
|
73116
73550
|
* @throws {RequiredError}
|
|
73117
73551
|
*/
|
|
73118
|
-
|
|
73552
|
+
getSupportTicketNotes(supportTicketId, page, pageSize, orderBy, search, options) {
|
|
73119
73553
|
return __awaiter(this, void 0, void 0, function* () {
|
|
73120
73554
|
var _a, _b, _c;
|
|
73121
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
73555
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketNotes(supportTicketId, page, pageSize, orderBy, search, options);
|
|
73122
73556
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
73123
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
73557
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportNotesApi.getSupportTicketNotes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
73124
73558
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
73125
73559
|
});
|
|
73126
73560
|
},
|
|
73127
73561
|
};
|
|
73128
73562
|
};
|
|
73129
|
-
exports.
|
|
73563
|
+
exports.SupportNotesApiFp = SupportNotesApiFp;
|
|
73130
73564
|
/**
|
|
73131
|
-
*
|
|
73565
|
+
* SupportNotesApi - factory interface
|
|
73132
73566
|
*/
|
|
73133
|
-
const
|
|
73134
|
-
const localVarFp = (0, exports.
|
|
73567
|
+
const SupportNotesApiFactory = function (configuration, basePath, axios) {
|
|
73568
|
+
const localVarFp = (0, exports.SupportNotesApiFp)(configuration);
|
|
73135
73569
|
return {
|
|
73136
73570
|
/**
|
|
73137
|
-
*
|
|
73138
|
-
* @summary
|
|
73139
|
-
* @param {
|
|
73140
|
-
* @param {*} [options] Override http request option.
|
|
73141
|
-
* @throws {RequiredError}
|
|
73142
|
-
*/
|
|
73143
|
-
getSupportTicket(requestParameters, options) {
|
|
73144
|
-
return localVarFp.getSupportTicket(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
|
|
73145
|
-
},
|
|
73146
|
-
/**
|
|
73147
|
-
* Get Support Ticket Activity endpoint
|
|
73148
|
-
* @summary Get Support Ticket Activity
|
|
73149
|
-
* @param {SupportticketsApiGetSupportTicketActivityRequest} requestParameters Request parameters.
|
|
73571
|
+
* Create Support Ticket Note endpoint
|
|
73572
|
+
* @summary Create Support Ticket Note
|
|
73573
|
+
* @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
|
|
73150
73574
|
* @param {*} [options] Override http request option.
|
|
73151
73575
|
* @throws {RequiredError}
|
|
73152
73576
|
*/
|
|
73153
|
-
|
|
73154
|
-
return localVarFp.
|
|
73577
|
+
createSupportTicketNote(requestParameters, options) {
|
|
73578
|
+
return localVarFp.createSupportTicketNote(requestParameters.supportTicketId, requestParameters.supportTicketNoteCreateInputs, options).then((request) => request(axios, basePath));
|
|
73155
73579
|
},
|
|
73156
73580
|
/**
|
|
73157
|
-
*
|
|
73158
|
-
* @summary
|
|
73159
|
-
* @param {
|
|
73581
|
+
* Delete Support Ticket Note endpoint
|
|
73582
|
+
* @summary Delete Support Ticket Note
|
|
73583
|
+
* @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
|
|
73160
73584
|
* @param {*} [options] Override http request option.
|
|
73161
73585
|
* @throws {RequiredError}
|
|
73162
73586
|
*/
|
|
73163
|
-
|
|
73164
|
-
return localVarFp.
|
|
73587
|
+
deleteSupportTicketNote(requestParameters, options) {
|
|
73588
|
+
return localVarFp.deleteSupportTicketNote(requestParameters.supportTicketId, requestParameters.noteId, options).then((request) => request(axios, basePath));
|
|
73165
73589
|
},
|
|
73166
73590
|
/**
|
|
73167
|
-
* Get Support
|
|
73168
|
-
* @summary Get Support
|
|
73169
|
-
* @param {
|
|
73591
|
+
* Get Support Ticket Notes endpoint
|
|
73592
|
+
* @summary Get Support Ticket Notes
|
|
73593
|
+
* @param {SupportNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
|
|
73170
73594
|
* @param {*} [options] Override http request option.
|
|
73171
73595
|
* @throws {RequiredError}
|
|
73172
73596
|
*/
|
|
73173
|
-
|
|
73174
|
-
return localVarFp.
|
|
73597
|
+
getSupportTicketNotes(requestParameters, options) {
|
|
73598
|
+
return localVarFp.getSupportTicketNotes(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
73175
73599
|
},
|
|
73176
73600
|
};
|
|
73177
73601
|
};
|
|
73178
|
-
exports.
|
|
73602
|
+
exports.SupportNotesApiFactory = SupportNotesApiFactory;
|
|
73179
73603
|
/**
|
|
73180
|
-
*
|
|
73604
|
+
* SupportNotesApi - object-oriented interface
|
|
73181
73605
|
*/
|
|
73182
|
-
class
|
|
73183
|
-
/**
|
|
73184
|
-
* Get Support Ticket endpoint
|
|
73185
|
-
* @summary Get Support Ticket
|
|
73186
|
-
* @param {SupportticketsApiGetSupportTicketRequest} requestParameters Request parameters.
|
|
73187
|
-
* @param {*} [options] Override http request option.
|
|
73188
|
-
* @throws {RequiredError}
|
|
73189
|
-
*/
|
|
73190
|
-
getSupportTicket(requestParameters, options) {
|
|
73191
|
-
return (0, exports.SupportticketsApiFp)(this.configuration).getSupportTicket(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
|
|
73192
|
-
}
|
|
73193
|
-
/**
|
|
73194
|
-
* Get Support Ticket Activity endpoint
|
|
73195
|
-
* @summary Get Support Ticket Activity
|
|
73196
|
-
* @param {SupportticketsApiGetSupportTicketActivityRequest} requestParameters Request parameters.
|
|
73197
|
-
* @param {*} [options] Override http request option.
|
|
73198
|
-
* @throws {RequiredError}
|
|
73199
|
-
*/
|
|
73200
|
-
getSupportTicketActivity(requestParameters, options) {
|
|
73201
|
-
return (0, exports.SupportticketsApiFp)(this.configuration).getSupportTicketActivity(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
|
|
73202
|
-
}
|
|
73203
|
-
/**
|
|
73204
|
-
* Get Support Ticket Viewer endpoint
|
|
73205
|
-
* @summary Get Support Ticket Viewer
|
|
73206
|
-
* @param {SupportticketsApiGetSupportTicketViewerRequest} requestParameters Request parameters.
|
|
73207
|
-
* @param {*} [options] Override http request option.
|
|
73208
|
-
* @throws {RequiredError}
|
|
73209
|
-
*/
|
|
73210
|
-
getSupportTicketViewer(requestParameters, options) {
|
|
73211
|
-
return (0, exports.SupportticketsApiFp)(this.configuration).getSupportTicketViewer(requestParameters.supportTicketId, requestParameters.orgMembershipId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
73212
|
-
}
|
|
73606
|
+
class SupportNotesApi extends base_1.BaseAPI {
|
|
73213
73607
|
/**
|
|
73214
|
-
*
|
|
73215
|
-
* @summary
|
|
73216
|
-
* @param {
|
|
73608
|
+
* Create Support Ticket Note endpoint
|
|
73609
|
+
* @summary Create Support Ticket Note
|
|
73610
|
+
* @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
|
|
73217
73611
|
* @param {*} [options] Override http request option.
|
|
73218
73612
|
* @throws {RequiredError}
|
|
73219
73613
|
*/
|
|
73220
|
-
|
|
73221
|
-
return (0, exports.
|
|
73614
|
+
createSupportTicketNote(requestParameters, options) {
|
|
73615
|
+
return (0, exports.SupportNotesApiFp)(this.configuration).createSupportTicketNote(requestParameters.supportTicketId, requestParameters.supportTicketNoteCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
73222
73616
|
}
|
|
73223
|
-
}
|
|
73224
|
-
exports.SupportticketsApi = SupportticketsApi;
|
|
73225
|
-
var GetSupportTicketsAssignmentEnum;
|
|
73226
|
-
(function (GetSupportTicketsAssignmentEnum) {
|
|
73227
|
-
GetSupportTicketsAssignmentEnum["Me"] = "me";
|
|
73228
|
-
GetSupportTicketsAssignmentEnum["Unassigned"] = "unassigned";
|
|
73229
|
-
})(GetSupportTicketsAssignmentEnum || (exports.GetSupportTicketsAssignmentEnum = GetSupportTicketsAssignmentEnum = {}));
|
|
73230
|
-
/**
|
|
73231
|
-
* SupportticketsMessagesApi - axios parameter creator
|
|
73232
|
-
*/
|
|
73233
|
-
const SupportticketsMessagesApiAxiosParamCreator = function (configuration) {
|
|
73234
|
-
return {
|
|
73235
|
-
/**
|
|
73236
|
-
* Get Support Ticket Messages endpoint
|
|
73237
|
-
* @summary Get Support Ticket Messages
|
|
73238
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
73239
|
-
* @param {number} [page] Page number
|
|
73240
|
-
* @param {number} [pageSize] Number of items per page
|
|
73241
|
-
* @param {string} [orderBy] Field to order by
|
|
73242
|
-
* @param {string} [search] Search query
|
|
73243
|
-
* @param {*} [options] Override http request option.
|
|
73244
|
-
* @throws {RequiredError}
|
|
73245
|
-
*/
|
|
73246
|
-
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 = {}) {
|
|
73247
|
-
// verify required parameter 'supportTicketId' is not null or undefined
|
|
73248
|
-
(0, common_1.assertParamExists)('getSupportTicketMessages', 'supportTicketId', supportTicketId);
|
|
73249
|
-
const localVarPath = `/supportTickets/{supportTicketId}/messages`
|
|
73250
|
-
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
73251
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
73252
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
73253
|
-
let baseOptions;
|
|
73254
|
-
if (configuration) {
|
|
73255
|
-
baseOptions = configuration.baseOptions;
|
|
73256
|
-
}
|
|
73257
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
73258
|
-
const localVarHeaderParameter = {};
|
|
73259
|
-
const localVarQueryParameter = {};
|
|
73260
|
-
// authentication ApiKeyAuth required
|
|
73261
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
73262
|
-
// authentication OrganizationId required
|
|
73263
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
73264
|
-
if (page !== undefined) {
|
|
73265
|
-
localVarQueryParameter['page'] = page;
|
|
73266
|
-
}
|
|
73267
|
-
if (pageSize !== undefined) {
|
|
73268
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
73269
|
-
}
|
|
73270
|
-
if (orderBy !== undefined) {
|
|
73271
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
73272
|
-
}
|
|
73273
|
-
if (search !== undefined) {
|
|
73274
|
-
localVarQueryParameter['search'] = search;
|
|
73275
|
-
}
|
|
73276
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
73277
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
73278
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73279
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
73280
|
-
return {
|
|
73281
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
73282
|
-
options: localVarRequestOptions,
|
|
73283
|
-
};
|
|
73284
|
-
}),
|
|
73285
|
-
};
|
|
73286
|
-
};
|
|
73287
|
-
exports.SupportticketsMessagesApiAxiosParamCreator = SupportticketsMessagesApiAxiosParamCreator;
|
|
73288
|
-
/**
|
|
73289
|
-
* SupportticketsMessagesApi - functional programming interface
|
|
73290
|
-
*/
|
|
73291
|
-
const SupportticketsMessagesApiFp = function (configuration) {
|
|
73292
|
-
const localVarAxiosParamCreator = (0, exports.SupportticketsMessagesApiAxiosParamCreator)(configuration);
|
|
73293
|
-
return {
|
|
73294
|
-
/**
|
|
73295
|
-
* Get Support Ticket Messages endpoint
|
|
73296
|
-
* @summary Get Support Ticket Messages
|
|
73297
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
73298
|
-
* @param {number} [page] Page number
|
|
73299
|
-
* @param {number} [pageSize] Number of items per page
|
|
73300
|
-
* @param {string} [orderBy] Field to order by
|
|
73301
|
-
* @param {string} [search] Search query
|
|
73302
|
-
* @param {*} [options] Override http request option.
|
|
73303
|
-
* @throws {RequiredError}
|
|
73304
|
-
*/
|
|
73305
|
-
getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options) {
|
|
73306
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
73307
|
-
var _a, _b, _c;
|
|
73308
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options);
|
|
73309
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
73310
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportticketsMessagesApi.getSupportTicketMessages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
73311
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
73312
|
-
});
|
|
73313
|
-
},
|
|
73314
|
-
};
|
|
73315
|
-
};
|
|
73316
|
-
exports.SupportticketsMessagesApiFp = SupportticketsMessagesApiFp;
|
|
73317
|
-
/**
|
|
73318
|
-
* SupportticketsMessagesApi - factory interface
|
|
73319
|
-
*/
|
|
73320
|
-
const SupportticketsMessagesApiFactory = function (configuration, basePath, axios) {
|
|
73321
|
-
const localVarFp = (0, exports.SupportticketsMessagesApiFp)(configuration);
|
|
73322
|
-
return {
|
|
73323
|
-
/**
|
|
73324
|
-
* Get Support Ticket Messages endpoint
|
|
73325
|
-
* @summary Get Support Ticket Messages
|
|
73326
|
-
* @param {SupportticketsMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
|
|
73327
|
-
* @param {*} [options] Override http request option.
|
|
73328
|
-
* @throws {RequiredError}
|
|
73329
|
-
*/
|
|
73330
|
-
getSupportTicketMessages(requestParameters, options) {
|
|
73331
|
-
return localVarFp.getSupportTicketMessages(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
73332
|
-
},
|
|
73333
|
-
};
|
|
73334
|
-
};
|
|
73335
|
-
exports.SupportticketsMessagesApiFactory = SupportticketsMessagesApiFactory;
|
|
73336
|
-
/**
|
|
73337
|
-
* SupportticketsMessagesApi - object-oriented interface
|
|
73338
|
-
*/
|
|
73339
|
-
class SupportticketsMessagesApi extends base_1.BaseAPI {
|
|
73340
73617
|
/**
|
|
73341
|
-
*
|
|
73342
|
-
* @summary
|
|
73343
|
-
* @param {
|
|
73618
|
+
* Delete Support Ticket Note endpoint
|
|
73619
|
+
* @summary Delete Support Ticket Note
|
|
73620
|
+
* @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
|
|
73344
73621
|
* @param {*} [options] Override http request option.
|
|
73345
73622
|
* @throws {RequiredError}
|
|
73346
73623
|
*/
|
|
73347
|
-
|
|
73348
|
-
return (0, exports.
|
|
73624
|
+
deleteSupportTicketNote(requestParameters, options) {
|
|
73625
|
+
return (0, exports.SupportNotesApiFp)(this.configuration).deleteSupportTicketNote(requestParameters.supportTicketId, requestParameters.noteId, options).then((request) => request(this.axios, this.basePath));
|
|
73349
73626
|
}
|
|
73350
|
-
}
|
|
73351
|
-
exports.SupportticketsMessagesApi = SupportticketsMessagesApi;
|
|
73352
|
-
/**
|
|
73353
|
-
* SupportticketsNotesApi - axios parameter creator
|
|
73354
|
-
*/
|
|
73355
|
-
const SupportticketsNotesApiAxiosParamCreator = function (configuration) {
|
|
73356
|
-
return {
|
|
73357
|
-
/**
|
|
73358
|
-
* Get Support Ticket Notes endpoint
|
|
73359
|
-
* @summary Get Support Ticket Notes
|
|
73360
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
73361
|
-
* @param {number} [page] Page number
|
|
73362
|
-
* @param {number} [pageSize] Number of items per page
|
|
73363
|
-
* @param {string} [orderBy] Field to order by
|
|
73364
|
-
* @param {string} [search] Search query
|
|
73365
|
-
* @param {*} [options] Override http request option.
|
|
73366
|
-
* @throws {RequiredError}
|
|
73367
|
-
*/
|
|
73368
|
-
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 = {}) {
|
|
73369
|
-
// verify required parameter 'supportTicketId' is not null or undefined
|
|
73370
|
-
(0, common_1.assertParamExists)('getSupportTicketNotes', 'supportTicketId', supportTicketId);
|
|
73371
|
-
const localVarPath = `/supportTickets/{supportTicketId}/notes`
|
|
73372
|
-
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
73373
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
73374
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
73375
|
-
let baseOptions;
|
|
73376
|
-
if (configuration) {
|
|
73377
|
-
baseOptions = configuration.baseOptions;
|
|
73378
|
-
}
|
|
73379
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
73380
|
-
const localVarHeaderParameter = {};
|
|
73381
|
-
const localVarQueryParameter = {};
|
|
73382
|
-
// authentication ApiKeyAuth required
|
|
73383
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
73384
|
-
// authentication OrganizationId required
|
|
73385
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
73386
|
-
if (page !== undefined) {
|
|
73387
|
-
localVarQueryParameter['page'] = page;
|
|
73388
|
-
}
|
|
73389
|
-
if (pageSize !== undefined) {
|
|
73390
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
73391
|
-
}
|
|
73392
|
-
if (orderBy !== undefined) {
|
|
73393
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
73394
|
-
}
|
|
73395
|
-
if (search !== undefined) {
|
|
73396
|
-
localVarQueryParameter['search'] = search;
|
|
73397
|
-
}
|
|
73398
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
73399
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
73400
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73401
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
73402
|
-
return {
|
|
73403
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
73404
|
-
options: localVarRequestOptions,
|
|
73405
|
-
};
|
|
73406
|
-
}),
|
|
73407
|
-
};
|
|
73408
|
-
};
|
|
73409
|
-
exports.SupportticketsNotesApiAxiosParamCreator = SupportticketsNotesApiAxiosParamCreator;
|
|
73410
|
-
/**
|
|
73411
|
-
* SupportticketsNotesApi - functional programming interface
|
|
73412
|
-
*/
|
|
73413
|
-
const SupportticketsNotesApiFp = function (configuration) {
|
|
73414
|
-
const localVarAxiosParamCreator = (0, exports.SupportticketsNotesApiAxiosParamCreator)(configuration);
|
|
73415
|
-
return {
|
|
73416
|
-
/**
|
|
73417
|
-
* Get Support Ticket Notes endpoint
|
|
73418
|
-
* @summary Get Support Ticket Notes
|
|
73419
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
73420
|
-
* @param {number} [page] Page number
|
|
73421
|
-
* @param {number} [pageSize] Number of items per page
|
|
73422
|
-
* @param {string} [orderBy] Field to order by
|
|
73423
|
-
* @param {string} [search] Search query
|
|
73424
|
-
* @param {*} [options] Override http request option.
|
|
73425
|
-
* @throws {RequiredError}
|
|
73426
|
-
*/
|
|
73427
|
-
getSupportTicketNotes(supportTicketId, page, pageSize, orderBy, search, options) {
|
|
73428
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
73429
|
-
var _a, _b, _c;
|
|
73430
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSupportTicketNotes(supportTicketId, page, pageSize, orderBy, search, options);
|
|
73431
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
73432
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SupportticketsNotesApi.getSupportTicketNotes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
73433
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
73434
|
-
});
|
|
73435
|
-
},
|
|
73436
|
-
};
|
|
73437
|
-
};
|
|
73438
|
-
exports.SupportticketsNotesApiFp = SupportticketsNotesApiFp;
|
|
73439
|
-
/**
|
|
73440
|
-
* SupportticketsNotesApi - factory interface
|
|
73441
|
-
*/
|
|
73442
|
-
const SupportticketsNotesApiFactory = function (configuration, basePath, axios) {
|
|
73443
|
-
const localVarFp = (0, exports.SupportticketsNotesApiFp)(configuration);
|
|
73444
|
-
return {
|
|
73445
|
-
/**
|
|
73446
|
-
* Get Support Ticket Notes endpoint
|
|
73447
|
-
* @summary Get Support Ticket Notes
|
|
73448
|
-
* @param {SupportticketsNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
|
|
73449
|
-
* @param {*} [options] Override http request option.
|
|
73450
|
-
* @throws {RequiredError}
|
|
73451
|
-
*/
|
|
73452
|
-
getSupportTicketNotes(requestParameters, options) {
|
|
73453
|
-
return localVarFp.getSupportTicketNotes(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
73454
|
-
},
|
|
73455
|
-
};
|
|
73456
|
-
};
|
|
73457
|
-
exports.SupportticketsNotesApiFactory = SupportticketsNotesApiFactory;
|
|
73458
|
-
/**
|
|
73459
|
-
* SupportticketsNotesApi - object-oriented interface
|
|
73460
|
-
*/
|
|
73461
|
-
class SupportticketsNotesApi extends base_1.BaseAPI {
|
|
73462
73627
|
/**
|
|
73463
73628
|
* Get Support Ticket Notes endpoint
|
|
73464
73629
|
* @summary Get Support Ticket Notes
|
|
73465
|
-
* @param {
|
|
73630
|
+
* @param {SupportNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
|
|
73466
73631
|
* @param {*} [options] Override http request option.
|
|
73467
73632
|
* @throws {RequiredError}
|
|
73468
73633
|
*/
|
|
73469
73634
|
getSupportTicketNotes(requestParameters, options) {
|
|
73470
|
-
return (0, exports.
|
|
73635
|
+
return (0, exports.SupportNotesApiFp)(this.configuration).getSupportTicketNotes(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
73471
73636
|
}
|
|
73472
73637
|
}
|
|
73473
|
-
exports.
|
|
73638
|
+
exports.SupportNotesApi = SupportNotesApi;
|
|
73474
73639
|
/**
|
|
73475
73640
|
* SurveysApi - axios parameter creator
|
|
73476
73641
|
*/
|