@mcesystems/apple-kit 1.0.73 → 1.0.74

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 (44) hide show
  1. package/README.md +258 -258
  2. package/dist/index.js +4 -2
  3. package/dist/index.js.map +2 -2
  4. package/dist/index.mjs +2 -1
  5. package/dist/resources/plist/certificate-trust.xml +43 -43
  6. package/dist/resources/plist/wifi-enterprise.xml +59 -59
  7. package/dist/resources/plist/wifi-standard.xml +50 -50
  8. package/dist/types/index.d.ts +1 -1
  9. package/dist/types/index.d.ts.map +1 -1
  10. package/package.json +4 -4
  11. package/scripts/README.md +209 -209
  12. package/scripts/build-windows.sh.template +222 -222
  13. package/dist/resources/plist/ddm-managed-app.xml +0 -55
  14. package/dist/types/graphql/queries.d.ts +0 -9
  15. package/dist/types/graphql/queries.d.ts.map +0 -1
  16. package/dist/types/logic/actions/activation.d.ts +0 -12
  17. package/dist/types/logic/actions/activation.d.ts.map +0 -1
  18. package/dist/types/logic/actions/appState.d.ts +0 -2
  19. package/dist/types/logic/actions/appState.d.ts.map +0 -1
  20. package/dist/types/logic/actions/usbmuxd.d.ts +0 -10
  21. package/dist/types/logic/actions/usbmuxd.d.ts.map +0 -1
  22. package/dist/types/types/auth.d.ts +0 -13
  23. package/dist/types/types/auth.d.ts.map +0 -1
  24. package/dist/types/types/install.d.ts +0 -13
  25. package/dist/types/types/install.d.ts.map +0 -1
  26. package/dist/types/types/mdm.d.ts +0 -33
  27. package/dist/types/types/mdm.d.ts.map +0 -1
  28. package/dist/types/types.d.ts +0 -173
  29. package/dist/types/types.d.ts.map +0 -1
  30. package/dist/types/utils/authClient.d.ts +0 -7
  31. package/dist/types/utils/authClient.d.ts.map +0 -1
  32. package/dist/types/utils/ddmDeclaration.d.ts +0 -8
  33. package/dist/types/utils/ddmDeclaration.d.ts.map +0 -1
  34. package/dist/types/utils/debug.d.ts +0 -17
  35. package/dist/types/utils/debug.d.ts.map +0 -1
  36. package/dist/types/utils/installRawProfileRetry.d.ts +0 -7
  37. package/dist/types/utils/installRawProfileRetry.d.ts.map +0 -1
  38. package/dist/types/utils/mdmClient.d.ts +0 -7
  39. package/dist/types/utils/mdmClient.d.ts.map +0 -1
  40. package/dist/types/utils/trustProfile.d.ts +0 -12
  41. package/dist/types/utils/trustProfile.d.ts.map +0 -1
  42. package/resources/ios.exe +0 -0
  43. package/resources/wintun-LICENSE.txt +0 -84
  44. package/resources/wintun.dll +0 -0
