@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/api.ts
CHANGED
|
@@ -1884,6 +1884,13 @@ export interface BaseOrganizationModule {
|
|
|
1884
1884
|
}
|
|
1885
1885
|
|
|
1886
1886
|
|
|
1887
|
+
export interface BaseOrganizationModuleSettings {
|
|
1888
|
+
'organizationId': string;
|
|
1889
|
+
}
|
|
1890
|
+
export interface BaseOrganizationModuleSettingsTranslation {
|
|
1891
|
+
'organizationId': string;
|
|
1892
|
+
'locale': string;
|
|
1893
|
+
}
|
|
1887
1894
|
export interface BasePassAddOn {
|
|
1888
1895
|
'addOnId': string;
|
|
1889
1896
|
'addOn': BaseEventAddOn;
|
|
@@ -4164,6 +4171,9 @@ export interface EventAttendeeAllOfCount {
|
|
|
4164
4171
|
'payments': number;
|
|
4165
4172
|
'coupons': number;
|
|
4166
4173
|
}
|
|
4174
|
+
export interface EventAttendeeCreateInputs {
|
|
4175
|
+
'accountId': string;
|
|
4176
|
+
}
|
|
4167
4177
|
export interface EventAttendeePackageCreateInputs {
|
|
4168
4178
|
'packageId': string;
|
|
4169
4179
|
'status'?: PurchaseStatus;
|
|
@@ -8188,15 +8198,7 @@ export interface Organization {
|
|
|
8188
8198
|
'locales': Array<string>;
|
|
8189
8199
|
'inviteOnly': boolean;
|
|
8190
8200
|
'googleTagManagerId': string | null;
|
|
8191
|
-
'meetingGroupCallAdminPreset': string;
|
|
8192
|
-
'meetingGroupCallGuestPreset': string;
|
|
8193
|
-
'meetingWebinarAdminPreset': string;
|
|
8194
|
-
'meetingWebinarGuestPreset': string;
|
|
8195
|
-
'meetingLivestreamAdminPreset': string;
|
|
8196
|
-
'meetingLivestreamGuestPreset': string;
|
|
8197
8201
|
'options': object | null;
|
|
8198
|
-
'autoResolveSupportTickets': boolean;
|
|
8199
|
-
'autoResolveSupportTicketMessage': string | null;
|
|
8200
8202
|
}
|
|
8201
8203
|
|
|
8202
8204
|
|
|
@@ -8296,6 +8298,35 @@ export interface OrganizationModule {
|
|
|
8296
8298
|
}
|
|
8297
8299
|
|
|
8298
8300
|
|
|
8301
|
+
export interface OrganizationModuleSettings {
|
|
8302
|
+
'organizationId': string;
|
|
8303
|
+
'meetingGroupCallAdminPreset': string;
|
|
8304
|
+
'meetingGroupCallGuestPreset': string;
|
|
8305
|
+
'meetingWebinarAdminPreset': string;
|
|
8306
|
+
'meetingWebinarGuestPreset': string;
|
|
8307
|
+
'meetingLivestreamAdminPreset': string;
|
|
8308
|
+
'meetingLivestreamGuestPreset': string;
|
|
8309
|
+
'supportAutoResolve': boolean;
|
|
8310
|
+
'supportAutoResolveMessage'?: string;
|
|
8311
|
+
}
|
|
8312
|
+
export interface OrganizationModuleSettingsTranslation {
|
|
8313
|
+
'organizationId': string;
|
|
8314
|
+
'locale': string;
|
|
8315
|
+
'supportAutoResolveMessage'?: string;
|
|
8316
|
+
}
|
|
8317
|
+
export interface OrganizationModuleSettingsTranslationUpdateInputs {
|
|
8318
|
+
'supportAutoResolveMessage'?: string;
|
|
8319
|
+
}
|
|
8320
|
+
export interface OrganizationModuleSettingsUpdateInputs {
|
|
8321
|
+
'meetingGroupCallAdminPreset'?: string;
|
|
8322
|
+
'meetingGroupCallGuestPreset'?: string;
|
|
8323
|
+
'meetingWebinarAdminPreset'?: string;
|
|
8324
|
+
'meetingWebinarGuestPreset'?: string;
|
|
8325
|
+
'meetingLivestreamAdminPreset'?: string;
|
|
8326
|
+
'meetingLivestreamGuestPreset'?: string;
|
|
8327
|
+
'supportAutoResolve'?: boolean;
|
|
8328
|
+
'supportAutoResolveMessage'?: string;
|
|
8329
|
+
}
|
|
8299
8330
|
|
|
8300
8331
|
export enum OrganizationModuleType {
|
|
8301
8332
|
Activities = 'activities',
|
|
@@ -8450,15 +8481,7 @@ export interface OrganizationUpdateInputs {
|
|
|
8450
8481
|
'locales'?: Array<string> | null;
|
|
8451
8482
|
'inviteOnly'?: boolean;
|
|
8452
8483
|
'googleTagManagerId'?: string | null;
|
|
8453
|
-
'meetingGroupCallAdminPreset'?: string;
|
|
8454
|
-
'meetingGroupCallGuestPreset'?: string;
|
|
8455
|
-
'meetingWebinarAdminPreset'?: string;
|
|
8456
|
-
'meetingWebinarGuestPreset'?: string;
|
|
8457
|
-
'meetingLivestreamAdminPreset'?: string;
|
|
8458
|
-
'meetingLivestreamGuestPreset'?: string;
|
|
8459
8484
|
'options'?: object | null;
|
|
8460
|
-
'autoResolveSupportTickets'?: boolean;
|
|
8461
|
-
'autoResolveSupportTicketMessage'?: string | null;
|
|
8462
8485
|
}
|
|
8463
8486
|
|
|
8464
8487
|
|
|
@@ -9656,7 +9679,8 @@ export enum SupportTicketState {
|
|
|
9656
9679
|
New = 'new',
|
|
9657
9680
|
InProgress = 'inProgress',
|
|
9658
9681
|
Resolved = 'resolved',
|
|
9659
|
-
Spam = 'spam'
|
|
9682
|
+
Spam = 'spam',
|
|
9683
|
+
Archived = 'archived'
|
|
9660
9684
|
}
|
|
9661
9685
|
|
|
9662
9686
|
|
|
@@ -11240,6 +11264,66 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11240
11264
|
options: localVarRequestOptions,
|
|
11241
11265
|
};
|
|
11242
11266
|
},
|
|
11267
|
+
/**
|
|
11268
|
+
* Get Account Registrations endpoint
|
|
11269
|
+
* @summary Get Account Registrations
|
|
11270
|
+
* @param {string} accountId The account identifier
|
|
11271
|
+
* @param {number} [page] Page number
|
|
11272
|
+
* @param {number} [pageSize] Number of items per page
|
|
11273
|
+
* @param {string} [orderBy] Field to order by
|
|
11274
|
+
* @param {string} [search] Search query
|
|
11275
|
+
* @param {*} [options] Override http request option.
|
|
11276
|
+
* @throws {RequiredError}
|
|
11277
|
+
*/
|
|
11278
|
+
getAccountRegistrations: async (accountId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11279
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
11280
|
+
assertParamExists('getAccountRegistrations', 'accountId', accountId)
|
|
11281
|
+
const localVarPath = `/accounts/{accountId}/registrations`
|
|
11282
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
11283
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11284
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11285
|
+
let baseOptions;
|
|
11286
|
+
if (configuration) {
|
|
11287
|
+
baseOptions = configuration.baseOptions;
|
|
11288
|
+
}
|
|
11289
|
+
|
|
11290
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11291
|
+
const localVarHeaderParameter = {} as any;
|
|
11292
|
+
const localVarQueryParameter = {} as any;
|
|
11293
|
+
|
|
11294
|
+
// authentication ApiKeyAuth required
|
|
11295
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
11296
|
+
|
|
11297
|
+
// authentication OrganizationId required
|
|
11298
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
11299
|
+
|
|
11300
|
+
if (page !== undefined) {
|
|
11301
|
+
localVarQueryParameter['page'] = page;
|
|
11302
|
+
}
|
|
11303
|
+
|
|
11304
|
+
if (pageSize !== undefined) {
|
|
11305
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
11306
|
+
}
|
|
11307
|
+
|
|
11308
|
+
if (orderBy !== undefined) {
|
|
11309
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
11310
|
+
}
|
|
11311
|
+
|
|
11312
|
+
if (search !== undefined) {
|
|
11313
|
+
localVarQueryParameter['search'] = search;
|
|
11314
|
+
}
|
|
11315
|
+
|
|
11316
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11317
|
+
|
|
11318
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11319
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11320
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11321
|
+
|
|
11322
|
+
return {
|
|
11323
|
+
url: toPathString(localVarUrlObj),
|
|
11324
|
+
options: localVarRequestOptions,
|
|
11325
|
+
};
|
|
11326
|
+
},
|
|
11243
11327
|
/**
|
|
11244
11328
|
* Get Account Threads endpoint
|
|
11245
11329
|
* @summary Get Account Threads
|
|
@@ -11634,6 +11718,23 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
11634
11718
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getAccountPayments']?.[localVarOperationServerIndex]?.url;
|
|
11635
11719
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11636
11720
|
},
|
|
11721
|
+
/**
|
|
11722
|
+
* Get Account Registrations endpoint
|
|
11723
|
+
* @summary Get Account Registrations
|
|
11724
|
+
* @param {string} accountId The account identifier
|
|
11725
|
+
* @param {number} [page] Page number
|
|
11726
|
+
* @param {number} [pageSize] Number of items per page
|
|
11727
|
+
* @param {string} [orderBy] Field to order by
|
|
11728
|
+
* @param {string} [search] Search query
|
|
11729
|
+
* @param {*} [options] Override http request option.
|
|
11730
|
+
* @throws {RequiredError}
|
|
11731
|
+
*/
|
|
11732
|
+
async getAccountRegistrations(accountId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountInvitations200Response>> {
|
|
11733
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountRegistrations(accountId, page, pageSize, orderBy, search, options);
|
|
11734
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11735
|
+
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getAccountRegistrations']?.[localVarOperationServerIndex]?.url;
|
|
11736
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11737
|
+
},
|
|
11637
11738
|
/**
|
|
11638
11739
|
* Get Account Threads endpoint
|
|
11639
11740
|
* @summary Get Account Threads
|
|
@@ -11816,6 +11917,16 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
11816
11917
|
getAccountPayments(requestParameters: AccountsApiGetAccountPaymentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountPayments200Response> {
|
|
11817
11918
|
return localVarFp.getAccountPayments(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
11818
11919
|
},
|
|
11920
|
+
/**
|
|
11921
|
+
* Get Account Registrations endpoint
|
|
11922
|
+
* @summary Get Account Registrations
|
|
11923
|
+
* @param {AccountsApiGetAccountRegistrationsRequest} requestParameters Request parameters.
|
|
11924
|
+
* @param {*} [options] Override http request option.
|
|
11925
|
+
* @throws {RequiredError}
|
|
11926
|
+
*/
|
|
11927
|
+
getAccountRegistrations(requestParameters: AccountsApiGetAccountRegistrationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountInvitations200Response> {
|
|
11928
|
+
return localVarFp.getAccountRegistrations(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
11929
|
+
},
|
|
11819
11930
|
/**
|
|
11820
11931
|
* Get Account Threads endpoint
|
|
11821
11932
|
* @summary Get Account Threads
|
|
@@ -12101,6 +12212,36 @@ export interface AccountsApiGetAccountPaymentsRequest {
|
|
|
12101
12212
|
readonly search?: string
|
|
12102
12213
|
}
|
|
12103
12214
|
|
|
12215
|
+
/**
|
|
12216
|
+
* Request parameters for getAccountRegistrations operation in AccountsApi.
|
|
12217
|
+
*/
|
|
12218
|
+
export interface AccountsApiGetAccountRegistrationsRequest {
|
|
12219
|
+
/**
|
|
12220
|
+
* The account identifier
|
|
12221
|
+
*/
|
|
12222
|
+
readonly accountId: string
|
|
12223
|
+
|
|
12224
|
+
/**
|
|
12225
|
+
* Page number
|
|
12226
|
+
*/
|
|
12227
|
+
readonly page?: number
|
|
12228
|
+
|
|
12229
|
+
/**
|
|
12230
|
+
* Number of items per page
|
|
12231
|
+
*/
|
|
12232
|
+
readonly pageSize?: number
|
|
12233
|
+
|
|
12234
|
+
/**
|
|
12235
|
+
* Field to order by
|
|
12236
|
+
*/
|
|
12237
|
+
readonly orderBy?: string
|
|
12238
|
+
|
|
12239
|
+
/**
|
|
12240
|
+
* Search query
|
|
12241
|
+
*/
|
|
12242
|
+
readonly search?: string
|
|
12243
|
+
}
|
|
12244
|
+
|
|
12104
12245
|
/**
|
|
12105
12246
|
* Request parameters for getAccountThreads operation in AccountsApi.
|
|
12106
12247
|
*/
|
|
@@ -12318,6 +12459,17 @@ export class AccountsApi extends BaseAPI {
|
|
|
12318
12459
|
return AccountsApiFp(this.configuration).getAccountPayments(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
12319
12460
|
}
|
|
12320
12461
|
|
|
12462
|
+
/**
|
|
12463
|
+
* Get Account Registrations endpoint
|
|
12464
|
+
* @summary Get Account Registrations
|
|
12465
|
+
* @param {AccountsApiGetAccountRegistrationsRequest} requestParameters Request parameters.
|
|
12466
|
+
* @param {*} [options] Override http request option.
|
|
12467
|
+
* @throws {RequiredError}
|
|
12468
|
+
*/
|
|
12469
|
+
public getAccountRegistrations(requestParameters: AccountsApiGetAccountRegistrationsRequest, options?: RawAxiosRequestConfig) {
|
|
12470
|
+
return AccountsApiFp(this.configuration).getAccountRegistrations(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
12471
|
+
}
|
|
12472
|
+
|
|
12321
12473
|
/**
|
|
12322
12474
|
* Get Account Threads endpoint
|
|
12323
12475
|
* @summary Get Account Threads
|
|
@@ -15734,6 +15886,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
15734
15886
|
* @param {ModerationStatus} [moderation] Filter by moderation
|
|
15735
15887
|
* @param {object} [featured] Filter by featured
|
|
15736
15888
|
* @param {ActivityStatus} [status] Filter by status
|
|
15889
|
+
* @param {boolean} [global] Filter by global
|
|
15737
15890
|
* @param {number} [page] Page number
|
|
15738
15891
|
* @param {number} [pageSize] Number of items per page
|
|
15739
15892
|
* @param {string} [orderBy] Field to order by
|
|
@@ -15741,7 +15894,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
15741
15894
|
* @param {*} [options] Override http request option.
|
|
15742
15895
|
* @throws {RequiredError}
|
|
15743
15896
|
*/
|
|
15744
|
-
getActivities: async (moderation?: ModerationStatus, featured?: object, status?: ActivityStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15897
|
+
getActivities: async (moderation?: ModerationStatus, featured?: object, status?: ActivityStatus, global?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15745
15898
|
const localVarPath = `/activities`;
|
|
15746
15899
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15747
15900
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15774,6 +15927,10 @@ export const ActivitiesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
15774
15927
|
localVarQueryParameter['status'] = status;
|
|
15775
15928
|
}
|
|
15776
15929
|
|
|
15930
|
+
if (global !== undefined) {
|
|
15931
|
+
localVarQueryParameter['global'] = global;
|
|
15932
|
+
}
|
|
15933
|
+
|
|
15777
15934
|
if (page !== undefined) {
|
|
15778
15935
|
localVarQueryParameter['page'] = page;
|
|
15779
15936
|
}
|
|
@@ -16102,6 +16259,7 @@ export const ActivitiesApiFp = function(configuration?: Configuration) {
|
|
|
16102
16259
|
* @param {ModerationStatus} [moderation] Filter by moderation
|
|
16103
16260
|
* @param {object} [featured] Filter by featured
|
|
16104
16261
|
* @param {ActivityStatus} [status] Filter by status
|
|
16262
|
+
* @param {boolean} [global] Filter by global
|
|
16105
16263
|
* @param {number} [page] Page number
|
|
16106
16264
|
* @param {number} [pageSize] Number of items per page
|
|
16107
16265
|
* @param {string} [orderBy] Field to order by
|
|
@@ -16109,8 +16267,8 @@ export const ActivitiesApiFp = function(configuration?: Configuration) {
|
|
|
16109
16267
|
* @param {*} [options] Override http request option.
|
|
16110
16268
|
* @throws {RequiredError}
|
|
16111
16269
|
*/
|
|
16112
|
-
async getActivities(moderation?: ModerationStatus, featured?: object, status?: ActivityStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountActivities200Response>> {
|
|
16113
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getActivities(moderation, featured, status, page, pageSize, orderBy, search, options);
|
|
16270
|
+
async getActivities(moderation?: ModerationStatus, featured?: object, status?: ActivityStatus, global?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountActivities200Response>> {
|
|
16271
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getActivities(moderation, featured, status, global, page, pageSize, orderBy, search, options);
|
|
16114
16272
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16115
16273
|
const localVarOperationServerBasePath = operationServerMap['ActivitiesApi.getActivities']?.[localVarOperationServerIndex]?.url;
|
|
16116
16274
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -16236,7 +16394,7 @@ export const ActivitiesApiFactory = function (configuration?: Configuration, bas
|
|
|
16236
16394
|
* @throws {RequiredError}
|
|
16237
16395
|
*/
|
|
16238
16396
|
getActivities(requestParameters: ActivitiesApiGetActivitiesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountActivities200Response> {
|
|
16239
|
-
return localVarFp.getActivities(requestParameters.moderation, requestParameters.featured, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
16397
|
+
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));
|
|
16240
16398
|
},
|
|
16241
16399
|
/**
|
|
16242
16400
|
* Get Activity endpoint
|
|
@@ -16350,6 +16508,11 @@ export interface ActivitiesApiGetActivitiesRequest {
|
|
|
16350
16508
|
*/
|
|
16351
16509
|
readonly status?: ActivityStatus
|
|
16352
16510
|
|
|
16511
|
+
/**
|
|
16512
|
+
* Filter by global
|
|
16513
|
+
*/
|
|
16514
|
+
readonly global?: boolean
|
|
16515
|
+
|
|
16353
16516
|
/**
|
|
16354
16517
|
* Page number
|
|
16355
16518
|
*/
|
|
@@ -16508,7 +16671,7 @@ export class ActivitiesApi extends BaseAPI {
|
|
|
16508
16671
|
* @throws {RequiredError}
|
|
16509
16672
|
*/
|
|
16510
16673
|
public getActivities(requestParameters: ActivitiesApiGetActivitiesRequest = {}, options?: RawAxiosRequestConfig) {
|
|
16511
|
-
return ActivitiesApiFp(this.configuration).getActivities(requestParameters.moderation, requestParameters.featured, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
16674
|
+
return ActivitiesApiFp(this.configuration).getActivities(requestParameters.moderation, requestParameters.featured, requestParameters.status, requestParameters.global, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
16512
16675
|
}
|
|
16513
16676
|
|
|
16514
16677
|
/**
|
|
@@ -31509,15 +31672,15 @@ export const EventsAttendeesApiAxiosParamCreator = function (configuration?: Con
|
|
|
31509
31672
|
* Create Event Attendee endpoint
|
|
31510
31673
|
* @summary Create Event Attendee
|
|
31511
31674
|
* @param {string} eventId The event identifier
|
|
31512
|
-
* @param {
|
|
31675
|
+
* @param {EventAttendeeCreateInputs} eventAttendeeCreateInputs
|
|
31513
31676
|
* @param {*} [options] Override http request option.
|
|
31514
31677
|
* @throws {RequiredError}
|
|
31515
31678
|
*/
|
|
31516
|
-
createEventAttendee: async (eventId: string,
|
|
31679
|
+
createEventAttendee: async (eventId: string, eventAttendeeCreateInputs: EventAttendeeCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31517
31680
|
// verify required parameter 'eventId' is not null or undefined
|
|
31518
31681
|
assertParamExists('createEventAttendee', 'eventId', eventId)
|
|
31519
|
-
// verify required parameter '
|
|
31520
|
-
assertParamExists('createEventAttendee', '
|
|
31682
|
+
// verify required parameter 'eventAttendeeCreateInputs' is not null or undefined
|
|
31683
|
+
assertParamExists('createEventAttendee', 'eventAttendeeCreateInputs', eventAttendeeCreateInputs)
|
|
31521
31684
|
const localVarPath = `/events/{eventId}/attendees`
|
|
31522
31685
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
31523
31686
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -31537,15 +31700,13 @@ export const EventsAttendeesApiAxiosParamCreator = function (configuration?: Con
|
|
|
31537
31700
|
// authentication OrganizationId required
|
|
31538
31701
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
31539
31702
|
|
|
31540
|
-
|
|
31541
|
-
localVarQueryParameter['accountId'] = accountId;
|
|
31542
|
-
}
|
|
31543
|
-
|
|
31703
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31544
31704
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
31545
31705
|
|
|
31546
31706
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31547
31707
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31548
31708
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31709
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventAttendeeCreateInputs, localVarRequestOptions, configuration)
|
|
31549
31710
|
|
|
31550
31711
|
return {
|
|
31551
31712
|
url: toPathString(localVarUrlObj),
|
|
@@ -32146,12 +32307,12 @@ export const EventsAttendeesApiFp = function(configuration?: Configuration) {
|
|
|
32146
32307
|
* Create Event Attendee endpoint
|
|
32147
32308
|
* @summary Create Event Attendee
|
|
32148
32309
|
* @param {string} eventId The event identifier
|
|
32149
|
-
* @param {
|
|
32310
|
+
* @param {EventAttendeeCreateInputs} eventAttendeeCreateInputs
|
|
32150
32311
|
* @param {*} [options] Override http request option.
|
|
32151
32312
|
* @throws {RequiredError}
|
|
32152
32313
|
*/
|
|
32153
|
-
async createEventAttendee(eventId: string,
|
|
32154
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createEventAttendee(eventId,
|
|
32314
|
+
async createEventAttendee(eventId: string, eventAttendeeCreateInputs: EventAttendeeCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventAttendee200Response>> {
|
|
32315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEventAttendee(eventId, eventAttendeeCreateInputs, options);
|
|
32155
32316
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32156
32317
|
const localVarOperationServerBasePath = operationServerMap['EventsAttendeesApi.createEventAttendee']?.[localVarOperationServerIndex]?.url;
|
|
32157
32318
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -32341,7 +32502,7 @@ export const EventsAttendeesApiFactory = function (configuration?: Configuration
|
|
|
32341
32502
|
* @throws {RequiredError}
|
|
32342
32503
|
*/
|
|
32343
32504
|
createEventAttendee(requestParameters: EventsAttendeesApiCreateEventAttendeeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventAttendee200Response> {
|
|
32344
|
-
return localVarFp.createEventAttendee(requestParameters.eventId, requestParameters.
|
|
32505
|
+
return localVarFp.createEventAttendee(requestParameters.eventId, requestParameters.eventAttendeeCreateInputs, options).then((request) => request(axios, basePath));
|
|
32345
32506
|
},
|
|
32346
32507
|
/**
|
|
32347
32508
|
* Delete Event Attendee endpoint
|
|
@@ -32455,10 +32616,7 @@ export interface EventsAttendeesApiCreateEventAttendeeRequest {
|
|
|
32455
32616
|
*/
|
|
32456
32617
|
readonly eventId: string
|
|
32457
32618
|
|
|
32458
|
-
|
|
32459
|
-
* Filter by accountId
|
|
32460
|
-
*/
|
|
32461
|
-
readonly accountId: string
|
|
32619
|
+
readonly eventAttendeeCreateInputs: EventAttendeeCreateInputs
|
|
32462
32620
|
}
|
|
32463
32621
|
|
|
32464
32622
|
/**
|
|
@@ -32760,7 +32918,7 @@ export class EventsAttendeesApi extends BaseAPI {
|
|
|
32760
32918
|
* @throws {RequiredError}
|
|
32761
32919
|
*/
|
|
32762
32920
|
public createEventAttendee(requestParameters: EventsAttendeesApiCreateEventAttendeeRequest, options?: RawAxiosRequestConfig) {
|
|
32763
|
-
return EventsAttendeesApiFp(this.configuration).createEventAttendee(requestParameters.eventId, requestParameters.
|
|
32921
|
+
return EventsAttendeesApiFp(this.configuration).createEventAttendee(requestParameters.eventId, requestParameters.eventAttendeeCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
32764
32922
|
}
|
|
32765
32923
|
|
|
32766
32924
|
/**
|
|
@@ -91165,26 +91323,18 @@ export class OrganizationModulesCustomApi extends BaseAPI {
|
|
|
91165
91323
|
|
|
91166
91324
|
|
|
91167
91325
|
/**
|
|
91168
|
-
*
|
|
91326
|
+
* OrganizationModulesSettingsApi - axios parameter creator
|
|
91169
91327
|
*/
|
|
91170
|
-
export const
|
|
91328
|
+
export const OrganizationModulesSettingsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
91171
91329
|
return {
|
|
91172
91330
|
/**
|
|
91173
|
-
*
|
|
91174
|
-
* @summary
|
|
91175
|
-
* @param {string} moduleType The moduleType identifier
|
|
91176
|
-
* @param {string} tierId The tier identifier
|
|
91331
|
+
* Get Organization Module Settings endpoint
|
|
91332
|
+
* @summary Get Organization Module Settings
|
|
91177
91333
|
* @param {*} [options] Override http request option.
|
|
91178
91334
|
* @throws {RequiredError}
|
|
91179
91335
|
*/
|
|
91180
|
-
|
|
91181
|
-
|
|
91182
|
-
assertParamExists('addOrganizationModuleEditableTier', 'moduleType', moduleType)
|
|
91183
|
-
// verify required parameter 'tierId' is not null or undefined
|
|
91184
|
-
assertParamExists('addOrganizationModuleEditableTier', 'tierId', tierId)
|
|
91185
|
-
const localVarPath = `/organization/modules/{moduleType}/editableTiers/{tierId}`
|
|
91186
|
-
.replace(`{${"moduleType"}}`, encodeURIComponent(String(moduleType)))
|
|
91187
|
-
.replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
|
|
91336
|
+
getOrganizationModuleSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
91337
|
+
const localVarPath = `/organization/module-settings`;
|
|
91188
91338
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
91189
91339
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
91190
91340
|
let baseOptions;
|
|
@@ -91192,7 +91342,7 @@ export const OrganizationModulesTiersApiAxiosParamCreator = function (configurat
|
|
|
91192
91342
|
baseOptions = configuration.baseOptions;
|
|
91193
91343
|
}
|
|
91194
91344
|
|
|
91195
|
-
const localVarRequestOptions = { method: '
|
|
91345
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
91196
91346
|
const localVarHeaderParameter = {} as any;
|
|
91197
91347
|
const localVarQueryParameter = {} as any;
|
|
91198
91348
|
|
|
@@ -91214,19 +91364,209 @@ export const OrganizationModulesTiersApiAxiosParamCreator = function (configurat
|
|
|
91214
91364
|
};
|
|
91215
91365
|
},
|
|
91216
91366
|
/**
|
|
91217
|
-
*
|
|
91218
|
-
* @summary
|
|
91367
|
+
* Update Organization Module Settings endpoint
|
|
91368
|
+
* @summary Update Organization Module Settings
|
|
91369
|
+
* @param {OrganizationModuleSettingsUpdateInputs} organizationModuleSettingsUpdateInputs
|
|
91370
|
+
* @param {*} [options] Override http request option.
|
|
91371
|
+
* @throws {RequiredError}
|
|
91372
|
+
*/
|
|
91373
|
+
updateOrganizationModuleSettings: async (organizationModuleSettingsUpdateInputs: OrganizationModuleSettingsUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
91374
|
+
// verify required parameter 'organizationModuleSettingsUpdateInputs' is not null or undefined
|
|
91375
|
+
assertParamExists('updateOrganizationModuleSettings', 'organizationModuleSettingsUpdateInputs', organizationModuleSettingsUpdateInputs)
|
|
91376
|
+
const localVarPath = `/organization/module-settings`;
|
|
91377
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
91378
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
91379
|
+
let baseOptions;
|
|
91380
|
+
if (configuration) {
|
|
91381
|
+
baseOptions = configuration.baseOptions;
|
|
91382
|
+
}
|
|
91383
|
+
|
|
91384
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
91385
|
+
const localVarHeaderParameter = {} as any;
|
|
91386
|
+
const localVarQueryParameter = {} as any;
|
|
91387
|
+
|
|
91388
|
+
// authentication ApiKeyAuth required
|
|
91389
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
91390
|
+
|
|
91391
|
+
// authentication OrganizationId required
|
|
91392
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
91393
|
+
|
|
91394
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
91395
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
91396
|
+
|
|
91397
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91398
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
91399
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
91400
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationModuleSettingsUpdateInputs, localVarRequestOptions, configuration)
|
|
91401
|
+
|
|
91402
|
+
return {
|
|
91403
|
+
url: toPathString(localVarUrlObj),
|
|
91404
|
+
options: localVarRequestOptions,
|
|
91405
|
+
};
|
|
91406
|
+
},
|
|
91407
|
+
}
|
|
91408
|
+
};
|
|
91409
|
+
|
|
91410
|
+
/**
|
|
91411
|
+
* OrganizationModulesSettingsApi - functional programming interface
|
|
91412
|
+
*/
|
|
91413
|
+
export const OrganizationModulesSettingsApiFp = function(configuration?: Configuration) {
|
|
91414
|
+
const localVarAxiosParamCreator = OrganizationModulesSettingsApiAxiosParamCreator(configuration)
|
|
91415
|
+
return {
|
|
91416
|
+
/**
|
|
91417
|
+
* Get Organization Module Settings endpoint
|
|
91418
|
+
* @summary Get Organization Module Settings
|
|
91419
|
+
* @param {*} [options] Override http request option.
|
|
91420
|
+
* @throws {RequiredError}
|
|
91421
|
+
*/
|
|
91422
|
+
async getOrganizationModuleSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
|
|
91423
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationModuleSettings(options);
|
|
91424
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
91425
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationModulesSettingsApi.getOrganizationModuleSettings']?.[localVarOperationServerIndex]?.url;
|
|
91426
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
91427
|
+
},
|
|
91428
|
+
/**
|
|
91429
|
+
* Update Organization Module Settings endpoint
|
|
91430
|
+
* @summary Update Organization Module Settings
|
|
91431
|
+
* @param {OrganizationModuleSettingsUpdateInputs} organizationModuleSettingsUpdateInputs
|
|
91432
|
+
* @param {*} [options] Override http request option.
|
|
91433
|
+
* @throws {RequiredError}
|
|
91434
|
+
*/
|
|
91435
|
+
async updateOrganizationModuleSettings(organizationModuleSettingsUpdateInputs: OrganizationModuleSettingsUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
|
|
91436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationModuleSettings(organizationModuleSettingsUpdateInputs, options);
|
|
91437
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
91438
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationModulesSettingsApi.updateOrganizationModuleSettings']?.[localVarOperationServerIndex]?.url;
|
|
91439
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
91440
|
+
},
|
|
91441
|
+
}
|
|
91442
|
+
};
|
|
91443
|
+
|
|
91444
|
+
/**
|
|
91445
|
+
* OrganizationModulesSettingsApi - factory interface
|
|
91446
|
+
*/
|
|
91447
|
+
export const OrganizationModulesSettingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
91448
|
+
const localVarFp = OrganizationModulesSettingsApiFp(configuration)
|
|
91449
|
+
return {
|
|
91450
|
+
/**
|
|
91451
|
+
* Get Organization Module Settings endpoint
|
|
91452
|
+
* @summary Get Organization Module Settings
|
|
91453
|
+
* @param {*} [options] Override http request option.
|
|
91454
|
+
* @throws {RequiredError}
|
|
91455
|
+
*/
|
|
91456
|
+
getOrganizationModuleSettings(options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
|
|
91457
|
+
return localVarFp.getOrganizationModuleSettings(options).then((request) => request(axios, basePath));
|
|
91458
|
+
},
|
|
91459
|
+
/**
|
|
91460
|
+
* Update Organization Module Settings endpoint
|
|
91461
|
+
* @summary Update Organization Module Settings
|
|
91462
|
+
* @param {OrganizationModulesSettingsApiUpdateOrganizationModuleSettingsRequest} requestParameters Request parameters.
|
|
91463
|
+
* @param {*} [options] Override http request option.
|
|
91464
|
+
* @throws {RequiredError}
|
|
91465
|
+
*/
|
|
91466
|
+
updateOrganizationModuleSettings(requestParameters: OrganizationModulesSettingsApiUpdateOrganizationModuleSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
|
|
91467
|
+
return localVarFp.updateOrganizationModuleSettings(requestParameters.organizationModuleSettingsUpdateInputs, options).then((request) => request(axios, basePath));
|
|
91468
|
+
},
|
|
91469
|
+
};
|
|
91470
|
+
};
|
|
91471
|
+
|
|
91472
|
+
/**
|
|
91473
|
+
* Request parameters for updateOrganizationModuleSettings operation in OrganizationModulesSettingsApi.
|
|
91474
|
+
*/
|
|
91475
|
+
export interface OrganizationModulesSettingsApiUpdateOrganizationModuleSettingsRequest {
|
|
91476
|
+
readonly organizationModuleSettingsUpdateInputs: OrganizationModuleSettingsUpdateInputs
|
|
91477
|
+
}
|
|
91478
|
+
|
|
91479
|
+
/**
|
|
91480
|
+
* OrganizationModulesSettingsApi - object-oriented interface
|
|
91481
|
+
*/
|
|
91482
|
+
export class OrganizationModulesSettingsApi extends BaseAPI {
|
|
91483
|
+
/**
|
|
91484
|
+
* Get Organization Module Settings endpoint
|
|
91485
|
+
* @summary Get Organization Module Settings
|
|
91486
|
+
* @param {*} [options] Override http request option.
|
|
91487
|
+
* @throws {RequiredError}
|
|
91488
|
+
*/
|
|
91489
|
+
public getOrganizationModuleSettings(options?: RawAxiosRequestConfig) {
|
|
91490
|
+
return OrganizationModulesSettingsApiFp(this.configuration).getOrganizationModuleSettings(options).then((request) => request(this.axios, this.basePath));
|
|
91491
|
+
}
|
|
91492
|
+
|
|
91493
|
+
/**
|
|
91494
|
+
* Update Organization Module Settings endpoint
|
|
91495
|
+
* @summary Update Organization Module Settings
|
|
91496
|
+
* @param {OrganizationModulesSettingsApiUpdateOrganizationModuleSettingsRequest} requestParameters Request parameters.
|
|
91497
|
+
* @param {*} [options] Override http request option.
|
|
91498
|
+
* @throws {RequiredError}
|
|
91499
|
+
*/
|
|
91500
|
+
public updateOrganizationModuleSettings(requestParameters: OrganizationModulesSettingsApiUpdateOrganizationModuleSettingsRequest, options?: RawAxiosRequestConfig) {
|
|
91501
|
+
return OrganizationModulesSettingsApiFp(this.configuration).updateOrganizationModuleSettings(requestParameters.organizationModuleSettingsUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
91502
|
+
}
|
|
91503
|
+
}
|
|
91504
|
+
|
|
91505
|
+
|
|
91506
|
+
|
|
91507
|
+
/**
|
|
91508
|
+
* OrganizationModulesTiersApi - axios parameter creator
|
|
91509
|
+
*/
|
|
91510
|
+
export const OrganizationModulesTiersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
91511
|
+
return {
|
|
91512
|
+
/**
|
|
91513
|
+
* Add Organization Module Editable Tier endpoint
|
|
91514
|
+
* @summary Add Organization Module Editable Tier
|
|
91219
91515
|
* @param {string} moduleType The moduleType identifier
|
|
91220
91516
|
* @param {string} tierId The tier identifier
|
|
91221
91517
|
* @param {*} [options] Override http request option.
|
|
91222
91518
|
* @throws {RequiredError}
|
|
91223
91519
|
*/
|
|
91224
|
-
|
|
91520
|
+
addOrganizationModuleEditableTier: async (moduleType: string, tierId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
91225
91521
|
// verify required parameter 'moduleType' is not null or undefined
|
|
91226
|
-
assertParamExists('
|
|
91522
|
+
assertParamExists('addOrganizationModuleEditableTier', 'moduleType', moduleType)
|
|
91227
91523
|
// verify required parameter 'tierId' is not null or undefined
|
|
91228
|
-
assertParamExists('
|
|
91229
|
-
const localVarPath = `/organization/modules/{moduleType}/
|
|
91524
|
+
assertParamExists('addOrganizationModuleEditableTier', 'tierId', tierId)
|
|
91525
|
+
const localVarPath = `/organization/modules/{moduleType}/editableTiers/{tierId}`
|
|
91526
|
+
.replace(`{${"moduleType"}}`, encodeURIComponent(String(moduleType)))
|
|
91527
|
+
.replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
|
|
91528
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
91529
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
91530
|
+
let baseOptions;
|
|
91531
|
+
if (configuration) {
|
|
91532
|
+
baseOptions = configuration.baseOptions;
|
|
91533
|
+
}
|
|
91534
|
+
|
|
91535
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
91536
|
+
const localVarHeaderParameter = {} as any;
|
|
91537
|
+
const localVarQueryParameter = {} as any;
|
|
91538
|
+
|
|
91539
|
+
// authentication ApiKeyAuth required
|
|
91540
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
91541
|
+
|
|
91542
|
+
// authentication OrganizationId required
|
|
91543
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
91544
|
+
|
|
91545
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
91546
|
+
|
|
91547
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91548
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
91549
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
91550
|
+
|
|
91551
|
+
return {
|
|
91552
|
+
url: toPathString(localVarUrlObj),
|
|
91553
|
+
options: localVarRequestOptions,
|
|
91554
|
+
};
|
|
91555
|
+
},
|
|
91556
|
+
/**
|
|
91557
|
+
* Add Organization Module Enabled Tier endpoint
|
|
91558
|
+
* @summary Add Organization Module Enabled Tier
|
|
91559
|
+
* @param {string} moduleType The moduleType identifier
|
|
91560
|
+
* @param {string} tierId The tier identifier
|
|
91561
|
+
* @param {*} [options] Override http request option.
|
|
91562
|
+
* @throws {RequiredError}
|
|
91563
|
+
*/
|
|
91564
|
+
addOrganizationModuleEnabledTier: async (moduleType: string, tierId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
91565
|
+
// verify required parameter 'moduleType' is not null or undefined
|
|
91566
|
+
assertParamExists('addOrganizationModuleEnabledTier', 'moduleType', moduleType)
|
|
91567
|
+
// verify required parameter 'tierId' is not null or undefined
|
|
91568
|
+
assertParamExists('addOrganizationModuleEnabledTier', 'tierId', tierId)
|
|
91569
|
+
const localVarPath = `/organization/modules/{moduleType}/enabledTiers/{tierId}`
|
|
91230
91570
|
.replace(`{${"moduleType"}}`, encodeURIComponent(String(moduleType)))
|
|
91231
91571
|
.replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
|
|
91232
91572
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -102602,6 +102942,222 @@ export const SupportApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
102602
102942
|
options: localVarRequestOptions,
|
|
102603
102943
|
};
|
|
102604
102944
|
},
|
|
102945
|
+
/**
|
|
102946
|
+
* Get Support Ticket endpoint
|
|
102947
|
+
* @summary Get Support Ticket
|
|
102948
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
102949
|
+
* @param {*} [options] Override http request option.
|
|
102950
|
+
* @throws {RequiredError}
|
|
102951
|
+
*/
|
|
102952
|
+
getSupportTicket: async (supportTicketId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102953
|
+
// verify required parameter 'supportTicketId' is not null or undefined
|
|
102954
|
+
assertParamExists('getSupportTicket', 'supportTicketId', supportTicketId)
|
|
102955
|
+
const localVarPath = `/supportTickets/{supportTicketId}`
|
|
102956
|
+
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
102957
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102958
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102959
|
+
let baseOptions;
|
|
102960
|
+
if (configuration) {
|
|
102961
|
+
baseOptions = configuration.baseOptions;
|
|
102962
|
+
}
|
|
102963
|
+
|
|
102964
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
102965
|
+
const localVarHeaderParameter = {} as any;
|
|
102966
|
+
const localVarQueryParameter = {} as any;
|
|
102967
|
+
|
|
102968
|
+
// authentication ApiKeyAuth required
|
|
102969
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
102970
|
+
|
|
102971
|
+
// authentication OrganizationId required
|
|
102972
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
102973
|
+
|
|
102974
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
102975
|
+
|
|
102976
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
102977
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
102978
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
102979
|
+
|
|
102980
|
+
return {
|
|
102981
|
+
url: toPathString(localVarUrlObj),
|
|
102982
|
+
options: localVarRequestOptions,
|
|
102983
|
+
};
|
|
102984
|
+
},
|
|
102985
|
+
/**
|
|
102986
|
+
* Get Support Ticket Activity endpoint
|
|
102987
|
+
* @summary Get Support Ticket Activity
|
|
102988
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
102989
|
+
* @param {*} [options] Override http request option.
|
|
102990
|
+
* @throws {RequiredError}
|
|
102991
|
+
*/
|
|
102992
|
+
getSupportTicketActivity: async (supportTicketId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102993
|
+
// verify required parameter 'supportTicketId' is not null or undefined
|
|
102994
|
+
assertParamExists('getSupportTicketActivity', 'supportTicketId', supportTicketId)
|
|
102995
|
+
const localVarPath = `/supportTickets/{supportTicketId}/activityLog`
|
|
102996
|
+
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
102997
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102998
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102999
|
+
let baseOptions;
|
|
103000
|
+
if (configuration) {
|
|
103001
|
+
baseOptions = configuration.baseOptions;
|
|
103002
|
+
}
|
|
103003
|
+
|
|
103004
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
103005
|
+
const localVarHeaderParameter = {} as any;
|
|
103006
|
+
const localVarQueryParameter = {} as any;
|
|
103007
|
+
|
|
103008
|
+
// authentication ApiKeyAuth required
|
|
103009
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
103010
|
+
|
|
103011
|
+
// authentication OrganizationId required
|
|
103012
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
103013
|
+
|
|
103014
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103015
|
+
|
|
103016
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103017
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103018
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103019
|
+
|
|
103020
|
+
return {
|
|
103021
|
+
url: toPathString(localVarUrlObj),
|
|
103022
|
+
options: localVarRequestOptions,
|
|
103023
|
+
};
|
|
103024
|
+
},
|
|
103025
|
+
/**
|
|
103026
|
+
* Get Support Ticket Viewer endpoint
|
|
103027
|
+
* @summary Get Support Ticket Viewer
|
|
103028
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
103029
|
+
* @param {string} [orgMembershipId] Filter by orgMembershipId
|
|
103030
|
+
* @param {number} [page] Page number
|
|
103031
|
+
* @param {number} [pageSize] Number of items per page
|
|
103032
|
+
* @param {string} [orderBy] Field to order by
|
|
103033
|
+
* @param {string} [search] Search query
|
|
103034
|
+
* @param {*} [options] Override http request option.
|
|
103035
|
+
* @throws {RequiredError}
|
|
103036
|
+
*/
|
|
103037
|
+
getSupportTicketViewer: async (supportTicketId: string, orgMembershipId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103038
|
+
// verify required parameter 'supportTicketId' is not null or undefined
|
|
103039
|
+
assertParamExists('getSupportTicketViewer', 'supportTicketId', supportTicketId)
|
|
103040
|
+
const localVarPath = `/supportTickets/{supportTicketId}/viewer`
|
|
103041
|
+
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
103042
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103043
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103044
|
+
let baseOptions;
|
|
103045
|
+
if (configuration) {
|
|
103046
|
+
baseOptions = configuration.baseOptions;
|
|
103047
|
+
}
|
|
103048
|
+
|
|
103049
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
103050
|
+
const localVarHeaderParameter = {} as any;
|
|
103051
|
+
const localVarQueryParameter = {} as any;
|
|
103052
|
+
|
|
103053
|
+
// authentication ApiKeyAuth required
|
|
103054
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
103055
|
+
|
|
103056
|
+
// authentication OrganizationId required
|
|
103057
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
103058
|
+
|
|
103059
|
+
if (orgMembershipId !== undefined) {
|
|
103060
|
+
localVarQueryParameter['orgMembershipId'] = orgMembershipId;
|
|
103061
|
+
}
|
|
103062
|
+
|
|
103063
|
+
if (page !== undefined) {
|
|
103064
|
+
localVarQueryParameter['page'] = page;
|
|
103065
|
+
}
|
|
103066
|
+
|
|
103067
|
+
if (pageSize !== undefined) {
|
|
103068
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
103069
|
+
}
|
|
103070
|
+
|
|
103071
|
+
if (orderBy !== undefined) {
|
|
103072
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
103073
|
+
}
|
|
103074
|
+
|
|
103075
|
+
if (search !== undefined) {
|
|
103076
|
+
localVarQueryParameter['search'] = search;
|
|
103077
|
+
}
|
|
103078
|
+
|
|
103079
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103080
|
+
|
|
103081
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103082
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103083
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103084
|
+
|
|
103085
|
+
return {
|
|
103086
|
+
url: toPathString(localVarUrlObj),
|
|
103087
|
+
options: localVarRequestOptions,
|
|
103088
|
+
};
|
|
103089
|
+
},
|
|
103090
|
+
/**
|
|
103091
|
+
* Get Support Tickets endpoint
|
|
103092
|
+
* @summary Get Support Tickets
|
|
103093
|
+
* @param {string} [type] Filter by type
|
|
103094
|
+
* @param {string} [state] Filter by state
|
|
103095
|
+
* @param {GetSupportTicketsAssignmentEnum} [assignment] Filter by assignment
|
|
103096
|
+
* @param {number} [page] Page number
|
|
103097
|
+
* @param {number} [pageSize] Number of items per page
|
|
103098
|
+
* @param {string} [orderBy] Field to order by
|
|
103099
|
+
* @param {string} [search] Search query
|
|
103100
|
+
* @param {*} [options] Override http request option.
|
|
103101
|
+
* @throws {RequiredError}
|
|
103102
|
+
*/
|
|
103103
|
+
getSupportTickets: async (type?: string, state?: string, assignment?: GetSupportTicketsAssignmentEnum, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103104
|
+
const localVarPath = `/supportTickets`;
|
|
103105
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103106
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103107
|
+
let baseOptions;
|
|
103108
|
+
if (configuration) {
|
|
103109
|
+
baseOptions = configuration.baseOptions;
|
|
103110
|
+
}
|
|
103111
|
+
|
|
103112
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
103113
|
+
const localVarHeaderParameter = {} as any;
|
|
103114
|
+
const localVarQueryParameter = {} as any;
|
|
103115
|
+
|
|
103116
|
+
// authentication ApiKeyAuth required
|
|
103117
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
103118
|
+
|
|
103119
|
+
// authentication OrganizationId required
|
|
103120
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
103121
|
+
|
|
103122
|
+
if (type !== undefined) {
|
|
103123
|
+
localVarQueryParameter['type'] = type;
|
|
103124
|
+
}
|
|
103125
|
+
|
|
103126
|
+
if (state !== undefined) {
|
|
103127
|
+
localVarQueryParameter['state'] = state;
|
|
103128
|
+
}
|
|
103129
|
+
|
|
103130
|
+
if (assignment !== undefined) {
|
|
103131
|
+
localVarQueryParameter['assignment'] = assignment;
|
|
103132
|
+
}
|
|
103133
|
+
|
|
103134
|
+
if (page !== undefined) {
|
|
103135
|
+
localVarQueryParameter['page'] = page;
|
|
103136
|
+
}
|
|
103137
|
+
|
|
103138
|
+
if (pageSize !== undefined) {
|
|
103139
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
103140
|
+
}
|
|
103141
|
+
|
|
103142
|
+
if (orderBy !== undefined) {
|
|
103143
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
103144
|
+
}
|
|
103145
|
+
|
|
103146
|
+
if (search !== undefined) {
|
|
103147
|
+
localVarQueryParameter['search'] = search;
|
|
103148
|
+
}
|
|
103149
|
+
|
|
103150
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103151
|
+
|
|
103152
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103153
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103154
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103155
|
+
|
|
103156
|
+
return {
|
|
103157
|
+
url: toPathString(localVarUrlObj),
|
|
103158
|
+
options: localVarRequestOptions,
|
|
103159
|
+
};
|
|
103160
|
+
},
|
|
102605
103161
|
/**
|
|
102606
103162
|
* Update Support Ticket endpoint
|
|
102607
103163
|
* @summary Update Support Ticket
|
|
@@ -102682,705 +103238,6 @@ export const SupportApiFp = function(configuration?: Configuration) {
|
|
|
102682
103238
|
const localVarOperationServerBasePath = operationServerMap['SupportApi.deleteSupportTicket']?.[localVarOperationServerIndex]?.url;
|
|
102683
103239
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
102684
103240
|
},
|
|
102685
|
-
/**
|
|
102686
|
-
* Update Support Ticket endpoint
|
|
102687
|
-
* @summary Update Support Ticket
|
|
102688
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
102689
|
-
* @param {SupportTicketUpdateInputs} supportTicketUpdateInputs
|
|
102690
|
-
* @param {*} [options] Override http request option.
|
|
102691
|
-
* @throws {RequiredError}
|
|
102692
|
-
*/
|
|
102693
|
-
async updateSupportTicket(supportTicketId: string, supportTicketUpdateInputs: SupportTicketUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSupportTicket200Response>> {
|
|
102694
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSupportTicket(supportTicketId, supportTicketUpdateInputs, options);
|
|
102695
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
102696
|
-
const localVarOperationServerBasePath = operationServerMap['SupportApi.updateSupportTicket']?.[localVarOperationServerIndex]?.url;
|
|
102697
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
102698
|
-
},
|
|
102699
|
-
}
|
|
102700
|
-
};
|
|
102701
|
-
|
|
102702
|
-
/**
|
|
102703
|
-
* SupportApi - factory interface
|
|
102704
|
-
*/
|
|
102705
|
-
export const SupportApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
102706
|
-
const localVarFp = SupportApiFp(configuration)
|
|
102707
|
-
return {
|
|
102708
|
-
/**
|
|
102709
|
-
* Create Support Ticket endpoint
|
|
102710
|
-
* @summary Create Support Ticket
|
|
102711
|
-
* @param {SupportApiCreateSupportTicketRequest} requestParameters Request parameters.
|
|
102712
|
-
* @param {*} [options] Override http request option.
|
|
102713
|
-
* @throws {RequiredError}
|
|
102714
|
-
*/
|
|
102715
|
-
createSupportTicket(requestParameters: SupportApiCreateSupportTicketRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSupportTicket200Response> {
|
|
102716
|
-
return localVarFp.createSupportTicket(requestParameters.supportTicketCreateInputs, options).then((request) => request(axios, basePath));
|
|
102717
|
-
},
|
|
102718
|
-
/**
|
|
102719
|
-
* Delete Support Ticket endpoint
|
|
102720
|
-
* @summary Delete Support Ticket
|
|
102721
|
-
* @param {SupportApiDeleteSupportTicketRequest} requestParameters Request parameters.
|
|
102722
|
-
* @param {*} [options] Override http request option.
|
|
102723
|
-
* @throws {RequiredError}
|
|
102724
|
-
*/
|
|
102725
|
-
deleteSupportTicket(requestParameters: SupportApiDeleteSupportTicketRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
102726
|
-
return localVarFp.deleteSupportTicket(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
|
|
102727
|
-
},
|
|
102728
|
-
/**
|
|
102729
|
-
* Update Support Ticket endpoint
|
|
102730
|
-
* @summary Update Support Ticket
|
|
102731
|
-
* @param {SupportApiUpdateSupportTicketRequest} requestParameters Request parameters.
|
|
102732
|
-
* @param {*} [options] Override http request option.
|
|
102733
|
-
* @throws {RequiredError}
|
|
102734
|
-
*/
|
|
102735
|
-
updateSupportTicket(requestParameters: SupportApiUpdateSupportTicketRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSupportTicket200Response> {
|
|
102736
|
-
return localVarFp.updateSupportTicket(requestParameters.supportTicketId, requestParameters.supportTicketUpdateInputs, options).then((request) => request(axios, basePath));
|
|
102737
|
-
},
|
|
102738
|
-
};
|
|
102739
|
-
};
|
|
102740
|
-
|
|
102741
|
-
/**
|
|
102742
|
-
* Request parameters for createSupportTicket operation in SupportApi.
|
|
102743
|
-
*/
|
|
102744
|
-
export interface SupportApiCreateSupportTicketRequest {
|
|
102745
|
-
readonly supportTicketCreateInputs: SupportTicketCreateInputs
|
|
102746
|
-
}
|
|
102747
|
-
|
|
102748
|
-
/**
|
|
102749
|
-
* Request parameters for deleteSupportTicket operation in SupportApi.
|
|
102750
|
-
*/
|
|
102751
|
-
export interface SupportApiDeleteSupportTicketRequest {
|
|
102752
|
-
/**
|
|
102753
|
-
* The supportTicket identifier
|
|
102754
|
-
*/
|
|
102755
|
-
readonly supportTicketId: string
|
|
102756
|
-
}
|
|
102757
|
-
|
|
102758
|
-
/**
|
|
102759
|
-
* Request parameters for updateSupportTicket operation in SupportApi.
|
|
102760
|
-
*/
|
|
102761
|
-
export interface SupportApiUpdateSupportTicketRequest {
|
|
102762
|
-
/**
|
|
102763
|
-
* The supportTicket identifier
|
|
102764
|
-
*/
|
|
102765
|
-
readonly supportTicketId: string
|
|
102766
|
-
|
|
102767
|
-
readonly supportTicketUpdateInputs: SupportTicketUpdateInputs
|
|
102768
|
-
}
|
|
102769
|
-
|
|
102770
|
-
/**
|
|
102771
|
-
* SupportApi - object-oriented interface
|
|
102772
|
-
*/
|
|
102773
|
-
export class SupportApi extends BaseAPI {
|
|
102774
|
-
/**
|
|
102775
|
-
* Create Support Ticket endpoint
|
|
102776
|
-
* @summary Create Support Ticket
|
|
102777
|
-
* @param {SupportApiCreateSupportTicketRequest} requestParameters Request parameters.
|
|
102778
|
-
* @param {*} [options] Override http request option.
|
|
102779
|
-
* @throws {RequiredError}
|
|
102780
|
-
*/
|
|
102781
|
-
public createSupportTicket(requestParameters: SupportApiCreateSupportTicketRequest, options?: RawAxiosRequestConfig) {
|
|
102782
|
-
return SupportApiFp(this.configuration).createSupportTicket(requestParameters.supportTicketCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
102783
|
-
}
|
|
102784
|
-
|
|
102785
|
-
/**
|
|
102786
|
-
* Delete Support Ticket endpoint
|
|
102787
|
-
* @summary Delete Support Ticket
|
|
102788
|
-
* @param {SupportApiDeleteSupportTicketRequest} requestParameters Request parameters.
|
|
102789
|
-
* @param {*} [options] Override http request option.
|
|
102790
|
-
* @throws {RequiredError}
|
|
102791
|
-
*/
|
|
102792
|
-
public deleteSupportTicket(requestParameters: SupportApiDeleteSupportTicketRequest, options?: RawAxiosRequestConfig) {
|
|
102793
|
-
return SupportApiFp(this.configuration).deleteSupportTicket(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
|
|
102794
|
-
}
|
|
102795
|
-
|
|
102796
|
-
/**
|
|
102797
|
-
* Update Support Ticket endpoint
|
|
102798
|
-
* @summary Update Support Ticket
|
|
102799
|
-
* @param {SupportApiUpdateSupportTicketRequest} requestParameters Request parameters.
|
|
102800
|
-
* @param {*} [options] Override http request option.
|
|
102801
|
-
* @throws {RequiredError}
|
|
102802
|
-
*/
|
|
102803
|
-
public updateSupportTicket(requestParameters: SupportApiUpdateSupportTicketRequest, options?: RawAxiosRequestConfig) {
|
|
102804
|
-
return SupportApiFp(this.configuration).updateSupportTicket(requestParameters.supportTicketId, requestParameters.supportTicketUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
102805
|
-
}
|
|
102806
|
-
}
|
|
102807
|
-
|
|
102808
|
-
|
|
102809
|
-
|
|
102810
|
-
/**
|
|
102811
|
-
* SupportMessagesApi - axios parameter creator
|
|
102812
|
-
*/
|
|
102813
|
-
export const SupportMessagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
102814
|
-
return {
|
|
102815
|
-
/**
|
|
102816
|
-
* Create Support Ticket Message endpoint
|
|
102817
|
-
* @summary Create Support Ticket Message
|
|
102818
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
102819
|
-
* @param {SupportTicketMessageCreateInputs} supportTicketMessageCreateInputs
|
|
102820
|
-
* @param {*} [options] Override http request option.
|
|
102821
|
-
* @throws {RequiredError}
|
|
102822
|
-
*/
|
|
102823
|
-
createSupportTicketMessage: async (supportTicketId: string, supportTicketMessageCreateInputs: SupportTicketMessageCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102824
|
-
// verify required parameter 'supportTicketId' is not null or undefined
|
|
102825
|
-
assertParamExists('createSupportTicketMessage', 'supportTicketId', supportTicketId)
|
|
102826
|
-
// verify required parameter 'supportTicketMessageCreateInputs' is not null or undefined
|
|
102827
|
-
assertParamExists('createSupportTicketMessage', 'supportTicketMessageCreateInputs', supportTicketMessageCreateInputs)
|
|
102828
|
-
const localVarPath = `/supportTickets/{supportTicketId}/messages`
|
|
102829
|
-
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
102830
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102831
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102832
|
-
let baseOptions;
|
|
102833
|
-
if (configuration) {
|
|
102834
|
-
baseOptions = configuration.baseOptions;
|
|
102835
|
-
}
|
|
102836
|
-
|
|
102837
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
102838
|
-
const localVarHeaderParameter = {} as any;
|
|
102839
|
-
const localVarQueryParameter = {} as any;
|
|
102840
|
-
|
|
102841
|
-
// authentication ApiKeyAuth required
|
|
102842
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
102843
|
-
|
|
102844
|
-
// authentication OrganizationId required
|
|
102845
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
102846
|
-
|
|
102847
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
102848
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
102849
|
-
|
|
102850
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
102851
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
102852
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
102853
|
-
localVarRequestOptions.data = serializeDataIfNeeded(supportTicketMessageCreateInputs, localVarRequestOptions, configuration)
|
|
102854
|
-
|
|
102855
|
-
return {
|
|
102856
|
-
url: toPathString(localVarUrlObj),
|
|
102857
|
-
options: localVarRequestOptions,
|
|
102858
|
-
};
|
|
102859
|
-
},
|
|
102860
|
-
}
|
|
102861
|
-
};
|
|
102862
|
-
|
|
102863
|
-
/**
|
|
102864
|
-
* SupportMessagesApi - functional programming interface
|
|
102865
|
-
*/
|
|
102866
|
-
export const SupportMessagesApiFp = function(configuration?: Configuration) {
|
|
102867
|
-
const localVarAxiosParamCreator = SupportMessagesApiAxiosParamCreator(configuration)
|
|
102868
|
-
return {
|
|
102869
|
-
/**
|
|
102870
|
-
* Create Support Ticket Message endpoint
|
|
102871
|
-
* @summary Create Support Ticket Message
|
|
102872
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
102873
|
-
* @param {SupportTicketMessageCreateInputs} supportTicketMessageCreateInputs
|
|
102874
|
-
* @param {*} [options] Override http request option.
|
|
102875
|
-
* @throws {RequiredError}
|
|
102876
|
-
*/
|
|
102877
|
-
async createSupportTicketMessage(supportTicketId: string, supportTicketMessageCreateInputs: SupportTicketMessageCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
|
|
102878
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createSupportTicketMessage(supportTicketId, supportTicketMessageCreateInputs, options);
|
|
102879
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
102880
|
-
const localVarOperationServerBasePath = operationServerMap['SupportMessagesApi.createSupportTicketMessage']?.[localVarOperationServerIndex]?.url;
|
|
102881
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
102882
|
-
},
|
|
102883
|
-
}
|
|
102884
|
-
};
|
|
102885
|
-
|
|
102886
|
-
/**
|
|
102887
|
-
* SupportMessagesApi - factory interface
|
|
102888
|
-
*/
|
|
102889
|
-
export const SupportMessagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
102890
|
-
const localVarFp = SupportMessagesApiFp(configuration)
|
|
102891
|
-
return {
|
|
102892
|
-
/**
|
|
102893
|
-
* Create Support Ticket Message endpoint
|
|
102894
|
-
* @summary Create Support Ticket Message
|
|
102895
|
-
* @param {SupportMessagesApiCreateSupportTicketMessageRequest} requestParameters Request parameters.
|
|
102896
|
-
* @param {*} [options] Override http request option.
|
|
102897
|
-
* @throws {RequiredError}
|
|
102898
|
-
*/
|
|
102899
|
-
createSupportTicketMessage(requestParameters: SupportMessagesApiCreateSupportTicketMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
|
|
102900
|
-
return localVarFp.createSupportTicketMessage(requestParameters.supportTicketId, requestParameters.supportTicketMessageCreateInputs, options).then((request) => request(axios, basePath));
|
|
102901
|
-
},
|
|
102902
|
-
};
|
|
102903
|
-
};
|
|
102904
|
-
|
|
102905
|
-
/**
|
|
102906
|
-
* Request parameters for createSupportTicketMessage operation in SupportMessagesApi.
|
|
102907
|
-
*/
|
|
102908
|
-
export interface SupportMessagesApiCreateSupportTicketMessageRequest {
|
|
102909
|
-
/**
|
|
102910
|
-
* The supportTicket identifier
|
|
102911
|
-
*/
|
|
102912
|
-
readonly supportTicketId: string
|
|
102913
|
-
|
|
102914
|
-
readonly supportTicketMessageCreateInputs: SupportTicketMessageCreateInputs
|
|
102915
|
-
}
|
|
102916
|
-
|
|
102917
|
-
/**
|
|
102918
|
-
* SupportMessagesApi - object-oriented interface
|
|
102919
|
-
*/
|
|
102920
|
-
export class SupportMessagesApi extends BaseAPI {
|
|
102921
|
-
/**
|
|
102922
|
-
* Create Support Ticket Message endpoint
|
|
102923
|
-
* @summary Create Support Ticket Message
|
|
102924
|
-
* @param {SupportMessagesApiCreateSupportTicketMessageRequest} requestParameters Request parameters.
|
|
102925
|
-
* @param {*} [options] Override http request option.
|
|
102926
|
-
* @throws {RequiredError}
|
|
102927
|
-
*/
|
|
102928
|
-
public createSupportTicketMessage(requestParameters: SupportMessagesApiCreateSupportTicketMessageRequest, options?: RawAxiosRequestConfig) {
|
|
102929
|
-
return SupportMessagesApiFp(this.configuration).createSupportTicketMessage(requestParameters.supportTicketId, requestParameters.supportTicketMessageCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
102930
|
-
}
|
|
102931
|
-
}
|
|
102932
|
-
|
|
102933
|
-
|
|
102934
|
-
|
|
102935
|
-
/**
|
|
102936
|
-
* SupportNotesApi - axios parameter creator
|
|
102937
|
-
*/
|
|
102938
|
-
export const SupportNotesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
102939
|
-
return {
|
|
102940
|
-
/**
|
|
102941
|
-
* Create Support Ticket Note endpoint
|
|
102942
|
-
* @summary Create Support Ticket Note
|
|
102943
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
102944
|
-
* @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
|
|
102945
|
-
* @param {*} [options] Override http request option.
|
|
102946
|
-
* @throws {RequiredError}
|
|
102947
|
-
*/
|
|
102948
|
-
createSupportTicketNote: async (supportTicketId: string, supportTicketNoteCreateInputs: SupportTicketNoteCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102949
|
-
// verify required parameter 'supportTicketId' is not null or undefined
|
|
102950
|
-
assertParamExists('createSupportTicketNote', 'supportTicketId', supportTicketId)
|
|
102951
|
-
// verify required parameter 'supportTicketNoteCreateInputs' is not null or undefined
|
|
102952
|
-
assertParamExists('createSupportTicketNote', 'supportTicketNoteCreateInputs', supportTicketNoteCreateInputs)
|
|
102953
|
-
const localVarPath = `/supportTickets/{supportTicketId}/notes`
|
|
102954
|
-
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
102955
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102956
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102957
|
-
let baseOptions;
|
|
102958
|
-
if (configuration) {
|
|
102959
|
-
baseOptions = configuration.baseOptions;
|
|
102960
|
-
}
|
|
102961
|
-
|
|
102962
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
102963
|
-
const localVarHeaderParameter = {} as any;
|
|
102964
|
-
const localVarQueryParameter = {} as any;
|
|
102965
|
-
|
|
102966
|
-
// authentication ApiKeyAuth required
|
|
102967
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
102968
|
-
|
|
102969
|
-
// authentication OrganizationId required
|
|
102970
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
102971
|
-
|
|
102972
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
102973
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
102974
|
-
|
|
102975
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
102976
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
102977
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
102978
|
-
localVarRequestOptions.data = serializeDataIfNeeded(supportTicketNoteCreateInputs, localVarRequestOptions, configuration)
|
|
102979
|
-
|
|
102980
|
-
return {
|
|
102981
|
-
url: toPathString(localVarUrlObj),
|
|
102982
|
-
options: localVarRequestOptions,
|
|
102983
|
-
};
|
|
102984
|
-
},
|
|
102985
|
-
/**
|
|
102986
|
-
* Delete Support Ticket Note endpoint
|
|
102987
|
-
* @summary Delete Support Ticket Note
|
|
102988
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
102989
|
-
* @param {string} noteId The note identifier
|
|
102990
|
-
* @param {*} [options] Override http request option.
|
|
102991
|
-
* @throws {RequiredError}
|
|
102992
|
-
*/
|
|
102993
|
-
deleteSupportTicketNote: async (supportTicketId: string, noteId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102994
|
-
// verify required parameter 'supportTicketId' is not null or undefined
|
|
102995
|
-
assertParamExists('deleteSupportTicketNote', 'supportTicketId', supportTicketId)
|
|
102996
|
-
// verify required parameter 'noteId' is not null or undefined
|
|
102997
|
-
assertParamExists('deleteSupportTicketNote', 'noteId', noteId)
|
|
102998
|
-
const localVarPath = `/supportTickets/{supportTicketId}/notes/{noteId}`
|
|
102999
|
-
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)))
|
|
103000
|
-
.replace(`{${"noteId"}}`, encodeURIComponent(String(noteId)));
|
|
103001
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103002
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103003
|
-
let baseOptions;
|
|
103004
|
-
if (configuration) {
|
|
103005
|
-
baseOptions = configuration.baseOptions;
|
|
103006
|
-
}
|
|
103007
|
-
|
|
103008
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
103009
|
-
const localVarHeaderParameter = {} as any;
|
|
103010
|
-
const localVarQueryParameter = {} as any;
|
|
103011
|
-
|
|
103012
|
-
// authentication ApiKeyAuth required
|
|
103013
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
103014
|
-
|
|
103015
|
-
// authentication OrganizationId required
|
|
103016
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
103017
|
-
|
|
103018
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103019
|
-
|
|
103020
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103021
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103022
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103023
|
-
|
|
103024
|
-
return {
|
|
103025
|
-
url: toPathString(localVarUrlObj),
|
|
103026
|
-
options: localVarRequestOptions,
|
|
103027
|
-
};
|
|
103028
|
-
},
|
|
103029
|
-
}
|
|
103030
|
-
};
|
|
103031
|
-
|
|
103032
|
-
/**
|
|
103033
|
-
* SupportNotesApi - functional programming interface
|
|
103034
|
-
*/
|
|
103035
|
-
export const SupportNotesApiFp = function(configuration?: Configuration) {
|
|
103036
|
-
const localVarAxiosParamCreator = SupportNotesApiAxiosParamCreator(configuration)
|
|
103037
|
-
return {
|
|
103038
|
-
/**
|
|
103039
|
-
* Create Support Ticket Note endpoint
|
|
103040
|
-
* @summary Create Support Ticket Note
|
|
103041
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
103042
|
-
* @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
|
|
103043
|
-
* @param {*} [options] Override http request option.
|
|
103044
|
-
* @throws {RequiredError}
|
|
103045
|
-
*/
|
|
103046
|
-
async createSupportTicketNote(supportTicketId: string, supportTicketNoteCreateInputs: SupportTicketNoteCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
|
|
103047
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options);
|
|
103048
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103049
|
-
const localVarOperationServerBasePath = operationServerMap['SupportNotesApi.createSupportTicketNote']?.[localVarOperationServerIndex]?.url;
|
|
103050
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103051
|
-
},
|
|
103052
|
-
/**
|
|
103053
|
-
* Delete Support Ticket Note endpoint
|
|
103054
|
-
* @summary Delete Support Ticket Note
|
|
103055
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
103056
|
-
* @param {string} noteId The note identifier
|
|
103057
|
-
* @param {*} [options] Override http request option.
|
|
103058
|
-
* @throws {RequiredError}
|
|
103059
|
-
*/
|
|
103060
|
-
async deleteSupportTicketNote(supportTicketId: string, noteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
103061
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSupportTicketNote(supportTicketId, noteId, options);
|
|
103062
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103063
|
-
const localVarOperationServerBasePath = operationServerMap['SupportNotesApi.deleteSupportTicketNote']?.[localVarOperationServerIndex]?.url;
|
|
103064
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103065
|
-
},
|
|
103066
|
-
}
|
|
103067
|
-
};
|
|
103068
|
-
|
|
103069
|
-
/**
|
|
103070
|
-
* SupportNotesApi - factory interface
|
|
103071
|
-
*/
|
|
103072
|
-
export const SupportNotesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
103073
|
-
const localVarFp = SupportNotesApiFp(configuration)
|
|
103074
|
-
return {
|
|
103075
|
-
/**
|
|
103076
|
-
* Create Support Ticket Note endpoint
|
|
103077
|
-
* @summary Create Support Ticket Note
|
|
103078
|
-
* @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
|
|
103079
|
-
* @param {*} [options] Override http request option.
|
|
103080
|
-
* @throws {RequiredError}
|
|
103081
|
-
*/
|
|
103082
|
-
createSupportTicketNote(requestParameters: SupportNotesApiCreateSupportTicketNoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
|
|
103083
|
-
return localVarFp.createSupportTicketNote(requestParameters.supportTicketId, requestParameters.supportTicketNoteCreateInputs, options).then((request) => request(axios, basePath));
|
|
103084
|
-
},
|
|
103085
|
-
/**
|
|
103086
|
-
* Delete Support Ticket Note endpoint
|
|
103087
|
-
* @summary Delete Support Ticket Note
|
|
103088
|
-
* @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
|
|
103089
|
-
* @param {*} [options] Override http request option.
|
|
103090
|
-
* @throws {RequiredError}
|
|
103091
|
-
*/
|
|
103092
|
-
deleteSupportTicketNote(requestParameters: SupportNotesApiDeleteSupportTicketNoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
103093
|
-
return localVarFp.deleteSupportTicketNote(requestParameters.supportTicketId, requestParameters.noteId, options).then((request) => request(axios, basePath));
|
|
103094
|
-
},
|
|
103095
|
-
};
|
|
103096
|
-
};
|
|
103097
|
-
|
|
103098
|
-
/**
|
|
103099
|
-
* Request parameters for createSupportTicketNote operation in SupportNotesApi.
|
|
103100
|
-
*/
|
|
103101
|
-
export interface SupportNotesApiCreateSupportTicketNoteRequest {
|
|
103102
|
-
/**
|
|
103103
|
-
* The supportTicket identifier
|
|
103104
|
-
*/
|
|
103105
|
-
readonly supportTicketId: string
|
|
103106
|
-
|
|
103107
|
-
readonly supportTicketNoteCreateInputs: SupportTicketNoteCreateInputs
|
|
103108
|
-
}
|
|
103109
|
-
|
|
103110
|
-
/**
|
|
103111
|
-
* Request parameters for deleteSupportTicketNote operation in SupportNotesApi.
|
|
103112
|
-
*/
|
|
103113
|
-
export interface SupportNotesApiDeleteSupportTicketNoteRequest {
|
|
103114
|
-
/**
|
|
103115
|
-
* The supportTicket identifier
|
|
103116
|
-
*/
|
|
103117
|
-
readonly supportTicketId: string
|
|
103118
|
-
|
|
103119
|
-
/**
|
|
103120
|
-
* The note identifier
|
|
103121
|
-
*/
|
|
103122
|
-
readonly noteId: string
|
|
103123
|
-
}
|
|
103124
|
-
|
|
103125
|
-
/**
|
|
103126
|
-
* SupportNotesApi - object-oriented interface
|
|
103127
|
-
*/
|
|
103128
|
-
export class SupportNotesApi extends BaseAPI {
|
|
103129
|
-
/**
|
|
103130
|
-
* Create Support Ticket Note endpoint
|
|
103131
|
-
* @summary Create Support Ticket Note
|
|
103132
|
-
* @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
|
|
103133
|
-
* @param {*} [options] Override http request option.
|
|
103134
|
-
* @throws {RequiredError}
|
|
103135
|
-
*/
|
|
103136
|
-
public createSupportTicketNote(requestParameters: SupportNotesApiCreateSupportTicketNoteRequest, options?: RawAxiosRequestConfig) {
|
|
103137
|
-
return SupportNotesApiFp(this.configuration).createSupportTicketNote(requestParameters.supportTicketId, requestParameters.supportTicketNoteCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
103138
|
-
}
|
|
103139
|
-
|
|
103140
|
-
/**
|
|
103141
|
-
* Delete Support Ticket Note endpoint
|
|
103142
|
-
* @summary Delete Support Ticket Note
|
|
103143
|
-
* @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
|
|
103144
|
-
* @param {*} [options] Override http request option.
|
|
103145
|
-
* @throws {RequiredError}
|
|
103146
|
-
*/
|
|
103147
|
-
public deleteSupportTicketNote(requestParameters: SupportNotesApiDeleteSupportTicketNoteRequest, options?: RawAxiosRequestConfig) {
|
|
103148
|
-
return SupportNotesApiFp(this.configuration).deleteSupportTicketNote(requestParameters.supportTicketId, requestParameters.noteId, options).then((request) => request(this.axios, this.basePath));
|
|
103149
|
-
}
|
|
103150
|
-
}
|
|
103151
|
-
|
|
103152
|
-
|
|
103153
|
-
|
|
103154
|
-
/**
|
|
103155
|
-
* SupportticketsApi - axios parameter creator
|
|
103156
|
-
*/
|
|
103157
|
-
export const SupportticketsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
103158
|
-
return {
|
|
103159
|
-
/**
|
|
103160
|
-
* Get Support Ticket endpoint
|
|
103161
|
-
* @summary Get Support Ticket
|
|
103162
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
103163
|
-
* @param {*} [options] Override http request option.
|
|
103164
|
-
* @throws {RequiredError}
|
|
103165
|
-
*/
|
|
103166
|
-
getSupportTicket: async (supportTicketId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103167
|
-
// verify required parameter 'supportTicketId' is not null or undefined
|
|
103168
|
-
assertParamExists('getSupportTicket', 'supportTicketId', supportTicketId)
|
|
103169
|
-
const localVarPath = `/supportTickets/{supportTicketId}`
|
|
103170
|
-
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
103171
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103172
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103173
|
-
let baseOptions;
|
|
103174
|
-
if (configuration) {
|
|
103175
|
-
baseOptions = configuration.baseOptions;
|
|
103176
|
-
}
|
|
103177
|
-
|
|
103178
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
103179
|
-
const localVarHeaderParameter = {} as any;
|
|
103180
|
-
const localVarQueryParameter = {} as any;
|
|
103181
|
-
|
|
103182
|
-
// authentication ApiKeyAuth required
|
|
103183
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
103184
|
-
|
|
103185
|
-
// authentication OrganizationId required
|
|
103186
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
103187
|
-
|
|
103188
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103189
|
-
|
|
103190
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103191
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103192
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103193
|
-
|
|
103194
|
-
return {
|
|
103195
|
-
url: toPathString(localVarUrlObj),
|
|
103196
|
-
options: localVarRequestOptions,
|
|
103197
|
-
};
|
|
103198
|
-
},
|
|
103199
|
-
/**
|
|
103200
|
-
* Get Support Ticket Activity endpoint
|
|
103201
|
-
* @summary Get Support Ticket Activity
|
|
103202
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
103203
|
-
* @param {*} [options] Override http request option.
|
|
103204
|
-
* @throws {RequiredError}
|
|
103205
|
-
*/
|
|
103206
|
-
getSupportTicketActivity: async (supportTicketId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103207
|
-
// verify required parameter 'supportTicketId' is not null or undefined
|
|
103208
|
-
assertParamExists('getSupportTicketActivity', 'supportTicketId', supportTicketId)
|
|
103209
|
-
const localVarPath = `/supportTickets/{supportTicketId}/activityLog`
|
|
103210
|
-
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
103211
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103212
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103213
|
-
let baseOptions;
|
|
103214
|
-
if (configuration) {
|
|
103215
|
-
baseOptions = configuration.baseOptions;
|
|
103216
|
-
}
|
|
103217
|
-
|
|
103218
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
103219
|
-
const localVarHeaderParameter = {} as any;
|
|
103220
|
-
const localVarQueryParameter = {} as any;
|
|
103221
|
-
|
|
103222
|
-
// authentication ApiKeyAuth required
|
|
103223
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
103224
|
-
|
|
103225
|
-
// authentication OrganizationId required
|
|
103226
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
103227
|
-
|
|
103228
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103229
|
-
|
|
103230
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103231
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103232
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103233
|
-
|
|
103234
|
-
return {
|
|
103235
|
-
url: toPathString(localVarUrlObj),
|
|
103236
|
-
options: localVarRequestOptions,
|
|
103237
|
-
};
|
|
103238
|
-
},
|
|
103239
|
-
/**
|
|
103240
|
-
* Get Support Ticket Viewer endpoint
|
|
103241
|
-
* @summary Get Support Ticket Viewer
|
|
103242
|
-
* @param {string} supportTicketId The supportTicket identifier
|
|
103243
|
-
* @param {string} [orgMembershipId] Filter by orgMembershipId
|
|
103244
|
-
* @param {number} [page] Page number
|
|
103245
|
-
* @param {number} [pageSize] Number of items per page
|
|
103246
|
-
* @param {string} [orderBy] Field to order by
|
|
103247
|
-
* @param {string} [search] Search query
|
|
103248
|
-
* @param {*} [options] Override http request option.
|
|
103249
|
-
* @throws {RequiredError}
|
|
103250
|
-
*/
|
|
103251
|
-
getSupportTicketViewer: async (supportTicketId: string, orgMembershipId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103252
|
-
// verify required parameter 'supportTicketId' is not null or undefined
|
|
103253
|
-
assertParamExists('getSupportTicketViewer', 'supportTicketId', supportTicketId)
|
|
103254
|
-
const localVarPath = `/supportTickets/{supportTicketId}/viewer`
|
|
103255
|
-
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
103256
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103257
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103258
|
-
let baseOptions;
|
|
103259
|
-
if (configuration) {
|
|
103260
|
-
baseOptions = configuration.baseOptions;
|
|
103261
|
-
}
|
|
103262
|
-
|
|
103263
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
103264
|
-
const localVarHeaderParameter = {} as any;
|
|
103265
|
-
const localVarQueryParameter = {} as any;
|
|
103266
|
-
|
|
103267
|
-
// authentication ApiKeyAuth required
|
|
103268
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
103269
|
-
|
|
103270
|
-
// authentication OrganizationId required
|
|
103271
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
103272
|
-
|
|
103273
|
-
if (orgMembershipId !== undefined) {
|
|
103274
|
-
localVarQueryParameter['orgMembershipId'] = orgMembershipId;
|
|
103275
|
-
}
|
|
103276
|
-
|
|
103277
|
-
if (page !== undefined) {
|
|
103278
|
-
localVarQueryParameter['page'] = page;
|
|
103279
|
-
}
|
|
103280
|
-
|
|
103281
|
-
if (pageSize !== undefined) {
|
|
103282
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
103283
|
-
}
|
|
103284
|
-
|
|
103285
|
-
if (orderBy !== undefined) {
|
|
103286
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
103287
|
-
}
|
|
103288
|
-
|
|
103289
|
-
if (search !== undefined) {
|
|
103290
|
-
localVarQueryParameter['search'] = search;
|
|
103291
|
-
}
|
|
103292
|
-
|
|
103293
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103294
|
-
|
|
103295
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103296
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103297
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103298
|
-
|
|
103299
|
-
return {
|
|
103300
|
-
url: toPathString(localVarUrlObj),
|
|
103301
|
-
options: localVarRequestOptions,
|
|
103302
|
-
};
|
|
103303
|
-
},
|
|
103304
|
-
/**
|
|
103305
|
-
* Get Support Tickets endpoint
|
|
103306
|
-
* @summary Get Support Tickets
|
|
103307
|
-
* @param {string} [type] Filter by type
|
|
103308
|
-
* @param {string} [state] Filter by state
|
|
103309
|
-
* @param {GetSupportTicketsAssignmentEnum} [assignment] Filter by assignment
|
|
103310
|
-
* @param {number} [page] Page number
|
|
103311
|
-
* @param {number} [pageSize] Number of items per page
|
|
103312
|
-
* @param {string} [orderBy] Field to order by
|
|
103313
|
-
* @param {string} [search] Search query
|
|
103314
|
-
* @param {*} [options] Override http request option.
|
|
103315
|
-
* @throws {RequiredError}
|
|
103316
|
-
*/
|
|
103317
|
-
getSupportTickets: async (type?: string, state?: string, assignment?: GetSupportTicketsAssignmentEnum, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103318
|
-
const localVarPath = `/supportTickets`;
|
|
103319
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103320
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103321
|
-
let baseOptions;
|
|
103322
|
-
if (configuration) {
|
|
103323
|
-
baseOptions = configuration.baseOptions;
|
|
103324
|
-
}
|
|
103325
|
-
|
|
103326
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
103327
|
-
const localVarHeaderParameter = {} as any;
|
|
103328
|
-
const localVarQueryParameter = {} as any;
|
|
103329
|
-
|
|
103330
|
-
// authentication ApiKeyAuth required
|
|
103331
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
103332
|
-
|
|
103333
|
-
// authentication OrganizationId required
|
|
103334
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
103335
|
-
|
|
103336
|
-
if (type !== undefined) {
|
|
103337
|
-
localVarQueryParameter['type'] = type;
|
|
103338
|
-
}
|
|
103339
|
-
|
|
103340
|
-
if (state !== undefined) {
|
|
103341
|
-
localVarQueryParameter['state'] = state;
|
|
103342
|
-
}
|
|
103343
|
-
|
|
103344
|
-
if (assignment !== undefined) {
|
|
103345
|
-
localVarQueryParameter['assignment'] = assignment;
|
|
103346
|
-
}
|
|
103347
|
-
|
|
103348
|
-
if (page !== undefined) {
|
|
103349
|
-
localVarQueryParameter['page'] = page;
|
|
103350
|
-
}
|
|
103351
|
-
|
|
103352
|
-
if (pageSize !== undefined) {
|
|
103353
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
103354
|
-
}
|
|
103355
|
-
|
|
103356
|
-
if (orderBy !== undefined) {
|
|
103357
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
103358
|
-
}
|
|
103359
|
-
|
|
103360
|
-
if (search !== undefined) {
|
|
103361
|
-
localVarQueryParameter['search'] = search;
|
|
103362
|
-
}
|
|
103363
|
-
|
|
103364
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103365
|
-
|
|
103366
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103367
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103368
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103369
|
-
|
|
103370
|
-
return {
|
|
103371
|
-
url: toPathString(localVarUrlObj),
|
|
103372
|
-
options: localVarRequestOptions,
|
|
103373
|
-
};
|
|
103374
|
-
},
|
|
103375
|
-
}
|
|
103376
|
-
};
|
|
103377
|
-
|
|
103378
|
-
/**
|
|
103379
|
-
* SupportticketsApi - functional programming interface
|
|
103380
|
-
*/
|
|
103381
|
-
export const SupportticketsApiFp = function(configuration?: Configuration) {
|
|
103382
|
-
const localVarAxiosParamCreator = SupportticketsApiAxiosParamCreator(configuration)
|
|
103383
|
-
return {
|
|
103384
103241
|
/**
|
|
103385
103242
|
* Get Support Ticket endpoint
|
|
103386
103243
|
* @summary Get Support Ticket
|
|
@@ -103391,7 +103248,7 @@ export const SupportticketsApiFp = function(configuration?: Configuration) {
|
|
|
103391
103248
|
async getSupportTicket(supportTicketId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSupportTicket200Response>> {
|
|
103392
103249
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSupportTicket(supportTicketId, options);
|
|
103393
103250
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103394
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
103251
|
+
const localVarOperationServerBasePath = operationServerMap['SupportApi.getSupportTicket']?.[localVarOperationServerIndex]?.url;
|
|
103395
103252
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103396
103253
|
},
|
|
103397
103254
|
/**
|
|
@@ -103404,7 +103261,7 @@ export const SupportticketsApiFp = function(configuration?: Configuration) {
|
|
|
103404
103261
|
async getSupportTicketActivity(supportTicketId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
|
|
103405
103262
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSupportTicketActivity(supportTicketId, options);
|
|
103406
103263
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103407
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
103264
|
+
const localVarOperationServerBasePath = operationServerMap['SupportApi.getSupportTicketActivity']?.[localVarOperationServerIndex]?.url;
|
|
103408
103265
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103409
103266
|
},
|
|
103410
103267
|
/**
|
|
@@ -103422,7 +103279,7 @@ export const SupportticketsApiFp = function(configuration?: Configuration) {
|
|
|
103422
103279
|
async getSupportTicketViewer(supportTicketId: string, orgMembershipId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountInvitations200Response>> {
|
|
103423
103280
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSupportTicketViewer(supportTicketId, orgMembershipId, page, pageSize, orderBy, search, options);
|
|
103424
103281
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103425
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
103282
|
+
const localVarOperationServerBasePath = operationServerMap['SupportApi.getSupportTicketViewer']?.[localVarOperationServerIndex]?.url;
|
|
103426
103283
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103427
103284
|
},
|
|
103428
103285
|
/**
|
|
@@ -103441,65 +103298,126 @@ export const SupportticketsApiFp = function(configuration?: Configuration) {
|
|
|
103441
103298
|
async getSupportTickets(type?: string, state?: string, assignment?: GetSupportTicketsAssignmentEnum, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSupportTickets200Response>> {
|
|
103442
103299
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSupportTickets(type, state, assignment, page, pageSize, orderBy, search, options);
|
|
103443
103300
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103444
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
103301
|
+
const localVarOperationServerBasePath = operationServerMap['SupportApi.getSupportTickets']?.[localVarOperationServerIndex]?.url;
|
|
103302
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103303
|
+
},
|
|
103304
|
+
/**
|
|
103305
|
+
* Update Support Ticket endpoint
|
|
103306
|
+
* @summary Update Support Ticket
|
|
103307
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
103308
|
+
* @param {SupportTicketUpdateInputs} supportTicketUpdateInputs
|
|
103309
|
+
* @param {*} [options] Override http request option.
|
|
103310
|
+
* @throws {RequiredError}
|
|
103311
|
+
*/
|
|
103312
|
+
async updateSupportTicket(supportTicketId: string, supportTicketUpdateInputs: SupportTicketUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSupportTicket200Response>> {
|
|
103313
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSupportTicket(supportTicketId, supportTicketUpdateInputs, options);
|
|
103314
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103315
|
+
const localVarOperationServerBasePath = operationServerMap['SupportApi.updateSupportTicket']?.[localVarOperationServerIndex]?.url;
|
|
103445
103316
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103446
103317
|
},
|
|
103447
103318
|
}
|
|
103448
103319
|
};
|
|
103449
103320
|
|
|
103450
103321
|
/**
|
|
103451
|
-
*
|
|
103322
|
+
* SupportApi - factory interface
|
|
103452
103323
|
*/
|
|
103453
|
-
export const
|
|
103454
|
-
const localVarFp =
|
|
103324
|
+
export const SupportApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
103325
|
+
const localVarFp = SupportApiFp(configuration)
|
|
103455
103326
|
return {
|
|
103327
|
+
/**
|
|
103328
|
+
* Create Support Ticket endpoint
|
|
103329
|
+
* @summary Create Support Ticket
|
|
103330
|
+
* @param {SupportApiCreateSupportTicketRequest} requestParameters Request parameters.
|
|
103331
|
+
* @param {*} [options] Override http request option.
|
|
103332
|
+
* @throws {RequiredError}
|
|
103333
|
+
*/
|
|
103334
|
+
createSupportTicket(requestParameters: SupportApiCreateSupportTicketRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSupportTicket200Response> {
|
|
103335
|
+
return localVarFp.createSupportTicket(requestParameters.supportTicketCreateInputs, options).then((request) => request(axios, basePath));
|
|
103336
|
+
},
|
|
103337
|
+
/**
|
|
103338
|
+
* Delete Support Ticket endpoint
|
|
103339
|
+
* @summary Delete Support Ticket
|
|
103340
|
+
* @param {SupportApiDeleteSupportTicketRequest} requestParameters Request parameters.
|
|
103341
|
+
* @param {*} [options] Override http request option.
|
|
103342
|
+
* @throws {RequiredError}
|
|
103343
|
+
*/
|
|
103344
|
+
deleteSupportTicket(requestParameters: SupportApiDeleteSupportTicketRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
103345
|
+
return localVarFp.deleteSupportTicket(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
|
|
103346
|
+
},
|
|
103456
103347
|
/**
|
|
103457
103348
|
* Get Support Ticket endpoint
|
|
103458
103349
|
* @summary Get Support Ticket
|
|
103459
|
-
* @param {
|
|
103350
|
+
* @param {SupportApiGetSupportTicketRequest} requestParameters Request parameters.
|
|
103460
103351
|
* @param {*} [options] Override http request option.
|
|
103461
103352
|
* @throws {RequiredError}
|
|
103462
103353
|
*/
|
|
103463
|
-
getSupportTicket(requestParameters:
|
|
103354
|
+
getSupportTicket(requestParameters: SupportApiGetSupportTicketRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSupportTicket200Response> {
|
|
103464
103355
|
return localVarFp.getSupportTicket(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
|
|
103465
103356
|
},
|
|
103466
103357
|
/**
|
|
103467
103358
|
* Get Support Ticket Activity endpoint
|
|
103468
103359
|
* @summary Get Support Ticket Activity
|
|
103469
|
-
* @param {
|
|
103360
|
+
* @param {SupportApiGetSupportTicketActivityRequest} requestParameters Request parameters.
|
|
103470
103361
|
* @param {*} [options] Override http request option.
|
|
103471
103362
|
* @throws {RequiredError}
|
|
103472
103363
|
*/
|
|
103473
|
-
getSupportTicketActivity(requestParameters:
|
|
103364
|
+
getSupportTicketActivity(requestParameters: SupportApiGetSupportTicketActivityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
|
|
103474
103365
|
return localVarFp.getSupportTicketActivity(requestParameters.supportTicketId, options).then((request) => request(axios, basePath));
|
|
103475
103366
|
},
|
|
103476
103367
|
/**
|
|
103477
103368
|
* Get Support Ticket Viewer endpoint
|
|
103478
103369
|
* @summary Get Support Ticket Viewer
|
|
103479
|
-
* @param {
|
|
103370
|
+
* @param {SupportApiGetSupportTicketViewerRequest} requestParameters Request parameters.
|
|
103480
103371
|
* @param {*} [options] Override http request option.
|
|
103481
103372
|
* @throws {RequiredError}
|
|
103482
103373
|
*/
|
|
103483
|
-
getSupportTicketViewer(requestParameters:
|
|
103374
|
+
getSupportTicketViewer(requestParameters: SupportApiGetSupportTicketViewerRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountInvitations200Response> {
|
|
103484
103375
|
return localVarFp.getSupportTicketViewer(requestParameters.supportTicketId, requestParameters.orgMembershipId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
103485
103376
|
},
|
|
103486
103377
|
/**
|
|
103487
103378
|
* Get Support Tickets endpoint
|
|
103488
103379
|
* @summary Get Support Tickets
|
|
103489
|
-
* @param {
|
|
103380
|
+
* @param {SupportApiGetSupportTicketsRequest} requestParameters Request parameters.
|
|
103490
103381
|
* @param {*} [options] Override http request option.
|
|
103491
103382
|
* @throws {RequiredError}
|
|
103492
103383
|
*/
|
|
103493
|
-
getSupportTickets(requestParameters:
|
|
103384
|
+
getSupportTickets(requestParameters: SupportApiGetSupportTicketsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetSupportTickets200Response> {
|
|
103494
103385
|
return localVarFp.getSupportTickets(requestParameters.type, requestParameters.state, requestParameters.assignment, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
103495
103386
|
},
|
|
103387
|
+
/**
|
|
103388
|
+
* Update Support Ticket endpoint
|
|
103389
|
+
* @summary Update Support Ticket
|
|
103390
|
+
* @param {SupportApiUpdateSupportTicketRequest} requestParameters Request parameters.
|
|
103391
|
+
* @param {*} [options] Override http request option.
|
|
103392
|
+
* @throws {RequiredError}
|
|
103393
|
+
*/
|
|
103394
|
+
updateSupportTicket(requestParameters: SupportApiUpdateSupportTicketRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSupportTicket200Response> {
|
|
103395
|
+
return localVarFp.updateSupportTicket(requestParameters.supportTicketId, requestParameters.supportTicketUpdateInputs, options).then((request) => request(axios, basePath));
|
|
103396
|
+
},
|
|
103496
103397
|
};
|
|
103497
103398
|
};
|
|
103498
103399
|
|
|
103499
103400
|
/**
|
|
103500
|
-
* Request parameters for
|
|
103401
|
+
* Request parameters for createSupportTicket operation in SupportApi.
|
|
103402
|
+
*/
|
|
103403
|
+
export interface SupportApiCreateSupportTicketRequest {
|
|
103404
|
+
readonly supportTicketCreateInputs: SupportTicketCreateInputs
|
|
103405
|
+
}
|
|
103406
|
+
|
|
103407
|
+
/**
|
|
103408
|
+
* Request parameters for deleteSupportTicket operation in SupportApi.
|
|
103409
|
+
*/
|
|
103410
|
+
export interface SupportApiDeleteSupportTicketRequest {
|
|
103411
|
+
/**
|
|
103412
|
+
* The supportTicket identifier
|
|
103413
|
+
*/
|
|
103414
|
+
readonly supportTicketId: string
|
|
103415
|
+
}
|
|
103416
|
+
|
|
103417
|
+
/**
|
|
103418
|
+
* Request parameters for getSupportTicket operation in SupportApi.
|
|
103501
103419
|
*/
|
|
103502
|
-
export interface
|
|
103420
|
+
export interface SupportApiGetSupportTicketRequest {
|
|
103503
103421
|
/**
|
|
103504
103422
|
* The supportTicket identifier
|
|
103505
103423
|
*/
|
|
@@ -103507,9 +103425,9 @@ export interface SupportticketsApiGetSupportTicketRequest {
|
|
|
103507
103425
|
}
|
|
103508
103426
|
|
|
103509
103427
|
/**
|
|
103510
|
-
* Request parameters for getSupportTicketActivity operation in
|
|
103428
|
+
* Request parameters for getSupportTicketActivity operation in SupportApi.
|
|
103511
103429
|
*/
|
|
103512
|
-
export interface
|
|
103430
|
+
export interface SupportApiGetSupportTicketActivityRequest {
|
|
103513
103431
|
/**
|
|
103514
103432
|
* The supportTicket identifier
|
|
103515
103433
|
*/
|
|
@@ -103517,9 +103435,9 @@ export interface SupportticketsApiGetSupportTicketActivityRequest {
|
|
|
103517
103435
|
}
|
|
103518
103436
|
|
|
103519
103437
|
/**
|
|
103520
|
-
* Request parameters for getSupportTicketViewer operation in
|
|
103438
|
+
* Request parameters for getSupportTicketViewer operation in SupportApi.
|
|
103521
103439
|
*/
|
|
103522
|
-
export interface
|
|
103440
|
+
export interface SupportApiGetSupportTicketViewerRequest {
|
|
103523
103441
|
/**
|
|
103524
103442
|
* The supportTicket identifier
|
|
103525
103443
|
*/
|
|
@@ -103552,9 +103470,9 @@ export interface SupportticketsApiGetSupportTicketViewerRequest {
|
|
|
103552
103470
|
}
|
|
103553
103471
|
|
|
103554
103472
|
/**
|
|
103555
|
-
* Request parameters for getSupportTickets operation in
|
|
103473
|
+
* Request parameters for getSupportTickets operation in SupportApi.
|
|
103556
103474
|
*/
|
|
103557
|
-
export interface
|
|
103475
|
+
export interface SupportApiGetSupportTicketsRequest {
|
|
103558
103476
|
/**
|
|
103559
103477
|
* Filter by type
|
|
103560
103478
|
*/
|
|
@@ -103592,51 +103510,96 @@ export interface SupportticketsApiGetSupportTicketsRequest {
|
|
|
103592
103510
|
}
|
|
103593
103511
|
|
|
103594
103512
|
/**
|
|
103595
|
-
*
|
|
103513
|
+
* Request parameters for updateSupportTicket operation in SupportApi.
|
|
103514
|
+
*/
|
|
103515
|
+
export interface SupportApiUpdateSupportTicketRequest {
|
|
103516
|
+
/**
|
|
103517
|
+
* The supportTicket identifier
|
|
103518
|
+
*/
|
|
103519
|
+
readonly supportTicketId: string
|
|
103520
|
+
|
|
103521
|
+
readonly supportTicketUpdateInputs: SupportTicketUpdateInputs
|
|
103522
|
+
}
|
|
103523
|
+
|
|
103524
|
+
/**
|
|
103525
|
+
* SupportApi - object-oriented interface
|
|
103596
103526
|
*/
|
|
103597
|
-
export class
|
|
103527
|
+
export class SupportApi extends BaseAPI {
|
|
103528
|
+
/**
|
|
103529
|
+
* Create Support Ticket endpoint
|
|
103530
|
+
* @summary Create Support Ticket
|
|
103531
|
+
* @param {SupportApiCreateSupportTicketRequest} requestParameters Request parameters.
|
|
103532
|
+
* @param {*} [options] Override http request option.
|
|
103533
|
+
* @throws {RequiredError}
|
|
103534
|
+
*/
|
|
103535
|
+
public createSupportTicket(requestParameters: SupportApiCreateSupportTicketRequest, options?: RawAxiosRequestConfig) {
|
|
103536
|
+
return SupportApiFp(this.configuration).createSupportTicket(requestParameters.supportTicketCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
103537
|
+
}
|
|
103538
|
+
|
|
103539
|
+
/**
|
|
103540
|
+
* Delete Support Ticket endpoint
|
|
103541
|
+
* @summary Delete Support Ticket
|
|
103542
|
+
* @param {SupportApiDeleteSupportTicketRequest} requestParameters Request parameters.
|
|
103543
|
+
* @param {*} [options] Override http request option.
|
|
103544
|
+
* @throws {RequiredError}
|
|
103545
|
+
*/
|
|
103546
|
+
public deleteSupportTicket(requestParameters: SupportApiDeleteSupportTicketRequest, options?: RawAxiosRequestConfig) {
|
|
103547
|
+
return SupportApiFp(this.configuration).deleteSupportTicket(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
|
|
103548
|
+
}
|
|
103549
|
+
|
|
103598
103550
|
/**
|
|
103599
103551
|
* Get Support Ticket endpoint
|
|
103600
103552
|
* @summary Get Support Ticket
|
|
103601
|
-
* @param {
|
|
103553
|
+
* @param {SupportApiGetSupportTicketRequest} requestParameters Request parameters.
|
|
103602
103554
|
* @param {*} [options] Override http request option.
|
|
103603
103555
|
* @throws {RequiredError}
|
|
103604
103556
|
*/
|
|
103605
|
-
public getSupportTicket(requestParameters:
|
|
103606
|
-
return
|
|
103557
|
+
public getSupportTicket(requestParameters: SupportApiGetSupportTicketRequest, options?: RawAxiosRequestConfig) {
|
|
103558
|
+
return SupportApiFp(this.configuration).getSupportTicket(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
|
|
103607
103559
|
}
|
|
103608
103560
|
|
|
103609
103561
|
/**
|
|
103610
103562
|
* Get Support Ticket Activity endpoint
|
|
103611
103563
|
* @summary Get Support Ticket Activity
|
|
103612
|
-
* @param {
|
|
103564
|
+
* @param {SupportApiGetSupportTicketActivityRequest} requestParameters Request parameters.
|
|
103613
103565
|
* @param {*} [options] Override http request option.
|
|
103614
103566
|
* @throws {RequiredError}
|
|
103615
103567
|
*/
|
|
103616
|
-
public getSupportTicketActivity(requestParameters:
|
|
103617
|
-
return
|
|
103568
|
+
public getSupportTicketActivity(requestParameters: SupportApiGetSupportTicketActivityRequest, options?: RawAxiosRequestConfig) {
|
|
103569
|
+
return SupportApiFp(this.configuration).getSupportTicketActivity(requestParameters.supportTicketId, options).then((request) => request(this.axios, this.basePath));
|
|
103618
103570
|
}
|
|
103619
103571
|
|
|
103620
103572
|
/**
|
|
103621
103573
|
* Get Support Ticket Viewer endpoint
|
|
103622
103574
|
* @summary Get Support Ticket Viewer
|
|
103623
|
-
* @param {
|
|
103575
|
+
* @param {SupportApiGetSupportTicketViewerRequest} requestParameters Request parameters.
|
|
103624
103576
|
* @param {*} [options] Override http request option.
|
|
103625
103577
|
* @throws {RequiredError}
|
|
103626
103578
|
*/
|
|
103627
|
-
public getSupportTicketViewer(requestParameters:
|
|
103628
|
-
return
|
|
103579
|
+
public getSupportTicketViewer(requestParameters: SupportApiGetSupportTicketViewerRequest, options?: RawAxiosRequestConfig) {
|
|
103580
|
+
return SupportApiFp(this.configuration).getSupportTicketViewer(requestParameters.supportTicketId, requestParameters.orgMembershipId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
103629
103581
|
}
|
|
103630
103582
|
|
|
103631
103583
|
/**
|
|
103632
103584
|
* Get Support Tickets endpoint
|
|
103633
103585
|
* @summary Get Support Tickets
|
|
103634
|
-
* @param {
|
|
103586
|
+
* @param {SupportApiGetSupportTicketsRequest} requestParameters Request parameters.
|
|
103587
|
+
* @param {*} [options] Override http request option.
|
|
103588
|
+
* @throws {RequiredError}
|
|
103589
|
+
*/
|
|
103590
|
+
public getSupportTickets(requestParameters: SupportApiGetSupportTicketsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
103591
|
+
return SupportApiFp(this.configuration).getSupportTickets(requestParameters.type, requestParameters.state, requestParameters.assignment, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
103592
|
+
}
|
|
103593
|
+
|
|
103594
|
+
/**
|
|
103595
|
+
* Update Support Ticket endpoint
|
|
103596
|
+
* @summary Update Support Ticket
|
|
103597
|
+
* @param {SupportApiUpdateSupportTicketRequest} requestParameters Request parameters.
|
|
103635
103598
|
* @param {*} [options] Override http request option.
|
|
103636
103599
|
* @throws {RequiredError}
|
|
103637
103600
|
*/
|
|
103638
|
-
public
|
|
103639
|
-
return
|
|
103601
|
+
public updateSupportTicket(requestParameters: SupportApiUpdateSupportTicketRequest, options?: RawAxiosRequestConfig) {
|
|
103602
|
+
return SupportApiFp(this.configuration).updateSupportTicket(requestParameters.supportTicketId, requestParameters.supportTicketUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
103640
103603
|
}
|
|
103641
103604
|
}
|
|
103642
103605
|
|
|
@@ -103647,10 +103610,55 @@ export enum GetSupportTicketsAssignmentEnum {
|
|
|
103647
103610
|
|
|
103648
103611
|
|
|
103649
103612
|
/**
|
|
103650
|
-
*
|
|
103613
|
+
* SupportMessagesApi - axios parameter creator
|
|
103651
103614
|
*/
|
|
103652
|
-
export const
|
|
103615
|
+
export const SupportMessagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
103653
103616
|
return {
|
|
103617
|
+
/**
|
|
103618
|
+
* Create Support Ticket Message endpoint
|
|
103619
|
+
* @summary Create Support Ticket Message
|
|
103620
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
103621
|
+
* @param {SupportTicketMessageCreateInputs} supportTicketMessageCreateInputs
|
|
103622
|
+
* @param {*} [options] Override http request option.
|
|
103623
|
+
* @throws {RequiredError}
|
|
103624
|
+
*/
|
|
103625
|
+
createSupportTicketMessage: async (supportTicketId: string, supportTicketMessageCreateInputs: SupportTicketMessageCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103626
|
+
// verify required parameter 'supportTicketId' is not null or undefined
|
|
103627
|
+
assertParamExists('createSupportTicketMessage', 'supportTicketId', supportTicketId)
|
|
103628
|
+
// verify required parameter 'supportTicketMessageCreateInputs' is not null or undefined
|
|
103629
|
+
assertParamExists('createSupportTicketMessage', 'supportTicketMessageCreateInputs', supportTicketMessageCreateInputs)
|
|
103630
|
+
const localVarPath = `/supportTickets/{supportTicketId}/messages`
|
|
103631
|
+
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
103632
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103633
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103634
|
+
let baseOptions;
|
|
103635
|
+
if (configuration) {
|
|
103636
|
+
baseOptions = configuration.baseOptions;
|
|
103637
|
+
}
|
|
103638
|
+
|
|
103639
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
103640
|
+
const localVarHeaderParameter = {} as any;
|
|
103641
|
+
const localVarQueryParameter = {} as any;
|
|
103642
|
+
|
|
103643
|
+
// authentication ApiKeyAuth required
|
|
103644
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
103645
|
+
|
|
103646
|
+
// authentication OrganizationId required
|
|
103647
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
103648
|
+
|
|
103649
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
103650
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103651
|
+
|
|
103652
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103653
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103654
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103655
|
+
localVarRequestOptions.data = serializeDataIfNeeded(supportTicketMessageCreateInputs, localVarRequestOptions, configuration)
|
|
103656
|
+
|
|
103657
|
+
return {
|
|
103658
|
+
url: toPathString(localVarUrlObj),
|
|
103659
|
+
options: localVarRequestOptions,
|
|
103660
|
+
};
|
|
103661
|
+
},
|
|
103654
103662
|
/**
|
|
103655
103663
|
* Get Support Ticket Messages endpoint
|
|
103656
103664
|
* @summary Get Support Ticket Messages
|
|
@@ -103715,11 +103723,25 @@ export const SupportticketsMessagesApiAxiosParamCreator = function (configuratio
|
|
|
103715
103723
|
};
|
|
103716
103724
|
|
|
103717
103725
|
/**
|
|
103718
|
-
*
|
|
103726
|
+
* SupportMessagesApi - functional programming interface
|
|
103719
103727
|
*/
|
|
103720
|
-
export const
|
|
103721
|
-
const localVarAxiosParamCreator =
|
|
103728
|
+
export const SupportMessagesApiFp = function(configuration?: Configuration) {
|
|
103729
|
+
const localVarAxiosParamCreator = SupportMessagesApiAxiosParamCreator(configuration)
|
|
103722
103730
|
return {
|
|
103731
|
+
/**
|
|
103732
|
+
* Create Support Ticket Message endpoint
|
|
103733
|
+
* @summary Create Support Ticket Message
|
|
103734
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
103735
|
+
* @param {SupportTicketMessageCreateInputs} supportTicketMessageCreateInputs
|
|
103736
|
+
* @param {*} [options] Override http request option.
|
|
103737
|
+
* @throws {RequiredError}
|
|
103738
|
+
*/
|
|
103739
|
+
async createSupportTicketMessage(supportTicketId: string, supportTicketMessageCreateInputs: SupportTicketMessageCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
|
|
103740
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSupportTicketMessage(supportTicketId, supportTicketMessageCreateInputs, options);
|
|
103741
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103742
|
+
const localVarOperationServerBasePath = operationServerMap['SupportMessagesApi.createSupportTicketMessage']?.[localVarOperationServerIndex]?.url;
|
|
103743
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103744
|
+
},
|
|
103723
103745
|
/**
|
|
103724
103746
|
* Get Support Ticket Messages endpoint
|
|
103725
103747
|
* @summary Get Support Ticket Messages
|
|
@@ -103734,35 +103756,57 @@ export const SupportticketsMessagesApiFp = function(configuration?: Configuratio
|
|
|
103734
103756
|
async getSupportTicketMessages(supportTicketId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountInvitations200Response>> {
|
|
103735
103757
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSupportTicketMessages(supportTicketId, page, pageSize, orderBy, search, options);
|
|
103736
103758
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103737
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
103759
|
+
const localVarOperationServerBasePath = operationServerMap['SupportMessagesApi.getSupportTicketMessages']?.[localVarOperationServerIndex]?.url;
|
|
103738
103760
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103739
103761
|
},
|
|
103740
103762
|
}
|
|
103741
103763
|
};
|
|
103742
103764
|
|
|
103743
103765
|
/**
|
|
103744
|
-
*
|
|
103766
|
+
* SupportMessagesApi - factory interface
|
|
103745
103767
|
*/
|
|
103746
|
-
export const
|
|
103747
|
-
const localVarFp =
|
|
103768
|
+
export const SupportMessagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
103769
|
+
const localVarFp = SupportMessagesApiFp(configuration)
|
|
103748
103770
|
return {
|
|
103771
|
+
/**
|
|
103772
|
+
* Create Support Ticket Message endpoint
|
|
103773
|
+
* @summary Create Support Ticket Message
|
|
103774
|
+
* @param {SupportMessagesApiCreateSupportTicketMessageRequest} requestParameters Request parameters.
|
|
103775
|
+
* @param {*} [options] Override http request option.
|
|
103776
|
+
* @throws {RequiredError}
|
|
103777
|
+
*/
|
|
103778
|
+
createSupportTicketMessage(requestParameters: SupportMessagesApiCreateSupportTicketMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
|
|
103779
|
+
return localVarFp.createSupportTicketMessage(requestParameters.supportTicketId, requestParameters.supportTicketMessageCreateInputs, options).then((request) => request(axios, basePath));
|
|
103780
|
+
},
|
|
103749
103781
|
/**
|
|
103750
103782
|
* Get Support Ticket Messages endpoint
|
|
103751
103783
|
* @summary Get Support Ticket Messages
|
|
103752
|
-
* @param {
|
|
103784
|
+
* @param {SupportMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
|
|
103753
103785
|
* @param {*} [options] Override http request option.
|
|
103754
103786
|
* @throws {RequiredError}
|
|
103755
103787
|
*/
|
|
103756
|
-
getSupportTicketMessages(requestParameters:
|
|
103788
|
+
getSupportTicketMessages(requestParameters: SupportMessagesApiGetSupportTicketMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountInvitations200Response> {
|
|
103757
103789
|
return localVarFp.getSupportTicketMessages(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
103758
103790
|
},
|
|
103759
103791
|
};
|
|
103760
103792
|
};
|
|
103761
103793
|
|
|
103762
103794
|
/**
|
|
103763
|
-
* Request parameters for
|
|
103795
|
+
* Request parameters for createSupportTicketMessage operation in SupportMessagesApi.
|
|
103796
|
+
*/
|
|
103797
|
+
export interface SupportMessagesApiCreateSupportTicketMessageRequest {
|
|
103798
|
+
/**
|
|
103799
|
+
* The supportTicket identifier
|
|
103800
|
+
*/
|
|
103801
|
+
readonly supportTicketId: string
|
|
103802
|
+
|
|
103803
|
+
readonly supportTicketMessageCreateInputs: SupportTicketMessageCreateInputs
|
|
103804
|
+
}
|
|
103805
|
+
|
|
103806
|
+
/**
|
|
103807
|
+
* Request parameters for getSupportTicketMessages operation in SupportMessagesApi.
|
|
103764
103808
|
*/
|
|
103765
|
-
export interface
|
|
103809
|
+
export interface SupportMessagesApiGetSupportTicketMessagesRequest {
|
|
103766
103810
|
/**
|
|
103767
103811
|
* The supportTicket identifier
|
|
103768
103812
|
*/
|
|
@@ -103790,28 +103834,128 @@ export interface SupportticketsMessagesApiGetSupportTicketMessagesRequest {
|
|
|
103790
103834
|
}
|
|
103791
103835
|
|
|
103792
103836
|
/**
|
|
103793
|
-
*
|
|
103837
|
+
* SupportMessagesApi - object-oriented interface
|
|
103794
103838
|
*/
|
|
103795
|
-
export class
|
|
103839
|
+
export class SupportMessagesApi extends BaseAPI {
|
|
103840
|
+
/**
|
|
103841
|
+
* Create Support Ticket Message endpoint
|
|
103842
|
+
* @summary Create Support Ticket Message
|
|
103843
|
+
* @param {SupportMessagesApiCreateSupportTicketMessageRequest} requestParameters Request parameters.
|
|
103844
|
+
* @param {*} [options] Override http request option.
|
|
103845
|
+
* @throws {RequiredError}
|
|
103846
|
+
*/
|
|
103847
|
+
public createSupportTicketMessage(requestParameters: SupportMessagesApiCreateSupportTicketMessageRequest, options?: RawAxiosRequestConfig) {
|
|
103848
|
+
return SupportMessagesApiFp(this.configuration).createSupportTicketMessage(requestParameters.supportTicketId, requestParameters.supportTicketMessageCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
103849
|
+
}
|
|
103850
|
+
|
|
103796
103851
|
/**
|
|
103797
103852
|
* Get Support Ticket Messages endpoint
|
|
103798
103853
|
* @summary Get Support Ticket Messages
|
|
103799
|
-
* @param {
|
|
103854
|
+
* @param {SupportMessagesApiGetSupportTicketMessagesRequest} requestParameters Request parameters.
|
|
103800
103855
|
* @param {*} [options] Override http request option.
|
|
103801
103856
|
* @throws {RequiredError}
|
|
103802
103857
|
*/
|
|
103803
|
-
public getSupportTicketMessages(requestParameters:
|
|
103804
|
-
return
|
|
103858
|
+
public getSupportTicketMessages(requestParameters: SupportMessagesApiGetSupportTicketMessagesRequest, options?: RawAxiosRequestConfig) {
|
|
103859
|
+
return SupportMessagesApiFp(this.configuration).getSupportTicketMessages(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
103805
103860
|
}
|
|
103806
103861
|
}
|
|
103807
103862
|
|
|
103808
103863
|
|
|
103809
103864
|
|
|
103810
103865
|
/**
|
|
103811
|
-
*
|
|
103866
|
+
* SupportNotesApi - axios parameter creator
|
|
103812
103867
|
*/
|
|
103813
|
-
export const
|
|
103868
|
+
export const SupportNotesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
103814
103869
|
return {
|
|
103870
|
+
/**
|
|
103871
|
+
* Create Support Ticket Note endpoint
|
|
103872
|
+
* @summary Create Support Ticket Note
|
|
103873
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
103874
|
+
* @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
|
|
103875
|
+
* @param {*} [options] Override http request option.
|
|
103876
|
+
* @throws {RequiredError}
|
|
103877
|
+
*/
|
|
103878
|
+
createSupportTicketNote: async (supportTicketId: string, supportTicketNoteCreateInputs: SupportTicketNoteCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103879
|
+
// verify required parameter 'supportTicketId' is not null or undefined
|
|
103880
|
+
assertParamExists('createSupportTicketNote', 'supportTicketId', supportTicketId)
|
|
103881
|
+
// verify required parameter 'supportTicketNoteCreateInputs' is not null or undefined
|
|
103882
|
+
assertParamExists('createSupportTicketNote', 'supportTicketNoteCreateInputs', supportTicketNoteCreateInputs)
|
|
103883
|
+
const localVarPath = `/supportTickets/{supportTicketId}/notes`
|
|
103884
|
+
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)));
|
|
103885
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103886
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103887
|
+
let baseOptions;
|
|
103888
|
+
if (configuration) {
|
|
103889
|
+
baseOptions = configuration.baseOptions;
|
|
103890
|
+
}
|
|
103891
|
+
|
|
103892
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
103893
|
+
const localVarHeaderParameter = {} as any;
|
|
103894
|
+
const localVarQueryParameter = {} as any;
|
|
103895
|
+
|
|
103896
|
+
// authentication ApiKeyAuth required
|
|
103897
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
103898
|
+
|
|
103899
|
+
// authentication OrganizationId required
|
|
103900
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
103901
|
+
|
|
103902
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
103903
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103904
|
+
|
|
103905
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103906
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103907
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103908
|
+
localVarRequestOptions.data = serializeDataIfNeeded(supportTicketNoteCreateInputs, localVarRequestOptions, configuration)
|
|
103909
|
+
|
|
103910
|
+
return {
|
|
103911
|
+
url: toPathString(localVarUrlObj),
|
|
103912
|
+
options: localVarRequestOptions,
|
|
103913
|
+
};
|
|
103914
|
+
},
|
|
103915
|
+
/**
|
|
103916
|
+
* Delete Support Ticket Note endpoint
|
|
103917
|
+
* @summary Delete Support Ticket Note
|
|
103918
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
103919
|
+
* @param {string} noteId The note identifier
|
|
103920
|
+
* @param {*} [options] Override http request option.
|
|
103921
|
+
* @throws {RequiredError}
|
|
103922
|
+
*/
|
|
103923
|
+
deleteSupportTicketNote: async (supportTicketId: string, noteId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103924
|
+
// verify required parameter 'supportTicketId' is not null or undefined
|
|
103925
|
+
assertParamExists('deleteSupportTicketNote', 'supportTicketId', supportTicketId)
|
|
103926
|
+
// verify required parameter 'noteId' is not null or undefined
|
|
103927
|
+
assertParamExists('deleteSupportTicketNote', 'noteId', noteId)
|
|
103928
|
+
const localVarPath = `/supportTickets/{supportTicketId}/notes/{noteId}`
|
|
103929
|
+
.replace(`{${"supportTicketId"}}`, encodeURIComponent(String(supportTicketId)))
|
|
103930
|
+
.replace(`{${"noteId"}}`, encodeURIComponent(String(noteId)));
|
|
103931
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103932
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103933
|
+
let baseOptions;
|
|
103934
|
+
if (configuration) {
|
|
103935
|
+
baseOptions = configuration.baseOptions;
|
|
103936
|
+
}
|
|
103937
|
+
|
|
103938
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
103939
|
+
const localVarHeaderParameter = {} as any;
|
|
103940
|
+
const localVarQueryParameter = {} as any;
|
|
103941
|
+
|
|
103942
|
+
// authentication ApiKeyAuth required
|
|
103943
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
103944
|
+
|
|
103945
|
+
// authentication OrganizationId required
|
|
103946
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
103947
|
+
|
|
103948
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103949
|
+
|
|
103950
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103951
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103952
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103953
|
+
|
|
103954
|
+
return {
|
|
103955
|
+
url: toPathString(localVarUrlObj),
|
|
103956
|
+
options: localVarRequestOptions,
|
|
103957
|
+
};
|
|
103958
|
+
},
|
|
103815
103959
|
/**
|
|
103816
103960
|
* Get Support Ticket Notes endpoint
|
|
103817
103961
|
* @summary Get Support Ticket Notes
|
|
@@ -103876,11 +104020,39 @@ export const SupportticketsNotesApiAxiosParamCreator = function (configuration?:
|
|
|
103876
104020
|
};
|
|
103877
104021
|
|
|
103878
104022
|
/**
|
|
103879
|
-
*
|
|
104023
|
+
* SupportNotesApi - functional programming interface
|
|
103880
104024
|
*/
|
|
103881
|
-
export const
|
|
103882
|
-
const localVarAxiosParamCreator =
|
|
104025
|
+
export const SupportNotesApiFp = function(configuration?: Configuration) {
|
|
104026
|
+
const localVarAxiosParamCreator = SupportNotesApiAxiosParamCreator(configuration)
|
|
103883
104027
|
return {
|
|
104028
|
+
/**
|
|
104029
|
+
* Create Support Ticket Note endpoint
|
|
104030
|
+
* @summary Create Support Ticket Note
|
|
104031
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
104032
|
+
* @param {SupportTicketNoteCreateInputs} supportTicketNoteCreateInputs
|
|
104033
|
+
* @param {*} [options] Override http request option.
|
|
104034
|
+
* @throws {RequiredError}
|
|
104035
|
+
*/
|
|
104036
|
+
async createSupportTicketNote(supportTicketId: string, supportTicketNoteCreateInputs: SupportTicketNoteCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
|
|
104037
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSupportTicketNote(supportTicketId, supportTicketNoteCreateInputs, options);
|
|
104038
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104039
|
+
const localVarOperationServerBasePath = operationServerMap['SupportNotesApi.createSupportTicketNote']?.[localVarOperationServerIndex]?.url;
|
|
104040
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104041
|
+
},
|
|
104042
|
+
/**
|
|
104043
|
+
* Delete Support Ticket Note endpoint
|
|
104044
|
+
* @summary Delete Support Ticket Note
|
|
104045
|
+
* @param {string} supportTicketId The supportTicket identifier
|
|
104046
|
+
* @param {string} noteId The note identifier
|
|
104047
|
+
* @param {*} [options] Override http request option.
|
|
104048
|
+
* @throws {RequiredError}
|
|
104049
|
+
*/
|
|
104050
|
+
async deleteSupportTicketNote(supportTicketId: string, noteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
104051
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSupportTicketNote(supportTicketId, noteId, options);
|
|
104052
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104053
|
+
const localVarOperationServerBasePath = operationServerMap['SupportNotesApi.deleteSupportTicketNote']?.[localVarOperationServerIndex]?.url;
|
|
104054
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104055
|
+
},
|
|
103884
104056
|
/**
|
|
103885
104057
|
* Get Support Ticket Notes endpoint
|
|
103886
104058
|
* @summary Get Support Ticket Notes
|
|
@@ -103895,35 +104067,82 @@ export const SupportticketsNotesApiFp = function(configuration?: Configuration)
|
|
|
103895
104067
|
async getSupportTicketNotes(supportTicketId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountInvitations200Response>> {
|
|
103896
104068
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSupportTicketNotes(supportTicketId, page, pageSize, orderBy, search, options);
|
|
103897
104069
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103898
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
104070
|
+
const localVarOperationServerBasePath = operationServerMap['SupportNotesApi.getSupportTicketNotes']?.[localVarOperationServerIndex]?.url;
|
|
103899
104071
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103900
104072
|
},
|
|
103901
104073
|
}
|
|
103902
104074
|
};
|
|
103903
104075
|
|
|
103904
104076
|
/**
|
|
103905
|
-
*
|
|
104077
|
+
* SupportNotesApi - factory interface
|
|
103906
104078
|
*/
|
|
103907
|
-
export const
|
|
103908
|
-
const localVarFp =
|
|
104079
|
+
export const SupportNotesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
104080
|
+
const localVarFp = SupportNotesApiFp(configuration)
|
|
103909
104081
|
return {
|
|
104082
|
+
/**
|
|
104083
|
+
* Create Support Ticket Note endpoint
|
|
104084
|
+
* @summary Create Support Ticket Note
|
|
104085
|
+
* @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
|
|
104086
|
+
* @param {*} [options] Override http request option.
|
|
104087
|
+
* @throws {RequiredError}
|
|
104088
|
+
*/
|
|
104089
|
+
createSupportTicketNote(requestParameters: SupportNotesApiCreateSupportTicketNoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
|
|
104090
|
+
return localVarFp.createSupportTicketNote(requestParameters.supportTicketId, requestParameters.supportTicketNoteCreateInputs, options).then((request) => request(axios, basePath));
|
|
104091
|
+
},
|
|
104092
|
+
/**
|
|
104093
|
+
* Delete Support Ticket Note endpoint
|
|
104094
|
+
* @summary Delete Support Ticket Note
|
|
104095
|
+
* @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
|
|
104096
|
+
* @param {*} [options] Override http request option.
|
|
104097
|
+
* @throws {RequiredError}
|
|
104098
|
+
*/
|
|
104099
|
+
deleteSupportTicketNote(requestParameters: SupportNotesApiDeleteSupportTicketNoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
104100
|
+
return localVarFp.deleteSupportTicketNote(requestParameters.supportTicketId, requestParameters.noteId, options).then((request) => request(axios, basePath));
|
|
104101
|
+
},
|
|
103910
104102
|
/**
|
|
103911
104103
|
* Get Support Ticket Notes endpoint
|
|
103912
104104
|
* @summary Get Support Ticket Notes
|
|
103913
|
-
* @param {
|
|
104105
|
+
* @param {SupportNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
|
|
103914
104106
|
* @param {*} [options] Override http request option.
|
|
103915
104107
|
* @throws {RequiredError}
|
|
103916
104108
|
*/
|
|
103917
|
-
getSupportTicketNotes(requestParameters:
|
|
104109
|
+
getSupportTicketNotes(requestParameters: SupportNotesApiGetSupportTicketNotesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountInvitations200Response> {
|
|
103918
104110
|
return localVarFp.getSupportTicketNotes(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
103919
104111
|
},
|
|
103920
104112
|
};
|
|
103921
104113
|
};
|
|
103922
104114
|
|
|
103923
104115
|
/**
|
|
103924
|
-
* Request parameters for
|
|
104116
|
+
* Request parameters for createSupportTicketNote operation in SupportNotesApi.
|
|
104117
|
+
*/
|
|
104118
|
+
export interface SupportNotesApiCreateSupportTicketNoteRequest {
|
|
104119
|
+
/**
|
|
104120
|
+
* The supportTicket identifier
|
|
104121
|
+
*/
|
|
104122
|
+
readonly supportTicketId: string
|
|
104123
|
+
|
|
104124
|
+
readonly supportTicketNoteCreateInputs: SupportTicketNoteCreateInputs
|
|
104125
|
+
}
|
|
104126
|
+
|
|
104127
|
+
/**
|
|
104128
|
+
* Request parameters for deleteSupportTicketNote operation in SupportNotesApi.
|
|
104129
|
+
*/
|
|
104130
|
+
export interface SupportNotesApiDeleteSupportTicketNoteRequest {
|
|
104131
|
+
/**
|
|
104132
|
+
* The supportTicket identifier
|
|
104133
|
+
*/
|
|
104134
|
+
readonly supportTicketId: string
|
|
104135
|
+
|
|
104136
|
+
/**
|
|
104137
|
+
* The note identifier
|
|
104138
|
+
*/
|
|
104139
|
+
readonly noteId: string
|
|
104140
|
+
}
|
|
104141
|
+
|
|
104142
|
+
/**
|
|
104143
|
+
* Request parameters for getSupportTicketNotes operation in SupportNotesApi.
|
|
103925
104144
|
*/
|
|
103926
|
-
export interface
|
|
104145
|
+
export interface SupportNotesApiGetSupportTicketNotesRequest {
|
|
103927
104146
|
/**
|
|
103928
104147
|
* The supportTicket identifier
|
|
103929
104148
|
*/
|
|
@@ -103951,18 +104170,40 @@ export interface SupportticketsNotesApiGetSupportTicketNotesRequest {
|
|
|
103951
104170
|
}
|
|
103952
104171
|
|
|
103953
104172
|
/**
|
|
103954
|
-
*
|
|
104173
|
+
* SupportNotesApi - object-oriented interface
|
|
103955
104174
|
*/
|
|
103956
|
-
export class
|
|
104175
|
+
export class SupportNotesApi extends BaseAPI {
|
|
104176
|
+
/**
|
|
104177
|
+
* Create Support Ticket Note endpoint
|
|
104178
|
+
* @summary Create Support Ticket Note
|
|
104179
|
+
* @param {SupportNotesApiCreateSupportTicketNoteRequest} requestParameters Request parameters.
|
|
104180
|
+
* @param {*} [options] Override http request option.
|
|
104181
|
+
* @throws {RequiredError}
|
|
104182
|
+
*/
|
|
104183
|
+
public createSupportTicketNote(requestParameters: SupportNotesApiCreateSupportTicketNoteRequest, options?: RawAxiosRequestConfig) {
|
|
104184
|
+
return SupportNotesApiFp(this.configuration).createSupportTicketNote(requestParameters.supportTicketId, requestParameters.supportTicketNoteCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
104185
|
+
}
|
|
104186
|
+
|
|
104187
|
+
/**
|
|
104188
|
+
* Delete Support Ticket Note endpoint
|
|
104189
|
+
* @summary Delete Support Ticket Note
|
|
104190
|
+
* @param {SupportNotesApiDeleteSupportTicketNoteRequest} requestParameters Request parameters.
|
|
104191
|
+
* @param {*} [options] Override http request option.
|
|
104192
|
+
* @throws {RequiredError}
|
|
104193
|
+
*/
|
|
104194
|
+
public deleteSupportTicketNote(requestParameters: SupportNotesApiDeleteSupportTicketNoteRequest, options?: RawAxiosRequestConfig) {
|
|
104195
|
+
return SupportNotesApiFp(this.configuration).deleteSupportTicketNote(requestParameters.supportTicketId, requestParameters.noteId, options).then((request) => request(this.axios, this.basePath));
|
|
104196
|
+
}
|
|
104197
|
+
|
|
103957
104198
|
/**
|
|
103958
104199
|
* Get Support Ticket Notes endpoint
|
|
103959
104200
|
* @summary Get Support Ticket Notes
|
|
103960
|
-
* @param {
|
|
104201
|
+
* @param {SupportNotesApiGetSupportTicketNotesRequest} requestParameters Request parameters.
|
|
103961
104202
|
* @param {*} [options] Override http request option.
|
|
103962
104203
|
* @throws {RequiredError}
|
|
103963
104204
|
*/
|
|
103964
|
-
public getSupportTicketNotes(requestParameters:
|
|
103965
|
-
return
|
|
104205
|
+
public getSupportTicketNotes(requestParameters: SupportNotesApiGetSupportTicketNotesRequest, options?: RawAxiosRequestConfig) {
|
|
104206
|
+
return SupportNotesApiFp(this.configuration).getSupportTicketNotes(requestParameters.supportTicketId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
103966
104207
|
}
|
|
103967
104208
|
}
|
|
103968
104209
|
|