@connectedxm/admin-sdk 7.9.4 → 7.9.5
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 +1 -0
- package/README.md +3 -0
- package/api.ts +220 -0
- package/dist/api.d.ts +116 -0
- package/dist/api.js +190 -26
- package/dist/esm/api.d.ts +116 -0
- package/dist/esm/api.js +164 -0
- package/docs/BasePassAddOn.md +2 -0
- package/docs/EventsPassesAddonsApi.md +116 -0
- package/docs/FulfillEventPassAddOn200Response.md +24 -0
- package/docs/PassAddOn.md +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -507,8 +507,10 @@ Class | Method | HTTP request | Description
|
|
|
507
507
|
*EventsPassesAccessesApi* | [**updateEventSessionAccess**](docs/EventsPassesAccessesApi.md#updateeventsessionaccess) | **PUT** /events/{eventId}/sessions/{sessionId}/passes/{passId} | Update a pass\'s session access
|
|
508
508
|
*EventsPassesAccessesApi* | [**updateEventSessionAccessResponses**](docs/EventsPassesAccessesApi.md#updateeventsessionaccessresponses) | **PUT** /events/{eventId}/sessions/{sessionId}/passes/{passId}/responses | Update a pass\'s session access question responses
|
|
509
509
|
*EventsPassesAddonsApi* | [**addEventPassAddOn**](docs/EventsPassesAddonsApi.md#addeventpassaddon) | **POST** /events/{eventId}/passes/{passId}/addOns/{addOnId} | Add an add-on to an attendee\'s pass
|
|
510
|
+
*EventsPassesAddonsApi* | [**fulfillEventPassAddOn**](docs/EventsPassesAddonsApi.md#fulfilleventpassaddon) | **POST** /events/{eventId}/passes/{passId}/addOns/{addOnId}/fulfill | Fulfill an add-on on an attendee\'s pass
|
|
510
511
|
*EventsPassesAddonsApi* | [**getEventPassAddOns**](docs/EventsPassesAddonsApi.md#geteventpassaddons) | **GET** /events/{eventId}/passes/{passId}/addOns | List an event pass\'s add-ons
|
|
511
512
|
*EventsPassesAddonsApi* | [**removeEventPassAddOn**](docs/EventsPassesAddonsApi.md#removeeventpassaddon) | **DELETE** /events/{eventId}/passes/{passId}/addOns/{addOnId} | Remove an add-on from an attendee\'s pass
|
|
513
|
+
*EventsPassesAddonsApi* | [**unfulfillEventPassAddOn**](docs/EventsPassesAddonsApi.md#unfulfilleventpassaddon) | **POST** /events/{eventId}/passes/{passId}/addOns/{addOnId}/undo | Undo an add-on fulfillment
|
|
512
514
|
*EventsPassesAttributesApi* | [**getEventPassAttributes**](docs/EventsPassesAttributesApi.md#geteventpassattributes) | **GET** /events/{eventId}/passes/{passId}/attributes | List an event pass\'s attributes
|
|
513
515
|
*EventsPassesAttributesApi* | [**removeEventPassAttribute**](docs/EventsPassesAttributesApi.md#removeeventpassattribute) | **DELETE** /events/{eventId}/passes/{passId}/attributes/{attributeId} | Remove a custom attribute from a pass
|
|
514
516
|
*EventsPassesAttributesApi* | [**updateEventPassAttributes**](docs/EventsPassesAttributesApi.md#updateeventpassattributes) | **PUT** /events/{eventId}/passes/{passId}/attributes | Set custom attribute values on a pass
|
|
@@ -1885,6 +1887,7 @@ Class | Method | HTTP request | Description
|
|
|
1885
1887
|
- [FaqTranslation](docs/FaqTranslation.md)
|
|
1886
1888
|
- [FileSource](docs/FileSource.md)
|
|
1887
1889
|
- [FileUpdateInputs](docs/FileUpdateInputs.md)
|
|
1890
|
+
- [FulfillEventPassAddOn200Response](docs/FulfillEventPassAddOn200Response.md)
|
|
1888
1891
|
- [GetAPILog200Response](docs/GetAPILog200Response.md)
|
|
1889
1892
|
- [GetAPILogs200Response](docs/GetAPILogs200Response.md)
|
|
1890
1893
|
- [GetAcccountEmailReceipts200Response](docs/GetAcccountEmailReceipts200Response.md)
|
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;
|
|
@@ -11587,6 +11598,7 @@ export enum PageType {
|
|
|
11587
11598
|
export interface PassAddOn {
|
|
11588
11599
|
'addOnId': string;
|
|
11589
11600
|
'addOn': BaseEventAddOn;
|
|
11601
|
+
'fulfilledAt': string | null;
|
|
11590
11602
|
'createdAt': string;
|
|
11591
11603
|
'pass': BaseEventPass;
|
|
11592
11604
|
'updatedAt': string;
|
|
@@ -66573,6 +66585,54 @@ export const EventsPassesAddonsApiAxiosParamCreator = function (configuration?:
|
|
|
66573
66585
|
options: localVarRequestOptions,
|
|
66574
66586
|
};
|
|
66575
66587
|
},
|
|
66588
|
+
/**
|
|
66589
|
+
* Marks the given pass add-on as fulfilled, requires read permission on events and read/update permission on attendees.
|
|
66590
|
+
* @summary Fulfill an add-on on an attendee\'s pass
|
|
66591
|
+
* @param {string} eventId The event identifier
|
|
66592
|
+
* @param {string} passId The pass identifier
|
|
66593
|
+
* @param {string} addOnId The addOn identifier
|
|
66594
|
+
* @param {*} [options] Override http request option.
|
|
66595
|
+
* @throws {RequiredError}
|
|
66596
|
+
*/
|
|
66597
|
+
fulfillEventPassAddOn: async (eventId: string, passId: string, addOnId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
66598
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
66599
|
+
assertParamExists('fulfillEventPassAddOn', 'eventId', eventId)
|
|
66600
|
+
// verify required parameter 'passId' is not null or undefined
|
|
66601
|
+
assertParamExists('fulfillEventPassAddOn', 'passId', passId)
|
|
66602
|
+
// verify required parameter 'addOnId' is not null or undefined
|
|
66603
|
+
assertParamExists('fulfillEventPassAddOn', 'addOnId', addOnId)
|
|
66604
|
+
const localVarPath = `/events/{eventId}/passes/{passId}/addOns/{addOnId}/fulfill`
|
|
66605
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
66606
|
+
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)))
|
|
66607
|
+
.replace(`{${"addOnId"}}`, encodeURIComponent(String(addOnId)));
|
|
66608
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
66609
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66610
|
+
let baseOptions;
|
|
66611
|
+
if (configuration) {
|
|
66612
|
+
baseOptions = configuration.baseOptions;
|
|
66613
|
+
}
|
|
66614
|
+
|
|
66615
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
66616
|
+
const localVarHeaderParameter = {} as any;
|
|
66617
|
+
const localVarQueryParameter = {} as any;
|
|
66618
|
+
|
|
66619
|
+
// authentication ApiKeyAuth required
|
|
66620
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
66621
|
+
|
|
66622
|
+
// authentication OrganizationId required
|
|
66623
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
66624
|
+
|
|
66625
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
66626
|
+
|
|
66627
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
66628
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66629
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
66630
|
+
|
|
66631
|
+
return {
|
|
66632
|
+
url: toPathString(localVarUrlObj),
|
|
66633
|
+
options: localVarRequestOptions,
|
|
66634
|
+
};
|
|
66635
|
+
},
|
|
66576
66636
|
/**
|
|
66577
66637
|
* 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
66638
|
* @summary List an event pass\'s add-ons
|
|
@@ -66680,6 +66740,54 @@ export const EventsPassesAddonsApiAxiosParamCreator = function (configuration?:
|
|
|
66680
66740
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66681
66741
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
66682
66742
|
|
|
66743
|
+
return {
|
|
66744
|
+
url: toPathString(localVarUrlObj),
|
|
66745
|
+
options: localVarRequestOptions,
|
|
66746
|
+
};
|
|
66747
|
+
},
|
|
66748
|
+
/**
|
|
66749
|
+
* Reverses a previous fulfillment of the given pass add-on, requires read permission on events and read/update permission on attendees.
|
|
66750
|
+
* @summary Undo an add-on fulfillment
|
|
66751
|
+
* @param {string} eventId The event identifier
|
|
66752
|
+
* @param {string} passId The pass identifier
|
|
66753
|
+
* @param {string} addOnId The addOn identifier
|
|
66754
|
+
* @param {*} [options] Override http request option.
|
|
66755
|
+
* @throws {RequiredError}
|
|
66756
|
+
*/
|
|
66757
|
+
unfulfillEventPassAddOn: async (eventId: string, passId: string, addOnId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
66758
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
66759
|
+
assertParamExists('unfulfillEventPassAddOn', 'eventId', eventId)
|
|
66760
|
+
// verify required parameter 'passId' is not null or undefined
|
|
66761
|
+
assertParamExists('unfulfillEventPassAddOn', 'passId', passId)
|
|
66762
|
+
// verify required parameter 'addOnId' is not null or undefined
|
|
66763
|
+
assertParamExists('unfulfillEventPassAddOn', 'addOnId', addOnId)
|
|
66764
|
+
const localVarPath = `/events/{eventId}/passes/{passId}/addOns/{addOnId}/undo`
|
|
66765
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
66766
|
+
.replace(`{${"passId"}}`, encodeURIComponent(String(passId)))
|
|
66767
|
+
.replace(`{${"addOnId"}}`, encodeURIComponent(String(addOnId)));
|
|
66768
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
66769
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66770
|
+
let baseOptions;
|
|
66771
|
+
if (configuration) {
|
|
66772
|
+
baseOptions = configuration.baseOptions;
|
|
66773
|
+
}
|
|
66774
|
+
|
|
66775
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
66776
|
+
const localVarHeaderParameter = {} as any;
|
|
66777
|
+
const localVarQueryParameter = {} as any;
|
|
66778
|
+
|
|
66779
|
+
// authentication ApiKeyAuth required
|
|
66780
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
66781
|
+
|
|
66782
|
+
// authentication OrganizationId required
|
|
66783
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
66784
|
+
|
|
66785
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
66786
|
+
|
|
66787
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
66788
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66789
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
66790
|
+
|
|
66683
66791
|
return {
|
|
66684
66792
|
url: toPathString(localVarUrlObj),
|
|
66685
66793
|
options: localVarRequestOptions,
|
|
@@ -66709,6 +66817,21 @@ export const EventsPassesAddonsApiFp = function(configuration?: Configuration) {
|
|
|
66709
66817
|
const localVarOperationServerBasePath = operationServerMap['EventsPassesAddonsApi.addEventPassAddOn']?.[localVarOperationServerIndex]?.url;
|
|
66710
66818
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66711
66819
|
},
|
|
66820
|
+
/**
|
|
66821
|
+
* Marks the given pass add-on as fulfilled, requires read permission on events and read/update permission on attendees.
|
|
66822
|
+
* @summary Fulfill an add-on on an attendee\'s pass
|
|
66823
|
+
* @param {string} eventId The event identifier
|
|
66824
|
+
* @param {string} passId The pass identifier
|
|
66825
|
+
* @param {string} addOnId The addOn identifier
|
|
66826
|
+
* @param {*} [options] Override http request option.
|
|
66827
|
+
* @throws {RequiredError}
|
|
66828
|
+
*/
|
|
66829
|
+
async fulfillEventPassAddOn(eventId: string, passId: string, addOnId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FulfillEventPassAddOn200Response>> {
|
|
66830
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fulfillEventPassAddOn(eventId, passId, addOnId, options);
|
|
66831
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
66832
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPassesAddonsApi.fulfillEventPassAddOn']?.[localVarOperationServerIndex]?.url;
|
|
66833
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66834
|
+
},
|
|
66712
66835
|
/**
|
|
66713
66836
|
* 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
66837
|
* @summary List an event pass\'s add-ons
|
|
@@ -66742,6 +66865,21 @@ export const EventsPassesAddonsApiFp = function(configuration?: Configuration) {
|
|
|
66742
66865
|
const localVarOperationServerBasePath = operationServerMap['EventsPassesAddonsApi.removeEventPassAddOn']?.[localVarOperationServerIndex]?.url;
|
|
66743
66866
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66744
66867
|
},
|
|
66868
|
+
/**
|
|
66869
|
+
* Reverses a previous fulfillment of the given pass add-on, requires read permission on events and read/update permission on attendees.
|
|
66870
|
+
* @summary Undo an add-on fulfillment
|
|
66871
|
+
* @param {string} eventId The event identifier
|
|
66872
|
+
* @param {string} passId The pass identifier
|
|
66873
|
+
* @param {string} addOnId The addOn identifier
|
|
66874
|
+
* @param {*} [options] Override http request option.
|
|
66875
|
+
* @throws {RequiredError}
|
|
66876
|
+
*/
|
|
66877
|
+
async unfulfillEventPassAddOn(eventId: string, passId: string, addOnId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FulfillEventPassAddOn200Response>> {
|
|
66878
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unfulfillEventPassAddOn(eventId, passId, addOnId, options);
|
|
66879
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
66880
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPassesAddonsApi.unfulfillEventPassAddOn']?.[localVarOperationServerIndex]?.url;
|
|
66881
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66882
|
+
},
|
|
66745
66883
|
}
|
|
66746
66884
|
};
|
|
66747
66885
|
|
|
@@ -66761,6 +66899,16 @@ export const EventsPassesAddonsApiFactory = function (configuration?: Configurat
|
|
|
66761
66899
|
addEventPassAddOn(requestParameters: EventsPassesAddonsApiAddEventPassAddOnRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPass200Response> {
|
|
66762
66900
|
return localVarFp.addEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(axios, basePath));
|
|
66763
66901
|
},
|
|
66902
|
+
/**
|
|
66903
|
+
* Marks the given pass add-on as fulfilled, requires read permission on events and read/update permission on attendees.
|
|
66904
|
+
* @summary Fulfill an add-on on an attendee\'s pass
|
|
66905
|
+
* @param {EventsPassesAddonsApiFulfillEventPassAddOnRequest} requestParameters Request parameters.
|
|
66906
|
+
* @param {*} [options] Override http request option.
|
|
66907
|
+
* @throws {RequiredError}
|
|
66908
|
+
*/
|
|
66909
|
+
fulfillEventPassAddOn(requestParameters: EventsPassesAddonsApiFulfillEventPassAddOnRequest, options?: RawAxiosRequestConfig): AxiosPromise<FulfillEventPassAddOn200Response> {
|
|
66910
|
+
return localVarFp.fulfillEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(axios, basePath));
|
|
66911
|
+
},
|
|
66764
66912
|
/**
|
|
66765
66913
|
* 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
66914
|
* @summary List an event pass\'s add-ons
|
|
@@ -66781,6 +66929,16 @@ export const EventsPassesAddonsApiFactory = function (configuration?: Configurat
|
|
|
66781
66929
|
removeEventPassAddOn(requestParameters: EventsPassesAddonsApiRemoveEventPassAddOnRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPass200Response> {
|
|
66782
66930
|
return localVarFp.removeEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(axios, basePath));
|
|
66783
66931
|
},
|
|
66932
|
+
/**
|
|
66933
|
+
* Reverses a previous fulfillment of the given pass add-on, requires read permission on events and read/update permission on attendees.
|
|
66934
|
+
* @summary Undo an add-on fulfillment
|
|
66935
|
+
* @param {EventsPassesAddonsApiUnfulfillEventPassAddOnRequest} requestParameters Request parameters.
|
|
66936
|
+
* @param {*} [options] Override http request option.
|
|
66937
|
+
* @throws {RequiredError}
|
|
66938
|
+
*/
|
|
66939
|
+
unfulfillEventPassAddOn(requestParameters: EventsPassesAddonsApiUnfulfillEventPassAddOnRequest, options?: RawAxiosRequestConfig): AxiosPromise<FulfillEventPassAddOn200Response> {
|
|
66940
|
+
return localVarFp.unfulfillEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(axios, basePath));
|
|
66941
|
+
},
|
|
66784
66942
|
};
|
|
66785
66943
|
};
|
|
66786
66944
|
|
|
@@ -66804,6 +66962,26 @@ export interface EventsPassesAddonsApiAddEventPassAddOnRequest {
|
|
|
66804
66962
|
readonly addOnId: string
|
|
66805
66963
|
}
|
|
66806
66964
|
|
|
66965
|
+
/**
|
|
66966
|
+
* Request parameters for fulfillEventPassAddOn operation in EventsPassesAddonsApi.
|
|
66967
|
+
*/
|
|
66968
|
+
export interface EventsPassesAddonsApiFulfillEventPassAddOnRequest {
|
|
66969
|
+
/**
|
|
66970
|
+
* The event identifier
|
|
66971
|
+
*/
|
|
66972
|
+
readonly eventId: string
|
|
66973
|
+
|
|
66974
|
+
/**
|
|
66975
|
+
* The pass identifier
|
|
66976
|
+
*/
|
|
66977
|
+
readonly passId: string
|
|
66978
|
+
|
|
66979
|
+
/**
|
|
66980
|
+
* The addOn identifier
|
|
66981
|
+
*/
|
|
66982
|
+
readonly addOnId: string
|
|
66983
|
+
}
|
|
66984
|
+
|
|
66807
66985
|
/**
|
|
66808
66986
|
* Request parameters for getEventPassAddOns operation in EventsPassesAddonsApi.
|
|
66809
66987
|
*/
|
|
@@ -66859,6 +67037,26 @@ export interface EventsPassesAddonsApiRemoveEventPassAddOnRequest {
|
|
|
66859
67037
|
readonly addOnId: string
|
|
66860
67038
|
}
|
|
66861
67039
|
|
|
67040
|
+
/**
|
|
67041
|
+
* Request parameters for unfulfillEventPassAddOn operation in EventsPassesAddonsApi.
|
|
67042
|
+
*/
|
|
67043
|
+
export interface EventsPassesAddonsApiUnfulfillEventPassAddOnRequest {
|
|
67044
|
+
/**
|
|
67045
|
+
* The event identifier
|
|
67046
|
+
*/
|
|
67047
|
+
readonly eventId: string
|
|
67048
|
+
|
|
67049
|
+
/**
|
|
67050
|
+
* The pass identifier
|
|
67051
|
+
*/
|
|
67052
|
+
readonly passId: string
|
|
67053
|
+
|
|
67054
|
+
/**
|
|
67055
|
+
* The addOn identifier
|
|
67056
|
+
*/
|
|
67057
|
+
readonly addOnId: string
|
|
67058
|
+
}
|
|
67059
|
+
|
|
66862
67060
|
/**
|
|
66863
67061
|
* EventsPassesAddonsApi - object-oriented interface
|
|
66864
67062
|
*/
|
|
@@ -66874,6 +67072,17 @@ export class EventsPassesAddonsApi extends BaseAPI {
|
|
|
66874
67072
|
return EventsPassesAddonsApiFp(this.configuration).addEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(this.axios, this.basePath));
|
|
66875
67073
|
}
|
|
66876
67074
|
|
|
67075
|
+
/**
|
|
67076
|
+
* Marks the given pass add-on as fulfilled, requires read permission on events and read/update permission on attendees.
|
|
67077
|
+
* @summary Fulfill an add-on on an attendee\'s pass
|
|
67078
|
+
* @param {EventsPassesAddonsApiFulfillEventPassAddOnRequest} requestParameters Request parameters.
|
|
67079
|
+
* @param {*} [options] Override http request option.
|
|
67080
|
+
* @throws {RequiredError}
|
|
67081
|
+
*/
|
|
67082
|
+
public fulfillEventPassAddOn(requestParameters: EventsPassesAddonsApiFulfillEventPassAddOnRequest, options?: RawAxiosRequestConfig) {
|
|
67083
|
+
return EventsPassesAddonsApiFp(this.configuration).fulfillEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(this.axios, this.basePath));
|
|
67084
|
+
}
|
|
67085
|
+
|
|
66877
67086
|
/**
|
|
66878
67087
|
* 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
67088
|
* @summary List an event pass\'s add-ons
|
|
@@ -66895,6 +67104,17 @@ export class EventsPassesAddonsApi extends BaseAPI {
|
|
|
66895
67104
|
public removeEventPassAddOn(requestParameters: EventsPassesAddonsApiRemoveEventPassAddOnRequest, options?: RawAxiosRequestConfig) {
|
|
66896
67105
|
return EventsPassesAddonsApiFp(this.configuration).removeEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(this.axios, this.basePath));
|
|
66897
67106
|
}
|
|
67107
|
+
|
|
67108
|
+
/**
|
|
67109
|
+
* Reverses a previous fulfillment of the given pass add-on, requires read permission on events and read/update permission on attendees.
|
|
67110
|
+
* @summary Undo an add-on fulfillment
|
|
67111
|
+
* @param {EventsPassesAddonsApiUnfulfillEventPassAddOnRequest} requestParameters Request parameters.
|
|
67112
|
+
* @param {*} [options] Override http request option.
|
|
67113
|
+
* @throws {RequiredError}
|
|
67114
|
+
*/
|
|
67115
|
+
public unfulfillEventPassAddOn(requestParameters: EventsPassesAddonsApiUnfulfillEventPassAddOnRequest, options?: RawAxiosRequestConfig) {
|
|
67116
|
+
return EventsPassesAddonsApiFp(this.configuration).unfulfillEventPassAddOn(requestParameters.eventId, requestParameters.passId, requestParameters.addOnId, options).then((request) => request(this.axios, this.basePath));
|
|
67117
|
+
}
|
|
66898
67118
|
}
|
|
66899
67119
|
|
|
66900
67120
|
|
package/dist/api.d.ts
CHANGED
|
@@ -1849,6 +1849,7 @@ export interface BaseOrganizationModuleSettingsTranslation {
|
|
|
1849
1849
|
export interface BasePassAddOn {
|
|
1850
1850
|
'addOnId': string;
|
|
1851
1851
|
'addOn': BaseEventAddOn;
|
|
1852
|
+
'fulfilledAt': string | null;
|
|
1852
1853
|
'pass': BasePassAddOnPass;
|
|
1853
1854
|
'createdAt': string;
|
|
1854
1855
|
}
|
|
@@ -6174,6 +6175,14 @@ export interface FileUpdateInputs {
|
|
|
6174
6175
|
'source'?: FileSource;
|
|
6175
6176
|
'public'?: boolean;
|
|
6176
6177
|
}
|
|
6178
|
+
export interface FulfillEventPassAddOn200Response {
|
|
6179
|
+
'status': FulfillEventPassAddOn200ResponseStatusEnum;
|
|
6180
|
+
'message': string;
|
|
6181
|
+
'data': PassAddOn;
|
|
6182
|
+
}
|
|
6183
|
+
export declare enum FulfillEventPassAddOn200ResponseStatusEnum {
|
|
6184
|
+
Ok = "ok"
|
|
6185
|
+
}
|
|
6177
6186
|
export interface GetAPILog200Response {
|
|
6178
6187
|
'status': GetAPILog200ResponseStatusEnum;
|
|
6179
6188
|
'message': string;
|
|
@@ -10265,6 +10274,7 @@ export declare enum PageType {
|
|
|
10265
10274
|
export interface PassAddOn {
|
|
10266
10275
|
'addOnId': string;
|
|
10267
10276
|
'addOn': BaseEventAddOn;
|
|
10277
|
+
'fulfilledAt': string | null;
|
|
10268
10278
|
'createdAt': string;
|
|
10269
10279
|
'pass': BaseEventPass;
|
|
10270
10280
|
'updatedAt': string;
|
|
@@ -39228,6 +39238,16 @@ export declare const EventsPassesAddonsApiAxiosParamCreator: (configuration?: Co
|
|
|
39228
39238
|
* @throws {RequiredError}
|
|
39229
39239
|
*/
|
|
39230
39240
|
addEventPassAddOn: (eventId: string, passId: string, addOnId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39241
|
+
/**
|
|
39242
|
+
* Marks the given pass add-on as fulfilled, requires read permission on events and read/update permission on attendees.
|
|
39243
|
+
* @summary Fulfill an add-on on an attendee\'s pass
|
|
39244
|
+
* @param {string} eventId The event identifier
|
|
39245
|
+
* @param {string} passId The pass identifier
|
|
39246
|
+
* @param {string} addOnId The addOn identifier
|
|
39247
|
+
* @param {*} [options] Override http request option.
|
|
39248
|
+
* @throws {RequiredError}
|
|
39249
|
+
*/
|
|
39250
|
+
fulfillEventPassAddOn: (eventId: string, passId: string, addOnId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39231
39251
|
/**
|
|
39232
39252
|
* 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.
|
|
39233
39253
|
* @summary List an event pass\'s add-ons
|
|
@@ -39251,6 +39271,16 @@ export declare const EventsPassesAddonsApiAxiosParamCreator: (configuration?: Co
|
|
|
39251
39271
|
* @throws {RequiredError}
|
|
39252
39272
|
*/
|
|
39253
39273
|
removeEventPassAddOn: (eventId: string, passId: string, addOnId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39274
|
+
/**
|
|
39275
|
+
* Reverses a previous fulfillment of the given pass add-on, requires read permission on events and read/update permission on attendees.
|
|
39276
|
+
* @summary Undo an add-on fulfillment
|
|
39277
|
+
* @param {string} eventId The event identifier
|
|
39278
|
+
* @param {string} passId The pass identifier
|
|
39279
|
+
* @param {string} addOnId The addOn identifier
|
|
39280
|
+
* @param {*} [options] Override http request option.
|
|
39281
|
+
* @throws {RequiredError}
|
|
39282
|
+
*/
|
|
39283
|
+
unfulfillEventPassAddOn: (eventId: string, passId: string, addOnId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39254
39284
|
};
|
|
39255
39285
|
/**
|
|
39256
39286
|
* EventsPassesAddonsApi - functional programming interface
|
|
@@ -39266,6 +39296,16 @@ export declare const EventsPassesAddonsApiFp: (configuration?: Configuration) =>
|
|
|
39266
39296
|
* @throws {RequiredError}
|
|
39267
39297
|
*/
|
|
39268
39298
|
addEventPassAddOn(eventId: string, passId: string, addOnId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventPass200Response>>;
|
|
39299
|
+
/**
|
|
39300
|
+
* Marks the given pass add-on as fulfilled, requires read permission on events and read/update permission on attendees.
|
|
39301
|
+
* @summary Fulfill an add-on on an attendee\'s pass
|
|
39302
|
+
* @param {string} eventId The event identifier
|
|
39303
|
+
* @param {string} passId The pass identifier
|
|
39304
|
+
* @param {string} addOnId The addOn identifier
|
|
39305
|
+
* @param {*} [options] Override http request option.
|
|
39306
|
+
* @throws {RequiredError}
|
|
39307
|
+
*/
|
|
39308
|
+
fulfillEventPassAddOn(eventId: string, passId: string, addOnId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FulfillEventPassAddOn200Response>>;
|
|
39269
39309
|
/**
|
|
39270
39310
|
* 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.
|
|
39271
39311
|
* @summary List an event pass\'s add-ons
|
|
@@ -39289,6 +39329,16 @@ export declare const EventsPassesAddonsApiFp: (configuration?: Configuration) =>
|
|
|
39289
39329
|
* @throws {RequiredError}
|
|
39290
39330
|
*/
|
|
39291
39331
|
removeEventPassAddOn(eventId: string, passId: string, addOnId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventPass200Response>>;
|
|
39332
|
+
/**
|
|
39333
|
+
* Reverses a previous fulfillment of the given pass add-on, requires read permission on events and read/update permission on attendees.
|
|
39334
|
+
* @summary Undo an add-on fulfillment
|
|
39335
|
+
* @param {string} eventId The event identifier
|
|
39336
|
+
* @param {string} passId The pass identifier
|
|
39337
|
+
* @param {string} addOnId The addOn identifier
|
|
39338
|
+
* @param {*} [options] Override http request option.
|
|
39339
|
+
* @throws {RequiredError}
|
|
39340
|
+
*/
|
|
39341
|
+
unfulfillEventPassAddOn(eventId: string, passId: string, addOnId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FulfillEventPassAddOn200Response>>;
|
|
39292
39342
|
};
|
|
39293
39343
|
/**
|
|
39294
39344
|
* EventsPassesAddonsApi - factory interface
|
|
@@ -39302,6 +39352,14 @@ export declare const EventsPassesAddonsApiFactory: (configuration?: Configuratio
|
|
|
39302
39352
|
* @throws {RequiredError}
|
|
39303
39353
|
*/
|
|
39304
39354
|
addEventPassAddOn(requestParameters: EventsPassesAddonsApiAddEventPassAddOnRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPass200Response>;
|
|
39355
|
+
/**
|
|
39356
|
+
* Marks the given pass add-on as fulfilled, requires read permission on events and read/update permission on attendees.
|
|
39357
|
+
* @summary Fulfill an add-on on an attendee\'s pass
|
|
39358
|
+
* @param {EventsPassesAddonsApiFulfillEventPassAddOnRequest} requestParameters Request parameters.
|
|
39359
|
+
* @param {*} [options] Override http request option.
|
|
39360
|
+
* @throws {RequiredError}
|
|
39361
|
+
*/
|
|
39362
|
+
fulfillEventPassAddOn(requestParameters: EventsPassesAddonsApiFulfillEventPassAddOnRequest, options?: RawAxiosRequestConfig): AxiosPromise<FulfillEventPassAddOn200Response>;
|
|
39305
39363
|
/**
|
|
39306
39364
|
* 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.
|
|
39307
39365
|
* @summary List an event pass\'s add-ons
|
|
@@ -39318,6 +39376,14 @@ export declare const EventsPassesAddonsApiFactory: (configuration?: Configuratio
|
|
|
39318
39376
|
* @throws {RequiredError}
|
|
39319
39377
|
*/
|
|
39320
39378
|
removeEventPassAddOn(requestParameters: EventsPassesAddonsApiRemoveEventPassAddOnRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPass200Response>;
|
|
39379
|
+
/**
|
|
39380
|
+
* Reverses a previous fulfillment of the given pass add-on, requires read permission on events and read/update permission on attendees.
|
|
39381
|
+
* @summary Undo an add-on fulfillment
|
|
39382
|
+
* @param {EventsPassesAddonsApiUnfulfillEventPassAddOnRequest} requestParameters Request parameters.
|
|
39383
|
+
* @param {*} [options] Override http request option.
|
|
39384
|
+
* @throws {RequiredError}
|
|
39385
|
+
*/
|
|
39386
|
+
unfulfillEventPassAddOn(requestParameters: EventsPassesAddonsApiUnfulfillEventPassAddOnRequest, options?: RawAxiosRequestConfig): AxiosPromise<FulfillEventPassAddOn200Response>;
|
|
39321
39387
|
};
|
|
39322
39388
|
/**
|
|
39323
39389
|
* Request parameters for addEventPassAddOn operation in EventsPassesAddonsApi.
|
|
@@ -39336,6 +39402,23 @@ export interface EventsPassesAddonsApiAddEventPassAddOnRequest {
|
|
|
39336
39402
|
*/
|
|
39337
39403
|
readonly addOnId: string;
|
|
39338
39404
|
}
|
|
39405
|
+
/**
|
|
39406
|
+
* Request parameters for fulfillEventPassAddOn operation in EventsPassesAddonsApi.
|
|
39407
|
+
*/
|
|
39408
|
+
export interface EventsPassesAddonsApiFulfillEventPassAddOnRequest {
|
|
39409
|
+
/**
|
|
39410
|
+
* The event identifier
|
|
39411
|
+
*/
|
|
39412
|
+
readonly eventId: string;
|
|
39413
|
+
/**
|
|
39414
|
+
* The pass identifier
|
|
39415
|
+
*/
|
|
39416
|
+
readonly passId: string;
|
|
39417
|
+
/**
|
|
39418
|
+
* The addOn identifier
|
|
39419
|
+
*/
|
|
39420
|
+
readonly addOnId: string;
|
|
39421
|
+
}
|
|
39339
39422
|
/**
|
|
39340
39423
|
* Request parameters for getEventPassAddOns operation in EventsPassesAddonsApi.
|
|
39341
39424
|
*/
|
|
@@ -39382,6 +39465,23 @@ export interface EventsPassesAddonsApiRemoveEventPassAddOnRequest {
|
|
|
39382
39465
|
*/
|
|
39383
39466
|
readonly addOnId: string;
|
|
39384
39467
|
}
|
|
39468
|
+
/**
|
|
39469
|
+
* Request parameters for unfulfillEventPassAddOn operation in EventsPassesAddonsApi.
|
|
39470
|
+
*/
|
|
39471
|
+
export interface EventsPassesAddonsApiUnfulfillEventPassAddOnRequest {
|
|
39472
|
+
/**
|
|
39473
|
+
* The event identifier
|
|
39474
|
+
*/
|
|
39475
|
+
readonly eventId: string;
|
|
39476
|
+
/**
|
|
39477
|
+
* The pass identifier
|
|
39478
|
+
*/
|
|
39479
|
+
readonly passId: string;
|
|
39480
|
+
/**
|
|
39481
|
+
* The addOn identifier
|
|
39482
|
+
*/
|
|
39483
|
+
readonly addOnId: string;
|
|
39484
|
+
}
|
|
39385
39485
|
/**
|
|
39386
39486
|
* EventsPassesAddonsApi - object-oriented interface
|
|
39387
39487
|
*/
|
|
@@ -39394,6 +39494,14 @@ export declare class EventsPassesAddonsApi extends BaseAPI {
|
|
|
39394
39494
|
* @throws {RequiredError}
|
|
39395
39495
|
*/
|
|
39396
39496
|
addEventPassAddOn(requestParameters: EventsPassesAddonsApiAddEventPassAddOnRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventPass200Response, any, {}>>;
|
|
39497
|
+
/**
|
|
39498
|
+
* Marks the given pass add-on as fulfilled, requires read permission on events and read/update permission on attendees.
|
|
39499
|
+
* @summary Fulfill an add-on on an attendee\'s pass
|
|
39500
|
+
* @param {EventsPassesAddonsApiFulfillEventPassAddOnRequest} requestParameters Request parameters.
|
|
39501
|
+
* @param {*} [options] Override http request option.
|
|
39502
|
+
* @throws {RequiredError}
|
|
39503
|
+
*/
|
|
39504
|
+
fulfillEventPassAddOn(requestParameters: EventsPassesAddonsApiFulfillEventPassAddOnRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FulfillEventPassAddOn200Response, any, {}>>;
|
|
39397
39505
|
/**
|
|
39398
39506
|
* 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.
|
|
39399
39507
|
* @summary List an event pass\'s add-ons
|
|
@@ -39410,6 +39518,14 @@ export declare class EventsPassesAddonsApi extends BaseAPI {
|
|
|
39410
39518
|
* @throws {RequiredError}
|
|
39411
39519
|
*/
|
|
39412
39520
|
removeEventPassAddOn(requestParameters: EventsPassesAddonsApiRemoveEventPassAddOnRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventPass200Response, any, {}>>;
|
|
39521
|
+
/**
|
|
39522
|
+
* Reverses a previous fulfillment of the given pass add-on, requires read permission on events and read/update permission on attendees.
|
|
39523
|
+
* @summary Undo an add-on fulfillment
|
|
39524
|
+
* @param {EventsPassesAddonsApiUnfulfillEventPassAddOnRequest} requestParameters Request parameters.
|
|
39525
|
+
* @param {*} [options] Override http request option.
|
|
39526
|
+
* @throws {RequiredError}
|
|
39527
|
+
*/
|
|
39528
|
+
unfulfillEventPassAddOn(requestParameters: EventsPassesAddonsApiUnfulfillEventPassAddOnRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FulfillEventPassAddOn200Response, any, {}>>;
|
|
39413
39529
|
}
|
|
39414
39530
|
/**
|
|
39415
39531
|
* EventsPassesAttributesApi - axios parameter creator
|