package/dist/index.mjs CHANGED
@@ -39071,7 +39071,8 @@ var AppleDeviceKit = class {
39071
39071
  export {
39072
39072
  ActivationFlow,
39073
39073
  AppleDeviceKit,
39074
- createIosCli
39074
+ createIosCli,
39075
+ iosCli
39075
39076
  };
39076
39077
  /*! Bundled license information:
39077
39078
 
@@ -1,43 +1,43 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>PayloadContent</key>
6
- <array>
7
- <dict>
8
- <key>PayloadCertificateFileName</key>
9
- <string>{{certificateFileName}}</string>
10
- <key>PayloadContent</key>
11
- <data>
12
- {{certificateBase64}}
13
- </data>
14
- <key>PayloadDescription</key>
15
- <string>{{certificateDescription}}</string>
16
- <key>PayloadDisplayName</key>
17
- <string>{{certificateDisplayName}}</string>
18
- <key>PayloadIdentifier</key>
19
- <string>{{payloadId}}</string>
20
- <key>PayloadType</key>
21
- <string>com.apple.security.root</string>
22
- <key>PayloadUUID</key>
23
- <string>{{certificateUuid}}</string>
24
- <key>PayloadVersion</key>
25
- <integer>1</integer>
26
- </dict>
27
- </array>
28
- <key>PayloadDisplayName</key>
29
- <string>{{profileDisplayName}}</string>
30
- <key>PayloadIdentifier</key>
31
- <string>{{profileId}}</string>
32
- <key>PayloadOrganization</key>
33
- <string>{{organizationName}}</string>
34
- <key>PayloadRemovalDisallowed</key>
35
- <{{removalDisallowed}}/>
36
- <key>PayloadType</key>
37
- <string>Configuration</string>
38
- <key>PayloadUUID</key>
39
- <string>{{profileUuid}}</string>
40
- <key>PayloadVersion</key>
41
- <integer>1</integer>
42
- </dict>
43
- </plist>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>PayloadContent</key>
6
+ <array>
7
+ <dict>
8
+ <key>PayloadCertificateFileName</key>
9
+ <string>{{certificateFileName}}</string>
10
+ <key>PayloadContent</key>
11
+ <data>
12
+ {{certificateBase64}}
13
+ </data>
14
+ <key>PayloadDescription</key>
15
+ <string>{{certificateDescription}}</string>
16
+ <key>PayloadDisplayName</key>
17
+ <string>{{certificateDisplayName}}</string>
18
+ <key>PayloadIdentifier</key>
19
+ <string>{{payloadId}}</string>
20
+ <key>PayloadType</key>
21
+ <string>com.apple.security.root</string>
22
+ <key>PayloadUUID</key>
23
+ <string>{{certificateUuid}}</string>
24
+ <key>PayloadVersion</key>
25
+ <integer>1</integer>
26
+ </dict>
27
+ </array>
28
+ <key>PayloadDisplayName</key>
29
+ <string>{{profileDisplayName}}</string>
30
+ <key>PayloadIdentifier</key>
31
+ <string>{{profileId}}</string>
32
+ <key>PayloadOrganization</key>
33
+ <string>{{organizationName}}</string>
34
+ <key>PayloadRemovalDisallowed</key>
35
+ <{{removalDisallowed}}/>
36
+ <key>PayloadType</key>
37
+ <string>Configuration</string>
38
+ <key>PayloadUUID</key>
39
+ <string>{{profileUuid}}</string>
40
+ <key>PayloadVersion</key>
41
+ <integer>1</integer>
42
+ </dict>
43
+ </plist>
@@ -1,59 +1,59 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>PayloadContent</key>
6
- <array>
7
- <dict>
8
- <key>AutoJoin</key>
9
- <{{autoJoin}}/>
10
- <key>EncryptionType</key>
11
- <string>WPA2</string>
12
- <key>HIDDEN_NETWORK</key>
13
- <{{hiddenNetwork}}/>
14
- <key>IsHotspot</key>
15
- <false/>
16
- <key>PayloadDescription</key>
17
- <string>Configures WiFi settings for {{ssid}}</string>
18
- <key>PayloadDisplayName</key>
19
- <string>WiFi ({{ssid}})</string>
20
- <key>PayloadIdentifier</key>
21
- <string>{{payloadId}}</string>
22
- <key>PayloadType</key>
23
- <string>com.apple.wifi.managed</string>
24
- <key>PayloadUUID</key>
25
- <string>{{payloadUuid}}</string>
26
- <key>PayloadVersion</key>
27
- <integer>1</integer>
28
- <key>ProxyType</key>
29
- <string>None</string>
30
- <key>SSID_STR</key>
31
- <string>{{ssid}}</string>
32
- <key>EAPClientConfiguration</key>
33
- <dict>
34
- <key>AcceptEAPTypes</key>
35
- <array>
36
- <integer>{{eapTypeNumber}}</integer>
37
- </array>
38
- {{#if username}}<key>UserName</key><string>{{username}}</string>{{/if}}
39
- {{#if password}}<key>UserPassword</key><string>{{password}}</string>{{/if}}
40
- {{#if acceptAnyCertificate}}<key>TLSAllowTrustExceptions</key><true/>{{/if}}
41
- </dict>
42
- </dict>
43
- </array>
44
- <key>PayloadDisplayName</key>
45
- <string>{{displayName}}</string>
46
- <key>PayloadIdentifier</key>
47
- <string>{{profileId}}</string>
48
- <key>PayloadOrganization</key>
49
- <string>{{organizationName}}</string>
50
- <key>PayloadRemovalDisallowed</key>
51
- <false/>
52
- <key>PayloadType</key>
53
- <string>Configuration</string>
54
- <key>PayloadUUID</key>
55
- <string>{{profileUuid}}</string>
56
- <key>PayloadVersion</key>
57
- <integer>1</integer>
58
- </dict>
59
- </plist>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>PayloadContent</key>
6
+ <array>
7
+ <dict>
8
+ <key>AutoJoin</key>
9
+ <{{autoJoin}}/>
10
+ <key>EncryptionType</key>
11
+ <string>WPA2</string>
12
+ <key>HIDDEN_NETWORK</key>
13
+ <{{hiddenNetwork}}/>
14
+ <key>IsHotspot</key>
15
+ <false/>
16
+ <key>PayloadDescription</key>
17
+ <string>Configures WiFi settings for {{ssid}}</string>
18
+ <key>PayloadDisplayName</key>
19
+ <string>WiFi ({{ssid}})</string>
20
+ <key>PayloadIdentifier</key>
21
+ <string>{{payloadId}}</string>
22
+ <key>PayloadType</key>
23
+ <string>com.apple.wifi.managed</string>
24
+ <key>PayloadUUID</key>
25
+ <string>{{payloadUuid}}</string>
26
+ <key>PayloadVersion</key>
27
+ <integer>1</integer>
28
+ <key>ProxyType</key>
29
+ <string>None</string>
30
+ <key>SSID_STR</key>
31
+ <string>{{ssid}}</string>
32
+ <key>EAPClientConfiguration</key>
33
+ <dict>
34
+ <key>AcceptEAPTypes</key>
35
+ <array>
36
+ <integer>{{eapTypeNumber}}</integer>
37
+ </array>
38
+ {{#if username}}<key>UserName</key><string>{{username}}</string>{{/if}}
39
+ {{#if password}}<key>UserPassword</key><string>{{password}}</string>{{/if}}
40
+ {{#if acceptAnyCertificate}}<key>TLSAllowTrustExceptions</key><true/>{{/if}}
41
+ </dict>
42
+ </dict>
43
+ </array>
44
+ <key>PayloadDisplayName</key>
45
+ <string>{{displayName}}</string>
46
+ <key>PayloadIdentifier</key>
47
+ <string>{{profileId}}</string>
48
+ <key>PayloadOrganization</key>
49
+ <string>{{organizationName}}</string>
50
+ <key>PayloadRemovalDisallowed</key>
51
+ <false/>
52
+ <key>PayloadType</key>
53
+ <string>Configuration</string>
54
+ <key>PayloadUUID</key>
55
+ <string>{{profileUuid}}</string>
56
+ <key>PayloadVersion</key>
57
+ <integer>1</integer>
58
+ </dict>
59
+ </plist>
@@ -1,50 +1,50 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>PayloadContent</key>
6
- <array>
7
- <dict>
8
- <key>AutoJoin</key>
9
- <{{autoJoin}}/>
10
- <key>EncryptionType</key>
11
- <string>{{encryptionType}}</string>
12
- <key>HIDDEN_NETWORK</key>
13
- <{{hiddenNetwork}}/>
14
- <key>IsHotspot</key>
15
- <false/>
16
- {{#if password}}<key>Password</key><string>{{password}}</string>{{/if}}
17
- <key>PayloadDescription</key>
18
- <string>Configures WiFi settings for {{ssid}}</string>
19
- <key>PayloadDisplayName</key>
20
- <string>WiFi ({{ssid}})</string>
21
- <key>PayloadIdentifier</key>
22
- <string>{{payloadId}}</string>
23
- <key>PayloadType</key>
24
- <string>com.apple.wifi.managed</string>
25
- <key>PayloadUUID</key>
26
- <string>{{payloadUuid}}</string>
27
- <key>PayloadVersion</key>
28
- <integer>1</integer>
29
- <key>ProxyType</key>
30
- <string>None</string>
31
- <key>SSID_STR</key>
32
- <string>{{ssid}}</string>
33
- </dict>
34
- </array>
35
- <key>PayloadDisplayName</key>
36
- <string>{{displayName}}</string>
37
- <key>PayloadIdentifier</key>
38
- <string>{{profileId}}</string>
39
- <key>PayloadOrganization</key>
40
- <string>{{organizationName}}</string>
41
- <key>PayloadRemovalDisallowed</key>
42
- <false/>
43
- <key>PayloadType</key>
44
- <string>Configuration</string>
45
- <key>PayloadUUID</key>
46
- <string>{{profileUuid}}</string>
47
- <key>PayloadVersion</key>
48
- <integer>1</integer>
49
- </dict>
50
- </plist>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>PayloadContent</key>
6
+ <array>
7
+ <dict>
8
+ <key>AutoJoin</key>
9
+ <{{autoJoin}}/>
10
+ <key>EncryptionType</key>
11
+ <string>{{encryptionType}}</string>
12
+ <key>HIDDEN_NETWORK</key>
13
+ <{{hiddenNetwork}}/>
14
+ <key>IsHotspot</key>
15
+ <false/>
16
+ {{#if password}}<key>Password</key><string>{{password}}</string>{{/if}}
17
+ <key>PayloadDescription</key>
18
+ <string>Configures WiFi settings for {{ssid}}</string>
19
+ <key>PayloadDisplayName</key>
20
+ <string>WiFi ({{ssid}})</string>
21
+ <key>PayloadIdentifier</key>
22
+ <string>{{payloadId}}</string>
23
+ <key>PayloadType</key>
24
+ <string>com.apple.wifi.managed</string>
25
+ <key>PayloadUUID</key>
26
+ <string>{{payloadUuid}}</string>
27
+ <key>PayloadVersion</key>
28
+ <integer>1</integer>
29
+ <key>ProxyType</key>
30
+ <string>None</string>
31
+ <key>SSID_STR</key>
32
+ <string>{{ssid}}</string>
33
+ </dict>
34
+ </array>
35
+ <key>PayloadDisplayName</key>
36
+ <string>{{displayName}}</string>
37
+ <key>PayloadIdentifier</key>
38
+ <string>{{profileId}}</string>
39
+ <key>PayloadOrganization</key>
40
+ <string>{{organizationName}}</string>
41
+ <key>PayloadRemovalDisallowed</key>
42
+ <false/>
43
+ <key>PayloadType</key>
44
+ <string>Configuration</string>
45
+ <key>PayloadUUID</key>
46
+ <string>{{profileUuid}}</string>
47
+ <key>PayloadVersion</key>
48
+ <integer>1</integer>
49
+ </dict>
50
+ </plist>
@@ -9,6 +9,6 @@
9
9
  */
10
10
  export { AppleDeviceKit } from "./logic/appleDeviceKit";
11
11
  export { ActivationFlow } from "./logic/activationFlow";
12
- export { createIosCli } from "./logic/iosCli";
12
+ export { createIosCli, iosCli } from "./logic/iosCli";
13
13
  export type { IosCli, IosCommandResult, IosListResult, IosFsyncTreeResult } from "./types/ios";
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEtD,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcesystems/apple-kit",
3
- "version": "1.0.73",
3
+ "version": "1.0.74",
4
4
  "description": "iOS device management toolkit using libimobiledevice command-line tools",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -36,9 +36,9 @@
36
36
  "graphql": "^14.5.8",
37
37
  "graphql-request": "^5.2.0",
38
38
  "tsx": "^4.21.0",
39
- "@mcesystems/mdm-client-g4": "1.0.73",
40
- "@mcesystems/tool-debug-g4": "1.0.73",
41
- "@mcesystems/usbmuxd-instance-manager": "1.0.73"
39
+ "@mcesystems/mdm-client-g4": "1.0.74",
40
+ "@mcesystems/tool-debug-g4": "1.0.74",
41
+ "@mcesystems/usbmuxd-instance-manager": "1.0.74"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^22.10.2",