@connectedxm/admin-sdk 6.28.3 → 6.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/api.ts +171 -0
- package/dist/api.d.ts +85 -0
- package/dist/api.js +140 -0
- package/dist/esm/api.d.ts +85 -0
- package/dist/esm/api.js +140 -0
- package/docs/Event.md +2 -0
- package/docs/EventsApi.md +104 -0
- package/docs/Organization.md +2 -0
- package/docs/OrganizationUpdateInputs.md +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -258,6 +258,8 @@ Class | Method | HTTP request | Description
|
|
|
258
258
|
*EventsApi* | [**cloneEvent**](docs/EventsApi.md#cloneevent) | **POST** /events/{eventId}/clone | Clone Event
|
|
259
259
|
*EventsApi* | [**createEvent**](docs/EventsApi.md#createevent) | **POST** /events | Create Event
|
|
260
260
|
*EventsApi* | [**deleteEvent**](docs/EventsApi.md#deleteevent) | **DELETE** /events/{eventId} | Delete Event
|
|
261
|
+
*EventsApi* | [**disableEventBuildMode**](docs/EventsApi.md#disableeventbuildmode) | **DELETE** /events/{eventId}/build-mode | Disable Event Build Mode
|
|
262
|
+
*EventsApi* | [**enableEventBuildMode**](docs/EventsApi.md#enableeventbuildmode) | **POST** /events/{eventId}/build-mode | Enable Event Build Mode
|
|
261
263
|
*EventsApi* | [**getEvent**](docs/EventsApi.md#getevent) | **GET** /events/{eventId} | Get Event
|
|
262
264
|
*EventsApi* | [**getEventActivities**](docs/EventsApi.md#geteventactivities) | **GET** /events/{eventId}/activities | Get Event Activities
|
|
263
265
|
*EventsApi* | [**getEventPayments**](docs/EventsApi.md#geteventpayments) | **GET** /events/{eventId}/payments | Get Event Payments
|
package/api.ts
CHANGED
|
@@ -4721,6 +4721,7 @@ export interface Event {
|
|
|
4721
4721
|
'splitPaymentPercentage': number;
|
|
4722
4722
|
'splitPaymentNetDays': number | null;
|
|
4723
4723
|
'splitPaymentDueDate': string | null;
|
|
4724
|
+
'buildModeUntil': string | null;
|
|
4724
4725
|
'publicRegistrants': boolean;
|
|
4725
4726
|
'sessionsVisibility': EventAgendaVisibility;
|
|
4726
4727
|
'speakersVisibility': EventAgendaVisibility;
|
|
@@ -11125,6 +11126,7 @@ export interface Organization {
|
|
|
11125
11126
|
'maxVideoMins': number | null;
|
|
11126
11127
|
'locales': Array<string>;
|
|
11127
11128
|
'inviteOnly': boolean;
|
|
11129
|
+
'autoTranslate': boolean;
|
|
11128
11130
|
'googleTagManagerId': string | null;
|
|
11129
11131
|
'options': object | null;
|
|
11130
11132
|
}
|
|
@@ -11408,6 +11410,7 @@ export interface OrganizationUpdateInputs {
|
|
|
11408
11410
|
'locale'?: string | null;
|
|
11409
11411
|
'locales'?: Array<string> | null;
|
|
11410
11412
|
'inviteOnly'?: boolean;
|
|
11413
|
+
'autoTranslate'?: boolean;
|
|
11411
11414
|
'googleTagManagerId'?: string | null;
|
|
11412
11415
|
'options'?: object | null;
|
|
11413
11416
|
}
|
|
@@ -37580,6 +37583,86 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
37580
37583
|
options: localVarRequestOptions,
|
|
37581
37584
|
};
|
|
37582
37585
|
},
|
|
37586
|
+
/**
|
|
37587
|
+
* Disable Event Build Mode endpoint
|
|
37588
|
+
* @summary Disable Event Build Mode
|
|
37589
|
+
* @param {string} eventId The event identifier
|
|
37590
|
+
* @param {*} [options] Override http request option.
|
|
37591
|
+
* @throws {RequiredError}
|
|
37592
|
+
*/
|
|
37593
|
+
disableEventBuildMode: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37594
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
37595
|
+
assertParamExists('disableEventBuildMode', 'eventId', eventId)
|
|
37596
|
+
const localVarPath = `/events/{eventId}/build-mode`
|
|
37597
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
37598
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37599
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37600
|
+
let baseOptions;
|
|
37601
|
+
if (configuration) {
|
|
37602
|
+
baseOptions = configuration.baseOptions;
|
|
37603
|
+
}
|
|
37604
|
+
|
|
37605
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
37606
|
+
const localVarHeaderParameter = {} as any;
|
|
37607
|
+
const localVarQueryParameter = {} as any;
|
|
37608
|
+
|
|
37609
|
+
// authentication ApiKeyAuth required
|
|
37610
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
37611
|
+
|
|
37612
|
+
// authentication OrganizationId required
|
|
37613
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
37614
|
+
|
|
37615
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
37616
|
+
|
|
37617
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37618
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37619
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37620
|
+
|
|
37621
|
+
return {
|
|
37622
|
+
url: toPathString(localVarUrlObj),
|
|
37623
|
+
options: localVarRequestOptions,
|
|
37624
|
+
};
|
|
37625
|
+
},
|
|
37626
|
+
/**
|
|
37627
|
+
* Enable Event Build Mode endpoint
|
|
37628
|
+
* @summary Enable Event Build Mode
|
|
37629
|
+
* @param {string} eventId The event identifier
|
|
37630
|
+
* @param {*} [options] Override http request option.
|
|
37631
|
+
* @throws {RequiredError}
|
|
37632
|
+
*/
|
|
37633
|
+
enableEventBuildMode: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37634
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
37635
|
+
assertParamExists('enableEventBuildMode', 'eventId', eventId)
|
|
37636
|
+
const localVarPath = `/events/{eventId}/build-mode`
|
|
37637
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
37638
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37639
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37640
|
+
let baseOptions;
|
|
37641
|
+
if (configuration) {
|
|
37642
|
+
baseOptions = configuration.baseOptions;
|
|
37643
|
+
}
|
|
37644
|
+
|
|
37645
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
37646
|
+
const localVarHeaderParameter = {} as any;
|
|
37647
|
+
const localVarQueryParameter = {} as any;
|
|
37648
|
+
|
|
37649
|
+
// authentication ApiKeyAuth required
|
|
37650
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
37651
|
+
|
|
37652
|
+
// authentication OrganizationId required
|
|
37653
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
37654
|
+
|
|
37655
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
37656
|
+
|
|
37657
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37658
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37659
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37660
|
+
|
|
37661
|
+
return {
|
|
37662
|
+
url: toPathString(localVarUrlObj),
|
|
37663
|
+
options: localVarRequestOptions,
|
|
37664
|
+
};
|
|
37665
|
+
},
|
|
37583
37666
|
/**
|
|
37584
37667
|
* Get Event endpoint
|
|
37585
37668
|
* @summary Get Event
|
|
@@ -38012,6 +38095,32 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
38012
38095
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.deleteEvent']?.[localVarOperationServerIndex]?.url;
|
|
38013
38096
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38014
38097
|
},
|
|
38098
|
+
/**
|
|
38099
|
+
* Disable Event Build Mode endpoint
|
|
38100
|
+
* @summary Disable Event Build Mode
|
|
38101
|
+
* @param {string} eventId The event identifier
|
|
38102
|
+
* @param {*} [options] Override http request option.
|
|
38103
|
+
* @throws {RequiredError}
|
|
38104
|
+
*/
|
|
38105
|
+
async disableEventBuildMode(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAnnouncementTranslation200Response>> {
|
|
38106
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disableEventBuildMode(eventId, options);
|
|
38107
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38108
|
+
const localVarOperationServerBasePath = operationServerMap['EventsApi.disableEventBuildMode']?.[localVarOperationServerIndex]?.url;
|
|
38109
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38110
|
+
},
|
|
38111
|
+
/**
|
|
38112
|
+
* Enable Event Build Mode endpoint
|
|
38113
|
+
* @summary Enable Event Build Mode
|
|
38114
|
+
* @param {string} eventId The event identifier
|
|
38115
|
+
* @param {*} [options] Override http request option.
|
|
38116
|
+
* @throws {RequiredError}
|
|
38117
|
+
*/
|
|
38118
|
+
async enableEventBuildMode(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAnnouncementTranslation200Response>> {
|
|
38119
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enableEventBuildMode(eventId, options);
|
|
38120
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38121
|
+
const localVarOperationServerBasePath = operationServerMap['EventsApi.enableEventBuildMode']?.[localVarOperationServerIndex]?.url;
|
|
38122
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38123
|
+
},
|
|
38015
38124
|
/**
|
|
38016
38125
|
* Get Event endpoint
|
|
38017
38126
|
* @summary Get Event
|
|
@@ -38162,6 +38271,26 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
38162
38271
|
deleteEvent(requestParameters: EventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
38163
38272
|
return localVarFp.deleteEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
38164
38273
|
},
|
|
38274
|
+
/**
|
|
38275
|
+
* Disable Event Build Mode endpoint
|
|
38276
|
+
* @summary Disable Event Build Mode
|
|
38277
|
+
* @param {EventsApiDisableEventBuildModeRequest} requestParameters Request parameters.
|
|
38278
|
+
* @param {*} [options] Override http request option.
|
|
38279
|
+
* @throws {RequiredError}
|
|
38280
|
+
*/
|
|
38281
|
+
disableEventBuildMode(requestParameters: EventsApiDisableEventBuildModeRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAnnouncementTranslation200Response> {
|
|
38282
|
+
return localVarFp.disableEventBuildMode(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
38283
|
+
},
|
|
38284
|
+
/**
|
|
38285
|
+
* Enable Event Build Mode endpoint
|
|
38286
|
+
* @summary Enable Event Build Mode
|
|
38287
|
+
* @param {EventsApiEnableEventBuildModeRequest} requestParameters Request parameters.
|
|
38288
|
+
* @param {*} [options] Override http request option.
|
|
38289
|
+
* @throws {RequiredError}
|
|
38290
|
+
*/
|
|
38291
|
+
enableEventBuildMode(requestParameters: EventsApiEnableEventBuildModeRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAnnouncementTranslation200Response> {
|
|
38292
|
+
return localVarFp.enableEventBuildMode(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
38293
|
+
},
|
|
38165
38294
|
/**
|
|
38166
38295
|
* Get Event endpoint
|
|
38167
38296
|
* @summary Get Event
|
|
@@ -38264,6 +38393,26 @@ export interface EventsApiDeleteEventRequest {
|
|
|
38264
38393
|
readonly eventId: string
|
|
38265
38394
|
}
|
|
38266
38395
|
|
|
38396
|
+
/**
|
|
38397
|
+
* Request parameters for disableEventBuildMode operation in EventsApi.
|
|
38398
|
+
*/
|
|
38399
|
+
export interface EventsApiDisableEventBuildModeRequest {
|
|
38400
|
+
/**
|
|
38401
|
+
* The event identifier
|
|
38402
|
+
*/
|
|
38403
|
+
readonly eventId: string
|
|
38404
|
+
}
|
|
38405
|
+
|
|
38406
|
+
/**
|
|
38407
|
+
* Request parameters for enableEventBuildMode operation in EventsApi.
|
|
38408
|
+
*/
|
|
38409
|
+
export interface EventsApiEnableEventBuildModeRequest {
|
|
38410
|
+
/**
|
|
38411
|
+
* The event identifier
|
|
38412
|
+
*/
|
|
38413
|
+
readonly eventId: string
|
|
38414
|
+
}
|
|
38415
|
+
|
|
38267
38416
|
/**
|
|
38268
38417
|
* Request parameters for getEvent operation in EventsApi.
|
|
38269
38418
|
*/
|
|
@@ -38468,6 +38617,28 @@ export class EventsApi extends BaseAPI {
|
|
|
38468
38617
|
return EventsApiFp(this.configuration).deleteEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
38469
38618
|
}
|
|
38470
38619
|
|
|
38620
|
+
/**
|
|
38621
|
+
* Disable Event Build Mode endpoint
|
|
38622
|
+
* @summary Disable Event Build Mode
|
|
38623
|
+
* @param {EventsApiDisableEventBuildModeRequest} requestParameters Request parameters.
|
|
38624
|
+
* @param {*} [options] Override http request option.
|
|
38625
|
+
* @throws {RequiredError}
|
|
38626
|
+
*/
|
|
38627
|
+
public disableEventBuildMode(requestParameters: EventsApiDisableEventBuildModeRequest, options?: RawAxiosRequestConfig) {
|
|
38628
|
+
return EventsApiFp(this.configuration).disableEventBuildMode(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
38629
|
+
}
|
|
38630
|
+
|
|
38631
|
+
/**
|
|
38632
|
+
* Enable Event Build Mode endpoint
|
|
38633
|
+
* @summary Enable Event Build Mode
|
|
38634
|
+
* @param {EventsApiEnableEventBuildModeRequest} requestParameters Request parameters.
|
|
38635
|
+
* @param {*} [options] Override http request option.
|
|
38636
|
+
* @throws {RequiredError}
|
|
38637
|
+
*/
|
|
38638
|
+
public enableEventBuildMode(requestParameters: EventsApiEnableEventBuildModeRequest, options?: RawAxiosRequestConfig) {
|
|
38639
|
+
return EventsApiFp(this.configuration).enableEventBuildMode(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
38640
|
+
}
|
|
38641
|
+
|
|
38471
38642
|
/**
|
|
38472
38643
|
* Get Event endpoint
|
|
38473
38644
|
* @summary Get Event
|
package/dist/api.d.ts
CHANGED
|
@@ -4274,6 +4274,7 @@ export interface Event {
|
|
|
4274
4274
|
'splitPaymentPercentage': number;
|
|
4275
4275
|
'splitPaymentNetDays': number | null;
|
|
4276
4276
|
'splitPaymentDueDate': string | null;
|
|
4277
|
+
'buildModeUntil': string | null;
|
|
4277
4278
|
'publicRegistrants': boolean;
|
|
4278
4279
|
'sessionsVisibility': EventAgendaVisibility;
|
|
4279
4280
|
'speakersVisibility': EventAgendaVisibility;
|
|
@@ -9836,6 +9837,7 @@ export interface Organization {
|
|
|
9836
9837
|
'maxVideoMins': number | null;
|
|
9837
9838
|
'locales': Array<string>;
|
|
9838
9839
|
'inviteOnly': boolean;
|
|
9840
|
+
'autoTranslate': boolean;
|
|
9839
9841
|
'googleTagManagerId': string | null;
|
|
9840
9842
|
'options': object | null;
|
|
9841
9843
|
}
|
|
@@ -10102,6 +10104,7 @@ export interface OrganizationUpdateInputs {
|
|
|
10102
10104
|
'locale'?: string | null;
|
|
10103
10105
|
'locales'?: Array<string> | null;
|
|
10104
10106
|
'inviteOnly'?: boolean;
|
|
10107
|
+
'autoTranslate'?: boolean;
|
|
10105
10108
|
'googleTagManagerId'?: string | null;
|
|
10106
10109
|
'options'?: object | null;
|
|
10107
10110
|
}
|
|
@@ -24407,6 +24410,22 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
24407
24410
|
* @throws {RequiredError}
|
|
24408
24411
|
*/
|
|
24409
24412
|
deleteEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24413
|
+
/**
|
|
24414
|
+
* Disable Event Build Mode endpoint
|
|
24415
|
+
* @summary Disable Event Build Mode
|
|
24416
|
+
* @param {string} eventId The event identifier
|
|
24417
|
+
* @param {*} [options] Override http request option.
|
|
24418
|
+
* @throws {RequiredError}
|
|
24419
|
+
*/
|
|
24420
|
+
disableEventBuildMode: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24421
|
+
/**
|
|
24422
|
+
* Enable Event Build Mode endpoint
|
|
24423
|
+
* @summary Enable Event Build Mode
|
|
24424
|
+
* @param {string} eventId The event identifier
|
|
24425
|
+
* @param {*} [options] Override http request option.
|
|
24426
|
+
* @throws {RequiredError}
|
|
24427
|
+
*/
|
|
24428
|
+
enableEventBuildMode: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24410
24429
|
/**
|
|
24411
24430
|
* Get Event endpoint
|
|
24412
24431
|
* @summary Get Event
|
|
@@ -24513,6 +24532,22 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
|
24513
24532
|
* @throws {RequiredError}
|
|
24514
24533
|
*/
|
|
24515
24534
|
deleteEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
24535
|
+
/**
|
|
24536
|
+
* Disable Event Build Mode endpoint
|
|
24537
|
+
* @summary Disable Event Build Mode
|
|
24538
|
+
* @param {string} eventId The event identifier
|
|
24539
|
+
* @param {*} [options] Override http request option.
|
|
24540
|
+
* @throws {RequiredError}
|
|
24541
|
+
*/
|
|
24542
|
+
disableEventBuildMode(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAnnouncementTranslation200Response>>;
|
|
24543
|
+
/**
|
|
24544
|
+
* Enable Event Build Mode endpoint
|
|
24545
|
+
* @summary Enable Event Build Mode
|
|
24546
|
+
* @param {string} eventId The event identifier
|
|
24547
|
+
* @param {*} [options] Override http request option.
|
|
24548
|
+
* @throws {RequiredError}
|
|
24549
|
+
*/
|
|
24550
|
+
enableEventBuildMode(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAnnouncementTranslation200Response>>;
|
|
24516
24551
|
/**
|
|
24517
24552
|
* Get Event endpoint
|
|
24518
24553
|
* @summary Get Event
|
|
@@ -24618,6 +24653,22 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
|
|
|
24618
24653
|
* @throws {RequiredError}
|
|
24619
24654
|
*/
|
|
24620
24655
|
deleteEvent(requestParameters: EventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
|
|
24656
|
+
/**
|
|
24657
|
+
* Disable Event Build Mode endpoint
|
|
24658
|
+
* @summary Disable Event Build Mode
|
|
24659
|
+
* @param {EventsApiDisableEventBuildModeRequest} requestParameters Request parameters.
|
|
24660
|
+
* @param {*} [options] Override http request option.
|
|
24661
|
+
* @throws {RequiredError}
|
|
24662
|
+
*/
|
|
24663
|
+
disableEventBuildMode(requestParameters: EventsApiDisableEventBuildModeRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAnnouncementTranslation200Response>;
|
|
24664
|
+
/**
|
|
24665
|
+
* Enable Event Build Mode endpoint
|
|
24666
|
+
* @summary Enable Event Build Mode
|
|
24667
|
+
* @param {EventsApiEnableEventBuildModeRequest} requestParameters Request parameters.
|
|
24668
|
+
* @param {*} [options] Override http request option.
|
|
24669
|
+
* @throws {RequiredError}
|
|
24670
|
+
*/
|
|
24671
|
+
enableEventBuildMode(requestParameters: EventsApiEnableEventBuildModeRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAnnouncementTranslation200Response>;
|
|
24621
24672
|
/**
|
|
24622
24673
|
* Get Event endpoint
|
|
24623
24674
|
* @summary Get Event
|
|
@@ -24700,6 +24751,24 @@ export interface EventsApiDeleteEventRequest {
|
|
|
24700
24751
|
*/
|
|
24701
24752
|
readonly eventId: string;
|
|
24702
24753
|
}
|
|
24754
|
+
/**
|
|
24755
|
+
* Request parameters for disableEventBuildMode operation in EventsApi.
|
|
24756
|
+
*/
|
|
24757
|
+
export interface EventsApiDisableEventBuildModeRequest {
|
|
24758
|
+
/**
|
|
24759
|
+
* The event identifier
|
|
24760
|
+
*/
|
|
24761
|
+
readonly eventId: string;
|
|
24762
|
+
}
|
|
24763
|
+
/**
|
|
24764
|
+
* Request parameters for enableEventBuildMode operation in EventsApi.
|
|
24765
|
+
*/
|
|
24766
|
+
export interface EventsApiEnableEventBuildModeRequest {
|
|
24767
|
+
/**
|
|
24768
|
+
* The event identifier
|
|
24769
|
+
*/
|
|
24770
|
+
readonly eventId: string;
|
|
24771
|
+
}
|
|
24703
24772
|
/**
|
|
24704
24773
|
* Request parameters for getEvent operation in EventsApi.
|
|
24705
24774
|
*/
|
|
@@ -24868,6 +24937,22 @@ export declare class EventsApi extends BaseAPI {
|
|
|
24868
24937
|
* @throws {RequiredError}
|
|
24869
24938
|
*/
|
|
24870
24939
|
deleteEvent(requestParameters: EventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
|
|
24940
|
+
/**
|
|
24941
|
+
* Disable Event Build Mode endpoint
|
|
24942
|
+
* @summary Disable Event Build Mode
|
|
24943
|
+
* @param {EventsApiDisableEventBuildModeRequest} requestParameters Request parameters.
|
|
24944
|
+
* @param {*} [options] Override http request option.
|
|
24945
|
+
* @throws {RequiredError}
|
|
24946
|
+
*/
|
|
24947
|
+
disableEventBuildMode(requestParameters: EventsApiDisableEventBuildModeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAnnouncementTranslation200Response, any, {}>>;
|
|
24948
|
+
/**
|
|
24949
|
+
* Enable Event Build Mode endpoint
|
|
24950
|
+
* @summary Enable Event Build Mode
|
|
24951
|
+
* @param {EventsApiEnableEventBuildModeRequest} requestParameters Request parameters.
|
|
24952
|
+
* @param {*} [options] Override http request option.
|
|
24953
|
+
* @throws {RequiredError}
|
|
24954
|
+
*/
|
|
24955
|
+
enableEventBuildMode(requestParameters: EventsApiEnableEventBuildModeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAnnouncementTranslation200Response, any, {}>>;
|
|
24871
24956
|
/**
|
|
24872
24957
|
* Get Event endpoint
|
|
24873
24958
|
* @summary Get Event
|
package/dist/api.js
CHANGED
|
@@ -20685,6 +20685,74 @@ const EventsApiAxiosParamCreator = function (configuration) {
|
|
|
20685
20685
|
options: localVarRequestOptions,
|
|
20686
20686
|
};
|
|
20687
20687
|
}),
|
|
20688
|
+
/**
|
|
20689
|
+
* Disable Event Build Mode endpoint
|
|
20690
|
+
* @summary Disable Event Build Mode
|
|
20691
|
+
* @param {string} eventId The event identifier
|
|
20692
|
+
* @param {*} [options] Override http request option.
|
|
20693
|
+
* @throws {RequiredError}
|
|
20694
|
+
*/
|
|
20695
|
+
disableEventBuildMode: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
20696
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
20697
|
+
(0, common_1.assertParamExists)('disableEventBuildMode', 'eventId', eventId);
|
|
20698
|
+
const localVarPath = `/events/{eventId}/build-mode`
|
|
20699
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
20700
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20701
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20702
|
+
let baseOptions;
|
|
20703
|
+
if (configuration) {
|
|
20704
|
+
baseOptions = configuration.baseOptions;
|
|
20705
|
+
}
|
|
20706
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
20707
|
+
const localVarHeaderParameter = {};
|
|
20708
|
+
const localVarQueryParameter = {};
|
|
20709
|
+
// authentication ApiKeyAuth required
|
|
20710
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
20711
|
+
// authentication OrganizationId required
|
|
20712
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
20713
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20714
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20715
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20716
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20717
|
+
return {
|
|
20718
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20719
|
+
options: localVarRequestOptions,
|
|
20720
|
+
};
|
|
20721
|
+
}),
|
|
20722
|
+
/**
|
|
20723
|
+
* Enable Event Build Mode endpoint
|
|
20724
|
+
* @summary Enable Event Build Mode
|
|
20725
|
+
* @param {string} eventId The event identifier
|
|
20726
|
+
* @param {*} [options] Override http request option.
|
|
20727
|
+
* @throws {RequiredError}
|
|
20728
|
+
*/
|
|
20729
|
+
enableEventBuildMode: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
20730
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
20731
|
+
(0, common_1.assertParamExists)('enableEventBuildMode', 'eventId', eventId);
|
|
20732
|
+
const localVarPath = `/events/{eventId}/build-mode`
|
|
20733
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
20734
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20735
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20736
|
+
let baseOptions;
|
|
20737
|
+
if (configuration) {
|
|
20738
|
+
baseOptions = configuration.baseOptions;
|
|
20739
|
+
}
|
|
20740
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
20741
|
+
const localVarHeaderParameter = {};
|
|
20742
|
+
const localVarQueryParameter = {};
|
|
20743
|
+
// authentication ApiKeyAuth required
|
|
20744
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
20745
|
+
// authentication OrganizationId required
|
|
20746
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
20747
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20748
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20749
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20750
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20751
|
+
return {
|
|
20752
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20753
|
+
options: localVarRequestOptions,
|
|
20754
|
+
};
|
|
20755
|
+
}),
|
|
20688
20756
|
/**
|
|
20689
20757
|
* Get Event endpoint
|
|
20690
20758
|
* @summary Get Event
|
|
@@ -21064,6 +21132,38 @@ const EventsApiFp = function (configuration) {
|
|
|
21064
21132
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21065
21133
|
});
|
|
21066
21134
|
},
|
|
21135
|
+
/**
|
|
21136
|
+
* Disable Event Build Mode endpoint
|
|
21137
|
+
* @summary Disable Event Build Mode
|
|
21138
|
+
* @param {string} eventId The event identifier
|
|
21139
|
+
* @param {*} [options] Override http request option.
|
|
21140
|
+
* @throws {RequiredError}
|
|
21141
|
+
*/
|
|
21142
|
+
disableEventBuildMode(eventId, options) {
|
|
21143
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21144
|
+
var _a, _b, _c;
|
|
21145
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disableEventBuildMode(eventId, options);
|
|
21146
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21147
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsApi.disableEventBuildMode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21148
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21149
|
+
});
|
|
21150
|
+
},
|
|
21151
|
+
/**
|
|
21152
|
+
* Enable Event Build Mode endpoint
|
|
21153
|
+
* @summary Enable Event Build Mode
|
|
21154
|
+
* @param {string} eventId The event identifier
|
|
21155
|
+
* @param {*} [options] Override http request option.
|
|
21156
|
+
* @throws {RequiredError}
|
|
21157
|
+
*/
|
|
21158
|
+
enableEventBuildMode(eventId, options) {
|
|
21159
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21160
|
+
var _a, _b, _c;
|
|
21161
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.enableEventBuildMode(eventId, options);
|
|
21162
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21163
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsApi.enableEventBuildMode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21164
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21165
|
+
});
|
|
21166
|
+
},
|
|
21067
21167
|
/**
|
|
21068
21168
|
* Get Event endpoint
|
|
21069
21169
|
* @summary Get Event
|
|
@@ -21235,6 +21335,26 @@ const EventsApiFactory = function (configuration, basePath, axios) {
|
|
|
21235
21335
|
deleteEvent(requestParameters, options) {
|
|
21236
21336
|
return localVarFp.deleteEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
21237
21337
|
},
|
|
21338
|
+
/**
|
|
21339
|
+
* Disable Event Build Mode endpoint
|
|
21340
|
+
* @summary Disable Event Build Mode
|
|
21341
|
+
* @param {EventsApiDisableEventBuildModeRequest} requestParameters Request parameters.
|
|
21342
|
+
* @param {*} [options] Override http request option.
|
|
21343
|
+
* @throws {RequiredError}
|
|
21344
|
+
*/
|
|
21345
|
+
disableEventBuildMode(requestParameters, options) {
|
|
21346
|
+
return localVarFp.disableEventBuildMode(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
21347
|
+
},
|
|
21348
|
+
/**
|
|
21349
|
+
* Enable Event Build Mode endpoint
|
|
21350
|
+
* @summary Enable Event Build Mode
|
|
21351
|
+
* @param {EventsApiEnableEventBuildModeRequest} requestParameters Request parameters.
|
|
21352
|
+
* @param {*} [options] Override http request option.
|
|
21353
|
+
* @throws {RequiredError}
|
|
21354
|
+
*/
|
|
21355
|
+
enableEventBuildMode(requestParameters, options) {
|
|
21356
|
+
return localVarFp.enableEventBuildMode(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
21357
|
+
},
|
|
21238
21358
|
/**
|
|
21239
21359
|
* Get Event endpoint
|
|
21240
21360
|
* @summary Get Event
|
|
@@ -21342,6 +21462,26 @@ class EventsApi extends base_1.BaseAPI {
|
|
|
21342
21462
|
deleteEvent(requestParameters, options) {
|
|
21343
21463
|
return (0, exports.EventsApiFp)(this.configuration).deleteEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
21344
21464
|
}
|
|
21465
|
+
/**
|
|
21466
|
+
* Disable Event Build Mode endpoint
|
|
21467
|
+
* @summary Disable Event Build Mode
|
|
21468
|
+
* @param {EventsApiDisableEventBuildModeRequest} requestParameters Request parameters.
|
|
21469
|
+
* @param {*} [options] Override http request option.
|
|
21470
|
+
* @throws {RequiredError}
|
|
21471
|
+
*/
|
|
21472
|
+
disableEventBuildMode(requestParameters, options) {
|
|
21473
|
+
return (0, exports.EventsApiFp)(this.configuration).disableEventBuildMode(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
21474
|
+
}
|
|
21475
|
+
/**
|
|
21476
|
+
* Enable Event Build Mode endpoint
|
|
21477
|
+
* @summary Enable Event Build Mode
|
|
21478
|
+
* @param {EventsApiEnableEventBuildModeRequest} requestParameters Request parameters.
|
|
21479
|
+
* @param {*} [options] Override http request option.
|
|
21480
|
+
* @throws {RequiredError}
|
|
21481
|
+
*/
|
|
21482
|
+
enableEventBuildMode(requestParameters, options) {
|
|
21483
|
+
return (0, exports.EventsApiFp)(this.configuration).enableEventBuildMode(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
21484
|
+
}
|
|
21345
21485
|
/**
|
|
21346
21486
|
* Get Event endpoint
|
|
21347
21487
|
* @summary Get Event
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -4274,6 +4274,7 @@ export interface Event {
|
|
|
4274
4274
|
'splitPaymentPercentage': number;
|
|
4275
4275
|
'splitPaymentNetDays': number | null;
|
|
4276
4276
|
'splitPaymentDueDate': string | null;
|
|
4277
|
+
'buildModeUntil': string | null;
|
|
4277
4278
|
'publicRegistrants': boolean;
|
|
4278
4279
|
'sessionsVisibility': EventAgendaVisibility;
|
|
4279
4280
|
'speakersVisibility': EventAgendaVisibility;
|
|
@@ -9836,6 +9837,7 @@ export interface Organization {
|
|
|
9836
9837
|
'maxVideoMins': number | null;
|
|
9837
9838
|
'locales': Array<string>;
|
|
9838
9839
|
'inviteOnly': boolean;
|
|
9840
|
+
'autoTranslate': boolean;
|
|
9839
9841
|
'googleTagManagerId': string | null;
|
|
9840
9842
|
'options': object | null;
|
|
9841
9843
|
}
|
|
@@ -10102,6 +10104,7 @@ export interface OrganizationUpdateInputs {
|
|
|
10102
10104
|
'locale'?: string | null;
|
|
10103
10105
|
'locales'?: Array<string> | null;
|
|
10104
10106
|
'inviteOnly'?: boolean;
|
|
10107
|
+
'autoTranslate'?: boolean;
|
|
10105
10108
|
'googleTagManagerId'?: string | null;
|
|
10106
10109
|
'options'?: object | null;
|
|
10107
10110
|
}
|
|
@@ -24407,6 +24410,22 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
24407
24410
|
* @throws {RequiredError}
|
|
24408
24411
|
*/
|
|
24409
24412
|
deleteEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24413
|
+
/**
|
|
24414
|
+
* Disable Event Build Mode endpoint
|
|
24415
|
+
* @summary Disable Event Build Mode
|
|
24416
|
+
* @param {string} eventId The event identifier
|
|
24417
|
+
* @param {*} [options] Override http request option.
|
|
24418
|
+
* @throws {RequiredError}
|
|
24419
|
+
*/
|
|
24420
|
+
disableEventBuildMode: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24421
|
+
/**
|
|
24422
|
+
* Enable Event Build Mode endpoint
|
|
24423
|
+
* @summary Enable Event Build Mode
|
|
24424
|
+
* @param {string} eventId The event identifier
|
|
24425
|
+
* @param {*} [options] Override http request option.
|
|
24426
|
+
* @throws {RequiredError}
|
|
24427
|
+
*/
|
|
24428
|
+
enableEventBuildMode: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24410
24429
|
/**
|
|
24411
24430
|
* Get Event endpoint
|
|
24412
24431
|
* @summary Get Event
|
|
@@ -24513,6 +24532,22 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
|
24513
24532
|
* @throws {RequiredError}
|
|
24514
24533
|
*/
|
|
24515
24534
|
deleteEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
24535
|
+
/**
|
|
24536
|
+
* Disable Event Build Mode endpoint
|
|
24537
|
+
* @summary Disable Event Build Mode
|
|
24538
|
+
* @param {string} eventId The event identifier
|
|
24539
|
+
* @param {*} [options] Override http request option.
|
|
24540
|
+
* @throws {RequiredError}
|
|
24541
|
+
*/
|
|
24542
|
+
disableEventBuildMode(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAnnouncementTranslation200Response>>;
|
|
24543
|
+
/**
|
|
24544
|
+
* Enable Event Build Mode endpoint
|
|
24545
|
+
* @summary Enable Event Build Mode
|
|
24546
|
+
* @param {string} eventId The event identifier
|
|
24547
|
+
* @param {*} [options] Override http request option.
|
|
24548
|
+
* @throws {RequiredError}
|
|
24549
|
+
*/
|
|
24550
|
+
enableEventBuildMode(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAnnouncementTranslation200Response>>;
|
|
24516
24551
|
/**
|
|
24517
24552
|
* Get Event endpoint
|
|
24518
24553
|
* @summary Get Event
|
|
@@ -24618,6 +24653,22 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
|
|
|
24618
24653
|
* @throws {RequiredError}
|
|
24619
24654
|
*/
|
|
24620
24655
|
deleteEvent(requestParameters: EventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
|
|
24656
|
+
/**
|
|
24657
|
+
* Disable Event Build Mode endpoint
|
|
24658
|
+
* @summary Disable Event Build Mode
|
|
24659
|
+
* @param {EventsApiDisableEventBuildModeRequest} requestParameters Request parameters.
|
|
24660
|
+
* @param {*} [options] Override http request option.
|
|
24661
|
+
* @throws {RequiredError}
|
|
24662
|
+
*/
|
|
24663
|
+
disableEventBuildMode(requestParameters: EventsApiDisableEventBuildModeRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAnnouncementTranslation200Response>;
|
|
24664
|
+
/**
|
|
24665
|
+
* Enable Event Build Mode endpoint
|
|
24666
|
+
* @summary Enable Event Build Mode
|
|
24667
|
+
* @param {EventsApiEnableEventBuildModeRequest} requestParameters Request parameters.
|
|
24668
|
+
* @param {*} [options] Override http request option.
|
|
24669
|
+
* @throws {RequiredError}
|
|
24670
|
+
*/
|
|
24671
|
+
enableEventBuildMode(requestParameters: EventsApiEnableEventBuildModeRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAnnouncementTranslation200Response>;
|
|
24621
24672
|
/**
|
|
24622
24673
|
* Get Event endpoint
|
|
24623
24674
|
* @summary Get Event
|
|
@@ -24700,6 +24751,24 @@ export interface EventsApiDeleteEventRequest {
|
|
|
24700
24751
|
*/
|
|
24701
24752
|
readonly eventId: string;
|
|
24702
24753
|
}
|
|
24754
|
+
/**
|
|
24755
|
+
* Request parameters for disableEventBuildMode operation in EventsApi.
|
|
24756
|
+
*/
|
|
24757
|
+
export interface EventsApiDisableEventBuildModeRequest {
|
|
24758
|
+
/**
|
|
24759
|
+
* The event identifier
|
|
24760
|
+
*/
|
|
24761
|
+
readonly eventId: string;
|
|
24762
|
+
}
|
|
24763
|
+
/**
|
|
24764
|
+
* Request parameters for enableEventBuildMode operation in EventsApi.
|
|
24765
|
+
*/
|
|
24766
|
+
export interface EventsApiEnableEventBuildModeRequest {
|
|
24767
|
+
/**
|
|
24768
|
+
* The event identifier
|
|
24769
|
+
*/
|
|
24770
|
+
readonly eventId: string;
|
|
24771
|
+
}
|
|
24703
24772
|
/**
|
|
24704
24773
|
* Request parameters for getEvent operation in EventsApi.
|
|
24705
24774
|
*/
|
|
@@ -24868,6 +24937,22 @@ export declare class EventsApi extends BaseAPI {
|
|
|
24868
24937
|
* @throws {RequiredError}
|
|
24869
24938
|
*/
|
|
24870
24939
|
deleteEvent(requestParameters: EventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
|
|
24940
|
+
/**
|
|
24941
|
+
* Disable Event Build Mode endpoint
|
|
24942
|
+
* @summary Disable Event Build Mode
|
|
24943
|
+
* @param {EventsApiDisableEventBuildModeRequest} requestParameters Request parameters.
|
|
24944
|
+
* @param {*} [options] Override http request option.
|
|
24945
|
+
* @throws {RequiredError}
|
|
24946
|
+
*/
|
|
24947
|
+
disableEventBuildMode(requestParameters: EventsApiDisableEventBuildModeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAnnouncementTranslation200Response, any, {}>>;
|
|
24948
|
+
/**
|
|
24949
|
+
* Enable Event Build Mode endpoint
|
|
24950
|
+
* @summary Enable Event Build Mode
|
|
24951
|
+
* @param {EventsApiEnableEventBuildModeRequest} requestParameters Request parameters.
|
|
24952
|
+
* @param {*} [options] Override http request option.
|
|
24953
|
+
* @throws {RequiredError}
|
|
24954
|
+
*/
|
|
24955
|
+
enableEventBuildMode(requestParameters: EventsApiEnableEventBuildModeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAnnouncementTranslation200Response, any, {}>>;
|
|
24871
24956
|
/**
|
|
24872
24957
|
* Get Event endpoint
|
|
24873
24958
|
* @summary Get Event
|
package/dist/esm/api.js
CHANGED
|
@@ -20515,6 +20515,74 @@ export const EventsApiAxiosParamCreator = function (configuration) {
|
|
|
20515
20515
|
options: localVarRequestOptions,
|
|
20516
20516
|
};
|
|
20517
20517
|
}),
|
|
20518
|
+
/**
|
|
20519
|
+
* Disable Event Build Mode endpoint
|
|
20520
|
+
* @summary Disable Event Build Mode
|
|
20521
|
+
* @param {string} eventId The event identifier
|
|
20522
|
+
* @param {*} [options] Override http request option.
|
|
20523
|
+
* @throws {RequiredError}
|
|
20524
|
+
*/
|
|
20525
|
+
disableEventBuildMode: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
20526
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
20527
|
+
assertParamExists('disableEventBuildMode', 'eventId', eventId);
|
|
20528
|
+
const localVarPath = `/events/{eventId}/build-mode`
|
|
20529
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
20530
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20531
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20532
|
+
let baseOptions;
|
|
20533
|
+
if (configuration) {
|
|
20534
|
+
baseOptions = configuration.baseOptions;
|
|
20535
|
+
}
|
|
20536
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
20537
|
+
const localVarHeaderParameter = {};
|
|
20538
|
+
const localVarQueryParameter = {};
|
|
20539
|
+
// authentication ApiKeyAuth required
|
|
20540
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
20541
|
+
// authentication OrganizationId required
|
|
20542
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
20543
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20544
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20545
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20546
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20547
|
+
return {
|
|
20548
|
+
url: toPathString(localVarUrlObj),
|
|
20549
|
+
options: localVarRequestOptions,
|
|
20550
|
+
};
|
|
20551
|
+
}),
|
|
20552
|
+
/**
|
|
20553
|
+
* Enable Event Build Mode endpoint
|
|
20554
|
+
* @summary Enable Event Build Mode
|
|
20555
|
+
* @param {string} eventId The event identifier
|
|
20556
|
+
* @param {*} [options] Override http request option.
|
|
20557
|
+
* @throws {RequiredError}
|
|
20558
|
+
*/
|
|
20559
|
+
enableEventBuildMode: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
20560
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
20561
|
+
assertParamExists('enableEventBuildMode', 'eventId', eventId);
|
|
20562
|
+
const localVarPath = `/events/{eventId}/build-mode`
|
|
20563
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
20564
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20565
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20566
|
+
let baseOptions;
|
|
20567
|
+
if (configuration) {
|
|
20568
|
+
baseOptions = configuration.baseOptions;
|
|
20569
|
+
}
|
|
20570
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
20571
|
+
const localVarHeaderParameter = {};
|
|
20572
|
+
const localVarQueryParameter = {};
|
|
20573
|
+
// authentication ApiKeyAuth required
|
|
20574
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
20575
|
+
// authentication OrganizationId required
|
|
20576
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
20577
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20578
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20579
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20580
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20581
|
+
return {
|
|
20582
|
+
url: toPathString(localVarUrlObj),
|
|
20583
|
+
options: localVarRequestOptions,
|
|
20584
|
+
};
|
|
20585
|
+
}),
|
|
20518
20586
|
/**
|
|
20519
20587
|
* Get Event endpoint
|
|
20520
20588
|
* @summary Get Event
|
|
@@ -20893,6 +20961,38 @@ export const EventsApiFp = function (configuration) {
|
|
|
20893
20961
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20894
20962
|
});
|
|
20895
20963
|
},
|
|
20964
|
+
/**
|
|
20965
|
+
* Disable Event Build Mode endpoint
|
|
20966
|
+
* @summary Disable Event Build Mode
|
|
20967
|
+
* @param {string} eventId The event identifier
|
|
20968
|
+
* @param {*} [options] Override http request option.
|
|
20969
|
+
* @throws {RequiredError}
|
|
20970
|
+
*/
|
|
20971
|
+
disableEventBuildMode(eventId, options) {
|
|
20972
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20973
|
+
var _a, _b, _c;
|
|
20974
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disableEventBuildMode(eventId, options);
|
|
20975
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20976
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.disableEventBuildMode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20977
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20978
|
+
});
|
|
20979
|
+
},
|
|
20980
|
+
/**
|
|
20981
|
+
* Enable Event Build Mode endpoint
|
|
20982
|
+
* @summary Enable Event Build Mode
|
|
20983
|
+
* @param {string} eventId The event identifier
|
|
20984
|
+
* @param {*} [options] Override http request option.
|
|
20985
|
+
* @throws {RequiredError}
|
|
20986
|
+
*/
|
|
20987
|
+
enableEventBuildMode(eventId, options) {
|
|
20988
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20989
|
+
var _a, _b, _c;
|
|
20990
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.enableEventBuildMode(eventId, options);
|
|
20991
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20992
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.enableEventBuildMode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20993
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20994
|
+
});
|
|
20995
|
+
},
|
|
20896
20996
|
/**
|
|
20897
20997
|
* Get Event endpoint
|
|
20898
20998
|
* @summary Get Event
|
|
@@ -21063,6 +21163,26 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
|
|
|
21063
21163
|
deleteEvent(requestParameters, options) {
|
|
21064
21164
|
return localVarFp.deleteEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
21065
21165
|
},
|
|
21166
|
+
/**
|
|
21167
|
+
* Disable Event Build Mode endpoint
|
|
21168
|
+
* @summary Disable Event Build Mode
|
|
21169
|
+
* @param {EventsApiDisableEventBuildModeRequest} requestParameters Request parameters.
|
|
21170
|
+
* @param {*} [options] Override http request option.
|
|
21171
|
+
* @throws {RequiredError}
|
|
21172
|
+
*/
|
|
21173
|
+
disableEventBuildMode(requestParameters, options) {
|
|
21174
|
+
return localVarFp.disableEventBuildMode(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
21175
|
+
},
|
|
21176
|
+
/**
|
|
21177
|
+
* Enable Event Build Mode endpoint
|
|
21178
|
+
* @summary Enable Event Build Mode
|
|
21179
|
+
* @param {EventsApiEnableEventBuildModeRequest} requestParameters Request parameters.
|
|
21180
|
+
* @param {*} [options] Override http request option.
|
|
21181
|
+
* @throws {RequiredError}
|
|
21182
|
+
*/
|
|
21183
|
+
enableEventBuildMode(requestParameters, options) {
|
|
21184
|
+
return localVarFp.enableEventBuildMode(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
21185
|
+
},
|
|
21066
21186
|
/**
|
|
21067
21187
|
* Get Event endpoint
|
|
21068
21188
|
* @summary Get Event
|
|
@@ -21169,6 +21289,26 @@ export class EventsApi extends BaseAPI {
|
|
|
21169
21289
|
deleteEvent(requestParameters, options) {
|
|
21170
21290
|
return EventsApiFp(this.configuration).deleteEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
21171
21291
|
}
|
|
21292
|
+
/**
|
|
21293
|
+
* Disable Event Build Mode endpoint
|
|
21294
|
+
* @summary Disable Event Build Mode
|
|
21295
|
+
* @param {EventsApiDisableEventBuildModeRequest} requestParameters Request parameters.
|
|
21296
|
+
* @param {*} [options] Override http request option.
|
|
21297
|
+
* @throws {RequiredError}
|
|
21298
|
+
*/
|
|
21299
|
+
disableEventBuildMode(requestParameters, options) {
|
|
21300
|
+
return EventsApiFp(this.configuration).disableEventBuildMode(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
21301
|
+
}
|
|
21302
|
+
/**
|
|
21303
|
+
* Enable Event Build Mode endpoint
|
|
21304
|
+
* @summary Enable Event Build Mode
|
|
21305
|
+
* @param {EventsApiEnableEventBuildModeRequest} requestParameters Request parameters.
|
|
21306
|
+
* @param {*} [options] Override http request option.
|
|
21307
|
+
* @throws {RequiredError}
|
|
21308
|
+
*/
|
|
21309
|
+
enableEventBuildMode(requestParameters, options) {
|
|
21310
|
+
return EventsApiFp(this.configuration).enableEventBuildMode(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
21311
|
+
}
|
|
21172
21312
|
/**
|
|
21173
21313
|
* Get Event endpoint
|
|
21174
21314
|
* @summary Get Event
|
package/docs/Event.md
CHANGED
|
@@ -54,6 +54,7 @@ Name | Type | Description | Notes
|
|
|
54
54
|
**splitPaymentPercentage** | **number** | | [default to undefined]
|
|
55
55
|
**splitPaymentNetDays** | **number** | | [default to undefined]
|
|
56
56
|
**splitPaymentDueDate** | **string** | | [default to undefined]
|
|
57
|
+
**buildModeUntil** | **string** | | [default to undefined]
|
|
57
58
|
**publicRegistrants** | **boolean** | | [default to undefined]
|
|
58
59
|
**sessionsVisibility** | [**EventAgendaVisibility**](EventAgendaVisibility.md) | | [default to undefined]
|
|
59
60
|
**speakersVisibility** | [**EventAgendaVisibility**](EventAgendaVisibility.md) | | [default to undefined]
|
|
@@ -138,6 +139,7 @@ const instance: Event = {
|
|
|
138
139
|
splitPaymentPercentage,
|
|
139
140
|
splitPaymentNetDays,
|
|
140
141
|
splitPaymentDueDate,
|
|
142
|
+
buildModeUntil,
|
|
141
143
|
publicRegistrants,
|
|
142
144
|
sessionsVisibility,
|
|
143
145
|
speakersVisibility,
|
package/docs/EventsApi.md
CHANGED
|
@@ -7,6 +7,8 @@ All URIs are relative to *https://admin-api.connected.dev*
|
|
|
7
7
|
|[**cloneEvent**](#cloneevent) | **POST** /events/{eventId}/clone | Clone Event|
|
|
8
8
|
|[**createEvent**](#createevent) | **POST** /events | Create Event|
|
|
9
9
|
|[**deleteEvent**](#deleteevent) | **DELETE** /events/{eventId} | Delete Event|
|
|
10
|
+
|[**disableEventBuildMode**](#disableeventbuildmode) | **DELETE** /events/{eventId}/build-mode | Disable Event Build Mode|
|
|
11
|
+
|[**enableEventBuildMode**](#enableeventbuildmode) | **POST** /events/{eventId}/build-mode | Enable Event Build Mode|
|
|
10
12
|
|[**getEvent**](#getevent) | **GET** /events/{eventId} | Get Event|
|
|
11
13
|
|[**getEventActivities**](#geteventactivities) | **GET** /events/{eventId}/activities | Get Event Activities|
|
|
12
14
|
|[**getEventPayments**](#geteventpayments) | **GET** /events/{eventId}/payments | Get Event Payments|
|
|
@@ -166,6 +168,108 @@ const { status, data } = await apiInstance.deleteEvent(
|
|
|
166
168
|
- **Accept**: application/json
|
|
167
169
|
|
|
168
170
|
|
|
171
|
+
### HTTP response details
|
|
172
|
+
| Status code | Description | Response headers |
|
|
173
|
+
|-------------|-------------|------------------|
|
|
174
|
+
|**200** | Successful response | - |
|
|
175
|
+
|
|
176
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
177
|
+
|
|
178
|
+
# **disableEventBuildMode**
|
|
179
|
+
> UpdateAnnouncementTranslation200Response disableEventBuildMode()
|
|
180
|
+
|
|
181
|
+
Disable Event Build Mode endpoint
|
|
182
|
+
|
|
183
|
+
### Example
|
|
184
|
+
|
|
185
|
+
```typescript
|
|
186
|
+
import {
|
|
187
|
+
EventsApi,
|
|
188
|
+
Configuration
|
|
189
|
+
} from '@connectedxm/admin-sdk';
|
|
190
|
+
|
|
191
|
+
const configuration = new Configuration();
|
|
192
|
+
const apiInstance = new EventsApi(configuration);
|
|
193
|
+
|
|
194
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
195
|
+
|
|
196
|
+
const { status, data } = await apiInstance.disableEventBuildMode(
|
|
197
|
+
eventId
|
|
198
|
+
);
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Parameters
|
|
202
|
+
|
|
203
|
+
|Name | Type | Description | Notes|
|
|
204
|
+
|------------- | ------------- | ------------- | -------------|
|
|
205
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
### Return type
|
|
209
|
+
|
|
210
|
+
**UpdateAnnouncementTranslation200Response**
|
|
211
|
+
|
|
212
|
+
### Authorization
|
|
213
|
+
|
|
214
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
215
|
+
|
|
216
|
+
### HTTP request headers
|
|
217
|
+
|
|
218
|
+
- **Content-Type**: Not defined
|
|
219
|
+
- **Accept**: application/json
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
### HTTP response details
|
|
223
|
+
| Status code | Description | Response headers |
|
|
224
|
+
|-------------|-------------|------------------|
|
|
225
|
+
|**200** | Successful response | - |
|
|
226
|
+
|
|
227
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
228
|
+
|
|
229
|
+
# **enableEventBuildMode**
|
|
230
|
+
> UpdateAnnouncementTranslation200Response enableEventBuildMode()
|
|
231
|
+
|
|
232
|
+
Enable Event Build Mode endpoint
|
|
233
|
+
|
|
234
|
+
### Example
|
|
235
|
+
|
|
236
|
+
```typescript
|
|
237
|
+
import {
|
|
238
|
+
EventsApi,
|
|
239
|
+
Configuration
|
|
240
|
+
} from '@connectedxm/admin-sdk';
|
|
241
|
+
|
|
242
|
+
const configuration = new Configuration();
|
|
243
|
+
const apiInstance = new EventsApi(configuration);
|
|
244
|
+
|
|
245
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
246
|
+
|
|
247
|
+
const { status, data } = await apiInstance.enableEventBuildMode(
|
|
248
|
+
eventId
|
|
249
|
+
);
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### Parameters
|
|
253
|
+
|
|
254
|
+
|Name | Type | Description | Notes|
|
|
255
|
+
|------------- | ------------- | ------------- | -------------|
|
|
256
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
### Return type
|
|
260
|
+
|
|
261
|
+
**UpdateAnnouncementTranslation200Response**
|
|
262
|
+
|
|
263
|
+
### Authorization
|
|
264
|
+
|
|
265
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
266
|
+
|
|
267
|
+
### HTTP request headers
|
|
268
|
+
|
|
269
|
+
- **Content-Type**: Not defined
|
|
270
|
+
- **Accept**: application/json
|
|
271
|
+
|
|
272
|
+
|
|
169
273
|
### HTTP response details
|
|
170
274
|
| Status code | Description | Response headers |
|
|
171
275
|
|-------------|-------------|------------------|
|
package/docs/Organization.md
CHANGED
|
@@ -73,6 +73,7 @@ Name | Type | Description | Notes
|
|
|
73
73
|
**maxVideoMins** | **number** | | [default to undefined]
|
|
74
74
|
**locales** | **Array<string>** | | [default to undefined]
|
|
75
75
|
**inviteOnly** | **boolean** | | [default to undefined]
|
|
76
|
+
**autoTranslate** | **boolean** | | [default to undefined]
|
|
76
77
|
**googleTagManagerId** | **string** | | [default to undefined]
|
|
77
78
|
**_options** | **object** | | [default to undefined]
|
|
78
79
|
|
|
@@ -150,6 +151,7 @@ const instance: Organization = {
|
|
|
150
151
|
maxVideoMins,
|
|
151
152
|
locales,
|
|
152
153
|
inviteOnly,
|
|
154
|
+
autoTranslate,
|
|
153
155
|
googleTagManagerId,
|
|
154
156
|
_options,
|
|
155
157
|
};
|
|
@@ -48,6 +48,7 @@ Name | Type | Description | Notes
|
|
|
48
48
|
**locale** | **string** | | [optional] [default to undefined]
|
|
49
49
|
**locales** | **Array<string>** | | [optional] [default to undefined]
|
|
50
50
|
**inviteOnly** | **boolean** | | [optional] [default to undefined]
|
|
51
|
+
**autoTranslate** | **boolean** | | [optional] [default to undefined]
|
|
51
52
|
**googleTagManagerId** | **string** | | [optional] [default to undefined]
|
|
52
53
|
**_options** | **object** | | [optional] [default to undefined]
|
|
53
54
|
|
|
@@ -100,6 +101,7 @@ const instance: OrganizationUpdateInputs = {
|
|
|
100
101
|
locale,
|
|
101
102
|
locales,
|
|
102
103
|
inviteOnly,
|
|
104
|
+
autoTranslate,
|
|
103
105
|
googleTagManagerId,
|
|
104
106
|
_options,
|
|
105
107
|
};
|