@lazycatcloud/sdk 0.1.367 → 0.1.368

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 (224) hide show
  1. package/README.md +0 -0
  2. package/dist/common/apk_shell.d.ts +0 -0
  3. package/dist/common/apk_shell.d.ts.map +0 -0
  4. package/dist/common/apk_shell.js +0 -0
  5. package/dist/common/apk_shell.js.map +0 -0
  6. package/dist/common/box.d.ts +0 -0
  7. package/dist/common/box.d.ts.map +0 -0
  8. package/dist/common/box.js +0 -0
  9. package/dist/common/box.js.map +0 -0
  10. package/dist/common/browseronly.d.ts +0 -0
  11. package/dist/common/browseronly.d.ts.map +0 -0
  12. package/dist/common/browseronly.js +0 -0
  13. package/dist/common/browseronly.js.map +0 -0
  14. package/dist/common/end_device.d.ts +0 -0
  15. package/dist/common/end_device.d.ts.map +0 -0
  16. package/dist/common/end_device.js +0 -0
  17. package/dist/common/end_device.js.map +0 -0
  18. package/dist/common/file_handler.d.ts +0 -0
  19. package/dist/common/file_handler.d.ts.map +0 -0
  20. package/dist/common/file_handler.js +0 -0
  21. package/dist/common/file_handler.js.map +0 -0
  22. package/dist/common/filetrans.d.ts +0 -0
  23. package/dist/common/filetrans.d.ts.map +0 -0
  24. package/dist/common/filetrans.js +0 -0
  25. package/dist/common/filetrans.js.map +0 -0
  26. package/dist/common/gateway.d.ts +0 -0
  27. package/dist/common/gateway.d.ts.map +0 -0
  28. package/dist/common/gateway.js +0 -0
  29. package/dist/common/gateway.js.map +0 -0
  30. package/dist/common/media_meta.d.ts +0 -0
  31. package/dist/common/media_meta.d.ts.map +0 -0
  32. package/dist/common/media_meta.js +0 -0
  33. package/dist/common/media_meta.js.map +0 -0
  34. package/dist/common/message.d.ts +0 -0
  35. package/dist/common/message.d.ts.map +0 -0
  36. package/dist/common/message.js +0 -0
  37. package/dist/common/message.js.map +0 -0
  38. package/dist/common/peripheral_device.d.ts +0 -0
  39. package/dist/common/peripheral_device.d.ts.map +0 -0
  40. package/dist/common/peripheral_device.js +0 -0
  41. package/dist/common/peripheral_device.js.map +0 -0
  42. package/dist/common/security_context.d.ts +0 -0
  43. package/dist/common/security_context.d.ts.map +0 -0
  44. package/dist/common/security_context.js +0 -0
  45. package/dist/common/security_context.js.map +0 -0
  46. package/dist/common/users.d.ts +0 -0
  47. package/dist/common/users.d.ts.map +0 -0
  48. package/dist/common/users.js +0 -0
  49. package/dist/common/users.js.map +0 -0
  50. package/dist/dlna/dlna.d.ts +0 -0
  51. package/dist/dlna/dlna.d.ts.map +0 -0
  52. package/dist/dlna/dlna.js +0 -0
  53. package/dist/dlna/dlna.js.map +0 -0
  54. package/dist/extentions/app_common.d.ts +0 -0
  55. package/dist/extentions/app_common.d.ts.map +0 -0
  56. package/dist/extentions/app_common.js +0 -0
  57. package/dist/extentions/app_common.js.map +0 -0
  58. package/dist/extentions/base.d.ts +0 -0
  59. package/dist/extentions/base.d.ts.map +0 -0
  60. package/dist/extentions/base.js +0 -0
  61. package/dist/extentions/base.js.map +0 -0
  62. package/dist/extentions/index.d.ts +0 -0
  63. package/dist/extentions/index.d.ts.map +0 -0
  64. package/dist/extentions/index.js +0 -0
  65. package/dist/extentions/index.js.map +0 -0
  66. package/dist/extentions/mediasession/definitions.d.ts +0 -0
  67. package/dist/extentions/mediasession/definitions.d.ts.map +0 -0
  68. package/dist/extentions/mediasession/definitions.js +0 -0
  69. package/dist/extentions/mediasession/definitions.js.map +0 -0
  70. package/dist/extentions/mediasession/index.d.ts +0 -0
  71. package/dist/extentions/mediasession/index.d.ts.map +0 -0
  72. package/dist/extentions/mediasession/index.js +0 -0
  73. package/dist/extentions/mediasession/index.js.map +0 -0
  74. package/dist/extentions/mediasession/web.d.ts +0 -0
  75. package/dist/extentions/mediasession/web.d.ts.map +0 -0
  76. package/dist/extentions/mediasession/web.js +0 -0
  77. package/dist/extentions/mediasession/web.js.map +0 -0
  78. package/dist/extentions/safe_app.d.ts +0 -0
  79. package/dist/extentions/safe_app.d.ts.map +0 -0
  80. package/dist/extentions/safe_app.js +0 -0
  81. package/dist/extentions/safe_app.js.map +0 -0
  82. package/dist/extentions/unsafe_app.d.ts +0 -0
  83. package/dist/extentions/unsafe_app.d.ts.map +0 -0
  84. package/dist/extentions/unsafe_app.js +0 -0
  85. package/dist/extentions/unsafe_app.js.map +0 -0
  86. package/dist/google/protobuf/descriptor.d.ts +0 -0
  87. package/dist/google/protobuf/descriptor.d.ts.map +0 -0
  88. package/dist/google/protobuf/descriptor.js +0 -0
  89. package/dist/google/protobuf/descriptor.js.map +0 -0
  90. package/dist/google/protobuf/empty.d.ts +0 -0
  91. package/dist/google/protobuf/empty.d.ts.map +0 -0
  92. package/dist/google/protobuf/empty.js +0 -0
  93. package/dist/google/protobuf/empty.js.map +0 -0
  94. package/dist/google/protobuf/timestamp.d.ts +0 -0
  95. package/dist/google/protobuf/timestamp.d.ts.map +0 -0
  96. package/dist/google/protobuf/timestamp.js +0 -0
  97. package/dist/google/protobuf/timestamp.js.map +0 -0
  98. package/dist/grpcweb.d.ts +0 -0
  99. package/dist/grpcweb.d.ts.map +0 -0
  100. package/dist/grpcweb.js +0 -0
  101. package/dist/grpcweb.js.map +0 -0
  102. package/dist/index.d.ts +0 -0
  103. package/dist/index.d.ts.map +0 -0
  104. package/dist/index.js +0 -0
  105. package/dist/index.js.map +0 -0
  106. package/dist/localdevice/client.d.ts +0 -0
  107. package/dist/localdevice/client.d.ts.map +0 -0
  108. package/dist/localdevice/client.js +0 -0
  109. package/dist/localdevice/client.js.map +0 -0
  110. package/dist/localdevice/clipboard.d.ts +0 -0
  111. package/dist/localdevice/clipboard.d.ts.map +0 -0
  112. package/dist/localdevice/clipboard.js +0 -0
  113. package/dist/localdevice/clipboard.js.map +0 -0
  114. package/dist/localdevice/config.d.ts +0 -0
  115. package/dist/localdevice/config.d.ts.map +0 -0
  116. package/dist/localdevice/config.js +0 -0
  117. package/dist/localdevice/config.js.map +0 -0
  118. package/dist/localdevice/device.d.ts +0 -0
  119. package/dist/localdevice/device.d.ts.map +0 -0
  120. package/dist/localdevice/device.js +0 -0
  121. package/dist/localdevice/device.js.map +0 -0
  122. package/dist/localdevice/dialog.d.ts +0 -0
  123. package/dist/localdevice/dialog.d.ts.map +0 -0
  124. package/dist/localdevice/dialog.js +0 -0
  125. package/dist/localdevice/dialog.js.map +0 -0
  126. package/dist/localdevice/local-launch.d.ts +0 -0
  127. package/dist/localdevice/local-launch.d.ts.map +0 -0
  128. package/dist/localdevice/local-launch.js +0 -0
  129. package/dist/localdevice/local-launch.js.map +0 -0
  130. package/dist/localdevice/network.d.ts +0 -0
  131. package/dist/localdevice/network.d.ts.map +0 -0
  132. package/dist/localdevice/network.js +0 -0
  133. package/dist/localdevice/network.js.map +0 -0
  134. package/dist/localdevice/permission.d.ts +0 -0
  135. package/dist/localdevice/permission.d.ts.map +0 -0
  136. package/dist/localdevice/permission.js +0 -0
  137. package/dist/localdevice/permission.js.map +0 -0
  138. package/dist/localdevice/photo.d.ts +0 -0
  139. package/dist/localdevice/photo.d.ts.map +0 -0
  140. package/dist/localdevice/photo.js +0 -0
  141. package/dist/localdevice/photo.js.map +0 -0
  142. package/dist/localdevice/remote-input-method.d.ts +0 -0
  143. package/dist/localdevice/remote-input-method.d.ts.map +0 -0
  144. package/dist/localdevice/remote-input-method.js +0 -0
  145. package/dist/localdevice/remote-input-method.js.map +0 -0
  146. package/dist/package.json +1 -1
  147. package/dist/sys/OS_snapshot.d.ts +0 -0
  148. package/dist/sys/OS_snapshot.d.ts.map +0 -0
  149. package/dist/sys/OS_snapshot.js +0 -0
  150. package/dist/sys/OS_snapshot.js.map +0 -0
  151. package/dist/sys/OS_upgrader.d.ts +0 -0
  152. package/dist/sys/OS_upgrader.d.ts.map +0 -0
  153. package/dist/sys/OS_upgrader.js +0 -0
  154. package/dist/sys/OS_upgrader.js.map +0 -0
  155. package/dist/sys/btled.d.ts +0 -0
  156. package/dist/sys/btled.d.ts.map +0 -0
  157. package/dist/sys/btled.js +0 -0
  158. package/dist/sys/btled.js.map +0 -0
  159. package/dist/sys/btrfs.d.ts +0 -0
  160. package/dist/sys/btrfs.d.ts.map +0 -0
  161. package/dist/sys/btrfs.js +0 -0
  162. package/dist/sys/btrfs.js.map +0 -0
  163. package/dist/sys/devopt.d.ts +0 -0
  164. package/dist/sys/devopt.d.ts.map +0 -0
  165. package/dist/sys/devopt.js +0 -0
  166. package/dist/sys/devopt.js.map +0 -0
  167. package/dist/sys/dirmon.d.ts +0 -0
  168. package/dist/sys/dirmon.d.ts.map +0 -0
  169. package/dist/sys/dirmon.js +0 -0
  170. package/dist/sys/dirmon.js.map +0 -0
  171. package/dist/sys/event.d.ts +0 -0
  172. package/dist/sys/event.d.ts.map +0 -0
  173. package/dist/sys/event.js +0 -0
  174. package/dist/sys/event.js.map +0 -0
  175. package/dist/sys/hc-core/hc-core.d.ts +0 -0
  176. package/dist/sys/hc-core/hc-core.d.ts.map +0 -0
  177. package/dist/sys/hc-core/hc-core.js +0 -0
  178. package/dist/sys/hc-core/hc-core.js.map +0 -0
  179. package/dist/sys/ingress.d.ts +0 -0
  180. package/dist/sys/ingress.d.ts.map +0 -0
  181. package/dist/sys/ingress.js +0 -0
  182. package/dist/sys/ingress.js.map +0 -0
  183. package/dist/sys/installer.d.ts +0 -0
  184. package/dist/sys/installer.d.ts.map +0 -0
  185. package/dist/sys/installer.js +0 -0
  186. package/dist/sys/installer.js.map +0 -0
  187. package/dist/sys/network_manager.d.ts +0 -0
  188. package/dist/sys/network_manager.d.ts.map +0 -0
  189. package/dist/sys/network_manager.js +0 -0
  190. package/dist/sys/network_manager.js.map +0 -0
  191. package/dist/sys/package_manager.d.ts +0 -0
  192. package/dist/sys/package_manager.d.ts.map +0 -0
  193. package/dist/sys/package_manager.js +0 -0
  194. package/dist/sys/package_manager.js.map +0 -0
  195. package/dist/sys/portal-server/portal-server.d.ts +28 -0
  196. package/dist/sys/portal-server/portal-server.d.ts.map +1 -1
  197. package/dist/sys/portal-server/portal-server.js +92 -4
  198. package/dist/sys/portal-server/portal-server.js.map +1 -1
  199. package/dist/sys/snapd.d.ts +0 -0
  200. package/dist/sys/snapd.d.ts.map +0 -0
  201. package/dist/sys/snapd.js +0 -0
  202. package/dist/sys/snapd.js.map +0 -0
  203. package/dist/sys/version.d.ts +0 -0
  204. package/dist/sys/version.d.ts.map +0 -0
  205. package/dist/sys/version.js +0 -0
  206. package/dist/sys/version.js.map +0 -0
  207. package/dist/tsconfig.tsbuildinfo +1 -1
  208. package/package.json +1 -1
  209. package/dist/lanforward/lanforward.d.ts +0 -99
  210. package/dist/lanforward/lanforward.d.ts.map +0 -1
  211. package/dist/lanforward/lanforward.js +0 -239
  212. package/dist/lanforward/lanforward.js.map +0 -1
  213. package/dist/ssdp/ssdp.d.ts +0 -113
  214. package/dist/ssdp/ssdp.d.ts.map +0 -1
  215. package/dist/ssdp/ssdp.js +0 -268
  216. package/dist/ssdp/ssdp.js.map +0 -1
  217. package/dist/sys/OS_daemon.d.ts +0 -133
  218. package/dist/sys/OS_daemon.d.ts.map +0 -1
  219. package/dist/sys/OS_daemon.js +0 -345
  220. package/dist/sys/OS_daemon.js.map +0 -1
  221. package/dist/sys/box-status.d.ts +0 -603
  222. package/dist/sys/box-status.d.ts.map +0 -1
  223. package/dist/sys/box-status.js +0 -931
  224. package/dist/sys/box-status.js.map +0 -1
