@connectedxm/admin-sdk 16.14.0 → 16.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +8 -0
- package/AdminApi.ts +9 -0
- package/README.md +2 -2
- package/api.ts +1874 -258
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/AdminApi.d.ts +4 -1
- package/dist/AdminApi.js +3 -0
- package/dist/api.d.ts +856 -9
- package/dist/api.js +1238 -34
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/AdminApi.d.ts +4 -1
- package/dist/esm/AdminApi.js +4 -1
- package/dist/esm/api.d.ts +856 -9
- package/dist/esm/api.js +1201 -9
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/ChannelsInterestsApi.md +364 -0
- package/docs/EventPassTypePriceScheduleTranslation.md +28 -0
- package/docs/EventsInterestsApi.md +181 -0
- package/docs/EventsPasstypesPriceschedulesTranslationsApi.md +264 -0
- package/docs/GetEventPassTypePriceScheduleTranslation200Response.md +24 -0
- package/docs/GetEventPassTypePriceScheduleTranslations200Response.md +26 -0
- package/docs/GroupsInterestsApi.md +2 -2
- package/docs/PassTypePriceScheduleTranslationUpdateInputs.md +20 -0
- package/docs/UpdateEventPassTypePriceScheduleTranslation200Response.md +24 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 16.
|
|
7
|
+
* The version of the OpenAPI document: 16.16.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -6435,6 +6435,13 @@ export interface EventPassTypePriceSchedule {
|
|
|
6435
6435
|
'createdAt': string;
|
|
6436
6436
|
'updatedAt': string;
|
|
6437
6437
|
}
|
|
6438
|
+
export interface EventPassTypePriceScheduleTranslation {
|
|
6439
|
+
'id': number;
|
|
6440
|
+
'locale': string;
|
|
6441
|
+
'name': string | null;
|
|
6442
|
+
'createdAt': string;
|
|
6443
|
+
'updatedAt': string;
|
|
6444
|
+
}
|
|
6438
6445
|
export interface EventPassTypeRefundSchedule {
|
|
6439
6446
|
'id': string;
|
|
6440
6447
|
'passTypeId': string;
|
|
@@ -9308,6 +9315,27 @@ export enum GetEventPassTypePriceSchedule200ResponseStatusEnum {
|
|
|
9308
9315
|
Ok = 'ok'
|
|
9309
9316
|
}
|
|
9310
9317
|
|
|
9318
|
+
export interface GetEventPassTypePriceScheduleTranslation200Response {
|
|
9319
|
+
'status': GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum;
|
|
9320
|
+
'message': string;
|
|
9321
|
+
'data': EventPassTypePriceScheduleTranslation | null;
|
|
9322
|
+
}
|
|
9323
|
+
|
|
9324
|
+
export enum GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum {
|
|
9325
|
+
Ok = 'ok'
|
|
9326
|
+
}
|
|
9327
|
+
|
|
9328
|
+
export interface GetEventPassTypePriceScheduleTranslations200Response {
|
|
9329
|
+
'status': GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum;
|
|
9330
|
+
'message': string;
|
|
9331
|
+
'data': Array<EventPassTypePriceScheduleTranslation>;
|
|
9332
|
+
'count'?: number;
|
|
9333
|
+
}
|
|
9334
|
+
|
|
9335
|
+
export enum GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum {
|
|
9336
|
+
Ok = 'ok'
|
|
9337
|
+
}
|
|
9338
|
+
|
|
9311
9339
|
export interface GetEventPassTypePriceSchedules200Response {
|
|
9312
9340
|
'status': GetEventPassTypePriceSchedules200ResponseStatusEnum;
|
|
9313
9341
|
'message': string;
|
|
@@ -13523,6 +13551,9 @@ export interface PassTypePriceScheduleCreateInputs {
|
|
|
13523
13551
|
'startDate'?: string | null;
|
|
13524
13552
|
'endDate'?: string | null;
|
|
13525
13553
|
}
|
|
13554
|
+
export interface PassTypePriceScheduleTranslationUpdateInputs {
|
|
13555
|
+
'name'?: string | null;
|
|
13556
|
+
}
|
|
13526
13557
|
export interface PassTypePriceScheduleUpdateInputs {
|
|
13527
13558
|
'ticketId'?: string | null;
|
|
13528
13559
|
'price'?: number | null;
|
|
@@ -16524,6 +16555,16 @@ export interface UpdateEventPassResponseInputs {
|
|
|
16524
16555
|
export interface UpdateEventPassResponsesInputs {
|
|
16525
16556
|
'questions': Array<Question>;
|
|
16526
16557
|
}
|
|
16558
|
+
export interface UpdateEventPassTypePriceScheduleTranslation200Response {
|
|
16559
|
+
'status': UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum;
|
|
16560
|
+
'message': string;
|
|
16561
|
+
'data': EventPassTypePriceScheduleTranslation;
|
|
16562
|
+
}
|
|
16563
|
+
|
|
16564
|
+
export enum UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum {
|
|
16565
|
+
Ok = 'ok'
|
|
16566
|
+
}
|
|
16567
|
+
|
|
16527
16568
|
export interface UpdateEventRoundQuestion200Response {
|
|
16528
16569
|
'status': UpdateEventRoundQuestion200ResponseStatusEnum;
|
|
16529
16570
|
'message': string;
|
|
@@ -43202,230 +43243,30 @@ export enum GetContentsTypeEnum {
|
|
|
43202
43243
|
|
|
43203
43244
|
|
|
43204
43245
|
/**
|
|
43205
|
-
*
|
|
43246
|
+
* ChannelsInterestsApi - axios parameter creator
|
|
43206
43247
|
*/
|
|
43207
|
-
export const
|
|
43248
|
+
export const ChannelsInterestsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
43208
43249
|
return {
|
|
43209
43250
|
/**
|
|
43210
|
-
*
|
|
43211
|
-
* @summary
|
|
43212
|
-
* @param {string} channelId The channel identifier
|
|
43213
|
-
* @param {string} contentId The content identifier
|
|
43214
|
-
* @param {string} guestId The guest identifier
|
|
43215
|
-
* @param {string} locale The locale identifier
|
|
43216
|
-
* @param {*} [options] Override http request option.
|
|
43217
|
-
* @throws {RequiredError}
|
|
43218
|
-
*/
|
|
43219
|
-
deleteChannelContentGuestTranslation: async (channelId: string, contentId: string, guestId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43220
|
-
// verify required parameter 'channelId' is not null or undefined
|
|
43221
|
-
assertParamExists('deleteChannelContentGuestTranslation', 'channelId', channelId)
|
|
43222
|
-
// verify required parameter 'contentId' is not null or undefined
|
|
43223
|
-
assertParamExists('deleteChannelContentGuestTranslation', 'contentId', contentId)
|
|
43224
|
-
// verify required parameter 'guestId' is not null or undefined
|
|
43225
|
-
assertParamExists('deleteChannelContentGuestTranslation', 'guestId', guestId)
|
|
43226
|
-
// verify required parameter 'locale' is not null or undefined
|
|
43227
|
-
assertParamExists('deleteChannelContentGuestTranslation', 'locale', locale)
|
|
43228
|
-
const localVarPath = `/channels/{channelId}/contents/{contentId}/guests/{guestId}/translations/{locale}`
|
|
43229
|
-
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
43230
|
-
.replace('{contentId}', encodeURIComponent(String(contentId)))
|
|
43231
|
-
.replace('{guestId}', encodeURIComponent(String(guestId)))
|
|
43232
|
-
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
43233
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43234
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43235
|
-
let baseOptions;
|
|
43236
|
-
if (configuration) {
|
|
43237
|
-
baseOptions = configuration.baseOptions;
|
|
43238
|
-
}
|
|
43239
|
-
|
|
43240
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
43241
|
-
const localVarHeaderParameter = {} as any;
|
|
43242
|
-
const localVarQueryParameter = {} as any;
|
|
43243
|
-
|
|
43244
|
-
// authentication ApiKeyAuth required
|
|
43245
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
43246
|
-
|
|
43247
|
-
// authentication OrganizationId required
|
|
43248
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
43249
|
-
|
|
43250
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
43251
|
-
|
|
43252
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43253
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43254
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43255
|
-
|
|
43256
|
-
return {
|
|
43257
|
-
url: toPathString(localVarUrlObj),
|
|
43258
|
-
options: localVarRequestOptions,
|
|
43259
|
-
};
|
|
43260
|
-
},
|
|
43261
|
-
/**
|
|
43262
|
-
* Removes the translation for a specific locale on a piece of channel content, requiring update permission on contents.
|
|
43263
|
-
* @summary Delete a channel content translation
|
|
43264
|
-
* @param {string} channelId The channel identifier
|
|
43265
|
-
* @param {string} contentId The content identifier
|
|
43266
|
-
* @param {string} locale The locale identifier
|
|
43267
|
-
* @param {*} [options] Override http request option.
|
|
43268
|
-
* @throws {RequiredError}
|
|
43269
|
-
*/
|
|
43270
|
-
deleteChannelContentTranslation: async (channelId: string, contentId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43271
|
-
// verify required parameter 'channelId' is not null or undefined
|
|
43272
|
-
assertParamExists('deleteChannelContentTranslation', 'channelId', channelId)
|
|
43273
|
-
// verify required parameter 'contentId' is not null or undefined
|
|
43274
|
-
assertParamExists('deleteChannelContentTranslation', 'contentId', contentId)
|
|
43275
|
-
// verify required parameter 'locale' is not null or undefined
|
|
43276
|
-
assertParamExists('deleteChannelContentTranslation', 'locale', locale)
|
|
43277
|
-
const localVarPath = `/channels/{channelId}/contents/{contentId}/translations/{locale}`
|
|
43278
|
-
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
43279
|
-
.replace('{contentId}', encodeURIComponent(String(contentId)))
|
|
43280
|
-
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
43281
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43282
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43283
|
-
let baseOptions;
|
|
43284
|
-
if (configuration) {
|
|
43285
|
-
baseOptions = configuration.baseOptions;
|
|
43286
|
-
}
|
|
43287
|
-
|
|
43288
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
43289
|
-
const localVarHeaderParameter = {} as any;
|
|
43290
|
-
const localVarQueryParameter = {} as any;
|
|
43291
|
-
|
|
43292
|
-
// authentication ApiKeyAuth required
|
|
43293
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
43294
|
-
|
|
43295
|
-
// authentication OrganizationId required
|
|
43296
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
43297
|
-
|
|
43298
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
43299
|
-
|
|
43300
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43301
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43302
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43303
|
-
|
|
43304
|
-
return {
|
|
43305
|
-
url: toPathString(localVarUrlObj),
|
|
43306
|
-
options: localVarRequestOptions,
|
|
43307
|
-
};
|
|
43308
|
-
},
|
|
43309
|
-
/**
|
|
43310
|
-
* Removes the translation for a specific locale on a channel\'s name/description, requiring update permission on channels.
|
|
43311
|
-
* @summary Delete a channel translation
|
|
43312
|
-
* @param {string} channelId The channel identifier
|
|
43313
|
-
* @param {string} locale The locale identifier
|
|
43314
|
-
* @param {*} [options] Override http request option.
|
|
43315
|
-
* @throws {RequiredError}
|
|
43316
|
-
*/
|
|
43317
|
-
deleteChannelTranslation: async (channelId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43318
|
-
// verify required parameter 'channelId' is not null or undefined
|
|
43319
|
-
assertParamExists('deleteChannelTranslation', 'channelId', channelId)
|
|
43320
|
-
// verify required parameter 'locale' is not null or undefined
|
|
43321
|
-
assertParamExists('deleteChannelTranslation', 'locale', locale)
|
|
43322
|
-
const localVarPath = `/channels/{channelId}/translations/{locale}`
|
|
43323
|
-
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
43324
|
-
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
43325
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43326
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43327
|
-
let baseOptions;
|
|
43328
|
-
if (configuration) {
|
|
43329
|
-
baseOptions = configuration.baseOptions;
|
|
43330
|
-
}
|
|
43331
|
-
|
|
43332
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
43333
|
-
const localVarHeaderParameter = {} as any;
|
|
43334
|
-
const localVarQueryParameter = {} as any;
|
|
43335
|
-
|
|
43336
|
-
// authentication ApiKeyAuth required
|
|
43337
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
43338
|
-
|
|
43339
|
-
// authentication OrganizationId required
|
|
43340
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
43341
|
-
|
|
43342
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
43343
|
-
|
|
43344
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43345
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43346
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43347
|
-
|
|
43348
|
-
return {
|
|
43349
|
-
url: toPathString(localVarUrlObj),
|
|
43350
|
-
options: localVarRequestOptions,
|
|
43351
|
-
};
|
|
43352
|
-
},
|
|
43353
|
-
/**
|
|
43354
|
-
* Returns the localized translation of a channel content guest\'s fields for the given locale, or null if no translation exists, requiring read permission on channels and contents.
|
|
43355
|
-
* @summary Get a channel content guest\'s translation for a locale
|
|
43356
|
-
* @param {string} channelId The channel identifier
|
|
43357
|
-
* @param {string} contentId The content identifier
|
|
43358
|
-
* @param {string} guestId The guest identifier
|
|
43359
|
-
* @param {string} locale The locale identifier
|
|
43360
|
-
* @param {*} [options] Override http request option.
|
|
43361
|
-
* @throws {RequiredError}
|
|
43362
|
-
*/
|
|
43363
|
-
getChannelContentGuestTranslation: async (channelId: string, contentId: string, guestId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43364
|
-
// verify required parameter 'channelId' is not null or undefined
|
|
43365
|
-
assertParamExists('getChannelContentGuestTranslation', 'channelId', channelId)
|
|
43366
|
-
// verify required parameter 'contentId' is not null or undefined
|
|
43367
|
-
assertParamExists('getChannelContentGuestTranslation', 'contentId', contentId)
|
|
43368
|
-
// verify required parameter 'guestId' is not null or undefined
|
|
43369
|
-
assertParamExists('getChannelContentGuestTranslation', 'guestId', guestId)
|
|
43370
|
-
// verify required parameter 'locale' is not null or undefined
|
|
43371
|
-
assertParamExists('getChannelContentGuestTranslation', 'locale', locale)
|
|
43372
|
-
const localVarPath = `/channels/{channelId}/contents/{contentId}/guests/{guestId}/translations/{locale}`
|
|
43373
|
-
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
43374
|
-
.replace('{contentId}', encodeURIComponent(String(contentId)))
|
|
43375
|
-
.replace('{guestId}', encodeURIComponent(String(guestId)))
|
|
43376
|
-
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
43377
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43378
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43379
|
-
let baseOptions;
|
|
43380
|
-
if (configuration) {
|
|
43381
|
-
baseOptions = configuration.baseOptions;
|
|
43382
|
-
}
|
|
43383
|
-
|
|
43384
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
43385
|
-
const localVarHeaderParameter = {} as any;
|
|
43386
|
-
const localVarQueryParameter = {} as any;
|
|
43387
|
-
|
|
43388
|
-
// authentication ApiKeyAuth required
|
|
43389
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
43390
|
-
|
|
43391
|
-
// authentication OrganizationId required
|
|
43392
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
43393
|
-
|
|
43394
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
43395
|
-
|
|
43396
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43397
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43398
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43399
|
-
|
|
43400
|
-
return {
|
|
43401
|
-
url: toPathString(localVarUrlObj),
|
|
43402
|
-
options: localVarRequestOptions,
|
|
43403
|
-
};
|
|
43404
|
-
},
|
|
43405
|
-
/**
|
|
43406
|
-
* Returns a paginated, searchable list of locale translations for a guest of a piece of channel content, requiring read permission on channels and contents.
|
|
43407
|
-
* @summary List a channel content guest\'s translations
|
|
43251
|
+
* Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43252
|
+
* @summary Add an interest to a content item
|
|
43408
43253
|
* @param {string} channelId The channel identifier
|
|
43409
43254
|
* @param {string} contentId The content identifier
|
|
43410
|
-
* @param {string}
|
|
43411
|
-
* @param {number} [page] Page number
|
|
43412
|
-
* @param {number} [pageSize] Number of items per page
|
|
43413
|
-
* @param {string} [orderBy] Field to order by
|
|
43414
|
-
* @param {string} [search] Search query
|
|
43255
|
+
* @param {string} interestId The interest identifier
|
|
43415
43256
|
* @param {*} [options] Override http request option.
|
|
43416
43257
|
* @throws {RequiredError}
|
|
43417
43258
|
*/
|
|
43418
|
-
|
|
43259
|
+
addChannelContentInterest: async (channelId: string, contentId: string, interestId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43419
43260
|
// verify required parameter 'channelId' is not null or undefined
|
|
43420
|
-
assertParamExists('
|
|
43261
|
+
assertParamExists('addChannelContentInterest', 'channelId', channelId)
|
|
43421
43262
|
// verify required parameter 'contentId' is not null or undefined
|
|
43422
|
-
assertParamExists('
|
|
43423
|
-
// verify required parameter '
|
|
43424
|
-
assertParamExists('
|
|
43425
|
-
const localVarPath = `/channels/{channelId}/contents/{contentId}/
|
|
43263
|
+
assertParamExists('addChannelContentInterest', 'contentId', contentId)
|
|
43264
|
+
// verify required parameter 'interestId' is not null or undefined
|
|
43265
|
+
assertParamExists('addChannelContentInterest', 'interestId', interestId)
|
|
43266
|
+
const localVarPath = `/channels/{channelId}/contents/{contentId}/interests/{interestId}`
|
|
43426
43267
|
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
43427
43268
|
.replace('{contentId}', encodeURIComponent(String(contentId)))
|
|
43428
|
-
.replace('{
|
|
43269
|
+
.replace('{interestId}', encodeURIComponent(String(interestId)));
|
|
43429
43270
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43430
43271
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43431
43272
|
let baseOptions;
|
|
@@ -43433,7 +43274,7 @@ export const ChannelsTranslationsApiAxiosParamCreator = function (configuration?
|
|
|
43433
43274
|
baseOptions = configuration.baseOptions;
|
|
43434
43275
|
}
|
|
43435
43276
|
|
|
43436
|
-
const localVarRequestOptions = { method: '
|
|
43277
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
43437
43278
|
const localVarHeaderParameter = {} as any;
|
|
43438
43279
|
const localVarQueryParameter = {} as any;
|
|
43439
43280
|
|
|
@@ -43443,22 +43284,6 @@ export const ChannelsTranslationsApiAxiosParamCreator = function (configuration?
|
|
|
43443
43284
|
// authentication OrganizationId required
|
|
43444
43285
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
43445
43286
|
|
|
43446
|
-
if (page !== undefined) {
|
|
43447
|
-
localVarQueryParameter['page'] = page;
|
|
43448
|
-
}
|
|
43449
|
-
|
|
43450
|
-
if (pageSize !== undefined) {
|
|
43451
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
43452
|
-
}
|
|
43453
|
-
|
|
43454
|
-
if (orderBy !== undefined) {
|
|
43455
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
43456
|
-
}
|
|
43457
|
-
|
|
43458
|
-
if (search !== undefined) {
|
|
43459
|
-
localVarQueryParameter['search'] = search;
|
|
43460
|
-
}
|
|
43461
|
-
|
|
43462
43287
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
43463
43288
|
|
|
43464
43289
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -43471,25 +43296,21 @@ export const ChannelsTranslationsApiAxiosParamCreator = function (configuration?
|
|
|
43471
43296
|
};
|
|
43472
43297
|
},
|
|
43473
43298
|
/**
|
|
43474
|
-
*
|
|
43475
|
-
* @summary
|
|
43299
|
+
* Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43300
|
+
* @summary Add an interest to a channel
|
|
43476
43301
|
* @param {string} channelId The channel identifier
|
|
43477
|
-
* @param {string}
|
|
43478
|
-
* @param {string} locale The locale identifier
|
|
43302
|
+
* @param {string} interestId The interest identifier
|
|
43479
43303
|
* @param {*} [options] Override http request option.
|
|
43480
43304
|
* @throws {RequiredError}
|
|
43481
43305
|
*/
|
|
43482
|
-
|
|
43306
|
+
addChannelInterest: async (channelId: string, interestId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43483
43307
|
// verify required parameter 'channelId' is not null or undefined
|
|
43484
|
-
assertParamExists('
|
|
43485
|
-
// verify required parameter '
|
|
43486
|
-
assertParamExists('
|
|
43487
|
-
|
|
43488
|
-
assertParamExists('getChannelContentTranslation', 'locale', locale)
|
|
43489
|
-
const localVarPath = `/channels/{channelId}/contents/{contentId}/translations/{locale}`
|
|
43308
|
+
assertParamExists('addChannelInterest', 'channelId', channelId)
|
|
43309
|
+
// verify required parameter 'interestId' is not null or undefined
|
|
43310
|
+
assertParamExists('addChannelInterest', 'interestId', interestId)
|
|
43311
|
+
const localVarPath = `/channels/{channelId}/interests/{interestId}`
|
|
43490
43312
|
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
43491
|
-
.replace('{
|
|
43492
|
-
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
43313
|
+
.replace('{interestId}', encodeURIComponent(String(interestId)));
|
|
43493
43314
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43494
43315
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43495
43316
|
let baseOptions;
|
|
@@ -43497,7 +43318,7 @@ export const ChannelsTranslationsApiAxiosParamCreator = function (configuration?
|
|
|
43497
43318
|
baseOptions = configuration.baseOptions;
|
|
43498
43319
|
}
|
|
43499
43320
|
|
|
43500
|
-
const localVarRequestOptions = { method: '
|
|
43321
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
43501
43322
|
const localVarHeaderParameter = {} as any;
|
|
43502
43323
|
const localVarQueryParameter = {} as any;
|
|
43503
43324
|
|
|
@@ -43519,8 +43340,8 @@ export const ChannelsTranslationsApiAxiosParamCreator = function (configuration?
|
|
|
43519
43340
|
};
|
|
43520
43341
|
},
|
|
43521
43342
|
/**
|
|
43522
|
-
* Returns a paginated
|
|
43523
|
-
* @summary List a
|
|
43343
|
+
* Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
|
|
43344
|
+
* @summary List a content item\'s interests
|
|
43524
43345
|
* @param {string} channelId The channel identifier
|
|
43525
43346
|
* @param {string} contentId The content identifier
|
|
43526
43347
|
* @param {number} [page] Page number
|
|
@@ -43530,12 +43351,927 @@ export const ChannelsTranslationsApiAxiosParamCreator = function (configuration?
|
|
|
43530
43351
|
* @param {*} [options] Override http request option.
|
|
43531
43352
|
* @throws {RequiredError}
|
|
43532
43353
|
*/
|
|
43533
|
-
|
|
43354
|
+
getChannelContentInterests: async (channelId: string, contentId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43534
43355
|
// verify required parameter 'channelId' is not null or undefined
|
|
43535
|
-
assertParamExists('
|
|
43356
|
+
assertParamExists('getChannelContentInterests', 'channelId', channelId)
|
|
43536
43357
|
// verify required parameter 'contentId' is not null or undefined
|
|
43537
|
-
assertParamExists('
|
|
43538
|
-
const localVarPath = `/channels/{channelId}/contents/{contentId}/
|
|
43358
|
+
assertParamExists('getChannelContentInterests', 'contentId', contentId)
|
|
43359
|
+
const localVarPath = `/channels/{channelId}/contents/{contentId}/interests`
|
|
43360
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
43361
|
+
.replace('{contentId}', encodeURIComponent(String(contentId)));
|
|
43362
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43363
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43364
|
+
let baseOptions;
|
|
43365
|
+
if (configuration) {
|
|
43366
|
+
baseOptions = configuration.baseOptions;
|
|
43367
|
+
}
|
|
43368
|
+
|
|
43369
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
43370
|
+
const localVarHeaderParameter = {} as any;
|
|
43371
|
+
const localVarQueryParameter = {} as any;
|
|
43372
|
+
|
|
43373
|
+
// authentication ApiKeyAuth required
|
|
43374
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
43375
|
+
|
|
43376
|
+
// authentication OrganizationId required
|
|
43377
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
43378
|
+
|
|
43379
|
+
if (page !== undefined) {
|
|
43380
|
+
localVarQueryParameter['page'] = page;
|
|
43381
|
+
}
|
|
43382
|
+
|
|
43383
|
+
if (pageSize !== undefined) {
|
|
43384
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
43385
|
+
}
|
|
43386
|
+
|
|
43387
|
+
if (orderBy !== undefined) {
|
|
43388
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
43389
|
+
}
|
|
43390
|
+
|
|
43391
|
+
if (search !== undefined) {
|
|
43392
|
+
localVarQueryParameter['search'] = search;
|
|
43393
|
+
}
|
|
43394
|
+
|
|
43395
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
43396
|
+
|
|
43397
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43398
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43399
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43400
|
+
|
|
43401
|
+
return {
|
|
43402
|
+
url: toPathString(localVarUrlObj),
|
|
43403
|
+
options: localVarRequestOptions,
|
|
43404
|
+
};
|
|
43405
|
+
},
|
|
43406
|
+
/**
|
|
43407
|
+
* Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
|
|
43408
|
+
* @summary List a channel\'s interests
|
|
43409
|
+
* @param {string} channelId The channel identifier
|
|
43410
|
+
* @param {number} [page] Page number
|
|
43411
|
+
* @param {number} [pageSize] Number of items per page
|
|
43412
|
+
* @param {string} [orderBy] Field to order by
|
|
43413
|
+
* @param {string} [search] Search query
|
|
43414
|
+
* @param {*} [options] Override http request option.
|
|
43415
|
+
* @throws {RequiredError}
|
|
43416
|
+
*/
|
|
43417
|
+
getChannelInterests: async (channelId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43418
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
43419
|
+
assertParamExists('getChannelInterests', 'channelId', channelId)
|
|
43420
|
+
const localVarPath = `/channels/{channelId}/interests`
|
|
43421
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)));
|
|
43422
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43423
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43424
|
+
let baseOptions;
|
|
43425
|
+
if (configuration) {
|
|
43426
|
+
baseOptions = configuration.baseOptions;
|
|
43427
|
+
}
|
|
43428
|
+
|
|
43429
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
43430
|
+
const localVarHeaderParameter = {} as any;
|
|
43431
|
+
const localVarQueryParameter = {} as any;
|
|
43432
|
+
|
|
43433
|
+
// authentication ApiKeyAuth required
|
|
43434
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
43435
|
+
|
|
43436
|
+
// authentication OrganizationId required
|
|
43437
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
43438
|
+
|
|
43439
|
+
if (page !== undefined) {
|
|
43440
|
+
localVarQueryParameter['page'] = page;
|
|
43441
|
+
}
|
|
43442
|
+
|
|
43443
|
+
if (pageSize !== undefined) {
|
|
43444
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
43445
|
+
}
|
|
43446
|
+
|
|
43447
|
+
if (orderBy !== undefined) {
|
|
43448
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
43449
|
+
}
|
|
43450
|
+
|
|
43451
|
+
if (search !== undefined) {
|
|
43452
|
+
localVarQueryParameter['search'] = search;
|
|
43453
|
+
}
|
|
43454
|
+
|
|
43455
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
43456
|
+
|
|
43457
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43458
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43459
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43460
|
+
|
|
43461
|
+
return {
|
|
43462
|
+
url: toPathString(localVarUrlObj),
|
|
43463
|
+
options: localVarRequestOptions,
|
|
43464
|
+
};
|
|
43465
|
+
},
|
|
43466
|
+
/**
|
|
43467
|
+
* Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43468
|
+
* @summary Remove an interest from a content item
|
|
43469
|
+
* @param {string} channelId The channel identifier
|
|
43470
|
+
* @param {string} contentId The content identifier
|
|
43471
|
+
* @param {string} interestId The interest identifier
|
|
43472
|
+
* @param {*} [options] Override http request option.
|
|
43473
|
+
* @throws {RequiredError}
|
|
43474
|
+
*/
|
|
43475
|
+
removeChannelContentInterest: async (channelId: string, contentId: string, interestId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43476
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
43477
|
+
assertParamExists('removeChannelContentInterest', 'channelId', channelId)
|
|
43478
|
+
// verify required parameter 'contentId' is not null or undefined
|
|
43479
|
+
assertParamExists('removeChannelContentInterest', 'contentId', contentId)
|
|
43480
|
+
// verify required parameter 'interestId' is not null or undefined
|
|
43481
|
+
assertParamExists('removeChannelContentInterest', 'interestId', interestId)
|
|
43482
|
+
const localVarPath = `/channels/{channelId}/contents/{contentId}/interests/{interestId}`
|
|
43483
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
43484
|
+
.replace('{contentId}', encodeURIComponent(String(contentId)))
|
|
43485
|
+
.replace('{interestId}', encodeURIComponent(String(interestId)));
|
|
43486
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43487
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43488
|
+
let baseOptions;
|
|
43489
|
+
if (configuration) {
|
|
43490
|
+
baseOptions = configuration.baseOptions;
|
|
43491
|
+
}
|
|
43492
|
+
|
|
43493
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
43494
|
+
const localVarHeaderParameter = {} as any;
|
|
43495
|
+
const localVarQueryParameter = {} as any;
|
|
43496
|
+
|
|
43497
|
+
// authentication ApiKeyAuth required
|
|
43498
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
43499
|
+
|
|
43500
|
+
// authentication OrganizationId required
|
|
43501
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
43502
|
+
|
|
43503
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
43504
|
+
|
|
43505
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43506
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43507
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43508
|
+
|
|
43509
|
+
return {
|
|
43510
|
+
url: toPathString(localVarUrlObj),
|
|
43511
|
+
options: localVarRequestOptions,
|
|
43512
|
+
};
|
|
43513
|
+
},
|
|
43514
|
+
/**
|
|
43515
|
+
* Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43516
|
+
* @summary Remove an interest from a channel
|
|
43517
|
+
* @param {string} channelId The channel identifier
|
|
43518
|
+
* @param {string} interestId The interest identifier
|
|
43519
|
+
* @param {*} [options] Override http request option.
|
|
43520
|
+
* @throws {RequiredError}
|
|
43521
|
+
*/
|
|
43522
|
+
removeChannelInterest: async (channelId: string, interestId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43523
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
43524
|
+
assertParamExists('removeChannelInterest', 'channelId', channelId)
|
|
43525
|
+
// verify required parameter 'interestId' is not null or undefined
|
|
43526
|
+
assertParamExists('removeChannelInterest', 'interestId', interestId)
|
|
43527
|
+
const localVarPath = `/channels/{channelId}/interests/{interestId}`
|
|
43528
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
43529
|
+
.replace('{interestId}', encodeURIComponent(String(interestId)));
|
|
43530
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43531
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43532
|
+
let baseOptions;
|
|
43533
|
+
if (configuration) {
|
|
43534
|
+
baseOptions = configuration.baseOptions;
|
|
43535
|
+
}
|
|
43536
|
+
|
|
43537
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
43538
|
+
const localVarHeaderParameter = {} as any;
|
|
43539
|
+
const localVarQueryParameter = {} as any;
|
|
43540
|
+
|
|
43541
|
+
// authentication ApiKeyAuth required
|
|
43542
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
43543
|
+
|
|
43544
|
+
// authentication OrganizationId required
|
|
43545
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
43546
|
+
|
|
43547
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
43548
|
+
|
|
43549
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43550
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43551
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43552
|
+
|
|
43553
|
+
return {
|
|
43554
|
+
url: toPathString(localVarUrlObj),
|
|
43555
|
+
options: localVarRequestOptions,
|
|
43556
|
+
};
|
|
43557
|
+
},
|
|
43558
|
+
}
|
|
43559
|
+
};
|
|
43560
|
+
|
|
43561
|
+
/**
|
|
43562
|
+
* ChannelsInterestsApi - functional programming interface
|
|
43563
|
+
*/
|
|
43564
|
+
export const ChannelsInterestsApiFp = function(configuration?: Configuration) {
|
|
43565
|
+
const localVarAxiosParamCreator = ChannelsInterestsApiAxiosParamCreator(configuration)
|
|
43566
|
+
return {
|
|
43567
|
+
/**
|
|
43568
|
+
* Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43569
|
+
* @summary Add an interest to a content item
|
|
43570
|
+
* @param {string} channelId The channel identifier
|
|
43571
|
+
* @param {string} contentId The content identifier
|
|
43572
|
+
* @param {string} interestId The interest identifier
|
|
43573
|
+
* @param {*} [options] Override http request option.
|
|
43574
|
+
* @throws {RequiredError}
|
|
43575
|
+
*/
|
|
43576
|
+
async addChannelContentInterest(channelId: string, contentId: string, interestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateChannelContent200Response>> {
|
|
43577
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addChannelContentInterest(channelId, contentId, interestId, options);
|
|
43578
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43579
|
+
const localVarOperationServerBasePath = operationServerMap['ChannelsInterestsApi.addChannelContentInterest']?.[localVarOperationServerIndex]?.url;
|
|
43580
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43581
|
+
},
|
|
43582
|
+
/**
|
|
43583
|
+
* Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43584
|
+
* @summary Add an interest to a channel
|
|
43585
|
+
* @param {string} channelId The channel identifier
|
|
43586
|
+
* @param {string} interestId The interest identifier
|
|
43587
|
+
* @param {*} [options] Override http request option.
|
|
43588
|
+
* @throws {RequiredError}
|
|
43589
|
+
*/
|
|
43590
|
+
async addChannelInterest(channelId: string, interestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateChannel200Response>> {
|
|
43591
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addChannelInterest(channelId, interestId, options);
|
|
43592
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43593
|
+
const localVarOperationServerBasePath = operationServerMap['ChannelsInterestsApi.addChannelInterest']?.[localVarOperationServerIndex]?.url;
|
|
43594
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43595
|
+
},
|
|
43596
|
+
/**
|
|
43597
|
+
* Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
|
|
43598
|
+
* @summary List a content item\'s interests
|
|
43599
|
+
* @param {string} channelId The channel identifier
|
|
43600
|
+
* @param {string} contentId The content identifier
|
|
43601
|
+
* @param {number} [page] Page number
|
|
43602
|
+
* @param {number} [pageSize] Number of items per page
|
|
43603
|
+
* @param {string} [orderBy] Field to order by
|
|
43604
|
+
* @param {string} [search] Search query
|
|
43605
|
+
* @param {*} [options] Override http request option.
|
|
43606
|
+
* @throws {RequiredError}
|
|
43607
|
+
*/
|
|
43608
|
+
async getChannelContentInterests(channelId: string, contentId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountInterests200Response>> {
|
|
43609
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getChannelContentInterests(channelId, contentId, page, pageSize, orderBy, search, options);
|
|
43610
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43611
|
+
const localVarOperationServerBasePath = operationServerMap['ChannelsInterestsApi.getChannelContentInterests']?.[localVarOperationServerIndex]?.url;
|
|
43612
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43613
|
+
},
|
|
43614
|
+
/**
|
|
43615
|
+
* Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
|
|
43616
|
+
* @summary List a channel\'s interests
|
|
43617
|
+
* @param {string} channelId The channel identifier
|
|
43618
|
+
* @param {number} [page] Page number
|
|
43619
|
+
* @param {number} [pageSize] Number of items per page
|
|
43620
|
+
* @param {string} [orderBy] Field to order by
|
|
43621
|
+
* @param {string} [search] Search query
|
|
43622
|
+
* @param {*} [options] Override http request option.
|
|
43623
|
+
* @throws {RequiredError}
|
|
43624
|
+
*/
|
|
43625
|
+
async getChannelInterests(channelId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountInterests200Response>> {
|
|
43626
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getChannelInterests(channelId, page, pageSize, orderBy, search, options);
|
|
43627
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43628
|
+
const localVarOperationServerBasePath = operationServerMap['ChannelsInterestsApi.getChannelInterests']?.[localVarOperationServerIndex]?.url;
|
|
43629
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43630
|
+
},
|
|
43631
|
+
/**
|
|
43632
|
+
* Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43633
|
+
* @summary Remove an interest from a content item
|
|
43634
|
+
* @param {string} channelId The channel identifier
|
|
43635
|
+
* @param {string} contentId The content identifier
|
|
43636
|
+
* @param {string} interestId The interest identifier
|
|
43637
|
+
* @param {*} [options] Override http request option.
|
|
43638
|
+
* @throws {RequiredError}
|
|
43639
|
+
*/
|
|
43640
|
+
async removeChannelContentInterest(channelId: string, contentId: string, interestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateChannelContent200Response>> {
|
|
43641
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeChannelContentInterest(channelId, contentId, interestId, options);
|
|
43642
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43643
|
+
const localVarOperationServerBasePath = operationServerMap['ChannelsInterestsApi.removeChannelContentInterest']?.[localVarOperationServerIndex]?.url;
|
|
43644
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43645
|
+
},
|
|
43646
|
+
/**
|
|
43647
|
+
* Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43648
|
+
* @summary Remove an interest from a channel
|
|
43649
|
+
* @param {string} channelId The channel identifier
|
|
43650
|
+
* @param {string} interestId The interest identifier
|
|
43651
|
+
* @param {*} [options] Override http request option.
|
|
43652
|
+
* @throws {RequiredError}
|
|
43653
|
+
*/
|
|
43654
|
+
async removeChannelInterest(channelId: string, interestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateChannel200Response>> {
|
|
43655
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeChannelInterest(channelId, interestId, options);
|
|
43656
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43657
|
+
const localVarOperationServerBasePath = operationServerMap['ChannelsInterestsApi.removeChannelInterest']?.[localVarOperationServerIndex]?.url;
|
|
43658
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43659
|
+
},
|
|
43660
|
+
}
|
|
43661
|
+
};
|
|
43662
|
+
|
|
43663
|
+
/**
|
|
43664
|
+
* ChannelsInterestsApi - factory interface
|
|
43665
|
+
*/
|
|
43666
|
+
export const ChannelsInterestsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
43667
|
+
const localVarFp = ChannelsInterestsApiFp(configuration)
|
|
43668
|
+
return {
|
|
43669
|
+
/**
|
|
43670
|
+
* Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43671
|
+
* @summary Add an interest to a content item
|
|
43672
|
+
* @param {ChannelsInterestsApiAddChannelContentInterestRequest} requestParameters Request parameters.
|
|
43673
|
+
* @param {*} [options] Override http request option.
|
|
43674
|
+
* @throws {RequiredError}
|
|
43675
|
+
*/
|
|
43676
|
+
addChannelContentInterest(requestParameters: ChannelsInterestsApiAddChannelContentInterestRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateChannelContent200Response> {
|
|
43677
|
+
return localVarFp.addChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(axios, basePath));
|
|
43678
|
+
},
|
|
43679
|
+
/**
|
|
43680
|
+
* Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43681
|
+
* @summary Add an interest to a channel
|
|
43682
|
+
* @param {ChannelsInterestsApiAddChannelInterestRequest} requestParameters Request parameters.
|
|
43683
|
+
* @param {*} [options] Override http request option.
|
|
43684
|
+
* @throws {RequiredError}
|
|
43685
|
+
*/
|
|
43686
|
+
addChannelInterest(requestParameters: ChannelsInterestsApiAddChannelInterestRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateChannel200Response> {
|
|
43687
|
+
return localVarFp.addChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(axios, basePath));
|
|
43688
|
+
},
|
|
43689
|
+
/**
|
|
43690
|
+
* Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
|
|
43691
|
+
* @summary List a content item\'s interests
|
|
43692
|
+
* @param {ChannelsInterestsApiGetChannelContentInterestsRequest} requestParameters Request parameters.
|
|
43693
|
+
* @param {*} [options] Override http request option.
|
|
43694
|
+
* @throws {RequiredError}
|
|
43695
|
+
*/
|
|
43696
|
+
getChannelContentInterests(requestParameters: ChannelsInterestsApiGetChannelContentInterestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountInterests200Response> {
|
|
43697
|
+
return localVarFp.getChannelContentInterests(requestParameters.channelId, requestParameters.contentId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
43698
|
+
},
|
|
43699
|
+
/**
|
|
43700
|
+
* Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
|
|
43701
|
+
* @summary List a channel\'s interests
|
|
43702
|
+
* @param {ChannelsInterestsApiGetChannelInterestsRequest} requestParameters Request parameters.
|
|
43703
|
+
* @param {*} [options] Override http request option.
|
|
43704
|
+
* @throws {RequiredError}
|
|
43705
|
+
*/
|
|
43706
|
+
getChannelInterests(requestParameters: ChannelsInterestsApiGetChannelInterestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountInterests200Response> {
|
|
43707
|
+
return localVarFp.getChannelInterests(requestParameters.channelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
43708
|
+
},
|
|
43709
|
+
/**
|
|
43710
|
+
* Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43711
|
+
* @summary Remove an interest from a content item
|
|
43712
|
+
* @param {ChannelsInterestsApiRemoveChannelContentInterestRequest} requestParameters Request parameters.
|
|
43713
|
+
* @param {*} [options] Override http request option.
|
|
43714
|
+
* @throws {RequiredError}
|
|
43715
|
+
*/
|
|
43716
|
+
removeChannelContentInterest(requestParameters: ChannelsInterestsApiRemoveChannelContentInterestRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateChannelContent200Response> {
|
|
43717
|
+
return localVarFp.removeChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(axios, basePath));
|
|
43718
|
+
},
|
|
43719
|
+
/**
|
|
43720
|
+
* Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43721
|
+
* @summary Remove an interest from a channel
|
|
43722
|
+
* @param {ChannelsInterestsApiRemoveChannelInterestRequest} requestParameters Request parameters.
|
|
43723
|
+
* @param {*} [options] Override http request option.
|
|
43724
|
+
* @throws {RequiredError}
|
|
43725
|
+
*/
|
|
43726
|
+
removeChannelInterest(requestParameters: ChannelsInterestsApiRemoveChannelInterestRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateChannel200Response> {
|
|
43727
|
+
return localVarFp.removeChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(axios, basePath));
|
|
43728
|
+
},
|
|
43729
|
+
};
|
|
43730
|
+
};
|
|
43731
|
+
|
|
43732
|
+
/**
|
|
43733
|
+
* Request parameters for addChannelContentInterest operation in ChannelsInterestsApi.
|
|
43734
|
+
*/
|
|
43735
|
+
export interface ChannelsInterestsApiAddChannelContentInterestRequest {
|
|
43736
|
+
/**
|
|
43737
|
+
* The channel identifier
|
|
43738
|
+
*/
|
|
43739
|
+
readonly channelId: string
|
|
43740
|
+
|
|
43741
|
+
/**
|
|
43742
|
+
* The content identifier
|
|
43743
|
+
*/
|
|
43744
|
+
readonly contentId: string
|
|
43745
|
+
|
|
43746
|
+
/**
|
|
43747
|
+
* The interest identifier
|
|
43748
|
+
*/
|
|
43749
|
+
readonly interestId: string
|
|
43750
|
+
}
|
|
43751
|
+
|
|
43752
|
+
/**
|
|
43753
|
+
* Request parameters for addChannelInterest operation in ChannelsInterestsApi.
|
|
43754
|
+
*/
|
|
43755
|
+
export interface ChannelsInterestsApiAddChannelInterestRequest {
|
|
43756
|
+
/**
|
|
43757
|
+
* The channel identifier
|
|
43758
|
+
*/
|
|
43759
|
+
readonly channelId: string
|
|
43760
|
+
|
|
43761
|
+
/**
|
|
43762
|
+
* The interest identifier
|
|
43763
|
+
*/
|
|
43764
|
+
readonly interestId: string
|
|
43765
|
+
}
|
|
43766
|
+
|
|
43767
|
+
/**
|
|
43768
|
+
* Request parameters for getChannelContentInterests operation in ChannelsInterestsApi.
|
|
43769
|
+
*/
|
|
43770
|
+
export interface ChannelsInterestsApiGetChannelContentInterestsRequest {
|
|
43771
|
+
/**
|
|
43772
|
+
* The channel identifier
|
|
43773
|
+
*/
|
|
43774
|
+
readonly channelId: string
|
|
43775
|
+
|
|
43776
|
+
/**
|
|
43777
|
+
* The content identifier
|
|
43778
|
+
*/
|
|
43779
|
+
readonly contentId: string
|
|
43780
|
+
|
|
43781
|
+
/**
|
|
43782
|
+
* Page number
|
|
43783
|
+
*/
|
|
43784
|
+
readonly page?: number
|
|
43785
|
+
|
|
43786
|
+
/**
|
|
43787
|
+
* Number of items per page
|
|
43788
|
+
*/
|
|
43789
|
+
readonly pageSize?: number
|
|
43790
|
+
|
|
43791
|
+
/**
|
|
43792
|
+
* Field to order by
|
|
43793
|
+
*/
|
|
43794
|
+
readonly orderBy?: string
|
|
43795
|
+
|
|
43796
|
+
/**
|
|
43797
|
+
* Search query
|
|
43798
|
+
*/
|
|
43799
|
+
readonly search?: string
|
|
43800
|
+
}
|
|
43801
|
+
|
|
43802
|
+
/**
|
|
43803
|
+
* Request parameters for getChannelInterests operation in ChannelsInterestsApi.
|
|
43804
|
+
*/
|
|
43805
|
+
export interface ChannelsInterestsApiGetChannelInterestsRequest {
|
|
43806
|
+
/**
|
|
43807
|
+
* The channel identifier
|
|
43808
|
+
*/
|
|
43809
|
+
readonly channelId: string
|
|
43810
|
+
|
|
43811
|
+
/**
|
|
43812
|
+
* Page number
|
|
43813
|
+
*/
|
|
43814
|
+
readonly page?: number
|
|
43815
|
+
|
|
43816
|
+
/**
|
|
43817
|
+
* Number of items per page
|
|
43818
|
+
*/
|
|
43819
|
+
readonly pageSize?: number
|
|
43820
|
+
|
|
43821
|
+
/**
|
|
43822
|
+
* Field to order by
|
|
43823
|
+
*/
|
|
43824
|
+
readonly orderBy?: string
|
|
43825
|
+
|
|
43826
|
+
/**
|
|
43827
|
+
* Search query
|
|
43828
|
+
*/
|
|
43829
|
+
readonly search?: string
|
|
43830
|
+
}
|
|
43831
|
+
|
|
43832
|
+
/**
|
|
43833
|
+
* Request parameters for removeChannelContentInterest operation in ChannelsInterestsApi.
|
|
43834
|
+
*/
|
|
43835
|
+
export interface ChannelsInterestsApiRemoveChannelContentInterestRequest {
|
|
43836
|
+
/**
|
|
43837
|
+
* The channel identifier
|
|
43838
|
+
*/
|
|
43839
|
+
readonly channelId: string
|
|
43840
|
+
|
|
43841
|
+
/**
|
|
43842
|
+
* The content identifier
|
|
43843
|
+
*/
|
|
43844
|
+
readonly contentId: string
|
|
43845
|
+
|
|
43846
|
+
/**
|
|
43847
|
+
* The interest identifier
|
|
43848
|
+
*/
|
|
43849
|
+
readonly interestId: string
|
|
43850
|
+
}
|
|
43851
|
+
|
|
43852
|
+
/**
|
|
43853
|
+
* Request parameters for removeChannelInterest operation in ChannelsInterestsApi.
|
|
43854
|
+
*/
|
|
43855
|
+
export interface ChannelsInterestsApiRemoveChannelInterestRequest {
|
|
43856
|
+
/**
|
|
43857
|
+
* The channel identifier
|
|
43858
|
+
*/
|
|
43859
|
+
readonly channelId: string
|
|
43860
|
+
|
|
43861
|
+
/**
|
|
43862
|
+
* The interest identifier
|
|
43863
|
+
*/
|
|
43864
|
+
readonly interestId: string
|
|
43865
|
+
}
|
|
43866
|
+
|
|
43867
|
+
/**
|
|
43868
|
+
* ChannelsInterestsApi - object-oriented interface
|
|
43869
|
+
*/
|
|
43870
|
+
export class ChannelsInterestsApi extends BaseAPI {
|
|
43871
|
+
/**
|
|
43872
|
+
* Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43873
|
+
* @summary Add an interest to a content item
|
|
43874
|
+
* @param {ChannelsInterestsApiAddChannelContentInterestRequest} requestParameters Request parameters.
|
|
43875
|
+
* @param {*} [options] Override http request option.
|
|
43876
|
+
* @throws {RequiredError}
|
|
43877
|
+
*/
|
|
43878
|
+
public addChannelContentInterest(requestParameters: ChannelsInterestsApiAddChannelContentInterestRequest, options?: RawAxiosRequestConfig) {
|
|
43879
|
+
return ChannelsInterestsApiFp(this.configuration).addChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
|
|
43880
|
+
}
|
|
43881
|
+
|
|
43882
|
+
/**
|
|
43883
|
+
* Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43884
|
+
* @summary Add an interest to a channel
|
|
43885
|
+
* @param {ChannelsInterestsApiAddChannelInterestRequest} requestParameters Request parameters.
|
|
43886
|
+
* @param {*} [options] Override http request option.
|
|
43887
|
+
* @throws {RequiredError}
|
|
43888
|
+
*/
|
|
43889
|
+
public addChannelInterest(requestParameters: ChannelsInterestsApiAddChannelInterestRequest, options?: RawAxiosRequestConfig) {
|
|
43890
|
+
return ChannelsInterestsApiFp(this.configuration).addChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
|
|
43891
|
+
}
|
|
43892
|
+
|
|
43893
|
+
/**
|
|
43894
|
+
* Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
|
|
43895
|
+
* @summary List a content item\'s interests
|
|
43896
|
+
* @param {ChannelsInterestsApiGetChannelContentInterestsRequest} requestParameters Request parameters.
|
|
43897
|
+
* @param {*} [options] Override http request option.
|
|
43898
|
+
* @throws {RequiredError}
|
|
43899
|
+
*/
|
|
43900
|
+
public getChannelContentInterests(requestParameters: ChannelsInterestsApiGetChannelContentInterestsRequest, options?: RawAxiosRequestConfig) {
|
|
43901
|
+
return ChannelsInterestsApiFp(this.configuration).getChannelContentInterests(requestParameters.channelId, requestParameters.contentId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
43902
|
+
}
|
|
43903
|
+
|
|
43904
|
+
/**
|
|
43905
|
+
* Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
|
|
43906
|
+
* @summary List a channel\'s interests
|
|
43907
|
+
* @param {ChannelsInterestsApiGetChannelInterestsRequest} requestParameters Request parameters.
|
|
43908
|
+
* @param {*} [options] Override http request option.
|
|
43909
|
+
* @throws {RequiredError}
|
|
43910
|
+
*/
|
|
43911
|
+
public getChannelInterests(requestParameters: ChannelsInterestsApiGetChannelInterestsRequest, options?: RawAxiosRequestConfig) {
|
|
43912
|
+
return ChannelsInterestsApiFp(this.configuration).getChannelInterests(requestParameters.channelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
43913
|
+
}
|
|
43914
|
+
|
|
43915
|
+
/**
|
|
43916
|
+
* Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43917
|
+
* @summary Remove an interest from a content item
|
|
43918
|
+
* @param {ChannelsInterestsApiRemoveChannelContentInterestRequest} requestParameters Request parameters.
|
|
43919
|
+
* @param {*} [options] Override http request option.
|
|
43920
|
+
* @throws {RequiredError}
|
|
43921
|
+
*/
|
|
43922
|
+
public removeChannelContentInterest(requestParameters: ChannelsInterestsApiRemoveChannelContentInterestRequest, options?: RawAxiosRequestConfig) {
|
|
43923
|
+
return ChannelsInterestsApiFp(this.configuration).removeChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
|
|
43924
|
+
}
|
|
43925
|
+
|
|
43926
|
+
/**
|
|
43927
|
+
* Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
43928
|
+
* @summary Remove an interest from a channel
|
|
43929
|
+
* @param {ChannelsInterestsApiRemoveChannelInterestRequest} requestParameters Request parameters.
|
|
43930
|
+
* @param {*} [options] Override http request option.
|
|
43931
|
+
* @throws {RequiredError}
|
|
43932
|
+
*/
|
|
43933
|
+
public removeChannelInterest(requestParameters: ChannelsInterestsApiRemoveChannelInterestRequest, options?: RawAxiosRequestConfig) {
|
|
43934
|
+
return ChannelsInterestsApiFp(this.configuration).removeChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
|
|
43935
|
+
}
|
|
43936
|
+
}
|
|
43937
|
+
|
|
43938
|
+
|
|
43939
|
+
|
|
43940
|
+
/**
|
|
43941
|
+
* ChannelsTranslationsApi - axios parameter creator
|
|
43942
|
+
*/
|
|
43943
|
+
export const ChannelsTranslationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
43944
|
+
return {
|
|
43945
|
+
/**
|
|
43946
|
+
* Removes the translation for a specific locale on a channel content item\'s guest speaker/author, requiring update permission on contents.
|
|
43947
|
+
* @summary Delete a channel content guest translation
|
|
43948
|
+
* @param {string} channelId The channel identifier
|
|
43949
|
+
* @param {string} contentId The content identifier
|
|
43950
|
+
* @param {string} guestId The guest identifier
|
|
43951
|
+
* @param {string} locale The locale identifier
|
|
43952
|
+
* @param {*} [options] Override http request option.
|
|
43953
|
+
* @throws {RequiredError}
|
|
43954
|
+
*/
|
|
43955
|
+
deleteChannelContentGuestTranslation: async (channelId: string, contentId: string, guestId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43956
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
43957
|
+
assertParamExists('deleteChannelContentGuestTranslation', 'channelId', channelId)
|
|
43958
|
+
// verify required parameter 'contentId' is not null or undefined
|
|
43959
|
+
assertParamExists('deleteChannelContentGuestTranslation', 'contentId', contentId)
|
|
43960
|
+
// verify required parameter 'guestId' is not null or undefined
|
|
43961
|
+
assertParamExists('deleteChannelContentGuestTranslation', 'guestId', guestId)
|
|
43962
|
+
// verify required parameter 'locale' is not null or undefined
|
|
43963
|
+
assertParamExists('deleteChannelContentGuestTranslation', 'locale', locale)
|
|
43964
|
+
const localVarPath = `/channels/{channelId}/contents/{contentId}/guests/{guestId}/translations/{locale}`
|
|
43965
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
43966
|
+
.replace('{contentId}', encodeURIComponent(String(contentId)))
|
|
43967
|
+
.replace('{guestId}', encodeURIComponent(String(guestId)))
|
|
43968
|
+
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
43969
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43970
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43971
|
+
let baseOptions;
|
|
43972
|
+
if (configuration) {
|
|
43973
|
+
baseOptions = configuration.baseOptions;
|
|
43974
|
+
}
|
|
43975
|
+
|
|
43976
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
43977
|
+
const localVarHeaderParameter = {} as any;
|
|
43978
|
+
const localVarQueryParameter = {} as any;
|
|
43979
|
+
|
|
43980
|
+
// authentication ApiKeyAuth required
|
|
43981
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
43982
|
+
|
|
43983
|
+
// authentication OrganizationId required
|
|
43984
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
43985
|
+
|
|
43986
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
43987
|
+
|
|
43988
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43989
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43990
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43991
|
+
|
|
43992
|
+
return {
|
|
43993
|
+
url: toPathString(localVarUrlObj),
|
|
43994
|
+
options: localVarRequestOptions,
|
|
43995
|
+
};
|
|
43996
|
+
},
|
|
43997
|
+
/**
|
|
43998
|
+
* Removes the translation for a specific locale on a piece of channel content, requiring update permission on contents.
|
|
43999
|
+
* @summary Delete a channel content translation
|
|
44000
|
+
* @param {string} channelId The channel identifier
|
|
44001
|
+
* @param {string} contentId The content identifier
|
|
44002
|
+
* @param {string} locale The locale identifier
|
|
44003
|
+
* @param {*} [options] Override http request option.
|
|
44004
|
+
* @throws {RequiredError}
|
|
44005
|
+
*/
|
|
44006
|
+
deleteChannelContentTranslation: async (channelId: string, contentId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44007
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
44008
|
+
assertParamExists('deleteChannelContentTranslation', 'channelId', channelId)
|
|
44009
|
+
// verify required parameter 'contentId' is not null or undefined
|
|
44010
|
+
assertParamExists('deleteChannelContentTranslation', 'contentId', contentId)
|
|
44011
|
+
// verify required parameter 'locale' is not null or undefined
|
|
44012
|
+
assertParamExists('deleteChannelContentTranslation', 'locale', locale)
|
|
44013
|
+
const localVarPath = `/channels/{channelId}/contents/{contentId}/translations/{locale}`
|
|
44014
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
44015
|
+
.replace('{contentId}', encodeURIComponent(String(contentId)))
|
|
44016
|
+
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
44017
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44018
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44019
|
+
let baseOptions;
|
|
44020
|
+
if (configuration) {
|
|
44021
|
+
baseOptions = configuration.baseOptions;
|
|
44022
|
+
}
|
|
44023
|
+
|
|
44024
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
44025
|
+
const localVarHeaderParameter = {} as any;
|
|
44026
|
+
const localVarQueryParameter = {} as any;
|
|
44027
|
+
|
|
44028
|
+
// authentication ApiKeyAuth required
|
|
44029
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
44030
|
+
|
|
44031
|
+
// authentication OrganizationId required
|
|
44032
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
44033
|
+
|
|
44034
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
44035
|
+
|
|
44036
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44037
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44038
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44039
|
+
|
|
44040
|
+
return {
|
|
44041
|
+
url: toPathString(localVarUrlObj),
|
|
44042
|
+
options: localVarRequestOptions,
|
|
44043
|
+
};
|
|
44044
|
+
},
|
|
44045
|
+
/**
|
|
44046
|
+
* Removes the translation for a specific locale on a channel\'s name/description, requiring update permission on channels.
|
|
44047
|
+
* @summary Delete a channel translation
|
|
44048
|
+
* @param {string} channelId The channel identifier
|
|
44049
|
+
* @param {string} locale The locale identifier
|
|
44050
|
+
* @param {*} [options] Override http request option.
|
|
44051
|
+
* @throws {RequiredError}
|
|
44052
|
+
*/
|
|
44053
|
+
deleteChannelTranslation: async (channelId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44054
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
44055
|
+
assertParamExists('deleteChannelTranslation', 'channelId', channelId)
|
|
44056
|
+
// verify required parameter 'locale' is not null or undefined
|
|
44057
|
+
assertParamExists('deleteChannelTranslation', 'locale', locale)
|
|
44058
|
+
const localVarPath = `/channels/{channelId}/translations/{locale}`
|
|
44059
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
44060
|
+
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
44061
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44062
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44063
|
+
let baseOptions;
|
|
44064
|
+
if (configuration) {
|
|
44065
|
+
baseOptions = configuration.baseOptions;
|
|
44066
|
+
}
|
|
44067
|
+
|
|
44068
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
44069
|
+
const localVarHeaderParameter = {} as any;
|
|
44070
|
+
const localVarQueryParameter = {} as any;
|
|
44071
|
+
|
|
44072
|
+
// authentication ApiKeyAuth required
|
|
44073
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
44074
|
+
|
|
44075
|
+
// authentication OrganizationId required
|
|
44076
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
44077
|
+
|
|
44078
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
44079
|
+
|
|
44080
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44081
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44082
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44083
|
+
|
|
44084
|
+
return {
|
|
44085
|
+
url: toPathString(localVarUrlObj),
|
|
44086
|
+
options: localVarRequestOptions,
|
|
44087
|
+
};
|
|
44088
|
+
},
|
|
44089
|
+
/**
|
|
44090
|
+
* Returns the localized translation of a channel content guest\'s fields for the given locale, or null if no translation exists, requiring read permission on channels and contents.
|
|
44091
|
+
* @summary Get a channel content guest\'s translation for a locale
|
|
44092
|
+
* @param {string} channelId The channel identifier
|
|
44093
|
+
* @param {string} contentId The content identifier
|
|
44094
|
+
* @param {string} guestId The guest identifier
|
|
44095
|
+
* @param {string} locale The locale identifier
|
|
44096
|
+
* @param {*} [options] Override http request option.
|
|
44097
|
+
* @throws {RequiredError}
|
|
44098
|
+
*/
|
|
44099
|
+
getChannelContentGuestTranslation: async (channelId: string, contentId: string, guestId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44100
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
44101
|
+
assertParamExists('getChannelContentGuestTranslation', 'channelId', channelId)
|
|
44102
|
+
// verify required parameter 'contentId' is not null or undefined
|
|
44103
|
+
assertParamExists('getChannelContentGuestTranslation', 'contentId', contentId)
|
|
44104
|
+
// verify required parameter 'guestId' is not null or undefined
|
|
44105
|
+
assertParamExists('getChannelContentGuestTranslation', 'guestId', guestId)
|
|
44106
|
+
// verify required parameter 'locale' is not null or undefined
|
|
44107
|
+
assertParamExists('getChannelContentGuestTranslation', 'locale', locale)
|
|
44108
|
+
const localVarPath = `/channels/{channelId}/contents/{contentId}/guests/{guestId}/translations/{locale}`
|
|
44109
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
44110
|
+
.replace('{contentId}', encodeURIComponent(String(contentId)))
|
|
44111
|
+
.replace('{guestId}', encodeURIComponent(String(guestId)))
|
|
44112
|
+
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
44113
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44114
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44115
|
+
let baseOptions;
|
|
44116
|
+
if (configuration) {
|
|
44117
|
+
baseOptions = configuration.baseOptions;
|
|
44118
|
+
}
|
|
44119
|
+
|
|
44120
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
44121
|
+
const localVarHeaderParameter = {} as any;
|
|
44122
|
+
const localVarQueryParameter = {} as any;
|
|
44123
|
+
|
|
44124
|
+
// authentication ApiKeyAuth required
|
|
44125
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
44126
|
+
|
|
44127
|
+
// authentication OrganizationId required
|
|
44128
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
44129
|
+
|
|
44130
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
44131
|
+
|
|
44132
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44133
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44134
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44135
|
+
|
|
44136
|
+
return {
|
|
44137
|
+
url: toPathString(localVarUrlObj),
|
|
44138
|
+
options: localVarRequestOptions,
|
|
44139
|
+
};
|
|
44140
|
+
},
|
|
44141
|
+
/**
|
|
44142
|
+
* Returns a paginated, searchable list of locale translations for a guest of a piece of channel content, requiring read permission on channels and contents.
|
|
44143
|
+
* @summary List a channel content guest\'s translations
|
|
44144
|
+
* @param {string} channelId The channel identifier
|
|
44145
|
+
* @param {string} contentId The content identifier
|
|
44146
|
+
* @param {string} guestId The guest identifier
|
|
44147
|
+
* @param {number} [page] Page number
|
|
44148
|
+
* @param {number} [pageSize] Number of items per page
|
|
44149
|
+
* @param {string} [orderBy] Field to order by
|
|
44150
|
+
* @param {string} [search] Search query
|
|
44151
|
+
* @param {*} [options] Override http request option.
|
|
44152
|
+
* @throws {RequiredError}
|
|
44153
|
+
*/
|
|
44154
|
+
getChannelContentGuestTranslations: async (channelId: string, contentId: string, guestId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44155
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
44156
|
+
assertParamExists('getChannelContentGuestTranslations', 'channelId', channelId)
|
|
44157
|
+
// verify required parameter 'contentId' is not null or undefined
|
|
44158
|
+
assertParamExists('getChannelContentGuestTranslations', 'contentId', contentId)
|
|
44159
|
+
// verify required parameter 'guestId' is not null or undefined
|
|
44160
|
+
assertParamExists('getChannelContentGuestTranslations', 'guestId', guestId)
|
|
44161
|
+
const localVarPath = `/channels/{channelId}/contents/{contentId}/guests/{guestId}/translations`
|
|
44162
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
44163
|
+
.replace('{contentId}', encodeURIComponent(String(contentId)))
|
|
44164
|
+
.replace('{guestId}', encodeURIComponent(String(guestId)));
|
|
44165
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44166
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44167
|
+
let baseOptions;
|
|
44168
|
+
if (configuration) {
|
|
44169
|
+
baseOptions = configuration.baseOptions;
|
|
44170
|
+
}
|
|
44171
|
+
|
|
44172
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
44173
|
+
const localVarHeaderParameter = {} as any;
|
|
44174
|
+
const localVarQueryParameter = {} as any;
|
|
44175
|
+
|
|
44176
|
+
// authentication ApiKeyAuth required
|
|
44177
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
44178
|
+
|
|
44179
|
+
// authentication OrganizationId required
|
|
44180
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
44181
|
+
|
|
44182
|
+
if (page !== undefined) {
|
|
44183
|
+
localVarQueryParameter['page'] = page;
|
|
44184
|
+
}
|
|
44185
|
+
|
|
44186
|
+
if (pageSize !== undefined) {
|
|
44187
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
44188
|
+
}
|
|
44189
|
+
|
|
44190
|
+
if (orderBy !== undefined) {
|
|
44191
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
44192
|
+
}
|
|
44193
|
+
|
|
44194
|
+
if (search !== undefined) {
|
|
44195
|
+
localVarQueryParameter['search'] = search;
|
|
44196
|
+
}
|
|
44197
|
+
|
|
44198
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
44199
|
+
|
|
44200
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44202
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44203
|
+
|
|
44204
|
+
return {
|
|
44205
|
+
url: toPathString(localVarUrlObj),
|
|
44206
|
+
options: localVarRequestOptions,
|
|
44207
|
+
};
|
|
44208
|
+
},
|
|
44209
|
+
/**
|
|
44210
|
+
* Returns the localized translation of a channel content item\'s fields for the given locale, or null if no translation exists, requiring read permission on channels and contents.
|
|
44211
|
+
* @summary Get a channel content item\'s translation for a locale
|
|
44212
|
+
* @param {string} channelId The channel identifier
|
|
44213
|
+
* @param {string} contentId The content identifier
|
|
44214
|
+
* @param {string} locale The locale identifier
|
|
44215
|
+
* @param {*} [options] Override http request option.
|
|
44216
|
+
* @throws {RequiredError}
|
|
44217
|
+
*/
|
|
44218
|
+
getChannelContentTranslation: async (channelId: string, contentId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44219
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
44220
|
+
assertParamExists('getChannelContentTranslation', 'channelId', channelId)
|
|
44221
|
+
// verify required parameter 'contentId' is not null or undefined
|
|
44222
|
+
assertParamExists('getChannelContentTranslation', 'contentId', contentId)
|
|
44223
|
+
// verify required parameter 'locale' is not null or undefined
|
|
44224
|
+
assertParamExists('getChannelContentTranslation', 'locale', locale)
|
|
44225
|
+
const localVarPath = `/channels/{channelId}/contents/{contentId}/translations/{locale}`
|
|
44226
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
44227
|
+
.replace('{contentId}', encodeURIComponent(String(contentId)))
|
|
44228
|
+
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
44229
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44230
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44231
|
+
let baseOptions;
|
|
44232
|
+
if (configuration) {
|
|
44233
|
+
baseOptions = configuration.baseOptions;
|
|
44234
|
+
}
|
|
44235
|
+
|
|
44236
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
44237
|
+
const localVarHeaderParameter = {} as any;
|
|
44238
|
+
const localVarQueryParameter = {} as any;
|
|
44239
|
+
|
|
44240
|
+
// authentication ApiKeyAuth required
|
|
44241
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
44242
|
+
|
|
44243
|
+
// authentication OrganizationId required
|
|
44244
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
44245
|
+
|
|
44246
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
44247
|
+
|
|
44248
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44250
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44251
|
+
|
|
44252
|
+
return {
|
|
44253
|
+
url: toPathString(localVarUrlObj),
|
|
44254
|
+
options: localVarRequestOptions,
|
|
44255
|
+
};
|
|
44256
|
+
},
|
|
44257
|
+
/**
|
|
44258
|
+
* Returns a paginated, searchable list of locale translations for a piece of channel content, requiring read permission on channels and contents.
|
|
44259
|
+
* @summary List a channel content item\'s translations
|
|
44260
|
+
* @param {string} channelId The channel identifier
|
|
44261
|
+
* @param {string} contentId The content identifier
|
|
44262
|
+
* @param {number} [page] Page number
|
|
44263
|
+
* @param {number} [pageSize] Number of items per page
|
|
44264
|
+
* @param {string} [orderBy] Field to order by
|
|
44265
|
+
* @param {string} [search] Search query
|
|
44266
|
+
* @param {*} [options] Override http request option.
|
|
44267
|
+
* @throws {RequiredError}
|
|
44268
|
+
*/
|
|
44269
|
+
getChannelContentTranslations: async (channelId: string, contentId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44270
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
44271
|
+
assertParamExists('getChannelContentTranslations', 'channelId', channelId)
|
|
44272
|
+
// verify required parameter 'contentId' is not null or undefined
|
|
44273
|
+
assertParamExists('getChannelContentTranslations', 'contentId', contentId)
|
|
44274
|
+
const localVarPath = `/channels/{channelId}/contents/{contentId}/translations`
|
|
43539
44275
|
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
43540
44276
|
.replace('{contentId}', encodeURIComponent(String(contentId)));
|
|
43541
44277
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -61405,6 +62141,355 @@ export class EventsGroupcouponreminderApi extends BaseAPI {
|
|
|
61405
62141
|
|
|
61406
62142
|
|
|
61407
62143
|
|
|
62144
|
+
/**
|
|
62145
|
+
* EventsInterestsApi - axios parameter creator
|
|
62146
|
+
*/
|
|
62147
|
+
export const EventsInterestsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
62148
|
+
return {
|
|
62149
|
+
/**
|
|
62150
|
+
* Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
62151
|
+
* @summary Add an interest to an event
|
|
62152
|
+
* @param {string} eventId The event identifier
|
|
62153
|
+
* @param {string} interestId The interest identifier
|
|
62154
|
+
* @param {*} [options] Override http request option.
|
|
62155
|
+
* @throws {RequiredError}
|
|
62156
|
+
*/
|
|
62157
|
+
addEventInterest: async (eventId: string, interestId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62158
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
62159
|
+
assertParamExists('addEventInterest', 'eventId', eventId)
|
|
62160
|
+
// verify required parameter 'interestId' is not null or undefined
|
|
62161
|
+
assertParamExists('addEventInterest', 'interestId', interestId)
|
|
62162
|
+
const localVarPath = `/events/{eventId}/interests/{interestId}`
|
|
62163
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
62164
|
+
.replace('{interestId}', encodeURIComponent(String(interestId)));
|
|
62165
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62166
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62167
|
+
let baseOptions;
|
|
62168
|
+
if (configuration) {
|
|
62169
|
+
baseOptions = configuration.baseOptions;
|
|
62170
|
+
}
|
|
62171
|
+
|
|
62172
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
62173
|
+
const localVarHeaderParameter = {} as any;
|
|
62174
|
+
const localVarQueryParameter = {} as any;
|
|
62175
|
+
|
|
62176
|
+
// authentication ApiKeyAuth required
|
|
62177
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
62178
|
+
|
|
62179
|
+
// authentication OrganizationId required
|
|
62180
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
62181
|
+
|
|
62182
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
62183
|
+
|
|
62184
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62185
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62186
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
62187
|
+
|
|
62188
|
+
return {
|
|
62189
|
+
url: toPathString(localVarUrlObj),
|
|
62190
|
+
options: localVarRequestOptions,
|
|
62191
|
+
};
|
|
62192
|
+
},
|
|
62193
|
+
/**
|
|
62194
|
+
* Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
|
|
62195
|
+
* @summary List an event\'s interests
|
|
62196
|
+
* @param {string} eventId The event identifier
|
|
62197
|
+
* @param {number} [page] Page number
|
|
62198
|
+
* @param {number} [pageSize] Number of items per page
|
|
62199
|
+
* @param {string} [orderBy] Field to order by
|
|
62200
|
+
* @param {string} [search] Search query
|
|
62201
|
+
* @param {*} [options] Override http request option.
|
|
62202
|
+
* @throws {RequiredError}
|
|
62203
|
+
*/
|
|
62204
|
+
getEventInterests: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62205
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
62206
|
+
assertParamExists('getEventInterests', 'eventId', eventId)
|
|
62207
|
+
const localVarPath = `/events/{eventId}/interests`
|
|
62208
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)));
|
|
62209
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62210
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62211
|
+
let baseOptions;
|
|
62212
|
+
if (configuration) {
|
|
62213
|
+
baseOptions = configuration.baseOptions;
|
|
62214
|
+
}
|
|
62215
|
+
|
|
62216
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
62217
|
+
const localVarHeaderParameter = {} as any;
|
|
62218
|
+
const localVarQueryParameter = {} as any;
|
|
62219
|
+
|
|
62220
|
+
// authentication ApiKeyAuth required
|
|
62221
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
62222
|
+
|
|
62223
|
+
// authentication OrganizationId required
|
|
62224
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
62225
|
+
|
|
62226
|
+
if (page !== undefined) {
|
|
62227
|
+
localVarQueryParameter['page'] = page;
|
|
62228
|
+
}
|
|
62229
|
+
|
|
62230
|
+
if (pageSize !== undefined) {
|
|
62231
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
62232
|
+
}
|
|
62233
|
+
|
|
62234
|
+
if (orderBy !== undefined) {
|
|
62235
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
62236
|
+
}
|
|
62237
|
+
|
|
62238
|
+
if (search !== undefined) {
|
|
62239
|
+
localVarQueryParameter['search'] = search;
|
|
62240
|
+
}
|
|
62241
|
+
|
|
62242
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
62243
|
+
|
|
62244
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62246
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
62247
|
+
|
|
62248
|
+
return {
|
|
62249
|
+
url: toPathString(localVarUrlObj),
|
|
62250
|
+
options: localVarRequestOptions,
|
|
62251
|
+
};
|
|
62252
|
+
},
|
|
62253
|
+
/**
|
|
62254
|
+
* Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
62255
|
+
* @summary Remove an interest from an event
|
|
62256
|
+
* @param {string} eventId The event identifier
|
|
62257
|
+
* @param {string} interestId The interest identifier
|
|
62258
|
+
* @param {*} [options] Override http request option.
|
|
62259
|
+
* @throws {RequiredError}
|
|
62260
|
+
*/
|
|
62261
|
+
removeEventInterest: async (eventId: string, interestId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62262
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
62263
|
+
assertParamExists('removeEventInterest', 'eventId', eventId)
|
|
62264
|
+
// verify required parameter 'interestId' is not null or undefined
|
|
62265
|
+
assertParamExists('removeEventInterest', 'interestId', interestId)
|
|
62266
|
+
const localVarPath = `/events/{eventId}/interests/{interestId}`
|
|
62267
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
62268
|
+
.replace('{interestId}', encodeURIComponent(String(interestId)));
|
|
62269
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62270
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62271
|
+
let baseOptions;
|
|
62272
|
+
if (configuration) {
|
|
62273
|
+
baseOptions = configuration.baseOptions;
|
|
62274
|
+
}
|
|
62275
|
+
|
|
62276
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
62277
|
+
const localVarHeaderParameter = {} as any;
|
|
62278
|
+
const localVarQueryParameter = {} as any;
|
|
62279
|
+
|
|
62280
|
+
// authentication ApiKeyAuth required
|
|
62281
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
62282
|
+
|
|
62283
|
+
// authentication OrganizationId required
|
|
62284
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
62285
|
+
|
|
62286
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
62287
|
+
|
|
62288
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62289
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62290
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
62291
|
+
|
|
62292
|
+
return {
|
|
62293
|
+
url: toPathString(localVarUrlObj),
|
|
62294
|
+
options: localVarRequestOptions,
|
|
62295
|
+
};
|
|
62296
|
+
},
|
|
62297
|
+
}
|
|
62298
|
+
};
|
|
62299
|
+
|
|
62300
|
+
/**
|
|
62301
|
+
* EventsInterestsApi - functional programming interface
|
|
62302
|
+
*/
|
|
62303
|
+
export const EventsInterestsApiFp = function(configuration?: Configuration) {
|
|
62304
|
+
const localVarAxiosParamCreator = EventsInterestsApiAxiosParamCreator(configuration)
|
|
62305
|
+
return {
|
|
62306
|
+
/**
|
|
62307
|
+
* Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
62308
|
+
* @summary Add an interest to an event
|
|
62309
|
+
* @param {string} eventId The event identifier
|
|
62310
|
+
* @param {string} interestId The interest identifier
|
|
62311
|
+
* @param {*} [options] Override http request option.
|
|
62312
|
+
* @throws {RequiredError}
|
|
62313
|
+
*/
|
|
62314
|
+
async addEventInterest(eventId: string, interestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEvent200Response>> {
|
|
62315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addEventInterest(eventId, interestId, options);
|
|
62316
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62317
|
+
const localVarOperationServerBasePath = operationServerMap['EventsInterestsApi.addEventInterest']?.[localVarOperationServerIndex]?.url;
|
|
62318
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62319
|
+
},
|
|
62320
|
+
/**
|
|
62321
|
+
* Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
|
|
62322
|
+
* @summary List an event\'s interests
|
|
62323
|
+
* @param {string} eventId The event identifier
|
|
62324
|
+
* @param {number} [page] Page number
|
|
62325
|
+
* @param {number} [pageSize] Number of items per page
|
|
62326
|
+
* @param {string} [orderBy] Field to order by
|
|
62327
|
+
* @param {string} [search] Search query
|
|
62328
|
+
* @param {*} [options] Override http request option.
|
|
62329
|
+
* @throws {RequiredError}
|
|
62330
|
+
*/
|
|
62331
|
+
async getEventInterests(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountInterests200Response>> {
|
|
62332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventInterests(eventId, page, pageSize, orderBy, search, options);
|
|
62333
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62334
|
+
const localVarOperationServerBasePath = operationServerMap['EventsInterestsApi.getEventInterests']?.[localVarOperationServerIndex]?.url;
|
|
62335
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62336
|
+
},
|
|
62337
|
+
/**
|
|
62338
|
+
* Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
62339
|
+
* @summary Remove an interest from an event
|
|
62340
|
+
* @param {string} eventId The event identifier
|
|
62341
|
+
* @param {string} interestId The interest identifier
|
|
62342
|
+
* @param {*} [options] Override http request option.
|
|
62343
|
+
* @throws {RequiredError}
|
|
62344
|
+
*/
|
|
62345
|
+
async removeEventInterest(eventId: string, interestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEvent200Response>> {
|
|
62346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventInterest(eventId, interestId, options);
|
|
62347
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62348
|
+
const localVarOperationServerBasePath = operationServerMap['EventsInterestsApi.removeEventInterest']?.[localVarOperationServerIndex]?.url;
|
|
62349
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62350
|
+
},
|
|
62351
|
+
}
|
|
62352
|
+
};
|
|
62353
|
+
|
|
62354
|
+
/**
|
|
62355
|
+
* EventsInterestsApi - factory interface
|
|
62356
|
+
*/
|
|
62357
|
+
export const EventsInterestsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
62358
|
+
const localVarFp = EventsInterestsApiFp(configuration)
|
|
62359
|
+
return {
|
|
62360
|
+
/**
|
|
62361
|
+
* Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
62362
|
+
* @summary Add an interest to an event
|
|
62363
|
+
* @param {EventsInterestsApiAddEventInterestRequest} requestParameters Request parameters.
|
|
62364
|
+
* @param {*} [options] Override http request option.
|
|
62365
|
+
* @throws {RequiredError}
|
|
62366
|
+
*/
|
|
62367
|
+
addEventInterest(requestParameters: EventsInterestsApiAddEventInterestRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEvent200Response> {
|
|
62368
|
+
return localVarFp.addEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(axios, basePath));
|
|
62369
|
+
},
|
|
62370
|
+
/**
|
|
62371
|
+
* Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
|
|
62372
|
+
* @summary List an event\'s interests
|
|
62373
|
+
* @param {EventsInterestsApiGetEventInterestsRequest} requestParameters Request parameters.
|
|
62374
|
+
* @param {*} [options] Override http request option.
|
|
62375
|
+
* @throws {RequiredError}
|
|
62376
|
+
*/
|
|
62377
|
+
getEventInterests(requestParameters: EventsInterestsApiGetEventInterestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountInterests200Response> {
|
|
62378
|
+
return localVarFp.getEventInterests(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
62379
|
+
},
|
|
62380
|
+
/**
|
|
62381
|
+
* Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
62382
|
+
* @summary Remove an interest from an event
|
|
62383
|
+
* @param {EventsInterestsApiRemoveEventInterestRequest} requestParameters Request parameters.
|
|
62384
|
+
* @param {*} [options] Override http request option.
|
|
62385
|
+
* @throws {RequiredError}
|
|
62386
|
+
*/
|
|
62387
|
+
removeEventInterest(requestParameters: EventsInterestsApiRemoveEventInterestRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEvent200Response> {
|
|
62388
|
+
return localVarFp.removeEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(axios, basePath));
|
|
62389
|
+
},
|
|
62390
|
+
};
|
|
62391
|
+
};
|
|
62392
|
+
|
|
62393
|
+
/**
|
|
62394
|
+
* Request parameters for addEventInterest operation in EventsInterestsApi.
|
|
62395
|
+
*/
|
|
62396
|
+
export interface EventsInterestsApiAddEventInterestRequest {
|
|
62397
|
+
/**
|
|
62398
|
+
* The event identifier
|
|
62399
|
+
*/
|
|
62400
|
+
readonly eventId: string
|
|
62401
|
+
|
|
62402
|
+
/**
|
|
62403
|
+
* The interest identifier
|
|
62404
|
+
*/
|
|
62405
|
+
readonly interestId: string
|
|
62406
|
+
}
|
|
62407
|
+
|
|
62408
|
+
/**
|
|
62409
|
+
* Request parameters for getEventInterests operation in EventsInterestsApi.
|
|
62410
|
+
*/
|
|
62411
|
+
export interface EventsInterestsApiGetEventInterestsRequest {
|
|
62412
|
+
/**
|
|
62413
|
+
* The event identifier
|
|
62414
|
+
*/
|
|
62415
|
+
readonly eventId: string
|
|
62416
|
+
|
|
62417
|
+
/**
|
|
62418
|
+
* Page number
|
|
62419
|
+
*/
|
|
62420
|
+
readonly page?: number
|
|
62421
|
+
|
|
62422
|
+
/**
|
|
62423
|
+
* Number of items per page
|
|
62424
|
+
*/
|
|
62425
|
+
readonly pageSize?: number
|
|
62426
|
+
|
|
62427
|
+
/**
|
|
62428
|
+
* Field to order by
|
|
62429
|
+
*/
|
|
62430
|
+
readonly orderBy?: string
|
|
62431
|
+
|
|
62432
|
+
/**
|
|
62433
|
+
* Search query
|
|
62434
|
+
*/
|
|
62435
|
+
readonly search?: string
|
|
62436
|
+
}
|
|
62437
|
+
|
|
62438
|
+
/**
|
|
62439
|
+
* Request parameters for removeEventInterest operation in EventsInterestsApi.
|
|
62440
|
+
*/
|
|
62441
|
+
export interface EventsInterestsApiRemoveEventInterestRequest {
|
|
62442
|
+
/**
|
|
62443
|
+
* The event identifier
|
|
62444
|
+
*/
|
|
62445
|
+
readonly eventId: string
|
|
62446
|
+
|
|
62447
|
+
/**
|
|
62448
|
+
* The interest identifier
|
|
62449
|
+
*/
|
|
62450
|
+
readonly interestId: string
|
|
62451
|
+
}
|
|
62452
|
+
|
|
62453
|
+
/**
|
|
62454
|
+
* EventsInterestsApi - object-oriented interface
|
|
62455
|
+
*/
|
|
62456
|
+
export class EventsInterestsApi extends BaseAPI {
|
|
62457
|
+
/**
|
|
62458
|
+
* Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
62459
|
+
* @summary Add an interest to an event
|
|
62460
|
+
* @param {EventsInterestsApiAddEventInterestRequest} requestParameters Request parameters.
|
|
62461
|
+
* @param {*} [options] Override http request option.
|
|
62462
|
+
* @throws {RequiredError}
|
|
62463
|
+
*/
|
|
62464
|
+
public addEventInterest(requestParameters: EventsInterestsApiAddEventInterestRequest, options?: RawAxiosRequestConfig) {
|
|
62465
|
+
return EventsInterestsApiFp(this.configuration).addEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
|
|
62466
|
+
}
|
|
62467
|
+
|
|
62468
|
+
/**
|
|
62469
|
+
* Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
|
|
62470
|
+
* @summary List an event\'s interests
|
|
62471
|
+
* @param {EventsInterestsApiGetEventInterestsRequest} requestParameters Request parameters.
|
|
62472
|
+
* @param {*} [options] Override http request option.
|
|
62473
|
+
* @throws {RequiredError}
|
|
62474
|
+
*/
|
|
62475
|
+
public getEventInterests(requestParameters: EventsInterestsApiGetEventInterestsRequest, options?: RawAxiosRequestConfig) {
|
|
62476
|
+
return EventsInterestsApiFp(this.configuration).getEventInterests(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
62477
|
+
}
|
|
62478
|
+
|
|
62479
|
+
/**
|
|
62480
|
+
* Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
62481
|
+
* @summary Remove an interest from an event
|
|
62482
|
+
* @param {EventsInterestsApiRemoveEventInterestRequest} requestParameters Request parameters.
|
|
62483
|
+
* @param {*} [options] Override http request option.
|
|
62484
|
+
* @throws {RequiredError}
|
|
62485
|
+
*/
|
|
62486
|
+
public removeEventInterest(requestParameters: EventsInterestsApiRemoveEventInterestRequest, options?: RawAxiosRequestConfig) {
|
|
62487
|
+
return EventsInterestsApiFp(this.configuration).removeEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
|
|
62488
|
+
}
|
|
62489
|
+
}
|
|
62490
|
+
|
|
62491
|
+
|
|
62492
|
+
|
|
61408
62493
|
/**
|
|
61409
62494
|
* EventsMatchesApi - axios parameter creator
|
|
61410
62495
|
*/
|
|
@@ -79509,6 +80594,537 @@ export class EventsPasstypesPriceschedulesApi extends BaseAPI {
|
|
|
79509
80594
|
|
|
79510
80595
|
|
|
79511
80596
|
|
|
80597
|
+
/**
|
|
80598
|
+
* EventsPasstypesPriceschedulesTranslationsApi - axios parameter creator
|
|
80599
|
+
*/
|
|
80600
|
+
export const EventsPasstypesPriceschedulesTranslationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
80601
|
+
return {
|
|
80602
|
+
/**
|
|
80603
|
+
* Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
|
|
80604
|
+
* @summary Delete a pass type price schedule translation
|
|
80605
|
+
* @param {string} eventId The event identifier
|
|
80606
|
+
* @param {string} passTypeId The passType identifier
|
|
80607
|
+
* @param {string} scheduleId The schedule identifier
|
|
80608
|
+
* @param {string} locale The locale identifier
|
|
80609
|
+
* @param {*} [options] Override http request option.
|
|
80610
|
+
* @throws {RequiredError}
|
|
80611
|
+
*/
|
|
80612
|
+
deleteEventPassTypePriceScheduleTranslation: async (eventId: string, passTypeId: string, scheduleId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80613
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
80614
|
+
assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'eventId', eventId)
|
|
80615
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
80616
|
+
assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'passTypeId', passTypeId)
|
|
80617
|
+
// verify required parameter 'scheduleId' is not null or undefined
|
|
80618
|
+
assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'scheduleId', scheduleId)
|
|
80619
|
+
// verify required parameter 'locale' is not null or undefined
|
|
80620
|
+
assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'locale', locale)
|
|
80621
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale}`
|
|
80622
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
80623
|
+
.replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
|
|
80624
|
+
.replace('{scheduleId}', encodeURIComponent(String(scheduleId)))
|
|
80625
|
+
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
80626
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80627
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
80628
|
+
let baseOptions;
|
|
80629
|
+
if (configuration) {
|
|
80630
|
+
baseOptions = configuration.baseOptions;
|
|
80631
|
+
}
|
|
80632
|
+
|
|
80633
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
80634
|
+
const localVarHeaderParameter = {} as any;
|
|
80635
|
+
const localVarQueryParameter = {} as any;
|
|
80636
|
+
|
|
80637
|
+
// authentication ApiKeyAuth required
|
|
80638
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
80639
|
+
|
|
80640
|
+
// authentication OrganizationId required
|
|
80641
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
80642
|
+
|
|
80643
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
80644
|
+
|
|
80645
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80646
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80647
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
80648
|
+
|
|
80649
|
+
return {
|
|
80650
|
+
url: toPathString(localVarUrlObj),
|
|
80651
|
+
options: localVarRequestOptions,
|
|
80652
|
+
};
|
|
80653
|
+
},
|
|
80654
|
+
/**
|
|
80655
|
+
* Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
|
|
80656
|
+
* @summary Get a pass type price schedule\'s translation
|
|
80657
|
+
* @param {string} eventId The event identifier
|
|
80658
|
+
* @param {string} passTypeId The passType identifier
|
|
80659
|
+
* @param {string} scheduleId The schedule identifier
|
|
80660
|
+
* @param {string} locale The locale identifier
|
|
80661
|
+
* @param {*} [options] Override http request option.
|
|
80662
|
+
* @throws {RequiredError}
|
|
80663
|
+
*/
|
|
80664
|
+
getEventPassTypePriceScheduleTranslation: async (eventId: string, passTypeId: string, scheduleId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80665
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
80666
|
+
assertParamExists('getEventPassTypePriceScheduleTranslation', 'eventId', eventId)
|
|
80667
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
80668
|
+
assertParamExists('getEventPassTypePriceScheduleTranslation', 'passTypeId', passTypeId)
|
|
80669
|
+
// verify required parameter 'scheduleId' is not null or undefined
|
|
80670
|
+
assertParamExists('getEventPassTypePriceScheduleTranslation', 'scheduleId', scheduleId)
|
|
80671
|
+
// verify required parameter 'locale' is not null or undefined
|
|
80672
|
+
assertParamExists('getEventPassTypePriceScheduleTranslation', 'locale', locale)
|
|
80673
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale}`
|
|
80674
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
80675
|
+
.replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
|
|
80676
|
+
.replace('{scheduleId}', encodeURIComponent(String(scheduleId)))
|
|
80677
|
+
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
80678
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80679
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
80680
|
+
let baseOptions;
|
|
80681
|
+
if (configuration) {
|
|
80682
|
+
baseOptions = configuration.baseOptions;
|
|
80683
|
+
}
|
|
80684
|
+
|
|
80685
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
80686
|
+
const localVarHeaderParameter = {} as any;
|
|
80687
|
+
const localVarQueryParameter = {} as any;
|
|
80688
|
+
|
|
80689
|
+
// authentication ApiKeyAuth required
|
|
80690
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
80691
|
+
|
|
80692
|
+
// authentication OrganizationId required
|
|
80693
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
80694
|
+
|
|
80695
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
80696
|
+
|
|
80697
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80698
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80699
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
80700
|
+
|
|
80701
|
+
return {
|
|
80702
|
+
url: toPathString(localVarUrlObj),
|
|
80703
|
+
options: localVarRequestOptions,
|
|
80704
|
+
};
|
|
80705
|
+
},
|
|
80706
|
+
/**
|
|
80707
|
+
* Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
|
|
80708
|
+
* @summary List translations for a pass type price schedule
|
|
80709
|
+
* @param {string} eventId The event identifier
|
|
80710
|
+
* @param {string} passTypeId The passType identifier
|
|
80711
|
+
* @param {string} scheduleId The schedule identifier
|
|
80712
|
+
* @param {number} [page] Page number
|
|
80713
|
+
* @param {number} [pageSize] Number of items per page
|
|
80714
|
+
* @param {string} [orderBy] Field to order by
|
|
80715
|
+
* @param {string} [search] Search query
|
|
80716
|
+
* @param {*} [options] Override http request option.
|
|
80717
|
+
* @throws {RequiredError}
|
|
80718
|
+
*/
|
|
80719
|
+
getEventPassTypePriceScheduleTranslations: async (eventId: string, passTypeId: string, scheduleId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80720
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
80721
|
+
assertParamExists('getEventPassTypePriceScheduleTranslations', 'eventId', eventId)
|
|
80722
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
80723
|
+
assertParamExists('getEventPassTypePriceScheduleTranslations', 'passTypeId', passTypeId)
|
|
80724
|
+
// verify required parameter 'scheduleId' is not null or undefined
|
|
80725
|
+
assertParamExists('getEventPassTypePriceScheduleTranslations', 'scheduleId', scheduleId)
|
|
80726
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations`
|
|
80727
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
80728
|
+
.replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
|
|
80729
|
+
.replace('{scheduleId}', encodeURIComponent(String(scheduleId)));
|
|
80730
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80731
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
80732
|
+
let baseOptions;
|
|
80733
|
+
if (configuration) {
|
|
80734
|
+
baseOptions = configuration.baseOptions;
|
|
80735
|
+
}
|
|
80736
|
+
|
|
80737
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
80738
|
+
const localVarHeaderParameter = {} as any;
|
|
80739
|
+
const localVarQueryParameter = {} as any;
|
|
80740
|
+
|
|
80741
|
+
// authentication ApiKeyAuth required
|
|
80742
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
80743
|
+
|
|
80744
|
+
// authentication OrganizationId required
|
|
80745
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
80746
|
+
|
|
80747
|
+
if (page !== undefined) {
|
|
80748
|
+
localVarQueryParameter['page'] = page;
|
|
80749
|
+
}
|
|
80750
|
+
|
|
80751
|
+
if (pageSize !== undefined) {
|
|
80752
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
80753
|
+
}
|
|
80754
|
+
|
|
80755
|
+
if (orderBy !== undefined) {
|
|
80756
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
80757
|
+
}
|
|
80758
|
+
|
|
80759
|
+
if (search !== undefined) {
|
|
80760
|
+
localVarQueryParameter['search'] = search;
|
|
80761
|
+
}
|
|
80762
|
+
|
|
80763
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
80764
|
+
|
|
80765
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80766
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80767
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
80768
|
+
|
|
80769
|
+
return {
|
|
80770
|
+
url: toPathString(localVarUrlObj),
|
|
80771
|
+
options: localVarRequestOptions,
|
|
80772
|
+
};
|
|
80773
|
+
},
|
|
80774
|
+
/**
|
|
80775
|
+
* Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
|
|
80776
|
+
* @summary Update a pass type price schedule\'s translation
|
|
80777
|
+
* @param {string} eventId The event identifier
|
|
80778
|
+
* @param {string} passTypeId The passType identifier
|
|
80779
|
+
* @param {string} scheduleId The schedule identifier
|
|
80780
|
+
* @param {string} locale The locale identifier
|
|
80781
|
+
* @param {PassTypePriceScheduleTranslationUpdateInputs} passTypePriceScheduleTranslationUpdateInputs
|
|
80782
|
+
* @param {*} [options] Override http request option.
|
|
80783
|
+
* @throws {RequiredError}
|
|
80784
|
+
*/
|
|
80785
|
+
updateEventPassTypePriceScheduleTranslation: async (eventId: string, passTypeId: string, scheduleId: string, locale: string, passTypePriceScheduleTranslationUpdateInputs: PassTypePriceScheduleTranslationUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80786
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
80787
|
+
assertParamExists('updateEventPassTypePriceScheduleTranslation', 'eventId', eventId)
|
|
80788
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
80789
|
+
assertParamExists('updateEventPassTypePriceScheduleTranslation', 'passTypeId', passTypeId)
|
|
80790
|
+
// verify required parameter 'scheduleId' is not null or undefined
|
|
80791
|
+
assertParamExists('updateEventPassTypePriceScheduleTranslation', 'scheduleId', scheduleId)
|
|
80792
|
+
// verify required parameter 'locale' is not null or undefined
|
|
80793
|
+
assertParamExists('updateEventPassTypePriceScheduleTranslation', 'locale', locale)
|
|
80794
|
+
// verify required parameter 'passTypePriceScheduleTranslationUpdateInputs' is not null or undefined
|
|
80795
|
+
assertParamExists('updateEventPassTypePriceScheduleTranslation', 'passTypePriceScheduleTranslationUpdateInputs', passTypePriceScheduleTranslationUpdateInputs)
|
|
80796
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale}`
|
|
80797
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
80798
|
+
.replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
|
|
80799
|
+
.replace('{scheduleId}', encodeURIComponent(String(scheduleId)))
|
|
80800
|
+
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
80801
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80802
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
80803
|
+
let baseOptions;
|
|
80804
|
+
if (configuration) {
|
|
80805
|
+
baseOptions = configuration.baseOptions;
|
|
80806
|
+
}
|
|
80807
|
+
|
|
80808
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
80809
|
+
const localVarHeaderParameter = {} as any;
|
|
80810
|
+
const localVarQueryParameter = {} as any;
|
|
80811
|
+
|
|
80812
|
+
// authentication ApiKeyAuth required
|
|
80813
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
80814
|
+
|
|
80815
|
+
// authentication OrganizationId required
|
|
80816
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
80817
|
+
|
|
80818
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
80819
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
80820
|
+
|
|
80821
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80822
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80823
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
80824
|
+
localVarRequestOptions.data = serializeDataIfNeeded(passTypePriceScheduleTranslationUpdateInputs, localVarRequestOptions, configuration)
|
|
80825
|
+
|
|
80826
|
+
return {
|
|
80827
|
+
url: toPathString(localVarUrlObj),
|
|
80828
|
+
options: localVarRequestOptions,
|
|
80829
|
+
};
|
|
80830
|
+
},
|
|
80831
|
+
}
|
|
80832
|
+
};
|
|
80833
|
+
|
|
80834
|
+
/**
|
|
80835
|
+
* EventsPasstypesPriceschedulesTranslationsApi - functional programming interface
|
|
80836
|
+
*/
|
|
80837
|
+
export const EventsPasstypesPriceschedulesTranslationsApiFp = function(configuration?: Configuration) {
|
|
80838
|
+
const localVarAxiosParamCreator = EventsPasstypesPriceschedulesTranslationsApiAxiosParamCreator(configuration)
|
|
80839
|
+
return {
|
|
80840
|
+
/**
|
|
80841
|
+
* Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
|
|
80842
|
+
* @summary Delete a pass type price schedule translation
|
|
80843
|
+
* @param {string} eventId The event identifier
|
|
80844
|
+
* @param {string} passTypeId The passType identifier
|
|
80845
|
+
* @param {string} scheduleId The schedule identifier
|
|
80846
|
+
* @param {string} locale The locale identifier
|
|
80847
|
+
* @param {*} [options] Override http request option.
|
|
80848
|
+
* @throws {RequiredError}
|
|
80849
|
+
*/
|
|
80850
|
+
async deleteEventPassTypePriceScheduleTranslation(eventId: string, passTypeId: string, scheduleId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateEventPassTypePriceScheduleTranslation200Response>> {
|
|
80851
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, options);
|
|
80852
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
80853
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.deleteEventPassTypePriceScheduleTranslation']?.[localVarOperationServerIndex]?.url;
|
|
80854
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
80855
|
+
},
|
|
80856
|
+
/**
|
|
80857
|
+
* Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
|
|
80858
|
+
* @summary Get a pass type price schedule\'s translation
|
|
80859
|
+
* @param {string} eventId The event identifier
|
|
80860
|
+
* @param {string} passTypeId The passType identifier
|
|
80861
|
+
* @param {string} scheduleId The schedule identifier
|
|
80862
|
+
* @param {string} locale The locale identifier
|
|
80863
|
+
* @param {*} [options] Override http request option.
|
|
80864
|
+
* @throws {RequiredError}
|
|
80865
|
+
*/
|
|
80866
|
+
async getEventPassTypePriceScheduleTranslation(eventId: string, passTypeId: string, scheduleId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassTypePriceScheduleTranslation200Response>> {
|
|
80867
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, options);
|
|
80868
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
80869
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.getEventPassTypePriceScheduleTranslation']?.[localVarOperationServerIndex]?.url;
|
|
80870
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
80871
|
+
},
|
|
80872
|
+
/**
|
|
80873
|
+
* Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
|
|
80874
|
+
* @summary List translations for a pass type price schedule
|
|
80875
|
+
* @param {string} eventId The event identifier
|
|
80876
|
+
* @param {string} passTypeId The passType identifier
|
|
80877
|
+
* @param {string} scheduleId The schedule identifier
|
|
80878
|
+
* @param {number} [page] Page number
|
|
80879
|
+
* @param {number} [pageSize] Number of items per page
|
|
80880
|
+
* @param {string} [orderBy] Field to order by
|
|
80881
|
+
* @param {string} [search] Search query
|
|
80882
|
+
* @param {*} [options] Override http request option.
|
|
80883
|
+
* @throws {RequiredError}
|
|
80884
|
+
*/
|
|
80885
|
+
async getEventPassTypePriceScheduleTranslations(eventId: string, passTypeId: string, scheduleId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassTypePriceScheduleTranslations200Response>> {
|
|
80886
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassTypePriceScheduleTranslations(eventId, passTypeId, scheduleId, page, pageSize, orderBy, search, options);
|
|
80887
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
80888
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.getEventPassTypePriceScheduleTranslations']?.[localVarOperationServerIndex]?.url;
|
|
80889
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
80890
|
+
},
|
|
80891
|
+
/**
|
|
80892
|
+
* Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
|
|
80893
|
+
* @summary Update a pass type price schedule\'s translation
|
|
80894
|
+
* @param {string} eventId The event identifier
|
|
80895
|
+
* @param {string} passTypeId The passType identifier
|
|
80896
|
+
* @param {string} scheduleId The schedule identifier
|
|
80897
|
+
* @param {string} locale The locale identifier
|
|
80898
|
+
* @param {PassTypePriceScheduleTranslationUpdateInputs} passTypePriceScheduleTranslationUpdateInputs
|
|
80899
|
+
* @param {*} [options] Override http request option.
|
|
80900
|
+
* @throws {RequiredError}
|
|
80901
|
+
*/
|
|
80902
|
+
async updateEventPassTypePriceScheduleTranslation(eventId: string, passTypeId: string, scheduleId: string, locale: string, passTypePriceScheduleTranslationUpdateInputs: PassTypePriceScheduleTranslationUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateEventPassTypePriceScheduleTranslation200Response>> {
|
|
80903
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, passTypePriceScheduleTranslationUpdateInputs, options);
|
|
80904
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
80905
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.updateEventPassTypePriceScheduleTranslation']?.[localVarOperationServerIndex]?.url;
|
|
80906
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
80907
|
+
},
|
|
80908
|
+
}
|
|
80909
|
+
};
|
|
80910
|
+
|
|
80911
|
+
/**
|
|
80912
|
+
* EventsPasstypesPriceschedulesTranslationsApi - factory interface
|
|
80913
|
+
*/
|
|
80914
|
+
export const EventsPasstypesPriceschedulesTranslationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
80915
|
+
const localVarFp = EventsPasstypesPriceschedulesTranslationsApiFp(configuration)
|
|
80916
|
+
return {
|
|
80917
|
+
/**
|
|
80918
|
+
* Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
|
|
80919
|
+
* @summary Delete a pass type price schedule translation
|
|
80920
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
|
|
80921
|
+
* @param {*} [options] Override http request option.
|
|
80922
|
+
* @throws {RequiredError}
|
|
80923
|
+
*/
|
|
80924
|
+
deleteEventPassTypePriceScheduleTranslation(requestParameters: EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateEventPassTypePriceScheduleTranslation200Response> {
|
|
80925
|
+
return localVarFp.deleteEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(axios, basePath));
|
|
80926
|
+
},
|
|
80927
|
+
/**
|
|
80928
|
+
* Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
|
|
80929
|
+
* @summary Get a pass type price schedule\'s translation
|
|
80930
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
|
|
80931
|
+
* @param {*} [options] Override http request option.
|
|
80932
|
+
* @throws {RequiredError}
|
|
80933
|
+
*/
|
|
80934
|
+
getEventPassTypePriceScheduleTranslation(requestParameters: EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassTypePriceScheduleTranslation200Response> {
|
|
80935
|
+
return localVarFp.getEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(axios, basePath));
|
|
80936
|
+
},
|
|
80937
|
+
/**
|
|
80938
|
+
* Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
|
|
80939
|
+
* @summary List translations for a pass type price schedule
|
|
80940
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest} requestParameters Request parameters.
|
|
80941
|
+
* @param {*} [options] Override http request option.
|
|
80942
|
+
* @throws {RequiredError}
|
|
80943
|
+
*/
|
|
80944
|
+
getEventPassTypePriceScheduleTranslations(requestParameters: EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassTypePriceScheduleTranslations200Response> {
|
|
80945
|
+
return localVarFp.getEventPassTypePriceScheduleTranslations(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
80946
|
+
},
|
|
80947
|
+
/**
|
|
80948
|
+
* Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
|
|
80949
|
+
* @summary Update a pass type price schedule\'s translation
|
|
80950
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
|
|
80951
|
+
* @param {*} [options] Override http request option.
|
|
80952
|
+
* @throws {RequiredError}
|
|
80953
|
+
*/
|
|
80954
|
+
updateEventPassTypePriceScheduleTranslation(requestParameters: EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateEventPassTypePriceScheduleTranslation200Response> {
|
|
80955
|
+
return localVarFp.updateEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, requestParameters.passTypePriceScheduleTranslationUpdateInputs, options).then((request) => request(axios, basePath));
|
|
80956
|
+
},
|
|
80957
|
+
};
|
|
80958
|
+
};
|
|
80959
|
+
|
|
80960
|
+
/**
|
|
80961
|
+
* Request parameters for deleteEventPassTypePriceScheduleTranslation operation in EventsPasstypesPriceschedulesTranslationsApi.
|
|
80962
|
+
*/
|
|
80963
|
+
export interface EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest {
|
|
80964
|
+
/**
|
|
80965
|
+
* The event identifier
|
|
80966
|
+
*/
|
|
80967
|
+
readonly eventId: string
|
|
80968
|
+
|
|
80969
|
+
/**
|
|
80970
|
+
* The passType identifier
|
|
80971
|
+
*/
|
|
80972
|
+
readonly passTypeId: string
|
|
80973
|
+
|
|
80974
|
+
/**
|
|
80975
|
+
* The schedule identifier
|
|
80976
|
+
*/
|
|
80977
|
+
readonly scheduleId: string
|
|
80978
|
+
|
|
80979
|
+
/**
|
|
80980
|
+
* The locale identifier
|
|
80981
|
+
*/
|
|
80982
|
+
readonly locale: string
|
|
80983
|
+
}
|
|
80984
|
+
|
|
80985
|
+
/**
|
|
80986
|
+
* Request parameters for getEventPassTypePriceScheduleTranslation operation in EventsPasstypesPriceschedulesTranslationsApi.
|
|
80987
|
+
*/
|
|
80988
|
+
export interface EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest {
|
|
80989
|
+
/**
|
|
80990
|
+
* The event identifier
|
|
80991
|
+
*/
|
|
80992
|
+
readonly eventId: string
|
|
80993
|
+
|
|
80994
|
+
/**
|
|
80995
|
+
* The passType identifier
|
|
80996
|
+
*/
|
|
80997
|
+
readonly passTypeId: string
|
|
80998
|
+
|
|
80999
|
+
/**
|
|
81000
|
+
* The schedule identifier
|
|
81001
|
+
*/
|
|
81002
|
+
readonly scheduleId: string
|
|
81003
|
+
|
|
81004
|
+
/**
|
|
81005
|
+
* The locale identifier
|
|
81006
|
+
*/
|
|
81007
|
+
readonly locale: string
|
|
81008
|
+
}
|
|
81009
|
+
|
|
81010
|
+
/**
|
|
81011
|
+
* Request parameters for getEventPassTypePriceScheduleTranslations operation in EventsPasstypesPriceschedulesTranslationsApi.
|
|
81012
|
+
*/
|
|
81013
|
+
export interface EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest {
|
|
81014
|
+
/**
|
|
81015
|
+
* The event identifier
|
|
81016
|
+
*/
|
|
81017
|
+
readonly eventId: string
|
|
81018
|
+
|
|
81019
|
+
/**
|
|
81020
|
+
* The passType identifier
|
|
81021
|
+
*/
|
|
81022
|
+
readonly passTypeId: string
|
|
81023
|
+
|
|
81024
|
+
/**
|
|
81025
|
+
* The schedule identifier
|
|
81026
|
+
*/
|
|
81027
|
+
readonly scheduleId: string
|
|
81028
|
+
|
|
81029
|
+
/**
|
|
81030
|
+
* Page number
|
|
81031
|
+
*/
|
|
81032
|
+
readonly page?: number
|
|
81033
|
+
|
|
81034
|
+
/**
|
|
81035
|
+
* Number of items per page
|
|
81036
|
+
*/
|
|
81037
|
+
readonly pageSize?: number
|
|
81038
|
+
|
|
81039
|
+
/**
|
|
81040
|
+
* Field to order by
|
|
81041
|
+
*/
|
|
81042
|
+
readonly orderBy?: string
|
|
81043
|
+
|
|
81044
|
+
/**
|
|
81045
|
+
* Search query
|
|
81046
|
+
*/
|
|
81047
|
+
readonly search?: string
|
|
81048
|
+
}
|
|
81049
|
+
|
|
81050
|
+
/**
|
|
81051
|
+
* Request parameters for updateEventPassTypePriceScheduleTranslation operation in EventsPasstypesPriceschedulesTranslationsApi.
|
|
81052
|
+
*/
|
|
81053
|
+
export interface EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest {
|
|
81054
|
+
/**
|
|
81055
|
+
* The event identifier
|
|
81056
|
+
*/
|
|
81057
|
+
readonly eventId: string
|
|
81058
|
+
|
|
81059
|
+
/**
|
|
81060
|
+
* The passType identifier
|
|
81061
|
+
*/
|
|
81062
|
+
readonly passTypeId: string
|
|
81063
|
+
|
|
81064
|
+
/**
|
|
81065
|
+
* The schedule identifier
|
|
81066
|
+
*/
|
|
81067
|
+
readonly scheduleId: string
|
|
81068
|
+
|
|
81069
|
+
/**
|
|
81070
|
+
* The locale identifier
|
|
81071
|
+
*/
|
|
81072
|
+
readonly locale: string
|
|
81073
|
+
|
|
81074
|
+
readonly passTypePriceScheduleTranslationUpdateInputs: PassTypePriceScheduleTranslationUpdateInputs
|
|
81075
|
+
}
|
|
81076
|
+
|
|
81077
|
+
/**
|
|
81078
|
+
* EventsPasstypesPriceschedulesTranslationsApi - object-oriented interface
|
|
81079
|
+
*/
|
|
81080
|
+
export class EventsPasstypesPriceschedulesTranslationsApi extends BaseAPI {
|
|
81081
|
+
/**
|
|
81082
|
+
* Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
|
|
81083
|
+
* @summary Delete a pass type price schedule translation
|
|
81084
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
|
|
81085
|
+
* @param {*} [options] Override http request option.
|
|
81086
|
+
* @throws {RequiredError}
|
|
81087
|
+
*/
|
|
81088
|
+
public deleteEventPassTypePriceScheduleTranslation(requestParameters: EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest, options?: RawAxiosRequestConfig) {
|
|
81089
|
+
return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).deleteEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
|
|
81090
|
+
}
|
|
81091
|
+
|
|
81092
|
+
/**
|
|
81093
|
+
* Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
|
|
81094
|
+
* @summary Get a pass type price schedule\'s translation
|
|
81095
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
|
|
81096
|
+
* @param {*} [options] Override http request option.
|
|
81097
|
+
* @throws {RequiredError}
|
|
81098
|
+
*/
|
|
81099
|
+
public getEventPassTypePriceScheduleTranslation(requestParameters: EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest, options?: RawAxiosRequestConfig) {
|
|
81100
|
+
return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).getEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
|
|
81101
|
+
}
|
|
81102
|
+
|
|
81103
|
+
/**
|
|
81104
|
+
* Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
|
|
81105
|
+
* @summary List translations for a pass type price schedule
|
|
81106
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest} requestParameters Request parameters.
|
|
81107
|
+
* @param {*} [options] Override http request option.
|
|
81108
|
+
* @throws {RequiredError}
|
|
81109
|
+
*/
|
|
81110
|
+
public getEventPassTypePriceScheduleTranslations(requestParameters: EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest, options?: RawAxiosRequestConfig) {
|
|
81111
|
+
return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).getEventPassTypePriceScheduleTranslations(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
81112
|
+
}
|
|
81113
|
+
|
|
81114
|
+
/**
|
|
81115
|
+
* Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
|
|
81116
|
+
* @summary Update a pass type price schedule\'s translation
|
|
81117
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
|
|
81118
|
+
* @param {*} [options] Override http request option.
|
|
81119
|
+
* @throws {RequiredError}
|
|
81120
|
+
*/
|
|
81121
|
+
public updateEventPassTypePriceScheduleTranslation(requestParameters: EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest, options?: RawAxiosRequestConfig) {
|
|
81122
|
+
return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).updateEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, requestParameters.passTypePriceScheduleTranslationUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
81123
|
+
}
|
|
81124
|
+
}
|
|
81125
|
+
|
|
81126
|
+
|
|
81127
|
+
|
|
79512
81128
|
/**
|
|
79513
81129
|
* EventsPasstypesRefundschedulesApi - axios parameter creator
|
|
79514
81130
|
*/
|
|
@@ -117216,7 +118832,7 @@ export class GroupsEventsApi extends BaseAPI {
|
|
|
117216
118832
|
export const GroupsInterestsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
117217
118833
|
return {
|
|
117218
118834
|
/**
|
|
117219
|
-
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
118835
|
+
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
117220
118836
|
* @summary Add an interest to a group
|
|
117221
118837
|
* @param {string} groupId The group identifier
|
|
117222
118838
|
* @param {string} interestId The interest identifier
|
|
@@ -117320,7 +118936,7 @@ export const GroupsInterestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
117320
118936
|
};
|
|
117321
118937
|
},
|
|
117322
118938
|
/**
|
|
117323
|
-
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
118939
|
+
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
117324
118940
|
* @summary Remove an interest from a group
|
|
117325
118941
|
* @param {string} groupId The group identifier
|
|
117326
118942
|
* @param {string} accountId The account identifier
|
|
@@ -117373,7 +118989,7 @@ export const GroupsInterestsApiFp = function(configuration?: Configuration) {
|
|
|
117373
118989
|
const localVarAxiosParamCreator = GroupsInterestsApiAxiosParamCreator(configuration)
|
|
117374
118990
|
return {
|
|
117375
118991
|
/**
|
|
117376
|
-
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
118992
|
+
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
117377
118993
|
* @summary Add an interest to a group
|
|
117378
118994
|
* @param {string} groupId The group identifier
|
|
117379
118995
|
* @param {string} interestId The interest identifier
|
|
@@ -117404,7 +119020,7 @@ export const GroupsInterestsApiFp = function(configuration?: Configuration) {
|
|
|
117404
119020
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
117405
119021
|
},
|
|
117406
119022
|
/**
|
|
117407
|
-
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
119023
|
+
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
117408
119024
|
* @summary Remove an interest from a group
|
|
117409
119025
|
* @param {string} groupId The group identifier
|
|
117410
119026
|
* @param {string} accountId The account identifier
|
|
@@ -117427,7 +119043,7 @@ export const GroupsInterestsApiFactory = function (configuration?: Configuration
|
|
|
117427
119043
|
const localVarFp = GroupsInterestsApiFp(configuration)
|
|
117428
119044
|
return {
|
|
117429
119045
|
/**
|
|
117430
|
-
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
119046
|
+
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
117431
119047
|
* @summary Add an interest to a group
|
|
117432
119048
|
* @param {GroupsInterestsApiAddGroupInterestRequest} requestParameters Request parameters.
|
|
117433
119049
|
* @param {*} [options] Override http request option.
|
|
@@ -117447,7 +119063,7 @@ export const GroupsInterestsApiFactory = function (configuration?: Configuration
|
|
|
117447
119063
|
return localVarFp.getGroupInterests(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
117448
119064
|
},
|
|
117449
119065
|
/**
|
|
117450
|
-
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
119066
|
+
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
117451
119067
|
* @summary Remove an interest from a group
|
|
117452
119068
|
* @param {GroupsInterestsApiRemoveGroupInterestRequest} requestParameters Request parameters.
|
|
117453
119069
|
* @param {*} [options] Override http request option.
|
|
@@ -117524,7 +119140,7 @@ export interface GroupsInterestsApiRemoveGroupInterestRequest {
|
|
|
117524
119140
|
*/
|
|
117525
119141
|
export class GroupsInterestsApi extends BaseAPI {
|
|
117526
119142
|
/**
|
|
117527
|
-
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
119143
|
+
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
117528
119144
|
* @summary Add an interest to a group
|
|
117529
119145
|
* @param {GroupsInterestsApiAddGroupInterestRequest} requestParameters Request parameters.
|
|
117530
119146
|
* @param {*} [options] Override http request option.
|
|
@@ -117546,7 +119162,7 @@ export class GroupsInterestsApi extends BaseAPI {
|
|
|
117546
119162
|
}
|
|
117547
119163
|
|
|
117548
119164
|
/**
|
|
117549
|
-
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
119165
|
+
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
117550
119166
|
* @summary Remove an interest from a group
|
|
117551
119167
|
* @param {GroupsInterestsApiRemoveGroupInterestRequest} requestParameters Request parameters.
|
|
117552
119168
|
* @param {*} [options] Override http request option.
|