@connectedxm/admin-sdk 7.9.4 → 7.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +5 -0
- package/AdminApi.ts +3 -0
- package/README.md +9 -0
- package/api.ts +593 -0
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +312 -0
- package/dist/api.js +469 -26
- package/dist/esm/AdminApi.d.ts +2 -1
- package/dist/esm/AdminApi.js +2 -1
- package/dist/esm/api.d.ts +312 -0
- package/dist/esm/api.js +439 -0
- package/docs/BasePassAddOn.md +2 -0
- package/docs/EventsPassesAddonsApi.md +116 -0
- package/docs/FulfillEventPassAddOn200Response.md +24 -0
- package/docs/GetOrganizationLanguageOverrides200Response.md +26 -0
- package/docs/OrganizationLanguageOverride.md +28 -0
- package/docs/OrganizationLanguageOverrideUpsertInputs.md +22 -0
- package/docs/OrganizationLanguageoverridesApi.md +182 -0
- package/docs/PassAddOn.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2003,6 +2003,7 @@ export interface BaseOrganizationModuleSettingsTranslation {
|
|
|
2003
2003
|
export interface BasePassAddOn {
|
|
2004
2004
|
'addOnId': string;
|
|
2005
2005
|
'addOn': BaseEventAddOn;
|
|
2006
|
+
'fulfilledAt': string | null;
|
|
2006
2007
|
'pass': BasePassAddOnPass;
|
|
2007
2008
|
'createdAt': string;
|
|
2008
2009
|
}
|
|
@@ -6725,6 +6726,16 @@ export interface FileUpdateInputs {
|
|
|
6725
6726
|
}
|
|
6726
6727
|
|
|
6727
6728
|
|
|
6729
|
+
export interface FulfillEventPassAddOn200Response {
|
|
6730
|
+
'status': FulfillEventPassAddOn200ResponseStatusEnum;
|
|
6731
|
+
'message': string;
|
|
6732
|
+
'data': PassAddOn;
|
|
6733
|
+
}
|
|
6734
|
+
|
|
6735
|
+
export enum FulfillEventPassAddOn200ResponseStatusEnum {
|
|
6736
|
+
Ok = 'ok'
|
|
6737
|
+
}
|
|
6738
|
+
|
|
6728
6739
|
export interface GetAPILog200Response {
|
|
6729
6740
|
'status': GetAPILog200ResponseStatusEnum;
|
|
6730
6741
|
'message': string;
|
|
@@ -9249,6 +9260,17 @@ export enum GetOrganizationDomain200ResponseStatusEnum {
|
|
|
9249
9260
|
Ok = 'ok'
|
|
9250
9261
|
}
|
|
9251
9262
|
|
|
9263
|
+
export interface GetOrganizationLanguageOverrides200Response {
|
|
9264
|
+
'status': GetOrganizationLanguageOverrides200ResponseStatusEnum;
|
|
9265
|
+
'message': string;
|
|
9266
|
+
'data': Array<OrganizationLanguageOverride>;
|
|
9267
|
+
'count'?: number;
|
|
9268
|
+
}
|
|
9269
|
+
|
|
9270
|
+
export enum GetOrganizationLanguageOverrides200ResponseStatusEnum {
|
|
9271
|
+
Ok = 'ok'
|
|
9272
|
+
}
|
|
9273
|
+
|
|
9252
9274
|
export interface GetOrganizationModule200Response {
|
|
9253
9275
|
'status': GetOrganizationModule200ResponseStatusEnum;
|
|
9254
9276
|
'message': string;
|
|
@@ -11300,6 +11322,17 @@ export enum OrganizationActionType {
|
|
|
11300
11322
|
export interface OrganizationAllOfOAuth {
|
|
11301
11323
|
'id': string;
|
|
11302
11324
|
}
|
|
11325
|
+
export interface OrganizationLanguageOverride {
|
|
11326
|
+
'locale': string;
|
|
11327
|
+
'key': string;
|
|
11328
|
+
'value': string;
|
|
11329
|
+
'createdAt': string;
|
|
11330
|
+
'updatedAt': string;
|
|
11331
|
+
}
|
|
11332
|
+
export interface OrganizationLanguageOverrideUpsertInputs {
|
|
11333
|
+
'key': string;
|
|
11334
|
+
'value': string;
|
|
11335
|
+
}
|
|
11303
11336
|
export interface OrganizationMembership {
|
|
11304
11337
|
'id': string;
|
|
11305
11338
|
'organizationId': string;
|
|
@@ -11587,6 +11620,7 @@ export enum PageType {
|
|
|
11587
11620
|
export interface PassAddOn {
|
|
11588
11621
|
'addOnId': string;
|
|
11589
11622
|
'addOn': BaseEventAddOn;
|
|
11623
|
+
'fulfilledAt': string | null;
|
|
11590
11624
|
'createdAt': string;
|
|
11591
11625
|
'pass': BaseEventPass;
|
|
11592
11626
|
'updatedAt': string;
|
|
@@ -66573,6 +66607,54 @@ export const EventsPassesAddonsApiAxiosParamCreator = function (configuration?:
|
|
|
66573
66607
|
options: localVarRequestOptions,
|
|
66574
66608
|
};
|
|
66575
66609
|
},
|
|
66610
|
+
/**
|
|
66611
|
+
* Marks the given pass add-on as fulfilled, requires read permission on events and read/update permission on attendees.
|
|
66612
|
+
* @summary Fulfill an add-on on an attendee\'s pass
|
|
66613
|
+
* @param {string} eventId The event identifier
|
|
66614
|
+
* @param {string} passId The pass identifier
|
|
66615
|
+
* @param {string} addOnId The addOn identifier
|
|
66616
|
+
* @param {*} [options] Override http request option.
|
|
66617
|
+
* @throws {RequiredError}
|
|
66618
|
+
*/
|
|
66619
|
+
fulfillEventPassAddOn: async (eventId: string, passId: string, addOnId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
66620
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
66621
|
+
assertParamExists('fulfillEventPassAddOn', 'eventId', eventId)
|
|
66622
|
+
// verify required parameter 'passId' is not null or undefined
|
|
66623
|
+
assertParamExists('fulfillEventPassAddOn', 'passId', passId)
|
|
66624
|
+
// verify required parameter 'addOnId' is not null or undefined
|
|
66625
|
+
assertParamExists('fulfillEventPassAddOn', 'addOnId', addOnId)
|
|
66626
|
+
const localVarPath = `/events/{eventId}/passes/{passId}/addOns/{addOnId}/fulfill`
|
|
66627
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
66628
|
+
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)))
|
|
66629
|
+
.replace(`{${"addOnId"}}`, encodeURIComponent(String(addOnId)));
|
|
66630
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
66631
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66632
|
+
let baseOptions;
|
|
66633
|
+
if (configuration) {
|
|
66634
|
+
baseOptions = configuration.baseOptions;
|
|
66635
|
+
}
|
|
66636
|
+
|
|
66637
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
66638
|
+
const localVarHeaderParameter = {} as any;
|
|
66639
|
+
const localVarQueryParameter = {} as any;
|
|
66640
|
+
|
|
66641
|
+
// authentication ApiKeyAuth required
|
|
66642
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
66643
|
+
|
|
66644
|
+
// authentication OrganizationId required
|
|
66645
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
66646
|
+
|
|
66647
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
66648
|
+
|
|
66649
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
66650
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66651
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
66652
|
+
|
|
66653
|
+
return {
|
|
66654
|
+
url: toPathString(localVarUrlObj),
|
|
66655
|
+
options: localVarRequestOptions,
|
|
66656
|
+
};
|
|
66657
|
+
},
|
|
66576
66658
|
/**
|
|
66577
66659
|
* Returns a paginated list of add-ons purchased with the specified event pass, supporting search and sorting; requires the \"read\" permission on both the \"events\" and \"attendees\" modules.
|
|
66578
66660
|
* @summary List an event pass\'s add-ons
|
|
@@ -66680,6 +66762,54 @@ export const EventsPassesAddonsApiAxiosParamCreator = function (configuration?:
|
|
|
66680
66762
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66681
66763
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
66682
66764
|
|
|
66765
|
+
return {
|
|
66766
|
+
url: toPathString(localVarUrlObj),
|
|
66767
|
+
options: localVarRequestOptions,
|
|
66768
|
+
};
|
|
66769
|
+
},
|
|
66770
|
+
/**
|
|
66771
|
+
* Reverses a previous fulfillment of the given pass add-on, requires read permission on events and read/update permission on attendees.
|
|
66772
|
+
* @summary Undo an add-on fulfillment
|
|
66773
|
+
* @param {string} eventId The event identifier
|
|
66774
|
+
* @param {string} passId The pass identifier
|
|
66775
|
+
* @param {string} addOnId The addOn identifier
|
|
66776
|
+
* @param {*} [options] Override http request option.
|
|
66777
|
+
* @throws {RequiredError}
|
|
66778
|
+
*/
|
|
66779
|
+
unfulfillEventPassAddOn: async (eventId: string, passId: string, addOnId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
66780
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
66781
|
+
assertParamExists('unfulfillEventPassAddOn', 'eventId', eventId)
|
|
66782
|
+
// verify required parameter 'passId' is not null or undefined
|
|
66783
|
+
assertParamExists('unfulfillEventPassAddOn', 'passId', passId)
|
|
66784
|
+
// verify required parameter 'addOnId' is not null or undefined
|
|
66785
|
+
assertParamExists('unfulfillEventPassAddOn', 'addOnId', addOnId)
|
|
66786
|
+
const localVarPath = `/events/{eventId}/passes/{passId}/addOns/{addOnId}/undo`
|
|
66787
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
66788
|
+
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)))
|
|
66789
|
+
.replace(`{${"addOnId"}}`, encodeURIComponent(String(addOnId)));
|
|
66790
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
66791
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66792
|
+
let baseOptions;
|
|
66793
|
+
if (configuration) {
|
|
66794
|
+
baseOptions = configuration.baseOptions;
|
|
66795
|
+
}
|
|
66796
|
+
|
|
66797
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
66798
|
+
const localVarHeaderParameter = {} as any;
|
|
66799
|
+
const localVarQueryParameter = {} as any;
|
|
66800
|
+
|
|
66801
|
+
// authentication ApiKeyAuth required
|
|
66802
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
66803
|
+
|
|
66804
|
+
// authentication OrganizationId required
|
|
66805
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
66806
|
+
|
|
66807
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
66808
|
+
|
|
66809
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
66810
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66811
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
66812
|
+
|
|
66683
66813
|
return {
|
|
66684
66814
|
url: toPathString(localVarUrlObj),
|
|
66685
66815
|
options: localVarRequestOptions,
|
|
@@ -66709,6 +66839,21 @@ export const EventsPassesAddonsApiFp = function(configuration?: Configuration) {
|
|
|
66709
66839
|
const localVarOperationServerBasePath = operationServerMap['EventsPassesAddonsApi.addEventPassAddOn']?.[localVarOperationServerIndex]?.url;
|
|
66710
66840
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66711
66841
|
},
|
|
66842
|
+
/**
|
|
66843
|
+
* Marks the given pass add-on as fulfilled, requires read permission on events and read/update permission on attendees.
|
|
66844
|
+
* @summary Fulfill an add-on on an attendee\'s pass
|
|
66845
|
+
* @param {string} eventId The event identifier
|
|
66846
|
+
* @param {string} passId The pass identifier
|
|
66847
|
+
* @param {string} addOnId The addOn identifier
|
|
66848
|
+
* @param {*} [options] Override http request option.
|
|
66849
|
+
* @throws {RequiredError}
|
|
66850
|
+
*/
|
|
66851
|
+
async fulfillEventPassAddOn(eventId: string, passId: string, addOnId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FulfillEventPassAddOn200Response>> {
|
|
66852
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fulfillEventPassAddOn(eventId, passId, addOnId, options);
|
|
66853
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
66854
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPassesAddonsApi.fulfillEventPassAddOn']?.[localVarOperationServerIndex]?.url;
|
|
66855
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66856
|
+
},
|
|
66712
66857
|
/**
|
|
66713
66858
|
* Returns a paginated list of add-ons purchased with the specified event pass, supporting search and sorting; requires the \"read\" permission on both the \"events\" and \"attendees\" modules.
|
|
66714
66859
|
* @summary List an event pass\'s add-ons
|
|
@@ -66742,6 +66887,21 @@ export const EventsPassesAddonsApiFp = function(configuration?: Configuration) {
|
|
|
66742
66887
|
const localVarOperationServerBasePath = operationServerMap['EventsPassesAddonsApi.removeEventPassAddOn']?.[localVarOperationServerIndex]?.url;
|
|
66743
66888
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66744
66889
|
},
|
|
66890
|
+
/**
|
|
66891
|
+
* Reverses a previous fulfillment of the given pass add-on, requires read permission on events and read/update permission on attendees.
|
|
66892
|
+
* @summary Undo an add-on fulfillment
|
|
66893
|
+
* @param {string} eventId The event identifier
|
|
66894
|
+
* @param {string} passId The pass identifier
|
|
66895
|
+
* @param {string} addOnId The addOn identifier
|
|
66896
|
+
* @param {*} [options] Override http request option.
|
|
66897
|
+
* @throws {RequiredError}
|
|
66898
|
+
*/
|
|
66899
|
+
async unfulfillEventPassAddOn(eventId: string, passId: string, addOnId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FulfillEventPassAddOn200Response>> {
|
|
66900
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unfulfillEventPassAddOn(eventId, passId, addOnId, options);
|
|
66901
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
66902
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPassesAddonsApi.unfulfillEventPassAddOn']?.[localVarOperationServerIndex]?.url;
|
|
66903
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66904
|
+
},
|
|
66745
66905
|
}
|
|
66746
66906
|
};
|
|
66747
66907
|
|
|
@@ -66761,6 +66921,16 @@ export const EventsPassesAddonsApiFactory = function (configuration?: Configurat
|
|
|
66761
66921
|
addEventPassAddOn(requestParameters: EventsPassesAddonsApiAddEventPassAddOnRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPass200Response> {
|
|
66762
66922
|
return localVarFp.addEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(axios, basePath));
|
|
66763
66923
|
},
|
|
66924
|
+
/**
|
|
66925
|
+
* Marks the given pass add-on as fulfilled, requires read permission on events and read/update permission on attendees.
|
|
66926
|
+
* @summary Fulfill an add-on on an attendee\'s pass
|
|
66927
|
+
* @param {EventsPassesAddonsApiFulfillEventPassAddOnRequest} requestParameters Request parameters.
|
|
66928
|
+
* @param {*} [options] Override http request option.
|
|
66929
|
+
* @throws {RequiredError}
|
|
66930
|
+
*/
|
|
66931
|
+
fulfillEventPassAddOn(requestParameters: EventsPassesAddonsApiFulfillEventPassAddOnRequest, options?: RawAxiosRequestConfig): AxiosPromise<FulfillEventPassAddOn200Response> {
|
|
66932
|
+
return localVarFp.fulfillEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(axios, basePath));
|
|
66933
|
+
},
|
|
66764
66934
|
/**
|
|
66765
66935
|
* Returns a paginated list of add-ons purchased with the specified event pass, supporting search and sorting; requires the \"read\" permission on both the \"events\" and \"attendees\" modules.
|
|
66766
66936
|
* @summary List an event pass\'s add-ons
|
|
@@ -66781,6 +66951,16 @@ export const EventsPassesAddonsApiFactory = function (configuration?: Configurat
|
|
|
66781
66951
|
removeEventPassAddOn(requestParameters: EventsPassesAddonsApiRemoveEventPassAddOnRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPass200Response> {
|
|
66782
66952
|
return localVarFp.removeEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(axios, basePath));
|
|
66783
66953
|
},
|
|
66954
|
+
/**
|
|
66955
|
+
* Reverses a previous fulfillment of the given pass add-on, requires read permission on events and read/update permission on attendees.
|
|
66956
|
+
* @summary Undo an add-on fulfillment
|
|
66957
|
+
* @param {EventsPassesAddonsApiUnfulfillEventPassAddOnRequest} requestParameters Request parameters.
|
|
66958
|
+
* @param {*} [options] Override http request option.
|
|
66959
|
+
* @throws {RequiredError}
|
|
66960
|
+
*/
|
|
66961
|
+
unfulfillEventPassAddOn(requestParameters: EventsPassesAddonsApiUnfulfillEventPassAddOnRequest, options?: RawAxiosRequestConfig): AxiosPromise<FulfillEventPassAddOn200Response> {
|
|
66962
|
+
return localVarFp.unfulfillEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(axios, basePath));
|
|
66963
|
+
},
|
|
66784
66964
|
};
|
|
66785
66965
|
};
|
|
66786
66966
|
|
|
@@ -66804,6 +66984,26 @@ export interface EventsPassesAddonsApiAddEventPassAddOnRequest {
|
|
|
66804
66984
|
readonly addOnId: string
|
|
66805
66985
|
}
|
|
66806
66986
|
|
|
66987
|
+
/**
|
|
66988
|
+
* Request parameters for fulfillEventPassAddOn operation in EventsPassesAddonsApi.
|
|
66989
|
+
*/
|
|
66990
|
+
export interface EventsPassesAddonsApiFulfillEventPassAddOnRequest {
|
|
66991
|
+
/**
|
|
66992
|
+
* The event identifier
|
|
66993
|
+
*/
|
|
66994
|
+
readonly eventId: string
|
|
66995
|
+
|
|
66996
|
+
/**
|
|
66997
|
+
* The pass identifier
|
|
66998
|
+
*/
|
|
66999
|
+
readonly passId: string
|
|
67000
|
+
|
|
67001
|
+
/**
|
|
67002
|
+
* The addOn identifier
|
|
67003
|
+
*/
|
|
67004
|
+
readonly addOnId: string
|
|
67005
|
+
}
|
|
67006
|
+
|
|
66807
67007
|
/**
|
|
66808
67008
|
* Request parameters for getEventPassAddOns operation in EventsPassesAddonsApi.
|
|
66809
67009
|
*/
|
|
@@ -66859,6 +67059,26 @@ export interface EventsPassesAddonsApiRemoveEventPassAddOnRequest {
|
|
|
66859
67059
|
readonly addOnId: string
|
|
66860
67060
|
}
|
|
66861
67061
|
|
|
67062
|
+
/**
|
|
67063
|
+
* Request parameters for unfulfillEventPassAddOn operation in EventsPassesAddonsApi.
|
|
67064
|
+
*/
|
|
67065
|
+
export interface EventsPassesAddonsApiUnfulfillEventPassAddOnRequest {
|
|
67066
|
+
/**
|
|
67067
|
+
* The event identifier
|
|
67068
|
+
*/
|
|
67069
|
+
readonly eventId: string
|
|
67070
|
+
|
|
67071
|
+
/**
|
|
67072
|
+
* The pass identifier
|
|
67073
|
+
*/
|
|
67074
|
+
readonly passId: string
|
|
67075
|
+
|
|
67076
|
+
/**
|
|
67077
|
+
* The addOn identifier
|
|
67078
|
+
*/
|
|
67079
|
+
readonly addOnId: string
|
|
67080
|
+
}
|
|
67081
|
+
|
|
66862
67082
|
/**
|
|
66863
67083
|
* EventsPassesAddonsApi - object-oriented interface
|
|
66864
67084
|
*/
|
|
@@ -66874,6 +67094,17 @@ export class EventsPassesAddonsApi extends BaseAPI {
|
|
|
66874
67094
|
return EventsPassesAddonsApiFp(this.configuration).addEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(this.axios, this.basePath));
|
|
66875
67095
|
}
|
|
66876
67096
|
|
|
67097
|
+
/**
|
|
67098
|
+
* Marks the given pass add-on as fulfilled, requires read permission on events and read/update permission on attendees.
|
|
67099
|
+
* @summary Fulfill an add-on on an attendee\'s pass
|
|
67100
|
+
* @param {EventsPassesAddonsApiFulfillEventPassAddOnRequest} requestParameters Request parameters.
|
|
67101
|
+
* @param {*} [options] Override http request option.
|
|
67102
|
+
* @throws {RequiredError}
|
|
67103
|
+
*/
|
|
67104
|
+
public fulfillEventPassAddOn(requestParameters: EventsPassesAddonsApiFulfillEventPassAddOnRequest, options?: RawAxiosRequestConfig) {
|
|
67105
|
+
return EventsPassesAddonsApiFp(this.configuration).fulfillEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(this.axios, this.basePath));
|
|
67106
|
+
}
|
|
67107
|
+
|
|
66877
67108
|
/**
|
|
66878
67109
|
* Returns a paginated list of add-ons purchased with the specified event pass, supporting search and sorting; requires the \"read\" permission on both the \"events\" and \"attendees\" modules.
|
|
66879
67110
|
* @summary List an event pass\'s add-ons
|
|
@@ -66895,6 +67126,17 @@ export class EventsPassesAddonsApi extends BaseAPI {
|
|
|
66895
67126
|
public removeEventPassAddOn(requestParameters: EventsPassesAddonsApiRemoveEventPassAddOnRequest, options?: RawAxiosRequestConfig) {
|
|
66896
67127
|
return EventsPassesAddonsApiFp(this.configuration).removeEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(this.axios, this.basePath));
|
|
66897
67128
|
}
|
|
67129
|
+
|
|
67130
|
+
/**
|
|
67131
|
+
* Reverses a previous fulfillment of the given pass add-on, requires read permission on events and read/update permission on attendees.
|
|
67132
|
+
* @summary Undo an add-on fulfillment
|
|
67133
|
+
* @param {EventsPassesAddonsApiUnfulfillEventPassAddOnRequest} requestParameters Request parameters.
|
|
67134
|
+
* @param {*} [options] Override http request option.
|
|
67135
|
+
* @throws {RequiredError}
|
|
67136
|
+
*/
|
|
67137
|
+
public unfulfillEventPassAddOn(requestParameters: EventsPassesAddonsApiUnfulfillEventPassAddOnRequest, options?: RawAxiosRequestConfig) {
|
|
67138
|
+
return EventsPassesAddonsApiFp(this.configuration).unfulfillEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(this.axios, this.basePath));
|
|
67139
|
+
}
|
|
66898
67140
|
}
|
|
66899
67141
|
|
|
66900
67142
|
|
|
@@ -119793,6 +120035,357 @@ export class OrganizationIntegrationsApi extends BaseAPI {
|
|
|
119793
120035
|
|
|
119794
120036
|
|
|
119795
120037
|
|
|
120038
|
+
/**
|
|
120039
|
+
* OrganizationLanguageoverridesApi - axios parameter creator
|
|
120040
|
+
*/
|
|
120041
|
+
export const OrganizationLanguageoverridesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
120042
|
+
return {
|
|
120043
|
+
/**
|
|
120044
|
+
* Deletes the organization\'s i18n string override for the given locale and key (sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
|
|
120045
|
+
* @summary Delete a language override
|
|
120046
|
+
* @param {string} locale The locale identifier
|
|
120047
|
+
* @param {string} key Filter by key
|
|
120048
|
+
* @param {*} [options] Override http request option.
|
|
120049
|
+
* @throws {RequiredError}
|
|
120050
|
+
*/
|
|
120051
|
+
deleteOrganizationLanguageOverride: async (locale: string, key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
120052
|
+
// verify required parameter 'locale' is not null or undefined
|
|
120053
|
+
assertParamExists('deleteOrganizationLanguageOverride', 'locale', locale)
|
|
120054
|
+
// verify required parameter 'key' is not null or undefined
|
|
120055
|
+
assertParamExists('deleteOrganizationLanguageOverride', 'key', key)
|
|
120056
|
+
const localVarPath = `/organization/language-overrides/{locale}`
|
|
120057
|
+
.replace(`{${"locale"}}`, encodeURIComponent(String(locale)));
|
|
120058
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
120059
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
120060
|
+
let baseOptions;
|
|
120061
|
+
if (configuration) {
|
|
120062
|
+
baseOptions = configuration.baseOptions;
|
|
120063
|
+
}
|
|
120064
|
+
|
|
120065
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
120066
|
+
const localVarHeaderParameter = {} as any;
|
|
120067
|
+
const localVarQueryParameter = {} as any;
|
|
120068
|
+
|
|
120069
|
+
// authentication ApiKeyAuth required
|
|
120070
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
120071
|
+
|
|
120072
|
+
// authentication OrganizationId required
|
|
120073
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
120074
|
+
|
|
120075
|
+
if (key !== undefined) {
|
|
120076
|
+
localVarQueryParameter['key'] = key;
|
|
120077
|
+
}
|
|
120078
|
+
|
|
120079
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
120080
|
+
|
|
120081
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
120082
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
120083
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
120084
|
+
|
|
120085
|
+
return {
|
|
120086
|
+
url: toPathString(localVarUrlObj),
|
|
120087
|
+
options: localVarRequestOptions,
|
|
120088
|
+
};
|
|
120089
|
+
},
|
|
120090
|
+
/**
|
|
120091
|
+
* Returns a paginated list of the organization\'s i18n string overrides, optionally filtered by locale and searchable by key or value; requires org read permission.
|
|
120092
|
+
* @summary List an organization\'s language overrides
|
|
120093
|
+
* @param {string} [locale] Filter by locale
|
|
120094
|
+
* @param {number} [page] Page number
|
|
120095
|
+
* @param {number} [pageSize] Number of items per page
|
|
120096
|
+
* @param {string} [orderBy] Field to order by
|
|
120097
|
+
* @param {string} [search] Search query
|
|
120098
|
+
* @param {*} [options] Override http request option.
|
|
120099
|
+
* @throws {RequiredError}
|
|
120100
|
+
*/
|
|
120101
|
+
getOrganizationLanguageOverrides: async (locale?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
120102
|
+
const localVarPath = `/organization/language-overrides`;
|
|
120103
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
120104
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
120105
|
+
let baseOptions;
|
|
120106
|
+
if (configuration) {
|
|
120107
|
+
baseOptions = configuration.baseOptions;
|
|
120108
|
+
}
|
|
120109
|
+
|
|
120110
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
120111
|
+
const localVarHeaderParameter = {} as any;
|
|
120112
|
+
const localVarQueryParameter = {} as any;
|
|
120113
|
+
|
|
120114
|
+
// authentication ApiKeyAuth required
|
|
120115
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
120116
|
+
|
|
120117
|
+
// authentication OrganizationId required
|
|
120118
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
120119
|
+
|
|
120120
|
+
if (locale !== undefined) {
|
|
120121
|
+
localVarQueryParameter['locale'] = locale;
|
|
120122
|
+
}
|
|
120123
|
+
|
|
120124
|
+
if (page !== undefined) {
|
|
120125
|
+
localVarQueryParameter['page'] = page;
|
|
120126
|
+
}
|
|
120127
|
+
|
|
120128
|
+
if (pageSize !== undefined) {
|
|
120129
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
120130
|
+
}
|
|
120131
|
+
|
|
120132
|
+
if (orderBy !== undefined) {
|
|
120133
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
120134
|
+
}
|
|
120135
|
+
|
|
120136
|
+
if (search !== undefined) {
|
|
120137
|
+
localVarQueryParameter['search'] = search;
|
|
120138
|
+
}
|
|
120139
|
+
|
|
120140
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
120141
|
+
|
|
120142
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
120143
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
120144
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
120145
|
+
|
|
120146
|
+
return {
|
|
120147
|
+
url: toPathString(localVarUrlObj),
|
|
120148
|
+
options: localVarRequestOptions,
|
|
120149
|
+
};
|
|
120150
|
+
},
|
|
120151
|
+
/**
|
|
120152
|
+
* Upserts the organization\'s i18n string override for the given locale and key, requires the update org permission, and refreshes the language overrides list on success.
|
|
120153
|
+
* @summary Create or update a language override
|
|
120154
|
+
* @param {string} locale The locale identifier
|
|
120155
|
+
* @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
|
|
120156
|
+
* @param {*} [options] Override http request option.
|
|
120157
|
+
* @throws {RequiredError}
|
|
120158
|
+
*/
|
|
120159
|
+
upsertOrganizationLanguageOverride: async (locale: string, organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
120160
|
+
// verify required parameter 'locale' is not null or undefined
|
|
120161
|
+
assertParamExists('upsertOrganizationLanguageOverride', 'locale', locale)
|
|
120162
|
+
// verify required parameter 'organizationLanguageOverrideUpsertInputs' is not null or undefined
|
|
120163
|
+
assertParamExists('upsertOrganizationLanguageOverride', 'organizationLanguageOverrideUpsertInputs', organizationLanguageOverrideUpsertInputs)
|
|
120164
|
+
const localVarPath = `/organization/language-overrides/{locale}`
|
|
120165
|
+
.replace(`{${"locale"}}`, encodeURIComponent(String(locale)));
|
|
120166
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
120167
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
120168
|
+
let baseOptions;
|
|
120169
|
+
if (configuration) {
|
|
120170
|
+
baseOptions = configuration.baseOptions;
|
|
120171
|
+
}
|
|
120172
|
+
|
|
120173
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
120174
|
+
const localVarHeaderParameter = {} as any;
|
|
120175
|
+
const localVarQueryParameter = {} as any;
|
|
120176
|
+
|
|
120177
|
+
// authentication ApiKeyAuth required
|
|
120178
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
120179
|
+
|
|
120180
|
+
// authentication OrganizationId required
|
|
120181
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
120182
|
+
|
|
120183
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
120184
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
120185
|
+
|
|
120186
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
120187
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
120188
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
120189
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationLanguageOverrideUpsertInputs, localVarRequestOptions, configuration)
|
|
120190
|
+
|
|
120191
|
+
return {
|
|
120192
|
+
url: toPathString(localVarUrlObj),
|
|
120193
|
+
options: localVarRequestOptions,
|
|
120194
|
+
};
|
|
120195
|
+
},
|
|
120196
|
+
}
|
|
120197
|
+
};
|
|
120198
|
+
|
|
120199
|
+
/**
|
|
120200
|
+
* OrganizationLanguageoverridesApi - functional programming interface
|
|
120201
|
+
*/
|
|
120202
|
+
export const OrganizationLanguageoverridesApiFp = function(configuration?: Configuration) {
|
|
120203
|
+
const localVarAxiosParamCreator = OrganizationLanguageoverridesApiAxiosParamCreator(configuration)
|
|
120204
|
+
return {
|
|
120205
|
+
/**
|
|
120206
|
+
* Deletes the organization\'s i18n string override for the given locale and key (sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
|
|
120207
|
+
* @summary Delete a language override
|
|
120208
|
+
* @param {string} locale The locale identifier
|
|
120209
|
+
* @param {string} key Filter by key
|
|
120210
|
+
* @param {*} [options] Override http request option.
|
|
120211
|
+
* @throws {RequiredError}
|
|
120212
|
+
*/
|
|
120213
|
+
async deleteOrganizationLanguageOverride(locale: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>> {
|
|
120214
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationLanguageOverride(locale, key, options);
|
|
120215
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
120216
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationLanguageoverridesApi.deleteOrganizationLanguageOverride']?.[localVarOperationServerIndex]?.url;
|
|
120217
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
120218
|
+
},
|
|
120219
|
+
/**
|
|
120220
|
+
* Returns a paginated list of the organization\'s i18n string overrides, optionally filtered by locale and searchable by key or value; requires org read permission.
|
|
120221
|
+
* @summary List an organization\'s language overrides
|
|
120222
|
+
* @param {string} [locale] Filter by locale
|
|
120223
|
+
* @param {number} [page] Page number
|
|
120224
|
+
* @param {number} [pageSize] Number of items per page
|
|
120225
|
+
* @param {string} [orderBy] Field to order by
|
|
120226
|
+
* @param {string} [search] Search query
|
|
120227
|
+
* @param {*} [options] Override http request option.
|
|
120228
|
+
* @throws {RequiredError}
|
|
120229
|
+
*/
|
|
120230
|
+
async getOrganizationLanguageOverrides(locale?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationLanguageOverrides200Response>> {
|
|
120231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationLanguageOverrides(locale, page, pageSize, orderBy, search, options);
|
|
120232
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
120233
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationLanguageoverridesApi.getOrganizationLanguageOverrides']?.[localVarOperationServerIndex]?.url;
|
|
120234
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
120235
|
+
},
|
|
120236
|
+
/**
|
|
120237
|
+
* Upserts the organization\'s i18n string override for the given locale and key, requires the update org permission, and refreshes the language overrides list on success.
|
|
120238
|
+
* @summary Create or update a language override
|
|
120239
|
+
* @param {string} locale The locale identifier
|
|
120240
|
+
* @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
|
|
120241
|
+
* @param {*} [options] Override http request option.
|
|
120242
|
+
* @throws {RequiredError}
|
|
120243
|
+
*/
|
|
120244
|
+
async upsertOrganizationLanguageOverride(locale: string, organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>> {
|
|
120245
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upsertOrganizationLanguageOverride(locale, organizationLanguageOverrideUpsertInputs, options);
|
|
120246
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
120247
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationLanguageoverridesApi.upsertOrganizationLanguageOverride']?.[localVarOperationServerIndex]?.url;
|
|
120248
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
120249
|
+
},
|
|
120250
|
+
}
|
|
120251
|
+
};
|
|
120252
|
+
|
|
120253
|
+
/**
|
|
120254
|
+
* OrganizationLanguageoverridesApi - factory interface
|
|
120255
|
+
*/
|
|
120256
|
+
export const OrganizationLanguageoverridesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
120257
|
+
const localVarFp = OrganizationLanguageoverridesApiFp(configuration)
|
|
120258
|
+
return {
|
|
120259
|
+
/**
|
|
120260
|
+
* Deletes the organization\'s i18n string override for the given locale and key (sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
|
|
120261
|
+
* @summary Delete a language override
|
|
120262
|
+
* @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
|
|
120263
|
+
* @param {*} [options] Override http request option.
|
|
120264
|
+
* @throws {RequiredError}
|
|
120265
|
+
*/
|
|
120266
|
+
deleteOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncAccounts200Response> {
|
|
120267
|
+
return localVarFp.deleteOrganizationLanguageOverride(requestParameters.locale, requestParameters.key, options).then((request) => request(axios, basePath));
|
|
120268
|
+
},
|
|
120269
|
+
/**
|
|
120270
|
+
* Returns a paginated list of the organization\'s i18n string overrides, optionally filtered by locale and searchable by key or value; requires org read permission.
|
|
120271
|
+
* @summary List an organization\'s language overrides
|
|
120272
|
+
* @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
|
|
120273
|
+
* @param {*} [options] Override http request option.
|
|
120274
|
+
* @throws {RequiredError}
|
|
120275
|
+
*/
|
|
120276
|
+
getOrganizationLanguageOverrides(requestParameters: OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationLanguageOverrides200Response> {
|
|
120277
|
+
return localVarFp.getOrganizationLanguageOverrides(requestParameters.locale, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
120278
|
+
},
|
|
120279
|
+
/**
|
|
120280
|
+
* Upserts the organization\'s i18n string override for the given locale and key, requires the update org permission, and refreshes the language overrides list on success.
|
|
120281
|
+
* @summary Create or update a language override
|
|
120282
|
+
* @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
|
|
120283
|
+
* @param {*} [options] Override http request option.
|
|
120284
|
+
* @throws {RequiredError}
|
|
120285
|
+
*/
|
|
120286
|
+
upsertOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncAccounts200Response> {
|
|
120287
|
+
return localVarFp.upsertOrganizationLanguageOverride(requestParameters.locale, requestParameters.organizationLanguageOverrideUpsertInputs, options).then((request) => request(axios, basePath));
|
|
120288
|
+
},
|
|
120289
|
+
};
|
|
120290
|
+
};
|
|
120291
|
+
|
|
120292
|
+
/**
|
|
120293
|
+
* Request parameters for deleteOrganizationLanguageOverride operation in OrganizationLanguageoverridesApi.
|
|
120294
|
+
*/
|
|
120295
|
+
export interface OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest {
|
|
120296
|
+
/**
|
|
120297
|
+
* The locale identifier
|
|
120298
|
+
*/
|
|
120299
|
+
readonly locale: string
|
|
120300
|
+
|
|
120301
|
+
/**
|
|
120302
|
+
* Filter by key
|
|
120303
|
+
*/
|
|
120304
|
+
readonly key: string
|
|
120305
|
+
}
|
|
120306
|
+
|
|
120307
|
+
/**
|
|
120308
|
+
* Request parameters for getOrganizationLanguageOverrides operation in OrganizationLanguageoverridesApi.
|
|
120309
|
+
*/
|
|
120310
|
+
export interface OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest {
|
|
120311
|
+
/**
|
|
120312
|
+
* Filter by locale
|
|
120313
|
+
*/
|
|
120314
|
+
readonly locale?: string
|
|
120315
|
+
|
|
120316
|
+
/**
|
|
120317
|
+
* Page number
|
|
120318
|
+
*/
|
|
120319
|
+
readonly page?: number
|
|
120320
|
+
|
|
120321
|
+
/**
|
|
120322
|
+
* Number of items per page
|
|
120323
|
+
*/
|
|
120324
|
+
readonly pageSize?: number
|
|
120325
|
+
|
|
120326
|
+
/**
|
|
120327
|
+
* Field to order by
|
|
120328
|
+
*/
|
|
120329
|
+
readonly orderBy?: string
|
|
120330
|
+
|
|
120331
|
+
/**
|
|
120332
|
+
* Search query
|
|
120333
|
+
*/
|
|
120334
|
+
readonly search?: string
|
|
120335
|
+
}
|
|
120336
|
+
|
|
120337
|
+
/**
|
|
120338
|
+
* Request parameters for upsertOrganizationLanguageOverride operation in OrganizationLanguageoverridesApi.
|
|
120339
|
+
*/
|
|
120340
|
+
export interface OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest {
|
|
120341
|
+
/**
|
|
120342
|
+
* The locale identifier
|
|
120343
|
+
*/
|
|
120344
|
+
readonly locale: string
|
|
120345
|
+
|
|
120346
|
+
readonly organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs
|
|
120347
|
+
}
|
|
120348
|
+
|
|
120349
|
+
/**
|
|
120350
|
+
* OrganizationLanguageoverridesApi - object-oriented interface
|
|
120351
|
+
*/
|
|
120352
|
+
export class OrganizationLanguageoverridesApi extends BaseAPI {
|
|
120353
|
+
/**
|
|
120354
|
+
* Deletes the organization\'s i18n string override for the given locale and key (sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
|
|
120355
|
+
* @summary Delete a language override
|
|
120356
|
+
* @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
|
|
120357
|
+
* @param {*} [options] Override http request option.
|
|
120358
|
+
* @throws {RequiredError}
|
|
120359
|
+
*/
|
|
120360
|
+
public deleteOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig) {
|
|
120361
|
+
return OrganizationLanguageoverridesApiFp(this.configuration).deleteOrganizationLanguageOverride(requestParameters.locale, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
120362
|
+
}
|
|
120363
|
+
|
|
120364
|
+
/**
|
|
120365
|
+
* Returns a paginated list of the organization\'s i18n string overrides, optionally filtered by locale and searchable by key or value; requires org read permission.
|
|
120366
|
+
* @summary List an organization\'s language overrides
|
|
120367
|
+
* @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
|
|
120368
|
+
* @param {*} [options] Override http request option.
|
|
120369
|
+
* @throws {RequiredError}
|
|
120370
|
+
*/
|
|
120371
|
+
public getOrganizationLanguageOverrides(requestParameters: OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest = {}, options?: RawAxiosRequestConfig) {
|
|
120372
|
+
return OrganizationLanguageoverridesApiFp(this.configuration).getOrganizationLanguageOverrides(requestParameters.locale, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
120373
|
+
}
|
|
120374
|
+
|
|
120375
|
+
/**
|
|
120376
|
+
* Upserts the organization\'s i18n string override for the given locale and key, requires the update org permission, and refreshes the language overrides list on success.
|
|
120377
|
+
* @summary Create or update a language override
|
|
120378
|
+
* @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
|
|
120379
|
+
* @param {*} [options] Override http request option.
|
|
120380
|
+
* @throws {RequiredError}
|
|
120381
|
+
*/
|
|
120382
|
+
public upsertOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig) {
|
|
120383
|
+
return OrganizationLanguageoverridesApiFp(this.configuration).upsertOrganizationLanguageOverride(requestParameters.locale, requestParameters.organizationLanguageOverrideUpsertInputs, options).then((request) => request(this.axios, this.basePath));
|
|
120384
|
+
}
|
|
120385
|
+
}
|
|
120386
|
+
|
|
120387
|
+
|
|
120388
|
+
|
|
119796
120389
|
/**
|
|
119797
120390
|
* OrganizationModulesApi - axios parameter creator
|
|
119798
120391
|
*/
|