@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
package/.openapi-generator/FILES
CHANGED
|
@@ -38,6 +38,7 @@ apis/monitor-controller-api.ts
|
|
|
38
38
|
apis/monitor-sort-controller-api.ts
|
|
39
39
|
apis/news-api.ts
|
|
40
40
|
apis/notification-api.ts
|
|
41
|
+
apis/offline-alert-work-order-controller-api.ts
|
|
41
42
|
apis/open-api-api.ts
|
|
42
43
|
apis/park-api.ts
|
|
43
44
|
apis/privacy-api.ts
|
|
@@ -532,6 +533,7 @@ models/json-result-network-monitor-repair-details-dto.ts
|
|
|
532
533
|
models/json-result-news-entity.ts
|
|
533
534
|
models/json-result-node-dto.ts
|
|
534
535
|
models/json-result-object.ts
|
|
536
|
+
models/json-result-offline-alert-work-order-details-dto.ts
|
|
535
537
|
models/json-result-owner-kanban-energy-dto.ts
|
|
536
538
|
models/json-result-owner-kanban-index-safety-inspection-dto.ts
|
|
537
539
|
models/json-result-owner-kanban-two-park-call-police-number-statistics-dto.ts
|
|
@@ -661,6 +663,11 @@ models/news-query-vo.ts
|
|
|
661
663
|
models/node-dto.ts
|
|
662
664
|
models/node-type-enum.ts
|
|
663
665
|
models/notice-vo.ts
|
|
666
|
+
models/offline-alert-device-vo.ts
|
|
667
|
+
models/offline-alert-submit-vo.ts
|
|
668
|
+
models/offline-alert-work-order-details-dto.ts
|
|
669
|
+
models/offline-alert-work-order-info.ts
|
|
670
|
+
models/offline-alert-work-order-vo.ts
|
|
664
671
|
models/open-barrier-po.ts
|
|
665
672
|
models/operate-message-details-dto.ts
|
|
666
673
|
models/orders.ts
|
|
@@ -795,6 +802,7 @@ models/space-edit-vo.ts
|
|
|
795
802
|
models/space-image-detail-dto.ts
|
|
796
803
|
models/space-industry-attribute.ts
|
|
797
804
|
models/space-point-dto.ts
|
|
805
|
+
models/space-point-vo.ts
|
|
798
806
|
models/space-qr-code-dto.ts
|
|
799
807
|
models/space-qr-code.ts
|
|
800
808
|
models/space-tree-dto.ts
|
|
@@ -832,6 +840,7 @@ models/supplier-search-vo.ts
|
|
|
832
840
|
models/supplier-select-dto.ts
|
|
833
841
|
models/surveillance-details-dto.ts
|
|
834
842
|
models/surveillance-live-dto.ts
|
|
843
|
+
models/surveillance-point-vo.ts
|
|
835
844
|
models/surveillance-roi-entity.ts
|
|
836
845
|
models/surveillance-roi-list-vo.ts
|
|
837
846
|
models/surveillance-settings-details-dto.ts
|
|
@@ -947,6 +956,7 @@ models/work-order-staging-data-vo.ts
|
|
|
947
956
|
models/work-order-status-vo.ts
|
|
948
957
|
models/work-order-step-by-step-push-dto.ts
|
|
949
958
|
models/work-order-step-by-step-push-user-details-dto.ts
|
|
959
|
+
models/work-order-submit-vo.ts
|
|
950
960
|
models/work-order-surveillance-dto.ts
|
|
951
961
|
models/work-order-type-dto.ts
|
|
952
962
|
models/work-order-type-enum.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @gizone/rrs-client@4.1.
|
|
1
|
+
## @gizone/rrs-client@4.1.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @gizone/rrs-client@4.1.
|
|
39
|
+
npm install @gizone/rrs-client@4.1.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -49,6 +49,7 @@ export * from './apis/monitor-controller-api';
|
|
|
49
49
|
export * from './apis/monitor-sort-controller-api';
|
|
50
50
|
export * from './apis/news-api';
|
|
51
51
|
export * from './apis/notification-api';
|
|
52
|
+
export * from './apis/offline-alert-work-order-controller-api';
|
|
52
53
|
export * from './apis/open-api-api';
|
|
53
54
|
export * from './apis/park-api';
|
|
54
55
|
export * from './apis/privacy-api';
|
|
@@ -0,0 +1,149 @@
|
|
|
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
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { JsonResultOfflineAlertWorkOrderDetailsDto } from '../models';
|
|
26
|
+
/**
|
|
27
|
+
* OfflineAlertWorkOrderControllerApi - axios parameter creator
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export const OfflineAlertWorkOrderControllerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
31
|
+
return {
|
|
32
|
+
/**
|
|
33
|
+
* 离线告警工单详情
|
|
34
|
+
* @summary 离线告警工单详情
|
|
35
|
+
* @param {number} workOrderId
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
workOrderOfflineAlertDetails: async (workOrderId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40
|
+
// verify required parameter 'workOrderId' is not null or undefined
|
|
41
|
+
assertParamExists('workOrderOfflineAlertDetails', 'workOrderId', workOrderId)
|
|
42
|
+
const localVarPath = `/gizone/workOrder/offlineAlert/{workOrderId}`
|
|
43
|
+
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
44
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46
|
+
let baseOptions;
|
|
47
|
+
if (configuration) {
|
|
48
|
+
baseOptions = configuration.baseOptions;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
52
|
+
const localVarHeaderParameter = {} as any;
|
|
53
|
+
const localVarQueryParameter = {} as any;
|
|
54
|
+
|
|
55
|
+
// authentication tokenScheme required
|
|
56
|
+
// http bearer authentication required
|
|
57
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
64
|
+
|
|
65
|
+
return {
|
|
66
|
+
url: toPathString(localVarUrlObj),
|
|
67
|
+
options: localVarRequestOptions,
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* OfflineAlertWorkOrderControllerApi - functional programming interface
|
|
75
|
+
* @export
|
|
76
|
+
*/
|
|
77
|
+
export const OfflineAlertWorkOrderControllerApiFp = function(configuration?: Configuration) {
|
|
78
|
+
const localVarAxiosParamCreator = OfflineAlertWorkOrderControllerApiAxiosParamCreator(configuration)
|
|
79
|
+
return {
|
|
80
|
+
/**
|
|
81
|
+
* 离线告警工单详情
|
|
82
|
+
* @summary 离线告警工单详情
|
|
83
|
+
* @param {number} workOrderId
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
async workOrderOfflineAlertDetails(workOrderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultOfflineAlertWorkOrderDetailsDto>> {
|
|
88
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workOrderOfflineAlertDetails(workOrderId, options);
|
|
89
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
90
|
+
const localVarOperationServerBasePath = operationServerMap['OfflineAlertWorkOrderControllerApi.workOrderOfflineAlertDetails']?.[localVarOperationServerIndex]?.url;
|
|
91
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
92
|
+
},
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* OfflineAlertWorkOrderControllerApi - factory interface
|
|
98
|
+
* @export
|
|
99
|
+
*/
|
|
100
|
+
export const OfflineAlertWorkOrderControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
101
|
+
const localVarFp = OfflineAlertWorkOrderControllerApiFp(configuration)
|
|
102
|
+
return {
|
|
103
|
+
/**
|
|
104
|
+
* 离线告警工单详情
|
|
105
|
+
* @summary 离线告警工单详情
|
|
106
|
+
* @param {OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest} requestParameters Request parameters.
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
workOrderOfflineAlertDetails(requestParameters: OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultOfflineAlertWorkOrderDetailsDto> {
|
|
111
|
+
return localVarFp.workOrderOfflineAlertDetails(requestParameters.workOrderId, options).then((request) => request(axios, basePath));
|
|
112
|
+
},
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Request parameters for workOrderOfflineAlertDetails operation in OfflineAlertWorkOrderControllerApi.
|
|
118
|
+
* @export
|
|
119
|
+
* @interface OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest
|
|
120
|
+
*/
|
|
121
|
+
export interface OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest {
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {number}
|
|
125
|
+
* @memberof OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetails
|
|
126
|
+
*/
|
|
127
|
+
readonly workOrderId: number
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* OfflineAlertWorkOrderControllerApi - object-oriented interface
|
|
132
|
+
* @export
|
|
133
|
+
* @class OfflineAlertWorkOrderControllerApi
|
|
134
|
+
* @extends {BaseAPI}
|
|
135
|
+
*/
|
|
136
|
+
export class OfflineAlertWorkOrderControllerApi extends BaseAPI {
|
|
137
|
+
/**
|
|
138
|
+
* 离线告警工单详情
|
|
139
|
+
* @summary 离线告警工单详情
|
|
140
|
+
* @param {OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest} requestParameters Request parameters.
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
* @memberof OfflineAlertWorkOrderControllerApi
|
|
144
|
+
*/
|
|
145
|
+
public workOrderOfflineAlertDetails(requestParameters: OfflineAlertWorkOrderControllerApiWorkOrderOfflineAlertDetailsRequest, options?: RawAxiosRequestConfig) {
|
|
146
|
+
return OfflineAlertWorkOrderControllerApiFp(this.configuration).workOrderOfflineAlertDetails(requestParameters.workOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
package/apis/space-api.ts
CHANGED
|
@@ -44,6 +44,8 @@ import type { SpaceAddVO } from '../models';
|
|
|
44
44
|
// @ts-ignore
|
|
45
45
|
import type { SpaceEditVO } from '../models';
|
|
46
46
|
// @ts-ignore
|
|
47
|
+
import type { SpacePointVo } from '../models';
|
|
48
|
+
// @ts-ignore
|
|
47
49
|
import type { SpaceQrCode } from '../models';
|
|
48
50
|
// @ts-ignore
|
|
49
51
|
import type { SpaceUrlAddVO } from '../models';
|
|
@@ -718,15 +720,15 @@ export const SpaceApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
718
720
|
*
|
|
719
721
|
* @summary 空间标点
|
|
720
722
|
* @param {number} id
|
|
721
|
-
* @param {
|
|
723
|
+
* @param {SpacePointVo} spacePointVo
|
|
722
724
|
* @param {*} [options] Override http request option.
|
|
723
725
|
* @throws {RequiredError}
|
|
724
726
|
*/
|
|
725
|
-
spacePunctuation: async (id: number,
|
|
727
|
+
spacePunctuation: async (id: number, spacePointVo: SpacePointVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
726
728
|
// verify required parameter 'id' is not null or undefined
|
|
727
729
|
assertParamExists('spacePunctuation', 'id', id)
|
|
728
|
-
// verify required parameter '
|
|
729
|
-
assertParamExists('spacePunctuation', '
|
|
730
|
+
// verify required parameter 'spacePointVo' is not null or undefined
|
|
731
|
+
assertParamExists('spacePunctuation', 'spacePointVo', spacePointVo)
|
|
730
732
|
const localVarPath = `/gizone/space/point/{id}`
|
|
731
733
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
732
734
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -751,7 +753,7 @@ export const SpaceApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
751
753
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
752
754
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
753
755
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
754
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
756
|
+
localVarRequestOptions.data = serializeDataIfNeeded(spacePointVo, localVarRequestOptions, configuration)
|
|
755
757
|
|
|
756
758
|
return {
|
|
757
759
|
url: toPathString(localVarUrlObj),
|
|
@@ -1138,12 +1140,12 @@ export const SpaceApiFp = function(configuration?: Configuration) {
|
|
|
1138
1140
|
*
|
|
1139
1141
|
* @summary 空间标点
|
|
1140
1142
|
* @param {number} id
|
|
1141
|
-
* @param {
|
|
1143
|
+
* @param {SpacePointVo} spacePointVo
|
|
1142
1144
|
* @param {*} [options] Override http request option.
|
|
1143
1145
|
* @throws {RequiredError}
|
|
1144
1146
|
*/
|
|
1145
|
-
async spacePunctuation(id: number,
|
|
1146
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.spacePunctuation(id,
|
|
1147
|
+
async spacePunctuation(id: number, spacePointVo: SpacePointVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
1148
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.spacePunctuation(id, spacePointVo, options);
|
|
1147
1149
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1148
1150
|
const localVarOperationServerBasePath = operationServerMap['SpaceApi.spacePunctuation']?.[localVarOperationServerIndex]?.url;
|
|
1149
1151
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1377,7 +1379,7 @@ export const SpaceApiFactory = function (configuration?: Configuration, basePath
|
|
|
1377
1379
|
* @throws {RequiredError}
|
|
1378
1380
|
*/
|
|
1379
1381
|
spacePunctuation(requestParameters: SpaceApiSpacePunctuationRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
1380
|
-
return localVarFp.spacePunctuation(requestParameters.id, requestParameters.
|
|
1382
|
+
return localVarFp.spacePunctuation(requestParameters.id, requestParameters.spacePointVo, options).then((request) => request(axios, basePath));
|
|
1381
1383
|
},
|
|
1382
1384
|
/**
|
|
1383
1385
|
*
|
|
@@ -1668,10 +1670,10 @@ export interface SpaceApiSpacePunctuationRequest {
|
|
|
1668
1670
|
|
|
1669
1671
|
/**
|
|
1670
1672
|
*
|
|
1671
|
-
* @type {
|
|
1673
|
+
* @type {SpacePointVo}
|
|
1672
1674
|
* @memberof SpaceApiSpacePunctuation
|
|
1673
1675
|
*/
|
|
1674
|
-
readonly
|
|
1676
|
+
readonly spacePointVo: SpacePointVo
|
|
1675
1677
|
}
|
|
1676
1678
|
|
|
1677
1679
|
/**
|
|
@@ -1937,7 +1939,7 @@ export class SpaceApi extends BaseAPI {
|
|
|
1937
1939
|
* @memberof SpaceApi
|
|
1938
1940
|
*/
|
|
1939
1941
|
public spacePunctuation(requestParameters: SpaceApiSpacePunctuationRequest, options?: RawAxiosRequestConfig) {
|
|
1940
|
-
return SpaceApiFp(this.configuration).spacePunctuation(requestParameters.id, requestParameters.
|
|
1942
|
+
return SpaceApiFp(this.configuration).spacePunctuation(requestParameters.id, requestParameters.spacePointVo, options).then((request) => request(this.axios, this.basePath));
|
|
1941
1943
|
}
|
|
1942
1944
|
|
|
1943
1945
|
/**
|
package/apis/surveillance-api.ts
CHANGED
|
@@ -38,6 +38,8 @@ import type { JsonResultSurveillanceLiveDto } from '../models';
|
|
|
38
38
|
// @ts-ignore
|
|
39
39
|
import type { JsonResultVoid } from '../models';
|
|
40
40
|
// @ts-ignore
|
|
41
|
+
import type { SurveillancePointVo } from '../models';
|
|
42
|
+
// @ts-ignore
|
|
41
43
|
import type { SurveillanceUpdateVo } from '../models';
|
|
42
44
|
/**
|
|
43
45
|
* SurveillanceApi - axios parameter creator
|
|
@@ -501,15 +503,15 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
501
503
|
* 更新监控点位信息
|
|
502
504
|
* @summary 更新监控点位
|
|
503
505
|
* @param {number} id
|
|
504
|
-
* @param {
|
|
506
|
+
* @param {SurveillancePointVo} surveillancePointVo
|
|
505
507
|
* @param {*} [options] Override http request option.
|
|
506
508
|
* @throws {RequiredError}
|
|
507
509
|
*/
|
|
508
|
-
surveillanceUpdatePoint: async (id: number,
|
|
510
|
+
surveillanceUpdatePoint: async (id: number, surveillancePointVo: SurveillancePointVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
509
511
|
// verify required parameter 'id' is not null or undefined
|
|
510
512
|
assertParamExists('surveillanceUpdatePoint', 'id', id)
|
|
511
|
-
// verify required parameter '
|
|
512
|
-
assertParamExists('surveillanceUpdatePoint', '
|
|
513
|
+
// verify required parameter 'surveillancePointVo' is not null or undefined
|
|
514
|
+
assertParamExists('surveillanceUpdatePoint', 'surveillancePointVo', surveillancePointVo)
|
|
513
515
|
const localVarPath = `/gizone/surveillance/point/{id}`
|
|
514
516
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
515
517
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -534,7 +536,7 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
534
536
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
535
537
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
536
538
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
537
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
539
|
+
localVarRequestOptions.data = serializeDataIfNeeded(surveillancePointVo, localVarRequestOptions, configuration)
|
|
538
540
|
|
|
539
541
|
return {
|
|
540
542
|
url: toPathString(localVarUrlObj),
|
|
@@ -691,12 +693,12 @@ export const SurveillanceApiFp = function(configuration?: Configuration) {
|
|
|
691
693
|
* 更新监控点位信息
|
|
692
694
|
* @summary 更新监控点位
|
|
693
695
|
* @param {number} id
|
|
694
|
-
* @param {
|
|
696
|
+
* @param {SurveillancePointVo} surveillancePointVo
|
|
695
697
|
* @param {*} [options] Override http request option.
|
|
696
698
|
* @throws {RequiredError}
|
|
697
699
|
*/
|
|
698
|
-
async surveillanceUpdatePoint(id: number,
|
|
699
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceUpdatePoint(id,
|
|
700
|
+
async surveillanceUpdatePoint(id: number, surveillancePointVo: SurveillancePointVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
701
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceUpdatePoint(id, surveillancePointVo, options);
|
|
700
702
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
701
703
|
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillanceUpdatePoint']?.[localVarOperationServerIndex]?.url;
|
|
702
704
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -809,7 +811,7 @@ export const SurveillanceApiFactory = function (configuration?: Configuration, b
|
|
|
809
811
|
* @throws {RequiredError}
|
|
810
812
|
*/
|
|
811
813
|
surveillanceUpdatePoint(requestParameters: SurveillanceApiSurveillanceUpdatePointRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
812
|
-
return localVarFp.surveillanceUpdatePoint(requestParameters.id, requestParameters.
|
|
814
|
+
return localVarFp.surveillanceUpdatePoint(requestParameters.id, requestParameters.surveillancePointVo, options).then((request) => request(axios, basePath));
|
|
813
815
|
},
|
|
814
816
|
};
|
|
815
817
|
};
|
|
@@ -1088,10 +1090,10 @@ export interface SurveillanceApiSurveillanceUpdatePointRequest {
|
|
|
1088
1090
|
|
|
1089
1091
|
/**
|
|
1090
1092
|
*
|
|
1091
|
-
* @type {
|
|
1093
|
+
* @type {SurveillancePointVo}
|
|
1092
1094
|
* @memberof SurveillanceApiSurveillanceUpdatePoint
|
|
1093
1095
|
*/
|
|
1094
|
-
readonly
|
|
1096
|
+
readonly surveillancePointVo: SurveillancePointVo
|
|
1095
1097
|
}
|
|
1096
1098
|
|
|
1097
1099
|
/**
|
|
@@ -1218,7 +1220,7 @@ export class SurveillanceApi extends BaseAPI {
|
|
|
1218
1220
|
* @memberof SurveillanceApi
|
|
1219
1221
|
*/
|
|
1220
1222
|
public surveillanceUpdatePoint(requestParameters: SurveillanceApiSurveillanceUpdatePointRequest, options?: RawAxiosRequestConfig) {
|
|
1221
|
-
return SurveillanceApiFp(this.configuration).surveillanceUpdatePoint(requestParameters.id, requestParameters.
|
|
1223
|
+
return SurveillanceApiFp(this.configuration).surveillanceUpdatePoint(requestParameters.id, requestParameters.surveillancePointVo, options).then((request) => request(this.axios, this.basePath));
|
|
1222
1224
|
}
|
|
1223
1225
|
}
|
|
1224
1226
|
|
package/apis/work-order-api.ts
CHANGED
|
@@ -112,6 +112,8 @@ import type { WorkOrderStagingDataVo } from '../models';
|
|
|
112
112
|
// @ts-ignore
|
|
113
113
|
import type { WorkOrderStatusVo } from '../models';
|
|
114
114
|
// @ts-ignore
|
|
115
|
+
import type { WorkOrderSubmitVo } from '../models';
|
|
116
|
+
// @ts-ignore
|
|
115
117
|
import type { WorkOrderTypeEnum } from '../models';
|
|
116
118
|
/**
|
|
117
119
|
* WorkOrderApi - axios parameter creator
|
|
@@ -2332,6 +2334,50 @@ export const WorkOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2332
2334
|
options: localVarRequestOptions,
|
|
2333
2335
|
};
|
|
2334
2336
|
},
|
|
2337
|
+
/**
|
|
2338
|
+
*
|
|
2339
|
+
* @summary 工单提交
|
|
2340
|
+
* @param {number} workOrderId
|
|
2341
|
+
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
2342
|
+
* @param {*} [options] Override http request option.
|
|
2343
|
+
* @throws {RequiredError}
|
|
2344
|
+
*/
|
|
2345
|
+
workOrderSubmit: async (workOrderId: number, workOrderSubmitVo: WorkOrderSubmitVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2346
|
+
// verify required parameter 'workOrderId' is not null or undefined
|
|
2347
|
+
assertParamExists('workOrderSubmit', 'workOrderId', workOrderId)
|
|
2348
|
+
// verify required parameter 'workOrderSubmitVo' is not null or undefined
|
|
2349
|
+
assertParamExists('workOrderSubmit', 'workOrderSubmitVo', workOrderSubmitVo)
|
|
2350
|
+
const localVarPath = `/gizone/workOrder/submit/{workOrderId}`
|
|
2351
|
+
.replace(`{${"workOrderId"}}`, encodeURIComponent(String(workOrderId)));
|
|
2352
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2353
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2354
|
+
let baseOptions;
|
|
2355
|
+
if (configuration) {
|
|
2356
|
+
baseOptions = configuration.baseOptions;
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2359
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2360
|
+
const localVarHeaderParameter = {} as any;
|
|
2361
|
+
const localVarQueryParameter = {} as any;
|
|
2362
|
+
|
|
2363
|
+
// authentication tokenScheme required
|
|
2364
|
+
// http bearer authentication required
|
|
2365
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2366
|
+
|
|
2367
|
+
|
|
2368
|
+
|
|
2369
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2370
|
+
|
|
2371
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2372
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2373
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2374
|
+
localVarRequestOptions.data = serializeDataIfNeeded(workOrderSubmitVo, localVarRequestOptions, configuration)
|
|
2375
|
+
|
|
2376
|
+
return {
|
|
2377
|
+
url: toPathString(localVarUrlObj),
|
|
2378
|
+
options: localVarRequestOptions,
|
|
2379
|
+
};
|
|
2380
|
+
},
|
|
2335
2381
|
/**
|
|
2336
2382
|
*
|
|
2337
2383
|
* @summary 新建违规工单
|
|
@@ -3111,6 +3157,20 @@ export const WorkOrderApiFp = function(configuration?: Configuration) {
|
|
|
3111
3157
|
const localVarOperationServerBasePath = operationServerMap['WorkOrderApi.workOrderStagingData']?.[localVarOperationServerIndex]?.url;
|
|
3112
3158
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3113
3159
|
},
|
|
3160
|
+
/**
|
|
3161
|
+
*
|
|
3162
|
+
* @summary 工单提交
|
|
3163
|
+
* @param {number} workOrderId
|
|
3164
|
+
* @param {WorkOrderSubmitVo} workOrderSubmitVo
|
|
3165
|
+
* @param {*} [options] Override http request option.
|
|
3166
|
+
* @throws {RequiredError}
|
|
3167
|
+
*/
|
|
3168
|
+
async workOrderSubmit(workOrderId: number, workOrderSubmitVo: WorkOrderSubmitVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
3169
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workOrderSubmit(workOrderId, workOrderSubmitVo, options);
|
|
3170
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3171
|
+
const localVarOperationServerBasePath = operationServerMap['WorkOrderApi.workOrderSubmit']?.[localVarOperationServerIndex]?.url;
|
|
3172
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3173
|
+
},
|
|
3114
3174
|
/**
|
|
3115
3175
|
*
|
|
3116
3176
|
* @summary 新建违规工单
|
|
@@ -3636,6 +3696,16 @@ export const WorkOrderApiFactory = function (configuration?: Configuration, base
|
|
|
3636
3696
|
workOrderStagingData(requestParameters: WorkOrderApiWorkOrderStagingDataRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
3637
3697
|
return localVarFp.workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(axios, basePath));
|
|
3638
3698
|
},
|
|
3699
|
+
/**
|
|
3700
|
+
*
|
|
3701
|
+
* @summary 工单提交
|
|
3702
|
+
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
3703
|
+
* @param {*} [options] Override http request option.
|
|
3704
|
+
* @throws {RequiredError}
|
|
3705
|
+
*/
|
|
3706
|
+
workOrderSubmit(requestParameters: WorkOrderApiWorkOrderSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
3707
|
+
return localVarFp.workOrderSubmit(requestParameters.workOrderId, requestParameters.workOrderSubmitVo, options).then((request) => request(axios, basePath));
|
|
3708
|
+
},
|
|
3639
3709
|
/**
|
|
3640
3710
|
*
|
|
3641
3711
|
* @summary 新建违规工单
|
|
@@ -4716,6 +4786,27 @@ export interface WorkOrderApiWorkOrderStagingDataRequest {
|
|
|
4716
4786
|
readonly workOrderStagingDataVo: WorkOrderStagingDataVo
|
|
4717
4787
|
}
|
|
4718
4788
|
|
|
4789
|
+
/**
|
|
4790
|
+
* Request parameters for workOrderSubmit operation in WorkOrderApi.
|
|
4791
|
+
* @export
|
|
4792
|
+
* @interface WorkOrderApiWorkOrderSubmitRequest
|
|
4793
|
+
*/
|
|
4794
|
+
export interface WorkOrderApiWorkOrderSubmitRequest {
|
|
4795
|
+
/**
|
|
4796
|
+
*
|
|
4797
|
+
* @type {number}
|
|
4798
|
+
* @memberof WorkOrderApiWorkOrderSubmit
|
|
4799
|
+
*/
|
|
4800
|
+
readonly workOrderId: number
|
|
4801
|
+
|
|
4802
|
+
/**
|
|
4803
|
+
*
|
|
4804
|
+
* @type {WorkOrderSubmitVo}
|
|
4805
|
+
* @memberof WorkOrderApiWorkOrderSubmit
|
|
4806
|
+
*/
|
|
4807
|
+
readonly workOrderSubmitVo: WorkOrderSubmitVo
|
|
4808
|
+
}
|
|
4809
|
+
|
|
4719
4810
|
/**
|
|
4720
4811
|
* Request parameters for workOrderViolationAdd operation in WorkOrderApi.
|
|
4721
4812
|
* @export
|
|
@@ -5338,6 +5429,18 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
5338
5429
|
return WorkOrderApiFp(this.configuration).workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(this.axios, this.basePath));
|
|
5339
5430
|
}
|
|
5340
5431
|
|
|
5432
|
+
/**
|
|
5433
|
+
*
|
|
5434
|
+
* @summary 工单提交
|
|
5435
|
+
* @param {WorkOrderApiWorkOrderSubmitRequest} requestParameters Request parameters.
|
|
5436
|
+
* @param {*} [options] Override http request option.
|
|
5437
|
+
* @throws {RequiredError}
|
|
5438
|
+
* @memberof WorkOrderApi
|
|
5439
|
+
*/
|
|
5440
|
+
public workOrderSubmit(requestParameters: WorkOrderApiWorkOrderSubmitRequest, options?: RawAxiosRequestConfig) {
|
|
5441
|
+
return WorkOrderApiFp(this.configuration).workOrderSubmit(requestParameters.workOrderId, requestParameters.workOrderSubmitVo, options).then((request) => request(this.axios, this.basePath));
|
|
5442
|
+
}
|
|
5443
|
+
|
|
5341
5444
|
/**
|
|
5342
5445
|
*
|
|
5343
5446
|
* @summary 新建违规工单
|
package/configuration.ts
CHANGED
package/dist/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/api.js
CHANGED
|
@@ -62,6 +62,7 @@ __exportStar(require("./apis/monitor-controller-api"), exports);
|
|
|
62
62
|
__exportStar(require("./apis/monitor-sort-controller-api"), exports);
|
|
63
63
|
__exportStar(require("./apis/news-api"), exports);
|
|
64
64
|
__exportStar(require("./apis/notification-api"), exports);
|
|
65
|
+
__exportStar(require("./apis/offline-alert-work-order-controller-api"), exports);
|
|
65
66
|
__exportStar(require("./apis/open-api-api"), exports);
|
|
66
67
|
__exportStar(require("./apis/park-api"), exports);
|
|
67
68
|
__exportStar(require("./apis/privacy-api"), exports);
|
|
@@ -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
|
+
}
|