package/README.md CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/dlna/dlna.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/grpcweb.d.ts CHANGED
File without changes
File without changes
package/dist/grpcweb.js CHANGED
File without changes
File without changes
package/dist/index.d.ts CHANGED
File without changes
File without changes
package/dist/index.js CHANGED
File without changes
package/dist/index.js.map CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazycatcloud/sdk",
3
- "version": "0.1.367",
3
+ "version": "0.1.368",
4
4
  "author": "snyh",
5
5
  "scripts": {
6
6
  "build": "tsc",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/sys/btled.js CHANGED
File without changes
File without changes
File without changes
File without changes
package/dist/sys/btrfs.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/sys/event.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -95,6 +95,8 @@ export interface HServerInfo {
95
95
  boxName: string;
96
96
  /** 从origin-server获取到的域名 */
97
97
  boxDomain: string;
98
+ /** 当前使用的中继服务器地址,如/ip4/x.x.x.x/tcp/5500 */
99
+ relayServer: string;
98
100
  }
99
101
  export interface Device {
100
102
  peerId: string;
@@ -179,6 +181,9 @@ export interface SetPasswordHashRequest {
179
181
  uid: string;
180
182
  passwordHash: string;
181
183
  }
184
+ export interface SetRelayRequest {
185
+ relayAddress: string;
186
+ }
182
187
  export declare const RegisterBoxServiceRequest: {
183
188
  encode(message: RegisterBoxServiceRequest, writer?: _m0.Writer): _m0.Writer;
184
189
  decode(input: _m0.Reader | Uint8Array, length?: number): RegisterBoxServiceRequest;
@@ -366,12 +371,14 @@ export declare const HServerInfo: {
366
371
  boxId?: string;
367
372
  boxName?: string;
368
373
  boxDomain?: string;
374
+ relayServer?: string;
369
375
  } & {
370
376
  originServer?: string;
371
377
  virtualIp?: string;
372
378
  boxId?: string;
373
379
  boxName?: string;
374
380
  boxDomain?: string;
381
+ relayServer?: string;
375
382
  } & { [K in Exclude<keyof I, keyof HServerInfo>]: never; }>(base?: I): HServerInfo;
376
383
  fromPartial<I_1 extends {
377
384
  originServer?: string;
@@ -379,12 +386,14 @@ export declare const HServerInfo: {
379
386
  boxId?: string;
380
387
  boxName?: string;
381
388
  boxDomain?: string;
389
+ relayServer?: string;
382
390
  } & {
383
391
  originServer?: string;
384
392
  virtualIp?: string;
385
393
  boxId?: string;
386
394
  boxName?: string;
387
395
  boxDomain?: string;
396
+ relayServer?: string;
388
397
  } & { [K_1 in Exclude<keyof I_1, keyof HServerInfo>]: never; }>(object: I_1): HServerInfo;
389
398
  };
390
399
  export declare const Device: {
@@ -791,6 +800,22 @@ export declare const SetPasswordHashRequest: {
791
800
  passwordHash?: string;
792
801
  } & { [K_1 in Exclude<keyof I_1, keyof SetPasswordHashRequest>]: never; }>(object: I_1): SetPasswordHashRequest;
793
802
  };
803
+ export declare const SetRelayRequest: {
804
+ encode(message: SetRelayRequest, writer?: _m0.Writer): _m0.Writer;
805
+ decode(input: _m0.Reader | Uint8Array, length?: number): SetRelayRequest;
806
+ fromJSON(object: any): SetRelayRequest;
807
+ toJSON(message: SetRelayRequest): unknown;
808
+ create<I extends {
809
+ relayAddress?: string;
810
+ } & {
811
+ relayAddress?: string;
812
+ } & { [K in Exclude<keyof I, "relayAddress">]: never; }>(base?: I): SetRelayRequest;
813
+ fromPartial<I_1 extends {
814
+ relayAddress?: string;
815
+ } & {
816
+ relayAddress?: string;
817
+ } & { [K_1 in Exclude<keyof I_1, "relayAddress">]: never; }>(object: I_1): SetRelayRequest;
818
+ };
794
819
  export interface HPortalSys {
795
820
  /** 查询HServer当前状态 */
796
821
  QueryHServerInfo(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<HServerInfo>;
@@ -836,6 +861,7 @@ export interface HPortalSys {
836
861
  EmitBoxServiceChanged(request: DeepPartial<EmitBoxServiceChangedRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
837
862
  /** 通过远端IP地址和服务注册的IP地址查询peer信息 */
838
863
  QueryBoxServicePeerCred(request: DeepPartial<QueryBoxServicePeerCredRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<QueryBoxServicePeerCredResponse>;
864
+ SetRelay(request: DeepPartial<SetRelayRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
839
865
  DumpPeers(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<PeersInfo>;
840
866
  }
841
867
  export declare class HPortalSysClientImpl implements HPortalSys {
@@ -859,6 +885,7 @@ export declare class HPortalSysClientImpl implements HPortalSys {
859
885
  RegisterBoxService(request: DeepPartial<RegisterBoxServiceRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Observable<RegisterBoxServiceReply>;
860
886
  EmitBoxServiceChanged(request: DeepPartial<EmitBoxServiceChangedRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
861
887
  QueryBoxServicePeerCred(request: DeepPartial<QueryBoxServicePeerCredRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<QueryBoxServicePeerCredResponse>;
888
+ SetRelay(request: DeepPartial<SetRelayRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
862
889
  DumpPeers(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<PeersInfo>;
863
890
  }
864
891
  export declare const HPortalSysDesc: {
@@ -882,6 +909,7 @@ export declare const HPortalSysResetHServerDesc: UnaryMethodDefinitionish;
882
909
  export declare const HPortalSysRegisterBoxServiceDesc: UnaryMethodDefinitionish;
883
910
  export declare const HPortalSysEmitBoxServiceChangedDesc: UnaryMethodDefinitionish;
884
911
  export declare const HPortalSysQueryBoxServicePeerCredDesc: UnaryMethodDefinitionish;
912
+ export declare const HPortalSysSetRelayDesc: UnaryMethodDefinitionish;
885
913
  export declare const HPortalSysDumpPeersDesc: UnaryMethodDefinitionish;
886
914
  interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {
887
915
  requestStream: any;