@connectedxm/admin-sdk 11.10.0 → 11.12.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.
@@ -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.10.0
1
+ ## @connectedxm/admin-sdk@11.12.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.10.0 --save
39
+ npm install @connectedxm/admin-sdk@11.12.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.10.0
7
+ * The version of the OpenAPI document: 11.12.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;
@@ -12409,6 +12412,7 @@ export interface PassAttributeImportSummary {
12409
12412
  'created': number;
12410
12413
  'updated': number;
12411
12414
  'unchanged': number;
12415
+ 'conflicted': number;
12412
12416
  'results': Array<PassAttributeImportResult>;
12413
12417
  }
12414
12418
  export interface PassAttributesImportInputs {
@@ -86328,6 +86332,55 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
86328
86332
  options: localVarRequestOptions,
86329
86333
  };
86330
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. Returns the number of passes that were eligible when the job was queued; 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
+ },
86331
86384
  /**
86332
86385
  * Permanently deletes the specified session from the given event; requires update permission on events.
86333
86386
  * @summary Delete an event session
@@ -87839,6 +87892,21 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
87839
87892
  const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.createEventSession']?.[localVarOperationServerIndex]?.url;
87840
87893
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87841
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. Returns the number of passes that were eligible when the job was queued; 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<SyncAccounts200Response>> {
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
+ },
87842
87910
  /**
87843
87911
  * Permanently deletes the specified session from the given event; requires update permission on events.
87844
87912
  * @summary Delete an event session
@@ -88352,6 +88420,16 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
88352
88420
  createEventSession(requestParameters: EventsSessionsApiCreateEventSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
88353
88421
  return localVarFp.createEventSession(requestParameters.eventId, requestParameters.eventSessionCreateInputs, options).then((request) => request(axios, basePath));
88354
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. Returns the number of passes that were eligible when the job was queued; 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<SyncAccounts200Response> {
88431
+ return localVarFp.createEventSessionPassTypeAccesses(requestParameters.eventId, requestParameters.sessionId, requestParameters.createEventSessionPassTypeAccessesRequest, options).then((request) => request(axios, basePath));
88432
+ },
88355
88433
  /**
88356
88434
  * Permanently deletes the specified session from the given event; requires update permission on events.
88357
88435
  * @summary Delete an event session
@@ -88804,6 +88882,23 @@ export interface EventsSessionsApiCreateEventSessionRequest {
88804
88882
  readonly eventSessionCreateInputs: EventSessionCreateInputs
88805
88883
  }
88806
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
+
88807
88902
  /**
88808
88903
  * Request parameters for deleteEventSession operation in EventsSessionsApi.
88809
88904
  */
@@ -89576,6 +89671,17 @@ export class EventsSessionsApi extends BaseAPI {
89576
89671
  return EventsSessionsApiFp(this.configuration).createEventSession(requestParameters.eventId, requestParameters.eventSessionCreateInputs, options).then((request) => request(this.axios, this.basePath));
89577
89672
  }
89578
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. Returns the number of passes that were eligible when the job was queued; 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
+
89579
89685
  /**
89580
89686
  * Permanently deletes the specified session from the given event; requires update permission on events.
89581
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.10.0
7
+ * The version of the OpenAPI document: 11.12.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.10.0
7
+ * The version of the OpenAPI document: 11.12.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.10.0
6
+ * The version of the OpenAPI document: 11.12.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.10.0
5
+ * The version of the OpenAPI document: 11.12.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;
@@ -11021,6 +11024,7 @@ export interface PassAttributeImportSummary {
11021
11024
  'created': number;
11022
11025
  'updated': number;
11023
11026
  'unchanged': number;
11027
+ 'conflicted': number;
11024
11028
  'results': Array<PassAttributeImportResult>;
11025
11029
  }
11026
11030
  export interface PassAttributesImportInputs {
@@ -49534,6 +49538,16 @@ export declare const EventsSessionsApiAxiosParamCreator: (configuration?: Config
49534
49538
  * @throws {RequiredError}
49535
49539
  */
49536
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. Returns the number of passes that were eligible when the job was queued; 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>;
49537
49551
  /**
49538
49552
  * Permanently deletes the specified session from the given event; requires update permission on events.
49539
49553
  * @summary Delete an event session
@@ -49922,6 +49936,16 @@ export declare const EventsSessionsApiFp: (configuration?: Configuration) => {
49922
49936
  * @throws {RequiredError}
49923
49937
  */
49924
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. Returns the number of passes that were eligible when the job was queued; 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<SyncAccounts200Response>>;
49925
49949
  /**
49926
49950
  * Permanently deletes the specified session from the given event; requires update permission on events.
49927
49951
  * @summary Delete an event session
@@ -50289,6 +50313,14 @@ export declare const EventsSessionsApiFactory: (configuration?: Configuration, b
50289
50313
  * @throws {RequiredError}
50290
50314
  */
50291
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. Returns the number of passes that were eligible when the job was queued; 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<SyncAccounts200Response>;
50292
50324
  /**
50293
50325
  * Permanently deletes the specified session from the given event; requires update permission on events.
50294
50326
  * @summary Delete an event session
@@ -50659,6 +50691,20 @@ export interface EventsSessionsApiCreateEventSessionRequest {
50659
50691
  readonly eventId: string;
50660
50692
  readonly eventSessionCreateInputs: EventSessionCreateInputs;
50661
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
+ }
50662
50708
  /**
50663
50709
  * Request parameters for deleteEventSession operation in EventsSessionsApi.
50664
50710
  */
