@gizone/rrs-client 4.1.0-beta.153 → 4.1.1-alpha.159
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 +10 -0
- package/README.md +2 -2
- package/api.ts +1 -0
- package/apis/offline-alert-work-order-controller-api.ts +149 -0
- package/apis/space-api.ts +14 -12
- package/apis/surveillance-api.ts +14 -12
- package/apis/work-order-api.ts +103 -0
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/offline-alert-work-order-controller-api.d.ts +87 -0
- package/dist/apis/offline-alert-work-order-controller-api.js +138 -0
- package/dist/apis/space-api.d.ts +7 -6
- package/dist/apis/space-api.js +10 -10
- package/dist/apis/surveillance-api.d.ts +7 -6
- package/dist/apis/surveillance-api.js +10 -10
- package/dist/apis/work-order-api.d.ts +55 -0
- package/dist/apis/work-order-api.js +75 -0
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/offline-alert-work-order-controller-api.d.ts +87 -0
- package/dist/esm/apis/offline-alert-work-order-controller-api.js +131 -0
- package/dist/esm/apis/space-api.d.ts +7 -6
- package/dist/esm/apis/space-api.js +10 -10
- package/dist/esm/apis/surveillance-api.d.ts +7 -6
- package/dist/esm/apis/surveillance-api.js +10 -10
- package/dist/esm/apis/work-order-api.d.ts +55 -0
- package/dist/esm/apis/work-order-api.js +75 -0
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/models/get-user-wx200-response.d.ts +9 -9
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/ipage-access-vo.d.ts +4 -4
- package/dist/esm/models/json-result-offline-alert-work-order-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-offline-alert-work-order-details-dto.js +14 -0
- package/dist/esm/models/network-monitor-repair-add-vo.d.ts +6 -0
- package/dist/esm/models/offline-alert-device-vo.d.ts +30 -0
- package/dist/esm/models/offline-alert-device-vo.js +14 -0
- package/dist/esm/models/offline-alert-submit-vo.d.ts +43 -0
- package/dist/esm/models/offline-alert-submit-vo.js +14 -0
- package/dist/esm/models/offline-alert-work-order-details-dto.d.ts +98 -0
- package/dist/esm/models/offline-alert-work-order-details-dto.js +20 -0
- package/dist/esm/models/offline-alert-work-order-info.d.ts +72 -0
- package/dist/esm/models/offline-alert-work-order-info.js +21 -0
- package/dist/esm/models/offline-alert-work-order-vo.d.ts +43 -0
- package/dist/esm/models/offline-alert-work-order-vo.js +14 -0
- package/dist/esm/models/result-code.d.ts +1 -0
- package/dist/esm/models/result-code.js +1 -0
- package/dist/esm/models/space-point-vo.d.ts +24 -0
- package/dist/esm/models/space-point-vo.js +14 -0
- package/dist/esm/models/surveillance-point-vo.d.ts +24 -0
- package/dist/esm/models/surveillance-point-vo.js +14 -0
- package/dist/esm/models/system-user-msg-source-type-enum.d.ts +1 -0
- package/dist/esm/models/system-user-msg-source-type-enum.js +2 -1
- package/dist/esm/models/work-order-ext-data.d.ts +7 -0
- package/dist/esm/models/work-order-internal-status-enum.d.ts +2 -0
- package/dist/esm/models/work-order-internal-status-enum.js +3 -1
- package/dist/esm/models/work-order-issue-type-enum.d.ts +10 -0
- package/dist/esm/models/work-order-issue-type-enum.js +11 -1
- package/dist/esm/models/work-order-report-vo.d.ts +8 -1
- package/dist/esm/models/work-order-settings-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-settings-type-enum.js +2 -1
- package/dist/esm/models/work-order-source-enum.d.ts +1 -1
- package/dist/esm/models/work-order-source-enum.js +1 -1
- package/dist/esm/models/work-order-submit-vo.d.ts +25 -0
- package/dist/esm/models/work-order-submit-vo.js +14 -0
- package/dist/esm/models/work-order-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-type-enum.js +2 -1
- package/dist/models/get-user-wx200-response.d.ts +9 -9
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/ipage-access-vo.d.ts +4 -4
- package/dist/models/json-result-offline-alert-work-order-details-dto.d.ts +62 -0
- package/dist/models/json-result-offline-alert-work-order-details-dto.js +15 -0
- package/dist/models/network-monitor-repair-add-vo.d.ts +6 -0
- package/dist/models/offline-alert-device-vo.d.ts +30 -0
- package/dist/models/offline-alert-device-vo.js +15 -0
- package/dist/models/offline-alert-submit-vo.d.ts +43 -0
- package/dist/models/offline-alert-submit-vo.js +15 -0
- package/dist/models/offline-alert-work-order-details-dto.d.ts +98 -0
- package/dist/models/offline-alert-work-order-details-dto.js +23 -0
- package/dist/models/offline-alert-work-order-info.d.ts +72 -0
- package/dist/models/offline-alert-work-order-info.js +24 -0
- package/dist/models/offline-alert-work-order-vo.d.ts +43 -0
- package/dist/models/offline-alert-work-order-vo.js +15 -0
- package/dist/models/result-code.d.ts +1 -0
- package/dist/models/result-code.js +1 -0
- package/dist/models/space-point-vo.d.ts +24 -0
- package/dist/models/space-point-vo.js +15 -0
- package/dist/models/surveillance-point-vo.d.ts +24 -0
- package/dist/models/surveillance-point-vo.js +15 -0
- package/dist/models/system-user-msg-source-type-enum.d.ts +1 -0
- package/dist/models/system-user-msg-source-type-enum.js +2 -1
- package/dist/models/work-order-ext-data.d.ts +7 -0
- package/dist/models/work-order-internal-status-enum.d.ts +2 -0
- package/dist/models/work-order-internal-status-enum.js +3 -1
- package/dist/models/work-order-issue-type-enum.d.ts +10 -0
- package/dist/models/work-order-issue-type-enum.js +11 -1
- package/dist/models/work-order-report-vo.d.ts +8 -1
- package/dist/models/work-order-settings-type-enum.d.ts +1 -0
- package/dist/models/work-order-settings-type-enum.js +2 -1
- package/dist/models/work-order-source-enum.d.ts +1 -1
- package/dist/models/work-order-source-enum.js +1 -1
- package/dist/models/work-order-submit-vo.d.ts +25 -0
- package/dist/models/work-order-submit-vo.js +15 -0
- package/dist/models/work-order-type-enum.d.ts +1 -0
- package/dist/models/work-order-type-enum.js +2 -1
- package/models/get-user-wx200-response.ts +9 -9
- package/models/index.ts +9 -0
- package/models/ipage-access-vo.ts +4 -4
- package/models/json-result-offline-alert-work-order-details-dto.ts +72 -0
- package/models/network-monitor-repair-add-vo.ts +6 -0
- package/models/offline-alert-device-vo.ts +36 -0
- package/models/offline-alert-submit-vo.ts +53 -0
- package/models/offline-alert-work-order-details-dto.ts +119 -0
- package/models/offline-alert-work-order-info.ts +86 -0
- package/models/offline-alert-work-order-vo.ts +53 -0
- package/models/result-code.ts +1 -0
- package/models/space-point-vo.ts +30 -0
- package/models/surveillance-point-vo.ts +30 -0
- package/models/system-user-msg-source-type-enum.ts +2 -1
- package/models/work-order-ext-data.ts +9 -0
- package/models/work-order-internal-status-enum.ts +3 -1
- package/models/work-order-issue-type-enum.ts +11 -1
- package/models/work-order-report-vo.ts +10 -1
- package/models/work-order-settings-type-enum.ts +2 -1
- package/models/work-order-source-enum.ts +1 -1
- package/models/work-order-submit-vo.ts +33 -0
- package/models/work-order-type-enum.ts +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,87 @@
|
|
|
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
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { JsonResultOfflineAlertWorkOrderDetailsDto } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* OfflineAlertWorkOrderControllerApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const OfflineAlertWorkOrderControllerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
* 离线告警工单详情
|
|
23
|
+
* @summary 离线告警工单详情
|
|
24
|
+
* @param {number} workOrderId
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
workOrderOfflineAlertDetails: (workOrderId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* OfflineAlertWorkOrderControllerApi - functional programming interface
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const OfflineAlertWorkOrderControllerApiFp: (configuration?: Configuration) => {
|
|
35
|
+
/**
|
|
36
|
+
* 离线告警工单详情
|
|
37
|
+
* @summary 离线告警工单详情
|
|
38
|
+
* @param {number} workOrderId
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
workOrderOfflineAlertDetails(workOrderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultOfflineAlertWorkOrderDetailsDto>>;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* OfflineAlertWorkOrderControllerApi - factory interface
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const OfflineAlertWorkOrderControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
49
|
+
/**
|
|
50
|
+
* 离线告警工单详情
|
|
51
|
+
* @summary 离线告警工单详情
|
|
52
|
+
* @param {OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest} requestParameters Request parameters.
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
workOrderOfflineAlertDetails(requestParameters: OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultOfflineAlertWorkOrderDetailsDto>;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Request parameters for workOrderOfflineAlertDetails operation in OfflineAlertWorkOrderControllerApi.
|
|
60
|
+
* @export
|
|
61
|
+
* @interface OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest
|
|
62
|
+
*/
|
|
63
|
+
export interface OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest {
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetails
|
|
68
|
+
*/
|
|
69
|
+
readonly workOrderId: number;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* OfflineAlertWorkOrderControllerApi - object-oriented interface
|
|
73
|
+
* @export
|
|
74
|
+
* @class OfflineAlertWorkOrderControllerApi
|
|
75
|
+
* @extends {BaseAPI}
|
|
76
|
+
*/
|
|
77
|
+
export declare class OfflineAlertWorkOrderControllerApi extends BaseAPI {
|
|
78
|
+
/**
|
|
79
|
+
* 离线告警工单详情
|
|
80
|
+
* @summary 离线告警工单详情
|
|
81
|
+
* @param {OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest} requestParameters Request parameters.
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
* @memberof OfflineAlertWorkOrderControllerApi
|
|
85
|
+
*/
|
|
86
|
+
workOrderOfflineAlertDetails(requestParameters: OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultOfflineAlertWorkOrderDetailsDto, any>>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* OfflineAlertWorkOrderControllerApi - axios parameter creator
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export const OfflineAlertWorkOrderControllerApiAxiosParamCreator = function (configuration) {
|
|
34
|
+
return {
|
|
35
|
+
/**
|
|
36
|
+
* 离线告警工单详情
|
|
37
|
+
* @summary 离线告警工单详情
|
|
38
|
+
* @param {number} workOrderId
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
workOrderOfflineAlertDetails: (workOrderId_1, ...args_1) => __awaiter(this, [workOrderId_1, ...args_1], void 0, function* (workOrderId, options = {}) {
|
|
43
|
+
// verify required parameter 'workOrderId' is not null or undefined
|
|
44
|
+
assertParamExists('workOrderOfflineAlertDetails', 'workOrderId', workOrderId);
|
|
45
|
+
const localVarPath = `/gizone/workOrder/offlineAlert/{workOrderId}`
|
|
46
|
+
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
47
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
|
+
let baseOptions;
|
|
50
|
+
if (configuration) {
|
|
51
|
+
baseOptions = configuration.baseOptions;
|
|
52
|
+
}
|
|
53
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
54
|
+
const localVarHeaderParameter = {};
|
|
55
|
+
const localVarQueryParameter = {};
|
|
56
|
+
// authentication tokenScheme required
|
|
57
|
+
// http bearer authentication required
|
|
58
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
59
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
+
return {
|
|
63
|
+
url: toPathString(localVarUrlObj),
|
|
64
|
+
options: localVarRequestOptions,
|
|
65
|
+
};
|
|
66
|
+
}),
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* OfflineAlertWorkOrderControllerApi - functional programming interface
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export const OfflineAlertWorkOrderControllerApiFp = function (configuration) {
|
|
74
|
+
const localVarAxiosParamCreator = OfflineAlertWorkOrderControllerApiAxiosParamCreator(configuration);
|
|
75
|
+
return {
|
|
76
|
+
/**
|
|
77
|
+
* 离线告警工单详情
|
|
78
|
+
* @summary 离线告警工单详情
|
|
79
|
+
* @param {number} workOrderId
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
workOrderOfflineAlertDetails(workOrderId, options) {
|
|
84
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
+
var _a, _b, _c;
|
|
86
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderOfflineAlertDetails(workOrderId, options);
|
|
87
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
88
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OfflineAlertWorkOrderControllerApi.workOrderOfflineAlertDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
89
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
90
|
+
});
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* OfflineAlertWorkOrderControllerApi - factory interface
|
|
96
|
+
* @export
|
|
97
|
+
*/
|
|
98
|
+
export const OfflineAlertWorkOrderControllerApiFactory = function (configuration, basePath, axios) {
|
|
99
|
+
const localVarFp = OfflineAlertWorkOrderControllerApiFp(configuration);
|
|
100
|
+
return {
|
|
101
|
+
/**
|
|
102
|
+
* 离线告警工单详情
|
|
103
|
+
* @summary 离线告警工单详情
|
|
104
|
+
* @param {OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest} requestParameters Request parameters.
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
workOrderOfflineAlertDetails(requestParameters, options) {
|
|
109
|
+
return localVarFp.workOrderOfflineAlertDetails(requestParameters.workOrderId, options).then((request) => request(axios, basePath));
|
|
110
|
+
},
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* OfflineAlertWorkOrderControllerApi - object-oriented interface
|
|
115
|
+
* @export
|
|
116
|
+
* @class OfflineAlertWorkOrderControllerApi
|
|
117
|
+
* @extends {BaseAPI}
|
|
118
|
+
*/
|
|
119
|
+
export class OfflineAlertWorkOrderControllerApi extends BaseAPI {
|
|
120
|
+
/**
|
|
121
|
+
* 离线告警工单详情
|
|
122
|
+
* @summary 离线告警工单详情
|
|
123
|
+
* @param {OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest} requestParameters Request parameters.
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
* @memberof OfflineAlertWorkOrderControllerApi
|
|
127
|
+
*/
|
|
128
|
+
workOrderOfflineAlertDetails(requestParameters, options) {
|
|
129
|
+
return OfflineAlertWorkOrderControllerApiFp(this.configuration).workOrderOfflineAlertDetails(requestParameters.workOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -23,6 +23,7 @@ import type { JsonResultSpaceImageDetailDTO } from '../models';
|
|
|
23
23
|
import type { SpaceAddPlanVo } from '../models';
|
|
24
24
|
import type { SpaceAddVO } from '../models';
|
|
25
25
|
import type { SpaceEditVO } from '../models';
|
|
26
|
+
import type { SpacePointVo } from '../models';
|
|
26
27
|
import type { SpaceQrCode } from '../models';
|
|
27
28
|
import type { SpaceUrlAddVO } from '../models';
|
|
28
29
|
import type { SpaceUrlEditVO } from '../models';
|
|
@@ -165,11 +166,11 @@ export declare const SpaceApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
165
166
|
*
|
|
166
167
|
* @summary 空间标点
|
|
167
168
|
* @param {number} id
|
|
168
|
-
* @param {
|
|
169
|
+
* @param {SpacePointVo} spacePointVo
|
|
169
170
|
* @param {*} [options] Override http request option.
|
|
170
171
|
* @throws {RequiredError}
|
|
171
172
|
*/
|
|
172
|
-
spacePunctuation: (id: number,
|
|
173
|
+
spacePunctuation: (id: number, spacePointVo: SpacePointVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
173
174
|
/**
|
|
174
175
|
*
|
|
175
176
|
* @summary 批量生成二维码
|
|
@@ -342,11 +343,11 @@ export declare const SpaceApiFp: (configuration?: Configuration) => {
|
|
|
342
343
|
*
|
|
343
344
|
* @summary 空间标点
|
|
344
345
|
* @param {number} id
|
|
345
|
-
* @param {
|
|
346
|
+
* @param {SpacePointVo} spacePointVo
|
|
346
347
|
* @param {*} [options] Override http request option.
|
|
347
348
|
* @throws {RequiredError}
|
|
348
349
|
*/
|
|
349
|
-
spacePunctuation(id: number,
|
|
350
|
+
spacePunctuation(id: number, spacePointVo: SpacePointVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
350
351
|
/**
|
|
351
352
|
*
|
|
352
353
|
* @summary 批量生成二维码
|
|
@@ -780,10 +781,10 @@ export interface SpaceApiSpacePunctuationRequest {
|
|
|
780
781
|
readonly id: number;
|
|
781
782
|
/**
|
|
782
783
|
*
|
|
783
|
-
* @type {
|
|
784
|
+
* @type {SpacePointVo}
|
|
784
785
|
* @memberof SpaceApiSpacePunctuation
|
|
785
786
|
*/
|
|
786
|
-
readonly
|
|
787
|
+
readonly spacePointVo: SpacePointVo;
|
|
787
788
|
}
|
|
788
789
|
/**
|
|
789
790
|
* Request parameters for spaceQrCode operation in SpaceApi.
|
|
@@ -580,15 +580,15 @@ export const SpaceApiAxiosParamCreator = function (configuration) {
|
|
|
580
580
|
*
|
|
581
581
|
* @summary 空间标点
|
|
582
582
|
* @param {number} id
|
|
583
|
-
* @param {
|
|
583
|
+
* @param {SpacePointVo} spacePointVo
|
|
584
584
|
* @param {*} [options] Override http request option.
|
|
585
585
|
* @throws {RequiredError}
|
|
586
586
|
*/
|
|
587
|
-
spacePunctuation: (id_1,
|
|
587
|
+
spacePunctuation: (id_1, spacePointVo_1, ...args_1) => __awaiter(this, [id_1, spacePointVo_1, ...args_1], void 0, function* (id, spacePointVo, options = {}) {
|
|
588
588
|
// verify required parameter 'id' is not null or undefined
|
|
589
589
|
assertParamExists('spacePunctuation', 'id', id);
|
|
590
|
-
// verify required parameter '
|
|
591
|
-
assertParamExists('spacePunctuation', '
|
|
590
|
+
// verify required parameter 'spacePointVo' is not null or undefined
|
|
591
|
+
assertParamExists('spacePunctuation', 'spacePointVo', spacePointVo);
|
|
592
592
|
const localVarPath = `/gizone/space/point/{id}`
|
|
593
593
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
594
594
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -607,7 +607,7 @@ export const SpaceApiAxiosParamCreator = function (configuration) {
|
|
|
607
607
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
608
608
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
609
609
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
610
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
610
|
+
localVarRequestOptions.data = serializeDataIfNeeded(spacePointVo, localVarRequestOptions, configuration);
|
|
611
611
|
return {
|
|
612
612
|
url: toPathString(localVarUrlObj),
|
|
613
613
|
options: localVarRequestOptions,
|
|
@@ -1014,14 +1014,14 @@ export const SpaceApiFp = function (configuration) {
|
|
|
1014
1014
|
*
|
|
1015
1015
|
* @summary 空间标点
|
|
1016
1016
|
* @param {number} id
|
|
1017
|
-
* @param {
|
|
1017
|
+
* @param {SpacePointVo} spacePointVo
|
|
1018
1018
|
* @param {*} [options] Override http request option.
|
|
1019
1019
|
* @throws {RequiredError}
|
|
1020
1020
|
*/
|
|
1021
|
-
spacePunctuation(id,
|
|
1021
|
+
spacePunctuation(id, spacePointVo, options) {
|
|
1022
1022
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1023
1023
|
var _a, _b, _c;
|
|
1024
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.spacePunctuation(id,
|
|
1024
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.spacePunctuation(id, spacePointVo, options);
|
|
1025
1025
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1026
1026
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SpaceApi.spacePunctuation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1027
1027
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1267,7 +1267,7 @@ export const SpaceApiFactory = function (configuration, basePath, axios) {
|
|
|
1267
1267
|
* @throws {RequiredError}
|
|
1268
1268
|
*/
|
|
1269
1269
|
spacePunctuation(requestParameters, options) {
|
|
1270
|
-
return localVarFp.spacePunctuation(requestParameters.id, requestParameters.
|
|
1270
|
+
return localVarFp.spacePunctuation(requestParameters.id, requestParameters.spacePointVo, options).then((request) => request(axios, basePath));
|
|
1271
1271
|
},
|
|
1272
1272
|
/**
|
|
1273
1273
|
*
|
|
@@ -1502,7 +1502,7 @@ export class SpaceApi extends BaseAPI {
|
|
|
1502
1502
|
* @memberof SpaceApi
|
|
1503
1503
|
*/
|
|
1504
1504
|
spacePunctuation(requestParameters, options) {
|
|
1505
|
-
return SpaceApiFp(this.configuration).spacePunctuation(requestParameters.id, requestParameters.
|
|
1505
|
+
return SpaceApiFp(this.configuration).spacePunctuation(requestParameters.id, requestParameters.spacePointVo, options).then((request) => request(this.axios, this.basePath));
|
|
1506
1506
|
}
|
|
1507
1507
|
/**
|
|
1508
1508
|
*
|
|
@@ -20,6 +20,7 @@ import type { JsonResultPageDtoSurveillanceDetailsDto } from '../models';
|
|
|
20
20
|
import type { JsonResultSurveillanceDetailsDto } from '../models';
|
|
21
21
|
import type { JsonResultSurveillanceLiveDto } from '../models';
|
|
22
22
|
import type { JsonResultVoid } from '../models';
|
|
23
|
+
import type { SurveillancePointVo } from '../models';
|
|
23
24
|
import type { SurveillanceUpdateVo } from '../models';
|
|
24
25
|
/**
|
|
25
26
|
* SurveillanceApi - axios parameter creator
|
|
@@ -121,11 +122,11 @@ export declare const SurveillanceApiAxiosParamCreator: (configuration?: Configur
|
|
|
121
122
|
* 更新监控点位信息
|
|
122
123
|
* @summary 更新监控点位
|
|
123
124
|
* @param {number} id
|
|
124
|
-
* @param {
|
|
125
|
+
* @param {SurveillancePointVo} surveillancePointVo
|
|
125
126
|
* @param {*} [options] Override http request option.
|
|
126
127
|
* @throws {RequiredError}
|
|
127
128
|
*/
|
|
128
|
-
surveillanceUpdatePoint: (id: number,
|
|
129
|
+
surveillanceUpdatePoint: (id: number, surveillancePointVo: SurveillancePointVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
129
130
|
};
|
|
130
131
|
/**
|
|
131
132
|
* SurveillanceApi - functional programming interface
|
|
@@ -227,11 +228,11 @@ export declare const SurveillanceApiFp: (configuration?: Configuration) => {
|
|
|
227
228
|
* 更新监控点位信息
|
|
228
229
|
* @summary 更新监控点位
|
|
229
230
|
* @param {number} id
|
|
230
|
-
* @param {
|
|
231
|
+
* @param {SurveillancePointVo} surveillancePointVo
|
|
231
232
|
* @param {*} [options] Override http request option.
|
|
232
233
|
* @throws {RequiredError}
|
|
233
234
|
*/
|
|
234
|
-
surveillanceUpdatePoint(id: number,
|
|
235
|
+
surveillanceUpdatePoint(id: number, surveillancePointVo: SurveillancePointVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>>;
|
|
235
236
|
};
|
|
236
237
|
/**
|
|
237
238
|
* SurveillanceApi - factory interface
|
|
@@ -564,10 +565,10 @@ export interface SurveillanceApiSurveillanceUpdatePointRequest {
|
|
|
564
565
|
readonly id: number;
|
|
565
566
|
/**
|
|
566
567
|
*
|
|
567
|
-
* @type {
|
|
568
|
+
* @type {SurveillancePointVo}
|
|
568
569
|
* @memberof SurveillanceApiSurveillanceUpdatePoint
|
|
569
570
|
*/
|
|
570
|
-
readonly
|
|
571
|
+
readonly surveillancePointVo: SurveillancePointVo;
|
|
571
572
|
}
|
|
572
573
|
/**
|
|
573
574
|
* SurveillanceApi - object-oriented interface
|
|
@@ -413,15 +413,15 @@ export const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
413
413
|
* 更新监控点位信息
|
|
414
414
|
* @summary 更新监控点位
|
|
415
415
|
* @param {number} id
|
|
416
|
-
* @param {
|
|
416
|
+
* @param {SurveillancePointVo} surveillancePointVo
|
|
417
417
|
* @param {*} [options] Override http request option.
|
|
418
418
|
* @throws {RequiredError}
|
|
419
419
|
*/
|
|
420
|
-
surveillanceUpdatePoint: (id_1,
|
|
420
|
+
surveillanceUpdatePoint: (id_1, surveillancePointVo_1, ...args_1) => __awaiter(this, [id_1, surveillancePointVo_1, ...args_1], void 0, function* (id, surveillancePointVo, options = {}) {
|
|
421
421
|
// verify required parameter 'id' is not null or undefined
|
|
422
422
|
assertParamExists('surveillanceUpdatePoint', 'id', id);
|
|
423
|
-
// verify required parameter '
|
|
424
|
-
assertParamExists('surveillanceUpdatePoint', '
|
|
423
|
+
// verify required parameter 'surveillancePointVo' is not null or undefined
|
|
424
|
+
assertParamExists('surveillanceUpdatePoint', 'surveillancePointVo', surveillancePointVo);
|
|
425
425
|
const localVarPath = `/gizone/surveillance/point/{id}`
|
|
426
426
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
427
427
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -440,7 +440,7 @@ export const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
440
440
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
441
441
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
442
442
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
443
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
443
|
+
localVarRequestOptions.data = serializeDataIfNeeded(surveillancePointVo, localVarRequestOptions, configuration);
|
|
444
444
|
return {
|
|
445
445
|
url: toPathString(localVarUrlObj),
|
|
446
446
|
options: localVarRequestOptions,
|
|
@@ -622,14 +622,14 @@ export const SurveillanceApiFp = function (configuration) {
|
|
|
622
622
|
* 更新监控点位信息
|
|
623
623
|
* @summary 更新监控点位
|
|
624
624
|
* @param {number} id
|
|
625
|
-
* @param {
|
|
625
|
+
* @param {SurveillancePointVo} surveillancePointVo
|
|
626
626
|
* @param {*} [options] Override http request option.
|
|
627
627
|
* @throws {RequiredError}
|
|
628
628
|
*/
|
|
629
|
-
surveillanceUpdatePoint(id,
|
|
629
|
+
surveillanceUpdatePoint(id, surveillancePointVo, options) {
|
|
630
630
|
return __awaiter(this, void 0, void 0, function* () {
|
|
631
631
|
var _a, _b, _c;
|
|
632
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceUpdatePoint(id,
|
|
632
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceUpdatePoint(id, surveillancePointVo, options);
|
|
633
633
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
634
634
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SurveillanceApi.surveillanceUpdatePoint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
635
635
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -742,7 +742,7 @@ export const SurveillanceApiFactory = function (configuration, basePath, axios)
|
|
|
742
742
|
* @throws {RequiredError}
|
|
743
743
|
*/
|
|
744
744
|
surveillanceUpdatePoint(requestParameters, options) {
|
|
745
|
-
return localVarFp.surveillanceUpdatePoint(requestParameters.id, requestParameters.
|
|
745
|
+
return localVarFp.surveillanceUpdatePoint(requestParameters.id, requestParameters.surveillancePointVo, options).then((request) => request(axios, basePath));
|
|
746
746
|
},
|
|
747
747
|
};
|
|
748
748
|
};
|
|
@@ -861,7 +861,7 @@ export class SurveillanceApi extends BaseAPI {
|
|
|
861
861
|
* @memberof SurveillanceApi
|
|
862
862
|
*/
|
|
863
863
|
surveillanceUpdatePoint(requestParameters, options) {
|
|
864
|
-
return SurveillanceApiFp(this.configuration).surveillanceUpdatePoint(requestParameters.id, requestParameters.
|
|
864
|
+
return SurveillanceApiFp(this.configuration).surveillanceUpdatePoint(requestParameters.id, requestParameters.surveillancePointVo, options).then((request) => request(this.axios, this.basePath));
|
|
865
865
|
}
|
|
866
866
|
}
|
|
867
867
|
/**
|
|
@@ -57,6 +57,7 @@ import type { WorkOrderReportVo } from '../models';
|
|
|
57
57
|
import type { WorkOrderSpotCheckVo } from '../models';
|
|
58
58
|
import type { WorkOrderStagingDataVo } from '../models';
|
|
59
59
|
import type { WorkOrderStatusVo } from '../models';
|
|
60
|
+
import type { WorkOrderSubmitVo } from '../models';
|
|
60
61
|
import type { WorkOrderTypeEnum } from '../models';
|
|
61
62
|
/**
|
|
62
63
|
* WorkOrderApi - axios parameter creator
|
|
@@ -509,6 +510,15 @@ export declare const WorkOrderApiAxiosParamCreator: (configuration?: Configurati
|
|
|
509
510
|
* @throws {RequiredError}
|
|
510
511
|
*/
|
|
511
512
|
workOrderStagingData: (workOrderId: number, workOrderStagingDataVo: WorkOrderStagingDataVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* @summary 工单提交
|
|
516
|
+
* @param {number} workOrderId
|
|
517
|
+
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
*/
|
|
521
|
+
workOrderSubmit: (workOrderId: number, workOrderSubmitVo: WorkOrderSubmitVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
512
522
|
/**
|
|
513
523
|
*
|
|
514
524
|
* @summary 新建违规工单
|
|
@@ -977,6 +987,15 @@ export declare const WorkOrderApiFp: (configuration?: Configuration) => {
|
|
|
977
987
|
* @throws {RequiredError}
|
|
978
988
|
*/
|
|
979
989
|
workOrderStagingData(workOrderId: number, workOrderStagingDataVo: WorkOrderStagingDataVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
990
|
+
/**
|
|
991
|
+
*
|
|
992
|
+
* @summary 工单提交
|
|
993
|
+
* @param {number} workOrderId
|
|
994
|
+
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
995
|
+
* @param {*} [options] Override http request option.
|
|
996
|
+
* @throws {RequiredError}
|
|
997
|
+
*/
|
|
998
|
+
workOrderSubmit(workOrderId: number, workOrderSubmitVo: WorkOrderSubmitVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
980
999
|
/**
|
|
981
1000
|
*
|
|
982
1001
|
* @summary 新建违规工单
|
|
@@ -1390,6 +1409,14 @@ export declare const WorkOrderApiFactory: (configuration?: Configuration, basePa
|
|
|
1390
1409
|
* @throws {RequiredError}
|
|
1391
1410
|
*/
|
|
1392
1411
|
workOrderStagingData(requestParameters: WorkOrderApiWorkOrderStagingDataRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
1412
|
+
/**
|
|
1413
|
+
*
|
|
1414
|
+
* @summary 工单提交
|
|
1415
|
+
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
1416
|
+
* @param {*} [options] Override http request option.
|
|
1417
|
+
* @throws {RequiredError}
|
|
1418
|
+
*/
|
|
1419
|
+
workOrderSubmit(requestParameters: WorkOrderApiWorkOrderSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
1393
1420
|
/**
|
|
1394
1421
|
*
|
|
1395
1422
|
* @summary 新建违规工单
|
|
@@ -2361,6 +2388,25 @@ export interface WorkOrderApiWorkOrderStagingDataRequest {
|
|
|
2361
2388
|
*/
|
|
2362
2389
|
readonly workOrderStagingDataVo: WorkOrderStagingDataVo;
|
|
2363
2390
|
}
|
|
2391
|
+
/**
|
|
2392
|
+
* Request parameters for workOrderSubmit operation in WorkOrderApi.
|
|
2393
|
+
* @export
|
|
2394
|
+
* @interface WorkOrderApiWorkOrderSubmitRequest
|
|
2395
|
+
*/
|
|
2396
|
+
export interface WorkOrderApiWorkOrderSubmitRequest {
|
|
2397
|
+
/**
|
|
2398
|
+
*
|
|
2399
|
+
* @type {number}
|
|
2400
|
+
* @memberof WorkOrderApiWorkOrderSubmit
|
|
2401
|
+
*/
|
|
2402
|
+
readonly workOrderId: number;
|
|
2403
|
+
/**
|
|
2404
|
+
*
|
|
2405
|
+
* @type {WorkOrderSubmitVo}
|
|
2406
|
+
* @memberof WorkOrderApiWorkOrderSubmit
|
|
2407
|
+
*/
|
|
2408
|
+
readonly workOrderSubmitVo: WorkOrderSubmitVo;
|
|
2409
|
+
}
|
|
2364
2410
|
/**
|
|
2365
2411
|
* Request parameters for workOrderViolationAdd operation in WorkOrderApi.
|
|
2366
2412
|
* @export
|
|
@@ -2834,6 +2880,15 @@ export declare class WorkOrderApi extends BaseAPI {
|
|
|
2834
2880
|
* @memberof WorkOrderApi
|
|
2835
2881
|
*/
|
|
2836
2882
|
workOrderStagingData(requestParameters: WorkOrderApiWorkOrderStagingDataRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
2883
|
+
/**
|
|
2884
|
+
*
|
|
2885
|
+
* @summary 工单提交
|
|
2886
|
+
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
2887
|
+
* @param {*} [options] Override http request option.
|
|
2888
|
+
* @throws {RequiredError}
|
|
2889
|
+
* @memberof WorkOrderApi
|
|
2890
|
+
*/
|
|
2891
|
+
workOrderSubmit(requestParameters: WorkOrderApiWorkOrderSubmitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
2837
2892
|
/**
|
|
2838
2893
|
*
|
|
2839
2894
|
* @summary 新建违规工单
|
|
@@ -1871,6 +1871,43 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1871
1871
|
options: localVarRequestOptions,
|
|
1872
1872
|
};
|
|
1873
1873
|
}),
|
|
1874
|
+
/**
|
|
1875
|
+
*
|
|
1876
|
+
* @summary 工单提交
|
|
1877
|
+
* @param {number} workOrderId
|
|
1878
|
+
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
1879
|
+
* @param {*} [options] Override http request option.
|
|
1880
|
+
* @throws {RequiredError}
|
|
1881
|
+
*/
|
|
1882
|
+
workOrderSubmit: (workOrderId_1, workOrderSubmitVo_1, ...args_1) => __awaiter(this, [workOrderId_1, workOrderSubmitVo_1, ...args_1], void 0, function* (workOrderId, workOrderSubmitVo, options = {}) {
|
|
1883
|
+
// verify required parameter 'workOrderId' is not null or undefined
|
|
1884
|
+
assertParamExists('workOrderSubmit', 'workOrderId', workOrderId);
|
|
1885
|
+
// verify required parameter 'workOrderSubmitVo' is not null or undefined
|
|
1886
|
+
assertParamExists('workOrderSubmit', 'workOrderSubmitVo', workOrderSubmitVo);
|
|
1887
|
+
const localVarPath = `/gizone/workOrder/submit/{workOrderId}`
|
|
1888
|
+
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
1889
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1890
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1891
|
+
let baseOptions;
|
|
1892
|
+
if (configuration) {
|
|
1893
|
+
baseOptions = configuration.baseOptions;
|
|
1894
|
+
}
|
|
1895
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1896
|
+
const localVarHeaderParameter = {};
|
|
1897
|
+
const localVarQueryParameter = {};
|
|
1898
|
+
// authentication tokenScheme required
|
|
1899
|
+
// http bearer authentication required
|
|
1900
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1901
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1902
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1903
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1904
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1905
|
+
localVarRequestOptions.data = serializeDataIfNeeded(workOrderSubmitVo, localVarRequestOptions, configuration);
|
|
1906
|
+
return {
|
|
1907
|
+
url: toPathString(localVarUrlObj),
|
|
1908
|
+
options: localVarRequestOptions,
|
|
1909
|
+
};
|
|
1910
|
+
}),
|
|
1874
1911
|
/**
|
|
1875
1912
|
*
|
|
1876
1913
|
* @summary 新建违规工单
|
|
@@ -2783,6 +2820,23 @@ export const WorkOrderApiFp = function (configuration) {
|
|
|
2783
2820
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2784
2821
|
});
|
|
2785
2822
|
},
|
|
2823
|
+
/**
|
|
2824
|
+
*
|
|
2825
|
+
* @summary 工单提交
|
|
2826
|
+
* @param {number} workOrderId
|
|
2827
|
+
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
2828
|
+
* @param {*} [options] Override http request option.
|
|
2829
|
+
* @throws {RequiredError}
|
|
2830
|
+
*/
|
|
2831
|
+
workOrderSubmit(workOrderId, workOrderSubmitVo, options) {
|
|
2832
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2833
|
+
var _a, _b, _c;
|
|
2834
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderSubmit(workOrderId, workOrderSubmitVo, options);
|
|
2835
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2836
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkOrderApi.workOrderSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2837
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2838
|
+
});
|
|
2839
|
+
},
|
|
2786
2840
|
/**
|
|
2787
2841
|
*
|
|
2788
2842
|
* @summary 新建违规工单
|
|
@@ -3313,6 +3367,16 @@ export const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
3313
3367
|
workOrderStagingData(requestParameters, options) {
|
|
3314
3368
|
return localVarFp.workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(axios, basePath));
|
|
3315
3369
|
},
|
|
3370
|
+
/**
|
|
3371
|
+
*
|
|
3372
|
+
* @summary 工单提交
|
|
3373
|
+
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
3374
|
+
* @param {*} [options] Override http request option.
|
|
3375
|
+
* @throws {RequiredError}
|
|
3376
|
+
*/
|
|
3377
|
+
workOrderSubmit(requestParameters, options) {
|
|
3378
|
+
return localVarFp.workOrderSubmit(requestParameters.workOrderId, requestParameters.workOrderSubmitVo, options).then((request) => request(axios, basePath));
|
|
3379
|
+
},
|
|
3316
3380
|
/**
|
|
3317
3381
|
*
|
|
3318
3382
|
* @summary 新建违规工单
|
|
@@ -3880,6 +3944,17 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
3880
3944
|
workOrderStagingData(requestParameters, options) {
|
|
3881
3945
|
return WorkOrderApiFp(this.configuration).workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(this.axios, this.basePath));
|
|
3882
3946
|
}
|
|
3947
|
+
/**
|
|
3948
|
+
*
|
|
3949
|
+
* @summary 工单提交
|
|
3950
|
+
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
3951
|
+
* @param {*} [options] Override http request option.
|
|
3952
|
+
* @throws {RequiredError}
|
|
3953
|
+
* @memberof WorkOrderApi
|
|
3954
|
+
*/
|
|
3955
|
+
workOrderSubmit(requestParameters, options) {
|
|
3956
|
+
return WorkOrderApiFp(this.configuration).workOrderSubmit(requestParameters.workOrderId, requestParameters.workOrderSubmitVo, options).then((request) => request(this.axios, this.basePath));
|
|
3957
|
+
}
|
|
3883
3958
|
/**
|
|
3884
3959
|
*
|
|
3885
3960
|
* @summary 新建违规工单
|
|
@@ -20,7 +20,7 @@ export class Configuration {
|
|
|
20
20
|
this.accessToken = param.accessToken;
|
|
21
21
|
this.basePath = param.basePath;
|
|
22
22
|
this.serverIndex = param.serverIndex;
|
|
23
|
-
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.1.
|
|
23
|
+
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.1.1/typescript-axios" }) }, param.baseOptions);
|
|
24
24
|
this.formDataCtor = param.formDataCtor;
|
|
25
25
|
}
|
|
26
26
|
/**
|