@gizone/rrs-client 4.2.0-alpha.347 → 4.2.0-alpha.349

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.
Files changed (99) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/api.ts +1 -0
  3. package/apis/hwork-api.ts +167 -0
  4. package/apis/open-api-api.ts +214 -0
  5. package/apis/surveillance-api.ts +92 -0
  6. package/apis/web-hook-api.ts +182 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/apis/hwork-api.d.ts +96 -0
  10. package/dist/apis/hwork-api.js +145 -0
  11. package/dist/apis/open-api-api.d.ts +110 -0
  12. package/dist/apis/open-api-api.js +156 -0
  13. package/dist/apis/surveillance-api.d.ts +47 -0
  14. package/dist/apis/surveillance-api.js +71 -0
  15. package/dist/apis/web-hook-api.d.ts +94 -0
  16. package/dist/apis/web-hook-api.js +140 -0
  17. package/dist/esm/api.d.ts +1 -0
  18. package/dist/esm/api.js +1 -0
  19. package/dist/esm/apis/hwork-api.d.ts +96 -0
  20. package/dist/esm/apis/hwork-api.js +138 -0
  21. package/dist/esm/apis/open-api-api.d.ts +110 -0
  22. package/dist/esm/apis/open-api-api.js +156 -0
  23. package/dist/esm/apis/surveillance-api.d.ts +47 -0
  24. package/dist/esm/apis/surveillance-api.js +71 -0
  25. package/dist/esm/apis/web-hook-api.d.ts +94 -0
  26. package/dist/esm/apis/web-hook-api.js +140 -0
  27. package/dist/esm/models/index.d.ts +9 -0
  28. package/dist/esm/models/index.js +9 -0
  29. package/dist/esm/models/insurance-notice-vo.d.ts +54 -0
  30. package/dist/esm/models/insurance-notice-vo.js +14 -0
  31. package/dist/esm/models/insurance-work-order-issue-vo.d.ts +79 -0
  32. package/dist/esm/models/insurance-work-order-issue-vo.js +14 -0
  33. package/dist/esm/models/insurance-work-order-vo.d.ts +37 -0
  34. package/dist/esm/models/insurance-work-order-vo.js +14 -0
  35. package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +62 -0
  36. package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.js +14 -0
  37. package/dist/esm/models/json-result-surveillance-count-dto.d.ts +62 -0
  38. package/dist/esm/models/json-result-surveillance-count-dto.js +14 -0
  39. package/dist/esm/models/login-type-enum.d.ts +2 -0
  40. package/dist/esm/models/login-type-enum.js +3 -1
  41. package/dist/esm/models/open-api-equipment-list-dto.d.ts +110 -0
  42. package/dist/esm/models/open-api-equipment-list-dto.js +14 -0
  43. package/dist/esm/models/page-dto-open-api-equipment-list-dto.d.ts +31 -0
  44. package/dist/esm/models/page-dto-open-api-equipment-list-dto.js +14 -0
  45. package/dist/esm/models/park-info-dto.d.ts +12 -0
  46. package/dist/esm/models/surveillance-count-dto.d.ts +30 -0
  47. package/dist/esm/models/surveillance-count-dto.js +14 -0
  48. package/dist/esm/models/sys-post.d.ts +6 -0
  49. package/dist/esm/models/sys-role.d.ts +6 -0
  50. package/dist/esm/models/sys-user.d.ts +14 -1
  51. package/dist/esm/models/user-source-enum.d.ts +21 -0
  52. package/dist/esm/models/user-source-enum.js +22 -0
  53. package/dist/esm/models/work-order-issue-type-enum.d.ts +1 -1
  54. package/dist/esm/models/work-order-issue-type-enum.js +1 -1
  55. package/dist/models/index.d.ts +9 -0
  56. package/dist/models/index.js +9 -0
  57. package/dist/models/insurance-notice-vo.d.ts +54 -0
  58. package/dist/models/insurance-notice-vo.js +15 -0
  59. package/dist/models/insurance-work-order-issue-vo.d.ts +79 -0
  60. package/dist/models/insurance-work-order-issue-vo.js +15 -0
  61. package/dist/models/insurance-work-order-vo.d.ts +37 -0
  62. package/dist/models/insurance-work-order-vo.js +15 -0
  63. package/dist/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +62 -0
  64. package/dist/models/json-result-page-dto-open-api-equipment-list-dto.js +15 -0
  65. package/dist/models/json-result-surveillance-count-dto.d.ts +62 -0
  66. package/dist/models/json-result-surveillance-count-dto.js +15 -0
  67. package/dist/models/login-type-enum.d.ts +2 -0
  68. package/dist/models/login-type-enum.js +3 -1
  69. package/dist/models/open-api-equipment-list-dto.d.ts +110 -0
  70. package/dist/models/open-api-equipment-list-dto.js +15 -0
  71. package/dist/models/page-dto-open-api-equipment-list-dto.d.ts +31 -0
  72. package/dist/models/page-dto-open-api-equipment-list-dto.js +15 -0
  73. package/dist/models/park-info-dto.d.ts +12 -0
  74. package/dist/models/surveillance-count-dto.d.ts +30 -0
  75. package/dist/models/surveillance-count-dto.js +15 -0
  76. package/dist/models/sys-post.d.ts +6 -0
  77. package/dist/models/sys-role.d.ts +6 -0
  78. package/dist/models/sys-user.d.ts +14 -1
  79. package/dist/models/user-source-enum.d.ts +21 -0
  80. package/dist/models/user-source-enum.js +25 -0
  81. package/dist/models/work-order-issue-type-enum.d.ts +1 -1
  82. package/dist/models/work-order-issue-type-enum.js +1 -1
  83. package/models/index.ts +9 -0
  84. package/models/insurance-notice-vo.ts +60 -0
  85. package/models/insurance-work-order-issue-vo.ts +89 -0
  86. package/models/insurance-work-order-vo.ts +45 -0
  87. package/models/json-result-page-dto-open-api-equipment-list-dto.ts +72 -0
  88. package/models/json-result-surveillance-count-dto.ts +72 -0
  89. package/models/login-type-enum.ts +3 -1
  90. package/models/open-api-equipment-list-dto.ts +122 -0
  91. package/models/page-dto-open-api-equipment-list-dto.ts +39 -0
  92. package/models/park-info-dto.ts +12 -0
  93. package/models/surveillance-count-dto.ts +36 -0
  94. package/models/sys-post.ts +6 -0
  95. package/models/sys-role.ts +6 -0
  96. package/models/sys-user.ts +18 -1
  97. package/models/user-source-enum.ts +31 -0
  98. package/models/work-order-issue-type-enum.ts +1 -1
  99. package/package.json +1 -1
