@connectedxm/admin-sdk 11.0.2 → 11.2.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.
@@ -49,6 +49,7 @@ docs/AddCustomReportUserRequest.md
49
49
  docs/AddEventAccessUserRequest.md
50
50
  docs/AddEventAddOnTierRequest.md
51
51
  docs/AddEventOnSiteLabelPassType200Response.md
52
+ docs/AddEventPassChangeWebhook200Response.md
52
53
  docs/AddEventPassTypeExchangeTarget200Response.md
53
54
  docs/AddOrganizationUser200Response.md
54
55
  docs/AddRoomToRoomTypeRequest.md
@@ -435,7 +436,6 @@ docs/CreateOrganizationPaymentIntegration200Response.md
435
436
  docs/CreateOrganizationSideEffect200Response.md
436
437
  docs/CreateOrganizationSideEffectRequest.md
437
438
  docs/CreateOrganizationTeamMember200Response.md
438
- docs/CreateOrganizationWebhook200Response.md
439
439
  docs/CreatePreset200Response.md
440
440
  docs/CreateRoom200Response.md
441
441
  docs/CreateSearchList200Response.md
@@ -697,6 +697,7 @@ docs/EventsPackagesPassesApi.md
697
697
  docs/EventsPackagesTranslationsApi.md
698
698
  docs/EventsPagesApi.md
699
699
  docs/EventsPagesTranslationsApi.md
700
+ docs/EventsPasschangewebhooksApi.md
700
701
  docs/EventsPassesAccessesApi.md
701
702
  docs/EventsPassesAddonsApi.md
702
703
  docs/EventsPassesApi.md
@@ -876,6 +877,7 @@ docs/GetEventPages200Response.md
876
877
  docs/GetEventPass200Response.md
877
878
  docs/GetEventPassAccesses200Response.md
878
879
  docs/GetEventPassAttributes200Response.md
880
+ docs/GetEventPassChangeWebhooks200Response.md
879
881
  docs/GetEventPassMatches200Response.md
880
882
  docs/GetEventPassQuestionSections200Response.md
881
883
  docs/GetEventPassResponse200Response.md
@@ -1009,7 +1011,6 @@ docs/GetOrganizationSystemLog200Response.md
1009
1011
  docs/GetOrganizationSystemLogs200Response.md
1010
1012
  docs/GetOrganizationTeamMembers200Response.md
1011
1013
  docs/GetOrganizationUsers200Response.md
1012
- docs/GetOrganizationWebhooks200Response.md
1013
1014
  docs/GetPayment200Response.md
1014
1015
  docs/GetPaymentIntent200Response.md
1015
1016
  docs/GetPaymentTaxMetadata200Response.md
