@connectedxm/admin-sdk 11.0.1 → 11.1.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.1
1
+ ## @connectedxm/admin-sdk@11.1.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.1 --save
39
+ npm install @connectedxm/admin-sdk@11.1.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.1
7
+ * The version of the OpenAPI document: 11.1.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;
@@ -4509,16 +4519,6 @@ export enum CreateOrganizationTeamMember200ResponseStatusEnum {
4509
4519
  Ok = 'ok'
4510
4520
  }
4511
4521
 
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
4522
  export interface CreatePreset200Response {
4523
4523
  'status': CreatePreset200ResponseStatusEnum;
4524
4524
  'message': string;
@@ -8371,6 +8371,17 @@ export enum GetEventPassAttributes200ResponseStatusEnum {
8371
8371
  Ok = 'ok'
8372
8372
  }
8373
8373
 
8374
+ export interface GetEventPassChangeWebhooks200Response {
8375
+ 'status': GetEventPassChangeWebhooks200ResponseStatusEnum;
8376
+ 'message': string;
8377
+ 'data': Array<Webhook>;
8378
+ 'count'?: number;
8379
+ }
8380
+
8381
+ export enum GetEventPassChangeWebhooks200ResponseStatusEnum {
8382
+ Ok = 'ok'
8383
+ }
8384
+
8374
8385
  export interface GetEventPassMatches200Response {
8375
8386
  'status': GetEventPassMatches200ResponseStatusEnum;
8376
8387
  'message': string;
@@ -9786,17 +9797,6 @@ export enum GetOrganizationUsers200ResponseStatusEnum {
9786
9797
  Ok = 'ok'
9787
9798
  }
9788
9799
 
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
9800
  export interface GetPayment200Response {
9801
9801
  'status': GetPayment200ResponseStatusEnum;
9802
9802
  'message': string;
@@ -63153,6 +63153,355 @@ export class EventsPagesTranslationsApi extends BaseAPI {
63153
63153
 
63154
63154
 
63155
63155
 
63156
+ /**
63157
+ * EventsPasschangewebhooksApi - axios parameter creator
63158
+ */
63159
+ export const EventsPasschangewebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
63160
+ return {
63161
+ /**
63162
+ * 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.
63163
+ * @summary Connect a webhook to an event\'s pass change log
63164
+ * @param {string} eventId The event identifier
63165
+ * @param {string} webhookId The webhook identifier
63166
+ * @param {*} [options] Override http request option.
63167
+ * @throws {RequiredError}
63168
+ */
63169
+ addEventPassChangeWebhook: async (eventId: string, webhookId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63170
+ // verify required parameter 'eventId' is not null or undefined
63171
+ assertParamExists('addEventPassChangeWebhook', 'eventId', eventId)
63172
+ // verify required parameter 'webhookId' is not null or undefined
63173
+ assertParamExists('addEventPassChangeWebhook', 'webhookId', webhookId)
63174
+ const localVarPath = `/events/{eventId}/passChangeWebhooks/{webhookId}`
63175
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
63176
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
63177
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63178
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63179
+ let baseOptions;
63180
+ if (configuration) {
63181
+ baseOptions = configuration.baseOptions;
63182
+ }
63183
+
63184
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
63185
+ const localVarHeaderParameter = {} as any;
63186
+ const localVarQueryParameter = {} as any;
63187
+
63188
+ // authentication ApiKeyAuth required
63189
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
63190
+
63191
+ // authentication OrganizationId required
63192
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
63193
+
63194
+ localVarHeaderParameter['Accept'] = 'application/json';
63195
+
63196
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63197
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63198
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63199
+
63200
+ return {
63201
+ url: toPathString(localVarUrlObj),
63202
+ options: localVarRequestOptions,
63203
+ };
63204
+ },
63205
+ /**
63206
+ * Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
63207
+ * @summary List an event\'s pass change log webhooks
63208
+ * @param {string} eventId The event identifier
63209
+ * @param {number} [page] Page number
63210
+ * @param {number} [pageSize] Number of items per page
63211
+ * @param {string} [orderBy] Field to order by
63212
+ * @param {string} [search] Search query
63213
+ * @param {*} [options] Override http request option.
63214
+ * @throws {RequiredError}
63215
+ */
63216
+ getEventPassChangeWebhooks: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63217
+ // verify required parameter 'eventId' is not null or undefined
63218
+ assertParamExists('getEventPassChangeWebhooks', 'eventId', eventId)
63219
+ const localVarPath = `/events/{eventId}/passChangeWebhooks`
63220
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
63221
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63222
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63223
+ let baseOptions;
63224
+ if (configuration) {
63225
+ baseOptions = configuration.baseOptions;
63226
+ }
63227
+
63228
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
63229
+ const localVarHeaderParameter = {} as any;
63230
+ const localVarQueryParameter = {} as any;
63231
+
63232
+ // authentication ApiKeyAuth required
63233
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
63234
+
63235
+ // authentication OrganizationId required
63236
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
63237
+
63238
+ if (page !== undefined) {
63239
+ localVarQueryParameter['page'] = page;
63240
+ }
63241
+
63242
+ if (pageSize !== undefined) {
63243
+ localVarQueryParameter['pageSize'] = pageSize;
63244
+ }
63245
+
63246
+ if (orderBy !== undefined) {
63247
+ localVarQueryParameter['orderBy'] = orderBy;
63248
+ }
63249
+
63250
+ if (search !== undefined) {
63251
+ localVarQueryParameter['search'] = search;
63252
+ }
63253
+
63254
+ localVarHeaderParameter['Accept'] = 'application/json';
63255
+
63256
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63257
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63258
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63259
+
63260
+ return {
63261
+ url: toPathString(localVarUrlObj),
63262
+ options: localVarRequestOptions,
63263
+ };
63264
+ },
63265
+ /**
63266
+ * Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
63267
+ * @summary Disconnect a webhook from an event\'s pass change log
63268
+ * @param {string} eventId The event identifier
63269
+ * @param {string} webhookId The webhook identifier
63270
+ * @param {*} [options] Override http request option.
63271
+ * @throws {RequiredError}
63272
+ */
63273
+ removeEventPassChangeWebhook: async (eventId: string, webhookId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63274
+ // verify required parameter 'eventId' is not null or undefined
63275
+ assertParamExists('removeEventPassChangeWebhook', 'eventId', eventId)
63276
+ // verify required parameter 'webhookId' is not null or undefined
63277
+ assertParamExists('removeEventPassChangeWebhook', 'webhookId', webhookId)
63278
+ const localVarPath = `/events/{eventId}/passChangeWebhooks/{webhookId}`
63279
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
63280
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
63281
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
63282
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63283
+ let baseOptions;
63284
+ if (configuration) {
63285
+ baseOptions = configuration.baseOptions;
63286
+ }
63287
+
63288
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
63289
+ const localVarHeaderParameter = {} as any;
63290
+ const localVarQueryParameter = {} as any;
63291
+
63292
+ // authentication ApiKeyAuth required
63293
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
63294
+
63295
+ // authentication OrganizationId required
63296
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
63297
+
63298
+ localVarHeaderParameter['Accept'] = 'application/json';
63299
+
63300
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63301
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63302
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63303
+
63304
+ return {
63305
+ url: toPathString(localVarUrlObj),
63306
+ options: localVarRequestOptions,
63307
+ };
63308
+ },
63309
+ }
63310
+ };
63311
+
63312
+ /**
63313
+ * EventsPasschangewebhooksApi - functional programming interface
63314
+ */
63315
+ export const EventsPasschangewebhooksApiFp = function(configuration?: Configuration) {
63316
+ const localVarAxiosParamCreator = EventsPasschangewebhooksApiAxiosParamCreator(configuration)
63317
+ return {
63318
+ /**
63319
+ * 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.
63320
+ * @summary Connect a webhook to an event\'s pass change log
63321
+ * @param {string} eventId The event identifier
63322
+ * @param {string} webhookId The webhook identifier
63323
+ * @param {*} [options] Override http request option.
63324
+ * @throws {RequiredError}
63325
+ */
63326
+ async addEventPassChangeWebhook(eventId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassChangeWebhook200Response>> {
63327
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addEventPassChangeWebhook(eventId, webhookId, options);
63328
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63329
+ const localVarOperationServerBasePath = operationServerMap['EventsPasschangewebhooksApi.addEventPassChangeWebhook']?.[localVarOperationServerIndex]?.url;
63330
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63331
+ },
63332
+ /**
63333
+ * Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
63334
+ * @summary List an event\'s pass change log webhooks
63335
+ * @param {string} eventId The event identifier
63336
+ * @param {number} [page] Page number
63337
+ * @param {number} [pageSize] Number of items per page
63338
+ * @param {string} [orderBy] Field to order by
63339
+ * @param {string} [search] Search query
63340
+ * @param {*} [options] Override http request option.
63341
+ * @throws {RequiredError}
63342
+ */
63343
+ async getEventPassChangeWebhooks(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassChangeWebhooks200Response>> {
63344
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassChangeWebhooks(eventId, page, pageSize, orderBy, search, options);
63345
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63346
+ const localVarOperationServerBasePath = operationServerMap['EventsPasschangewebhooksApi.getEventPassChangeWebhooks']?.[localVarOperationServerIndex]?.url;
63347
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63348
+ },
63349
+ /**
63350
+ * Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
63351
+ * @summary Disconnect a webhook from an event\'s pass change log
63352
+ * @param {string} eventId The event identifier
63353
+ * @param {string} webhookId The webhook identifier
63354
+ * @param {*} [options] Override http request option.
63355
+ * @throws {RequiredError}
63356
+ */
63357
+ async removeEventPassChangeWebhook(eventId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
63358
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventPassChangeWebhook(eventId, webhookId, options);
63359
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63360
+ const localVarOperationServerBasePath = operationServerMap['EventsPasschangewebhooksApi.removeEventPassChangeWebhook']?.[localVarOperationServerIndex]?.url;
63361
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63362
+ },
63363
+ }
63364
+ };
63365
+
63366
+ /**
63367
+ * EventsPasschangewebhooksApi - factory interface
63368
+ */
63369
+ export const EventsPasschangewebhooksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
63370
+ const localVarFp = EventsPasschangewebhooksApiFp(configuration)
63371
+ return {
63372
+ /**
63373
+ * 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.
63374
+ * @summary Connect a webhook to an event\'s pass change log
63375
+ * @param {EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
63376
+ * @param {*} [options] Override http request option.
63377
+ * @throws {RequiredError}
63378
+ */
63379
+ addEventPassChangeWebhook(requestParameters: EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
63380
+ return localVarFp.addEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
63381
+ },
63382
+ /**
63383
+ * Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
63384
+ * @summary List an event\'s pass change log webhooks
63385
+ * @param {EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
63386
+ * @param {*} [options] Override http request option.
63387
+ * @throws {RequiredError}
63388
+ */
63389
+ getEventPassChangeWebhooks(requestParameters: EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassChangeWebhooks200Response> {
63390
+ return localVarFp.getEventPassChangeWebhooks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
63391
+ },
63392
+ /**
63393
+ * Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
63394
+ * @summary Disconnect a webhook from an event\'s pass change log
63395
+ * @param {EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
63396
+ * @param {*} [options] Override http request option.
63397
+ * @throws {RequiredError}
63398
+ */
63399
+ removeEventPassChangeWebhook(requestParameters: EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
63400
+ return localVarFp.removeEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
63401
+ },
63402
+ };
63403
+ };
63404
+
63405
+ /**
63406
+ * Request parameters for addEventPassChangeWebhook operation in EventsPasschangewebhooksApi.
63407
+ */
63408
+ export interface EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest {
63409
+ /**
63410
+ * The event identifier
63411
+ */
63412
+ readonly eventId: string
63413
+
63414
+ /**
63415
+ * The webhook identifier
63416
+ */
63417
+ readonly webhookId: string
63418
+ }
63419
+
63420
+ /**
63421
+ * Request parameters for getEventPassChangeWebhooks operation in EventsPasschangewebhooksApi.
63422
+ */
63423
+ export interface EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest {
63424
+ /**
63425
+ * The event identifier
63426
+ */
63427
+ readonly eventId: string
63428
+
63429
+ /**
63430
+ * Page number
63431
+ */
63432
+ readonly page?: number
63433
+
63434
+ /**
63435
+ * Number of items per page
63436
+ */
63437
+ readonly pageSize?: number
63438
+
63439
+ /**
63440
+ * Field to order by
63441
+ */
63442
+ readonly orderBy?: string
63443
+
63444
+ /**
63445
+ * Search query
63446
+ */
63447
+ readonly search?: string
63448
+ }
63449
+
63450
+ /**
63451
+ * Request parameters for removeEventPassChangeWebhook operation in EventsPasschangewebhooksApi.
63452
+ */
63453
+ export interface EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest {
63454
+ /**
63455
+ * The event identifier
63456
+ */
63457
+ readonly eventId: string
63458
+
63459
+ /**
63460
+ * The webhook identifier
63461
+ */
63462
+ readonly webhookId: string
63463
+ }
63464
+
63465
+ /**
63466
+ * EventsPasschangewebhooksApi - object-oriented interface
63467
+ */
63468
+ export class EventsPasschangewebhooksApi extends BaseAPI {
63469
+ /**
63470
+ * 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.
63471
+ * @summary Connect a webhook to an event\'s pass change log
63472
+ * @param {EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
63473
+ * @param {*} [options] Override http request option.
63474
+ * @throws {RequiredError}
63475
+ */
63476
+ public addEventPassChangeWebhook(requestParameters: EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig) {
63477
+ return EventsPasschangewebhooksApiFp(this.configuration).addEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(this.axios, this.basePath));
63478
+ }
63479
+
63480
+ /**
63481
+ * Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
63482
+ * @summary List an event\'s pass change log webhooks
63483
+ * @param {EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
63484
+ * @param {*} [options] Override http request option.
63485
+ * @throws {RequiredError}
63486
+ */
63487
+ public getEventPassChangeWebhooks(requestParameters: EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest, options?: RawAxiosRequestConfig) {
63488
+ return EventsPasschangewebhooksApiFp(this.configuration).getEventPassChangeWebhooks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
63489
+ }
63490
+
63491
+ /**
63492
+ * Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
63493
+ * @summary Disconnect a webhook from an event\'s pass change log
63494
+ * @param {EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
63495
+ * @param {*} [options] Override http request option.
63496
+ * @throws {RequiredError}
63497
+ */
63498
+ public removeEventPassChangeWebhook(requestParameters: EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest, options?: RawAxiosRequestConfig) {
63499
+ return EventsPasschangewebhooksApiFp(this.configuration).removeEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(this.axios, this.basePath));
63500
+ }
63501
+ }
63502
+
63503
+
63504
+
63156
63505
  /**
63157
63506
  * EventsPassesApi - axios parameter creator
63158
63507
  */
@@ -129470,7 +129819,7 @@ export const OrganizationWebhooksApiFp = function(configuration?: Configuration)
129470
129819
  * @param {*} [options] Override http request option.
129471
129820
  * @throws {RequiredError}
129472
129821
  */
129473
- async createOrganizationWebhook(webhookCreateInputs: WebhookCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationWebhook200Response>> {
129822
+ async createOrganizationWebhook(webhookCreateInputs: WebhookCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassChangeWebhook200Response>> {
129474
129823
  const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationWebhook(webhookCreateInputs, options);
129475
129824
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
129476
129825
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhooksApi.createOrganizationWebhook']?.[localVarOperationServerIndex]?.url;
@@ -129496,7 +129845,7 @@ export const OrganizationWebhooksApiFp = function(configuration?: Configuration)
129496
129845
  * @param {*} [options] Override http request option.
129497
129846
  * @throws {RequiredError}
129498
129847
  */
129499
- async getOrganizationWebhook(webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationWebhook200Response>> {
129848
+ async getOrganizationWebhook(webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassChangeWebhook200Response>> {
129500
129849
  const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationWebhook(webhookId, options);
129501
129850
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
129502
129851
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhooksApi.getOrganizationWebhook']?.[localVarOperationServerIndex]?.url;
@@ -129512,7 +129861,7 @@ export const OrganizationWebhooksApiFp = function(configuration?: Configuration)
129512
129861
  * @param {*} [options] Override http request option.
129513
129862
  * @throws {RequiredError}
129514
129863
  */
129515
- async getOrganizationWebhooks(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationWebhooks200Response>> {
129864
+ async getOrganizationWebhooks(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassChangeWebhooks200Response>> {
129516
129865
  const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationWebhooks(page, pageSize, orderBy, search, options);
129517
129866
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
129518
129867
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhooksApi.getOrganizationWebhooks']?.[localVarOperationServerIndex]?.url;
@@ -129526,7 +129875,7 @@ export const OrganizationWebhooksApiFp = function(configuration?: Configuration)
129526
129875
  * @param {*} [options] Override http request option.
129527
129876
  * @throws {RequiredError}
129528
129877
  */
129529
- async updateOrganizationWebhook(webhookId: string, webhookUpdateInputs: WebhookUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationWebhook200Response>> {
129878
+ async updateOrganizationWebhook(webhookId: string, webhookUpdateInputs: WebhookUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassChangeWebhook200Response>> {
129530
129879
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationWebhook(webhookId, webhookUpdateInputs, options);
129531
129880
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
129532
129881
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhooksApi.updateOrganizationWebhook']?.[localVarOperationServerIndex]?.url;
@@ -129539,7 +129888,7 @@ export const OrganizationWebhooksApiFp = function(configuration?: Configuration)
129539
129888
  * @param {*} [options] Override http request option.
129540
129889
  * @throws {RequiredError}
129541
129890
  */
129542
- async verifyOrganizationWebhook(webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateOrganizationWebhook200Response>> {
129891
+ async verifyOrganizationWebhook(webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassChangeWebhook200Response>> {
129543
129892
  const localVarAxiosArgs = await localVarAxiosParamCreator.verifyOrganizationWebhook(webhookId, options);
129544
129893
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
129545
129894
  const localVarOperationServerBasePath = operationServerMap['OrganizationWebhooksApi.verifyOrganizationWebhook']?.[localVarOperationServerIndex]?.url;
@@ -129561,7 +129910,7 @@ export const OrganizationWebhooksApiFactory = function (configuration?: Configur
129561
129910
  * @param {*} [options] Override http request option.
129562
129911
  * @throws {RequiredError}
129563
129912
  */
129564
- createOrganizationWebhook(requestParameters: OrganizationWebhooksApiCreateOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationWebhook200Response> {
129913
+ createOrganizationWebhook(requestParameters: OrganizationWebhooksApiCreateOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
129565
129914
  return localVarFp.createOrganizationWebhook(requestParameters.webhookCreateInputs, options).then((request) => request(axios, basePath));
129566
129915
  },
129567
129916
  /**
@@ -129581,7 +129930,7 @@ export const OrganizationWebhooksApiFactory = function (configuration?: Configur
129581
129930
  * @param {*} [options] Override http request option.
129582
129931
  * @throws {RequiredError}
129583
129932
  */
129584
- getOrganizationWebhook(requestParameters: OrganizationWebhooksApiGetOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationWebhook200Response> {
129933
+ getOrganizationWebhook(requestParameters: OrganizationWebhooksApiGetOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
129585
129934
  return localVarFp.getOrganizationWebhook(requestParameters.webhookId, options).then((request) => request(axios, basePath));
129586
129935
  },
129587
129936
  /**
@@ -129591,7 +129940,7 @@ export const OrganizationWebhooksApiFactory = function (configuration?: Configur
129591
129940
  * @param {*} [options] Override http request option.
129592
129941
  * @throws {RequiredError}
129593
129942
  */
129594
- getOrganizationWebhooks(requestParameters: OrganizationWebhooksApiGetOrganizationWebhooksRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationWebhooks200Response> {
129943
+ getOrganizationWebhooks(requestParameters: OrganizationWebhooksApiGetOrganizationWebhooksRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassChangeWebhooks200Response> {
129595
129944
  return localVarFp.getOrganizationWebhooks(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
129596
129945
  },
129597
129946
  /**
@@ -129601,7 +129950,7 @@ export const OrganizationWebhooksApiFactory = function (configuration?: Configur
129601
129950
  * @param {*} [options] Override http request option.
129602
129951
  * @throws {RequiredError}
129603
129952
  */
129604
- updateOrganizationWebhook(requestParameters: OrganizationWebhooksApiUpdateOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationWebhook200Response> {
129953
+ updateOrganizationWebhook(requestParameters: OrganizationWebhooksApiUpdateOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
129605
129954
  return localVarFp.updateOrganizationWebhook(requestParameters.webhookId, requestParameters.webhookUpdateInputs, options).then((request) => request(axios, basePath));
129606
129955
  },
129607
129956
  /**
@@ -129611,7 +129960,7 @@ export const OrganizationWebhooksApiFactory = function (configuration?: Configur
129611
129960
  * @param {*} [options] Override http request option.
129612
129961
  * @throws {RequiredError}
129613
129962
  */
129614
- verifyOrganizationWebhook(requestParameters: OrganizationWebhooksApiVerifyOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateOrganizationWebhook200Response> {
129963
+ verifyOrganizationWebhook(requestParameters: OrganizationWebhooksApiVerifyOrganizationWebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassChangeWebhook200Response> {
129615
129964
  return localVarFp.verifyOrganizationWebhook(requestParameters.webhookId, options).then((request) => request(axios, basePath));
129616
129965
  },
129617
129966
  };
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.1
7
+ * The version of the OpenAPI document: 11.1.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 11.0.1
7
+ * The version of the OpenAPI document: 11.1.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Connected Admin API
4
4
  * The Admin API allows you to manage your Connected community programmatically.
5
5
  *
6
- * The version of the OpenAPI document: 11.0.1
6
+ * The version of the OpenAPI document: 11.1.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).