From df39267eced78dd8ae76012a9e1af01108e60f0a Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期六, 25 七月 2026 12:13:23 +0800
Subject: [PATCH] 萤石云设备对接
---
build/cool/eps.d.ts | 219 +++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 206 insertions(+), 13 deletions(-)
diff --git a/build/cool/eps.d.ts b/build/cool/eps.d.ts
index 4846f61..515ac13 100644
--- a/build/cool/eps.d.ts
+++ b/build/cool/eps.d.ts
@@ -1369,6 +1369,113 @@
[key: string]: any;
}
+ interface PushDevicealarmEntity {
+ /**
+ * ID
+ */
+ id?: number;
+
+ /**
+ * 璁惧搴忓垪鍙�
+ */
+ devSerial?: string;
+
+ /**
+ * 閫氶亾鍙�
+ */
+ channelNo?: string;
+
+ /**
+ * 鎶ヨ娑堟伅ID
+ */
+ alarmId?: string;
+
+ /**
+ * 鎶ヨ鏃堕棿鎴�
+ */
+ alarmTime?: string;
+
+ /**
+ * 鎶ヨ绫诲瀷
+ */
+ alarmType?: string;
+
+ /**
+ * 閫氶亾鍚嶇О
+ */
+ channelName?: string;
+
+ /**
+ * 閫氶亾绫诲瀷
+ */
+ channelType?: number;
+
+ /**
+ * 鍔犲瘑瀵嗙爜
+ */
+ checksum?: string;
+
+ /**
+ * 鍥剧墖鍔犲瘑绫诲瀷
+ */
+ crypt?: number;
+
+ /**
+ * 鑷畾涔変俊鎭�
+ */
+ customInfo?: string;
+
+ /**
+ * 鑷畾涔夊崗璁被鍨�
+ */
+ customType?: string;
+
+ /**
+ * 鍛婅鎻忚堪
+ */
+ describe?: string;
+
+ /**
+ * 浣嶇疆淇℃伅
+ */
+ location?: string;
+
+ /**
+ * 鍏宠仈ID
+ */
+ relationId?: string;
+
+ /**
+ * 鎶ヨ鐘舵��
+ */
+ status?: number;
+
+ /**
+ * 鍛婅鍥剧墖鍒楄〃
+ */
+ pictureList?: any;
+
+ /**
+ * 鍒涘缓鏃堕棿
+ */
+ createTime?: string;
+
+ /**
+ * 鏇存柊鏃堕棿
+ */
+ updateTime?: string;
+
+ /**
+ * 閮ㄩ棬鍚嶇О
+ */
+ departmentName?: string;
+
+ /**
+ * 浠绘剰閿��
+ */
+ [key: string]: any;
+ }
+
interface PushDeviceOnoffEntity {
/**
* ID
@@ -2023,11 +2130,6 @@
departmentId?: number;
/**
- * 閮ㄩ棬鍚嶇О
- */
- departmentName?: string;
-
- /**
* 鎬婚噸閲�
*/
weightTotal?: number;
@@ -2271,6 +2373,11 @@
* 鏇存柊鏃堕棿
*/
updateTime?: string;
+
+ /**
+ * 閮ㄩ棬鍚嶇О
+ */
+ departmentName?: string;
/**
* 浠绘剰閿��
@@ -2672,6 +2779,9 @@
type json = any;
+ type DictKey =
+ "ratedpayload" | "iottype" | "sitetype" | "datachanel" | "vehicletype" | "businesstype";
+
interface PagePagination {
size: number;
page: number;
@@ -2778,6 +2888,11 @@
interface PushCameragpsPageResponse {
pagination: PagePagination;
list: PushCameraGpsEntity[];
+ }
+
+ interface PushDevicealarmPageResponse {
+ pagination: PagePagination;
+ list: PushDevicealarmEntity[];
}
interface PushDeviceonoffPageResponse {
@@ -3449,6 +3564,11 @@
interface BasicdataIot {
/**
+ * 鑾峰彇钀ょ煶浜戠洃鎺ц澶�
+ */
+ getYsDevices(data?: any): Promise<any>;
+
+ /**
* 鍒犻櫎
*/
delete(data?: any): Promise<any>;
@@ -3482,6 +3602,7 @@
* 鏉冮檺鏍囪瘑
*/
permission: {
+ getYsDevices: string;
delete: string;
update: string;
info: string;
@@ -3494,6 +3615,7 @@
* 鏉冮檺鐘舵��
*/
_permission: {
+ getYsDevices: boolean;
delete: boolean;
update: boolean;
info: boolean;
@@ -3954,6 +4076,25 @@
request: Request;
}
+ interface MonitorYs7 {
+ /**
+ * getToken
+ */
+ getToken(data?: any): Promise<any>;
+
+ /**
+ * 鏉冮檺鏍囪瘑
+ */
+ permission: { getToken: string };
+
+ /**
+ * 鏉冮檺鐘舵��
+ */
+ _permission: { getToken: boolean };
+
+ request: Request;
+ }
+
interface OperationWastesale {
/**
* 鍒犻櫎
@@ -4160,6 +4301,64 @@
* 鍒嗛〉鏌ヨ
*/
page(data?: any): Promise<PushCameragpsPageResponse>;
+
+ /**
+ * 鏂板
+ */
+ add(data?: any): Promise<any>;
+
+ /**
+ * 鏉冮檺鏍囪瘑
+ */
+ permission: {
+ delete: string;
+ update: string;
+ info: string;
+ list: string;
+ page: string;
+ add: string;
+ };
+
+ /**
+ * 鏉冮檺鐘舵��
+ */
+ _permission: {
+ delete: boolean;
+ update: boolean;
+ info: boolean;
+ list: boolean;
+ page: boolean;
+ add: boolean;
+ };
+
+ request: Request;
+ }
+
+ interface PushDevicealarm {
+ /**
+ * 鍒犻櫎
+ */
+ delete(data?: any): Promise<any>;
+
+ /**
+ * 淇敼
+ */
+ update(data?: any): Promise<any>;
+
+ /**
+ * 鍗曚釜淇℃伅
+ */
+ info(data?: any): Promise<PushDevicealarmEntity>;
+
+ /**
+ * 鍒楄〃鏌ヨ
+ */
+ list(data?: any): Promise<PushDevicealarmEntity[]>;
+
+ /**
+ * 鍒嗛〉鏌ヨ
+ */
+ page(data?: any): Promise<PushDevicealarmPageResponse>;
/**
* 鏂板
@@ -4951,14 +5150,6 @@
type Request = (options: RequestOptions) => Promise<any>;
- type DictKey =
- | "ratedpayload"
- | "iottype"
- | "sitetype"
- | "datachanel"
- | "vehicletype"
- | "businesstype";
-
type Service = {
request: Request;
@@ -4986,11 +5177,13 @@
};
demo: { goods: DemoGoods; tenant: DemoTenant };
dict: { info: DictInfo; type: DictType };
+ monitor: { ys7: MonitorYs7 };
operation: { wastesale: OperationWastesale };
plugin: { info: PluginInfo };
push: {
auditlog: PushAuditlog;
cameragps: PushCameragps;
+ devicealarm: PushDevicealarm;
deviceonoff: PushDeviceonoff;
siteweight: PushSiteweight;
vehiclegps: PushVehiclegps;
--
Gitblit v1.9.1