@gizone/rrs-client 4.2.0-alpha.348 → 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 (52) 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/models/index.d.ts +6 -0
  29. package/dist/models/index.js +6 -0
  30. package/dist/models/insurance-notice-vo.d.ts +54 -0
  31. package/dist/models/insurance-notice-vo.js +15 -0
  32. package/dist/models/insurance-work-order-issue-vo.d.ts +79 -0
  33. package/dist/models/insurance-work-order-issue-vo.js +15 -0
  34. package/dist/models/insurance-work-order-vo.d.ts +37 -0
  35. package/dist/models/insurance-work-order-vo.js +15 -0
  36. package/dist/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +62 -0
  37. package/dist/models/json-result-page-dto-open-api-equipment-list-dto.js +15 -0
  38. package/dist/models/open-api-equipment-list-dto.d.ts +110 -0
  39. package/dist/models/open-api-equipment-list-dto.js +15 -0
  40. package/dist/models/page-dto-open-api-equipment-list-dto.d.ts +31 -0
  41. package/dist/models/page-dto-open-api-equipment-list-dto.js +15 -0
  42. package/dist/models/work-order-issue-type-enum.d.ts +1 -1
  43. package/dist/models/work-order-issue-type-enum.js +1 -1
  44. package/models/index.ts +6 -0
  45. package/models/insurance-notice-vo.ts +60 -0
  46. package/models/insurance-work-order-issue-vo.ts +89 -0
  47. package/models/insurance-work-order-vo.ts +45 -0
  48. package/models/json-result-page-dto-open-api-equipment-list-dto.ts +72 -0
  49. package/models/open-api-equipment-list-dto.ts +122 -0
  50. package/models/page-dto-open-api-equipment-list-dto.ts +39 -0
  51. package/models/work-order-issue-type-enum.ts +1 -1
  52. package/package.json +1 -1
@@ -131,6 +131,86 @@ export const OpenApiApiAxiosParamCreator = function (configuration) {
131
131
  options: localVarRequestOptions,
132
132
  };
133
133
  }),
