@ekhein/lamda-node-sdk 1.0.1 → 1.0.3

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 (114) hide show
  1. package/dist/chunk-3JBDAA2H.js +439 -0
  2. package/dist/chunk-4AHM55IO.js +1172 -0
  3. package/dist/chunk-4NKGYNMS.js +116 -0
  4. package/dist/chunk-6HD35RPW.js +5370 -0
  5. package/dist/chunk-76Y3OVVH.js +1602 -0
  6. package/dist/chunk-7XF22HAW.js +907 -0
  7. package/dist/chunk-7YGA6EOV.js +109 -0
  8. package/dist/chunk-ADS4GRIL.js +14 -0
  9. package/dist/chunk-FSLE4VGI.js +48 -0
  10. package/dist/chunk-H7Z6XFBF.js +134 -0
  11. package/dist/chunk-KJKSI2WL.js +62 -0
  12. package/dist/chunk-O52JGDU7.js +800 -0
  13. package/dist/chunk-ORXTTWPB.js +379 -0
  14. package/dist/chunk-OZJH6SR7.js +20 -0
  15. package/dist/chunk-P53F45YO.js +64 -0
  16. package/dist/chunk-QXMPY6EE.js +289 -0
  17. package/dist/chunk-SBFKX3ZY.js +1554 -0
  18. package/dist/chunk-WFQEBPE6.js +300 -0
  19. package/dist/chunk-X4LTH2UN.js +983 -0
  20. package/dist/chunk-XAX5BZL3.js +132 -0
  21. package/dist/chunk-ZXF5DGTC.js +45 -0
  22. package/dist/constants/activity.flag.cjs +92 -0
  23. package/dist/constants/activity.flag.d.cts +24 -0
  24. package/dist/constants/activity.flag.d.ts +24 -0
  25. package/dist/constants/activity.flag.js +49 -0
  26. package/dist/constants/android.intent.cjs +194 -0
  27. package/dist/constants/android.intent.d.cts +58 -0
  28. package/dist/constants/android.intent.d.ts +58 -0
  29. package/dist/constants/android.intent.js +117 -0
  30. package/dist/constants/android.permission.cjs +116 -0
  31. package/dist/constants/android.permission.d.cts +32 -0
  32. package/dist/constants/android.permission.d.ts +32 -0
  33. package/dist/constants/android.permission.js +65 -0
  34. package/dist/constants/index.cjs +356 -0
  35. package/dist/constants/index.d.cts +3 -0
  36. package/dist/constants/index.d.ts +3 -0
  37. package/dist/constants/index.js +225 -0
  38. package/dist/decorators/inject.decorator.cjs +43 -0
  39. package/dist/decorators/inject.decorator.d.cts +5 -0
  40. package/dist/decorators/inject.decorator.d.ts +5 -0
  41. package/dist/decorators/inject.decorator.js +7 -0
  42. package/dist/main.cjs +1 -2
  43. package/dist/main.d.cts +17 -1152
  44. package/dist/main.d.ts +17 -1152
  45. package/dist/main.js +36 -11873
  46. package/dist/rpc/application.cjs +2019 -0
  47. package/dist/rpc/application.d.cts +138 -0
  48. package/dist/rpc/application.d.ts +138 -0
  49. package/dist/rpc/application.js +50 -0
  50. package/dist/rpc/debug.cjs +86 -0
  51. package/dist/rpc/debug.d.cts +21 -0
  52. package/dist/rpc/debug.d.ts +21 -0
  53. package/dist/rpc/debug.js +9 -0
  54. package/dist/rpc/file.cjs +405 -0
  55. package/dist/rpc/file.d.cts +40 -0
  56. package/dist/rpc/file.d.ts +40 -0
  57. package/dist/rpc/file.js +13 -0
  58. package/dist/rpc/google/protobuf/any.cjs +126 -0
  59. package/dist/rpc/google/protobuf/any.d.cts +22 -0
  60. package/dist/rpc/google/protobuf/any.d.ts +22 -0
  61. package/dist/rpc/google/protobuf/any.js +103 -0
  62. package/dist/rpc/google/protobuf/empty.cjs +69 -0
  63. package/dist/rpc/google/protobuf/empty.d.cts +20 -0
  64. package/dist/rpc/google/protobuf/empty.d.ts +20 -0
  65. package/dist/rpc/google/protobuf/empty.js +9 -0
  66. package/dist/rpc/google/protobuf/struct.cjs +469 -0
  67. package/dist/rpc/google/protobuf/struct.d.cts +65 -0
  68. package/dist/rpc/google/protobuf/struct.d.ts +65 -0
  69. package/dist/rpc/google/protobuf/struct.js +21 -0
  70. package/dist/rpc/policy.cjs +133 -0
  71. package/dist/rpc/policy.d.cts +24 -0
  72. package/dist/rpc/policy.d.ts +24 -0
  73. package/dist/rpc/policy.js +9 -0
  74. package/dist/rpc/proxy.cjs +1109 -0
  75. package/dist/rpc/proxy.d.cts +108 -0
  76. package/dist/rpc/proxy.d.ts +108 -0
  77. package/dist/rpc/proxy.js +49 -0
  78. package/dist/rpc/services.cjs +11898 -0
  79. package/dist/rpc/services.d.cts +1920 -0
  80. package/dist/rpc/services.d.ts +1920 -0
  81. package/dist/rpc/services.js +48 -0
  82. package/dist/rpc/settings.cjs +161 -0
  83. package/dist/rpc/settings.d.cts +31 -0
  84. package/dist/rpc/settings.d.ts +31 -0
  85. package/dist/rpc/settings.js +15 -0
  86. package/dist/rpc/shell.cjs +326 -0
  87. package/dist/rpc/shell.d.cts +36 -0
  88. package/dist/rpc/shell.d.ts +36 -0
  89. package/dist/rpc/shell.js +13 -0
  90. package/dist/rpc/status.cjs +936 -0
  91. package/dist/rpc/status.d.cts +76 -0
  92. package/dist/rpc/status.d.ts +76 -0
  93. package/dist/rpc/status.js +19 -0
  94. package/dist/rpc/storage.cjs +156 -0
  95. package/dist/rpc/storage.d.cts +24 -0
  96. package/dist/rpc/storage.d.ts +24 -0
  97. package/dist/rpc/storage.js +9 -0
  98. package/dist/rpc/types.cjs +317 -0
  99. package/dist/rpc/types.d.cts +36 -0
  100. package/dist/rpc/types.d.ts +36 -0
  101. package/dist/rpc/types.js +17 -0
  102. package/dist/rpc/uiautomator.cjs +5446 -0
  103. package/dist/rpc/uiautomator.d.cts +618 -0
  104. package/dist/rpc/uiautomator.d.ts +618 -0
  105. package/dist/rpc/uiautomator.js +113 -0
  106. package/dist/rpc/util.cjs +1212 -0
  107. package/dist/rpc/util.d.cts +103 -0
  108. package/dist/rpc/util.d.ts +103 -0
  109. package/dist/rpc/util.js +41 -0
  110. package/dist/rpc/wifi.cjs +1015 -0
  111. package/dist/rpc/wifi.d.cts +84 -0
  112. package/dist/rpc/wifi.d.ts +84 -0
  113. package/dist/rpc/wifi.js +25 -0
  114. package/package.json +3 -4
