@connectedxm/admin-sdk 10.16.0 → 10.18.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 +7 -1
- package/README.md +2 -2
- package/api.ts +1065 -65
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +565 -42
- package/dist/api.js +768 -33
- 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/api.d.ts +565 -42
- package/dist/esm/api.js +740 -5
- 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/{CreateEventPassType200Response.md → AddEventOnSiteLabelPassType200Response.md} +3 -3
- package/docs/BaseEventOnSiteLabel.md +28 -0
- package/docs/CreateEventOnSiteLabel200Response.md +24 -0
- package/docs/EventOnSiteLabel.md +28 -0
- package/docs/EventOnSiteLabelCreateInputs.md +24 -0
- package/docs/EventOnSiteLabelUpdateInputs.md +24 -0
- package/docs/EventPassType.md +2 -0
- package/docs/EventsOnSiteApi.md +527 -0
- package/docs/EventsPasstypesApi.md +18 -18
- package/docs/EventsPasstypesPriceschedulesApi.md +2 -2
- package/docs/EventsPasstypesRefundschedulesApi.md +2 -2
- package/docs/GetEventOnSiteLabels200Response.md +26 -0
- package/docs/OrganizationEntity.md +4 -0
- package/docs/OrganizationEntityCreateInputs.md +2 -0
- package/docs/OrganizationEntityUpdateInputs.md +2 -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: 10.
|
|
7
|
+
* The version of the OpenAPI document: 10.18.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -81,6 +81,10 @@ export var AddChannelSubscriber200ResponseStatusEnum;
|
|
|
81
81
|
(function (AddChannelSubscriber200ResponseStatusEnum) {
|
|
82
82
|
AddChannelSubscriber200ResponseStatusEnum["Ok"] = "ok";
|
|
83
83
|
})(AddChannelSubscriber200ResponseStatusEnum || (AddChannelSubscriber200ResponseStatusEnum = {}));
|
|
84
|
+
export var AddEventOnSiteLabelPassType200ResponseStatusEnum;
|
|
85
|
+
(function (AddEventOnSiteLabelPassType200ResponseStatusEnum) {
|
|
86
|
+
AddEventOnSiteLabelPassType200ResponseStatusEnum["Ok"] = "ok";
|
|
87
|
+
})(AddEventOnSiteLabelPassType200ResponseStatusEnum || (AddEventOnSiteLabelPassType200ResponseStatusEnum = {}));
|
|
84
88
|
export var AddEventPassTypeExchangeTarget200ResponseStatusEnum;
|
|
85
89
|
(function (AddEventPassTypeExchangeTarget200ResponseStatusEnum) {
|
|
86
90
|
AddEventPassTypeExchangeTarget200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -326,6 +330,10 @@ export var CreateEventMediaItem200ResponseStatusEnum;
|
|
|
326
330
|
(function (CreateEventMediaItem200ResponseStatusEnum) {
|
|
327
331
|
CreateEventMediaItem200ResponseStatusEnum["Ok"] = "ok";
|
|
328
332
|
})(CreateEventMediaItem200ResponseStatusEnum || (CreateEventMediaItem200ResponseStatusEnum = {}));
|
|
333
|
+
export var CreateEventOnSiteLabel200ResponseStatusEnum;
|
|
334
|
+
(function (CreateEventOnSiteLabel200ResponseStatusEnum) {
|
|
335
|
+
CreateEventOnSiteLabel200ResponseStatusEnum["Ok"] = "ok";
|
|
336
|
+
})(CreateEventOnSiteLabel200ResponseStatusEnum || (CreateEventOnSiteLabel200ResponseStatusEnum = {}));
|
|
329
337
|
export var CreateEventPackage200ResponseStatusEnum;
|
|
330
338
|
(function (CreateEventPackage200ResponseStatusEnum) {
|
|
331
339
|
CreateEventPackage200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -338,10 +346,6 @@ export var CreateEventPage200ResponseStatusEnum;
|
|
|
338
346
|
(function (CreateEventPage200ResponseStatusEnum) {
|
|
339
347
|
CreateEventPage200ResponseStatusEnum["Ok"] = "ok";
|
|
340
348
|
})(CreateEventPage200ResponseStatusEnum || (CreateEventPage200ResponseStatusEnum = {}));
|
|
341
|
-
export var CreateEventPassType200ResponseStatusEnum;
|
|
342
|
-
(function (CreateEventPassType200ResponseStatusEnum) {
|
|
343
|
-
CreateEventPassType200ResponseStatusEnum["Ok"] = "ok";
|
|
344
|
-
})(CreateEventPassType200ResponseStatusEnum || (CreateEventPassType200ResponseStatusEnum = {}));
|
|
345
349
|
export var CreateEventQuestion200ResponseStatusEnum;
|
|
346
350
|
(function (CreateEventQuestion200ResponseStatusEnum) {
|
|
347
351
|
CreateEventQuestion200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -1125,6 +1129,10 @@ export var GetEventOnSite200ResponseStatusEnum;
|
|
|
1125
1129
|
(function (GetEventOnSite200ResponseStatusEnum) {
|
|
1126
1130
|
GetEventOnSite200ResponseStatusEnum["Ok"] = "ok";
|
|
1127
1131
|
})(GetEventOnSite200ResponseStatusEnum || (GetEventOnSite200ResponseStatusEnum = {}));
|
|
1132
|
+
export var GetEventOnSiteLabels200ResponseStatusEnum;
|
|
1133
|
+
(function (GetEventOnSiteLabels200ResponseStatusEnum) {
|
|
1134
|
+
GetEventOnSiteLabels200ResponseStatusEnum["Ok"] = "ok";
|
|
1135
|
+
})(GetEventOnSiteLabels200ResponseStatusEnum || (GetEventOnSiteLabels200ResponseStatusEnum = {}));
|
|
1128
1136
|
export var GetEventPackagePasses200ResponseStatusEnum;
|
|
1129
1137
|
(function (GetEventPackagePasses200ResponseStatusEnum) {
|
|
1130
1138
|
GetEventPackagePasses200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -35645,6 +35653,48 @@ export class EventsMediaTranslationsApi extends BaseAPI {
|
|
|
35645
35653
|
*/
|
|
35646
35654
|
export const EventsOnSiteApiAxiosParamCreator = function (configuration) {
|
|
35647
35655
|
return {
|
|
35656
|
+
/**
|
|
35657
|
+
* Sets the given pass type\'s labelId to this label. Assignment is exclusive, so a pass type previously assigned to another label is silently moved; requires the update permission on events.
|
|
35658
|
+
* @summary Assign a pass type to an on-site label
|
|
35659
|
+
* @param {string} eventId The event identifier
|
|
35660
|
+
* @param {string} labelId The label identifier
|
|
35661
|
+
* @param {string} passTypeId The passType identifier
|
|
35662
|
+
* @param {*} [options] Override http request option.
|
|
35663
|
+
* @throws {RequiredError}
|
|
35664
|
+
*/
|
|
35665
|
+
addEventOnSiteLabelPassType: (eventId_1, labelId_1, passTypeId_1, ...args_1) => __awaiter(this, [eventId_1, labelId_1, passTypeId_1, ...args_1], void 0, function* (eventId, labelId, passTypeId, options = {}) {
|
|
35666
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35667
|
+
assertParamExists('addEventOnSiteLabelPassType', 'eventId', eventId);
|
|
35668
|
+
// verify required parameter 'labelId' is not null or undefined
|
|
35669
|
+
assertParamExists('addEventOnSiteLabelPassType', 'labelId', labelId);
|
|
35670
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
35671
|
+
assertParamExists('addEventOnSiteLabelPassType', 'passTypeId', passTypeId);
|
|
35672
|
+
const localVarPath = `/events/{eventId}/on-site/labels/{labelId}/passTypes/{passTypeId}`
|
|
35673
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
35674
|
+
.replace(`{${"labelId"}}`, encodeURIComponent(String(labelId)))
|
|
35675
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
|
|
35676
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35677
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35678
|
+
let baseOptions;
|
|
35679
|
+
if (configuration) {
|
|
35680
|
+
baseOptions = configuration.baseOptions;
|
|
35681
|
+
}
|
|
35682
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
35683
|
+
const localVarHeaderParameter = {};
|
|
35684
|
+
const localVarQueryParameter = {};
|
|
35685
|
+
// authentication ApiKeyAuth required
|
|
35686
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
35687
|
+
// authentication OrganizationId required
|
|
35688
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
35689
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
35690
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35691
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35692
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35693
|
+
return {
|
|
35694
|
+
url: toPathString(localVarUrlObj),
|
|
35695
|
+
options: localVarRequestOptions,
|
|
35696
|
+
};
|
|
35697
|
+
}),
|
|
35648
35698
|
/**
|
|
35649
35699
|
* Creates a new on-site badge color rule for the given event. Omitting sortOrder appends the rule after the last existing one; requires the \"update\" permission on events.
|
|
35650
35700
|
* @summary Create an event badge color rule
|
|
@@ -35684,6 +35734,45 @@ export const EventsOnSiteApiAxiosParamCreator = function (configuration) {
|
|
|
35684
35734
|
options: localVarRequestOptions,
|
|
35685
35735
|
};
|
|
35686
35736
|
}),
|
|
35737
|
+
/**
|
|
35738
|
+
* Creates a new on-site label for the given event. Omitting sortOrder appends the label after the last existing one. The API flags the new label as default when the event currently has none; requires the \"update\" permission on events.
|
|
35739
|
+
* @summary Create an event on-site label
|
|
35740
|
+
* @param {string} eventId The event identifier
|
|
35741
|
+
* @param {EventOnSiteLabelCreateInputs} eventOnSiteLabelCreateInputs
|
|
35742
|
+
* @param {*} [options] Override http request option.
|
|
35743
|
+
* @throws {RequiredError}
|
|
35744
|
+
*/
|
|
35745
|
+
createEventOnSiteLabel: (eventId_1, eventOnSiteLabelCreateInputs_1, ...args_1) => __awaiter(this, [eventId_1, eventOnSiteLabelCreateInputs_1, ...args_1], void 0, function* (eventId, eventOnSiteLabelCreateInputs, options = {}) {
|
|
35746
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35747
|
+
assertParamExists('createEventOnSiteLabel', 'eventId', eventId);
|
|
35748
|
+
// verify required parameter 'eventOnSiteLabelCreateInputs' is not null or undefined
|
|
35749
|
+
assertParamExists('createEventOnSiteLabel', 'eventOnSiteLabelCreateInputs', eventOnSiteLabelCreateInputs);
|
|
35750
|
+
const localVarPath = `/events/{eventId}/on-site/labels`
|
|
35751
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
35752
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35753
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35754
|
+
let baseOptions;
|
|
35755
|
+
if (configuration) {
|
|
35756
|
+
baseOptions = configuration.baseOptions;
|
|
35757
|
+
}
|
|
35758
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
35759
|
+
const localVarHeaderParameter = {};
|
|
35760
|
+
const localVarQueryParameter = {};
|
|
35761
|
+
// authentication ApiKeyAuth required
|
|
35762
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
35763
|
+
// authentication OrganizationId required
|
|
35764
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
35765
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35766
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
35767
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35768
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35769
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35770
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventOnSiteLabelCreateInputs, localVarRequestOptions, configuration);
|
|
35771
|
+
return {
|
|
35772
|
+
url: toPathString(localVarUrlObj),
|
|
35773
|
+
options: localVarRequestOptions,
|
|
35774
|
+
};
|
|
35775
|
+
}),
|
|
35687
35776
|
/**
|
|
35688
35777
|
* Permanently deletes the specified on-site badge color rule from the given event; requires the \"update\" permission on events.
|
|
35689
35778
|
* @summary Delete an event badge color rule
|
|
@@ -35722,6 +35811,44 @@ export const EventsOnSiteApiAxiosParamCreator = function (configuration) {
|
|
|
35722
35811
|
options: localVarRequestOptions,
|
|
35723
35812
|
};
|
|
35724
35813
|
}),
|
|
35814
|
+
/**
|
|
35815
|
+
* Permanently deletes the specified on-site label from the given event; requires the \"update\" permission on events.
|
|
35816
|
+
* @summary Delete an event on-site label
|
|
35817
|
+
* @param {string} eventId The event identifier
|
|
35818
|
+
* @param {string} labelId The label identifier
|
|
35819
|
+
* @param {*} [options] Override http request option.
|
|
35820
|
+
* @throws {RequiredError}
|
|
35821
|
+
*/
|
|
35822
|
+
deleteEventOnSiteLabel: (eventId_1, labelId_1, ...args_1) => __awaiter(this, [eventId_1, labelId_1, ...args_1], void 0, function* (eventId, labelId, options = {}) {
|
|
35823
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35824
|
+
assertParamExists('deleteEventOnSiteLabel', 'eventId', eventId);
|
|
35825
|
+
// verify required parameter 'labelId' is not null or undefined
|
|
35826
|
+
assertParamExists('deleteEventOnSiteLabel', 'labelId', labelId);
|
|
35827
|
+
const localVarPath = `/events/{eventId}/on-site/labels/{labelId}`
|
|
35828
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
35829
|
+
.replace(`{${"labelId"}}`, encodeURIComponent(String(labelId)));
|
|
35830
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35831
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35832
|
+
let baseOptions;
|
|
35833
|
+
if (configuration) {
|
|
35834
|
+
baseOptions = configuration.baseOptions;
|
|
35835
|
+
}
|
|
35836
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
35837
|
+
const localVarHeaderParameter = {};
|
|
35838
|
+
const localVarQueryParameter = {};
|
|
35839
|
+
// authentication ApiKeyAuth required
|
|
35840
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
35841
|
+
// authentication OrganizationId required
|
|
35842
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
35843
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
35844
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35845
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35846
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35847
|
+
return {
|
|
35848
|
+
url: toPathString(localVarUrlObj),
|
|
35849
|
+
options: localVarRequestOptions,
|
|
35850
|
+
};
|
|
35851
|
+
}),
|
|
35725
35852
|
/**
|
|
35726
35853
|
* Returns a single on-site badge color rule belonging to the given event; requires \"read\" permission on events.
|
|
35727
35854
|
* @summary Get an event badge color rule
|
|
@@ -35844,6 +35971,228 @@ export const EventsOnSiteApiAxiosParamCreator = function (configuration) {
|
|
|
35844
35971
|
options: localVarRequestOptions,
|
|
35845
35972
|
};
|
|
35846
35973
|
}),
|
|
35974
|
+
/**
|
|
35975
|
+
* Returns a single on-site label belonging to the given event; requires \"read\" permission on events.
|
|
35976
|
+
* @summary Get an event on-site label
|
|
35977
|
+
* @param {string} eventId The event identifier
|
|
35978
|
+
* @param {string} labelId The label identifier
|
|
35979
|
+
* @param {*} [options] Override http request option.
|
|
35980
|
+
* @throws {RequiredError}
|
|
35981
|
+
*/
|
|
35982
|
+
getEventOnSiteLabel: (eventId_1, labelId_1, ...args_1) => __awaiter(this, [eventId_1, labelId_1, ...args_1], void 0, function* (eventId, labelId, options = {}) {
|
|
35983
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35984
|
+
assertParamExists('getEventOnSiteLabel', 'eventId', eventId);
|
|
35985
|
+
// verify required parameter 'labelId' is not null or undefined
|
|
35986
|
+
assertParamExists('getEventOnSiteLabel', 'labelId', labelId);
|
|
35987
|
+
const localVarPath = `/events/{eventId}/on-site/labels/{labelId}`
|
|
35988
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
35989
|
+
.replace(`{${"labelId"}}`, encodeURIComponent(String(labelId)));
|
|
35990
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35991
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35992
|
+
let baseOptions;
|
|
35993
|
+
if (configuration) {
|
|
35994
|
+
baseOptions = configuration.baseOptions;
|
|
35995
|
+
}
|
|
35996
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
35997
|
+
const localVarHeaderParameter = {};
|
|
35998
|
+
const localVarQueryParameter = {};
|
|
35999
|
+
// authentication ApiKeyAuth required
|
|
36000
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
36001
|
+
// authentication OrganizationId required
|
|
36002
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
36003
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
36004
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36005
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36006
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36007
|
+
return {
|
|
36008
|
+
url: toPathString(localVarUrlObj),
|
|
36009
|
+
options: localVarRequestOptions,
|
|
36010
|
+
};
|
|
36011
|
+
}),
|
|
36012
|
+
/**
|
|
36013
|
+
* Returns a paginated list of the event\'s pass types assigned to the given on-site label, supporting search and ordering; requires read permission on events.
|
|
36014
|
+
* @summary List pass types assigned to an on-site label
|
|
36015
|
+
* @param {string} eventId The event identifier
|
|
36016
|
+
* @param {string} labelId The label identifier
|
|
36017
|
+
* @param {number} [page] Page number
|
|
36018
|
+
* @param {number} [pageSize] Number of items per page
|
|
36019
|
+
* @param {string} [orderBy] Field to order by
|
|
36020
|
+
* @param {string} [search] Search query
|
|
36021
|
+
* @param {*} [options] Override http request option.
|
|
36022
|
+
* @throws {RequiredError}
|
|
36023
|
+
*/
|
|
36024
|
+
getEventOnSiteLabelPassTypes: (eventId_1, labelId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, labelId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, labelId, page, pageSize, orderBy, search, options = {}) {
|
|
36025
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
36026
|
+
assertParamExists('getEventOnSiteLabelPassTypes', 'eventId', eventId);
|
|
36027
|
+
// verify required parameter 'labelId' is not null or undefined
|
|
36028
|
+
assertParamExists('getEventOnSiteLabelPassTypes', 'labelId', labelId);
|
|
36029
|
+
const localVarPath = `/events/{eventId}/on-site/labels/{labelId}/passTypes`
|
|
36030
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
36031
|
+
.replace(`{${"labelId"}}`, encodeURIComponent(String(labelId)));
|
|
36032
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36033
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36034
|
+
let baseOptions;
|
|
36035
|
+
if (configuration) {
|
|
36036
|
+
baseOptions = configuration.baseOptions;
|
|
36037
|
+
}
|
|
36038
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
36039
|
+
const localVarHeaderParameter = {};
|
|
36040
|
+
const localVarQueryParameter = {};
|
|
36041
|
+
// authentication ApiKeyAuth required
|
|
36042
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
36043
|
+
// authentication OrganizationId required
|
|
36044
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
36045
|
+
if (page !== undefined) {
|
|
36046
|
+
localVarQueryParameter['page'] = page;
|
|
36047
|
+
}
|
|
36048
|
+
if (pageSize !== undefined) {
|
|
36049
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
36050
|
+
}
|
|
36051
|
+
if (orderBy !== undefined) {
|
|
36052
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
36053
|
+
}
|
|
36054
|
+
if (search !== undefined) {
|
|
36055
|
+
localVarQueryParameter['search'] = search;
|
|
36056
|
+
}
|
|
36057
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
36058
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36059
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36060
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36061
|
+
return {
|
|
36062
|
+
url: toPathString(localVarUrlObj),
|
|
36063
|
+
options: localVarRequestOptions,
|
|
36064
|
+
};
|
|
36065
|
+
}),
|
|
36066
|
+
/**
|
|
36067
|
+
* Returns the event\'s full set of on-site labels ordered by sortOrder. Pagination params are accepted but ignored by the API; requires \"read\" permission on events.
|
|
36068
|
+
* @summary List an event\'s on-site labels
|
|
36069
|
+
* @param {string} eventId The event identifier
|
|
36070
|
+
* @param {number} [page] Page number
|
|
36071
|
+
* @param {number} [pageSize] Number of items per page
|
|
36072
|
+
* @param {string} [orderBy] Field to order by
|
|
36073
|
+
* @param {string} [search] Search query
|
|
36074
|
+
* @param {*} [options] Override http request option.
|
|
36075
|
+
* @throws {RequiredError}
|
|
36076
|
+
*/
|
|
36077
|
+
getEventOnSiteLabels: (eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, page, pageSize, orderBy, search, options = {}) {
|
|
36078
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
36079
|
+
assertParamExists('getEventOnSiteLabels', 'eventId', eventId);
|
|
36080
|
+
const localVarPath = `/events/{eventId}/on-site/labels`
|
|
36081
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
36082
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36083
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36084
|
+
let baseOptions;
|
|
36085
|
+
if (configuration) {
|
|
36086
|
+
baseOptions = configuration.baseOptions;
|
|
36087
|
+
}
|
|
36088
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
36089
|
+
const localVarHeaderParameter = {};
|
|
36090
|
+
const localVarQueryParameter = {};
|
|
36091
|
+
// authentication ApiKeyAuth required
|
|
36092
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
36093
|
+
// authentication OrganizationId required
|
|
36094
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
36095
|
+
if (page !== undefined) {
|
|
36096
|
+
localVarQueryParameter['page'] = page;
|
|
36097
|
+
}
|
|
36098
|
+
if (pageSize !== undefined) {
|
|
36099
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
36100
|
+
}
|
|
36101
|
+
if (orderBy !== undefined) {
|
|
36102
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
36103
|
+
}
|
|
36104
|
+
if (search !== undefined) {
|
|
36105
|
+
localVarQueryParameter['search'] = search;
|
|
36106
|
+
}
|
|
36107
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
36108
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36109
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36110
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36111
|
+
return {
|
|
36112
|
+
url: toPathString(localVarUrlObj),
|
|
36113
|
+
options: localVarRequestOptions,
|
|
36114
|
+
};
|
|
36115
|
+
}),
|
|
36116
|
+
/**
|
|
36117
|
+
* Clears the given pass type\'s labelId when it currently points at this label. Returns 400 if the pass type has since moved to another label; requires the update permission on events.
|
|
36118
|
+
* @summary Unassign a pass type from an on-site label
|
|
36119
|
+
* @param {string} eventId The event identifier
|
|
36120
|
+
* @param {string} labelId The label identifier
|
|
36121
|
+
* @param {string} passTypeId The passType identifier
|
|
36122
|
+
* @param {*} [options] Override http request option.
|
|
36123
|
+
* @throws {RequiredError}
|
|
36124
|
+
*/
|
|
36125
|
+
removeEventOnSiteLabelPassType: (eventId_1, labelId_1, passTypeId_1, ...args_1) => __awaiter(this, [eventId_1, labelId_1, passTypeId_1, ...args_1], void 0, function* (eventId, labelId, passTypeId, options = {}) {
|
|
36126
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
36127
|
+
assertParamExists('removeEventOnSiteLabelPassType', 'eventId', eventId);
|
|
36128
|
+
// verify required parameter 'labelId' is not null or undefined
|
|
36129
|
+
assertParamExists('removeEventOnSiteLabelPassType', 'labelId', labelId);
|
|
36130
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
36131
|
+
assertParamExists('removeEventOnSiteLabelPassType', 'passTypeId', passTypeId);
|
|
36132
|
+
const localVarPath = `/events/{eventId}/on-site/labels/{labelId}/passTypes/{passTypeId}`
|
|
36133
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
36134
|
+
.replace(`{${"labelId"}}`, encodeURIComponent(String(labelId)))
|
|
36135
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
|
|
36136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36137
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36138
|
+
let baseOptions;
|
|
36139
|
+
if (configuration) {
|
|
36140
|
+
baseOptions = configuration.baseOptions;
|
|
36141
|
+
}
|
|
36142
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
36143
|
+
const localVarHeaderParameter = {};
|
|
36144
|
+
const localVarQueryParameter = {};
|
|
36145
|
+
// authentication ApiKeyAuth required
|
|
36146
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
36147
|
+
// authentication OrganizationId required
|
|
36148
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
36149
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
36150
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36151
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36152
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36153
|
+
return {
|
|
36154
|
+
url: toPathString(localVarUrlObj),
|
|
36155
|
+
options: localVarRequestOptions,
|
|
36156
|
+
};
|
|
36157
|
+
}),
|
|
36158
|
+
/**
|
|
36159
|
+
* Marks the specified label as the event\'s default print design, clearing the flag from whichever label held it before. Unassigned pass types fall through to this label; requires the \"update\" permission on events.
|
|
36160
|
+
* @summary Set an event on-site label as the default
|
|
36161
|
+
* @param {string} eventId The event identifier
|
|
36162
|
+
* @param {string} labelId The label identifier
|
|
36163
|
+
* @param {*} [options] Override http request option.
|
|
36164
|
+
* @throws {RequiredError}
|
|
36165
|
+
*/
|
|
36166
|
+
setEventOnSiteLabelDefault: (eventId_1, labelId_1, ...args_1) => __awaiter(this, [eventId_1, labelId_1, ...args_1], void 0, function* (eventId, labelId, options = {}) {
|
|
36167
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
36168
|
+
assertParamExists('setEventOnSiteLabelDefault', 'eventId', eventId);
|
|
36169
|
+
// verify required parameter 'labelId' is not null or undefined
|
|
36170
|
+
assertParamExists('setEventOnSiteLabelDefault', 'labelId', labelId);
|
|
36171
|
+
const localVarPath = `/events/{eventId}/on-site/labels/{labelId}/default`
|
|
36172
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
36173
|
+
.replace(`{${"labelId"}}`, encodeURIComponent(String(labelId)));
|
|
36174
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36175
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36176
|
+
let baseOptions;
|
|
36177
|
+
if (configuration) {
|
|
36178
|
+
baseOptions = configuration.baseOptions;
|
|
36179
|
+
}
|
|
36180
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
36181
|
+
const localVarHeaderParameter = {};
|
|
36182
|
+
const localVarQueryParameter = {};
|
|
36183
|
+
// authentication ApiKeyAuth required
|
|
36184
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
36185
|
+
// authentication OrganizationId required
|
|
36186
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
36187
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
36188
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36189
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36190
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36191
|
+
return {
|
|
36192
|
+
url: toPathString(localVarUrlObj),
|
|
36193
|
+
options: localVarRequestOptions,
|
|
36194
|
+
};
|
|
36195
|
+
}),
|
|
35847
36196
|
/**
|
|
35848
36197
|
* Partially updates the specified on-site badge color rule. Changing type still nulls unused match branches on the backend, so send the new branch\'s ids when the type changes; requires the \"update\" permission on events.
|
|
35849
36198
|
* @summary Update an event badge color rule
|
|
@@ -35960,6 +36309,49 @@ export const EventsOnSiteApiAxiosParamCreator = function (configuration) {
|
|
|
35960
36309
|
options: localVarRequestOptions,
|
|
35961
36310
|
};
|
|
35962
36311
|
}),
|
|
36312
|
+
/**
|
|
36313
|
+
* Partially updates the specified on-site label. The default flag is not writable here — use SetEventOnSiteLabelDefault; requires the \"update\" permission on events.
|
|
36314
|
+
* @summary Update an event on-site label
|
|
36315
|
+
* @param {string} eventId The event identifier
|
|
36316
|
+
* @param {string} labelId The label identifier
|
|
36317
|
+
* @param {EventOnSiteLabelUpdateInputs} eventOnSiteLabelUpdateInputs
|
|
36318
|
+
* @param {*} [options] Override http request option.
|
|
36319
|
+
* @throws {RequiredError}
|
|
36320
|
+
*/
|
|
36321
|
+
updateEventOnSiteLabel: (eventId_1, labelId_1, eventOnSiteLabelUpdateInputs_1, ...args_1) => __awaiter(this, [eventId_1, labelId_1, eventOnSiteLabelUpdateInputs_1, ...args_1], void 0, function* (eventId, labelId, eventOnSiteLabelUpdateInputs, options = {}) {
|
|
36322
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
36323
|
+
assertParamExists('updateEventOnSiteLabel', 'eventId', eventId);
|
|
36324
|
+
// verify required parameter 'labelId' is not null or undefined
|
|
36325
|
+
assertParamExists('updateEventOnSiteLabel', 'labelId', labelId);
|
|
36326
|
+
// verify required parameter 'eventOnSiteLabelUpdateInputs' is not null or undefined
|
|
36327
|
+
assertParamExists('updateEventOnSiteLabel', 'eventOnSiteLabelUpdateInputs', eventOnSiteLabelUpdateInputs);
|
|
36328
|
+
const localVarPath = `/events/{eventId}/on-site/labels/{labelId}`
|
|
36329
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
36330
|
+
.replace(`{${"labelId"}}`, encodeURIComponent(String(labelId)));
|
|
36331
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36332
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36333
|
+
let baseOptions;
|
|
36334
|
+
if (configuration) {
|
|
36335
|
+
baseOptions = configuration.baseOptions;
|
|
36336
|
+
}
|
|
36337
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
36338
|
+
const localVarHeaderParameter = {};
|
|
36339
|
+
const localVarQueryParameter = {};
|
|
36340
|
+
// authentication ApiKeyAuth required
|
|
36341
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
36342
|
+
// authentication OrganizationId required
|
|
36343
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
36344
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36345
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
36346
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36347
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36348
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36349
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventOnSiteLabelUpdateInputs, localVarRequestOptions, configuration);
|
|
36350
|
+
return {
|
|
36351
|
+
url: toPathString(localVarUrlObj),
|
|
36352
|
+
options: localVarRequestOptions,
|
|
36353
|
+
};
|
|
36354
|
+
}),
|
|
35963
36355
|
};
|
|
35964
36356
|
};
|
|
35965
36357
|
/**
|
|
@@ -35968,6 +36360,24 @@ export const EventsOnSiteApiAxiosParamCreator = function (configuration) {
|
|
|
35968
36360
|
export const EventsOnSiteApiFp = function (configuration) {
|
|
35969
36361
|
const localVarAxiosParamCreator = EventsOnSiteApiAxiosParamCreator(configuration);
|
|
35970
36362
|
return {
|
|
36363
|
+
/**
|
|
36364
|
+
* Sets the given pass type\'s labelId to this label. Assignment is exclusive, so a pass type previously assigned to another label is silently moved; requires the update permission on events.
|
|
36365
|
+
* @summary Assign a pass type to an on-site label
|
|
36366
|
+
* @param {string} eventId The event identifier
|
|
36367
|
+
* @param {string} labelId The label identifier
|
|
36368
|
+
* @param {string} passTypeId The passType identifier
|
|
36369
|
+
* @param {*} [options] Override http request option.
|
|
36370
|
+
* @throws {RequiredError}
|
|
36371
|
+
*/
|
|
36372
|
+
addEventOnSiteLabelPassType(eventId, labelId, passTypeId, options) {
|
|
36373
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36374
|
+
var _a, _b, _c;
|
|
36375
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventOnSiteLabelPassType(eventId, labelId, passTypeId, options);
|
|
36376
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36377
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsOnSiteApi.addEventOnSiteLabelPassType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36378
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36379
|
+
});
|
|
36380
|
+
},
|
|
35971
36381
|
/**
|
|
35972
36382
|
* Creates a new on-site badge color rule for the given event. Omitting sortOrder appends the rule after the last existing one; requires the \"update\" permission on events.
|
|
35973
36383
|
* @summary Create an event badge color rule
|
|
@@ -35985,6 +36395,23 @@ export const EventsOnSiteApiFp = function (configuration) {
|
|
|
35985
36395
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35986
36396
|
});
|
|
35987
36397
|
},
|
|
36398
|
+
/**
|
|
36399
|
+
* Creates a new on-site label for the given event. Omitting sortOrder appends the label after the last existing one. The API flags the new label as default when the event currently has none; requires the \"update\" permission on events.
|
|
36400
|
+
* @summary Create an event on-site label
|
|
36401
|
+
* @param {string} eventId The event identifier
|
|
36402
|
+
* @param {EventOnSiteLabelCreateInputs} eventOnSiteLabelCreateInputs
|
|
36403
|
+
* @param {*} [options] Override http request option.
|
|
36404
|
+
* @throws {RequiredError}
|
|
36405
|
+
*/
|
|
36406
|
+
createEventOnSiteLabel(eventId, eventOnSiteLabelCreateInputs, options) {
|
|
36407
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36408
|
+
var _a, _b, _c;
|
|
36409
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventOnSiteLabel(eventId, eventOnSiteLabelCreateInputs, options);
|
|
36410
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36411
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsOnSiteApi.createEventOnSiteLabel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36412
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36413
|
+
});
|
|
36414
|
+
},
|
|
35988
36415
|
/**
|
|
35989
36416
|
* Permanently deletes the specified on-site badge color rule from the given event; requires the \"update\" permission on events.
|
|
35990
36417
|
* @summary Delete an event badge color rule
|
|
@@ -36002,6 +36429,23 @@ export const EventsOnSiteApiFp = function (configuration) {
|
|
|
36002
36429
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36003
36430
|
});
|
|
36004
36431
|
},
|
|
36432
|
+
/**
|
|
36433
|
+
* Permanently deletes the specified on-site label from the given event; requires the \"update\" permission on events.
|
|
36434
|
+
* @summary Delete an event on-site label
|
|
36435
|
+
* @param {string} eventId The event identifier
|
|
36436
|
+
* @param {string} labelId The label identifier
|
|
36437
|
+
* @param {*} [options] Override http request option.
|
|
36438
|
+
* @throws {RequiredError}
|
|
36439
|
+
*/
|
|
36440
|
+
deleteEventOnSiteLabel(eventId, labelId, options) {
|
|
36441
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36442
|
+
var _a, _b, _c;
|
|
36443
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteEventOnSiteLabel(eventId, labelId, options);
|
|
36444
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36445
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsOnSiteApi.deleteEventOnSiteLabel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36446
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36447
|
+
});
|
|
36448
|
+
},
|
|
36005
36449
|
/**
|
|
36006
36450
|
* Returns a single on-site badge color rule belonging to the given event; requires \"read\" permission on events.
|
|
36007
36451
|
* @summary Get an event badge color rule
|
|
@@ -36055,6 +36499,99 @@ export const EventsOnSiteApiFp = function (configuration) {
|
|
|
36055
36499
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36056
36500
|
});
|
|
36057
36501
|
},
|
|
36502
|
+
/**
|
|
36503
|
+
* Returns a single on-site label belonging to the given event; requires \"read\" permission on events.
|
|
36504
|
+
* @summary Get an event on-site label
|
|
36505
|
+
* @param {string} eventId The event identifier
|
|
36506
|
+
* @param {string} labelId The label identifier
|
|
36507
|
+
* @param {*} [options] Override http request option.
|
|
36508
|
+
* @throws {RequiredError}
|
|
36509
|
+
*/
|
|
36510
|
+
getEventOnSiteLabel(eventId, labelId, options) {
|
|
36511
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36512
|
+
var _a, _b, _c;
|
|
36513
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventOnSiteLabel(eventId, labelId, options);
|
|
36514
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36515
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsOnSiteApi.getEventOnSiteLabel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36516
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36517
|
+
});
|
|
36518
|
+
},
|
|
36519
|
+
/**
|
|
36520
|
+
* Returns a paginated list of the event\'s pass types assigned to the given on-site label, supporting search and ordering; requires read permission on events.
|
|
36521
|
+
* @summary List pass types assigned to an on-site label
|
|
36522
|
+
* @param {string} eventId The event identifier
|
|
36523
|
+
* @param {string} labelId The label identifier
|
|
36524
|
+
* @param {number} [page] Page number
|
|
36525
|
+
* @param {number} [pageSize] Number of items per page
|
|
36526
|
+
* @param {string} [orderBy] Field to order by
|
|
36527
|
+
* @param {string} [search] Search query
|
|
36528
|
+
* @param {*} [options] Override http request option.
|
|
36529
|
+
* @throws {RequiredError}
|
|
36530
|
+
*/
|
|
36531
|
+
getEventOnSiteLabelPassTypes(eventId, labelId, page, pageSize, orderBy, search, options) {
|
|
36532
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36533
|
+
var _a, _b, _c;
|
|
36534
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventOnSiteLabelPassTypes(eventId, labelId, page, pageSize, orderBy, search, options);
|
|
36535
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36536
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsOnSiteApi.getEventOnSiteLabelPassTypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36537
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36538
|
+
});
|
|
36539
|
+
},
|
|
36540
|
+
/**
|
|
36541
|
+
* Returns the event\'s full set of on-site labels ordered by sortOrder. Pagination params are accepted but ignored by the API; requires \"read\" permission on events.
|
|
36542
|
+
* @summary List an event\'s on-site labels
|
|
36543
|
+
* @param {string} eventId The event identifier
|
|
36544
|
+
* @param {number} [page] Page number
|
|
36545
|
+
* @param {number} [pageSize] Number of items per page
|
|
36546
|
+
* @param {string} [orderBy] Field to order by
|
|
36547
|
+
* @param {string} [search] Search query
|
|
36548
|
+
* @param {*} [options] Override http request option.
|
|
36549
|
+
* @throws {RequiredError}
|
|
36550
|
+
*/
|
|
36551
|
+
getEventOnSiteLabels(eventId, page, pageSize, orderBy, search, options) {
|
|
36552
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36553
|
+
var _a, _b, _c;
|
|
36554
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventOnSiteLabels(eventId, page, pageSize, orderBy, search, options);
|
|
36555
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36556
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsOnSiteApi.getEventOnSiteLabels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36557
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36558
|
+
});
|
|
36559
|
+
},
|
|
36560
|
+
/**
|
|
36561
|
+
* Clears the given pass type\'s labelId when it currently points at this label. Returns 400 if the pass type has since moved to another label; requires the update permission on events.
|
|
36562
|
+
* @summary Unassign a pass type from an on-site label
|
|
36563
|
+
* @param {string} eventId The event identifier
|
|
36564
|
+
* @param {string} labelId The label identifier
|
|
36565
|
+
* @param {string} passTypeId The passType identifier
|
|
36566
|
+
* @param {*} [options] Override http request option.
|
|
36567
|
+
* @throws {RequiredError}
|
|
36568
|
+
*/
|
|
36569
|
+
removeEventOnSiteLabelPassType(eventId, labelId, passTypeId, options) {
|
|
36570
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36571
|
+
var _a, _b, _c;
|
|
36572
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventOnSiteLabelPassType(eventId, labelId, passTypeId, options);
|
|
36573
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36574
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsOnSiteApi.removeEventOnSiteLabelPassType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36575
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36576
|
+
});
|
|
36577
|
+
},
|
|
36578
|
+
/**
|
|
36579
|
+
* Marks the specified label as the event\'s default print design, clearing the flag from whichever label held it before. Unassigned pass types fall through to this label; requires the \"update\" permission on events.
|
|
36580
|
+
* @summary Set an event on-site label as the default
|
|
36581
|
+
* @param {string} eventId The event identifier
|
|
36582
|
+
* @param {string} labelId The label identifier
|
|
36583
|
+
* @param {*} [options] Override http request option.
|
|
36584
|
+
* @throws {RequiredError}
|
|
36585
|
+
*/
|
|
36586
|
+
setEventOnSiteLabelDefault(eventId, labelId, options) {
|
|
36587
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36588
|
+
var _a, _b, _c;
|
|
36589
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.setEventOnSiteLabelDefault(eventId, labelId, options);
|
|
36590
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36591
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsOnSiteApi.setEventOnSiteLabelDefault']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36592
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36593
|
+
});
|
|
36594
|
+
},
|
|
36058
36595
|
/**
|
|
36059
36596
|
* Partially updates the specified on-site badge color rule. Changing type still nulls unused match branches on the backend, so send the new branch\'s ids when the type changes; requires the \"update\" permission on events.
|
|
36060
36597
|
* @summary Update an event badge color rule
|
|
@@ -36106,6 +36643,24 @@ export const EventsOnSiteApiFp = function (configuration) {
|
|
|
36106
36643
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36107
36644
|
});
|
|
36108
36645
|
},
|
|
36646
|
+
/**
|
|
36647
|
+
* Partially updates the specified on-site label. The default flag is not writable here — use SetEventOnSiteLabelDefault; requires the \"update\" permission on events.
|
|
36648
|
+
* @summary Update an event on-site label
|
|
36649
|
+
* @param {string} eventId The event identifier
|
|
36650
|
+
* @param {string} labelId The label identifier
|
|
36651
|
+
* @param {EventOnSiteLabelUpdateInputs} eventOnSiteLabelUpdateInputs
|
|
36652
|
+
* @param {*} [options] Override http request option.
|
|
36653
|
+
* @throws {RequiredError}
|
|
36654
|
+
*/
|
|
36655
|
+
updateEventOnSiteLabel(eventId, labelId, eventOnSiteLabelUpdateInputs, options) {
|
|
36656
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36657
|
+
var _a, _b, _c;
|
|
36658
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEventOnSiteLabel(eventId, labelId, eventOnSiteLabelUpdateInputs, options);
|
|
36659
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36660
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsOnSiteApi.updateEventOnSiteLabel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36661
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36662
|
+
});
|
|
36663
|
+
},
|
|
36109
36664
|
};
|
|
36110
36665
|
};
|
|
36111
36666
|
/**
|
|
@@ -36114,6 +36669,16 @@ export const EventsOnSiteApiFp = function (configuration) {
|
|
|
36114
36669
|
export const EventsOnSiteApiFactory = function (configuration, basePath, axios) {
|
|
36115
36670
|
const localVarFp = EventsOnSiteApiFp(configuration);
|
|
36116
36671
|
return {
|
|
36672
|
+
/**
|
|
36673
|
+
* Sets the given pass type\'s labelId to this label. Assignment is exclusive, so a pass type previously assigned to another label is silently moved; requires the update permission on events.
|
|
36674
|
+
* @summary Assign a pass type to an on-site label
|
|
36675
|
+
* @param {EventsOnSiteApiAddEventOnSiteLabelPassTypeRequest} requestParameters Request parameters.
|
|
36676
|
+
* @param {*} [options] Override http request option.
|
|
36677
|
+
* @throws {RequiredError}
|
|
36678
|
+
*/
|
|
36679
|
+
addEventOnSiteLabelPassType(requestParameters, options) {
|
|
36680
|
+
return localVarFp.addEventOnSiteLabelPassType(requestParameters.eventId, requestParameters.labelId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
|
|
36681
|
+
},
|
|
36117
36682
|
/**
|
|
36118
36683
|
* Creates a new on-site badge color rule for the given event. Omitting sortOrder appends the rule after the last existing one; requires the \"update\" permission on events.
|
|
36119
36684
|
* @summary Create an event badge color rule
|
|
@@ -36124,6 +36689,16 @@ export const EventsOnSiteApiFactory = function (configuration, basePath, axios)
|
|
|
36124
36689
|
createEventBadgeColorRule(requestParameters, options) {
|
|
36125
36690
|
return localVarFp.createEventBadgeColorRule(requestParameters.eventId, requestParameters.eventBadgeColorRuleCreateInputs, options).then((request) => request(axios, basePath));
|
|
36126
36691
|
},
|
|
36692
|
+
/**
|
|
36693
|
+
* Creates a new on-site label for the given event. Omitting sortOrder appends the label after the last existing one. The API flags the new label as default when the event currently has none; requires the \"update\" permission on events.
|
|
36694
|
+
* @summary Create an event on-site label
|
|
36695
|
+
* @param {EventsOnSiteApiCreateEventOnSiteLabelRequest} requestParameters Request parameters.
|
|
36696
|
+
* @param {*} [options] Override http request option.
|
|
36697
|
+
* @throws {RequiredError}
|
|
36698
|
+
*/
|
|
36699
|
+
createEventOnSiteLabel(requestParameters, options) {
|
|
36700
|
+
return localVarFp.createEventOnSiteLabel(requestParameters.eventId, requestParameters.eventOnSiteLabelCreateInputs, options).then((request) => request(axios, basePath));
|
|
36701
|
+
},
|
|
36127
36702
|
/**
|
|
36128
36703
|
* Permanently deletes the specified on-site badge color rule from the given event; requires the \"update\" permission on events.
|
|
36129
36704
|
* @summary Delete an event badge color rule
|
|
@@ -36134,6 +36709,16 @@ export const EventsOnSiteApiFactory = function (configuration, basePath, axios)
|
|
|
36134
36709
|
deleteEventBadgeColorRule(requestParameters, options) {
|
|
36135
36710
|
return localVarFp.deleteEventBadgeColorRule(requestParameters.eventId, requestParameters.ruleId, options).then((request) => request(axios, basePath));
|
|
36136
36711
|
},
|
|
36712
|
+
/**
|
|
36713
|
+
* Permanently deletes the specified on-site label from the given event; requires the \"update\" permission on events.
|
|
36714
|
+
* @summary Delete an event on-site label
|
|
36715
|
+
* @param {EventsOnSiteApiDeleteEventOnSiteLabelRequest} requestParameters Request parameters.
|
|
36716
|
+
* @param {*} [options] Override http request option.
|
|
36717
|
+
* @throws {RequiredError}
|
|
36718
|
+
*/
|
|
36719
|
+
deleteEventOnSiteLabel(requestParameters, options) {
|
|
36720
|
+
return localVarFp.deleteEventOnSiteLabel(requestParameters.eventId, requestParameters.labelId, options).then((request) => request(axios, basePath));
|
|
36721
|
+
},
|
|
36137
36722
|
/**
|
|
36138
36723
|
* Returns a single on-site badge color rule belonging to the given event; requires \"read\" permission on events.
|
|
36139
36724
|
* @summary Get an event badge color rule
|
|
@@ -36164,6 +36749,56 @@ export const EventsOnSiteApiFactory = function (configuration, basePath, axios)
|
|
|
36164
36749
|
getEventOnSite(requestParameters, options) {
|
|
36165
36750
|
return localVarFp.getEventOnSite(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
36166
36751
|
},
|
|
36752
|
+
/**
|
|
36753
|
+
* Returns a single on-site label belonging to the given event; requires \"read\" permission on events.
|
|
36754
|
+
* @summary Get an event on-site label
|
|
36755
|
+
* @param {EventsOnSiteApiGetEventOnSiteLabelRequest} requestParameters Request parameters.
|
|
36756
|
+
* @param {*} [options] Override http request option.
|
|
36757
|
+
* @throws {RequiredError}
|
|
36758
|
+
*/
|
|
36759
|
+
getEventOnSiteLabel(requestParameters, options) {
|
|
36760
|
+
return localVarFp.getEventOnSiteLabel(requestParameters.eventId, requestParameters.labelId, options).then((request) => request(axios, basePath));
|
|
36761
|
+
},
|
|
36762
|
+
/**
|
|
36763
|
+
* Returns a paginated list of the event\'s pass types assigned to the given on-site label, supporting search and ordering; requires read permission on events.
|
|
36764
|
+
* @summary List pass types assigned to an on-site label
|
|
36765
|
+
* @param {EventsOnSiteApiGetEventOnSiteLabelPassTypesRequest} requestParameters Request parameters.
|
|
36766
|
+
* @param {*} [options] Override http request option.
|
|
36767
|
+
* @throws {RequiredError}
|
|
36768
|
+
*/
|
|
36769
|
+
getEventOnSiteLabelPassTypes(requestParameters, options) {
|
|
36770
|
+
return localVarFp.getEventOnSiteLabelPassTypes(requestParameters.eventId, requestParameters.labelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
36771
|
+
},
|
|
36772
|
+
/**
|
|
36773
|
+
* Returns the event\'s full set of on-site labels ordered by sortOrder. Pagination params are accepted but ignored by the API; requires \"read\" permission on events.
|
|
36774
|
+
* @summary List an event\'s on-site labels
|
|
36775
|
+
* @param {EventsOnSiteApiGetEventOnSiteLabelsRequest} requestParameters Request parameters.
|
|
36776
|
+
* @param {*} [options] Override http request option.
|
|
36777
|
+
* @throws {RequiredError}
|
|
36778
|
+
*/
|
|
36779
|
+
getEventOnSiteLabels(requestParameters, options) {
|
|
36780
|
+
return localVarFp.getEventOnSiteLabels(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
36781
|
+
},
|
|
36782
|
+
/**
|
|
36783
|
+
* Clears the given pass type\'s labelId when it currently points at this label. Returns 400 if the pass type has since moved to another label; requires the update permission on events.
|
|
36784
|
+
* @summary Unassign a pass type from an on-site label
|
|
36785
|
+
* @param {EventsOnSiteApiRemoveEventOnSiteLabelPassTypeRequest} requestParameters Request parameters.
|
|
36786
|
+
* @param {*} [options] Override http request option.
|
|
36787
|
+
* @throws {RequiredError}
|
|
36788
|
+
*/
|
|
36789
|
+
removeEventOnSiteLabelPassType(requestParameters, options) {
|
|
36790
|
+
return localVarFp.removeEventOnSiteLabelPassType(requestParameters.eventId, requestParameters.labelId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
|
|
36791
|
+
},
|
|
36792
|
+
/**
|
|
36793
|
+
* Marks the specified label as the event\'s default print design, clearing the flag from whichever label held it before. Unassigned pass types fall through to this label; requires the \"update\" permission on events.
|
|
36794
|
+
* @summary Set an event on-site label as the default
|
|
36795
|
+
* @param {EventsOnSiteApiSetEventOnSiteLabelDefaultRequest} requestParameters Request parameters.
|
|
36796
|
+
* @param {*} [options] Override http request option.
|
|
36797
|
+
* @throws {RequiredError}
|
|
36798
|
+
*/
|
|
36799
|
+
setEventOnSiteLabelDefault(requestParameters, options) {
|
|
36800
|
+
return localVarFp.setEventOnSiteLabelDefault(requestParameters.eventId, requestParameters.labelId, options).then((request) => request(axios, basePath));
|
|
36801
|
+
},
|
|
36167
36802
|
/**
|
|
36168
36803
|
* Partially updates the specified on-site badge color rule. Changing type still nulls unused match branches on the backend, so send the new branch\'s ids when the type changes; requires the \"update\" permission on events.
|
|
36169
36804
|
* @summary Update an event badge color rule
|
|
@@ -36194,12 +36829,32 @@ export const EventsOnSiteApiFactory = function (configuration, basePath, axios)
|
|
|
36194
36829
|
updateEventCheckinCode(requestParameters, options) {
|
|
36195
36830
|
return localVarFp.updateEventCheckinCode(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
36196
36831
|
},
|
|
36832
|
+
/**
|
|
36833
|
+
* Partially updates the specified on-site label. The default flag is not writable here — use SetEventOnSiteLabelDefault; requires the \"update\" permission on events.
|
|
36834
|
+
* @summary Update an event on-site label
|
|
36835
|
+
* @param {EventsOnSiteApiUpdateEventOnSiteLabelRequest} requestParameters Request parameters.
|
|
36836
|
+
* @param {*} [options] Override http request option.
|
|
36837
|
+
* @throws {RequiredError}
|
|
36838
|
+
*/
|
|
36839
|
+
updateEventOnSiteLabel(requestParameters, options) {
|
|
36840
|
+
return localVarFp.updateEventOnSiteLabel(requestParameters.eventId, requestParameters.labelId, requestParameters.eventOnSiteLabelUpdateInputs, options).then((request) => request(axios, basePath));
|
|
36841
|
+
},
|
|
36197
36842
|
};
|
|
36198
36843
|
};
|
|
36199
36844
|
/**
|
|
36200
36845
|
* EventsOnSiteApi - object-oriented interface
|
|
36201
36846
|
*/
|
|
36202
36847
|
export class EventsOnSiteApi extends BaseAPI {
|
|
36848
|
+
/**
|
|
36849
|
+
* Sets the given pass type\'s labelId to this label. Assignment is exclusive, so a pass type previously assigned to another label is silently moved; requires the update permission on events.
|
|
36850
|
+
* @summary Assign a pass type to an on-site label
|
|
36851
|
+
* @param {EventsOnSiteApiAddEventOnSiteLabelPassTypeRequest} requestParameters Request parameters.
|
|
36852
|
+
* @param {*} [options] Override http request option.
|
|
36853
|
+
* @throws {RequiredError}
|
|
36854
|
+
*/
|
|
36855
|
+
addEventOnSiteLabelPassType(requestParameters, options) {
|
|
36856
|
+
return EventsOnSiteApiFp(this.configuration).addEventOnSiteLabelPassType(requestParameters.eventId, requestParameters.labelId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
36857
|
+
}
|
|
36203
36858
|
/**
|
|
36204
36859
|
* Creates a new on-site badge color rule for the given event. Omitting sortOrder appends the rule after the last existing one; requires the \"update\" permission on events.
|
|
36205
36860
|
* @summary Create an event badge color rule
|
|
@@ -36210,6 +36865,16 @@ export class EventsOnSiteApi extends BaseAPI {
|
|
|
36210
36865
|
createEventBadgeColorRule(requestParameters, options) {
|
|
36211
36866
|
return EventsOnSiteApiFp(this.configuration).createEventBadgeColorRule(requestParameters.eventId, requestParameters.eventBadgeColorRuleCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
36212
36867
|
}
|
|
36868
|
+
/**
|
|
36869
|
+
* Creates a new on-site label for the given event. Omitting sortOrder appends the label after the last existing one. The API flags the new label as default when the event currently has none; requires the \"update\" permission on events.
|
|
36870
|
+
* @summary Create an event on-site label
|
|
36871
|
+
* @param {EventsOnSiteApiCreateEventOnSiteLabelRequest} requestParameters Request parameters.
|
|
36872
|
+
* @param {*} [options] Override http request option.
|
|
36873
|
+
* @throws {RequiredError}
|
|
36874
|
+
*/
|
|
36875
|
+
createEventOnSiteLabel(requestParameters, options) {
|
|
36876
|
+
return EventsOnSiteApiFp(this.configuration).createEventOnSiteLabel(requestParameters.eventId, requestParameters.eventOnSiteLabelCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
36877
|
+
}
|
|
36213
36878
|
/**
|
|
36214
36879
|
* Permanently deletes the specified on-site badge color rule from the given event; requires the \"update\" permission on events.
|
|
36215
36880
|
* @summary Delete an event badge color rule
|
|
@@ -36220,6 +36885,16 @@ export class EventsOnSiteApi extends BaseAPI {
|
|
|
36220
36885
|
deleteEventBadgeColorRule(requestParameters, options) {
|
|
36221
36886
|
return EventsOnSiteApiFp(this.configuration).deleteEventBadgeColorRule(requestParameters.eventId, requestParameters.ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
36222
36887
|
}
|
|
36888
|
+
/**
|
|
36889
|
+
* Permanently deletes the specified on-site label from the given event; requires the \"update\" permission on events.
|
|
36890
|
+
* @summary Delete an event on-site label
|
|
36891
|
+
* @param {EventsOnSiteApiDeleteEventOnSiteLabelRequest} requestParameters Request parameters.
|
|
36892
|
+
* @param {*} [options] Override http request option.
|
|
36893
|
+
* @throws {RequiredError}
|
|
36894
|
+
*/
|
|
36895
|
+
deleteEventOnSiteLabel(requestParameters, options) {
|
|
36896
|
+
return EventsOnSiteApiFp(this.configuration).deleteEventOnSiteLabel(requestParameters.eventId, requestParameters.labelId, options).then((request) => request(this.axios, this.basePath));
|
|
36897
|
+
}
|
|
36223
36898
|
/**
|
|
36224
36899
|
* Returns a single on-site badge color rule belonging to the given event; requires \"read\" permission on events.
|
|
36225
36900
|
* @summary Get an event badge color rule
|
|
@@ -36250,6 +36925,56 @@ export class EventsOnSiteApi extends BaseAPI {
|
|
|
36250
36925
|
getEventOnSite(requestParameters, options) {
|
|
36251
36926
|
return EventsOnSiteApiFp(this.configuration).getEventOnSite(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
36252
36927
|
}
|
|
36928
|
+
/**
|
|
36929
|
+
* Returns a single on-site label belonging to the given event; requires \"read\" permission on events.
|
|
36930
|
+
* @summary Get an event on-site label
|
|
36931
|
+
* @param {EventsOnSiteApiGetEventOnSiteLabelRequest} requestParameters Request parameters.
|
|
36932
|
+
* @param {*} [options] Override http request option.
|
|
36933
|
+
* @throws {RequiredError}
|
|
36934
|
+
*/
|
|
36935
|
+
getEventOnSiteLabel(requestParameters, options) {
|
|
36936
|
+
return EventsOnSiteApiFp(this.configuration).getEventOnSiteLabel(requestParameters.eventId, requestParameters.labelId, options).then((request) => request(this.axios, this.basePath));
|
|
36937
|
+
}
|
|
36938
|
+
/**
|
|
36939
|
+
* Returns a paginated list of the event\'s pass types assigned to the given on-site label, supporting search and ordering; requires read permission on events.
|
|
36940
|
+
* @summary List pass types assigned to an on-site label
|
|
36941
|
+
* @param {EventsOnSiteApiGetEventOnSiteLabelPassTypesRequest} requestParameters Request parameters.
|
|
36942
|
+
* @param {*} [options] Override http request option.
|
|
36943
|
+
* @throws {RequiredError}
|
|
36944
|
+
*/
|
|
36945
|
+
getEventOnSiteLabelPassTypes(requestParameters, options) {
|
|
36946
|
+
return EventsOnSiteApiFp(this.configuration).getEventOnSiteLabelPassTypes(requestParameters.eventId, requestParameters.labelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
36947
|
+
}
|
|
36948
|
+
/**
|
|
36949
|
+
* Returns the event\'s full set of on-site labels ordered by sortOrder. Pagination params are accepted but ignored by the API; requires \"read\" permission on events.
|
|
36950
|
+
* @summary List an event\'s on-site labels
|
|
36951
|
+
* @param {EventsOnSiteApiGetEventOnSiteLabelsRequest} requestParameters Request parameters.
|
|
36952
|
+
* @param {*} [options] Override http request option.
|
|
36953
|
+
* @throws {RequiredError}
|
|
36954
|
+
*/
|
|
36955
|
+
getEventOnSiteLabels(requestParameters, options) {
|
|
36956
|
+
return EventsOnSiteApiFp(this.configuration).getEventOnSiteLabels(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
36957
|
+
}
|
|
36958
|
+
/**
|
|
36959
|
+
* Clears the given pass type\'s labelId when it currently points at this label. Returns 400 if the pass type has since moved to another label; requires the update permission on events.
|
|
36960
|
+
* @summary Unassign a pass type from an on-site label
|
|
36961
|
+
* @param {EventsOnSiteApiRemoveEventOnSiteLabelPassTypeRequest} requestParameters Request parameters.
|
|
36962
|
+
* @param {*} [options] Override http request option.
|
|
36963
|
+
* @throws {RequiredError}
|
|
36964
|
+
*/
|
|
36965
|
+
removeEventOnSiteLabelPassType(requestParameters, options) {
|
|
36966
|
+
return EventsOnSiteApiFp(this.configuration).removeEventOnSiteLabelPassType(requestParameters.eventId, requestParameters.labelId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
36967
|
+
}
|
|
36968
|
+
/**
|
|
36969
|
+
* Marks the specified label as the event\'s default print design, clearing the flag from whichever label held it before. Unassigned pass types fall through to this label; requires the \"update\" permission on events.
|
|
36970
|
+
* @summary Set an event on-site label as the default
|
|
36971
|
+
* @param {EventsOnSiteApiSetEventOnSiteLabelDefaultRequest} requestParameters Request parameters.
|
|
36972
|
+
* @param {*} [options] Override http request option.
|
|
36973
|
+
* @throws {RequiredError}
|
|
36974
|
+
*/
|
|
36975
|
+
setEventOnSiteLabelDefault(requestParameters, options) {
|
|
36976
|
+
return EventsOnSiteApiFp(this.configuration).setEventOnSiteLabelDefault(requestParameters.eventId, requestParameters.labelId, options).then((request) => request(this.axios, this.basePath));
|
|
36977
|
+
}
|
|
36253
36978
|
/**
|
|
36254
36979
|
* Partially updates the specified on-site badge color rule. Changing type still nulls unused match branches on the backend, so send the new branch\'s ids when the type changes; requires the \"update\" permission on events.
|
|
36255
36980
|
* @summary Update an event badge color rule
|
|
@@ -36280,6 +37005,16 @@ export class EventsOnSiteApi extends BaseAPI {
|
|
|
36280
37005
|
updateEventCheckinCode(requestParameters, options) {
|
|
36281
37006
|
return EventsOnSiteApiFp(this.configuration).updateEventCheckinCode(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
36282
37007
|
}
|
|
37008
|
+
/**
|
|
37009
|
+
* Partially updates the specified on-site label. The default flag is not writable here — use SetEventOnSiteLabelDefault; requires the \"update\" permission on events.
|
|
37010
|
+
* @summary Update an event on-site label
|
|
37011
|
+
* @param {EventsOnSiteApiUpdateEventOnSiteLabelRequest} requestParameters Request parameters.
|
|
37012
|
+
* @param {*} [options] Override http request option.
|
|
37013
|
+
* @throws {RequiredError}
|
|
37014
|
+
*/
|
|
37015
|
+
updateEventOnSiteLabel(requestParameters, options) {
|
|
37016
|
+
return EventsOnSiteApiFp(this.configuration).updateEventOnSiteLabel(requestParameters.eventId, requestParameters.labelId, requestParameters.eventOnSiteLabelUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
37017
|
+
}
|
|
36283
37018
|
}
|
|
36284
37019
|
/**
|
|
36285
37020
|
* EventsPackagesApi - axios parameter creator
|