@connectedxm/admin-sdk 6.25.2 → 6.26.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 +4 -0
- package/README.md +7 -0
- package/api.ts +290 -0
- package/dist/api.d.ts +152 -0
- package/dist/api.js +247 -23
- package/dist/esm/api.d.ts +152 -0
- package/dist/esm/api.js +224 -0
- package/docs/CustomReportSchedule.md +24 -0
- package/docs/CustomReportScheduleInputs.md +24 -0
- package/docs/GetCustomReportSchedule200Response.md +24 -0
- package/docs/ReportsApi.md +160 -0
- package/docs/UpsertCustomReportSchedule200Response.md +24 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -449,6 +449,8 @@ docs/CustomModuleUpdateInputs.md
|
|
|
449
449
|
docs/CustomReport.md
|
|
450
450
|
docs/CustomReportCreateInputs.md
|
|
451
451
|
docs/CustomReportExportInputs.md
|
|
452
|
+
docs/CustomReportSchedule.md
|
|
453
|
+
docs/CustomReportScheduleInputs.md
|
|
452
454
|
docs/CustomReportUpdateInputs.md
|
|
453
455
|
docs/Dashboard.md
|
|
454
456
|
docs/DashboardCreateInputs.md
|
|
@@ -782,6 +784,7 @@ docs/GetCustomModuleTranslation200Response.md
|
|
|
782
784
|
docs/GetCustomModuleTranslations200Response.md
|
|
783
785
|
docs/GetCustomModules200Response.md
|
|
784
786
|
docs/GetCustomReport200Response.md
|
|
787
|
+
docs/GetCustomReportSchedule200Response.md
|
|
785
788
|
docs/GetCustomReportUsers200Response.md
|
|
786
789
|
docs/GetCustomReports200Response.md
|
|
787
790
|
docs/GetDashboardAttributes200Response.md
|
|
@@ -1486,6 +1489,7 @@ docs/UpdateSeriesQuestionTranslation200Response.md
|
|
|
1486
1489
|
docs/UpdateThreadMember200Response.md
|
|
1487
1490
|
docs/UploadFile200Response.md
|
|
1488
1491
|
docs/UploadVideoCaptions200Response.md
|
|
1492
|
+
docs/UpsertCustomReportSchedule200Response.md
|
|
1489
1493
|
docs/UpsertLinkPreview200Response.md
|
|
1490
1494
|
docs/User.md
|
|
1491
1495
|
docs/UserApiKey.md
|
package/README.md
CHANGED
|
@@ -1001,12 +1001,15 @@ Class | Method | HTTP request | Description
|
|
|
1001
1001
|
*PushDevicesApi* | [**getPushDevices**](docs/PushDevicesApi.md#getpushdevices) | **GET** /push-devices | Get Push Devices
|
|
1002
1002
|
*ReportsApi* | [**createCustomReport**](docs/ReportsApi.md#createcustomreport) | **POST** /reports/{standard} | Create Custom Report
|
|
1003
1003
|
*ReportsApi* | [**deleteCustomReport**](docs/ReportsApi.md#deletecustomreport) | **DELETE** /reports/custom/{reportId} | Delete Custom Report
|
|
1004
|
+
*ReportsApi* | [**deleteCustomReportSchedule**](docs/ReportsApi.md#deletecustomreportschedule) | **DELETE** /reports/custom/{reportId}/schedule | Delete Custom Report Schedule
|
|
1004
1005
|
*ReportsApi* | [**exportCustomReport**](docs/ReportsApi.md#exportcustomreport) | **POST** /reports/custom/{reportId}/export | Export Custom Report
|
|
1005
1006
|
*ReportsApi* | [**getCustomReport**](docs/ReportsApi.md#getcustomreport) | **GET** /reports/custom/{reportId} | Get Custom Report
|
|
1007
|
+
*ReportsApi* | [**getCustomReportSchedule**](docs/ReportsApi.md#getcustomreportschedule) | **GET** /reports/custom/{reportId}/schedule | Get Custom Report Schedule
|
|
1006
1008
|
*ReportsApi* | [**getCustomReports**](docs/ReportsApi.md#getcustomreports) | **GET** /reports/custom | Get Custom Reports
|
|
1007
1009
|
*ReportsApi* | [**getReport**](docs/ReportsApi.md#getreport) | **GET** /reports/{standard} | Get Report
|
|
1008
1010
|
*ReportsApi* | [**getReports**](docs/ReportsApi.md#getreports) | **GET** /reports | Get Reports
|
|
1009
1011
|
*ReportsApi* | [**updateCustomReport**](docs/ReportsApi.md#updatecustomreport) | **PUT** /reports/custom/{reportId} | Update Custom Report
|
|
1012
|
+
*ReportsApi* | [**upsertCustomReportSchedule**](docs/ReportsApi.md#upsertcustomreportschedule) | **POST** /reports/custom/{reportId}/schedule | Upsert Custom Report Schedule
|
|
1010
1013
|
*ReportsUsersApi* | [**addCustomReportUser**](docs/ReportsUsersApi.md#addcustomreportuser) | **POST** /reports/custom/{reportId}/users | Add Custom Report User
|
|
1011
1014
|
*ReportsUsersApi* | [**getCustomReportUsers**](docs/ReportsUsersApi.md#getcustomreportusers) | **GET** /reports/custom/{reportId}/users | Get Custom Report Users
|
|
1012
1015
|
*ReportsUsersApi* | [**removeCustomReportUser**](docs/ReportsUsersApi.md#removecustomreportuser) | **DELETE** /reports/custom/{reportId}/users/{userId} | Remove Custom Report User
|
|
@@ -1655,6 +1658,8 @@ Class | Method | HTTP request | Description
|
|
|
1655
1658
|
- [CustomReport](docs/CustomReport.md)
|
|
1656
1659
|
- [CustomReportCreateInputs](docs/CustomReportCreateInputs.md)
|
|
1657
1660
|
- [CustomReportExportInputs](docs/CustomReportExportInputs.md)
|
|
1661
|
+
- [CustomReportSchedule](docs/CustomReportSchedule.md)
|
|
1662
|
+
- [CustomReportScheduleInputs](docs/CustomReportScheduleInputs.md)
|
|
1658
1663
|
- [CustomReportUpdateInputs](docs/CustomReportUpdateInputs.md)
|
|
1659
1664
|
- [Dashboard](docs/Dashboard.md)
|
|
1660
1665
|
- [DashboardCreateInputs](docs/DashboardCreateInputs.md)
|
|
@@ -1912,6 +1917,7 @@ Class | Method | HTTP request | Description
|
|
|
1912
1917
|
- [GetCustomModuleTranslations200Response](docs/GetCustomModuleTranslations200Response.md)
|
|
1913
1918
|
- [GetCustomModules200Response](docs/GetCustomModules200Response.md)
|
|
1914
1919
|
- [GetCustomReport200Response](docs/GetCustomReport200Response.md)
|
|
1920
|
+
- [GetCustomReportSchedule200Response](docs/GetCustomReportSchedule200Response.md)
|
|
1915
1921
|
- [GetCustomReportUsers200Response](docs/GetCustomReportUsers200Response.md)
|
|
1916
1922
|
- [GetCustomReports200Response](docs/GetCustomReports200Response.md)
|
|
1917
1923
|
- [GetDashboardAttributes200Response](docs/GetDashboardAttributes200Response.md)
|
|
@@ -2531,6 +2537,7 @@ Class | Method | HTTP request | Description
|
|
|
2531
2537
|
- [UpdateThreadMember200Response](docs/UpdateThreadMember200Response.md)
|
|
2532
2538
|
- [UploadFile200Response](docs/UploadFile200Response.md)
|
|
2533
2539
|
- [UploadVideoCaptions200Response](docs/UploadVideoCaptions200Response.md)
|
|
2540
|
+
- [UpsertCustomReportSchedule200Response](docs/UpsertCustomReportSchedule200Response.md)
|
|
2534
2541
|
- [UpsertLinkPreview200Response](docs/UpsertLinkPreview200Response.md)
|
|
2535
2542
|
- [User](docs/User.md)
|
|
2536
2543
|
- [UserApiKey](docs/UserApiKey.md)
|
package/api.ts
CHANGED
|
@@ -4531,6 +4531,16 @@ export interface CustomReportCreateInputs {
|
|
|
4531
4531
|
export interface CustomReportExportInputs {
|
|
4532
4532
|
'email': string;
|
|
4533
4533
|
}
|
|
4534
|
+
export interface CustomReportSchedule {
|
|
4535
|
+
'scheduleExpression': string | null;
|
|
4536
|
+
'scheduleTimezone': string | null;
|
|
4537
|
+
'scheduleEmails': Array<string> | null;
|
|
4538
|
+
}
|
|
4539
|
+
export interface CustomReportScheduleInputs {
|
|
4540
|
+
'scheduleExpression'?: string | null;
|
|
4541
|
+
'scheduleTimezone'?: string | null;
|
|
4542
|
+
'scheduleEmails'?: Array<string> | null;
|
|
4543
|
+
}
|
|
4534
4544
|
export interface CustomReportUpdateInputs {
|
|
4535
4545
|
'name'?: string | null;
|
|
4536
4546
|
'description'?: string | null;
|
|
@@ -7279,6 +7289,16 @@ export enum GetCustomReport200ResponseStatusEnum {
|
|
|
7279
7289
|
Ok = 'ok'
|
|
7280
7290
|
}
|
|
7281
7291
|
|
|
7292
|
+
export interface GetCustomReportSchedule200Response {
|
|
7293
|
+
'status': GetCustomReportSchedule200ResponseStatusEnum;
|
|
7294
|
+
'message': string;
|
|
7295
|
+
'data': CustomReportSchedule | null;
|
|
7296
|
+
}
|
|
7297
|
+
|
|
7298
|
+
export enum GetCustomReportSchedule200ResponseStatusEnum {
|
|
7299
|
+
Ok = 'ok'
|
|
7300
|
+
}
|
|
7301
|
+
|
|
7282
7302
|
export interface GetCustomReportUsers200Response {
|
|
7283
7303
|
'status': GetCustomReportUsers200ResponseStatusEnum;
|
|
7284
7304
|
'message': string;
|
|
@@ -14014,6 +14034,16 @@ export enum UploadVideoCaptions200ResponseStatusEnum {
|
|
|
14014
14034
|
Ok = 'ok'
|
|
14015
14035
|
}
|
|
14016
14036
|
|
|
14037
|
+
export interface UpsertCustomReportSchedule200Response {
|
|
14038
|
+
'status': UpsertCustomReportSchedule200ResponseStatusEnum;
|
|
14039
|
+
'message': string;
|
|
14040
|
+
'data': CustomReportSchedule;
|
|
14041
|
+
}
|
|
14042
|
+
|
|
14043
|
+
export enum UpsertCustomReportSchedule200ResponseStatusEnum {
|
|
14044
|
+
Ok = 'ok'
|
|
14045
|
+
}
|
|
14046
|
+
|
|
14017
14047
|
export interface UpsertLinkPreview200Response {
|
|
14018
14048
|
'status': UpsertLinkPreview200ResponseStatusEnum;
|
|
14019
14049
|
'message': string;
|
|
@@ -122731,6 +122761,46 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
122731
122761
|
options: localVarRequestOptions,
|
|
122732
122762
|
};
|
|
122733
122763
|
},
|
|
122764
|
+
/**
|
|
122765
|
+
* Delete Custom Report Schedule endpoint
|
|
122766
|
+
* @summary Delete Custom Report Schedule
|
|
122767
|
+
* @param {string} reportId The report identifier
|
|
122768
|
+
* @param {*} [options] Override http request option.
|
|
122769
|
+
* @throws {RequiredError}
|
|
122770
|
+
*/
|
|
122771
|
+
deleteCustomReportSchedule: async (reportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
122772
|
+
// verify required parameter 'reportId' is not null or undefined
|
|
122773
|
+
assertParamExists('deleteCustomReportSchedule', 'reportId', reportId)
|
|
122774
|
+
const localVarPath = `/reports/custom/{reportId}/schedule`
|
|
122775
|
+
.replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
|
|
122776
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
122777
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
122778
|
+
let baseOptions;
|
|
122779
|
+
if (configuration) {
|
|
122780
|
+
baseOptions = configuration.baseOptions;
|
|
122781
|
+
}
|
|
122782
|
+
|
|
122783
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
122784
|
+
const localVarHeaderParameter = {} as any;
|
|
122785
|
+
const localVarQueryParameter = {} as any;
|
|
122786
|
+
|
|
122787
|
+
// authentication ApiKeyAuth required
|
|
122788
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
122789
|
+
|
|
122790
|
+
// authentication OrganizationId required
|
|
122791
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
122792
|
+
|
|
122793
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
122794
|
+
|
|
122795
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
122796
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
122797
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
122798
|
+
|
|
122799
|
+
return {
|
|
122800
|
+
url: toPathString(localVarUrlObj),
|
|
122801
|
+
options: localVarRequestOptions,
|
|
122802
|
+
};
|
|
122803
|
+
},
|
|
122734
122804
|
/**
|
|
122735
122805
|
* Export Custom Report endpoint
|
|
122736
122806
|
* @summary Export Custom Report
|
|
@@ -122816,6 +122886,46 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
122816
122886
|
options: localVarRequestOptions,
|
|
122817
122887
|
};
|
|
122818
122888
|
},
|
|
122889
|
+
/**
|
|
122890
|
+
* Get Custom Report Schedule endpoint
|
|
122891
|
+
* @summary Get Custom Report Schedule
|
|
122892
|
+
* @param {string} reportId The report identifier
|
|
122893
|
+
* @param {*} [options] Override http request option.
|
|
122894
|
+
* @throws {RequiredError}
|
|
122895
|
+
*/
|
|
122896
|
+
getCustomReportSchedule: async (reportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
122897
|
+
// verify required parameter 'reportId' is not null or undefined
|
|
122898
|
+
assertParamExists('getCustomReportSchedule', 'reportId', reportId)
|
|
122899
|
+
const localVarPath = `/reports/custom/{reportId}/schedule`
|
|
122900
|
+
.replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
|
|
122901
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
122902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
122903
|
+
let baseOptions;
|
|
122904
|
+
if (configuration) {
|
|
122905
|
+
baseOptions = configuration.baseOptions;
|
|
122906
|
+
}
|
|
122907
|
+
|
|
122908
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
122909
|
+
const localVarHeaderParameter = {} as any;
|
|
122910
|
+
const localVarQueryParameter = {} as any;
|
|
122911
|
+
|
|
122912
|
+
// authentication ApiKeyAuth required
|
|
122913
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
122914
|
+
|
|
122915
|
+
// authentication OrganizationId required
|
|
122916
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
122917
|
+
|
|
122918
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
122919
|
+
|
|
122920
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
122921
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
122922
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
122923
|
+
|
|
122924
|
+
return {
|
|
122925
|
+
url: toPathString(localVarUrlObj),
|
|
122926
|
+
options: localVarRequestOptions,
|
|
122927
|
+
};
|
|
122928
|
+
},
|
|
122819
122929
|
/**
|
|
122820
122930
|
* Get Custom Reports endpoint
|
|
122821
122931
|
* @summary Get Custom Reports
|
|
@@ -123013,6 +123123,51 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
123013
123123
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
123014
123124
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
123015
123125
|
|
|
123126
|
+
return {
|
|
123127
|
+
url: toPathString(localVarUrlObj),
|
|
123128
|
+
options: localVarRequestOptions,
|
|
123129
|
+
};
|
|
123130
|
+
},
|
|
123131
|
+
/**
|
|
123132
|
+
* Upsert Custom Report Schedule endpoint
|
|
123133
|
+
* @summary Upsert Custom Report Schedule
|
|
123134
|
+
* @param {string} reportId The report identifier
|
|
123135
|
+
* @param {CustomReportScheduleInputs} customReportScheduleInputs
|
|
123136
|
+
* @param {*} [options] Override http request option.
|
|
123137
|
+
* @throws {RequiredError}
|
|
123138
|
+
*/
|
|
123139
|
+
upsertCustomReportSchedule: async (reportId: string, customReportScheduleInputs: CustomReportScheduleInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
123140
|
+
// verify required parameter 'reportId' is not null or undefined
|
|
123141
|
+
assertParamExists('upsertCustomReportSchedule', 'reportId', reportId)
|
|
123142
|
+
// verify required parameter 'customReportScheduleInputs' is not null or undefined
|
|
123143
|
+
assertParamExists('upsertCustomReportSchedule', 'customReportScheduleInputs', customReportScheduleInputs)
|
|
123144
|
+
const localVarPath = `/reports/custom/{reportId}/schedule`
|
|
123145
|
+
.replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
|
|
123146
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
123147
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
123148
|
+
let baseOptions;
|
|
123149
|
+
if (configuration) {
|
|
123150
|
+
baseOptions = configuration.baseOptions;
|
|
123151
|
+
}
|
|
123152
|
+
|
|
123153
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
123154
|
+
const localVarHeaderParameter = {} as any;
|
|
123155
|
+
const localVarQueryParameter = {} as any;
|
|
123156
|
+
|
|
123157
|
+
// authentication ApiKeyAuth required
|
|
123158
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
123159
|
+
|
|
123160
|
+
// authentication OrganizationId required
|
|
123161
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
123162
|
+
|
|
123163
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
123164
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
123165
|
+
|
|
123166
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
123167
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
123168
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
123169
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customReportScheduleInputs, localVarRequestOptions, configuration)
|
|
123170
|
+
|
|
123016
123171
|
return {
|
|
123017
123172
|
url: toPathString(localVarUrlObj),
|
|
123018
123173
|
options: localVarRequestOptions,
|
|
@@ -123054,6 +123209,19 @@ export const ReportsApiFp = function(configuration?: Configuration) {
|
|
|
123054
123209
|
const localVarOperationServerBasePath = operationServerMap['ReportsApi.deleteCustomReport']?.[localVarOperationServerIndex]?.url;
|
|
123055
123210
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
123056
123211
|
},
|
|
123212
|
+
/**
|
|
123213
|
+
* Delete Custom Report Schedule endpoint
|
|
123214
|
+
* @summary Delete Custom Report Schedule
|
|
123215
|
+
* @param {string} reportId The report identifier
|
|
123216
|
+
* @param {*} [options] Override http request option.
|
|
123217
|
+
* @throws {RequiredError}
|
|
123218
|
+
*/
|
|
123219
|
+
async deleteCustomReportSchedule(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomReportSchedule200Response>> {
|
|
123220
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCustomReportSchedule(reportId, options);
|
|
123221
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
123222
|
+
const localVarOperationServerBasePath = operationServerMap['ReportsApi.deleteCustomReportSchedule']?.[localVarOperationServerIndex]?.url;
|
|
123223
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
123224
|
+
},
|
|
123057
123225
|
/**
|
|
123058
123226
|
* Export Custom Report endpoint
|
|
123059
123227
|
* @summary Export Custom Report
|
|
@@ -123081,6 +123249,19 @@ export const ReportsApiFp = function(configuration?: Configuration) {
|
|
|
123081
123249
|
const localVarOperationServerBasePath = operationServerMap['ReportsApi.getCustomReport']?.[localVarOperationServerIndex]?.url;
|
|
123082
123250
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
123083
123251
|
},
|
|
123252
|
+
/**
|
|
123253
|
+
* Get Custom Report Schedule endpoint
|
|
123254
|
+
* @summary Get Custom Report Schedule
|
|
123255
|
+
* @param {string} reportId The report identifier
|
|
123256
|
+
* @param {*} [options] Override http request option.
|
|
123257
|
+
* @throws {RequiredError}
|
|
123258
|
+
*/
|
|
123259
|
+
async getCustomReportSchedule(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomReportSchedule200Response>> {
|
|
123260
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomReportSchedule(reportId, options);
|
|
123261
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
123262
|
+
const localVarOperationServerBasePath = operationServerMap['ReportsApi.getCustomReportSchedule']?.[localVarOperationServerIndex]?.url;
|
|
123263
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
123264
|
+
},
|
|
123084
123265
|
/**
|
|
123085
123266
|
* Get Custom Reports endpoint
|
|
123086
123267
|
* @summary Get Custom Reports
|
|
@@ -123139,6 +123320,20 @@ export const ReportsApiFp = function(configuration?: Configuration) {
|
|
|
123139
123320
|
const localVarOperationServerBasePath = operationServerMap['ReportsApi.updateCustomReport']?.[localVarOperationServerIndex]?.url;
|
|
123140
123321
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
123141
123322
|
},
|
|
123323
|
+
/**
|
|
123324
|
+
* Upsert Custom Report Schedule endpoint
|
|
123325
|
+
* @summary Upsert Custom Report Schedule
|
|
123326
|
+
* @param {string} reportId The report identifier
|
|
123327
|
+
* @param {CustomReportScheduleInputs} customReportScheduleInputs
|
|
123328
|
+
* @param {*} [options] Override http request option.
|
|
123329
|
+
* @throws {RequiredError}
|
|
123330
|
+
*/
|
|
123331
|
+
async upsertCustomReportSchedule(reportId: string, customReportScheduleInputs: CustomReportScheduleInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpsertCustomReportSchedule200Response>> {
|
|
123332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upsertCustomReportSchedule(reportId, customReportScheduleInputs, options);
|
|
123333
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
123334
|
+
const localVarOperationServerBasePath = operationServerMap['ReportsApi.upsertCustomReportSchedule']?.[localVarOperationServerIndex]?.url;
|
|
123335
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
123336
|
+
},
|
|
123142
123337
|
}
|
|
123143
123338
|
};
|
|
123144
123339
|
|
|
@@ -123168,6 +123363,16 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
|
|
|
123168
123363
|
deleteCustomReport(requestParameters: ReportsApiDeleteCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
123169
123364
|
return localVarFp.deleteCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
|
|
123170
123365
|
},
|
|
123366
|
+
/**
|
|
123367
|
+
* Delete Custom Report Schedule endpoint
|
|
123368
|
+
* @summary Delete Custom Report Schedule
|
|
123369
|
+
* @param {ReportsApiDeleteCustomReportScheduleRequest} requestParameters Request parameters.
|
|
123370
|
+
* @param {*} [options] Override http request option.
|
|
123371
|
+
* @throws {RequiredError}
|
|
123372
|
+
*/
|
|
123373
|
+
deleteCustomReportSchedule(requestParameters: ReportsApiDeleteCustomReportScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCustomReportSchedule200Response> {
|
|
123374
|
+
return localVarFp.deleteCustomReportSchedule(requestParameters.reportId, options).then((request) => request(axios, basePath));
|
|
123375
|
+
},
|
|
123171
123376
|
/**
|
|
123172
123377
|
* Export Custom Report endpoint
|
|
123173
123378
|
* @summary Export Custom Report
|
|
@@ -123188,6 +123393,16 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
|
|
|
123188
123393
|
getCustomReport(requestParameters: ReportsApiGetCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCustomReport200Response> {
|
|
123189
123394
|
return localVarFp.getCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
|
|
123190
123395
|
},
|
|
123396
|
+
/**
|
|
123397
|
+
* Get Custom Report Schedule endpoint
|
|
123398
|
+
* @summary Get Custom Report Schedule
|
|
123399
|
+
* @param {ReportsApiGetCustomReportScheduleRequest} requestParameters Request parameters.
|
|
123400
|
+
* @param {*} [options] Override http request option.
|
|
123401
|
+
* @throws {RequiredError}
|
|
123402
|
+
*/
|
|
123403
|
+
getCustomReportSchedule(requestParameters: ReportsApiGetCustomReportScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCustomReportSchedule200Response> {
|
|
123404
|
+
return localVarFp.getCustomReportSchedule(requestParameters.reportId, options).then((request) => request(axios, basePath));
|
|
123405
|
+
},
|
|
123191
123406
|
/**
|
|
123192
123407
|
* Get Custom Reports endpoint
|
|
123193
123408
|
* @summary Get Custom Reports
|
|
@@ -123228,6 +123443,16 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
|
|
|
123228
123443
|
updateCustomReport(requestParameters: ReportsApiUpdateCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCustomReport200Response> {
|
|
123229
123444
|
return localVarFp.updateCustomReport(requestParameters.reportId, requestParameters.report, options).then((request) => request(axios, basePath));
|
|
123230
123445
|
},
|
|
123446
|
+
/**
|
|
123447
|
+
* Upsert Custom Report Schedule endpoint
|
|
123448
|
+
* @summary Upsert Custom Report Schedule
|
|
123449
|
+
* @param {ReportsApiUpsertCustomReportScheduleRequest} requestParameters Request parameters.
|
|
123450
|
+
* @param {*} [options] Override http request option.
|
|
123451
|
+
* @throws {RequiredError}
|
|
123452
|
+
*/
|
|
123453
|
+
upsertCustomReportSchedule(requestParameters: ReportsApiUpsertCustomReportScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpsertCustomReportSchedule200Response> {
|
|
123454
|
+
return localVarFp.upsertCustomReportSchedule(requestParameters.reportId, requestParameters.customReportScheduleInputs, options).then((request) => request(axios, basePath));
|
|
123455
|
+
},
|
|
123231
123456
|
};
|
|
123232
123457
|
};
|
|
123233
123458
|
|
|
@@ -123253,6 +123478,16 @@ export interface ReportsApiDeleteCustomReportRequest {
|
|
|
123253
123478
|
readonly reportId: string
|
|
123254
123479
|
}
|
|
123255
123480
|
|
|
123481
|
+
/**
|
|
123482
|
+
* Request parameters for deleteCustomReportSchedule operation in ReportsApi.
|
|
123483
|
+
*/
|
|
123484
|
+
export interface ReportsApiDeleteCustomReportScheduleRequest {
|
|
123485
|
+
/**
|
|
123486
|
+
* The report identifier
|
|
123487
|
+
*/
|
|
123488
|
+
readonly reportId: string
|
|
123489
|
+
}
|
|
123490
|
+
|
|
123256
123491
|
/**
|
|
123257
123492
|
* Request parameters for exportCustomReport operation in ReportsApi.
|
|
123258
123493
|
*/
|
|
@@ -123275,6 +123510,16 @@ export interface ReportsApiGetCustomReportRequest {
|
|
|
123275
123510
|
readonly reportId: string
|
|
123276
123511
|
}
|
|
123277
123512
|
|
|
123513
|
+
/**
|
|
123514
|
+
* Request parameters for getCustomReportSchedule operation in ReportsApi.
|
|
123515
|
+
*/
|
|
123516
|
+
export interface ReportsApiGetCustomReportScheduleRequest {
|
|
123517
|
+
/**
|
|
123518
|
+
* The report identifier
|
|
123519
|
+
*/
|
|
123520
|
+
readonly reportId: string
|
|
123521
|
+
}
|
|
123522
|
+
|
|
123278
123523
|
/**
|
|
123279
123524
|
* Request parameters for getCustomReports operation in ReportsApi.
|
|
123280
123525
|
*/
|
|
@@ -123345,6 +123590,18 @@ export interface ReportsApiUpdateCustomReportRequest {
|
|
|
123345
123590
|
readonly report: CustomReportUpdateInputs
|
|
123346
123591
|
}
|
|
123347
123592
|
|
|
123593
|
+
/**
|
|
123594
|
+
* Request parameters for upsertCustomReportSchedule operation in ReportsApi.
|
|
123595
|
+
*/
|
|
123596
|
+
export interface ReportsApiUpsertCustomReportScheduleRequest {
|
|
123597
|
+
/**
|
|
123598
|
+
* The report identifier
|
|
123599
|
+
*/
|
|
123600
|
+
readonly reportId: string
|
|
123601
|
+
|
|
123602
|
+
readonly customReportScheduleInputs: CustomReportScheduleInputs
|
|
123603
|
+
}
|
|
123604
|
+
|
|
123348
123605
|
/**
|
|
123349
123606
|
* ReportsApi - object-oriented interface
|
|
123350
123607
|
*/
|
|
@@ -123371,6 +123628,17 @@ export class ReportsApi extends BaseAPI {
|
|
|
123371
123628
|
return ReportsApiFp(this.configuration).deleteCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
|
|
123372
123629
|
}
|
|
123373
123630
|
|
|
123631
|
+
/**
|
|
123632
|
+
* Delete Custom Report Schedule endpoint
|
|
123633
|
+
* @summary Delete Custom Report Schedule
|
|
123634
|
+
* @param {ReportsApiDeleteCustomReportScheduleRequest} requestParameters Request parameters.
|
|
123635
|
+
* @param {*} [options] Override http request option.
|
|
123636
|
+
* @throws {RequiredError}
|
|
123637
|
+
*/
|
|
123638
|
+
public deleteCustomReportSchedule(requestParameters: ReportsApiDeleteCustomReportScheduleRequest, options?: RawAxiosRequestConfig) {
|
|
123639
|
+
return ReportsApiFp(this.configuration).deleteCustomReportSchedule(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
|
|
123640
|
+
}
|
|
123641
|
+
|
|
123374
123642
|
/**
|
|
123375
123643
|
* Export Custom Report endpoint
|
|
123376
123644
|
* @summary Export Custom Report
|
|
@@ -123393,6 +123661,17 @@ export class ReportsApi extends BaseAPI {
|
|
|
123393
123661
|
return ReportsApiFp(this.configuration).getCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
|
|
123394
123662
|
}
|
|
123395
123663
|
|
|
123664
|
+
/**
|
|
123665
|
+
* Get Custom Report Schedule endpoint
|
|
123666
|
+
* @summary Get Custom Report Schedule
|
|
123667
|
+
* @param {ReportsApiGetCustomReportScheduleRequest} requestParameters Request parameters.
|
|
123668
|
+
* @param {*} [options] Override http request option.
|
|
123669
|
+
* @throws {RequiredError}
|
|
123670
|
+
*/
|
|
123671
|
+
public getCustomReportSchedule(requestParameters: ReportsApiGetCustomReportScheduleRequest, options?: RawAxiosRequestConfig) {
|
|
123672
|
+
return ReportsApiFp(this.configuration).getCustomReportSchedule(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
|
|
123673
|
+
}
|
|
123674
|
+
|
|
123396
123675
|
/**
|
|
123397
123676
|
* Get Custom Reports endpoint
|
|
123398
123677
|
* @summary Get Custom Reports
|
|
@@ -123436,6 +123715,17 @@ export class ReportsApi extends BaseAPI {
|
|
|
123436
123715
|
public updateCustomReport(requestParameters: ReportsApiUpdateCustomReportRequest, options?: RawAxiosRequestConfig) {
|
|
123437
123716
|
return ReportsApiFp(this.configuration).updateCustomReport(requestParameters.reportId, requestParameters.report, options).then((request) => request(this.axios, this.basePath));
|
|
123438
123717
|
}
|
|
123718
|
+
|
|
123719
|
+
/**
|
|
123720
|
+
* Upsert Custom Report Schedule endpoint
|
|
123721
|
+
* @summary Upsert Custom Report Schedule
|
|
123722
|
+
* @param {ReportsApiUpsertCustomReportScheduleRequest} requestParameters Request parameters.
|
|
123723
|
+
* @param {*} [options] Override http request option.
|
|
123724
|
+
* @throws {RequiredError}
|
|
123725
|
+
*/
|
|
123726
|
+
public upsertCustomReportSchedule(requestParameters: ReportsApiUpsertCustomReportScheduleRequest, options?: RawAxiosRequestConfig) {
|
|
123727
|
+
return ReportsApiFp(this.configuration).upsertCustomReportSchedule(requestParameters.reportId, requestParameters.customReportScheduleInputs, options).then((request) => request(this.axios, this.basePath));
|
|
123728
|
+
}
|
|
123439
123729
|
}
|
|
123440
123730
|
|
|
123441
123731
|
|