@@ -439,6 +439,40 @@ export const SurveillanceApiAxiosParamCreator = function (configuration) {
439
439
  options: localVarRequestOptions,
440
440
  };
441
441
  }),
442
+ /**
443
+ * 获取监控数量
444
+ * @summary 获取监控数量
445
+ * @param {number} parkId 园区ID
446
+ * @param {*} [options] Override http request option.
447
+ * @throws {RequiredError}
448
+ */
449
+ surveillanceSelectCount: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
450
+ // verify required parameter 'parkId' is not null or undefined
451
+ assertParamExists('surveillanceSelectCount', 'parkId', parkId);
452
+ const localVarPath = `/gizone/surveillance/count`;
453
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
454
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
455
+ let baseOptions;
456
+ if (configuration) {
457
+ baseOptions = configuration.baseOptions;
458
+ }
459
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
460
+ const localVarHeaderParameter = {};
461
+ const localVarQueryParameter = {};
462
+ // authentication tokenScheme required
463
+ // http bearer authentication required
464
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
465
+ if (parkId !== undefined) {
466
+ localVarQueryParameter['parkId'] = parkId;
467
+ }
468
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
469
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
470
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
471
+ return {
472
+ url: toPathString(localVarUrlObj),
473
+ options: localVarRequestOptions,
474
+ };
475
+ }),
442
476
  /**
443
477
  * 获取监控空间列表
444
478
  * @summary 监控空间列表
@@ -778,6 +812,22 @@ export const SurveillanceApiFp = function (configuration) {
778
812
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
779
813
  });
780
814
  },
815
+ /**
816
+ * 获取监控数量
817
+ * @summary 获取监控数量
818
+ * @param {number} parkId 园区ID
819
+ * @param {*} [options] Override http request option.
820
+ * @throws {RequiredError}
821
+ */
822
+ surveillanceSelectCount(parkId, options) {
823
+ return __awaiter(this, void 0, void 0, function* () {
824
+ var _a, _b, _c;
825
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceSelectCount(parkId, options);
826
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
827
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SurveillanceApi.surveillanceSelectCount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
828
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
829
+ });
830
+ },
781
831
  /**
782
832
  * 获取监控空间列表
783
833
  * @summary 监控空间列表
@@ -953,6 +1003,16 @@ export const SurveillanceApiFactory = function (configuration, basePath, axios)
953
1003
  surveillancePtzControl(requestParameters, options) {
954
1004
  return localVarFp.surveillancePtzControl(requestParameters.id, requestParameters.command, requestParameters.action, options).then((request) => request(axios, basePath));
955
1005
  },
1006
+ /**
1007
+ * 获取监控数量
1008
+ * @summary 获取监控数量
1009
+ * @param {SurveillanceApiSurveillanceSelectCountRequest} requestParameters Request parameters.
1010
+ * @param {*} [options] Override http request option.
1011
+ * @throws {RequiredError}
1012
+ */
1013
+ surveillanceSelectCount(requestParameters, options) {
1014
+ return localVarFp.surveillanceSelectCount(requestParameters.parkId, options).then((request) => request(axios, basePath));
1015
+ },
956
1016
  /**
957
1017
  * 获取监控空间列表
958
1018
  * @summary 监控空间列表
@@ -1110,6 +1170,17 @@ export class SurveillanceApi extends BaseAPI {
1110
1170
  surveillancePtzControl(requestParameters, options) {
1111
1171
  return SurveillanceApiFp(this.configuration).surveillancePtzControl(requestParameters.id, requestParameters.command, requestParameters.action, options).then((request) => request(this.axios, this.basePath));
1112
1172
  }
1173
+ /**
1174
+ * 获取监控数量
1175
+ * @summary 获取监控数量
1176
+ * @param {SurveillanceApiSurveillanceSelectCountRequest} requestParameters Request parameters.
1177
+ * @param {*} [options] Override http request option.
1178
+ * @throws {RequiredError}
1179
+ * @memberof SurveillanceApi
1180
+ */
1181
+ surveillanceSelectCount(requestParameters, options) {
1182
+ return SurveillanceApiFp(this.configuration).surveillanceSelectCount(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
1183
+ }
1113
1184
  /**
1114
1185
  * 获取监控空间列表
1115
1186
  * @summary 监控空间列表
@@ -12,6 +12,8 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { InsuranceNoticeVo } from '../models';
16
+ import type { InsuranceWorkOrderVo } from '../models';
15
17
  import type { JsonResultVoid } from '../models';
16
18
  import type { SrmParkContractChangeVo } from '../models';
17
19
  /**
@@ -27,6 +29,22 @@ export declare const WebHookApiAxiosParamCreator: (configuration?: Configuration
27
29
  * @throws {RequiredError}
28
30
  */
29
31
  srmParkContractChange: (srmParkContractChangeVo: SrmParkContractChangeVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ *
34
+ * @summary 接收保险通知
35
+ * @param {InsuranceNoticeVo} insuranceNoticeVo
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ webhookInsuranceNotice: (insuranceNoticeVo: InsuranceNoticeVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ /**
41
+ *
42
+ * @summary 接收保险工单
43
+ * @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ webhookInsuranceWorkOrder: (insuranceWorkOrderVo: InsuranceWorkOrderVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
48
  };
31
49
  /**
32
50
  * WebHookApi - functional programming interface
@@ -41,6 +59,22 @@ export declare const WebHookApiFp: (configuration?: Configuration) => {
41
59
  * @throws {RequiredError}
42
60
  */
43
61
  srmParkContractChange(srmParkContractChangeVo: SrmParkContractChangeVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
62
+ /**
63
+ *
64
+ * @summary 接收保险通知
65
+ * @param {InsuranceNoticeVo} insuranceNoticeVo
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ webhookInsuranceNotice(insuranceNoticeVo: InsuranceNoticeVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
70
+ /**
71
+ *
72
+ * @summary 接收保险工单
73
+ * @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ webhookInsuranceWorkOrder(insuranceWorkOrderVo: InsuranceWorkOrderVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
44
78
  };
45
79
  /**
46
80
  * WebHookApi - factory interface
@@ -55,6 +89,22 @@ export declare const WebHookApiFactory: (configuration?: Configuration, basePath
55
89
  * @throws {RequiredError}
56
90
  */
57
91
  srmParkContractChange(requestParameters: WebHookApiSrmParkContractChangeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
92
+ /**
93
+ *
94
+ * @summary 接收保险通知
95
+ * @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ webhookInsuranceNotice(requestParameters: WebHookApiWebhookInsuranceNoticeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
100
+ /**
101
+ *
102
+ * @summary 接收保险工单
103
+ * @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ webhookInsuranceWorkOrder(requestParameters: WebHookApiWebhookInsuranceWorkOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
58
108
  };
59
109
  /**
60
110
  * Request parameters for srmParkContractChange operation in WebHookApi.
@@ -69,6 +119,32 @@ export interface WebHookApiSrmParkContractChangeRequest {
69
119
  */
70
120
  readonly srmParkContractChangeVo: SrmParkContractChangeVo;
71
121
  }
122
+ /**
123
+ * Request parameters for webhookInsuranceNotice operation in WebHookApi.
124
+ * @export
125
+ * @interface WebHookApiWebhookInsuranceNoticeRequest
126
+ */
127
+ export interface WebHookApiWebhookInsuranceNoticeRequest {
128
+ /**
129
+ *
130
+ * @type {InsuranceNoticeVo}
131
+ * @memberof WebHookApiWebhookInsuranceNotice
132
+ */
133
+ readonly insuranceNoticeVo: InsuranceNoticeVo;
134
+ }
135
+ /**
136
+ * Request parameters for webhookInsuranceWorkOrder operation in WebHookApi.
137
+ * @export
138
+ * @interface WebHookApiWebhookInsuranceWorkOrderRequest
139
+ */
140
+ export interface WebHookApiWebhookInsuranceWorkOrderRequest {
141
+ /**
142
+ *
143
+ * @type {InsuranceWorkOrderVo}
144
+ * @memberof WebHookApiWebhookInsuranceWorkOrder
145
+ */
146
+ readonly insuranceWorkOrderVo: InsuranceWorkOrderVo;
147
+ }
72
148
  /**
73
149
  * WebHookApi - object-oriented interface
74
150
  * @export
@@ -85,4 +161,22 @@ export declare class WebHookApi extends BaseAPI {
85
161
  * @memberof WebHookApi
86
162
  */
87
163
  srmParkContractChange(requestParameters: WebHookApiSrmParkContractChangeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
164
+ /**
165
+ *
166
+ * @summary 接收保险通知
167
+ * @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
168
+ * @param {*} [options] Override http request option.
169
+ * @throws {RequiredError}
170
+ * @memberof WebHookApi
171
+ */
172
+ webhookInsuranceNotice(requestParameters: WebHookApiWebhookInsuranceNoticeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
173
+ /**
174
+ *
175
+ * @summary 接收保险工单
176
+ * @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
177
+ * @param {*} [options] Override http request option.
178
+ * @throws {RequiredError}
179
+ * @memberof WebHookApi
180
+ */
181
+ webhookInsuranceWorkOrder(requestParameters: WebHookApiWebhookInsuranceWorkOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
88
182
  }
@@ -65,6 +65,72 @@ export const WebHookApiAxiosParamCreator = function (configuration) {
65
65
  options: localVarRequestOptions,
66
66
  };
67
67
  }),
68
+ /**
69
+ *
70
+ * @summary 接收保险通知
71
+ * @param {InsuranceNoticeVo} insuranceNoticeVo
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ webhookInsuranceNotice: (insuranceNoticeVo_1, ...args_1) => __awaiter(this, [insuranceNoticeVo_1, ...args_1], void 0, function* (insuranceNoticeVo, options = {}) {
76
+ // verify required parameter 'insuranceNoticeVo' is not null or undefined
77
+ assertParamExists('webhookInsuranceNotice', 'insuranceNoticeVo', insuranceNoticeVo);
78
+ const localVarPath = `/webhook/insurance/notice`;
79
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
81
+ let baseOptions;
82
+ if (configuration) {
83
+ baseOptions = configuration.baseOptions;
84
+ }
85
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
86
+ const localVarHeaderParameter = {};
87
+ const localVarQueryParameter = {};
88
+ // authentication tokenScheme required
89
+ // http bearer authentication required
90
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
91
+ localVarHeaderParameter['Content-Type'] = 'application/json';
92
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
93
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
95
+ localVarRequestOptions.data = serializeDataIfNeeded(insuranceNoticeVo, localVarRequestOptions, configuration);
96
+ return {
97
+ url: toPathString(localVarUrlObj),
98
+ options: localVarRequestOptions,
99
+ };
100
+ }),
101
+ /**
102
+ *
103
+ * @summary 接收保险工单
104
+ * @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ webhookInsuranceWorkOrder: (insuranceWorkOrderVo_1, ...args_1) => __awaiter(this, [insuranceWorkOrderVo_1, ...args_1], void 0, function* (insuranceWorkOrderVo, options = {}) {
109
+ // verify required parameter 'insuranceWorkOrderVo' is not null or undefined
110
+ assertParamExists('webhookInsuranceWorkOrder', 'insuranceWorkOrderVo', insuranceWorkOrderVo);
111
+ const localVarPath = `/webhook/insurance/workOrder`;
112
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
113
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
114
+ let baseOptions;
115
+ if (configuration) {
116
+ baseOptions = configuration.baseOptions;
117
+ }
118
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
119
+ const localVarHeaderParameter = {};
120
+ const localVarQueryParameter = {};
121
+ // authentication tokenScheme required
122
+ // http bearer authentication required
123
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
124
+ localVarHeaderParameter['Content-Type'] = 'application/json';
125
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
126
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
127
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
128
+ localVarRequestOptions.data = serializeDataIfNeeded(insuranceWorkOrderVo, localVarRequestOptions, configuration);
129
+ return {
130
+ url: toPathString(localVarUrlObj),
131
+ options: localVarRequestOptions,
132
+ };
133
+ }),
68
134
  };
69
135
  };
70
136
  /**
@@ -90,6 +156,38 @@ export const WebHookApiFp = function (configuration) {
90
156
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
91
157
  });
92
158
  },
159
+ /**
160
+ *
161
+ * @summary 接收保险通知
162
+ * @param {InsuranceNoticeVo} insuranceNoticeVo
163
+ * @param {*} [options] Override http request option.
164
+ * @throws {RequiredError}
165
+ */
166
+ webhookInsuranceNotice(insuranceNoticeVo, options) {
167
+ return __awaiter(this, void 0, void 0, function* () {
168
+ var _a, _b, _c;
169
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.webhookInsuranceNotice(insuranceNoticeVo, options);
170
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
171
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WebHookApi.webhookInsuranceNotice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
172
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
173
+ });
174
+ },
175
+ /**
176
+ *
177
+ * @summary 接收保险工单
178
+ * @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ */
182
+ webhookInsuranceWorkOrder(insuranceWorkOrderVo, options) {
183
+ return __awaiter(this, void 0, void 0, function* () {
184
+ var _a, _b, _c;
185
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.webhookInsuranceWorkOrder(insuranceWorkOrderVo, options);
186
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
187
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WebHookApi.webhookInsuranceWorkOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
188
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
189
+ });
190
+ },
93
191
  };
94
192
  };
95
193
  /**
@@ -109,6 +207,26 @@ export const WebHookApiFactory = function (configuration, basePath, axios) {
109
207
  srmParkContractChange(requestParameters, options) {
110
208
  return localVarFp.srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(axios, basePath));
111
209
  },
210
+ /**
211
+ *
212
+ * @summary 接收保险通知
213
+ * @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ */
217
+ webhookInsuranceNotice(requestParameters, options) {
218
+ return localVarFp.webhookInsuranceNotice(requestParameters.insuranceNoticeVo, options).then((request) => request(axios, basePath));
219
+ },
220
+ /**
221
+ *
222
+ * @summary 接收保险工单
223
+ * @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
224
+ * @param {*} [options] Override http request option.
225
+ * @throws {RequiredError}
226
+ */
227
+ webhookInsuranceWorkOrder(requestParameters, options) {
228
+ return localVarFp.webhookInsuranceWorkOrder(requestParameters.insuranceWorkOrderVo, options).then((request) => request(axios, basePath));
229
+ },
112
230
  };
113
231
  };