134
+ /**
135
+ *
136
+ * @summary 查询设备列表
137
+ * @param {string} parkCode 园区编码
138
+ * @param {number} page 页数
139
+ * @param {number} pageSize 页码
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ */
143
+ 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 = {}) {
144
+ // verify required parameter 'parkCode' is not null or undefined
145
+ assertParamExists('openApiEquipmentList', 'parkCode', parkCode);
146
+ // verify required parameter 'page' is not null or undefined
147
+ assertParamExists('openApiEquipmentList', 'page', page);
148
+ // verify required parameter 'pageSize' is not null or undefined
149
+ assertParamExists('openApiEquipmentList', 'pageSize', pageSize);
150
+ const localVarPath = `/openapi/v1/main/parks/equipment`;
151
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
152
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
153
+ let baseOptions;
154
+ if (configuration) {
155
+ baseOptions = configuration.baseOptions;
156
+ }
157
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
158
+ const localVarHeaderParameter = {};
159
+ const localVarQueryParameter = {};
160
+ // authentication tokenScheme required
161
+ // http bearer authentication required
162
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
163
+ if (parkCode !== undefined) {
164
+ localVarQueryParameter['parkCode'] = parkCode;
165
+ }
166
+ if (page !== undefined) {
167
+ localVarQueryParameter['page'] = page;
168
+ }
169
+ if (pageSize !== undefined) {
170
+ localVarQueryParameter['pageSize'] = pageSize;
171
+ }
172
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
173
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
174
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
175
+ return {
176
+ url: toPathString(localVarUrlObj),
177
+ options: localVarRequestOptions,
178
+ };
179
+ }),
180
+ /**
181
+ *
182
+ * @summary 查询园区列表
183
+ * @param {string} centerCode 中心编码
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ openApiParks: (centerCode_1, ...args_1) => __awaiter(this, [centerCode_1, ...args_1], void 0, function* (centerCode, options = {}) {
188
+ // verify required parameter 'centerCode' is not null or undefined
189
+ assertParamExists('openApiParks', 'centerCode', centerCode);
190
+ const localVarPath = `/openapi/v1/main/parks`;
191
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
192
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
193
+ let baseOptions;
194
+ if (configuration) {
195
+ baseOptions = configuration.baseOptions;
196
+ }
197
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
198
+ const localVarHeaderParameter = {};
199
+ const localVarQueryParameter = {};
200
+ // authentication tokenScheme required
201
+ // http bearer authentication required
202
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
203
+ if (centerCode !== undefined) {
204
+ localVarQueryParameter['centerCode'] = centerCode;
205
+ }
206
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
207
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
208
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
209
+ return {
210
+ url: toPathString(localVarUrlObj),
211
+ options: localVarRequestOptions,
212
+ };
213
+ }),
134
214
  /**
135
215
  *
136
216
  * @summary 获取空间列表
@@ -256,6 +336,40 @@ export const OpenApiApiFp = function (configuration) {
256
336
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
257
337
  });
258
338
  },
339
+ /**
340
+ *
341
+ * @summary 查询设备列表
342
+ * @param {string} parkCode 园区编码
343
+ * @param {number} page 页数
344
+ * @param {number} pageSize 页码
345
+ * @param {*} [options] Override http request option.
346
+ * @throws {RequiredError}
347
+ */
348
+ openApiEquipmentList(parkCode, page, pageSize, options) {
349
+ return __awaiter(this, void 0, void 0, function* () {
350
+ var _a, _b, _c;
351
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentList(parkCode, page, pageSize, options);
352
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
353
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OpenApiApi.openApiEquipmentList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
354
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
355
+ });
356
+ },
357
+ /**
358
+ *
359
+ * @summary 查询园区列表
360
+ * @param {string} centerCode 中心编码
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ */
364
+ openApiParks(centerCode, options) {
365
+ return __awaiter(this, void 0, void 0, function* () {
366
+ var _a, _b, _c;
367
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiParks(centerCode, options);
368
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
369
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OpenApiApi.openApiParks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
370
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
371
+ });
372
+ },
259
373
  /**
260
374
  *
261
375
  * @summary 获取空间列表
@@ -327,6 +441,26 @@ export const OpenApiApiFactory = function (configuration, basePath, axios) {
327
441
  openApiEquipmentBatchStatusSync(requestParameters, options) {
328
442
  return localVarFp.openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(axios, basePath));
329
443
  },
444
+ /**
445
+ *
446
+ * @summary 查询设备列表
447
+ * @param {OpenApiApiOpenApiEquipmentListRequest} requestParameters Request parameters.
448
+ * @param {*} [options] Override http request option.
449
+ * @throws {RequiredError}
450
+ */
451
+ openApiEquipmentList(requestParameters, options) {
452
+ return localVarFp.openApiEquipmentList(requestParameters.parkCode, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
453
+ },
454
+ /**
455
+ *
456
+ * @summary 查询园区列表
457
+ * @param {OpenApiApiOpenApiParksRequest} requestParameters Request parameters.
458
+ * @param {*} [options] Override http request option.
459
+ * @throws {RequiredError}
460
+ */
461
+ openApiParks(requestParameters, options) {
462
+ return localVarFp.openApiParks(requestParameters.centerCode, options).then((request) => request(axios, basePath));
463
+ },
330
464
  /**
331
465
  *
332
466
  * @summary 获取空间列表
@@ -389,6 +523,28 @@ export class OpenApiApi extends BaseAPI {
389
523
  openApiEquipmentBatchStatusSync(requestParameters, options) {
390
524
  return OpenApiApiFp(this.configuration).openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(this.axios, this.basePath));
391
525
  }
526
+ /**
527
+ *
528
+ * @summary 查询设备列表
529
+ * @param {OpenApiApiOpenApiEquipmentListRequest} requestParameters Request parameters.
530
+ * @param {*} [options] Override http request option.
531
+ * @throws {RequiredError}
532
+ * @memberof OpenApiApi
533
+ */
534
+ openApiEquipmentList(requestParameters, options) {
535
+ return OpenApiApiFp(this.configuration).openApiEquipmentList(requestParameters.parkCode, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
536
+ }
537
+ /**
538
+ *
539
+ * @summary 查询园区列表
540
+ * @param {OpenApiApiOpenApiParksRequest} requestParameters Request parameters.
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ * @memberof OpenApiApi
544
+ */
545
+ openApiParks(requestParameters, options) {
546
+ return OpenApiApiFp(this.configuration).openApiParks(requestParameters.centerCode, options).then((request) => request(this.axios, this.basePath));
547
+ }
392
548
  /**
393
549
  *
394
550
  * @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';
@@ -268,6 +272,7 @@ export * from './offline-alert-work-order-details-dto';
268
272
  export * from './offline-alert-work-order-info';
269
273
  export * from './offline-alert-work-order-vo';
270
274
  export * from './open-api-access-appointment-record-add-vo';
275
+ export * from './open-api-equipment-list-dto';
271
276
  export * from './page-dto-access-appointment-record-details-dto';
272
277
  export * from './page-dto-access-blacklist-details-dto';
273
278
  export * from './page-dto-access-record-summary-list-dto';
@@ -277,6 +282,7 @@ export * from './page-dto-disaster-warning-standard-entity';
277
282
  export * from './page-dto-equipment-search-system-dto';
278
283
  export * from './page-dto-inspection-standard-dto';
279
284
  export * from './page-dto-maintenance-standard-dto';
285
+ export * from './page-dto-open-api-equipment-list-dto';
280
286
  export * from './page-dto-plan-search-dto';
281
287
  export * from './page-dto-supplier-contract-details-dto';
282
288
  export * from './page-dto-surveillance-details-dto';
@@ -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';
@@ -268,6 +272,7 @@ export * from './offline-alert-work-order-details-dto';
268
272
  export * from './offline-alert-work-order-info';
269
273
  export * from './offline-alert-work-order-vo';
270
274
  export * from './open-api-access-appointment-record-add-vo';
275
+ export * from './open-api-equipment-list-dto';
271
276
  export * from './page-dto-access-appointment-record-details-dto';
272
277
  export * from './page-dto-access-blacklist-details-dto';
273
278
  export * from './page-dto-access-record-summary-list-dto';
@@ -277,6 +282,7 @@ export * from './page-dto-disaster-warning-standard-entity';
277
282
  export * from './page-dto-equipment-search-system-dto';
278
283
  export * from './page-dto-inspection-standard-dto';
279
284
  export * from './page-dto-maintenance-standard-dto';
285
+ export * from './page-dto-open-api-equipment-list-dto';
280
286
  export * from './page-dto-plan-search-dto';
281
287
  export * from './page-dto-supplier-contract-details-dto';
282
288
  export * from './page-dto-surveillance-details-dto';
@@ -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 {};