@gizone/rrs-client 4.2.0-alpha.271 → 4.2.0-alpha.272
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/apis/work-order-api.ts +21 -5
- package/dist/apis/work-order-api.d.ts +11 -2
- package/dist/apis/work-order-api.js +11 -5
- package/dist/esm/apis/work-order-api.d.ts +11 -2
- package/dist/esm/apis/work-order-api.js +11 -5
- package/dist/esm/models/get-user-wx200-response.d.ts +16 -16
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/esm/models/work-order-reject-vo.d.ts +24 -0
- package/dist/esm/models/work-order-reject-vo.js +14 -0
- package/dist/models/get-user-wx200-response.d.ts +16 -16
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/dist/models/work-order-reject-vo.d.ts +24 -0
- package/dist/models/work-order-reject-vo.js +15 -0
- package/models/get-user-wx200-response.ts +16 -16
- package/models/index.ts +1 -0
- package/models/sys-user.ts +4 -4
- package/models/work-order-reject-vo.ts +30 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -990,6 +990,7 @@ models/work-order-plan-repeats-enum.ts
|
|
|
990
990
|
models/work-order-push-settings-entity.ts
|
|
991
991
|
models/work-order-push-settings-save-or-update-vo.ts
|
|
992
992
|
models/work-order-push-settings-vo.ts
|
|
993
|
+
models/work-order-reject-vo.ts
|
|
993
994
|
models/work-order-report-vo.ts
|
|
994
995
|
models/work-order-search-dto.ts
|
|
995
996
|
models/work-order-settings-type-enum.ts
|
package/apis/work-order-api.ts
CHANGED
|
@@ -112,6 +112,8 @@ import type { WorkOrderPlanRepeatsEnum } from '../models';
|
|
|
112
112
|
// @ts-ignore
|
|
113
113
|
import type { WorkOrderPushSettingsVO } from '../models';
|
|
114
114
|
// @ts-ignore
|
|
115
|
+
import type { WorkOrderRejectVo } from '../models';
|
|
116
|
+
// @ts-ignore
|
|
115
117
|
import type { WorkOrderReportVo } from '../models';
|
|
116
118
|
// @ts-ignore
|
|
117
119
|
import type { WorkOrderSpotCheckVo } from '../models';
|
|
@@ -2330,12 +2332,15 @@ export const WorkOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2330
2332
|
*
|
|
2331
2333
|
* @summary 工单驳回
|
|
2332
2334
|
* @param {number} workOrderId
|
|
2335
|
+
* @param {WorkOrderRejectVo} workOrderRejectVo
|
|
2333
2336
|
* @param {*} [options] Override http request option.
|
|
2334
2337
|
* @throws {RequiredError}
|
|
2335
2338
|
*/
|
|
2336
|
-
workOrderReject: async (workOrderId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2339
|
+
workOrderReject: async (workOrderId: number, workOrderRejectVo: WorkOrderRejectVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2337
2340
|
// verify required parameter 'workOrderId' is not null or undefined
|
|
2338
2341
|
assertParamExists('workOrderReject', 'workOrderId', workOrderId)
|
|
2342
|
+
// verify required parameter 'workOrderRejectVo' is not null or undefined
|
|
2343
|
+
assertParamExists('workOrderReject', 'workOrderRejectVo', workOrderRejectVo)
|
|
2339
2344
|
const localVarPath = `/gizone/workOrder/reject/{workOrderId}`
|
|
2340
2345
|
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
2341
2346
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -2355,9 +2360,12 @@ export const WorkOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2355
2360
|
|
|
2356
2361
|
|
|
2357
2362
|
|
|
2363
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2364
|
+
|
|
2358
2365
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2359
2366
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2360
2367
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2368
|
+
localVarRequestOptions.data = serializeDataIfNeeded(workOrderRejectVo, localVarRequestOptions, configuration)
|
|
2361
2369
|
|
|
2362
2370
|
return {
|
|
2363
2371
|
url: toPathString(localVarUrlObj),
|
|
@@ -3348,11 +3356,12 @@ export const WorkOrderApiFp = function(configuration?: Configuration) {
|
|
|
3348
3356
|
*
|
|
3349
3357
|
* @summary 工单驳回
|
|
3350
3358
|
* @param {number} workOrderId
|
|
3359
|
+
* @param {WorkOrderRejectVo} workOrderRejectVo
|
|
3351
3360
|
* @param {*} [options] Override http request option.
|
|
3352
3361
|
* @throws {RequiredError}
|
|
3353
3362
|
*/
|
|
3354
|
-
async workOrderReject(workOrderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
3355
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.workOrderReject(workOrderId, options);
|
|
3363
|
+
async workOrderReject(workOrderId: number, workOrderRejectVo: WorkOrderRejectVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
3364
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workOrderReject(workOrderId, workOrderRejectVo, options);
|
|
3356
3365
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3357
3366
|
const localVarOperationServerBasePath = operationServerMap['WorkOrderApi.workOrderReject']?.[localVarOperationServerIndex]?.url;
|
|
3358
3367
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3948,7 +3957,7 @@ export const WorkOrderApiFactory = function (configuration?: Configuration, base
|
|
|
3948
3957
|
* @throws {RequiredError}
|
|
3949
3958
|
*/
|
|
3950
3959
|
workOrderReject(requestParameters: WorkOrderApiWorkOrderRejectRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
3951
|
-
return localVarFp.workOrderReject(requestParameters.workOrderId, options).then((request) => request(axios, basePath));
|
|
3960
|
+
return localVarFp.workOrderReject(requestParameters.workOrderId, requestParameters.workOrderRejectVo, options).then((request) => request(axios, basePath));
|
|
3952
3961
|
},
|
|
3953
3962
|
/**
|
|
3954
3963
|
*
|
|
@@ -5106,6 +5115,13 @@ export interface WorkOrderApiWorkOrderRejectRequest {
|
|
|
5106
5115
|
* @memberof WorkOrderApiWorkOrderReject
|
|
5107
5116
|
*/
|
|
5108
5117
|
readonly workOrderId: number
|
|
5118
|
+
|
|
5119
|
+
/**
|
|
5120
|
+
*
|
|
5121
|
+
* @type {WorkOrderRejectVo}
|
|
5122
|
+
* @memberof WorkOrderApiWorkOrderReject
|
|
5123
|
+
*/
|
|
5124
|
+
readonly workOrderRejectVo: WorkOrderRejectVo
|
|
5109
5125
|
}
|
|
5110
5126
|
|
|
5111
5127
|
/**
|
|
@@ -5818,7 +5834,7 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
5818
5834
|
* @memberof WorkOrderApi
|
|
5819
5835
|
*/
|
|
5820
5836
|
public workOrderReject(requestParameters: WorkOrderApiWorkOrderRejectRequest, options?: RawAxiosRequestConfig) {
|
|
5821
|
-
return WorkOrderApiFp(this.configuration).workOrderReject(requestParameters.workOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
5837
|
+
return WorkOrderApiFp(this.configuration).workOrderReject(requestParameters.workOrderId, requestParameters.workOrderRejectVo, options).then((request) => request(this.axios, this.basePath));
|
|
5822
5838
|
}
|
|
5823
5839
|
|
|
5824
5840
|
/**
|
|
@@ -57,6 +57,7 @@ import type { WorkOrderDistributeLeafletsVo } from '../models';
|
|
|
57
57
|
import type { WorkOrderHandleMeterReadingVo } from '../models';
|
|
58
58
|
import type { WorkOrderPlanRepeatsEnum } from '../models';
|
|
59
59
|
import type { WorkOrderPushSettingsVO } from '../models';
|
|
60
|
+
import type { WorkOrderRejectVo } from '../models';
|
|
60
61
|
import type { WorkOrderReportVo } from '../models';
|
|
61
62
|
import type { WorkOrderSpotCheckVo } from '../models';
|
|
62
63
|
import type { WorkOrderStagingDataVo } from '../models';
|
|
@@ -516,10 +517,11 @@ export declare const WorkOrderApiAxiosParamCreator: (configuration?: Configurati
|
|
|
516
517
|
*
|
|
517
518
|
* @summary 工单驳回
|
|
518
519
|
* @param {number} workOrderId
|
|
520
|
+
* @param {WorkOrderRejectVo} workOrderRejectVo
|
|
519
521
|
* @param {*} [options] Override http request option.
|
|
520
522
|
* @throws {RequiredError}
|
|
521
523
|
*/
|
|
522
|
-
workOrderReject: (workOrderId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
524
|
+
workOrderReject: (workOrderId: number, workOrderRejectVo: WorkOrderRejectVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
523
525
|
/**
|
|
524
526
|
*
|
|
525
527
|
* @summary 新建工单
|
|
@@ -1031,10 +1033,11 @@ export declare const WorkOrderApiFp: (configuration?: Configuration) => {
|
|
|
1031
1033
|
*
|
|
1032
1034
|
* @summary 工单驳回
|
|
1033
1035
|
* @param {number} workOrderId
|
|
1036
|
+
* @param {WorkOrderRejectVo} workOrderRejectVo
|
|
1034
1037
|
* @param {*} [options] Override http request option.
|
|
1035
1038
|
* @throws {RequiredError}
|
|
1036
1039
|
*/
|
|
1037
|
-
workOrderReject(workOrderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
1040
|
+
workOrderReject(workOrderId: number, workOrderRejectVo: WorkOrderRejectVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
1038
1041
|
/**
|
|
1039
1042
|
*
|
|
1040
1043
|
* @summary 新建工单
|
|
@@ -2525,6 +2528,12 @@ export interface WorkOrderApiWorkOrderRejectRequest {
|
|
|
2525
2528
|
* @memberof WorkOrderApiWorkOrderReject
|
|
2526
2529
|
*/
|
|
2527
2530
|
readonly workOrderId: number;
|
|
2531
|
+
/**
|
|
2532
|
+
*
|
|
2533
|
+
* @type {WorkOrderRejectVo}
|
|
2534
|
+
* @memberof WorkOrderApiWorkOrderReject
|
|
2535
|
+
*/
|
|
2536
|
+
readonly workOrderRejectVo: WorkOrderRejectVo;
|
|
2528
2537
|
}
|
|
2529
2538
|
/**
|
|
2530
2539
|
* Request parameters for workOrderRepairAdd operation in WorkOrderApi.
|
|
@@ -1861,12 +1861,15 @@ const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1861
1861
|
*
|
|
1862
1862
|
* @summary 工单驳回
|
|
1863
1863
|
* @param {number} workOrderId
|
|
1864
|
+
* @param {WorkOrderRejectVo} workOrderRejectVo
|
|
1864
1865
|
* @param {*} [options] Override http request option.
|
|
1865
1866
|
* @throws {RequiredError}
|
|
1866
1867
|
*/
|
|
1867
|
-
workOrderReject: (workOrderId_1, ...args_1) => __awaiter(this, [workOrderId_1, ...args_1], void 0, function* (workOrderId, options = {}) {
|
|
1868
|
+
workOrderReject: (workOrderId_1, workOrderRejectVo_1, ...args_1) => __awaiter(this, [workOrderId_1, workOrderRejectVo_1, ...args_1], void 0, function* (workOrderId, workOrderRejectVo, options = {}) {
|
|
1868
1869
|
// verify required parameter 'workOrderId' is not null or undefined
|
|
1869
1870
|
(0, common_1.assertParamExists)('workOrderReject', 'workOrderId', workOrderId);
|
|
1871
|
+
// verify required parameter 'workOrderRejectVo' is not null or undefined
|
|
1872
|
+
(0, common_1.assertParamExists)('workOrderReject', 'workOrderRejectVo', workOrderRejectVo);
|
|
1870
1873
|
const localVarPath = `/gizone/workOrder/reject/{workOrderId}`
|
|
1871
1874
|
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
1872
1875
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -1881,9 +1884,11 @@ const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1881
1884
|
// authentication tokenScheme required
|
|
1882
1885
|
// http bearer authentication required
|
|
1883
1886
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1887
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1884
1888
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1885
1889
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1886
1890
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1891
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(workOrderRejectVo, localVarRequestOptions, configuration);
|
|
1887
1892
|
return {
|
|
1888
1893
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1889
1894
|
options: localVarRequestOptions,
|
|
@@ -2970,13 +2975,14 @@ const WorkOrderApiFp = function (configuration) {
|
|
|
2970
2975
|
*
|
|
2971
2976
|
* @summary 工单驳回
|
|
2972
2977
|
* @param {number} workOrderId
|
|
2978
|
+
* @param {WorkOrderRejectVo} workOrderRejectVo
|
|
2973
2979
|
* @param {*} [options] Override http request option.
|
|
2974
2980
|
* @throws {RequiredError}
|
|
2975
2981
|
*/
|
|
2976
|
-
workOrderReject(workOrderId, options) {
|
|
2982
|
+
workOrderReject(workOrderId, workOrderRejectVo, options) {
|
|
2977
2983
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2978
2984
|
var _a, _b, _c;
|
|
2979
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderReject(workOrderId, options);
|
|
2985
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderReject(workOrderId, workOrderRejectVo, options);
|
|
2980
2986
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2981
2987
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkOrderApi.workOrderReject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2982
2988
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3594,7 +3600,7 @@ const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
3594
3600
|
* @throws {RequiredError}
|
|
3595
3601
|
*/
|
|
3596
3602
|
workOrderReject(requestParameters, options) {
|
|
3597
|
-
return localVarFp.workOrderReject(requestParameters.workOrderId, options).then((request) => request(axios, basePath));
|
|
3603
|
+
return localVarFp.workOrderReject(requestParameters.workOrderId, requestParameters.workOrderRejectVo, options).then((request) => request(axios, basePath));
|
|
3598
3604
|
},
|
|
3599
3605
|
/**
|
|
3600
3606
|
*
|
|
@@ -4212,7 +4218,7 @@ class WorkOrderApi extends base_1.BaseAPI {
|
|
|
4212
4218
|
* @memberof WorkOrderApi
|
|
4213
4219
|
*/
|
|
4214
4220
|
workOrderReject(requestParameters, options) {
|
|
4215
|
-
return (0, exports.WorkOrderApiFp)(this.configuration).workOrderReject(requestParameters.workOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
4221
|
+
return (0, exports.WorkOrderApiFp)(this.configuration).workOrderReject(requestParameters.workOrderId, requestParameters.workOrderRejectVo, options).then((request) => request(this.axios, this.basePath));
|
|
4216
4222
|
}
|
|
4217
4223
|
/**
|
|
4218
4224
|
*
|
|
@@ -57,6 +57,7 @@ import type { WorkOrderDistributeLeafletsVo } from '../models';
|
|
|
57
57
|
import type { WorkOrderHandleMeterReadingVo } from '../models';
|
|
58
58
|
import type { WorkOrderPlanRepeatsEnum } from '../models';
|
|
59
59
|
import type { WorkOrderPushSettingsVO } from '../models';
|
|
60
|
+
import type { WorkOrderRejectVo } from '../models';
|
|
60
61
|
import type { WorkOrderReportVo } from '../models';
|
|
61
62
|
import type { WorkOrderSpotCheckVo } from '../models';
|
|
62
63
|
import type { WorkOrderStagingDataVo } from '../models';
|
|
@@ -516,10 +517,11 @@ export declare const WorkOrderApiAxiosParamCreator: (configuration?: Configurati
|
|
|
516
517
|
*
|
|
517
518
|
* @summary 工单驳回
|
|
518
519
|
* @param {number} workOrderId
|
|
520
|
+
* @param {WorkOrderRejectVo} workOrderRejectVo
|
|
519
521
|
* @param {*} [options] Override http request option.
|
|
520
522
|
* @throws {RequiredError}
|
|
521
523
|
*/
|
|
522
|
-
workOrderReject: (workOrderId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
524
|
+
workOrderReject: (workOrderId: number, workOrderRejectVo: WorkOrderRejectVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
523
525
|
/**
|
|
524
526
|
*
|
|
525
527
|
* @summary 新建工单
|
|
@@ -1031,10 +1033,11 @@ export declare const WorkOrderApiFp: (configuration?: Configuration) => {
|
|
|
1031
1033
|
*
|
|
1032
1034
|
* @summary 工单驳回
|
|
1033
1035
|
* @param {number} workOrderId
|
|
1036
|
+
* @param {WorkOrderRejectVo} workOrderRejectVo
|
|
1034
1037
|
* @param {*} [options] Override http request option.
|
|
1035
1038
|
* @throws {RequiredError}
|
|
1036
1039
|
*/
|
|
1037
|
-
workOrderReject(workOrderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
1040
|
+
workOrderReject(workOrderId: number, workOrderRejectVo: WorkOrderRejectVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
1038
1041
|
/**
|
|
1039
1042
|
*
|
|
1040
1043
|
* @summary 新建工单
|
|
@@ -2525,6 +2528,12 @@ export interface WorkOrderApiWorkOrderRejectRequest {
|
|
|
2525
2528
|
* @memberof WorkOrderApiWorkOrderReject
|
|
2526
2529
|
*/
|
|
2527
2530
|
readonly workOrderId: number;
|
|
2531
|
+
/**
|
|
2532
|
+
*
|
|
2533
|
+
* @type {WorkOrderRejectVo}
|
|
2534
|
+
* @memberof WorkOrderApiWorkOrderReject
|
|
2535
|
+
*/
|
|
2536
|
+
readonly workOrderRejectVo: WorkOrderRejectVo;
|
|
2528
2537
|
}
|
|
2529
2538
|
/**
|
|
2530
2539
|
* Request parameters for workOrderRepairAdd operation in WorkOrderApi.
|
|
@@ -1858,12 +1858,15 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1858
1858
|
*
|
|
1859
1859
|
* @summary 工单驳回
|
|
1860
1860
|
* @param {number} workOrderId
|
|
1861
|
+
* @param {WorkOrderRejectVo} workOrderRejectVo
|
|
1861
1862
|
* @param {*} [options] Override http request option.
|
|
1862
1863
|
* @throws {RequiredError}
|
|
1863
1864
|
*/
|
|
1864
|
-
workOrderReject: (workOrderId_1, ...args_1) => __awaiter(this, [workOrderId_1, ...args_1], void 0, function* (workOrderId, options = {}) {
|
|
1865
|
+
workOrderReject: (workOrderId_1, workOrderRejectVo_1, ...args_1) => __awaiter(this, [workOrderId_1, workOrderRejectVo_1, ...args_1], void 0, function* (workOrderId, workOrderRejectVo, options = {}) {
|
|
1865
1866
|
// verify required parameter 'workOrderId' is not null or undefined
|
|
1866
1867
|
assertParamExists('workOrderReject', 'workOrderId', workOrderId);
|
|
1868
|
+
// verify required parameter 'workOrderRejectVo' is not null or undefined
|
|
1869
|
+
assertParamExists('workOrderReject', 'workOrderRejectVo', workOrderRejectVo);
|
|
1867
1870
|
const localVarPath = `/gizone/workOrder/reject/{workOrderId}`
|
|
1868
1871
|
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
1869
1872
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -1878,9 +1881,11 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1878
1881
|
// authentication tokenScheme required
|
|
1879
1882
|
// http bearer authentication required
|
|
1880
1883
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1884
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1881
1885
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1882
1886
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1883
1887
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1888
|
+
localVarRequestOptions.data = serializeDataIfNeeded(workOrderRejectVo, localVarRequestOptions, configuration);
|
|
1884
1889
|
return {
|
|
1885
1890
|
url: toPathString(localVarUrlObj),
|
|
1886
1891
|
options: localVarRequestOptions,
|
|
@@ -2966,13 +2971,14 @@ export const WorkOrderApiFp = function (configuration) {
|
|
|
2966
2971
|
*
|
|
2967
2972
|
* @summary 工单驳回
|
|
2968
2973
|
* @param {number} workOrderId
|
|
2974
|
+
* @param {WorkOrderRejectVo} workOrderRejectVo
|
|
2969
2975
|
* @param {*} [options] Override http request option.
|
|
2970
2976
|
* @throws {RequiredError}
|
|
2971
2977
|
*/
|
|
2972
|
-
workOrderReject(workOrderId, options) {
|
|
2978
|
+
workOrderReject(workOrderId, workOrderRejectVo, options) {
|
|
2973
2979
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2974
2980
|
var _a, _b, _c;
|
|
2975
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderReject(workOrderId, options);
|
|
2981
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderReject(workOrderId, workOrderRejectVo, options);
|
|
2976
2982
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2977
2983
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderReject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2978
2984
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3589,7 +3595,7 @@ export const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
3589
3595
|
* @throws {RequiredError}
|
|
3590
3596
|
*/
|
|
3591
3597
|
workOrderReject(requestParameters, options) {
|
|
3592
|
-
return localVarFp.workOrderReject(requestParameters.workOrderId, options).then((request) => request(axios, basePath));
|
|
3598
|
+
return localVarFp.workOrderReject(requestParameters.workOrderId, requestParameters.workOrderRejectVo, options).then((request) => request(axios, basePath));
|
|
3593
3599
|
},
|
|
3594
3600
|
/**
|
|
3595
3601
|
*
|
|
@@ -4206,7 +4212,7 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
4206
4212
|
* @memberof WorkOrderApi
|
|
4207
4213
|
*/
|
|
4208
4214
|
workOrderReject(requestParameters, options) {
|
|
4209
|
-
return WorkOrderApiFp(this.configuration).workOrderReject(requestParameters.workOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
4215
|
+
return WorkOrderApiFp(this.configuration).workOrderReject(requestParameters.workOrderId, requestParameters.workOrderRejectVo, options).then((request) => request(this.axios, this.basePath));
|
|
4210
4216
|
}
|
|
4211
4217
|
/**
|
|
4212
4218
|
*
|
|
@@ -19,22 +19,28 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
19
19
|
export interface GetUserWx200Response {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {
|
|
22
|
+
* @type {number}
|
|
23
23
|
* @memberof GetUserWx200Response
|
|
24
24
|
*/
|
|
25
|
-
'
|
|
25
|
+
'status'?: number;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {
|
|
28
|
+
* @type {Array<string>}
|
|
29
29
|
* @memberof GetUserWx200Response
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'headerNames'?: Array<string>;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {object}
|
|
35
35
|
* @memberof GetUserWx200Response
|
|
36
36
|
*/
|
|
37
37
|
'trailerFields'?: object;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {GetUserWx200ResponseLocale}
|
|
41
|
+
* @memberof GetUserWx200Response
|
|
42
|
+
*/
|
|
43
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
38
44
|
/**
|
|
39
45
|
*
|
|
40
46
|
* @type {string}
|
|
@@ -53,12 +59,6 @@ export interface GetUserWx200Response {
|
|
|
53
59
|
* @memberof GetUserWx200Response
|
|
54
60
|
*/
|
|
55
61
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {GetUserWx200ResponseLocale}
|
|
59
|
-
* @memberof GetUserWx200Response
|
|
60
|
-
*/
|
|
61
|
-
'locale'?: GetUserWx200ResponseLocale;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @type {number}
|
|
@@ -71,12 +71,6 @@ export interface GetUserWx200Response {
|
|
|
71
71
|
* @memberof GetUserWx200Response
|
|
72
72
|
*/
|
|
73
73
|
'characterEncoding'?: string;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {object}
|
|
77
|
-
* @memberof GetUserWx200Response
|
|
78
|
-
*/
|
|
79
|
-
'writer'?: object;
|
|
80
74
|
/**
|
|
81
75
|
*
|
|
82
76
|
* @type {number}
|
|
@@ -89,4 +83,10 @@ export interface GetUserWx200Response {
|
|
|
89
83
|
* @memberof GetUserWx200Response
|
|
90
84
|
*/
|
|
91
85
|
'committed'?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {object}
|
|
89
|
+
* @memberof GetUserWx200Response
|
|
90
|
+
*/
|
|
91
|
+
'writer'?: object;
|
|
92
92
|
}
|
|
@@ -922,6 +922,7 @@ export * from './work-order-plan-repeats-enum';
|
|
|
922
922
|
export * from './work-order-push-settings-entity';
|
|
923
923
|
export * from './work-order-push-settings-save-or-update-vo';
|
|
924
924
|
export * from './work-order-push-settings-vo';
|
|
925
|
+
export * from './work-order-reject-vo';
|
|
925
926
|
export * from './work-order-report-vo';
|
|
926
927
|
export * from './work-order-search-dto';
|
|
927
928
|
export * from './work-order-settings-type-enum';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -922,6 +922,7 @@ export * from './work-order-plan-repeats-enum';
|
|
|
922
922
|
export * from './work-order-push-settings-entity';
|
|
923
923
|
export * from './work-order-push-settings-save-or-update-vo';
|
|
924
924
|
export * from './work-order-push-settings-vo';
|
|
925
|
+
export * from './work-order-reject-vo';
|
|
925
926
|
export * from './work-order-report-vo';
|
|
926
927
|
export * from './work-order-search-dto';
|
|
927
928
|
export * from './work-order-settings-type-enum';
|
|
@@ -370,14 +370,14 @@ export interface SysUser {
|
|
|
370
370
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
371
371
|
/**
|
|
372
372
|
*
|
|
373
|
-
* @type {
|
|
373
|
+
* @type {number}
|
|
374
374
|
* @memberof SysUser
|
|
375
375
|
*/
|
|
376
|
-
'
|
|
376
|
+
'cuserId'?: number;
|
|
377
377
|
/**
|
|
378
378
|
*
|
|
379
|
-
* @type {
|
|
379
|
+
* @type {string}
|
|
380
380
|
* @memberof SysUser
|
|
381
381
|
*/
|
|
382
|
-
'
|
|
382
|
+
'cid'?: string;
|
|
383
383
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 工单驳回入参
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WorkOrderRejectVo
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkOrderRejectVo {
|
|
18
|
+
/**
|
|
19
|
+
* 驳回原因
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WorkOrderRejectVo
|
|
22
|
+
*/
|
|
23
|
+
'reasonDescription'?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -19,22 +19,28 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
19
19
|
export interface GetUserWx200Response {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {
|
|
22
|
+
* @type {number}
|
|
23
23
|
* @memberof GetUserWx200Response
|
|
24
24
|
*/
|
|
25
|
-
'
|
|
25
|
+
'status'?: number;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {
|
|
28
|
+
* @type {Array<string>}
|
|
29
29
|
* @memberof GetUserWx200Response
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'headerNames'?: Array<string>;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {object}
|
|
35
35
|
* @memberof GetUserWx200Response
|
|
36
36
|
*/
|
|
37
37
|
'trailerFields'?: object;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {GetUserWx200ResponseLocale}
|
|
41
|
+
* @memberof GetUserWx200Response
|
|
42
|
+
*/
|
|
43
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
38
44
|
/**
|
|
39
45
|
*
|
|
40
46
|
* @type {string}
|
|
@@ -53,12 +59,6 @@ export interface GetUserWx200Response {
|
|
|
53
59
|
* @memberof GetUserWx200Response
|
|
54
60
|
*/
|
|
55
61
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {GetUserWx200ResponseLocale}
|
|
59
|
-
* @memberof GetUserWx200Response
|
|
60
|
-
*/
|
|
61
|
-
'locale'?: GetUserWx200ResponseLocale;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @type {number}
|
|
@@ -71,12 +71,6 @@ export interface GetUserWx200Response {
|
|
|
71
71
|
* @memberof GetUserWx200Response
|
|
72
72
|
*/
|
|
73
73
|
'characterEncoding'?: string;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {object}
|
|
77
|
-
* @memberof GetUserWx200Response
|
|
78
|
-
*/
|
|
79
|
-
'writer'?: object;
|
|
80
74
|
/**
|
|
81
75
|
*
|
|
82
76
|
* @type {number}
|
|
@@ -89,4 +83,10 @@ export interface GetUserWx200Response {
|
|
|
89
83
|
* @memberof GetUserWx200Response
|
|
90
84
|
*/
|
|
91
85
|
'committed'?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {object}
|
|
89
|
+
* @memberof GetUserWx200Response
|
|
90
|
+
*/
|
|
91
|
+
'writer'?: object;
|
|
92
92
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -922,6 +922,7 @@ export * from './work-order-plan-repeats-enum';
|
|
|
922
922
|
export * from './work-order-push-settings-entity';
|
|
923
923
|
export * from './work-order-push-settings-save-or-update-vo';
|
|
924
924
|
export * from './work-order-push-settings-vo';
|
|
925
|
+
export * from './work-order-reject-vo';
|
|
925
926
|
export * from './work-order-report-vo';
|
|
926
927
|
export * from './work-order-search-dto';
|
|
927
928
|
export * from './work-order-settings-type-enum';
|
package/dist/models/index.js
CHANGED
|
@@ -938,6 +938,7 @@ __exportStar(require("./work-order-plan-repeats-enum"), exports);
|
|
|
938
938
|
__exportStar(require("./work-order-push-settings-entity"), exports);
|
|
939
939
|
__exportStar(require("./work-order-push-settings-save-or-update-vo"), exports);
|
|
940
940
|
__exportStar(require("./work-order-push-settings-vo"), exports);
|
|
941
|
+
__exportStar(require("./work-order-reject-vo"), exports);
|
|
941
942
|
__exportStar(require("./work-order-report-vo"), exports);
|
|
942
943
|
__exportStar(require("./work-order-search-dto"), exports);
|
|
943
944
|
__exportStar(require("./work-order-settings-type-enum"), exports);
|
|
@@ -370,14 +370,14 @@ export interface SysUser {
|
|
|
370
370
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
371
371
|
/**
|
|
372
372
|
*
|
|
373
|
-
* @type {
|
|
373
|
+
* @type {number}
|
|
374
374
|
* @memberof SysUser
|
|
375
375
|
*/
|
|
376
|
-
'
|
|
376
|
+
'cuserId'?: number;
|
|
377
377
|
/**
|
|
378
378
|
*
|
|
379
|
-
* @type {
|
|
379
|
+
* @type {string}
|
|
380
380
|
* @memberof SysUser
|
|
381
381
|
*/
|
|
382
|
-
'
|
|
382
|
+
'cid'?: string;
|
|
383
383
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 工单驳回入参
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WorkOrderRejectVo
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkOrderRejectVo {
|
|
18
|
+
/**
|
|
19
|
+
* 驳回原因
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WorkOrderRejectVo
|
|
22
|
+
*/
|
|
23
|
+
'reasonDescription'?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -28,22 +28,28 @@ import type { GetUserWx200ResponseOutputStream } from './get-user-wx200-response
|
|
|
28
28
|
export interface GetUserWx200Response {
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {
|
|
31
|
+
* @type {number}
|
|
32
32
|
* @memberof GetUserWx200Response
|
|
33
33
|
*/
|
|
34
|
-
'
|
|
34
|
+
'status'?: number;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {
|
|
37
|
+
* @type {Array<string>}
|
|
38
38
|
* @memberof GetUserWx200Response
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'headerNames'?: Array<string>;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {object}
|
|
44
44
|
* @memberof GetUserWx200Response
|
|
45
45
|
*/
|
|
46
46
|
'trailerFields'?: object;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {GetUserWx200ResponseLocale}
|
|
50
|
+
* @memberof GetUserWx200Response
|
|
51
|
+
*/
|
|
52
|
+
'locale'?: GetUserWx200ResponseLocale;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {string}
|
|
@@ -62,12 +68,6 @@ export interface GetUserWx200Response {
|
|
|
62
68
|
* @memberof GetUserWx200Response
|
|
63
69
|
*/
|
|
64
70
|
'outputStream'?: GetUserWx200ResponseOutputStream;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {GetUserWx200ResponseLocale}
|
|
68
|
-
* @memberof GetUserWx200Response
|
|
69
|
-
*/
|
|
70
|
-
'locale'?: GetUserWx200ResponseLocale;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
73
|
* @type {number}
|
|
@@ -80,12 +80,6 @@ export interface GetUserWx200Response {
|
|
|
80
80
|
* @memberof GetUserWx200Response
|
|
81
81
|
*/
|
|
82
82
|
'characterEncoding'?: string;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {object}
|
|
86
|
-
* @memberof GetUserWx200Response
|
|
87
|
-
*/
|
|
88
|
-
'writer'?: object;
|
|
89
83
|
/**
|
|
90
84
|
*
|
|
91
85
|
* @type {number}
|
|
@@ -98,5 +92,11 @@ export interface GetUserWx200Response {
|
|
|
98
92
|
* @memberof GetUserWx200Response
|
|
99
93
|
*/
|
|
100
94
|
'committed'?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {object}
|
|
98
|
+
* @memberof GetUserWx200Response
|
|
99
|
+
*/
|
|
100
|
+
'writer'?: object;
|
|
101
101
|
}
|
|
102
102
|
|
package/models/index.ts
CHANGED
|
@@ -922,6 +922,7 @@ export * from './work-order-plan-repeats-enum';
|
|
|
922
922
|
export * from './work-order-push-settings-entity';
|
|
923
923
|
export * from './work-order-push-settings-save-or-update-vo';
|
|
924
924
|
export * from './work-order-push-settings-vo';
|
|
925
|
+
export * from './work-order-reject-vo';
|
|
925
926
|
export * from './work-order-report-vo';
|
|
926
927
|
export * from './work-order-search-dto';
|
|
927
928
|
export * from './work-order-settings-type-enum';
|
package/models/sys-user.ts
CHANGED
|
@@ -379,15 +379,15 @@ export interface SysUser {
|
|
|
379
379
|
'userAttachments'?: Array<SysUserAttachmentInfo>;
|
|
380
380
|
/**
|
|
381
381
|
*
|
|
382
|
-
* @type {
|
|
382
|
+
* @type {number}
|
|
383
383
|
* @memberof SysUser
|
|
384
384
|
*/
|
|
385
|
-
'
|
|
385
|
+
'cuserId'?: number;
|
|
386
386
|
/**
|
|
387
387
|
*
|
|
388
|
-
* @type {
|
|
388
|
+
* @type {string}
|
|
389
389
|
* @memberof SysUser
|
|
390
390
|
*/
|
|
391
|
-
'
|
|
391
|
+
'cid'?: string;
|
|
392
392
|
}
|
|
393
393
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 工单驳回入参
|
|
19
|
+
* @export
|
|
20
|
+
* @interface WorkOrderRejectVo
|
|
21
|
+
*/
|
|
22
|
+
export interface WorkOrderRejectVo {
|
|
23
|
+
/**
|
|
24
|
+
* 驳回原因
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof WorkOrderRejectVo
|
|
27
|
+
*/
|
|
28
|
+
'reasonDescription'?: string;
|
|
29
|
+
}
|
|
30
|
+
|