@connectedxm/admin-sdk 11.11.0 → 11.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/api.ts +106 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +54 -1
- package/dist/api.js +82 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +54 -1
- package/dist/esm/api.js +82 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/CreateEventSessionPassTypeAccessesRequest.md +20 -0
- package/docs/EventsSessionsApi.md +59 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -412,6 +412,7 @@ docs/CreateEventRound200Response.md
|
|
|
412
412
|
docs/CreateEventSection200Response.md
|
|
413
413
|
docs/CreateEventSession200Response.md
|
|
414
414
|
docs/CreateEventSessionLocation200Response.md
|
|
415
|
+
docs/CreateEventSessionPassTypeAccessesRequest.md
|
|
415
416
|
docs/CreateEventSessionPriceRequest.md
|
|
416
417
|
docs/CreateEventSessionQuestion200Response.md
|
|
417
418
|
docs/CreateEventSessionQuestionChoice200Response.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @connectedxm/admin-sdk@11.
|
|
1
|
+
## @connectedxm/admin-sdk@11.13.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @connectedxm/admin-sdk@11.
|
|
39
|
+
npm install @connectedxm/admin-sdk@11.13.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.13.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4299,6 +4299,9 @@ export enum CreateEventSessionLocation200ResponseStatusEnum {
|
|
|
4299
4299
|
Ok = 'ok'
|
|
4300
4300
|
}
|
|
4301
4301
|
|
|
4302
|
+
export interface CreateEventSessionPassTypeAccessesRequest {
|
|
4303
|
+
'passTypeId': string;
|
|
4304
|
+
}
|
|
4302
4305
|
export interface CreateEventSessionPriceRequest {
|
|
4303
4306
|
'passTypeId': string;
|
|
4304
4307
|
'price': number;
|
|
@@ -86329,6 +86332,55 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
86329
86332
|
options: localVarRequestOptions,
|
|
86330
86333
|
};
|
|
86331
86334
|
},
|
|
86335
|
+
/**
|
|
86336
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
86337
|
+
* @summary Grant session access to every pass of a pass type
|
|
86338
|
+
* @param {string} eventId The event identifier
|
|
86339
|
+
* @param {string} sessionId The session identifier
|
|
86340
|
+
* @param {CreateEventSessionPassTypeAccessesRequest} createEventSessionPassTypeAccessesRequest
|
|
86341
|
+
* @param {*} [options] Override http request option.
|
|
86342
|
+
* @throws {RequiredError}
|
|
86343
|
+
*/
|
|
86344
|
+
createEventSessionPassTypeAccesses: async (eventId: string, sessionId: string, createEventSessionPassTypeAccessesRequest: CreateEventSessionPassTypeAccessesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
86345
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
86346
|
+
assertParamExists('createEventSessionPassTypeAccesses', 'eventId', eventId)
|
|
86347
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
86348
|
+
assertParamExists('createEventSessionPassTypeAccesses', 'sessionId', sessionId)
|
|
86349
|
+
// verify required parameter 'createEventSessionPassTypeAccessesRequest' is not null or undefined
|
|
86350
|
+
assertParamExists('createEventSessionPassTypeAccesses', 'createEventSessionPassTypeAccessesRequest', createEventSessionPassTypeAccessesRequest)
|
|
86351
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/bulk-access`
|
|
86352
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
86353
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
86354
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86355
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
86356
|
+
let baseOptions;
|
|
86357
|
+
if (configuration) {
|
|
86358
|
+
baseOptions = configuration.baseOptions;
|
|
86359
|
+
}
|
|
86360
|
+
|
|
86361
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
86362
|
+
const localVarHeaderParameter = {} as any;
|
|
86363
|
+
const localVarQueryParameter = {} as any;
|
|
86364
|
+
|
|
86365
|
+
// authentication ApiKeyAuth required
|
|
86366
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
86367
|
+
|
|
86368
|
+
// authentication OrganizationId required
|
|
86369
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
86370
|
+
|
|
86371
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
86372
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
86373
|
+
|
|
86374
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
86375
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86376
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
86377
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createEventSessionPassTypeAccessesRequest, localVarRequestOptions, configuration)
|
|
86378
|
+
|
|
86379
|
+
return {
|
|
86380
|
+
url: toPathString(localVarUrlObj),
|
|
86381
|
+
options: localVarRequestOptions,
|
|
86382
|
+
};
|
|
86383
|
+
},
|
|
86332
86384
|
/**
|
|
86333
86385
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
86334
86386
|
* @summary Delete an event session
|
|
@@ -87840,6 +87892,21 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
|
|
|
87840
87892
|
const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.createEventSession']?.[localVarOperationServerIndex]?.url;
|
|
87841
87893
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
87842
87894
|
},
|
|
87895
|
+
/**
|
|
87896
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
87897
|
+
* @summary Grant session access to every pass of a pass type
|
|
87898
|
+
* @param {string} eventId The event identifier
|
|
87899
|
+
* @param {string} sessionId The session identifier
|
|
87900
|
+
* @param {CreateEventSessionPassTypeAccessesRequest} createEventSessionPassTypeAccessesRequest
|
|
87901
|
+
* @param {*} [options] Override http request option.
|
|
87902
|
+
* @throws {RequiredError}
|
|
87903
|
+
*/
|
|
87904
|
+
async createEventSessionPassTypeAccesses(eventId: string, sessionId: string, createEventSessionPassTypeAccessesRequest: CreateEventSessionPassTypeAccessesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
87905
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEventSessionPassTypeAccesses(eventId, sessionId, createEventSessionPassTypeAccessesRequest, options);
|
|
87906
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
87907
|
+
const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.createEventSessionPassTypeAccesses']?.[localVarOperationServerIndex]?.url;
|
|
87908
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
87909
|
+
},
|
|
87843
87910
|
/**
|
|
87844
87911
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
87845
87912
|
* @summary Delete an event session
|
|
@@ -88353,6 +88420,16 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
|
|
|
88353
88420
|
createEventSession(requestParameters: EventsSessionsApiCreateEventSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
|
|
88354
88421
|
return localVarFp.createEventSession(requestParameters.eventId, requestParameters.eventSessionCreateInputs, options).then((request) => request(axios, basePath));
|
|
88355
88422
|
},
|
|
88423
|
+
/**
|
|
88424
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
88425
|
+
* @summary Grant session access to every pass of a pass type
|
|
88426
|
+
* @param {EventsSessionsApiCreateEventSessionPassTypeAccessesRequest} requestParameters Request parameters.
|
|
88427
|
+
* @param {*} [options] Override http request option.
|
|
88428
|
+
* @throws {RequiredError}
|
|
88429
|
+
*/
|
|
88430
|
+
createEventSessionPassTypeAccesses(requestParameters: EventsSessionsApiCreateEventSessionPassTypeAccessesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
88431
|
+
return localVarFp.createEventSessionPassTypeAccesses(requestParameters.eventId, requestParameters.sessionId, requestParameters.createEventSessionPassTypeAccessesRequest, options).then((request) => request(axios, basePath));
|
|
88432
|
+
},
|
|
88356
88433
|
/**
|
|
88357
88434
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
88358
88435
|
* @summary Delete an event session
|
|
@@ -88805,6 +88882,23 @@ export interface EventsSessionsApiCreateEventSessionRequest {
|
|
|
88805
88882
|
readonly eventSessionCreateInputs: EventSessionCreateInputs
|
|
88806
88883
|
}
|
|
88807
88884
|
|
|
88885
|
+
/**
|
|
88886
|
+
* Request parameters for createEventSessionPassTypeAccesses operation in EventsSessionsApi.
|
|
88887
|
+
*/
|
|
88888
|
+
export interface EventsSessionsApiCreateEventSessionPassTypeAccessesRequest {
|
|
88889
|
+
/**
|
|
88890
|
+
* The event identifier
|
|
88891
|
+
*/
|
|
88892
|
+
readonly eventId: string
|
|
88893
|
+
|
|
88894
|
+
/**
|
|
88895
|
+
* The session identifier
|
|
88896
|
+
*/
|
|
88897
|
+
readonly sessionId: string
|
|
88898
|
+
|
|
88899
|
+
readonly createEventSessionPassTypeAccessesRequest: CreateEventSessionPassTypeAccessesRequest
|
|
88900
|
+
}
|
|
88901
|
+
|
|
88808
88902
|
/**
|
|
88809
88903
|
* Request parameters for deleteEventSession operation in EventsSessionsApi.
|
|
88810
88904
|
*/
|
|
@@ -89577,6 +89671,17 @@ export class EventsSessionsApi extends BaseAPI {
|
|
|
89577
89671
|
return EventsSessionsApiFp(this.configuration).createEventSession(requestParameters.eventId, requestParameters.eventSessionCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
89578
89672
|
}
|
|
89579
89673
|
|
|
89674
|
+
/**
|
|
89675
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
89676
|
+
* @summary Grant session access to every pass of a pass type
|
|
89677
|
+
* @param {EventsSessionsApiCreateEventSessionPassTypeAccessesRequest} requestParameters Request parameters.
|
|
89678
|
+
* @param {*} [options] Override http request option.
|
|
89679
|
+
* @throws {RequiredError}
|
|
89680
|
+
*/
|
|
89681
|
+
public createEventSessionPassTypeAccesses(requestParameters: EventsSessionsApiCreateEventSessionPassTypeAccessesRequest, options?: RawAxiosRequestConfig) {
|
|
89682
|
+
return EventsSessionsApiFp(this.configuration).createEventSessionPassTypeAccesses(requestParameters.eventId, requestParameters.sessionId, requestParameters.createEventSessionPassTypeAccessesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
89683
|
+
}
|
|
89684
|
+
|
|
89580
89685
|
/**
|
|
89581
89686
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
89582
89687
|
* @summary Delete an event session
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.13.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.13.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Connected Admin API
|
|
4
4
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 11.
|
|
6
|
+
* The version of the OpenAPI document: 11.13.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.
|
|
5
|
+
* The version of the OpenAPI document: 11.13.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3954,6 +3954,9 @@ export interface CreateEventSessionLocation200Response {
|
|
|
3954
3954
|
export declare enum CreateEventSessionLocation200ResponseStatusEnum {
|
|
3955
3955
|
Ok = "ok"
|
|
3956
3956
|
}
|
|
3957
|
+
export interface CreateEventSessionPassTypeAccessesRequest {
|
|
3958
|
+
'passTypeId': string;
|
|
3959
|
+
}
|
|
3957
3960
|
export interface CreateEventSessionPriceRequest {
|
|
3958
3961
|
'passTypeId': string;
|
|
3959
3962
|
'price': number;
|
|
@@ -49535,6 +49538,16 @@ export declare const EventsSessionsApiAxiosParamCreator: (configuration?: Config
|
|
|
49535
49538
|
* @throws {RequiredError}
|
|
49536
49539
|
*/
|
|
49537
49540
|
createEventSession: (eventId: string, eventSessionCreateInputs: EventSessionCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49541
|
+
/**
|
|
49542
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
49543
|
+
* @summary Grant session access to every pass of a pass type
|
|
49544
|
+
* @param {string} eventId The event identifier
|
|
49545
|
+
* @param {string} sessionId The session identifier
|
|
49546
|
+
* @param {CreateEventSessionPassTypeAccessesRequest} createEventSessionPassTypeAccessesRequest
|
|
49547
|
+
* @param {*} [options] Override http request option.
|
|
49548
|
+
* @throws {RequiredError}
|
|
49549
|
+
*/
|
|
49550
|
+
createEventSessionPassTypeAccesses: (eventId: string, sessionId: string, createEventSessionPassTypeAccessesRequest: CreateEventSessionPassTypeAccessesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49538
49551
|
/**
|
|
49539
49552
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
49540
49553
|
* @summary Delete an event session
|
|
@@ -49923,6 +49936,16 @@ export declare const EventsSessionsApiFp: (configuration?: Configuration) => {
|
|
|
49923
49936
|
* @throws {RequiredError}
|
|
49924
49937
|
*/
|
|
49925
49938
|
createEventSession(eventId: string, eventSessionCreateInputs: EventSessionCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>>;
|
|
49939
|
+
/**
|
|
49940
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
49941
|
+
* @summary Grant session access to every pass of a pass type
|
|
49942
|
+
* @param {string} eventId The event identifier
|
|
49943
|
+
* @param {string} sessionId The session identifier
|
|
49944
|
+
* @param {CreateEventSessionPassTypeAccessesRequest} createEventSessionPassTypeAccessesRequest
|
|
49945
|
+
* @param {*} [options] Override http request option.
|
|
49946
|
+
* @throws {RequiredError}
|
|
49947
|
+
*/
|
|
49948
|
+
createEventSessionPassTypeAccesses(eventId: string, sessionId: string, createEventSessionPassTypeAccessesRequest: CreateEventSessionPassTypeAccessesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
49926
49949
|
/**
|
|
49927
49950
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
49928
49951
|
* @summary Delete an event session
|
|
@@ -50290,6 +50313,14 @@ export declare const EventsSessionsApiFactory: (configuration?: Configuration, b
|
|
|
50290
50313
|
* @throws {RequiredError}
|
|
50291
50314
|
*/
|
|
50292
50315
|
createEventSession(requestParameters: EventsSessionsApiCreateEventSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response>;
|
|
50316
|
+
/**
|
|
50317
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
50318
|
+
* @summary Grant session access to every pass of a pass type
|
|
50319
|
+
* @param {EventsSessionsApiCreateEventSessionPassTypeAccessesRequest} requestParameters Request parameters.
|
|
50320
|
+
* @param {*} [options] Override http request option.
|
|
50321
|
+
* @throws {RequiredError}
|
|
50322
|
+
*/
|
|
50323
|
+
createEventSessionPassTypeAccesses(requestParameters: EventsSessionsApiCreateEventSessionPassTypeAccessesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
|
|
50293
50324
|
/**
|
|
50294
50325
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
50295
50326
|
* @summary Delete an event session
|
|
@@ -50660,6 +50691,20 @@ export interface EventsSessionsApiCreateEventSessionRequest {
|
|
|
50660
50691
|
readonly eventId: string;
|
|
50661
50692
|
readonly eventSessionCreateInputs: EventSessionCreateInputs;
|
|
50662
50693
|
}
|
|
50694
|
+
/**
|
|
50695
|
+
* Request parameters for createEventSessionPassTypeAccesses operation in EventsSessionsApi.
|
|
50696
|
+
*/
|
|
50697
|
+
export interface EventsSessionsApiCreateEventSessionPassTypeAccessesRequest {
|
|
50698
|
+
/**
|
|
50699
|
+
* The event identifier
|
|
50700
|
+
*/
|
|
50701
|
+
readonly eventId: string;
|
|
50702
|
+
/**
|
|
50703
|
+
* The session identifier
|
|
50704
|
+
*/
|
|
50705
|
+
readonly sessionId: string;
|
|
50706
|
+
readonly createEventSessionPassTypeAccessesRequest: CreateEventSessionPassTypeAccessesRequest;
|
|
50707
|
+
}
|
|
50663
50708
|
/**
|
|
50664
50709
|
* Request parameters for deleteEventSession operation in EventsSessionsApi.
|
|
50665
50710
|
*/
|
|
@@ -51293,6 +51338,14 @@ export declare class EventsSessionsApi extends BaseAPI {
|
|
|
51293
51338
|
* @throws {RequiredError}
|
|
51294
51339
|
*/
|
|
51295
51340
|
createEventSession(requestParameters: EventsSessionsApiCreateEventSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventSession200Response, any, {}, any>>;
|
|
51341
|
+
/**
|
|
51342
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
51343
|
+
* @summary Grant session access to every pass of a pass type
|
|
51344
|
+
* @param {EventsSessionsApiCreateEventSessionPassTypeAccessesRequest} requestParameters Request parameters.
|
|
51345
|
+
* @param {*} [options] Override http request option.
|
|
51346
|
+
* @throws {RequiredError}
|
|
51347
|
+
*/
|
|
51348
|
+
createEventSessionPassTypeAccesses(requestParameters: EventsSessionsApiCreateEventSessionPassTypeAccessesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}, any>>;
|
|
51296
51349
|
/**
|
|
51297
51350
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
51298
51351
|
* @summary Delete an event session
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 11.
|
|
8
|
+
* The version of the OpenAPI document: 11.13.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -57177,6 +57177,49 @@ const EventsSessionsApiAxiosParamCreator = function (configuration) {
|
|
|
57177
57177
|
options: localVarRequestOptions,
|
|
57178
57178
|
};
|
|
57179
57179
|
}),
|
|
57180
|
+
/**
|
|
57181
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
57182
|
+
* @summary Grant session access to every pass of a pass type
|
|
57183
|
+
* @param {string} eventId The event identifier
|
|
57184
|
+
* @param {string} sessionId The session identifier
|
|
57185
|
+
* @param {CreateEventSessionPassTypeAccessesRequest} createEventSessionPassTypeAccessesRequest
|
|
57186
|
+
* @param {*} [options] Override http request option.
|
|
57187
|
+
* @throws {RequiredError}
|
|
57188
|
+
*/
|
|
57189
|
+
createEventSessionPassTypeAccesses: (eventId_1, sessionId_1, createEventSessionPassTypeAccessesRequest_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, createEventSessionPassTypeAccessesRequest_1, ...args_1], void 0, function* (eventId, sessionId, createEventSessionPassTypeAccessesRequest, options = {}) {
|
|
57190
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
57191
|
+
(0, common_1.assertParamExists)('createEventSessionPassTypeAccesses', 'eventId', eventId);
|
|
57192
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
57193
|
+
(0, common_1.assertParamExists)('createEventSessionPassTypeAccesses', 'sessionId', sessionId);
|
|
57194
|
+
// verify required parameter 'createEventSessionPassTypeAccessesRequest' is not null or undefined
|
|
57195
|
+
(0, common_1.assertParamExists)('createEventSessionPassTypeAccesses', 'createEventSessionPassTypeAccessesRequest', createEventSessionPassTypeAccessesRequest);
|
|
57196
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/bulk-access`
|
|
57197
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
57198
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
57199
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57200
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
57201
|
+
let baseOptions;
|
|
57202
|
+
if (configuration) {
|
|
57203
|
+
baseOptions = configuration.baseOptions;
|
|
57204
|
+
}
|
|
57205
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
57206
|
+
const localVarHeaderParameter = {};
|
|
57207
|
+
const localVarQueryParameter = {};
|
|
57208
|
+
// authentication ApiKeyAuth required
|
|
57209
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
57210
|
+
// authentication OrganizationId required
|
|
57211
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
57212
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
57213
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
57214
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
57215
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57216
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
57217
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createEventSessionPassTypeAccessesRequest, localVarRequestOptions, configuration);
|
|
57218
|
+
return {
|
|
57219
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
57220
|
+
options: localVarRequestOptions,
|
|
57221
|
+
};
|
|
57222
|
+
}),
|
|
57180
57223
|
/**
|
|
57181
57224
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
57182
57225
|
* @summary Delete an event session
|
|
@@ -58528,6 +58571,24 @@ const EventsSessionsApiFp = function (configuration) {
|
|
|
58528
58571
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58529
58572
|
});
|
|
58530
58573
|
},
|
|
58574
|
+
/**
|
|
58575
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
58576
|
+
* @summary Grant session access to every pass of a pass type
|
|
58577
|
+
* @param {string} eventId The event identifier
|
|
58578
|
+
* @param {string} sessionId The session identifier
|
|
58579
|
+
* @param {CreateEventSessionPassTypeAccessesRequest} createEventSessionPassTypeAccessesRequest
|
|
58580
|
+
* @param {*} [options] Override http request option.
|
|
58581
|
+
* @throws {RequiredError}
|
|
58582
|
+
*/
|
|
58583
|
+
createEventSessionPassTypeAccesses(eventId, sessionId, createEventSessionPassTypeAccessesRequest, options) {
|
|
58584
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
58585
|
+
var _a, _b, _c;
|
|
58586
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventSessionPassTypeAccesses(eventId, sessionId, createEventSessionPassTypeAccessesRequest, options);
|
|
58587
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
58588
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsSessionsApi.createEventSessionPassTypeAccesses']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
58589
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58590
|
+
});
|
|
58591
|
+
},
|
|
58531
58592
|
/**
|
|
58532
58593
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
58533
58594
|
* @summary Delete an event session
|
|
@@ -59113,6 +59174,16 @@ const EventsSessionsApiFactory = function (configuration, basePath, axios) {
|
|
|
59113
59174
|
createEventSession(requestParameters, options) {
|
|
59114
59175
|
return localVarFp.createEventSession(requestParameters.eventId, requestParameters.eventSessionCreateInputs, options).then((request) => request(axios, basePath));
|
|
59115
59176
|
},
|
|
59177
|
+
/**
|
|
59178
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
59179
|
+
* @summary Grant session access to every pass of a pass type
|
|
59180
|
+
* @param {EventsSessionsApiCreateEventSessionPassTypeAccessesRequest} requestParameters Request parameters.
|
|
59181
|
+
* @param {*} [options] Override http request option.
|
|
59182
|
+
* @throws {RequiredError}
|
|
59183
|
+
*/
|
|
59184
|
+
createEventSessionPassTypeAccesses(requestParameters, options) {
|
|
59185
|
+
return localVarFp.createEventSessionPassTypeAccesses(requestParameters.eventId, requestParameters.sessionId, requestParameters.createEventSessionPassTypeAccessesRequest, options).then((request) => request(axios, basePath));
|
|
59186
|
+
},
|
|
59116
59187
|
/**
|
|
59117
59188
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
59118
59189
|
* @summary Delete an event session
|
|
@@ -59470,6 +59541,16 @@ class EventsSessionsApi extends base_1.BaseAPI {
|
|
|
59470
59541
|
createEventSession(requestParameters, options) {
|
|
59471
59542
|
return (0, exports.EventsSessionsApiFp)(this.configuration).createEventSession(requestParameters.eventId, requestParameters.eventSessionCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
59472
59543
|
}
|
|
59544
|
+
/**
|
|
59545
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
59546
|
+
* @summary Grant session access to every pass of a pass type
|
|
59547
|
+
* @param {EventsSessionsApiCreateEventSessionPassTypeAccessesRequest} requestParameters Request parameters.
|
|
59548
|
+
* @param {*} [options] Override http request option.
|
|
59549
|
+
* @throws {RequiredError}
|
|
59550
|
+
*/
|
|
59551
|
+
createEventSessionPassTypeAccesses(requestParameters, options) {
|
|
59552
|
+
return (0, exports.EventsSessionsApiFp)(this.configuration).createEventSessionPassTypeAccesses(requestParameters.eventId, requestParameters.sessionId, requestParameters.createEventSessionPassTypeAccessesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
59553
|
+
}
|
|
59473
59554
|
/**
|
|
59474
59555
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
59475
59556
|
* @summary Delete an event session
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.
|
|
5
|
+
* The version of the OpenAPI document: 11.13.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 11.
|
|
8
|
+
* The version of the OpenAPI document: 11.13.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.
|
|
5
|
+
* The version of the OpenAPI document: 11.13.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 11.
|
|
8
|
+
* The version of the OpenAPI document: 11.13.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.
|
|
5
|
+
* The version of the OpenAPI document: 11.13.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.13.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.
|
|
5
|
+
* The version of the OpenAPI document: 11.13.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3954,6 +3954,9 @@ export interface CreateEventSessionLocation200Response {
|
|
|
3954
3954
|
export declare enum CreateEventSessionLocation200ResponseStatusEnum {
|
|
3955
3955
|
Ok = "ok"
|
|
3956
3956
|
}
|
|
3957
|
+
export interface CreateEventSessionPassTypeAccessesRequest {
|
|
3958
|
+
'passTypeId': string;
|
|
3959
|
+
}
|
|
3957
3960
|
export interface CreateEventSessionPriceRequest {
|
|
3958
3961
|
'passTypeId': string;
|
|
3959
3962
|
'price': number;
|
|
@@ -49535,6 +49538,16 @@ export declare const EventsSessionsApiAxiosParamCreator: (configuration?: Config
|
|
|
49535
49538
|
* @throws {RequiredError}
|
|
49536
49539
|
*/
|
|
49537
49540
|
createEventSession: (eventId: string, eventSessionCreateInputs: EventSessionCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49541
|
+
/**
|
|
49542
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
49543
|
+
* @summary Grant session access to every pass of a pass type
|
|
49544
|
+
* @param {string} eventId The event identifier
|
|
49545
|
+
* @param {string} sessionId The session identifier
|
|
49546
|
+
* @param {CreateEventSessionPassTypeAccessesRequest} createEventSessionPassTypeAccessesRequest
|
|
49547
|
+
* @param {*} [options] Override http request option.
|
|
49548
|
+
* @throws {RequiredError}
|
|
49549
|
+
*/
|
|
49550
|
+
createEventSessionPassTypeAccesses: (eventId: string, sessionId: string, createEventSessionPassTypeAccessesRequest: CreateEventSessionPassTypeAccessesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49538
49551
|
/**
|
|
49539
49552
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
49540
49553
|
* @summary Delete an event session
|
|
@@ -49923,6 +49936,16 @@ export declare const EventsSessionsApiFp: (configuration?: Configuration) => {
|
|
|
49923
49936
|
* @throws {RequiredError}
|
|
49924
49937
|
*/
|
|
49925
49938
|
createEventSession(eventId: string, eventSessionCreateInputs: EventSessionCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>>;
|
|
49939
|
+
/**
|
|
49940
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
49941
|
+
* @summary Grant session access to every pass of a pass type
|
|
49942
|
+
* @param {string} eventId The event identifier
|
|
49943
|
+
* @param {string} sessionId The session identifier
|
|
49944
|
+
* @param {CreateEventSessionPassTypeAccessesRequest} createEventSessionPassTypeAccessesRequest
|
|
49945
|
+
* @param {*} [options] Override http request option.
|
|
49946
|
+
* @throws {RequiredError}
|
|
49947
|
+
*/
|
|
49948
|
+
createEventSessionPassTypeAccesses(eventId: string, sessionId: string, createEventSessionPassTypeAccessesRequest: CreateEventSessionPassTypeAccessesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
49926
49949
|
/**
|
|
49927
49950
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
49928
49951
|
* @summary Delete an event session
|
|
@@ -50290,6 +50313,14 @@ export declare const EventsSessionsApiFactory: (configuration?: Configuration, b
|
|
|
50290
50313
|
* @throws {RequiredError}
|
|
50291
50314
|
*/
|
|
50292
50315
|
createEventSession(requestParameters: EventsSessionsApiCreateEventSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response>;
|
|
50316
|
+
/**
|
|
50317
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
50318
|
+
* @summary Grant session access to every pass of a pass type
|
|
50319
|
+
* @param {EventsSessionsApiCreateEventSessionPassTypeAccessesRequest} requestParameters Request parameters.
|
|
50320
|
+
* @param {*} [options] Override http request option.
|
|
50321
|
+
* @throws {RequiredError}
|
|
50322
|
+
*/
|
|
50323
|
+
createEventSessionPassTypeAccesses(requestParameters: EventsSessionsApiCreateEventSessionPassTypeAccessesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
|
|
50293
50324
|
/**
|
|
50294
50325
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
50295
50326
|
* @summary Delete an event session
|
|
@@ -50660,6 +50691,20 @@ export interface EventsSessionsApiCreateEventSessionRequest {
|
|
|
50660
50691
|
readonly eventId: string;
|
|
50661
50692
|
readonly eventSessionCreateInputs: EventSessionCreateInputs;
|
|
50662
50693
|
}
|
|
50694
|
+
/**
|
|
50695
|
+
* Request parameters for createEventSessionPassTypeAccesses operation in EventsSessionsApi.
|
|
50696
|
+
*/
|
|
50697
|
+
export interface EventsSessionsApiCreateEventSessionPassTypeAccessesRequest {
|
|
50698
|
+
/**
|
|
50699
|
+
* The event identifier
|
|
50700
|
+
*/
|
|
50701
|
+
readonly eventId: string;
|
|
50702
|
+
/**
|
|
50703
|
+
* The session identifier
|
|
50704
|
+
*/
|
|
50705
|
+
readonly sessionId: string;
|
|
50706
|
+
readonly createEventSessionPassTypeAccessesRequest: CreateEventSessionPassTypeAccessesRequest;
|
|
50707
|
+
}
|
|
50663
50708
|
/**
|
|
50664
50709
|
* Request parameters for deleteEventSession operation in EventsSessionsApi.
|
|
50665
50710
|
*/
|
|
@@ -51293,6 +51338,14 @@ export declare class EventsSessionsApi extends BaseAPI {
|
|
|
51293
51338
|
* @throws {RequiredError}
|
|
51294
51339
|
*/
|
|
51295
51340
|
createEventSession(requestParameters: EventsSessionsApiCreateEventSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventSession200Response, any, {}, any>>;
|
|
51341
|
+
/**
|
|
51342
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
51343
|
+
* @summary Grant session access to every pass of a pass type
|
|
51344
|
+
* @param {EventsSessionsApiCreateEventSessionPassTypeAccessesRequest} requestParameters Request parameters.
|
|
51345
|
+
* @param {*} [options] Override http request option.
|
|
51346
|
+
* @throws {RequiredError}
|
|
51347
|
+
*/
|
|
51348
|
+
createEventSessionPassTypeAccesses(requestParameters: EventsSessionsApiCreateEventSessionPassTypeAccessesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}, any>>;
|
|
51296
51349
|
/**
|
|
51297
51350
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
51298
51351
|
* @summary Delete an event session
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.13.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -56798,6 +56798,49 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration) {
|
|
|
56798
56798
|
options: localVarRequestOptions,
|
|
56799
56799
|
};
|
|
56800
56800
|
}),
|
|
56801
|
+
/**
|
|
56802
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
56803
|
+
* @summary Grant session access to every pass of a pass type
|
|
56804
|
+
* @param {string} eventId The event identifier
|
|
56805
|
+
* @param {string} sessionId The session identifier
|
|
56806
|
+
* @param {CreateEventSessionPassTypeAccessesRequest} createEventSessionPassTypeAccessesRequest
|
|
56807
|
+
* @param {*} [options] Override http request option.
|
|
56808
|
+
* @throws {RequiredError}
|
|
56809
|
+
*/
|
|
56810
|
+
createEventSessionPassTypeAccesses: (eventId_1, sessionId_1, createEventSessionPassTypeAccessesRequest_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, createEventSessionPassTypeAccessesRequest_1, ...args_1], void 0, function* (eventId, sessionId, createEventSessionPassTypeAccessesRequest, options = {}) {
|
|
56811
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
56812
|
+
assertParamExists('createEventSessionPassTypeAccesses', 'eventId', eventId);
|
|
56813
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
56814
|
+
assertParamExists('createEventSessionPassTypeAccesses', 'sessionId', sessionId);
|
|
56815
|
+
// verify required parameter 'createEventSessionPassTypeAccessesRequest' is not null or undefined
|
|
56816
|
+
assertParamExists('createEventSessionPassTypeAccesses', 'createEventSessionPassTypeAccessesRequest', createEventSessionPassTypeAccessesRequest);
|
|
56817
|
+
const localVarPath = `/events/{eventId}/sessions/{sessionId}/bulk-access`
|
|
56818
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
56819
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
56820
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56821
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56822
|
+
let baseOptions;
|
|
56823
|
+
if (configuration) {
|
|
56824
|
+
baseOptions = configuration.baseOptions;
|
|
56825
|
+
}
|
|
56826
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
56827
|
+
const localVarHeaderParameter = {};
|
|
56828
|
+
const localVarQueryParameter = {};
|
|
56829
|
+
// authentication ApiKeyAuth required
|
|
56830
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
56831
|
+
// authentication OrganizationId required
|
|
56832
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
56833
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
56834
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
56835
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56836
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56837
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
56838
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createEventSessionPassTypeAccessesRequest, localVarRequestOptions, configuration);
|
|
56839
|
+
return {
|
|
56840
|
+
url: toPathString(localVarUrlObj),
|
|
56841
|
+
options: localVarRequestOptions,
|
|
56842
|
+
};
|
|
56843
|
+
}),
|
|
56801
56844
|
/**
|
|
56802
56845
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
56803
56846
|
* @summary Delete an event session
|
|
@@ -58148,6 +58191,24 @@ export const EventsSessionsApiFp = function (configuration) {
|
|
|
58148
58191
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58149
58192
|
});
|
|
58150
58193
|
},
|
|
58194
|
+
/**
|
|
58195
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
58196
|
+
* @summary Grant session access to every pass of a pass type
|
|
58197
|
+
* @param {string} eventId The event identifier
|
|
58198
|
+
* @param {string} sessionId The session identifier
|
|
58199
|
+
* @param {CreateEventSessionPassTypeAccessesRequest} createEventSessionPassTypeAccessesRequest
|
|
58200
|
+
* @param {*} [options] Override http request option.
|
|
58201
|
+
* @throws {RequiredError}
|
|
58202
|
+
*/
|
|
58203
|
+
createEventSessionPassTypeAccesses(eventId, sessionId, createEventSessionPassTypeAccessesRequest, options) {
|
|
58204
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
58205
|
+
var _a, _b, _c;
|
|
58206
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEventSessionPassTypeAccesses(eventId, sessionId, createEventSessionPassTypeAccessesRequest, options);
|
|
58207
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
58208
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSessionsApi.createEventSessionPassTypeAccesses']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
58209
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58210
|
+
});
|
|
58211
|
+
},
|
|
58151
58212
|
/**
|
|
58152
58213
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
58153
58214
|
* @summary Delete an event session
|
|
@@ -58732,6 +58793,16 @@ export const EventsSessionsApiFactory = function (configuration, basePath, axios
|
|
|
58732
58793
|
createEventSession(requestParameters, options) {
|
|
58733
58794
|
return localVarFp.createEventSession(requestParameters.eventId, requestParameters.eventSessionCreateInputs, options).then((request) => request(axios, basePath));
|
|
58734
58795
|
},
|
|
58796
|
+
/**
|
|
58797
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
58798
|
+
* @summary Grant session access to every pass of a pass type
|
|
58799
|
+
* @param {EventsSessionsApiCreateEventSessionPassTypeAccessesRequest} requestParameters Request parameters.
|
|
58800
|
+
* @param {*} [options] Override http request option.
|
|
58801
|
+
* @throws {RequiredError}
|
|
58802
|
+
*/
|
|
58803
|
+
createEventSessionPassTypeAccesses(requestParameters, options) {
|
|
58804
|
+
return localVarFp.createEventSessionPassTypeAccesses(requestParameters.eventId, requestParameters.sessionId, requestParameters.createEventSessionPassTypeAccessesRequest, options).then((request) => request(axios, basePath));
|
|
58805
|
+
},
|
|
58735
58806
|
/**
|
|
58736
58807
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
58737
58808
|
* @summary Delete an event session
|
|
@@ -59088,6 +59159,16 @@ export class EventsSessionsApi extends BaseAPI {
|
|
|
59088
59159
|
createEventSession(requestParameters, options) {
|
|
59089
59160
|
return EventsSessionsApiFp(this.configuration).createEventSession(requestParameters.eventId, requestParameters.eventSessionCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
59090
59161
|
}
|
|
59162
|
+
/**
|
|
59163
|
+
* Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
59164
|
+
* @summary Grant session access to every pass of a pass type
|
|
59165
|
+
* @param {EventsSessionsApiCreateEventSessionPassTypeAccessesRequest} requestParameters Request parameters.
|
|
59166
|
+
* @param {*} [options] Override http request option.
|
|
59167
|
+
* @throws {RequiredError}
|
|
59168
|
+
*/
|
|
59169
|
+
createEventSessionPassTypeAccesses(requestParameters, options) {
|
|
59170
|
+
return EventsSessionsApiFp(this.configuration).createEventSessionPassTypeAccesses(requestParameters.eventId, requestParameters.sessionId, requestParameters.createEventSessionPassTypeAccessesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
59171
|
+
}
|
|
59091
59172
|
/**
|
|
59092
59173
|
* Permanently deletes the specified session from the given event; requires update permission on events.
|
|
59093
59174
|
* @summary Delete an event session
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.
|
|
5
|
+
* The version of the OpenAPI document: 11.13.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.13.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.
|
|
5
|
+
* The version of the OpenAPI document: 11.13.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.13.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.
|
|
5
|
+
* The version of the OpenAPI document: 11.13.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Connected Admin API
|
|
4
4
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 11.
|
|
6
|
+
* The version of the OpenAPI document: 11.13.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# CreateEventSessionPassTypeAccessesRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**passTypeId** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { CreateEventSessionPassTypeAccessesRequest } from '@connectedxm/admin-sdk';
|
|
14
|
+
|
|
15
|
+
const instance: CreateEventSessionPassTypeAccessesRequest = {
|
|
16
|
+
passTypeId,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -15,6 +15,7 @@ All URIs are relative to *https://admin-api.connected.dev*
|
|
|
15
15
|
|[**addEventSessionVisibleTier**](#addeventsessionvisibletier) | **POST** /events/{eventId}/sessions/{sessionId}/visibleTiers/{tierId} | Make a session visible to an account tier|
|
|
16
16
|
|[**cloneEventSession**](#cloneeventsession) | **POST** /events/{eventId}/sessions/{sessionId}/clone | Clone a session|
|
|
17
17
|
|[**createEventSession**](#createeventsession) | **POST** /events/{eventId}/sessions | Create an event session|
|
|
18
|
+
|[**createEventSessionPassTypeAccesses**](#createeventsessionpasstypeaccesses) | **POST** /events/{eventId}/sessions/{sessionId}/bulk-access | Grant session access to every pass of a pass type|
|
|
18
19
|
|[**deleteEventSession**](#deleteeventsession) | **DELETE** /events/{eventId}/sessions/{sessionId} | Delete an event session|
|
|
19
20
|
|[**getEventSession**](#geteventsession) | **GET** /events/{eventId}/sessions/{sessionId} | Get an event session\'s details|
|
|
20
21
|
|[**getEventSessionAccesses**](#geteventsessionaccesses) | **GET** /events/{eventId}/sessions/{sessionId}/accesses | List an event session\'s pass accesses|
|
|
@@ -659,6 +660,64 @@ const { status, data } = await apiInstance.createEventSession(
|
|
|
659
660
|
- **Accept**: application/json
|
|
660
661
|
|
|
661
662
|
|
|
663
|
+
### HTTP response details
|
|
664
|
+
| Status code | Description | Response headers |
|
|
665
|
+
|-------------|-------------|------------------|
|
|
666
|
+
|**200** | Successful response | - |
|
|
667
|
+
|
|
668
|
+
[[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)
|
|
669
|
+
|
|
670
|
+
# **createEventSessionPassTypeAccesses**
|
|
671
|
+
> CreateAccountInvitations200Response createEventSessionPassTypeAccesses(createEventSessionPassTypeAccessesRequest)
|
|
672
|
+
|
|
673
|
+
Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.
|
|
674
|
+
|
|
675
|
+
### Example
|
|
676
|
+
|
|
677
|
+
```typescript
|
|
678
|
+
import {
|
|
679
|
+
EventsSessionsApi,
|
|
680
|
+
Configuration,
|
|
681
|
+
CreateEventSessionPassTypeAccessesRequest
|
|
682
|
+
} from '@connectedxm/admin-sdk';
|
|
683
|
+
|
|
684
|
+
const configuration = new Configuration();
|
|
685
|
+
const apiInstance = new EventsSessionsApi(configuration);
|
|
686
|
+
|
|
687
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
688
|
+
let sessionId: string; //The session identifier (default to undefined)
|
|
689
|
+
let createEventSessionPassTypeAccessesRequest: CreateEventSessionPassTypeAccessesRequest; //
|
|
690
|
+
|
|
691
|
+
const { status, data } = await apiInstance.createEventSessionPassTypeAccesses(
|
|
692
|
+
eventId,
|
|
693
|
+
sessionId,
|
|
694
|
+
createEventSessionPassTypeAccessesRequest
|
|
695
|
+
);
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
### Parameters
|
|
699
|
+
|
|
700
|
+
|Name | Type | Description | Notes|
|
|
701
|
+
|------------- | ------------- | ------------- | -------------|
|
|
702
|
+
| **createEventSessionPassTypeAccessesRequest** | **CreateEventSessionPassTypeAccessesRequest**| | |
|
|
703
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
704
|
+
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
### Return type
|
|
708
|
+
|
|
709
|
+
**CreateAccountInvitations200Response**
|
|
710
|
+
|
|
711
|
+
### Authorization
|
|
712
|
+
|
|
713
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
714
|
+
|
|
715
|
+
### HTTP request headers
|
|
716
|
+
|
|
717
|
+
- **Content-Type**: application/json
|
|
718
|
+
- **Accept**: application/json
|
|
719
|
+
|
|
720
|
+
|
|
662
721
|
### HTTP response details
|
|
663
722
|
| Status code | Description | Response headers |
|
|
664
723
|
|-------------|-------------|------------------|
|