@@ -0,0 +1,103 @@
1
+ import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
2
+
3
+ declare const protobufPackage = "lamda.rpc";
4
+ declare enum ToastDuration {
5
+ TD_SHORT = 0,
6
+ TD_LONG = 1,
7
+ UNRECOGNIZED = -1
8
+ }
9
+ declare function toastDurationFromJSON(object: any): ToastDuration;
10
+ declare function toastDurationToJSON(object: ToastDuration): string;
11
+ interface TouchDown {
12
+ tid: number;
13
+ x: number;
14
+ y: number;
15
+ pressure: number;
16
+ }
17
+ declare const TouchDown: MessageFns<TouchDown>;
18
+ interface TouchUp {
19
+ tid: number;
20
+ }
21
+ declare const TouchUp: MessageFns<TouchUp>;
22
+ interface TouchMove {
23
+ tid: number;
24
+ x: number;
25
+ y: number;
26
+ pressure: number;
27
+ }
28
+ declare const TouchMove: MessageFns<TouchMove>;
29
+ interface TouchWait {
30
+ wait: number;
31
+ }
32
+ declare const TouchWait: MessageFns<TouchWait>;
33
+ interface TouchAction {
34
+ down?: TouchDown | undefined;
35
+ move?: TouchMove | undefined;
36
+ wait?: TouchWait | undefined;
37
+ up?: TouchUp | undefined;
38
+ }
39
+ declare const TouchAction: MessageFns<TouchAction>;
40
+ interface TouchSequence {
41
+ sequence: TouchAction[];
42
+ }
43
+ declare const TouchSequence: MessageFns<TouchSequence>;
44
+ interface PerformTouchRequest {
45
+ sequence: TouchSequence | undefined;
46
+ wait: boolean;
47
+ }
48
+ declare const PerformTouchRequest: MessageFns<PerformTouchRequest>;
49
+ interface SetPropRequest {
50
+ name: string;
51
+ value: string;
52
+ }
53
+ declare const SetPropRequest: MessageFns<SetPropRequest>;
54
+ interface CertifiRequest {
55
+ cert: Uint8Array;
56
+ }
57
+ declare const CertifiRequest: MessageFns<CertifiRequest>;
58
+ interface ShowToastRequest {
59
+ text: string;
60
+ duration: ToastDuration;
61
+ }
62
+ declare const ShowToastRequest: MessageFns<ShowToastRequest>;
63
+ interface ServerInfoResponse {
64
+ uniqueId: string;
65
+ version: string;
66
+ architecture: string;
67
+ uptime: number;
68
+ secure: boolean;
69
+ }
70
+ declare const ServerInfoResponse: MessageFns<ServerInfoResponse>;
71
+ interface HexPatchRequest {
72
+ pattern: string;
73
+ replacement: string;
74
+ path: string;
75
+ maxreplace: number;
76
+ dryrun: boolean;
77
+ }
78
+ declare const HexPatchRequest: MessageFns<HexPatchRequest>;
79
+ interface HexPatchItem {
80
+ path: string;
81
+ index: number;
82
+ offset: number;
83
+ }
84
+ declare const HexPatchItem: MessageFns<HexPatchItem>;
85
+ interface HexPatchResponse {
86
+ count: number;
87
+ replaces: HexPatchItem[];
88
+ }
89
+ declare const HexPatchResponse: MessageFns<HexPatchResponse>;
90
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
91
+ type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
92
+ [K in keyof T]?: DeepPartial<T[K]>;
93
+ } : Partial<T>;
94
+ interface MessageFns<T> {
95
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
96
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
97
+ fromJSON(object: any): T;
98
+ toJSON(message: T): unknown;
99
+ create(base?: DeepPartial<T>): T;
100
+ fromPartial(object: DeepPartial<T>): T;
101
+ }
102
+
103
+ export { CertifiRequest, type DeepPartial, HexPatchItem, HexPatchRequest, HexPatchResponse, type MessageFns, PerformTouchRequest, ServerInfoResponse, SetPropRequest, ShowToastRequest, ToastDuration, TouchAction, TouchDown, TouchMove, TouchSequence, TouchUp, TouchWait, protobufPackage, toastDurationFromJSON, toastDurationToJSON };
@@ -0,0 +1,103 @@
1
+ import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
2
+
3
+ declare const protobufPackage = "lamda.rpc";
4
+ declare enum ToastDuration {
5
+ TD_SHORT = 0,
6
+ TD_LONG = 1,
7
+ UNRECOGNIZED = -1
8
+ }
9
+ declare function toastDurationFromJSON(object: any): ToastDuration;
10
+ declare function toastDurationToJSON(object: ToastDuration): string;
11
+ interface TouchDown {
12
+ tid: number;
13
+ x: number;
14
+ y: number;
15
+ pressure: number;
16
+ }
17
+ declare const TouchDown: MessageFns<TouchDown>;
18
+ interface TouchUp {
19
+ tid: number;
20
+ }
21
+ declare const TouchUp: MessageFns<TouchUp>;
22
+ interface TouchMove {
23
+ tid: number;
24
+ x: number;
25
+ y: number;
26
+ pressure: number;
27
+ }
28
+ declare const TouchMove: MessageFns<TouchMove>;
29
+ interface TouchWait {
30
+ wait: number;
31
+ }
32
+ declare const TouchWait: MessageFns<TouchWait>;
33
+ interface TouchAction {
34
+ down?: TouchDown | undefined;
35
+ move?: TouchMove | undefined;
36
+ wait?: TouchWait | undefined;
37
+ up?: TouchUp | undefined;
38
+ }
39
+ declare const TouchAction: MessageFns<TouchAction>;
40
+ interface TouchSequence {
41
+ sequence: TouchAction[];
42
+ }
43
+ declare const TouchSequence: MessageFns<TouchSequence>;
44
+ interface PerformTouchRequest {
45
+ sequence: TouchSequence | undefined;
46
+ wait: boolean;
47
+ }
48
+ declare const PerformTouchRequest: MessageFns<PerformTouchRequest>;
49
+ interface SetPropRequest {
50
+ name: string;
51
+ value: string;
52
+ }
53
+ declare const SetPropRequest: MessageFns<SetPropRequest>;
54
+ interface CertifiRequest {
55
+ cert: Uint8Array;
56
+ }
57
+ declare const CertifiRequest: MessageFns<CertifiRequest>;
58
+ interface ShowToastRequest {
59
+ text: string;
60
+ duration: ToastDuration;
61
+ }
62
+ declare const ShowToastRequest: MessageFns<ShowToastRequest>;
63
+ interface ServerInfoResponse {
64
+ uniqueId: string;
65
+ version: string;
66
+ architecture: string;
67
+ uptime: number;
68
+ secure: boolean;
69
+ }
70
+ declare const ServerInfoResponse: MessageFns<ServerInfoResponse>;
71
+ interface HexPatchRequest {
72
+ pattern: string;
73
+ replacement: string;
74
+ path: string;
75
+ maxreplace: number;
76
+ dryrun: boolean;
77
+ }
78
+ declare const HexPatchRequest: MessageFns<HexPatchRequest>;
79
+ interface HexPatchItem {
80
+ path: string;
81
+ index: number;
82
+ offset: number;
83
+ }
84
+ declare const HexPatchItem: MessageFns<HexPatchItem>;
85
+ interface HexPatchResponse {
86
+ count: number;
87
+ replaces: HexPatchItem[];
88
+ }
89
+ declare const HexPatchResponse: MessageFns<HexPatchResponse>;
90
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
91
+ type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
92
+ [K in keyof T]?: DeepPartial<T[K]>;
93
+ } : Partial<T>;
94
+ interface MessageFns<T> {
95
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
96
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
97
+ fromJSON(object: any): T;
98
+ toJSON(message: T): unknown;
99
+ create(base?: DeepPartial<T>): T;
100
+ fromPartial(object: DeepPartial<T>): T;
101
+ }
102
+
103
+ export { CertifiRequest, type DeepPartial, HexPatchItem, HexPatchRequest, HexPatchResponse, type MessageFns, PerformTouchRequest, ServerInfoResponse, SetPropRequest, ShowToastRequest, ToastDuration, TouchAction, TouchDown, TouchMove, TouchSequence, TouchUp, TouchWait, protobufPackage, toastDurationFromJSON, toastDurationToJSON };
@@ -0,0 +1,41 @@
1
+ import {
2
+ CertifiRequest,
3
+ HexPatchItem,
4
+ HexPatchRequest,
5
+ HexPatchResponse,
6
+ PerformTouchRequest,
7
+ ServerInfoResponse,
8
+ SetPropRequest,
9
+ ShowToastRequest,
10
+ ToastDuration,
11
+ TouchAction,
12
+ TouchDown,
13
+ TouchMove,
14
+ TouchSequence,
15
+ TouchUp,
16
+ TouchWait,
17
+ protobufPackage,
18
+ toastDurationFromJSON,
19
+ toastDurationToJSON
20
+ } from "../chunk-4AHM55IO.js";
21
+ import "../chunk-ADS4GRIL.js";
22
+ export {
23
+ CertifiRequest,
24
+ HexPatchItem,
25
+ HexPatchRequest,
26
+ HexPatchResponse,
27
+ PerformTouchRequest,
28
+ ServerInfoResponse,
29
+ SetPropRequest,
30
+ ShowToastRequest,
31
+ ToastDuration,
32
+ TouchAction,
33
+ TouchDown,
34
+ TouchMove,
35
+ TouchSequence,
36
+ TouchUp,
37
+ TouchWait,
38
+ protobufPackage,
39
+ toastDurationFromJSON,
40
+ toastDurationToJSON
41
+ };