@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.
@@ -250,7 +250,6 @@ docs/BaseThreadMessage.md
250
250
  docs/BaseThreadMessageEntity.md
251
251
  docs/BaseThreadMessageReaction.md
252
252
  docs/BaseTier.md
253
- docs/BaseTransfer.md
254
253
  docs/BaseTransferLog.md
255
254
  docs/BaseUser.md
256
255
  docs/BaseVideo.md
@@ -708,6 +707,7 @@ docs/EventsSponsorshipsTranslationsApi.md
708
707
  docs/EventsTemplatesApi.md
709
708
  docs/EventsTracksApi.md
710
709
  docs/EventsTracksTranslationsApi.md
710
+ docs/EventsTransfersApi.md
711
711
  docs/EventsTranslationsApi.md
712
712
  docs/ExportStatus.md
713
713
  docs/Faq.md
@@ -842,6 +842,7 @@ docs/GetEventPassQuestionSections200Response.md
842
842
  docs/GetEventPassResponse200Response.md
843
843
  docs/GetEventPassResponseChanges200Response.md
844
844
  docs/GetEventPassResponses200Response.md
845
+ docs/GetEventPassTransfers200Response.md
845
846
  docs/GetEventPassTypePriceSchedule200Response.md
846
847
  docs/GetEventPassTypePriceSchedules200Response.md
847
848
  docs/GetEventPassTypeRefundSchedule200Response.md
