@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,138 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.OfflineAlertWorkOrderControllerApi = exports.OfflineAlertWorkOrderControllerApiFactory = exports.OfflineAlertWorkOrderControllerApiFp = exports.OfflineAlertWorkOrderControllerApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* OfflineAlertWorkOrderControllerApi - axios parameter creator
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
const OfflineAlertWorkOrderControllerApiAxiosParamCreator = function (configuration) {
|
|
37
|
+
return {
|
|
38
|
+
/**
|
|
39
|
+
* 离线告警工单详情
|
|
40
|
+
* @summary 离线告警工单详情
|
|
41
|
+
* @param {number} workOrderId
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
workOrderOfflineAlertDetails: (workOrderId_1, ...args_1) => __awaiter(this, [workOrderId_1, ...args_1], void 0, function* (workOrderId, options = {}) {
|
|
46
|
+
// verify required parameter 'workOrderId' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('workOrderOfflineAlertDetails', 'workOrderId', workOrderId);
|
|
48
|
+
const localVarPath = `/gizone/workOrder/offlineAlert/{workOrderId}`
|
|
49
|
+
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
}
|
|
56
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
57
|
+
const localVarHeaderParameter = {};
|
|
58
|
+
const localVarQueryParameter = {};
|
|
59
|
+
// authentication tokenScheme required
|
|
60
|
+
// http bearer authentication required
|
|
61
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
return {
|
|
66
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
67
|
+
options: localVarRequestOptions,
|
|
68
|
+
};
|
|
69
|
+
}),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
exports.OfflineAlertWorkOrderControllerApiAxiosParamCreator = OfflineAlertWorkOrderControllerApiAxiosParamCreator;
|
|
73
|
+
/**
|
|
74
|
+
* OfflineAlertWorkOrderControllerApi - functional programming interface
|
|
75
|
+
* @export
|
|
76
|
+
*/
|
|
77
|
+
const OfflineAlertWorkOrderControllerApiFp = function (configuration) {
|
|
78
|
+
const localVarAxiosParamCreator = (0, exports.OfflineAlertWorkOrderControllerApiAxiosParamCreator)(configuration);
|
|
79
|
+
return {
|
|
80
|
+
/**
|
|
81
|
+
* 离线告警工单详情
|
|
82
|
+
* @summary 离线告警工单详情
|
|
83
|
+
* @param {number} workOrderId
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
workOrderOfflineAlertDetails(workOrderId, options) {
|
|
88
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
89
|
+
var _a, _b, _c;
|
|
90
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderOfflineAlertDetails(workOrderId, options);
|
|
91
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
92
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OfflineAlertWorkOrderControllerApi.workOrderOfflineAlertDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
93
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
94
|
+
});
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
exports.OfflineAlertWorkOrderControllerApiFp = OfflineAlertWorkOrderControllerApiFp;
|
|
99
|
+
/**
|
|
100
|
+
* OfflineAlertWorkOrderControllerApi - factory interface
|
|
101
|
+
* @export
|
|
102
|
+
*/
|
|
103
|
+
const OfflineAlertWorkOrderControllerApiFactory = function (configuration, basePath, axios) {
|
|
104
|
+
const localVarFp = (0, exports.OfflineAlertWorkOrderControllerApiFp)(configuration);
|
|
105
|
+
return {
|
|
106
|
+
/**
|
|
107
|
+
* 离线告警工单详情
|
|
108
|
+
* @summary 离线告警工单详情
|
|
109
|
+
* @param {OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest} requestParameters Request parameters.
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
workOrderOfflineAlertDetails(requestParameters, options) {
|
|
114
|
+
return localVarFp.workOrderOfflineAlertDetails(requestParameters.workOrderId, options).then((request) => request(axios, basePath));
|
|
115
|
+
},
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
exports.OfflineAlertWorkOrderControllerApiFactory = OfflineAlertWorkOrderControllerApiFactory;
|
|
119
|
+
/**
|
|
120
|
+
* OfflineAlertWorkOrderControllerApi - object-oriented interface
|
|
121
|
+
* @export
|
|
122
|
+
* @class OfflineAlertWorkOrderControllerApi
|
|
123
|
+
* @extends {BaseAPI}
|
|
124
|
+
*/
|
|
125
|
+
class OfflineAlertWorkOrderControllerApi extends base_1.BaseAPI {
|
|
126
|
+
/**
|
|
127
|
+
* 离线告警工单详情
|
|
128
|
+
* @summary 离线告警工单详情
|
|
129
|
+
* @param {OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest} requestParameters Request parameters.
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
* @memberof OfflineAlertWorkOrderControllerApi
|
|
133
|
+
*/
|
|
134
|
+
workOrderOfflineAlertDetails(requestParameters, options) {
|
|
135
|
+
return (0, exports.OfflineAlertWorkOrderControllerApiFp)(this.configuration).workOrderOfflineAlertDetails(requestParameters.workOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
exports.OfflineAlertWorkOrderControllerApi = OfflineAlertWorkOrderControllerApi;
|
package/dist/apis/space-api.d.ts
CHANGED
|
@@ -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.
|
package/dist/apis/space-api.js
CHANGED
|
@@ -583,15 +583,15 @@ const SpaceApiAxiosParamCreator = function (configuration) {
|
|
|
583
583
|
*
|
|
584
584
|
* @summary 空间标点
|
|
585
585
|
* @param {number} id
|
|
586
|
-
* @param {
|
|
586
|
+
* @param {SpacePointVo} spacePointVo
|
|
587
587
|
* @param {*} [options] Override http request option.
|
|
588
588
|
* @throws {RequiredError}
|
|
589
589
|
*/
|
|
590
|
-
spacePunctuation: (id_1,
|
|
590
|
+
spacePunctuation: (id_1, spacePointVo_1, ...args_1) => __awaiter(this, [id_1, spacePointVo_1, ...args_1], void 0, function* (id, spacePointVo, options = {}) {
|
|
591
591
|
// verify required parameter 'id' is not null or undefined
|
|
592
592
|
(0, common_1.assertParamExists)('spacePunctuation', 'id', id);
|
|
593
|
-
// verify required parameter '
|
|
594
|
-
(0, common_1.assertParamExists)('spacePunctuation', '
|
|
593
|
+
// verify required parameter 'spacePointVo' is not null or undefined
|
|
594
|
+
(0, common_1.assertParamExists)('spacePunctuation', 'spacePointVo', spacePointVo);
|
|
595
595
|
const localVarPath = `/gizone/space/point/{id}`
|
|
596
596
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
597
597
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -610,7 +610,7 @@ const SpaceApiAxiosParamCreator = function (configuration) {
|
|
|
610
610
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
611
611
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
612
612
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
613
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
613
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(spacePointVo, localVarRequestOptions, configuration);
|
|
614
614
|
return {
|
|
615
615
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
616
616
|
options: localVarRequestOptions,
|
|
@@ -1018,14 +1018,14 @@ const SpaceApiFp = function (configuration) {
|
|
|
1018
1018
|
*
|
|
1019
1019
|
* @summary 空间标点
|
|
1020
1020
|
* @param {number} id
|
|
1021
|
-
* @param {
|
|
1021
|
+
* @param {SpacePointVo} spacePointVo
|
|
1022
1022
|
* @param {*} [options] Override http request option.
|
|
1023
1023
|
* @throws {RequiredError}
|
|
1024
1024
|
*/
|
|
1025
|
-
spacePunctuation(id,
|
|
1025
|
+
spacePunctuation(id, spacePointVo, options) {
|
|
1026
1026
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1027
1027
|
var _a, _b, _c;
|
|
1028
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.spacePunctuation(id,
|
|
1028
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.spacePunctuation(id, spacePointVo, options);
|
|
1029
1029
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1030
1030
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SpaceApi.spacePunctuation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1031
1031
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1272,7 +1272,7 @@ const SpaceApiFactory = function (configuration, basePath, axios) {
|
|
|
1272
1272
|
* @throws {RequiredError}
|
|
1273
1273
|
*/
|
|
1274
1274
|
spacePunctuation(requestParameters, options) {
|
|
1275
|
-
return localVarFp.spacePunctuation(requestParameters.id, requestParameters.
|
|
1275
|
+
return localVarFp.spacePunctuation(requestParameters.id, requestParameters.spacePointVo, options).then((request) => request(axios, basePath));
|
|
1276
1276
|
},
|
|
1277
1277
|
/**
|
|
1278
1278
|
*
|
|
@@ -1508,7 +1508,7 @@ class SpaceApi extends base_1.BaseAPI {
|
|
|
1508
1508
|
* @memberof SpaceApi
|
|
1509
1509
|
*/
|
|
1510
1510
|
spacePunctuation(requestParameters, options) {
|
|
1511
|
-
return (0, exports.SpaceApiFp)(this.configuration).spacePunctuation(requestParameters.id, requestParameters.
|
|
1511
|
+
return (0, exports.SpaceApiFp)(this.configuration).spacePunctuation(requestParameters.id, requestParameters.spacePointVo, options).then((request) => request(this.axios, this.basePath));
|
|
1512
1512
|
}
|
|
1513
1513
|
/**
|
|
1514
1514
|
*
|
|
@@ -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
|
|
@@ -416,15 +416,15 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
416
416
|
* 更新监控点位信息
|
|
417
417
|
* @summary 更新监控点位
|
|
418
418
|
* @param {number} id
|
|
419
|
-
* @param {
|
|
419
|
+
* @param {SurveillancePointVo} surveillancePointVo
|
|
420
420
|
* @param {*} [options] Override http request option.
|
|
421
421
|
* @throws {RequiredError}
|
|
422
422
|
*/
|
|
423
|
-
surveillanceUpdatePoint: (id_1,
|
|
423
|
+
surveillanceUpdatePoint: (id_1, surveillancePointVo_1, ...args_1) => __awaiter(this, [id_1, surveillancePointVo_1, ...args_1], void 0, function* (id, surveillancePointVo, options = {}) {
|
|
424
424
|
// verify required parameter 'id' is not null or undefined
|
|
425
425
|
(0, common_1.assertParamExists)('surveillanceUpdatePoint', 'id', id);
|
|
426
|
-
// verify required parameter '
|
|
427
|
-
(0, common_1.assertParamExists)('surveillanceUpdatePoint', '
|
|
426
|
+
// verify required parameter 'surveillancePointVo' is not null or undefined
|
|
427
|
+
(0, common_1.assertParamExists)('surveillanceUpdatePoint', 'surveillancePointVo', surveillancePointVo);
|
|
428
428
|
const localVarPath = `/gizone/surveillance/point/{id}`
|
|
429
429
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
430
430
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -443,7 +443,7 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
443
443
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
444
444
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
445
445
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
446
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
446
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(surveillancePointVo, localVarRequestOptions, configuration);
|
|
447
447
|
return {
|
|
448
448
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
449
449
|
options: localVarRequestOptions,
|
|
@@ -626,14 +626,14 @@ const SurveillanceApiFp = function (configuration) {
|
|
|
626
626
|
* 更新监控点位信息
|
|
627
627
|
* @summary 更新监控点位
|
|
628
628
|
* @param {number} id
|
|
629
|
-
* @param {
|
|
629
|
+
* @param {SurveillancePointVo} surveillancePointVo
|
|
630
630
|
* @param {*} [options] Override http request option.
|
|
631
631
|
* @throws {RequiredError}
|
|
632
632
|
*/
|
|
633
|
-
surveillanceUpdatePoint(id,
|
|
633
|
+
surveillanceUpdatePoint(id, surveillancePointVo, options) {
|
|
634
634
|
return __awaiter(this, void 0, void 0, function* () {
|
|
635
635
|
var _a, _b, _c;
|
|
636
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceUpdatePoint(id,
|
|
636
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceUpdatePoint(id, surveillancePointVo, options);
|
|
637
637
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
638
638
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceUpdatePoint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
639
639
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -747,7 +747,7 @@ const SurveillanceApiFactory = function (configuration, basePath, axios) {
|
|
|
747
747
|
* @throws {RequiredError}
|
|
748
748
|
*/
|
|
749
749
|
surveillanceUpdatePoint(requestParameters, options) {
|
|
750
|
-
return localVarFp.surveillanceUpdatePoint(requestParameters.id, requestParameters.
|
|
750
|
+
return localVarFp.surveillanceUpdatePoint(requestParameters.id, requestParameters.surveillancePointVo, options).then((request) => request(axios, basePath));
|
|
751
751
|
},
|
|
752
752
|
};
|
|
753
753
|
};
|
|
@@ -867,7 +867,7 @@ class SurveillanceApi extends base_1.BaseAPI {
|
|
|
867
867
|
* @memberof SurveillanceApi
|
|
868
868
|
*/
|
|
869
869
|
surveillanceUpdatePoint(requestParameters, options) {
|
|
870
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceUpdatePoint(requestParameters.id, requestParameters.
|
|
870
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceUpdatePoint(requestParameters.id, requestParameters.surveillancePointVo, options).then((request) => request(this.axios, this.basePath));
|
|
871
871
|
}
|
|
872
872
|
}
|
|
873
873
|
exports.SurveillanceApi = SurveillanceApi;
|
|
@@ -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 新建违规工单
|
|
@@ -1874,6 +1874,43 @@ const WorkOrderApiAxiosParamCreator = function (configuration) {
|
|
|
1874
1874
|
options: localVarRequestOptions,
|
|
1875
1875
|
};
|
|
1876
1876
|
}),
|
|
1877
|
+
/**
|
|
1878
|
+
*
|
|
1879
|
+
* @summary 工单提交
|
|
1880
|
+
* @param {number} workOrderId
|
|
1881
|
+
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
1882
|
+
* @param {*} [options] Override http request option.
|
|
1883
|
+
* @throws {RequiredError}
|
|
1884
|
+
*/
|
|
1885
|
+
workOrderSubmit: (workOrderId_1, workOrderSubmitVo_1, ...args_1) => __awaiter(this, [workOrderId_1, workOrderSubmitVo_1, ...args_1], void 0, function* (workOrderId, workOrderSubmitVo, options = {}) {
|
|
1886
|
+
// verify required parameter 'workOrderId' is not null or undefined
|
|
1887
|
+
(0, common_1.assertParamExists)('workOrderSubmit', 'workOrderId', workOrderId);
|
|
1888
|
+
// verify required parameter 'workOrderSubmitVo' is not null or undefined
|
|
1889
|
+
(0, common_1.assertParamExists)('workOrderSubmit', 'workOrderSubmitVo', workOrderSubmitVo);
|
|
1890
|
+
const localVarPath = `/gizone/workOrder/submit/{workOrderId}`
|
|
1891
|
+
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
1892
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1893
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1894
|
+
let baseOptions;
|
|
1895
|
+
if (configuration) {
|
|
1896
|
+
baseOptions = configuration.baseOptions;
|
|
1897
|
+
}
|
|
1898
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1899
|
+
const localVarHeaderParameter = {};
|
|
1900
|
+
const localVarQueryParameter = {};
|
|
1901
|
+
// authentication tokenScheme required
|
|
1902
|
+
// http bearer authentication required
|
|
1903
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1904
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1905
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1906
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1907
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1908
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(workOrderSubmitVo, localVarRequestOptions, configuration);
|
|
1909
|
+
return {
|
|
1910
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1911
|
+
options: localVarRequestOptions,
|
|
1912
|
+
};
|
|
1913
|
+
}),
|
|
1877
1914
|
/**
|
|
1878
1915
|
*
|
|
1879
1916
|
* @summary 新建违规工单
|
|
@@ -2787,6 +2824,23 @@ const WorkOrderApiFp = function (configuration) {
|
|
|
2787
2824
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2788
2825
|
});
|
|
2789
2826
|
},
|
|
2827
|
+
/**
|
|
2828
|
+
*
|
|
2829
|
+
* @summary 工单提交
|
|
2830
|
+
* @param {number} workOrderId
|
|
2831
|
+
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
2832
|
+
* @param {*} [options] Override http request option.
|
|
2833
|
+
* @throws {RequiredError}
|
|
2834
|
+
*/
|
|
2835
|
+
workOrderSubmit(workOrderId, workOrderSubmitVo, options) {
|
|
2836
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2837
|
+
var _a, _b, _c;
|
|
2838
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.workOrderSubmit(workOrderId, workOrderSubmitVo, options);
|
|
2839
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2840
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkOrderApi.workOrderSubmit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2841
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2842
|
+
});
|
|
2843
|
+
},
|
|
2790
2844
|
/**
|
|
2791
2845
|
*
|
|
2792
2846
|
* @summary 新建违规工单
|
|
@@ -3318,6 +3372,16 @@ const WorkOrderApiFactory = function (configuration, basePath, axios) {
|
|
|
3318
3372
|
workOrderStagingData(requestParameters, options) {
|
|
3319
3373
|
return localVarFp.workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(axios, basePath));
|
|
3320
3374
|
},
|
|
3375
|
+
/**
|
|
3376
|
+
*
|
|
3377
|
+
* @summary 工单提交
|
|
3378
|
+
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
3379
|
+
* @param {*} [options] Override http request option.
|
|
3380
|
+
* @throws {RequiredError}
|
|
3381
|
+
*/
|
|
3382
|
+
workOrderSubmit(requestParameters, options) {
|
|
3383
|
+
return localVarFp.workOrderSubmit(requestParameters.workOrderId, requestParameters.workOrderSubmitVo, options).then((request) => request(axios, basePath));
|
|
3384
|
+
},
|
|
3321
3385
|
/**
|
|
3322
3386
|
*
|
|
3323
3387
|
* @summary 新建违规工单
|
|
@@ -3886,6 +3950,17 @@ class WorkOrderApi extends base_1.BaseAPI {
|
|
|
3886
3950
|
workOrderStagingData(requestParameters, options) {
|
|
3887
3951
|
return (0, exports.WorkOrderApiFp)(this.configuration).workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(this.axios, this.basePath));
|
|
3888
3952
|
}
|
|
3953
|
+
/**
|
|
3954
|
+
*
|
|
3955
|
+
* @summary 工单提交
|
|
3956
|
+
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
3957
|
+
* @param {*} [options] Override http request option.
|
|
3958
|
+
* @throws {RequiredError}
|
|
3959
|
+
* @memberof WorkOrderApi
|
|
3960
|
+
*/
|
|
3961
|
+
workOrderSubmit(requestParameters, options) {
|
|
3962
|
+
return (0, exports.WorkOrderApiFp)(this.configuration).workOrderSubmit(requestParameters.workOrderId, requestParameters.workOrderSubmitVo, options).then((request) => request(this.axios, this.basePath));
|
|
3963
|
+
}
|
|
3889
3964
|
/**
|
|
3890
3965
|
*
|
|
3891
3966
|
* @summary 新建违规工单
|
package/dist/configuration.js
CHANGED
|
@@ -23,7 +23,7 @@ class Configuration {
|
|
|
23
23
|
this.accessToken = param.accessToken;
|
|
24
24
|
this.basePath = param.basePath;
|
|
25
25
|
this.serverIndex = param.serverIndex;
|
|
26
|
-
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.
|
|
26
|
+
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);
|
|
27
27
|
this.formDataCtor = param.formDataCtor;
|
|
28
28
|
}
|
|
29
29
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export * from './apis/monitor-controller-api';
|
|
|
44
44
|
export * from './apis/monitor-sort-controller-api';
|
|
45
45
|
export * from './apis/news-api';
|
|
46
46
|
export * from './apis/notification-api';
|
|
47
|
+
export * from './apis/offline-alert-work-order-controller-api';
|
|
47
48
|
export * from './apis/open-api-api';
|
|
48
49
|
export * from './apis/park-api';
|
|
49
50
|
export * from './apis/privacy-api';
|
package/dist/esm/api.js
CHANGED
|
@@ -46,6 +46,7 @@ export * from './apis/monitor-controller-api';
|
|
|
46
46
|
export * from './apis/monitor-sort-controller-api';
|
|
47
47
|
export * from './apis/news-api';
|
|
48
48
|
export * from './apis/notification-api';
|
|
49
|
+
export * from './apis/offline-alert-work-order-controller-api';
|
|
49
50
|
export * from './apis/open-api-api';
|
|
50
51
|
export * from './apis/park-api';
|
|
51
52
|
export * from './apis/privacy-api';
|