@connectedxm/admin-sdk 6.24.2 → 6.24.3
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 +1 -0
- package/api.ts +16 -5
- package/dist/api.d.ts +8 -2
- package/dist/api.js +11 -5
- package/dist/esm/api.d.ts +8 -2
- package/dist/esm/api.js +11 -5
- package/docs/CustomReportExportInputs.md +20 -0
- package/docs/ReportsApi.md +8 -4
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -448,6 +448,7 @@ docs/CustomModuleTranslationUpdateInputs.md
|
|
|
448
448
|
docs/CustomModuleUpdateInputs.md
|
|
449
449
|
docs/CustomReport.md
|
|
450
450
|
docs/CustomReportCreateInputs.md
|
|
451
|
+
docs/CustomReportExportInputs.md
|
|
451
452
|
docs/CustomReportUpdateInputs.md
|
|
452
453
|
docs/Dashboard.md
|
|
453
454
|
docs/DashboardCreateInputs.md
|
package/README.md
CHANGED
|
@@ -1654,6 +1654,7 @@ Class | Method | HTTP request | Description
|
|
|
1654
1654
|
- [CustomModuleUpdateInputs](docs/CustomModuleUpdateInputs.md)
|
|
1655
1655
|
- [CustomReport](docs/CustomReport.md)
|
|
1656
1656
|
- [CustomReportCreateInputs](docs/CustomReportCreateInputs.md)
|
|
1657
|
+
- [CustomReportExportInputs](docs/CustomReportExportInputs.md)
|
|
1657
1658
|
- [CustomReportUpdateInputs](docs/CustomReportUpdateInputs.md)
|
|
1658
1659
|
- [Dashboard](docs/Dashboard.md)
|
|
1659
1660
|
- [DashboardCreateInputs](docs/DashboardCreateInputs.md)
|
package/api.ts
CHANGED
|
@@ -4522,6 +4522,9 @@ export interface CustomReportCreateInputs {
|
|
|
4522
4522
|
'gridState'?: string | null;
|
|
4523
4523
|
'shared'?: boolean;
|
|
4524
4524
|
}
|
|
4525
|
+
export interface CustomReportExportInputs {
|
|
4526
|
+
'email': string;
|
|
4527
|
+
}
|
|
4525
4528
|
export interface CustomReportUpdateInputs {
|
|
4526
4529
|
'name'?: string | null;
|
|
4527
4530
|
'description'?: string | null;
|
|
@@ -122720,12 +122723,15 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
122720
122723
|
* Export Custom Report endpoint
|
|
122721
122724
|
* @summary Export Custom Report
|
|
122722
122725
|
* @param {string} reportId The report identifier
|
|
122726
|
+
* @param {CustomReportExportInputs} customReportExportInputs
|
|
122723
122727
|
* @param {*} [options] Override http request option.
|
|
122724
122728
|
* @throws {RequiredError}
|
|
122725
122729
|
*/
|
|
122726
|
-
exportCustomReport: async (reportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
122730
|
+
exportCustomReport: async (reportId: string, customReportExportInputs: CustomReportExportInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
122727
122731
|
// verify required parameter 'reportId' is not null or undefined
|
|
122728
122732
|
assertParamExists('exportCustomReport', 'reportId', reportId)
|
|
122733
|
+
// verify required parameter 'customReportExportInputs' is not null or undefined
|
|
122734
|
+
assertParamExists('exportCustomReport', 'customReportExportInputs', customReportExportInputs)
|
|
122729
122735
|
const localVarPath = `/reports/custom/{reportId}/export`
|
|
122730
122736
|
.replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
|
|
122731
122737
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -122745,11 +122751,13 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
122745
122751
|
// authentication OrganizationId required
|
|
122746
122752
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
122747
122753
|
|
|
122754
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
122748
122755
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
122749
122756
|
|
|
122750
122757
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
122751
122758
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
122752
122759
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
122760
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customReportExportInputs, localVarRequestOptions, configuration)
|
|
122753
122761
|
|
|
122754
122762
|
return {
|
|
122755
122763
|
url: toPathString(localVarUrlObj),
|
|
@@ -123038,11 +123046,12 @@ export const ReportsApiFp = function(configuration?: Configuration) {
|
|
|
123038
123046
|
* Export Custom Report endpoint
|
|
123039
123047
|
* @summary Export Custom Report
|
|
123040
123048
|
* @param {string} reportId The report identifier
|
|
123049
|
+
* @param {CustomReportExportInputs} customReportExportInputs
|
|
123041
123050
|
* @param {*} [options] Override http request option.
|
|
123042
123051
|
* @throws {RequiredError}
|
|
123043
123052
|
*/
|
|
123044
|
-
async exportCustomReport(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
123045
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.exportCustomReport(reportId, options);
|
|
123053
|
+
async exportCustomReport(reportId: string, customReportExportInputs: CustomReportExportInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
123054
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportCustomReport(reportId, customReportExportInputs, options);
|
|
123046
123055
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
123047
123056
|
const localVarOperationServerBasePath = operationServerMap['ReportsApi.exportCustomReport']?.[localVarOperationServerIndex]?.url;
|
|
123048
123057
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -123155,7 +123164,7 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
|
|
|
123155
123164
|
* @throws {RequiredError}
|
|
123156
123165
|
*/
|
|
123157
123166
|
exportCustomReport(requestParameters: ReportsApiExportCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
123158
|
-
return localVarFp.exportCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
|
|
123167
|
+
return localVarFp.exportCustomReport(requestParameters.reportId, requestParameters.customReportExportInputs, options).then((request) => request(axios, basePath));
|
|
123159
123168
|
},
|
|
123160
123169
|
/**
|
|
123161
123170
|
* Get Custom Report endpoint
|
|
@@ -123240,6 +123249,8 @@ export interface ReportsApiExportCustomReportRequest {
|
|
|
123240
123249
|
* The report identifier
|
|
123241
123250
|
*/
|
|
123242
123251
|
readonly reportId: string
|
|
123252
|
+
|
|
123253
|
+
readonly customReportExportInputs: CustomReportExportInputs
|
|
123243
123254
|
}
|
|
123244
123255
|
|
|
123245
123256
|
/**
|
|
@@ -123356,7 +123367,7 @@ export class ReportsApi extends BaseAPI {
|
|
|
123356
123367
|
* @throws {RequiredError}
|
|
123357
123368
|
*/
|
|
123358
123369
|
public exportCustomReport(requestParameters: ReportsApiExportCustomReportRequest, options?: RawAxiosRequestConfig) {
|
|
123359
|
-
return ReportsApiFp(this.configuration).exportCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
|
|
123370
|
+
return ReportsApiFp(this.configuration).exportCustomReport(requestParameters.reportId, requestParameters.customReportExportInputs, options).then((request) => request(this.axios, this.basePath));
|
|
123360
123371
|
}
|
|
123361
123372
|
|
|
123362
123373
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -4091,6 +4091,9 @@ export interface CustomReportCreateInputs {
|
|
|
4091
4091
|
'gridState'?: string | null;
|
|
4092
4092
|
'shared'?: boolean;
|
|
4093
4093
|
}
|
|
4094
|
+
export interface CustomReportExportInputs {
|
|
4095
|
+
'email': string;
|
|
4096
|
+
}
|
|
4094
4097
|
export interface CustomReportUpdateInputs {
|
|
4095
4098
|
'name'?: string | null;
|
|
4096
4099
|
'description'?: string | null;
|
|
@@ -67546,10 +67549,11 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
67546
67549
|
* Export Custom Report endpoint
|
|
67547
67550
|
* @summary Export Custom Report
|
|
67548
67551
|
* @param {string} reportId The report identifier
|
|
67552
|
+
* @param {CustomReportExportInputs} customReportExportInputs
|
|
67549
67553
|
* @param {*} [options] Override http request option.
|
|
67550
67554
|
* @throws {RequiredError}
|
|
67551
67555
|
*/
|
|
67552
|
-
exportCustomReport: (reportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67556
|
+
exportCustomReport: (reportId: string, customReportExportInputs: CustomReportExportInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67553
67557
|
/**
|
|
67554
67558
|
* Get Custom Report endpoint
|
|
67555
67559
|
* @summary Get Custom Report
|
|
@@ -67622,10 +67626,11 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
|
|
|
67622
67626
|
* Export Custom Report endpoint
|
|
67623
67627
|
* @summary Export Custom Report
|
|
67624
67628
|
* @param {string} reportId The report identifier
|
|
67629
|
+
* @param {CustomReportExportInputs} customReportExportInputs
|
|
67625
67630
|
* @param {*} [options] Override http request option.
|
|
67626
67631
|
* @throws {RequiredError}
|
|
67627
67632
|
*/
|
|
67628
|
-
exportCustomReport(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
67633
|
+
exportCustomReport(reportId: string, customReportExportInputs: CustomReportExportInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
67629
67634
|
/**
|
|
67630
67635
|
* Get Custom Report endpoint
|
|
67631
67636
|
* @summary Get Custom Report
|
|
@@ -67769,6 +67774,7 @@ export interface ReportsApiExportCustomReportRequest {
|
|
|
67769
67774
|
* The report identifier
|
|
67770
67775
|
*/
|
|
67771
67776
|
readonly reportId: string;
|
|
67777
|
+
readonly customReportExportInputs: CustomReportExportInputs;
|
|
67772
67778
|
}
|
|
67773
67779
|
/**
|
|
67774
67780
|
* Request parameters for getCustomReport operation in ReportsApi.
|
package/dist/api.js
CHANGED
|
@@ -85798,12 +85798,15 @@ const ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
85798
85798
|
* Export Custom Report endpoint
|
|
85799
85799
|
* @summary Export Custom Report
|
|
85800
85800
|
* @param {string} reportId The report identifier
|
|
85801
|
+
* @param {CustomReportExportInputs} customReportExportInputs
|
|
85801
85802
|
* @param {*} [options] Override http request option.
|
|
85802
85803
|
* @throws {RequiredError}
|
|
85803
85804
|
*/
|
|
85804
|
-
exportCustomReport: (reportId_1, ...args_1) => __awaiter(this, [reportId_1, ...args_1], void 0, function* (reportId, options = {}) {
|
|
85805
|
+
exportCustomReport: (reportId_1, customReportExportInputs_1, ...args_1) => __awaiter(this, [reportId_1, customReportExportInputs_1, ...args_1], void 0, function* (reportId, customReportExportInputs, options = {}) {
|
|
85805
85806
|
// verify required parameter 'reportId' is not null or undefined
|
|
85806
85807
|
(0, common_1.assertParamExists)('exportCustomReport', 'reportId', reportId);
|
|
85808
|
+
// verify required parameter 'customReportExportInputs' is not null or undefined
|
|
85809
|
+
(0, common_1.assertParamExists)('exportCustomReport', 'customReportExportInputs', customReportExportInputs);
|
|
85807
85810
|
const localVarPath = `/reports/custom/{reportId}/export`
|
|
85808
85811
|
.replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
|
|
85809
85812
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -85819,10 +85822,12 @@ const ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
85819
85822
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
85820
85823
|
// authentication OrganizationId required
|
|
85821
85824
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
85825
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
85822
85826
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
85823
85827
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
85824
85828
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
85825
85829
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
85830
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(customReportExportInputs, localVarRequestOptions, configuration);
|
|
85826
85831
|
return {
|
|
85827
85832
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
85828
85833
|
options: localVarRequestOptions,
|
|
@@ -86078,13 +86083,14 @@ const ReportsApiFp = function (configuration) {
|
|
|
86078
86083
|
* Export Custom Report endpoint
|
|
86079
86084
|
* @summary Export Custom Report
|
|
86080
86085
|
* @param {string} reportId The report identifier
|
|
86086
|
+
* @param {CustomReportExportInputs} customReportExportInputs
|
|
86081
86087
|
* @param {*} [options] Override http request option.
|
|
86082
86088
|
* @throws {RequiredError}
|
|
86083
86089
|
*/
|
|
86084
|
-
exportCustomReport(reportId, options) {
|
|
86090
|
+
exportCustomReport(reportId, customReportExportInputs, options) {
|
|
86085
86091
|
return __awaiter(this, void 0, void 0, function* () {
|
|
86086
86092
|
var _a, _b, _c;
|
|
86087
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportCustomReport(reportId, options);
|
|
86093
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportCustomReport(reportId, customReportExportInputs, options);
|
|
86088
86094
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
86089
86095
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ReportsApi.exportCustomReport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
86090
86096
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -86213,7 +86219,7 @@ const ReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
86213
86219
|
* @throws {RequiredError}
|
|
86214
86220
|
*/
|
|
86215
86221
|
exportCustomReport(requestParameters, options) {
|
|
86216
|
-
return localVarFp.exportCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
|
|
86222
|
+
return localVarFp.exportCustomReport(requestParameters.reportId, requestParameters.customReportExportInputs, options).then((request) => request(axios, basePath));
|
|
86217
86223
|
},
|
|
86218
86224
|
/**
|
|
86219
86225
|
* Get Custom Report endpoint
|
|
@@ -86300,7 +86306,7 @@ class ReportsApi extends base_1.BaseAPI {
|
|
|
86300
86306
|
* @throws {RequiredError}
|
|
86301
86307
|
*/
|
|
86302
86308
|
exportCustomReport(requestParameters, options) {
|
|
86303
|
-
return (0, exports.ReportsApiFp)(this.configuration).exportCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
|
|
86309
|
+
return (0, exports.ReportsApiFp)(this.configuration).exportCustomReport(requestParameters.reportId, requestParameters.customReportExportInputs, options).then((request) => request(this.axios, this.basePath));
|
|
86304
86310
|
}
|
|
86305
86311
|
/**
|
|
86306
86312
|
* Get Custom Report endpoint
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -4091,6 +4091,9 @@ export interface CustomReportCreateInputs {
|
|
|
4091
4091
|
'gridState'?: string | null;
|
|
4092
4092
|
'shared'?: boolean;
|
|
4093
4093
|
}
|
|
4094
|
+
export interface CustomReportExportInputs {
|
|
4095
|
+
'email': string;
|
|
4096
|
+
}
|
|
4094
4097
|
export interface CustomReportUpdateInputs {
|
|
4095
4098
|
'name'?: string | null;
|
|
4096
4099
|
'description'?: string | null;
|
|
@@ -67546,10 +67549,11 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
67546
67549
|
* Export Custom Report endpoint
|
|
67547
67550
|
* @summary Export Custom Report
|
|
67548
67551
|
* @param {string} reportId The report identifier
|
|
67552
|
+
* @param {CustomReportExportInputs} customReportExportInputs
|
|
67549
67553
|
* @param {*} [options] Override http request option.
|
|
67550
67554
|
* @throws {RequiredError}
|
|
67551
67555
|
*/
|
|
67552
|
-
exportCustomReport: (reportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67556
|
+
exportCustomReport: (reportId: string, customReportExportInputs: CustomReportExportInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67553
67557
|
/**
|
|
67554
67558
|
* Get Custom Report endpoint
|
|
67555
67559
|
* @summary Get Custom Report
|
|
@@ -67622,10 +67626,11 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
|
|
|
67622
67626
|
* Export Custom Report endpoint
|
|
67623
67627
|
* @summary Export Custom Report
|
|
67624
67628
|
* @param {string} reportId The report identifier
|
|
67629
|
+
* @param {CustomReportExportInputs} customReportExportInputs
|
|
67625
67630
|
* @param {*} [options] Override http request option.
|
|
67626
67631
|
* @throws {RequiredError}
|
|
67627
67632
|
*/
|
|
67628
|
-
exportCustomReport(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
67633
|
+
exportCustomReport(reportId: string, customReportExportInputs: CustomReportExportInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
67629
67634
|
/**
|
|
67630
67635
|
* Get Custom Report endpoint
|
|
67631
67636
|
* @summary Get Custom Report
|
|
@@ -67769,6 +67774,7 @@ export interface ReportsApiExportCustomReportRequest {
|
|
|
67769
67774
|
* The report identifier
|
|
67770
67775
|
*/
|
|
67771
67776
|
readonly reportId: string;
|
|
67777
|
+
readonly customReportExportInputs: CustomReportExportInputs;
|
|
67772
67778
|
}
|
|
67773
67779
|
/**
|
|
67774
67780
|
* Request parameters for getCustomReport operation in ReportsApi.
|
package/dist/esm/api.js
CHANGED
|
@@ -85173,12 +85173,15 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
85173
85173
|
* Export Custom Report endpoint
|
|
85174
85174
|
* @summary Export Custom Report
|
|
85175
85175
|
* @param {string} reportId The report identifier
|
|
85176
|
+
* @param {CustomReportExportInputs} customReportExportInputs
|
|
85176
85177
|
* @param {*} [options] Override http request option.
|
|
85177
85178
|
* @throws {RequiredError}
|
|
85178
85179
|
*/
|
|
85179
|
-
exportCustomReport: (reportId_1, ...args_1) => __awaiter(this, [reportId_1, ...args_1], void 0, function* (reportId, options = {}) {
|
|
85180
|
+
exportCustomReport: (reportId_1, customReportExportInputs_1, ...args_1) => __awaiter(this, [reportId_1, customReportExportInputs_1, ...args_1], void 0, function* (reportId, customReportExportInputs, options = {}) {
|
|
85180
85181
|
// verify required parameter 'reportId' is not null or undefined
|
|
85181
85182
|
assertParamExists('exportCustomReport', 'reportId', reportId);
|
|
85183
|
+
// verify required parameter 'customReportExportInputs' is not null or undefined
|
|
85184
|
+
assertParamExists('exportCustomReport', 'customReportExportInputs', customReportExportInputs);
|
|
85182
85185
|
const localVarPath = `/reports/custom/{reportId}/export`
|
|
85183
85186
|
.replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
|
|
85184
85187
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -85194,10 +85197,12 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
85194
85197
|
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
85195
85198
|
// authentication OrganizationId required
|
|
85196
85199
|
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
85200
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
85197
85201
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
85198
85202
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
85199
85203
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
85200
85204
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
85205
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customReportExportInputs, localVarRequestOptions, configuration);
|
|
85201
85206
|
return {
|
|
85202
85207
|
url: toPathString(localVarUrlObj),
|
|
85203
85208
|
options: localVarRequestOptions,
|
|
@@ -85452,13 +85457,14 @@ export const ReportsApiFp = function (configuration) {
|
|
|
85452
85457
|
* Export Custom Report endpoint
|
|
85453
85458
|
* @summary Export Custom Report
|
|
85454
85459
|
* @param {string} reportId The report identifier
|
|
85460
|
+
* @param {CustomReportExportInputs} customReportExportInputs
|
|
85455
85461
|
* @param {*} [options] Override http request option.
|
|
85456
85462
|
* @throws {RequiredError}
|
|
85457
85463
|
*/
|
|
85458
|
-
exportCustomReport(reportId, options) {
|
|
85464
|
+
exportCustomReport(reportId, customReportExportInputs, options) {
|
|
85459
85465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
85460
85466
|
var _a, _b, _c;
|
|
85461
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportCustomReport(reportId, options);
|
|
85467
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportCustomReport(reportId, customReportExportInputs, options);
|
|
85462
85468
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
85463
85469
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReportsApi.exportCustomReport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
85464
85470
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -85586,7 +85592,7 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
85586
85592
|
* @throws {RequiredError}
|
|
85587
85593
|
*/
|
|
85588
85594
|
exportCustomReport(requestParameters, options) {
|
|
85589
|
-
return localVarFp.exportCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
|
|
85595
|
+
return localVarFp.exportCustomReport(requestParameters.reportId, requestParameters.customReportExportInputs, options).then((request) => request(axios, basePath));
|
|
85590
85596
|
},
|
|
85591
85597
|
/**
|
|
85592
85598
|
* Get Custom Report endpoint
|
|
@@ -85672,7 +85678,7 @@ export class ReportsApi extends BaseAPI {
|
|
|
85672
85678
|
* @throws {RequiredError}
|
|
85673
85679
|
*/
|
|
85674
85680
|
exportCustomReport(requestParameters, options) {
|
|
85675
|
-
return ReportsApiFp(this.configuration).exportCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
|
|
85681
|
+
return ReportsApiFp(this.configuration).exportCustomReport(requestParameters.reportId, requestParameters.customReportExportInputs, options).then((request) => request(this.axios, this.basePath));
|
|
85676
85682
|
}
|
|
85677
85683
|
/**
|
|
85678
85684
|
* Get Custom Report endpoint
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# CustomReportExportInputs
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**email** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { CustomReportExportInputs } from '@connectedxm/admin-sdk';
|
|
14
|
+
|
|
15
|
+
const instance: CustomReportExportInputs = {
|
|
16
|
+
email,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/ReportsApi.md
CHANGED
|
@@ -120,7 +120,7 @@ const { status, data } = await apiInstance.deleteCustomReport(
|
|
|
120
120
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
121
121
|
|
|
122
122
|
# **exportCustomReport**
|
|
123
|
-
> CreateAccountInvitations200Response exportCustomReport()
|
|
123
|
+
> CreateAccountInvitations200Response exportCustomReport(customReportExportInputs)
|
|
124
124
|
|
|
125
125
|
Export Custom Report endpoint
|
|
126
126
|
|
|
@@ -129,16 +129,19 @@ Export Custom Report endpoint
|
|
|
129
129
|
```typescript
|
|
130
130
|
import {
|
|
131
131
|
ReportsApi,
|
|
132
|
-
Configuration
|
|
132
|
+
Configuration,
|
|
133
|
+
CustomReportExportInputs
|
|
133
134
|
} from '@connectedxm/admin-sdk';
|
|
134
135
|
|
|
135
136
|
const configuration = new Configuration();
|
|
136
137
|
const apiInstance = new ReportsApi(configuration);
|
|
137
138
|
|
|
138
139
|
let reportId: string; //The report identifier (default to undefined)
|
|
140
|
+
let customReportExportInputs: CustomReportExportInputs; //
|
|
139
141
|
|
|
140
142
|
const { status, data } = await apiInstance.exportCustomReport(
|
|
141
|
-
reportId
|
|
143
|
+
reportId,
|
|
144
|
+
customReportExportInputs
|
|
142
145
|
);
|
|
143
146
|
```
|
|
144
147
|
|
|
@@ -146,6 +149,7 @@ const { status, data } = await apiInstance.exportCustomReport(
|
|
|
146
149
|
|
|
147
150
|
|Name | Type | Description | Notes|
|
|
148
151
|
|------------- | ------------- | ------------- | -------------|
|
|
152
|
+
| **customReportExportInputs** | **CustomReportExportInputs**| | |
|
|
149
153
|
| **reportId** | [**string**] | The report identifier | defaults to undefined|
|
|
150
154
|
|
|
151
155
|
|
|
@@ -159,7 +163,7 @@ const { status, data } = await apiInstance.exportCustomReport(
|
|
|
159
163
|
|
|
160
164
|
### HTTP request headers
|
|
161
165
|
|
|
162
|
-
- **Content-Type**:
|
|
166
|
+
- **Content-Type**: application/json
|
|
163
167
|
- **Accept**: application/json
|
|
164
168
|
|
|
165
169
|
|