@gizone/rrs-client 4.1.1-alpha.154 → 4.1.1-beta.157
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 +2 -8
- package/api.ts +0 -1
- package/apis/space-api.ts +14 -12
- package/apis/surveillance-api.ts +14 -12
- package/apis/work-order-api.ts +0 -103
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- 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 +0 -55
- package/dist/apis/work-order-api.js +0 -75
- package/dist/esm/api.d.ts +0 -1
- package/dist/esm/api.js +0 -1
- 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 +0 -55
- package/dist/esm/apis/work-order-api.js +0 -75
- package/dist/esm/models/get-user-wx200-response.d.ts +12 -12
- package/dist/esm/models/index.d.ts +2 -7
- package/dist/esm/models/index.js +2 -7
- package/dist/esm/models/ipage-access-vo.d.ts +4 -4
- package/dist/esm/models/network-monitor-repair-add-vo.d.ts +0 -6
- package/dist/esm/models/result-code.d.ts +0 -1
- package/dist/esm/models/result-code.js +0 -1
- package/dist/esm/models/{offline-alert-work-order-vo.js → space-point-vo.d.ts} +13 -3
- package/dist/esm/models/surveillance-point-vo.d.ts +24 -0
- package/dist/esm/models/system-user-msg-source-type-enum.d.ts +0 -1
- package/dist/esm/models/system-user-msg-source-type-enum.js +1 -2
- package/dist/esm/models/work-order-ext-data.d.ts +0 -7
- package/dist/esm/models/work-order-internal-status-enum.d.ts +0 -2
- package/dist/esm/models/work-order-internal-status-enum.js +1 -3
- package/dist/esm/models/work-order-issue-type-enum.d.ts +0 -10
- package/dist/esm/models/work-order-issue-type-enum.js +1 -11
- package/dist/esm/models/work-order-report-vo.d.ts +1 -8
- package/dist/esm/models/work-order-settings-type-enum.d.ts +0 -1
- package/dist/esm/models/work-order-settings-type-enum.js +1 -2
- 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-type-enum.d.ts +0 -1
- package/dist/esm/models/work-order-type-enum.js +1 -2
- package/dist/models/get-user-wx200-response.d.ts +12 -12
- package/dist/models/index.d.ts +2 -7
- package/dist/models/index.js +2 -7
- package/dist/models/ipage-access-vo.d.ts +4 -4
- package/dist/models/network-monitor-repair-add-vo.d.ts +0 -6
- package/dist/models/result-code.d.ts +0 -1
- package/dist/models/result-code.js +0 -1
- package/dist/models/space-point-vo.d.ts +24 -0
- package/dist/models/surveillance-point-vo.d.ts +24 -0
- package/dist/models/system-user-msg-source-type-enum.d.ts +0 -1
- package/dist/models/system-user-msg-source-type-enum.js +1 -2
- package/dist/models/work-order-ext-data.d.ts +0 -7
- package/dist/models/work-order-internal-status-enum.d.ts +0 -2
- package/dist/models/work-order-internal-status-enum.js +1 -3
- package/dist/models/work-order-issue-type-enum.d.ts +0 -10
- package/dist/models/work-order-issue-type-enum.js +1 -11
- package/dist/models/work-order-report-vo.d.ts +1 -8
- package/dist/models/work-order-settings-type-enum.d.ts +0 -1
- package/dist/models/work-order-settings-type-enum.js +1 -2
- 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-type-enum.d.ts +0 -1
- package/dist/models/work-order-type-enum.js +1 -2
- package/models/get-user-wx200-response.ts +12 -12
- package/models/index.ts +2 -7
- package/models/ipage-access-vo.ts +4 -4
- package/models/network-monitor-repair-add-vo.ts +0 -6
- package/models/result-code.ts +0 -1
- package/{dist/esm/models/offline-alert-work-order-details-dto.js → models/space-point-vo.ts} +18 -8
- package/{dist/esm/models/offline-alert-submit-vo.js → models/surveillance-point-vo.ts} +18 -2
- package/models/system-user-msg-source-type-enum.ts +1 -2
- package/models/work-order-ext-data.ts +0 -9
- package/models/work-order-internal-status-enum.ts +1 -3
- package/models/work-order-issue-type-enum.ts +1 -11
- package/models/work-order-report-vo.ts +1 -10
- package/models/work-order-settings-type-enum.ts +1 -2
- package/models/work-order-source-enum.ts +1 -1
- package/models/work-order-type-enum.ts +1 -2
- package/package.json +1 -1
- package/apis/offline-alert-work-order-controller-api.ts +0 -149
- package/dist/apis/offline-alert-work-order-controller-api.d.ts +0 -87
- package/dist/apis/offline-alert-work-order-controller-api.js +0 -138
- package/dist/esm/apis/offline-alert-work-order-controller-api.d.ts +0 -87
- package/dist/esm/apis/offline-alert-work-order-controller-api.js +0 -131
- package/dist/esm/models/json-result-offline-alert-work-order-details-dto.d.ts +0 -62
- package/dist/esm/models/offline-alert-device-vo.d.ts +0 -30
- package/dist/esm/models/offline-alert-submit-vo.d.ts +0 -43
- package/dist/esm/models/offline-alert-work-order-details-dto.d.ts +0 -98
- package/dist/esm/models/offline-alert-work-order-info.d.ts +0 -72
- package/dist/esm/models/offline-alert-work-order-info.js +0 -21
- package/dist/esm/models/offline-alert-work-order-vo.d.ts +0 -43
- package/dist/esm/models/work-order-submit-vo.d.ts +0 -25
- package/dist/esm/models/work-order-submit-vo.js +0 -14
- package/dist/models/json-result-offline-alert-work-order-details-dto.d.ts +0 -62
- package/dist/models/offline-alert-device-vo.d.ts +0 -30
- package/dist/models/offline-alert-submit-vo.d.ts +0 -43
- package/dist/models/offline-alert-submit-vo.js +0 -15
- package/dist/models/offline-alert-work-order-details-dto.d.ts +0 -98
- package/dist/models/offline-alert-work-order-details-dto.js +0 -23
- package/dist/models/offline-alert-work-order-info.d.ts +0 -72
- package/dist/models/offline-alert-work-order-info.js +0 -24
- package/dist/models/offline-alert-work-order-vo.d.ts +0 -43
- package/dist/models/offline-alert-work-order-vo.js +0 -15
- package/dist/models/work-order-submit-vo.d.ts +0 -25
- package/dist/models/work-order-submit-vo.js +0 -15
- package/models/json-result-offline-alert-work-order-details-dto.ts +0 -72
- package/models/offline-alert-device-vo.ts +0 -36
- package/models/offline-alert-submit-vo.ts +0 -53
- package/models/offline-alert-work-order-details-dto.ts +0 -119
- package/models/offline-alert-work-order-info.ts +0 -86
- package/models/offline-alert-work-order-vo.ts +0 -53
- package/models/work-order-submit-vo.ts +0 -33
- /package/dist/esm/models/{json-result-offline-alert-work-order-details-dto.js → space-point-vo.js} +0 -0
- /package/dist/esm/models/{offline-alert-device-vo.js → surveillance-point-vo.js} +0 -0
- /package/dist/models/{json-result-offline-alert-work-order-details-dto.js → space-point-vo.js} +0 -0
- /package/dist/models/{offline-alert-device-vo.js → surveillance-point-vo.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -38,7 +38,6 @@ 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
|
|
42
41
|
apis/open-api-api.ts
|
|
43
42
|
apis/park-api.ts
|
|
44
43
|
apis/privacy-api.ts
|
|
@@ -533,7 +532,6 @@ models/json-result-network-monitor-repair-details-dto.ts
|
|
|
533
532
|
models/json-result-news-entity.ts
|
|
534
533
|
models/json-result-node-dto.ts
|
|
535
534
|
models/json-result-object.ts
|
|
536
|
-
models/json-result-offline-alert-work-order-details-dto.ts
|
|
537
535
|
models/json-result-owner-kanban-energy-dto.ts
|
|
538
536
|
models/json-result-owner-kanban-index-safety-inspection-dto.ts
|
|
539
537
|
models/json-result-owner-kanban-two-park-call-police-number-statistics-dto.ts
|
|
@@ -663,11 +661,6 @@ models/news-query-vo.ts
|
|
|
663
661
|
models/node-dto.ts
|
|
664
662
|
models/node-type-enum.ts
|
|
665
663
|
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
|
|
671
664
|
models/open-barrier-po.ts
|
|
672
665
|
models/operate-message-details-dto.ts
|
|
673
666
|
models/orders.ts
|
|
@@ -802,6 +795,7 @@ models/space-edit-vo.ts
|
|
|
802
795
|
models/space-image-detail-dto.ts
|
|
803
796
|
models/space-industry-attribute.ts
|
|
804
797
|
models/space-point-dto.ts
|
|
798
|
+
models/space-point-vo.ts
|
|
805
799
|
models/space-qr-code-dto.ts
|
|
806
800
|
models/space-qr-code.ts
|
|
807
801
|
models/space-tree-dto.ts
|
|
@@ -839,6 +833,7 @@ models/supplier-search-vo.ts
|
|
|
839
833
|
models/supplier-select-dto.ts
|
|
840
834
|
models/surveillance-details-dto.ts
|
|
841
835
|
models/surveillance-live-dto.ts
|
|
836
|
+
models/surveillance-point-vo.ts
|
|
842
837
|
models/surveillance-roi-entity.ts
|
|
843
838
|
models/surveillance-roi-list-vo.ts
|
|
844
839
|
models/surveillance-settings-details-dto.ts
|
|
@@ -954,7 +949,6 @@ models/work-order-staging-data-vo.ts
|
|
|
954
949
|
models/work-order-status-vo.ts
|
|
955
950
|
models/work-order-step-by-step-push-dto.ts
|
|
956
951
|
models/work-order-step-by-step-push-user-details-dto.ts
|
|
957
|
-
models/work-order-submit-vo.ts
|
|
958
952
|
models/work-order-surveillance-dto.ts
|
|
959
953
|
models/work-order-type-dto.ts
|
|
960
954
|
models/work-order-type-enum.ts
|
package/api.ts
CHANGED
|
@@ -49,7 +49,6 @@ 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';
|
|
53
52
|
export * from './apis/open-api-api';
|
|
54
53
|
export * from './apis/park-api';
|
|
55
54
|
export * from './apis/privacy-api';
|
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,8 +112,6 @@ 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
|
|
117
115
|
import type { WorkOrderTypeEnum } from '../models';
|
|
118
116
|
/**
|
|
119
117
|
* WorkOrderApi - axios parameter creator
|
|
@@ -2334,50 +2332,6 @@ export const WorkOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2334
2332
|
options: localVarRequestOptions,
|
|
2335
2333
|
};
|
|
2336
2334
|
},
|
|
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
|
-
},
|
|
2381
2335
|
/**
|
|
2382
2336
|
*
|
|
2383
2337
|
* @summary 新建违规工单
|
|
@@ -3157,20 +3111,6 @@ export const WorkOrderApiFp = function(configuration?: Configuration) {
|
|
|
3157
3111
|
const localVarOperationServerBasePath = operationServerMap['WorkOrderApi.workOrderStagingData']?.[localVarOperationServerIndex]?.url;
|
|
3158
3112
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3159
3113
|
},
|
|
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
|
-
},
|
|
3174
3114
|
/**
|
|
3175
3115
|
*
|
|
3176
3116
|
* @summary 新建违规工单
|
|
@@ -3696,16 +3636,6 @@ export const WorkOrderApiFactory = function (configuration?: Configuration, base
|
|
|
3696
3636
|
workOrderStagingData(requestParameters: WorkOrderApiWorkOrderStagingDataRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
3697
3637
|
return localVarFp.workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(axios, basePath));
|
|
3698
3638
|
},
|
|
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
|
-
},
|
|
3709
3639
|
/**
|
|
3710
3640
|
*
|
|
3711
3641
|
* @summary 新建违规工单
|
|
@@ -4786,27 +4716,6 @@ export interface WorkOrderApiWorkOrderStagingDataRequest {
|
|
|
4786
4716
|
readonly workOrderStagingDataVo: WorkOrderStagingDataVo
|
|
4787
4717
|
}
|
|
4788
4718
|
|
|
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
|
-
|
|
4810
4719
|
/**
|
|
4811
4720
|
* Request parameters for workOrderViolationAdd operation in WorkOrderApi.
|
|
4812
4721
|
* @export
|
|
@@ -5429,18 +5338,6 @@ export class WorkOrderApi extends BaseAPI {
|
|
|
5429
5338
|
return WorkOrderApiFp(this.configuration).workOrderStagingData(requestParameters.workOrderId, requestParameters.workOrderStagingDataVo, options).then((request) => request(this.axios, this.basePath));
|
|
5430
5339
|
}
|
|
5431
5340
|
|
|
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
|
-
|
|
5444
5341
|
/**
|
|
5445
5342
|
*
|
|
5446
5343
|
* @summary 新建违规工单
|
package/dist/api.d.ts
CHANGED
|
@@ -44,7 +44,6 @@ 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';
|
|
48
47
|
export * from './apis/open-api-api';
|
|
49
48
|
export * from './apis/park-api';
|
|
50
49
|
export * from './apis/privacy-api';
|
package/dist/api.js
CHANGED
|
@@ -62,7 +62,6 @@ __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);
|
|
66
65
|
__exportStar(require("./apis/open-api-api"), exports);
|
|
67
66
|
__exportStar(require("./apis/park-api"), exports);
|
|
68
67
|
__exportStar(require("./apis/privacy-api"), exports);
|
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;
|