@mcesystems/apple-kit 1.0.93 → 1.0.95

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.
@@ -3,12 +3,23 @@
3
3
  import { ChildProcess } from 'node:child_process';
4
4
  import { EventEmitter } from 'node:events';
5
5
 
6
+ // Generated by dts-bundle-generator v9.5.1
7
+ export type MdmApiCallStatus = "OK" | "SERVER_ERROR" | "TIMEOUT" | "UNENROLLED_DEVICE_ID";
8
+ export interface InstallAppResponse {
9
+ status: MdmApiCallStatus;
10
+ opRef?: string | null;
11
+ }
6
12
  export interface MdmClientOptions {
7
13
  endpoint?: string;
8
14
  authApiUrl?: string;
9
15
  credentialsPath?: string;
10
16
  timeoutMs?: number;
11
17
  }
18
+ export type MdmApiCallStatus$1 = "OK" | "SERVER_ERROR" | "TIMEOUT" | "UNENROLLED_DEVICE_ID";
19
+ export interface InstallAppResponse$1 {
20
+ status: MdmApiCallStatus$1;
21
+ opRef?: string | null;
22
+ }
12
23
  export interface InstallAppMdmOptions {
13
24
  appId?: string;
14
25
  url?: string;
@@ -341,7 +352,8 @@ export declare class AppleDeviceKit {
341
352
  *
342
353
  * @param ipaPath Path to the IPA file
343
354
  */
344
- installApp(ipaPath: string, options: InstallAppMdmOptions): Promise<IosCommandResult>;
355
+ installApp(ipaPath: string, options: InstallAppMdmOptions): Promise<InstallAppResponse>;
356
+ installAppFromMDM(options: InstallAppMdmOptions): Promise<InstallAppResponse>;
345
357
  /**
346
358
  * Uninstall an app by bundle ID (uninstall agent)
347
359
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcesystems/apple-kit",
3
- "version": "1.0.93",
3
+ "version": "1.0.95",
4
4
  "description": "iOS device management toolkit using libimobiledevice command-line tools",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -39,8 +39,8 @@
39
39
  "tsx": "^4.21.0",
40
40
  "plist": "^3.1.0",
41
41
  "ts-retry-promise": "^0.8.1",
42
- "@mcesystems/mdm-client-g4": "1.0.93",
43
- "@mcesystems/tool-debug-g4": "1.0.93"
42
+ "@mcesystems/mdm-client-g4": "1.0.95",
43
+ "@mcesystems/tool-debug-g4": "1.0.95"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/node": "^22.10.2",