@limrun/api 0.77.2 → 0.78.0

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 (60) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +35 -0
  3. package/destination-tunnel.d.mts.map +1 -1
  4. package/destination-tunnel.d.ts.map +1 -1
  5. package/destination-tunnel.js +3 -2
  6. package/destination-tunnel.js.map +1 -1
  7. package/destination-tunnel.mjs +3 -2
  8. package/destination-tunnel.mjs.map +1 -1
  9. package/index.d.mts +1 -0
  10. package/index.d.mts.map +1 -1
  11. package/index.d.ts +1 -0
  12. package/index.d.ts.map +1 -1
  13. package/index.js.map +1 -1
  14. package/index.mjs.map +1 -1
  15. package/ios-client.d.mts +85 -0
  16. package/ios-client.d.mts.map +1 -1
  17. package/ios-client.d.ts +85 -0
  18. package/ios-client.d.ts.map +1 -1
  19. package/ios-client.js +52 -8
  20. package/ios-client.js.map +1 -1
  21. package/ios-client.mjs +50 -7
  22. package/ios-client.mjs.map +1 -1
  23. package/package.json +1 -1
  24. package/resources/assets.d.mts +19 -4
  25. package/resources/assets.d.mts.map +1 -1
  26. package/resources/assets.d.ts +19 -4
  27. package/resources/assets.d.ts.map +1 -1
  28. package/resources/gradle-instances-helpers.d.mts +1 -1
  29. package/resources/index.d.mts +2 -0
  30. package/resources/index.d.mts.map +1 -1
  31. package/resources/index.d.ts +2 -0
  32. package/resources/index.d.ts.map +1 -1
  33. package/resources/index.js +2 -0
  34. package/resources/index.js.map +1 -1
  35. package/resources/index.mjs +2 -0
  36. package/resources/index.mjs.map +1 -1
  37. package/resources/macos-instances-helpers.d.mts +271 -0
  38. package/resources/macos-instances-helpers.d.mts.map +1 -0
  39. package/resources/macos-instances-helpers.d.ts +271 -0
  40. package/resources/macos-instances-helpers.d.ts.map +1 -0
  41. package/resources/macos-instances-helpers.js +298 -0
  42. package/resources/macos-instances-helpers.js.map +1 -0
  43. package/resources/macos-instances-helpers.mjs +296 -0
  44. package/resources/macos-instances-helpers.mjs.map +1 -0
  45. package/resources/macos-instances.d.mts +19 -0
  46. package/resources/macos-instances.d.mts.map +1 -1
  47. package/resources/macos-instances.d.ts +19 -0
  48. package/resources/macos-instances.d.ts.map +1 -1
  49. package/src/destination-tunnel.ts +3 -2
  50. package/src/index.ts +16 -0
  51. package/src/ios-client.ts +162 -7
  52. package/src/resources/assets.ts +24 -4
  53. package/src/resources/index.ts +11 -0
  54. package/src/resources/macos-instances-helpers.ts +655 -0
  55. package/src/resources/macos-instances.ts +30 -0
  56. package/src/version.ts +1 -1
  57. package/version.d.mts +1 -1
  58. package/version.d.ts +1 -1
  59. package/version.js +1 -1
  60. package/version.mjs +1 -1
@@ -104,6 +104,9 @@ export namespace MacosInstance {
104
104
 
105
105
  /** Current effective permissions. Present on live GETs; historical records may omit it. */
106
106
  role?: { permissions: string[] };
107
+
108
+ /** The private tunnel the instance named at create. */
109
+ tunnel?: string;
107
110
  }
108
111
 
109
112
  export interface Status {
@@ -145,6 +148,26 @@ export namespace MacosInstance {
145
148
  * details when available.
146
149
  */
147
150
  terminationReason?: string;
151
+
152
+ /**
153
+ * The disk snapshot save the instance runs when it terminates, under the key a client gave
154
+ * `restoreSnapshot`. Absent until the instance is deleted.
155
+ */
156
+ snapshot?: {
157
+ save?: {
158
+ phase:
159
+ | 'requested'
160
+ | 'archiving'
161
+ | 'uploading'
162
+ | 'published'
163
+ | 'skipped'
164
+ | 'failed'
165
+ | 'timed_out'
166
+ | string;
167
+ reason?: string;
168
+ message?: string;
169
+ };
170
+ };
148
171
  }
149
172
  }
150
173
 
@@ -237,6 +260,13 @@ export namespace MacosInstanceCreateParams {
237
260
  /** Asset permissions delegated by the creator. An empty array grants nothing. */
238
261
  permissions: Array<string>;
239
262
  };
263
+
264
+ /**
265
+ * Names a private tunnel, created in the console (Network) or the API, that
266
+ * serves this instance. Creation fails while no connector (`lim tunnel run`)
267
+ * holds it, and the instance becomes ready only after the tunnel attaches.
268
+ */
269
+ tunnel?: string;
240
270
  }
241
271
 
242
272
  export namespace Spec {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.77.2'; // x-release-please-version
1
+ export const VERSION = '0.78.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.77.2";
1
+ export declare const VERSION = "0.78.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.77.2";
1
+ export declare const VERSION = "0.78.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.77.2'; // x-release-please-version
4
+ exports.VERSION = '0.78.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.77.2'; // x-release-please-version
1
+ export const VERSION = '0.78.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map