@connectedxm/admin-sdk 11.7.0 → 11.8.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.
@@ -564,6 +564,7 @@ docs/EventPageTranslation.md
564
564
  docs/EventPageTranslationUpdateInputs.md
565
565
  docs/EventPageUpdateInputs.md
566
566
  docs/EventPass.md
567
+ docs/EventPassChange.md
567
568
  docs/EventPassCreateInputs.md
568
569
  docs/EventPassType.md
569
570
  docs/EventPassTypeAllOfCount.md
@@ -701,7 +702,7 @@ docs/EventsPackagesPassesApi.md
701
702
  docs/EventsPackagesTranslationsApi.md
702
703
  docs/EventsPagesApi.md
703
704
  docs/EventsPagesTranslationsApi.md
704
- docs/EventsPasschangewebhooksApi.md
705
+ docs/EventsPasschangesApi.md
705
706
  docs/EventsPassesAccessesApi.md
706
707
  docs/EventsPassesAddonsApi.md
707
708
  docs/EventsPassesApi.md
@@ -883,6 +884,7 @@ docs/GetEventPass200Response.md
883
884
  docs/GetEventPassAccesses200Response.md
884
885
  docs/GetEventPassAttributes200Response.md
885
886
  docs/GetEventPassChangeWebhooks200Response.md
887
+ docs/GetEventPassChanges200Response.md
886
888
  docs/GetEventPassMatches200Response.md
887
889
  docs/GetEventPassQuestionSections200Response.md
888
890
  docs/GetEventPassResponse200Response.md
@@ -1285,6 +1287,7 @@ docs/PassAddOn.md
1285
1287
  docs/PassAttribute.md
1286
1288
  docs/PassAttributesUpdateInputs.md
1287
1289
  docs/PassAttributesUpdateInputsValuesInner.md
1290
+ docs/PassChangeLogType.md
1288
1291
  docs/PassExchange.md
1289
1292
  docs/PassTypeAccessLevel.md
1290
1293
  docs/PassTypeCreateInputs.md
