@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.
- package/.openapi-generator/FILES +4 -1
- package/AdminApi.ts +3 -3
- package/README.md +2 -2
- package/api.ts +192 -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 +116 -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 +116 -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/EventPassChange.md +38 -0
- package/docs/{EventsPasschangewebhooksApi.md → EventsPasschangesApi.md} +71 -10
- package/docs/GetEventPassChanges200Response.md +24 -0
- package/docs/PassChangeLogType.md +22 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.
|
|
5
|
+
* The version of the OpenAPI document: 11.8.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5291,6 +5291,18 @@ export interface EventPass {
|
|
|
5291
5291
|
'attributes': Array<BasePassAttribute>;
|
|
5292
5292
|
'badgeColor': string | null;
|
|
5293
5293
|
}
|
|
5294
|
+
export interface EventPassChange {
|
|
5295
|
+
'id': string;
|
|
5296
|
+
'alternateId': number;
|
|
5297
|
+
'type': PassChangeLogType;
|
|
5298
|
+
'description': string;
|
|
5299
|
+
'subjectId': string | null;
|
|
5300
|
+
'oldValue': string | null;
|
|
5301
|
+
'newValue': string | null;
|
|
5302
|
+
'occurredAt': string;
|
|
5303
|
+
'passId': string;
|
|
5304
|
+
'createdAt': string;
|
|
5305
|
+
}
|
|
5294
5306
|
export interface EventPassCreateInputs {
|
|
5295
5307
|
'status'?: PurchaseStatus | null;
|
|
5296
5308
|
'location'?: string | null;
|
|
@@ -7606,6 +7618,14 @@ export interface GetEventPassChangeWebhooks200Response {
|
|
|
7606
7618
|
export declare enum GetEventPassChangeWebhooks200ResponseStatusEnum {
|
|
7607
7619
|
Ok = "ok"
|
|
7608
7620
|
}
|
|
7621
|
+
export interface GetEventPassChanges200Response {
|
|
7622
|
+
'status': GetEventPassChanges200ResponseStatusEnum;
|
|
7623
|
+
'message': string;
|
|
7624
|
+
'data': Array<EventPassChange>;
|
|
7625
|
+
}
|
|
7626
|
+
export declare enum GetEventPassChanges200ResponseStatusEnum {
|
|
7627
|
+
Ok = "ok"
|
|
7628
|
+
}
|
|
7609
7629
|
export interface GetEventPassMatches200Response {
|
|
7610
7630
|
'status': GetEventPassMatches200ResponseStatusEnum;
|
|
7611
7631
|
'message': string;
|
|
@@ -10998,6 +11018,16 @@ export interface PassAttributesUpdateInputsValuesInner {
|
|
|
10998
11018
|
'attributeId': string;
|
|
10999
11019
|
'value': string;
|
|
11000
11020
|
}
|
|
11021
|
+
export declare enum PassChangeLogType {
|
|
11022
|
+
Status = "status",
|
|
11023
|
+
PassType = "passType",
|
|
11024
|
+
Response = "response",
|
|
11025
|
+
AddOn = "addOn",
|
|
11026
|
+
Session = "session",
|
|
11027
|
+
Registration = "registration",
|
|
11028
|
+
Email = "email",
|
|
11029
|
+
InternalRefId = "internalRefId"
|
|
11030
|
+
}
|
|
11001
11031
|
export interface PassExchange {
|
|
11002
11032
|
'id': string;
|
|
11003
11033
|
'accountId': string;
|
|
@@ -38097,9 +38127,9 @@ export declare class EventsPagesTranslationsApi extends BaseAPI {
|
|
|
38097
38127
|
updateEventPageTranslation(requestParameters: EventsPagesTranslationsApiUpdateEventPageTranslationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncAccounts200Response, any, {}, any>>;
|
|
38098
38128
|
}
|
|
38099
38129
|
/**
|
|
38100
|
-
*
|
|
38130
|
+
* EventsPasschangesApi - axios parameter creator
|
|
38101
38131
|
*/
|
|
38102
|
-
export declare const
|
|
38132
|
+
export declare const EventsPasschangesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
38103
38133
|
/**
|
|
38104
38134
|
* 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.
|
|
38105
38135
|
* @summary Connect a webhook to an event\'s pass change log
|
|
@@ -38121,6 +38151,17 @@ export declare const EventsPasschangewebhooksApiAxiosParamCreator: (configuratio
|
|
|
38121
38151
|
* @throws {RequiredError}
|
|
38122
38152
|
*/
|
|
38123
38153
|
getEventPassChangeWebhooks: (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38154
|
+
/**
|
|
38155
|
+
* 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.
|
|
38156
|
+
* @summary Poll an event\'s pass changes
|
|
38157
|
+
* @param {string} eventId The event identifier
|
|
38158
|
+
* @param {string} [subjectId] Filter by subjectId
|
|
38159
|
+
* @param {PassChangeLogType} [type] Filter by type
|
|
38160
|
+
* @param {string} [passId] Filter by passId
|
|
38161
|
+
* @param {*} [options] Override http request option.
|
|
38162
|
+
* @throws {RequiredError}
|
|
38163
|
+
*/
|
|
38164
|
+
getEventPassChanges: (eventId: string, subjectId?: string, type?: PassChangeLogType, passId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38124
38165
|
/**
|
|
38125
38166
|
* Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
|
|
38126
38167
|
* @summary Disconnect a webhook from an event\'s pass change log
|
|
@@ -38132,9 +38173,9 @@ export declare const EventsPasschangewebhooksApiAxiosParamCreator: (configuratio
|
|
|
38132
38173
|
removeEventPassChangeWebhook: (eventId: string, webhookId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38133
38174
|
};
|
|
38134
38175
|
/**
|
|
38135
|
-
*
|
|
38176
|
+
* EventsPasschangesApi - functional programming interface
|
|
38136
38177
|
*/
|
|
38137
|
-
export declare const
|
|
38178
|
+
export declare const EventsPasschangesApiFp: (configuration?: Configuration) => {
|
|
38138
38179
|
/**
|
|
38139
38180
|
* 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.
|
|
38140
38181
|
* @summary Connect a webhook to an event\'s pass change log
|
|
@@ -38156,6 +38197,17 @@ export declare const EventsPasschangewebhooksApiFp: (configuration?: Configurati
|
|
|
38156
38197
|
* @throws {RequiredError}
|
|
38157
38198
|
*/
|
|
38158
38199
|
getEventPassChangeWebhooks(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassChangeWebhooks200Response>>;
|
|
38200
|
+
/**
|
|
38201
|
+
* 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.
|
|
38202
|
+
* @summary Poll an event\'s pass changes
|
|
38203
|
+
* @param {string} eventId The event identifier
|
|
38204
|
+
* @param {string} [subjectId] Filter by subjectId
|
|
38205
|
+
* @param {PassChangeLogType} [type] Filter by type
|
|
38206
|
+
* @param {string} [passId] Filter by passId
|
|
38207
|
+
* @param {*} [options] Override http request option.
|
|
38208
|
+
* @throws {RequiredError}
|
|
38209
|
+
*/
|
|
38210
|
+
getEventPassChanges(eventId: string, subjectId?: string, type?: PassChangeLogType, passId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassChanges200Response>>;
|
|
38159
38211
|
/**
|
|
38160
38212
|
* Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
|
|
38161
38213
|
* @summary Disconnect a webhook from an event\'s pass change log
|
|
@@ -38167,38 +38219,46 @@ export declare const EventsPasschangewebhooksApiFp: (configuration?: Configurati
|
|
|
38167
38219
|
removeEventPassChangeWebhook(eventId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
38168
38220
|
};
|
|
38169
38221
|
/**
|
|
38170
|
-
*
|
|
38222
|
+
* EventsPasschangesApi - factory interface
|
|
38171
38223
|
*/
|
|
38172
|
-
export declare const
|
|
38224
|
+
export declare const EventsPasschangesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
38173
38225
|
/**
|
|
38174
38226
|
* 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.
|
|
38175
38227
|
* @summary Connect a webhook to an event\'s pass change log
|
|
38176
|
-
* @param {
|
|
38228
|
+
* @param {EventsPasschangesApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
|
|
38177
38229
|
* @param {*} [options] Override http request option.
|
|
38178
38230
|
* @throws {RequiredError}
|
|
38179
38231
|
*/
|
|
38180
|
-
addEventPassChangeWebhook(requestParameters:
|
|
38232
|
+
addEventPassChangeWebhook(requestParameters: EventsPasschangesApiAddEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response>;
|
|
38181
38233
|
/**
|
|
38182
38234
|
* Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
|
|
38183
38235
|
* @summary List an event\'s pass change log webhooks
|
|
38184
|
-
* @param {
|
|
38236
|
+
* @param {EventsPasschangesApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
|
|
38237
|
+
* @param {*} [options] Override http request option.
|
|
38238
|
+
* @throws {RequiredError}
|
|
38239
|
+
*/
|
|
38240
|
+
getEventPassChangeWebhooks(requestParameters: EventsPasschangesApiGetEventPassChangeWebhooksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassChangeWebhooks200Response>;
|
|
38241
|
+
/**
|
|
38242
|
+
* 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.
|
|
38243
|
+
* @summary Poll an event\'s pass changes
|
|
38244
|
+
* @param {EventsPasschangesApiGetEventPassChangesRequest} requestParameters Request parameters.
|
|
38185
38245
|
* @param {*} [options] Override http request option.
|
|
38186
38246
|
* @throws {RequiredError}
|
|
38187
38247
|
*/
|
|
38188
|
-
|
|
38248
|
+
getEventPassChanges(requestParameters: EventsPasschangesApiGetEventPassChangesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassChanges200Response>;
|
|
38189
38249
|
/**
|
|
38190
38250
|
* Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
|
|
38191
38251
|
* @summary Disconnect a webhook from an event\'s pass change log
|
|
38192
|
-
* @param {
|
|
38252
|
+
* @param {EventsPasschangesApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
|
|
38193
38253
|
* @param {*} [options] Override http request option.
|
|
38194
38254
|
* @throws {RequiredError}
|
|
38195
38255
|
*/
|
|
38196
|
-
removeEventPassChangeWebhook(requestParameters:
|
|
38256
|
+
removeEventPassChangeWebhook(requestParameters: EventsPasschangesApiRemoveEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
|
|
38197
38257
|
};
|
|
38198
38258
|
/**
|
|
38199
|
-
* Request parameters for addEventPassChangeWebhook operation in
|
|
38259
|
+
* Request parameters for addEventPassChangeWebhook operation in EventsPasschangesApi.
|
|
38200
38260
|
*/
|
|
38201
|
-
export interface
|
|
38261
|
+
export interface EventsPasschangesApiAddEventPassChangeWebhookRequest {
|
|
38202
38262
|
/**
|
|
38203
38263
|
* The event identifier
|
|
38204
38264
|
*/
|
|
@@ -38209,9 +38269,9 @@ export interface EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest {
|
|
|
38209
38269
|
readonly webhookId: string;
|
|
38210
38270
|
}
|
|
38211
38271
|
/**
|
|
38212
|
-
* Request parameters for getEventPassChangeWebhooks operation in
|
|
38272
|
+
* Request parameters for getEventPassChangeWebhooks operation in EventsPasschangesApi.
|
|
38213
38273
|
*/
|
|
38214
|
-
export interface
|
|
38274
|
+
export interface EventsPasschangesApiGetEventPassChangeWebhooksRequest {
|
|
38215
38275
|
/**
|
|
38216
38276
|
* The event identifier
|
|
38217
38277
|
*/
|
|
@@ -38234,9 +38294,30 @@ export interface EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest {
|
|
|
38234
38294
|
readonly search?: string;
|
|
38235
38295
|
}
|
|
38236
38296
|
/**
|
|
38237
|
-
* Request parameters for
|
|
38297
|
+
* Request parameters for getEventPassChanges operation in EventsPasschangesApi.
|
|
38298
|
+
*/
|
|
38299
|
+
export interface EventsPasschangesApiGetEventPassChangesRequest {
|
|
38300
|
+
/**
|
|
38301
|
+
* The event identifier
|
|
38302
|
+
*/
|
|
38303
|
+
readonly eventId: string;
|
|
38304
|
+
/**
|
|
38305
|
+
* Filter by subjectId
|
|
38306
|
+
*/
|
|
38307
|
+
readonly subjectId?: string;
|
|
38308
|
+
/**
|
|
38309
|
+
* Filter by type
|
|
38310
|
+
*/
|
|
38311
|
+
readonly type?: PassChangeLogType;
|
|
38312
|
+
/**
|
|
38313
|
+
* Filter by passId
|
|
38314
|
+
*/
|
|
38315
|
+
readonly passId?: string;
|
|
38316
|
+
}
|
|
38317
|
+
/**
|
|
38318
|
+
* Request parameters for removeEventPassChangeWebhook operation in EventsPasschangesApi.
|
|
38238
38319
|
*/
|
|
38239
|
-
export interface
|
|
38320
|
+
export interface EventsPasschangesApiRemoveEventPassChangeWebhookRequest {
|
|
38240
38321
|
/**
|
|
38241
38322
|
* The event identifier
|
|
38242
38323
|
*/
|
|
@@ -38247,33 +38328,41 @@ export interface EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest
|
|
|
38247
38328
|
readonly webhookId: string;
|
|
38248
38329
|
}
|
|
38249
38330
|
/**
|
|
38250
|
-
*
|
|
38331
|
+
* EventsPasschangesApi - object-oriented interface
|
|
38251
38332
|
*/
|
|
38252
|
-
export declare class
|
|
38333
|
+
export declare class EventsPasschangesApi extends BaseAPI {
|
|
38253
38334
|
/**
|
|
38254
38335
|
* 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.
|
|
38255
38336
|
* @summary Connect a webhook to an event\'s pass change log
|
|
38256
|
-
* @param {
|
|
38337
|
+
* @param {EventsPasschangesApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
|
|
38257
38338
|
* @param {*} [options] Override http request option.
|
|
38258
38339
|
* @throws {RequiredError}
|
|
38259
38340
|
*/
|
|
38260
|
-
addEventPassChangeWebhook(requestParameters:
|
|
38341
|
+
addEventPassChangeWebhook(requestParameters: EventsPasschangesApiAddEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddEventPassChangeWebhook200Response, any, {}, any>>;
|
|
38261
38342
|
/**
|
|
38262
38343
|
* Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
|
|
38263
38344
|
* @summary List an event\'s pass change log webhooks
|
|
38264
|
-
* @param {
|
|
38345
|
+
* @param {EventsPasschangesApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
|
|
38346
|
+
* @param {*} [options] Override http request option.
|
|
38347
|
+
* @throws {RequiredError}
|
|
38348
|
+
*/
|
|
38349
|
+
getEventPassChangeWebhooks(requestParameters: EventsPasschangesApiGetEventPassChangeWebhooksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventPassChangeWebhooks200Response, any, {}, any>>;
|
|
38350
|
+
/**
|
|
38351
|
+
* 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.
|
|
38352
|
+
* @summary Poll an event\'s pass changes
|
|
38353
|
+
* @param {EventsPasschangesApiGetEventPassChangesRequest} requestParameters Request parameters.
|
|
38265
38354
|
* @param {*} [options] Override http request option.
|
|
38266
38355
|
* @throws {RequiredError}
|
|
38267
38356
|
*/
|
|
38268
|
-
|
|
38357
|
+
getEventPassChanges(requestParameters: EventsPasschangesApiGetEventPassChangesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventPassChanges200Response, any, {}, any>>;
|
|
38269
38358
|
/**
|
|
38270
38359
|
* Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
|
|
38271
38360
|
* @summary Disconnect a webhook from an event\'s pass change log
|
|
38272
|
-
* @param {
|
|
38361
|
+
* @param {EventsPasschangesApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
|
|
38273
38362
|
* @param {*} [options] Override http request option.
|
|
38274
38363
|
* @throws {RequiredError}
|
|
38275
38364
|
*/
|
|
38276
|
-
removeEventPassChangeWebhook(requestParameters:
|
|
38365
|
+
removeEventPassChangeWebhook(requestParameters: EventsPasschangesApiRemoveEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}, any>>;
|
|
38277
38366
|
}
|
|
38278
38367
|
/**
|
|
38279
38368
|
* EventsPassesApi - axios parameter creator
|