@connectedxm/admin-sdk 15.3.2 → 15.4.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.
@@ -709,6 +709,7 @@ docs/EventSponsorship.md
709
709
  docs/EventSponsorshipCreateInputs.md
710
710
  docs/EventSponsorshipLevel.md
711
711
  docs/EventSponsorshipLevelCreateInputs.md
712
+ docs/EventSponsorshipLevelSurvey.md
712
713
  docs/EventSponsorshipLevelTranslation.md
713
714
  docs/EventSponsorshipLevelTranslationUpdateInputs.md
714
715
  docs/EventSponsorshipLevelUpdateInputs.md
@@ -1018,6 +1019,7 @@ docs/GetEventSessionTranslation200Response.md
1018
1019
  docs/GetEventSessionTranslations200Response.md
1019
1020
  docs/GetEventSpeakerTranslation200Response.md
1020
1021
  docs/GetEventSpeakerTranslations200Response.md
1022
+ docs/GetEventSponsorshipLevelSurveys200Response.md
1021
1023
  docs/GetEventSponsorshipLevelTranslation200Response.md
1022
1024
  docs/GetEventSponsorshipLevelTranslations200Response.md
1023
1025
  docs/GetEventSponsorshipLevels200Response.md
@@ -1546,6 +1548,7 @@ docs/SponsorshipBrandingProgress.md
1546
1548
  docs/SponsorshipLevelTranslation.md
1547
1549
  docs/SponsorshipProgress.md
1548
1550
  docs/SponsorshipProgressCheck.md
1551
+ docs/SponsorshipSurveyProgress.md
1549
1552
  docs/StandardReport.md
1550
1553
  docs/StandardReportAllOfNextCursor.md
1551
1554
  docs/StartEventRoundMatchmakingRequest.md
@@ -1682,8 +1685,6 @@ docs/Transfer.md
1682
1685
  docs/TransferLog.md
1683
1686
  docs/TriggerCreateInputs.md
1684
1687
  docs/TriggerUpdateInputs.md
1685
- docs/UnavailableSponsorshipAdvertisementProgress.md
1686
- docs/UnavailableSponsorshipBenefitProgress.md
1687
1688
  docs/UpdateAnnouncementTemplateTranslation200Response.md
1688
1689
  docs/UpdateBookingResponsesInputs.md
1689
1690
  docs/UpdateBookingSpaceQuestionChoiceTranslation200Response.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @connectedxm/admin-sdk@15.3.2
1
+ ## @connectedxm/admin-sdk@15.4.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@15.3.2 --save
39
+ npm install @connectedxm/admin-sdk@15.4.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: 15.3.2
7
+ * The version of the OpenAPI document: 15.4.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7396,6 +7396,19 @@ export interface EventSponsorshipLevelCreateInputs {
7396
7396
  'benefitAllowance'?: number;
7397
7397
  'benefitPriority'?: number;
7398
7398
  }
