@connectedxm/admin-sdk 7.2.2 → 7.2.4
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 +2 -2
- package/README.md +4 -2
- package/api.ts +285 -28
- package/dist/api.d.ts +158 -27
- package/dist/api.js +195 -15
- package/dist/esm/api.d.ts +158 -27
- package/dist/esm/api.js +188 -8
- package/docs/AccountsApi.md +128 -0
- package/docs/Booking.md +2 -0
- package/docs/BookingsApi.md +4 -4
- package/docs/{GetBookingPlaceBookings200Response.md → GetAccountBookings200Response.md} +3 -3
- package/docs/{GetSupportTickets200Response.md → GetAccountSupportTickets200Response.md} +3 -3
- package/docs/SupportApi.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -724,6 +724,7 @@ docs/GetAPILogs200Response.md
|
|
|
724
724
|
docs/GetAcccountEmailReceipts200Response.md
|
|
725
725
|
docs/GetAccountActivities200Response.md
|
|
726
726
|
docs/GetAccountAddresses200Response.md
|
|
727
|
+
docs/GetAccountBookings200Response.md
|
|
727
728
|
docs/GetAccountEvents200Response.md
|
|
728
729
|
docs/GetAccountGroups200Response.md
|
|
729
730
|
docs/GetAccountInterests200Response.md
|
|
@@ -735,6 +736,7 @@ docs/GetAccountLikes200Response.md
|
|
|
735
736
|
docs/GetAccountNotificationPreferences200Response.md
|
|
736
737
|
docs/GetAccountPayments200Response.md
|
|
737
738
|
docs/GetAccountRegistrations200Response.md
|
|
739
|
+
docs/GetAccountSupportTickets200Response.md
|
|
738
740
|
docs/GetAccountThreads200Response.md
|
|
739
741
|
docs/GetAccountTiers200Response.md
|
|
740
742
|
docs/GetAccounts200Response.md
|
|
@@ -751,7 +753,6 @@ docs/GetBenefitClicks200Response.md
|
|
|
751
753
|
docs/GetBenefitTranslation200Response.md
|
|
752
754
|
docs/GetBenefitTranslations200Response.md
|
|
753
755
|
docs/GetBenefits200Response.md
|
|
754
|
-
docs/GetBookingPlaceBookings200Response.md
|
|
755
756
|
docs/GetBookingPlaceTranslation200Response.md
|
|
756
757
|
docs/GetBookingPlaceTranslations200Response.md
|
|
757
758
|
docs/GetBookingPlaces200Response.md
|
|
@@ -995,7 +996,6 @@ docs/GetSupportTicketActivity200Response.md
|
|
|
995
996
|
docs/GetSupportTicketMessages200Response.md
|
|
996
997
|
docs/GetSupportTicketNotes200Response.md
|
|
997
998
|
docs/GetSupportTicketViewer200Response.md
|
|
998
|
-
docs/GetSupportTickets200Response.md
|
|
999
999
|
docs/GetSurveyQuestionChoiceSubQuestions200Response.md
|
|
1000
1000
|
docs/GetSurveyQuestionChoiceTranslation200Response.md
|
|
1001
1001
|
docs/GetSurveyQuestionChoiceTranslations200Response.md
|
package/README.md
CHANGED
|
@@ -57,12 +57,14 @@ Class | Method | HTTP request | Description
|
|
|
57
57
|
*AccountsApi* | [**getAcccountEmailReceipts**](docs/AccountsApi.md#getacccountemailreceipts) | **GET** /accounts/{accountId}/email-receipts | Get Acccount Email Receipts
|
|
58
58
|
*AccountsApi* | [**getAccount**](docs/AccountsApi.md#getaccount) | **GET** /accounts/{accountId} | Get Account
|
|
59
59
|
*AccountsApi* | [**getAccountActivities**](docs/AccountsApi.md#getaccountactivities) | **GET** /accounts/{accountId}/activities | Get Account Activities
|
|
60
|
+
*AccountsApi* | [**getAccountBookings**](docs/AccountsApi.md#getaccountbookings) | **GET** /accounts/{accountId}/bookings | Get Account Bookings
|
|
60
61
|
*AccountsApi* | [**getAccountComments**](docs/AccountsApi.md#getaccountcomments) | **GET** /accounts/{accountId}/comments | Get Account Comments
|
|
61
62
|
*AccountsApi* | [**getAccountEvents**](docs/AccountsApi.md#getaccountevents) | **GET** /accounts/{accountId}/events | Get Account Events
|
|
62
63
|
*AccountsApi* | [**getAccountLikes**](docs/AccountsApi.md#getaccountlikes) | **GET** /accounts/{accountId}/likes | Get Account Likes
|
|
63
64
|
*AccountsApi* | [**getAccountNotificationPreferences**](docs/AccountsApi.md#getaccountnotificationpreferences) | **GET** /accounts/{accountId}/notification-preferences | Get Account Notification Preferences
|
|
64
65
|
*AccountsApi* | [**getAccountPayments**](docs/AccountsApi.md#getaccountpayments) | **GET** /accounts/{accountId}/payments | Get Account Payments
|
|
65
66
|
*AccountsApi* | [**getAccountRegistrations**](docs/AccountsApi.md#getaccountregistrations) | **GET** /accounts/{accountId}/registrations | Get Account Registrations
|
|
67
|
+
*AccountsApi* | [**getAccountSupportTickets**](docs/AccountsApi.md#getaccountsupporttickets) | **GET** /accounts/{accountId}/supportTickets | Get Account Support Tickets
|
|
66
68
|
*AccountsApi* | [**getAccountThreads**](docs/AccountsApi.md#getaccountthreads) | **GET** /accounts/{accountId}/threads | Get Account Threads
|
|
67
69
|
*AccountsApi* | [**getAccounts**](docs/AccountsApi.md#getaccounts) | **GET** /accounts | Get Accounts
|
|
68
70
|
*AccountsApi* | [**getAccountsByInternalRefId**](docs/AccountsApi.md#getaccountsbyinternalrefid) | **GET** /accounts/internal-ref-id/{internalRefId} | Get Accounts By Internal Ref Id
|
|
@@ -1868,6 +1870,7 @@ Class | Method | HTTP request | Description
|
|
|
1868
1870
|
- [GetAcccountEmailReceipts200Response](docs/GetAcccountEmailReceipts200Response.md)
|
|
1869
1871
|
- [GetAccountActivities200Response](docs/GetAccountActivities200Response.md)
|
|
1870
1872
|
- [GetAccountAddresses200Response](docs/GetAccountAddresses200Response.md)
|
|
1873
|
+
- [GetAccountBookings200Response](docs/GetAccountBookings200Response.md)
|
|
1871
1874
|
- [GetAccountEvents200Response](docs/GetAccountEvents200Response.md)
|
|
1872
1875
|
- [GetAccountGroups200Response](docs/GetAccountGroups200Response.md)
|
|
1873
1876
|
- [GetAccountInterests200Response](docs/GetAccountInterests200Response.md)
|
|
@@ -1879,6 +1882,7 @@ Class | Method | HTTP request | Description
|
|
|
1879
1882
|
- [GetAccountNotificationPreferences200Response](docs/GetAccountNotificationPreferences200Response.md)
|
|
1880
1883
|
- [GetAccountPayments200Response](docs/GetAccountPayments200Response.md)
|
|
1881
1884
|
- [GetAccountRegistrations200Response](docs/GetAccountRegistrations200Response.md)
|
|
1885
|
+
- [GetAccountSupportTickets200Response](docs/GetAccountSupportTickets200Response.md)
|
|
1882
1886
|
- [GetAccountThreads200Response](docs/GetAccountThreads200Response.md)
|
|
1883
1887
|
- [GetAccountTiers200Response](docs/GetAccountTiers200Response.md)
|
|
1884
1888
|
- [GetAccounts200Response](docs/GetAccounts200Response.md)
|
|
@@ -1895,7 +1899,6 @@ Class | Method | HTTP request | Description
|
|
|
1895
1899
|
- [GetBenefitTranslation200Response](docs/GetBenefitTranslation200Response.md)
|
|
1896
1900
|
- [GetBenefitTranslations200Response](docs/GetBenefitTranslations200Response.md)
|
|
1897
1901
|
- [GetBenefits200Response](docs/GetBenefits200Response.md)
|
|
1898
|
-
- [GetBookingPlaceBookings200Response](docs/GetBookingPlaceBookings200Response.md)
|
|
1899
1902
|
- [GetBookingPlaceTranslation200Response](docs/GetBookingPlaceTranslation200Response.md)
|
|
1900
1903
|
- [GetBookingPlaceTranslations200Response](docs/GetBookingPlaceTranslations200Response.md)
|
|
1901
1904
|
- [GetBookingPlaces200Response](docs/GetBookingPlaces200Response.md)
|
|
@@ -2139,7 +2142,6 @@ Class | Method | HTTP request | Description
|
|
|
2139
2142
|
- [GetSupportTicketMessages200Response](docs/GetSupportTicketMessages200Response.md)
|
|
2140
2143
|
- [GetSupportTicketNotes200Response](docs/GetSupportTicketNotes200Response.md)
|
|
2141
2144
|
- [GetSupportTicketViewer200Response](docs/GetSupportTicketViewer200Response.md)
|
|
2142
|
-
- [GetSupportTickets200Response](docs/GetSupportTickets200Response.md)
|
|
2143
2145
|
- [GetSurveyQuestionChoiceSubQuestions200Response](docs/GetSurveyQuestionChoiceSubQuestions200Response.md)
|
|
2144
2146
|
- [GetSurveyQuestionChoiceTranslation200Response](docs/GetSurveyQuestionChoiceTranslation200Response.md)
|
|
2145
2147
|
- [GetSurveyQuestionChoiceTranslations200Response](docs/GetSurveyQuestionChoiceTranslations200Response.md)
|
package/api.ts
CHANGED
|
@@ -2720,6 +2720,7 @@ export interface Booking {
|
|
|
2720
2720
|
'createdAt': string;
|
|
2721
2721
|
'updatedAt': string;
|
|
2722
2722
|
'responses'?: Array<BaseBookingQuestionResponse>;
|
|
2723
|
+
'place'?: BaseBookingPlace;
|
|
2723
2724
|
}
|
|
2724
2725
|
|
|
2725
2726
|
|
|
@@ -6697,6 +6698,17 @@ export enum GetAccountAddresses200ResponseStatusEnum {
|
|
|
6697
6698
|
Ok = 'ok'
|
|
6698
6699
|
}
|
|
6699
6700
|
|
|
6701
|
+
export interface GetAccountBookings200Response {
|
|
6702
|
+
'status': GetAccountBookings200ResponseStatusEnum;
|
|
6703
|
+
'message': string;
|
|
6704
|
+
'data': Array<Booking>;
|
|
6705
|
+
'count'?: number;
|
|
6706
|
+
}
|
|
6707
|
+
|
|
6708
|
+
export enum GetAccountBookings200ResponseStatusEnum {
|
|
6709
|
+
Ok = 'ok'
|
|
6710
|
+
}
|
|
6711
|
+
|
|
6700
6712
|
export interface GetAccountEvents200Response {
|
|
6701
6713
|
'status': GetAccountEvents200ResponseStatusEnum;
|
|
6702
6714
|
'message': string;
|
|
@@ -6816,6 +6828,17 @@ export enum GetAccountRegistrations200ResponseStatusEnum {
|
|
|
6816
6828
|
Ok = 'ok'
|
|
6817
6829
|
}
|
|
6818
6830
|
|
|
6831
|
+
export interface GetAccountSupportTickets200Response {
|
|
6832
|
+
'status': GetAccountSupportTickets200ResponseStatusEnum;
|
|
6833
|
+
'message': string;
|
|
6834
|
+
'data': Array<SupportTicket>;
|
|
6835
|
+
'count'?: number;
|
|
6836
|
+
}
|
|
6837
|
+
|
|
6838
|
+
export enum GetAccountSupportTickets200ResponseStatusEnum {
|
|
6839
|
+
Ok = 'ok'
|
|
6840
|
+
}
|
|
6841
|
+
|
|
6819
6842
|
export interface GetAccountThreads200Response {
|
|
6820
6843
|
'status': GetAccountThreads200ResponseStatusEnum;
|
|
6821
6844
|
'message': string;
|
|
@@ -6988,17 +7011,6 @@ export enum GetBenefits200ResponseStatusEnum {
|
|
|
6988
7011
|
Ok = 'ok'
|
|
6989
7012
|
}
|
|
6990
7013
|
|
|
6991
|
-
export interface GetBookingPlaceBookings200Response {
|
|
6992
|
-
'status': GetBookingPlaceBookings200ResponseStatusEnum;
|
|
6993
|
-
'message': string;
|
|
6994
|
-
'data': Array<Booking>;
|
|
6995
|
-
'count'?: number;
|
|
6996
|
-
}
|
|
6997
|
-
|
|
6998
|
-
export enum GetBookingPlaceBookings200ResponseStatusEnum {
|
|
6999
|
-
Ok = 'ok'
|
|
7000
|
-
}
|
|
7001
|
-
|
|
7002
7014
|
export interface GetBookingPlaceTranslation200Response {
|
|
7003
7015
|
'status': GetBookingPlaceTranslation200ResponseStatusEnum;
|
|
7004
7016
|
'message': string;
|
|
@@ -9579,17 +9591,6 @@ export enum GetSupportTicketViewer200ResponseStatusEnum {
|
|
|
9579
9591
|
Ok = 'ok'
|
|
9580
9592
|
}
|
|
9581
9593
|
|
|
9582
|
-
export interface GetSupportTickets200Response {
|
|
9583
|
-
'status': GetSupportTickets200ResponseStatusEnum;
|
|
9584
|
-
'message': string;
|
|
9585
|
-
'data': Array<SupportTicket>;
|
|
9586
|
-
'count'?: number;
|
|
9587
|
-
}
|
|
9588
|
-
|
|
9589
|
-
export enum GetSupportTickets200ResponseStatusEnum {
|
|
9590
|
-
Ok = 'ok'
|
|
9591
|
-
}
|
|
9592
|
-
|
|
9593
9594
|
export interface GetSurveyQuestionChoiceSubQuestions200Response {
|
|
9594
9595
|
'status': GetSurveyQuestionChoiceSubQuestions200ResponseStatusEnum;
|
|
9595
9596
|
'message': string;
|
|
@@ -14485,6 +14486,66 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14485
14486
|
options: localVarRequestOptions,
|
|
14486
14487
|
};
|
|
14487
14488
|
},
|
|
14489
|
+
/**
|
|
14490
|
+
* Get Account Bookings endpoint
|
|
14491
|
+
* @summary Get Account Bookings
|
|
14492
|
+
* @param {string} accountId The account identifier
|
|
14493
|
+
* @param {number} [page] Page number
|
|
14494
|
+
* @param {number} [pageSize] Number of items per page
|
|
14495
|
+
* @param {string} [orderBy] Field to order by
|
|
14496
|
+
* @param {string} [search] Search query
|
|
14497
|
+
* @param {*} [options] Override http request option.
|
|
14498
|
+
* @throws {RequiredError}
|
|
14499
|
+
*/
|
|
14500
|
+
getAccountBookings: async (accountId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14501
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
14502
|
+
assertParamExists('getAccountBookings', 'accountId', accountId)
|
|
14503
|
+
const localVarPath = `/accounts/{accountId}/bookings`
|
|
14504
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
14505
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14506
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14507
|
+
let baseOptions;
|
|
14508
|
+
if (configuration) {
|
|
14509
|
+
baseOptions = configuration.baseOptions;
|
|
14510
|
+
}
|
|
14511
|
+
|
|
14512
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14513
|
+
const localVarHeaderParameter = {} as any;
|
|
14514
|
+
const localVarQueryParameter = {} as any;
|
|
14515
|
+
|
|
14516
|
+
// authentication ApiKeyAuth required
|
|
14517
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
14518
|
+
|
|
14519
|
+
// authentication OrganizationId required
|
|
14520
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
14521
|
+
|
|
14522
|
+
if (page !== undefined) {
|
|
14523
|
+
localVarQueryParameter['page'] = page;
|
|
14524
|
+
}
|
|
14525
|
+
|
|
14526
|
+
if (pageSize !== undefined) {
|
|
14527
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
14528
|
+
}
|
|
14529
|
+
|
|
14530
|
+
if (orderBy !== undefined) {
|
|
14531
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
14532
|
+
}
|
|
14533
|
+
|
|
14534
|
+
if (search !== undefined) {
|
|
14535
|
+
localVarQueryParameter['search'] = search;
|
|
14536
|
+
}
|
|
14537
|
+
|
|
14538
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14539
|
+
|
|
14540
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14541
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14542
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14543
|
+
|
|
14544
|
+
return {
|
|
14545
|
+
url: toPathString(localVarUrlObj),
|
|
14546
|
+
options: localVarRequestOptions,
|
|
14547
|
+
};
|
|
14548
|
+
},
|
|
14488
14549
|
/**
|
|
14489
14550
|
* Get Account Comments endpoint
|
|
14490
14551
|
* @summary Get Account Comments
|
|
@@ -14830,6 +14891,66 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14830
14891
|
options: localVarRequestOptions,
|
|
14831
14892
|
};
|
|
14832
14893
|
},
|
|
14894
|
+
/**
|
|
14895
|
+
* Get Account Support Tickets endpoint
|
|
14896
|
+
* @summary Get Account Support Tickets
|
|
14897
|
+
* @param {string} accountId The account identifier
|
|
14898
|
+
* @param {number} [page] Page number
|
|
14899
|
+
* @param {number} [pageSize] Number of items per page
|
|
14900
|
+
* @param {string} [orderBy] Field to order by
|
|
14901
|
+
* @param {string} [search] Search query
|
|
14902
|
+
* @param {*} [options] Override http request option.
|
|
14903
|
+
* @throws {RequiredError}
|
|
14904
|
+
*/
|
|
14905
|
+
getAccountSupportTickets: async (accountId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14906
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
14907
|
+
assertParamExists('getAccountSupportTickets', 'accountId', accountId)
|
|
14908
|
+
const localVarPath = `/accounts/{accountId}/supportTickets`
|
|
14909
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
14910
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14911
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14912
|
+
let baseOptions;
|
|
14913
|
+
if (configuration) {
|
|
14914
|
+
baseOptions = configuration.baseOptions;
|
|
14915
|
+
}
|
|
14916
|
+
|
|
14917
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14918
|
+
const localVarHeaderParameter = {} as any;
|
|
14919
|
+
const localVarQueryParameter = {} as any;
|
|
14920
|
+
|
|
14921
|
+
// authentication ApiKeyAuth required
|
|
14922
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
14923
|
+
|
|
14924
|
+
// authentication OrganizationId required
|
|
14925
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
14926
|
+
|
|
14927
|
+
if (page !== undefined) {
|
|
14928
|
+
localVarQueryParameter['page'] = page;
|
|
14929
|
+
}
|
|
14930
|
+
|
|
14931
|
+
if (pageSize !== undefined) {
|
|
14932
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
14933
|
+
}
|
|
14934
|
+
|
|
14935
|
+
if (orderBy !== undefined) {
|
|
14936
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
14937
|
+
}
|
|
14938
|
+
|
|
14939
|
+
if (search !== undefined) {
|
|
14940
|
+
localVarQueryParameter['search'] = search;
|
|
14941
|
+
}
|
|
14942
|
+
|
|
14943
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
14944
|
+
|
|
14945
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14946
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14947
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14948
|
+
|
|
14949
|
+
return {
|
|
14950
|
+
url: toPathString(localVarUrlObj),
|
|
14951
|
+
options: localVarRequestOptions,
|
|
14952
|
+
};
|
|
14953
|
+
},
|
|
14833
14954
|
/**
|
|
14834
14955
|
* Get Account Threads endpoint
|
|
14835
14956
|
* @summary Get Account Threads
|
|
@@ -15258,6 +15379,23 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
15258
15379
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getAccountActivities']?.[localVarOperationServerIndex]?.url;
|
|
15259
15380
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15260
15381
|
},
|
|
15382
|
+
/**
|
|
15383
|
+
* Get Account Bookings endpoint
|
|
15384
|
+
* @summary Get Account Bookings
|
|
15385
|
+
* @param {string} accountId The account identifier
|
|
15386
|
+
* @param {number} [page] Page number
|
|
15387
|
+
* @param {number} [pageSize] Number of items per page
|
|
15388
|
+
* @param {string} [orderBy] Field to order by
|
|
15389
|
+
* @param {string} [search] Search query
|
|
15390
|
+
* @param {*} [options] Override http request option.
|
|
15391
|
+
* @throws {RequiredError}
|
|
15392
|
+
*/
|
|
15393
|
+
async getAccountBookings(accountId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountBookings200Response>> {
|
|
15394
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountBookings(accountId, page, pageSize, orderBy, search, options);
|
|
15395
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15396
|
+
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getAccountBookings']?.[localVarOperationServerIndex]?.url;
|
|
15397
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15398
|
+
},
|
|
15261
15399
|
/**
|
|
15262
15400
|
* Get Account Comments endpoint
|
|
15263
15401
|
* @summary Get Account Comments
|
|
@@ -15357,6 +15495,23 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
15357
15495
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getAccountRegistrations']?.[localVarOperationServerIndex]?.url;
|
|
15358
15496
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15359
15497
|
},
|
|
15498
|
+
/**
|
|
15499
|
+
* Get Account Support Tickets endpoint
|
|
15500
|
+
* @summary Get Account Support Tickets
|
|
15501
|
+
* @param {string} accountId The account identifier
|
|
15502
|
+
* @param {number} [page] Page number
|
|
15503
|
+
* @param {number} [pageSize] Number of items per page
|
|
15504
|
+
* @param {string} [orderBy] Field to order by
|
|
15505
|
+
* @param {string} [search] Search query
|
|
15506
|
+
* @param {*} [options] Override http request option.
|
|
15507
|
+
* @throws {RequiredError}
|
|
15508
|
+
*/
|
|
15509
|
+
async getAccountSupportTickets(accountId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountSupportTickets200Response>> {
|
|
15510
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountSupportTickets(accountId, page, pageSize, orderBy, search, options);
|
|
15511
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15512
|
+
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getAccountSupportTickets']?.[localVarOperationServerIndex]?.url;
|
|
15513
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15514
|
+
},
|
|
15360
15515
|
/**
|
|
15361
15516
|
* Get Account Threads endpoint
|
|
15362
15517
|
* @summary Get Account Threads
|
|
@@ -15527,6 +15682,16 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
15527
15682
|
getAccountActivities(requestParameters: AccountsApiGetAccountActivitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountActivities200Response> {
|
|
15528
15683
|
return localVarFp.getAccountActivities(requestParameters.accountId, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
15529
15684
|
},
|
|
15685
|
+
/**
|
|
15686
|
+
* Get Account Bookings endpoint
|
|
15687
|
+
* @summary Get Account Bookings
|
|
15688
|
+
* @param {AccountsApiGetAccountBookingsRequest} requestParameters Request parameters.
|
|
15689
|
+
* @param {*} [options] Override http request option.
|
|
15690
|
+
* @throws {RequiredError}
|
|
15691
|
+
*/
|
|
15692
|
+
getAccountBookings(requestParameters: AccountsApiGetAccountBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountBookings200Response> {
|
|
15693
|
+
return localVarFp.getAccountBookings(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
15694
|
+
},
|
|
15530
15695
|
/**
|
|
15531
15696
|
* Get Account Comments endpoint
|
|
15532
15697
|
* @summary Get Account Comments
|
|
@@ -15587,6 +15752,16 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
15587
15752
|
getAccountRegistrations(requestParameters: AccountsApiGetAccountRegistrationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountRegistrations200Response> {
|
|
15588
15753
|
return localVarFp.getAccountRegistrations(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
15589
15754
|
},
|
|
15755
|
+
/**
|
|
15756
|
+
* Get Account Support Tickets endpoint
|
|
15757
|
+
* @summary Get Account Support Tickets
|
|
15758
|
+
* @param {AccountsApiGetAccountSupportTicketsRequest} requestParameters Request parameters.
|
|
15759
|
+
* @param {*} [options] Override http request option.
|
|
15760
|
+
* @throws {RequiredError}
|
|
15761
|
+
*/
|
|
15762
|
+
getAccountSupportTickets(requestParameters: AccountsApiGetAccountSupportTicketsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountSupportTickets200Response> {
|
|
15763
|
+
return localVarFp.getAccountSupportTickets(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
15764
|
+
},
|
|
15590
15765
|
/**
|
|
15591
15766
|
* Get Account Threads endpoint
|
|
15592
15767
|
* @summary Get Account Threads
|
|
@@ -15766,6 +15941,36 @@ export interface AccountsApiGetAccountActivitiesRequest {
|
|
|
15766
15941
|
readonly search?: string
|
|
15767
15942
|
}
|
|
15768
15943
|
|
|
15944
|
+
/**
|
|
15945
|
+
* Request parameters for getAccountBookings operation in AccountsApi.
|
|
15946
|
+
*/
|
|
15947
|
+
export interface AccountsApiGetAccountBookingsRequest {
|
|
15948
|
+
/**
|
|
15949
|
+
* The account identifier
|
|
15950
|
+
*/
|
|
15951
|
+
readonly accountId: string
|
|
15952
|
+
|
|
15953
|
+
/**
|
|
15954
|
+
* Page number
|
|
15955
|
+
*/
|
|
15956
|
+
readonly page?: number
|
|
15957
|
+
|
|
15958
|
+
/**
|
|
15959
|
+
* Number of items per page
|
|
15960
|
+
*/
|
|
15961
|
+
readonly pageSize?: number
|
|
15962
|
+
|
|
15963
|
+
/**
|
|
15964
|
+
* Field to order by
|
|
15965
|
+
*/
|
|
15966
|
+
readonly orderBy?: string
|
|
15967
|
+
|
|
15968
|
+
/**
|
|
15969
|
+
* Search query
|
|
15970
|
+
*/
|
|
15971
|
+
readonly search?: string
|
|
15972
|
+
}
|
|
15973
|
+
|
|
15769
15974
|
/**
|
|
15770
15975
|
* Request parameters for getAccountComments operation in AccountsApi.
|
|
15771
15976
|
*/
|
|
@@ -15931,6 +16136,36 @@ export interface AccountsApiGetAccountRegistrationsRequest {
|
|
|
15931
16136
|
readonly search?: string
|
|
15932
16137
|
}
|
|
15933
16138
|
|
|
16139
|
+
/**
|
|
16140
|
+
* Request parameters for getAccountSupportTickets operation in AccountsApi.
|
|
16141
|
+
*/
|
|
16142
|
+
export interface AccountsApiGetAccountSupportTicketsRequest {
|
|
16143
|
+
/**
|
|
16144
|
+
* The account identifier
|
|
16145
|
+
*/
|
|
16146
|
+
readonly accountId: string
|
|
16147
|
+
|
|
16148
|
+
/**
|
|
16149
|
+
* Page number
|
|
16150
|
+
*/
|
|
16151
|
+
readonly page?: number
|
|
16152
|
+
|
|
16153
|
+
/**
|
|
16154
|
+
* Number of items per page
|
|
16155
|
+
*/
|
|
16156
|
+
readonly pageSize?: number
|
|
16157
|
+
|
|
16158
|
+
/**
|
|
16159
|
+
* Field to order by
|
|
16160
|
+
*/
|
|
16161
|
+
readonly orderBy?: string
|
|
16162
|
+
|
|
16163
|
+
/**
|
|
16164
|
+
* Search query
|
|
16165
|
+
*/
|
|
16166
|
+
readonly search?: string
|
|
16167
|
+
}
|
|
16168
|
+
|
|
15934
16169
|
/**
|
|
15935
16170
|
* Request parameters for getAccountThreads operation in AccountsApi.
|
|
15936
16171
|
*/
|
|
@@ -16113,6 +16348,17 @@ export class AccountsApi extends BaseAPI {
|
|
|
16113
16348
|
return AccountsApiFp(this.configuration).getAccountActivities(requestParameters.accountId, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
16114
16349
|
}
|
|
16115
16350
|
|
|
16351
|
+
/**
|
|
16352
|
+
* Get Account Bookings endpoint
|
|
16353
|
+
* @summary Get Account Bookings
|
|
16354
|
+
* @param {AccountsApiGetAccountBookingsRequest} requestParameters Request parameters.
|
|
16355
|
+
* @param {*} [options] Override http request option.
|
|
16356
|
+
* @throws {RequiredError}
|
|
16357
|
+
*/
|
|
16358
|
+
public getAccountBookings(requestParameters: AccountsApiGetAccountBookingsRequest, options?: RawAxiosRequestConfig) {
|
|
16359
|
+
return AccountsApiFp(this.configuration).getAccountBookings(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
16360
|
+
}
|
|
16361
|
+
|
|
16116
16362
|
/**
|
|
16117
16363
|
* Get Account Comments endpoint
|
|
16118
16364
|
* @summary Get Account Comments
|
|
@@ -16179,6 +16425,17 @@ export class AccountsApi extends BaseAPI {
|
|
|
16179
16425
|
return AccountsApiFp(this.configuration).getAccountRegistrations(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
16180
16426
|
}
|
|
16181
16427
|
|
|
16428
|
+
/**
|
|
16429
|
+
* Get Account Support Tickets endpoint
|
|
16430
|
+
* @summary Get Account Support Tickets
|
|
16431
|
+
* @param {AccountsApiGetAccountSupportTicketsRequest} requestParameters Request parameters.
|
|
16432
|
+
* @param {*} [options] Override http request option.
|
|
16433
|
+
* @throws {RequiredError}
|
|
16434
|
+
*/
|
|
16435
|
+
public getAccountSupportTickets(requestParameters: AccountsApiGetAccountSupportTicketsRequest, options?: RawAxiosRequestConfig) {
|
|
16436
|
+
return AccountsApiFp(this.configuration).getAccountSupportTickets(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
16437
|
+
}
|
|
16438
|
+
|
|
16182
16439
|
/**
|
|
16183
16440
|
* Get Account Threads endpoint
|
|
16184
16441
|
* @summary Get Account Threads
|
|
@@ -26209,7 +26466,7 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
26209
26466
|
* @param {*} [options] Override http request option.
|
|
26210
26467
|
* @throws {RequiredError}
|
|
26211
26468
|
*/
|
|
26212
|
-
async getBookingPlaceBookings(placeId: string, past?: boolean, status?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
26469
|
+
async getBookingPlaceBookings(placeId: string, past?: boolean, status?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountBookings200Response>> {
|
|
26213
26470
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingPlaceBookings(placeId, past, status, page, pageSize, orderBy, search, options);
|
|
26214
26471
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26215
26472
|
const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingPlaceBookings']?.[localVarOperationServerIndex]?.url;
|
|
@@ -26383,7 +26640,7 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
26383
26640
|
* @param {*} [options] Override http request option.
|
|
26384
26641
|
* @throws {RequiredError}
|
|
26385
26642
|
*/
|
|
26386
|
-
async getBookingSpaceBookings(placeId: string, spaceId: string, past?: boolean, status?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
26643
|
+
async getBookingSpaceBookings(placeId: string, spaceId: string, past?: boolean, status?: PurchaseStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountBookings200Response>> {
|
|
26387
26644
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingSpaceBookings(placeId, spaceId, past, status, page, pageSize, orderBy, search, options);
|
|
26388
26645
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26389
26646
|
const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingSpaceBookings']?.[localVarOperationServerIndex]?.url;
|
|
@@ -26624,7 +26881,7 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
26624
26881
|
* @param {*} [options] Override http request option.
|
|
26625
26882
|
* @throws {RequiredError}
|
|
26626
26883
|
*/
|
|
26627
|
-
getBookingPlaceBookings(requestParameters: BookingsApiGetBookingPlaceBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
26884
|
+
getBookingPlaceBookings(requestParameters: BookingsApiGetBookingPlaceBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountBookings200Response> {
|
|
26628
26885
|
return localVarFp.getBookingPlaceBookings(requestParameters.placeId, requestParameters.past, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
26629
26886
|
},
|
|
26630
26887
|
/**
|
|
@@ -26734,7 +26991,7 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
26734
26991
|
* @param {*} [options] Override http request option.
|
|
26735
26992
|
* @throws {RequiredError}
|
|
26736
26993
|
*/
|
|
26737
|
-
getBookingSpaceBookings(requestParameters: BookingsApiGetBookingSpaceBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
26994
|
+
getBookingSpaceBookings(requestParameters: BookingsApiGetBookingSpaceBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountBookings200Response> {
|
|
26738
26995
|
return localVarFp.getBookingSpaceBookings(requestParameters.placeId, requestParameters.spaceId, requestParameters.past, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
26739
26996
|
},
|
|
26740
26997
|
/**
|
|
@@ -138269,7 +138526,7 @@ export const SupportApiFp = function(configuration?: Configuration) {
|
|
|
138269
138526
|
* @param {*} [options] Override http request option.
|
|
138270
138527
|
* @throws {RequiredError}
|
|
138271
138528
|
*/
|
|
138272
|
-
async getSupportTickets(type?: string, state?: string, assignment?: GetSupportTicketsAssignmentEnum, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
138529
|
+
async getSupportTickets(type?: string, state?: string, assignment?: GetSupportTicketsAssignmentEnum, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountSupportTickets200Response>> {
|
|
138273
138530
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSupportTickets(type, state, assignment, page, pageSize, orderBy, search, options);
|
|
138274
138531
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
138275
138532
|
const localVarOperationServerBasePath = operationServerMap['SupportApi.getSupportTickets']?.[localVarOperationServerIndex]?.url;
|
|
@@ -138355,7 +138612,7 @@ export const SupportApiFactory = function (configuration?: Configuration, basePa
|
|
|
138355
138612
|
* @param {*} [options] Override http request option.
|
|
138356
138613
|
* @throws {RequiredError}
|
|
138357
138614
|
*/
|
|
138358
|
-
getSupportTickets(requestParameters: SupportApiGetSupportTicketsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
138615
|
+
getSupportTickets(requestParameters: SupportApiGetSupportTicketsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountSupportTickets200Response> {
|
|
138359
138616
|
return localVarFp.getSupportTickets(requestParameters.type, requestParameters.state, requestParameters.assignment, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
138360
138617
|
},
|
|
138361
138618
|
/**
|