114
232
  /**
@@ -129,4 +247,26 @@ export class WebHookApi extends BaseAPI {
129
247
  srmParkContractChange(requestParameters, options) {
130
248
  return WebHookApiFp(this.configuration).srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(this.axios, this.basePath));
131
249
  }
250
+ /**
251
+ *
252
+ * @summary 接收保险通知
253
+ * @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
254
+ * @param {*} [options] Override http request option.
255
+ * @throws {RequiredError}
256
+ * @memberof WebHookApi
257
+ */
258
+ webhookInsuranceNotice(requestParameters, options) {
259
+ return WebHookApiFp(this.configuration).webhookInsuranceNotice(requestParameters.insuranceNoticeVo, options).then((request) => request(this.axios, this.basePath));
260
+ }
261
+ /**
262
+ *
263
+ * @summary 接收保险工单
264
+ * @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
265
+ * @param {*} [options] Override http request option.
266
+ * @throws {RequiredError}
267
+ * @memberof WebHookApi
268
+ */
269
+ webhookInsuranceWorkOrder(requestParameters, options) {
270
+ return WebHookApiFp(this.configuration).webhookInsuranceWorkOrder(requestParameters.insuranceWorkOrderVo, options).then((request) => request(this.axios, this.basePath));
271
+ }
132
272
  }
