@connectedxm/admin-sdk 11.7.0 → 11.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -1
- package/AdminApi.ts +3 -3
- package/README.md +2 -2
- package/api.ts +200 -38
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/AdminApi.d.ts +2 -2
- package/dist/AdminApi.js +1 -1
- package/dist/api.d.ts +124 -27
- package/dist/api.js +154 -54
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/AdminApi.d.ts +2 -2
- package/dist/esm/AdminApi.js +2 -2
- package/dist/esm/api.d.ts +124 -27
- package/dist/esm/api.js +126 -26
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/{EventsPasschangewebhooksApi.md → EventsPasschangesApi.md} +71 -10
- package/docs/GetEventPassChanges200Response.md +24 -0
- package/docs/PassChange.md +40 -0
- package/docs/PassChangeLogType.md +22 -0
- package/docs/PassChangePass.md +20 -0
- package/docs/PassChangePassAttendee.md +22 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -701,7 +701,7 @@ docs/EventsPackagesPassesApi.md
|
|
|
701
701
|
docs/EventsPackagesTranslationsApi.md
|
|
702
702
|
docs/EventsPagesApi.md
|
|
703
703
|
docs/EventsPagesTranslationsApi.md
|
|
704
|
-
docs/
|
|
704
|
+
docs/EventsPasschangesApi.md
|
|
705
705
|
docs/EventsPassesAccessesApi.md
|
|
706
706
|
docs/EventsPassesAddonsApi.md
|
|
707
707
|
docs/EventsPassesApi.md
|
|
@@ -883,6 +883,7 @@ docs/GetEventPass200Response.md
|
|
|
883
883
|
docs/GetEventPassAccesses200Response.md
|
|
884
884
|
docs/GetEventPassAttributes200Response.md
|
|
885
885
|
docs/GetEventPassChangeWebhooks200Response.md
|
|
886
|
+
docs/GetEventPassChanges200Response.md
|
|
886
887
|
docs/GetEventPassMatches200Response.md
|
|
887
888
|
docs/GetEventPassQuestionSections200Response.md
|
|
888
889
|
docs/GetEventPassResponse200Response.md
|
|
@@ -1285,6 +1286,10 @@ docs/PassAddOn.md
|
|
|
1285
1286
|
docs/PassAttribute.md
|
|
1286
1287
|
docs/PassAttributesUpdateInputs.md
|
|
1287
1288
|
docs/PassAttributesUpdateInputsValuesInner.md
|
|
1289
|
+
docs/PassChange.md
|
|
1290
|
+
docs/PassChangeLogType.md
|
|
1291
|
+
docs/PassChangePass.md
|
|
1292
|
+
docs/PassChangePassAttendee.md
|
|
1288
1293
|
docs/PassExchange.md
|
|
1289
1294
|
docs/PassTypeAccessLevel.md
|
|
1290
1295
|
docs/PassTypeCreateInputs.md
|
package/AdminApi.ts
CHANGED
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
EventsPackagesTranslationsApi,
|
|
80
80
|
EventsPagesApi,
|
|
81
81
|
EventsPagesTranslationsApi,
|
|
82
|
-
|
|
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
|
|
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.
|
|
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.
|
|
1
|
+
## @connectedxm/admin-sdk@11.8.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @connectedxm/admin-sdk@11.
|
|
39
|
+
npm install @connectedxm/admin-sdk@11.8.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.8.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -8432,6 +8432,16 @@ export enum GetEventPassChangeWebhooks200ResponseStatusEnum {
|
|
|
8432
8432
|
Ok = 'ok'
|
|
8433
8433
|
}
|
|
8434
8434
|
|
|
8435
|
+
export interface GetEventPassChanges200Response {
|
|
8436
|
+
'status': GetEventPassChanges200ResponseStatusEnum;
|
|
8437
|
+
'message': string;
|
|
8438
|
+
'data': Array<PassChange>;
|
|
8439
|
+
}
|
|
8440
|
+
|
|
8441
|
+
export enum GetEventPassChanges200ResponseStatusEnum {
|
|
8442
|
+
Ok = 'ok'
|
|
8443
|
+
}
|
|
8444
|
+
|
|
8435
8445
|
export interface GetEventPassMatches200Response {
|
|
8436
8446
|
'status': GetEventPassMatches200ResponseStatusEnum;
|
|
8437
8447
|
'message': string;
|
|
@@ -12380,6 +12390,41 @@ export interface PassAttributesUpdateInputsValuesInner {
|
|
|
12380
12390
|
'attributeId': string;
|
|
12381
12391
|
'value': string;
|
|
12382
12392
|
}
|
|
12393
|
+
export interface PassChange {
|
|
12394
|
+
'id': string;
|
|
12395
|
+
'alternateId': number;
|
|
12396
|
+
'type': PassChangeLogType;
|
|
12397
|
+
'description': string;
|
|
12398
|
+
'subjectId': string | null;
|
|
12399
|
+
'oldValue': string | null;
|
|
12400
|
+
'newValue': string | null;
|
|
12401
|
+
'occurredAt': string;
|
|
12402
|
+
'passId': string;
|
|
12403
|
+
'pass': PassChangePass;
|
|
12404
|
+
'createdAt': string;
|
|
12405
|
+
}
|
|
12406
|
+
|
|
12407
|
+
|
|
12408
|
+
|
|
12409
|
+
export enum PassChangeLogType {
|
|
12410
|
+
Status = 'status',
|
|
12411
|
+
PassType = 'passType',
|
|
12412
|
+
Response = 'response',
|
|
12413
|
+
AddOn = 'addOn',
|
|
12414
|
+
Session = 'session',
|
|
12415
|
+
Registration = 'registration',
|
|
12416
|
+
Email = 'email',
|
|
12417
|
+
InternalRefId = 'internalRefId'
|
|
12418
|
+
}
|
|
12419
|
+
|
|
12420
|
+
|
|
12421
|
+
export interface PassChangePass {
|
|
12422
|
+
'attendee': PassChangePassAttendee;
|
|
12423
|
+
}
|
|
12424
|
+
export interface PassChangePassAttendee {
|
|
12425
|
+
'email': string | null;
|
|
12426
|
+
'account': BaseAccount | null;
|
|
12427
|
+
}
|
|
12383
12428
|
export interface PassExchange {
|
|
12384
12429
|
'id': string;
|
|
12385
12430
|
'accountId': string;
|
|
@@ -63602,9 +63647,9 @@ export class EventsPagesTranslationsApi extends BaseAPI {
|
|
|
63602
63647
|
|
|
63603
63648
|
|
|
63604
63649
|
/**
|
|
63605
|
-
*
|
|
63650
|
+
* EventsPasschangesApi - axios parameter creator
|
|
63606
63651
|
*/
|
|
63607
|
-
export const
|
|
63652
|
+
export const EventsPasschangesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
63608
63653
|
return {
|
|
63609
63654
|
/**
|
|
63610
63655
|
* 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 +63664,7 @@ export const EventsPasschangewebhooksApiAxiosParamCreator = function (configurat
|
|
|
63619
63664
|
assertParamExists('addEventPassChangeWebhook', 'eventId', eventId)
|
|
63620
63665
|
// verify required parameter 'webhookId' is not null or undefined
|
|
63621
63666
|
assertParamExists('addEventPassChangeWebhook', 'webhookId', webhookId)
|
|
63622
|
-
const localVarPath = `/events/{eventId}/
|
|
63667
|
+
const localVarPath = `/events/{eventId}/passChanges/webhooks/{webhookId}`
|
|
63623
63668
|
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
63624
63669
|
.replace('{webhookId}', encodeURIComponent(String(webhookId)));
|
|
63625
63670
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -63664,7 +63709,7 @@ export const EventsPasschangewebhooksApiAxiosParamCreator = function (configurat
|
|
|
63664
63709
|
getEventPassChangeWebhooks: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63665
63710
|
// verify required parameter 'eventId' is not null or undefined
|
|
63666
63711
|
assertParamExists('getEventPassChangeWebhooks', 'eventId', eventId)
|
|
63667
|
-
const localVarPath = `/events/{eventId}/
|
|
63712
|
+
const localVarPath = `/events/{eventId}/passChanges/webhooks`
|
|
63668
63713
|
.replace('{eventId}', encodeURIComponent(String(eventId)));
|
|
63669
63714
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63670
63715
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -63710,6 +63755,61 @@ export const EventsPasschangewebhooksApiAxiosParamCreator = function (configurat
|
|
|
63710
63755
|
options: localVarRequestOptions,
|
|
63711
63756
|
};
|
|
63712
63757
|
},
|
|
63758
|
+
/**
|
|
63759
|
+
* 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.
|
|
63760
|
+
* @summary Poll an event\'s pass changes
|
|
63761
|
+
* @param {string} eventId The event identifier
|
|
63762
|
+
* @param {string} [subjectId] Filter by subjectId
|
|
63763
|
+
* @param {PassChangeLogType} [type] Filter by type
|
|
63764
|
+
* @param {string} [passId] Filter by passId
|
|
63765
|
+
* @param {*} [options] Override http request option.
|
|
63766
|
+
* @throws {RequiredError}
|
|
63767
|
+
*/
|
|
63768
|
+
getEventPassChanges: async (eventId: string, subjectId?: string, type?: PassChangeLogType, passId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63769
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
63770
|
+
assertParamExists('getEventPassChanges', 'eventId', eventId)
|
|
63771
|
+
const localVarPath = `/events/{eventId}/passChanges`
|
|
63772
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)));
|
|
63773
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63774
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63775
|
+
let baseOptions;
|
|
63776
|
+
if (configuration) {
|
|
63777
|
+
baseOptions = configuration.baseOptions;
|
|
63778
|
+
}
|
|
63779
|
+
|
|
63780
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
63781
|
+
const localVarHeaderParameter = {} as any;
|
|
63782
|
+
const localVarQueryParameter = {} as any;
|
|
63783
|
+
|
|
63784
|
+
// authentication ApiKeyAuth required
|
|
63785
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
63786
|
+
|
|
63787
|
+
// authentication OrganizationId required
|
|
63788
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
63789
|
+
|
|
63790
|
+
if (subjectId !== undefined) {
|
|
63791
|
+
localVarQueryParameter['subjectId'] = subjectId;
|
|
63792
|
+
}
|
|
63793
|
+
|
|
63794
|
+
if (type !== undefined) {
|
|
63795
|
+
localVarQueryParameter['type'] = type;
|
|
63796
|
+
}
|
|
63797
|
+
|
|
63798
|
+
if (passId !== undefined) {
|
|
63799
|
+
localVarQueryParameter['passId'] = passId;
|
|
63800
|
+
}
|
|
63801
|
+
|
|
63802
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
63803
|
+
|
|
63804
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63805
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63806
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
63807
|
+
|
|
63808
|
+
return {
|
|
63809
|
+
url: toPathString(localVarUrlObj),
|
|
63810
|
+
options: localVarRequestOptions,
|
|
63811
|
+
};
|
|
63812
|
+
},
|
|
63713
63813
|
/**
|
|
63714
63814
|
* Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
|
|
63715
63815
|
* @summary Disconnect a webhook from an event\'s pass change log
|
|
@@ -63723,7 +63823,7 @@ export const EventsPasschangewebhooksApiAxiosParamCreator = function (configurat
|
|
|
63723
63823
|
assertParamExists('removeEventPassChangeWebhook', 'eventId', eventId)
|
|
63724
63824
|
// verify required parameter 'webhookId' is not null or undefined
|
|
63725
63825
|
assertParamExists('removeEventPassChangeWebhook', 'webhookId', webhookId)
|
|
63726
|
-
const localVarPath = `/events/{eventId}/
|
|
63826
|
+
const localVarPath = `/events/{eventId}/passChanges/webhooks/{webhookId}`
|
|
63727
63827
|
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
63728
63828
|
.replace('{webhookId}', encodeURIComponent(String(webhookId)));
|
|
63729
63829
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -63758,10 +63858,10 @@ export const EventsPasschangewebhooksApiAxiosParamCreator = function (configurat
|
|
|
63758
63858
|
};
|
|
63759
63859
|
|
|
63760
63860
|
/**
|
|
63761
|
-
*
|
|
63861
|
+
* EventsPasschangesApi - functional programming interface
|
|
63762
63862
|
*/
|
|
63763
|
-
export const
|
|
63764
|
-
const localVarAxiosParamCreator =
|
|
63863
|
+
export const EventsPasschangesApiFp = function(configuration?: Configuration) {
|
|
63864
|
+
const localVarAxiosParamCreator = EventsPasschangesApiAxiosParamCreator(configuration)
|
|
63765
63865
|
return {
|
|
63766
63866
|
/**
|
|
63767
63867
|
* 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 +63874,7 @@ export const EventsPasschangewebhooksApiFp = function(configuration?: Configurat
|
|
|
63774
63874
|
async addEventPassChangeWebhook(eventId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassChangeWebhook200Response>> {
|
|
63775
63875
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addEventPassChangeWebhook(eventId, webhookId, options);
|
|
63776
63876
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
63777
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
63877
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasschangesApi.addEventPassChangeWebhook']?.[localVarOperationServerIndex]?.url;
|
|
63778
63878
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63779
63879
|
},
|
|
63780
63880
|
/**
|
|
@@ -63791,7 +63891,23 @@ export const EventsPasschangewebhooksApiFp = function(configuration?: Configurat
|
|
|
63791
63891
|
async getEventPassChangeWebhooks(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassChangeWebhooks200Response>> {
|
|
63792
63892
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassChangeWebhooks(eventId, page, pageSize, orderBy, search, options);
|
|
63793
63893
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
63794
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
63894
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasschangesApi.getEventPassChangeWebhooks']?.[localVarOperationServerIndex]?.url;
|
|
63895
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63896
|
+
},
|
|
63897
|
+
/**
|
|
63898
|
+
* 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.
|
|
63899
|
+
* @summary Poll an event\'s pass changes
|
|
63900
|
+
* @param {string} eventId The event identifier
|
|
63901
|
+
* @param {string} [subjectId] Filter by subjectId
|
|
63902
|
+
* @param {PassChangeLogType} [type] Filter by type
|
|
63903
|
+
* @param {string} [passId] Filter by passId
|
|
63904
|
+
* @param {*} [options] Override http request option.
|
|
63905
|
+
* @throws {RequiredError}
|
|
63906
|
+
*/
|
|
63907
|
+
async getEventPassChanges(eventId: string, subjectId?: string, type?: PassChangeLogType, passId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassChanges200Response>> {
|
|
63908
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassChanges(eventId, subjectId, type, passId, options);
|
|
63909
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
63910
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasschangesApi.getEventPassChanges']?.[localVarOperationServerIndex]?.url;
|
|
63795
63911
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63796
63912
|
},
|
|
63797
63913
|
/**
|
|
@@ -63805,55 +63921,65 @@ export const EventsPasschangewebhooksApiFp = function(configuration?: Configurat
|
|
|
63805
63921
|
async removeEventPassChangeWebhook(eventId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
63806
63922
|
const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventPassChangeWebhook(eventId, webhookId, options);
|
|
63807
63923
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
63808
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
63924
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasschangesApi.removeEventPassChangeWebhook']?.[localVarOperationServerIndex]?.url;
|
|
63809
63925
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63810
63926
|
},
|
|
63811
63927
|
}
|
|
63812
63928
|
};
|
|
63813
63929
|
|
|
63814
63930
|
/**
|
|
63815
|
-
*
|
|
63931
|
+
* EventsPasschangesApi - factory interface
|
|
63816
63932
|
*/
|
|
63817
|
-
export const
|
|
63818
|
-
const localVarFp =
|
|
63933
|
+
export const EventsPasschangesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
63934
|
+
const localVarFp = EventsPasschangesApiFp(configuration)
|
|
63819
63935
|
return {
|
|
63820
63936
|
/**
|
|
63821
63937
|
* 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
63938
|
* @summary Connect a webhook to an event\'s pass change log
|
|
63823
|
-
* @param {
|
|
63939
|
+
* @param {EventsPasschangesApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
|
|
63824
63940
|
* @param {*} [options] Override http request option.
|
|
63825
63941
|
* @throws {RequiredError}
|
|
63826
63942
|
*/
|
|
63827
|
-
addEventPassChangeWebhook(requestParameters:
|
|
63943
|
+
addEventPassChangeWebhook(requestParameters: EventsPasschangesApiAddEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
|
|
63828
63944
|
return localVarFp.addEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
|
|
63829
63945
|
},
|
|
63830
63946
|
/**
|
|
63831
63947
|
* Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
|
|
63832
63948
|
* @summary List an event\'s pass change log webhooks
|
|
63833
|
-
* @param {
|
|
63949
|
+
* @param {EventsPasschangesApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
|
|
63834
63950
|
* @param {*} [options] Override http request option.
|
|
63835
63951
|
* @throws {RequiredError}
|
|
63836
63952
|
*/
|
|
63837
|
-
getEventPassChangeWebhooks(requestParameters:
|
|
63953
|
+
getEventPassChangeWebhooks(requestParameters: EventsPasschangesApiGetEventPassChangeWebhooksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassChangeWebhooks200Response> {
|
|
63838
63954
|
return localVarFp.getEventPassChangeWebhooks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
63839
63955
|
},
|
|
63956
|
+
/**
|
|
63957
|
+
* 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.
|
|
63958
|
+
* @summary Poll an event\'s pass changes
|
|
63959
|
+
* @param {EventsPasschangesApiGetEventPassChangesRequest} requestParameters Request parameters.
|
|
63960
|
+
* @param {*} [options] Override http request option.
|
|
63961
|
+
* @throws {RequiredError}
|
|
63962
|
+
*/
|
|
63963
|
+
getEventPassChanges(requestParameters: EventsPasschangesApiGetEventPassChangesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassChanges200Response> {
|
|
63964
|
+
return localVarFp.getEventPassChanges(requestParameters.eventId, requestParameters.subjectId, requestParameters.type, requestParameters.passId, options).then((request) => request(axios, basePath));
|
|
63965
|
+
},
|
|
63840
63966
|
/**
|
|
63841
63967
|
* Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
|
|
63842
63968
|
* @summary Disconnect a webhook from an event\'s pass change log
|
|
63843
|
-
* @param {
|
|
63969
|
+
* @param {EventsPasschangesApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
|
|
63844
63970
|
* @param {*} [options] Override http request option.
|
|
63845
63971
|
* @throws {RequiredError}
|
|
63846
63972
|
*/
|
|
63847
|
-
removeEventPassChangeWebhook(requestParameters:
|
|
63973
|
+
removeEventPassChangeWebhook(requestParameters: EventsPasschangesApiRemoveEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
63848
63974
|
return localVarFp.removeEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
|
|
63849
63975
|
},
|
|
63850
63976
|
};
|
|
63851
63977
|
};
|
|
63852
63978
|
|
|
63853
63979
|
/**
|
|
63854
|
-
* Request parameters for addEventPassChangeWebhook operation in
|
|
63980
|
+
* Request parameters for addEventPassChangeWebhook operation in EventsPasschangesApi.
|
|
63855
63981
|
*/
|
|
63856
|
-
export interface
|
|
63982
|
+
export interface EventsPasschangesApiAddEventPassChangeWebhookRequest {
|
|
63857
63983
|
/**
|
|
63858
63984
|
* The event identifier
|
|
63859
63985
|
*/
|
|
@@ -63866,9 +63992,9 @@ export interface EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest {
|
|
|
63866
63992
|
}
|
|
63867
63993
|
|
|
63868
63994
|
/**
|
|
63869
|
-
* Request parameters for getEventPassChangeWebhooks operation in
|
|
63995
|
+
* Request parameters for getEventPassChangeWebhooks operation in EventsPasschangesApi.
|
|
63870
63996
|
*/
|
|
63871
|
-
export interface
|
|
63997
|
+
export interface EventsPasschangesApiGetEventPassChangeWebhooksRequest {
|
|
63872
63998
|
/**
|
|
63873
63999
|
* The event identifier
|
|
63874
64000
|
*/
|
|
@@ -63896,9 +64022,34 @@ export interface EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest {
|
|
|
63896
64022
|
}
|
|
63897
64023
|
|
|
63898
64024
|
/**
|
|
63899
|
-
* Request parameters for
|
|
64025
|
+
* Request parameters for getEventPassChanges operation in EventsPasschangesApi.
|
|
64026
|
+
*/
|
|
64027
|
+
export interface EventsPasschangesApiGetEventPassChangesRequest {
|
|
64028
|
+
/**
|
|
64029
|
+
* The event identifier
|
|
64030
|
+
*/
|
|
64031
|
+
readonly eventId: string
|
|
64032
|
+
|
|
64033
|
+
/**
|
|
64034
|
+
* Filter by subjectId
|
|
64035
|
+
*/
|
|
64036
|
+
readonly subjectId?: string
|
|
64037
|
+
|
|
64038
|
+
/**
|
|
64039
|
+
* Filter by type
|
|
64040
|
+
*/
|
|
64041
|
+
readonly type?: PassChangeLogType
|
|
64042
|
+
|
|
64043
|
+
/**
|
|
64044
|
+
* Filter by passId
|
|
64045
|
+
*/
|
|
64046
|
+
readonly passId?: string
|
|
64047
|
+
}
|
|
64048
|
+
|
|
64049
|
+
/**
|
|
64050
|
+
* Request parameters for removeEventPassChangeWebhook operation in EventsPasschangesApi.
|
|
63900
64051
|
*/
|
|
63901
|
-
export interface
|
|
64052
|
+
export interface EventsPasschangesApiRemoveEventPassChangeWebhookRequest {
|
|
63902
64053
|
/**
|
|
63903
64054
|
* The event identifier
|
|
63904
64055
|
*/
|
|
@@ -63911,40 +64062,51 @@ export interface EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest
|
|
|
63911
64062
|
}
|
|
63912
64063
|
|
|
63913
64064
|
/**
|
|
63914
|
-
*
|
|
64065
|
+
* EventsPasschangesApi - object-oriented interface
|
|
63915
64066
|
*/
|
|
63916
|
-
export class
|
|
64067
|
+
export class EventsPasschangesApi extends BaseAPI {
|
|
63917
64068
|
/**
|
|
63918
64069
|
* 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
64070
|
* @summary Connect a webhook to an event\'s pass change log
|
|
63920
|
-
* @param {
|
|
64071
|
+
* @param {EventsPasschangesApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
|
|
63921
64072
|
* @param {*} [options] Override http request option.
|
|
63922
64073
|
* @throws {RequiredError}
|
|
63923
64074
|
*/
|
|
63924
|
-
public addEventPassChangeWebhook(requestParameters:
|
|
63925
|
-
return
|
|
64075
|
+
public addEventPassChangeWebhook(requestParameters: EventsPasschangesApiAddEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig) {
|
|
64076
|
+
return EventsPasschangesApiFp(this.configuration).addEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(this.axios, this.basePath));
|
|
63926
64077
|
}
|
|
63927
64078
|
|
|
63928
64079
|
/**
|
|
63929
64080
|
* Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
|
|
63930
64081
|
* @summary List an event\'s pass change log webhooks
|
|
63931
|
-
* @param {
|
|
64082
|
+
* @param {EventsPasschangesApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
|
|
64083
|
+
* @param {*} [options] Override http request option.
|
|
64084
|
+
* @throws {RequiredError}
|
|
64085
|
+
*/
|
|
64086
|
+
public getEventPassChangeWebhooks(requestParameters: EventsPasschangesApiGetEventPassChangeWebhooksRequest, options?: RawAxiosRequestConfig) {
|
|
64087
|
+
return EventsPasschangesApiFp(this.configuration).getEventPassChangeWebhooks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
64088
|
+
}
|
|
64089
|
+
|
|
64090
|
+
/**
|
|
64091
|
+
* 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.
|
|
64092
|
+
* @summary Poll an event\'s pass changes
|
|
64093
|
+
* @param {EventsPasschangesApiGetEventPassChangesRequest} requestParameters Request parameters.
|
|
63932
64094
|
* @param {*} [options] Override http request option.
|
|
63933
64095
|
* @throws {RequiredError}
|
|
63934
64096
|
*/
|
|
63935
|
-
public
|
|
63936
|
-
return
|
|
64097
|
+
public getEventPassChanges(requestParameters: EventsPasschangesApiGetEventPassChangesRequest, options?: RawAxiosRequestConfig) {
|
|
64098
|
+
return EventsPasschangesApiFp(this.configuration).getEventPassChanges(requestParameters.eventId, requestParameters.subjectId, requestParameters.type, requestParameters.passId, options).then((request) => request(this.axios, this.basePath));
|
|
63937
64099
|
}
|
|
63938
64100
|
|
|
63939
64101
|
/**
|
|
63940
64102
|
* Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
|
|
63941
64103
|
* @summary Disconnect a webhook from an event\'s pass change log
|
|
63942
|
-
* @param {
|
|
64104
|
+
* @param {EventsPasschangesApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
|
|
63943
64105
|
* @param {*} [options] Override http request option.
|
|
63944
64106
|
* @throws {RequiredError}
|
|
63945
64107
|
*/
|
|
63946
|
-
public removeEventPassChangeWebhook(requestParameters:
|
|
63947
|
-
return
|
|
64108
|
+
public removeEventPassChangeWebhook(requestParameters: EventsPasschangesApiRemoveEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig) {
|
|
64109
|
+
return EventsPasschangesApiFp(this.configuration).removeEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(this.axios, this.basePath));
|
|
63948
64110
|
}
|
|
63949
64111
|
}
|
|
63950
64112
|
|
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
|
+
* The version of the OpenAPI document: 11.8.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.8.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Connected Admin API
|
|
4
4
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 11.
|
|
6
|
+
* The version of the OpenAPI document: 11.8.1
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/AdminApi.d.ts
CHANGED
|
@@ -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,
|
|
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
|
|
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.
|
|
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);
|