@connectedxm/admin-sdk 6.7.6 → 6.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +8 -0
- package/AdminApi.ts +3 -0
- package/README.md +20 -0
- package/api.ts +1988 -455
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +814 -4
- package/dist/api.js +1142 -28
- package/dist/esm/AdminApi.d.ts +2 -1
- package/dist/esm/AdminApi.js +2 -1
- package/dist/esm/api.d.ts +814 -4
- package/dist/esm/api.js +1120 -10
- package/docs/BaseEventActivation.md +2 -0
- package/docs/BaseEventBlock.md +24 -0
- package/docs/BaseSurvey.md +2 -0
- package/docs/BaseSurveySubmission.md +6 -0
- package/docs/CreateEventBlock200Response.md +24 -0
- package/docs/EventActivation.md +2 -0
- package/docs/EventBlock.md +32 -0
- package/docs/EventBlockCreateInputs.md +22 -0
- package/docs/EventBlockUpdateInputs.md +22 -0
- package/docs/EventSession.md +2 -0
- package/docs/EventsBlocksApi.md +479 -0
- package/docs/EventsCouponsApi.md +3 -0
- package/docs/EventsPassesApi.md +110 -0
- package/docs/EventsSessionsApi.md +183 -0
- package/docs/GetEventBlocks200Response.md +26 -0
- package/docs/Survey.md +18 -0
- package/docs/SurveyAllOfCount.md +20 -0
- package/docs/SurveyCreateInputs.md +8 -0
- package/docs/SurveySubmission.md +6 -0
- package/docs/SurveySubmissionUpdateInputs.md +4 -0
- package/docs/SurveyUpdateInputs.md +8 -0
- package/docs/SurveysApi.md +6 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1182,6 +1182,7 @@ export interface BaseEventActivation {
|
|
|
1182
1182
|
'startAfter': string | null;
|
|
1183
1183
|
'type': EventActivationType;
|
|
1184
1184
|
'accessLevel': PassTypeAccessLevel;
|
|
1185
|
+
'survey': BaseSurvey | null;
|
|
1185
1186
|
}
|
|
1186
1187
|
|
|
1187
1188
|
|
|
@@ -1212,6 +1213,11 @@ export interface BaseEventAttendee {
|
|
|
1212
1213
|
'eventId': string;
|
|
1213
1214
|
'event': BaseEvent;
|
|
1214
1215
|
}
|
|
1216
|
+
export interface BaseEventBlock {
|
|
1217
|
+
'id': string;
|
|
1218
|
+
'name': string;
|
|
1219
|
+
'limit': number;
|
|
1220
|
+
}
|
|
1215
1221
|
export interface BaseEventEmail {
|
|
1216
1222
|
'type': EventEmailType;
|
|
1217
1223
|
'eventId': string;
|
|
@@ -2274,6 +2280,7 @@ export interface BaseSurvey {
|
|
|
2274
2280
|
'id': string;
|
|
2275
2281
|
'slug': string;
|
|
2276
2282
|
'name': string;
|
|
2283
|
+
'active': boolean;
|
|
2277
2284
|
'description': string | null;
|
|
2278
2285
|
'image': BaseImage;
|
|
2279
2286
|
'requireAuth': boolean;
|
|
@@ -2359,7 +2366,10 @@ export interface BaseSurveySectionQuestion {
|
|
|
2359
2366
|
}
|
|
2360
2367
|
export interface BaseSurveySubmission {
|
|
2361
2368
|
'id': string;
|
|
2369
|
+
'accountId': string | null;
|
|
2362
2370
|
'account': BaseAccount | null;
|
|
2371
|
+
'passId': string | null;
|
|
2372
|
+
'pass': BaseEventPass | null;
|
|
2363
2373
|
'status': PurchaseStatus;
|
|
2364
2374
|
'responses': Array<BaseSurveyQuestionResponse>;
|
|
2365
2375
|
}
|
|
@@ -3343,6 +3353,16 @@ export enum CreateEventAttendee200ResponseStatusEnum {
|
|
|
3343
3353
|
Ok = 'ok'
|
|
3344
3354
|
}
|
|
3345
3355
|
|
|
3356
|
+
export interface CreateEventBlock200Response {
|
|
3357
|
+
'status': CreateEventBlock200ResponseStatusEnum;
|
|
3358
|
+
'message': string;
|
|
3359
|
+
'data': EventBlock;
|
|
3360
|
+
}
|
|
3361
|
+
|
|
3362
|
+
export enum CreateEventBlock200ResponseStatusEnum {
|
|
3363
|
+
Ok = 'ok'
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3346
3366
|
export interface CreateEventCoupon200Response {
|
|
3347
3367
|
'status': CreateEventCoupon200ResponseStatusEnum;
|
|
3348
3368
|
'message': string;
|
|
@@ -3999,6 +4019,7 @@ export interface EventActivation {
|
|
|
3999
4019
|
'startAfter': string | null;
|
|
4000
4020
|
'type': EventActivationType;
|
|
4001
4021
|
'accessLevel': PassTypeAccessLevel;
|
|
4022
|
+
'survey': BaseSurvey | null;
|
|
4002
4023
|
'eventId': string;
|
|
4003
4024
|
'event': BaseEvent;
|
|
4004
4025
|
'imageId': string | null;
|
|
@@ -4204,6 +4225,23 @@ export interface EventBadgeFieldUpdateInputs {
|
|
|
4204
4225
|
}
|
|
4205
4226
|
|
|
4206
4227
|
|
|
4228
|
+
export interface EventBlock {
|
|
4229
|
+
'id': string;
|
|
4230
|
+
'name': string;
|
|
4231
|
+
'limit': number;
|
|
4232
|
+
'event': BaseEvent;
|
|
4233
|
+
'sessions': Array<BaseEventSession>;
|
|
4234
|
+
'createdAt': string;
|
|
4235
|
+
'updatedAt': string;
|
|
4236
|
+
}
|
|
4237
|
+
export interface EventBlockCreateInputs {
|
|
4238
|
+
'name': string;
|
|
4239
|
+
'limit'?: number;
|
|
4240
|
+
}
|
|
4241
|
+
export interface EventBlockUpdateInputs {
|
|
4242
|
+
'name'?: string;
|
|
4243
|
+
'limit'?: number;
|
|
4244
|
+
}
|
|
4207
4245
|
export interface EventCouponCreateInputs {
|
|
4208
4246
|
'code': string;
|
|
4209
4247
|
'description'?: string | null;
|
|
@@ -5005,6 +5043,7 @@ export interface EventSession {
|
|
|
5005
5043
|
'speakers': Array<BaseEventSpeaker>;
|
|
5006
5044
|
'meetingId': string | null;
|
|
5007
5045
|
'meeting': BaseMeeting | null;
|
|
5046
|
+
'blocks': Array<BaseEventBlock> | null;
|
|
5008
5047
|
}
|
|
5009
5048
|
|
|
5010
5049
|
|
|
@@ -6175,6 +6214,17 @@ export enum GetEventAttendees200ResponseStatusEnum {
|
|
|
6175
6214
|
Ok = 'ok'
|
|
6176
6215
|
}
|
|
6177
6216
|
|
|
6217
|
+
export interface GetEventBlocks200Response {
|
|
6218
|
+
'status': GetEventBlocks200ResponseStatusEnum;
|
|
6219
|
+
'message': string;
|
|
6220
|
+
'data': Array<EventBlock>;
|
|
6221
|
+
'count'?: number;
|
|
6222
|
+
}
|
|
6223
|
+
|
|
6224
|
+
export enum GetEventBlocks200ResponseStatusEnum {
|
|
6225
|
+
Ok = 'ok'
|
|
6226
|
+
}
|
|
6227
|
+
|
|
6178
6228
|
export interface GetEventEmail200Response {
|
|
6179
6229
|
'status': GetEventEmail200ResponseStatusEnum;
|
|
6180
6230
|
'message': string;
|
|
@@ -9791,6 +9841,7 @@ export interface Survey {
|
|
|
9791
9841
|
'id': string;
|
|
9792
9842
|
'slug': string;
|
|
9793
9843
|
'name': string;
|
|
9844
|
+
'active': boolean;
|
|
9794
9845
|
'description': string | null;
|
|
9795
9846
|
'image': BaseImage;
|
|
9796
9847
|
'requireAuth': boolean;
|
|
@@ -9799,16 +9850,31 @@ export interface Survey {
|
|
|
9799
9850
|
'emailBody': string | null;
|
|
9800
9851
|
'createdAt': string;
|
|
9801
9852
|
'updatedAt': string;
|
|
9853
|
+
'eventId': string | null;
|
|
9854
|
+
'event': BaseEvent | null;
|
|
9855
|
+
'sessionId': string | null;
|
|
9856
|
+
'session': BaseEventSession | null;
|
|
9857
|
+
'activationId': string | null;
|
|
9858
|
+
'activation': BaseEventActivation | null;
|
|
9859
|
+
'passTypes': Array<BaseEventPassType> | null;
|
|
9860
|
+
'_count': SurveyAllOfCount;
|
|
9861
|
+
}
|
|
9862
|
+
export interface SurveyAllOfCount {
|
|
9863
|
+
'submissions': number;
|
|
9802
9864
|
}
|
|
9803
9865
|
export interface SurveyCreateInputs {
|
|
9804
9866
|
'name': string;
|
|
9805
9867
|
'slug'?: string;
|
|
9868
|
+
'active'?: boolean;
|
|
9806
9869
|
'description'?: string | null;
|
|
9807
9870
|
'imageId'?: string | null;
|
|
9808
9871
|
'requireAuth'?: boolean;
|
|
9809
9872
|
'submissionsPerAccount'?: InvoiceLineItemCreateInputsQuantity;
|
|
9810
9873
|
'replyTo'?: string | null;
|
|
9811
9874
|
'emailBody'?: string | null;
|
|
9875
|
+
'eventId'?: string | null;
|
|
9876
|
+
'sessionId'?: string | null;
|
|
9877
|
+
'activationId'?: string | null;
|
|
9812
9878
|
}
|
|
9813
9879
|
export interface SurveyQuestion {
|
|
9814
9880
|
'id': string;
|
|
@@ -10039,7 +10105,10 @@ export interface SurveySectionUpdateInputs {
|
|
|
10039
10105
|
}
|
|
10040
10106
|
export interface SurveySubmission {
|
|
10041
10107
|
'id': string;
|
|
10108
|
+
'accountId': string | null;
|
|
10042
10109
|
'account': BaseAccount | null;
|
|
10110
|
+
'passId': string | null;
|
|
10111
|
+
'pass': BaseEventPass | null;
|
|
10043
10112
|
'status': PurchaseStatus;
|
|
10044
10113
|
'responses': Array<BaseSurveyQuestionResponse>;
|
|
10045
10114
|
'createdAt': string;
|
|
@@ -10049,6 +10118,8 @@ export interface SurveySubmission {
|
|
|
10049
10118
|
|
|
10050
10119
|
export interface SurveySubmissionUpdateInputs {
|
|
10051
10120
|
'status'?: PurchaseStatus;
|
|
10121
|
+
'accountId'?: string | null;
|
|
10122
|
+
'passId'?: string | null;
|
|
10052
10123
|
}
|
|
10053
10124
|
|
|
10054
10125
|
|
|
@@ -10067,6 +10138,7 @@ export interface SurveyTranslationUpdateInputs {
|
|
|
10067
10138
|
}
|
|
10068
10139
|
export interface SurveyUpdateInputs {
|
|
10069
10140
|
'name'?: string;
|
|
10141
|
+
'active'?: boolean;
|
|
10070
10142
|
'slug'?: string;
|
|
10071
10143
|
'description'?: string | null;
|
|
10072
10144
|
'imageId'?: string | null;
|
|
@@ -10074,6 +10146,9 @@ export interface SurveyUpdateInputs {
|
|
|
10074
10146
|
'submissionsPerAccount'?: InvoiceLineItemCreateInputsQuantity;
|
|
10075
10147
|
'replyTo'?: string | null;
|
|
10076
10148
|
'emailBody'?: string | null;
|
|
10149
|
+
'eventId'?: string | null;
|
|
10150
|
+
'sessionId'?: string | null;
|
|
10151
|
+
'activationId'?: string | null;
|
|
10077
10152
|
}
|
|
10078
10153
|
export interface SystemEventLog {
|
|
10079
10154
|
'id': string;
|
|
@@ -34790,21 +34865,554 @@ export const EventsBenefitsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
34790
34865
|
};
|
|
34791
34866
|
},
|
|
34792
34867
|
/**
|
|
34793
|
-
* Remove Event Benefit endpoint
|
|
34794
|
-
* @summary Remove Event Benefit
|
|
34868
|
+
* Remove Event Benefit endpoint
|
|
34869
|
+
* @summary Remove Event Benefit
|
|
34870
|
+
* @param {string} eventId The event identifier
|
|
34871
|
+
* @param {string} benefitId The benefit identifier
|
|
34872
|
+
* @param {*} [options] Override http request option.
|
|
34873
|
+
* @throws {RequiredError}
|
|
34874
|
+
*/
|
|
34875
|
+
removeEventBenefit: async (eventId: string, benefitId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34876
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
34877
|
+
assertParamExists('removeEventBenefit', 'eventId', eventId)
|
|
34878
|
+
// verify required parameter 'benefitId' is not null or undefined
|
|
34879
|
+
assertParamExists('removeEventBenefit', 'benefitId', benefitId)
|
|
34880
|
+
const localVarPath = `/events/{eventId}/benefits/{benefitId}`
|
|
34881
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
34882
|
+
.replace(`{${"benefitId"}}`, encodeURIComponent(String(benefitId)));
|
|
34883
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34884
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34885
|
+
let baseOptions;
|
|
34886
|
+
if (configuration) {
|
|
34887
|
+
baseOptions = configuration.baseOptions;
|
|
34888
|
+
}
|
|
34889
|
+
|
|
34890
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
34891
|
+
const localVarHeaderParameter = {} as any;
|
|
34892
|
+
const localVarQueryParameter = {} as any;
|
|
34893
|
+
|
|
34894
|
+
// authentication ApiKeyAuth required
|
|
34895
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
34896
|
+
|
|
34897
|
+
// authentication OrganizationId required
|
|
34898
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
34899
|
+
|
|
34900
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
34901
|
+
|
|
34902
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34903
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34904
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34905
|
+
|
|
34906
|
+
return {
|
|
34907
|
+
url: toPathString(localVarUrlObj),
|
|
34908
|
+
options: localVarRequestOptions,
|
|
34909
|
+
};
|
|
34910
|
+
},
|
|
34911
|
+
}
|
|
34912
|
+
};
|
|
34913
|
+
|
|
34914
|
+
/**
|
|
34915
|
+
* EventsBenefitsApi - functional programming interface
|
|
34916
|
+
*/
|
|
34917
|
+
export const EventsBenefitsApiFp = function(configuration?: Configuration) {
|
|
34918
|
+
const localVarAxiosParamCreator = EventsBenefitsApiAxiosParamCreator(configuration)
|
|
34919
|
+
return {
|
|
34920
|
+
/**
|
|
34921
|
+
* Add Event Benefit endpoint
|
|
34922
|
+
* @summary Add Event Benefit
|
|
34923
|
+
* @param {string} eventId The event identifier
|
|
34924
|
+
* @param {string} benefitId The benefit identifier
|
|
34925
|
+
* @param {*} [options] Override http request option.
|
|
34926
|
+
* @throws {RequiredError}
|
|
34927
|
+
*/
|
|
34928
|
+
async addEventBenefit(eventId: string, benefitId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBenefit200Response>> {
|
|
34929
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addEventBenefit(eventId, benefitId, options);
|
|
34930
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34931
|
+
const localVarOperationServerBasePath = operationServerMap['EventsBenefitsApi.addEventBenefit']?.[localVarOperationServerIndex]?.url;
|
|
34932
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34933
|
+
},
|
|
34934
|
+
/**
|
|
34935
|
+
* Remove Event Benefit endpoint
|
|
34936
|
+
* @summary Remove Event Benefit
|
|
34937
|
+
* @param {string} eventId The event identifier
|
|
34938
|
+
* @param {string} benefitId The benefit identifier
|
|
34939
|
+
* @param {*} [options] Override http request option.
|
|
34940
|
+
* @throws {RequiredError}
|
|
34941
|
+
*/
|
|
34942
|
+
async removeEventBenefit(eventId: string, benefitId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBenefit200Response>> {
|
|
34943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventBenefit(eventId, benefitId, options);
|
|
34944
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34945
|
+
const localVarOperationServerBasePath = operationServerMap['EventsBenefitsApi.removeEventBenefit']?.[localVarOperationServerIndex]?.url;
|
|
34946
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34947
|
+
},
|
|
34948
|
+
}
|
|
34949
|
+
};
|
|
34950
|
+
|
|
34951
|
+
/**
|
|
34952
|
+
* EventsBenefitsApi - factory interface
|
|
34953
|
+
*/
|
|
34954
|
+
export const EventsBenefitsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
34955
|
+
const localVarFp = EventsBenefitsApiFp(configuration)
|
|
34956
|
+
return {
|
|
34957
|
+
/**
|
|
34958
|
+
* Add Event Benefit endpoint
|
|
34959
|
+
* @summary Add Event Benefit
|
|
34960
|
+
* @param {EventsBenefitsApiAddEventBenefitRequest} requestParameters Request parameters.
|
|
34961
|
+
* @param {*} [options] Override http request option.
|
|
34962
|
+
* @throws {RequiredError}
|
|
34963
|
+
*/
|
|
34964
|
+
addEventBenefit(requestParameters: EventsBenefitsApiAddEventBenefitRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBenefit200Response> {
|
|
34965
|
+
return localVarFp.addEventBenefit(requestParameters.eventId, requestParameters.benefitId, options).then((request) => request(axios, basePath));
|
|
34966
|
+
},
|
|
34967
|
+
/**
|
|
34968
|
+
* Remove Event Benefit endpoint
|
|
34969
|
+
* @summary Remove Event Benefit
|
|
34970
|
+
* @param {EventsBenefitsApiRemoveEventBenefitRequest} requestParameters Request parameters.
|
|
34971
|
+
* @param {*} [options] Override http request option.
|
|
34972
|
+
* @throws {RequiredError}
|
|
34973
|
+
*/
|
|
34974
|
+
removeEventBenefit(requestParameters: EventsBenefitsApiRemoveEventBenefitRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateBenefit200Response> {
|
|
34975
|
+
return localVarFp.removeEventBenefit(requestParameters.eventId, requestParameters.benefitId, options).then((request) => request(axios, basePath));
|
|
34976
|
+
},
|
|
34977
|
+
};
|
|
34978
|
+
};
|
|
34979
|
+
|
|
34980
|
+
/**
|
|
34981
|
+
* Request parameters for addEventBenefit operation in EventsBenefitsApi.
|
|
34982
|
+
*/
|
|
34983
|
+
export interface EventsBenefitsApiAddEventBenefitRequest {
|
|
34984
|
+
/**
|
|
34985
|
+
* The event identifier
|
|
34986
|
+
*/
|
|
34987
|
+
readonly eventId: string
|
|
34988
|
+
|
|
34989
|
+
/**
|
|
34990
|
+
* The benefit identifier
|
|
34991
|
+
*/
|
|
34992
|
+
readonly benefitId: string
|
|
34993
|
+
}
|
|
34994
|
+
|
|
34995
|
+
/**
|
|
34996
|
+
* Request parameters for removeEventBenefit operation in EventsBenefitsApi.
|
|
34997
|
+
*/
|
|
34998
|
+
export interface EventsBenefitsApiRemoveEventBenefitRequest {
|
|
34999
|
+
/**
|
|
35000
|
+
* The event identifier
|
|
35001
|
+
*/
|
|
35002
|
+
readonly eventId: string
|
|
35003
|
+
|
|
35004
|
+
/**
|
|
35005
|
+
* The benefit identifier
|
|
35006
|
+
*/
|
|
35007
|
+
readonly benefitId: string
|
|
35008
|
+
}
|
|
35009
|
+
|
|
35010
|
+
/**
|
|
35011
|
+
* EventsBenefitsApi - object-oriented interface
|
|
35012
|
+
*/
|
|
35013
|
+
export class EventsBenefitsApi extends BaseAPI {
|
|
35014
|
+
/**
|
|
35015
|
+
* Add Event Benefit endpoint
|
|
35016
|
+
* @summary Add Event Benefit
|
|
35017
|
+
* @param {EventsBenefitsApiAddEventBenefitRequest} requestParameters Request parameters.
|
|
35018
|
+
* @param {*} [options] Override http request option.
|
|
35019
|
+
* @throws {RequiredError}
|
|
35020
|
+
*/
|
|
35021
|
+
public addEventBenefit(requestParameters: EventsBenefitsApiAddEventBenefitRequest, options?: RawAxiosRequestConfig) {
|
|
35022
|
+
return EventsBenefitsApiFp(this.configuration).addEventBenefit(requestParameters.eventId, requestParameters.benefitId, options).then((request) => request(this.axios, this.basePath));
|
|
35023
|
+
}
|
|
35024
|
+
|
|
35025
|
+
/**
|
|
35026
|
+
* Remove Event Benefit endpoint
|
|
35027
|
+
* @summary Remove Event Benefit
|
|
35028
|
+
* @param {EventsBenefitsApiRemoveEventBenefitRequest} requestParameters Request parameters.
|
|
35029
|
+
* @param {*} [options] Override http request option.
|
|
35030
|
+
* @throws {RequiredError}
|
|
35031
|
+
*/
|
|
35032
|
+
public removeEventBenefit(requestParameters: EventsBenefitsApiRemoveEventBenefitRequest, options?: RawAxiosRequestConfig) {
|
|
35033
|
+
return EventsBenefitsApiFp(this.configuration).removeEventBenefit(requestParameters.eventId, requestParameters.benefitId, options).then((request) => request(this.axios, this.basePath));
|
|
35034
|
+
}
|
|
35035
|
+
}
|
|
35036
|
+
|
|
35037
|
+
|
|
35038
|
+
|
|
35039
|
+
/**
|
|
35040
|
+
* EventsBlocksApi - axios parameter creator
|
|
35041
|
+
*/
|
|
35042
|
+
export const EventsBlocksApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35043
|
+
return {
|
|
35044
|
+
/**
|
|
35045
|
+
* Add Event Block Session endpoint
|
|
35046
|
+
* @summary Add Event Block Session
|
|
35047
|
+
* @param {string} eventId The event identifier
|
|
35048
|
+
* @param {string} blockId The block identifier
|
|
35049
|
+
* @param {string} sessionId The session identifier
|
|
35050
|
+
* @param {*} [options] Override http request option.
|
|
35051
|
+
* @throws {RequiredError}
|
|
35052
|
+
*/
|
|
35053
|
+
addEventBlockSession: async (eventId: string, blockId: string, sessionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35054
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35055
|
+
assertParamExists('addEventBlockSession', 'eventId', eventId)
|
|
35056
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
35057
|
+
assertParamExists('addEventBlockSession', 'blockId', blockId)
|
|
35058
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
35059
|
+
assertParamExists('addEventBlockSession', 'sessionId', sessionId)
|
|
35060
|
+
const localVarPath = `/events/{eventId}/blocks/{blockId}/sessions/{sessionId}`
|
|
35061
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
35062
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)))
|
|
35063
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
35064
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35065
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35066
|
+
let baseOptions;
|
|
35067
|
+
if (configuration) {
|
|
35068
|
+
baseOptions = configuration.baseOptions;
|
|
35069
|
+
}
|
|
35070
|
+
|
|
35071
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
35072
|
+
const localVarHeaderParameter = {} as any;
|
|
35073
|
+
const localVarQueryParameter = {} as any;
|
|
35074
|
+
|
|
35075
|
+
// authentication ApiKeyAuth required
|
|
35076
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
35077
|
+
|
|
35078
|
+
// authentication OrganizationId required
|
|
35079
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
35080
|
+
|
|
35081
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
35082
|
+
|
|
35083
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35084
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35085
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35086
|
+
|
|
35087
|
+
return {
|
|
35088
|
+
url: toPathString(localVarUrlObj),
|
|
35089
|
+
options: localVarRequestOptions,
|
|
35090
|
+
};
|
|
35091
|
+
},
|
|
35092
|
+
/**
|
|
35093
|
+
* Create Event Block endpoint
|
|
35094
|
+
* @summary Create Event Block
|
|
35095
|
+
* @param {string} eventId The event identifier
|
|
35096
|
+
* @param {EventBlockCreateInputs} eventBlockCreateInputs
|
|
35097
|
+
* @param {*} [options] Override http request option.
|
|
35098
|
+
* @throws {RequiredError}
|
|
35099
|
+
*/
|
|
35100
|
+
createEventBlock: async (eventId: string, eventBlockCreateInputs: EventBlockCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35101
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35102
|
+
assertParamExists('createEventBlock', 'eventId', eventId)
|
|
35103
|
+
// verify required parameter 'eventBlockCreateInputs' is not null or undefined
|
|
35104
|
+
assertParamExists('createEventBlock', 'eventBlockCreateInputs', eventBlockCreateInputs)
|
|
35105
|
+
const localVarPath = `/events/{eventId}/blocks`
|
|
35106
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
35107
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35108
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35109
|
+
let baseOptions;
|
|
35110
|
+
if (configuration) {
|
|
35111
|
+
baseOptions = configuration.baseOptions;
|
|
35112
|
+
}
|
|
35113
|
+
|
|
35114
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
35115
|
+
const localVarHeaderParameter = {} as any;
|
|
35116
|
+
const localVarQueryParameter = {} as any;
|
|
35117
|
+
|
|
35118
|
+
// authentication ApiKeyAuth required
|
|
35119
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
35120
|
+
|
|
35121
|
+
// authentication OrganizationId required
|
|
35122
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
35123
|
+
|
|
35124
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35125
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
35126
|
+
|
|
35127
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35128
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35129
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35130
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventBlockCreateInputs, localVarRequestOptions, configuration)
|
|
35131
|
+
|
|
35132
|
+
return {
|
|
35133
|
+
url: toPathString(localVarUrlObj),
|
|
35134
|
+
options: localVarRequestOptions,
|
|
35135
|
+
};
|
|
35136
|
+
},
|
|
35137
|
+
/**
|
|
35138
|
+
* Delete Event Block endpoint
|
|
35139
|
+
* @summary Delete Event Block
|
|
35140
|
+
* @param {string} eventId The event identifier
|
|
35141
|
+
* @param {string} blockId The block identifier
|
|
35142
|
+
* @param {*} [options] Override http request option.
|
|
35143
|
+
* @throws {RequiredError}
|
|
35144
|
+
*/
|
|
35145
|
+
deleteEventBlock: async (eventId: string, blockId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35146
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35147
|
+
assertParamExists('deleteEventBlock', 'eventId', eventId)
|
|
35148
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
35149
|
+
assertParamExists('deleteEventBlock', 'blockId', blockId)
|
|
35150
|
+
const localVarPath = `/events/{eventId}/blocks/{blockId}`
|
|
35151
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
35152
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
35153
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35154
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35155
|
+
let baseOptions;
|
|
35156
|
+
if (configuration) {
|
|
35157
|
+
baseOptions = configuration.baseOptions;
|
|
35158
|
+
}
|
|
35159
|
+
|
|
35160
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
35161
|
+
const localVarHeaderParameter = {} as any;
|
|
35162
|
+
const localVarQueryParameter = {} as any;
|
|
35163
|
+
|
|
35164
|
+
// authentication ApiKeyAuth required
|
|
35165
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
35166
|
+
|
|
35167
|
+
// authentication OrganizationId required
|
|
35168
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
35169
|
+
|
|
35170
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
35171
|
+
|
|
35172
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35174
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35175
|
+
|
|
35176
|
+
return {
|
|
35177
|
+
url: toPathString(localVarUrlObj),
|
|
35178
|
+
options: localVarRequestOptions,
|
|
35179
|
+
};
|
|
35180
|
+
},
|
|
35181
|
+
/**
|
|
35182
|
+
* Get Event Block endpoint
|
|
35183
|
+
* @summary Get Event Block
|
|
35184
|
+
* @param {string} eventId The event identifier
|
|
35185
|
+
* @param {string} blockId The block identifier
|
|
35186
|
+
* @param {*} [options] Override http request option.
|
|
35187
|
+
* @throws {RequiredError}
|
|
35188
|
+
*/
|
|
35189
|
+
getEventBlock: async (eventId: string, blockId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35190
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35191
|
+
assertParamExists('getEventBlock', 'eventId', eventId)
|
|
35192
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
35193
|
+
assertParamExists('getEventBlock', 'blockId', blockId)
|
|
35194
|
+
const localVarPath = `/events/{eventId}/blocks/{blockId}`
|
|
35195
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
35196
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
35197
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35198
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35199
|
+
let baseOptions;
|
|
35200
|
+
if (configuration) {
|
|
35201
|
+
baseOptions = configuration.baseOptions;
|
|
35202
|
+
}
|
|
35203
|
+
|
|
35204
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35205
|
+
const localVarHeaderParameter = {} as any;
|
|
35206
|
+
const localVarQueryParameter = {} as any;
|
|
35207
|
+
|
|
35208
|
+
// authentication ApiKeyAuth required
|
|
35209
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
35210
|
+
|
|
35211
|
+
// authentication OrganizationId required
|
|
35212
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
35213
|
+
|
|
35214
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
35215
|
+
|
|
35216
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35217
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35218
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35219
|
+
|
|
35220
|
+
return {
|
|
35221
|
+
url: toPathString(localVarUrlObj),
|
|
35222
|
+
options: localVarRequestOptions,
|
|
35223
|
+
};
|
|
35224
|
+
},
|
|
35225
|
+
/**
|
|
35226
|
+
* Get Event Block Sessions endpoint
|
|
35227
|
+
* @summary Get Event Block Sessions
|
|
35228
|
+
* @param {string} eventId The event identifier
|
|
35229
|
+
* @param {string} blockId The block identifier
|
|
35230
|
+
* @param {number} [page] Page number
|
|
35231
|
+
* @param {number} [pageSize] Number of items per page
|
|
35232
|
+
* @param {string} [orderBy] Field to order by
|
|
35233
|
+
* @param {string} [search] Search query
|
|
35234
|
+
* @param {*} [options] Override http request option.
|
|
35235
|
+
* @throws {RequiredError}
|
|
35236
|
+
*/
|
|
35237
|
+
getEventBlockSessions: async (eventId: string, blockId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35238
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35239
|
+
assertParamExists('getEventBlockSessions', 'eventId', eventId)
|
|
35240
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
35241
|
+
assertParamExists('getEventBlockSessions', 'blockId', blockId)
|
|
35242
|
+
const localVarPath = `/events/{eventId}/blocks/{blockId}/sessions`
|
|
35243
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
35244
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
35245
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35246
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35247
|
+
let baseOptions;
|
|
35248
|
+
if (configuration) {
|
|
35249
|
+
baseOptions = configuration.baseOptions;
|
|
35250
|
+
}
|
|
35251
|
+
|
|
35252
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35253
|
+
const localVarHeaderParameter = {} as any;
|
|
35254
|
+
const localVarQueryParameter = {} as any;
|
|
35255
|
+
|
|
35256
|
+
// authentication ApiKeyAuth required
|
|
35257
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
35258
|
+
|
|
35259
|
+
// authentication OrganizationId required
|
|
35260
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
35261
|
+
|
|
35262
|
+
if (page !== undefined) {
|
|
35263
|
+
localVarQueryParameter['page'] = page;
|
|
35264
|
+
}
|
|
35265
|
+
|
|
35266
|
+
if (pageSize !== undefined) {
|
|
35267
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
35268
|
+
}
|
|
35269
|
+
|
|
35270
|
+
if (orderBy !== undefined) {
|
|
35271
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
35272
|
+
}
|
|
35273
|
+
|
|
35274
|
+
if (search !== undefined) {
|
|
35275
|
+
localVarQueryParameter['search'] = search;
|
|
35276
|
+
}
|
|
35277
|
+
|
|
35278
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
35279
|
+
|
|
35280
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35281
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35282
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35283
|
+
|
|
35284
|
+
return {
|
|
35285
|
+
url: toPathString(localVarUrlObj),
|
|
35286
|
+
options: localVarRequestOptions,
|
|
35287
|
+
};
|
|
35288
|
+
},
|
|
35289
|
+
/**
|
|
35290
|
+
* Get Event Blocks endpoint
|
|
35291
|
+
* @summary Get Event Blocks
|
|
35292
|
+
* @param {string} eventId The event identifier
|
|
35293
|
+
* @param {number} [page] Page number
|
|
35294
|
+
* @param {number} [pageSize] Number of items per page
|
|
35295
|
+
* @param {string} [orderBy] Field to order by
|
|
35296
|
+
* @param {string} [search] Search query
|
|
35297
|
+
* @param {*} [options] Override http request option.
|
|
35298
|
+
* @throws {RequiredError}
|
|
35299
|
+
*/
|
|
35300
|
+
getEventBlocks: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35301
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35302
|
+
assertParamExists('getEventBlocks', 'eventId', eventId)
|
|
35303
|
+
const localVarPath = `/events/{eventId}/blocks`
|
|
35304
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
35305
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35306
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35307
|
+
let baseOptions;
|
|
35308
|
+
if (configuration) {
|
|
35309
|
+
baseOptions = configuration.baseOptions;
|
|
35310
|
+
}
|
|
35311
|
+
|
|
35312
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35313
|
+
const localVarHeaderParameter = {} as any;
|
|
35314
|
+
const localVarQueryParameter = {} as any;
|
|
35315
|
+
|
|
35316
|
+
// authentication ApiKeyAuth required
|
|
35317
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
35318
|
+
|
|
35319
|
+
// authentication OrganizationId required
|
|
35320
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
35321
|
+
|
|
35322
|
+
if (page !== undefined) {
|
|
35323
|
+
localVarQueryParameter['page'] = page;
|
|
35324
|
+
}
|
|
35325
|
+
|
|
35326
|
+
if (pageSize !== undefined) {
|
|
35327
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
35328
|
+
}
|
|
35329
|
+
|
|
35330
|
+
if (orderBy !== undefined) {
|
|
35331
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
35332
|
+
}
|
|
35333
|
+
|
|
35334
|
+
if (search !== undefined) {
|
|
35335
|
+
localVarQueryParameter['search'] = search;
|
|
35336
|
+
}
|
|
35337
|
+
|
|
35338
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
35339
|
+
|
|
35340
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35341
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35342
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35343
|
+
|
|
35344
|
+
return {
|
|
35345
|
+
url: toPathString(localVarUrlObj),
|
|
35346
|
+
options: localVarRequestOptions,
|
|
35347
|
+
};
|
|
35348
|
+
},
|
|
35349
|
+
/**
|
|
35350
|
+
* Remove Event Block Session endpoint
|
|
35351
|
+
* @summary Remove Event Block Session
|
|
35352
|
+
* @param {string} eventId The event identifier
|
|
35353
|
+
* @param {string} blockId The block identifier
|
|
35354
|
+
* @param {string} sessionId The session identifier
|
|
35355
|
+
* @param {*} [options] Override http request option.
|
|
35356
|
+
* @throws {RequiredError}
|
|
35357
|
+
*/
|
|
35358
|
+
removeEventBlockSession: async (eventId: string, blockId: string, sessionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35359
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35360
|
+
assertParamExists('removeEventBlockSession', 'eventId', eventId)
|
|
35361
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
35362
|
+
assertParamExists('removeEventBlockSession', 'blockId', blockId)
|
|
35363
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
35364
|
+
assertParamExists('removeEventBlockSession', 'sessionId', sessionId)
|
|
35365
|
+
const localVarPath = `/events/{eventId}/blocks/{blockId}/sessions/{sessionId}`
|
|
35366
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
35367
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)))
|
|
35368
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
35369
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35370
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35371
|
+
let baseOptions;
|
|
35372
|
+
if (configuration) {
|
|
35373
|
+
baseOptions = configuration.baseOptions;
|
|
35374
|
+
}
|
|
35375
|
+
|
|
35376
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
35377
|
+
const localVarHeaderParameter = {} as any;
|
|
35378
|
+
const localVarQueryParameter = {} as any;
|
|
35379
|
+
|
|
35380
|
+
// authentication ApiKeyAuth required
|
|
35381
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
35382
|
+
|
|
35383
|
+
// authentication OrganizationId required
|
|
35384
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
35385
|
+
|
|
35386
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
35387
|
+
|
|
35388
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35389
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35390
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35391
|
+
|
|
35392
|
+
return {
|
|
35393
|
+
url: toPathString(localVarUrlObj),
|
|
35394
|
+
options: localVarRequestOptions,
|
|
35395
|
+
};
|
|
35396
|
+
},
|
|
35397
|
+
/**
|
|
35398
|
+
* Update Event Block endpoint
|
|
35399
|
+
* @summary Update Event Block
|
|
34795
35400
|
* @param {string} eventId The event identifier
|
|
34796
|
-
* @param {string}
|
|
35401
|
+
* @param {string} blockId The block identifier
|
|
35402
|
+
* @param {EventBlockUpdateInputs} eventBlockUpdateInputs
|
|
34797
35403
|
* @param {*} [options] Override http request option.
|
|
34798
35404
|
* @throws {RequiredError}
|
|
34799
35405
|
*/
|
|
34800
|
-
|
|
35406
|
+
updateEventBlock: async (eventId: string, blockId: string, eventBlockUpdateInputs: EventBlockUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34801
35407
|
// verify required parameter 'eventId' is not null or undefined
|
|
34802
|
-
assertParamExists('
|
|
34803
|
-
// verify required parameter '
|
|
34804
|
-
assertParamExists('
|
|
34805
|
-
|
|
35408
|
+
assertParamExists('updateEventBlock', 'eventId', eventId)
|
|
35409
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
35410
|
+
assertParamExists('updateEventBlock', 'blockId', blockId)
|
|
35411
|
+
// verify required parameter 'eventBlockUpdateInputs' is not null or undefined
|
|
35412
|
+
assertParamExists('updateEventBlock', 'eventBlockUpdateInputs', eventBlockUpdateInputs)
|
|
35413
|
+
const localVarPath = `/events/{eventId}/blocks/{blockId}`
|
|
34806
35414
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
34807
|
-
.replace(`{${"
|
|
35415
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
34808
35416
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34809
35417
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34810
35418
|
let baseOptions;
|
|
@@ -34812,7 +35420,7 @@ export const EventsBenefitsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
34812
35420
|
baseOptions = configuration.baseOptions;
|
|
34813
35421
|
}
|
|
34814
35422
|
|
|
34815
|
-
const localVarRequestOptions = { method: '
|
|
35423
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
34816
35424
|
const localVarHeaderParameter = {} as any;
|
|
34817
35425
|
const localVarQueryParameter = {} as any;
|
|
34818
35426
|
|
|
@@ -34822,11 +35430,13 @@ export const EventsBenefitsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
34822
35430
|
// authentication OrganizationId required
|
|
34823
35431
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
34824
35432
|
|
|
35433
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34825
35434
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
34826
35435
|
|
|
34827
35436
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34828
35437
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34829
35438
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35439
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventBlockUpdateInputs, localVarRequestOptions, configuration)
|
|
34830
35440
|
|
|
34831
35441
|
return {
|
|
34832
35442
|
url: toPathString(localVarUrlObj),
|
|
@@ -34837,125 +35447,479 @@ export const EventsBenefitsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
34837
35447
|
};
|
|
34838
35448
|
|
|
34839
35449
|
/**
|
|
34840
|
-
*
|
|
35450
|
+
* EventsBlocksApi - functional programming interface
|
|
34841
35451
|
*/
|
|
34842
|
-
export const
|
|
34843
|
-
const localVarAxiosParamCreator =
|
|
35452
|
+
export const EventsBlocksApiFp = function(configuration?: Configuration) {
|
|
35453
|
+
const localVarAxiosParamCreator = EventsBlocksApiAxiosParamCreator(configuration)
|
|
34844
35454
|
return {
|
|
34845
35455
|
/**
|
|
34846
|
-
* Add Event
|
|
34847
|
-
* @summary Add Event
|
|
35456
|
+
* Add Event Block Session endpoint
|
|
35457
|
+
* @summary Add Event Block Session
|
|
34848
35458
|
* @param {string} eventId The event identifier
|
|
34849
|
-
* @param {string}
|
|
35459
|
+
* @param {string} blockId The block identifier
|
|
35460
|
+
* @param {string} sessionId The session identifier
|
|
34850
35461
|
* @param {*} [options] Override http request option.
|
|
34851
35462
|
* @throws {RequiredError}
|
|
34852
35463
|
*/
|
|
34853
|
-
async
|
|
34854
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35464
|
+
async addEventBlockSession(eventId: string, blockId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBlock200Response>> {
|
|
35465
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addEventBlockSession(eventId, blockId, sessionId, options);
|
|
34855
35466
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34856
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
35467
|
+
const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.addEventBlockSession']?.[localVarOperationServerIndex]?.url;
|
|
34857
35468
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34858
35469
|
},
|
|
34859
35470
|
/**
|
|
34860
|
-
*
|
|
34861
|
-
* @summary
|
|
35471
|
+
* Create Event Block endpoint
|
|
35472
|
+
* @summary Create Event Block
|
|
34862
35473
|
* @param {string} eventId The event identifier
|
|
34863
|
-
* @param {
|
|
35474
|
+
* @param {EventBlockCreateInputs} eventBlockCreateInputs
|
|
34864
35475
|
* @param {*} [options] Override http request option.
|
|
34865
35476
|
* @throws {RequiredError}
|
|
34866
35477
|
*/
|
|
34867
|
-
async
|
|
34868
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
35478
|
+
async createEventBlock(eventId: string, eventBlockCreateInputs: EventBlockCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBlock200Response>> {
|
|
35479
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEventBlock(eventId, eventBlockCreateInputs, options);
|
|
34869
35480
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34870
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
35481
|
+
const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.createEventBlock']?.[localVarOperationServerIndex]?.url;
|
|
35482
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35483
|
+
},
|
|
35484
|
+
/**
|
|
35485
|
+
* Delete Event Block endpoint
|
|
35486
|
+
* @summary Delete Event Block
|
|
35487
|
+
* @param {string} eventId The event identifier
|
|
35488
|
+
* @param {string} blockId The block identifier
|
|
35489
|
+
* @param {*} [options] Override http request option.
|
|
35490
|
+
* @throws {RequiredError}
|
|
35491
|
+
*/
|
|
35492
|
+
async deleteEventBlock(eventId: string, blockId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
35493
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEventBlock(eventId, blockId, options);
|
|
35494
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
35495
|
+
const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.deleteEventBlock']?.[localVarOperationServerIndex]?.url;
|
|
35496
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35497
|
+
},
|
|
35498
|
+
/**
|
|
35499
|
+
* Get Event Block endpoint
|
|
35500
|
+
* @summary Get Event Block
|
|
35501
|
+
* @param {string} eventId The event identifier
|
|
35502
|
+
* @param {string} blockId The block identifier
|
|
35503
|
+
* @param {*} [options] Override http request option.
|
|
35504
|
+
* @throws {RequiredError}
|
|
35505
|
+
*/
|
|
35506
|
+
async getEventBlock(eventId: string, blockId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBlock200Response>> {
|
|
35507
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventBlock(eventId, blockId, options);
|
|
35508
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
35509
|
+
const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.getEventBlock']?.[localVarOperationServerIndex]?.url;
|
|
35510
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35511
|
+
},
|
|
35512
|
+
/**
|
|
35513
|
+
* Get Event Block Sessions endpoint
|
|
35514
|
+
* @summary Get Event Block Sessions
|
|
35515
|
+
* @param {string} eventId The event identifier
|
|
35516
|
+
* @param {string} blockId The block identifier
|
|
35517
|
+
* @param {number} [page] Page number
|
|
35518
|
+
* @param {number} [pageSize] Number of items per page
|
|
35519
|
+
* @param {string} [orderBy] Field to order by
|
|
35520
|
+
* @param {string} [search] Search query
|
|
35521
|
+
* @param {*} [options] Override http request option.
|
|
35522
|
+
* @throws {RequiredError}
|
|
35523
|
+
*/
|
|
35524
|
+
async getEventBlockSessions(eventId: string, blockId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountInvitations200Response>> {
|
|
35525
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventBlockSessions(eventId, blockId, page, pageSize, orderBy, search, options);
|
|
35526
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
35527
|
+
const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.getEventBlockSessions']?.[localVarOperationServerIndex]?.url;
|
|
35528
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35529
|
+
},
|
|
35530
|
+
/**
|
|
35531
|
+
* Get Event Blocks endpoint
|
|
35532
|
+
* @summary Get Event Blocks
|
|
35533
|
+
* @param {string} eventId The event identifier
|
|
35534
|
+
* @param {number} [page] Page number
|
|
35535
|
+
* @param {number} [pageSize] Number of items per page
|
|
35536
|
+
* @param {string} [orderBy] Field to order by
|
|
35537
|
+
* @param {string} [search] Search query
|
|
35538
|
+
* @param {*} [options] Override http request option.
|
|
35539
|
+
* @throws {RequiredError}
|
|
35540
|
+
*/
|
|
35541
|
+
async getEventBlocks(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventBlocks200Response>> {
|
|
35542
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventBlocks(eventId, page, pageSize, orderBy, search, options);
|
|
35543
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
35544
|
+
const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.getEventBlocks']?.[localVarOperationServerIndex]?.url;
|
|
35545
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35546
|
+
},
|
|
35547
|
+
/**
|
|
35548
|
+
* Remove Event Block Session endpoint
|
|
35549
|
+
* @summary Remove Event Block Session
|
|
35550
|
+
* @param {string} eventId The event identifier
|
|
35551
|
+
* @param {string} blockId The block identifier
|
|
35552
|
+
* @param {string} sessionId The session identifier
|
|
35553
|
+
* @param {*} [options] Override http request option.
|
|
35554
|
+
* @throws {RequiredError}
|
|
35555
|
+
*/
|
|
35556
|
+
async removeEventBlockSession(eventId: string, blockId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBlock200Response>> {
|
|
35557
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventBlockSession(eventId, blockId, sessionId, options);
|
|
35558
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
35559
|
+
const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.removeEventBlockSession']?.[localVarOperationServerIndex]?.url;
|
|
35560
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35561
|
+
},
|
|
35562
|
+
/**
|
|
35563
|
+
* Update Event Block endpoint
|
|
35564
|
+
* @summary Update Event Block
|
|
35565
|
+
* @param {string} eventId The event identifier
|
|
35566
|
+
* @param {string} blockId The block identifier
|
|
35567
|
+
* @param {EventBlockUpdateInputs} eventBlockUpdateInputs
|
|
35568
|
+
* @param {*} [options] Override http request option.
|
|
35569
|
+
* @throws {RequiredError}
|
|
35570
|
+
*/
|
|
35571
|
+
async updateEventBlock(eventId: string, blockId: string, eventBlockUpdateInputs: EventBlockUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventBlock200Response>> {
|
|
35572
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEventBlock(eventId, blockId, eventBlockUpdateInputs, options);
|
|
35573
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
35574
|
+
const localVarOperationServerBasePath = operationServerMap['EventsBlocksApi.updateEventBlock']?.[localVarOperationServerIndex]?.url;
|
|
34871
35575
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34872
35576
|
},
|
|
34873
35577
|
}
|
|
34874
35578
|
};
|
|
34875
35579
|
|
|
34876
35580
|
/**
|
|
34877
|
-
*
|
|
35581
|
+
* EventsBlocksApi - factory interface
|
|
34878
35582
|
*/
|
|
34879
|
-
export const
|
|
34880
|
-
const localVarFp =
|
|
35583
|
+
export const EventsBlocksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
35584
|
+
const localVarFp = EventsBlocksApiFp(configuration)
|
|
34881
35585
|
return {
|
|
34882
35586
|
/**
|
|
34883
|
-
* Add Event
|
|
34884
|
-
* @summary Add Event
|
|
34885
|
-
* @param {
|
|
35587
|
+
* Add Event Block Session endpoint
|
|
35588
|
+
* @summary Add Event Block Session
|
|
35589
|
+
* @param {EventsBlocksApiAddEventBlockSessionRequest} requestParameters Request parameters.
|
|
34886
35590
|
* @param {*} [options] Override http request option.
|
|
34887
35591
|
* @throws {RequiredError}
|
|
34888
35592
|
*/
|
|
34889
|
-
|
|
34890
|
-
return localVarFp.
|
|
35593
|
+
addEventBlockSession(requestParameters: EventsBlocksApiAddEventBlockSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBlock200Response> {
|
|
35594
|
+
return localVarFp.addEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
34891
35595
|
},
|
|
34892
35596
|
/**
|
|
34893
|
-
*
|
|
34894
|
-
* @summary
|
|
34895
|
-
* @param {
|
|
35597
|
+
* Create Event Block endpoint
|
|
35598
|
+
* @summary Create Event Block
|
|
35599
|
+
* @param {EventsBlocksApiCreateEventBlockRequest} requestParameters Request parameters.
|
|
34896
35600
|
* @param {*} [options] Override http request option.
|
|
34897
35601
|
* @throws {RequiredError}
|
|
34898
35602
|
*/
|
|
34899
|
-
|
|
34900
|
-
return localVarFp.
|
|
35603
|
+
createEventBlock(requestParameters: EventsBlocksApiCreateEventBlockRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBlock200Response> {
|
|
35604
|
+
return localVarFp.createEventBlock(requestParameters.eventId, requestParameters.eventBlockCreateInputs, options).then((request) => request(axios, basePath));
|
|
35605
|
+
},
|
|
35606
|
+
/**
|
|
35607
|
+
* Delete Event Block endpoint
|
|
35608
|
+
* @summary Delete Event Block
|
|
35609
|
+
* @param {EventsBlocksApiDeleteEventBlockRequest} requestParameters Request parameters.
|
|
35610
|
+
* @param {*} [options] Override http request option.
|
|
35611
|
+
* @throws {RequiredError}
|
|
35612
|
+
*/
|
|
35613
|
+
deleteEventBlock(requestParameters: EventsBlocksApiDeleteEventBlockRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
35614
|
+
return localVarFp.deleteEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(axios, basePath));
|
|
35615
|
+
},
|
|
35616
|
+
/**
|
|
35617
|
+
* Get Event Block endpoint
|
|
35618
|
+
* @summary Get Event Block
|
|
35619
|
+
* @param {EventsBlocksApiGetEventBlockRequest} requestParameters Request parameters.
|
|
35620
|
+
* @param {*} [options] Override http request option.
|
|
35621
|
+
* @throws {RequiredError}
|
|
35622
|
+
*/
|
|
35623
|
+
getEventBlock(requestParameters: EventsBlocksApiGetEventBlockRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBlock200Response> {
|
|
35624
|
+
return localVarFp.getEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(axios, basePath));
|
|
35625
|
+
},
|
|
35626
|
+
/**
|
|
35627
|
+
* Get Event Block Sessions endpoint
|
|
35628
|
+
* @summary Get Event Block Sessions
|
|
35629
|
+
* @param {EventsBlocksApiGetEventBlockSessionsRequest} requestParameters Request parameters.
|
|
35630
|
+
* @param {*} [options] Override http request option.
|
|
35631
|
+
* @throws {RequiredError}
|
|
35632
|
+
*/
|
|
35633
|
+
getEventBlockSessions(requestParameters: EventsBlocksApiGetEventBlockSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountInvitations200Response> {
|
|
35634
|
+
return localVarFp.getEventBlockSessions(requestParameters.eventId, requestParameters.blockId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
35635
|
+
},
|
|
35636
|
+
/**
|
|
35637
|
+
* Get Event Blocks endpoint
|
|
35638
|
+
* @summary Get Event Blocks
|
|
35639
|
+
* @param {EventsBlocksApiGetEventBlocksRequest} requestParameters Request parameters.
|
|
35640
|
+
* @param {*} [options] Override http request option.
|
|
35641
|
+
* @throws {RequiredError}
|
|
35642
|
+
*/
|
|
35643
|
+
getEventBlocks(requestParameters: EventsBlocksApiGetEventBlocksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventBlocks200Response> {
|
|
35644
|
+
return localVarFp.getEventBlocks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
35645
|
+
},
|
|
35646
|
+
/**
|
|
35647
|
+
* Remove Event Block Session endpoint
|
|
35648
|
+
* @summary Remove Event Block Session
|
|
35649
|
+
* @param {EventsBlocksApiRemoveEventBlockSessionRequest} requestParameters Request parameters.
|
|
35650
|
+
* @param {*} [options] Override http request option.
|
|
35651
|
+
* @throws {RequiredError}
|
|
35652
|
+
*/
|
|
35653
|
+
removeEventBlockSession(requestParameters: EventsBlocksApiRemoveEventBlockSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBlock200Response> {
|
|
35654
|
+
return localVarFp.removeEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
35655
|
+
},
|
|
35656
|
+
/**
|
|
35657
|
+
* Update Event Block endpoint
|
|
35658
|
+
* @summary Update Event Block
|
|
35659
|
+
* @param {EventsBlocksApiUpdateEventBlockRequest} requestParameters Request parameters.
|
|
35660
|
+
* @param {*} [options] Override http request option.
|
|
35661
|
+
* @throws {RequiredError}
|
|
35662
|
+
*/
|
|
35663
|
+
updateEventBlock(requestParameters: EventsBlocksApiUpdateEventBlockRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventBlock200Response> {
|
|
35664
|
+
return localVarFp.updateEventBlock(requestParameters.eventId, requestParameters.blockId, requestParameters.eventBlockUpdateInputs, options).then((request) => request(axios, basePath));
|
|
34901
35665
|
},
|
|
34902
35666
|
};
|
|
34903
35667
|
};
|
|
34904
35668
|
|
|
34905
35669
|
/**
|
|
34906
|
-
* Request parameters for
|
|
35670
|
+
* Request parameters for addEventBlockSession operation in EventsBlocksApi.
|
|
34907
35671
|
*/
|
|
34908
|
-
export interface
|
|
35672
|
+
export interface EventsBlocksApiAddEventBlockSessionRequest {
|
|
34909
35673
|
/**
|
|
34910
35674
|
* The event identifier
|
|
34911
35675
|
*/
|
|
34912
35676
|
readonly eventId: string
|
|
34913
35677
|
|
|
34914
35678
|
/**
|
|
34915
|
-
* The
|
|
35679
|
+
* The block identifier
|
|
34916
35680
|
*/
|
|
34917
|
-
readonly
|
|
35681
|
+
readonly blockId: string
|
|
35682
|
+
|
|
35683
|
+
/**
|
|
35684
|
+
* The session identifier
|
|
35685
|
+
*/
|
|
35686
|
+
readonly sessionId: string
|
|
34918
35687
|
}
|
|
34919
35688
|
|
|
34920
35689
|
/**
|
|
34921
|
-
* Request parameters for
|
|
35690
|
+
* Request parameters for createEventBlock operation in EventsBlocksApi.
|
|
34922
35691
|
*/
|
|
34923
|
-
export interface
|
|
35692
|
+
export interface EventsBlocksApiCreateEventBlockRequest {
|
|
34924
35693
|
/**
|
|
34925
35694
|
* The event identifier
|
|
34926
35695
|
*/
|
|
34927
35696
|
readonly eventId: string
|
|
34928
35697
|
|
|
35698
|
+
readonly eventBlockCreateInputs: EventBlockCreateInputs
|
|
35699
|
+
}
|
|
35700
|
+
|
|
35701
|
+
/**
|
|
35702
|
+
* Request parameters for deleteEventBlock operation in EventsBlocksApi.
|
|
35703
|
+
*/
|
|
35704
|
+
export interface EventsBlocksApiDeleteEventBlockRequest {
|
|
34929
35705
|
/**
|
|
34930
|
-
* The
|
|
35706
|
+
* The event identifier
|
|
34931
35707
|
*/
|
|
34932
|
-
readonly
|
|
35708
|
+
readonly eventId: string
|
|
35709
|
+
|
|
35710
|
+
/**
|
|
35711
|
+
* The block identifier
|
|
35712
|
+
*/
|
|
35713
|
+
readonly blockId: string
|
|
34933
35714
|
}
|
|
34934
35715
|
|
|
34935
35716
|
/**
|
|
34936
|
-
*
|
|
35717
|
+
* Request parameters for getEventBlock operation in EventsBlocksApi.
|
|
34937
35718
|
*/
|
|
34938
|
-
export
|
|
35719
|
+
export interface EventsBlocksApiGetEventBlockRequest {
|
|
34939
35720
|
/**
|
|
34940
|
-
*
|
|
34941
|
-
|
|
34942
|
-
|
|
35721
|
+
* The event identifier
|
|
35722
|
+
*/
|
|
35723
|
+
readonly eventId: string
|
|
35724
|
+
|
|
35725
|
+
/**
|
|
35726
|
+
* The block identifier
|
|
35727
|
+
*/
|
|
35728
|
+
readonly blockId: string
|
|
35729
|
+
}
|
|
35730
|
+
|
|
35731
|
+
/**
|
|
35732
|
+
* Request parameters for getEventBlockSessions operation in EventsBlocksApi.
|
|
35733
|
+
*/
|
|
35734
|
+
export interface EventsBlocksApiGetEventBlockSessionsRequest {
|
|
35735
|
+
/**
|
|
35736
|
+
* The event identifier
|
|
35737
|
+
*/
|
|
35738
|
+
readonly eventId: string
|
|
35739
|
+
|
|
35740
|
+
/**
|
|
35741
|
+
* The block identifier
|
|
35742
|
+
*/
|
|
35743
|
+
readonly blockId: string
|
|
35744
|
+
|
|
35745
|
+
/**
|
|
35746
|
+
* Page number
|
|
35747
|
+
*/
|
|
35748
|
+
readonly page?: number
|
|
35749
|
+
|
|
35750
|
+
/**
|
|
35751
|
+
* Number of items per page
|
|
35752
|
+
*/
|
|
35753
|
+
readonly pageSize?: number
|
|
35754
|
+
|
|
35755
|
+
/**
|
|
35756
|
+
* Field to order by
|
|
35757
|
+
*/
|
|
35758
|
+
readonly orderBy?: string
|
|
35759
|
+
|
|
35760
|
+
/**
|
|
35761
|
+
* Search query
|
|
35762
|
+
*/
|
|
35763
|
+
readonly search?: string
|
|
35764
|
+
}
|
|
35765
|
+
|
|
35766
|
+
/**
|
|
35767
|
+
* Request parameters for getEventBlocks operation in EventsBlocksApi.
|
|
35768
|
+
*/
|
|
35769
|
+
export interface EventsBlocksApiGetEventBlocksRequest {
|
|
35770
|
+
/**
|
|
35771
|
+
* The event identifier
|
|
35772
|
+
*/
|
|
35773
|
+
readonly eventId: string
|
|
35774
|
+
|
|
35775
|
+
/**
|
|
35776
|
+
* Page number
|
|
35777
|
+
*/
|
|
35778
|
+
readonly page?: number
|
|
35779
|
+
|
|
35780
|
+
/**
|
|
35781
|
+
* Number of items per page
|
|
35782
|
+
*/
|
|
35783
|
+
readonly pageSize?: number
|
|
35784
|
+
|
|
35785
|
+
/**
|
|
35786
|
+
* Field to order by
|
|
35787
|
+
*/
|
|
35788
|
+
readonly orderBy?: string
|
|
35789
|
+
|
|
35790
|
+
/**
|
|
35791
|
+
* Search query
|
|
35792
|
+
*/
|
|
35793
|
+
readonly search?: string
|
|
35794
|
+
}
|
|
35795
|
+
|
|
35796
|
+
/**
|
|
35797
|
+
* Request parameters for removeEventBlockSession operation in EventsBlocksApi.
|
|
35798
|
+
*/
|
|
35799
|
+
export interface EventsBlocksApiRemoveEventBlockSessionRequest {
|
|
35800
|
+
/**
|
|
35801
|
+
* The event identifier
|
|
35802
|
+
*/
|
|
35803
|
+
readonly eventId: string
|
|
35804
|
+
|
|
35805
|
+
/**
|
|
35806
|
+
* The block identifier
|
|
35807
|
+
*/
|
|
35808
|
+
readonly blockId: string
|
|
35809
|
+
|
|
35810
|
+
/**
|
|
35811
|
+
* The session identifier
|
|
35812
|
+
*/
|
|
35813
|
+
readonly sessionId: string
|
|
35814
|
+
}
|
|
35815
|
+
|
|
35816
|
+
/**
|
|
35817
|
+
* Request parameters for updateEventBlock operation in EventsBlocksApi.
|
|
35818
|
+
*/
|
|
35819
|
+
export interface EventsBlocksApiUpdateEventBlockRequest {
|
|
35820
|
+
/**
|
|
35821
|
+
* The event identifier
|
|
35822
|
+
*/
|
|
35823
|
+
readonly eventId: string
|
|
35824
|
+
|
|
35825
|
+
/**
|
|
35826
|
+
* The block identifier
|
|
35827
|
+
*/
|
|
35828
|
+
readonly blockId: string
|
|
35829
|
+
|
|
35830
|
+
readonly eventBlockUpdateInputs: EventBlockUpdateInputs
|
|
35831
|
+
}
|
|
35832
|
+
|
|
35833
|
+
/**
|
|
35834
|
+
* EventsBlocksApi - object-oriented interface
|
|
35835
|
+
*/
|
|
35836
|
+
export class EventsBlocksApi extends BaseAPI {
|
|
35837
|
+
/**
|
|
35838
|
+
* Add Event Block Session endpoint
|
|
35839
|
+
* @summary Add Event Block Session
|
|
35840
|
+
* @param {EventsBlocksApiAddEventBlockSessionRequest} requestParameters Request parameters.
|
|
34943
35841
|
* @param {*} [options] Override http request option.
|
|
34944
35842
|
* @throws {RequiredError}
|
|
34945
35843
|
*/
|
|
34946
|
-
public
|
|
34947
|
-
return
|
|
35844
|
+
public addEventBlockSession(requestParameters: EventsBlocksApiAddEventBlockSessionRequest, options?: RawAxiosRequestConfig) {
|
|
35845
|
+
return EventsBlocksApiFp(this.configuration).addEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
34948
35846
|
}
|
|
34949
35847
|
|
|
34950
35848
|
/**
|
|
34951
|
-
*
|
|
34952
|
-
* @summary
|
|
34953
|
-
* @param {
|
|
35849
|
+
* Create Event Block endpoint
|
|
35850
|
+
* @summary Create Event Block
|
|
35851
|
+
* @param {EventsBlocksApiCreateEventBlockRequest} requestParameters Request parameters.
|
|
34954
35852
|
* @param {*} [options] Override http request option.
|
|
34955
35853
|
* @throws {RequiredError}
|
|
34956
35854
|
*/
|
|
34957
|
-
public
|
|
34958
|
-
return
|
|
35855
|
+
public createEventBlock(requestParameters: EventsBlocksApiCreateEventBlockRequest, options?: RawAxiosRequestConfig) {
|
|
35856
|
+
return EventsBlocksApiFp(this.configuration).createEventBlock(requestParameters.eventId, requestParameters.eventBlockCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
35857
|
+
}
|
|
35858
|
+
|
|
35859
|
+
/**
|
|
35860
|
+
* Delete Event Block endpoint
|
|
35861
|
+
* @summary Delete Event Block
|
|
35862
|
+
* @param {EventsBlocksApiDeleteEventBlockRequest} requestParameters Request parameters.
|
|
35863
|
+
* @param {*} [options] Override http request option.
|
|
35864
|
+
* @throws {RequiredError}
|
|
35865
|
+
*/
|
|
35866
|
+
public deleteEventBlock(requestParameters: EventsBlocksApiDeleteEventBlockRequest, options?: RawAxiosRequestConfig) {
|
|
35867
|
+
return EventsBlocksApiFp(this.configuration).deleteEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
|
|
35868
|
+
}
|
|
35869
|
+
|
|
35870
|
+
/**
|
|
35871
|
+
* Get Event Block endpoint
|
|
35872
|
+
* @summary Get Event Block
|
|
35873
|
+
* @param {EventsBlocksApiGetEventBlockRequest} requestParameters Request parameters.
|
|
35874
|
+
* @param {*} [options] Override http request option.
|
|
35875
|
+
* @throws {RequiredError}
|
|
35876
|
+
*/
|
|
35877
|
+
public getEventBlock(requestParameters: EventsBlocksApiGetEventBlockRequest, options?: RawAxiosRequestConfig) {
|
|
35878
|
+
return EventsBlocksApiFp(this.configuration).getEventBlock(requestParameters.eventId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
|
|
35879
|
+
}
|
|
35880
|
+
|
|
35881
|
+
/**
|
|
35882
|
+
* Get Event Block Sessions endpoint
|
|
35883
|
+
* @summary Get Event Block Sessions
|
|
35884
|
+
* @param {EventsBlocksApiGetEventBlockSessionsRequest} requestParameters Request parameters.
|
|
35885
|
+
* @param {*} [options] Override http request option.
|
|
35886
|
+
* @throws {RequiredError}
|
|
35887
|
+
*/
|
|
35888
|
+
public getEventBlockSessions(requestParameters: EventsBlocksApiGetEventBlockSessionsRequest, options?: RawAxiosRequestConfig) {
|
|
35889
|
+
return EventsBlocksApiFp(this.configuration).getEventBlockSessions(requestParameters.eventId, requestParameters.blockId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
35890
|
+
}
|
|
35891
|
+
|
|
35892
|
+
/**
|
|
35893
|
+
* Get Event Blocks endpoint
|
|
35894
|
+
* @summary Get Event Blocks
|
|
35895
|
+
* @param {EventsBlocksApiGetEventBlocksRequest} requestParameters Request parameters.
|
|
35896
|
+
* @param {*} [options] Override http request option.
|
|
35897
|
+
* @throws {RequiredError}
|
|
35898
|
+
*/
|
|
35899
|
+
public getEventBlocks(requestParameters: EventsBlocksApiGetEventBlocksRequest, options?: RawAxiosRequestConfig) {
|
|
35900
|
+
return EventsBlocksApiFp(this.configuration).getEventBlocks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
35901
|
+
}
|
|
35902
|
+
|
|
35903
|
+
/**
|
|
35904
|
+
* Remove Event Block Session endpoint
|
|
35905
|
+
* @summary Remove Event Block Session
|
|
35906
|
+
* @param {EventsBlocksApiRemoveEventBlockSessionRequest} requestParameters Request parameters.
|
|
35907
|
+
* @param {*} [options] Override http request option.
|
|
35908
|
+
* @throws {RequiredError}
|
|
35909
|
+
*/
|
|
35910
|
+
public removeEventBlockSession(requestParameters: EventsBlocksApiRemoveEventBlockSessionRequest, options?: RawAxiosRequestConfig) {
|
|
35911
|
+
return EventsBlocksApiFp(this.configuration).removeEventBlockSession(requestParameters.eventId, requestParameters.blockId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
35912
|
+
}
|
|
35913
|
+
|
|
35914
|
+
/**
|
|
35915
|
+
* Update Event Block endpoint
|
|
35916
|
+
* @summary Update Event Block
|
|
35917
|
+
* @param {EventsBlocksApiUpdateEventBlockRequest} requestParameters Request parameters.
|
|
35918
|
+
* @param {*} [options] Override http request option.
|
|
35919
|
+
* @throws {RequiredError}
|
|
35920
|
+
*/
|
|
35921
|
+
public updateEventBlock(requestParameters: EventsBlocksApiUpdateEventBlockRequest, options?: RawAxiosRequestConfig) {
|
|
35922
|
+
return EventsBlocksApiFp(this.configuration).updateEventBlock(requestParameters.eventId, requestParameters.blockId, requestParameters.eventBlockUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
34959
35923
|
}
|
|
34960
35924
|
}
|
|
34961
35925
|
|
|
@@ -36288,6 +37252,7 @@ export const EventsCouponsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
36288
37252
|
* @summary Get Event Coupons
|
|
36289
37253
|
* @param {string} eventId The event identifier
|
|
36290
37254
|
* @param {boolean} [prePaid] Filter by prePaid
|
|
37255
|
+
* @param {object} [includeVariants] Filter by includeVariants
|
|
36291
37256
|
* @param {number} [page] Page number
|
|
36292
37257
|
* @param {number} [pageSize] Number of items per page
|
|
36293
37258
|
* @param {string} [orderBy] Field to order by
|
|
@@ -36295,7 +37260,7 @@ export const EventsCouponsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
36295
37260
|
* @param {*} [options] Override http request option.
|
|
36296
37261
|
* @throws {RequiredError}
|
|
36297
37262
|
*/
|
|
36298
|
-
getEventCoupons: async (eventId: string, prePaid?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37263
|
+
getEventCoupons: async (eventId: string, prePaid?: boolean, includeVariants?: object, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36299
37264
|
// verify required parameter 'eventId' is not null or undefined
|
|
36300
37265
|
assertParamExists('getEventCoupons', 'eventId', eventId)
|
|
36301
37266
|
const localVarPath = `/events/{eventId}/coupons`
|
|
@@ -36321,6 +37286,12 @@ export const EventsCouponsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
36321
37286
|
localVarQueryParameter['prePaid'] = prePaid;
|
|
36322
37287
|
}
|
|
36323
37288
|
|
|
37289
|
+
if (includeVariants !== undefined) {
|
|
37290
|
+
for (const [key, value] of Object.entries(includeVariants)) {
|
|
37291
|
+
localVarQueryParameter[key] = value;
|
|
37292
|
+
}
|
|
37293
|
+
}
|
|
37294
|
+
|
|
36324
37295
|
if (page !== undefined) {
|
|
36325
37296
|
localVarQueryParameter['page'] = page;
|
|
36326
37297
|
}
|
|
@@ -36585,6 +37556,7 @@ export const EventsCouponsApiFp = function(configuration?: Configuration) {
|
|
|
36585
37556
|
* @summary Get Event Coupons
|
|
36586
37557
|
* @param {string} eventId The event identifier
|
|
36587
37558
|
* @param {boolean} [prePaid] Filter by prePaid
|
|
37559
|
+
* @param {object} [includeVariants] Filter by includeVariants
|
|
36588
37560
|
* @param {number} [page] Page number
|
|
36589
37561
|
* @param {number} [pageSize] Number of items per page
|
|
36590
37562
|
* @param {string} [orderBy] Field to order by
|
|
@@ -36592,8 +37564,8 @@ export const EventsCouponsApiFp = function(configuration?: Configuration) {
|
|
|
36592
37564
|
* @param {*} [options] Override http request option.
|
|
36593
37565
|
* @throws {RequiredError}
|
|
36594
37566
|
*/
|
|
36595
|
-
async getEventCoupons(eventId: string, prePaid?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventAttendeeCoupons200Response>> {
|
|
36596
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventCoupons(eventId, prePaid, page, pageSize, orderBy, search, options);
|
|
37567
|
+
async getEventCoupons(eventId: string, prePaid?: boolean, includeVariants?: object, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventAttendeeCoupons200Response>> {
|
|
37568
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventCoupons(eventId, prePaid, includeVariants, page, pageSize, orderBy, search, options);
|
|
36597
37569
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36598
37570
|
const localVarOperationServerBasePath = operationServerMap['EventsCouponsApi.getEventCoupons']?.[localVarOperationServerIndex]?.url;
|
|
36599
37571
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -36725,7 +37697,7 @@ export const EventsCouponsApiFactory = function (configuration?: Configuration,
|
|
|
36725
37697
|
* @throws {RequiredError}
|
|
36726
37698
|
*/
|
|
36727
37699
|
getEventCoupons(requestParameters: EventsCouponsApiGetEventCouponsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventAttendeeCoupons200Response> {
|
|
36728
|
-
return localVarFp.getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
37700
|
+
return localVarFp.getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.includeVariants, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
36729
37701
|
},
|
|
36730
37702
|
/**
|
|
36731
37703
|
* Sync Event Coupon To Variants endpoint
|
|
@@ -36943,6 +37915,11 @@ export interface EventsCouponsApiGetEventCouponsRequest {
|
|
|
36943
37915
|
*/
|
|
36944
37916
|
readonly prePaid?: boolean
|
|
36945
37917
|
|
|
37918
|
+
/**
|
|
37919
|
+
* Filter by includeVariants
|
|
37920
|
+
*/
|
|
37921
|
+
readonly includeVariants?: object
|
|
37922
|
+
|
|
36946
37923
|
/**
|
|
36947
37924
|
* Page number
|
|
36948
37925
|
*/
|
|
@@ -37098,7 +38075,7 @@ export class EventsCouponsApi extends BaseAPI {
|
|
|
37098
38075
|
* @throws {RequiredError}
|
|
37099
38076
|
*/
|
|
37100
38077
|
public getEventCoupons(requestParameters: EventsCouponsApiGetEventCouponsRequest, options?: RawAxiosRequestConfig) {
|
|
37101
|
-
return EventsCouponsApiFp(this.configuration).getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
38078
|
+
return EventsCouponsApiFp(this.configuration).getEventCoupons(requestParameters.eventId, requestParameters.prePaid, requestParameters.includeVariants, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
37102
38079
|
}
|
|
37103
38080
|
|
|
37104
38081
|
/**
|
|
@@ -46374,6 +47351,50 @@ export const EventsPassesApiAxiosParamCreator = function (configuration?: Config
|
|
|
46374
47351
|
options: localVarRequestOptions,
|
|
46375
47352
|
};
|
|
46376
47353
|
},
|
|
47354
|
+
/**
|
|
47355
|
+
* Checkin Event Pass endpoint
|
|
47356
|
+
* @summary Checkin Event Pass
|
|
47357
|
+
* @param {string} eventId The event identifier
|
|
47358
|
+
* @param {string} passId The pass identifier
|
|
47359
|
+
* @param {*} [options] Override http request option.
|
|
47360
|
+
* @throws {RequiredError}
|
|
47361
|
+
*/
|
|
47362
|
+
checkinEventPass: async (eventId: string, passId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47363
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
47364
|
+
assertParamExists('checkinEventPass', 'eventId', eventId)
|
|
47365
|
+
// verify required parameter 'passId' is not null or undefined
|
|
47366
|
+
assertParamExists('checkinEventPass', 'passId', passId)
|
|
47367
|
+
const localVarPath = `/events/{eventId}/passes/{passId}/checkin`
|
|
47368
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
47369
|
+
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)));
|
|
47370
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47372
|
+
let baseOptions;
|
|
47373
|
+
if (configuration) {
|
|
47374
|
+
baseOptions = configuration.baseOptions;
|
|
47375
|
+
}
|
|
47376
|
+
|
|
47377
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
47378
|
+
const localVarHeaderParameter = {} as any;
|
|
47379
|
+
const localVarQueryParameter = {} as any;
|
|
47380
|
+
|
|
47381
|
+
// authentication ApiKeyAuth required
|
|
47382
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
47383
|
+
|
|
47384
|
+
// authentication OrganizationId required
|
|
47385
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
47386
|
+
|
|
47387
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
47388
|
+
|
|
47389
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47390
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47391
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
47392
|
+
|
|
47393
|
+
return {
|
|
47394
|
+
url: toPathString(localVarUrlObj),
|
|
47395
|
+
options: localVarRequestOptions,
|
|
47396
|
+
};
|
|
47397
|
+
},
|
|
46377
47398
|
/**
|
|
46378
47399
|
* Create Event Pass endpoint
|
|
46379
47400
|
* @summary Create Event Pass
|
|
@@ -47043,93 +48064,326 @@ export const EventsPassesApiAxiosParamCreator = function (configuration?: Config
|
|
|
47043
48064
|
};
|
|
47044
48065
|
},
|
|
47045
48066
|
/**
|
|
47046
|
-
* Get Event Pass Response Changes endpoint
|
|
47047
|
-
* @summary Get Event Pass Response Changes
|
|
48067
|
+
* Get Event Pass Response Changes endpoint
|
|
48068
|
+
* @summary Get Event Pass Response Changes
|
|
48069
|
+
* @param {string} eventId The event identifier
|
|
48070
|
+
* @param {string} passId The pass identifier
|
|
48071
|
+
* @param {string} questionId The question identifier
|
|
48072
|
+
* @param {number} [page] Page number
|
|
48073
|
+
* @param {number} [pageSize] Number of items per page
|
|
48074
|
+
* @param {string} [orderBy] Field to order by
|
|
48075
|
+
* @param {string} [search] Search query
|
|
48076
|
+
* @param {*} [options] Override http request option.
|
|
48077
|
+
* @throws {RequiredError}
|
|
48078
|
+
*/
|
|
48079
|
+
getEventPassResponseChanges: async (eventId: string, passId: string, questionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48080
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
48081
|
+
assertParamExists('getEventPassResponseChanges', 'eventId', eventId)
|
|
48082
|
+
// verify required parameter 'passId' is not null or undefined
|
|
48083
|
+
assertParamExists('getEventPassResponseChanges', 'passId', passId)
|
|
48084
|
+
// verify required parameter 'questionId' is not null or undefined
|
|
48085
|
+
assertParamExists('getEventPassResponseChanges', 'questionId', questionId)
|
|
48086
|
+
const localVarPath = `/events/{eventId}/passes/{passId}/responses/{questionId}/changes`
|
|
48087
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
48088
|
+
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)))
|
|
48089
|
+
.replace(`{${"questionId"}}`, encodeURIComponent(String(questionId)));
|
|
48090
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48091
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48092
|
+
let baseOptions;
|
|
48093
|
+
if (configuration) {
|
|
48094
|
+
baseOptions = configuration.baseOptions;
|
|
48095
|
+
}
|
|
48096
|
+
|
|
48097
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
48098
|
+
const localVarHeaderParameter = {} as any;
|
|
48099
|
+
const localVarQueryParameter = {} as any;
|
|
48100
|
+
|
|
48101
|
+
// authentication ApiKeyAuth required
|
|
48102
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
48103
|
+
|
|
48104
|
+
// authentication OrganizationId required
|
|
48105
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
48106
|
+
|
|
48107
|
+
if (page !== undefined) {
|
|
48108
|
+
localVarQueryParameter['page'] = page;
|
|
48109
|
+
}
|
|
48110
|
+
|
|
48111
|
+
if (pageSize !== undefined) {
|
|
48112
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
48113
|
+
}
|
|
48114
|
+
|
|
48115
|
+
if (orderBy !== undefined) {
|
|
48116
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
48117
|
+
}
|
|
48118
|
+
|
|
48119
|
+
if (search !== undefined) {
|
|
48120
|
+
localVarQueryParameter['search'] = search;
|
|
48121
|
+
}
|
|
48122
|
+
|
|
48123
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
48124
|
+
|
|
48125
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48126
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48127
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
48128
|
+
|
|
48129
|
+
return {
|
|
48130
|
+
url: toPathString(localVarUrlObj),
|
|
48131
|
+
options: localVarRequestOptions,
|
|
48132
|
+
};
|
|
48133
|
+
},
|
|
48134
|
+
/**
|
|
48135
|
+
* Get Event Pass Responses endpoint
|
|
48136
|
+
* @summary Get Event Pass Responses
|
|
48137
|
+
* @param {string} eventId The event identifier
|
|
48138
|
+
* @param {string} passId The pass identifier
|
|
48139
|
+
* @param {number} [page] Page number
|
|
48140
|
+
* @param {number} [pageSize] Number of items per page
|
|
48141
|
+
* @param {string} [orderBy] Field to order by
|
|
48142
|
+
* @param {string} [search] Search query
|
|
48143
|
+
* @param {*} [options] Override http request option.
|
|
48144
|
+
* @throws {RequiredError}
|
|
48145
|
+
*/
|
|
48146
|
+
getEventPassResponses: async (eventId: string, passId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48147
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
48148
|
+
assertParamExists('getEventPassResponses', 'eventId', eventId)
|
|
48149
|
+
// verify required parameter 'passId' is not null or undefined
|
|
48150
|
+
assertParamExists('getEventPassResponses', 'passId', passId)
|
|
48151
|
+
const localVarPath = `/events/{eventId}/passes/{passId}/responses`
|
|
48152
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
48153
|
+
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)));
|
|
48154
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48155
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48156
|
+
let baseOptions;
|
|
48157
|
+
if (configuration) {
|
|
48158
|
+
baseOptions = configuration.baseOptions;
|
|
48159
|
+
}
|
|
48160
|
+
|
|
48161
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
48162
|
+
const localVarHeaderParameter = {} as any;
|
|
48163
|
+
const localVarQueryParameter = {} as any;
|
|
48164
|
+
|
|
48165
|
+
// authentication ApiKeyAuth required
|
|
48166
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
48167
|
+
|
|
48168
|
+
// authentication OrganizationId required
|
|
48169
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
48170
|
+
|
|
48171
|
+
if (page !== undefined) {
|
|
48172
|
+
localVarQueryParameter['page'] = page;
|
|
48173
|
+
}
|
|
48174
|
+
|
|
48175
|
+
if (pageSize !== undefined) {
|
|
48176
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
48177
|
+
}
|
|
48178
|
+
|
|
48179
|
+
if (orderBy !== undefined) {
|
|
48180
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
48181
|
+
}
|
|
48182
|
+
|
|
48183
|
+
if (search !== undefined) {
|
|
48184
|
+
localVarQueryParameter['search'] = search;
|
|
48185
|
+
}
|
|
48186
|
+
|
|
48187
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
48188
|
+
|
|
48189
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48190
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48191
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
48192
|
+
|
|
48193
|
+
return {
|
|
48194
|
+
url: toPathString(localVarUrlObj),
|
|
48195
|
+
options: localVarRequestOptions,
|
|
48196
|
+
};
|
|
48197
|
+
},
|
|
48198
|
+
/**
|
|
48199
|
+
* Get Event Pass Transfer Logs endpoint
|
|
48200
|
+
* @summary Get Event Pass Transfer Logs
|
|
48201
|
+
* @param {string} eventId The event identifier
|
|
48202
|
+
* @param {string} passId The pass identifier
|
|
48203
|
+
* @param {number} [page] Page number
|
|
48204
|
+
* @param {number} [pageSize] Number of items per page
|
|
48205
|
+
* @param {string} [orderBy] Field to order by
|
|
48206
|
+
* @param {string} [search] Search query
|
|
48207
|
+
* @param {*} [options] Override http request option.
|
|
48208
|
+
* @throws {RequiredError}
|
|
48209
|
+
*/
|
|
48210
|
+
getEventPassTransferLogs: async (eventId: string, passId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48211
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
48212
|
+
assertParamExists('getEventPassTransferLogs', 'eventId', eventId)
|
|
48213
|
+
// verify required parameter 'passId' is not null or undefined
|
|
48214
|
+
assertParamExists('getEventPassTransferLogs', 'passId', passId)
|
|
48215
|
+
const localVarPath = `/events/{eventId}/passes/{passId}/transfers/logs`
|
|
48216
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
48217
|
+
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)));
|
|
48218
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48219
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48220
|
+
let baseOptions;
|
|
48221
|
+
if (configuration) {
|
|
48222
|
+
baseOptions = configuration.baseOptions;
|
|
48223
|
+
}
|
|
48224
|
+
|
|
48225
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
48226
|
+
const localVarHeaderParameter = {} as any;
|
|
48227
|
+
const localVarQueryParameter = {} as any;
|
|
48228
|
+
|
|
48229
|
+
// authentication ApiKeyAuth required
|
|
48230
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
48231
|
+
|
|
48232
|
+
// authentication OrganizationId required
|
|
48233
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
48234
|
+
|
|
48235
|
+
if (page !== undefined) {
|
|
48236
|
+
localVarQueryParameter['page'] = page;
|
|
48237
|
+
}
|
|
48238
|
+
|
|
48239
|
+
if (pageSize !== undefined) {
|
|
48240
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
48241
|
+
}
|
|
48242
|
+
|
|
48243
|
+
if (orderBy !== undefined) {
|
|
48244
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
48245
|
+
}
|
|
48246
|
+
|
|
48247
|
+
if (search !== undefined) {
|
|
48248
|
+
localVarQueryParameter['search'] = search;
|
|
48249
|
+
}
|
|
48250
|
+
|
|
48251
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
48252
|
+
|
|
48253
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48254
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48255
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
48256
|
+
|
|
48257
|
+
return {
|
|
48258
|
+
url: toPathString(localVarUrlObj),
|
|
48259
|
+
options: localVarRequestOptions,
|
|
48260
|
+
};
|
|
48261
|
+
},
|
|
48262
|
+
/**
|
|
48263
|
+
* Get Event Passes endpoint
|
|
48264
|
+
* @summary Get Event Passes
|
|
48265
|
+
* @param {string} eventId The event identifier
|
|
48266
|
+
* @param {boolean} [checkedIn] Filter by checkedIn
|
|
48267
|
+
* @param {number} [page] Page number
|
|
48268
|
+
* @param {number} [pageSize] Number of items per page
|
|
48269
|
+
* @param {string} [orderBy] Field to order by
|
|
48270
|
+
* @param {string} [search] Search query
|
|
48271
|
+
* @param {*} [options] Override http request option.
|
|
48272
|
+
* @throws {RequiredError}
|
|
48273
|
+
*/
|
|
48274
|
+
getEventPasses: async (eventId: string, checkedIn?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48275
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
48276
|
+
assertParamExists('getEventPasses', 'eventId', eventId)
|
|
48277
|
+
const localVarPath = `/events/{eventId}/passes`
|
|
48278
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
48279
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48280
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48281
|
+
let baseOptions;
|
|
48282
|
+
if (configuration) {
|
|
48283
|
+
baseOptions = configuration.baseOptions;
|
|
48284
|
+
}
|
|
48285
|
+
|
|
48286
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
48287
|
+
const localVarHeaderParameter = {} as any;
|
|
48288
|
+
const localVarQueryParameter = {} as any;
|
|
48289
|
+
|
|
48290
|
+
// authentication ApiKeyAuth required
|
|
48291
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
48292
|
+
|
|
48293
|
+
// authentication OrganizationId required
|
|
48294
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
48295
|
+
|
|
48296
|
+
if (checkedIn !== undefined) {
|
|
48297
|
+
localVarQueryParameter['checkedIn'] = checkedIn;
|
|
48298
|
+
}
|
|
48299
|
+
|
|
48300
|
+
if (page !== undefined) {
|
|
48301
|
+
localVarQueryParameter['page'] = page;
|
|
48302
|
+
}
|
|
48303
|
+
|
|
48304
|
+
if (pageSize !== undefined) {
|
|
48305
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
48306
|
+
}
|
|
48307
|
+
|
|
48308
|
+
if (orderBy !== undefined) {
|
|
48309
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
48310
|
+
}
|
|
48311
|
+
|
|
48312
|
+
if (search !== undefined) {
|
|
48313
|
+
localVarQueryParameter['search'] = search;
|
|
48314
|
+
}
|
|
48315
|
+
|
|
48316
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
48317
|
+
|
|
48318
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48319
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48320
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
48321
|
+
|
|
48322
|
+
return {
|
|
48323
|
+
url: toPathString(localVarUrlObj),
|
|
48324
|
+
options: localVarRequestOptions,
|
|
48325
|
+
};
|
|
48326
|
+
},
|
|
48327
|
+
/**
|
|
48328
|
+
* Index Event Passes endpoint
|
|
48329
|
+
* @summary Index Event Passes
|
|
48330
|
+
* @param {string} eventId The event identifier
|
|
48331
|
+
* @param {*} [options] Override http request option.
|
|
48332
|
+
* @throws {RequiredError}
|
|
48333
|
+
*/
|
|
48334
|
+
indexEventPasses: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48335
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
48336
|
+
assertParamExists('indexEventPasses', 'eventId', eventId)
|
|
48337
|
+
const localVarPath = `/events/{eventId}/index-passes`
|
|
48338
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
48339
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48340
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48341
|
+
let baseOptions;
|
|
48342
|
+
if (configuration) {
|
|
48343
|
+
baseOptions = configuration.baseOptions;
|
|
48344
|
+
}
|
|
48345
|
+
|
|
48346
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
48347
|
+
const localVarHeaderParameter = {} as any;
|
|
48348
|
+
const localVarQueryParameter = {} as any;
|
|
48349
|
+
|
|
48350
|
+
// authentication ApiKeyAuth required
|
|
48351
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
48352
|
+
|
|
48353
|
+
// authentication OrganizationId required
|
|
48354
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
48355
|
+
|
|
48356
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
48357
|
+
|
|
48358
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48359
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48360
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
48361
|
+
|
|
48362
|
+
return {
|
|
48363
|
+
url: toPathString(localVarUrlObj),
|
|
48364
|
+
options: localVarRequestOptions,
|
|
48365
|
+
};
|
|
48366
|
+
},
|
|
48367
|
+
/**
|
|
48368
|
+
* Remove Event Pass Add On endpoint
|
|
48369
|
+
* @summary Remove Event Pass Add On
|
|
47048
48370
|
* @param {string} eventId The event identifier
|
|
47049
48371
|
* @param {string} passId The pass identifier
|
|
47050
|
-
* @param {string}
|
|
47051
|
-
* @param {number} [page] Page number
|
|
47052
|
-
* @param {number} [pageSize] Number of items per page
|
|
47053
|
-
* @param {string} [orderBy] Field to order by
|
|
47054
|
-
* @param {string} [search] Search query
|
|
48372
|
+
* @param {string} addOnId The addOn identifier
|
|
47055
48373
|
* @param {*} [options] Override http request option.
|
|
47056
48374
|
* @throws {RequiredError}
|
|
47057
48375
|
*/
|
|
47058
|
-
|
|
48376
|
+
removeEventPassAddOn: async (eventId: string, passId: string, addOnId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47059
48377
|
// verify required parameter 'eventId' is not null or undefined
|
|
47060
|
-
assertParamExists('
|
|
48378
|
+
assertParamExists('removeEventPassAddOn', 'eventId', eventId)
|
|
47061
48379
|
// verify required parameter 'passId' is not null or undefined
|
|
47062
|
-
assertParamExists('
|
|
47063
|
-
// verify required parameter '
|
|
47064
|
-
assertParamExists('
|
|
47065
|
-
const localVarPath = `/events/{eventId}/passes/{passId}/
|
|
48380
|
+
assertParamExists('removeEventPassAddOn', 'passId', passId)
|
|
48381
|
+
// verify required parameter 'addOnId' is not null or undefined
|
|
48382
|
+
assertParamExists('removeEventPassAddOn', 'addOnId', addOnId)
|
|
48383
|
+
const localVarPath = `/events/{eventId}/passes/{passId}/addOns/{addOnId}`
|
|
47066
48384
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
47067
48385
|
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)))
|
|
47068
|
-
.replace(`{${"
|
|
47069
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47070
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47071
|
-
let baseOptions;
|
|
47072
|
-
if (configuration) {
|
|
47073
|
-
baseOptions = configuration.baseOptions;
|
|
47074
|
-
}
|
|
47075
|
-
|
|
47076
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
47077
|
-
const localVarHeaderParameter = {} as any;
|
|
47078
|
-
const localVarQueryParameter = {} as any;
|
|
47079
|
-
|
|
47080
|
-
// authentication ApiKeyAuth required
|
|
47081
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
47082
|
-
|
|
47083
|
-
// authentication OrganizationId required
|
|
47084
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
47085
|
-
|
|
47086
|
-
if (page !== undefined) {
|
|
47087
|
-
localVarQueryParameter['page'] = page;
|
|
47088
|
-
}
|
|
47089
|
-
|
|
47090
|
-
if (pageSize !== undefined) {
|
|
47091
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
47092
|
-
}
|
|
47093
|
-
|
|
47094
|
-
if (orderBy !== undefined) {
|
|
47095
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
47096
|
-
}
|
|
47097
|
-
|
|
47098
|
-
if (search !== undefined) {
|
|
47099
|
-
localVarQueryParameter['search'] = search;
|
|
47100
|
-
}
|
|
47101
|
-
|
|
47102
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
47103
|
-
|
|
47104
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47105
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47106
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
47107
|
-
|
|
47108
|
-
return {
|
|
47109
|
-
url: toPathString(localVarUrlObj),
|
|
47110
|
-
options: localVarRequestOptions,
|
|
47111
|
-
};
|
|
47112
|
-
},
|
|
47113
|
-
/**
|
|
47114
|
-
* Get Event Pass Responses endpoint
|
|
47115
|
-
* @summary Get Event Pass Responses
|
|
47116
|
-
* @param {string} eventId The event identifier
|
|
47117
|
-
* @param {string} passId The pass identifier
|
|
47118
|
-
* @param {number} [page] Page number
|
|
47119
|
-
* @param {number} [pageSize] Number of items per page
|
|
47120
|
-
* @param {string} [orderBy] Field to order by
|
|
47121
|
-
* @param {string} [search] Search query
|
|
47122
|
-
* @param {*} [options] Override http request option.
|
|
47123
|
-
* @throws {RequiredError}
|
|
47124
|
-
*/
|
|
47125
|
-
getEventPassResponses: async (eventId: string, passId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47126
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
47127
|
-
assertParamExists('getEventPassResponses', 'eventId', eventId)
|
|
47128
|
-
// verify required parameter 'passId' is not null or undefined
|
|
47129
|
-
assertParamExists('getEventPassResponses', 'passId', passId)
|
|
47130
|
-
const localVarPath = `/events/{eventId}/passes/{passId}/responses`
|
|
47131
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
47132
|
-
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)));
|
|
48386
|
+
.replace(`{${"addOnId"}}`, encodeURIComponent(String(addOnId)));
|
|
47133
48387
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47134
48388
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47135
48389
|
let baseOptions;
|
|
@@ -47137,7 +48391,7 @@ export const EventsPassesApiAxiosParamCreator = function (configuration?: Config
|
|
|
47137
48391
|
baseOptions = configuration.baseOptions;
|
|
47138
48392
|
}
|
|
47139
48393
|
|
|
47140
|
-
const localVarRequestOptions = { method: '
|
|
48394
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
47141
48395
|
const localVarHeaderParameter = {} as any;
|
|
47142
48396
|
const localVarQueryParameter = {} as any;
|
|
47143
48397
|
|
|
@@ -47147,22 +48401,6 @@ export const EventsPassesApiAxiosParamCreator = function (configuration?: Config
|
|
|
47147
48401
|
// authentication OrganizationId required
|
|
47148
48402
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
47149
48403
|
|
|
47150
|
-
if (page !== undefined) {
|
|
47151
|
-
localVarQueryParameter['page'] = page;
|
|
47152
|
-
}
|
|
47153
|
-
|
|
47154
|
-
if (pageSize !== undefined) {
|
|
47155
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
47156
|
-
}
|
|
47157
|
-
|
|
47158
|
-
if (orderBy !== undefined) {
|
|
47159
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
47160
|
-
}
|
|
47161
|
-
|
|
47162
|
-
if (search !== undefined) {
|
|
47163
|
-
localVarQueryParameter['search'] = search;
|
|
47164
|
-
}
|
|
47165
|
-
|
|
47166
48404
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
47167
48405
|
|
|
47168
48406
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -47175,24 +48413,27 @@ export const EventsPassesApiAxiosParamCreator = function (configuration?: Config
|
|
|
47175
48413
|
};
|
|
47176
48414
|
},
|
|
47177
48415
|
/**
|
|
47178
|
-
*
|
|
47179
|
-
* @summary
|
|
48416
|
+
* Transfer Event Pass endpoint
|
|
48417
|
+
* @summary Transfer Event Pass
|
|
47180
48418
|
* @param {string} eventId The event identifier
|
|
48419
|
+
* @param {string} accountId The account identifier
|
|
47181
48420
|
* @param {string} passId The pass identifier
|
|
47182
|
-
* @param {
|
|
47183
|
-
* @param {number} [pageSize] Number of items per page
|
|
47184
|
-
* @param {string} [orderBy] Field to order by
|
|
47185
|
-
* @param {string} [search] Search query
|
|
48421
|
+
* @param {string} receiverId Filter by receiverId
|
|
47186
48422
|
* @param {*} [options] Override http request option.
|
|
47187
48423
|
* @throws {RequiredError}
|
|
47188
48424
|
*/
|
|
47189
|
-
|
|
48425
|
+
transferEventPass: async (eventId: string, accountId: string, passId: string, receiverId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47190
48426
|
// verify required parameter 'eventId' is not null or undefined
|
|
47191
|
-
assertParamExists('
|
|
48427
|
+
assertParamExists('transferEventPass', 'eventId', eventId)
|
|
48428
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
48429
|
+
assertParamExists('transferEventPass', 'accountId', accountId)
|
|
47192
48430
|
// verify required parameter 'passId' is not null or undefined
|
|
47193
|
-
assertParamExists('
|
|
47194
|
-
|
|
48431
|
+
assertParamExists('transferEventPass', 'passId', passId)
|
|
48432
|
+
// verify required parameter 'receiverId' is not null or undefined
|
|
48433
|
+
assertParamExists('transferEventPass', 'receiverId', receiverId)
|
|
48434
|
+
const localVarPath = `/events/{eventId}/attendees/{accountId}/passes/{passId}/transfers`
|
|
47195
48435
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
48436
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)))
|
|
47196
48437
|
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)));
|
|
47197
48438
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47198
48439
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -47201,127 +48442,6 @@ export const EventsPassesApiAxiosParamCreator = function (configuration?: Config
|
|
|
47201
48442
|
baseOptions = configuration.baseOptions;
|
|
47202
48443
|
}
|
|
47203
48444
|
|
|
47204
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
47205
|
-
const localVarHeaderParameter = {} as any;
|
|
47206
|
-
const localVarQueryParameter = {} as any;
|
|
47207
|
-
|
|
47208
|
-
// authentication ApiKeyAuth required
|
|
47209
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
47210
|
-
|
|
47211
|
-
// authentication OrganizationId required
|
|
47212
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
47213
|
-
|
|
47214
|
-
if (page !== undefined) {
|
|
47215
|
-
localVarQueryParameter['page'] = page;
|
|
47216
|
-
}
|
|
47217
|
-
|
|
47218
|
-
if (pageSize !== undefined) {
|
|
47219
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
47220
|
-
}
|
|
47221
|
-
|
|
47222
|
-
if (orderBy !== undefined) {
|
|
47223
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
47224
|
-
}
|
|
47225
|
-
|
|
47226
|
-
if (search !== undefined) {
|
|
47227
|
-
localVarQueryParameter['search'] = search;
|
|
47228
|
-
}
|
|
47229
|
-
|
|
47230
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
47231
|
-
|
|
47232
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47233
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47234
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
47235
|
-
|
|
47236
|
-
return {
|
|
47237
|
-
url: toPathString(localVarUrlObj),
|
|
47238
|
-
options: localVarRequestOptions,
|
|
47239
|
-
};
|
|
47240
|
-
},
|
|
47241
|
-
/**
|
|
47242
|
-
* Get Event Passes endpoint
|
|
47243
|
-
* @summary Get Event Passes
|
|
47244
|
-
* @param {string} eventId The event identifier
|
|
47245
|
-
* @param {boolean} [checkedIn] Filter by checkedIn
|
|
47246
|
-
* @param {number} [page] Page number
|
|
47247
|
-
* @param {number} [pageSize] Number of items per page
|
|
47248
|
-
* @param {string} [orderBy] Field to order by
|
|
47249
|
-
* @param {string} [search] Search query
|
|
47250
|
-
* @param {*} [options] Override http request option.
|
|
47251
|
-
* @throws {RequiredError}
|
|
47252
|
-
*/
|
|
47253
|
-
getEventPasses: async (eventId: string, checkedIn?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47254
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
47255
|
-
assertParamExists('getEventPasses', 'eventId', eventId)
|
|
47256
|
-
const localVarPath = `/events/{eventId}/passes`
|
|
47257
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
47258
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47259
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47260
|
-
let baseOptions;
|
|
47261
|
-
if (configuration) {
|
|
47262
|
-
baseOptions = configuration.baseOptions;
|
|
47263
|
-
}
|
|
47264
|
-
|
|
47265
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
47266
|
-
const localVarHeaderParameter = {} as any;
|
|
47267
|
-
const localVarQueryParameter = {} as any;
|
|
47268
|
-
|
|
47269
|
-
// authentication ApiKeyAuth required
|
|
47270
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
47271
|
-
|
|
47272
|
-
// authentication OrganizationId required
|
|
47273
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
47274
|
-
|
|
47275
|
-
if (checkedIn !== undefined) {
|
|
47276
|
-
localVarQueryParameter['checkedIn'] = checkedIn;
|
|
47277
|
-
}
|
|
47278
|
-
|
|
47279
|
-
if (page !== undefined) {
|
|
47280
|
-
localVarQueryParameter['page'] = page;
|
|
47281
|
-
}
|
|
47282
|
-
|
|
47283
|
-
if (pageSize !== undefined) {
|
|
47284
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
47285
|
-
}
|
|
47286
|
-
|
|
47287
|
-
if (orderBy !== undefined) {
|
|
47288
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
47289
|
-
}
|
|
47290
|
-
|
|
47291
|
-
if (search !== undefined) {
|
|
47292
|
-
localVarQueryParameter['search'] = search;
|
|
47293
|
-
}
|
|
47294
|
-
|
|
47295
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
47296
|
-
|
|
47297
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47298
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47299
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
47300
|
-
|
|
47301
|
-
return {
|
|
47302
|
-
url: toPathString(localVarUrlObj),
|
|
47303
|
-
options: localVarRequestOptions,
|
|
47304
|
-
};
|
|
47305
|
-
},
|
|
47306
|
-
/**
|
|
47307
|
-
* Index Event Passes endpoint
|
|
47308
|
-
* @summary Index Event Passes
|
|
47309
|
-
* @param {string} eventId The event identifier
|
|
47310
|
-
* @param {*} [options] Override http request option.
|
|
47311
|
-
* @throws {RequiredError}
|
|
47312
|
-
*/
|
|
47313
|
-
indexEventPasses: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47314
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
47315
|
-
assertParamExists('indexEventPasses', 'eventId', eventId)
|
|
47316
|
-
const localVarPath = `/events/{eventId}/index-passes`
|
|
47317
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
47318
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47319
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47320
|
-
let baseOptions;
|
|
47321
|
-
if (configuration) {
|
|
47322
|
-
baseOptions = configuration.baseOptions;
|
|
47323
|
-
}
|
|
47324
|
-
|
|
47325
48445
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
47326
48446
|
const localVarHeaderParameter = {} as any;
|
|
47327
48447
|
const localVarQueryParameter = {} as any;
|
|
@@ -47332,54 +48452,10 @@ export const EventsPassesApiAxiosParamCreator = function (configuration?: Config
|
|
|
47332
48452
|
// authentication OrganizationId required
|
|
47333
48453
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
47334
48454
|
|
|
47335
|
-
|
|
47336
|
-
|
|
47337
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47338
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47339
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
47340
|
-
|
|
47341
|
-
return {
|
|
47342
|
-
url: toPathString(localVarUrlObj),
|
|
47343
|
-
options: localVarRequestOptions,
|
|
47344
|
-
};
|
|
47345
|
-
},
|
|
47346
|
-
/**
|
|
47347
|
-
* Remove Event Pass Add On endpoint
|
|
47348
|
-
* @summary Remove Event Pass Add On
|
|
47349
|
-
* @param {string} eventId The event identifier
|
|
47350
|
-
* @param {string} passId The pass identifier
|
|
47351
|
-
* @param {string} addOnId The addOn identifier
|
|
47352
|
-
* @param {*} [options] Override http request option.
|
|
47353
|
-
* @throws {RequiredError}
|
|
47354
|
-
*/
|
|
47355
|
-
removeEventPassAddOn: async (eventId: string, passId: string, addOnId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47356
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
47357
|
-
assertParamExists('removeEventPassAddOn', 'eventId', eventId)
|
|
47358
|
-
// verify required parameter 'passId' is not null or undefined
|
|
47359
|
-
assertParamExists('removeEventPassAddOn', 'passId', passId)
|
|
47360
|
-
// verify required parameter 'addOnId' is not null or undefined
|
|
47361
|
-
assertParamExists('removeEventPassAddOn', 'addOnId', addOnId)
|
|
47362
|
-
const localVarPath = `/events/{eventId}/passes/{passId}/addOns/{addOnId}`
|
|
47363
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
47364
|
-
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)))
|
|
47365
|
-
.replace(`{${"addOnId"}}`, encodeURIComponent(String(addOnId)));
|
|
47366
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47367
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47368
|
-
let baseOptions;
|
|
47369
|
-
if (configuration) {
|
|
47370
|
-
baseOptions = configuration.baseOptions;
|
|
48455
|
+
if (receiverId !== undefined) {
|
|
48456
|
+
localVarQueryParameter['receiverId'] = receiverId;
|
|
47371
48457
|
}
|
|
47372
48458
|
|
|
47373
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
47374
|
-
const localVarHeaderParameter = {} as any;
|
|
47375
|
-
const localVarQueryParameter = {} as any;
|
|
47376
|
-
|
|
47377
|
-
// authentication ApiKeyAuth required
|
|
47378
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
47379
|
-
|
|
47380
|
-
// authentication OrganizationId required
|
|
47381
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
47382
|
-
|
|
47383
48459
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
47384
48460
|
|
|
47385
48461
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -47392,27 +48468,20 @@ export const EventsPassesApiAxiosParamCreator = function (configuration?: Config
|
|
|
47392
48468
|
};
|
|
47393
48469
|
},
|
|
47394
48470
|
/**
|
|
47395
|
-
*
|
|
47396
|
-
* @summary
|
|
48471
|
+
* Undo Checkin Event Pass endpoint
|
|
48472
|
+
* @summary Undo Checkin Event Pass
|
|
47397
48473
|
* @param {string} eventId The event identifier
|
|
47398
|
-
* @param {string} accountId The account identifier
|
|
47399
48474
|
* @param {string} passId The pass identifier
|
|
47400
|
-
* @param {string} receiverId Filter by receiverId
|
|
47401
48475
|
* @param {*} [options] Override http request option.
|
|
47402
48476
|
* @throws {RequiredError}
|
|
47403
48477
|
*/
|
|
47404
|
-
|
|
48478
|
+
undoCheckinEventPass: async (eventId: string, passId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47405
48479
|
// verify required parameter 'eventId' is not null or undefined
|
|
47406
|
-
assertParamExists('
|
|
47407
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
47408
|
-
assertParamExists('transferEventPass', 'accountId', accountId)
|
|
48480
|
+
assertParamExists('undoCheckinEventPass', 'eventId', eventId)
|
|
47409
48481
|
// verify required parameter 'passId' is not null or undefined
|
|
47410
|
-
assertParamExists('
|
|
47411
|
-
|
|
47412
|
-
assertParamExists('transferEventPass', 'receiverId', receiverId)
|
|
47413
|
-
const localVarPath = `/events/{eventId}/attendees/{accountId}/passes/{passId}/transfers`
|
|
48482
|
+
assertParamExists('undoCheckinEventPass', 'passId', passId)
|
|
48483
|
+
const localVarPath = `/events/{eventId}/passes/{passId}/checkin/undo`
|
|
47414
48484
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
47415
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)))
|
|
47416
48485
|
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)));
|
|
47417
48486
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47418
48487
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -47431,10 +48500,6 @@ export const EventsPassesApiAxiosParamCreator = function (configuration?: Config
|
|
|
47431
48500
|
// authentication OrganizationId required
|
|
47432
48501
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
47433
48502
|
|
|
47434
|
-
if (receiverId !== undefined) {
|
|
47435
|
-
localVarQueryParameter['receiverId'] = receiverId;
|
|
47436
|
-
}
|
|
47437
|
-
|
|
47438
48503
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
47439
48504
|
|
|
47440
48505
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -47862,6 +48927,20 @@ export const EventsPassesApiFp = function(configuration?: Configuration) {
|
|
|
47862
48927
|
const localVarOperationServerBasePath = operationServerMap['EventsPassesApi.cancelEventPass']?.[localVarOperationServerIndex]?.url;
|
|
47863
48928
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
47864
48929
|
},
|
|
48930
|
+
/**
|
|
48931
|
+
* Checkin Event Pass endpoint
|
|
48932
|
+
* @summary Checkin Event Pass
|
|
48933
|
+
* @param {string} eventId The event identifier
|
|
48934
|
+
* @param {string} passId The pass identifier
|
|
48935
|
+
* @param {*} [options] Override http request option.
|
|
48936
|
+
* @throws {RequiredError}
|
|
48937
|
+
*/
|
|
48938
|
+
async checkinEventPass(eventId: string, passId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventPass200Response>> {
|
|
48939
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkinEventPass(eventId, passId, options);
|
|
48940
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
48941
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPassesApi.checkinEventPass']?.[localVarOperationServerIndex]?.url;
|
|
48942
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
48943
|
+
},
|
|
47865
48944
|
/**
|
|
47866
48945
|
* Create Event Pass endpoint
|
|
47867
48946
|
* @summary Create Event Pass
|
|
@@ -48176,6 +49255,20 @@ export const EventsPassesApiFp = function(configuration?: Configuration) {
|
|
|
48176
49255
|
const localVarOperationServerBasePath = operationServerMap['EventsPassesApi.transferEventPass']?.[localVarOperationServerIndex]?.url;
|
|
48177
49256
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
48178
49257
|
},
|
|
49258
|
+
/**
|
|
49259
|
+
* Undo Checkin Event Pass endpoint
|
|
49260
|
+
* @summary Undo Checkin Event Pass
|
|
49261
|
+
* @param {string} eventId The event identifier
|
|
49262
|
+
* @param {string} passId The pass identifier
|
|
49263
|
+
* @param {*} [options] Override http request option.
|
|
49264
|
+
* @throws {RequiredError}
|
|
49265
|
+
*/
|
|
49266
|
+
async undoCheckinEventPass(eventId: string, passId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventPass200Response>> {
|
|
49267
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.undoCheckinEventPass(eventId, passId, options);
|
|
49268
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
49269
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPassesApi.undoCheckinEventPass']?.[localVarOperationServerIndex]?.url;
|
|
49270
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
49271
|
+
},
|
|
48179
49272
|
/**
|
|
48180
49273
|
* Update Event Pass endpoint
|
|
48181
49274
|
* @summary Update Event Pass
|
|
@@ -48317,6 +49410,16 @@ export const EventsPassesApiFactory = function (configuration?: Configuration, b
|
|
|
48317
49410
|
cancelEventPass(requestParameters: EventsPassesApiCancelEventPassRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPass200Response> {
|
|
48318
49411
|
return localVarFp.cancelEventPass(requestParameters.eventId, requestParameters.passId, requestParameters.sendEmail, options).then((request) => request(axios, basePath));
|
|
48319
49412
|
},
|
|
49413
|
+
/**
|
|
49414
|
+
* Checkin Event Pass endpoint
|
|
49415
|
+
* @summary Checkin Event Pass
|
|
49416
|
+
* @param {EventsPassesApiCheckinEventPassRequest} requestParameters Request parameters.
|
|
49417
|
+
* @param {*} [options] Override http request option.
|
|
49418
|
+
* @throws {RequiredError}
|
|
49419
|
+
*/
|
|
49420
|
+
checkinEventPass(requestParameters: EventsPassesApiCheckinEventPassRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPass200Response> {
|
|
49421
|
+
return localVarFp.checkinEventPass(requestParameters.eventId, requestParameters.passId, options).then((request) => request(axios, basePath));
|
|
49422
|
+
},
|
|
48320
49423
|
/**
|
|
48321
49424
|
* Create Event Pass endpoint
|
|
48322
49425
|
* @summary Create Event Pass
|
|
@@ -48507,6 +49610,16 @@ export const EventsPassesApiFactory = function (configuration?: Configuration, b
|
|
|
48507
49610
|
transferEventPass(requestParameters: EventsPassesApiTransferEventPassRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
48508
49611
|
return localVarFp.transferEventPass(requestParameters.eventId, requestParameters.accountId, requestParameters.passId, requestParameters.receiverId, options).then((request) => request(axios, basePath));
|
|
48509
49612
|
},
|
|
49613
|
+
/**
|
|
49614
|
+
* Undo Checkin Event Pass endpoint
|
|
49615
|
+
* @summary Undo Checkin Event Pass
|
|
49616
|
+
* @param {EventsPassesApiUndoCheckinEventPassRequest} requestParameters Request parameters.
|
|
49617
|
+
* @param {*} [options] Override http request option.
|
|
49618
|
+
* @throws {RequiredError}
|
|
49619
|
+
*/
|
|
49620
|
+
undoCheckinEventPass(requestParameters: EventsPassesApiUndoCheckinEventPassRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPass200Response> {
|
|
49621
|
+
return localVarFp.undoCheckinEventPass(requestParameters.eventId, requestParameters.passId, options).then((request) => request(axios, basePath));
|
|
49622
|
+
},
|
|
48510
49623
|
/**
|
|
48511
49624
|
* Update Event Pass endpoint
|
|
48512
49625
|
* @summary Update Event Pass
|
|
@@ -48620,6 +49733,21 @@ export interface EventsPassesApiCancelEventPassRequest {
|
|
|
48620
49733
|
readonly sendEmail?: boolean
|
|
48621
49734
|
}
|
|
48622
49735
|
|
|
49736
|
+
/**
|
|
49737
|
+
* Request parameters for checkinEventPass operation in EventsPassesApi.
|
|
49738
|
+
*/
|
|
49739
|
+
export interface EventsPassesApiCheckinEventPassRequest {
|
|
49740
|
+
/**
|
|
49741
|
+
* The event identifier
|
|
49742
|
+
*/
|
|
49743
|
+
readonly eventId: string
|
|
49744
|
+
|
|
49745
|
+
/**
|
|
49746
|
+
* The pass identifier
|
|
49747
|
+
*/
|
|
49748
|
+
readonly passId: string
|
|
49749
|
+
}
|
|
49750
|
+
|
|
48623
49751
|
/**
|
|
48624
49752
|
* Request parameters for createEventPass operation in EventsPassesApi.
|
|
48625
49753
|
*/
|
|
@@ -49142,6 +50270,21 @@ export interface EventsPassesApiTransferEventPassRequest {
|
|
|
49142
50270
|
readonly receiverId: string
|
|
49143
50271
|
}
|
|
49144
50272
|
|
|
50273
|
+
/**
|
|
50274
|
+
* Request parameters for undoCheckinEventPass operation in EventsPassesApi.
|
|
50275
|
+
*/
|
|
50276
|
+
export interface EventsPassesApiUndoCheckinEventPassRequest {
|
|
50277
|
+
/**
|
|
50278
|
+
* The event identifier
|
|
50279
|
+
*/
|
|
50280
|
+
readonly eventId: string
|
|
50281
|
+
|
|
50282
|
+
/**
|
|
50283
|
+
* The pass identifier
|
|
50284
|
+
*/
|
|
50285
|
+
readonly passId: string
|
|
50286
|
+
}
|
|
50287
|
+
|
|
49145
50288
|
/**
|
|
49146
50289
|
* Request parameters for updateEventPass operation in EventsPassesApi.
|
|
49147
50290
|
*/
|
|
@@ -49331,6 +50474,17 @@ export class EventsPassesApi extends BaseAPI {
|
|
|
49331
50474
|
return EventsPassesApiFp(this.configuration).cancelEventPass(requestParameters.eventId, requestParameters.passId, requestParameters.sendEmail, options).then((request) => request(this.axios, this.basePath));
|
|
49332
50475
|
}
|
|
49333
50476
|
|
|
50477
|
+
/**
|
|
50478
|
+
* Checkin Event Pass endpoint
|
|
50479
|
+
* @summary Checkin Event Pass
|
|
50480
|
+
* @param {EventsPassesApiCheckinEventPassRequest} requestParameters Request parameters.
|
|
50481
|
+
* @param {*} [options] Override http request option.
|
|
50482
|
+
* @throws {RequiredError}
|
|
50483
|
+
*/
|
|
50484
|
+
public checkinEventPass(requestParameters: EventsPassesApiCheckinEventPassRequest, options?: RawAxiosRequestConfig) {
|
|
50485
|
+
return EventsPassesApiFp(this.configuration).checkinEventPass(requestParameters.eventId, requestParameters.passId, options).then((request) => request(this.axios, this.basePath));
|
|
50486
|
+
}
|
|
50487
|
+
|
|
49334
50488
|
/**
|
|
49335
50489
|
* Create Event Pass endpoint
|
|
49336
50490
|
* @summary Create Event Pass
|
|
@@ -49540,6 +50694,17 @@ export class EventsPassesApi extends BaseAPI {
|
|
|
49540
50694
|
return EventsPassesApiFp(this.configuration).transferEventPass(requestParameters.eventId, requestParameters.accountId, requestParameters.passId, requestParameters.receiverId, options).then((request) => request(this.axios, this.basePath));
|
|
49541
50695
|
}
|
|
49542
50696
|
|
|
50697
|
+
/**
|
|
50698
|
+
* Undo Checkin Event Pass endpoint
|
|
50699
|
+
* @summary Undo Checkin Event Pass
|
|
50700
|
+
* @param {EventsPassesApiUndoCheckinEventPassRequest} requestParameters Request parameters.
|
|
50701
|
+
* @param {*} [options] Override http request option.
|
|
50702
|
+
* @throws {RequiredError}
|
|
50703
|
+
*/
|
|
50704
|
+
public undoCheckinEventPass(requestParameters: EventsPassesApiUndoCheckinEventPassRequest, options?: RawAxiosRequestConfig) {
|
|
50705
|
+
return EventsPassesApiFp(this.configuration).undoCheckinEventPass(requestParameters.eventId, requestParameters.passId, options).then((request) => request(this.axios, this.basePath));
|
|
50706
|
+
}
|
|
50707
|
+
|
|
49543
50708
|
/**
|
|
49544
50709
|
* Update Event Pass endpoint
|
|
49545
50710
|
* @summary Update Event Pass
|
|
@@ -60049,6 +61214,54 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60049
61214
|
options: localVarRequestOptions,
|
|
60050
61215
|
};
|
|
60051
61216
|
},
|
|
61217
|
+
/**
|
|
61218
|
+
* Add Event Session Block endpoint
|
|
61219
|
+
* @summary Add Event Session Block
|
|
61220
|
+
* @param {string} eventId The event identifier
|
|
61221
|
+
* @param {string} sessionId The session identifier
|
|
61222
|
+
* @param {string} blockId The block identifier
|
|
61223
|
+
* @param {*} [options] Override http request option.
|
|
61224
|
+
* @throws {RequiredError}
|
|
61225
|
+
*/
|
|
61226
|
+
addEventSessionBlock: async (eventId: string, sessionId: string, blockId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61227
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
61228
|
+
assertParamExists('addEventSessionBlock', 'eventId', eventId)
|
|
61229
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
61230
|
+
assertParamExists('addEventSessionBlock', 'sessionId', sessionId)
|
|
61231
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
61232
|
+
assertParamExists('addEventSessionBlock', 'blockId', blockId)
|
|
61233
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks/{blockId}`
|
|
61234
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
61235
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
61236
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
61237
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61238
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61239
|
+
let baseOptions;
|
|
61240
|
+
if (configuration) {
|
|
61241
|
+
baseOptions = configuration.baseOptions;
|
|
61242
|
+
}
|
|
61243
|
+
|
|
61244
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
61245
|
+
const localVarHeaderParameter = {} as any;
|
|
61246
|
+
const localVarQueryParameter = {} as any;
|
|
61247
|
+
|
|
61248
|
+
// authentication ApiKeyAuth required
|
|
61249
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
61250
|
+
|
|
61251
|
+
// authentication OrganizationId required
|
|
61252
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
61253
|
+
|
|
61254
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
61255
|
+
|
|
61256
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61257
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61258
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61259
|
+
|
|
61260
|
+
return {
|
|
61261
|
+
url: toPathString(localVarUrlObj),
|
|
61262
|
+
options: localVarRequestOptions,
|
|
61263
|
+
};
|
|
61264
|
+
},
|
|
60052
61265
|
/**
|
|
60053
61266
|
* Add Event Session Pass Type endpoint
|
|
60054
61267
|
* @summary Add Event Session Pass Type
|
|
@@ -60507,6 +61720,70 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60507
61720
|
options: localVarRequestOptions,
|
|
60508
61721
|
};
|
|
60509
61722
|
},
|
|
61723
|
+
/**
|
|
61724
|
+
* Get Event Session Blocks endpoint
|
|
61725
|
+
* @summary Get Event Session Blocks
|
|
61726
|
+
* @param {string} eventId The event identifier
|
|
61727
|
+
* @param {string} sessionId The session identifier
|
|
61728
|
+
* @param {number} [page] Page number
|
|
61729
|
+
* @param {number} [pageSize] Number of items per page
|
|
61730
|
+
* @param {string} [orderBy] Field to order by
|
|
61731
|
+
* @param {string} [search] Search query
|
|
61732
|
+
* @param {*} [options] Override http request option.
|
|
61733
|
+
* @throws {RequiredError}
|
|
61734
|
+
*/
|
|
61735
|
+
getEventSessionBlocks: async (eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61736
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
61737
|
+
assertParamExists('getEventSessionBlocks', 'eventId', eventId)
|
|
61738
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
61739
|
+
assertParamExists('getEventSessionBlocks', 'sessionId', sessionId)
|
|
61740
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks`
|
|
61741
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
61742
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
61743
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61744
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61745
|
+
let baseOptions;
|
|
61746
|
+
if (configuration) {
|
|
61747
|
+
baseOptions = configuration.baseOptions;
|
|
61748
|
+
}
|
|
61749
|
+
|
|
61750
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
61751
|
+
const localVarHeaderParameter = {} as any;
|
|
61752
|
+
const localVarQueryParameter = {} as any;
|
|
61753
|
+
|
|
61754
|
+
// authentication ApiKeyAuth required
|
|
61755
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
61756
|
+
|
|
61757
|
+
// authentication OrganizationId required
|
|
61758
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
61759
|
+
|
|
61760
|
+
if (page !== undefined) {
|
|
61761
|
+
localVarQueryParameter['page'] = page;
|
|
61762
|
+
}
|
|
61763
|
+
|
|
61764
|
+
if (pageSize !== undefined) {
|
|
61765
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
61766
|
+
}
|
|
61767
|
+
|
|
61768
|
+
if (orderBy !== undefined) {
|
|
61769
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
61770
|
+
}
|
|
61771
|
+
|
|
61772
|
+
if (search !== undefined) {
|
|
61773
|
+
localVarQueryParameter['search'] = search;
|
|
61774
|
+
}
|
|
61775
|
+
|
|
61776
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
61777
|
+
|
|
61778
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61779
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61780
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61781
|
+
|
|
61782
|
+
return {
|
|
61783
|
+
url: toPathString(localVarUrlObj),
|
|
61784
|
+
options: localVarRequestOptions,
|
|
61785
|
+
};
|
|
61786
|
+
},
|
|
60510
61787
|
/**
|
|
60511
61788
|
* Get Event Session Pass Types endpoint
|
|
60512
61789
|
* @summary Get Event Session Pass Types
|
|
@@ -60764,85 +62041,149 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60764
62041
|
};
|
|
60765
62042
|
},
|
|
60766
62043
|
/**
|
|
60767
|
-
* Get Event Session Tracks endpoint
|
|
60768
|
-
* @summary Get Event Session Tracks
|
|
62044
|
+
* Get Event Session Tracks endpoint
|
|
62045
|
+
* @summary Get Event Session Tracks
|
|
62046
|
+
* @param {string} eventId The event identifier
|
|
62047
|
+
* @param {string} sessionId The session identifier
|
|
62048
|
+
* @param {number} [page] Page number
|
|
62049
|
+
* @param {number} [pageSize] Number of items per page
|
|
62050
|
+
* @param {string} [orderBy] Field to order by
|
|
62051
|
+
* @param {string} [search] Search query
|
|
62052
|
+
* @param {*} [options] Override http request option.
|
|
62053
|
+
* @throws {RequiredError}
|
|
62054
|
+
*/
|
|
62055
|
+
getEventSessionTracks: async (eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62056
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
62057
|
+
assertParamExists('getEventSessionTracks', 'eventId', eventId)
|
|
62058
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
62059
|
+
assertParamExists('getEventSessionTracks', 'sessionId', sessionId)
|
|
62060
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/tracks`
|
|
62061
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
62062
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
62063
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62064
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62065
|
+
let baseOptions;
|
|
62066
|
+
if (configuration) {
|
|
62067
|
+
baseOptions = configuration.baseOptions;
|
|
62068
|
+
}
|
|
62069
|
+
|
|
62070
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
62071
|
+
const localVarHeaderParameter = {} as any;
|
|
62072
|
+
const localVarQueryParameter = {} as any;
|
|
62073
|
+
|
|
62074
|
+
// authentication ApiKeyAuth required
|
|
62075
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
62076
|
+
|
|
62077
|
+
// authentication OrganizationId required
|
|
62078
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
62079
|
+
|
|
62080
|
+
if (page !== undefined) {
|
|
62081
|
+
localVarQueryParameter['page'] = page;
|
|
62082
|
+
}
|
|
62083
|
+
|
|
62084
|
+
if (pageSize !== undefined) {
|
|
62085
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
62086
|
+
}
|
|
62087
|
+
|
|
62088
|
+
if (orderBy !== undefined) {
|
|
62089
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
62090
|
+
}
|
|
62091
|
+
|
|
62092
|
+
if (search !== undefined) {
|
|
62093
|
+
localVarQueryParameter['search'] = search;
|
|
62094
|
+
}
|
|
62095
|
+
|
|
62096
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
62097
|
+
|
|
62098
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62099
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62100
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
62101
|
+
|
|
62102
|
+
return {
|
|
62103
|
+
url: toPathString(localVarUrlObj),
|
|
62104
|
+
options: localVarRequestOptions,
|
|
62105
|
+
};
|
|
62106
|
+
},
|
|
62107
|
+
/**
|
|
62108
|
+
* Get Event Sessions endpoint
|
|
62109
|
+
* @summary Get Event Sessions
|
|
62110
|
+
* @param {string} eventId The event identifier
|
|
62111
|
+
* @param {number} [page] Page number
|
|
62112
|
+
* @param {number} [pageSize] Number of items per page
|
|
62113
|
+
* @param {string} [orderBy] Field to order by
|
|
62114
|
+
* @param {string} [search] Search query
|
|
62115
|
+
* @param {*} [options] Override http request option.
|
|
62116
|
+
* @throws {RequiredError}
|
|
62117
|
+
*/
|
|
62118
|
+
getEventSessions: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62119
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
62120
|
+
assertParamExists('getEventSessions', 'eventId', eventId)
|
|
62121
|
+
const localVarPath = `/events/{eventId}/sessions`
|
|
62122
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
62123
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62124
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62125
|
+
let baseOptions;
|
|
62126
|
+
if (configuration) {
|
|
62127
|
+
baseOptions = configuration.baseOptions;
|
|
62128
|
+
}
|
|
62129
|
+
|
|
62130
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
62131
|
+
const localVarHeaderParameter = {} as any;
|
|
62132
|
+
const localVarQueryParameter = {} as any;
|
|
62133
|
+
|
|
62134
|
+
// authentication ApiKeyAuth required
|
|
62135
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
62136
|
+
|
|
62137
|
+
// authentication OrganizationId required
|
|
62138
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
62139
|
+
|
|
62140
|
+
if (page !== undefined) {
|
|
62141
|
+
localVarQueryParameter['page'] = page;
|
|
62142
|
+
}
|
|
62143
|
+
|
|
62144
|
+
if (pageSize !== undefined) {
|
|
62145
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
62146
|
+
}
|
|
62147
|
+
|
|
62148
|
+
if (orderBy !== undefined) {
|
|
62149
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
62150
|
+
}
|
|
62151
|
+
|
|
62152
|
+
if (search !== undefined) {
|
|
62153
|
+
localVarQueryParameter['search'] = search;
|
|
62154
|
+
}
|
|
62155
|
+
|
|
62156
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
62157
|
+
|
|
62158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62160
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
62161
|
+
|
|
62162
|
+
return {
|
|
62163
|
+
url: toPathString(localVarUrlObj),
|
|
62164
|
+
options: localVarRequestOptions,
|
|
62165
|
+
};
|
|
62166
|
+
},
|
|
62167
|
+
/**
|
|
62168
|
+
* Remove Event Session Account endpoint
|
|
62169
|
+
* @summary Remove Event Session Account
|
|
60769
62170
|
* @param {string} eventId The event identifier
|
|
60770
62171
|
* @param {string} sessionId The session identifier
|
|
60771
|
-
* @param {
|
|
60772
|
-
* @param {number} [pageSize] Number of items per page
|
|
60773
|
-
* @param {string} [orderBy] Field to order by
|
|
60774
|
-
* @param {string} [search] Search query
|
|
62172
|
+
* @param {string} accountId The account identifier
|
|
60775
62173
|
* @param {*} [options] Override http request option.
|
|
60776
62174
|
* @throws {RequiredError}
|
|
60777
62175
|
*/
|
|
60778
|
-
|
|
62176
|
+
removeEventSessionAccount: async (eventId: string, sessionId: string, accountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60779
62177
|
// verify required parameter 'eventId' is not null or undefined
|
|
60780
|
-
assertParamExists('
|
|
62178
|
+
assertParamExists('removeEventSessionAccount', 'eventId', eventId)
|
|
60781
62179
|
// verify required parameter 'sessionId' is not null or undefined
|
|
60782
|
-
assertParamExists('
|
|
60783
|
-
|
|
62180
|
+
assertParamExists('removeEventSessionAccount', 'sessionId', sessionId)
|
|
62181
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
62182
|
+
assertParamExists('removeEventSessionAccount', 'accountId', accountId)
|
|
62183
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/accounts/{accountId}`
|
|
60784
62184
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60785
|
-
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
60786
|
-
|
|
60787
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60788
|
-
let baseOptions;
|
|
60789
|
-
if (configuration) {
|
|
60790
|
-
baseOptions = configuration.baseOptions;
|
|
60791
|
-
}
|
|
60792
|
-
|
|
60793
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
60794
|
-
const localVarHeaderParameter = {} as any;
|
|
60795
|
-
const localVarQueryParameter = {} as any;
|
|
60796
|
-
|
|
60797
|
-
// authentication ApiKeyAuth required
|
|
60798
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
60799
|
-
|
|
60800
|
-
// authentication OrganizationId required
|
|
60801
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
60802
|
-
|
|
60803
|
-
if (page !== undefined) {
|
|
60804
|
-
localVarQueryParameter['page'] = page;
|
|
60805
|
-
}
|
|
60806
|
-
|
|
60807
|
-
if (pageSize !== undefined) {
|
|
60808
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
60809
|
-
}
|
|
60810
|
-
|
|
60811
|
-
if (orderBy !== undefined) {
|
|
60812
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
60813
|
-
}
|
|
60814
|
-
|
|
60815
|
-
if (search !== undefined) {
|
|
60816
|
-
localVarQueryParameter['search'] = search;
|
|
60817
|
-
}
|
|
60818
|
-
|
|
60819
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
60820
|
-
|
|
60821
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60822
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60823
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
60824
|
-
|
|
60825
|
-
return {
|
|
60826
|
-
url: toPathString(localVarUrlObj),
|
|
60827
|
-
options: localVarRequestOptions,
|
|
60828
|
-
};
|
|
60829
|
-
},
|
|
60830
|
-
/**
|
|
60831
|
-
* Get Event Sessions endpoint
|
|
60832
|
-
* @summary Get Event Sessions
|
|
60833
|
-
* @param {string} eventId The event identifier
|
|
60834
|
-
* @param {number} [page] Page number
|
|
60835
|
-
* @param {number} [pageSize] Number of items per page
|
|
60836
|
-
* @param {string} [orderBy] Field to order by
|
|
60837
|
-
* @param {string} [search] Search query
|
|
60838
|
-
* @param {*} [options] Override http request option.
|
|
60839
|
-
* @throws {RequiredError}
|
|
60840
|
-
*/
|
|
60841
|
-
getEventSessions: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60842
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
60843
|
-
assertParamExists('getEventSessions', 'eventId', eventId)
|
|
60844
|
-
const localVarPath = `/events/{eventId}/sessions`
|
|
60845
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
62185
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
62186
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
60846
62187
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60847
62188
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60848
62189
|
let baseOptions;
|
|
@@ -60850,7 +62191,7 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60850
62191
|
baseOptions = configuration.baseOptions;
|
|
60851
62192
|
}
|
|
60852
62193
|
|
|
60853
|
-
const localVarRequestOptions = { method: '
|
|
62194
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
60854
62195
|
const localVarHeaderParameter = {} as any;
|
|
60855
62196
|
const localVarQueryParameter = {} as any;
|
|
60856
62197
|
|
|
@@ -60860,22 +62201,6 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60860
62201
|
// authentication OrganizationId required
|
|
60861
62202
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
60862
62203
|
|
|
60863
|
-
if (page !== undefined) {
|
|
60864
|
-
localVarQueryParameter['page'] = page;
|
|
60865
|
-
}
|
|
60866
|
-
|
|
60867
|
-
if (pageSize !== undefined) {
|
|
60868
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
60869
|
-
}
|
|
60870
|
-
|
|
60871
|
-
if (orderBy !== undefined) {
|
|
60872
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
60873
|
-
}
|
|
60874
|
-
|
|
60875
|
-
if (search !== undefined) {
|
|
60876
|
-
localVarQueryParameter['search'] = search;
|
|
60877
|
-
}
|
|
60878
|
-
|
|
60879
62204
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
60880
62205
|
|
|
60881
62206
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -60888,25 +62213,25 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60888
62213
|
};
|
|
60889
62214
|
},
|
|
60890
62215
|
/**
|
|
60891
|
-
* Remove Event Session
|
|
60892
|
-
* @summary Remove Event Session
|
|
62216
|
+
* Remove Event Session Block endpoint
|
|
62217
|
+
* @summary Remove Event Session Block
|
|
60893
62218
|
* @param {string} eventId The event identifier
|
|
60894
62219
|
* @param {string} sessionId The session identifier
|
|
60895
|
-
* @param {string}
|
|
62220
|
+
* @param {string} blockId The block identifier
|
|
60896
62221
|
* @param {*} [options] Override http request option.
|
|
60897
62222
|
* @throws {RequiredError}
|
|
60898
62223
|
*/
|
|
60899
|
-
|
|
62224
|
+
removeEventSessionBlock: async (eventId: string, sessionId: string, blockId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60900
62225
|
// verify required parameter 'eventId' is not null or undefined
|
|
60901
|
-
assertParamExists('
|
|
62226
|
+
assertParamExists('removeEventSessionBlock', 'eventId', eventId)
|
|
60902
62227
|
// verify required parameter 'sessionId' is not null or undefined
|
|
60903
|
-
assertParamExists('
|
|
60904
|
-
// verify required parameter '
|
|
60905
|
-
assertParamExists('
|
|
60906
|
-
const localVarPath = `/events/{eventId}/sessions/{sessionId}/
|
|
62228
|
+
assertParamExists('removeEventSessionBlock', 'sessionId', sessionId)
|
|
62229
|
+
// verify required parameter 'blockId' is not null or undefined
|
|
62230
|
+
assertParamExists('removeEventSessionBlock', 'blockId', blockId)
|
|
62231
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks/{blockId}`
|
|
60907
62232
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60908
62233
|
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
60909
|
-
.replace(`{${"
|
|
62234
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
60910
62235
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60911
62236
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60912
62237
|
let baseOptions;
|
|
@@ -61204,6 +62529,21 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
|
|
|
61204
62529
|
const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.addEventSessionAccount']?.[localVarOperationServerIndex]?.url;
|
|
61205
62530
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61206
62531
|
},
|
|
62532
|
+
/**
|
|
62533
|
+
* Add Event Session Block endpoint
|
|
62534
|
+
* @summary Add Event Session Block
|
|
62535
|
+
* @param {string} eventId The event identifier
|
|
62536
|
+
* @param {string} sessionId The session identifier
|
|
62537
|
+
* @param {string} blockId The block identifier
|
|
62538
|
+
* @param {*} [options] Override http request option.
|
|
62539
|
+
* @throws {RequiredError}
|
|
62540
|
+
*/
|
|
62541
|
+
async addEventSessionBlock(eventId: string, sessionId: string, blockId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>> {
|
|
62542
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addEventSessionBlock(eventId, sessionId, blockId, options);
|
|
62543
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62544
|
+
const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.addEventSessionBlock']?.[localVarOperationServerIndex]?.url;
|
|
62545
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62546
|
+
},
|
|
61207
62547
|
/**
|
|
61208
62548
|
* Add Event Session Pass Type endpoint
|
|
61209
62549
|
* @summary Add Event Session Pass Type
|
|
@@ -61343,6 +62683,24 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
|
|
|
61343
62683
|
const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.getEventSessionAccounts']?.[localVarOperationServerIndex]?.url;
|
|
61344
62684
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61345
62685
|
},
|
|
62686
|
+
/**
|
|
62687
|
+
* Get Event Session Blocks endpoint
|
|
62688
|
+
* @summary Get Event Session Blocks
|
|
62689
|
+
* @param {string} eventId The event identifier
|
|
62690
|
+
* @param {string} sessionId The session identifier
|
|
62691
|
+
* @param {number} [page] Page number
|
|
62692
|
+
* @param {number} [pageSize] Number of items per page
|
|
62693
|
+
* @param {string} [orderBy] Field to order by
|
|
62694
|
+
* @param {string} [search] Search query
|
|
62695
|
+
* @param {*} [options] Override http request option.
|
|
62696
|
+
* @throws {RequiredError}
|
|
62697
|
+
*/
|
|
62698
|
+
async getEventSessionBlocks(eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventBlocks200Response>> {
|
|
62699
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventSessionBlocks(eventId, sessionId, page, pageSize, orderBy, search, options);
|
|
62700
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62701
|
+
const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.getEventSessionBlocks']?.[localVarOperationServerIndex]?.url;
|
|
62702
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62703
|
+
},
|
|
61346
62704
|
/**
|
|
61347
62705
|
* Get Event Session Pass Types endpoint
|
|
61348
62706
|
* @summary Get Event Session Pass Types
|
|
@@ -61465,6 +62823,21 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
|
|
|
61465
62823
|
const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.removeEventSessionAccount']?.[localVarOperationServerIndex]?.url;
|
|
61466
62824
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61467
62825
|
},
|
|
62826
|
+
/**
|
|
62827
|
+
* Remove Event Session Block endpoint
|
|
62828
|
+
* @summary Remove Event Session Block
|
|
62829
|
+
* @param {string} eventId The event identifier
|
|
62830
|
+
* @param {string} sessionId The session identifier
|
|
62831
|
+
* @param {string} blockId The block identifier
|
|
62832
|
+
* @param {*} [options] Override http request option.
|
|
62833
|
+
* @throws {RequiredError}
|
|
62834
|
+
*/
|
|
62835
|
+
async removeEventSessionBlock(eventId: string, sessionId: string, blockId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountAddress200Response>> {
|
|
62836
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventSessionBlock(eventId, sessionId, blockId, options);
|
|
62837
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62838
|
+
const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.removeEventSessionBlock']?.[localVarOperationServerIndex]?.url;
|
|
62839
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62840
|
+
},
|
|
61468
62841
|
/**
|
|
61469
62842
|
* Remove Event Session Pass Type endpoint
|
|
61470
62843
|
* @summary Remove Event Session Pass Type
|
|
@@ -61559,6 +62932,16 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
|
|
|
61559
62932
|
addEventSessionAccount(requestParameters: EventsSessionsApiAddEventSessionAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
|
|
61560
62933
|
return localVarFp.addEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
61561
62934
|
},
|
|
62935
|
+
/**
|
|
62936
|
+
* Add Event Session Block endpoint
|
|
62937
|
+
* @summary Add Event Session Block
|
|
62938
|
+
* @param {EventsSessionsApiAddEventSessionBlockRequest} requestParameters Request parameters.
|
|
62939
|
+
* @param {*} [options] Override http request option.
|
|
62940
|
+
* @throws {RequiredError}
|
|
62941
|
+
*/
|
|
62942
|
+
addEventSessionBlock(requestParameters: EventsSessionsApiAddEventSessionBlockRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
|
|
62943
|
+
return localVarFp.addEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(axios, basePath));
|
|
62944
|
+
},
|
|
61562
62945
|
/**
|
|
61563
62946
|
* Add Event Session Pass Type endpoint
|
|
61564
62947
|
* @summary Add Event Session Pass Type
|
|
@@ -61649,6 +63032,16 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
|
|
|
61649
63032
|
getEventSessionAccounts(requestParameters: EventsSessionsApiGetEventSessionAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccounts200Response> {
|
|
61650
63033
|
return localVarFp.getEventSessionAccounts(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
61651
63034
|
},
|
|
63035
|
+
/**
|
|
63036
|
+
* Get Event Session Blocks endpoint
|
|
63037
|
+
* @summary Get Event Session Blocks
|
|
63038
|
+
* @param {EventsSessionsApiGetEventSessionBlocksRequest} requestParameters Request parameters.
|
|
63039
|
+
* @param {*} [options] Override http request option.
|
|
63040
|
+
* @throws {RequiredError}
|
|
63041
|
+
*/
|
|
63042
|
+
getEventSessionBlocks(requestParameters: EventsSessionsApiGetEventSessionBlocksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventBlocks200Response> {
|
|
63043
|
+
return localVarFp.getEventSessionBlocks(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
63044
|
+
},
|
|
61652
63045
|
/**
|
|
61653
63046
|
* Get Event Session Pass Types endpoint
|
|
61654
63047
|
* @summary Get Event Session Pass Types
|
|
@@ -61719,6 +63112,16 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
|
|
|
61719
63112
|
removeEventSessionAccount(requestParameters: EventsSessionsApiRemoveEventSessionAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
|
|
61720
63113
|
return localVarFp.removeEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
61721
63114
|
},
|
|
63115
|
+
/**
|
|
63116
|
+
* Remove Event Session Block endpoint
|
|
63117
|
+
* @summary Remove Event Session Block
|
|
63118
|
+
* @param {EventsSessionsApiRemoveEventSessionBlockRequest} requestParameters Request parameters.
|
|
63119
|
+
* @param {*} [options] Override http request option.
|
|
63120
|
+
* @throws {RequiredError}
|
|
63121
|
+
*/
|
|
63122
|
+
removeEventSessionBlock(requestParameters: EventsSessionsApiRemoveEventSessionBlockRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
|
|
63123
|
+
return localVarFp.removeEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(axios, basePath));
|
|
63124
|
+
},
|
|
61722
63125
|
/**
|
|
61723
63126
|
* Remove Event Session Pass Type endpoint
|
|
61724
63127
|
* @summary Remove Event Session Pass Type
|
|
@@ -61792,6 +63195,26 @@ export interface EventsSessionsApiAddEventSessionAccountRequest {
|
|
|
61792
63195
|
readonly accountId: string
|
|
61793
63196
|
}
|
|
61794
63197
|
|
|
63198
|
+
/**
|
|
63199
|
+
* Request parameters for addEventSessionBlock operation in EventsSessionsApi.
|
|
63200
|
+
*/
|
|
63201
|
+
export interface EventsSessionsApiAddEventSessionBlockRequest {
|
|
63202
|
+
/**
|
|
63203
|
+
* The event identifier
|
|
63204
|
+
*/
|
|
63205
|
+
readonly eventId: string
|
|
63206
|
+
|
|
63207
|
+
/**
|
|
63208
|
+
* The session identifier
|
|
63209
|
+
*/
|
|
63210
|
+
readonly sessionId: string
|
|
63211
|
+
|
|
63212
|
+
/**
|
|
63213
|
+
* The block identifier
|
|
63214
|
+
*/
|
|
63215
|
+
readonly blockId: string
|
|
63216
|
+
}
|
|
63217
|
+
|
|
61795
63218
|
/**
|
|
61796
63219
|
* Request parameters for addEventSessionPassType operation in EventsSessionsApi.
|
|
61797
63220
|
*/
|
|
@@ -61989,6 +63412,41 @@ export interface EventsSessionsApiGetEventSessionAccountsRequest {
|
|
|
61989
63412
|
readonly search?: string
|
|
61990
63413
|
}
|
|
61991
63414
|
|
|
63415
|
+
/**
|
|
63416
|
+
* Request parameters for getEventSessionBlocks operation in EventsSessionsApi.
|
|
63417
|
+
*/
|
|
63418
|
+
export interface EventsSessionsApiGetEventSessionBlocksRequest {
|
|
63419
|
+
/**
|
|
63420
|
+
* The event identifier
|
|
63421
|
+
*/
|
|
63422
|
+
readonly eventId: string
|
|
63423
|
+
|
|
63424
|
+
/**
|
|
63425
|
+
* The session identifier
|
|
63426
|
+
*/
|
|
63427
|
+
readonly sessionId: string
|
|
63428
|
+
|
|
63429
|
+
/**
|
|
63430
|
+
* Page number
|
|
63431
|
+
*/
|
|
63432
|
+
readonly page?: number
|
|
63433
|
+
|
|
63434
|
+
/**
|
|
63435
|
+
* Number of items per page
|
|
63436
|
+
*/
|
|
63437
|
+
readonly pageSize?: number
|
|
63438
|
+
|
|
63439
|
+
/**
|
|
63440
|
+
* Field to order by
|
|
63441
|
+
*/
|
|
63442
|
+
readonly orderBy?: string
|
|
63443
|
+
|
|
63444
|
+
/**
|
|
63445
|
+
* Search query
|
|
63446
|
+
*/
|
|
63447
|
+
readonly search?: string
|
|
63448
|
+
}
|
|
63449
|
+
|
|
61992
63450
|
/**
|
|
61993
63451
|
* Request parameters for getEventSessionPassTypes operation in EventsSessionsApi.
|
|
61994
63452
|
*/
|
|
@@ -62214,6 +63672,26 @@ export interface EventsSessionsApiRemoveEventSessionAccountRequest {
|
|
|
62214
63672
|
readonly accountId: string
|
|
62215
63673
|
}
|
|
62216
63674
|
|
|
63675
|
+
/**
|
|
63676
|
+
* Request parameters for removeEventSessionBlock operation in EventsSessionsApi.
|
|
63677
|
+
*/
|
|
63678
|
+
export interface EventsSessionsApiRemoveEventSessionBlockRequest {
|
|
63679
|
+
/**
|
|
63680
|
+
* The event identifier
|
|
63681
|
+
*/
|
|
63682
|
+
readonly eventId: string
|
|
63683
|
+
|
|
63684
|
+
/**
|
|
63685
|
+
* The session identifier
|
|
63686
|
+
*/
|
|
63687
|
+
readonly sessionId: string
|
|
63688
|
+
|
|
63689
|
+
/**
|
|
63690
|
+
* The block identifier
|
|
63691
|
+
*/
|
|
63692
|
+
readonly blockId: string
|
|
63693
|
+
}
|
|
63694
|
+
|
|
62217
63695
|
/**
|
|
62218
63696
|
* Request parameters for removeEventSessionPassType operation in EventsSessionsApi.
|
|
62219
63697
|
*/
|
|
@@ -62329,6 +63807,17 @@ export class EventsSessionsApi extends BaseAPI {
|
|
|
62329
63807
|
return EventsSessionsApiFp(this.configuration).addEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
62330
63808
|
}
|
|
62331
63809
|
|
|
63810
|
+
/**
|
|
63811
|
+
* Add Event Session Block endpoint
|
|
63812
|
+
* @summary Add Event Session Block
|
|
63813
|
+
* @param {EventsSessionsApiAddEventSessionBlockRequest} requestParameters Request parameters.
|
|
63814
|
+
* @param {*} [options] Override http request option.
|
|
63815
|
+
* @throws {RequiredError}
|
|
63816
|
+
*/
|
|
63817
|
+
public addEventSessionBlock(requestParameters: EventsSessionsApiAddEventSessionBlockRequest, options?: RawAxiosRequestConfig) {
|
|
63818
|
+
return EventsSessionsApiFp(this.configuration).addEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
|
|
63819
|
+
}
|
|
63820
|
+
|
|
62332
63821
|
/**
|
|
62333
63822
|
* Add Event Session Pass Type endpoint
|
|
62334
63823
|
* @summary Add Event Session Pass Type
|
|
@@ -62428,6 +63917,17 @@ export class EventsSessionsApi extends BaseAPI {
|
|
|
62428
63917
|
return EventsSessionsApiFp(this.configuration).getEventSessionAccounts(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
62429
63918
|
}
|
|
62430
63919
|
|
|
63920
|
+
/**
|
|
63921
|
+
* Get Event Session Blocks endpoint
|
|
63922
|
+
* @summary Get Event Session Blocks
|
|
63923
|
+
* @param {EventsSessionsApiGetEventSessionBlocksRequest} requestParameters Request parameters.
|
|
63924
|
+
* @param {*} [options] Override http request option.
|
|
63925
|
+
* @throws {RequiredError}
|
|
63926
|
+
*/
|
|
63927
|
+
public getEventSessionBlocks(requestParameters: EventsSessionsApiGetEventSessionBlocksRequest, options?: RawAxiosRequestConfig) {
|
|
63928
|
+
return EventsSessionsApiFp(this.configuration).getEventSessionBlocks(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
63929
|
+
}
|
|
63930
|
+
|
|
62431
63931
|
/**
|
|
62432
63932
|
* Get Event Session Pass Types endpoint
|
|
62433
63933
|
* @summary Get Event Session Pass Types
|
|
@@ -62505,6 +64005,17 @@ export class EventsSessionsApi extends BaseAPI {
|
|
|
62505
64005
|
return EventsSessionsApiFp(this.configuration).removeEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
62506
64006
|
}
|
|
62507
64007
|
|
|
64008
|
+
/**
|
|
64009
|
+
* Remove Event Session Block endpoint
|
|
64010
|
+
* @summary Remove Event Session Block
|
|
64011
|
+
* @param {EventsSessionsApiRemoveEventSessionBlockRequest} requestParameters Request parameters.
|
|
64012
|
+
* @param {*} [options] Override http request option.
|
|
64013
|
+
* @throws {RequiredError}
|
|
64014
|
+
*/
|
|
64015
|
+
public removeEventSessionBlock(requestParameters: EventsSessionsApiRemoveEventSessionBlockRequest, options?: RawAxiosRequestConfig) {
|
|
64016
|
+
return EventsSessionsApiFp(this.configuration).removeEventSessionBlock(requestParameters.eventId, requestParameters.sessionId, requestParameters.blockId, options).then((request) => request(this.axios, this.basePath));
|
|
64017
|
+
}
|
|
64018
|
+
|
|
62508
64019
|
/**
|
|
62509
64020
|
* Remove Event Session Pass Type endpoint
|
|
62510
64021
|
* @summary Remove Event Session Pass Type
|
|
@@ -105572,6 +107083,8 @@ export const SurveysApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
105572
107083
|
/**
|
|
105573
107084
|
* Get Surveys endpoint
|
|
105574
107085
|
* @summary Get Surveys
|
|
107086
|
+
* @param {string} [eventId] Filter by eventId
|
|
107087
|
+
* @param {string} [sessionId] Filter by sessionId
|
|
105575
107088
|
* @param {number} [page] Page number
|
|
105576
107089
|
* @param {number} [pageSize] Number of items per page
|
|
105577
107090
|
* @param {string} [orderBy] Field to order by
|
|
@@ -105579,7 +107092,7 @@ export const SurveysApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
105579
107092
|
* @param {*} [options] Override http request option.
|
|
105580
107093
|
* @throws {RequiredError}
|
|
105581
107094
|
*/
|
|
105582
|
-
getSurveys: async (page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
107095
|
+
getSurveys: async (eventId?: string, sessionId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
105583
107096
|
const localVarPath = `/surveys`;
|
|
105584
107097
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105585
107098
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -105598,6 +107111,14 @@ export const SurveysApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
105598
107111
|
// authentication OrganizationId required
|
|
105599
107112
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
105600
107113
|
|
|
107114
|
+
if (eventId !== undefined) {
|
|
107115
|
+
localVarQueryParameter['eventId'] = eventId;
|
|
107116
|
+
}
|
|
107117
|
+
|
|
107118
|
+
if (sessionId !== undefined) {
|
|
107119
|
+
localVarQueryParameter['sessionId'] = sessionId;
|
|
107120
|
+
}
|
|
107121
|
+
|
|
105601
107122
|
if (page !== undefined) {
|
|
105602
107123
|
localVarQueryParameter['page'] = page;
|
|
105603
107124
|
}
|
|
@@ -105721,6 +107242,8 @@ export const SurveysApiFp = function(configuration?: Configuration) {
|
|
|
105721
107242
|
/**
|
|
105722
107243
|
* Get Surveys endpoint
|
|
105723
107244
|
* @summary Get Surveys
|
|
107245
|
+
* @param {string} [eventId] Filter by eventId
|
|
107246
|
+
* @param {string} [sessionId] Filter by sessionId
|
|
105724
107247
|
* @param {number} [page] Page number
|
|
105725
107248
|
* @param {number} [pageSize] Number of items per page
|
|
105726
107249
|
* @param {string} [orderBy] Field to order by
|
|
@@ -105728,8 +107251,8 @@ export const SurveysApiFp = function(configuration?: Configuration) {
|
|
|
105728
107251
|
* @param {*} [options] Override http request option.
|
|
105729
107252
|
* @throws {RequiredError}
|
|
105730
107253
|
*/
|
|
105731
|
-
async getSurveys(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSurveys200Response>> {
|
|
105732
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSurveys(page, pageSize, orderBy, search, options);
|
|
107254
|
+
async getSurveys(eventId?: string, sessionId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSurveys200Response>> {
|
|
107255
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSurveys(eventId, sessionId, page, pageSize, orderBy, search, options);
|
|
105733
107256
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
105734
107257
|
const localVarOperationServerBasePath = operationServerMap['SurveysApi.getSurveys']?.[localVarOperationServerIndex]?.url;
|
|
105735
107258
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -105795,7 +107318,7 @@ export const SurveysApiFactory = function (configuration?: Configuration, basePa
|
|
|
105795
107318
|
* @throws {RequiredError}
|
|
105796
107319
|
*/
|
|
105797
107320
|
getSurveys(requestParameters: SurveysApiGetSurveysRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetSurveys200Response> {
|
|
105798
|
-
return localVarFp.getSurveys(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
107321
|
+
return localVarFp.getSurveys(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
105799
107322
|
},
|
|
105800
107323
|
/**
|
|
105801
107324
|
* Update Survey endpoint
|
|
@@ -105841,6 +107364,16 @@ export interface SurveysApiGetSurveyRequest {
|
|
|
105841
107364
|
* Request parameters for getSurveys operation in SurveysApi.
|
|
105842
107365
|
*/
|
|
105843
107366
|
export interface SurveysApiGetSurveysRequest {
|
|
107367
|
+
/**
|
|
107368
|
+
* Filter by eventId
|
|
107369
|
+
*/
|
|
107370
|
+
readonly eventId?: string
|
|
107371
|
+
|
|
107372
|
+
/**
|
|
107373
|
+
* Filter by sessionId
|
|
107374
|
+
*/
|
|
107375
|
+
readonly sessionId?: string
|
|
107376
|
+
|
|
105844
107377
|
/**
|
|
105845
107378
|
* Page number
|
|
105846
107379
|
*/
|
|
@@ -105919,7 +107452,7 @@ export class SurveysApi extends BaseAPI {
|
|
|
105919
107452
|
* @throws {RequiredError}
|
|
105920
107453
|
*/
|
|
105921
107454
|
public getSurveys(requestParameters: SurveysApiGetSurveysRequest = {}, options?: RawAxiosRequestConfig) {
|
|
105922
|
-
return SurveysApiFp(this.configuration).getSurveys(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
107455
|
+
return SurveysApiFp(this.configuration).getSurveys(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
105923
107456
|
}
|
|
105924
107457
|
|
|
105925
107458
|
/**
|