@connectedxm/admin-sdk 7.3.1 → 7.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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
+ 'transfer': BaseEventPassTransfer | null;
1264
1264
  'responses': Array<BaseRegistrationQuestionResponse>;
1265
1265
  'status': PurchaseStatus;
1266
1266
  'reservationId': string | null;
@@ -1285,8 +1285,6 @@ export interface BaseEventPassAttendeeAccount {
1285
1285
  }
1286
1286
  export interface BaseEventPassTransfer {
1287
1287
  'id': string;
1288
- 'email': string;
1289
- 'createdAt': string;
1290
1288
  }
1291
1289
  export interface BaseEventPassType {
1292
1290
  'id': string;
@@ -2399,12 +2397,6 @@ export interface BaseTier {
2399
2397
  'imageId': string | null;
2400
2398
  'image': BaseImage | null;
2401
2399
  }
2402
- export interface BaseTransfer {
2403
- 'id': string;
2404
- 'email': string;
2405
- 'purchaseId': string;
2406
- 'purchase': BaseEventPass;
2407
- }
2408
2400
  export interface BaseTransferLog {
2409
2401
  'id': number;
2410
2402
  'fromRegistrationId': string;
@@ -4897,7 +4889,7 @@ export interface EventPass {
4897
4889
  'ticket': BaseEventPassType;
4898
4890
  'location': string | null;
4899
4891
  'usedAt': string | null;
4900
- 'transfer': BaseEventPassTransfer;
4892
+ 'transfer': BaseEventPassTransfer | null;
4901
4893
  'responses': Array<BaseRegistrationQuestionResponse>;
4902
4894
  'status': PurchaseStatus;
4903
4895
  'reservationId': string | null;
@@ -7166,6 +7158,15 @@ export interface GetEventPassResponses200Response {
7166
7158
  export declare enum GetEventPassResponses200ResponseStatusEnum {
7167
7159
  Ok = "ok"
7168
7160
  }
7161
+ export interface GetEventPassTransfers200Response {
7162
+ 'status': GetEventPassTransfers200ResponseStatusEnum;
7163
+ 'message': string;
7164
+ 'data': Array<Transfer>;
7165
+ 'count'?: number;
7166
+ }
7167
+ export declare enum GetEventPassTransfers200ResponseStatusEnum {
7168
+ Ok = "ok"
7169
+ }
7169
7170
  export interface GetEventPassTypePriceSchedule200Response {
7170
7171
  'status': GetEventPassTypePriceSchedule200ResponseStatusEnum;
7171
7172
  'message': string;
@@ -12321,11 +12322,15 @@ export interface TierUpdateInputs {
12321
12322
  }
12322
12323
  export interface Transfer {
12323
12324
  'id': string;
12325
+ 'passId': string;
12324
12326
  'email': string;
12325
- 'purchaseId': string;
12326
- 'purchase': BaseEventPass;
12327
+ 'message': string | null;
12327
12328
  'createdAt': string;
12328
- 'updatedAt': string;
12329
+ 'eventId': string;
12330
+ 'event': BaseEvent;
12331
+ 'fromAccountId': string;
12332
+ 'fromAccount': OrganizationAllOfOAuth;
12333
+ 'pass': BaseEventPass;
12329
12334
  }
12330
12335
  export interface TransferLog {
12331
12336
  'id': number;
@@ -57286,6 +57291,138 @@ export declare class EventsTracksTranslationsApi extends BaseAPI {
57286
57291
  */
57287
57292
  updateEventTrackTranslation(requestParameters: EventsTracksTranslationsApiUpdateEventTrackTranslationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncAccounts200Response, any, {}>>;
57288
57293
  }
57294
+ /**
57295
+ * EventsTransfersApi - axios parameter creator
57296
+ */
57297
+ export declare const EventsTransfersApiAxiosParamCreator: (configuration?: Configuration) => {
57298
+ /**
57299
+ * Cancel Event Pass Transfer endpoint
57300
+ * @summary Cancel Event Pass Transfer
57301
+ * @param {string} eventId The event identifier
57302
+ * @param {string} transferId The transfer identifier
57303
+ * @param {*} [options] Override http request option.
57304
+ * @throws {RequiredError}
57305
+ */
57306
+ cancelEventPassTransfer: (eventId: string, transferId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
57307
+ /**
57308
+ * Get Event Pass Transfers endpoint
57309
+ * @summary Get Event Pass Transfers
57310
+ * @param {string} eventId The event identifier
57311
+ * @param {number} [page] Page number
57312
+ * @param {number} [pageSize] Number of items per page
57313
+ * @param {string} [orderBy] Field to order by
57314
+ * @param {string} [search] Search query
57315
+ * @param {*} [options] Override http request option.
57316
+ * @throws {RequiredError}
57317
+ */
57318
+ getEventPassTransfers: (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
57319
+ };
57320
+ /**
57321
+ * EventsTransfersApi - functional programming interface
57322
+ */
57323
+ export declare const EventsTransfersApiFp: (configuration?: Configuration) => {
57324
+ /**
57325
+ * Cancel Event Pass Transfer endpoint
57326
+ * @summary Cancel Event Pass Transfer
57327
+ * @param {string} eventId The event identifier
57328
+ * @param {string} transferId The transfer identifier
57329
+ * @param {*} [options] Override http request option.
57330
+ * @throws {RequiredError}
57331
+ */
57332
+ cancelEventPassTransfer(eventId: string, transferId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
57333
+ /**
57334
+ * Get Event Pass Transfers endpoint
57335
+ * @summary Get Event Pass Transfers
57336
+ * @param {string} eventId The event identifier
57337
+ * @param {number} [page] Page number
57338
+ * @param {number} [pageSize] Number of items per page
57339
+ * @param {string} [orderBy] Field to order by
57340
+ * @param {string} [search] Search query
57341
+ * @param {*} [options] Override http request option.
57342
+ * @throws {RequiredError}
57343
+ */
57344
+ getEventPassTransfers(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassTransfers200Response>>;
57345
+ };
57346
+ /**
57347
+ * EventsTransfersApi - factory interface
57348
+ */
57349
+ export declare const EventsTransfersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
57350
+ /**
57351
+ * Cancel Event Pass Transfer endpoint
57352
+ * @summary Cancel Event Pass Transfer
57353
+ * @param {EventsTransfersApiCancelEventPassTransferRequest} requestParameters Request parameters.
57354
+ * @param {*} [options] Override http request option.
57355
+ * @throws {RequiredError}
57356
+ */
57357
+ cancelEventPassTransfer(requestParameters: EventsTransfersApiCancelEventPassTransferRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncAccounts200Response>;
57358
+ /**
57359
+ * Get Event Pass Transfers endpoint
57360
+ * @summary Get Event Pass Transfers
57361
+ * @param {EventsTransfersApiGetEventPassTransfersRequest} requestParameters Request parameters.
57362
+ * @param {*} [options] Override http request option.
57363
+ * @throws {RequiredError}
57364
+ */
57365
+ getEventPassTransfers(requestParameters: EventsTransfersApiGetEventPassTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassTransfers200Response>;
57366
+ };
57367
+ /**
57368
+ * Request parameters for cancelEventPassTransfer operation in EventsTransfersApi.
57369
+ */
57370
+ export interface EventsTransfersApiCancelEventPassTransferRequest {
57371
+ /**
57372
+ * The event identifier
57373
+ */
57374
+ readonly eventId: string;
57375
+ /**
57376
+ * The transfer identifier
57377
+ */
57378
+ readonly transferId: string;
57379
+ }
57380
+ /**
57381
+ * Request parameters for getEventPassTransfers operation in EventsTransfersApi.
57382
+ */
57383
+ export interface EventsTransfersApiGetEventPassTransfersRequest {
57384
+ /**
57385
+ * The event identifier
57386
+ */
57387
+ readonly eventId: string;
57388
+ /**
57389
+ * Page number
57390
+ */
57391
+ readonly page?: number;
57392
+ /**
57393
+ * Number of items per page
57394
+ */
57395
+ readonly pageSize?: number;
57396
+ /**
57397
+ * Field to order by
57398
+ */
57399
+ readonly orderBy?: string;
57400
+ /**
57401
+ * Search query
57402
+ */
57403
+ readonly search?: string;
57404
+ }
57405
+ /**
57406
+ * EventsTransfersApi - object-oriented interface
57407
+ */
57408
+ export declare class EventsTransfersApi extends BaseAPI {
57409
+ /**
57410
+ * Cancel Event Pass Transfer endpoint
57411
+ * @summary Cancel Event Pass Transfer
57412
+ * @param {EventsTransfersApiCancelEventPassTransferRequest} requestParameters Request parameters.
57413
+ * @param {*} [options] Override http request option.
57414
+ * @throws {RequiredError}
57415
+ */
57416
+ cancelEventPassTransfer(requestParameters: EventsTransfersApiCancelEventPassTransferRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncAccounts200Response, any, {}>>;
57417
+ /**
57418
+ * Get Event Pass Transfers endpoint
57419
+ * @summary Get Event Pass Transfers
57420
+ * @param {EventsTransfersApiGetEventPassTransfersRequest} requestParameters Request parameters.
57421
+ * @param {*} [options] Override http request option.
57422
+ * @throws {RequiredError}
57423
+ */
57424
+ getEventPassTransfers(requestParameters: EventsTransfersApiGetEventPassTransfersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventPassTransfers200Response, any, {}>>;
57425
+ }
57289
57426
  /**
57290
57427
  * EventsTranslationsApi - axios parameter creator
57291
57428
  */
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
  */
@@ -6,8 +6,6 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [default to undefined]
9
- **email** | **string** | | [default to undefined]
10
- **createdAt** | **string** | | [default to undefined]
11
9
 
12
10
  ## Example
13
11
 
@@ -16,8 +14,6 @@ import { BaseEventPassTransfer } from '@connectedxm/admin-sdk';
16
14
 
17
15
  const instance: BaseEventPassTransfer = {
18
16
  id,
19
- email,
20
- createdAt,
21
17
  };
22
18
  ```
23
19
 
@@ -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.0",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,26 +0,0 @@
1
- # BaseTransfer
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [default to undefined]
9
- **email** | **string** | | [default to undefined]
10
- **purchaseId** | **string** | | [default to undefined]
11
- **purchase** | [**BaseEventPass**](BaseEventPass.md) | | [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { BaseTransfer } from '@connectedxm/admin-sdk';
17
-
18
- const instance: BaseTransfer = {
19
- id,
20
- email,
21
- purchaseId,
22
- purchase,
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)