@connectedxm/admin-sdk 11.13.0 → 11.14.1

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.
@@ -1122,6 +1122,7 @@ docs/Import.md
1122
1122
  docs/ImportAllOfCount.md
1123
1123
  docs/ImportCreateInputs.md
1124
1124
  docs/ImportEventPassAttributes200Response.md
1125
+ docs/ImportEventPassResponses200Response.md
1125
1126
  docs/ImportItem.md
1126
1127
  docs/ImportItemStatus.md
1127
1128
  docs/ImportRooms200Response.md
@@ -1295,6 +1296,11 @@ docs/PassAttributesUpdateInputsValuesInner.md
1295
1296
  docs/PassChange.md
1296
1297
  docs/PassChangeLogType.md
1297
1298
  docs/PassExchange.md
1299
+ docs/PassResponseImportResult.md
1300
+ docs/PassResponseImportSummary.md
1301
+ docs/PassResponsesImportInputs.md
1302
+ docs/PassResponsesImportInputsRowsInner.md
1303
+ docs/PassResponsesImportInputsRowsInnerValuesInner.md
1298
1304
  docs/PassTypeAccessLevel.md
1299
1305
  docs/PassTypeCreateInputs.md
1300
1306
  docs/PassTypeExchangeTargetCreateInputs.md
@@ -1420,7 +1426,6 @@ docs/SeriesRegistration.md
1420
1426
  docs/SeriesRegistrationCreateInputs.md
1421
1427
  docs/SeriesRegistrationQuestionResponse.md
1422
1428
  docs/SeriesRegistrationResponsesUpdateInputs.md
1423
- docs/SeriesRegistrationResponsesUpdateInputsResponsesInner.md
1424
1429
  docs/SeriesRegistrationUpdateInputs.md
1425
1430
  docs/SeriesRegistrationsApi.md
1426
1431
  docs/SeriesTranslation.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @connectedxm/admin-sdk@11.13.0