package/AdminApi.ts CHANGED
@@ -79,7 +79,7 @@ import {
79
79
  EventsPackagesTranslationsApi,
80
80
  EventsPagesApi,
81
81
  EventsPagesTranslationsApi,
82
- EventsPasschangewebhooksApi,
82
+ EventsPasschangesApi,
83
83
  EventsPassesApi,
84
84
  EventsPassesAccessesApi,
85
85
  EventsPassesAddonsApi,
@@ -293,7 +293,7 @@ export class AdminApi {
293
293
  public readonly eventsPackagesTranslations: EventsPackagesTranslationsApi;
294
294
  public readonly eventsPages: EventsPagesApi;
295
295
  public readonly eventsPagesTranslations: EventsPagesTranslationsApi;
296
- public readonly eventsPasschangewebhooks: EventsPasschangewebhooksApi;
296
+ public readonly eventsPasschanges: EventsPasschangesApi;
297
297
  public readonly eventsPasses: EventsPassesApi;
298
298
  public readonly eventsPassesAccesses: EventsPassesAccessesApi;
299
299
  public readonly eventsPassesAddons: EventsPassesAddonsApi;
@@ -505,7 +505,7 @@ export class AdminApi {
505
505
  this.eventsPackagesTranslations = new EventsPackagesTranslationsApi(this.config);
506
506
  this.eventsPages = new EventsPagesApi(this.config);
507
507
  this.eventsPagesTranslations = new EventsPagesTranslationsApi(this.config);
508
- this.eventsPasschangewebhooks = new EventsPasschangewebhooksApi(this.config);
508
+ this.eventsPasschanges = new EventsPasschangesApi(this.config);
509
509
  this.eventsPasses = new EventsPassesApi(this.config);
510
510
  this.eventsPassesAccesses = new EventsPassesAccessesApi(this.config);
511
511
  this.eventsPassesAddons = new EventsPassesAddonsApi(this.config);
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @connectedxm/admin-sdk@11.7.0
1
+ ## @connectedxm/admin-sdk@11.8.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @connectedxm/admin-sdk@11.7.0 --save
39
+ npm install @connectedxm/admin-sdk@11.8.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 11.7.0
7
+ * The version of the OpenAPI document: 11.8.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5801,6 +5801,20 @@ export interface EventPass {
5801
5801
  }
5802
5802
 
5803
5803
 
5804
+ export interface EventPassChange {
5805
+ 'id': string;
5806
+ 'alternateId': number;
5807
+ 'type': PassChangeLogType;
5808
+ 'description': string;
5809
+ 'subjectId': string | null;
5810
+ 'oldValue': string | null;
5811
+ 'newValue': string | null;
5812
+ 'occurredAt': string;
5813
+ 'passId': string;
5814
+ 'createdAt': string;
5815
+ }
5816
+
5817
+
5804
5818
  export interface EventPassCreateInputs {
5805
5819
  'status'?: PurchaseStatus | null;
5806
5820
  'location'?: string | null;
@@ -8432,6 +8446,16 @@ export enum GetEventPassChangeWebhooks200ResponseStatusEnum {
8432
8446
  Ok = 'ok'
8433
8447
  }
8434
8448
 
8449
+ export interface GetEventPassChanges200Response {
8450
+ 'status': GetEventPassChanges200ResponseStatusEnum;
8451
+ 'message': string;
8452
+ 'data': Array<EventPassChange>;
8453
+ }
8454
+
8455
+ export enum GetEventPassChanges200ResponseStatusEnum {
8456
+ Ok = 'ok'
8457
+ }
8458
+
8435
8459
  export interface GetEventPassMatches200Response {
8436
8460
  'status': GetEventPassMatches200ResponseStatusEnum;
8437
8461
  'message': string;
@@ -12380,6 +12404,19 @@ export interface PassAttributesUpdateInputsValuesInner {
12380
12404
  'attributeId': string;
12381
12405
  'value': string;
12382
12406
  }
12407
+
12408
+ export enum PassChangeLogType {
12409
+ Status = 'status',
12410
+ PassType = 'passType',
12411
+ Response = 'response',
12412
+ AddOn = 'addOn',
12413
+ Session = 'session',
12414
+ Registration = 'registration',
12415
+ Email = 'email',
12416
+ InternalRefId = 'internalRefId'
12417
+ }
12418
+
12419
+
12383
12420
  export interface PassExchange {
12384
12421
  'id': string;
12385
12422
  'accountId': string;
@@ -63602,9 +63639,9 @@ export class EventsPagesTranslationsApi extends BaseAPI {
63602
63639
 
63603
63640
 
63604
63641
  /**
63605
- * EventsPasschangewebhooksApi - axios parameter creator
63642
+ * EventsPasschangesApi - axios parameter creator
63606
63643
  */
63607
- export const EventsPasschangewebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
63644
+ export const EventsPasschangesApiAxiosParamCreator = function (configuration?: Configuration) {
63608
63645
  return {
63609
63646
  /**
63610
63647
  * Connects the specified webhook so it receives the event\'s pass change log rows, and requires update permission on events; the webhook must be verified.
@@ -63619,7 +63656,7 @@ export const EventsPasschangewebhooksApiAxiosParamCreator = function (configurat
63619
63656
  assertParamExists('addEventPassChangeWebhook', 'eventId', eventId)
63620
63657
  // verify required parameter 'webhookId' is not null or undefined
63621
63658
  assertParamExists('addEventPassChangeWebhook', 'webhookId', webhookId)
63622
- const localVarPath = `/events/{eventId}/passChangeWebhooks/{webhookId}`
63659
+ const localVarPath = `/events/{eventId}/passChanges/webhooks/{webhookId}`
63623
63660
  .replace('{eventId}', encodeURIComponent(String(eventId)))
63624
63661
  .replace('{webhookId}', encodeURIComponent(String(webhookId)));
63625
63662
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -63664,7 +63701,7 @@ export const EventsPasschangewebhooksApiAxiosParamCreator = function (configurat
63664
63701
  getEventPassChangeWebhooks: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63665
63702
  // verify required parameter 'eventId' is not null or undefined
63666
63703
  assertParamExists('getEventPassChangeWebhooks', 'eventId', eventId)
63667
- const localVarPath = `/events/{eventId}/passChangeWebhooks`
63704
+ const localVarPath = `/events/{eventId}/passChanges/webhooks`
63668
63705
  .replace('{eventId}', encodeURIComponent(String(eventId)));
63669
63706
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
63670
63707
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -63710,6 +63747,61 @@ export const EventsPasschangewebhooksApiAxiosParamCreator = function (configurat
63710
63747
  options: localVarRequestOptions,
63711
63748
  };
63712
63749
  },
63750
+ /**
63751
+ * Returns a cursor-paginated feed of the event\'s pass change log rows in ascending order; pass the last returned cursor on the next call to tail new changes. Optionally filter by subjectId or change type. Requires read permission on events.
63752
+ * @summary Poll an event\'s pass changes
63753
+ * @param {string} eventId The event identifier
63754
+ * @param {string} [subjectId] Filter by subjectId
63755
+ * @param {PassChangeLogType} [type] Filter by type
63756
+ * @param {string} [passId] Filter by passId
63757
+ * @param {*} [options] Override http request option.
63758
+ * @throws {RequiredError}
63759
+ */
63760
+ getEventPassChanges: async (eventId: string, subjectId?: string, type?: PassChangeLogType, passId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63761
+ // verify required parameter 'eventId' is not null or undefined
63762
+ assertParamExists('getEventPassChanges', 'eventId', eventId)
63763
+ const localVarPath = `/events/{eventId}/passChanges`
63764
+ .replace('{eventId}', encodeURIComponent(String(eventId)));
63765
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63766
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63767
+ let baseOptions;
63768
+ if (configuration) {
63769
+ baseOptions = configuration.baseOptions;
63770
+ }
63771
+
63772
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
63773
+ const localVarHeaderParameter = {} as any;
63774
+ const localVarQueryParameter = {} as any;
63775
+
63776
+ // authentication ApiKeyAuth required
63777
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
63778
+
63779
+ // authentication OrganizationId required
63780
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
63781
+
63782
+ if (subjectId !== undefined) {
63783
+ localVarQueryParameter['subjectId'] = subjectId;
63784
+ }
63785
+
63786
+ if (type !== undefined) {
63787
+ localVarQueryParameter['type'] = type;
63788
+ }
63789
+
63790
+ if (passId !== undefined) {
63791
+ localVarQueryParameter['passId'] = passId;
63792
+ }
63793
+
63794
+ localVarHeaderParameter['Accept'] = 'application/json';
63795
+
63796
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63797
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63798
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63799
+
63800
+ return {
63801
+ url: toPathString(localVarUrlObj),
63802
+ options: localVarRequestOptions,
63803
+ };
63804
+ },
63713
63805
  /**
63714
63806
  * Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
63715
63807
  * @summary Disconnect a webhook from an event\'s pass change log
@@ -63723,7 +63815,7 @@ export const EventsPasschangewebhooksApiAxiosParamCreator = function (configurat
63723
63815
  assertParamExists('removeEventPassChangeWebhook', 'eventId', eventId)
63724
63816
  // verify required parameter 'webhookId' is not null or undefined
63725
63817
  assertParamExists('removeEventPassChangeWebhook', 'webhookId', webhookId)
63726
- const localVarPath = `/events/{eventId}/passChangeWebhooks/{webhookId}`
63818
+ const localVarPath = `/events/{eventId}/passChanges/webhooks/{webhookId}`
63727
63819
  .replace('{eventId}', encodeURIComponent(String(eventId)))
63728
63820
  .replace('{webhookId}', encodeURIComponent(String(webhookId)));
63729
63821
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -63758,10 +63850,10 @@ export const EventsPasschangewebhooksApiAxiosParamCreator = function (configurat
63758
63850
  };
63759
63851
 
63760
63852
  /**
63761
- * EventsPasschangewebhooksApi - functional programming interface
63853
+ * EventsPasschangesApi - functional programming interface
63762
63854
  */
63763
- export const EventsPasschangewebhooksApiFp = function(configuration?: Configuration) {
63764
- const localVarAxiosParamCreator = EventsPasschangewebhooksApiAxiosParamCreator(configuration)
63855
+ export const EventsPasschangesApiFp = function(configuration?: Configuration) {
63856
+ const localVarAxiosParamCreator = EventsPasschangesApiAxiosParamCreator(configuration)
63765
63857
  return {
63766
63858
  /**
63767
63859
  * Connects the specified webhook so it receives the event\'s pass change log rows, and requires update permission on events; the webhook must be verified.
@@ -63774,7 +63866,7 @@ export const EventsPasschangewebhooksApiFp = function(configuration?: Configurat
63774
63866
  async addEventPassChangeWebhook(eventId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassChangeWebhook200Response>> {
63775
63867
  const localVarAxiosArgs = await localVarAxiosParamCreator.addEventPassChangeWebhook(eventId, webhookId, options);
63776
63868
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63777
- const localVarOperationServerBasePath = operationServerMap['EventsPasschangewebhooksApi.addEventPassChangeWebhook']?.[localVarOperationServerIndex]?.url;
63869
+ const localVarOperationServerBasePath = operationServerMap['EventsPasschangesApi.addEventPassChangeWebhook']?.[localVarOperationServerIndex]?.url;
63778
63870
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63779
63871
  },
63780
63872
  /**
@@ -63791,7 +63883,23 @@ export const EventsPasschangewebhooksApiFp = function(configuration?: Configurat
63791
63883
  async getEventPassChangeWebhooks(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassChangeWebhooks200Response>> {
63792
63884
  const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassChangeWebhooks(eventId, page, pageSize, orderBy, search, options);
63793
63885
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63794
- const localVarOperationServerBasePath = operationServerMap['EventsPasschangewebhooksApi.getEventPassChangeWebhooks']?.[localVarOperationServerIndex]?.url;
63886
+ const localVarOperationServerBasePath = operationServerMap['EventsPasschangesApi.getEventPassChangeWebhooks']?.[localVarOperationServerIndex]?.url;
63887
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63888
+ },
63889
+ /**
63890
+ * Returns a cursor-paginated feed of the event\'s pass change log rows in ascending order; pass the last returned cursor on the next call to tail new changes. Optionally filter by subjectId or change type. Requires read permission on events.
63891
+ * @summary Poll an event\'s pass changes
63892
+ * @param {string} eventId The event identifier
63893
+ * @param {string} [subjectId] Filter by subjectId
63894
+ * @param {PassChangeLogType} [type] Filter by type
63895
+ * @param {string} [passId] Filter by passId
63896
+ * @param {*} [options] Override http request option.
63897
+ * @throws {RequiredError}
63898
+ */
63899
+ async getEventPassChanges(eventId: string, subjectId?: string, type?: PassChangeLogType, passId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassChanges200Response>> {
63900
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassChanges(eventId, subjectId, type, passId, options);
63901
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63902
+ const localVarOperationServerBasePath = operationServerMap['EventsPasschangesApi.getEventPassChanges']?.[localVarOperationServerIndex]?.url;
63795
63903
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63796
63904
  },
63797
63905
  /**
@@ -63805,55 +63913,65 @@ export const EventsPasschangewebhooksApiFp = function(configuration?: Configurat
63805
63913
  async removeEventPassChangeWebhook(eventId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
63806
63914
  const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventPassChangeWebhook(eventId, webhookId, options);
63807
63915
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63808
- const localVarOperationServerBasePath = operationServerMap['EventsPasschangewebhooksApi.removeEventPassChangeWebhook']?.[localVarOperationServerIndex]?.url;
63916
+ const localVarOperationServerBasePath = operationServerMap['EventsPasschangesApi.removeEventPassChangeWebhook']?.[localVarOperationServerIndex]?.url;
63809
63917
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63810
63918
  },
63811
63919
  }
63812
63920
  };
63813
63921
 
63814
63922
  /**
63815
- * EventsPasschangewebhooksApi - factory interface
63923
+ * EventsPasschangesApi - factory interface
63816
63924
  */
63817
- export const EventsPasschangewebhooksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
63818
- const localVarFp = EventsPasschangewebhooksApiFp(configuration)
63925
+ export const EventsPasschangesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
63926
+ const localVarFp = EventsPasschangesApiFp(configuration)
63819
63927
  return {
63820
63928
  /**
63821
63929
  * Connects the specified webhook so it receives the event\'s pass change log rows, and requires update permission on events; the webhook must be verified.
63822
63930
  * @summary Connect a webhook to an event\'s pass change log
63823
- * @param {EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
63931
+ * @param {EventsPasschangesApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
63824
63932
  * @param {*} [options] Override http request option.
63825
63933
  * @throws {RequiredError}
63826
63934
  */
63827
- addEventPassChangeWebhook(requestParameters: EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
63935
+ addEventPassChangeWebhook(requestParameters: EventsPasschangesApiAddEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
63828
63936
  return localVarFp.addEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
63829
63937
  },
63830
63938
  /**
63831
63939
  * Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
63832
63940
  * @summary List an event\'s pass change log webhooks
63833
- * @param {EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
63941
+ * @param {EventsPasschangesApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
63834
63942
  * @param {*} [options] Override http request option.
63835
63943
  * @throws {RequiredError}
63836
63944
  */
63837
- getEventPassChangeWebhooks(requestParameters: EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassChangeWebhooks200Response> {
63945
+ getEventPassChangeWebhooks(requestParameters: EventsPasschangesApiGetEventPassChangeWebhooksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassChangeWebhooks200Response> {
63838
63946
  return localVarFp.getEventPassChangeWebhooks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
63839
63947
  },
63948
+ /**
63949
+ * Returns a cursor-paginated feed of the event\'s pass change log rows in ascending order; pass the last returned cursor on the next call to tail new changes. Optionally filter by subjectId or change type. Requires read permission on events.
63950
+ * @summary Poll an event\'s pass changes
63951
+ * @param {EventsPasschangesApiGetEventPassChangesRequest} requestParameters Request parameters.
63952
+ * @param {*} [options] Override http request option.
63953
+ * @throws {RequiredError}
63954
+ */
63955
+ getEventPassChanges(requestParameters: EventsPasschangesApiGetEventPassChangesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassChanges200Response> {
63956
+ return localVarFp.getEventPassChanges(requestParameters.eventId, requestParameters.subjectId, requestParameters.type, requestParameters.passId, options).then((request) => request(axios, basePath));
63957
+ },
63840
63958
  /**
63841
63959
  * Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
63842
63960
  * @summary Disconnect a webhook from an event\'s pass change log
63843
- * @param {EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
63961
+ * @param {EventsPasschangesApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
63844
63962
  * @param {*} [options] Override http request option.
63845
63963
  * @throws {RequiredError}
63846
63964
  */
63847
- removeEventPassChangeWebhook(requestParameters: EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
63965
+ removeEventPassChangeWebhook(requestParameters: EventsPasschangesApiRemoveEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
63848
63966
  return localVarFp.removeEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
63849
63967
  },
63850
63968
  };
63851
63969
  };
63852
63970
 
63853
63971
  /**
63854
- * Request parameters for addEventPassChangeWebhook operation in EventsPasschangewebhooksApi.
63972
+ * Request parameters for addEventPassChangeWebhook operation in EventsPasschangesApi.
63855
63973
  */
63856
- export interface EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest {
63974
+ export interface EventsPasschangesApiAddEventPassChangeWebhookRequest {
63857
63975
  /**
63858
63976
  * The event identifier
63859
63977
  */
@@ -63866,9 +63984,9 @@ export interface EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest {
63866
63984
  }
63867
63985
 
63868
63986
  /**
63869
- * Request parameters for getEventPassChangeWebhooks operation in EventsPasschangewebhooksApi.
63987
+ * Request parameters for getEventPassChangeWebhooks operation in EventsPasschangesApi.
63870
63988
  */
63871
- export interface EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest {
63989
+ export interface EventsPasschangesApiGetEventPassChangeWebhooksRequest {
63872
63990
  /**
63873
63991
  * The event identifier
63874
63992
  */
@@ -63896,9 +64014,34 @@ export interface EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest {
63896
64014
  }
63897
64015
 
63898
64016
  /**
63899
- * Request parameters for removeEventPassChangeWebhook operation in EventsPasschangewebhooksApi.
64017
+ * Request parameters for getEventPassChanges operation in EventsPasschangesApi.
63900
64018
  */
63901
- export interface EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest {
64019
+ export interface EventsPasschangesApiGetEventPassChangesRequest {
64020
+ /**
64021
+ * The event identifier
64022
+ */
64023
+ readonly eventId: string
64024
+
64025
+ /**
64026
+ * Filter by subjectId
64027
+ */
64028
+ readonly subjectId?: string
64029
+
64030
+ /**
64031
+ * Filter by type
64032
+ */
64033
+ readonly type?: PassChangeLogType
64034
+
64035
+ /**
64036
+ * Filter by passId
64037
+ */
64038
+ readonly passId?: string
64039
+ }
64040
+
64041
+ /**
64042
+ * Request parameters for removeEventPassChangeWebhook operation in EventsPasschangesApi.
64043
+ */
64044
+ export interface EventsPasschangesApiRemoveEventPassChangeWebhookRequest {
63902
64045
  /**
63903
64046
  * The event identifier
63904
64047
  */
@@ -63911,40 +64054,51 @@ export interface EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest
63911
64054
  }
63912
64055
 
63913
64056
  /**
63914
- * EventsPasschangewebhooksApi - object-oriented interface
64057
+ * EventsPasschangesApi - object-oriented interface
63915
64058
  */
63916
- export class EventsPasschangewebhooksApi extends BaseAPI {
64059
+ export class EventsPasschangesApi extends BaseAPI {
63917
64060
  /**
63918
64061
  * Connects the specified webhook so it receives the event\'s pass change log rows, and requires update permission on events; the webhook must be verified.
63919
64062
  * @summary Connect a webhook to an event\'s pass change log
63920
- * @param {EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
64063
+ * @param {EventsPasschangesApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
63921
64064
  * @param {*} [options] Override http request option.
63922
64065
  * @throws {RequiredError}
63923
64066
  */
63924
- public addEventPassChangeWebhook(requestParameters: EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig) {
63925
- return EventsPasschangewebhooksApiFp(this.configuration).addEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(this.axios, this.basePath));
64067
+ public addEventPassChangeWebhook(requestParameters: EventsPasschangesApiAddEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig) {
64068
+ return EventsPasschangesApiFp(this.configuration).addEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(this.axios, this.basePath));
63926
64069
  }
63927
64070
 
63928
64071
  /**
63929
64072
  * Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
63930
64073
  * @summary List an event\'s pass change log webhooks
63931
- * @param {EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
64074
+ * @param {EventsPasschangesApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
64075
+ * @param {*} [options] Override http request option.
64076
+ * @throws {RequiredError}
64077
+ */
64078
+ public getEventPassChangeWebhooks(requestParameters: EventsPasschangesApiGetEventPassChangeWebhooksRequest, options?: RawAxiosRequestConfig) {
64079
+ return EventsPasschangesApiFp(this.configuration).getEventPassChangeWebhooks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
64080
+ }
64081
+
64082
+ /**
64083
+ * Returns a cursor-paginated feed of the event\'s pass change log rows in ascending order; pass the last returned cursor on the next call to tail new changes. Optionally filter by subjectId or change type. Requires read permission on events.
64084
+ * @summary Poll an event\'s pass changes
64085
+ * @param {EventsPasschangesApiGetEventPassChangesRequest} requestParameters Request parameters.
63932
64086
  * @param {*} [options] Override http request option.
63933
64087
  * @throws {RequiredError}
63934
64088
  */
63935
- public getEventPassChangeWebhooks(requestParameters: EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest, options?: RawAxiosRequestConfig) {
63936
- return EventsPasschangewebhooksApiFp(this.configuration).getEventPassChangeWebhooks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
64089
+ public getEventPassChanges(requestParameters: EventsPasschangesApiGetEventPassChangesRequest, options?: RawAxiosRequestConfig) {
64090
+ return EventsPasschangesApiFp(this.configuration).getEventPassChanges(requestParameters.eventId, requestParameters.subjectId, requestParameters.type, requestParameters.passId, options).then((request) => request(this.axios, this.basePath));
63937
64091
  }
63938
64092
 
63939
64093
  /**
63940
64094
  * Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
63941
64095
  * @summary Disconnect a webhook from an event\'s pass change log
63942
- * @param {EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
64096
+ * @param {EventsPasschangesApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
63943
64097
  * @param {*} [options] Override http request option.
63944
64098
  * @throws {RequiredError}
63945
64099
  */
63946
- public removeEventPassChangeWebhook(requestParameters: EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig) {
63947
- return EventsPasschangewebhooksApiFp(this.configuration).removeEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(this.axios, this.basePath));
64100
+ public removeEventPassChangeWebhook(requestParameters: EventsPasschangesApiRemoveEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig) {
64101
+ return EventsPasschangesApiFp(this.configuration).removeEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(this.axios, this.basePath));
63948
64102
  }
63949
64103
  }
63950
64104
 
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 11.7.0
7
+ * The version of the OpenAPI document: 11.8.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 11.7.0
7
+ * The version of the OpenAPI document: 11.8.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Connected Admin API
4
4
  * The Admin API allows you to manage your Connected community programmatically.
5
5
  *
6
- * The version of the OpenAPI document: 11.7.0
6
+ * The version of the OpenAPI document: 11.8.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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, BookingsResponsesApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsGroupcouponreminderApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPasschangewebhooksApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesExchangetargetsApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRegistrationsApi, EventsRegistrationsPackagesApi, EventsRegistrationsReservationsApi, 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, OrganizationEntitiesApi, OrganizationIntegrationsApi, OrganizationLanguageoverridesApi, 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, BookingsResponsesApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsGroupcouponreminderApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPasschangesApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesExchangetargetsApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRegistrationsApi, EventsRegistrationsPackagesApi, EventsRegistrationsReservationsApi, 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, OrganizationEntitiesApi, OrganizationIntegrationsApi, OrganizationLanguageoverridesApi, 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;
@@ -85,7 +85,7 @@ export declare class AdminApi {
85
85
  readonly eventsPackagesTranslations: EventsPackagesTranslationsApi;
86
86
  readonly eventsPages: EventsPagesApi;
87
87
  readonly eventsPagesTranslations: EventsPagesTranslationsApi;
88
- readonly eventsPasschangewebhooks: EventsPasschangewebhooksApi;
88
+ readonly eventsPasschanges: EventsPasschangesApi;
89
89
  readonly eventsPasses: EventsPassesApi;
90
90
  readonly eventsPassesAccesses: EventsPassesAccessesApi;
91
91
  readonly eventsPassesAddons: EventsPassesAddonsApi;
package/dist/AdminApi.js CHANGED
@@ -93,7 +93,7 @@ class AdminApi {
93
93
  this.eventsPackagesTranslations = new api_1.EventsPackagesTranslationsApi(this.config);
94
94
  this.eventsPages = new api_1.EventsPagesApi(this.config);
95
95
  this.eventsPagesTranslations = new api_1.EventsPagesTranslationsApi(this.config);
96
- this.eventsPasschangewebhooks = new api_1.EventsPasschangewebhooksApi(this.config);
96
+ this.eventsPasschanges = new api_1.EventsPasschangesApi(this.config);
97
97
  this.eventsPasses = new api_1.EventsPassesApi(this.config);
98
98
  this.eventsPassesAccesses = new api_1.EventsPassesAccessesApi(this.config);
99
99
  this.eventsPassesAddons = new api_1.EventsPassesAddonsApi(this.config);