@@ -135,6 +135,9 @@ export * from './inspection-standard-entity';
135
135
  export * from './inspection-standard-import-dto';
136
136
  export * from './inspection-standard-type-enum';
137
137
  export * from './installation-body-enum';
138
+ export * from './insurance-notice-vo';
139
+ export * from './insurance-work-order-issue-vo';
140
+ export * from './insurance-work-order-vo';
138
141
  export * from './iot-device-status-enum';
139
142
  export * from './json-result';
140
143
  export * from './json-result-access-appointment-record-details-dto';
@@ -213,6 +216,7 @@ export * from './json-result-page-dto-disaster-warning-standard-entity';
213
216
  export * from './json-result-page-dto-equipment-search-system-dto';
214
217
  export * from './json-result-page-dto-inspection-standard-dto';
215
218
  export * from './json-result-page-dto-maintenance-standard-dto';
219
+ export * from './json-result-page-dto-open-api-equipment-list-dto';
216
220
  export * from './json-result-page-dto-plan-search-dto';
217
221
  export * from './json-result-page-dto-supplier-contract-details-dto';
218
222
  export * from './json-result-page-dto-surveillance-details-dto';
@@ -227,6 +231,7 @@ export * from './json-result-space-image-detail-dto';
227
231
  export * from './json-result-string';
