@connectedxm/admin-sdk 6.7.7 → 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 +18 -0
- package/api.ts +1666 -321
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +720 -4
- package/dist/api.js +992 -28
- package/dist/esm/AdminApi.d.ts +2 -1
- package/dist/esm/AdminApi.js +2 -1
- package/dist/esm/api.d.ts +720 -4
- package/dist/esm/api.js +970 -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/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
|
/**
|
|
@@ -60237,6 +61214,54 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60237
61214
|
options: localVarRequestOptions,
|
|
60238
61215
|
};
|
|
60239
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
|
+
},
|
|
60240
61265
|
/**
|
|
60241
61266
|
* Add Event Session Pass Type endpoint
|
|
60242
61267
|
* @summary Add Event Session Pass Type
|
|
@@ -60334,25 +61359,255 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60334
61359
|
};
|
|
60335
61360
|
},
|
|
60336
61361
|
/**
|
|
60337
|
-
* Add Event Session Sponsor endpoint
|
|
60338
|
-
* @summary Add Event Session Sponsor
|
|
61362
|
+
* Add Event Session Sponsor endpoint
|
|
61363
|
+
* @summary Add Event Session Sponsor
|
|
61364
|
+
* @param {string} eventId The event identifier
|
|
61365
|
+
* @param {string} sessionId The session identifier
|
|
61366
|
+
* @param {string} sponsorId The sponsor identifier
|
|
61367
|
+
* @param {*} [options] Override http request option.
|
|
61368
|
+
* @throws {RequiredError}
|
|
61369
|
+
*/
|
|
61370
|
+
addEventSessionSponsor: async (eventId: string, sessionId: string, sponsorId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61371
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
61372
|
+
assertParamExists('addEventSessionSponsor', 'eventId', eventId)
|
|
61373
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
61374
|
+
assertParamExists('addEventSessionSponsor', 'sessionId', sessionId)
|
|
61375
|
+
// verify required parameter 'sponsorId' is not null or undefined
|
|
61376
|
+
assertParamExists('addEventSessionSponsor', 'sponsorId', sponsorId)
|
|
61377
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/sponsors/{sponsorId}`
|
|
61378
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
61379
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
61380
|
+
.replace(`{${"sponsorId"}}`, encodeURIComponent(String(sponsorId)));
|
|
61381
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61382
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61383
|
+
let baseOptions;
|
|
61384
|
+
if (configuration) {
|
|
61385
|
+
baseOptions = configuration.baseOptions;
|
|
61386
|
+
}
|
|
61387
|
+
|
|
61388
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
61389
|
+
const localVarHeaderParameter = {} as any;
|
|
61390
|
+
const localVarQueryParameter = {} as any;
|
|
61391
|
+
|
|
61392
|
+
// authentication ApiKeyAuth required
|
|
61393
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
61394
|
+
|
|
61395
|
+
// authentication OrganizationId required
|
|
61396
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
61397
|
+
|
|
61398
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
61399
|
+
|
|
61400
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61401
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61402
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61403
|
+
|
|
61404
|
+
return {
|
|
61405
|
+
url: toPathString(localVarUrlObj),
|
|
61406
|
+
options: localVarRequestOptions,
|
|
61407
|
+
};
|
|
61408
|
+
},
|
|
61409
|
+
/**
|
|
61410
|
+
* Add Event Session Track endpoint
|
|
61411
|
+
* @summary Add Event Session Track
|
|
61412
|
+
* @param {string} eventId The event identifier
|
|
61413
|
+
* @param {string} sessionId The session identifier
|
|
61414
|
+
* @param {string} trackId The track identifier
|
|
61415
|
+
* @param {*} [options] Override http request option.
|
|
61416
|
+
* @throws {RequiredError}
|
|
61417
|
+
*/
|
|
61418
|
+
addEventSessionTrack: async (eventId: string, sessionId: string, trackId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61419
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
61420
|
+
assertParamExists('addEventSessionTrack', 'eventId', eventId)
|
|
61421
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
61422
|
+
assertParamExists('addEventSessionTrack', 'sessionId', sessionId)
|
|
61423
|
+
// verify required parameter 'trackId' is not null or undefined
|
|
61424
|
+
assertParamExists('addEventSessionTrack', 'trackId', trackId)
|
|
61425
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/tracks/{trackId}`
|
|
61426
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
61427
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
61428
|
+
.replace(`{${"trackId"}}`, encodeURIComponent(String(trackId)));
|
|
61429
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61430
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61431
|
+
let baseOptions;
|
|
61432
|
+
if (configuration) {
|
|
61433
|
+
baseOptions = configuration.baseOptions;
|
|
61434
|
+
}
|
|
61435
|
+
|
|
61436
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
61437
|
+
const localVarHeaderParameter = {} as any;
|
|
61438
|
+
const localVarQueryParameter = {} as any;
|
|
61439
|
+
|
|
61440
|
+
// authentication ApiKeyAuth required
|
|
61441
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
61442
|
+
|
|
61443
|
+
// authentication OrganizationId required
|
|
61444
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
61445
|
+
|
|
61446
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
61447
|
+
|
|
61448
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61449
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61450
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61451
|
+
|
|
61452
|
+
return {
|
|
61453
|
+
url: toPathString(localVarUrlObj),
|
|
61454
|
+
options: localVarRequestOptions,
|
|
61455
|
+
};
|
|
61456
|
+
},
|
|
61457
|
+
/**
|
|
61458
|
+
* Create Event Session endpoint
|
|
61459
|
+
* @summary Create Event Session
|
|
61460
|
+
* @param {string} eventId The event identifier
|
|
61461
|
+
* @param {EventSessionCreateInputs} eventSessionCreateInputs
|
|
61462
|
+
* @param {*} [options] Override http request option.
|
|
61463
|
+
* @throws {RequiredError}
|
|
61464
|
+
*/
|
|
61465
|
+
createEventSession: async (eventId: string, eventSessionCreateInputs: EventSessionCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61466
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
61467
|
+
assertParamExists('createEventSession', 'eventId', eventId)
|
|
61468
|
+
// verify required parameter 'eventSessionCreateInputs' is not null or undefined
|
|
61469
|
+
assertParamExists('createEventSession', 'eventSessionCreateInputs', eventSessionCreateInputs)
|
|
61470
|
+
const localVarPath = `/events/{eventId}/sessions`
|
|
61471
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
61472
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61473
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61474
|
+
let baseOptions;
|
|
61475
|
+
if (configuration) {
|
|
61476
|
+
baseOptions = configuration.baseOptions;
|
|
61477
|
+
}
|
|
61478
|
+
|
|
61479
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
61480
|
+
const localVarHeaderParameter = {} as any;
|
|
61481
|
+
const localVarQueryParameter = {} as any;
|
|
61482
|
+
|
|
61483
|
+
// authentication ApiKeyAuth required
|
|
61484
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
61485
|
+
|
|
61486
|
+
// authentication OrganizationId required
|
|
61487
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
61488
|
+
|
|
61489
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
61490
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
61491
|
+
|
|
61492
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61493
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61494
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61495
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventSessionCreateInputs, localVarRequestOptions, configuration)
|
|
61496
|
+
|
|
61497
|
+
return {
|
|
61498
|
+
url: toPathString(localVarUrlObj),
|
|
61499
|
+
options: localVarRequestOptions,
|
|
61500
|
+
};
|
|
61501
|
+
},
|
|
61502
|
+
/**
|
|
61503
|
+
* Delete Event Session endpoint
|
|
61504
|
+
* @summary Delete Event Session
|
|
61505
|
+
* @param {string} eventId The event identifier
|
|
61506
|
+
* @param {string} sessionId The session identifier
|
|
61507
|
+
* @param {*} [options] Override http request option.
|
|
61508
|
+
* @throws {RequiredError}
|
|
61509
|
+
*/
|
|
61510
|
+
deleteEventSession: async (eventId: string, sessionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61511
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
61512
|
+
assertParamExists('deleteEventSession', 'eventId', eventId)
|
|
61513
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
61514
|
+
assertParamExists('deleteEventSession', 'sessionId', sessionId)
|
|
61515
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}`
|
|
61516
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
61517
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
61518
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61519
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61520
|
+
let baseOptions;
|
|
61521
|
+
if (configuration) {
|
|
61522
|
+
baseOptions = configuration.baseOptions;
|
|
61523
|
+
}
|
|
61524
|
+
|
|
61525
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
61526
|
+
const localVarHeaderParameter = {} as any;
|
|
61527
|
+
const localVarQueryParameter = {} as any;
|
|
61528
|
+
|
|
61529
|
+
// authentication ApiKeyAuth required
|
|
61530
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
61531
|
+
|
|
61532
|
+
// authentication OrganizationId required
|
|
61533
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
61534
|
+
|
|
61535
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
61536
|
+
|
|
61537
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61538
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61539
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61540
|
+
|
|
61541
|
+
return {
|
|
61542
|
+
url: toPathString(localVarUrlObj),
|
|
61543
|
+
options: localVarRequestOptions,
|
|
61544
|
+
};
|
|
61545
|
+
},
|
|
61546
|
+
/**
|
|
61547
|
+
* Get Event Session endpoint
|
|
61548
|
+
* @summary Get Event Session
|
|
61549
|
+
* @param {string} eventId The event identifier
|
|
61550
|
+
* @param {string} sessionId The session identifier
|
|
61551
|
+
* @param {*} [options] Override http request option.
|
|
61552
|
+
* @throws {RequiredError}
|
|
61553
|
+
*/
|
|
61554
|
+
getEventSession: async (eventId: string, sessionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61555
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
61556
|
+
assertParamExists('getEventSession', 'eventId', eventId)
|
|
61557
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
61558
|
+
assertParamExists('getEventSession', 'sessionId', sessionId)
|
|
61559
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}`
|
|
61560
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
61561
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
61562
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61563
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61564
|
+
let baseOptions;
|
|
61565
|
+
if (configuration) {
|
|
61566
|
+
baseOptions = configuration.baseOptions;
|
|
61567
|
+
}
|
|
61568
|
+
|
|
61569
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
61570
|
+
const localVarHeaderParameter = {} as any;
|
|
61571
|
+
const localVarQueryParameter = {} as any;
|
|
61572
|
+
|
|
61573
|
+
// authentication ApiKeyAuth required
|
|
61574
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
61575
|
+
|
|
61576
|
+
// authentication OrganizationId required
|
|
61577
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
61578
|
+
|
|
61579
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
61580
|
+
|
|
61581
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61582
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61583
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61584
|
+
|
|
61585
|
+
return {
|
|
61586
|
+
url: toPathString(localVarUrlObj),
|
|
61587
|
+
options: localVarRequestOptions,
|
|
61588
|
+
};
|
|
61589
|
+
},
|
|
61590
|
+
/**
|
|
61591
|
+
* Get Event Session Accesses endpoint
|
|
61592
|
+
* @summary Get Event Session Accesses
|
|
60339
61593
|
* @param {string} eventId The event identifier
|
|
60340
61594
|
* @param {string} sessionId The session identifier
|
|
60341
|
-
* @param {
|
|
61595
|
+
* @param {PurchaseStatus} [purchaseStatus] Filter by purchaseStatus
|
|
61596
|
+
* @param {number} [page] Page number
|
|
61597
|
+
* @param {number} [pageSize] Number of items per page
|
|
61598
|
+
* @param {string} [orderBy] Field to order by
|
|
61599
|
+
* @param {string} [search] Search query
|
|
60342
61600
|
* @param {*} [options] Override http request option.
|
|
60343
61601
|
* @throws {RequiredError}
|
|
60344
61602
|
*/
|
|
60345
|
-
|
|
61603
|
+
getEventSessionAccesses: async (eventId: string, sessionId: string, purchaseStatus?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60346
61604
|
// verify required parameter 'eventId' is not null or undefined
|
|
60347
|
-
assertParamExists('
|
|
61605
|
+
assertParamExists('getEventSessionAccesses', 'eventId', eventId)
|
|
60348
61606
|
// verify required parameter 'sessionId' is not null or undefined
|
|
60349
|
-
assertParamExists('
|
|
60350
|
-
|
|
60351
|
-
assertParamExists('addEventSessionSponsor', 'sponsorId', sponsorId)
|
|
60352
|
-
const localVarPath = `/events/{eventId}/sessions/{sessionId}/sponsors/{sponsorId}`
|
|
61607
|
+
assertParamExists('getEventSessionAccesses', 'sessionId', sessionId)
|
|
61608
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/accesses`
|
|
60353
61609
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60354
|
-
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
60355
|
-
.replace(`{${"sponsorId"}}`, encodeURIComponent(String(sponsorId)));
|
|
61610
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
60356
61611
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60357
61612
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60358
61613
|
let baseOptions;
|
|
@@ -60360,7 +61615,7 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60360
61615
|
baseOptions = configuration.baseOptions;
|
|
60361
61616
|
}
|
|
60362
61617
|
|
|
60363
|
-
const localVarRequestOptions = { method: '
|
|
61618
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
60364
61619
|
const localVarHeaderParameter = {} as any;
|
|
60365
61620
|
const localVarQueryParameter = {} as any;
|
|
60366
61621
|
|
|
@@ -60370,6 +61625,26 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60370
61625
|
// authentication OrganizationId required
|
|
60371
61626
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
60372
61627
|
|
|
61628
|
+
if (purchaseStatus !== undefined) {
|
|
61629
|
+
localVarQueryParameter['purchaseStatus'] = purchaseStatus;
|
|
61630
|
+
}
|
|
61631
|
+
|
|
61632
|
+
if (page !== undefined) {
|
|
61633
|
+
localVarQueryParameter['page'] = page;
|
|
61634
|
+
}
|
|
61635
|
+
|
|
61636
|
+
if (pageSize !== undefined) {
|
|
61637
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
61638
|
+
}
|
|
61639
|
+
|
|
61640
|
+
if (orderBy !== undefined) {
|
|
61641
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
61642
|
+
}
|
|
61643
|
+
|
|
61644
|
+
if (search !== undefined) {
|
|
61645
|
+
localVarQueryParameter['search'] = search;
|
|
61646
|
+
}
|
|
61647
|
+
|
|
60373
61648
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
60374
61649
|
|
|
60375
61650
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -60382,25 +61657,25 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60382
61657
|
};
|
|
60383
61658
|
},
|
|
60384
61659
|
/**
|
|
60385
|
-
*
|
|
60386
|
-
* @summary
|
|
61660
|
+
* Get Event Session Accounts endpoint
|
|
61661
|
+
* @summary Get Event Session Accounts
|
|
60387
61662
|
* @param {string} eventId The event identifier
|
|
60388
61663
|
* @param {string} sessionId The session identifier
|
|
60389
|
-
* @param {
|
|
61664
|
+
* @param {number} [page] Page number
|
|
61665
|
+
* @param {number} [pageSize] Number of items per page
|
|
61666
|
+
* @param {string} [orderBy] Field to order by
|
|
61667
|
+
* @param {string} [search] Search query
|
|
60390
61668
|
* @param {*} [options] Override http request option.
|
|
60391
61669
|
* @throws {RequiredError}
|
|
60392
61670
|
*/
|
|
60393
|
-
|
|
61671
|
+
getEventSessionAccounts: async (eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60394
61672
|
// verify required parameter 'eventId' is not null or undefined
|
|
60395
|
-
assertParamExists('
|
|
61673
|
+
assertParamExists('getEventSessionAccounts', 'eventId', eventId)
|
|
60396
61674
|
// verify required parameter 'sessionId' is not null or undefined
|
|
60397
|
-
assertParamExists('
|
|
60398
|
-
|
|
60399
|
-
assertParamExists('addEventSessionTrack', 'trackId', trackId)
|
|
60400
|
-
const localVarPath = `/events/{eventId}/sessions/{sessionId}/tracks/{trackId}`
|
|
61675
|
+
assertParamExists('getEventSessionAccounts', 'sessionId', sessionId)
|
|
61676
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/accounts`
|
|
60401
61677
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60402
|
-
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
60403
|
-
.replace(`{${"trackId"}}`, encodeURIComponent(String(trackId)));
|
|
61678
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
60404
61679
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60405
61680
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60406
61681
|
let baseOptions;
|
|
@@ -60408,7 +61683,7 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60408
61683
|
baseOptions = configuration.baseOptions;
|
|
60409
61684
|
}
|
|
60410
61685
|
|
|
60411
|
-
const localVarRequestOptions = { method: '
|
|
61686
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
60412
61687
|
const localVarHeaderParameter = {} as any;
|
|
60413
61688
|
const localVarQueryParameter = {} as any;
|
|
60414
61689
|
|
|
@@ -60418,56 +61693,27 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60418
61693
|
// authentication OrganizationId required
|
|
60419
61694
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
60420
61695
|
|
|
60421
|
-
|
|
60422
|
-
|
|
60423
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60424
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60425
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
60426
|
-
|
|
60427
|
-
return {
|
|
60428
|
-
url: toPathString(localVarUrlObj),
|
|
60429
|
-
options: localVarRequestOptions,
|
|
60430
|
-
};
|
|
60431
|
-
},
|
|
60432
|
-
/**
|
|
60433
|
-
* Create Event Session endpoint
|
|
60434
|
-
* @summary Create Event Session
|
|
60435
|
-
* @param {string} eventId The event identifier
|
|
60436
|
-
* @param {EventSessionCreateInputs} eventSessionCreateInputs
|
|
60437
|
-
* @param {*} [options] Override http request option.
|
|
60438
|
-
* @throws {RequiredError}
|
|
60439
|
-
*/
|
|
60440
|
-
createEventSession: async (eventId: string, eventSessionCreateInputs: EventSessionCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60441
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
60442
|
-
assertParamExists('createEventSession', 'eventId', eventId)
|
|
60443
|
-
// verify required parameter 'eventSessionCreateInputs' is not null or undefined
|
|
60444
|
-
assertParamExists('createEventSession', 'eventSessionCreateInputs', eventSessionCreateInputs)
|
|
60445
|
-
const localVarPath = `/events/{eventId}/sessions`
|
|
60446
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
60447
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60448
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60449
|
-
let baseOptions;
|
|
60450
|
-
if (configuration) {
|
|
60451
|
-
baseOptions = configuration.baseOptions;
|
|
61696
|
+
if (page !== undefined) {
|
|
61697
|
+
localVarQueryParameter['page'] = page;
|
|
60452
61698
|
}
|
|
60453
61699
|
|
|
60454
|
-
|
|
60455
|
-
|
|
60456
|
-
|
|
61700
|
+
if (pageSize !== undefined) {
|
|
61701
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
61702
|
+
}
|
|
60457
61703
|
|
|
60458
|
-
|
|
60459
|
-
|
|
61704
|
+
if (orderBy !== undefined) {
|
|
61705
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
61706
|
+
}
|
|
60460
61707
|
|
|
60461
|
-
|
|
60462
|
-
|
|
61708
|
+
if (search !== undefined) {
|
|
61709
|
+
localVarQueryParameter['search'] = search;
|
|
61710
|
+
}
|
|
60463
61711
|
|
|
60464
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
60465
61712
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
60466
61713
|
|
|
60467
61714
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60468
61715
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60469
61716
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
60470
|
-
localVarRequestOptions.data = serializeDataIfNeeded(eventSessionCreateInputs, localVarRequestOptions, configuration)
|
|
60471
61717
|
|
|
60472
61718
|
return {
|
|
60473
61719
|
url: toPathString(localVarUrlObj),
|
|
@@ -60475,19 +61721,23 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60475
61721
|
};
|
|
60476
61722
|
},
|
|
60477
61723
|
/**
|
|
60478
|
-
*
|
|
60479
|
-
* @summary
|
|
61724
|
+
* Get Event Session Blocks endpoint
|
|
61725
|
+
* @summary Get Event Session Blocks
|
|
60480
61726
|
* @param {string} eventId The event identifier
|
|
60481
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
|
|
60482
61732
|
* @param {*} [options] Override http request option.
|
|
60483
61733
|
* @throws {RequiredError}
|
|
60484
61734
|
*/
|
|
60485
|
-
|
|
61735
|
+
getEventSessionBlocks: async (eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60486
61736
|
// verify required parameter 'eventId' is not null or undefined
|
|
60487
|
-
assertParamExists('
|
|
61737
|
+
assertParamExists('getEventSessionBlocks', 'eventId', eventId)
|
|
60488
61738
|
// verify required parameter 'sessionId' is not null or undefined
|
|
60489
|
-
assertParamExists('
|
|
60490
|
-
const localVarPath = `/events/{eventId}/sessions/{sessionId}`
|
|
61739
|
+
assertParamExists('getEventSessionBlocks', 'sessionId', sessionId)
|
|
61740
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks`
|
|
60491
61741
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60492
61742
|
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
60493
61743
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -60497,7 +61747,7 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60497
61747
|
baseOptions = configuration.baseOptions;
|
|
60498
61748
|
}
|
|
60499
61749
|
|
|
60500
|
-
const localVarRequestOptions = { method: '
|
|
61750
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
60501
61751
|
const localVarHeaderParameter = {} as any;
|
|
60502
61752
|
const localVarQueryParameter = {} as any;
|
|
60503
61753
|
|
|
@@ -60507,49 +61757,21 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60507
61757
|
// authentication OrganizationId required
|
|
60508
61758
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
60509
61759
|
|
|
60510
|
-
|
|
60511
|
-
|
|
60512
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60513
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60514
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
60515
|
-
|
|
60516
|
-
return {
|
|
60517
|
-
url: toPathString(localVarUrlObj),
|
|
60518
|
-
options: localVarRequestOptions,
|
|
60519
|
-
};
|
|
60520
|
-
},
|
|
60521
|
-
/**
|
|
60522
|
-
* Get Event Session endpoint
|
|
60523
|
-
* @summary Get Event Session
|
|
60524
|
-
* @param {string} eventId The event identifier
|
|
60525
|
-
* @param {string} sessionId The session identifier
|
|
60526
|
-
* @param {*} [options] Override http request option.
|
|
60527
|
-
* @throws {RequiredError}
|
|
60528
|
-
*/
|
|
60529
|
-
getEventSession: async (eventId: string, sessionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60530
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
60531
|
-
assertParamExists('getEventSession', 'eventId', eventId)
|
|
60532
|
-
// verify required parameter 'sessionId' is not null or undefined
|
|
60533
|
-
assertParamExists('getEventSession', 'sessionId', sessionId)
|
|
60534
|
-
const localVarPath = `/events/{eventId}/sessions/{sessionId}`
|
|
60535
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60536
|
-
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
60537
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60538
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60539
|
-
let baseOptions;
|
|
60540
|
-
if (configuration) {
|
|
60541
|
-
baseOptions = configuration.baseOptions;
|
|
61760
|
+
if (page !== undefined) {
|
|
61761
|
+
localVarQueryParameter['page'] = page;
|
|
60542
61762
|
}
|
|
60543
61763
|
|
|
60544
|
-
|
|
60545
|
-
|
|
60546
|
-
|
|
61764
|
+
if (pageSize !== undefined) {
|
|
61765
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
61766
|
+
}
|
|
60547
61767
|
|
|
60548
|
-
|
|
60549
|
-
|
|
61768
|
+
if (orderBy !== undefined) {
|
|
61769
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
61770
|
+
}
|
|
60550
61771
|
|
|
60551
|
-
|
|
60552
|
-
|
|
61772
|
+
if (search !== undefined) {
|
|
61773
|
+
localVarQueryParameter['search'] = search;
|
|
61774
|
+
}
|
|
60553
61775
|
|
|
60554
61776
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
60555
61777
|
|
|
@@ -60563,11 +61785,10 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60563
61785
|
};
|
|
60564
61786
|
},
|
|
60565
61787
|
/**
|
|
60566
|
-
* Get Event Session
|
|
60567
|
-
* @summary Get Event Session
|
|
61788
|
+
* Get Event Session Pass Types endpoint
|
|
61789
|
+
* @summary Get Event Session Pass Types
|
|
60568
61790
|
* @param {string} eventId The event identifier
|
|
60569
61791
|
* @param {string} sessionId The session identifier
|
|
60570
|
-
* @param {PurchaseStatus} [purchaseStatus] Filter by purchaseStatus
|
|
60571
61792
|
* @param {number} [page] Page number
|
|
60572
61793
|
* @param {number} [pageSize] Number of items per page
|
|
60573
61794
|
* @param {string} [orderBy] Field to order by
|
|
@@ -60575,12 +61796,12 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60575
61796
|
* @param {*} [options] Override http request option.
|
|
60576
61797
|
* @throws {RequiredError}
|
|
60577
61798
|
*/
|
|
60578
|
-
|
|
61799
|
+
getEventSessionPassTypes: async (eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60579
61800
|
// verify required parameter 'eventId' is not null or undefined
|
|
60580
|
-
assertParamExists('
|
|
61801
|
+
assertParamExists('getEventSessionPassTypes', 'eventId', eventId)
|
|
60581
61802
|
// verify required parameter 'sessionId' is not null or undefined
|
|
60582
|
-
assertParamExists('
|
|
60583
|
-
const localVarPath = `/events/{eventId}/sessions/{sessionId}/
|
|
61803
|
+
assertParamExists('getEventSessionPassTypes', 'sessionId', sessionId)
|
|
61804
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/passTypes`
|
|
60584
61805
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60585
61806
|
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
60586
61807
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -60600,10 +61821,6 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60600
61821
|
// authentication OrganizationId required
|
|
60601
61822
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
60602
61823
|
|
|
60603
|
-
if (purchaseStatus !== undefined) {
|
|
60604
|
-
localVarQueryParameter['purchaseStatus'] = purchaseStatus;
|
|
60605
|
-
}
|
|
60606
|
-
|
|
60607
61824
|
if (page !== undefined) {
|
|
60608
61825
|
localVarQueryParameter['page'] = page;
|
|
60609
61826
|
}
|
|
@@ -60632,8 +61849,8 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60632
61849
|
};
|
|
60633
61850
|
},
|
|
60634
61851
|
/**
|
|
60635
|
-
* Get Event Session
|
|
60636
|
-
* @summary Get Event Session
|
|
61852
|
+
* Get Event Session Payments endpoint
|
|
61853
|
+
* @summary Get Event Session Payments
|
|
60637
61854
|
* @param {string} eventId The event identifier
|
|
60638
61855
|
* @param {string} sessionId The session identifier
|
|
60639
61856
|
* @param {number} [page] Page number
|
|
@@ -60643,12 +61860,12 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60643
61860
|
* @param {*} [options] Override http request option.
|
|
60644
61861
|
* @throws {RequiredError}
|
|
60645
61862
|
*/
|
|
60646
|
-
|
|
61863
|
+
getEventSessionPayments: async (eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60647
61864
|
// verify required parameter 'eventId' is not null or undefined
|
|
60648
|
-
assertParamExists('
|
|
61865
|
+
assertParamExists('getEventSessionPayments', 'eventId', eventId)
|
|
60649
61866
|
// verify required parameter 'sessionId' is not null or undefined
|
|
60650
|
-
assertParamExists('
|
|
60651
|
-
const localVarPath = `/events/{eventId}/sessions/{sessionId}/
|
|
61867
|
+
assertParamExists('getEventSessionPayments', 'sessionId', sessionId)
|
|
61868
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/payments`
|
|
60652
61869
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60653
61870
|
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
60654
61871
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -60696,8 +61913,8 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60696
61913
|
};
|
|
60697
61914
|
},
|
|
60698
61915
|
/**
|
|
60699
|
-
* Get Event Session
|
|
60700
|
-
* @summary Get Event Session
|
|
61916
|
+
* Get Event Session Speakers endpoint
|
|
61917
|
+
* @summary Get Event Session Speakers
|
|
60701
61918
|
* @param {string} eventId The event identifier
|
|
60702
61919
|
* @param {string} sessionId The session identifier
|
|
60703
61920
|
* @param {number} [page] Page number
|
|
@@ -60707,12 +61924,12 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60707
61924
|
* @param {*} [options] Override http request option.
|
|
60708
61925
|
* @throws {RequiredError}
|
|
60709
61926
|
*/
|
|
60710
|
-
|
|
61927
|
+
getEventSessionSpeakers: async (eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60711
61928
|
// verify required parameter 'eventId' is not null or undefined
|
|
60712
|
-
assertParamExists('
|
|
61929
|
+
assertParamExists('getEventSessionSpeakers', 'eventId', eventId)
|
|
60713
61930
|
// verify required parameter 'sessionId' is not null or undefined
|
|
60714
|
-
assertParamExists('
|
|
60715
|
-
const localVarPath = `/events/{eventId}/sessions/{sessionId}/
|
|
61931
|
+
assertParamExists('getEventSessionSpeakers', 'sessionId', sessionId)
|
|
61932
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/speakers`
|
|
60716
61933
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60717
61934
|
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
60718
61935
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -60760,8 +61977,8 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60760
61977
|
};
|
|
60761
61978
|
},
|
|
60762
61979
|
/**
|
|
60763
|
-
* Get Event Session
|
|
60764
|
-
* @summary Get Event Session
|
|
61980
|
+
* Get Event Session Sponsors endpoint
|
|
61981
|
+
* @summary Get Event Session Sponsors
|
|
60765
61982
|
* @param {string} eventId The event identifier
|
|
60766
61983
|
* @param {string} sessionId The session identifier
|
|
60767
61984
|
* @param {number} [page] Page number
|
|
@@ -60771,12 +61988,12 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60771
61988
|
* @param {*} [options] Override http request option.
|
|
60772
61989
|
* @throws {RequiredError}
|
|
60773
61990
|
*/
|
|
60774
|
-
|
|
61991
|
+
getEventSessionSponsors: async (eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60775
61992
|
// verify required parameter 'eventId' is not null or undefined
|
|
60776
|
-
assertParamExists('
|
|
61993
|
+
assertParamExists('getEventSessionSponsors', 'eventId', eventId)
|
|
60777
61994
|
// verify required parameter 'sessionId' is not null or undefined
|
|
60778
|
-
assertParamExists('
|
|
60779
|
-
const localVarPath = `/events/{eventId}/sessions/{sessionId}/
|
|
61995
|
+
assertParamExists('getEventSessionSponsors', 'sessionId', sessionId)
|
|
61996
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/sponsors`
|
|
60780
61997
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60781
61998
|
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
60782
61999
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -60824,8 +62041,8 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60824
62041
|
};
|
|
60825
62042
|
},
|
|
60826
62043
|
/**
|
|
60827
|
-
* Get Event Session
|
|
60828
|
-
* @summary Get Event Session
|
|
62044
|
+
* Get Event Session Tracks endpoint
|
|
62045
|
+
* @summary Get Event Session Tracks
|
|
60829
62046
|
* @param {string} eventId The event identifier
|
|
60830
62047
|
* @param {string} sessionId The session identifier
|
|
60831
62048
|
* @param {number} [page] Page number
|
|
@@ -60835,12 +62052,12 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60835
62052
|
* @param {*} [options] Override http request option.
|
|
60836
62053
|
* @throws {RequiredError}
|
|
60837
62054
|
*/
|
|
60838
|
-
|
|
62055
|
+
getEventSessionTracks: async (eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60839
62056
|
// verify required parameter 'eventId' is not null or undefined
|
|
60840
|
-
assertParamExists('
|
|
62057
|
+
assertParamExists('getEventSessionTracks', 'eventId', eventId)
|
|
60841
62058
|
// verify required parameter 'sessionId' is not null or undefined
|
|
60842
|
-
assertParamExists('
|
|
60843
|
-
const localVarPath = `/events/{eventId}/sessions/{sessionId}/
|
|
62059
|
+
assertParamExists('getEventSessionTracks', 'sessionId', sessionId)
|
|
62060
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/tracks`
|
|
60844
62061
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60845
62062
|
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
60846
62063
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -60888,10 +62105,9 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60888
62105
|
};
|
|
60889
62106
|
},
|
|
60890
62107
|
/**
|
|
60891
|
-
* Get Event
|
|
60892
|
-
* @summary Get Event
|
|
62108
|
+
* Get Event Sessions endpoint
|
|
62109
|
+
* @summary Get Event Sessions
|
|
60893
62110
|
* @param {string} eventId The event identifier
|
|
60894
|
-
* @param {string} sessionId The session identifier
|
|
60895
62111
|
* @param {number} [page] Page number
|
|
60896
62112
|
* @param {number} [pageSize] Number of items per page
|
|
60897
62113
|
* @param {string} [orderBy] Field to order by
|
|
@@ -60899,14 +62115,11 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60899
62115
|
* @param {*} [options] Override http request option.
|
|
60900
62116
|
* @throws {RequiredError}
|
|
60901
62117
|
*/
|
|
60902
|
-
|
|
62118
|
+
getEventSessions: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60903
62119
|
// verify required parameter 'eventId' is not null or undefined
|
|
60904
|
-
assertParamExists('
|
|
60905
|
-
|
|
60906
|
-
|
|
60907
|
-
const localVarPath = `/events/{eventId}/sessions/{sessionId}/sponsors`
|
|
60908
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60909
|
-
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
62120
|
+
assertParamExists('getEventSessions', 'eventId', eventId)
|
|
62121
|
+
const localVarPath = `/events/{eventId}/sessions`
|
|
62122
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
60910
62123
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60911
62124
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60912
62125
|
let baseOptions;
|
|
@@ -60952,85 +62165,25 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
60952
62165
|
};
|
|
60953
62166
|
},
|
|
60954
62167
|
/**
|
|
60955
|
-
*
|
|
60956
|
-
* @summary
|
|
62168
|
+
* Remove Event Session Account endpoint
|
|
62169
|
+
* @summary Remove Event Session Account
|
|
60957
62170
|
* @param {string} eventId The event identifier
|
|
60958
62171
|
* @param {string} sessionId The session identifier
|
|
60959
|
-
* @param {
|
|
60960
|
-
* @param {number} [pageSize] Number of items per page
|
|
60961
|
-
* @param {string} [orderBy] Field to order by
|
|
60962
|
-
* @param {string} [search] Search query
|
|
62172
|
+
* @param {string} accountId The account identifier
|
|
60963
62173
|
* @param {*} [options] Override http request option.
|
|
60964
62174
|
* @throws {RequiredError}
|
|
60965
62175
|
*/
|
|
60966
|
-
|
|
62176
|
+
removeEventSessionAccount: async (eventId: string, sessionId: string, accountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60967
62177
|
// verify required parameter 'eventId' is not null or undefined
|
|
60968
|
-
assertParamExists('
|
|
62178
|
+
assertParamExists('removeEventSessionAccount', 'eventId', eventId)
|
|
60969
62179
|
// verify required parameter 'sessionId' is not null or undefined
|
|
60970
|
-
assertParamExists('
|
|
60971
|
-
|
|
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}`
|
|
60972
62184
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
60973
|
-
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
60974
|
-
|
|
60975
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60976
|
-
let baseOptions;
|
|
60977
|
-
if (configuration) {
|
|
60978
|
-
baseOptions = configuration.baseOptions;
|
|
60979
|
-
}
|
|
60980
|
-
|
|
60981
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
60982
|
-
const localVarHeaderParameter = {} as any;
|
|
60983
|
-
const localVarQueryParameter = {} as any;
|
|
60984
|
-
|
|
60985
|
-
// authentication ApiKeyAuth required
|
|
60986
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
60987
|
-
|
|
60988
|
-
// authentication OrganizationId required
|
|
60989
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
60990
|
-
|
|
60991
|
-
if (page !== undefined) {
|
|
60992
|
-
localVarQueryParameter['page'] = page;
|
|
60993
|
-
}
|
|
60994
|
-
|
|
60995
|
-
if (pageSize !== undefined) {
|
|
60996
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
60997
|
-
}
|
|
60998
|
-
|
|
60999
|
-
if (orderBy !== undefined) {
|
|
61000
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
61001
|
-
}
|
|
61002
|
-
|
|
61003
|
-
if (search !== undefined) {
|
|
61004
|
-
localVarQueryParameter['search'] = search;
|
|
61005
|
-
}
|
|
61006
|
-
|
|
61007
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
61008
|
-
|
|
61009
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61010
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61011
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61012
|
-
|
|
61013
|
-
return {
|
|
61014
|
-
url: toPathString(localVarUrlObj),
|
|
61015
|
-
options: localVarRequestOptions,
|
|
61016
|
-
};
|
|
61017
|
-
},
|
|
61018
|
-
/**
|
|
61019
|
-
* Get Event Sessions endpoint
|
|
61020
|
-
* @summary Get Event Sessions
|
|
61021
|
-
* @param {string} eventId The event identifier
|
|
61022
|
-
* @param {number} [page] Page number
|
|
61023
|
-
* @param {number} [pageSize] Number of items per page
|
|
61024
|
-
* @param {string} [orderBy] Field to order by
|
|
61025
|
-
* @param {string} [search] Search query
|
|
61026
|
-
* @param {*} [options] Override http request option.
|
|
61027
|
-
* @throws {RequiredError}
|
|
61028
|
-
*/
|
|
61029
|
-
getEventSessions: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61030
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
61031
|
-
assertParamExists('getEventSessions', 'eventId', eventId)
|
|
61032
|
-
const localVarPath = `/events/{eventId}/sessions`
|
|
61033
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
62185
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
62186
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
61034
62187
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61035
62188
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61036
62189
|
let baseOptions;
|
|
@@ -61038,7 +62191,7 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
61038
62191
|
baseOptions = configuration.baseOptions;
|
|
61039
62192
|
}
|
|
61040
62193
|
|
|
61041
|
-
const localVarRequestOptions = { method: '
|
|
62194
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
61042
62195
|
const localVarHeaderParameter = {} as any;
|
|
61043
62196
|
const localVarQueryParameter = {} as any;
|
|
61044
62197
|
|
|
@@ -61048,22 +62201,6 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
61048
62201
|
// authentication OrganizationId required
|
|
61049
62202
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
61050
62203
|
|
|
61051
|
-
if (page !== undefined) {
|
|
61052
|
-
localVarQueryParameter['page'] = page;
|
|
61053
|
-
}
|
|
61054
|
-
|
|
61055
|
-
if (pageSize !== undefined) {
|
|
61056
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
61057
|
-
}
|
|
61058
|
-
|
|
61059
|
-
if (orderBy !== undefined) {
|
|
61060
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
61061
|
-
}
|
|
61062
|
-
|
|
61063
|
-
if (search !== undefined) {
|
|
61064
|
-
localVarQueryParameter['search'] = search;
|
|
61065
|
-
}
|
|
61066
|
-
|
|
61067
62204
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
61068
62205
|
|
|
61069
62206
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -61076,25 +62213,25 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
61076
62213
|
};
|
|
61077
62214
|
},
|
|
61078
62215
|
/**
|
|
61079
|
-
* Remove Event Session
|
|
61080
|
-
* @summary Remove Event Session
|
|
62216
|
+
* Remove Event Session Block endpoint
|
|
62217
|
+
* @summary Remove Event Session Block
|
|
61081
62218
|
* @param {string} eventId The event identifier
|
|
61082
62219
|
* @param {string} sessionId The session identifier
|
|
61083
|
-
* @param {string}
|
|
62220
|
+
* @param {string} blockId The block identifier
|
|
61084
62221
|
* @param {*} [options] Override http request option.
|
|
61085
62222
|
* @throws {RequiredError}
|
|
61086
62223
|
*/
|
|
61087
|
-
|
|
62224
|
+
removeEventSessionBlock: async (eventId: string, sessionId: string, blockId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61088
62225
|
// verify required parameter 'eventId' is not null or undefined
|
|
61089
|
-
assertParamExists('
|
|
62226
|
+
assertParamExists('removeEventSessionBlock', 'eventId', eventId)
|
|
61090
62227
|
// verify required parameter 'sessionId' is not null or undefined
|
|
61091
|
-
assertParamExists('
|
|
61092
|
-
// verify required parameter '
|
|
61093
|
-
assertParamExists('
|
|
61094
|
-
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}`
|
|
61095
62232
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
61096
62233
|
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
|
|
61097
|
-
.replace(`{${"
|
|
62234
|
+
.replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
|
|
61098
62235
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61099
62236
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61100
62237
|
let baseOptions;
|
|
@@ -61392,6 +62529,21 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
|
|
|
61392
62529
|
const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.addEventSessionAccount']?.[localVarOperationServerIndex]?.url;
|
|
61393
62530
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61394
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
|
+
},
|
|
61395
62547
|
/**
|
|
61396
62548
|
* Add Event Session Pass Type endpoint
|
|
61397
62549
|
* @summary Add Event Session Pass Type
|
|
@@ -61531,6 +62683,24 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
|
|
|
61531
62683
|
const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.getEventSessionAccounts']?.[localVarOperationServerIndex]?.url;
|
|
61532
62684
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61533
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
|
+
},
|
|
61534
62704
|
/**
|
|
61535
62705
|
* Get Event Session Pass Types endpoint
|
|
61536
62706
|
* @summary Get Event Session Pass Types
|
|
@@ -61653,6 +62823,21 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
|
|
|
61653
62823
|
const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.removeEventSessionAccount']?.[localVarOperationServerIndex]?.url;
|
|
61654
62824
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61655
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
|
+
},
|
|
61656
62841
|
/**
|
|
61657
62842
|
* Remove Event Session Pass Type endpoint
|
|
61658
62843
|
* @summary Remove Event Session Pass Type
|
|
@@ -61747,6 +62932,16 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
|
|
|
61747
62932
|
addEventSessionAccount(requestParameters: EventsSessionsApiAddEventSessionAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
|
|
61748
62933
|
return localVarFp.addEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
61749
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
|
+
},
|
|
61750
62945
|
/**
|
|
61751
62946
|
* Add Event Session Pass Type endpoint
|
|
61752
62947
|
* @summary Add Event Session Pass Type
|
|
@@ -61837,6 +63032,16 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
|
|
|
61837
63032
|
getEventSessionAccounts(requestParameters: EventsSessionsApiGetEventSessionAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccounts200Response> {
|
|
61838
63033
|
return localVarFp.getEventSessionAccounts(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
61839
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
|
+
},
|
|
61840
63045
|
/**
|
|
61841
63046
|
* Get Event Session Pass Types endpoint
|
|
61842
63047
|
* @summary Get Event Session Pass Types
|
|
@@ -61907,6 +63112,16 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
|
|
|
61907
63112
|
removeEventSessionAccount(requestParameters: EventsSessionsApiRemoveEventSessionAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountAddress200Response> {
|
|
61908
63113
|
return localVarFp.removeEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
61909
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
|
+
},
|
|
61910
63125
|
/**
|
|
61911
63126
|
* Remove Event Session Pass Type endpoint
|
|
61912
63127
|
* @summary Remove Event Session Pass Type
|
|
@@ -61980,6 +63195,26 @@ export interface EventsSessionsApiAddEventSessionAccountRequest {
|
|
|
61980
63195
|
readonly accountId: string
|
|
61981
63196
|
}
|
|
61982
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
|
+
|
|
61983
63218
|
/**
|
|
61984
63219
|
* Request parameters for addEventSessionPassType operation in EventsSessionsApi.
|
|
61985
63220
|
*/
|
|
@@ -62177,6 +63412,41 @@ export interface EventsSessionsApiGetEventSessionAccountsRequest {
|
|
|
62177
63412
|
readonly search?: string
|
|
62178
63413
|
}
|
|
62179
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
|
+
|
|
62180
63450
|
/**
|
|
62181
63451
|
* Request parameters for getEventSessionPassTypes operation in EventsSessionsApi.
|
|
62182
63452
|
*/
|
|
@@ -62402,6 +63672,26 @@ export interface EventsSessionsApiRemoveEventSessionAccountRequest {
|
|
|
62402
63672
|
readonly accountId: string
|
|
62403
63673
|
}
|
|
62404
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
|
+
|
|
62405
63695
|
/**
|
|
62406
63696
|
* Request parameters for removeEventSessionPassType operation in EventsSessionsApi.
|
|
62407
63697
|
*/
|
|
@@ -62517,6 +63807,17 @@ export class EventsSessionsApi extends BaseAPI {
|
|
|
62517
63807
|
return EventsSessionsApiFp(this.configuration).addEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
62518
63808
|
}
|
|
62519
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
|
+
|
|
62520
63821
|
/**
|
|
62521
63822
|
* Add Event Session Pass Type endpoint
|
|
62522
63823
|
* @summary Add Event Session Pass Type
|
|
@@ -62616,6 +63917,17 @@ export class EventsSessionsApi extends BaseAPI {
|
|
|
62616
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));
|
|
62617
63918
|
}
|
|
62618
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
|
+
|
|
62619
63931
|
/**
|
|
62620
63932
|
* Get Event Session Pass Types endpoint
|
|
62621
63933
|
* @summary Get Event Session Pass Types
|
|
@@ -62693,6 +64005,17 @@ export class EventsSessionsApi extends BaseAPI {
|
|
|
62693
64005
|
return EventsSessionsApiFp(this.configuration).removeEventSessionAccount(requestParameters.eventId, requestParameters.sessionId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
62694
64006
|
}
|
|
62695
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
|
+
|
|
62696
64019
|
/**
|
|
62697
64020
|
* Remove Event Session Pass Type endpoint
|
|
62698
64021
|
* @summary Remove Event Session Pass Type
|
|
@@ -105760,6 +107083,8 @@ export const SurveysApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
105760
107083
|
/**
|
|
105761
107084
|
* Get Surveys endpoint
|
|
105762
107085
|
* @summary Get Surveys
|
|
107086
|
+
* @param {string} [eventId] Filter by eventId
|
|
107087
|
+
* @param {string} [sessionId] Filter by sessionId
|
|
105763
107088
|
* @param {number} [page] Page number
|
|
105764
107089
|
* @param {number} [pageSize] Number of items per page
|
|
105765
107090
|
* @param {string} [orderBy] Field to order by
|
|
@@ -105767,7 +107092,7 @@ export const SurveysApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
105767
107092
|
* @param {*} [options] Override http request option.
|
|
105768
107093
|
* @throws {RequiredError}
|
|
105769
107094
|
*/
|
|
105770
|
-
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> => {
|
|
105771
107096
|
const localVarPath = `/surveys`;
|
|
105772
107097
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105773
107098
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -105786,6 +107111,14 @@ export const SurveysApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
105786
107111
|
// authentication OrganizationId required
|
|
105787
107112
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
105788
107113
|
|
|
107114
|
+
if (eventId !== undefined) {
|
|
107115
|
+
localVarQueryParameter['eventId'] = eventId;
|
|
107116
|
+
}
|
|
107117
|
+
|
|
107118
|
+
if (sessionId !== undefined) {
|
|
107119
|
+
localVarQueryParameter['sessionId'] = sessionId;
|
|
107120
|
+
}
|
|
107121
|
+
|
|
105789
107122
|
if (page !== undefined) {
|
|
105790
107123
|
localVarQueryParameter['page'] = page;
|
|
105791
107124
|
}
|
|
@@ -105909,6 +107242,8 @@ export const SurveysApiFp = function(configuration?: Configuration) {
|
|
|
105909
107242
|
/**
|
|
105910
107243
|
* Get Surveys endpoint
|
|
105911
107244
|
* @summary Get Surveys
|
|
107245
|
+
* @param {string} [eventId] Filter by eventId
|
|
107246
|
+
* @param {string} [sessionId] Filter by sessionId
|
|
105912
107247
|
* @param {number} [page] Page number
|
|
105913
107248
|
* @param {number} [pageSize] Number of items per page
|
|
105914
107249
|
* @param {string} [orderBy] Field to order by
|
|
@@ -105916,8 +107251,8 @@ export const SurveysApiFp = function(configuration?: Configuration) {
|
|
|
105916
107251
|
* @param {*} [options] Override http request option.
|
|
105917
107252
|
* @throws {RequiredError}
|
|
105918
107253
|
*/
|
|
105919
|
-
async getSurveys(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSurveys200Response>> {
|
|
105920
|
-
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);
|
|
105921
107256
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
105922
107257
|
const localVarOperationServerBasePath = operationServerMap['SurveysApi.getSurveys']?.[localVarOperationServerIndex]?.url;
|
|
105923
107258
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -105983,7 +107318,7 @@ export const SurveysApiFactory = function (configuration?: Configuration, basePa
|
|
|
105983
107318
|
* @throws {RequiredError}
|
|
105984
107319
|
*/
|
|
105985
107320
|
getSurveys(requestParameters: SurveysApiGetSurveysRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetSurveys200Response> {
|
|
105986
|
-
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));
|
|
105987
107322
|
},
|
|
105988
107323
|
/**
|
|
105989
107324
|
* Update Survey endpoint
|
|
@@ -106029,6 +107364,16 @@ export interface SurveysApiGetSurveyRequest {
|
|
|
106029
107364
|
* Request parameters for getSurveys operation in SurveysApi.
|
|
106030
107365
|
*/
|
|
106031
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
|
+
|
|
106032
107377
|
/**
|
|
106033
107378
|
* Page number
|
|
106034
107379
|
*/
|
|
@@ -106107,7 +107452,7 @@ export class SurveysApi extends BaseAPI {
|
|
|
106107
107452
|
* @throws {RequiredError}
|
|
106108
107453
|
*/
|
|
106109
107454
|
public getSurveys(requestParameters: SurveysApiGetSurveysRequest = {}, options?: RawAxiosRequestConfig) {
|
|
106110
|
-
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));
|
|
106111
107456
|
}
|
|
106112
107457
|
|
|
106113
107458
|
/**
|