@mcesystems/apple-kit 1.0.79 → 1.0.81
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.
- package/dist/index.js +235 -143
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +231 -143
- package/dist/index.mjs.map +4 -4
- package/dist/types/index.d.ts +55 -12
- package/package.json +7 -6
- package/dist/resources/plist/ddm-managed-app.xml +0 -55
- package/dist/types/graphql/queries.d.ts +0 -9
- package/dist/types/graphql/queries.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/logic/actions/activation.d.ts +0 -12
- package/dist/types/logic/actions/activation.d.ts.map +0 -1
- package/dist/types/logic/actions/appState.d.ts +0 -2
- package/dist/types/logic/actions/appState.d.ts.map +0 -1
- package/dist/types/logic/actions/device.d.ts +0 -24
- package/dist/types/logic/actions/device.d.ts.map +0 -1
- package/dist/types/logic/actions/install.d.ts +0 -15
- package/dist/types/logic/actions/install.d.ts.map +0 -1
- package/dist/types/logic/actions/pair.d.ts +0 -6
- package/dist/types/logic/actions/pair.d.ts.map +0 -1
- package/dist/types/logic/actions/proxy.d.ts +0 -11
- package/dist/types/logic/actions/proxy.d.ts.map +0 -1
- package/dist/types/logic/actions/restore.d.ts +0 -36
- package/dist/types/logic/actions/restore.d.ts.map +0 -1
- package/dist/types/logic/actions/tool.d.ts +0 -8
- package/dist/types/logic/actions/tool.d.ts.map +0 -1
- package/dist/types/logic/actions/usbmuxd.d.ts +0 -10
- package/dist/types/logic/actions/usbmuxd.d.ts.map +0 -1
- package/dist/types/logic/activationFlow.d.ts +0 -16
- package/dist/types/logic/activationFlow.d.ts.map +0 -1
- package/dist/types/logic/appleDeviceKit.d.ts +0 -165
- package/dist/types/logic/appleDeviceKit.d.ts.map +0 -1
- package/dist/types/logic/dataParser.d.ts +0 -23
- package/dist/types/logic/dataParser.d.ts.map +0 -1
- package/dist/types/logic/iosCli.d.ts +0 -6
- package/dist/types/logic/iosCli.d.ts.map +0 -1
- package/dist/types/logic/iosClient.d.ts +0 -50
- package/dist/types/logic/iosClient.d.ts.map +0 -1
- package/dist/types/logic/profileParser.d.ts +0 -13
- package/dist/types/logic/profileParser.d.ts.map +0 -1
- package/dist/types/logic/utils/resolvePath.d.ts +0 -13
- package/dist/types/logic/utils/resolvePath.d.ts.map +0 -1
- package/dist/types/types/activation.d.ts +0 -28
- package/dist/types/types/activation.d.ts.map +0 -1
- package/dist/types/types/auth.d.ts +0 -13
- package/dist/types/types/auth.d.ts.map +0 -1
- package/dist/types/types/install.d.ts +0 -13
- package/dist/types/types/install.d.ts.map +0 -1
- package/dist/types/types/ios.d.ts +0 -166
- package/dist/types/types/ios.d.ts.map +0 -1
- package/dist/types/types/mdm.d.ts +0 -33
- package/dist/types/types/mdm.d.ts.map +0 -1
- package/dist/types/types/trust.d.ts +0 -10
- package/dist/types/types/trust.d.ts.map +0 -1
- package/dist/types/types/types.d.ts +0 -47
- package/dist/types/types/types.d.ts.map +0 -1
- package/dist/types/types/wifi.d.ts +0 -19
- package/dist/types/types/wifi.d.ts.map +0 -1
- package/dist/types/types.d.ts +0 -173
- package/dist/types/types.d.ts.map +0 -1
- package/dist/types/utils/authClient.d.ts +0 -7
- package/dist/types/utils/authClient.d.ts.map +0 -1
- package/dist/types/utils/ddmDeclaration.d.ts +0 -8
- package/dist/types/utils/ddmDeclaration.d.ts.map +0 -1
- package/dist/types/utils/debug.d.ts +0 -17
- package/dist/types/utils/debug.d.ts.map +0 -1
- package/dist/types/utils/installRawProfileRetry.d.ts +0 -7
- package/dist/types/utils/installRawProfileRetry.d.ts.map +0 -1
- package/dist/types/utils/mdmClient.d.ts +0 -7
- package/dist/types/utils/mdmClient.d.ts.map +0 -1
- package/dist/types/utils/templateLoader.d.ts +0 -8
- package/dist/types/utils/templateLoader.d.ts.map +0 -1
- package/dist/types/utils/trustProfile.d.ts +0 -12
- package/dist/types/utils/trustProfile.d.ts.map +0 -1
- package/dist/types/utils/wifiProfile.d.ts +0 -14
- package/dist/types/utils/wifiProfile.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"iosCli.d.ts","sourceRoot":"","sources":["../../../src/logic/iosCli.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEX,MAAM,EAQN,MAAM,cAAc,CAAC;AAMtB,QAAA,IAAI,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;AAE5B,wBAAgB,MAAM,IAAI,MAAM,CAM/B;AAgPD,wBAAgB,YAAY,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAuK1D;AAED,eAAe,GAAG,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { IosCommandResult, IosFsyncTreeResult, IosListResult, IosProfileListResult } from "@/types/ios";
|
|
2
|
-
export declare class IosClient {
|
|
3
|
-
private iosPath;
|
|
4
|
-
private udid;
|
|
5
|
-
private usbmuxdAddress?;
|
|
6
|
-
constructor(iosPath: string, udid: string, usbmuxdAddress?: string | undefined);
|
|
7
|
-
private safeParseJson;
|
|
8
|
-
private parseFsyncTreeStdout;
|
|
9
|
-
private parseIosOutput;
|
|
10
|
-
spawnIosCommand(args: string[]): import("child_process").ChildProcessByStdio<null, import("stream").Readable, import("stream").Readable>;
|
|
11
|
-
private runIosCommand;
|
|
12
|
-
listDevices(): Promise<IosListResult>;
|
|
13
|
-
wipe(): Promise<IosCommandResult>;
|
|
14
|
-
installProfile(profilePath: string): Promise<IosCommandResult>;
|
|
15
|
-
removeProfile(profileName: string): Promise<IosCommandResult>;
|
|
16
|
-
listProfiles(): Promise<IosProfileListResult>;
|
|
17
|
-
skipSteps(steps?: string[]): Promise<IosCommandResult>;
|
|
18
|
-
listSteps(): Promise<IosCommandResult>;
|
|
19
|
-
activate(): Promise<IosCommandResult>;
|
|
20
|
-
pair(): Promise<IosCommandResult>;
|
|
21
|
-
forward({ fromPort, toPort }: {
|
|
22
|
-
fromPort: number;
|
|
23
|
-
toPort: number;
|
|
24
|
-
}): Promise<import("child_process").ChildProcessByStdio<null, import("stream").Readable, import("stream").Readable>>;
|
|
25
|
-
info(): Promise<IosCommandResult>;
|
|
26
|
-
installApp(ipaPath: string): Promise<IosCommandResult>;
|
|
27
|
-
uninstallApp(bundleId: string): Promise<IosCommandResult>;
|
|
28
|
-
listApps(): Promise<{
|
|
29
|
-
bundleId: string;
|
|
30
|
-
displayName: string;
|
|
31
|
-
version: string;
|
|
32
|
-
}[]>;
|
|
33
|
-
devMode(): Promise<IosCommandResult>;
|
|
34
|
-
tunnelStart(userspace?: boolean): Promise<import("child_process").ChildProcessByStdio<null, import("stream").Readable, import("stream").Readable>>;
|
|
35
|
-
fsyncPull({ app, srcPath, dstPath, }: {
|
|
36
|
-
app: string;
|
|
37
|
-
srcPath: string;
|
|
38
|
-
dstPath: string;
|
|
39
|
-
}): Promise<IosCommandResult>;
|
|
40
|
-
fsyncPush({ app, srcPath, dstPath, }: {
|
|
41
|
-
app: string;
|
|
42
|
-
srcPath: string;
|
|
43
|
-
dstPath: string;
|
|
44
|
-
}): Promise<IosCommandResult>;
|
|
45
|
-
fsyncTree({ app, path, }: {
|
|
46
|
-
app: string;
|
|
47
|
-
path?: string;
|
|
48
|
-
}): Promise<IosFsyncTreeResult>;
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=iosClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"iosClient.d.ts","sourceRoot":"","sources":["../../../src/logic/iosClient.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEX,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,MAAM,aAAa,CAAC;AAMrB,qBAAa,SAAS;IAEpB,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,cAAc,CAAC;gBAFf,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,cAAc,CAAC,EAAE,MAAM,YAAA;IAKhC,OAAO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,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAc/D"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { IosCommandResult, IosProfileListEntry } from "@/types/ios";
|
|
2
|
-
export declare class ProfileParser {
|
|
3
|
-
private isRecord;
|
|
4
|
-
private getStringField;
|
|
5
|
-
private getBooleanField;
|
|
6
|
-
private getNumberField;
|
|
7
|
-
private getRecordField;
|
|
8
|
-
private toProfileManifest;
|
|
9
|
-
private toProfileMetadata;
|
|
10
|
-
private toProfileListEntry;
|
|
11
|
-
parseProfileListOutput(output: IosCommandResult["output"]): IosProfileListEntry[];
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=profileParser.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profileParser.d.ts","sourceRoot":"","sources":["../../../src/logic/profileParser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,gBAAgB,EAChB,mBAAmB,EAGnB,MAAM,aAAa,CAAC;AAErB,qBAAa,aAAa;IACzB,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,cAAc;IAKtB,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,cAAc;IAKtB,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,iBAAiB;IAezB,OAAO,CAAC,iBAAiB;IA2BzB,OAAO,CAAC,kBAAkB;IAgBnB,sBAAsB,CAAC,MAAM,EAAE,gBAAgB,CAAC,QAAQ,CAAC,GAAG,mBAAmB,EAAE;CAyBxF"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare function setResourcesDir(dir: string): void;
|
|
2
|
-
export declare function getResourcesPath(): string;
|
|
3
|
-
/**
|
|
4
|
-
* Get the path to idevice binaries
|
|
5
|
-
*
|
|
6
|
-
* Priority:
|
|
7
|
-
* 1. IDeviceBinPath environment variable (for custom paths)
|
|
8
|
-
* 2. Bundled resources in the package (resources/bin/{platform}/)
|
|
9
|
-
* 3. Homebrew on macOS (/opt/homebrew/bin or /usr/local/bin)
|
|
10
|
-
* 4. System PATH (assumes tools are globally installed)
|
|
11
|
-
*/
|
|
12
|
-
export declare function getResourcesBinPath(): string;
|
|
13
|
-
//# sourceMappingURL=resolvePath.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolvePath.d.ts","sourceRoot":"","sources":["../../../../src/logic/utils/resolvePath.ts"],"names":[],"mappings":"AAOA,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAEjD;AAgBD,wBAAgB,gBAAgB,IAAI,MAAM,CAKzC;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAqC5C"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Activation Flow Types
|
|
3
|
-
*/
|
|
4
|
-
export interface ActivationFlowConfig {
|
|
5
|
-
/**
|
|
6
|
-
* Path to the ios CLI binary (go-ios wrapper).
|
|
7
|
-
* If not set, defaults to resourcesDir/ios/bin/{platform}/ios(.exe).
|
|
8
|
-
*/
|
|
9
|
-
iosBinaryPath?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Organization name used for trust profile display (optional).
|
|
12
|
-
* If not set, uses ORGANIZATION_NAME from env.
|
|
13
|
-
*/
|
|
14
|
-
organizationName?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Folder to read/write trust_profile.mobileconfig (optional).
|
|
17
|
-
* If not set, defaults to the package resources folder.
|
|
18
|
-
*/
|
|
19
|
-
resourcesDir?: string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Activation state
|
|
23
|
-
*/
|
|
24
|
-
export interface ActivationState {
|
|
25
|
-
isActivated: boolean;
|
|
26
|
-
activationState: string;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=activation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"activation.d.ts","sourceRoot":"","sources":["../../../src/types/activation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,oBAAoB;IACpC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Auth Types
|
|
3
|
-
*/
|
|
4
|
-
export interface AuthCredentials {
|
|
5
|
-
clientDecorator: string;
|
|
6
|
-
variantConfigurationKey: string;
|
|
7
|
-
frameworkId?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface TokenResponse {
|
|
10
|
-
accessToken: string;
|
|
11
|
-
expiresIn: number;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/types/auth.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,eAAe;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,EAAE,MAAM,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { MdmClient, MdmClientConfig } from "./mdm";
|
|
2
|
-
export interface InstallAppMdmOptions {
|
|
3
|
-
appId?: string;
|
|
4
|
-
url?: string;
|
|
5
|
-
waitForInstalled?: boolean;
|
|
6
|
-
client?: MdmClient;
|
|
7
|
-
clientConfig?: MdmClientConfig;
|
|
8
|
-
}
|
|
9
|
-
export interface InstallAppOptions {
|
|
10
|
-
installViaMdm?: boolean;
|
|
11
|
-
mdm?: InstallAppMdmOptions;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=install.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/types/install.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,WAAW,oBAAoB;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,YAAY,CAAC,EAAE,eAAe,CAAC;CAC/B;AAED,MAAM,WAAW,iBAAiB;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,GAAG,CAAC,EAAE,oBAAoB,CAAC;CAC3B"}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import type { ChildProcess } from "node:child_process";
|
|
2
|
-
export interface DeviceListOutput {
|
|
3
|
-
deviceList: string[];
|
|
4
|
-
}
|
|
5
|
-
export interface IosCommandResult {
|
|
6
|
-
command: string;
|
|
7
|
-
args: string[];
|
|
8
|
-
output: CommandOutput;
|
|
9
|
-
logMessages: LogMessage[];
|
|
10
|
-
exitCode: number;
|
|
11
|
-
raw: {
|
|
12
|
-
stdout: string;
|
|
13
|
-
stderr: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export interface LogMessage {
|
|
17
|
-
level: "info" | "error" | "warn" | "debug";
|
|
18
|
-
msg: string;
|
|
19
|
-
timestamp: string;
|
|
20
|
-
}
|
|
21
|
-
export type CommandOutput = Record<string, unknown>[] | DeviceListOutput[] | [LockdownInfo];
|
|
22
|
-
export interface IosListResult {
|
|
23
|
-
udids: string[];
|
|
24
|
-
raw: IosCommandResult;
|
|
25
|
-
}
|
|
26
|
-
export interface IosFsyncTreeResult {
|
|
27
|
-
/** File/directory names listed in the app container path (e.g. ["qr.png", "test.jpg"]) */
|
|
28
|
-
entries: string[];
|
|
29
|
-
raw: IosCommandResult;
|
|
30
|
-
}
|
|
31
|
-
export interface IosProfileManifest {
|
|
32
|
-
Description?: string;
|
|
33
|
-
IsActive?: boolean;
|
|
34
|
-
}
|
|
35
|
-
export interface IosProfileMetadata {
|
|
36
|
-
PayloadDescription?: string;
|
|
37
|
-
PayloadDisplayName?: string;
|
|
38
|
-
PayloadRemovalDisallowed?: boolean;
|
|
39
|
-
PayloadUUID?: string;
|
|
40
|
-
PayloadVersion?: number;
|
|
41
|
-
}
|
|
42
|
-
export interface IosProfileListEntry {
|
|
43
|
-
Identifier?: string;
|
|
44
|
-
Manifest?: IosProfileManifest;
|
|
45
|
-
Metadata?: IosProfileMetadata;
|
|
46
|
-
Status?: string;
|
|
47
|
-
}
|
|
48
|
-
export interface IosProfileListResult {
|
|
49
|
-
profiles: IosProfileListEntry[];
|
|
50
|
-
raw: IosCommandResult;
|
|
51
|
-
}
|
|
52
|
-
export interface BasebandKeyHashInformation {
|
|
53
|
-
AKeyStatus: number;
|
|
54
|
-
SKeyHash: string;
|
|
55
|
-
SKeyStatus: number;
|
|
56
|
-
}
|
|
57
|
-
export interface NonVolatileRAM {
|
|
58
|
-
StartupMute?: string;
|
|
59
|
-
SystemAudioVolumeSaved?: string;
|
|
60
|
-
"auto-boot"?: string;
|
|
61
|
-
"backlight-level"?: string;
|
|
62
|
-
"backlight-nits"?: string;
|
|
63
|
-
"boot-args"?: string;
|
|
64
|
-
bootdelay?: string;
|
|
65
|
-
"fm-account-masked"?: string;
|
|
66
|
-
"fm-activation-locked"?: string;
|
|
67
|
-
"fm-spkeys"?: string;
|
|
68
|
-
"fm-spstatus"?: string;
|
|
69
|
-
obliteration?: string;
|
|
70
|
-
"panicmedic-telemetry"?: string;
|
|
71
|
-
usbcfwflasherResult?: string;
|
|
72
|
-
}
|
|
73
|
-
export interface LockdownInfo {
|
|
74
|
-
ActivationState: string;
|
|
75
|
-
ActivationStateAcknowledged: boolean;
|
|
76
|
-
BasebandActivationTicketVersion: string;
|
|
77
|
-
BasebandCertId: number;
|
|
78
|
-
BasebandChipID: number;
|
|
79
|
-
BasebandKeyHashInformation: BasebandKeyHashInformation;
|
|
80
|
-
BasebandMasterKeyHash: string;
|
|
81
|
-
BasebandRegionSKU: string;
|
|
82
|
-
BasebandSerialNumber: string;
|
|
83
|
-
BasebandStatus: string;
|
|
84
|
-
BasebandVersion: string;
|
|
85
|
-
BluetoothAddress: string;
|
|
86
|
-
BoardId: number;
|
|
87
|
-
BootSessionID: string;
|
|
88
|
-
BrickState: boolean;
|
|
89
|
-
BuildVersion: string;
|
|
90
|
-
CPUArchitecture: string;
|
|
91
|
-
CarrierBundleInfoArray: unknown[];
|
|
92
|
-
CertID: number;
|
|
93
|
-
ChipID: number;
|
|
94
|
-
ChipSerialNo: string;
|
|
95
|
-
DeviceClass: string;
|
|
96
|
-
DeviceColor: string;
|
|
97
|
-
DeviceName: string;
|
|
98
|
-
DieID: number;
|
|
99
|
-
EthernetAddress: string;
|
|
100
|
-
FirmwareVersion: string;
|
|
101
|
-
FusingStatus: number;
|
|
102
|
-
HardwareModel: string;
|
|
103
|
-
HardwarePlatform: string;
|
|
104
|
-
HasSiDP: boolean;
|
|
105
|
-
HostAttached: boolean;
|
|
106
|
-
HumanReadableProductVersionString: string;
|
|
107
|
-
InternationalMobileEquipmentIdentity: string;
|
|
108
|
-
InternationalMobileEquipmentIdentity2: string;
|
|
109
|
-
MLBSerialNumber: string;
|
|
110
|
-
MobileEquipmentIdentifier: string;
|
|
111
|
-
MobileSubscriberCountryCode: string;
|
|
112
|
-
MobileSubscriberNetworkCode: string;
|
|
113
|
-
ModelNumber: string;
|
|
114
|
-
NonVolatileRAM: NonVolatileRAM;
|
|
115
|
-
PairRecordProtectionClass: number;
|
|
116
|
-
PartitionType: string;
|
|
117
|
-
PasswordProtected: boolean;
|
|
118
|
-
PkHash: string;
|
|
119
|
-
ProductName: string;
|
|
120
|
-
ProductType: string;
|
|
121
|
-
ProductVersion: string;
|
|
122
|
-
ProductionSOC: boolean;
|
|
123
|
-
ProtocolVersion: string;
|
|
124
|
-
ProximitySensorCalibration: string;
|
|
125
|
-
RegionInfo: string;
|
|
126
|
-
ReleaseType: string;
|
|
127
|
-
SIMStatus: string;
|
|
128
|
-
SIMTrayStatus: string;
|
|
129
|
-
SerialNumber: string;
|
|
130
|
-
SoftwareBehavior: string;
|
|
131
|
-
SoftwareBundleVersion: string;
|
|
132
|
-
SupportedDeviceFamilies: number[];
|
|
133
|
-
TelephonyCapability: boolean;
|
|
134
|
-
TimeIntervalSince1970: number;
|
|
135
|
-
TimeZone: string;
|
|
136
|
-
TimeZoneOffsetFromUTC: number;
|
|
137
|
-
TrustedHostAttached: boolean;
|
|
138
|
-
UniqueChipID: number;
|
|
139
|
-
UniqueDeviceID: string;
|
|
140
|
-
UntrustedHostBUID: string;
|
|
141
|
-
UseRaptorCerts: boolean;
|
|
142
|
-
Uses24HourClock: boolean;
|
|
143
|
-
WiFiAddress: string;
|
|
144
|
-
WirelessBoardSerialNumber: string;
|
|
145
|
-
kCTPostponementInfoServiceProvisioningState: boolean;
|
|
146
|
-
kCTPostponementStatus: string;
|
|
147
|
-
}
|
|
148
|
-
export interface IosCli {
|
|
149
|
-
listDevices(): Promise<IosListResult>;
|
|
150
|
-
wipe(deviceId: string): Promise<IosCommandResult>;
|
|
151
|
-
installProfile(deviceId: string, profilePath: string): Promise<IosCommandResult>;
|
|
152
|
-
removeProfile(deviceId: string, profileName: string): Promise<IosCommandResult>;
|
|
153
|
-
skipSteps(deviceId: string, steps?: string[]): Promise<IosCommandResult>;
|
|
154
|
-
printSteps(): Promise<IosCommandResult>;
|
|
155
|
-
activate(deviceId: string): Promise<IosCommandResult>;
|
|
156
|
-
pair(deviceId: string): Promise<IosCommandResult>;
|
|
157
|
-
forward(deviceId: string, fromPort: number, toPort: number): Promise<IosCommandResult>;
|
|
158
|
-
info(deviceId: string): Promise<IosCommandResult>;
|
|
159
|
-
listProfiles(deviceId: string): Promise<IosProfileListResult>;
|
|
160
|
-
installApp(deviceId: string, ipaPath: string): Promise<IosCommandResult>;
|
|
161
|
-
tunnelStart(deviceId: string, userspace?: boolean): Promise<ChildProcess>;
|
|
162
|
-
fsyncPull(deviceId: string, app: string, srcPath: string, dstPath: string): Promise<IosCommandResult>;
|
|
163
|
-
fsyncPush(deviceId: string, app: string, srcPath: string, dstPath: string): Promise<IosCommandResult>;
|
|
164
|
-
fsyncTree(deviceId: string, app: string, path?: string): Promise<IosFsyncTreeResult>;
|
|
165
|
-
}
|
|
166
|
-
//# sourceMappingURL=ios.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../../src/types/ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,gBAAgB;IAChC,UAAU,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,EAAE,aAAa,CAAC;IACtB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE;QACJ,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;KACf,CAAC;CACF;AAED,MAAM,WAAW,UAAU;IAC1B,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;IAC3C,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,aAAa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AE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACzE,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAC1E,SAAS,CACR,QAAQ,EAAE,MAAM,EAChB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,GACb,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC7B,SAAS,CACR,QAAQ,EAAE,MAAM,EAChB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,GACb,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC7B,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACrF"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MDM API Types
|
|
3
|
-
*/
|
|
4
|
-
export type DeviceType = "IOS" | "ANDROID";
|
|
5
|
-
export type MdmApiCallStatus = "OK" | "SERVER_ERROR" | "TIMEOUT" | "UNENROLLED_DEVICE_ID";
|
|
6
|
-
export interface GenerateEnrollmentProfileResponse {
|
|
7
|
-
status: MdmApiCallStatus;
|
|
8
|
-
profile?: string | null;
|
|
9
|
-
}
|
|
10
|
-
export interface WaitForDeviceToEnrollResponse {
|
|
11
|
-
status: MdmApiCallStatus;
|
|
12
|
-
isEnrolled?: boolean | null;
|
|
13
|
-
opRef?: string | null;
|
|
14
|
-
}
|
|
15
|
-
export interface InstallAppResponse {
|
|
16
|
-
status: MdmApiCallStatus;
|
|
17
|
-
opRef?: string | null;
|
|
18
|
-
}
|
|
19
|
-
export interface MdmClientConfig {
|
|
20
|
-
endpoint: string;
|
|
21
|
-
authToken?: string;
|
|
22
|
-
timeout?: number;
|
|
23
|
-
}
|
|
24
|
-
export interface MdmClient {
|
|
25
|
-
generateEnrollmentProfile(deviceId: string): Promise<GenerateEnrollmentProfileResponse>;
|
|
26
|
-
waitForDeviceToEnroll(deviceId: string, previousOpRef?: string): Promise<WaitForDeviceToEnrollResponse>;
|
|
27
|
-
installApp(deviceId: string, options: {
|
|
28
|
-
appId?: string;
|
|
29
|
-
url?: string;
|
|
30
|
-
waitForInstalled?: boolean;
|
|
31
|
-
}): Promise<InstallAppResponse>;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=mdm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mdm.d.ts","sourceRoot":"","sources":["../../../src/types/mdm.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,SAAS,CAAC;AAE3C,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,cAAc,GAAG,SAAS,GAAG,sBAAsB,CAAC;AAE1F,MAAM,WAAW,iCAAiC;IACjD,MAAM,EAAE,gBAAgB,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,6BAA6B;IAC7C,MAAM,EAAE,gBAAgB,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,kBAAkB;IAClC,MAAM,EAAE,gBAAgB,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,SAAS;IACzB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,iCAAiC,CAAC,CAAC;IACxF,qBAAqB,CACpB,QAAQ,EAAE,MAAM,EAChB,aAAa,CAAC,EAAE,MAAM,GACpB,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C,UAAU,CACT,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;KAAE,GACnE,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAC/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"trust.d.ts","sourceRoot":"","sources":["../../../src/types/trust.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,kBAAkB;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC5B"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Device list entry returned by native listDevices
|
|
3
|
-
*/
|
|
4
|
-
export interface DeviceListEntry {
|
|
5
|
-
/**
|
|
6
|
-
* Device UDID (Unique Device Identifier)
|
|
7
|
-
*/
|
|
8
|
-
udid: string;
|
|
9
|
-
/**
|
|
10
|
-
* Connection type
|
|
11
|
-
* 1 = USB
|
|
12
|
-
* 2 = Network/WiFi
|
|
13
|
-
*/
|
|
14
|
-
connectionType: number;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Installed application info
|
|
18
|
-
*/
|
|
19
|
-
export interface AppInfo {
|
|
20
|
-
/**
|
|
21
|
-
* Bundle identifier (e.g., "com.example.app")
|
|
22
|
-
*/
|
|
23
|
-
bundleId: string;
|
|
24
|
-
/**
|
|
25
|
-
* Display name shown to user
|
|
26
|
-
*/
|
|
27
|
-
displayName: string;
|
|
28
|
-
/**
|
|
29
|
-
* App version (CFBundleShortVersionString)
|
|
30
|
-
*/
|
|
31
|
-
version: string;
|
|
32
|
-
/**
|
|
33
|
-
* Bundle version (CFBundleVersion)
|
|
34
|
-
*/
|
|
35
|
-
bundleVersion: string;
|
|
36
|
-
}
|
|
37
|
-
export type AppleToolType = "ideviceinfo" | "idevice_id" | "ideviceinstaller" | "idevicepair" | "idevicename" | "idevicedebug" | "iproxy" | "ideviceactivation";
|
|
38
|
-
/**
|
|
39
|
-
* Port forwarding result
|
|
40
|
-
*/
|
|
41
|
-
export interface PortForwardResult {
|
|
42
|
-
/** The local port being forwarded */
|
|
43
|
-
localPort: number;
|
|
44
|
-
/** The device port being forwarded to */
|
|
45
|
-
devicePort: number;
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACvB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,MAAM,aAAa,GACtB,aAAa,GACb,YAAY,GACZ,kBAAkB,GAClB,aAAa,GACb,aAAa,GACb,cAAc,GACd,QAAQ,GACR,mBAAmB,CAAC;AAEvB;;GAEG;AACH,MAAM,WAAW,iBAAiB;IACjC,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WiFi Profile Types
|
|
3
|
-
*/
|
|
4
|
-
export type WifiEncryptionType = "WEP" | "WPA" | "WPA2" | "WPA3" | "Any" | "None";
|
|
5
|
-
export type WifiEapType = "TLS" | "TTLS" | "LEAP" | "PEAP" | "EAP-FAST" | "EAP-SIM" | "EAP-AKA";
|
|
6
|
-
export interface WifiProfileConfig {
|
|
7
|
-
ssid: string;
|
|
8
|
-
password?: string;
|
|
9
|
-
encryptionType?: WifiEncryptionType;
|
|
10
|
-
autoJoin?: boolean;
|
|
11
|
-
hiddenNetwork?: boolean;
|
|
12
|
-
organizationName?: string;
|
|
13
|
-
displayName?: string;
|
|
14
|
-
enterprise?: boolean;
|
|
15
|
-
username?: string;
|
|
16
|
-
eapType?: WifiEapType;
|
|
17
|
-
acceptAnyCertificate?: boolean;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=wifi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wifi.d.ts","sourceRoot":"","sources":["../../../src/types/wifi.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;AAElF,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAEhG,MAAM,WAAW,iBAAiB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B"}
|
package/dist/types/types.d.ts
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Device list entry returned by native listDevices
|
|
3
|
-
*/
|
|
4
|
-
export interface DeviceListEntry {
|
|
5
|
-
/**
|
|
6
|
-
* Device UDID (Unique Device Identifier)
|
|
7
|
-
*/
|
|
8
|
-
udid: string;
|
|
9
|
-
/**
|
|
10
|
-
* Connection type
|
|
11
|
-
* 1 = USB
|
|
12
|
-
* 2 = Network/WiFi
|
|
13
|
-
*/
|
|
14
|
-
connectionType: number;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Installed application info
|
|
18
|
-
*/
|
|
19
|
-
export interface AppInfo {
|
|
20
|
-
/**
|
|
21
|
-
* Bundle identifier (e.g., "com.example.app")
|
|
22
|
-
*/
|
|
23
|
-
bundleId: string;
|
|
24
|
-
/**
|
|
25
|
-
* Display name shown to user
|
|
26
|
-
*/
|
|
27
|
-
displayName: string;
|
|
28
|
-
/**
|
|
29
|
-
* App version (CFBundleShortVersionString)
|
|
30
|
-
*/
|
|
31
|
-
version: string;
|
|
32
|
-
/**
|
|
33
|
-
* Bundle version (CFBundleVersion)
|
|
34
|
-
*/
|
|
35
|
-
bundleVersion: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Configuration for the devices monitor
|
|
39
|
-
*/
|
|
40
|
-
export interface AppleListenerConfig {
|
|
41
|
-
/**
|
|
42
|
-
* Map physical port locations to logical port numbers
|
|
43
|
-
*
|
|
44
|
-
* Key: Location info string (e.g., "Port_#0005.Hub_#0002")
|
|
45
|
-
* Value: Logical port number (e.g., 1, 2, 3)
|
|
46
|
-
*/
|
|
47
|
-
logicalPortMap?: Record<string, number>;
|
|
48
|
-
/**
|
|
49
|
-
* Whether to identify already connected devices on start
|
|
50
|
-
*/
|
|
51
|
-
identifyAlreadyConnected?: boolean;
|
|
52
|
-
}
|
|
53
|
-
export type AppleToolType = "ideviceinfo" | "idevice_id" | "ideviceinstaller" | "idevicepair" | "idevicename" | "idevicedebug" | "iproxy" | "ideviceactivation";
|
|
54
|
-
/**
|
|
55
|
-
* Port forwarding result
|
|
56
|
-
*/
|
|
57
|
-
export interface PortForwardResult {
|
|
58
|
-
/** The local port being forwarded */
|
|
59
|
-
localPort: number;
|
|
60
|
-
/** The device port being forwarded to */
|
|
61
|
-
devicePort: number;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Activation state
|
|
65
|
-
*/
|
|
66
|
-
export interface ActivationState {
|
|
67
|
-
isActivated: boolean;
|
|
68
|
-
activationState: string;
|
|
69
|
-
}
|
|
70
|
-
export type SkipStep = "Language" | "Region" | "Setup" | "SetUp" | "DisplayTone" | "Privacy" | "Android" | "HomeButtonSensitivity" | "OnBoarding" | "Passcode" | "Registration" | "Restore" | "AppleID" | "Safety" | "ScreenSaver" | "TOS" | "RestoreCompleted" | "Biometric" | "Payment" | "Zoom" | "Siri" | "Diagnostics" | "FileVault" | "iCloudDiagnostics" | "trackingCurrent" | "AppStore" | "AccessibilityAppearance" | "Appearance" | "iMessageAndFaceTime" | "Accessibility" | "ScreenTime" | "ActionButton" | "Keyboard" | "EnableLockdownMode" | "TermsOfAddress" | "TapToSetup" | "SpokenLanguage" | "MessagingActivationUsingPhoneNumber" | "iCloudStorage" | "TVProviderSignIn" | "TVHomeScreenSync" | "TVRoom" | "UpdateCompleted" | "WatchMigration" | "WebContentFiltering" | "Wallpaper" | "SoftwareUpdate" | "Intelligence" | "CameraButton" | "Welcome" | "SIMSetup" | "Location" | "SetupAssistant" | "HomeKit" | "CarrierActivation" | "Cellular" | "Cellular-Setup" | "SIMSetup" | "skip-sim-setup" | "skip-cellular-setup" | "CellularSetup" | "AppStoreRestore" | "AppStoreSetup" | "DefaultApps" | "DefaultAppInstall" | "AppStoreTerms" | "SystemMigration" | "SystemUpgrade" | "OTAUpgrade" | "OSUpdate" | "OSUpdateNew" | "OSInstall" | "OSInstallNew" | "OSUpgrade" | "OSUpgradeNew" | "AppUpdate" | "AppInstall" | "AppMigration" | "PhoneSetup" | "PhoneService" | "CarrierSettings" | "CellularData" | "CellularSetupPrompt" | "DataRoaming" | "DataPrivacy" | "CellularActivation" | "NoSIM" | "IntendedUser" | "CloudStorage" | "PreferredLanguage" | "TVProviderSignIn" | "TVHomeScreenSync" | "TVRoom" | "Multitasking" | "ActionButton" | "UpdateCompleted" | "RestoreCompleted" | "iMessageAndFaceTIme" | "AccessibilityAppearance" | "DisplayTone" | "HomeButtonSensitivity" | "ScreenSaver" | "TapToSetup" | "WatchMigration" | "OnBoarding" | "SetupCompleted" | "SetupFinished" | "SetupDone" | "FinishSetup" | "PartialSetup" | "DeviceSetup" | "DeviceConfigurationComplete" | "StandBy" | "StandBySetup" | "StandByWelcome" | "StandByOnboarding";
|
|
71
|
-
/**
|
|
72
|
-
* Activation flow config
|
|
73
|
-
*/
|
|
74
|
-
export interface ActivationFlowConfig {
|
|
75
|
-
/**
|
|
76
|
-
* Path to the ios CLI binary (go-ios wrapper).
|
|
77
|
-
* If not set, defaults to resourcesDir/ios/bin/{platform}/ios(.exe).
|
|
78
|
-
*/
|
|
79
|
-
iosBinaryPath?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Organization name used for trust profile display (optional).
|
|
82
|
-
* If not set, uses ORGANIZATION_NAME from env.
|
|
83
|
-
*/
|
|
84
|
-
organizationName?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Folder to read/write trust_profile.mobileconfig (optional).
|
|
87
|
-
* If not set, defaults to the package resources folder.
|
|
88
|
-
*/
|
|
89
|
-
resourcesDir?: string;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* WiFi profile types
|
|
93
|
-
*/
|
|
94
|
-
export type WifiEncryptionType = "WEP" | "WPA" | "WPA2" | "WPA3" | "Any" | "None";
|
|
95
|
-
export type WifiEapType = "TLS" | "TTLS" | "LEAP" | "PEAP" | "EAP-FAST" | "EAP-SIM" | "EAP-AKA";
|
|
96
|
-
export interface WifiProfileConfig {
|
|
97
|
-
ssid: string;
|
|
98
|
-
password?: string;
|
|
99
|
-
encryptionType?: WifiEncryptionType;
|
|
100
|
-
autoJoin?: boolean;
|
|
101
|
-
hiddenNetwork?: boolean;
|
|
102
|
-
organizationName?: string;
|
|
103
|
-
displayName?: string;
|
|
104
|
-
enterprise?: boolean;
|
|
105
|
-
username?: string;
|
|
106
|
-
eapType?: WifiEapType;
|
|
107
|
-
acceptAnyCertificate?: boolean;
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Trust profile types
|
|
111
|
-
*/
|
|
112
|
-
export interface TrustProfileConfig {
|
|
113
|
-
organizationName: string;
|
|
114
|
-
certificateBase64: string;
|
|
115
|
-
certificateDisplayName?: string;
|
|
116
|
-
profileDisplayName?: string;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* MDM types
|
|
120
|
-
*/
|
|
121
|
-
export type DeviceType = "IOS" | "ANDROID";
|
|
122
|
-
export type MdmApiCallStatus = "OK" | "SERVER_ERROR" | "TIMEOUT" | "UNENROLLED_DEVICE_ID";
|
|
123
|
-
export interface GenerateEnrollmentProfileResponse {
|
|
124
|
-
status: MdmApiCallStatus;
|
|
125
|
-
profile?: string | null;
|
|
126
|
-
}
|
|
127
|
-
export interface WaitForDeviceToEnrollResponse {
|
|
128
|
-
status: MdmApiCallStatus;
|
|
129
|
-
isEnrolled?: boolean | null;
|
|
130
|
-
opRef?: string | null;
|
|
131
|
-
}
|
|
132
|
-
export interface InstallAppResponse {
|
|
133
|
-
status: MdmApiCallStatus;
|
|
134
|
-
opRef?: string | null;
|
|
135
|
-
}
|
|
136
|
-
export interface MdmClientConfig {
|
|
137
|
-
endpoint: string;
|
|
138
|
-
authToken?: string;
|
|
139
|
-
timeout?: number;
|
|
140
|
-
}
|
|
141
|
-
export interface MdmClient {
|
|
142
|
-
generateEnrollmentProfile(deviceId: string): Promise<GenerateEnrollmentProfileResponse>;
|
|
143
|
-
waitForDeviceToEnroll(deviceId: string, previousOpRef?: string): Promise<WaitForDeviceToEnrollResponse>;
|
|
144
|
-
installApp(deviceId: string, options: {
|
|
145
|
-
appId?: string;
|
|
146
|
-
url?: string;
|
|
147
|
-
waitForInstalled?: boolean;
|
|
148
|
-
}): Promise<InstallAppResponse>;
|
|
149
|
-
}
|
|
150
|
-
export interface InstallAppMdmOptions {
|
|
151
|
-
appId?: string;
|
|
152
|
-
url?: string;
|
|
153
|
-
waitForInstalled?: boolean;
|
|
154
|
-
client?: MdmClient;
|
|
155
|
-
clientConfig?: MdmClientConfig;
|
|
156
|
-
}
|
|
157
|
-
export interface InstallAppOptions {
|
|
158
|
-
installViaMdm?: boolean;
|
|
159
|
-
mdm?: InstallAppMdmOptions;
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* Auth types
|
|
163
|
-
*/
|
|
164
|
-
export interface AuthCredentials {
|
|
165
|
-
clientDecorator: string;
|
|
166
|
-
variantConfigurationKey: string;
|
|
167
|
-
frameworkId?: string;
|
|
168
|
-
}
|
|
169
|
-
export interface TokenResponse {
|
|
170
|
-
accessToken: string;
|
|
171
|
-
expiresIn: number;
|
|
172
|
-
}
|
|
173
|
-
//# sourceMappingURL=types.d.ts.map
|