228
232
  export * from './json-result-supplier-contract-details-dto';
229
233
  export * from './json-result-supplier-entity';
234
+ export * from './json-result-surveillance-count-dto';
230
235
  export * from './json-result-surveillance-details-dto';
231
236
  export * from './json-result-surveillance-live-dto';
232
237
  export * from './json-result-surveillance-settings-details-dto';
@@ -267,6 +272,7 @@ export * from './offline-alert-work-order-details-dto';
267
272
  export * from './offline-alert-work-order-info';
268
273
  export * from './offline-alert-work-order-vo';
269
274
  export * from './open-api-access-appointment-record-add-vo';
275
+ export * from './open-api-equipment-list-dto';
270
276
  export * from './page-dto-access-appointment-record-details-dto';
271
277
  export * from './page-dto-access-blacklist-details-dto';
272
278
  export * from './page-dto-access-record-summary-list-dto';
@@ -276,6 +282,7 @@ export * from './page-dto-disaster-warning-standard-entity';
276
282
  export * from './page-dto-equipment-search-system-dto';
277
283
  export * from './page-dto-inspection-standard-dto';
278
284
  export * from './page-dto-maintenance-standard-dto';
285
+ export * from './page-dto-open-api-equipment-list-dto';
279
286
  export * from './page-dto-plan-search-dto';
280
287
  export * from './page-dto-supplier-contract-details-dto';
281
288
  export * from './page-dto-surveillance-details-dto';
@@ -348,6 +355,7 @@ export * from './supplier-search-vo';
348
355
  export * from './supplier-select-dto';
349
356
  export * from './surveillance';
350
357
  export * from './surveillance-batch-import-template-dto';
358
+ export * from './surveillance-count-dto';
351
359
  export * from './surveillance-details-dto';
352
360
  export * from './surveillance-live-dto';
353
361
  export * from './surveillance-point-vo';
@@ -398,6 +406,7 @@ export * from './user-excel-dto';
398
406
  export * from './user-roles-and-permissions-dto';
399
407
  export * from './user-settings-entity';
400
408
  export * from './user-settings-update-bo';
409
+ export * from './user-source-enum';
401
410
  export * from './user-whether-privacy-dto';
402
411
  export * from './violation-center-attribute-enum';
403
412
  export * from './violation-decision-vo';
@@ -135,6 +135,9 @@ export * from './inspection-standard-entity';
135
135
  export * from './inspection-standard-import-dto';
136
136
  export * from './inspection-standard-type-enum';
137
137
  export * from './installation-body-enum';
138
+ export * from './insurance-notice-vo';
139
+ export * from './insurance-work-order-issue-vo';
140
+ export * from './insurance-work-order-vo';
138
141
  export * from './iot-device-status-enum';
139
142
  export * from './json-result';
140
143
  export * from './json-result-access-appointment-record-details-dto';
@@ -213,6 +216,7 @@ export * from './json-result-page-dto-disaster-warning-standard-entity';
213
216
  export * from './json-result-page-dto-equipment-search-system-dto';
214
217
  export * from './json-result-page-dto-inspection-standard-dto';
215
218
  export * from './json-result-page-dto-maintenance-standard-dto';
219
+ export * from './json-result-page-dto-open-api-equipment-list-dto';
216
220
  export * from './json-result-page-dto-plan-search-dto';
217
221
  export * from './json-result-page-dto-supplier-contract-details-dto';
218
222
  export * from './json-result-page-dto-surveillance-details-dto';
@@ -227,6 +231,7 @@ export * from './json-result-space-image-detail-dto';
227
231
  export * from './json-result-string';
228
232
  export * from './json-result-supplier-contract-details-dto';
229
233
  export * from './json-result-supplier-entity';
234
+ export * from './json-result-surveillance-count-dto';
230
235
  export * from './json-result-surveillance-details-dto';
231
236
  export * from './json-result-surveillance-live-dto';
232
237
  export * from './json-result-surveillance-settings-details-dto';
@@ -267,6 +272,7 @@ export * from './offline-alert-work-order-details-dto';
267
272
  export * from './offline-alert-work-order-info';
268
273
  export * from './offline-alert-work-order-vo';
269
274
  export * from './open-api-access-appointment-record-add-vo';
275
+ export * from './open-api-equipment-list-dto';
270
276
  export * from './page-dto-access-appointment-record-details-dto';
271
277
  export * from './page-dto-access-blacklist-details-dto';
272
278
  export * from './page-dto-access-record-summary-list-dto';
@@ -276,6 +282,7 @@ export * from './page-dto-disaster-warning-standard-entity';
276
282
  export * from './page-dto-equipment-search-system-dto';
277
283
  export * from './page-dto-inspection-standard-dto';
278
284
  export * from './page-dto-maintenance-standard-dto';
285
+ export * from './page-dto-open-api-equipment-list-dto';
279
286
  export * from './page-dto-plan-search-dto';
280
287
  export * from './page-dto-supplier-contract-details-dto';
281
288
  export * from './page-dto-surveillance-details-dto';
@@ -348,6 +355,7 @@ export * from './supplier-search-vo';
348
355
  export * from './supplier-select-dto';
349
356
  export * from './surveillance';
350
357
  export * from './surveillance-batch-import-template-dto';
358
+ export * from './surveillance-count-dto';
351
359
  export * from './surveillance-details-dto';
