@connectedxm/admin-sdk 14.1.0 → 15.0.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @connectedxm/admin-sdk@14.1.0
1
+ ## @connectedxm/admin-sdk@15.0.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@14.1.0 --save
39
+ npm install @connectedxm/admin-sdk@15.0.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: 14.1.0
7
+ * The version of the OpenAPI document: 15.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -45921,10 +45921,11 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
45921
45921
  };
45922
45922
  },
45923
45923
  /**
45924
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
45924
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
45925
45925
  * @summary List events
45926
45926
  * @param {boolean} [past] Filter by past
45927
45927
  * @param {boolean} [featured] Filter by featured
45928
+ * @param {EventSource} [source] Filter by source
45928
45929
  * @param {number} [page] Page number
45929
45930
  * @param {number} [pageSize] Number of items per page
45930
45931
  * @param {string} [orderBy] Field to order by
@@ -45932,7 +45933,7 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
45932
45933
  * @param {*} [options] Override http request option.
45933
45934
  * @throws {RequiredError}
45934
45935
  */
45935
- getEvents: async (past?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
45936
+ getEvents: async (past?: boolean, featured?: boolean, source?: EventSource, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
45936
45937
  const localVarPath = `/events`;
45937
45938
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
45938
45939
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -45959,6 +45960,10 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
45959
45960
  localVarQueryParameter['featured'] = featured;
45960
45961
  }
45961
45962
 
45963
+ if (source !== undefined) {
45964
+ localVarQueryParameter['source'] = source;
45965
+ }
45966
+
45962
45967
  if (page !== undefined) {
45963
45968
  localVarQueryParameter['page'] = page;
45964
45969
  }
@@ -46227,10 +46232,11 @@ export const EventsApiFp = function(configuration?: Configuration) {
46227
46232
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
46228
46233
  },
46229
46234
  /**
46230
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
46235
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
46231
46236
  * @summary List events
46232
46237
  * @param {boolean} [past] Filter by past
46233
46238
  * @param {boolean} [featured] Filter by featured
46239
+ * @param {EventSource} [source] Filter by source
46234
46240
  * @param {number} [page] Page number
46235
46241
  * @param {number} [pageSize] Number of items per page
46236
46242
  * @param {string} [orderBy] Field to order by
@@ -46238,8 +46244,8 @@ export const EventsApiFp = function(configuration?: Configuration) {
46238
46244
  * @param {*} [options] Override http request option.
46239
46245
  * @throws {RequiredError}
46240
46246
  */
46241
- async getEvents(past?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvents200Response>> {
46242
- const localVarAxiosArgs = await localVarAxiosParamCreator.getEvents(past, featured, page, pageSize, orderBy, search, options);
46247
+ async getEvents(past?: boolean, featured?: boolean, source?: EventSource, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvents200Response>> {
46248
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEvents(past, featured, source, page, pageSize, orderBy, search, options);
46243
46249
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
46244
46250
  const localVarOperationServerBasePath = operationServerMap['EventsApi.getEvents']?.[localVarOperationServerIndex]?.url;
46245
46251
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -46382,14 +46388,14 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
46382
46388
  return localVarFp.getEventTiers(requestParameters.eventId, options).then((request) => request(axios, basePath));
46383
46389
  },
46384
46390
  /**
46385
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
46391
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
46386
46392
  * @summary List events
46387
46393
  * @param {EventsApiGetEventsRequest} requestParameters Request parameters.
46388
46394
  * @param {*} [options] Override http request option.
46389
46395
  * @throws {RequiredError}
46390
46396
  */
46391
46397
  getEvents(requestParameters: EventsApiGetEventsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetEvents200Response> {
46392
- return localVarFp.getEvents(requestParameters.past, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
46398
+ return localVarFp.getEvents(requestParameters.past, requestParameters.featured, requestParameters.source, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
46393
46399
  },
46394
46400
  /**
46395
46401
  * Sets or updates the location details of an existing event, requiring the update events permission.
@@ -46577,6 +46583,11 @@ export interface EventsApiGetEventsRequest {
46577
46583
  */
46578
46584
  readonly featured?: boolean
46579
46585
 
46586
+ /**
46587
+ * Filter by source
46588
+ */
46589
+ readonly source?: EventSource
46590
+
46580
46591
  /**
46581
46592
  * Page number
46582
46593
  */
@@ -46737,14 +46748,14 @@ export class EventsApi extends BaseAPI {
46737
46748
  }
46738
46749
 
46739
46750
  /**
46740
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
46751
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
46741
46752
  * @summary List events
46742
46753
  * @param {EventsApiGetEventsRequest} requestParameters Request parameters.
46743
46754
  * @param {*} [options] Override http request option.
46744
46755
  * @throws {RequiredError}
46745
46756
  */
46746
46757
  public getEvents(requestParameters: EventsApiGetEventsRequest = {}, options?: RawAxiosRequestConfig) {
46747
- return EventsApiFp(this.configuration).getEvents(requestParameters.past, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
46758
+ return EventsApiFp(this.configuration).getEvents(requestParameters.past, requestParameters.featured, requestParameters.source, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
46748
46759
  }
46749
46760
 
46750
46761
  /**
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: 14.1.0
7
+ * The version of the OpenAPI document: 15.0.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: 14.1.0
7
+ * The version of the OpenAPI document: 15.0.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: 14.1.0
6
+ * The version of the OpenAPI document: 15.0.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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: 14.1.0
5
+ * The version of the OpenAPI document: 15.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29374,10 +29374,11 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
29374
29374
  */
29375
29375
  getEventTiers: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29376
29376
  /**
29377
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29377
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29378
29378
  * @summary List events
29379
29379
  * @param {boolean} [past] Filter by past
29380
29380
  * @param {boolean} [featured] Filter by featured
29381
+ * @param {EventSource} [source] Filter by source
29381
29382
  * @param {number} [page] Page number
29382
29383
  * @param {number} [pageSize] Number of items per page
29383
29384
  * @param {string} [orderBy] Field to order by
@@ -29385,7 +29386,7 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
29385
29386
  * @param {*} [options] Override http request option.
29386
29387
  * @throws {RequiredError}
29387
29388
  */
29388
- getEvents: (past?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29389
+ getEvents: (past?: boolean, featured?: boolean, source?: EventSource, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29389
29390
  /**
29390
29391
  * Sets or updates the location details of an existing event, requiring the update events permission.
29391
29392
  * @summary Set an event\'s location
@@ -29501,10 +29502,11 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
29501
29502
  */
29502
29503
  getEventTiers(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventTiers200Response>>;
29503
29504
  /**
29504
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29505
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29505
29506
  * @summary List events
29506
29507
  * @param {boolean} [past] Filter by past
29507
29508
  * @param {boolean} [featured] Filter by featured
29509
+ * @param {EventSource} [source] Filter by source
29508
29510
  * @param {number} [page] Page number
29509
29511
  * @param {number} [pageSize] Number of items per page
29510
29512
  * @param {string} [orderBy] Field to order by
@@ -29512,7 +29514,7 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
29512
29514
  * @param {*} [options] Override http request option.
29513
29515
  * @throws {RequiredError}
29514
29516
  */
29515
- getEvents(past?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvents200Response>>;
29517
+ getEvents(past?: boolean, featured?: boolean, source?: EventSource, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvents200Response>>;
29516
29518
  /**
29517
29519
  * Sets or updates the location details of an existing event, requiring the update events permission.
29518
29520
  * @summary Set an event\'s location
@@ -29617,7 +29619,7 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
29617
29619
  */
29618
29620
  getEventTiers(requestParameters: EventsApiGetEventTiersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventTiers200Response>;
29619
29621
  /**
29620
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29622
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29621
29623
  * @summary List events
29622
29624
  * @param {EventsApiGetEventsRequest} requestParameters Request parameters.
29623
29625
  * @param {*} [options] Override http request option.
@@ -29781,6 +29783,10 @@ export interface EventsApiGetEventsRequest {
29781
29783
  * Filter by featured
29782
29784
  */
29783
29785
  readonly featured?: boolean;
29786
+ /**
29787
+ * Filter by source
29788
+ */
29789
+ readonly source?: EventSource;
29784
29790
  /**
29785
29791
  * Page number
29786
29792
  */
@@ -29903,7 +29909,7 @@ export declare class EventsApi extends BaseAPI {
29903
29909
  */
29904
29910
  getEventTiers(requestParameters: EventsApiGetEventTiersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventTiers200Response, any, {}, any>>;
29905
29911
  /**
29906
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29912
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29907
29913
  * @summary List events
29908
29914
  * @param {EventsApiGetEventsRequest} requestParameters Request parameters.
29909
29915
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Connected Admin API
6
6
  * The Admin API allows you to manage your Connected community programmatically.
7
7
  *
8
- * The version of the OpenAPI document: 14.1.0
8
+ * The version of the OpenAPI document: 15.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25956,10 +25956,11 @@ const EventsApiAxiosParamCreator = function (configuration) {
25956
25956
  };
25957
25957
  }),
25958
25958
  /**
25959
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
25959
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
25960
25960
  * @summary List events
25961
25961
  * @param {boolean} [past] Filter by past
25962
25962
  * @param {boolean} [featured] Filter by featured
25963
+ * @param {EventSource} [source] Filter by source
25963
25964
  * @param {number} [page] Page number
25964
25965
  * @param {number} [pageSize] Number of items per page
25965
25966
  * @param {string} [orderBy] Field to order by
@@ -25967,7 +25968,7 @@ const EventsApiAxiosParamCreator = function (configuration) {
25967
25968
  * @param {*} [options] Override http request option.
25968
25969
  * @throws {RequiredError}
25969
25970
  */
25970
- getEvents: (past_1, featured_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [past_1, featured_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (past, featured, page, pageSize, orderBy, search, options = {}) {
25971
+ getEvents: (past_1, featured_1, source_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [past_1, featured_1, source_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (past, featured, source, page, pageSize, orderBy, search, options = {}) {
25971
25972
  const localVarPath = `/events`;
25972
25973
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25973
25974
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -25988,6 +25989,9 @@ const EventsApiAxiosParamCreator = function (configuration) {
25988
25989
  if (featured !== undefined) {
25989
25990
  localVarQueryParameter['featured'] = featured;
25990
25991
  }
25992
+ if (source !== undefined) {
25993
+ localVarQueryParameter['source'] = source;
25994
+ }
25991
25995
  if (page !== undefined) {
25992
25996
  localVarQueryParameter['page'] = page;
25993
25997
  }
@@ -26268,10 +26272,11 @@ const EventsApiFp = function (configuration) {
26268
26272
  });
26269
26273
  },
26270
26274
  /**
26271
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
26275
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
26272
26276
  * @summary List events
26273
26277
  * @param {boolean} [past] Filter by past
26274
26278
  * @param {boolean} [featured] Filter by featured
26279
+ * @param {EventSource} [source] Filter by source
26275
26280
  * @param {number} [page] Page number
26276
26281
  * @param {number} [pageSize] Number of items per page
26277
26282
  * @param {string} [orderBy] Field to order by
@@ -26279,10 +26284,10 @@ const EventsApiFp = function (configuration) {
26279
26284
  * @param {*} [options] Override http request option.
26280
26285
  * @throws {RequiredError}
26281
26286
  */
26282
- getEvents(past, featured, page, pageSize, orderBy, search, options) {
26287
+ getEvents(past, featured, source, page, pageSize, orderBy, search, options) {
26283
26288
  return __awaiter(this, void 0, void 0, function* () {
26284
26289
  var _a, _b, _c;
26285
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getEvents(past, featured, page, pageSize, orderBy, search, options);
26290
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEvents(past, featured, source, page, pageSize, orderBy, search, options);
26286
26291
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26287
26292
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsApi.getEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26288
26293
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -26432,14 +26437,14 @@ const EventsApiFactory = function (configuration, basePath, axios) {
26432
26437
  return localVarFp.getEventTiers(requestParameters.eventId, options).then((request) => request(axios, basePath));
26433
26438
  },
26434
26439
  /**
26435
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
26440
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
26436
26441
  * @summary List events
26437
26442
  * @param {EventsApiGetEventsRequest} requestParameters Request parameters.
26438
26443
  * @param {*} [options] Override http request option.
26439
26444
  * @throws {RequiredError}
26440
26445
  */
26441
26446
  getEvents(requestParameters = {}, options) {
26442
- return localVarFp.getEvents(requestParameters.past, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
26447
+ return localVarFp.getEvents(requestParameters.past, requestParameters.featured, requestParameters.source, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
26443
26448
  },
26444
26449
  /**
26445
26450
  * Sets or updates the location details of an existing event, requiring the update events permission.
@@ -26569,14 +26574,14 @@ class EventsApi extends base_1.BaseAPI {
26569
26574
  return (0, exports.EventsApiFp)(this.configuration).getEventTiers(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
26570
26575
  }
26571
26576
  /**
26572
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
26577
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
26573
26578
  * @summary List events
26574
26579
  * @param {EventsApiGetEventsRequest} requestParameters Request parameters.
26575
26580
  * @param {*} [options] Override http request option.
26576
26581
  * @throws {RequiredError}
26577
26582
  */
26578
26583
  getEvents(requestParameters = {}, options) {
26579
- return (0, exports.EventsApiFp)(this.configuration).getEvents(requestParameters.past, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
26584
+ return (0, exports.EventsApiFp)(this.configuration).getEvents(requestParameters.past, requestParameters.featured, requestParameters.source, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
26580
26585
  }
26581
26586
  /**
26582
26587
  * Sets or updates the location details of an existing event, requiring the update events permission.
package/dist/base.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: 14.1.0
5
+ * The version of the OpenAPI document: 15.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Connected Admin API
6
6
  * The Admin API allows you to manage your Connected community programmatically.
7
7
  *
8
- * The version of the OpenAPI document: 14.1.0
8
+ * The version of the OpenAPI document: 15.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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: 14.1.0
5
+ * The version of the OpenAPI document: 15.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Connected Admin API
6
6
  * The Admin API allows you to manage your Connected community programmatically.
7
7
  *
8
- * The version of the OpenAPI document: 14.1.0
8
+ * The version of the OpenAPI document: 15.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 14.1.0
5
+ * The version of the OpenAPI document: 15.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 14.1.0
7
+ * The version of the OpenAPI document: 15.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/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: 14.1.0
5
+ * The version of the OpenAPI document: 15.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29374,10 +29374,11 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
29374
29374
  */
29375
29375
  getEventTiers: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29376
29376
  /**
29377
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29377
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29378
29378
  * @summary List events
29379
29379
  * @param {boolean} [past] Filter by past
29380
29380
  * @param {boolean} [featured] Filter by featured
29381
+ * @param {EventSource} [source] Filter by source
29381
29382
  * @param {number} [page] Page number
29382
29383
  * @param {number} [pageSize] Number of items per page
29383
29384
  * @param {string} [orderBy] Field to order by
@@ -29385,7 +29386,7 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
29385
29386
  * @param {*} [options] Override http request option.
29386
29387
  * @throws {RequiredError}
29387
29388
  */
29388
- getEvents: (past?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29389
+ getEvents: (past?: boolean, featured?: boolean, source?: EventSource, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29389
29390
  /**
29390
29391
  * Sets or updates the location details of an existing event, requiring the update events permission.
29391
29392
  * @summary Set an event\'s location
@@ -29501,10 +29502,11 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
29501
29502
  */
29502
29503
  getEventTiers(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventTiers200Response>>;
29503
29504
  /**
29504
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29505
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29505
29506
  * @summary List events
29506
29507
  * @param {boolean} [past] Filter by past
29507
29508
  * @param {boolean} [featured] Filter by featured
29509
+ * @param {EventSource} [source] Filter by source
29508
29510
  * @param {number} [page] Page number
29509
29511
  * @param {number} [pageSize] Number of items per page
29510
29512
  * @param {string} [orderBy] Field to order by
@@ -29512,7 +29514,7 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
29512
29514
  * @param {*} [options] Override http request option.
29513
29515
  * @throws {RequiredError}
29514
29516
  */
29515
- getEvents(past?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvents200Response>>;
29517
+ getEvents(past?: boolean, featured?: boolean, source?: EventSource, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvents200Response>>;
29516
29518
  /**
29517
29519
  * Sets or updates the location details of an existing event, requiring the update events permission.
29518
29520
  * @summary Set an event\'s location
@@ -29617,7 +29619,7 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
29617
29619
  */
29618
29620
  getEventTiers(requestParameters: EventsApiGetEventTiersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventTiers200Response>;
29619
29621
  /**
29620
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29622
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29621
29623
  * @summary List events
29622
29624
  * @param {EventsApiGetEventsRequest} requestParameters Request parameters.
29623
29625
  * @param {*} [options] Override http request option.
@@ -29781,6 +29783,10 @@ export interface EventsApiGetEventsRequest {
29781
29783
  * Filter by featured
29782
29784
  */
29783
29785
  readonly featured?: boolean;
29786
+ /**
29787
+ * Filter by source
29788
+ */
29789
+ readonly source?: EventSource;
29784
29790
  /**
29785
29791
  * Page number
29786
29792
  */
@@ -29903,7 +29909,7 @@ export declare class EventsApi extends BaseAPI {
29903
29909
  */
29904
29910
  getEventTiers(requestParameters: EventsApiGetEventTiersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventTiers200Response, any, {}, any>>;
29905
29911
  /**
29906
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29912
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
29907
29913
  * @summary List events
29908
29914
  * @param {EventsApiGetEventsRequest} requestParameters Request parameters.
29909
29915
  * @param {*} [options] Override http request option.
package/dist/esm/api.js 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: 14.1.0
7
+ * The version of the OpenAPI document: 15.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25756,10 +25756,11 @@ export const EventsApiAxiosParamCreator = function (configuration) {
25756
25756
  };
25757
25757
  }),
25758
25758
  /**
25759
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
25759
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
25760
25760
  * @summary List events
25761
25761
  * @param {boolean} [past] Filter by past
25762
25762
  * @param {boolean} [featured] Filter by featured
25763
+ * @param {EventSource} [source] Filter by source
25763
25764
  * @param {number} [page] Page number
25764
25765
  * @param {number} [pageSize] Number of items per page
25765
25766
  * @param {string} [orderBy] Field to order by
@@ -25767,7 +25768,7 @@ export const EventsApiAxiosParamCreator = function (configuration) {
25767
25768
  * @param {*} [options] Override http request option.
25768
25769
  * @throws {RequiredError}
25769
25770
  */
25770
- getEvents: (past_1, featured_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [past_1, featured_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (past, featured, page, pageSize, orderBy, search, options = {}) {
25771
+ getEvents: (past_1, featured_1, source_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [past_1, featured_1, source_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (past, featured, source, page, pageSize, orderBy, search, options = {}) {
25771
25772
  const localVarPath = `/events`;
25772
25773
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25773
25774
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25788,6 +25789,9 @@ export const EventsApiAxiosParamCreator = function (configuration) {
25788
25789
  if (featured !== undefined) {
25789
25790
  localVarQueryParameter['featured'] = featured;
25790
25791
  }
25792
+ if (source !== undefined) {
25793
+ localVarQueryParameter['source'] = source;
25794
+ }
25791
25795
  if (page !== undefined) {
25792
25796
  localVarQueryParameter['page'] = page;
25793
25797
  }
@@ -26067,10 +26071,11 @@ export const EventsApiFp = function (configuration) {
26067
26071
  });
26068
26072
  },
26069
26073
  /**
26070
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
26074
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
26071
26075
  * @summary List events
26072
26076
  * @param {boolean} [past] Filter by past
26073
26077
  * @param {boolean} [featured] Filter by featured
26078
+ * @param {EventSource} [source] Filter by source
26074
26079
  * @param {number} [page] Page number
26075
26080
  * @param {number} [pageSize] Number of items per page
26076
26081
  * @param {string} [orderBy] Field to order by
@@ -26078,10 +26083,10 @@ export const EventsApiFp = function (configuration) {
26078
26083
  * @param {*} [options] Override http request option.
26079
26084
  * @throws {RequiredError}
26080
26085
  */
26081
- getEvents(past, featured, page, pageSize, orderBy, search, options) {
26086
+ getEvents(past, featured, source, page, pageSize, orderBy, search, options) {
26082
26087
  return __awaiter(this, void 0, void 0, function* () {
26083
26088
  var _a, _b, _c;
26084
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getEvents(past, featured, page, pageSize, orderBy, search, options);
26089
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEvents(past, featured, source, page, pageSize, orderBy, search, options);
26085
26090
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26086
26091
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.getEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26087
26092
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -26230,14 +26235,14 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
26230
26235
  return localVarFp.getEventTiers(requestParameters.eventId, options).then((request) => request(axios, basePath));
26231
26236
  },
26232
26237
  /**
26233
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
26238
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
26234
26239
  * @summary List events
26235
26240
  * @param {EventsApiGetEventsRequest} requestParameters Request parameters.
26236
26241
  * @param {*} [options] Override http request option.
26237
26242
  * @throws {RequiredError}
26238
26243
  */
26239
26244
  getEvents(requestParameters = {}, options) {
26240
- return localVarFp.getEvents(requestParameters.past, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
26245
+ return localVarFp.getEvents(requestParameters.past, requestParameters.featured, requestParameters.source, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
26241
26246
  },
26242
26247
  /**
26243
26248
  * Sets or updates the location details of an existing event, requiring the update events permission.
@@ -26366,14 +26371,14 @@ export class EventsApi extends BaseAPI {
26366
26371
  return EventsApiFp(this.configuration).getEventTiers(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
26367
26372
  }
26368
26373
  /**
26369
- * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
26374
+ * Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
26370
26375
  * @summary List events
26371
26376
  * @param {EventsApiGetEventsRequest} requestParameters Request parameters.
26372
26377
  * @param {*} [options] Override http request option.
26373
26378
  * @throws {RequiredError}
26374
26379
  */
26375
26380
  getEvents(requestParameters = {}, options) {
26376
- return EventsApiFp(this.configuration).getEvents(requestParameters.past, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
26381
+ return EventsApiFp(this.configuration).getEvents(requestParameters.past, requestParameters.featured, requestParameters.source, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
26377
26382
  }
26378
26383
  /**
26379
26384
  * Sets or updates the location details of an existing event, requiring the update events permission.
@@ -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: 14.1.0
5
+ * The version of the OpenAPI document: 15.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js 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: 14.1.0
7
+ * The version of the OpenAPI document: 15.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 14.1.0
5
+ * The version of the OpenAPI document: 15.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 14.1.0
7
+ * The version of the OpenAPI document: 15.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 14.1.0
5
+ * The version of the OpenAPI document: 15.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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: 14.1.0
6
+ * The version of the OpenAPI document: 15.0.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/EventsApi.md CHANGED
@@ -566,7 +566,7 @@ const { status, data } = await apiInstance.getEventTiers(
566
566
  # **getEvents**
567
567
  > GetEvents200Response getEvents()
568
568
 
569
- Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
569
+ Returns a paginated list of the organization\'s events, excluding templates, with optional filters for past vs. upcoming events, featured status, source, and a search term, plus sorting via orderBy; requires \"read\" permission on events.
570
570
 
571
571
  ### Example
572
572
 
@@ -581,6 +581,7 @@ const apiInstance = new EventsApi(configuration);
581
581
 
582
582
  let past: boolean; //Filter by past (optional) (default to undefined)
583
583
  let featured: boolean; //Filter by featured (optional) (default to undefined)
584
+ let source: EventSource; //Filter by source (optional) (default to undefined)
584
585
  let page: number; //Page number (optional) (default to 1)
585
586
  let pageSize: number; //Number of items per page (optional) (default to 25)
586
587
  let orderBy: string; //Field to order by (optional) (default to undefined)
@@ -589,6 +590,7 @@ let search: string; //Search query (optional) (default to undefined)
589
590
  const { status, data } = await apiInstance.getEvents(
590
591
  past,
591
592
  featured,
593
+ source,
592
594
  page,
593
595
  pageSize,
594
596
  orderBy,
@@ -602,6 +604,7 @@ const { status, data } = await apiInstance.getEvents(
602
604
  |------------- | ------------- | ------------- | -------------|
603
605
  | **past** | [**boolean**] | Filter by past | (optional) defaults to undefined|
604
606
  | **featured** | [**boolean**] | Filter by featured | (optional) defaults to undefined|
607
+ | **source** | **EventSource** | Filter by source | (optional) defaults to undefined|
605
608
  | **page** | [**number**] | Page number | (optional) defaults to 1|
606
609
  | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
607
610
  | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "14.1.0",
3
+ "version": "15.0.0",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {