@gizone/rrs-client 4.2.0-alpha.348 → 4.2.0-alpha.350

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 (55) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/apis/open-api-api.ts +214 -0
  3. package/apis/web-hook-api.ts +182 -0
  4. package/dist/apis/open-api-api.d.ts +110 -0
  5. package/dist/apis/open-api-api.js +156 -0
  6. package/dist/apis/web-hook-api.d.ts +94 -0
  7. package/dist/apis/web-hook-api.js +140 -0
  8. package/dist/esm/apis/open-api-api.d.ts +110 -0
  9. package/dist/esm/apis/open-api-api.js +156 -0
  10. package/dist/esm/apis/web-hook-api.d.ts +94 -0
  11. package/dist/esm/apis/web-hook-api.js +140 -0
  12. package/dist/esm/models/index.d.ts +6 -0
  13. package/dist/esm/models/index.js +6 -0
  14. package/dist/esm/models/insurance-notice-vo.d.ts +54 -0
  15. package/dist/esm/models/insurance-notice-vo.js +14 -0
  16. package/dist/esm/models/insurance-work-order-issue-vo.d.ts +79 -0
  17. package/dist/esm/models/insurance-work-order-issue-vo.js +14 -0
  18. package/dist/esm/models/insurance-work-order-vo.d.ts +37 -0
  19. package/dist/esm/models/insurance-work-order-vo.js +14 -0
  20. package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +62 -0
  21. package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.js +14 -0
  22. package/dist/esm/models/open-api-equipment-list-dto.d.ts +110 -0
  23. package/dist/esm/models/open-api-equipment-list-dto.js +14 -0
  24. package/dist/esm/models/page-dto-open-api-equipment-list-dto.d.ts +31 -0
  25. package/dist/esm/models/page-dto-open-api-equipment-list-dto.js +14 -0
  26. package/dist/esm/models/work-order-issue-type-enum.d.ts +1 -1
  27. package/dist/esm/models/work-order-issue-type-enum.js +1 -1
  28. package/dist/esm/models/work-order-search-dto.d.ts +7 -1
  29. package/dist/models/index.d.ts +6 -0
  30. package/dist/models/index.js +6 -0
  31. package/dist/models/insurance-notice-vo.d.ts +54 -0
  32. package/dist/models/insurance-notice-vo.js +15 -0
  33. package/dist/models/insurance-work-order-issue-vo.d.ts +79 -0
  34. package/dist/models/insurance-work-order-issue-vo.js +15 -0
  35. package/dist/models/insurance-work-order-vo.d.ts +37 -0
  36. package/dist/models/insurance-work-order-vo.js +15 -0
  37. package/dist/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +62 -0
  38. package/dist/models/json-result-page-dto-open-api-equipment-list-dto.js +15 -0
  39. package/dist/models/open-api-equipment-list-dto.d.ts +110 -0
  40. package/dist/models/open-api-equipment-list-dto.js +15 -0
  41. package/dist/models/page-dto-open-api-equipment-list-dto.d.ts +31 -0
  42. package/dist/models/page-dto-open-api-equipment-list-dto.js +15 -0
  43. package/dist/models/work-order-issue-type-enum.d.ts +1 -1
  44. package/dist/models/work-order-issue-type-enum.js +1 -1
  45. package/dist/models/work-order-search-dto.d.ts +7 -1
  46. package/models/index.ts +6 -0
  47. package/models/insurance-notice-vo.ts +60 -0
  48. package/models/insurance-work-order-issue-vo.ts +89 -0
  49. package/models/insurance-work-order-vo.ts +45 -0
  50. package/models/json-result-page-dto-open-api-equipment-list-dto.ts +72 -0
  51. package/models/open-api-equipment-list-dto.ts +122 -0
  52. package/models/page-dto-open-api-equipment-list-dto.ts +39 -0
  53. package/models/work-order-issue-type-enum.ts +1 -1
  54. package/models/work-order-search-dto.ts +7 -1
  55. package/package.json +1 -1
@@ -134,6 +134,86 @@ const OpenApiApiAxiosParamCreator = function (configuration) {
134
134
  options: localVarRequestOptions,
135
135
  };
136
136
  }),
137
+ /**
138
+ *
139
+ * @summary 查询设备列表
140
+ * @param {string} parkCode 园区编码
141
+ * @param {number} page 页数
142
+ * @param {number} pageSize 页码
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ openApiEquipmentList: (parkCode_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [parkCode_1, page_1, pageSize_1, ...args_1], void 0, function* (parkCode, page, pageSize, options = {}) {
147
+ // verify required parameter 'parkCode' is not null or undefined
148
+ (0, common_1.assertParamExists)('openApiEquipmentList', 'parkCode', parkCode);
149
+ // verify required parameter 'page' is not null or undefined
150
+ (0, common_1.assertParamExists)('openApiEquipmentList', 'page', page);
151
+ // verify required parameter 'pageSize' is not null or undefined
152
+ (0, common_1.assertParamExists)('openApiEquipmentList', 'pageSize', pageSize);
153
+ const localVarPath = `/openapi/v1/main/parks/equipment`;
154
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
155
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
156
+ let baseOptions;
157
+ if (configuration) {
158
+ baseOptions = configuration.baseOptions;
159
+ }
160
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
161
+ const localVarHeaderParameter = {};
162
+ const localVarQueryParameter = {};
163
+ // authentication tokenScheme required
164
+ // http bearer authentication required
165
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
166
+ if (parkCode !== undefined) {
167
+ localVarQueryParameter['parkCode'] = parkCode;
168
+ }
169
+ if (page !== undefined) {
170
+ localVarQueryParameter['page'] = page;
171
+ }
172
+ if (pageSize !== undefined) {
173
+ localVarQueryParameter['pageSize'] = pageSize;
174
+ }
175
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
176
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
177
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
178
+ return {
179
+ url: (0, common_1.toPathString)(localVarUrlObj),
180
+ options: localVarRequestOptions,
181
+ };
182
+ }),
183
+ /**
184
+ *
185
+ * @summary 查询园区列表
186
+ * @param {string} centerCode 中心编码
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ */
190
+ openApiParks: (centerCode_1, ...args_1) => __awaiter(this, [centerCode_1, ...args_1], void 0, function* (centerCode, options = {}) {
191
+ // verify required parameter 'centerCode' is not null or undefined
192
+ (0, common_1.assertParamExists)('openApiParks', 'centerCode', centerCode);
193
+ const localVarPath = `/openapi/v1/main/parks`;
194
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
195
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
196
+ let baseOptions;
197
+ if (configuration) {
198
+ baseOptions = configuration.baseOptions;
199
+ }
200
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
201
+ const localVarHeaderParameter = {};
202
+ const localVarQueryParameter = {};
203
+ // authentication tokenScheme required
204
+ // http bearer authentication required
205
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
206
+ if (centerCode !== undefined) {
207
+ localVarQueryParameter['centerCode'] = centerCode;
208
+ }
209
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
210
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
211
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
212
+ return {
213
+ url: (0, common_1.toPathString)(localVarUrlObj),
214
+ options: localVarRequestOptions,
215
+ };
216
+ }),
137
217
  /**
138
218
  *
139
219
  * @summary 获取空间列表
@@ -260,6 +340,40 @@ const OpenApiApiFp = function (configuration) {
260
340
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
261
341
  });
262
342
  },
343
+ /**
344
+ *
345
+ * @summary 查询设备列表
346
+ * @param {string} parkCode 园区编码
347
+ * @param {number} page 页数
348
+ * @param {number} pageSize 页码
349
+ * @param {*} [options] Override http request option.
350
+ * @throws {RequiredError}
351
+ */
352
+ openApiEquipmentList(parkCode, page, pageSize, options) {
353
+ return __awaiter(this, void 0, void 0, function* () {
354
+ var _a, _b, _c;
355
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentList(parkCode, page, pageSize, options);
356
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
357
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OpenApiApi.openApiEquipmentList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
358
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
359
+ });
360
+ },
361
+ /**
362
+ *
363
+ * @summary 查询园区列表
364
+ * @param {string} centerCode 中心编码
365
+ * @param {*} [options] Override http request option.
366
+ * @throws {RequiredError}
367
+ */
368
+ openApiParks(centerCode, options) {
369
+ return __awaiter(this, void 0, void 0, function* () {
370
+ var _a, _b, _c;
371
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiParks(centerCode, options);
372
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
373
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OpenApiApi.openApiParks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
374
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
375
+ });
376
+ },
263
377
  /**
264
378
  *
265
379
  * @summary 获取空间列表
@@ -332,6 +446,26 @@ const OpenApiApiFactory = function (configuration, basePath, axios) {
332
446
  openApiEquipmentBatchStatusSync(requestParameters, options) {
333
447
  return localVarFp.openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(axios, basePath));
334
448
  },
449
+ /**
450
+ *
451
+ * @summary 查询设备列表
452
+ * @param {OpenApiApiOpenApiEquipmentListRequest} requestParameters Request parameters.
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ openApiEquipmentList(requestParameters, options) {
457
+ return localVarFp.openApiEquipmentList(requestParameters.parkCode, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
458
+ },
459
+ /**
460
+ *
461
+ * @summary 查询园区列表
462
+ * @param {OpenApiApiOpenApiParksRequest} requestParameters Request parameters.
463
+ * @param {*} [options] Override http request option.
464
+ * @throws {RequiredError}
465
+ */
466
+ openApiParks(requestParameters, options) {
467
+ return localVarFp.openApiParks(requestParameters.centerCode, options).then((request) => request(axios, basePath));
468
+ },
335
469
  /**
336
470
  *
337
471
  * @summary 获取空间列表
@@ -395,6 +529,28 @@ class OpenApiApi extends base_1.BaseAPI {
395
529
  openApiEquipmentBatchStatusSync(requestParameters, options) {
396
530
  return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(this.axios, this.basePath));
397
531
  }
532
+ /**
533
+ *
534
+ * @summary 查询设备列表
535
+ * @param {OpenApiApiOpenApiEquipmentListRequest} requestParameters Request parameters.
536
+ * @param {*} [options] Override http request option.
537
+ * @throws {RequiredError}
538
+ * @memberof OpenApiApi
539
+ */
540
+ openApiEquipmentList(requestParameters, options) {
541
+ return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentList(requestParameters.parkCode, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
542
+ }
543
+ /**
544
+ *
545
+ * @summary 查询园区列表
546
+ * @param {OpenApiApiOpenApiParksRequest} requestParameters Request parameters.
547
+ * @param {*} [options] Override http request option.
548
+ * @throws {RequiredError}
549
+ * @memberof OpenApiApi
550
+ */
551
+ openApiParks(requestParameters, options) {
552
+ return (0, exports.OpenApiApiFp)(this.configuration).openApiParks(requestParameters.centerCode, options).then((request) => request(this.axios, this.basePath));
553
+ }
398
554
  /**
399
555
  *
400
556
  * @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
  }
@@ -68,6 +68,72 @@ const WebHookApiAxiosParamCreator = function (configuration) {
68
68
  options: localVarRequestOptions,
69
69
  };
70
70
  }),
71
+ /**
72
+ *
73
+ * @summary 接收保险通知
74
+ * @param {InsuranceNoticeVo} insuranceNoticeVo
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ webhookInsuranceNotice: (insuranceNoticeVo_1, ...args_1) => __awaiter(this, [insuranceNoticeVo_1, ...args_1], void 0, function* (insuranceNoticeVo, options = {}) {
79
+ // verify required parameter 'insuranceNoticeVo' is not null or undefined
80
+ (0, common_1.assertParamExists)('webhookInsuranceNotice', 'insuranceNoticeVo', insuranceNoticeVo);
81
+ const localVarPath = `/webhook/insurance/notice`;
82
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
83
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
84
+ let baseOptions;
85
+ if (configuration) {
86
+ baseOptions = configuration.baseOptions;
87
+ }
88
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
89
+ const localVarHeaderParameter = {};
90
+ const localVarQueryParameter = {};
91
+ // authentication tokenScheme required
92
+ // http bearer authentication required
93
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
94
+ localVarHeaderParameter['Content-Type'] = 'application/json';
95
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
96
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
97
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
98
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(insuranceNoticeVo, localVarRequestOptions, configuration);
99
+ return {
100
+ url: (0, common_1.toPathString)(localVarUrlObj),
101
+ options: localVarRequestOptions,
102
+ };
103
+ }),
104
+ /**
105
+ *
106
+ * @summary 接收保险工单
107
+ * @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ webhookInsuranceWorkOrder: (insuranceWorkOrderVo_1, ...args_1) => __awaiter(this, [insuranceWorkOrderVo_1, ...args_1], void 0, function* (insuranceWorkOrderVo, options = {}) {
112
+ // verify required parameter 'insuranceWorkOrderVo' is not null or undefined
113
+ (0, common_1.assertParamExists)('webhookInsuranceWorkOrder', 'insuranceWorkOrderVo', insuranceWorkOrderVo);
114
+ const localVarPath = `/webhook/insurance/workOrder`;
115
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
116
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
117
+ let baseOptions;
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ }
121
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
122
+ const localVarHeaderParameter = {};
123
+ const localVarQueryParameter = {};
124
+ // authentication tokenScheme required
125
+ // http bearer authentication required
126
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
127
+ localVarHeaderParameter['Content-Type'] = 'application/json';
128
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
130
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
131
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(insuranceWorkOrderVo, localVarRequestOptions, configuration);
132
+ return {
133
+ url: (0, common_1.toPathString)(localVarUrlObj),
134
+ options: localVarRequestOptions,
135
+ };
136
+ }),
71
137
  };
72
138
  };
73
139
  exports.WebHookApiAxiosParamCreator = WebHookApiAxiosParamCreator;
@@ -94,6 +160,38 @@ const WebHookApiFp = function (configuration) {
94
160
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
95
161
  });
96
162
  },
163
+ /**
164
+ *
165
+ * @summary 接收保险通知
166
+ * @param {InsuranceNoticeVo} insuranceNoticeVo
167
+ * @param {*} [options] Override http request option.
168
+ * @throws {RequiredError}
169
+ */
170
+ webhookInsuranceNotice(insuranceNoticeVo, options) {
171
+ return __awaiter(this, void 0, void 0, function* () {
172
+ var _a, _b, _c;
173
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.webhookInsuranceNotice(insuranceNoticeVo, options);
174
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
175
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebHookApi.webhookInsuranceNotice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
176
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
177
+ });
178
+ },
179
+ /**
180
+ *
181
+ * @summary 接收保险工单
182
+ * @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ webhookInsuranceWorkOrder(insuranceWorkOrderVo, options) {
187
+ return __awaiter(this, void 0, void 0, function* () {
188
+ var _a, _b, _c;
189
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.webhookInsuranceWorkOrder(insuranceWorkOrderVo, options);
190
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
191
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebHookApi.webhookInsuranceWorkOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
192
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
193
+ });
194
+ },
97
195
  };
98
196
  };
99
197
  exports.WebHookApiFp = WebHookApiFp;
@@ -114,6 +212,26 @@ const WebHookApiFactory = function (configuration, basePath, axios) {
114
212
  srmParkContractChange(requestParameters, options) {
115
213
  return localVarFp.srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(axios, basePath));
116
214
  },
215
+ /**
216
+ *
217
+ * @summary 接收保险通知
218
+ * @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
219
+ * @param {*} [options] Override http request option.
220
+ * @throws {RequiredError}
221
+ */
222
+ webhookInsuranceNotice(requestParameters, options) {
223
+ return localVarFp.webhookInsuranceNotice(requestParameters.insuranceNoticeVo, options).then((request) => request(axios, basePath));
224
+ },
225
+ /**
226
+ *
227
+ * @summary 接收保险工单
228
+ * @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ webhookInsuranceWorkOrder(requestParameters, options) {
233
+ return localVarFp.webhookInsuranceWorkOrder(requestParameters.insuranceWorkOrderVo, options).then((request) => request(axios, basePath));
234
+ },
117
235
  };
118
236
  };
119
237
  exports.WebHookApiFactory = WebHookApiFactory;
@@ -135,5 +253,27 @@ class WebHookApi extends base_1.BaseAPI {
135
253
  srmParkContractChange(requestParameters, options) {
136
254
  return (0, exports.WebHookApiFp)(this.configuration).srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(this.axios, this.basePath));
137
255
  }
256
+ /**
257
+ *
258
+ * @summary 接收保险通知
259
+ * @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ * @memberof WebHookApi
263
+ */
264
+ webhookInsuranceNotice(requestParameters, options) {
265
+ return (0, exports.WebHookApiFp)(this.configuration).webhookInsuranceNotice(requestParameters.insuranceNoticeVo, options).then((request) => request(this.axios, this.basePath));
266
+ }
267
+ /**
268
+ *
269
+ * @summary 接收保险工单
270
+ * @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ * @memberof WebHookApi
274
+ */
275
+ webhookInsuranceWorkOrder(requestParameters, options) {
276
+ return (0, exports.WebHookApiFp)(this.configuration).webhookInsuranceWorkOrder(requestParameters.insuranceWorkOrderVo, options).then((request) => request(this.axios, this.basePath));
277
+ }
138
278
  }
139
279
  exports.WebHookApi = WebHookApi;
@@ -14,6 +14,8 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { JsonResultBoolean } from '../models';
16
16
  import type { JsonResultJsonResultListSpaceTreeDTO } from '../models';
17
+ import type { JsonResultListParkListDTO } from '../models';
18
+ import type { JsonResultPageDtoOpenApiEquipmentListDto } from '../models';
17
19
  import type { JsonResultPageDtoSurveillanceDetailsDto } from '../models';
18
20
  import type { JsonResultVoid } from '../models';
19
21
  import type { OpenApiAccessAppointmentRecordAddVo } from '../models';
@@ -48,6 +50,24 @@ export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration
48
50
  * @throws {RequiredError}
49
51
  */
50
52
  openApiEquipmentBatchStatusSync: (syncEquipmentStatusVo: SyncEquipmentStatusVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
+ /**
54
+ *
55
+ * @summary 查询设备列表
56
+ * @param {string} parkCode 园区编码
57
+ * @param {number} page 页数
58
+ * @param {number} pageSize 页码
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ openApiEquipmentList: (parkCode: string, page: number, pageSize: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
63
+ /**
64
+ *
65
+ * @summary 查询园区列表
66
+ * @param {string} centerCode 中心编码
67
+ * @param {*} [options] Override http request option.
68
+ * @throws {RequiredError}
69
+ */
70
+ openApiParks: (centerCode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
51
71
  /**
52
72
  *
53
73
  * @summary 获取空间列表
@@ -94,6 +114,24 @@ export declare const OpenApiApiFp: (configuration?: Configuration) => {
94
114
  * @throws {RequiredError}
95
115
  */
96
116
  openApiEquipmentBatchStatusSync(syncEquipmentStatusVo: SyncEquipmentStatusVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
117
+ /**
118
+ *
119
+ * @summary 查询设备列表
120
+ * @param {string} parkCode 园区编码
121
+ * @param {number} page 页数
122
+ * @param {number} pageSize 页码
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ openApiEquipmentList(parkCode: string, page: number, pageSize: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoOpenApiEquipmentListDto>>;
127
+ /**
128
+ *
129
+ * @summary 查询园区列表
130
+ * @param {string} centerCode 中心编码
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ openApiParks(centerCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListParkListDTO>>;
97
135
  /**
98
136
  *
99
137
  * @summary 获取空间列表
@@ -140,6 +178,22 @@ export declare const OpenApiApiFactory: (configuration?: Configuration, basePath
140
178
  * @throws {RequiredError}
141
179
  */
142
180
  openApiEquipmentBatchStatusSync(requestParameters: OpenApiApiOpenApiEquipmentBatchStatusSyncRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
181
+ /**
182
+ *
183
+ * @summary 查询设备列表
184
+ * @param {OpenApiApiOpenApiEquipmentListRequest} requestParameters Request parameters.
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ */
188
+ openApiEquipmentList(requestParameters: OpenApiApiOpenApiEquipmentListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoOpenApiEquipmentListDto>;
189
+ /**
190
+ *
191
+ * @summary 查询园区列表
192
+ * @param {OpenApiApiOpenApiParksRequest} requestParameters Request parameters.
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ openApiParks(requestParameters: OpenApiApiOpenApiParksRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListParkListDTO>;
143
197
  /**
144
198
  *
145
199
  * @summary 获取空间列表
@@ -196,6 +250,44 @@ export interface OpenApiApiOpenApiEquipmentBatchStatusSyncRequest {
196
250
  */
197
251
  readonly syncEquipmentStatusVo: SyncEquipmentStatusVo;
198
252
  }
253
+ /**
254
+ * Request parameters for openApiEquipmentList operation in OpenApiApi.
255
+ * @export
256
+ * @interface OpenApiApiOpenApiEquipmentListRequest
257
+ */
258
+ export interface OpenApiApiOpenApiEquipmentListRequest {
259
+ /**
260
+ * 园区编码
261
+ * @type {string}
262
+ * @memberof OpenApiApiOpenApiEquipmentList
263
+ */
264
+ readonly parkCode: string;
265
+ /**
266
+ * 页数
267
+ * @type {number}
268
+ * @memberof OpenApiApiOpenApiEquipmentList
269
+ */
270
+ readonly page: number;
271
+ /**
272
+ * 页码
273
+ * @type {number}
274
+ * @memberof OpenApiApiOpenApiEquipmentList
275
+ */
276
+ readonly pageSize: number;
277
+ }
278
+ /**
279
+ * Request parameters for openApiParks operation in OpenApiApi.
280
+ * @export
281
+ * @interface OpenApiApiOpenApiParksRequest
282
+ */
283
+ export interface OpenApiApiOpenApiParksRequest {
284
+ /**
285
+ * 中心编码
286
+ * @type {string}
287
+ * @memberof OpenApiApiOpenApiParks
288
+ */
289
+ readonly centerCode: string;
290
+ }
199
291
  /**
200
292
  * Request parameters for openApiSpaceList operation in OpenApiApi.
201
293
  * @export
@@ -256,6 +348,24 @@ export declare class OpenApiApi extends BaseAPI {
256
348
  * @memberof OpenApiApi
257
349
  */
258
350
  openApiEquipmentBatchStatusSync(requestParameters: OpenApiApiOpenApiEquipmentBatchStatusSyncRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
351
+ /**
352
+ *
353
+ * @summary 查询设备列表
354
+ * @param {OpenApiApiOpenApiEquipmentListRequest} requestParameters Request parameters.
355
+ * @param {*} [options] Override http request option.
356
+ * @throws {RequiredError}
357
+ * @memberof OpenApiApi
358
+ */
359
+ openApiEquipmentList(requestParameters: OpenApiApiOpenApiEquipmentListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultPageDtoOpenApiEquipmentListDto, any>>;
360
+ /**
361
+ *
362
+ * @summary 查询园区列表
363
+ * @param {OpenApiApiOpenApiParksRequest} requestParameters Request parameters.
364
+ * @param {*} [options] Override http request option.
365
+ * @throws {RequiredError}
366
+ * @memberof OpenApiApi
367
+ */
368
+ openApiParks(requestParameters: OpenApiApiOpenApiParksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListParkListDTO, any>>;
259
369
  /**
260
370
  *
261
371
  * @summary 获取空间列表