@connectedxm/admin-sdk 16.15.0 → 16.16.1

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/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: 16.15.0
7
+ * The version of the OpenAPI document: 16.16.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6435,6 +6435,13 @@ export interface EventPassTypePriceSchedule {
6435
6435
  'createdAt': string;
6436
6436
  'updatedAt': string;
6437
6437
  }
6438
+ export interface EventPassTypePriceScheduleTranslation {
6439
+ 'id': number;
6440
+ 'locale': string;
6441
+ 'name': string | null;
6442
+ 'createdAt': string;
6443
+ 'updatedAt': string;
6444
+ }
6438
6445
  export interface EventPassTypeRefundSchedule {
6439
6446
  'id': string;
6440
6447
  'passTypeId': string;
@@ -9308,6 +9315,27 @@ export enum GetEventPassTypePriceSchedule200ResponseStatusEnum {
9308
9315
  Ok = 'ok'
9309
9316
  }
9310
9317
 
9318
+ export interface GetEventPassTypePriceScheduleTranslation200Response {
9319
+ 'status': GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum;
9320
+ 'message': string;
9321
+ 'data': EventPassTypePriceScheduleTranslation | null;
9322
+ }
9323
+
9324
+ export enum GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum {
9325
+ Ok = 'ok'
9326
+ }
9327
+
9328
+ export interface GetEventPassTypePriceScheduleTranslations200Response {
9329
+ 'status': GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum;
9330
+ 'message': string;
9331
+ 'data': Array<EventPassTypePriceScheduleTranslation>;
9332
+ 'count'?: number;
9333
+ }
9334
+
9335
+ export enum GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum {
9336
+ Ok = 'ok'
9337
+ }
9338
+
9311
9339
  export interface GetEventPassTypePriceSchedules200Response {
9312
9340
  'status': GetEventPassTypePriceSchedules200ResponseStatusEnum;
9313
9341
  'message': string;
@@ -13523,6 +13551,9 @@ export interface PassTypePriceScheduleCreateInputs {
13523
13551
  'startDate'?: string | null;
13524
13552
  'endDate'?: string | null;
13525
13553
  }
13554
+ export interface PassTypePriceScheduleTranslationUpdateInputs {
13555
+ 'name'?: string | null;
13556
+ }
13526
13557
  export interface PassTypePriceScheduleUpdateInputs {
13527
13558
  'ticketId'?: string | null;
13528
13559
  'price'?: number | null;
@@ -16524,6 +16555,16 @@ export interface UpdateEventPassResponseInputs {
16524
16555
  export interface UpdateEventPassResponsesInputs {
16525
16556
  'questions': Array<Question>;
16526
16557
  }
16558
+ export interface UpdateEventPassTypePriceScheduleTranslation200Response {
16559
+ 'status': UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum;
16560
+ 'message': string;
16561
+ 'data': EventPassTypePriceScheduleTranslation;
16562
+ }
16563
+
16564
+ export enum UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum {
16565
+ Ok = 'ok'
16566
+ }
16567
+
16527
16568
  export interface UpdateEventRoundQuestion200Response {
16528
16569
  'status': UpdateEventRoundQuestion200ResponseStatusEnum;
16529
16570
  'message': string;
@@ -80553,6 +80594,537 @@ export class EventsPasstypesPriceschedulesApi extends BaseAPI {
80553
80594
 
80554
80595
 
80555
80596
 
80597
+ /**
80598
+ * EventsPasstypesPriceschedulesTranslationsApi - axios parameter creator
80599
+ */
80600
+ export const EventsPasstypesPriceschedulesTranslationsApiAxiosParamCreator = function (configuration?: Configuration) {
80601
+ return {
80602
+ /**
80603
+ * Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
80604
+ * @summary Delete a pass type price schedule translation
80605
+ * @param {string} eventId The event identifier
80606
+ * @param {string} passTypeId The passType identifier
80607
+ * @param {string} scheduleId The schedule identifier
80608
+ * @param {string} locale The locale identifier
80609
+ * @param {*} [options] Override http request option.
80610
+ * @throws {RequiredError}
80611
+ */
80612
+ deleteEventPassTypePriceScheduleTranslation: async (eventId: string, passTypeId: string, scheduleId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80613
+ // verify required parameter 'eventId' is not null or undefined
80614
+ assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'eventId', eventId)
80615
+ // verify required parameter 'passTypeId' is not null or undefined
80616
+ assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'passTypeId', passTypeId)
80617
+ // verify required parameter 'scheduleId' is not null or undefined
80618
+ assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'scheduleId', scheduleId)
80619
+ // verify required parameter 'locale' is not null or undefined
80620
+ assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'locale', locale)
80621
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale}`
80622
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
80623
+ .replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
80624
+ .replace('{scheduleId}', encodeURIComponent(String(scheduleId)))
80625
+ .replace('{locale}', encodeURIComponent(String(locale)));
80626
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80627
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80628
+ let baseOptions;
80629
+ if (configuration) {
80630
+ baseOptions = configuration.baseOptions;
80631
+ }
80632
+
80633
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
80634
+ const localVarHeaderParameter = {} as any;
80635
+ const localVarQueryParameter = {} as any;
80636
+
80637
+ // authentication ApiKeyAuth required
80638
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
80639
+
80640
+ // authentication OrganizationId required
80641
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
80642
+
80643
+ localVarHeaderParameter['Accept'] = 'application/json';
80644
+
80645
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
80646
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80647
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
80648
+
80649
+ return {
80650
+ url: toPathString(localVarUrlObj),
80651
+ options: localVarRequestOptions,
80652
+ };
80653
+ },
80654
+ /**
80655
+ * Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
80656
+ * @summary Get a pass type price schedule\'s translation
80657
+ * @param {string} eventId The event identifier
80658
+ * @param {string} passTypeId The passType identifier
80659
+ * @param {string} scheduleId The schedule identifier
80660
+ * @param {string} locale The locale identifier
80661
+ * @param {*} [options] Override http request option.
80662
+ * @throws {RequiredError}
80663
+ */
80664
+ getEventPassTypePriceScheduleTranslation: async (eventId: string, passTypeId: string, scheduleId: string, locale: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80665
+ // verify required parameter 'eventId' is not null or undefined
80666
+ assertParamExists('getEventPassTypePriceScheduleTranslation', 'eventId', eventId)
80667
+ // verify required parameter 'passTypeId' is not null or undefined
80668
+ assertParamExists('getEventPassTypePriceScheduleTranslation', 'passTypeId', passTypeId)
80669
+ // verify required parameter 'scheduleId' is not null or undefined
80670
+ assertParamExists('getEventPassTypePriceScheduleTranslation', 'scheduleId', scheduleId)
80671
+ // verify required parameter 'locale' is not null or undefined
80672
+ assertParamExists('getEventPassTypePriceScheduleTranslation', 'locale', locale)
80673
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale}`
80674
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
80675
+ .replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
80676
+ .replace('{scheduleId}', encodeURIComponent(String(scheduleId)))
80677
+ .replace('{locale}', encodeURIComponent(String(locale)));
80678
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80679
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80680
+ let baseOptions;
80681
+ if (configuration) {
80682
+ baseOptions = configuration.baseOptions;
80683
+ }
80684
+
80685
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
80686
+ const localVarHeaderParameter = {} as any;
80687
+ const localVarQueryParameter = {} as any;
80688
+
80689
+ // authentication ApiKeyAuth required
80690
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
80691
+
80692
+ // authentication OrganizationId required
80693
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
80694
+
80695
+ localVarHeaderParameter['Accept'] = 'application/json';
80696
+
80697
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
80698
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80699
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
80700
+
80701
+ return {
80702
+ url: toPathString(localVarUrlObj),
80703
+ options: localVarRequestOptions,
80704
+ };
80705
+ },
80706
+ /**
80707
+ * Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
80708
+ * @summary List translations for a pass type price schedule
80709
+ * @param {string} eventId The event identifier
80710
+ * @param {string} passTypeId The passType identifier
80711
+ * @param {string} scheduleId The schedule identifier
80712
+ * @param {number} [page] Page number
80713
+ * @param {number} [pageSize] Number of items per page
80714
+ * @param {string} [orderBy] Field to order by
80715
+ * @param {string} [search] Search query
80716
+ * @param {*} [options] Override http request option.
80717
+ * @throws {RequiredError}
80718
+ */
80719
+ getEventPassTypePriceScheduleTranslations: async (eventId: string, passTypeId: string, scheduleId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80720
+ // verify required parameter 'eventId' is not null or undefined
80721
+ assertParamExists('getEventPassTypePriceScheduleTranslations', 'eventId', eventId)
80722
+ // verify required parameter 'passTypeId' is not null or undefined
80723
+ assertParamExists('getEventPassTypePriceScheduleTranslations', 'passTypeId', passTypeId)
80724
+ // verify required parameter 'scheduleId' is not null or undefined
80725
+ assertParamExists('getEventPassTypePriceScheduleTranslations', 'scheduleId', scheduleId)
80726
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations`
80727
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
80728
+ .replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
80729
+ .replace('{scheduleId}', encodeURIComponent(String(scheduleId)));
80730
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80731
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80732
+ let baseOptions;
80733
+ if (configuration) {
80734
+ baseOptions = configuration.baseOptions;
80735
+ }
80736
+
80737
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
80738
+ const localVarHeaderParameter = {} as any;
80739
+ const localVarQueryParameter = {} as any;
80740
+
80741
+ // authentication ApiKeyAuth required
80742
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
80743
+
80744
+ // authentication OrganizationId required
80745
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
80746
+
80747
+ if (page !== undefined) {
80748
+ localVarQueryParameter['page'] = page;
80749
+ }
80750
+
80751
+ if (pageSize !== undefined) {
80752
+ localVarQueryParameter['pageSize'] = pageSize;
80753
+ }
80754
+
80755
+ if (orderBy !== undefined) {
80756
+ localVarQueryParameter['orderBy'] = orderBy;
80757
+ }
80758
+
80759
+ if (search !== undefined) {
80760
+ localVarQueryParameter['search'] = search;
80761
+ }
80762
+
80763
+ localVarHeaderParameter['Accept'] = 'application/json';
80764
+
80765
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
80766
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80767
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
80768
+
80769
+ return {
80770
+ url: toPathString(localVarUrlObj),
80771
+ options: localVarRequestOptions,
80772
+ };
80773
+ },
80774
+ /**
80775
+ * Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
80776
+ * @summary Update a pass type price schedule\'s translation
80777
+ * @param {string} eventId The event identifier
80778
+ * @param {string} passTypeId The passType identifier
80779
+ * @param {string} scheduleId The schedule identifier
80780
+ * @param {string} locale The locale identifier
80781
+ * @param {PassTypePriceScheduleTranslationUpdateInputs} passTypePriceScheduleTranslationUpdateInputs
80782
+ * @param {*} [options] Override http request option.
80783
+ * @throws {RequiredError}
80784
+ */
80785
+ updateEventPassTypePriceScheduleTranslation: async (eventId: string, passTypeId: string, scheduleId: string, locale: string, passTypePriceScheduleTranslationUpdateInputs: PassTypePriceScheduleTranslationUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80786
+ // verify required parameter 'eventId' is not null or undefined
80787
+ assertParamExists('updateEventPassTypePriceScheduleTranslation', 'eventId', eventId)
80788
+ // verify required parameter 'passTypeId' is not null or undefined
80789
+ assertParamExists('updateEventPassTypePriceScheduleTranslation', 'passTypeId', passTypeId)
80790
+ // verify required parameter 'scheduleId' is not null or undefined
80791
+ assertParamExists('updateEventPassTypePriceScheduleTranslation', 'scheduleId', scheduleId)
80792
+ // verify required parameter 'locale' is not null or undefined
80793
+ assertParamExists('updateEventPassTypePriceScheduleTranslation', 'locale', locale)
80794
+ // verify required parameter 'passTypePriceScheduleTranslationUpdateInputs' is not null or undefined
80795
+ assertParamExists('updateEventPassTypePriceScheduleTranslation', 'passTypePriceScheduleTranslationUpdateInputs', passTypePriceScheduleTranslationUpdateInputs)
80796
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale}`
80797
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
80798
+ .replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
80799
+ .replace('{scheduleId}', encodeURIComponent(String(scheduleId)))
80800
+ .replace('{locale}', encodeURIComponent(String(locale)));
80801
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80802
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80803
+ let baseOptions;
80804
+ if (configuration) {
80805
+ baseOptions = configuration.baseOptions;
80806
+ }
80807
+
80808
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
80809
+ const localVarHeaderParameter = {} as any;
80810
+ const localVarQueryParameter = {} as any;
80811
+
80812
+ // authentication ApiKeyAuth required
80813
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
80814
+
80815
+ // authentication OrganizationId required
80816
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
80817
+
80818
+ localVarHeaderParameter['Content-Type'] = 'application/json';
80819
+ localVarHeaderParameter['Accept'] = 'application/json';
80820
+
80821
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
80822
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80823
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
80824
+ localVarRequestOptions.data = serializeDataIfNeeded(passTypePriceScheduleTranslationUpdateInputs, localVarRequestOptions, configuration)
80825
+
80826
+ return {
80827
+ url: toPathString(localVarUrlObj),
80828
+ options: localVarRequestOptions,
80829
+ };
80830
+ },
80831
+ }
80832
+ };
80833
+
80834
+ /**
80835
+ * EventsPasstypesPriceschedulesTranslationsApi - functional programming interface
80836
+ */
80837
+ export const EventsPasstypesPriceschedulesTranslationsApiFp = function(configuration?: Configuration) {
80838
+ const localVarAxiosParamCreator = EventsPasstypesPriceschedulesTranslationsApiAxiosParamCreator(configuration)
80839
+ return {
80840
+ /**
80841
+ * Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
80842
+ * @summary Delete a pass type price schedule translation
80843
+ * @param {string} eventId The event identifier
80844
+ * @param {string} passTypeId The passType identifier
80845
+ * @param {string} scheduleId The schedule identifier
80846
+ * @param {string} locale The locale identifier
80847
+ * @param {*} [options] Override http request option.
80848
+ * @throws {RequiredError}
80849
+ */
80850
+ async deleteEventPassTypePriceScheduleTranslation(eventId: string, passTypeId: string, scheduleId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateEventPassTypePriceScheduleTranslation200Response>> {
80851
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, options);
80852
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
80853
+ const localVarOperationServerBasePath = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.deleteEventPassTypePriceScheduleTranslation']?.[localVarOperationServerIndex]?.url;
80854
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
80855
+ },
80856
+ /**
80857
+ * Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
80858
+ * @summary Get a pass type price schedule\'s translation
80859
+ * @param {string} eventId The event identifier
80860
+ * @param {string} passTypeId The passType identifier
80861
+ * @param {string} scheduleId The schedule identifier
80862
+ * @param {string} locale The locale identifier
80863
+ * @param {*} [options] Override http request option.
80864
+ * @throws {RequiredError}
80865
+ */
80866
+ async getEventPassTypePriceScheduleTranslation(eventId: string, passTypeId: string, scheduleId: string, locale: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassTypePriceScheduleTranslation200Response>> {
80867
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, options);
80868
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
80869
+ const localVarOperationServerBasePath = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.getEventPassTypePriceScheduleTranslation']?.[localVarOperationServerIndex]?.url;
80870
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
80871
+ },
80872
+ /**
80873
+ * Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
80874
+ * @summary List translations for a pass type price schedule
80875
+ * @param {string} eventId The event identifier
80876
+ * @param {string} passTypeId The passType identifier
80877
+ * @param {string} scheduleId The schedule identifier
80878
+ * @param {number} [page] Page number
80879
+ * @param {number} [pageSize] Number of items per page
80880
+ * @param {string} [orderBy] Field to order by
80881
+ * @param {string} [search] Search query
80882
+ * @param {*} [options] Override http request option.
80883
+ * @throws {RequiredError}
80884
+ */
80885
+ async getEventPassTypePriceScheduleTranslations(eventId: string, passTypeId: string, scheduleId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassTypePriceScheduleTranslations200Response>> {
80886
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassTypePriceScheduleTranslations(eventId, passTypeId, scheduleId, page, pageSize, orderBy, search, options);
80887
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
80888
+ const localVarOperationServerBasePath = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.getEventPassTypePriceScheduleTranslations']?.[localVarOperationServerIndex]?.url;
80889
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
80890
+ },
80891
+ /**
80892
+ * Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
80893
+ * @summary Update a pass type price schedule\'s translation
80894
+ * @param {string} eventId The event identifier
80895
+ * @param {string} passTypeId The passType identifier
80896
+ * @param {string} scheduleId The schedule identifier
80897
+ * @param {string} locale The locale identifier
80898
+ * @param {PassTypePriceScheduleTranslationUpdateInputs} passTypePriceScheduleTranslationUpdateInputs
80899
+ * @param {*} [options] Override http request option.
80900
+ * @throws {RequiredError}
80901
+ */
80902
+ async updateEventPassTypePriceScheduleTranslation(eventId: string, passTypeId: string, scheduleId: string, locale: string, passTypePriceScheduleTranslationUpdateInputs: PassTypePriceScheduleTranslationUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateEventPassTypePriceScheduleTranslation200Response>> {
80903
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, passTypePriceScheduleTranslationUpdateInputs, options);
80904
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
80905
+ const localVarOperationServerBasePath = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.updateEventPassTypePriceScheduleTranslation']?.[localVarOperationServerIndex]?.url;
80906
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
80907
+ },
80908
+ }
80909
+ };
80910
+
80911
+ /**
80912
+ * EventsPasstypesPriceschedulesTranslationsApi - factory interface
80913
+ */
80914
+ export const EventsPasstypesPriceschedulesTranslationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
80915
+ const localVarFp = EventsPasstypesPriceschedulesTranslationsApiFp(configuration)
80916
+ return {
80917
+ /**
80918
+ * Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
80919
+ * @summary Delete a pass type price schedule translation
80920
+ * @param {EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
80921
+ * @param {*} [options] Override http request option.
80922
+ * @throws {RequiredError}
80923
+ */
80924
+ deleteEventPassTypePriceScheduleTranslation(requestParameters: EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateEventPassTypePriceScheduleTranslation200Response> {
80925
+ return localVarFp.deleteEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(axios, basePath));
80926
+ },
80927
+ /**
80928
+ * Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
80929
+ * @summary Get a pass type price schedule\'s translation
80930
+ * @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
80931
+ * @param {*} [options] Override http request option.
80932
+ * @throws {RequiredError}
80933
+ */
80934
+ getEventPassTypePriceScheduleTranslation(requestParameters: EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassTypePriceScheduleTranslation200Response> {
80935
+ return localVarFp.getEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(axios, basePath));
80936
+ },
80937
+ /**
80938
+ * Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
80939
+ * @summary List translations for a pass type price schedule
80940
+ * @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest} requestParameters Request parameters.
80941
+ * @param {*} [options] Override http request option.
80942
+ * @throws {RequiredError}
80943
+ */
80944
+ getEventPassTypePriceScheduleTranslations(requestParameters: EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassTypePriceScheduleTranslations200Response> {
80945
+ return localVarFp.getEventPassTypePriceScheduleTranslations(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
80946
+ },
80947
+ /**
80948
+ * Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
80949
+ * @summary Update a pass type price schedule\'s translation
80950
+ * @param {EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
80951
+ * @param {*} [options] Override http request option.
80952
+ * @throws {RequiredError}
80953
+ */
80954
+ updateEventPassTypePriceScheduleTranslation(requestParameters: EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateEventPassTypePriceScheduleTranslation200Response> {
80955
+ return localVarFp.updateEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, requestParameters.passTypePriceScheduleTranslationUpdateInputs, options).then((request) => request(axios, basePath));
80956
+ },
80957
+ };
80958
+ };
80959
+
80960
+ /**
80961
+ * Request parameters for deleteEventPassTypePriceScheduleTranslation operation in EventsPasstypesPriceschedulesTranslationsApi.
80962
+ */
80963
+ export interface EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest {
80964
+ /**
80965
+ * The event identifier
80966
+ */
80967
+ readonly eventId: string
80968
+
80969
+ /**
80970
+ * The passType identifier
80971
+ */
80972
+ readonly passTypeId: string
80973
+
80974
+ /**
80975
+ * The schedule identifier
80976
+ */
80977
+ readonly scheduleId: string
80978
+
80979
+ /**
80980
+ * The locale identifier
80981
+ */
80982
+ readonly locale: string
80983
+ }
80984
+
80985
+ /**
80986
+ * Request parameters for getEventPassTypePriceScheduleTranslation operation in EventsPasstypesPriceschedulesTranslationsApi.
80987
+ */
80988
+ export interface EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest {
80989
+ /**
80990
+ * The event identifier
80991
+ */
80992
+ readonly eventId: string
80993
+
80994
+ /**
80995
+ * The passType identifier
80996
+ */
80997
+ readonly passTypeId: string
80998
+
80999
+ /**
81000
+ * The schedule identifier
81001
+ */
81002
+ readonly scheduleId: string
81003
+
81004
+ /**
81005
+ * The locale identifier
81006
+ */
81007
+ readonly locale: string
81008
+ }
81009
+
81010
+ /**
81011
+ * Request parameters for getEventPassTypePriceScheduleTranslations operation in EventsPasstypesPriceschedulesTranslationsApi.
81012
+ */
81013
+ export interface EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest {
81014
+ /**
81015
+ * The event identifier
81016
+ */
81017
+ readonly eventId: string
81018
+
81019
+ /**
81020
+ * The passType identifier
81021
+ */
81022
+ readonly passTypeId: string
81023
+
81024
+ /**
81025
+ * The schedule identifier
81026
+ */
81027
+ readonly scheduleId: string
81028
+
81029
+ /**
81030
+ * Page number
81031
+ */
81032
+ readonly page?: number
81033
+
81034
+ /**
81035
+ * Number of items per page
81036
+ */
81037
+ readonly pageSize?: number
81038
+
81039
+ /**
81040
+ * Field to order by
81041
+ */
81042
+ readonly orderBy?: string
81043
+
81044
+ /**
81045
+ * Search query
81046
+ */
81047
+ readonly search?: string
81048
+ }
81049
+
81050
+ /**
81051
+ * Request parameters for updateEventPassTypePriceScheduleTranslation operation in EventsPasstypesPriceschedulesTranslationsApi.
81052
+ */
81053
+ export interface EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest {
81054
+ /**
81055
+ * The event identifier
81056
+ */
81057
+ readonly eventId: string
81058
+
81059
+ /**
81060
+ * The passType identifier
81061
+ */
81062
+ readonly passTypeId: string
81063
+
81064
+ /**
81065
+ * The schedule identifier
81066
+ */
81067
+ readonly scheduleId: string
81068
+
81069
+ /**
81070
+ * The locale identifier
81071
+ */
81072
+ readonly locale: string
81073
+
81074
+ readonly passTypePriceScheduleTranslationUpdateInputs: PassTypePriceScheduleTranslationUpdateInputs
81075
+ }
81076
+
81077
+ /**
81078
+ * EventsPasstypesPriceschedulesTranslationsApi - object-oriented interface
81079
+ */
81080
+ export class EventsPasstypesPriceschedulesTranslationsApi extends BaseAPI {
81081
+ /**
81082
+ * Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
81083
+ * @summary Delete a pass type price schedule translation
81084
+ * @param {EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
81085
+ * @param {*} [options] Override http request option.
81086
+ * @throws {RequiredError}
81087
+ */
81088
+ public deleteEventPassTypePriceScheduleTranslation(requestParameters: EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest, options?: RawAxiosRequestConfig) {
81089
+ return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).deleteEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
81090
+ }
81091
+
81092
+ /**
81093
+ * Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
81094
+ * @summary Get a pass type price schedule\'s translation
81095
+ * @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
81096
+ * @param {*} [options] Override http request option.
81097
+ * @throws {RequiredError}
81098
+ */
81099
+ public getEventPassTypePriceScheduleTranslation(requestParameters: EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest, options?: RawAxiosRequestConfig) {
81100
+ return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).getEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
81101
+ }
81102
+
81103
+ /**
81104
+ * Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
81105
+ * @summary List translations for a pass type price schedule
81106
+ * @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest} requestParameters Request parameters.
81107
+ * @param {*} [options] Override http request option.
81108
+ * @throws {RequiredError}
81109
+ */
81110
+ public getEventPassTypePriceScheduleTranslations(requestParameters: EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest, options?: RawAxiosRequestConfig) {
81111
+ return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).getEventPassTypePriceScheduleTranslations(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
81112
+ }
81113
+
81114
+ /**
81115
+ * Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
81116
+ * @summary Update a pass type price schedule\'s translation
81117
+ * @param {EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
81118
+ * @param {*} [options] Override http request option.
81119
+ * @throws {RequiredError}
81120
+ */
81121
+ public updateEventPassTypePriceScheduleTranslation(requestParameters: EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest, options?: RawAxiosRequestConfig) {
81122
+ return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).updateEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, requestParameters.passTypePriceScheduleTranslationUpdateInputs, options).then((request) => request(this.axios, this.basePath));
81123
+ }
81124
+ }
81125
+
81126
+
81127
+
80556
81128
  /**
80557
81129
  * EventsPasstypesRefundschedulesApi - axios parameter creator
80558
81130
  */
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: 16.15.0
7
+ * The version of the OpenAPI document: 16.16.1
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: 16.15.0
7
+ * The version of the OpenAPI document: 16.16.1
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: 16.15.0
6
+ * The version of the OpenAPI document: 16.16.1
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).