@gizone/rrs-client 4.2.7-alpha.444 → 4.2.7-alpha.446
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/apis/dashboard-api.ts
CHANGED
|
@@ -813,6 +813,46 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
813
813
|
|
|
814
814
|
|
|
815
815
|
|
|
816
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
817
|
+
|
|
818
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
819
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
820
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
821
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dashboardWorkOrderListSearchDTO, localVarRequestOptions, configuration)
|
|
822
|
+
|
|
823
|
+
return {
|
|
824
|
+
url: toPathString(localVarUrlObj),
|
|
825
|
+
options: localVarRequestOptions,
|
|
826
|
+
};
|
|
827
|
+
},
|
|
828
|
+
/**
|
|
829
|
+
*
|
|
830
|
+
* @summary 工单-列表导出
|
|
831
|
+
* @param {DashboardWorkOrderListSearchDTO} dashboardWorkOrderListSearchDTO
|
|
832
|
+
* @param {*} [options] Override http request option.
|
|
833
|
+
* @throws {RequiredError}
|
|
834
|
+
*/
|
|
835
|
+
dashboardWorkOrderStatisticsListExport: async (dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
836
|
+
// verify required parameter 'dashboardWorkOrderListSearchDTO' is not null or undefined
|
|
837
|
+
assertParamExists('dashboardWorkOrderStatisticsListExport', 'dashboardWorkOrderListSearchDTO', dashboardWorkOrderListSearchDTO)
|
|
838
|
+
const localVarPath = `/dashboard/work-order/statistics/list/export`;
|
|
839
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
840
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
841
|
+
let baseOptions;
|
|
842
|
+
if (configuration) {
|
|
843
|
+
baseOptions = configuration.baseOptions;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
847
|
+
const localVarHeaderParameter = {} as any;
|
|
848
|
+
const localVarQueryParameter = {} as any;
|
|
849
|
+
|
|
850
|
+
// authentication tokenScheme required
|
|
851
|
+
// http bearer authentication required
|
|
852
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
|
|
816
856
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
817
857
|
|
|
818
858
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1082,6 +1122,19 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
1082
1122
|
const localVarOperationServerBasePath = operationServerMap['DashboardApi.dashboardWorkOrderStatisticsList']?.[localVarOperationServerIndex]?.url;
|
|
1083
1123
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1084
1124
|
},
|
|
1125
|
+
/**
|
|
1126
|
+
*
|
|
1127
|
+
* @summary 工单-列表导出
|
|
1128
|
+
* @param {DashboardWorkOrderListSearchDTO} dashboardWorkOrderListSearchDTO
|
|
1129
|
+
* @param {*} [options] Override http request option.
|
|
1130
|
+
* @throws {RequiredError}
|
|
1131
|
+
*/
|
|
1132
|
+
async dashboardWorkOrderStatisticsListExport(dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1133
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dashboardWorkOrderStatisticsListExport(dashboardWorkOrderListSearchDTO, options);
|
|
1134
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1135
|
+
const localVarOperationServerBasePath = operationServerMap['DashboardApi.dashboardWorkOrderStatisticsListExport']?.[localVarOperationServerIndex]?.url;
|
|
1136
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1137
|
+
},
|
|
1085
1138
|
}
|
|
1086
1139
|
};
|
|
1087
1140
|
|
|
@@ -1282,6 +1335,16 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
1282
1335
|
dashboardWorkOrderStatisticsList(requestParameters: DashboardApiDashboardWorkOrderStatisticsListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoWorkOrderSearchDTO> {
|
|
1283
1336
|
return localVarFp.dashboardWorkOrderStatisticsList(requestParameters.dashboardWorkOrderListSearchDTO, options).then((request) => request(axios, basePath));
|
|
1284
1337
|
},
|
|
1338
|
+
/**
|
|
1339
|
+
*
|
|
1340
|
+
* @summary 工单-列表导出
|
|
1341
|
+
* @param {DashboardApiDashboardWorkOrderStatisticsListExportRequest} requestParameters Request parameters.
|
|
1342
|
+
* @param {*} [options] Override http request option.
|
|
1343
|
+
* @throws {RequiredError}
|
|
1344
|
+
*/
|
|
1345
|
+
dashboardWorkOrderStatisticsListExport(requestParameters: DashboardApiDashboardWorkOrderStatisticsListExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1346
|
+
return localVarFp.dashboardWorkOrderStatisticsListExport(requestParameters.dashboardWorkOrderListSearchDTO, options).then((request) => request(axios, basePath));
|
|
1347
|
+
},
|
|
1285
1348
|
};
|
|
1286
1349
|
};
|
|
1287
1350
|
|
|
@@ -1551,6 +1614,20 @@ export interface DashboardApiDashboardWorkOrderStatisticsListRequest {
|
|
|
1551
1614
|
readonly dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO
|
|
1552
1615
|
}
|
|
1553
1616
|
|
|
1617
|
+
/**
|
|
1618
|
+
* Request parameters for dashboardWorkOrderStatisticsListExport operation in DashboardApi.
|
|
1619
|
+
* @export
|
|
1620
|
+
* @interface DashboardApiDashboardWorkOrderStatisticsListExportRequest
|
|
1621
|
+
*/
|
|
1622
|
+
export interface DashboardApiDashboardWorkOrderStatisticsListExportRequest {
|
|
1623
|
+
/**
|
|
1624
|
+
*
|
|
1625
|
+
* @type {DashboardWorkOrderListSearchDTO}
|
|
1626
|
+
* @memberof DashboardApiDashboardWorkOrderStatisticsListExport
|
|
1627
|
+
*/
|
|
1628
|
+
readonly dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1554
1631
|
/**
|
|
1555
1632
|
* DashboardApi - object-oriented interface
|
|
1556
1633
|
* @export
|
|
@@ -1785,5 +1862,17 @@ export class DashboardApi extends BaseAPI {
|
|
|
1785
1862
|
public dashboardWorkOrderStatisticsList(requestParameters: DashboardApiDashboardWorkOrderStatisticsListRequest, options?: RawAxiosRequestConfig) {
|
|
1786
1863
|
return DashboardApiFp(this.configuration).dashboardWorkOrderStatisticsList(requestParameters.dashboardWorkOrderListSearchDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1787
1864
|
}
|
|
1865
|
+
|
|
1866
|
+
/**
|
|
1867
|
+
*
|
|
1868
|
+
* @summary 工单-列表导出
|
|
1869
|
+
* @param {DashboardApiDashboardWorkOrderStatisticsListExportRequest} requestParameters Request parameters.
|
|
1870
|
+
* @param {*} [options] Override http request option.
|
|
1871
|
+
* @throws {RequiredError}
|
|
1872
|
+
* @memberof DashboardApi
|
|
1873
|
+
*/
|
|
1874
|
+
public dashboardWorkOrderStatisticsListExport(requestParameters: DashboardApiDashboardWorkOrderStatisticsListExportRequest, options?: RawAxiosRequestConfig) {
|
|
1875
|
+
return DashboardApiFp(this.configuration).dashboardWorkOrderStatisticsListExport(requestParameters.dashboardWorkOrderListSearchDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1876
|
+
}
|
|
1788
1877
|
}
|
|
1789
1878
|
|
|
@@ -188,6 +188,14 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
*/
|
|
190
190
|
dashboardWorkOrderStatisticsList: (dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @summary 工单-列表导出
|
|
194
|
+
* @param {DashboardWorkOrderListSearchDTO} dashboardWorkOrderListSearchDTO
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
*/
|
|
198
|
+
dashboardWorkOrderStatisticsListExport: (dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
191
199
|
};
|
|
192
200
|
/**
|
|
193
201
|
* DashboardApi - functional programming interface
|
|
@@ -346,6 +354,14 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
346
354
|
* @throws {RequiredError}
|
|
347
355
|
*/
|
|
348
356
|
dashboardWorkOrderStatisticsList(dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoWorkOrderSearchDTO>>;
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @summary 工单-列表导出
|
|
360
|
+
* @param {DashboardWorkOrderListSearchDTO} dashboardWorkOrderListSearchDTO
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
dashboardWorkOrderStatisticsListExport(dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
349
365
|
};
|
|
350
366
|
/**
|
|
351
367
|
* DashboardApi - factory interface
|
|
@@ -504,6 +520,14 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
504
520
|
* @throws {RequiredError}
|
|
505
521
|
*/
|
|
506
522
|
dashboardWorkOrderStatisticsList(requestParameters: DashboardApiDashboardWorkOrderStatisticsListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoWorkOrderSearchDTO>;
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* @summary 工单-列表导出
|
|
526
|
+
* @param {DashboardApiDashboardWorkOrderStatisticsListExportRequest} requestParameters Request parameters.
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
dashboardWorkOrderStatisticsListExport(requestParameters: DashboardApiDashboardWorkOrderStatisticsListExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
507
531
|
};
|
|
508
532
|
/**
|
|
509
533
|
* Request parameters for dashboardAccessStatisticsAccessCountSeries operation in DashboardApi.
|
|
@@ -752,6 +776,19 @@ export interface DashboardApiDashboardWorkOrderStatisticsListRequest {
|
|
|
752
776
|
*/
|
|
753
777
|
readonly dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO;
|
|
754
778
|
}
|
|
779
|
+
/**
|
|
780
|
+
* Request parameters for dashboardWorkOrderStatisticsListExport operation in DashboardApi.
|
|
781
|
+
* @export
|
|
782
|
+
* @interface DashboardApiDashboardWorkOrderStatisticsListExportRequest
|
|
783
|
+
*/
|
|
784
|
+
export interface DashboardApiDashboardWorkOrderStatisticsListExportRequest {
|
|
785
|
+
/**
|
|
786
|
+
*
|
|
787
|
+
* @type {DashboardWorkOrderListSearchDTO}
|
|
788
|
+
* @memberof DashboardApiDashboardWorkOrderStatisticsListExport
|
|
789
|
+
*/
|
|
790
|
+
readonly dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO;
|
|
791
|
+
}
|
|
755
792
|
/**
|
|
756
793
|
* DashboardApi - object-oriented interface
|
|
757
794
|
* @export
|
|
@@ -930,4 +967,13 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
930
967
|
* @memberof DashboardApi
|
|
931
968
|
*/
|
|
932
969
|
dashboardWorkOrderStatisticsList(requestParameters: DashboardApiDashboardWorkOrderStatisticsListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultPageDtoWorkOrderSearchDTO, any>>;
|
|
970
|
+
/**
|
|
971
|
+
*
|
|
972
|
+
* @summary 工单-列表导出
|
|
973
|
+
* @param {DashboardApiDashboardWorkOrderStatisticsListExportRequest} requestParameters Request parameters.
|
|
974
|
+
* @param {*} [options] Override http request option.
|
|
975
|
+
* @throws {RequiredError}
|
|
976
|
+
* @memberof DashboardApi
|
|
977
|
+
*/
|
|
978
|
+
dashboardWorkOrderStatisticsListExport(requestParameters: DashboardApiDashboardWorkOrderStatisticsListExportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
933
979
|
}
|
|
@@ -662,6 +662,39 @@ const DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
662
662
|
options: localVarRequestOptions,
|
|
663
663
|
};
|
|
664
664
|
}),
|
|
665
|
+
/**
|
|
666
|
+
*
|
|
667
|
+
* @summary 工单-列表导出
|
|
668
|
+
* @param {DashboardWorkOrderListSearchDTO} dashboardWorkOrderListSearchDTO
|
|
669
|
+
* @param {*} [options] Override http request option.
|
|
670
|
+
* @throws {RequiredError}
|
|
671
|
+
*/
|
|
672
|
+
dashboardWorkOrderStatisticsListExport: (dashboardWorkOrderListSearchDTO_1, ...args_1) => __awaiter(this, [dashboardWorkOrderListSearchDTO_1, ...args_1], void 0, function* (dashboardWorkOrderListSearchDTO, options = {}) {
|
|
673
|
+
// verify required parameter 'dashboardWorkOrderListSearchDTO' is not null or undefined
|
|
674
|
+
(0, common_1.assertParamExists)('dashboardWorkOrderStatisticsListExport', 'dashboardWorkOrderListSearchDTO', dashboardWorkOrderListSearchDTO);
|
|
675
|
+
const localVarPath = `/dashboard/work-order/statistics/list/export`;
|
|
676
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
677
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
678
|
+
let baseOptions;
|
|
679
|
+
if (configuration) {
|
|
680
|
+
baseOptions = configuration.baseOptions;
|
|
681
|
+
}
|
|
682
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
683
|
+
const localVarHeaderParameter = {};
|
|
684
|
+
const localVarQueryParameter = {};
|
|
685
|
+
// authentication tokenScheme required
|
|
686
|
+
// http bearer authentication required
|
|
687
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
688
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
689
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
690
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
691
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
692
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dashboardWorkOrderListSearchDTO, localVarRequestOptions, configuration);
|
|
693
|
+
return {
|
|
694
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
695
|
+
options: localVarRequestOptions,
|
|
696
|
+
};
|
|
697
|
+
}),
|
|
665
698
|
};
|
|
666
699
|
};
|
|
667
700
|
exports.DashboardApiAxiosParamCreator = DashboardApiAxiosParamCreator;
|
|
@@ -976,6 +1009,22 @@ const DashboardApiFp = function (configuration) {
|
|
|
976
1009
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
977
1010
|
});
|
|
978
1011
|
},
|
|
1012
|
+
/**
|
|
1013
|
+
*
|
|
1014
|
+
* @summary 工单-列表导出
|
|
1015
|
+
* @param {DashboardWorkOrderListSearchDTO} dashboardWorkOrderListSearchDTO
|
|
1016
|
+
* @param {*} [options] Override http request option.
|
|
1017
|
+
* @throws {RequiredError}
|
|
1018
|
+
*/
|
|
1019
|
+
dashboardWorkOrderStatisticsListExport(dashboardWorkOrderListSearchDTO, options) {
|
|
1020
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1021
|
+
var _a, _b, _c;
|
|
1022
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.dashboardWorkOrderStatisticsListExport(dashboardWorkOrderListSearchDTO, options);
|
|
1023
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1024
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardApi.dashboardWorkOrderStatisticsListExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1025
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1026
|
+
});
|
|
1027
|
+
},
|
|
979
1028
|
};
|
|
980
1029
|
};
|
|
981
1030
|
exports.DashboardApiFp = DashboardApiFp;
|
|
@@ -1176,6 +1225,16 @@ const DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
1176
1225
|
dashboardWorkOrderStatisticsList(requestParameters, options) {
|
|
1177
1226
|
return localVarFp.dashboardWorkOrderStatisticsList(requestParameters.dashboardWorkOrderListSearchDTO, options).then((request) => request(axios, basePath));
|
|
1178
1227
|
},
|
|
1228
|
+
/**
|
|
1229
|
+
*
|
|
1230
|
+
* @summary 工单-列表导出
|
|
1231
|
+
* @param {DashboardApiDashboardWorkOrderStatisticsListExportRequest} requestParameters Request parameters.
|
|
1232
|
+
* @param {*} [options] Override http request option.
|
|
1233
|
+
* @throws {RequiredError}
|
|
1234
|
+
*/
|
|
1235
|
+
dashboardWorkOrderStatisticsListExport(requestParameters, options) {
|
|
1236
|
+
return localVarFp.dashboardWorkOrderStatisticsListExport(requestParameters.dashboardWorkOrderListSearchDTO, options).then((request) => request(axios, basePath));
|
|
1237
|
+
},
|
|
1179
1238
|
};
|
|
1180
1239
|
};
|
|
1181
1240
|
exports.DashboardApiFactory = DashboardApiFactory;
|
|
@@ -1395,5 +1454,16 @@ class DashboardApi extends base_1.BaseAPI {
|
|
|
1395
1454
|
dashboardWorkOrderStatisticsList(requestParameters, options) {
|
|
1396
1455
|
return (0, exports.DashboardApiFp)(this.configuration).dashboardWorkOrderStatisticsList(requestParameters.dashboardWorkOrderListSearchDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1397
1456
|
}
|
|
1457
|
+
/**
|
|
1458
|
+
*
|
|
1459
|
+
* @summary 工单-列表导出
|
|
1460
|
+
* @param {DashboardApiDashboardWorkOrderStatisticsListExportRequest} requestParameters Request parameters.
|
|
1461
|
+
* @param {*} [options] Override http request option.
|
|
1462
|
+
* @throws {RequiredError}
|
|
1463
|
+
* @memberof DashboardApi
|
|
1464
|
+
*/
|
|
1465
|
+
dashboardWorkOrderStatisticsListExport(requestParameters, options) {
|
|
1466
|
+
return (0, exports.DashboardApiFp)(this.configuration).dashboardWorkOrderStatisticsListExport(requestParameters.dashboardWorkOrderListSearchDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1467
|
+
}
|
|
1398
1468
|
}
|
|
1399
1469
|
exports.DashboardApi = DashboardApi;
|
|
@@ -188,6 +188,14 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
*/
|
|
190
190
|
dashboardWorkOrderStatisticsList: (dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @summary 工单-列表导出
|
|
194
|
+
* @param {DashboardWorkOrderListSearchDTO} dashboardWorkOrderListSearchDTO
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
*/
|
|
198
|
+
dashboardWorkOrderStatisticsListExport: (dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
191
199
|
};
|
|
192
200
|
/**
|
|
193
201
|
* DashboardApi - functional programming interface
|
|
@@ -346,6 +354,14 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
346
354
|
* @throws {RequiredError}
|
|
347
355
|
*/
|
|
348
356
|
dashboardWorkOrderStatisticsList(dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoWorkOrderSearchDTO>>;
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @summary 工单-列表导出
|
|
360
|
+
* @param {DashboardWorkOrderListSearchDTO} dashboardWorkOrderListSearchDTO
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
dashboardWorkOrderStatisticsListExport(dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
349
365
|
};
|
|
350
366
|
/**
|
|
351
367
|
* DashboardApi - factory interface
|
|
@@ -504,6 +520,14 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
504
520
|
* @throws {RequiredError}
|
|
505
521
|
*/
|
|
506
522
|
dashboardWorkOrderStatisticsList(requestParameters: DashboardApiDashboardWorkOrderStatisticsListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoWorkOrderSearchDTO>;
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* @summary 工单-列表导出
|
|
526
|
+
* @param {DashboardApiDashboardWorkOrderStatisticsListExportRequest} requestParameters Request parameters.
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
dashboardWorkOrderStatisticsListExport(requestParameters: DashboardApiDashboardWorkOrderStatisticsListExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
507
531
|
};
|
|
508
532
|
/**
|
|
509
533
|
* Request parameters for dashboardAccessStatisticsAccessCountSeries operation in DashboardApi.
|
|
@@ -752,6 +776,19 @@ export interface DashboardApiDashboardWorkOrderStatisticsListRequest {
|
|
|
752
776
|
*/
|
|
753
777
|
readonly dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO;
|
|
754
778
|
}
|
|
779
|
+
/**
|
|
780
|
+
* Request parameters for dashboardWorkOrderStatisticsListExport operation in DashboardApi.
|
|
781
|
+
* @export
|
|
782
|
+
* @interface DashboardApiDashboardWorkOrderStatisticsListExportRequest
|
|
783
|
+
*/
|
|
784
|
+
export interface DashboardApiDashboardWorkOrderStatisticsListExportRequest {
|
|
785
|
+
/**
|
|
786
|
+
*
|
|
787
|
+
* @type {DashboardWorkOrderListSearchDTO}
|
|
788
|
+
* @memberof DashboardApiDashboardWorkOrderStatisticsListExport
|
|
789
|
+
*/
|
|
790
|
+
readonly dashboardWorkOrderListSearchDTO: DashboardWorkOrderListSearchDTO;
|
|
791
|
+
}
|
|
755
792
|
/**
|
|
756
793
|
* DashboardApi - object-oriented interface
|
|
757
794
|
* @export
|
|
@@ -930,4 +967,13 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
930
967
|
* @memberof DashboardApi
|
|
931
968
|
*/
|
|
932
969
|
dashboardWorkOrderStatisticsList(requestParameters: DashboardApiDashboardWorkOrderStatisticsListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultPageDtoWorkOrderSearchDTO, any>>;
|
|
970
|
+
/**
|
|
971
|
+
*
|
|
972
|
+
* @summary 工单-列表导出
|
|
973
|
+
* @param {DashboardApiDashboardWorkOrderStatisticsListExportRequest} requestParameters Request parameters.
|
|
974
|
+
* @param {*} [options] Override http request option.
|
|
975
|
+
* @throws {RequiredError}
|
|
976
|
+
* @memberof DashboardApi
|
|
977
|
+
*/
|
|
978
|
+
dashboardWorkOrderStatisticsListExport(requestParameters: DashboardApiDashboardWorkOrderStatisticsListExportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
933
979
|
}
|
|
@@ -659,6 +659,39 @@ export const DashboardApiAxiosParamCreator = function (configuration) {
|
|
|
659
659
|
options: localVarRequestOptions,
|
|
660
660
|
};
|
|
661
661
|
}),
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @summary 工单-列表导出
|
|
665
|
+
* @param {DashboardWorkOrderListSearchDTO} dashboardWorkOrderListSearchDTO
|
|
666
|
+
* @param {*} [options] Override http request option.
|
|
667
|
+
* @throws {RequiredError}
|
|
668
|
+
*/
|
|
669
|
+
dashboardWorkOrderStatisticsListExport: (dashboardWorkOrderListSearchDTO_1, ...args_1) => __awaiter(this, [dashboardWorkOrderListSearchDTO_1, ...args_1], void 0, function* (dashboardWorkOrderListSearchDTO, options = {}) {
|
|
670
|
+
// verify required parameter 'dashboardWorkOrderListSearchDTO' is not null or undefined
|
|
671
|
+
assertParamExists('dashboardWorkOrderStatisticsListExport', 'dashboardWorkOrderListSearchDTO', dashboardWorkOrderListSearchDTO);
|
|
672
|
+
const localVarPath = `/dashboard/work-order/statistics/list/export`;
|
|
673
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
674
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
675
|
+
let baseOptions;
|
|
676
|
+
if (configuration) {
|
|
677
|
+
baseOptions = configuration.baseOptions;
|
|
678
|
+
}
|
|
679
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
680
|
+
const localVarHeaderParameter = {};
|
|
681
|
+
const localVarQueryParameter = {};
|
|
682
|
+
// authentication tokenScheme required
|
|
683
|
+
// http bearer authentication required
|
|
684
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
685
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
686
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
687
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
688
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
689
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dashboardWorkOrderListSearchDTO, localVarRequestOptions, configuration);
|
|
690
|
+
return {
|
|
691
|
+
url: toPathString(localVarUrlObj),
|
|
692
|
+
options: localVarRequestOptions,
|
|
693
|
+
};
|
|
694
|
+
}),
|
|
662
695
|
};
|
|
663
696
|
};
|
|
664
697
|
/**
|
|
@@ -972,6 +1005,22 @@ export const DashboardApiFp = function (configuration) {
|
|
|
972
1005
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
973
1006
|
});
|
|
974
1007
|
},
|
|
1008
|
+
/**
|
|
1009
|
+
*
|
|
1010
|
+
* @summary 工单-列表导出
|
|
1011
|
+
* @param {DashboardWorkOrderListSearchDTO} dashboardWorkOrderListSearchDTO
|
|
1012
|
+
* @param {*} [options] Override http request option.
|
|
1013
|
+
* @throws {RequiredError}
|
|
1014
|
+
*/
|
|
1015
|
+
dashboardWorkOrderStatisticsListExport(dashboardWorkOrderListSearchDTO, options) {
|
|
1016
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1017
|
+
var _a, _b, _c;
|
|
1018
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.dashboardWorkOrderStatisticsListExport(dashboardWorkOrderListSearchDTO, options);
|
|
1019
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1020
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DashboardApi.dashboardWorkOrderStatisticsListExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1021
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1022
|
+
});
|
|
1023
|
+
},
|
|
975
1024
|
};
|
|
976
1025
|
};
|
|
977
1026
|
/**
|
|
@@ -1171,6 +1220,16 @@ export const DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
1171
1220
|
dashboardWorkOrderStatisticsList(requestParameters, options) {
|
|
1172
1221
|
return localVarFp.dashboardWorkOrderStatisticsList(requestParameters.dashboardWorkOrderListSearchDTO, options).then((request) => request(axios, basePath));
|
|
1173
1222
|
},
|
|
1223
|
+
/**
|
|
1224
|
+
*
|
|
1225
|
+
* @summary 工单-列表导出
|
|
1226
|
+
* @param {DashboardApiDashboardWorkOrderStatisticsListExportRequest} requestParameters Request parameters.
|
|
1227
|
+
* @param {*} [options] Override http request option.
|
|
1228
|
+
* @throws {RequiredError}
|
|
1229
|
+
*/
|
|
1230
|
+
dashboardWorkOrderStatisticsListExport(requestParameters, options) {
|
|
1231
|
+
return localVarFp.dashboardWorkOrderStatisticsListExport(requestParameters.dashboardWorkOrderListSearchDTO, options).then((request) => request(axios, basePath));
|
|
1232
|
+
},
|
|
1174
1233
|
};
|
|
1175
1234
|
};
|
|
1176
1235
|
/**
|
|
@@ -1389,4 +1448,15 @@ export class DashboardApi extends BaseAPI {
|
|
|
1389
1448
|
dashboardWorkOrderStatisticsList(requestParameters, options) {
|
|
1390
1449
|
return DashboardApiFp(this.configuration).dashboardWorkOrderStatisticsList(requestParameters.dashboardWorkOrderListSearchDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1391
1450
|
}
|
|
1451
|
+
/**
|
|
1452
|
+
*
|
|
1453
|
+
* @summary 工单-列表导出
|
|
1454
|
+
* @param {DashboardApiDashboardWorkOrderStatisticsListExportRequest} requestParameters Request parameters.
|
|
1455
|
+
* @param {*} [options] Override http request option.
|
|
1456
|
+
* @throws {RequiredError}
|
|
1457
|
+
* @memberof DashboardApi
|
|
1458
|
+
*/
|
|
1459
|
+
dashboardWorkOrderStatisticsListExport(requestParameters, options) {
|
|
1460
|
+
return DashboardApiFp(this.configuration).dashboardWorkOrderStatisticsListExport(requestParameters.dashboardWorkOrderListSearchDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1461
|
+
}
|
|
1392
1462
|
}
|