352
360
  export * from './surveillance-live-dto';
353
361
  export * from './surveillance-point-vo';
@@ -398,6 +406,7 @@ export * from './user-excel-dto';
398
406
  export * from './user-roles-and-permissions-dto';
399
407
  export * from './user-settings-entity';
400
408
  export * from './user-settings-update-bo';
409
+ export * from './user-source-enum';
401
410
  export * from './user-whether-privacy-dto';
402
411
  export * from './violation-center-attribute-enum';
403
412
  export * from './violation-decision-vo';
@@ -0,0 +1,54 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * 保险通知参数
14
+ * @export
15
+ * @interface InsuranceNoticeVo
16
+ */
17
+ export interface InsuranceNoticeVo {
18
+ /**
19
+ * 园区编码
20
+ * @type {string}
21
+ * @memberof InsuranceNoticeVo
22
+ */
23
+ 'parkCode': string;
24
+ /**
25
+ * 考察时间
26
+ * @type {string}
27
+ * @memberof InsuranceNoticeVo
28
+ */
29
+ 'visitTime': string;
30
+ /**
31
+ * 考察内容
32
+ * @type {string}
33
+ * @memberof InsuranceNoticeVo
34
+ */
35
+ 'visitContent': string;
36
+ /**
37
+ * 联系人
38
+ * @type {string}
39
+ * @memberof InsuranceNoticeVo
40
+ */
41
+ 'contactName': string;
42
+ /**
43
+ * 联系电话
44
+ * @type {string}
45
+ * @memberof InsuranceNoticeVo
46
+ */
47
+ 'contactPhone': string;
48
+ /**
49
+ * 参与人员
50
+ * @type {Array<string>}
51
+ * @memberof InsuranceNoticeVo
52
+ */
53
+ 'participants': Array<string>;
54
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenAPI definition
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,79 @@
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 { WorkOrderIssueTypeEnum } from './work-order-issue-type-enum';
13
+ /**
14
+ * 问题
15
+ * @export
16
+ * @interface InsuranceWorkOrderIssueVo
17
+ */
18
+ export interface InsuranceWorkOrderIssueVo {
19
+ /**
20
+ * 问题单号
21
+ * @type {string}
22
+ * @memberof InsuranceWorkOrderIssueVo
23
+ */
24
+ 'issuesNo': string;
25
+ /**
26
+ * 问题时间
27
+ * @type {string}
28
+ * @memberof InsuranceWorkOrderIssueVo
29
+ */
30
+ 'issuesTime': string;
31
+ /**
32
+ *
33
+ * @type {WorkOrderIssueTypeEnum}
34
+ * @memberof InsuranceWorkOrderIssueVo
35
+ */
36
+ 'issueType': WorkOrderIssueTypeEnum;
37
+ /**
38
+ * 问题描述
39
+ * @type {string}
40
+ * @memberof InsuranceWorkOrderIssueVo
41
+ */
42
+ 'issuesDesc': string;
43
+ /**
44
+ * 问题设备ID
45
+ * @type {number}
46
+ * @memberof InsuranceWorkOrderIssueVo
47
+ */
48
+ 'issuesEquipmentId': number;
49
+ /**
50
+ * 问题空间ID
51
+ * @type {number}
52
+ * @memberof InsuranceWorkOrderIssueVo
53
+ */
54
+ 'issuesSpaceId': number;
55
+ /**
56
+ * 风险类别
57
+ * @type {string}
58
+ * @memberof InsuranceWorkOrderIssueVo
59
+ */
60
+ 'riskCategory': string;
61
+ /**
62
+ * 风险等级
63
+ * @type {string}
64
+ * @memberof InsuranceWorkOrderIssueVo
65
+ */
66
+ 'riskLevel': string;
67
+ /**
68
+ * 要求整改时间
69
+ * @type {string}
70
+ * @memberof InsuranceWorkOrderIssueVo
71
+ */
72
+ 'rectificationTime': string;
73
+ /**
74
+ * 隐患照片
75
+ * @type {Array<string>}
76
+ * @memberof InsuranceWorkOrderIssueVo
77
+ */
78
+ 'hazardPhotoUrls': Array<string>;
79
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenAPI definition
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};