@connectedxm/admin-sdk 16.15.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 +6 -0
- package/AdminApi.ts +3 -0
- package/README.md +2 -2
- package/api.ts +573 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +313 -1
- package/dist/api.js +431 -26
- 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 +2 -1
- package/dist/esm/AdminApi.js +2 -1
- package/dist/esm/api.d.ts +313 -1
- package/dist/esm/api.js +402 -1
- 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/EventPassTypePriceScheduleTranslation.md +28 -0
- package/docs/EventsPasstypesPriceschedulesTranslationsApi.md +264 -0
- package/docs/GetEventPassTypePriceScheduleTranslation200Response.md +24 -0
- package/docs/GetEventPassTypePriceScheduleTranslations200Response.md +26 -0
- package/docs/PassTypePriceScheduleTranslationUpdateInputs.md +20 -0
- package/docs/UpdateEventPassTypePriceScheduleTranslation200Response.md +24 -0
- package/package.json +1 -1
package/dist/esm/api.js
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).
|
|
@@ -1352,6 +1352,14 @@ export var GetEventPassTypePriceSchedule200ResponseStatusEnum;
|
|
|
1352
1352
|
(function (GetEventPassTypePriceSchedule200ResponseStatusEnum) {
|
|
1353
1353
|
GetEventPassTypePriceSchedule200ResponseStatusEnum["Ok"] = "ok";
|
|
1354
1354
|
})(GetEventPassTypePriceSchedule200ResponseStatusEnum || (GetEventPassTypePriceSchedule200ResponseStatusEnum = {}));
|
|
1355
|
+
export var GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum;
|
|
1356
|
+
(function (GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum) {
|
|
1357
|
+
GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum["Ok"] = "ok";
|
|
1358
|
+
})(GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum || (GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum = {}));
|
|
1359
|
+
export var GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum;
|
|
1360
|
+
(function (GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum) {
|
|
1361
|
+
GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum["Ok"] = "ok";
|
|
1362
|
+
})(GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum || (GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum = {}));
|
|
1355
1363
|
export var GetEventPassTypePriceSchedules200ResponseStatusEnum;
|
|
1356
1364
|
(function (GetEventPassTypePriceSchedules200ResponseStatusEnum) {
|
|
1357
1365
|
GetEventPassTypePriceSchedules200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -3104,6 +3112,10 @@ export var UpdateEventPassAttributes200ResponseStatusEnum;
|
|
|
3104
3112
|
(function (UpdateEventPassAttributes200ResponseStatusEnum) {
|
|
3105
3113
|
UpdateEventPassAttributes200ResponseStatusEnum["Ok"] = "ok";
|
|
3106
3114
|
})(UpdateEventPassAttributes200ResponseStatusEnum || (UpdateEventPassAttributes200ResponseStatusEnum = {}));
|
|
3115
|
+
export var UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum;
|
|
3116
|
+
(function (UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum) {
|
|
3117
|
+
UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum["Ok"] = "ok";
|
|
3118
|
+
})(UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum || (UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum = {}));
|
|
3107
3119
|
export var UpdateEventRoundQuestion200ResponseStatusEnum;
|
|
3108
3120
|
(function (UpdateEventRoundQuestion200ResponseStatusEnum) {
|
|
3109
3121
|
UpdateEventRoundQuestion200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -51744,6 +51756,395 @@ export class EventsPasstypesPriceschedulesApi extends BaseAPI {
|
|
|
51744
51756
|
return EventsPasstypesPriceschedulesApiFp(this.configuration).updateEventPassTypePriceSchedule(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.passTypePriceScheduleUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
51745
51757
|
}
|
|
51746
51758
|
}
|
|
51759
|
+
/**
|
|
51760
|
+
* EventsPasstypesPriceschedulesTranslationsApi - axios parameter creator
|
|
51761
|
+
*/
|
|
51762
|
+
export const EventsPasstypesPriceschedulesTranslationsApiAxiosParamCreator = function (configuration) {
|
|
51763
|
+
return {
|
|
51764
|
+
/**
|
|
51765
|
+
* Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
|
|
51766
|
+
* @summary Delete a pass type price schedule translation
|
|
51767
|
+
* @param {string} eventId The event identifier
|
|
51768
|
+
* @param {string} passTypeId The passType identifier
|
|
51769
|
+
* @param {string} scheduleId The schedule identifier
|
|
51770
|
+
* @param {string} locale The locale identifier
|
|
51771
|
+
* @param {*} [options] Override http request option.
|
|
51772
|
+
* @throws {RequiredError}
|
|
51773
|
+
*/
|
|
51774
|
+
deleteEventPassTypePriceScheduleTranslation: (eventId_1, passTypeId_1, scheduleId_1, locale_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, scheduleId_1, locale_1, ...args_1], void 0, function* (eventId, passTypeId, scheduleId, locale, options = {}) {
|
|
51775
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
51776
|
+
assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'eventId', eventId);
|
|
51777
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
51778
|
+
assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'passTypeId', passTypeId);
|
|
51779
|
+
// verify required parameter 'scheduleId' is not null or undefined
|
|
51780
|
+
assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'scheduleId', scheduleId);
|
|
51781
|
+
// verify required parameter 'locale' is not null or undefined
|
|
51782
|
+
assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'locale', locale);
|
|
51783
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale}`
|
|
51784
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
51785
|
+
.replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
|
|
51786
|
+
.replace('{scheduleId}', encodeURIComponent(String(scheduleId)))
|
|
51787
|
+
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
51788
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51789
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51790
|
+
let baseOptions;
|
|
51791
|
+
if (configuration) {
|
|
51792
|
+
baseOptions = configuration.baseOptions;
|
|
51793
|
+
}
|
|
51794
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
51795
|
+
const localVarHeaderParameter = {};
|
|
51796
|
+
const localVarQueryParameter = {};
|
|
51797
|
+
// authentication ApiKeyAuth required
|
|
51798
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
51799
|
+
// authentication OrganizationId required
|
|
51800
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
51801
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
51802
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
51803
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
51804
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
51805
|
+
return {
|
|
51806
|
+
url: toPathString(localVarUrlObj),
|
|
51807
|
+
options: localVarRequestOptions,
|
|
51808
|
+
};
|
|
51809
|
+
}),
|
|
51810
|
+
/**
|
|
51811
|
+
* 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.
|
|
51812
|
+
* @summary Get a pass type price schedule\'s translation
|
|
51813
|
+
* @param {string} eventId The event identifier
|
|
51814
|
+
* @param {string} passTypeId The passType identifier
|
|
51815
|
+
* @param {string} scheduleId The schedule identifier
|
|
51816
|
+
* @param {string} locale The locale identifier
|
|
51817
|
+
* @param {*} [options] Override http request option.
|
|
51818
|
+
* @throws {RequiredError}
|
|
51819
|
+
*/
|
|
51820
|
+
getEventPassTypePriceScheduleTranslation: (eventId_1, passTypeId_1, scheduleId_1, locale_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, scheduleId_1, locale_1, ...args_1], void 0, function* (eventId, passTypeId, scheduleId, locale, options = {}) {
|
|
51821
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
51822
|
+
assertParamExists('getEventPassTypePriceScheduleTranslation', 'eventId', eventId);
|
|
51823
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
51824
|
+
assertParamExists('getEventPassTypePriceScheduleTranslation', 'passTypeId', passTypeId);
|
|
51825
|
+
// verify required parameter 'scheduleId' is not null or undefined
|
|
51826
|
+
assertParamExists('getEventPassTypePriceScheduleTranslation', 'scheduleId', scheduleId);
|
|
51827
|
+
// verify required parameter 'locale' is not null or undefined
|
|
51828
|
+
assertParamExists('getEventPassTypePriceScheduleTranslation', 'locale', locale);
|
|
51829
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale}`
|
|
51830
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
51831
|
+
.replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
|
|
51832
|
+
.replace('{scheduleId}', encodeURIComponent(String(scheduleId)))
|
|
51833
|
+
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
51834
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51835
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51836
|
+
let baseOptions;
|
|
51837
|
+
if (configuration) {
|
|
51838
|
+
baseOptions = configuration.baseOptions;
|
|
51839
|
+
}
|
|
51840
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
51841
|
+
const localVarHeaderParameter = {};
|
|
51842
|
+
const localVarQueryParameter = {};
|
|
51843
|
+
// authentication ApiKeyAuth required
|
|
51844
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
51845
|
+
// authentication OrganizationId required
|
|
51846
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
51847
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
51848
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
51849
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
51850
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
51851
|
+
return {
|
|
51852
|
+
url: toPathString(localVarUrlObj),
|
|
51853
|
+
options: localVarRequestOptions,
|
|
51854
|
+
};
|
|
51855
|
+
}),
|
|
51856
|
+
/**
|
|
51857
|
+
* Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
|
|
51858
|
+
* @summary List translations for a pass type price schedule
|
|
51859
|
+
* @param {string} eventId The event identifier
|
|
51860
|
+
* @param {string} passTypeId The passType identifier
|
|
51861
|
+
* @param {string} scheduleId The schedule identifier
|
|
51862
|
+
* @param {number} [page] Page number
|
|
51863
|
+
* @param {number} [pageSize] Number of items per page
|
|
51864
|
+
* @param {string} [orderBy] Field to order by
|
|
51865
|
+
* @param {string} [search] Search query
|
|
51866
|
+
* @param {*} [options] Override http request option.
|
|
51867
|
+
* @throws {RequiredError}
|
|
51868
|
+
*/
|
|
51869
|
+
getEventPassTypePriceScheduleTranslations: (eventId_1, passTypeId_1, scheduleId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, scheduleId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, passTypeId, scheduleId, page, pageSize, orderBy, search, options = {}) {
|
|
51870
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
51871
|
+
assertParamExists('getEventPassTypePriceScheduleTranslations', 'eventId', eventId);
|
|
51872
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
51873
|
+
assertParamExists('getEventPassTypePriceScheduleTranslations', 'passTypeId', passTypeId);
|
|
51874
|
+
// verify required parameter 'scheduleId' is not null or undefined
|
|
51875
|
+
assertParamExists('getEventPassTypePriceScheduleTranslations', 'scheduleId', scheduleId);
|
|
51876
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations`
|
|
51877
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
51878
|
+
.replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
|
|
51879
|
+
.replace('{scheduleId}', encodeURIComponent(String(scheduleId)));
|
|
51880
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51881
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51882
|
+
let baseOptions;
|
|
51883
|
+
if (configuration) {
|
|
51884
|
+
baseOptions = configuration.baseOptions;
|
|
51885
|
+
}
|
|
51886
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
51887
|
+
const localVarHeaderParameter = {};
|
|
51888
|
+
const localVarQueryParameter = {};
|
|
51889
|
+
// authentication ApiKeyAuth required
|
|
51890
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
51891
|
+
// authentication OrganizationId required
|
|
51892
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
51893
|
+
if (page !== undefined) {
|
|
51894
|
+
localVarQueryParameter['page'] = page;
|
|
51895
|
+
}
|
|
51896
|
+
if (pageSize !== undefined) {
|
|
51897
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
51898
|
+
}
|
|
51899
|
+
if (orderBy !== undefined) {
|
|
51900
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
51901
|
+
}
|
|
51902
|
+
if (search !== undefined) {
|
|
51903
|
+
localVarQueryParameter['search'] = search;
|
|
51904
|
+
}
|
|
51905
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
51906
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
51907
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
51908
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
51909
|
+
return {
|
|
51910
|
+
url: toPathString(localVarUrlObj),
|
|
51911
|
+
options: localVarRequestOptions,
|
|
51912
|
+
};
|
|
51913
|
+
}),
|
|
51914
|
+
/**
|
|
51915
|
+
* 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.
|
|
51916
|
+
* @summary Update a pass type price schedule\'s translation
|
|
51917
|
+
* @param {string} eventId The event identifier
|
|
51918
|
+
* @param {string} passTypeId The passType identifier
|
|
51919
|
+
* @param {string} scheduleId The schedule identifier
|
|
51920
|
+
* @param {string} locale The locale identifier
|
|
51921
|
+
* @param {PassTypePriceScheduleTranslationUpdateInputs} passTypePriceScheduleTranslationUpdateInputs
|
|
51922
|
+
* @param {*} [options] Override http request option.
|
|
51923
|
+
* @throws {RequiredError}
|
|
51924
|
+
*/
|
|
51925
|
+
updateEventPassTypePriceScheduleTranslation: (eventId_1, passTypeId_1, scheduleId_1, locale_1, passTypePriceScheduleTranslationUpdateInputs_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, scheduleId_1, locale_1, passTypePriceScheduleTranslationUpdateInputs_1, ...args_1], void 0, function* (eventId, passTypeId, scheduleId, locale, passTypePriceScheduleTranslationUpdateInputs, options = {}) {
|
|
51926
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
51927
|
+
assertParamExists('updateEventPassTypePriceScheduleTranslation', 'eventId', eventId);
|
|
51928
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
51929
|
+
assertParamExists('updateEventPassTypePriceScheduleTranslation', 'passTypeId', passTypeId);
|
|
51930
|
+
// verify required parameter 'scheduleId' is not null or undefined
|
|
51931
|
+
assertParamExists('updateEventPassTypePriceScheduleTranslation', 'scheduleId', scheduleId);
|
|
51932
|
+
// verify required parameter 'locale' is not null or undefined
|
|
51933
|
+
assertParamExists('updateEventPassTypePriceScheduleTranslation', 'locale', locale);
|
|
51934
|
+
// verify required parameter 'passTypePriceScheduleTranslationUpdateInputs' is not null or undefined
|
|
51935
|
+
assertParamExists('updateEventPassTypePriceScheduleTranslation', 'passTypePriceScheduleTranslationUpdateInputs', passTypePriceScheduleTranslationUpdateInputs);
|
|
51936
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale}`
|
|
51937
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
51938
|
+
.replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
|
|
51939
|
+
.replace('{scheduleId}', encodeURIComponent(String(scheduleId)))
|
|
51940
|
+
.replace('{locale}', encodeURIComponent(String(locale)));
|
|
51941
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51942
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51943
|
+
let baseOptions;
|
|
51944
|
+
if (configuration) {
|
|
51945
|
+
baseOptions = configuration.baseOptions;
|
|
51946
|
+
}
|
|
51947
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
51948
|
+
const localVarHeaderParameter = {};
|
|
51949
|
+
const localVarQueryParameter = {};
|
|
51950
|
+
// authentication ApiKeyAuth required
|
|
51951
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
51952
|
+
// authentication OrganizationId required
|
|
51953
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
51954
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
51955
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
51956
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
51957
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
51958
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
51959
|
+
localVarRequestOptions.data = serializeDataIfNeeded(passTypePriceScheduleTranslationUpdateInputs, localVarRequestOptions, configuration);
|
|
51960
|
+
return {
|
|
51961
|
+
url: toPathString(localVarUrlObj),
|
|
51962
|
+
options: localVarRequestOptions,
|
|
51963
|
+
};
|
|
51964
|
+
}),
|
|
51965
|
+
};
|
|
51966
|
+
};
|
|
51967
|
+
/**
|
|
51968
|
+
* EventsPasstypesPriceschedulesTranslationsApi - functional programming interface
|
|
51969
|
+
*/
|
|
51970
|
+
export const EventsPasstypesPriceschedulesTranslationsApiFp = function (configuration) {
|
|
51971
|
+
const localVarAxiosParamCreator = EventsPasstypesPriceschedulesTranslationsApiAxiosParamCreator(configuration);
|
|
51972
|
+
return {
|
|
51973
|
+
/**
|
|
51974
|
+
* Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
|
|
51975
|
+
* @summary Delete a pass type price schedule translation
|
|
51976
|
+
* @param {string} eventId The event identifier
|
|
51977
|
+
* @param {string} passTypeId The passType identifier
|
|
51978
|
+
* @param {string} scheduleId The schedule identifier
|
|
51979
|
+
* @param {string} locale The locale identifier
|
|
51980
|
+
* @param {*} [options] Override http request option.
|
|
51981
|
+
* @throws {RequiredError}
|
|
51982
|
+
*/
|
|
51983
|
+
deleteEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, options) {
|
|
51984
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51985
|
+
var _a, _b, _c;
|
|
51986
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, options);
|
|
51987
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
51988
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.deleteEventPassTypePriceScheduleTranslation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
51989
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
51990
|
+
});
|
|
51991
|
+
},
|
|
51992
|
+
/**
|
|
51993
|
+
* 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.
|
|
51994
|
+
* @summary Get a pass type price schedule\'s translation
|
|
51995
|
+
* @param {string} eventId The event identifier
|
|
51996
|
+
* @param {string} passTypeId The passType identifier
|
|
51997
|
+
* @param {string} scheduleId The schedule identifier
|
|
51998
|
+
* @param {string} locale The locale identifier
|
|
51999
|
+
* @param {*} [options] Override http request option.
|
|
52000
|
+
* @throws {RequiredError}
|
|
52001
|
+
*/
|
|
52002
|
+
getEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, options) {
|
|
52003
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52004
|
+
var _a, _b, _c;
|
|
52005
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, options);
|
|
52006
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
52007
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.getEventPassTypePriceScheduleTranslation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
52008
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
52009
|
+
});
|
|
52010
|
+
},
|
|
52011
|
+
/**
|
|
52012
|
+
* Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
|
|
52013
|
+
* @summary List translations for a pass type price schedule
|
|
52014
|
+
* @param {string} eventId The event identifier
|
|
52015
|
+
* @param {string} passTypeId The passType identifier
|
|
52016
|
+
* @param {string} scheduleId The schedule identifier
|
|
52017
|
+
* @param {number} [page] Page number
|
|
52018
|
+
* @param {number} [pageSize] Number of items per page
|
|
52019
|
+
* @param {string} [orderBy] Field to order by
|
|
52020
|
+
* @param {string} [search] Search query
|
|
52021
|
+
* @param {*} [options] Override http request option.
|
|
52022
|
+
* @throws {RequiredError}
|
|
52023
|
+
*/
|
|
52024
|
+
getEventPassTypePriceScheduleTranslations(eventId, passTypeId, scheduleId, page, pageSize, orderBy, search, options) {
|
|
52025
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52026
|
+
var _a, _b, _c;
|
|
52027
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPassTypePriceScheduleTranslations(eventId, passTypeId, scheduleId, page, pageSize, orderBy, search, options);
|
|
52028
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
52029
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.getEventPassTypePriceScheduleTranslations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
52030
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
52031
|
+
});
|
|
52032
|
+
},
|
|
52033
|
+
/**
|
|
52034
|
+
* 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.
|
|
52035
|
+
* @summary Update a pass type price schedule\'s translation
|
|
52036
|
+
* @param {string} eventId The event identifier
|
|
52037
|
+
* @param {string} passTypeId The passType identifier
|
|
52038
|
+
* @param {string} scheduleId The schedule identifier
|
|
52039
|
+
* @param {string} locale The locale identifier
|
|
52040
|
+
* @param {PassTypePriceScheduleTranslationUpdateInputs} passTypePriceScheduleTranslationUpdateInputs
|
|
52041
|
+
* @param {*} [options] Override http request option.
|
|
52042
|
+
* @throws {RequiredError}
|
|
52043
|
+
*/
|
|
52044
|
+
updateEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, passTypePriceScheduleTranslationUpdateInputs, options) {
|
|
52045
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52046
|
+
var _a, _b, _c;
|
|
52047
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, passTypePriceScheduleTranslationUpdateInputs, options);
|
|
52048
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
52049
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.updateEventPassTypePriceScheduleTranslation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
52050
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
52051
|
+
});
|
|
52052
|
+
},
|
|
52053
|
+
};
|
|
52054
|
+
};
|
|
52055
|
+
/**
|
|
52056
|
+
* EventsPasstypesPriceschedulesTranslationsApi - factory interface
|
|
52057
|
+
*/
|
|
52058
|
+
export const EventsPasstypesPriceschedulesTranslationsApiFactory = function (configuration, basePath, axios) {
|
|
52059
|
+
const localVarFp = EventsPasstypesPriceschedulesTranslationsApiFp(configuration);
|
|
52060
|
+
return {
|
|
52061
|
+
/**
|
|
52062
|
+
* Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
|
|
52063
|
+
* @summary Delete a pass type price schedule translation
|
|
52064
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
|
|
52065
|
+
* @param {*} [options] Override http request option.
|
|
52066
|
+
* @throws {RequiredError}
|
|
52067
|
+
*/
|
|
52068
|
+
deleteEventPassTypePriceScheduleTranslation(requestParameters, options) {
|
|
52069
|
+
return localVarFp.deleteEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(axios, basePath));
|
|
52070
|
+
},
|
|
52071
|
+
/**
|
|
52072
|
+
* 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.
|
|
52073
|
+
* @summary Get a pass type price schedule\'s translation
|
|
52074
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
|
|
52075
|
+
* @param {*} [options] Override http request option.
|
|
52076
|
+
* @throws {RequiredError}
|
|
52077
|
+
*/
|
|
52078
|
+
getEventPassTypePriceScheduleTranslation(requestParameters, options) {
|
|
52079
|
+
return localVarFp.getEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(axios, basePath));
|
|
52080
|
+
},
|
|
52081
|
+
/**
|
|
52082
|
+
* Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
|
|
52083
|
+
* @summary List translations for a pass type price schedule
|
|
52084
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest} requestParameters Request parameters.
|
|
52085
|
+
* @param {*} [options] Override http request option.
|
|
52086
|
+
* @throws {RequiredError}
|
|
52087
|
+
*/
|
|
52088
|
+
getEventPassTypePriceScheduleTranslations(requestParameters, options) {
|
|
52089
|
+
return localVarFp.getEventPassTypePriceScheduleTranslations(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
52090
|
+
},
|
|
52091
|
+
/**
|
|
52092
|
+
* 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.
|
|
52093
|
+
* @summary Update a pass type price schedule\'s translation
|
|
52094
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
|
|
52095
|
+
* @param {*} [options] Override http request option.
|
|
52096
|
+
* @throws {RequiredError}
|
|
52097
|
+
*/
|
|
52098
|
+
updateEventPassTypePriceScheduleTranslation(requestParameters, options) {
|
|
52099
|
+
return localVarFp.updateEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, requestParameters.passTypePriceScheduleTranslationUpdateInputs, options).then((request) => request(axios, basePath));
|
|
52100
|
+
},
|
|
52101
|
+
};
|
|
52102
|
+
};
|
|
52103
|
+
/**
|
|
52104
|
+
* EventsPasstypesPriceschedulesTranslationsApi - object-oriented interface
|
|
52105
|
+
*/
|
|
52106
|
+
export class EventsPasstypesPriceschedulesTranslationsApi extends BaseAPI {
|
|
52107
|
+
/**
|
|
52108
|
+
* Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
|
|
52109
|
+
* @summary Delete a pass type price schedule translation
|
|
52110
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
|
|
52111
|
+
* @param {*} [options] Override http request option.
|
|
52112
|
+
* @throws {RequiredError}
|
|
52113
|
+
*/
|
|
52114
|
+
deleteEventPassTypePriceScheduleTranslation(requestParameters, options) {
|
|
52115
|
+
return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).deleteEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
|
|
52116
|
+
}
|
|
52117
|
+
/**
|
|
52118
|
+
* 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.
|
|
52119
|
+
* @summary Get a pass type price schedule\'s translation
|
|
52120
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
|
|
52121
|
+
* @param {*} [options] Override http request option.
|
|
52122
|
+
* @throws {RequiredError}
|
|
52123
|
+
*/
|
|
52124
|
+
getEventPassTypePriceScheduleTranslation(requestParameters, options) {
|
|
52125
|
+
return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).getEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
|
|
52126
|
+
}
|
|
52127
|
+
/**
|
|
52128
|
+
* Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
|
|
52129
|
+
* @summary List translations for a pass type price schedule
|
|
52130
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest} requestParameters Request parameters.
|
|
52131
|
+
* @param {*} [options] Override http request option.
|
|
52132
|
+
* @throws {RequiredError}
|
|
52133
|
+
*/
|
|
52134
|
+
getEventPassTypePriceScheduleTranslations(requestParameters, options) {
|
|
52135
|
+
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));
|
|
52136
|
+
}
|
|
52137
|
+
/**
|
|
52138
|
+
* 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.
|
|
52139
|
+
* @summary Update a pass type price schedule\'s translation
|
|
52140
|
+
* @param {EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
|
|
52141
|
+
* @param {*} [options] Override http request option.
|
|
52142
|
+
* @throws {RequiredError}
|
|
52143
|
+
*/
|
|
52144
|
+
updateEventPassTypePriceScheduleTranslation(requestParameters, options) {
|
|
52145
|
+
return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).updateEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, requestParameters.passTypePriceScheduleTranslationUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
52146
|
+
}
|
|
52147
|
+
}
|
|
51747
52148
|
/**
|
|
51748
52149
|
* EventsPasstypesRefundschedulesApi - axios parameter creator
|
|
51749
52150
|
*/
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 16.
|
|
5
|
+
* The version of the OpenAPI document: 16.16.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
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).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 16.
|
|
5
|
+
* The version of the OpenAPI document: 16.16.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
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).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 16.
|
|
5
|
+
* The version of the OpenAPI document: 16.16.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Connected Admin API
|
|
4
4
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 16.
|
|
6
|
+
* The version of the OpenAPI document: 16.16.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# EventPassTypePriceScheduleTranslation
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [default to undefined]
|
|
9
|
+
**locale** | **string** | | [default to undefined]
|
|
10
|
+
**name** | **string** | | [default to undefined]
|
|
11
|
+
**createdAt** | **string** | | [default to undefined]
|
|
12
|
+
**updatedAt** | **string** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { EventPassTypePriceScheduleTranslation } from '@connectedxm/admin-sdk';
|
|
18
|
+
|
|
19
|
+
const instance: EventPassTypePriceScheduleTranslation = {
|
|
20
|
+
id,
|
|
21
|
+
locale,
|
|
22
|
+
name,
|
|
23
|
+
createdAt,
|
|
24
|
+
updatedAt,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|