7399
+ export interface EventSponsorshipLevelSurvey {
7400
+ 'id': string;
7401
+ 'slug': string;
7402
+ 'name': string;
7403
+ 'status': SurveyStatus;
7404
+ 'description': string | null;
7405
+ 'image': BaseImage;
7406
+ 'requireAuth': boolean;
7407
+ 'submissionsPerAccount': number;
7408
+ 'required': boolean;
7409
+ }
7410
+
7411
+
7399
7412
  export interface EventSponsorshipLevelTranslation {
7400
7413
  'id': number;
7401
7414
  'locale': string;
@@ -9811,6 +9824,17 @@ export enum GetEventSpeakerTranslations200ResponseStatusEnum {
9811
9824
  Ok = 'ok'
9812
9825
  }
9813
9826
 
9827
+ export interface GetEventSponsorshipLevelSurveys200Response {
9828
+ 'status': GetEventSponsorshipLevelSurveys200ResponseStatusEnum;
9829
+ 'message': string;
9830
+ 'data': Array<EventSponsorshipLevelSurvey>;
9831
+ 'count'?: number;
9832
+ }
9833
+
9834
+ export enum GetEventSponsorshipLevelSurveys200ResponseStatusEnum {
9835
+ Ok = 'ok'
9836
+ }
9837
+
9814
9838
  export interface GetEventSponsorshipLevelTranslation200Response {
9815
9839
  'status': GetEventSponsorshipLevelTranslation200ResponseStatusEnum;
9816
9840
  'message': string;
@@ -14977,7 +15001,6 @@ export interface SponsorshipAdvertisementProgress {
14977
15001
  'complete': boolean;
14978
15002
  'created': number;
14979
15003
  'allowance': number;
14980
- 'unavailable': boolean;
14981
15004
  }
14982
15005
 
14983
15006
  export enum SponsorshipAdvertisementProgressTypeEnum {
@@ -14989,7 +15012,6 @@ export interface SponsorshipBenefitProgress {
14989
15012
  'complete': boolean;
14990
15013
  'created': number;
14991
15014
  'allowance': number;
14992
- 'unavailable': boolean;
14993
15015
  }
14994
15016
 
14995
15017
  export enum SponsorshipBenefitProgressTypeEnum {
@@ -15030,7 +15052,18 @@ export interface SponsorshipProgress {
15030
15052
  /**
15031
15053
  * @type SponsorshipProgressCheck
15032
15054
  */
15033
- export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBrandingProgress | UnavailableSponsorshipAdvertisementProgress | UnavailableSponsorshipBenefitProgress;
15055
+ export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBrandingProgress | SponsorshipSurveyProgress;
15056
+
15057
+ export interface SponsorshipSurveyProgress {
15058
+ 'type': SponsorshipSurveyProgressTypeEnum;
15059
+ 'complete': boolean;
15060
+ 'submitted': number;
15061
+ 'required': number;
15062
+ }
15063
+
15064
+ export enum SponsorshipSurveyProgressTypeEnum {
15065
+ Surveys = 'surveys'
15066
+ }
15034
15067
 
15035
15068
  export interface StandardReport {
15036
15069
  'id': string;
@@ -16187,28 +16220,6 @@ export interface TriggerUpdateInputs {
16187
16220
  'code'?: string | null;
16188
16221
  'enabled'?: boolean;
16189
16222
  }
16190
- export interface UnavailableSponsorshipAdvertisementProgress {
16191
- 'type': UnavailableSponsorshipAdvertisementProgressTypeEnum;
16192
- 'complete': boolean;
16193
- 'unavailable': boolean;
16194
- 'allowance': number;
16195
- }
16196
-
16197
- export enum UnavailableSponsorshipAdvertisementProgressTypeEnum {
16198
- Advertisements = 'advertisements'
16199
- }
16200
-
16201
- export interface UnavailableSponsorshipBenefitProgress {
16202
- 'type': UnavailableSponsorshipBenefitProgressTypeEnum;
16203
- 'complete': boolean;
16204
- 'unavailable': boolean;
16205
- 'allowance': number;
16206
- }
16207
-
16208
- export enum UnavailableSponsorshipBenefitProgressTypeEnum {
16209
- Benefits = 'benefits'
16210
- }
16211
-
16212
16223
  export interface UpdateAnnouncementTemplateTranslation200Response {
16213
16224
  'status': UpdateAnnouncementTemplateTranslation200ResponseStatusEnum;
16214
16225
  'message': string;
@@ -109382,6 +109393,54 @@ export class EventsSponsorsApi extends BaseAPI {
109382
109393
  */
109383
109394
  export const EventsSponsorshiplevelsApiAxiosParamCreator = function (configuration?: Configuration) {
109384
109395
  return {
109396
+ /**
109397
+ * Links a survey to an event sponsorship level and returns the level; requires read and update permission on events and surveys.
109398
+ * @summary Add a survey to a sponsorship level
109399
+ * @param {string} eventId The event identifier
109400
+ * @param {string} levelId The level identifier
109401
+ * @param {string} surveyId The survey identifier
109402
+ * @param {*} [options] Override http request option.
109403
+ * @throws {RequiredError}
109404
+ */
109405
+ addEventSponsorshipLevelSurvey: async (eventId: string, levelId: string, surveyId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
109406
+ // verify required parameter 'eventId' is not null or undefined
109407
+ assertParamExists('addEventSponsorshipLevelSurvey', 'eventId', eventId)
109408
+ // verify required parameter 'levelId' is not null or undefined
109409
+ assertParamExists('addEventSponsorshipLevelSurvey', 'levelId', levelId)
109410
+ // verify required parameter 'surveyId' is not null or undefined
109411
+ assertParamExists('addEventSponsorshipLevelSurvey', 'surveyId', surveyId)
109412
+ const localVarPath = `/events/{eventId}/sponsorshipLevels/{levelId}/surveys/{surveyId}`
109413
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
109414
+ .replace('{levelId}', encodeURIComponent(String(levelId)))
109415
+ .replace('{surveyId}', encodeURIComponent(String(surveyId)));
109416
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
109417
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
109418
+ let baseOptions;
109419
+ if (configuration) {
109420
+ baseOptions = configuration.baseOptions;
109421
+ }
109422
+
109423
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
109424
+ const localVarHeaderParameter = {} as any;
109425
+ const localVarQueryParameter = {} as any;
109426
+
109427
+ // authentication ApiKeyAuth required
109428
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
109429
+
109430
+ // authentication OrganizationId required
109431
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
109432
+
109433
+ localVarHeaderParameter['Accept'] = 'application/json';
109434
+
109435
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
109436
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109437
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
109438
+
109439
+ return {
109440
+ url: toPathString(localVarUrlObj),
109441
+ options: localVarRequestOptions,
109442
+ };
109443
+ },
109385
109444
  /**
109386
109445
  * Creates a new sponsorship level (e.g. Gold, Silver, Bronze) for the given event, which sponsors can then be assigned to; requires update permission on events.
109387
109446
  * @summary Create an event sponsorship level
@@ -109515,6 +109574,70 @@ export const EventsSponsorshiplevelsApiAxiosParamCreator = function (configurati
109515
109574
  options: localVarRequestOptions,
109516
109575
  };
109517
109576
  },
109577
+ /**
109578
+ * Returns a paginated list of surveys linked to the given event sponsorship level, supporting search and ordering; requires read permission on events and surveys.
109579
+ * @summary List surveys on a sponsorship level
109580
+ * @param {string} eventId The event identifier
109581
+ * @param {string} levelId The level identifier
109582
+ * @param {number} [page] Page number
109583
+ * @param {number} [pageSize] Number of items per page
109584
+ * @param {string} [orderBy] Field to order by
109585
+ * @param {string} [search] Search query
109586
+ * @param {*} [options] Override http request option.
109587
+ * @throws {RequiredError}
109588
+ */
109589
+ getEventSponsorshipLevelSurveys: async (eventId: string, levelId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
109590
+ // verify required parameter 'eventId' is not null or undefined
109591
+ assertParamExists('getEventSponsorshipLevelSurveys', 'eventId', eventId)
109592
+ // verify required parameter 'levelId' is not null or undefined
109593
+ assertParamExists('getEventSponsorshipLevelSurveys', 'levelId', levelId)
109594
+ const localVarPath = `/events/{eventId}/sponsorshipLevels/{levelId}/surveys`
109595
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
109596
+ .replace('{levelId}', encodeURIComponent(String(levelId)));
109597
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
109598
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
109599
+ let baseOptions;
109600
+ if (configuration) {
109601
+ baseOptions = configuration.baseOptions;
109602
+ }
109603
+
109604
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
109605
+ const localVarHeaderParameter = {} as any;
109606
+ const localVarQueryParameter = {} as any;
109607
+
109608
+ // authentication ApiKeyAuth required
109609
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
109610
+
109611
+ // authentication OrganizationId required
109612
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
109613
+
109614
+ if (page !== undefined) {
109615
+ localVarQueryParameter['page'] = page;
109616
+ }
109617
+
109618
+ if (pageSize !== undefined) {
109619
+ localVarQueryParameter['pageSize'] = pageSize;
109620
+ }
109621
+
109622
+ if (orderBy !== undefined) {
109623
+ localVarQueryParameter['orderBy'] = orderBy;
109624
+ }
109625
+
109626
+ if (search !== undefined) {
109627
+ localVarQueryParameter['search'] = search;
109628
+ }
109629
+
109630
+ localVarHeaderParameter['Accept'] = 'application/json';
109631
+
109632
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
109633
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109634
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
109635
+
109636
+ return {
109637
+ url: toPathString(localVarUrlObj),
109638
+ options: localVarRequestOptions,
109639
+ };
109640
+ },
109518
109641
  /**
109519
109642
  * Returns a paginated list of sponsorship levels defined for the given event, supporting search and ordering; requires read permission on events.
109520
109643
  * @summary List an event\'s sponsorship levels
@@ -109575,6 +109698,54 @@ export const EventsSponsorshiplevelsApiAxiosParamCreator = function (configurati
109575
109698
  options: localVarRequestOptions,
109576
109699
  };
109577
109700
  },
109701
+ /**
109702
+ * Unlinks a survey from an event sponsorship level and returns the level; requires read and update permission on events and surveys.
109703
+ * @summary Remove a survey from a sponsorship level
109704
+ * @param {string} eventId The event identifier
109705
+ * @param {string} levelId The level identifier
109706
+ * @param {string} surveyId The survey identifier
109707
+ * @param {*} [options] Override http request option.
109708
+ * @throws {RequiredError}
109709
+ */
109710
+ removeEventSponsorshipLevelSurvey: async (eventId: string, levelId: string, surveyId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
109711
+ // verify required parameter 'eventId' is not null or undefined
109712
+ assertParamExists('removeEventSponsorshipLevelSurvey', 'eventId', eventId)
109713
+ // verify required parameter 'levelId' is not null or undefined
109714
+ assertParamExists('removeEventSponsorshipLevelSurvey', 'levelId', levelId)
109715
+ // verify required parameter 'surveyId' is not null or undefined
109716
+ assertParamExists('removeEventSponsorshipLevelSurvey', 'surveyId', surveyId)
109717
+ const localVarPath = `/events/{eventId}/sponsorshipLevels/{levelId}/surveys/{surveyId}`
109718
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
109719
+ .replace('{levelId}', encodeURIComponent(String(levelId)))
109720
+ .replace('{surveyId}', encodeURIComponent(String(surveyId)));
109721
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
109722
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
109723
+ let baseOptions;
109724
+ if (configuration) {
109725
+ baseOptions = configuration.baseOptions;
109726
+ }
109727
+
109728
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
109729
+ const localVarHeaderParameter = {} as any;
109730
+ const localVarQueryParameter = {} as any;
109731
+
109732
+ // authentication ApiKeyAuth required
109733
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
109734
+
109735
+ // authentication OrganizationId required
109736
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
109737
+
109738
+ localVarHeaderParameter['Accept'] = 'application/json';
109739
+
109740
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
109741
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109742
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
109743
+
109744
+ return {
109745
+ url: toPathString(localVarUrlObj),
109746
+ options: localVarRequestOptions,
109747
+ };
109748
+ },
109578
109749
  /**
109579
109750
  * Sets the display order of an event\'s sponsorship levels by supplying the full ordered list of level IDs; requires update permission on events.
109580
109751
  * @summary Reorder an event\'s sponsorship levels
@@ -109678,6 +109849,21 @@ export const EventsSponsorshiplevelsApiAxiosParamCreator = function (configurati
109678
109849
  export const EventsSponsorshiplevelsApiFp = function(configuration?: Configuration) {
109679
109850
  const localVarAxiosParamCreator = EventsSponsorshiplevelsApiAxiosParamCreator(configuration)
109680
109851
  return {
109852
+ /**
109853
+ * Links a survey to an event sponsorship level and returns the level; requires read and update permission on events and surveys.
109854
+ * @summary Add a survey to a sponsorship level
109855
+ * @param {string} eventId The event identifier
109856
+ * @param {string} levelId The level identifier
109857
+ * @param {string} surveyId The survey identifier
109858
+ * @param {*} [options] Override http request option.
109859
+ * @throws {RequiredError}
109860
+ */
109861
+ async addEventSponsorshipLevelSurvey(eventId: string, levelId: string, surveyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSponsorshipLevel200Response>> {
109862
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addEventSponsorshipLevelSurvey(eventId, levelId, surveyId, options);
109863
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
109864
+ const localVarOperationServerBasePath = operationServerMap['EventsSponsorshiplevelsApi.addEventSponsorshipLevelSurvey']?.[localVarOperationServerIndex]?.url;
109865
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
109866
+ },
109681
109867
  /**
109682
109868
  * Creates a new sponsorship level (e.g. Gold, Silver, Bronze) for the given event, which sponsors can then be assigned to; requires update permission on events.
109683
109869
  * @summary Create an event sponsorship level
@@ -109720,6 +109906,24 @@ export const EventsSponsorshiplevelsApiFp = function(configuration?: Configurati
109720
109906
  const localVarOperationServerBasePath = operationServerMap['EventsSponsorshiplevelsApi.getEventSponsorshipLevel']?.[localVarOperationServerIndex]?.url;
109721
109907
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
109722
109908
  },
109909
+ /**
109910
+ * Returns a paginated list of surveys linked to the given event sponsorship level, supporting search and ordering; requires read permission on events and surveys.
109911
+ * @summary List surveys on a sponsorship level
109912
+ * @param {string} eventId The event identifier
109913
+ * @param {string} levelId The level identifier
109914
+ * @param {number} [page] Page number
109915
+ * @param {number} [pageSize] Number of items per page
109916
+ * @param {string} [orderBy] Field to order by
109917
+ * @param {string} [search] Search query
109918
+ * @param {*} [options] Override http request option.
109919
+ * @throws {RequiredError}
109920
+ */
109921
+ async getEventSponsorshipLevelSurveys(eventId: string, levelId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventSponsorshipLevelSurveys200Response>> {
109922
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventSponsorshipLevelSurveys(eventId, levelId, page, pageSize, orderBy, search, options);
109923
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
109924
+ const localVarOperationServerBasePath = operationServerMap['EventsSponsorshiplevelsApi.getEventSponsorshipLevelSurveys']?.[localVarOperationServerIndex]?.url;
109925
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
109926
+ },
109723
109927
  /**
109724
109928
  * Returns a paginated list of sponsorship levels defined for the given event, supporting search and ordering; requires read permission on events.
109725
109929
  * @summary List an event\'s sponsorship levels
@@ -109737,6 +109941,21 @@ export const EventsSponsorshiplevelsApiFp = function(configuration?: Configurati
109737
109941
  const localVarOperationServerBasePath = operationServerMap['EventsSponsorshiplevelsApi.getEventSponsorshipLevels']?.[localVarOperationServerIndex]?.url;
109738
109942
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
109739
109943
  },
109944
+ /**
109945
+ * Unlinks a survey from an event sponsorship level and returns the level; requires read and update permission on events and surveys.
109946
+ * @summary Remove a survey from a sponsorship level
109947
+ * @param {string} eventId The event identifier
109948
+ * @param {string} levelId The level identifier
109949
+ * @param {string} surveyId The survey identifier
109950
+ * @param {*} [options] Override http request option.
109951
+ * @throws {RequiredError}
109952
+ */
109953
+ async removeEventSponsorshipLevelSurvey(eventId: string, levelId: string, surveyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSponsorshipLevel200Response>> {
109954
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventSponsorshipLevelSurvey(eventId, levelId, surveyId, options);
109955
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
109956
+ const localVarOperationServerBasePath = operationServerMap['EventsSponsorshiplevelsApi.removeEventSponsorshipLevelSurvey']?.[localVarOperationServerIndex]?.url;
109957
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
109958
+ },
109740
109959
  /**
109741
109960
  * Sets the display order of an event\'s sponsorship levels by supplying the full ordered list of level IDs; requires update permission on events.
109742
109961
  * @summary Reorder an event\'s sponsorship levels
@@ -109775,6 +109994,16 @@ export const EventsSponsorshiplevelsApiFp = function(configuration?: Configurati
109775
109994
  export const EventsSponsorshiplevelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
109776
109995
  const localVarFp = EventsSponsorshiplevelsApiFp(configuration)
109777
109996
  return {
109997
+ /**
109998
+ * Links a survey to an event sponsorship level and returns the level; requires read and update permission on events and surveys.
109999
+ * @summary Add a survey to a sponsorship level
110000
+ * @param {EventsSponsorshiplevelsApiAddEventSponsorshipLevelSurveyRequest} requestParameters Request parameters.
110001
+ * @param {*} [options] Override http request option.
110002
+ * @throws {RequiredError}
110003
+ */
110004
+ addEventSponsorshipLevelSurvey(requestParameters: EventsSponsorshiplevelsApiAddEventSponsorshipLevelSurveyRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSponsorshipLevel200Response> {
110005
+ return localVarFp.addEventSponsorshipLevelSurvey(requestParameters.eventId, requestParameters.levelId, requestParameters.surveyId, options).then((request) => request(axios, basePath));
110006
+ },
109778
110007
  /**
109779
110008
  * Creates a new sponsorship level (e.g. Gold, Silver, Bronze) for the given event, which sponsors can then be assigned to; requires update permission on events.
109780
110009
  * @summary Create an event sponsorship level
@@ -109805,6 +110034,16 @@ export const EventsSponsorshiplevelsApiFactory = function (configuration?: Confi
109805
110034
  getEventSponsorshipLevel(requestParameters: EventsSponsorshiplevelsApiGetEventSponsorshipLevelRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSponsorshipLevel200Response> {
109806
110035
  return localVarFp.getEventSponsorshipLevel(requestParameters.eventId, requestParameters.levelId, options).then((request) => request(axios, basePath));
109807
110036
  },
110037
+ /**
110038
+ * Returns a paginated list of surveys linked to the given event sponsorship level, supporting search and ordering; requires read permission on events and surveys.
110039
+ * @summary List surveys on a sponsorship level
110040
+ * @param {EventsSponsorshiplevelsApiGetEventSponsorshipLevelSurveysRequest} requestParameters Request parameters.
110041
+ * @param {*} [options] Override http request option.
110042
+ * @throws {RequiredError}
110043
+ */
110044
+ getEventSponsorshipLevelSurveys(requestParameters: EventsSponsorshiplevelsApiGetEventSponsorshipLevelSurveysRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventSponsorshipLevelSurveys200Response> {
110045
+ return localVarFp.getEventSponsorshipLevelSurveys(requestParameters.eventId, requestParameters.levelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
110046
+ },
109808
110047
  /**
109809
110048
  * Returns a paginated list of sponsorship levels defined for the given event, supporting search and ordering; requires read permission on events.
109810
110049
  * @summary List an event\'s sponsorship levels
@@ -109815,6 +110054,16 @@ export const EventsSponsorshiplevelsApiFactory = function (configuration?: Confi
109815
110054
  getEventSponsorshipLevels(requestParameters: EventsSponsorshiplevelsApiGetEventSponsorshipLevelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventSponsorshipLevels200Response> {
109816
110055
  return localVarFp.getEventSponsorshipLevels(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
109817
110056
  },
110057
+ /**
110058
+ * Unlinks a survey from an event sponsorship level and returns the level; requires read and update permission on events and surveys.
110059
+ * @summary Remove a survey from a sponsorship level
110060
+ * @param {EventsSponsorshiplevelsApiRemoveEventSponsorshipLevelSurveyRequest} requestParameters Request parameters.
110061
+ * @param {*} [options] Override http request option.
110062
+ * @throws {RequiredError}
110063
+ */
110064
+ removeEventSponsorshipLevelSurvey(requestParameters: EventsSponsorshiplevelsApiRemoveEventSponsorshipLevelSurveyRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSponsorshipLevel200Response> {
110065
+ return localVarFp.removeEventSponsorshipLevelSurvey(requestParameters.eventId, requestParameters.levelId, requestParameters.surveyId, options).then((request) => request(axios, basePath));
110066
+ },
109818
110067
  /**
109819
110068
  * Sets the display order of an event\'s sponsorship levels by supplying the full ordered list of level IDs; requires update permission on events.
109820
110069
  * @summary Reorder an event\'s sponsorship levels
@@ -109838,6 +110087,26 @@ export const EventsSponsorshiplevelsApiFactory = function (configuration?: Confi
109838
110087
  };
109839
110088
  };
109840
110089
 
110090
+ /**
110091
+ * Request parameters for addEventSponsorshipLevelSurvey operation in EventsSponsorshiplevelsApi.
110092
+ */
110093
+ export interface EventsSponsorshiplevelsApiAddEventSponsorshipLevelSurveyRequest {
110094
+ /**
110095
+ * The event identifier
110096
+ */
110097
+ readonly eventId: string
110098
+
110099
+ /**
110100
+ * The level identifier
110101
+ */
110102
+ readonly levelId: string
110103
+
110104
+ /**
110105
+ * The survey identifier
110106
+ */
110107
+ readonly surveyId: string
110108
+ }
110109
+
109841
110110
  /**
109842
110111
  * Request parameters for createEventSponsorshipLevel operation in EventsSponsorshiplevelsApi.
109843
110112
  */
@@ -109880,6 +110149,41 @@ export interface EventsSponsorshiplevelsApiGetEventSponsorshipLevelRequest {
109880
110149
  readonly levelId: string
109881
110150
  }
109882
110151
 
110152
+ /**
110153
+ * Request parameters for getEventSponsorshipLevelSurveys operation in EventsSponsorshiplevelsApi.
110154
+ */
110155
+ export interface EventsSponsorshiplevelsApiGetEventSponsorshipLevelSurveysRequest {
110156
+ /**
110157
+ * The event identifier
110158
+ */
110159
+ readonly eventId: string
110160
+
110161
+ /**
110162
+ * The level identifier
110163
+ */
110164
+ readonly levelId: string
110165
+
110166
+ /**
110167
+ * Page number
110168
+ */
110169
+ readonly page?: number
110170
+
110171
+ /**
110172
+ * Number of items per page
110173
+ */
110174
+ readonly pageSize?: number
110175
+
110176
+ /**
110177
+ * Field to order by
110178
+ */
110179
+ readonly orderBy?: string
110180
+
110181
+ /**
110182
+ * Search query
110183
+ */
110184
+ readonly search?: string
110185
+ }
110186
+
109883
110187
  /**
109884
110188
  * Request parameters for getEventSponsorshipLevels operation in EventsSponsorshiplevelsApi.
109885
110189
  */
@@ -109910,6 +110214,26 @@ export interface EventsSponsorshiplevelsApiGetEventSponsorshipLevelsRequest {
109910
110214
  readonly search?: string
109911
110215
  }
109912
110216
 
110217
+ /**
110218
+ * Request parameters for removeEventSponsorshipLevelSurvey operation in EventsSponsorshiplevelsApi.
110219
+ */
110220
+ export interface EventsSponsorshiplevelsApiRemoveEventSponsorshipLevelSurveyRequest {
110221
+ /**
110222
+ * The event identifier
110223
+ */
110224
+ readonly eventId: string
110225
+
110226
+ /**
110227
+ * The level identifier
110228
+ */
110229
+ readonly levelId: string
110230
+
110231
+ /**
110232
+ * The survey identifier
110233
+ */
110234
+ readonly surveyId: string
110235
+ }
110236
+
109913
110237
  /**
109914
110238
  * Request parameters for reorderEventSponsorshipLevels operation in EventsSponsorshiplevelsApi.
109915
110239
  */
@@ -109943,6 +110267,17 @@ export interface EventsSponsorshiplevelsApiUpdateEventSponsorshipLevelRequest {
109943
110267
  * EventsSponsorshiplevelsApi - object-oriented interface
109944
110268
  */
109945
110269
  export class EventsSponsorshiplevelsApi extends BaseAPI {
110270
+ /**
110271
+ * Links a survey to an event sponsorship level and returns the level; requires read and update permission on events and surveys.
110272
+ * @summary Add a survey to a sponsorship level
110273
+ * @param {EventsSponsorshiplevelsApiAddEventSponsorshipLevelSurveyRequest} requestParameters Request parameters.
110274
+ * @param {*} [options] Override http request option.
110275
+ * @throws {RequiredError}
110276
+ */
110277
+ public addEventSponsorshipLevelSurvey(requestParameters: EventsSponsorshiplevelsApiAddEventSponsorshipLevelSurveyRequest, options?: RawAxiosRequestConfig) {
110278
+ return EventsSponsorshiplevelsApiFp(this.configuration).addEventSponsorshipLevelSurvey(requestParameters.eventId, requestParameters.levelId, requestParameters.surveyId, options).then((request) => request(this.axios, this.basePath));
110279
+ }
110280
+
109946
110281
  /**
109947
110282
  * Creates a new sponsorship level (e.g. Gold, Silver, Bronze) for the given event, which sponsors can then be assigned to; requires update permission on events.
109948
110283
  * @summary Create an event sponsorship level
@@ -109976,6 +110311,17 @@ export class EventsSponsorshiplevelsApi extends BaseAPI {
109976
110311
  return EventsSponsorshiplevelsApiFp(this.configuration).getEventSponsorshipLevel(requestParameters.eventId, requestParameters.levelId, options).then((request) => request(this.axios, this.basePath));
109977
110312
  }
109978
110313
 
110314
+ /**
110315
+ * Returns a paginated list of surveys linked to the given event sponsorship level, supporting search and ordering; requires read permission on events and surveys.
110316
+ * @summary List surveys on a sponsorship level
110317
+ * @param {EventsSponsorshiplevelsApiGetEventSponsorshipLevelSurveysRequest} requestParameters Request parameters.
110318
+ * @param {*} [options] Override http request option.
110319
+ * @throws {RequiredError}
110320
+ */
110321
+ public getEventSponsorshipLevelSurveys(requestParameters: EventsSponsorshiplevelsApiGetEventSponsorshipLevelSurveysRequest, options?: RawAxiosRequestConfig) {
110322
+ return EventsSponsorshiplevelsApiFp(this.configuration).getEventSponsorshipLevelSurveys(requestParameters.eventId, requestParameters.levelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
110323
+ }
110324
+
109979
110325
  /**
109980
110326
  * Returns a paginated list of sponsorship levels defined for the given event, supporting search and ordering; requires read permission on events.
109981
110327
  * @summary List an event\'s sponsorship levels
@@ -109987,6 +110333,17 @@ export class EventsSponsorshiplevelsApi extends BaseAPI {
109987
110333
  return EventsSponsorshiplevelsApiFp(this.configuration).getEventSponsorshipLevels(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
109988
110334
  }
109989
110335
 
110336
+ /**
110337
+ * Unlinks a survey from an event sponsorship level and returns the level; requires read and update permission on events and surveys.
110338
+ * @summary Remove a survey from a sponsorship level
110339
+ * @param {EventsSponsorshiplevelsApiRemoveEventSponsorshipLevelSurveyRequest} requestParameters Request parameters.
110340
+ * @param {*} [options] Override http request option.
110341
+ * @throws {RequiredError}
110342
+ */
110343
+ public removeEventSponsorshipLevelSurvey(requestParameters: EventsSponsorshiplevelsApiRemoveEventSponsorshipLevelSurveyRequest, options?: RawAxiosRequestConfig) {
110344
+ return EventsSponsorshiplevelsApiFp(this.configuration).removeEventSponsorshipLevelSurvey(requestParameters.eventId, requestParameters.levelId, requestParameters.surveyId, options).then((request) => request(this.axios, this.basePath));
110345
+ }
110346
+
109990
110347
  /**
109991
110348
  * Sets the display order of an event\'s sponsorship levels by supplying the full ordered list of level IDs; requires update permission on events.
109992
110349
  * @summary Reorder an event\'s sponsorship levels
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: 15.3.2
7
+ * The version of the OpenAPI document: 15.4.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: 15.3.2
7
+ * The version of the OpenAPI document: 15.4.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: 15.3.2
6
+ * The version of the OpenAPI document: 15.4.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).