1
+ ## @connectedxm/admin-sdk@11.14.1
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.13.0 --save
39
+ npm install @connectedxm/admin-sdk@11.14.1 --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.13.0
7
+ * The version of the OpenAPI document: 11.14.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1624,6 +1624,7 @@ export interface BaseEventSession {
1624
1624
  'endTime': string;
1625
1625
  'registrationEnd'?: string;
1626
1626
  'onsiteRegistration': boolean;
1627
+ 'skipOnsiteValidations': boolean;
1627
1628
  'allowQuickRegister': boolean;
1628
1629
  'tracks': Array<BaseEventTrack>;
1629
1630
  'nonSession': boolean;
@@ -6249,6 +6250,7 @@ export interface EventSession {
6249
6250
  'endTime': string;
6250
6251
  'registrationEnd'?: string;
6251
6252
  'onsiteRegistration': boolean;
6253
+ 'skipOnsiteValidations': boolean;
6252
6254
  'allowQuickRegister': boolean;
6253
6255
  'tracks': Array<BaseEventTrack>;
6254
6256
  'nonSession': boolean;
@@ -6320,6 +6322,7 @@ export interface EventSessionCreateInputs {
6320
6322
  'sortOrder'?: number | null;
6321
6323
  'registrationEnabled'?: boolean;
6322
6324
  'onsiteRegistration'?: boolean;
6325
+ 'skipOnsiteValidations'?: boolean;
6323
6326
  'allowQuickRegister'?: boolean;
6324
6327
  'limit'?: number | null;
6325
6328
  'price'?: number | null;
@@ -6697,6 +6700,7 @@ export interface EventSessionUpdateInputs {
6697
6700
  'sortOrder'?: number | null;
6698
6701
  'registrationEnabled'?: boolean;
6699
6702
  'onsiteRegistration'?: boolean;
6703
+ 'skipOnsiteValidations'?: boolean;
6700
6704
  'allowQuickRegister'?: boolean;
6701
6705
  'limit'?: number | null;
6702
6706
  'price'?: number | null;
@@ -10844,6 +10848,16 @@ export enum ImportEventPassAttributes200ResponseStatusEnum {
10844
10848
  Ok = 'ok'
10845
10849
  }
10846
10850
 
10851
+ export interface ImportEventPassResponses200Response {
10852
+ 'status': ImportEventPassResponses200ResponseStatusEnum;
10853
+ 'message': string;
10854
+ 'data': PassResponseImportSummary;
10855
+ }
10856
+
10857
+ export enum ImportEventPassResponses200ResponseStatusEnum {
10858
+ Ok = 'ok'
10859
+ }
10860
+
10847
10861
  export interface ImportItem {
10848
10862
  'id': string;
10849
10863
  'importId': string;
@@ -12471,6 +12485,33 @@ export interface PassExchange {
12471
12485
  }
12472
12486
 
12473
12487
 
12488
+ export interface PassResponseImportResult {
12489
+ 'index': number;
12490
+ 'passId': string;
12491
+ 'status': PassResponseImportResultStatusEnum;
12492
+ 'message': string | null;
12493
+ }
12494
+
12495
+ export enum PassResponseImportResultStatusEnum {
12496
+ Resolved = 'resolved',
12497
+ Invalid = 'invalid'
12498
+ }
12499
+
12500
+ export interface PassResponseImportSummary {
12501
+ 'enqueued': number;
12502
+ 'results': Array<PassResponseImportResult>;
12503
+ }
12504
+ export interface PassResponsesImportInputs {
12505
+ 'rows': Array<PassResponsesImportInputsRowsInner>;
12506
+ }
12507
+ export interface PassResponsesImportInputsRowsInner {
12508
+ 'passId': string;
12509
+ 'values': Array<PassResponsesImportInputsRowsInnerValuesInner>;
12510
+ }
12511
+ export interface PassResponsesImportInputsRowsInnerValuesInner {
12512
+ 'questionId': string;
12513
+ 'value': string;
12514
+ }
12474
12515
 
12475
12516
  export enum PassTypeAccessLevel {
12476
12517
  Regular = 'regular',
@@ -13808,11 +13849,7 @@ export interface SeriesRegistrationQuestionResponse {
13808
13849
  'updatedAt': string;
13809
13850
  }
13810
13851
  export interface SeriesRegistrationResponsesUpdateInputs {
13811
- 'responses': Array<SeriesRegistrationResponsesUpdateInputsResponsesInner>;
13812
- }
13813
- export interface SeriesRegistrationResponsesUpdateInputsResponsesInner {
13814
- 'questionId': string;
13815
- 'value': string;
13852
+ 'responses': Array<PassResponsesImportInputsRowsInnerValuesInner>;
13816
13853
  }
13817
13854
  export interface SeriesRegistrationUpdateInputs {
13818
13855
  'status'?: PurchaseStatus;
@@ -68449,6 +68486,51 @@ export const EventsPassesResponsesApiAxiosParamCreator = function (configuration
68449
68486
  options: localVarRequestOptions,
68450
68487
  };
68451
68488
  },
68489
+ /**
68490
+ * Creates or updates question answers on up to 500 passes in one call, the write half of a CSV import. Each row\'s passId may be a pass id or the pass\'s alternateId. Each questionId must be a question id — question names are not unique on an event, so there is no name fallback. Values are given in the human form the pass export produces: choice questions accept a choice\'s label or id, checkbox cells accept a comma-separated list (use semicolons if a label itself contains a comma), toggles accept yes/no, and dates accept yyyy-MM-dd. File questions cannot be imported. Rows whose pass, question or value cannot be resolved are reported back as invalid and skipped rather than failing the batch. Resolution is synchronous, so every rejected row comes back in the response; the write is queued and runs on the effects side, so the response reports what was accepted rather than what changed. Requires read permission on events and read/update permission on attendees.
68491
+ * @summary Bulk set registration question answers across many passes
68492
+ * @param {string} eventId The event identifier
68493
+ * @param {PassResponsesImportInputs} passResponsesImportInputs
68494
+ * @param {*} [options] Override http request option.
68495
+ * @throws {RequiredError}
68496
+ */
68497
+ importEventPassResponses: async (eventId: string, passResponsesImportInputs: PassResponsesImportInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
68498
+ // verify required parameter 'eventId' is not null or undefined
68499
+ assertParamExists('importEventPassResponses', 'eventId', eventId)
68500
+ // verify required parameter 'passResponsesImportInputs' is not null or undefined
68501
+ assertParamExists('importEventPassResponses', 'passResponsesImportInputs', passResponsesImportInputs)
68502
+ const localVarPath = `/events/{eventId}/passes/responses/import`
68503
+ .replace('{eventId}', encodeURIComponent(String(eventId)));
68504
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
68505
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68506
+ let baseOptions;
68507
+ if (configuration) {
68508
+ baseOptions = configuration.baseOptions;
68509
+ }
68510
+
68511
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
68512
+ const localVarHeaderParameter = {} as any;
68513
+ const localVarQueryParameter = {} as any;
68514
+
68515
+ // authentication ApiKeyAuth required
68516
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
68517
+
68518
+ // authentication OrganizationId required
68519
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
68520
+
68521
+ localVarHeaderParameter['Content-Type'] = 'application/json';
68522
+ localVarHeaderParameter['Accept'] = 'application/json';
68523
+
68524
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
68525
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68526
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
68527
+ localVarRequestOptions.data = serializeDataIfNeeded(passResponsesImportInputs, localVarRequestOptions, configuration)
68528
+
68529
+ return {
68530
+ url: toPathString(localVarUrlObj),
68531
+ options: localVarRequestOptions,
68532
+ };
68533
+ },
68452
68534
  /**
68453
68535
  * Updates the response value for one registration question on the specified event pass, requires read permission on events and read/update permission on attendees.
68454
68536
  * @summary Update a single registration question response
@@ -68616,6 +68698,20 @@ export const EventsPassesResponsesApiFp = function(configuration?: Configuration
68616
68698
  const localVarOperationServerBasePath = operationServerMap['EventsPassesResponsesApi.getEventPassResponses']?.[localVarOperationServerIndex]?.url;
68617
68699
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68618
68700
  },
68701
+ /**
68702
+ * Creates or updates question answers on up to 500 passes in one call, the write half of a CSV import. Each row\'s passId may be a pass id or the pass\'s alternateId. Each questionId must be a question id — question names are not unique on an event, so there is no name fallback. Values are given in the human form the pass export produces: choice questions accept a choice\'s label or id, checkbox cells accept a comma-separated list (use semicolons if a label itself contains a comma), toggles accept yes/no, and dates accept yyyy-MM-dd. File questions cannot be imported. Rows whose pass, question or value cannot be resolved are reported back as invalid and skipped rather than failing the batch. Resolution is synchronous, so every rejected row comes back in the response; the write is queued and runs on the effects side, so the response reports what was accepted rather than what changed. Requires read permission on events and read/update permission on attendees.
68703
+ * @summary Bulk set registration question answers across many passes
68704
+ * @param {string} eventId The event identifier
68705
+ * @param {PassResponsesImportInputs} passResponsesImportInputs
68706
+ * @param {*} [options] Override http request option.
68707
+ * @throws {RequiredError}
68708
+ */
68709
+ async importEventPassResponses(eventId: string, passResponsesImportInputs: PassResponsesImportInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportEventPassResponses200Response>> {
68710
+ const localVarAxiosArgs = await localVarAxiosParamCreator.importEventPassResponses(eventId, passResponsesImportInputs, options);
68711
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
68712
+ const localVarOperationServerBasePath = operationServerMap['EventsPassesResponsesApi.importEventPassResponses']?.[localVarOperationServerIndex]?.url;
68713
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68714
+ },
68619
68715
  /**
68620
68716
  * Updates the response value for one registration question on the specified event pass, requires read permission on events and read/update permission on attendees.
68621
68717
  * @summary Update a single registration question response
@@ -68687,6 +68783,16 @@ export const EventsPassesResponsesApiFactory = function (configuration?: Configu
68687
68783
  getEventPassResponses(requestParameters: EventsPassesResponsesApiGetEventPassResponsesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassResponses200Response> {
68688
68784
  return localVarFp.getEventPassResponses(requestParameters.eventId, requestParameters.passId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
68689
68785
  },
68786
+ /**
68787
+ * Creates or updates question answers on up to 500 passes in one call, the write half of a CSV import. Each row\'s passId may be a pass id or the pass\'s alternateId. Each questionId must be a question id — question names are not unique on an event, so there is no name fallback. Values are given in the human form the pass export produces: choice questions accept a choice\'s label or id, checkbox cells accept a comma-separated list (use semicolons if a label itself contains a comma), toggles accept yes/no, and dates accept yyyy-MM-dd. File questions cannot be imported. Rows whose pass, question or value cannot be resolved are reported back as invalid and skipped rather than failing the batch. Resolution is synchronous, so every rejected row comes back in the response; the write is queued and runs on the effects side, so the response reports what was accepted rather than what changed. Requires read permission on events and read/update permission on attendees.
68788
+ * @summary Bulk set registration question answers across many passes
68789
+ * @param {EventsPassesResponsesApiImportEventPassResponsesRequest} requestParameters Request parameters.
68790
+ * @param {*} [options] Override http request option.
68791
+ * @throws {RequiredError}
68792
+ */
68793
+ importEventPassResponses(requestParameters: EventsPassesResponsesApiImportEventPassResponsesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImportEventPassResponses200Response> {
68794
+ return localVarFp.importEventPassResponses(requestParameters.eventId, requestParameters.passResponsesImportInputs, options).then((request) => request(axios, basePath));
68795
+ },
68690
68796
  /**
68691
68797
  * Updates the response value for one registration question on the specified event pass, requires read permission on events and read/update permission on attendees.
68692
68798
  * @summary Update a single registration question response
@@ -68805,6 +68911,18 @@ export interface EventsPassesResponsesApiGetEventPassResponsesRequest {
68805
68911
  readonly search?: string
68806
68912
  }
68807
68913
 
68914
+ /**
68915
+ * Request parameters for importEventPassResponses operation in EventsPassesResponsesApi.
68916
+ */
68917
+ export interface EventsPassesResponsesApiImportEventPassResponsesRequest {
68918
+ /**
68919
+ * The event identifier
68920
+ */
68921
+ readonly eventId: string
68922
+
68923
+ readonly passResponsesImportInputs: PassResponsesImportInputs
68924
+ }
68925
+
68808
68926
  /**
68809
68927
  * Request parameters for updateEventPassResponse operation in EventsPassesResponsesApi.
68810
68928
  */
@@ -68886,6 +69004,17 @@ export class EventsPassesResponsesApi extends BaseAPI {
68886
69004
  return EventsPassesResponsesApiFp(this.configuration).getEventPassResponses(requestParameters.eventId, requestParameters.passId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
68887
69005
  }
68888
69006
 
69007
+ /**
69008
+ * Creates or updates question answers on up to 500 passes in one call, the write half of a CSV import. Each row\'s passId may be a pass id or the pass\'s alternateId. Each questionId must be a question id — question names are not unique on an event, so there is no name fallback. Values are given in the human form the pass export produces: choice questions accept a choice\'s label or id, checkbox cells accept a comma-separated list (use semicolons if a label itself contains a comma), toggles accept yes/no, and dates accept yyyy-MM-dd. File questions cannot be imported. Rows whose pass, question or value cannot be resolved are reported back as invalid and skipped rather than failing the batch. Resolution is synchronous, so every rejected row comes back in the response; the write is queued and runs on the effects side, so the response reports what was accepted rather than what changed. Requires read permission on events and read/update permission on attendees.
69009
+ * @summary Bulk set registration question answers across many passes
69010
+ * @param {EventsPassesResponsesApiImportEventPassResponsesRequest} requestParameters Request parameters.
69011
+ * @param {*} [options] Override http request option.
69012
+ * @throws {RequiredError}
69013
+ */
69014
+ public importEventPassResponses(requestParameters: EventsPassesResponsesApiImportEventPassResponsesRequest, options?: RawAxiosRequestConfig) {
69015
+ return EventsPassesResponsesApiFp(this.configuration).importEventPassResponses(requestParameters.eventId, requestParameters.passResponsesImportInputs, options).then((request) => request(this.axios, this.basePath));
69016
+ }
69017
+
68889
69018
  /**
68890
69019
  * Updates the response value for one registration question on the specified event pass, requires read permission on events and read/update permission on attendees.
68891
69020
  * @summary Update a single registration question response
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.13.0
7
+ * The version of the OpenAPI document: 11.14.1
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.13.0
7
+ * The version of the OpenAPI document: 11.14.1
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.13.0
6
+ * The version of the OpenAPI document: 11.14.1
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.13.0
5
+ * The version of the OpenAPI document: 11.14.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1499,6 +1499,7 @@ export interface BaseEventSession {
1499
1499
  'endTime': string;
1500
1500
  'registrationEnd'?: string;
1501
1501
  'onsiteRegistration': boolean;
1502
+ 'skipOnsiteValidations': boolean;
1502
1503
  'allowQuickRegister': boolean;
1503
1504
  'tracks': Array<BaseEventTrack>;
1504
1505
  'nonSession': boolean;
@@ -5714,6 +5715,7 @@ export interface EventSession {
5714
5715
  'endTime': string;
5715
5716
  'registrationEnd'?: string;
5716
5717
  'onsiteRegistration': boolean;
5718
+ 'skipOnsiteValidations': boolean;
5717
5719
  'allowQuickRegister': boolean;
5718
5720
  'tracks': Array<BaseEventTrack>;
5719
5721
  'nonSession': boolean;
@@ -5779,6 +5781,7 @@ export interface EventSessionCreateInputs {
5779
5781
  'sortOrder'?: number | null;
5780
5782
  'registrationEnabled'?: boolean;
5781
5783
  'onsiteRegistration'?: boolean;
5784
+ 'skipOnsiteValidations'?: boolean;
5782
5785
  'allowQuickRegister'?: boolean;
5783
5786
  'limit'?: number | null;
5784
5787
  'price'?: number | null;
@@ -6145,6 +6148,7 @@ export interface EventSessionUpdateInputs {
6145
6148
  'sortOrder'?: number | null;
6146
6149
  'registrationEnabled'?: boolean;
6147
6150
  'onsiteRegistration'?: boolean;
6151
+ 'skipOnsiteValidations'?: boolean;
6148
6152
  'allowQuickRegister'?: boolean;
6149
6153
  'limit'?: number | null;
6150
6154
  'price'?: number | null;
@@ -9572,6 +9576,14 @@ export interface ImportEventPassAttributes200Response {
9572
9576
  export declare enum ImportEventPassAttributes200ResponseStatusEnum {
9573
9577
  Ok = "ok"
9574
9578
  }
9579
+ export interface ImportEventPassResponses200Response {
9580
+ 'status': ImportEventPassResponses200ResponseStatusEnum;
9581
+ 'message': string;
9582
+ 'data': PassResponseImportSummary;
9583
+ }
9584
+ export declare enum ImportEventPassResponses200ResponseStatusEnum {
9585
+ Ok = "ok"
9586
+ }
9575
9587
  export interface ImportItem {
9576
9588
  'id': string;
9577
9589
  'importId': string;
@@ -11076,6 +11088,31 @@ export interface PassExchange {
11076
11088
  'pass': BaseEventPass;
11077
11089
  'createdAt': string;
11078
11090
  }
11091
+ export interface PassResponseImportResult {
11092
+ 'index': number;
11093
+ 'passId': string;
11094
+ 'status': PassResponseImportResultStatusEnum;
11095
+ 'message': string | null;
11096
+ }
11097
+ export declare enum PassResponseImportResultStatusEnum {
11098
+ Resolved = "resolved",
11099
+ Invalid = "invalid"
11100
+ }
11101
+ export interface PassResponseImportSummary {
11102
+ 'enqueued': number;
11103
+ 'results': Array<PassResponseImportResult>;
11104
+ }
11105
+ export interface PassResponsesImportInputs {
11106
+ 'rows': Array<PassResponsesImportInputsRowsInner>;
11107
+ }
11108
+ export interface PassResponsesImportInputsRowsInner {
11109
+ 'passId': string;
11110
+ 'values': Array<PassResponsesImportInputsRowsInnerValuesInner>;
11111
+ }
11112
+ export interface PassResponsesImportInputsRowsInnerValuesInner {
11113
+ 'questionId': string;
11114
+ 'value': string;
11115
+ }
11079
11116
  export declare enum PassTypeAccessLevel {
11080
11117
  Regular = "regular",
11081
11118
  Virtual = "virtual",
@@ -12292,11 +12329,7 @@ export interface SeriesRegistrationQuestionResponse {
12292
12329
  'updatedAt': string;
12293
12330
  }
12294
12331
  export interface SeriesRegistrationResponsesUpdateInputs {
12295
- 'responses': Array<SeriesRegistrationResponsesUpdateInputsResponsesInner>;
12296
- }
12297
- export interface SeriesRegistrationResponsesUpdateInputsResponsesInner {
12298
- 'questionId': string;
12299
- 'value': string;
12332
+ 'responses': Array<PassResponsesImportInputsRowsInnerValuesInner>;
12300
12333
  }
12301
12334
  export interface SeriesRegistrationUpdateInputs {
12302
12335
  'status'?: PurchaseStatus;
@@ -40540,6 +40573,15 @@ export declare const EventsPassesResponsesApiAxiosParamCreator: (configuration?:
40540
40573
  * @throws {RequiredError}
40541
40574
  */
40542
40575
  getEventPassResponses: (eventId: string, passId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40576
+ /**
40577
+ * Creates or updates question answers on up to 500 passes in one call, the write half of a CSV import. Each row\'s passId may be a pass id or the pass\'s alternateId. Each questionId must be a question id — question names are not unique on an event, so there is no name fallback. Values are given in the human form the pass export produces: choice questions accept a choice\'s label or id, checkbox cells accept a comma-separated list (use semicolons if a label itself contains a comma), toggles accept yes/no, and dates accept yyyy-MM-dd. File questions cannot be imported. Rows whose pass, question or value cannot be resolved are reported back as invalid and skipped rather than failing the batch. Resolution is synchronous, so every rejected row comes back in the response; the write is queued and runs on the effects side, so the response reports what was accepted rather than what changed. Requires read permission on events and read/update permission on attendees.
40578
+ * @summary Bulk set registration question answers across many passes
40579
+ * @param {string} eventId The event identifier
40580
+ * @param {PassResponsesImportInputs} passResponsesImportInputs
40581
+ * @param {*} [options] Override http request option.
40582
+ * @throws {RequiredError}
40583
+ */
40584
+ importEventPassResponses: (eventId: string, passResponsesImportInputs: PassResponsesImportInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40543
40585
  /**
40544
40586
  * Updates the response value for one registration question on the specified event pass, requires read permission on events and read/update permission on attendees.
40545
40587
  * @summary Update a single registration question response
@@ -40604,6 +40646,15 @@ export declare const EventsPassesResponsesApiFp: (configuration?: Configuration)
40604
40646
  * @throws {RequiredError}
40605
40647
  */
40606
40648
  getEventPassResponses(eventId: string, passId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassResponses200Response>>;
40649
+ /**
40650
+ * Creates or updates question answers on up to 500 passes in one call, the write half of a CSV import. Each row\'s passId may be a pass id or the pass\'s alternateId. Each questionId must be a question id — question names are not unique on an event, so there is no name fallback. Values are given in the human form the pass export produces: choice questions accept a choice\'s label or id, checkbox cells accept a comma-separated list (use semicolons if a label itself contains a comma), toggles accept yes/no, and dates accept yyyy-MM-dd. File questions cannot be imported. Rows whose pass, question or value cannot be resolved are reported back as invalid and skipped rather than failing the batch. Resolution is synchronous, so every rejected row comes back in the response; the write is queued and runs on the effects side, so the response reports what was accepted rather than what changed. Requires read permission on events and read/update permission on attendees.
40651
+ * @summary Bulk set registration question answers across many passes
40652
+ * @param {string} eventId The event identifier
40653
+ * @param {PassResponsesImportInputs} passResponsesImportInputs
40654
+ * @param {*} [options] Override http request option.
40655
+ * @throws {RequiredError}
40656
+ */
40657
+ importEventPassResponses(eventId: string, passResponsesImportInputs: PassResponsesImportInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportEventPassResponses200Response>>;
40607
40658
  /**
40608
40659
  * Updates the response value for one registration question on the specified event pass, requires read permission on events and read/update permission on attendees.
40609
40660
  * @summary Update a single registration question response
@@ -40655,6 +40706,14 @@ export declare const EventsPassesResponsesApiFactory: (configuration?: Configura
40655
40706
  * @throws {RequiredError}
40656
40707
  */
40657
40708
  getEventPassResponses(requestParameters: EventsPassesResponsesApiGetEventPassResponsesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassResponses200Response>;
40709
+ /**
40710
+ * Creates or updates question answers on up to 500 passes in one call, the write half of a CSV import. Each row\'s passId may be a pass id or the pass\'s alternateId. Each questionId must be a question id — question names are not unique on an event, so there is no name fallback. Values are given in the human form the pass export produces: choice questions accept a choice\'s label or id, checkbox cells accept a comma-separated list (use semicolons if a label itself contains a comma), toggles accept yes/no, and dates accept yyyy-MM-dd. File questions cannot be imported. Rows whose pass, question or value cannot be resolved are reported back as invalid and skipped rather than failing the batch. Resolution is synchronous, so every rejected row comes back in the response; the write is queued and runs on the effects side, so the response reports what was accepted rather than what changed. Requires read permission on events and read/update permission on attendees.
40711
+ * @summary Bulk set registration question answers across many passes
40712
+ * @param {EventsPassesResponsesApiImportEventPassResponsesRequest} requestParameters Request parameters.
40713
+ * @param {*} [options] Override http request option.
40714
+ * @throws {RequiredError}
40715
+ */
40716
+ importEventPassResponses(requestParameters: EventsPassesResponsesApiImportEventPassResponsesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImportEventPassResponses200Response>;
40658
40717
  /**
40659
40718
  * Updates the response value for one registration question on the specified event pass, requires read permission on events and read/update permission on attendees.
40660
40719
  * @summary Update a single registration question response
@@ -40751,6 +40810,16 @@ export interface EventsPassesResponsesApiGetEventPassResponsesRequest {
40751
40810
  */
40752
40811
  readonly search?: string;
40753
40812
  }
40813
+ /**
40814
+ * Request parameters for importEventPassResponses operation in EventsPassesResponsesApi.
40815
+ */
40816
+ export interface EventsPassesResponsesApiImportEventPassResponsesRequest {
40817
+ /**
40818
+ * The event identifier
40819
+ */
40820
+ readonly eventId: string;
40821
+ readonly passResponsesImportInputs: PassResponsesImportInputs;
40822
+ }
40754
40823
  /**
40755
40824
  * Request parameters for updateEventPassResponse operation in EventsPassesResponsesApi.
40756
40825
  */
@@ -40815,6 +40884,14 @@ export declare class EventsPassesResponsesApi extends BaseAPI {
40815
40884
  * @throws {RequiredError}
40816
40885
  */
40817
40886
  getEventPassResponses(requestParameters: EventsPassesResponsesApiGetEventPassResponsesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventPassResponses200Response, any, {}, any>>;
40887
+ /**
40888
+ * Creates or updates question answers on up to 500 passes in one call, the write half of a CSV import. Each row\'s passId may be a pass id or the pass\'s alternateId. Each questionId must be a question id — question names are not unique on an event, so there is no name fallback. Values are given in the human form the pass export produces: choice questions accept a choice\'s label or id, checkbox cells accept a comma-separated list (use semicolons if a label itself contains a comma), toggles accept yes/no, and dates accept yyyy-MM-dd. File questions cannot be imported. Rows whose pass, question or value cannot be resolved are reported back as invalid and skipped rather than failing the batch. Resolution is synchronous, so every rejected row comes back in the response; the write is queued and runs on the effects side, so the response reports what was accepted rather than what changed. Requires read permission on events and read/update permission on attendees.
40889
+ * @summary Bulk set registration question answers across many passes
40890
+ * @param {EventsPassesResponsesApiImportEventPassResponsesRequest} requestParameters Request parameters.
40891
+ * @param {*} [options] Override http request option.
40892
+ * @throws {RequiredError}
40893
+ */
40894
+ importEventPassResponses(requestParameters: EventsPassesResponsesApiImportEventPassResponsesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportEventPassResponses200Response, any, {}, any>>;
40818
40895
  /**
40819
40896
  * Updates the response value for one registration question on the specified event pass, requires read permission on events and read/update permission on attendees.
40820
40897
  * @summary Update a single registration question response