package/AdminApi.ts CHANGED
@@ -120,6 +120,7 @@ import {
120
120
  EventsTemplatesApi,
121
121
  EventsTracksApi,
122
122
  EventsTracksTranslationsApi,
123
+ EventsTransfersApi,
123
124
  EventsTranslationsApi,
124
125
  FilesApi,
125
126
  GroupsApi,
@@ -327,6 +328,7 @@ export class AdminApi {
327
328
  public readonly eventsTemplates: EventsTemplatesApi;
328
329
  public readonly eventsTracks: EventsTracksApi;
329
330
  public readonly eventsTracksTranslations: EventsTracksTranslationsApi;
331
+ public readonly eventsTransfers: EventsTransfersApi;
330
332
  public readonly eventsTranslations: EventsTranslationsApi;
331
333
  public readonly files: FilesApi;
332
334
  public readonly groups: GroupsApi;
@@ -532,6 +534,7 @@ export class AdminApi {
532
534
  this.eventsTemplates = new EventsTemplatesApi(this.config);
533
535
  this.eventsTracks = new EventsTracksApi(this.config);
534
536
  this.eventsTracksTranslations = new EventsTracksTranslationsApi(this.config);
537
+ this.eventsTransfers = new EventsTransfersApi(this.config);
535
538
  this.eventsTranslations = new EventsTranslationsApi(this.config);
536
539
  this.files = new FilesApi(this.config);
537
540
  this.groups = new GroupsApi(this.config);
package/README.md CHANGED
@@ -802,6 +802,8 @@ Class | Method | HTTP request | Description
802
802
  *EventsTracksTranslationsApi* | [**getEventTrackTranslation**](docs/EventsTracksTranslationsApi.md#geteventtracktranslation) | **GET** /events/{eventId}/tracks/{trackId}/translations/{locale} | Get Event Track Translation
803
803
  *EventsTracksTranslationsApi* | [**getEventTrackTranslations**](docs/EventsTracksTranslationsApi.md#geteventtracktranslations) | **GET** /events/{eventId}/tracks/{trackId}/translations | Get Event Track Translations
804
804
  *EventsTracksTranslationsApi* | [**updateEventTrackTranslation**](docs/EventsTracksTranslationsApi.md#updateeventtracktranslation) | **PUT** /events/{eventId}/tracks/{trackId}/translations/{locale} | Update Event Track Translation
805
+ *EventsTransfersApi* | [**cancelEventPassTransfer**](docs/EventsTransfersApi.md#canceleventpasstransfer) | **DELETE** /events/{eventId}/transfers/{transferId} | Cancel Event Pass Transfer
806
+ *EventsTransfersApi* | [**getEventPassTransfers**](docs/EventsTransfersApi.md#geteventpasstransfers) | **GET** /events/{eventId}/transfers | Get Event Pass Transfers
805
807
  *EventsTranslationsApi* | [**deleteEventTranslation**](docs/EventsTranslationsApi.md#deleteeventtranslation) | **DELETE** /events/{eventId}/translations/{locale} | Delete Event Translation
806
808
  *EventsTranslationsApi* | [**getEventTranslation**](docs/EventsTranslationsApi.md#geteventtranslation) | **GET** /events/{eventId}/translations/{locale} | Get Event Translation
807
809
  *EventsTranslationsApi* | [**getEventTranslations**](docs/EventsTranslationsApi.md#geteventtranslations) | **GET** /events/{eventId}/translations | Get Event Translations
@@ -1489,7 +1491,6 @@ Class | Method | HTTP request | Description
1489
1491
  - [BaseThreadMessageEntity](docs/BaseThreadMessageEntity.md)
1490
1492
  - [BaseThreadMessageReaction](docs/BaseThreadMessageReaction.md)
1491
1493
  - [BaseTier](docs/BaseTier.md)
1492
- - [BaseTransfer](docs/BaseTransfer.md)
1493
1494
  - [BaseTransferLog](docs/BaseTransferLog.md)
1494
1495
  - [BaseUser](docs/BaseUser.md)
1495
1496
  - [BaseVideo](docs/BaseVideo.md)
@@ -1989,6 +1990,7 @@ Class | Method | HTTP request | Description
1989
1990
  - [GetEventPassResponse200Response](docs/GetEventPassResponse200Response.md)
1990
1991
  - [GetEventPassResponseChanges200Response](docs/GetEventPassResponseChanges200Response.md)
1991
1992
  - [GetEventPassResponses200Response](docs/GetEventPassResponses200Response.md)
1993
+ - [GetEventPassTransfers200Response](docs/GetEventPassTransfers200Response.md)
1992
1994
  - [GetEventPassTypePriceSchedule200Response](docs/GetEventPassTypePriceSchedule200Response.md)
1993
1995
  - [GetEventPassTypePriceSchedules200Response](docs/GetEventPassTypePriceSchedules200Response.md)
1994
1996
  - [GetEventPassTypeRefundSchedule200Response](docs/GetEventPassTypeRefundSchedule200Response.md)
package/api.ts CHANGED
@@ -1373,7 +1373,7 @@ export interface BaseEventPass {
1373
1373
  'ticket': BaseEventPassType;
1374
1374
  'location': string | null;
1375
1375
  'usedAt': string | null;
1376
- 'transfer': BaseEventPassTransfer;
1376
+ 'transfer': BaseEventPassTransfer | null;
1377
1377
  'responses': Array<BaseRegistrationQuestionResponse>;
1378
1378
  'status': PurchaseStatus;
1379
1379
  'reservationId': string | null;
@@ -1400,8 +1400,6 @@ export interface BaseEventPassAttendeeAccount {
1400
1400
  }
1401
1401
  export interface BaseEventPassTransfer {
1402
1402
  'id': string;
1403
- 'email': string;
1404
- 'createdAt': string;
1405
1403
  }
1406
1404
  export interface BaseEventPassType {
1407
1405
  'id': string;
@@ -2583,12 +2581,6 @@ export interface BaseTier {
2583
2581
  'imageId': string | null;
2584
2582
  'image': BaseImage | null;
2585
2583
  }
2586
- export interface BaseTransfer {
2587
- 'id': string;
2588
- 'email': string;
2589
- 'purchaseId': string;
2590
- 'purchase': BaseEventPass;
2591
- }
2592
2584
  export interface BaseTransferLog {
2593
2585
  'id': number;
2594
2586
  'fromRegistrationId': string;
@@ -5380,7 +5372,7 @@ export interface EventPass {
5380
5372
  'ticket': BaseEventPassType;
5381
5373
  'location': string | null;
5382
5374
  'usedAt': string | null;
5383
- 'transfer': BaseEventPassTransfer;
5375
+ 'transfer': BaseEventPassTransfer | null;
5384
5376
  'responses': Array<BaseRegistrationQuestionResponse>;
5385
5377
  'status': PurchaseStatus;
5386
5378
  'reservationId': string | null;
@@ -7958,6 +7950,17 @@ export enum GetEventPassResponses200ResponseStatusEnum {
7958
7950
  Ok = 'ok'
7959
7951
  }
7960
7952
 
7953
+ export interface GetEventPassTransfers200Response {
7954
+ 'status': GetEventPassTransfers200ResponseStatusEnum;
7955
+ 'message': string;
7956
+ 'data': Array<Transfer>;
7957
+ 'count'?: number;
7958
+ }
7959
+
7960
+ export enum GetEventPassTransfers200ResponseStatusEnum {
7961
+ Ok = 'ok'
7962
+ }
7963
+
7961
7964
  export interface GetEventPassTypePriceSchedule200Response {
7962
7965
  'status': GetEventPassTypePriceSchedule200ResponseStatusEnum;
7963
7966
  'message': string;
@@ -13833,11 +13836,15 @@ export interface TierUpdateInputs {
13833
13836
  }
13834
13837
  export interface Transfer {
13835
13838
  'id': string;
13839
+ 'passId': string;
13836
13840
  'email': string;
13837
- 'purchaseId': string;
13838
- 'purchase': BaseEventPass;
13841
+ 'message': string | null;
13839
13842
  'createdAt': string;
13840
- 'updatedAt': string;
13843
+ 'eventId': string;
13844
+ 'event': BaseEvent;
13845
+ 'fromAccountId': string;
13846
+ 'fromAccount': OrganizationAllOfOAuth;
13847
+ 'pass': BaseEventPass;
13841
13848
  }
13842
13849
  export interface TransferLog {
13843
13850
  'id': number;
@@ -101977,6 +101984,261 @@ export class EventsTracksTranslationsApi extends BaseAPI {
101977
101984
 
101978
101985
 
101979
101986
 
101987
+ /**
101988
+ * EventsTransfersApi - axios parameter creator
101989
+ */
101990
+ export const EventsTransfersApiAxiosParamCreator = function (configuration?: Configuration) {
101991
+ return {
101992
+ /**
101993
+ * Cancel Event Pass Transfer endpoint
101994
+ * @summary Cancel Event Pass Transfer
101995
+ * @param {string} eventId The event identifier
101996
+ * @param {string} transferId The transfer identifier
101997
+ * @param {*} [options] Override http request option.
101998
+ * @throws {RequiredError}
101999
+ */
102000
+ cancelEventPassTransfer: async (eventId: string, transferId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
102001
+ // verify required parameter 'eventId' is not null or undefined
102002
+ assertParamExists('cancelEventPassTransfer', 'eventId', eventId)
102003
+ // verify required parameter 'transferId' is not null or undefined
102004
+ assertParamExists('cancelEventPassTransfer', 'transferId', transferId)
102005
+ const localVarPath = `/events/{eventId}/transfers/{transferId}`
102006
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
102007
+ .replace(`{${"transferId"}}`, encodeURIComponent(String(transferId)));
102008
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
102009
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
102010
+ let baseOptions;
102011
+ if (configuration) {
102012
+ baseOptions = configuration.baseOptions;
102013
+ }
102014
+
102015
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
102016
+ const localVarHeaderParameter = {} as any;
102017
+ const localVarQueryParameter = {} as any;
102018
+
102019
+ // authentication ApiKeyAuth required
102020
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
102021
+
102022
+ // authentication OrganizationId required
102023
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
102024
+
102025
+ localVarHeaderParameter['Accept'] = 'application/json';
102026
+
102027
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
102028
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
102029
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
102030
+
102031
+ return {
102032
+ url: toPathString(localVarUrlObj),
102033
+ options: localVarRequestOptions,
102034
+ };
102035
+ },
102036
+ /**
102037
+ * Get Event Pass Transfers endpoint
102038
+ * @summary Get Event Pass Transfers
102039
+ * @param {string} eventId The event identifier
102040
+ * @param {number} [page] Page number
102041
+ * @param {number} [pageSize] Number of items per page
102042
+ * @param {string} [orderBy] Field to order by
102043
+ * @param {string} [search] Search query
102044
+ * @param {*} [options] Override http request option.
102045
+ * @throws {RequiredError}
102046
+ */
102047
+ getEventPassTransfers: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
102048
+ // verify required parameter 'eventId' is not null or undefined
102049
+ assertParamExists('getEventPassTransfers', 'eventId', eventId)
102050
+ const localVarPath = `/events/{eventId}/transfers`
102051
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
102052
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
102053
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
102054
+ let baseOptions;
102055
+ if (configuration) {
102056
+ baseOptions = configuration.baseOptions;
102057
+ }
102058
+
102059
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
102060
+ const localVarHeaderParameter = {} as any;
102061
+ const localVarQueryParameter = {} as any;
102062
+
102063
+ // authentication ApiKeyAuth required
102064
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
102065
+
102066
+ // authentication OrganizationId required
102067
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
102068
+
102069
+ if (page !== undefined) {
102070
+ localVarQueryParameter['page'] = page;
102071
+ }
102072
+
102073
+ if (pageSize !== undefined) {
102074
+ localVarQueryParameter['pageSize'] = pageSize;
102075
+ }
102076
+
102077
+ if (orderBy !== undefined) {
102078
+ localVarQueryParameter['orderBy'] = orderBy;
102079
+ }
102080
+
102081
+ if (search !== undefined) {
102082
+ localVarQueryParameter['search'] = search;
102083
+ }
102084
+
102085
+ localVarHeaderParameter['Accept'] = 'application/json';
102086
+
102087
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
102088
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
102089
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
102090
+
102091
+ return {
102092
+ url: toPathString(localVarUrlObj),
102093
+ options: localVarRequestOptions,
102094
+ };
102095
+ },
102096
+ }
102097
+ };
102098
+
102099
+ /**
102100
+ * EventsTransfersApi - functional programming interface
102101
+ */
102102
+ export const EventsTransfersApiFp = function(configuration?: Configuration) {
102103
+ const localVarAxiosParamCreator = EventsTransfersApiAxiosParamCreator(configuration)
102104
+ return {
102105
+ /**
102106
+ * Cancel Event Pass Transfer endpoint
102107
+ * @summary Cancel Event Pass Transfer
102108
+ * @param {string} eventId The event identifier
102109
+ * @param {string} transferId The transfer identifier
102110
+ * @param {*} [options] Override http request option.
102111
+ * @throws {RequiredError}
102112
+ */
102113
+ async cancelEventPassTransfer(eventId: string, transferId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>> {
102114
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cancelEventPassTransfer(eventId, transferId, options);
102115
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
102116
+ const localVarOperationServerBasePath = operationServerMap['EventsTransfersApi.cancelEventPassTransfer']?.[localVarOperationServerIndex]?.url;
102117
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
102118
+ },
102119
+ /**
102120
+ * Get Event Pass Transfers endpoint
102121
+ * @summary Get Event Pass Transfers
102122
+ * @param {string} eventId The event identifier
102123
+ * @param {number} [page] Page number
102124
+ * @param {number} [pageSize] Number of items per page
102125
+ * @param {string} [orderBy] Field to order by
102126
+ * @param {string} [search] Search query
102127
+ * @param {*} [options] Override http request option.
102128
+ * @throws {RequiredError}
102129
+ */
102130
+ async getEventPassTransfers(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassTransfers200Response>> {
102131
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassTransfers(eventId, page, pageSize, orderBy, search, options);
102132
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
102133
+ const localVarOperationServerBasePath = operationServerMap['EventsTransfersApi.getEventPassTransfers']?.[localVarOperationServerIndex]?.url;
102134
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
102135
+ },
102136
+ }
102137
+ };
102138
+
102139
+ /**
102140
+ * EventsTransfersApi - factory interface
102141
+ */
102142
+ export const EventsTransfersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
102143
+ const localVarFp = EventsTransfersApiFp(configuration)
102144
+ return {
102145
+ /**
102146
+ * Cancel Event Pass Transfer endpoint
102147
+ * @summary Cancel Event Pass Transfer
102148
+ * @param {EventsTransfersApiCancelEventPassTransferRequest} requestParameters Request parameters.
102149
+ * @param {*} [options] Override http request option.
102150
+ * @throws {RequiredError}
102151
+ */
102152
+ cancelEventPassTransfer(requestParameters: EventsTransfersApiCancelEventPassTransferRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncAccounts200Response> {
102153
+ return localVarFp.cancelEventPassTransfer(requestParameters.eventId, requestParameters.transferId, options).then((request) => request(axios, basePath));
102154
+ },
102155
+ /**
102156
+ * Get Event Pass Transfers endpoint
102157
+ * @summary Get Event Pass Transfers
102158
+ * @param {EventsTransfersApiGetEventPassTransfersRequest} requestParameters Request parameters.
102159
+ * @param {*} [options] Override http request option.
102160
+ * @throws {RequiredError}
102161
+ */
102162
+ getEventPassTransfers(requestParameters: EventsTransfersApiGetEventPassTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassTransfers200Response> {
102163
+ return localVarFp.getEventPassTransfers(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
102164
+ },
102165
+ };
102166
+ };
102167
+
102168
+ /**
102169
+ * Request parameters for cancelEventPassTransfer operation in EventsTransfersApi.
102170
+ */
102171
+ export interface EventsTransfersApiCancelEventPassTransferRequest {
102172
+ /**
102173
+ * The event identifier
102174
+ */
102175
+ readonly eventId: string
102176
+
102177
+ /**
102178
+ * The transfer identifier
102179
+ */
102180
+ readonly transferId: string
102181
+ }
102182
+
102183
+ /**
102184
+ * Request parameters for getEventPassTransfers operation in EventsTransfersApi.
102185
+ */
102186
+ export interface EventsTransfersApiGetEventPassTransfersRequest {
102187
+ /**
102188
+ * The event identifier
102189
+ */
102190
+ readonly eventId: string
102191
+
102192
+ /**
102193
+ * Page number
102194
+ */
102195
+ readonly page?: number
102196
+
102197
+ /**
102198
+ * Number of items per page
102199
+ */
102200
+ readonly pageSize?: number
102201
+
102202
+ /**
102203
+ * Field to order by
102204
+ */
102205
+ readonly orderBy?: string
102206
+
102207
+ /**
102208
+ * Search query
102209
+ */
102210
+ readonly search?: string
102211
+ }
102212
+
102213
+ /**
102214
+ * EventsTransfersApi - object-oriented interface
102215
+ */
102216
+ export class EventsTransfersApi extends BaseAPI {
102217
+ /**
102218
+ * Cancel Event Pass Transfer endpoint
102219
+ * @summary Cancel Event Pass Transfer
102220
+ * @param {EventsTransfersApiCancelEventPassTransferRequest} requestParameters Request parameters.
102221
+ * @param {*} [options] Override http request option.
102222
+ * @throws {RequiredError}
102223
+ */
102224
+ public cancelEventPassTransfer(requestParameters: EventsTransfersApiCancelEventPassTransferRequest, options?: RawAxiosRequestConfig) {
102225
+ return EventsTransfersApiFp(this.configuration).cancelEventPassTransfer(requestParameters.eventId, requestParameters.transferId, options).then((request) => request(this.axios, this.basePath));
102226
+ }
102227
+
102228
+ /**
102229
+ * Get Event Pass Transfers endpoint
102230
+ * @summary Get Event Pass Transfers
102231
+ * @param {EventsTransfersApiGetEventPassTransfersRequest} requestParameters Request parameters.
102232
+ * @param {*} [options] Override http request option.
102233
+ * @throws {RequiredError}
102234
+ */
102235
+ public getEventPassTransfers(requestParameters: EventsTransfersApiGetEventPassTransfersRequest, options?: RawAxiosRequestConfig) {
102236
+ return EventsTransfersApiFp(this.configuration).getEventPassTransfers(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
102237
+ }
102238
+ }
102239
+
102240
+
102241
+
101980
102242
  /**
101981
102243
  * EventsTranslationsApi - axios parameter creator
101982
102244
  */
@@ -9,7 +9,7 @@
9
9
  * const accounts = await adminApi.accounts.getAccounts();
10
10
  * const eventsPasses = await adminApi.eventsPasses.getEventPasses();
11
11
  */
12
- import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttendeesApi, EventsAttendeesPackagesApi, EventsAttendeesReservationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsPricesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsAccountsApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, ThreadsStorageApi, TiersApi } from "./api";
12
+ import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttendeesApi, EventsAttendeesPackagesApi, EventsAttendeesReservationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsPricesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTransfersApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsAccountsApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, ThreadsStorageApi, TiersApi } from "./api";
13
13
  export interface AdminApiConfig {
14
14
  /** Your API key for authentication */
15
15
  apiKey: string;
@@ -126,6 +126,7 @@ export declare class AdminApi {
126
126
  readonly eventsTemplates: EventsTemplatesApi;
127
127
  readonly eventsTracks: EventsTracksApi;
128
128
  readonly eventsTracksTranslations: EventsTracksTranslationsApi;
129
+ readonly eventsTransfers: EventsTransfersApi;
129
130
  readonly eventsTranslations: EventsTranslationsApi;
130
131
  readonly files: FilesApi;
131
132
  readonly groups: GroupsApi;
package/dist/AdminApi.js CHANGED
@@ -134,6 +134,7 @@ class AdminApi {
134
134
  this.eventsTemplates = new api_1.EventsTemplatesApi(this.config);
135
135
  this.eventsTracks = new api_1.EventsTracksApi(this.config);
136
136
  this.eventsTracksTranslations = new api_1.EventsTracksTranslationsApi(this.config);
137
+ this.eventsTransfers = new api_1.EventsTransfersApi(this.config);
137
138
  this.eventsTranslations = new api_1.EventsTranslationsApi(this.config);
138
139
  this.files = new api_1.FilesApi(this.config);
139
140
  this.groups = new api_1.GroupsApi(this.config);
package/dist/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
  */