package/AdminApi.ts CHANGED
@@ -78,6 +78,7 @@ import {
78
78
  EventsPackagesTranslationsApi,
79
79
  EventsPagesApi,
80
80
  EventsPagesTranslationsApi,
81
+ EventsPasschangewebhooksApi,
81
82
  EventsPassesApi,
82
83
  EventsPassesAccessesApi,
83
84
  EventsPassesAddonsApi,
@@ -290,6 +291,7 @@ export class AdminApi {
290
291
  public readonly eventsPackagesTranslations: EventsPackagesTranslationsApi;
291
292
  public readonly eventsPages: EventsPagesApi;
292
293
  public readonly eventsPagesTranslations: EventsPagesTranslationsApi;
294
+ public readonly eventsPasschangewebhooks: EventsPasschangewebhooksApi;
293
295
  public readonly eventsPasses: EventsPassesApi;
294
296
  public readonly eventsPassesAccesses: EventsPassesAccessesApi;
295
297
  public readonly eventsPassesAddons: EventsPassesAddonsApi;
@@ -500,6 +502,7 @@ export class AdminApi {
500
502
  this.eventsPackagesTranslations = new EventsPackagesTranslationsApi(this.config);
501
503
  this.eventsPages = new EventsPagesApi(this.config);
502
504
  this.eventsPagesTranslations = new EventsPagesTranslationsApi(this.config);
505
+ this.eventsPasschangewebhooks = new EventsPasschangewebhooksApi(this.config);
503
506
  this.eventsPasses = new EventsPassesApi(this.config);
504
507
  this.eventsPassesAccesses = new EventsPassesAccessesApi(this.config);
505
508
  this.eventsPassesAddons = new EventsPassesAddonsApi(this.config);
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @connectedxm/admin-sdk@11.0.2
1
+ ## @connectedxm/admin-sdk@11.2.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.0.2 --save
39
+ npm install @connectedxm/admin-sdk@11.2.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.0.2
7
+ * The version of the OpenAPI document: 11.2.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -460,6 +460,16 @@ export enum AddEventOnSiteLabelPassType200ResponseStatusEnum {
460
460
  Ok = 'ok'
461
461
  }
462
462
 
463
+ export interface AddEventPassChangeWebhook200Response {
464
+ 'status': AddEventPassChangeWebhook200ResponseStatusEnum;
465
+ 'message': string;
466
+ 'data': Webhook;
467
+ }
468
+
469
+ export enum AddEventPassChangeWebhook200ResponseStatusEnum {
470
+ Ok = 'ok'
471
+ }
472
+
463
473
  export interface AddEventPassTypeExchangeTarget200Response {
464
474
  'status': AddEventPassTypeExchangeTarget200ResponseStatusEnum;
465
475
  'message': string;
@@ -755,7 +765,8 @@ export interface AuthorizeNetActivationFormParams {
755
765
  export enum BadgeColorRuleType {
756
766
  Attribute = 'attribute',
757
767
  Tier = 'tier',
758
- PassType = 'passType'
768
+ PassType = 'passType',
769
+ PassAttribute = 'passAttribute'
759
770
  }
760
771
 
761
772
 
@@ -1399,6 +1410,8 @@ export interface BaseEventOnSiteBadgeColorRule {
1399
1410
  'attributeValue': string | null;
1400
1411
  'tierId': string | null;
1401
1412
  'passTypeId': string | null;
1413
+ 'passAttributeId': string | null;
1414
+ 'passAttributeValue': string | null;
1402
1415
  }
1403
1416
 
1404
1417
 
@@ -4509,16 +4522,6 @@ export enum CreateOrganizationTeamMember200ResponseStatusEnum {
4509
4522
  Ok = 'ok'
4510
4523
  }
4511
4524
 
4512
- export interface CreateOrganizationWebhook200Response {
4513
- 'status': CreateOrganizationWebhook200ResponseStatusEnum;
4514
- 'message': string;
4515
- 'data': Webhook;
4516
- }
4517
-
4518
- export enum CreateOrganizationWebhook200ResponseStatusEnum {
4519
- Ok = 'ok'
4520
- }
4521
-
4522
4525
  export interface CreatePreset200Response {
4523
4526
  'status': CreatePreset200ResponseStatusEnum;
4524
4527
  'message': string;
@@ -5273,6 +5276,8 @@ export interface EventBadgeColorRuleCreateInputs {
5273
5276
  'attributeValue'?: string | null;
5274
5277
  'tierId'?: string | null;
5275
5278
  'passTypeId'?: string | null;
5279
+ 'passAttributeId'?: string | null;
5280
+ 'passAttributeValue'?: string | null;
5276
5281
  }
5277
5282
 
5278
5283
 
@@ -5285,6 +5290,8 @@ export interface EventBadgeColorRuleUpdateInputs {
5285
5290
  'attributeValue'?: string | null;
5286
5291
  'tierId'?: string | null;
5287
5292
  'passTypeId'?: string | null;
5293
+ 'passAttributeId'?: string | null;
5294
+ 'passAttributeValue'?: string | null;
5288
5295
  }
5289
5296
 
5290
5297
 
@@ -5589,9 +5596,12 @@ export interface EventOnSiteBadgeColorRule {
5589
5596
  'attributeValue': string | null;
5590
5597
  'tierId': string | null;
5591
5598
  'passTypeId': string | null;
5599
+ 'passAttributeId': string | null;
5600
+ 'passAttributeValue': string | null;
5592
5601
  'attribute': BaseAccountAttribute | null;
5593
5602
  'tier': BaseTier | null;
5594
5603
  'passType': BaseEventPassType | null;
5604
+ 'passAttribute': BaseEventAttribute | null;
5595
5605
  'createdAt': string;
5596
5606
  'updatedAt': string;
5597
5607
  }
@@ -8371,6 +8381,17 @@ export enum GetEventPassAttributes200ResponseStatusEnum {
8371
8381
  Ok = 'ok'
8372
8382
  }
8373
8383
 
8384
+ export interface GetEventPassChangeWebhooks200Response {
8385
+ 'status': GetEventPassChangeWebhooks200ResponseStatusEnum;
8386
+ 'message': string;
8387
+ 'data': Array<Webhook>;
8388
+ 'count'?: number;
8389
+ }
8390
+
8391
+ export enum GetEventPassChangeWebhooks200ResponseStatusEnum {
8392
+ Ok = 'ok'
8393
+ }
8394
+
8374
8395
  export interface GetEventPassMatches200Response {
8375
8396
  'status': GetEventPassMatches200ResponseStatusEnum;
8376
8397
  'message': string;
@@ -9786,17 +9807,6 @@ export enum GetOrganizationUsers200ResponseStatusEnum {
9786
9807
  Ok = 'ok'
9787
9808
  }
9788
9809
 
9789
- export interface GetOrganizationWebhooks200Response {
9790
- 'status': GetOrganizationWebhooks200ResponseStatusEnum;
9791
- 'message': string;
9792
- 'data': Array<Webhook>;
9793
- 'count'?: number;
9794
- }
9795
-
9796
- export enum GetOrganizationWebhooks200ResponseStatusEnum {
9797
- Ok = 'ok'
9798
- }
9799
-
9800
9810
  export interface GetPayment200Response {
9801
9811
  'status': GetPayment200ResponseStatusEnum;
9802
9812
  'message': string;
@@ -63153,6 +63163,355 @@ export class EventsPagesTranslationsApi extends BaseAPI {
63153
63163
 
63154
63164
 
63155
63165
 
63166
+ /**
63167
+ * EventsPasschangewebhooksApi - axios parameter creator
63168
+ */
63169
+ export const EventsPasschangewebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
63170
+ return {
63171
+ /**
63172
+ * 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.
63173
+ * @summary Connect a webhook to an event\'s pass change log
63174
+ * @param {string} eventId The event identifier
63175
+ * @param {string} webhookId The webhook identifier
63176
+ * @param {*} [options] Override http request option.
63177
+ * @throws {RequiredError}
63178
+ */
63179
+ addEventPassChangeWebhook: async (eventId: string, webhookId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63180
+ // verify required parameter 'eventId' is not null or undefined
63181
+ assertParamExists('addEventPassChangeWebhook', 'eventId', eventId)
63182
+ // verify required parameter 'webhookId' is not null or undefined
63183
+ assertParamExists('addEventPassChangeWebhook', 'webhookId', webhookId)
63184
+ const localVarPath = `/events/{eventId}/passChangeWebhooks/{webhookId}`
63185
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
63186
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
63187
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63188
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63189
+ let baseOptions;
63190
+ if (configuration) {
63191
+ baseOptions = configuration.baseOptions;
63192
+ }
63193
+
63194
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
63195
+ const localVarHeaderParameter = {} as any;
63196
+ const localVarQueryParameter = {} as any;
63197
+
63198
+ // authentication ApiKeyAuth required
63199
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
63200
+
63201
+ // authentication OrganizationId required
63202
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
63203
+
63204
+ localVarHeaderParameter['Accept'] = 'application/json';
63205
+
63206
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63207
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63208
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63209
+
63210
+ return {
63211
+ url: toPathString(localVarUrlObj),
63212
+ options: localVarRequestOptions,
63213
+ };
63214
+ },
63215
+ /**
63216
+ * Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
63217
+ * @summary List an event\'s pass change log webhooks
63218
+ * @param {string} eventId The event identifier
63219
+ * @param {number} [page] Page number
63220
+ * @param {number} [pageSize] Number of items per page
63221
+ * @param {string} [orderBy] Field to order by
63222
+ * @param {string} [search] Search query
63223
+ * @param {*} [options] Override http request option.
63224
+ * @throws {RequiredError}
63225
+ */
63226
+ getEventPassChangeWebhooks: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63227
+ // verify required parameter 'eventId' is not null or undefined
63228
+ assertParamExists('getEventPassChangeWebhooks', 'eventId', eventId)
63229
+ const localVarPath = `/events/{eventId}/passChangeWebhooks`
63230
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
63231
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63232
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63233
+ let baseOptions;
63234
+ if (configuration) {
63235
+ baseOptions = configuration.baseOptions;
63236
+ }
63237
+
63238
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
63239
+ const localVarHeaderParameter = {} as any;
63240
+ const localVarQueryParameter = {} as any;
63241
+
63242
+ // authentication ApiKeyAuth required
63243
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
63244
+
63245
+ // authentication OrganizationId required
63246
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
63247
+
63248
+ if (page !== undefined) {
63249
+ localVarQueryParameter['page'] = page;
63250
+ }
63251
+
63252
+ if (pageSize !== undefined) {
63253
+ localVarQueryParameter['pageSize'] = pageSize;
63254
+ }
63255
+
63256
+ if (orderBy !== undefined) {
63257
+ localVarQueryParameter['orderBy'] = orderBy;
63258
+ }
63259
+
63260
+ if (search !== undefined) {
63261
+ localVarQueryParameter['search'] = search;
63262
+ }
63263
+
63264
+ localVarHeaderParameter['Accept'] = 'application/json';
63265
+
63266
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63267
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63268
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63269
+
63270
+ return {
63271
+ url: toPathString(localVarUrlObj),
63272
+ options: localVarRequestOptions,
63273
+ };
63274
+ },
63275
+ /**
63276
+ * Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
63277
+ * @summary Disconnect a webhook from an event\'s pass change log
63278
+ * @param {string} eventId The event identifier
63279
+ * @param {string} webhookId The webhook identifier
63280
+ * @param {*} [options] Override http request option.
63281
+ * @throws {RequiredError}
63282
+ */
63283
+ removeEventPassChangeWebhook: async (eventId: string, webhookId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63284
+ // verify required parameter 'eventId' is not null or undefined
63285
+ assertParamExists('removeEventPassChangeWebhook', 'eventId', eventId)
63286
+ // verify required parameter 'webhookId' is not null or undefined
63287
+ assertParamExists('removeEventPassChangeWebhook', 'webhookId', webhookId)
63288
+ const localVarPath = `/events/{eventId}/passChangeWebhooks/{webhookId}`
63289
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
63290
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
63291
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63292
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63293
+ let baseOptions;
63294
+ if (configuration) {
63295
+ baseOptions = configuration.baseOptions;
63296
+ }
63297
+
63298
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
63299
+ const localVarHeaderParameter = {} as any;
63300
+ const localVarQueryParameter = {} as any;
63301
+
63302
+ // authentication ApiKeyAuth required
63303
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
63304
+
63305
+ // authentication OrganizationId required
63306
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
63307
+
63308
+ localVarHeaderParameter['Accept'] = 'application/json';
63309
+
63310
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63311
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63312
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63313
+
63314
+ return {
63315
+ url: toPathString(localVarUrlObj),
63316
+ options: localVarRequestOptions,
63317
+ };
63318
+ },
63319
+ }
63320
+ };
63321
+
63322
+ /**
63323
+ * EventsPasschangewebhooksApi - functional programming interface
63324
+ */
63325
+ export const EventsPasschangewebhooksApiFp = function(configuration?: Configuration) {
63326
+ const localVarAxiosParamCreator = EventsPasschangewebhooksApiAxiosParamCreator(configuration)
63327
+ return {
63328
+ /**
63329
+ * 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.
63330
+ * @summary Connect a webhook to an event\'s pass change log
63331
+ * @param {string} eventId The event identifier
63332
+ * @param {string} webhookId The webhook identifier
63333
+ * @param {*} [options] Override http request option.
63334
+ * @throws {RequiredError}
63335
+ */
63336
+ async addEventPassChangeWebhook(eventId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassChangeWebhook200Response>> {
63337
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addEventPassChangeWebhook(eventId, webhookId, options);
63338
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63339
+ const localVarOperationServerBasePath = operationServerMap['EventsPasschangewebhooksApi.addEventPassChangeWebhook']?.[localVarOperationServerIndex]?.url;
63340
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63341
+ },
63342
+ /**
63343
+ * Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
63344
+ * @summary List an event\'s pass change log webhooks
63345
+ * @param {string} eventId The event identifier
63346
+ * @param {number} [page] Page number
63347
+ * @param {number} [pageSize] Number of items per page
63348
+ * @param {string} [orderBy] Field to order by
63349
+ * @param {string} [search] Search query
63350
+ * @param {*} [options] Override http request option.
63351
+ * @throws {RequiredError}
63352
+ */
63353
+ async getEventPassChangeWebhooks(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassChangeWebhooks200Response>> {
63354
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassChangeWebhooks(eventId, page, pageSize, orderBy, search, options);
63355
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63356
+ const localVarOperationServerBasePath = operationServerMap['EventsPasschangewebhooksApi.getEventPassChangeWebhooks']?.[localVarOperationServerIndex]?.url;
63357
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63358
+ },
63359
+ /**
63360
+ * Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
63361
+ * @summary Disconnect a webhook from an event\'s pass change log
63362
+ * @param {string} eventId The event identifier
63363
+ * @param {string} webhookId The webhook identifier
63364
+ * @param {*} [options] Override http request option.
63365
+ * @throws {RequiredError}
63366
+ */
63367
+ async removeEventPassChangeWebhook(eventId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
63368
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventPassChangeWebhook(eventId, webhookId, options);
63369
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63370
+ const localVarOperationServerBasePath = operationServerMap['EventsPasschangewebhooksApi.removeEventPassChangeWebhook']?.[localVarOperationServerIndex]?.url;
63371
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63372
+ },
63373
+ }
63374
+ };
63375
+
63376
+ /**
63377
+ * EventsPasschangewebhooksApi - factory interface
63378
+ */
63379
+ export const EventsPasschangewebhooksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
63380
+ const localVarFp = EventsPasschangewebhooksApiFp(configuration)
63381
+ return {
63382
+ /**
63383
+ * 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.
63384
+ * @summary Connect a webhook to an event\'s pass change log
63385
+ * @param {EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
63386
+ * @param {*} [options] Override http request option.
63387
+ * @throws {RequiredError}
63388
+ */
63389
+ addEventPassChangeWebhook(requestParameters: EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
63390
+ return localVarFp.addEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
63391
+ },
63392
+ /**
63393
+ * Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
63394
+ * @summary List an event\'s pass change log webhooks
63395
+ * @param {EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
63396
+ * @param {*} [options] Override http request option.
63397
+ * @throws {RequiredError}
63398
+ */
63399
+ getEventPassChangeWebhooks(requestParameters: EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassChangeWebhooks200Response> {
63400
+ return localVarFp.getEventPassChangeWebhooks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
63401
+ },
63402
+ /**
63403
+ * Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
63404
+ * @summary Disconnect a webhook from an event\'s pass change log
63405
+ * @param {EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
63406
+ * @param {*} [options] Override http request option.
63407
+ * @throws {RequiredError}
63408
+ */
63409
+ removeEventPassChangeWebhook(requestParameters: EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
63410
+ return localVarFp.removeEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
63411
+ },
63412
+ };
63413
+ };
63414
+
63415
+ /**
63416
+ * Request parameters for addEventPassChangeWebhook operation in EventsPasschangewebhooksApi.
63417
+ */
63418
+ export interface EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest {
63419
+ /**
63420
+ * The event identifier
63421
+ */
63422
+ readonly eventId: string
63423
+
63424
+ /**
63425
+ * The webhook identifier
63426
+ */
63427
+ readonly webhookId: string
63428
+ }
63429
+
63430
+ /**
63431
+ * Request parameters for getEventPassChangeWebhooks operation in EventsPasschangewebhooksApi.
63432
+ */
63433
+ export interface EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest {
63434
+ /**
63435
+ * The event identifier
63436
+ */
63437
+ readonly eventId: string
63438
+
63439
+ /**
63440
+ * Page number
63441
+ */
63442
+ readonly page?: number
63443
+
63444
+ /**
63445
+ * Number of items per page
63446
+ */
63447
+ readonly pageSize?: number
63448
+
63449
+ /**
63450
+ * Field to order by
63451
+ */
63452
+ readonly orderBy?: string
63453
+
63454
+ /**
63455
+ * Search query
63456
+ */
63457
+ readonly search?: string
63458
+ }
63459
+
63460
+ /**
63461
+ * Request parameters for removeEventPassChangeWebhook operation in EventsPasschangewebhooksApi.
63462
+ */
63463
+ export interface EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest {
63464
+ /**
63465
+ * The event identifier
63466
+ */
63467
+ readonly eventId: string
63468
+
63469
+ /**
63470
+ * The webhook identifier
63471
+ */
63472
+ readonly webhookId: string
63473
+ }
63474
+
63475
+ /**
63476
+ * EventsPasschangewebhooksApi - object-oriented interface
63477
+ */
63478
+ export class EventsPasschangewebhooksApi extends BaseAPI {
63479
+ /**
63480
+ * 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.
63481
+ * @summary Connect a webhook to an event\'s pass change log
63482
+ * @param {EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
63483
+ * @param {*} [options] Override http request option.
63484
+ * @throws {RequiredError}
63485
+ */
63486
+ public addEventPassChangeWebhook(requestParameters: EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig) {
63487
+ return EventsPasschangewebhooksApiFp(this.configuration).addEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(this.axios, this.basePath));
63488
+ }
63489
+
63490
+ /**
63491
+ * Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
63492
+ * @summary List an event\'s pass change log webhooks
63493
+ * @param {EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
63494
+ * @param {*} [options] Override http request option.
63495
+ * @throws {RequiredError}
63496
+ */
63497
+ public getEventPassChangeWebhooks(requestParameters: EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest, options?: RawAxiosRequestConfig) {
63498
+ return EventsPasschangewebhooksApiFp(this.configuration).getEventPassChangeWebhooks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
63499
+ }
63500
+
63501
+ /**
63502
+ * Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
63503
+ * @summary Disconnect a webhook from an event\'s pass change log
63504
+ * @param {EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
63505
+ * @param {*} [options] Override http request option.
63506
+ * @throws {RequiredError}
63507
+ */
63508
+ public removeEventPassChangeWebhook(requestParameters: EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig) {
63509
+ return EventsPasschangewebhooksApiFp(this.configuration).removeEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(this.axios, this.basePath));
63510
+ }
63511
+ }
63512
+
63513
+
63514
+
63156
63515
  /**
63157
63516
  * EventsPassesApi - axios parameter creator
63158
63517
  */
@@ -129470,7 +129829,7 @@ export const OrganizationWebhooksApiFp = function(configuration?: Configuration)
129470
129829
  * @param {*} [options] Override http request option.
129471
129830
  * @throws {RequiredError}
129472
129831
  */
129473
- async createOrganizationWebhook(webhookCreateInputs: WebhookCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationWebhook200Response>> {
129832
+ async createOrganizationWebhook(webhookCreateInputs: WebhookCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassChangeWebhook200Response>> {
129474
129833
  const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationWebhook(webhookCreateInputs, options);
129475
129834
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
129476
129835
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhooksApi.createOrganizationWebhook']?.[localVarOperationServerIndex]?.url;
@@ -129496,7 +129855,7 @@ export const OrganizationWebhooksApiFp = function(configuration?: Configuration)
129496
129855
  * @param {*} [options] Override http request option.
129497
129856
  * @throws {RequiredError}
129498
129857
  */
129499
- async getOrganizationWebhook(webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationWebhook200Response>> {
129858
+ async getOrganizationWebhook(webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassChangeWebhook200Response>> {
129500
129859
  const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationWebhook(webhookId, options);
129501
129860
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
129502
129861
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhooksApi.getOrganizationWebhook']?.[localVarOperationServerIndex]?.url;
@@ -129512,7 +129871,7 @@ export const OrganizationWebhooksApiFp = function(configuration?: Configuration)
129512
129871
  * @param {*} [options] Override http request option.
129513
129872
  * @throws {RequiredError}
129514
129873
  */
129515
- async getOrganizationWebhooks(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationWebhooks200Response>> {
129874
+ async getOrganizationWebhooks(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassChangeWebhooks200Response>> {
129516
129875
  const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationWebhooks(page, pageSize, orderBy, search, options);
129517
129876
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
129518
129877
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhooksApi.getOrganizationWebhooks']?.[localVarOperationServerIndex]?.url;
@@ -129526,7 +129885,7 @@ export const OrganizationWebhooksApiFp = function(configuration?: Configuration)
129526
129885
  * @param {*} [options] Override http request option.
129527
129886
  * @throws {RequiredError}
129528
129887
  */
129529
- async updateOrganizationWebhook(webhookId: string, webhookUpdateInputs: WebhookUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationWebhook200Response>> {
129888
+ async updateOrganizationWebhook(webhookId: string, webhookUpdateInputs: WebhookUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassChangeWebhook200Response>> {
129530
129889
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationWebhook(webhookId, webhookUpdateInputs, options);
129531
129890
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
129532
129891
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhooksApi.updateOrganizationWebhook']?.[localVarOperationServerIndex]?.url;
@@ -129539,7 +129898,7 @@ export const OrganizationWebhooksApiFp = function(configuration?: Configuration)
129539
129898
  * @param {*} [options] Override http request option.
129540
129899
  * @throws {RequiredError}
129541
129900
  */
129542
- async verifyOrganizationWebhook(webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationWebhook200Response>> {
129901
+ async verifyOrganizationWebhook(webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassChangeWebhook200Response>> {
129543
129902
  const localVarAxiosArgs = await localVarAxiosParamCreator.verifyOrganizationWebhook(webhookId, options);
129544
129903
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
129545
129904
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhooksApi.verifyOrganizationWebhook']?.[localVarOperationServerIndex]?.url;
@@ -129561,7 +129920,7 @@ export const OrganizationWebhooksApiFactory = function (configuration?: Configur
129561
129920
  * @param {*} [options] Override http request option.
129562
129921
  * @throws {RequiredError}
129563
129922
  */
129564
- createOrganizationWebhook(requestParameters: OrganizationWebhooksApiCreateOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationWebhook200Response> {
129923
+ createOrganizationWebhook(requestParameters: OrganizationWebhooksApiCreateOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
129565
129924
  return localVarFp.createOrganizationWebhook(requestParameters.webhookCreateInputs, options).then((request) => request(axios, basePath));
129566
129925
  },
129567
129926
  /**
@@ -129581,7 +129940,7 @@ export const OrganizationWebhooksApiFactory = function (configuration?: Configur
129581
129940
  * @param {*} [options] Override http request option.
129582
129941
  * @throws {RequiredError}
129583
129942
  */
129584
- getOrganizationWebhook(requestParameters: OrganizationWebhooksApiGetOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationWebhook200Response> {
129943
+ getOrganizationWebhook(requestParameters: OrganizationWebhooksApiGetOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
129585
129944
  return localVarFp.getOrganizationWebhook(requestParameters.webhookId, options).then((request) => request(axios, basePath));
129586
129945
  },
129587
129946
  /**
@@ -129591,7 +129950,7 @@ export const OrganizationWebhooksApiFactory = function (configuration?: Configur
129591
129950
  * @param {*} [options] Override http request option.
129592
129951
  * @throws {RequiredError}
129593
129952
  */
129594
- getOrganizationWebhooks(requestParameters: OrganizationWebhooksApiGetOrganizationWebhooksRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationWebhooks200Response> {
129953
+ getOrganizationWebhooks(requestParameters: OrganizationWebhooksApiGetOrganizationWebhooksRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassChangeWebhooks200Response> {
129595
129954
  return localVarFp.getOrganizationWebhooks(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
129596
129955
  },
129597
129956
  /**
@@ -129601,7 +129960,7 @@ export const OrganizationWebhooksApiFactory = function (configuration?: Configur
129601
129960
  * @param {*} [options] Override http request option.
129602
129961
  * @throws {RequiredError}
129603
129962
  */
129604
- updateOrganizationWebhook(requestParameters: OrganizationWebhooksApiUpdateOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationWebhook200Response> {
129963
+ updateOrganizationWebhook(requestParameters: OrganizationWebhooksApiUpdateOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
129605
129964
  return localVarFp.updateOrganizationWebhook(requestParameters.webhookId, requestParameters.webhookUpdateInputs, options).then((request) => request(axios, basePath));
129606
129965
  },
129607
129966
  /**
@@ -129611,7 +129970,7 @@ export const OrganizationWebhooksApiFactory = function (configuration?: Configur
129611
129970
  * @param {*} [options] Override http request option.
129612
129971
  * @throws {RequiredError}
129613
129972
  */
129614
- verifyOrganizationWebhook(requestParameters: OrganizationWebhooksApiVerifyOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationWebhook200Response> {
129973
+ verifyOrganizationWebhook(requestParameters: OrganizationWebhooksApiVerifyOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
129615
129974
  return localVarFp.verifyOrganizationWebhook(requestParameters.webhookId, options).then((request) => request(axios, basePath));
129616
129975
  },
129617
129976
  };
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.0.2
7
+ * The version of the OpenAPI document: 11.2.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).