@@ -51292,6 +51338,14 @@ export declare class EventsSessionsApi extends BaseAPI {
51292
51338
  * @throws {RequiredError}
51293
51339
  */
51294
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. Returns the number of passes that were eligible when the job was queued; 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<SyncAccounts200Response, any, {}, any>>;
51295
51349
  /**
51296
51350
  * Permanently deletes the specified session from the given event; requires update permission on events.
51297
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.10.0
8
+ * The version of the OpenAPI document: 11.12.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. Returns the number of passes that were eligible when the job was queued; 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. Returns the number of passes that were eligible when the job was queued; 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. Returns the number of passes that were eligible when the job was queued; 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. Returns the number of passes that were eligible when the job was queued; 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.10.0
5
+ * The version of the OpenAPI document: 11.12.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.10.0
8
+ * The version of the OpenAPI document: 11.12.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.10.0
5
+ * The version of the OpenAPI document: 11.12.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.10.0
8
+ * The version of the OpenAPI document: 11.12.0
9
9
  *
10
10
  *
11
11
  * 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.10.0
5
+ * The version of the OpenAPI document: 11.12.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.10.0
7
+ * The version of the OpenAPI document: 11.12.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.10.0
5
+ * The version of the OpenAPI document: 11.12.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;
@@ -11021,6 +11024,7 @@ export interface PassAttributeImportSummary {
11021
11024
  'created': number;
11022
11025
  'updated': number;
11023
11026
  'unchanged': number;
11027
+ 'conflicted': number;
11024
11028
  'results': Array<PassAttributeImportResult>;
11025
11029
  }
11026
11030
  export interface PassAttributesImportInputs {
@@ -49534,6 +49538,16 @@ export declare const EventsSessionsApiAxiosParamCreator: (configuration?: Config
49534
49538
  * @throws {RequiredError}
49535
49539
  */
49536
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. Returns the number of passes that were eligible when the job was queued; 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>;
49537
49551
  /**
49538
49552
  * Permanently deletes the specified session from the given event; requires update permission on events.
49539
49553
  * @summary Delete an event session
@@ -49922,6 +49936,16 @@ export declare const EventsSessionsApiFp: (configuration?: Configuration) => {
49922
49936
  * @throws {RequiredError}
49923
49937
  */
49924
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. Returns the number of passes that were eligible when the job was queued; 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<SyncAccounts200Response>>;
49925
49949
  /**
49926
49950
  * Permanently deletes the specified session from the given event; requires update permission on events.
49927
49951
  * @summary Delete an event session
@@ -50289,6 +50313,14 @@ export declare const EventsSessionsApiFactory: (configuration?: Configuration, b
50289
50313
  * @throws {RequiredError}
50290
50314
  */
50291
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. Returns the number of passes that were eligible when the job was queued; 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<SyncAccounts200Response>;
50292
50324
  /**
50293
50325
  * Permanently deletes the specified session from the given event; requires update permission on events.
50294
50326
  * @summary Delete an event session
@@ -50659,6 +50691,20 @@ export interface EventsSessionsApiCreateEventSessionRequest {
50659
50691
  readonly eventId: string;
50660
50692
  readonly eventSessionCreateInputs: EventSessionCreateInputs;
50661
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
+ }
50662
50708
  /**
50663
50709
  * Request parameters for deleteEventSession operation in EventsSessionsApi.
50664
50710
  */
@@ -51292,6 +51338,14 @@ export declare class EventsSessionsApi extends BaseAPI {
51292
51338
  * @throws {RequiredError}
51293
51339
  */
51294
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. Returns the number of passes that were eligible when the job was queued; 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<SyncAccounts200Response, any, {}, any>>;
51295
51349
  /**
51296
51350
  * Permanently deletes the specified session from the given event; requires update permission on events.
51297
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.10.0
7
+ * The version of the OpenAPI document: 11.12.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. Returns the number of passes that were eligible when the job was queued; 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. Returns the number of passes that were eligible when the job was queued; 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. Returns the number of passes that were eligible when the job was queued; 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. Returns the number of passes that were eligible when the job was queued; 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
@@ -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.10.0
5
+ * The version of the OpenAPI document: 11.12.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.10.0
7
+ * The version of the OpenAPI document: 11.12.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.10.0
5
+ * The version of the OpenAPI document: 11.12.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.10.0
7
+ * The version of the OpenAPI document: 11.12.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.10.0
5
+ * The version of the OpenAPI document: 11.12.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.10.0
6
+ * The version of the OpenAPI document: 11.12.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\&#39;s details|
20
21
  |[**getEventSessionAccesses**](#geteventsessionaccesses) | **GET** /events/{eventId}/sessions/{sessionId}/accesses | List an event session\&#39;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
+ > SyncAccounts200Response 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. Returns the number of passes that were eligible when the job was queued; 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
+ **SyncAccounts200Response**
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
  |-------------|-------------|------------------|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **created** | **number** | | [default to undefined]
9
9
  **updated** | **number** | | [default to undefined]
10
10
  **unchanged** | **number** | | [default to undefined]
11
+ **conflicted** | **number** | | [default to undefined]
11
12
  **results** | [**Array&lt;PassAttributeImportResult&gt;**](PassAttributeImportResult.md) | | [default to undefined]
12
13
 
13
14
  ## Example
@@ -19,6 +20,7 @@ const instance: PassAttributeImportSummary = {
19
20
  created,
20
21
  updated,
21
22
  unchanged,
23
+ conflicted,
22
24
  results,
23
25
  };
24
26
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "11.10.0",
3
+ "version": "11.12.0",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {