@connectedxm/admin-sdk 7.3.1 → 7.4.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.
package/dist/esm/api.d.ts CHANGED
@@ -1260,7 +1260,7 @@ export interface BaseEventPass {
1260
1260
  'ticket': BaseEventPassType;
1261
1261
  'location': string | null;
1262
1262
  'usedAt': string | null;
1263
- 'transfer': BaseEventPassTransfer;
1263
+ 'transferId': string | null;
1264
1264
  'responses': Array<BaseRegistrationQuestionResponse>;
1265
1265
  'status': PurchaseStatus;
1266
1266
  'reservationId': string | null;
@@ -1283,11 +1283,6 @@ export interface BaseEventPassAttendeeAccount {
1283
1283
  'lastName': string | null;
1284
1284
  'email': string;
1285
1285
  }
1286
- export interface BaseEventPassTransfer {
1287
- 'id': string;
1288
- 'email': string;
1289
- 'createdAt': string;
1290
- }
1291
1286
  export interface BaseEventPassType {
1292
1287
  'id': string;
1293
1288
  'slug': string;
@@ -2399,12 +2394,6 @@ export interface BaseTier {
2399
2394
  'imageId': string | null;
2400
2395
  'image': BaseImage | null;
2401
2396
  }
2402
- export interface BaseTransfer {
2403
- 'id': string;
2404
- 'email': string;
2405
- 'purchaseId': string;
2406
- 'purchase': BaseEventPass;
2407
- }
2408
2397
  export interface BaseTransferLog {
2409
2398
  'id': number;
2410
2399
  'fromRegistrationId': string;
@@ -4897,7 +4886,7 @@ export interface EventPass {
4897
4886
  'ticket': BaseEventPassType;
4898
4887
  'location': string | null;
4899
4888
  'usedAt': string | null;
4900
- 'transfer': BaseEventPassTransfer;
4889
+ 'transferId': string | null;
4901
4890
  'responses': Array<BaseRegistrationQuestionResponse>;
4902
4891
  'status': PurchaseStatus;
4903
4892
  'reservationId': string | null;
@@ -7166,6 +7155,15 @@ export interface GetEventPassResponses200Response {
7166
7155
  export declare enum GetEventPassResponses200ResponseStatusEnum {
7167
7156
  Ok = "ok"
7168
7157
  }
7158
+ export interface GetEventPassTransfers200Response {
7159
+ 'status': GetEventPassTransfers200ResponseStatusEnum;
7160
+ 'message': string;
7161
+ 'data': Array<Transfer>;
7162
+ 'count'?: number;
7163
+ }
7164
+ export declare enum GetEventPassTransfers200ResponseStatusEnum {
7165
+ Ok = "ok"
7166
+ }
7169
7167
  export interface GetEventPassTypePriceSchedule200Response {
7170
7168
  'status': GetEventPassTypePriceSchedule200ResponseStatusEnum;
7171
7169
  'message': string;
@@ -12321,11 +12319,15 @@ export interface TierUpdateInputs {
12321
12319
  }
12322
12320
  export interface Transfer {
12323
12321
  'id': string;
12322
+ 'passId': string;
12324
12323
  'email': string;
12325
- 'purchaseId': string;
12326
- 'purchase': BaseEventPass;
12324
+ 'message': string | null;
12327
12325
  'createdAt': string;
12328
- 'updatedAt': string;
12326
+ 'eventId': string;
12327
+ 'event': BaseEvent;
12328
+ 'fromAccountId': string;
12329
+ 'fromAccount': OrganizationAllOfOAuth;
12330
+ 'pass': BaseEventPass;
12329
12331
  }
12330
12332
  export interface TransferLog {
12331
12333
  'id': number;
@@ -57286,6 +57288,138 @@ export declare class EventsTracksTranslationsApi extends BaseAPI {
57286
57288
  */
57287
57289
  updateEventTrackTranslation(requestParameters: EventsTracksTranslationsApiUpdateEventTrackTranslationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncAccounts200Response, any, {}>>;
57288
57290
  }
57291
+ /**
57292
+ * EventsTransfersApi - axios parameter creator
57293
+ */
57294
+ export declare const EventsTransfersApiAxiosParamCreator: (configuration?: Configuration) => {
57295
+ /**
57296
+ * Cancel Event Pass Transfer endpoint
57297
+ * @summary Cancel Event Pass Transfer
57298
+ * @param {string} eventId The event identifier
57299
+ * @param {string} transferId The transfer identifier
57300
+ * @param {*} [options] Override http request option.
57301
+ * @throws {RequiredError}
57302
+ */
57303
+ cancelEventPassTransfer: (eventId: string, transferId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
57304
+ /**
57305
+ * Get Event Pass Transfers endpoint
57306
+ * @summary Get Event Pass Transfers
57307
+ * @param {string} eventId The event identifier
57308
+ * @param {number} [page] Page number
57309
+ * @param {number} [pageSize] Number of items per page
57310
+ * @param {string} [orderBy] Field to order by
57311
+ * @param {string} [search] Search query
57312
+ * @param {*} [options] Override http request option.
57313
+ * @throws {RequiredError}
57314
+ */
57315
+ getEventPassTransfers: (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
57316
+ };
57317
+ /**
57318
+ * EventsTransfersApi - functional programming interface
57319
+ */
57320
+ export declare const EventsTransfersApiFp: (configuration?: Configuration) => {
57321
+ /**
57322
+ * Cancel Event Pass Transfer endpoint
57323
+ * @summary Cancel Event Pass Transfer
57324
+ * @param {string} eventId The event identifier
57325
+ * @param {string} transferId The transfer identifier
57326
+ * @param {*} [options] Override http request option.
57327
+ * @throws {RequiredError}
57328
+ */
57329
+ cancelEventPassTransfer(eventId: string, transferId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
57330
+ /**
57331
+ * Get Event Pass Transfers endpoint
57332
+ * @summary Get Event Pass Transfers
57333
+ * @param {string} eventId The event identifier
57334
+ * @param {number} [page] Page number
57335
+ * @param {number} [pageSize] Number of items per page
57336
+ * @param {string} [orderBy] Field to order by
57337
+ * @param {string} [search] Search query
57338
+ * @param {*} [options] Override http request option.
57339
+ * @throws {RequiredError}
57340
+ */
57341
+ getEventPassTransfers(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassTransfers200Response>>;
57342
+ };
57343
+ /**
57344
+ * EventsTransfersApi - factory interface
57345
+ */
57346
+ export declare const EventsTransfersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
57347
+ /**
57348
+ * Cancel Event Pass Transfer endpoint
57349
+ * @summary Cancel Event Pass Transfer
57350
+ * @param {EventsTransfersApiCancelEventPassTransferRequest} requestParameters Request parameters.
57351
+ * @param {*} [options] Override http request option.
57352
+ * @throws {RequiredError}
57353
+ */
57354
+ cancelEventPassTransfer(requestParameters: EventsTransfersApiCancelEventPassTransferRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncAccounts200Response>;
57355
+ /**
57356
+ * Get Event Pass Transfers endpoint
57357
+ * @summary Get Event Pass Transfers
57358
+ * @param {EventsTransfersApiGetEventPassTransfersRequest} requestParameters Request parameters.
57359
+ * @param {*} [options] Override http request option.
57360
+ * @throws {RequiredError}
57361
+ */
57362
+ getEventPassTransfers(requestParameters: EventsTransfersApiGetEventPassTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassTransfers200Response>;
57363
+ };
57364
+ /**
57365
+ * Request parameters for cancelEventPassTransfer operation in EventsTransfersApi.
57366
+ */
57367
+ export interface EventsTransfersApiCancelEventPassTransferRequest {
57368
+ /**
57369
+ * The event identifier
57370
+ */
57371
+ readonly eventId: string;
57372
+ /**
57373
+ * The transfer identifier
57374
+ */
57375
+ readonly transferId: string;
57376
+ }
57377
+ /**
57378
+ * Request parameters for getEventPassTransfers operation in EventsTransfersApi.
57379
+ */
57380
+ export interface EventsTransfersApiGetEventPassTransfersRequest {
57381
+ /**
57382
+ * The event identifier
57383
+ */
57384
+ readonly eventId: string;
57385
+ /**
57386
+ * Page number
57387
+ */
57388
+ readonly page?: number;
57389
+ /**
57390
+ * Number of items per page
57391
+ */
57392
+ readonly pageSize?: number;
57393
+ /**
57394
+ * Field to order by
57395
+ */
57396
+ readonly orderBy?: string;
57397
+ /**
57398
+ * Search query
57399
+ */
57400
+ readonly search?: string;
57401
+ }
57402
+ /**
57403
+ * EventsTransfersApi - object-oriented interface
57404
+ */
57405
+ export declare class EventsTransfersApi extends BaseAPI {
57406
+ /**
57407
+ * Cancel Event Pass Transfer endpoint
57408
+ * @summary Cancel Event Pass Transfer
57409
+ * @param {EventsTransfersApiCancelEventPassTransferRequest} requestParameters Request parameters.
57410
+ * @param {*} [options] Override http request option.
57411
+ * @throws {RequiredError}
57412
+ */
57413
+ cancelEventPassTransfer(requestParameters: EventsTransfersApiCancelEventPassTransferRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncAccounts200Response, any, {}>>;
57414
+ /**
57415
+ * Get Event Pass Transfers endpoint
57416
+ * @summary Get Event Pass Transfers
57417
+ * @param {EventsTransfersApiGetEventPassTransfersRequest} requestParameters Request parameters.
57418
+ * @param {*} [options] Override http request option.
57419
+ * @throws {RequiredError}
57420
+ */
57421
+ getEventPassTransfers(requestParameters: EventsTransfersApiGetEventPassTransfersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventPassTransfers200Response, any, {}>>;
57422
+ }
57289
57423
  /**
57290
57424
  * EventsTranslationsApi - axios parameter creator
57291
57425
  */
package/dist/esm/api.js CHANGED
@@ -1160,6 +1160,10 @@ export var GetEventPassResponses200ResponseStatusEnum;
1160
1160
  (function (GetEventPassResponses200ResponseStatusEnum) {
1161
1161
  GetEventPassResponses200ResponseStatusEnum["Ok"] = "ok";
1162
1162
  })(GetEventPassResponses200ResponseStatusEnum || (GetEventPassResponses200ResponseStatusEnum = {}));
1163
+ export var GetEventPassTransfers200ResponseStatusEnum;
1164
+ (function (GetEventPassTransfers200ResponseStatusEnum) {
1165
+ GetEventPassTransfers200ResponseStatusEnum["Ok"] = "ok";
1166
+ })(GetEventPassTransfers200ResponseStatusEnum || (GetEventPassTransfers200ResponseStatusEnum = {}));
1163
1167
  export var GetEventPassTypePriceSchedule200ResponseStatusEnum;
1164
1168
  (function (GetEventPassTypePriceSchedule200ResponseStatusEnum) {
1165
1169
  GetEventPassTypePriceSchedule200ResponseStatusEnum["Ok"] = "ok";
@@ -68740,6 +68744,199 @@ export class EventsTracksTranslationsApi extends BaseAPI {
68740
68744
  return EventsTracksTranslationsApiFp(this.configuration).updateEventTrackTranslation(requestParameters.eventId, requestParameters.trackId, requestParameters.locale, requestParameters.eventTrackTranslationUpdateInputs, options).then((request) => request(this.axios, this.basePath));
68741
68745
  }
68742
68746
  }
68747
+ /**
68748
+ * EventsTransfersApi - axios parameter creator
68749
+ */
68750
+ export const EventsTransfersApiAxiosParamCreator = function (configuration) {
68751
+ return {
68752
+ /**
68753
+ * Cancel Event Pass Transfer endpoint
68754
+ * @summary Cancel Event Pass Transfer
68755
+ * @param {string} eventId The event identifier
68756
+ * @param {string} transferId The transfer identifier
68757
+ * @param {*} [options] Override http request option.
68758
+ * @throws {RequiredError}
68759
+ */
68760
+ cancelEventPassTransfer: (eventId_1, transferId_1, ...args_1) => __awaiter(this, [eventId_1, transferId_1, ...args_1], void 0, function* (eventId, transferId, options = {}) {
68761
+ // verify required parameter 'eventId' is not null or undefined
68762
+ assertParamExists('cancelEventPassTransfer', 'eventId', eventId);
68763
+ // verify required parameter 'transferId' is not null or undefined
68764
+ assertParamExists('cancelEventPassTransfer', 'transferId', transferId);
68765
+ const localVarPath = `/events/{eventId}/transfers/{transferId}`
68766
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
68767
+ .replace(`{${"transferId"}}`, encodeURIComponent(String(transferId)));
68768
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
68769
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68770
+ let baseOptions;
68771
+ if (configuration) {
68772
+ baseOptions = configuration.baseOptions;
68773
+ }
68774
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
68775
+ const localVarHeaderParameter = {};
68776
+ const localVarQueryParameter = {};
68777
+ // authentication ApiKeyAuth required
68778
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
68779
+ // authentication OrganizationId required
68780
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
68781
+ localVarHeaderParameter['Accept'] = 'application/json';
68782
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
68783
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68784
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
68785
+ return {
68786
+ url: toPathString(localVarUrlObj),
68787
+ options: localVarRequestOptions,
68788
+ };
68789
+ }),
68790
+ /**
68791
+ * Get Event Pass Transfers endpoint
68792
+ * @summary Get Event Pass Transfers
68793
+ * @param {string} eventId The event identifier
68794
+ * @param {number} [page] Page number
68795
+ * @param {number} [pageSize] Number of items per page
68796
+ * @param {string} [orderBy] Field to order by
68797
+ * @param {string} [search] Search query
68798
+ * @param {*} [options] Override http request option.
68799
+ * @throws {RequiredError}
68800
+ */
68801
+ getEventPassTransfers: (eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, page, pageSize, orderBy, search, options = {}) {
68802
+ // verify required parameter 'eventId' is not null or undefined
68803
+ assertParamExists('getEventPassTransfers', 'eventId', eventId);
68804
+ const localVarPath = `/events/{eventId}/transfers`
68805
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
68806
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
68807
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68808
+ let baseOptions;
68809
+ if (configuration) {
68810
+ baseOptions = configuration.baseOptions;
68811
+ }
68812
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
68813
+ const localVarHeaderParameter = {};
68814
+ const localVarQueryParameter = {};
68815
+ // authentication ApiKeyAuth required
68816
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
68817
+ // authentication OrganizationId required
68818
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
68819
+ if (page !== undefined) {
68820
+ localVarQueryParameter['page'] = page;
68821
+ }
68822
+ if (pageSize !== undefined) {
68823
+ localVarQueryParameter['pageSize'] = pageSize;
68824
+ }
68825
+ if (orderBy !== undefined) {
68826
+ localVarQueryParameter['orderBy'] = orderBy;
68827
+ }
68828
+ if (search !== undefined) {
68829
+ localVarQueryParameter['search'] = search;
68830
+ }
68831
+ localVarHeaderParameter['Accept'] = 'application/json';
68832
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
68833
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68834
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
68835
+ return {
68836
+ url: toPathString(localVarUrlObj),
68837
+ options: localVarRequestOptions,
68838
+ };
68839
+ }),
68840
+ };
68841
+ };
68842
+ /**
68843
+ * EventsTransfersApi - functional programming interface
68844
+ */
68845
+ export const EventsTransfersApiFp = function (configuration) {
68846
+ const localVarAxiosParamCreator = EventsTransfersApiAxiosParamCreator(configuration);
68847
+ return {
68848
+ /**
68849
+ * Cancel Event Pass Transfer endpoint
68850
+ * @summary Cancel Event Pass Transfer
68851
+ * @param {string} eventId The event identifier
68852
+ * @param {string} transferId The transfer identifier
68853
+ * @param {*} [options] Override http request option.
68854
+ * @throws {RequiredError}
68855
+ */
68856
+ cancelEventPassTransfer(eventId, transferId, options) {
68857
+ return __awaiter(this, void 0, void 0, function* () {
68858
+ var _a, _b, _c;
68859
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelEventPassTransfer(eventId, transferId, options);
68860
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
68861
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsTransfersApi.cancelEventPassTransfer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
68862
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68863
+ });
68864
+ },
68865
+ /**
68866
+ * Get Event Pass Transfers endpoint
68867
+ * @summary Get Event Pass Transfers
68868
+ * @param {string} eventId The event identifier
68869
+ * @param {number} [page] Page number
68870
+ * @param {number} [pageSize] Number of items per page
68871
+ * @param {string} [orderBy] Field to order by
68872
+ * @param {string} [search] Search query
68873
+ * @param {*} [options] Override http request option.
68874
+ * @throws {RequiredError}
68875
+ */
68876
+ getEventPassTransfers(eventId, page, pageSize, orderBy, search, options) {
68877
+ return __awaiter(this, void 0, void 0, function* () {
68878
+ var _a, _b, _c;
68879
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPassTransfers(eventId, page, pageSize, orderBy, search, options);
68880
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
68881
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsTransfersApi.getEventPassTransfers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
68882
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68883
+ });
68884
+ },
68885
+ };
68886
+ };
68887
+ /**
68888
+ * EventsTransfersApi - factory interface
68889
+ */
68890
+ export const EventsTransfersApiFactory = function (configuration, basePath, axios) {
68891
+ const localVarFp = EventsTransfersApiFp(configuration);
68892
+ return {
68893
+ /**
68894
+ * Cancel Event Pass Transfer endpoint
68895
+ * @summary Cancel Event Pass Transfer
68896
+ * @param {EventsTransfersApiCancelEventPassTransferRequest} requestParameters Request parameters.
68897
+ * @param {*} [options] Override http request option.
68898
+ * @throws {RequiredError}
68899
+ */
68900
+ cancelEventPassTransfer(requestParameters, options) {
68901
+ return localVarFp.cancelEventPassTransfer(requestParameters.eventId, requestParameters.transferId, options).then((request) => request(axios, basePath));
68902
+ },
68903
+ /**
68904
+ * Get Event Pass Transfers endpoint
68905
+ * @summary Get Event Pass Transfers
68906
+ * @param {EventsTransfersApiGetEventPassTransfersRequest} requestParameters Request parameters.
68907
+ * @param {*} [options] Override http request option.
68908
+ * @throws {RequiredError}
68909
+ */
68910
+ getEventPassTransfers(requestParameters, options) {
68911
+ return localVarFp.getEventPassTransfers(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
68912
+ },
68913
+ };
68914
+ };
68915
+ /**
68916
+ * EventsTransfersApi - object-oriented interface
68917
+ */
68918
+ export class EventsTransfersApi extends BaseAPI {
68919
+ /**
68920
+ * Cancel Event Pass Transfer endpoint
68921
+ * @summary Cancel Event Pass Transfer
68922
+ * @param {EventsTransfersApiCancelEventPassTransferRequest} requestParameters Request parameters.
68923
+ * @param {*} [options] Override http request option.
68924
+ * @throws {RequiredError}
68925
+ */
68926
+ cancelEventPassTransfer(requestParameters, options) {
68927
+ return EventsTransfersApiFp(this.configuration).cancelEventPassTransfer(requestParameters.eventId, requestParameters.transferId, options).then((request) => request(this.axios, this.basePath));
68928
+ }
68929
+ /**
68930
+ * Get Event Pass Transfers endpoint
68931
+ * @summary Get Event Pass Transfers
68932
+ * @param {EventsTransfersApiGetEventPassTransfersRequest} requestParameters Request parameters.
68933
+ * @param {*} [options] Override http request option.
68934
+ * @throws {RequiredError}
68935
+ */
68936
+ getEventPassTransfers(requestParameters, options) {
68937
+ return EventsTransfersApiFp(this.configuration).getEventPassTransfers(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
68938
+ }
68939
+ }
68743
68940
  /**
68744
68941
  * EventsTranslationsApi - axios parameter creator
68745
68942
  */
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  **ticket** | [**BaseEventPassType**](BaseEventPassType.md) | | [default to undefined]
15
15
  **location** | **string** | | [default to undefined]
16
16
  **usedAt** | **string** | | [default to undefined]
17
- **transfer** | [**BaseEventPassTransfer**](BaseEventPassTransfer.md) | | [default to undefined]
17
+ **transferId** | **string** | | [default to undefined]
18
18
  **responses** | [**Array&lt;BaseRegistrationQuestionResponse&gt;**](BaseRegistrationQuestionResponse.md) | | [default to undefined]
19
19
  **status** | [**PurchaseStatus**](PurchaseStatus.md) | | [default to undefined]
20
20
  **reservationId** | **string** | | [default to undefined]
@@ -43,7 +43,7 @@ const instance: BaseEventPass = {
43
43
  ticket,
44
44
  location,
45
45
  usedAt,
46
- transfer,
46
+ transferId,
47
47
  responses,
48
48
  status,
49
49
  reservationId,
package/docs/EventPass.md CHANGED
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  **ticket** | [**BaseEventPassType**](BaseEventPassType.md) | | [default to undefined]
15
15
  **location** | **string** | | [default to undefined]
16
16
  **usedAt** | **string** | | [default to undefined]
17
- **transfer** | [**BaseEventPassTransfer**](BaseEventPassTransfer.md) | | [default to undefined]
17
+ **transferId** | **string** | | [default to undefined]
18
18
  **responses** | [**Array&lt;BaseRegistrationQuestionResponse&gt;**](BaseRegistrationQuestionResponse.md) | | [default to undefined]
19
19
  **status** | [**PurchaseStatus**](PurchaseStatus.md) | | [default to undefined]
20
20
  **reservationId** | **string** | | [default to undefined]
@@ -50,7 +50,7 @@ const instance: EventPass = {
50
50
  ticket,
51
51
  location,
52
52
  usedAt,
53
- transfer,
53
+ transferId,
54
54
  responses,
55
55
  status,
56
56
  reservationId,
@@ -0,0 +1,126 @@
1
+ # EventsTransfersApi
2
+
3
+ All URIs are relative to *https://admin-api.connected.dev*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**cancelEventPassTransfer**](#canceleventpasstransfer) | **DELETE** /events/{eventId}/transfers/{transferId} | Cancel Event Pass Transfer|
8
+ |[**getEventPassTransfers**](#geteventpasstransfers) | **GET** /events/{eventId}/transfers | Get Event Pass Transfers|
9
+
10
+ # **cancelEventPassTransfer**
11
+ > SyncAccounts200Response cancelEventPassTransfer()
12
+
13
+ Cancel Event Pass Transfer endpoint
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ EventsTransfersApi,
20
+ Configuration
21
+ } from '@connectedxm/admin-sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new EventsTransfersApi(configuration);
25
+
26
+ let eventId: string; //The event identifier (default to undefined)
27
+ let transferId: string; //The transfer identifier (default to undefined)
28
+
29
+ const { status, data } = await apiInstance.cancelEventPassTransfer(
30
+ eventId,
31
+ transferId
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
40
+ | **transferId** | [**string**] | The transfer identifier | defaults to undefined|
41
+
42
+
43
+ ### Return type
44
+
45
+ **SyncAccounts200Response**
46
+
47
+ ### Authorization
48
+
49
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
50
+
51
+ ### HTTP request headers
52
+
53
+ - **Content-Type**: Not defined
54
+ - **Accept**: application/json
55
+
56
+
57
+ ### HTTP response details
58
+ | Status code | Description | Response headers |
59
+ |-------------|-------------|------------------|
60
+ |**200** | Successful response | - |
61
+
62
+ [[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)
63
+
64
+ # **getEventPassTransfers**
65
+ > GetEventPassTransfers200Response getEventPassTransfers()
66
+
67
+ Get Event Pass Transfers endpoint
68
+
69
+ ### Example
70
+
71
+ ```typescript
72
+ import {
73
+ EventsTransfersApi,
74
+ Configuration
75
+ } from '@connectedxm/admin-sdk';
76
+
77
+ const configuration = new Configuration();
78
+ const apiInstance = new EventsTransfersApi(configuration);
79
+
80
+ let eventId: string; //The event identifier (default to undefined)
81
+ let page: number; //Page number (optional) (default to 1)
82
+ let pageSize: number; //Number of items per page (optional) (default to 25)
83
+ let orderBy: string; //Field to order by (optional) (default to undefined)
84
+ let search: string; //Search query (optional) (default to undefined)
85
+
86
+ const { status, data } = await apiInstance.getEventPassTransfers(
87
+ eventId,
88
+ page,
89
+ pageSize,
90
+ orderBy,
91
+ search
92
+ );
93
+ ```
94
+
95
+ ### Parameters
96
+
97
+ |Name | Type | Description | Notes|
98
+ |------------- | ------------- | ------------- | -------------|
99
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
100
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
101
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
102
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
103
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
104
+
105
+
106
+ ### Return type
107
+
108
+ **GetEventPassTransfers200Response**
109
+
110
+ ### Authorization
111
+
112
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
113
+
114
+ ### HTTP request headers
115
+
116
+ - **Content-Type**: Not defined
117
+ - **Accept**: application/json
118
+
119
+
120
+ ### HTTP response details
121
+ | Status code | Description | Response headers |
122
+ |-------------|-------------|------------------|
123
+ |**200** | Successful response | - |
124
+
125
+ [[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)
126
+
@@ -0,0 +1,26 @@
1
+ # GetEventPassTransfers200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **status** | **string** | | [default to undefined]
9
+ **message** | **string** | | [default to undefined]
10
+ **data** | [**Array&lt;Transfer&gt;**](Transfer.md) | | [default to undefined]
11
+ **count** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GetEventPassTransfers200Response } from '@connectedxm/admin-sdk';
17
+
18
+ const instance: GetEventPassTransfers200Response = {
19
+ status,
20
+ message,
21
+ data,
22
+ count,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Transfer.md CHANGED
@@ -6,11 +6,15 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [default to undefined]
9
+ **passId** | **string** | | [default to undefined]
9
10
  **email** | **string** | | [default to undefined]
10
- **purchaseId** | **string** | | [default to undefined]
11
- **purchase** | [**BaseEventPass**](BaseEventPass.md) | | [default to undefined]
11
+ **message** | **string** | | [default to undefined]
12
12
  **createdAt** | **string** | | [default to undefined]
13
- **updatedAt** | **string** | | [default to undefined]
13
+ **eventId** | **string** | | [default to undefined]
14
+ **event** | [**BaseEvent**](BaseEvent.md) | | [default to undefined]
15
+ **fromAccountId** | **string** | | [default to undefined]
16
+ **fromAccount** | [**OrganizationAllOfOAuth**](OrganizationAllOfOAuth.md) | | [default to undefined]
17
+ **pass** | [**BaseEventPass**](BaseEventPass.md) | | [default to undefined]
14
18
 
15
19
  ## Example
16
20
 
@@ -19,11 +23,15 @@ import { Transfer } from '@connectedxm/admin-sdk';
19
23
 
20
24
  const instance: Transfer = {
21
25
  id,
26
+ passId,
22
27
  email,
23
- purchaseId,
24
- purchase,
28
+ message,
25
29
  createdAt,
26
- updatedAt,
30
+ eventId,
31
+ event,
32
+ fromAccountId,
33
+ fromAccount,
34
+ pass,
27
35
  };
28
36
  ```
29
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "7.3.1",
3
+ "version": "7.4.1",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {