@connectedxm/admin-sdk 15.3.3 → 15.5.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.3
1
+ ## @connectedxm/admin-sdk@15.5.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.3 --save
39
+ npm install @connectedxm/admin-sdk@15.5.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.3
7
+ * The version of the OpenAPI document: 15.5.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2154,6 +2154,9 @@ export interface BaseEventSponsorshipLevel {
2154
2154
  'advertisementWeight': number;
2155
2155
  'benefitAllowance': number;
2156
2156
  'benefitPriority': number;
2157
+ 'postAllowance': number;
2158
+ 'postWindowStart': string | null;
2159
+ 'postWindowEnd': string | null;
2157
2160
  }
2158
2161
  export interface BaseEventTrack {
2159
2162
  'id': string;
@@ -7380,6 +7383,9 @@ export interface EventSponsorshipLevel {
7380
7383
  'advertisementWeight': number;
7381
7384
  'benefitAllowance': number;
7382
7385
  'benefitPriority': number;
7386
+ 'postAllowance': number;
7387
+ 'postWindowStart': string | null;
7388
+ 'postWindowEnd': string | null;
7383
7389
  'sortOrder': number;
7384
7390
  'sponsors': Array<BaseEventSponsorship>;
7385
7391
  'createdAt': string;
@@ -7395,7 +7401,23 @@ export interface EventSponsorshipLevelCreateInputs {
7395
7401
  'advertisementWeight'?: number;
7396
7402
  'benefitAllowance'?: number;
7397
7403
  'benefitPriority'?: number;
7404
+ 'postAllowance'?: number;
7405
+ 'postWindowStart'?: string | null;
7406
+ 'postWindowEnd'?: string | null;
7398
7407
  }
7408
+ export interface EventSponsorshipLevelSurvey {
7409
+ 'id': string;
7410
+ 'slug': string;
7411
+ 'name': string;
7412
+ 'status': SurveyStatus;
7413
+ 'description': string | null;
7414
+ 'image': BaseImage;
7415
+ 'requireAuth': boolean;
7416
+ 'submissionsPerAccount': number;
7417
+ 'required': boolean;
7418
+ }
7419
+
7420
+
7399
7421
  export interface EventSponsorshipLevelTranslation {
7400
7422
  'id': number;
7401
7423
  'locale': string;
@@ -7418,6 +7440,9 @@ export interface EventSponsorshipLevelUpdateInputs {
7418
7440
  'advertisementWeight'?: number;
7419
7441
  'benefitAllowance'?: number;
7420
7442
  'benefitPriority'?: number;
7443
+ 'postAllowance'?: number;
7444
+ 'postWindowStart'?: string | null;
7445
+ 'postWindowEnd'?: string | null;
7421
7446
  }
7422
7447
  export interface EventSponsorshipProgress {
7423
7448
  'id': string;
@@ -9811,6 +9836,17 @@ export enum GetEventSpeakerTranslations200ResponseStatusEnum {
9811
9836
  Ok = 'ok'
9812
9837
  }
9813
9838
 
9839
+ export interface GetEventSponsorshipLevelSurveys200Response {
9840
+ 'status': GetEventSponsorshipLevelSurveys200ResponseStatusEnum;
9841
+ 'message': string;
9842
+ 'data': Array<EventSponsorshipLevelSurvey>;
9843
+ 'count'?: number;
9844
+ }
9845
+
9846
+ export enum GetEventSponsorshipLevelSurveys200ResponseStatusEnum {
9847
+ Ok = 'ok'
9848
+ }
9849
+
9814
9850
  export interface GetEventSponsorshipLevelTranslation200Response {
9815
9851
  'status': GetEventSponsorshipLevelTranslation200ResponseStatusEnum;
9816
9852
  'message': string;
@@ -14977,7 +15013,6 @@ export interface SponsorshipAdvertisementProgress {
14977
15013
  'complete': boolean;
14978
15014
  'created': number;
14979
15015
  'allowance': number;
14980
- 'unavailable': boolean;
14981
15016
  }
14982
15017
 
14983
15018
  export enum SponsorshipAdvertisementProgressTypeEnum {
@@ -14989,7 +15024,6 @@ export interface SponsorshipBenefitProgress {
14989
15024
  'complete': boolean;
14990
15025
  'created': number;
14991
15026
  'allowance': number;
14992
- 'unavailable': boolean;
14993
15027
  }
14994
15028
 
14995
15029
  export enum SponsorshipBenefitProgressTypeEnum {
@@ -15030,7 +15064,18 @@ export interface SponsorshipProgress {
15030
15064
  /**
15031
15065
  * @type SponsorshipProgressCheck
15032
15066
  */
15033
- export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBrandingProgress | UnavailableSponsorshipAdvertisementProgress | UnavailableSponsorshipBenefitProgress;
15067
+ export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBrandingProgress | SponsorshipSurveyProgress;
15068
+
15069
+ export interface SponsorshipSurveyProgress {
15070
+ 'type': SponsorshipSurveyProgressTypeEnum;
15071
+ 'complete': boolean;
15072
+ 'submitted': number;
15073
+ 'required': number;
15074
+ }
15075
+
15076
+ export enum SponsorshipSurveyProgressTypeEnum {
15077
+ Surveys = 'surveys'
15078
+ }
15034
15079
 
15035
15080
  export interface StandardReport {
15036
15081
  'id': string;
@@ -16187,28 +16232,6 @@ export interface TriggerUpdateInputs {
16187
16232
  'code'?: string | null;
16188
16233
  'enabled'?: boolean;
16189
16234
  }
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
16235
  export interface UpdateAnnouncementTemplateTranslation200Response {
16213
16236
  'status': UpdateAnnouncementTemplateTranslation200ResponseStatusEnum;
16214
16237
  'message': string;
@@ -109382,6 +109405,54 @@ export class EventsSponsorsApi extends BaseAPI {
109382
109405
  */
109383
109406
  export const EventsSponsorshiplevelsApiAxiosParamCreator = function (configuration?: Configuration) {
109384
109407
  return {
109408
+ /**
109409
+ * Links a survey to an event sponsorship level and returns the level; requires read and update permission on events and surveys.
109410
+ * @summary Add a survey to a sponsorship level
109411
+ * @param {string} eventId The event identifier
109412
+ * @param {string} levelId The level identifier
109413
+ * @param {string} surveyId The survey identifier
109414
+ * @param {*} [options] Override http request option.
109415
+ * @throws {RequiredError}
109416
+ */
109417
+ addEventSponsorshipLevelSurvey: async (eventId: string, levelId: string, surveyId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
109418
+ // verify required parameter 'eventId' is not null or undefined
109419
+ assertParamExists('addEventSponsorshipLevelSurvey', 'eventId', eventId)
109420
+ // verify required parameter 'levelId' is not null or undefined
109421
+ assertParamExists('addEventSponsorshipLevelSurvey', 'levelId', levelId)
109422
+ // verify required parameter 'surveyId' is not null or undefined
109423
+ assertParamExists('addEventSponsorshipLevelSurvey', 'surveyId', surveyId)
109424
+ const localVarPath = `/events/{eventId}/sponsorshipLevels/{levelId}/surveys/{surveyId}`
109425
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
109426
+ .replace('{levelId}', encodeURIComponent(String(levelId)))
109427
+ .replace('{surveyId}', encodeURIComponent(String(surveyId)));
109428
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
109429
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
109430
+ let baseOptions;
109431
+ if (configuration) {
109432
+ baseOptions = configuration.baseOptions;
109433
+ }
109434
+
109435
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
109436
+ const localVarHeaderParameter = {} as any;
109437
+ const localVarQueryParameter = {} as any;
109438
+
109439
+ // authentication ApiKeyAuth required
109440
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
109441
+
109442
+ // authentication OrganizationId required
109443
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
109444
+
109445
+ localVarHeaderParameter['Accept'] = 'application/json';
109446
+
109447
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
109448
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109449
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
109450
+
109451
+ return {
109452
+ url: toPathString(localVarUrlObj),
109453
+ options: localVarRequestOptions,
109454
+ };
109455
+ },
109385
109456
  /**
109386
109457
  * 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
109458
  * @summary Create an event sponsorship level
@@ -109515,6 +109586,70 @@ export const EventsSponsorshiplevelsApiAxiosParamCreator = function (configurati
109515
109586
  options: localVarRequestOptions,
109516
109587
  };
109517
109588
  },
109589
+ /**
109590
+ * Returns a paginated list of surveys linked to the given event sponsorship level, supporting search and ordering; requires read permission on events and surveys.
109591
+ * @summary List surveys on a sponsorship level
109592
+ * @param {string} eventId The event identifier
109593
+ * @param {string} levelId The level identifier
109594
+ * @param {number} [page] Page number
109595
+ * @param {number} [pageSize] Number of items per page
109596
+ * @param {string} [orderBy] Field to order by
109597
+ * @param {string} [search] Search query
109598
+ * @param {*} [options] Override http request option.
109599
+ * @throws {RequiredError}
109600
+ */
109601
+ getEventSponsorshipLevelSurveys: async (eventId: string, levelId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
109602
+ // verify required parameter 'eventId' is not null or undefined
109603
+ assertParamExists('getEventSponsorshipLevelSurveys', 'eventId', eventId)
109604
+ // verify required parameter 'levelId' is not null or undefined
109605
+ assertParamExists('getEventSponsorshipLevelSurveys', 'levelId', levelId)
109606
+ const localVarPath = `/events/{eventId}/sponsorshipLevels/{levelId}/surveys`
109607
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
109608
+ .replace('{levelId}', encodeURIComponent(String(levelId)));
109609
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
109610
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
109611
+ let baseOptions;
109612
+ if (configuration) {
109613
+ baseOptions = configuration.baseOptions;
109614
+ }
109615
+
109616
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
109617
+ const localVarHeaderParameter = {} as any;
109618
+ const localVarQueryParameter = {} as any;
109619
+
109620
+ // authentication ApiKeyAuth required
109621
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
109622
+
109623
+ // authentication OrganizationId required
109624
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
109625
+
109626
+ if (page !== undefined) {
109627
+ localVarQueryParameter['page'] = page;
109628
+ }
109629
+
109630
+ if (pageSize !== undefined) {
109631
+ localVarQueryParameter['pageSize'] = pageSize;
109632
+ }
109633
+
109634
+ if (orderBy !== undefined) {
109635
+ localVarQueryParameter['orderBy'] = orderBy;
109636
+ }
109637
+
109638
+ if (search !== undefined) {
109639
+ localVarQueryParameter['search'] = search;
109640
+ }
109641
+
109642
+ localVarHeaderParameter['Accept'] = 'application/json';
109643
+
109644
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
109645
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109646
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
109647
+
109648
+ return {
109649
+ url: toPathString(localVarUrlObj),
109650
+ options: localVarRequestOptions,
109651
+ };
109652
+ },
109518
109653
  /**
109519
109654
  * Returns a paginated list of sponsorship levels defined for the given event, supporting search and ordering; requires read permission on events.
109520
109655
  * @summary List an event\'s sponsorship levels
@@ -109575,6 +109710,54 @@ export const EventsSponsorshiplevelsApiAxiosParamCreator = function (configurati
109575
109710
  options: localVarRequestOptions,
109576
109711
  };
109577
109712
  },
109713
+ /**
109714
+ * Unlinks a survey from an event sponsorship level and returns the level; requires read and update permission on events and surveys.
109715
+ * @summary Remove a survey from a sponsorship level
109716
+ * @param {string} eventId The event identifier
109717
+ * @param {string} levelId The level identifier
109718
+ * @param {string} surveyId The survey identifier
109719
+ * @param {*} [options] Override http request option.
109720
+ * @throws {RequiredError}
109721
+ */
109722
+ removeEventSponsorshipLevelSurvey: async (eventId: string, levelId: string, surveyId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
109723
+ // verify required parameter 'eventId' is not null or undefined
109724
+ assertParamExists('removeEventSponsorshipLevelSurvey', 'eventId', eventId)
109725
+ // verify required parameter 'levelId' is not null or undefined
109726
+ assertParamExists('removeEventSponsorshipLevelSurvey', 'levelId', levelId)
109727
+ // verify required parameter 'surveyId' is not null or undefined
109728
+ assertParamExists('removeEventSponsorshipLevelSurvey', 'surveyId', surveyId)
109729
+ const localVarPath = `/events/{eventId}/sponsorshipLevels/{levelId}/surveys/{surveyId}`
109730
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
109731
+ .replace('{levelId}', encodeURIComponent(String(levelId)))
109732
+ .replace('{surveyId}', encodeURIComponent(String(surveyId)));
109733
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
109734
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
109735
+ let baseOptions;
109736
+ if (configuration) {
109737
+ baseOptions = configuration.baseOptions;
109738
+ }
109739
+
109740
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
109741
+ const localVarHeaderParameter = {} as any;
109742
+ const localVarQueryParameter = {} as any;
109743
+
109744
+ // authentication ApiKeyAuth required
109745
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
109746
+
109747
+ // authentication OrganizationId required
109748
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
109749
+
109750
+ localVarHeaderParameter['Accept'] = 'application/json';
109751
+
109752
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
109753
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109754
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
109755
+
109756
+ return {
109757
+ url: toPathString(localVarUrlObj),
109758
+ options: localVarRequestOptions,
109759
+ };
109760
+ },
109578
109761
  /**
109579
109762
  * 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
109763
  * @summary Reorder an event\'s sponsorship levels
@@ -109678,6 +109861,21 @@ export const EventsSponsorshiplevelsApiAxiosParamCreator = function (configurati
109678
109861
  export const EventsSponsorshiplevelsApiFp = function(configuration?: Configuration) {
109679
109862
  const localVarAxiosParamCreator = EventsSponsorshiplevelsApiAxiosParamCreator(configuration)
109680
109863
  return {
109864
+ /**
109865
+ * Links a survey to an event sponsorship level and returns the level; requires read and update permission on events and surveys.
109866
+ * @summary Add a survey to a sponsorship level
109867
+ * @param {string} eventId The event identifier
109868
+ * @param {string} levelId The level identifier
109869
+ * @param {string} surveyId The survey identifier
109870
+ * @param {*} [options] Override http request option.
109871
+ * @throws {RequiredError}
109872
+ */
109873
+ async addEventSponsorshipLevelSurvey(eventId: string, levelId: string, surveyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSponsorshipLevel200Response>> {
109874
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addEventSponsorshipLevelSurvey(eventId, levelId, surveyId, options);
109875
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
109876
+ const localVarOperationServerBasePath = operationServerMap['EventsSponsorshiplevelsApi.addEventSponsorshipLevelSurvey']?.[localVarOperationServerIndex]?.url;
109877
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
109878
+ },
109681
109879
  /**
109682
109880
  * 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
109881
  * @summary Create an event sponsorship level
@@ -109720,6 +109918,24 @@ export const EventsSponsorshiplevelsApiFp = function(configuration?: Configurati
109720
109918
  const localVarOperationServerBasePath = operationServerMap['EventsSponsorshiplevelsApi.getEventSponsorshipLevel']?.[localVarOperationServerIndex]?.url;
109721
109919
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
109722
109920
  },
109921
+ /**
109922
+ * Returns a paginated list of surveys linked to the given event sponsorship level, supporting search and ordering; requires read permission on events and surveys.
109923
+ * @summary List surveys on a sponsorship level
109924
+ * @param {string} eventId The event identifier
109925
+ * @param {string} levelId The level identifier
109926
+ * @param {number} [page] Page number
109927
+ * @param {number} [pageSize] Number of items per page
109928
+ * @param {string} [orderBy] Field to order by
109929
+ * @param {string} [search] Search query
109930
+ * @param {*} [options] Override http request option.
109931
+ * @throws {RequiredError}
109932
+ */
109933
+ async getEventSponsorshipLevelSurveys(eventId: string, levelId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventSponsorshipLevelSurveys200Response>> {
109934
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventSponsorshipLevelSurveys(eventId, levelId, page, pageSize, orderBy, search, options);
109935
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
109936
+ const localVarOperationServerBasePath = operationServerMap['EventsSponsorshiplevelsApi.getEventSponsorshipLevelSurveys']?.[localVarOperationServerIndex]?.url;
109937
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
109938
+ },
109723
109939
  /**
109724
109940
  * Returns a paginated list of sponsorship levels defined for the given event, supporting search and ordering; requires read permission on events.
109725
109941
  * @summary List an event\'s sponsorship levels
@@ -109737,6 +109953,21 @@ export const EventsSponsorshiplevelsApiFp = function(configuration?: Configurati
109737
109953
  const localVarOperationServerBasePath = operationServerMap['EventsSponsorshiplevelsApi.getEventSponsorshipLevels']?.[localVarOperationServerIndex]?.url;
109738
109954
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
109739
109955
  },
109956
+ /**
109957
+ * Unlinks a survey from an event sponsorship level and returns the level; requires read and update permission on events and surveys.
109958
+ * @summary Remove a survey from a sponsorship level
109959
+ * @param {string} eventId The event identifier
109960
+ * @param {string} levelId The level identifier
109961
+ * @param {string} surveyId The survey identifier
109962
+ * @param {*} [options] Override http request option.
109963
+ * @throws {RequiredError}
109964
+ */
109965
+ async removeEventSponsorshipLevelSurvey(eventId: string, levelId: string, surveyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSponsorshipLevel200Response>> {
109966
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventSponsorshipLevelSurvey(eventId, levelId, surveyId, options);
109967
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
109968
+ const localVarOperationServerBasePath = operationServerMap['EventsSponsorshiplevelsApi.removeEventSponsorshipLevelSurvey']?.[localVarOperationServerIndex]?.url;
109969
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
109970
+ },
109740
109971
  /**
109741
109972
  * 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
109973
  * @summary Reorder an event\'s sponsorship levels
@@ -109775,6 +110006,16 @@ export const EventsSponsorshiplevelsApiFp = function(configuration?: Configurati
109775
110006
  export const EventsSponsorshiplevelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
109776
110007
  const localVarFp = EventsSponsorshiplevelsApiFp(configuration)
109777
110008
  return {
110009
+ /**
110010
+ * Links a survey to an event sponsorship level and returns the level; requires read and update permission on events and surveys.
110011
+ * @summary Add a survey to a sponsorship level
110012
+ * @param {EventsSponsorshiplevelsApiAddEventSponsorshipLevelSurveyRequest} requestParameters Request parameters.
110013
+ * @param {*} [options] Override http request option.
110014
+ * @throws {RequiredError}
110015
+ */
110016
+ addEventSponsorshipLevelSurvey(requestParameters: EventsSponsorshiplevelsApiAddEventSponsorshipLevelSurveyRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSponsorshipLevel200Response> {
110017
+ return localVarFp.addEventSponsorshipLevelSurvey(requestParameters.eventId, requestParameters.levelId, requestParameters.surveyId, options).then((request) => request(axios, basePath));
110018
+ },
109778
110019
  /**
109779
110020
  * 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
110021
  * @summary Create an event sponsorship level
@@ -109805,6 +110046,16 @@ export const EventsSponsorshiplevelsApiFactory = function (configuration?: Confi
109805
110046
  getEventSponsorshipLevel(requestParameters: EventsSponsorshiplevelsApiGetEventSponsorshipLevelRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSponsorshipLevel200Response> {
109806
110047
  return localVarFp.getEventSponsorshipLevel(requestParameters.eventId, requestParameters.levelId, options).then((request) => request(axios, basePath));
109807
110048
  },
110049
+ /**
110050
+ * Returns a paginated list of surveys linked to the given event sponsorship level, supporting search and ordering; requires read permission on events and surveys.
110051
+ * @summary List surveys on a sponsorship level
110052
+ * @param {EventsSponsorshiplevelsApiGetEventSponsorshipLevelSurveysRequest} requestParameters Request parameters.
110053
+ * @param {*} [options] Override http request option.
110054
+ * @throws {RequiredError}
110055
+ */
110056
+ getEventSponsorshipLevelSurveys(requestParameters: EventsSponsorshiplevelsApiGetEventSponsorshipLevelSurveysRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventSponsorshipLevelSurveys200Response> {
110057
+ return localVarFp.getEventSponsorshipLevelSurveys(requestParameters.eventId, requestParameters.levelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
110058
+ },
109808
110059
  /**
109809
110060
  * Returns a paginated list of sponsorship levels defined for the given event, supporting search and ordering; requires read permission on events.
109810
110061
  * @summary List an event\'s sponsorship levels
@@ -109815,6 +110066,16 @@ export const EventsSponsorshiplevelsApiFactory = function (configuration?: Confi
109815
110066
  getEventSponsorshipLevels(requestParameters: EventsSponsorshiplevelsApiGetEventSponsorshipLevelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventSponsorshipLevels200Response> {
109816
110067
  return localVarFp.getEventSponsorshipLevels(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
109817
110068
  },
110069
+ /**
110070
+ * Unlinks a survey from an event sponsorship level and returns the level; requires read and update permission on events and surveys.
110071
+ * @summary Remove a survey from a sponsorship level
110072
+ * @param {EventsSponsorshiplevelsApiRemoveEventSponsorshipLevelSurveyRequest} requestParameters Request parameters.
110073
+ * @param {*} [options] Override http request option.
110074
+ * @throws {RequiredError}
110075
+ */
110076
+ removeEventSponsorshipLevelSurvey(requestParameters: EventsSponsorshiplevelsApiRemoveEventSponsorshipLevelSurveyRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSponsorshipLevel200Response> {
110077
+ return localVarFp.removeEventSponsorshipLevelSurvey(requestParameters.eventId, requestParameters.levelId, requestParameters.surveyId, options).then((request) => request(axios, basePath));
110078
+ },
109818
110079
  /**
109819
110080
  * 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
110081
  * @summary Reorder an event\'s sponsorship levels
@@ -109838,6 +110099,26 @@ export const EventsSponsorshiplevelsApiFactory = function (configuration?: Confi
109838
110099
  };
109839
110100
  };
109840
110101
 
110102
+ /**
110103
+ * Request parameters for addEventSponsorshipLevelSurvey operation in EventsSponsorshiplevelsApi.
110104
+ */
110105
+ export interface EventsSponsorshiplevelsApiAddEventSponsorshipLevelSurveyRequest {
110106
+ /**
110107
+ * The event identifier
110108
+ */
110109
+ readonly eventId: string
110110
+
110111
+ /**
110112
+ * The level identifier
110113
+ */
110114
+ readonly levelId: string
110115
+
110116
+ /**
110117
+ * The survey identifier
110118
+ */
110119
+ readonly surveyId: string
110120
+ }
110121
+
109841
110122
  /**
109842
110123
  * Request parameters for createEventSponsorshipLevel operation in EventsSponsorshiplevelsApi.
109843
110124
  */
@@ -109880,6 +110161,41 @@ export interface EventsSponsorshiplevelsApiGetEventSponsorshipLevelRequest {
109880
110161
  readonly levelId: string
109881
110162
  }
109882
110163
 
110164
+ /**
110165
+ * Request parameters for getEventSponsorshipLevelSurveys operation in EventsSponsorshiplevelsApi.
110166
+ */
110167
+ export interface EventsSponsorshiplevelsApiGetEventSponsorshipLevelSurveysRequest {
110168
+ /**
110169
+ * The event identifier
110170
+ */
110171
+ readonly eventId: string
110172
+
110173
+ /**
110174
+ * The level identifier
110175
+ */
110176
+ readonly levelId: string
110177
+
110178
+ /**
110179
+ * Page number
110180
+ */
110181
+ readonly page?: number
110182
+
110183
+ /**
110184
+ * Number of items per page
110185
+ */
110186
+ readonly pageSize?: number
110187
+
110188
+ /**
110189
+ * Field to order by
110190
+ */
110191
+ readonly orderBy?: string
110192
+
110193
+ /**
110194
+ * Search query
110195
+ */
110196
+ readonly search?: string
110197
+ }
110198
+
109883
110199
  /**
109884
110200
  * Request parameters for getEventSponsorshipLevels operation in EventsSponsorshiplevelsApi.
109885
110201
  */
@@ -109910,6 +110226,26 @@ export interface EventsSponsorshiplevelsApiGetEventSponsorshipLevelsRequest {
109910
110226
  readonly search?: string
109911
110227
  }
109912
110228
 
110229
+ /**
110230
+ * Request parameters for removeEventSponsorshipLevelSurvey operation in EventsSponsorshiplevelsApi.
110231
+ */
110232
+ export interface EventsSponsorshiplevelsApiRemoveEventSponsorshipLevelSurveyRequest {
110233
+ /**
110234
+ * The event identifier
110235
+ */
110236
+ readonly eventId: string
110237
+
110238
+ /**
110239
+ * The level identifier
110240
+ */
110241
+ readonly levelId: string
110242
+
110243
+ /**
110244
+ * The survey identifier
110245
+ */
110246
+ readonly surveyId: string
110247
+ }
110248
+
109913
110249
  /**
109914
110250
  * Request parameters for reorderEventSponsorshipLevels operation in EventsSponsorshiplevelsApi.
109915
110251
  */
@@ -109943,6 +110279,17 @@ export interface EventsSponsorshiplevelsApiUpdateEventSponsorshipLevelRequest {
109943
110279
  * EventsSponsorshiplevelsApi - object-oriented interface
109944
110280
  */
109945
110281
  export class EventsSponsorshiplevelsApi extends BaseAPI {
110282
+ /**
110283
+ * Links a survey to an event sponsorship level and returns the level; requires read and update permission on events and surveys.
110284
+ * @summary Add a survey to a sponsorship level
110285
+ * @param {EventsSponsorshiplevelsApiAddEventSponsorshipLevelSurveyRequest} requestParameters Request parameters.
110286
+ * @param {*} [options] Override http request option.
110287
+ * @throws {RequiredError}
110288
+ */
110289
+ public addEventSponsorshipLevelSurvey(requestParameters: EventsSponsorshiplevelsApiAddEventSponsorshipLevelSurveyRequest, options?: RawAxiosRequestConfig) {
110290
+ return EventsSponsorshiplevelsApiFp(this.configuration).addEventSponsorshipLevelSurvey(requestParameters.eventId, requestParameters.levelId, requestParameters.surveyId, options).then((request) => request(this.axios, this.basePath));
110291
+ }
110292
+
109946
110293
  /**
109947
110294
  * 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
110295
  * @summary Create an event sponsorship level
@@ -109976,6 +110323,17 @@ export class EventsSponsorshiplevelsApi extends BaseAPI {
109976
110323
  return EventsSponsorshiplevelsApiFp(this.configuration).getEventSponsorshipLevel(requestParameters.eventId, requestParameters.levelId, options).then((request) => request(this.axios, this.basePath));
109977
110324
  }
109978
110325
 
110326
+ /**
110327
+ * Returns a paginated list of surveys linked to the given event sponsorship level, supporting search and ordering; requires read permission on events and surveys.
110328
+ * @summary List surveys on a sponsorship level
110329
+ * @param {EventsSponsorshiplevelsApiGetEventSponsorshipLevelSurveysRequest} requestParameters Request parameters.
110330
+ * @param {*} [options] Override http request option.
110331
+ * @throws {RequiredError}
110332
+ */
110333
+ public getEventSponsorshipLevelSurveys(requestParameters: EventsSponsorshiplevelsApiGetEventSponsorshipLevelSurveysRequest, options?: RawAxiosRequestConfig) {
110334
+ 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));
110335
+ }
110336
+
109979
110337
  /**
109980
110338
  * Returns a paginated list of sponsorship levels defined for the given event, supporting search and ordering; requires read permission on events.
109981
110339
  * @summary List an event\'s sponsorship levels
@@ -109987,6 +110345,17 @@ export class EventsSponsorshiplevelsApi extends BaseAPI {
109987
110345
  return EventsSponsorshiplevelsApiFp(this.configuration).getEventSponsorshipLevels(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
109988
110346
  }
109989
110347
 
110348
+ /**
110349
+ * Unlinks a survey from an event sponsorship level and returns the level; requires read and update permission on events and surveys.
110350
+ * @summary Remove a survey from a sponsorship level
110351
+ * @param {EventsSponsorshiplevelsApiRemoveEventSponsorshipLevelSurveyRequest} requestParameters Request parameters.
110352
+ * @param {*} [options] Override http request option.
110353
+ * @throws {RequiredError}
110354
+ */
110355
+ public removeEventSponsorshipLevelSurvey(requestParameters: EventsSponsorshiplevelsApiRemoveEventSponsorshipLevelSurveyRequest, options?: RawAxiosRequestConfig) {
110356
+ return EventsSponsorshiplevelsApiFp(this.configuration).removeEventSponsorshipLevelSurvey(requestParameters.eventId, requestParameters.levelId, requestParameters.surveyId, options).then((request) => request(this.axios, this.basePath));
110357
+ }
110358
+
109990
110359
  /**
109991
110360
  * 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
110361
  * @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.3
7
+ * The version of the OpenAPI document: 15.5.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.3
7
+ * The version of the OpenAPI document: 15.5.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.3
6
+ * The version of the OpenAPI document: 15.5.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).