@runblackcat/sdk 0.1.0-alpha.129 → 0.1.0-alpha.130

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runblackcat/sdk",
3
- "version": "0.1.0-alpha.129",
3
+ "version": "0.1.0-alpha.130",
4
4
  "description": "TypeScript SDK for the Blackcat sandbox gateway",
5
5
  "license": "Apache-2.0",
6
6
  "repository": "https://github.com/TreebeardHQ/blackcat",
@@ -447,11 +447,27 @@ interface CapacityReservationBase {
447
447
  * holds it, no room under the fleet ceiling or quota, ...), or null. */
448
448
  unmet_reason?: string | null;
449
449
  /** The latest launch made for it, or null. */
450
- launch?: {
451
- state: string;
452
- shape: string;
453
- detail: string | null;
454
- } | null;
450
+ launch?: CapacityReservationLaunch | null;
451
+ /** Every launch made for it, oldest first. */
452
+ launches?: CapacityReservationLaunch[];
453
+ /** When it first became fully met (epoch milliseconds), or null until it
454
+ * does. */
455
+ ready_at?: number | null;
456
+ /** `ready_at` less its creation time, in milliseconds, or null. */
457
+ time_to_ready_ms?: number | null;
458
+ }
459
+ export interface CapacityReservationLaunch {
460
+ state: string;
461
+ shape: string;
462
+ detail: string | null;
463
+ /** When the plan chose the launch (epoch milliseconds). */
464
+ created_at?: number;
465
+ /** When the provider accepted or refused it; null while unanswered. */
466
+ settled_at?: number | null;
467
+ /** When the first of its hosts registered, or null. */
468
+ enrolled_at?: number | null;
469
+ /** The availability zone it launched in, when known. */
470
+ az?: string | null;
455
471
  }
456
472
  export type CapacityReservation = CapacityReservationBase & ({
457
473
  capacity: {