szpt-driver-api 1.0.21 → 1.0.22

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.
@@ -0,0 +1,375 @@
1
+ export declare class AccidentPushInsuranceStatusSimple {
2
+ bxgsCode: string;
3
+ bxgsName: string;
4
+ bxlpNo: string;
5
+ /** @format int64 */
6
+ createTime: number;
7
+ zjhm: string;
8
+ }
9
+ export declare class AccidentPushTrffStatusSimple {
10
+ pushCode: string;
11
+ pushMessage: string;
12
+ pushState: "Cancel" | "Done" | "Error" | "Init" | "Suspend" | "Wait";
13
+ trffSgbh: string;
14
+ }
15
+ export declare class AccidentSimpleInfo {
16
+ address: string;
17
+ city: string;
18
+ cljsg: string;
19
+ compensateResult: string;
20
+ /** @format int64 */
21
+ completedTime: number;
22
+ /** @format int64 */
23
+ consumeTime: number;
24
+ /** @format int64 */
25
+ consumeTimeByReportTime: number;
26
+ /** @format int64 */
27
+ createTime: number;
28
+ dah: string;
29
+ dcsg: string;
30
+ ddms: string;
31
+ department: string;
32
+ departmentFullname: string;
33
+ departmentShortname: string;
34
+ district: string;
35
+ dldm: string;
36
+ evidencedOnly: boolean;
37
+ /** @format int64 */
38
+ handleConsumeTime: number;
39
+ handleDepartment: string;
40
+ /** @format int64 */
41
+ handleTime: number;
42
+ handleUser: string;
43
+ /** @format int64 */
44
+ id: number;
45
+ jafs: string;
46
+ "jar1": string;
47
+ "jar2": string;
48
+ "jarUsername1": string;
49
+ "jarUsername2": string;
50
+ jbr: string;
51
+ jbrUsername: string;
52
+ jjdbh: string;
53
+ jqxl: string;
54
+ latlng: GeoPoint;
55
+ lddm: string;
56
+ ldmc: string;
57
+ origin: string;
58
+ processBusinessKey: string;
59
+ processId: string;
60
+ province: string;
61
+ /** 推送保险记录 */
62
+ pushInsuranceStatusList: AccidentPushInsuranceStatusSimple[];
63
+ pushTrffStatus: AccidentPushTrffStatusSimple;
64
+ receiveDepartment: string;
65
+ /** @format int64 */
66
+ receiveTime: number;
67
+ receiveUser: string;
68
+ remark: string;
69
+ reportPhone: string;
70
+ reportTemplateType: "ADJUST" | "IDENTIFICATION" | "NEGOTIATION" | "PROVE";
71
+ /** @format int64 */
72
+ reportTime: number;
73
+ reportUser: string;
74
+ reportZjhm: string;
75
+ scene: "ByFj" | "ByMj" | "BySgzdMj";
76
+ sgbh: string;
77
+ sgdd: string;
78
+ sgqx: string;
79
+ sgrdyy: string;
80
+ sgxt: string;
81
+ /** @format int32 */
82
+ ssrs: number;
83
+ state: "CANCELED" | "COMPLETED" | "RUNNING";
84
+ street: string;
85
+ testData: boolean;
86
+ /** @format int64 */
87
+ time: number;
88
+ tjfs: string;
89
+ tjr: string;
90
+ tjrUsername: string;
91
+ townCode: string;
92
+ township: string;
93
+ type: string;
94
+ /** 推送保险记录 */
95
+ userList: AccidentUserSimple[];
96
+ videoRecord: boolean;
97
+ weather: string;
98
+ wsbh: string;
99
+ xc: string;
100
+ xzqh: string;
101
+ /** @format double */
102
+ zjccss: number;
103
+ }
104
+ export declare class AccidentUserSimple {
105
+ bxgs: string;
106
+ bxgsName: string;
107
+ cjh: string;
108
+ hphm: string;
109
+ hpzl: string;
110
+ jqxh: string;
111
+ /** @format int64 */
112
+ jqxjzrq: number;
113
+ jtfs: string;
114
+ name: string;
115
+ phone: string;
116
+ sgzr: string;
117
+ syxh: string;
118
+ /** @format int64 */
119
+ syxjzrq: number;
120
+ zjhm: string;
121
+ }
122
+ export declare class GeoPoint {
123
+ /** @format double */
124
+ latitude: number;
125
+ /** @format double */
126
+ longitude: number;
127
+ /** @format double */
128
+ radius: number;
129
+ }
130
+ export declare class PageResultAccidentSimpleInfo {
131
+ list: AccidentSimpleInfo[];
132
+ /** @format int64 */
133
+ total: number;
134
+ }
135
+ export declare class AccidentParams {
136
+ /** sgbh */
137
+ sgbh?: string;
138
+ /** businessKey */
139
+ businessKey?: string;
140
+ /** digest */
141
+ digest?: string;
142
+ /** useTemplate */
143
+ useTemplate?: boolean;
144
+ }
145
+ export declare class AccidentCheckValidParams {
146
+ /** sgbh */
147
+ sgbh?: string;
148
+ /** businessKey */
149
+ businessKey?: string;
150
+ /** digest */
151
+ digest?: string;
152
+ /** useTemplate */
153
+ useTemplate?: boolean;
154
+ }
155
+ export declare class AccidentHistoryParams {
156
+ /** 事故地址查询。支持模糊查询 */
157
+ address?: string;
158
+ /** 按保险理赔编号查询 */
159
+ bxlpNo?: string;
160
+ /** [当事人]车架号 */
161
+ cjh?: string;
162
+ /**
163
+ * 事故定责完成时间起始
164
+ * @format int64
165
+ */
166
+ completedTimeBegin?: number;
167
+ /**
168
+ * 事故定责完成时间截止
169
+ * @format int64
170
+ */
171
+ completedTimeEnd?: number;
172
+ deleted?: boolean;
173
+ /** 部门代码 */
174
+ department?: string;
175
+ /** 部门匹配字段 */
176
+ departmentField?: string;
177
+ /** 部门代码(In查询) */
178
+ departmentIn?: string[];
179
+ /**
180
+ * 最后修改时间起始
181
+ * @format int64
182
+ */
183
+ editTimeBegin?: number;
184
+ /**
185
+ * 最后修改时间截止
186
+ * @format int64
187
+ */
188
+ editTimeEnd?: number;
189
+ /** 是否仅取证, 不与处理 */
190
+ evidencedOnly?: boolean;
191
+ /** 是否保险理赔进行中 */
192
+ hasInsuranceClaim?: boolean;
193
+ /** 是否有保险报案记录 */
194
+ hasInsuranceReport?: boolean;
195
+ /** 是否保险理赔完成 */
196
+ hasInsuranceSettlement?: boolean;
197
+ /** [当事人]号牌号码 */
198
+ hphm?: string;
199
+ /** [当事人]号牌种类 */
200
+ hpzl?: string;
201
+ ids?: number[];
202
+ /** 是否包含子部门 */
203
+ includeSubDepartment?: boolean;
204
+ /** [当事人]涉及的保险公司(代码) */
205
+ insuranceCompany?: string;
206
+ /** 是否有保险报案成功记录 */
207
+ insuranceReportSuccess?: boolean;
208
+ /** 结案人1 */
209
+ "jarUsername1"?: string;
210
+ /** 结案人2 */
211
+ "jarUsername2"?: string;
212
+ /** 经办人 */
213
+ jbrUsername?: string;
214
+ /** 接警单编号 */
215
+ jjdbh?: string;
216
+ /** 接警单是否为空 */
217
+ jjdbhIsEmpty?: boolean;
218
+ /** [当事人]交强险编号 */
219
+ jqxh?: string;
220
+ /** 警情小类。支持多选 */
221
+ jqxlIn?: string[];
222
+ /** 交通方式。支持多选 */
223
+ jtfsIn?: string[];
224
+ /** 交通方式模糊匹配。模糊匹配占位符% */
225
+ jtfsLike?: string;
226
+ /** 是否必须经过部门条件过滤 */
227
+ mustFilterByDepartment?: boolean;
228
+ orderBy?: string[];
229
+ /** 事故来源 */
230
+ origin?: string[];
231
+ /** @format int32 */
232
+ pageIndex?: number;
233
+ /** @format int32 */
234
+ pageSize?: number;
235
+ /** [当事人]电话 */
236
+ phone?: string;
237
+ /** [当事人]电话或证件号码 */
238
+ phoneOrZjhm?: string;
239
+ /** 事故业务编号(processUid) */
240
+ processBusinessKey?: string;
241
+ /** 事故流程编号 */
242
+ processId?: string;
243
+ /** 推送六合一状态, 支持多选 */
244
+ pushStateIn?: "Cancel" | "Done" | "Error" | "Init" | "Suspend" | "Wait";
245
+ /** 模版类型(In查询) */
246
+ reportTemplateTypeIn?: "ADJUST" | "IDENTIFICATION" | "NEGOTIATION" | "PROVE";
247
+ /** 业务场景。支持多选 */
248
+ sceneIn?: "ByFj" | "ByMj" | "BySgzdMj";
249
+ /** [当事人]是否出险 */
250
+ sfcx?: boolean;
251
+ /** 事故编号 */
252
+ sgbh?: string;
253
+ /** 事故地点查询。支持模糊查询 */
254
+ sgdd?: string;
255
+ /** 事故情形。支持多选 */
256
+ sgqxIn?: string[];
257
+ /** 事故形态。支持多选 */
258
+ sgxtIn?: string[];
259
+ /** [当事人]事故责任 */
260
+ sgzrIn?: string[];
261
+ /** 事故状态 */
262
+ stateIn?: "CANCELED" | "COMPLETED" | "RUNNING";
263
+ /** [当事人]商业险编号 */
264
+ syxh?: string;
265
+ /** 是否为测试数据 */
266
+ testData?: boolean;
267
+ /**
268
+ * 事故上报时间起始
269
+ * @format int64
270
+ */
271
+ timeBegin?: number;
272
+ /**
273
+ * 事故上报时间截止
274
+ * @format int64
275
+ */
276
+ timeEnd?: number;
277
+ /** 调解人 */
278
+ tjrUsername?: string;
279
+ /** 辖区 */
280
+ townCode?: string;
281
+ /** 事故类型 */
282
+ typeIn?: string[];
283
+ /** 是否进行过远程视频 */
284
+ videoRecord?: boolean;
285
+ /** 返回结果包含关联警情 */
286
+ withPoliceEvent?: boolean;
287
+ /** 返回结果包含当事人评分数据 */
288
+ withScoreInfo?: boolean;
289
+ /** [当事人]证件号码 */
290
+ zjhm?: string;
291
+ }
292
+ import { AxiosRequestConfig, ResponseType } from "axios";
293
+ export declare type QueryParamsType = Record<string | number, any>;
294
+ export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
295
+ /** set parameter to `true` for call `securityWorker` for this request */
296
+ secure?: boolean;
297
+ /** request path */
298
+ url: string;
299
+ /** content type of request body */
300
+ type?: ContentType;
301
+ /** query params */
302
+ params?: QueryParamsType;
303
+ /** format of response (i.e. response.json() -> format: "json") */
304
+ ResponseType?: ResponseType;
305
+ /** request body */
306
+ body?: unknown;
307
+ }
308
+ export declare type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
309
+ export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
310
+ securityWorker?: (securityData: SecurityDataType | null) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
311
+ secure?: boolean;
312
+ ResponseType?: ResponseType;
313
+ }
314
+ export declare enum ContentType {
315
+ Json = "application/json",
316
+ FormData = "multipart/form-data",
317
+ UrlEncoded = "application/x-www-form-urlencoded"
318
+ }
319
+ interface HttpClient {
320
+ request: <T = any, _E = any>(config: AxiosRequestConfig) => Promise<T>;
321
+ }
322
+ /**
323
+ * @title 事故服务模块
324
+ * @version 1.0
325
+ * @baseUrl http://192.168.200.12:5000
326
+ *
327
+ * 事故服务模块
328
+ */
329
+ declare class Api {
330
+ private http;
331
+ constructor(http: HttpClient);
332
+ accident: {
333
+ /**
334
+ * No description
335
+ *
336
+ * @tags accident
337
+ * @name Accident
338
+ * @summary 获取事故基本信息描述
339
+ * @request GET:/sz-accident-service/public/accident
340
+ * @response `200` `string` OK
341
+ * @response `401` `void` Unauthorized
342
+ * @response `403` `void` Forbidden
343
+ * @response `404` `void` Not Found
344
+ */
345
+ accident: (query: AccidentParams, axiosConfig?: AxiosRequestConfig) => Promise<string>;
346
+ /**
347
+ * No description
348
+ *
349
+ * @tags accident
350
+ * @name AccidentCheckValid
351
+ * @summary 获取事故基本信息描述
352
+ * @request GET:/sz-accident-service/public/accident/check-valid
353
+ * @response `200` `string` OK
354
+ * @response `401` `void` Unauthorized
355
+ * @response `403` `void` Forbidden
356
+ * @response `404` `void` Not Found
357
+ */
358
+ accidentCheckValid: (query: AccidentCheckValidParams, axiosConfig?: AxiosRequestConfig) => Promise<string>;
359
+ /**
360
+ * No description
361
+ *
362
+ * @tags accident
363
+ * @name AccidentHistory
364
+ * @summary 查询当事人相关的历史事故记录
365
+ * @request GET:/sz-accident-service/public/accident/history
366
+ * @response `200` `PageResultAccidentSimpleInfo` OK
367
+ * @response `401` `void` Unauthorized
368
+ * @response `403` `void` Forbidden
369
+ * @response `404` `void` Not Found
370
+ */
371
+ accidentHistory: (query: AccidentHistoryParams, axiosConfig?: AxiosRequestConfig) => Promise<PageResultAccidentSimpleInfo>;
372
+ };
373
+ }
374
+ export declare const szAccidentPublicApi: Api;
375
+ export {};
@@ -0,0 +1,2 @@
1
+ (()=>{"use strict";var e={289:(e,t,c)=>{c.d(t,{M:()=>s});const s={request(e){throw new Error("please setup http client first")}}}},t={};function c(s){var r=t[s];if(void 0!==r)return r.exports;var a=t[s]={exports:{}};return e[s](a,a.exports,c),a.exports}c.d=(e,t)=>{for(var s in t)c.o(t,s)&&!c.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{c.r(s),c.d(s,{AccidentCheckValidParams:()=>p,AccidentHistoryParams:()=>u,AccidentParams:()=>d,AccidentPushInsuranceStatusSimple:()=>r,AccidentPushTrffStatusSimple:()=>a,AccidentSimpleInfo:()=>i,AccidentUserSimple:()=>n,ContentType:()=>e,GeoPoint:()=>o,PageResultAccidentSimpleInfo:()=>l,szAccidentPublicApi:()=>m});var e,t=c(289);class r{}class a{}class i{}class n{}class o{}class l{}class d{}class p{}class u{}!function(e){e.Json="application/json",e.FormData="multipart/form-data",e.UrlEncoded="application/x-www-form-urlencoded"}(e||(e={}));const m=new class{constructor(e){this.accident={accident:(e,t={})=>this.http.request(Object.assign({url:"/sz-accident-service/public/accident",method:"GET",params:e},t)),accidentCheckValid:(e,t={})=>this.http.request(Object.assign({url:"/sz-accident-service/public/accident/check-valid",method:"GET",params:e},t)),accidentHistory:(e,t={})=>this.http.request(Object.assign({url:"/sz-accident-service/public/accident/history",method:"GET",params:e},t))},this.http=e}}(t.M)})();var r=exports;for(var a in s)r[a]=s[a];s.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
2
+ //# sourceMappingURL=szAccidentPublic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"szAccidentPublic.js","mappings":"yDAUO,MAAMA,EAAyB,CACrCC,QAAQC,GAEN,MAAM,IAAIC,MAAM,iCAElB,E,GCdGC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,OACf,CCrBAJ,EAAoBO,EAAI,CAACH,EAASI,KACjC,IAAI,IAAIC,KAAOD,EACXR,EAAoBU,EAAEF,EAAYC,KAAST,EAAoBU,EAAEN,EAASK,IAC5EE,OAAOC,eAAeR,EAASK,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDT,EAAoBU,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFhB,EAAoBoB,EAAKhB,IACH,oBAAXiB,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAeR,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAeR,EAAS,aAAc,CAAEmB,OAAO,GAAO,E,8UCsZlDC,E,SA3ZL,MAAMC,GAUN,MAAMC,GAON,MAAMC,GAwGN,MAAMC,GAqBN,MAAMC,GAWN,MAAMC,GAON,MAAMC,GAcN,MAAMC,GAcN,MAAMC,IA+Nb,SAAYT,GACV,0BACA,iCACA,gDACD,CAJD,CAAYA,IAAAA,EAAW,KAyFhB,MAAMU,EAAsB,IAxEnC,MAGEC,YAAYC,GAIZ,KAAAC,SAAW,CAaTA,SAAU,CAACC,EAAuBC,EAAkC,CAAC,IACnEC,KAAKJ,KAAKxC,QAAO,eACf6C,IAAK,uCACLC,OAAQ,MACRC,OAAQL,GACLC,IAePK,mBAAoB,CAACN,EAAiCC,EAAkC,CAAC,IACvFC,KAAKJ,KAAKxC,QAAO,eACf6C,IAAK,mDACLC,OAAQ,MACRC,OAAQL,GACLC,IAePM,gBAAiB,CAACP,EAA8BC,EAAkC,CAAC,IACjFC,KAAKJ,KAAKxC,QAAO,eACf6C,IAAK,+CACLC,OAAQ,MACRC,OAAQL,GACLC,KA7DPC,KAAKJ,KAAOA,CACd,GAmEyC,I","sources":["webpack://nestjs-vue3-ssr/./dist/modules/api/_request.ts","webpack://nestjs-vue3-ssr/webpack/bootstrap","webpack://nestjs-vue3-ssr/webpack/runtime/define property getters","webpack://nestjs-vue3-ssr/webpack/runtime/hasOwnProperty shorthand","webpack://nestjs-vue3-ssr/webpack/runtime/make namespace object","webpack://nestjs-vue3-ssr/./dist/modules/api/szAccidentPublic.ts"],"sourcesContent":["\nimport { AxiosRequestConfig, AxiosResponse } from 'axios'\n\nlet isSetup = false\n\ninterface HttpClient {\n\trequest: <T = any, _E = any>(config: AxiosRequestConfig) => Promise<T>\n}\n\n//@ts-ignore\nexport const httpClient: HttpClient = {\n\trequest(config: AxiosRequestConfig):any {\n\t\tif (!isSetup) {\n\t\t\tthrow new Error('please setup http client first')\n\t\t}\n\t},\n}\n\nexport const setupApi = (request: HttpClient['request']) => {\n\thttpClient.request = request\n\tisSetup = true\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export class AccidentPushInsuranceStatusSimple {\n bxgsCode: string;\n bxgsName: string;\n bxlpNo: string;\n\n /** @format int64 */\n createTime: number;\n zjhm: string;\n}\n\nexport class AccidentPushTrffStatusSimple {\n pushCode: string;\n pushMessage: string;\n pushState: \"Cancel\" | \"Done\" | \"Error\" | \"Init\" | \"Suspend\" | \"Wait\";\n trffSgbh: string;\n}\n\nexport class AccidentSimpleInfo {\n address: string;\n city: string;\n cljsg: string;\n compensateResult: string;\n\n /** @format int64 */\n completedTime: number;\n\n /** @format int64 */\n consumeTime: number;\n\n /** @format int64 */\n consumeTimeByReportTime: number;\n\n /** @format int64 */\n createTime: number;\n dah: string;\n dcsg: string;\n ddms: string;\n department: string;\n departmentFullname: string;\n departmentShortname: string;\n district: string;\n dldm: string;\n evidencedOnly: boolean;\n\n /** @format int64 */\n handleConsumeTime: number;\n handleDepartment: string;\n\n /** @format int64 */\n handleTime: number;\n handleUser: string;\n\n /** @format int64 */\n id: number;\n jafs: string;\n \"jar1\": string;\n \"jar2\": string;\n \"jarUsername1\": string;\n \"jarUsername2\": string;\n jbr: string;\n jbrUsername: string;\n jjdbh: string;\n jqxl: string;\n latlng: GeoPoint;\n lddm: string;\n ldmc: string;\n origin: string;\n processBusinessKey: string;\n processId: string;\n province: string;\n\n /** 推送保险记录 */\n pushInsuranceStatusList: AccidentPushInsuranceStatusSimple[];\n pushTrffStatus: AccidentPushTrffStatusSimple;\n receiveDepartment: string;\n\n /** @format int64 */\n receiveTime: number;\n receiveUser: string;\n remark: string;\n reportPhone: string;\n reportTemplateType: \"ADJUST\" | \"IDENTIFICATION\" | \"NEGOTIATION\" | \"PROVE\";\n\n /** @format int64 */\n reportTime: number;\n reportUser: string;\n reportZjhm: string;\n scene: \"ByFj\" | \"ByMj\" | \"BySgzdMj\";\n sgbh: string;\n sgdd: string;\n sgqx: string;\n sgrdyy: string;\n sgxt: string;\n\n /** @format int32 */\n ssrs: number;\n state: \"CANCELED\" | \"COMPLETED\" | \"RUNNING\";\n street: string;\n testData: boolean;\n\n /** @format int64 */\n time: number;\n tjfs: string;\n tjr: string;\n tjrUsername: string;\n townCode: string;\n township: string;\n type: string;\n\n /** 推送保险记录 */\n userList: AccidentUserSimple[];\n videoRecord: boolean;\n weather: string;\n wsbh: string;\n xc: string;\n xzqh: string;\n\n /** @format double */\n zjccss: number;\n}\n\nexport class AccidentUserSimple {\n bxgs: string;\n bxgsName: string;\n cjh: string;\n hphm: string;\n hpzl: string;\n jqxh: string;\n\n /** @format int64 */\n jqxjzrq: number;\n jtfs: string;\n name: string;\n phone: string;\n sgzr: string;\n syxh: string;\n\n /** @format int64 */\n syxjzrq: number;\n zjhm: string;\n}\n\nexport class GeoPoint {\n /** @format double */\n latitude: number;\n\n /** @format double */\n longitude: number;\n\n /** @format double */\n radius: number;\n}\n\nexport class PageResultAccidentSimpleInfo {\n list: AccidentSimpleInfo[];\n\n /** @format int64 */\n total: number;\n}\n\nexport class AccidentParams {\n /** sgbh */\n sgbh?: string;\n\n /** businessKey */\n businessKey?: string;\n\n /** digest */\n digest?: string;\n\n /** useTemplate */\n useTemplate?: boolean;\n}\n\nexport class AccidentCheckValidParams {\n /** sgbh */\n sgbh?: string;\n\n /** businessKey */\n businessKey?: string;\n\n /** digest */\n digest?: string;\n\n /** useTemplate */\n useTemplate?: boolean;\n}\n\nexport class AccidentHistoryParams {\n /** 事故地址查询。支持模糊查询 */\n address?: string;\n\n /** 按保险理赔编号查询 */\n bxlpNo?: string;\n\n /** [当事人]车架号 */\n cjh?: string;\n\n /**\n * 事故定责完成时间起始\n * @format int64\n */\n completedTimeBegin?: number;\n\n /**\n * 事故定责完成时间截止\n * @format int64\n */\n completedTimeEnd?: number;\n deleted?: boolean;\n\n /** 部门代码 */\n department?: string;\n\n /** 部门匹配字段 */\n departmentField?: string;\n\n /** 部门代码(In查询) */\n departmentIn?: string[];\n\n /**\n * 最后修改时间起始\n * @format int64\n */\n editTimeBegin?: number;\n\n /**\n * 最后修改时间截止\n * @format int64\n */\n editTimeEnd?: number;\n\n /** 是否仅取证, 不与处理 */\n evidencedOnly?: boolean;\n\n /** 是否保险理赔进行中 */\n hasInsuranceClaim?: boolean;\n\n /** 是否有保险报案记录 */\n hasInsuranceReport?: boolean;\n\n /** 是否保险理赔完成 */\n hasInsuranceSettlement?: boolean;\n\n /** [当事人]号牌号码 */\n hphm?: string;\n\n /** [当事人]号牌种类 */\n hpzl?: string;\n ids?: number[];\n\n /** 是否包含子部门 */\n includeSubDepartment?: boolean;\n\n /** [当事人]涉及的保险公司(代码) */\n insuranceCompany?: string;\n\n /** 是否有保险报案成功记录 */\n insuranceReportSuccess?: boolean;\n\n /** 结案人1 */\n \"jarUsername1\"?: string;\n\n /** 结案人2 */\n \"jarUsername2\"?: string;\n\n /** 经办人 */\n jbrUsername?: string;\n\n /** 接警单编号 */\n jjdbh?: string;\n\n /** 接警单是否为空 */\n jjdbhIsEmpty?: boolean;\n\n /** [当事人]交强险编号 */\n jqxh?: string;\n\n /** 警情小类。支持多选 */\n jqxlIn?: string[];\n\n /** 交通方式。支持多选 */\n jtfsIn?: string[];\n\n /** 交通方式模糊匹配。模糊匹配占位符% */\n jtfsLike?: string;\n\n /** 是否必须经过部门条件过滤 */\n mustFilterByDepartment?: boolean;\n orderBy?: string[];\n\n /** 事故来源 */\n origin?: string[];\n\n /** @format int32 */\n pageIndex?: number;\n\n /** @format int32 */\n pageSize?: number;\n\n /** [当事人]电话 */\n phone?: string;\n\n /** [当事人]电话或证件号码 */\n phoneOrZjhm?: string;\n\n /** 事故业务编号(processUid) */\n processBusinessKey?: string;\n\n /** 事故流程编号 */\n processId?: string;\n\n /** 推送六合一状态, 支持多选 */\n pushStateIn?: \"Cancel\" | \"Done\" | \"Error\" | \"Init\" | \"Suspend\" | \"Wait\";\n\n /** 模版类型(In查询) */\n reportTemplateTypeIn?: \"ADJUST\" | \"IDENTIFICATION\" | \"NEGOTIATION\" | \"PROVE\";\n\n /** 业务场景。支持多选 */\n sceneIn?: \"ByFj\" | \"ByMj\" | \"BySgzdMj\";\n\n /** [当事人]是否出险 */\n sfcx?: boolean;\n\n /** 事故编号 */\n sgbh?: string;\n\n /** 事故地点查询。支持模糊查询 */\n sgdd?: string;\n\n /** 事故情形。支持多选 */\n sgqxIn?: string[];\n\n /** 事故形态。支持多选 */\n sgxtIn?: string[];\n\n /** [当事人]事故责任 */\n sgzrIn?: string[];\n\n /** 事故状态 */\n stateIn?: \"CANCELED\" | \"COMPLETED\" | \"RUNNING\";\n\n /** [当事人]商业险编号 */\n syxh?: string;\n\n /** 是否为测试数据 */\n testData?: boolean;\n\n /**\n * 事故上报时间起始\n * @format int64\n */\n timeBegin?: number;\n\n /**\n * 事故上报时间截止\n * @format int64\n */\n timeEnd?: number;\n\n /** 调解人 */\n tjrUsername?: string;\n\n /** 辖区 */\n townCode?: string;\n\n /** 事故类型 */\n typeIn?: string[];\n\n /** 是否进行过远程视频 */\n videoRecord?: boolean;\n\n /** 返回结果包含关联警情 */\n withPoliceEvent?: boolean;\n\n /** 返回结果包含当事人评分数据 */\n withScoreInfo?: boolean;\n\n /** [当事人]证件号码 */\n zjhm?: string;\n}\n\nimport { AxiosRequestConfig, ResponseType } from \"axios\";\n\nexport type QueryParamsType = Record<string | number, any>;\n\nexport interface FullRequestParams extends Omit<AxiosRequestConfig, \"data\" | \"params\" | \"url\" | \"responseType\"> {\n /** set parameter to `true` for call `securityWorker` for this request */\n secure?: boolean;\n /** request path */\n url: string;\n /** content type of request body */\n type?: ContentType;\n /** query params */\n params?: QueryParamsType;\n /** format of response (i.e. response.json() -> format: \"json\") */\n ResponseType?: ResponseType;\n /** request body */\n body?: unknown;\n}\n\nexport type RequestParams = Omit<FullRequestParams, \"body\" | \"method\" | \"query\" | \"path\">;\n\nexport interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, \"data\" | \"cancelToken\"> {\n securityWorker?: (\n securityData: SecurityDataType | null,\n ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;\n secure?: boolean;\n ResponseType?: ResponseType;\n}\n\nexport enum ContentType {\n Json = \"application/json\",\n FormData = \"multipart/form-data\",\n UrlEncoded = \"application/x-www-form-urlencoded\",\n}\n\ninterface HttpClient {\n request: <T = any, _E = any>(config: AxiosRequestConfig) => Promise<T>;\n}\n\n/**\n * @title 事故服务模块\n * @version 1.0\n * @baseUrl http://192.168.200.12:5000\n *\n * 事故服务模块\n */\nclass Api {\n private http: HttpClient;\n\n constructor(http: HttpClient) {\n this.http = http;\n }\n\n accident = {\n /**\n * No description\n *\n * @tags accident\n * @name Accident\n * @summary 获取事故基本信息描述\n * @request GET:/sz-accident-service/public/accident\n * @response `200` `string` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n accident: (query: AccidentParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<string, void>({\n url: `/sz-accident-service/public/accident`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags accident\n * @name AccidentCheckValid\n * @summary 获取事故基本信息描述\n * @request GET:/sz-accident-service/public/accident/check-valid\n * @response `200` `string` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n accidentCheckValid: (query: AccidentCheckValidParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<string, void>({\n url: `/sz-accident-service/public/accident/check-valid`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n\n /**\n * No description\n *\n * @tags accident\n * @name AccidentHistory\n * @summary 查询当事人相关的历史事故记录\n * @request GET:/sz-accident-service/public/accident/history\n * @response `200` `PageResultAccidentSimpleInfo` OK\n * @response `401` `void` Unauthorized\n * @response `403` `void` Forbidden\n * @response `404` `void` Not Found\n */\n accidentHistory: (query: AccidentHistoryParams, axiosConfig: AxiosRequestConfig = {}) =>\n this.http.request<PageResultAccidentSimpleInfo, void>({\n url: `/sz-accident-service/public/accident/history`,\n method: \"GET\",\n params: query,\n ...axiosConfig,\n }),\n };\n}\n\nimport { httpClient } from \"./_request\";\n\nexport const szAccidentPublicApi = new Api(httpClient);\n"],"names":["httpClient","request","config","Error","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","ContentType","AccidentPushInsuranceStatusSimple","AccidentPushTrffStatusSimple","AccidentSimpleInfo","AccidentUserSimple","GeoPoint","PageResultAccidentSimpleInfo","AccidentParams","AccidentCheckValidParams","AccidentHistoryParams","szAccidentPublicApi","constructor","http","accident","query","axiosConfig","this","url","method","params","accidentCheckValid","accidentHistory"],"sourceRoot":""}