@tembo-io/sdk 0.15.0 → 0.17.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 (130) hide show
  1. package/api.md +50 -43
  2. package/dist/cjs/client.d.ts +2 -2
  3. package/dist/cjs/client.d.ts.map +1 -1
  4. package/dist/cjs/client.js.map +1 -1
  5. package/dist/cjs/internal/headers.d.ts +12 -0
  6. package/dist/cjs/internal/headers.d.ts.map +1 -1
  7. package/dist/cjs/internal/headers.js +40 -1
  8. package/dist/cjs/internal/headers.js.map +1 -1
  9. package/dist/cjs/resources/agents/agents.d.ts +4 -0
  10. package/dist/cjs/resources/agents/agents.d.ts.map +1 -1
  11. package/dist/cjs/resources/agents/agents.js.map +1 -1
  12. package/dist/cjs/resources/artifacts.d.ts +4 -0
  13. package/dist/cjs/resources/artifacts.d.ts.map +1 -1
  14. package/dist/cjs/resources/billing.d.ts +58 -5
  15. package/dist/cjs/resources/billing.d.ts.map +1 -1
  16. package/dist/cjs/resources/billing.js +1 -1
  17. package/dist/cjs/resources/index.d.ts +1 -1
  18. package/dist/cjs/resources/index.d.ts.map +1 -1
  19. package/dist/cjs/resources/index.js.map +1 -1
  20. package/dist/cjs/resources/organizations/index.d.ts +1 -1
  21. package/dist/cjs/resources/organizations/index.d.ts.map +1 -1
  22. package/dist/cjs/resources/organizations/organizations.d.ts +2 -2
  23. package/dist/cjs/resources/organizations/organizations.d.ts.map +1 -1
  24. package/dist/cjs/resources/organizations/organizations.js.map +1 -1
  25. package/dist/cjs/resources/organizations/subscriptions.d.ts +1 -32
  26. package/dist/cjs/resources/organizations/subscriptions.d.ts.map +1 -1
  27. package/dist/cjs/resources/organizations/subscriptions.js +0 -22
  28. package/dist/cjs/resources/organizations/subscriptions.js.map +1 -1
  29. package/dist/cjs/resources/projects/builds.d.ts +2 -4
  30. package/dist/cjs/resources/projects/builds.d.ts.map +1 -1
  31. package/dist/cjs/resources/projects/projects.d.ts +589 -33
  32. package/dist/cjs/resources/projects/projects.d.ts.map +1 -1
  33. package/dist/cjs/resources/projects/projects.js +5 -2
  34. package/dist/cjs/resources/projects/projects.js.map +1 -1
  35. package/dist/cjs/resources/projects/snapshots.d.ts +15 -6
  36. package/dist/cjs/resources/projects/snapshots.d.ts.map +1 -1
  37. package/dist/cjs/resources/pull-requests.d.ts +4 -0
  38. package/dist/cjs/resources/pull-requests.d.ts.map +1 -1
  39. package/dist/cjs/resources/runtimes.d.ts +4 -0
  40. package/dist/cjs/resources/runtimes.d.ts.map +1 -1
  41. package/dist/cjs/resources/sessions/sessions.d.ts +36 -1
  42. package/dist/cjs/resources/sessions/sessions.d.ts.map +1 -1
  43. package/dist/cjs/resources/sessions/sessions.js +1 -1
  44. package/dist/cjs/resources/sessions/sessions.js.map +1 -1
  45. package/dist/cjs/resources/users/environment-variables.d.ts +132 -0
  46. package/dist/cjs/resources/users/environment-variables.d.ts.map +1 -0
  47. package/dist/cjs/resources/users/environment-variables.js +66 -0
  48. package/dist/cjs/resources/users/environment-variables.js.map +1 -0
  49. package/dist/cjs/resources/users/index.d.ts +4 -2
  50. package/dist/cjs/resources/users/index.d.ts.map +1 -1
  51. package/dist/cjs/resources/users/index.js +3 -1
  52. package/dist/cjs/resources/users/index.js.map +1 -1
  53. package/dist/cjs/resources/users/subscriptions.d.ts +1 -32
  54. package/dist/cjs/resources/users/subscriptions.d.ts.map +1 -1
  55. package/dist/cjs/resources/users/subscriptions.js +0 -19
  56. package/dist/cjs/resources/users/subscriptions.js.map +1 -1
  57. package/dist/cjs/resources/users/users.d.ts +7 -53
  58. package/dist/cjs/resources/users/users.d.ts.map +1 -1
  59. package/dist/cjs/resources/users/users.js +4 -16
  60. package/dist/cjs/resources/users/users.js.map +1 -1
  61. package/dist/cjs/resources.d.ts +1 -1
  62. package/dist/cjs/resources.d.ts.map +1 -1
  63. package/dist/cjs/version.d.ts +1 -1
  64. package/dist/cjs/version.js +1 -1
  65. package/dist/esm/client.d.ts +2 -2
  66. package/dist/esm/client.d.ts.map +1 -1
  67. package/dist/esm/client.js +1 -1
  68. package/dist/esm/client.js.map +1 -1
  69. package/dist/esm/internal/headers.d.ts +12 -0
  70. package/dist/esm/internal/headers.d.ts.map +1 -1
  71. package/dist/esm/internal/headers.js +36 -0
  72. package/dist/esm/internal/headers.js.map +1 -1
  73. package/dist/esm/resources/agents/agents.d.ts +4 -0
  74. package/dist/esm/resources/agents/agents.d.ts.map +1 -1
  75. package/dist/esm/resources/agents/agents.js.map +1 -1
  76. package/dist/esm/resources/artifacts.d.ts +4 -0
  77. package/dist/esm/resources/artifacts.d.ts.map +1 -1
  78. package/dist/esm/resources/billing.d.ts +58 -5
  79. package/dist/esm/resources/billing.d.ts.map +1 -1
  80. package/dist/esm/resources/billing.js +1 -1
  81. package/dist/esm/resources/index.d.ts +1 -1
  82. package/dist/esm/resources/index.d.ts.map +1 -1
  83. package/dist/esm/resources/index.js.map +1 -1
  84. package/dist/esm/resources/organizations/index.d.ts +1 -1
  85. package/dist/esm/resources/organizations/index.d.ts.map +1 -1
  86. package/dist/esm/resources/organizations/organizations.d.ts +2 -2
  87. package/dist/esm/resources/organizations/organizations.d.ts.map +1 -1
  88. package/dist/esm/resources/organizations/organizations.js +1 -1
  89. package/dist/esm/resources/organizations/organizations.js.map +1 -1
  90. package/dist/esm/resources/organizations/subscriptions.d.ts +1 -32
  91. package/dist/esm/resources/organizations/subscriptions.d.ts.map +1 -1
  92. package/dist/esm/resources/organizations/subscriptions.js +0 -22
  93. package/dist/esm/resources/organizations/subscriptions.js.map +1 -1
  94. package/dist/esm/resources/projects/builds.d.ts +2 -4
  95. package/dist/esm/resources/projects/builds.d.ts.map +1 -1
  96. package/dist/esm/resources/projects/projects.d.ts +589 -33
  97. package/dist/esm/resources/projects/projects.d.ts.map +1 -1
  98. package/dist/esm/resources/projects/projects.js +5 -2
  99. package/dist/esm/resources/projects/projects.js.map +1 -1
  100. package/dist/esm/resources/projects/snapshots.d.ts +15 -6
  101. package/dist/esm/resources/projects/snapshots.d.ts.map +1 -1
  102. package/dist/esm/resources/pull-requests.d.ts +4 -0
  103. package/dist/esm/resources/pull-requests.d.ts.map +1 -1
  104. package/dist/esm/resources/runtimes.d.ts +4 -0
  105. package/dist/esm/resources/runtimes.d.ts.map +1 -1
  106. package/dist/esm/resources/sessions/sessions.d.ts +36 -1
  107. package/dist/esm/resources/sessions/sessions.d.ts.map +1 -1
  108. package/dist/esm/resources/sessions/sessions.js +1 -1
  109. package/dist/esm/resources/sessions/sessions.js.map +1 -1
  110. package/dist/esm/resources/users/environment-variables.d.ts +132 -0
  111. package/dist/esm/resources/users/environment-variables.d.ts.map +1 -0
  112. package/dist/esm/resources/users/environment-variables.js +62 -0
  113. package/dist/esm/resources/users/environment-variables.js.map +1 -0
  114. package/dist/esm/resources/users/index.d.ts +4 -2
  115. package/dist/esm/resources/users/index.d.ts.map +1 -1
  116. package/dist/esm/resources/users/index.js +1 -0
  117. package/dist/esm/resources/users/index.js.map +1 -1
  118. package/dist/esm/resources/users/subscriptions.d.ts +1 -32
  119. package/dist/esm/resources/users/subscriptions.d.ts.map +1 -1
  120. package/dist/esm/resources/users/subscriptions.js +0 -19
  121. package/dist/esm/resources/users/subscriptions.js.map +1 -1
  122. package/dist/esm/resources/users/users.d.ts +7 -53
  123. package/dist/esm/resources/users/users.d.ts.map +1 -1
  124. package/dist/esm/resources/users/users.js +5 -17
  125. package/dist/esm/resources/users/users.js.map +1 -1
  126. package/dist/esm/resources.d.ts +1 -1
  127. package/dist/esm/resources.d.ts.map +1 -1
  128. package/dist/esm/version.d.ts +1 -1
  129. package/dist/esm/version.js +1 -1
  130. package/package.json +1 -1
@@ -56,7 +56,8 @@ export declare class Projects extends APIResource {
56
56
  * ```ts
57
57
  * const project = await client.projects.create({
58
58
  * name: 'x',
59
- * sizes: ['nano'],
59
+ * sizes: ['medium'],
60
+ * resourceSettings: { automaticSizing: false },
60
61
  * });
61
62
  * ```
62
63
  */
@@ -84,7 +85,9 @@ export declare class Projects extends APIResource {
84
85
  *
85
86
  * @example
86
87
  * ```ts
87
- * const project = await client.projects.update('projectId', {});
88
+ * const project = await client.projects.update('projectId', {
89
+ * resourceSettings: { automaticSizing: false },
90
+ * });
88
91
  * ```
89
92
  */
90
93
  update(projectID: string, body: ProjectUpdateParams, options?: RequestOptions): APIPromise<ProjectUpdateResponse>;
@@ -185,8 +188,6 @@ export declare namespace ProjectListResponse {
185
188
  * @maxLength 255
186
189
  */
187
190
  id: string;
188
- includeDeps: boolean;
189
- includeSkills: boolean;
190
191
  name: string;
191
192
  setupScript: string | null;
192
193
  /**
@@ -194,6 +195,7 @@ export declare namespace ProjectListResponse {
194
195
  */
195
196
  updatedAt: string;
196
197
  activeSnapshots: Array<Item.ActiveSnapshot>;
198
+ resourceSettings: Item.ResourceSettings | Item.ResourceSettings2 | null;
197
199
  /**
198
200
  * @maxLength 20000
199
201
  */
@@ -208,6 +210,7 @@ export declare namespace ProjectListResponse {
208
210
  onboardingDefault: boolean;
209
211
  sizes: Array<'nano' | 'micro' | 'medium' | 'large' | 'xl' | 'xxl' | 'ultra'>;
210
212
  warmPoolEnabled: boolean;
213
+ warmPoolSchedule: Item.WarmPoolSchedule | null;
211
214
  }
212
215
  namespace Item {
213
216
  interface ActiveSnapshot {
@@ -222,6 +225,86 @@ export declare namespace ProjectListResponse {
222
225
  */
223
226
  builtAt: string;
224
227
  }
228
+ interface ResourceSettings {
229
+ automaticSizing: true;
230
+ allocation?: ResourceSettings.Allocation;
231
+ }
232
+ namespace ResourceSettings {
233
+ interface Allocation {
234
+ /**
235
+ * @exclusiveMinimum 0
236
+ * @multipleOf 1024
237
+ */
238
+ memoryMinMb: number;
239
+ /**
240
+ * @exclusiveMinimum 0
241
+ * @multipleOf 1024
242
+ */
243
+ memoryMaxMb: number;
244
+ /**
245
+ * @exclusiveMinimum 0
246
+ */
247
+ diskSizeGb: number;
248
+ /**
249
+ * @exclusiveMinimum 0
250
+ */
251
+ cpuMin?: number;
252
+ /**
253
+ * @exclusiveMinimum 0
254
+ */
255
+ cpuMax?: number;
256
+ }
257
+ }
258
+ interface ResourceSettings2 {
259
+ automaticSizing: false;
260
+ allocation?: ResourceSettings2.Allocation;
261
+ }
262
+ namespace ResourceSettings2 {
263
+ interface Allocation {
264
+ /**
265
+ * @exclusiveMinimum 0
266
+ * @multipleOf 1024
267
+ */
268
+ memoryMinMb: number;
269
+ /**
270
+ * @exclusiveMinimum 0
271
+ * @multipleOf 1024
272
+ */
273
+ memoryMaxMb: number;
274
+ /**
275
+ * @exclusiveMinimum 0
276
+ */
277
+ diskSizeGb: number;
278
+ /**
279
+ * @exclusiveMinimum 0
280
+ */
281
+ cpuMin?: number;
282
+ /**
283
+ * @exclusiveMinimum 0
284
+ */
285
+ cpuMax?: number;
286
+ }
287
+ }
288
+ interface WarmPoolSchedule {
289
+ /**
290
+ * @minLength 1
291
+ * @maxLength 100
292
+ */
293
+ timezone: string;
294
+ /**
295
+ * @minItems 1
296
+ * @maxItems 7
297
+ */
298
+ days: Array<number>;
299
+ /**
300
+ * @pattern ^([01]\d|2[0-3]):[0-5]\d$
301
+ */
302
+ startTime: string;
303
+ /**
304
+ * @pattern ^(?:([01]\d|2[0-3]):[0-5]\d|24:00)$
305
+ */
306
+ endTime: string;
307
+ }
225
308
  }
226
309
  }
227
310
  export interface ProjectCreateParams {
@@ -231,24 +314,11 @@ export interface ProjectCreateParams {
231
314
  * @maxLength 120
232
315
  */
233
316
  name: string;
234
- /**
235
- * Workspace VM sizes to build for this project.
236
- * @minItems 1
237
- */
238
- sizes: Array<'nano' | 'micro' | 'medium' | 'large' | 'xl' | 'xxl' | 'ultra'>;
239
317
  /**
240
318
  * Short project description, or null to clear it.
241
319
  * @maxLength 300
242
320
  */
243
321
  description?: string | null;
244
- /**
245
- * Include project dependencies when building the environment. Defaults to true on creation.
246
- */
247
- includeDeps?: boolean;
248
- /**
249
- * Include skills in the project environment. Defaults to true on creation.
250
- */
251
- includeSkills?: boolean;
252
322
  /**
253
323
  * Setup script to run while building the environment, or null to clear it.
254
324
  * @maxLength 100000
@@ -271,6 +341,14 @@ export interface ProjectCreateParams {
271
341
  * Project display icon.
272
342
  */
273
343
  icon?: 'folder' | 'code' | 'terminal' | 'book' | 'brain' | 'bug' | 'building' | 'cloud' | 'globe' | 'idea' | 'tools' | 'magic' | 'processor' | 'sandbox' | 'server' | 'tasks' | 'tactics' | 'images' | 'database' | 'api' | 'mobile' | 'package';
344
+ /**
345
+ * Deprecated and ignored. Project builds always install dependencies.
346
+ */
347
+ includeDeps?: boolean;
348
+ /**
349
+ * Deprecated and ignored. Project builds always include skills.
350
+ */
351
+ includeSkills?: boolean;
274
352
  /**
275
353
  * Make this project the onboarding default for the organization.
276
354
  */
@@ -283,6 +361,16 @@ export interface ProjectCreateParams {
283
361
  * Recurring schedule for rebuilding the project environment.
284
362
  */
285
363
  schedule?: ProjectCreateParams.Schedule;
364
+ /**
365
+ * Workspace VM sizes to build for this project.
366
+ * @default ["medium"]
367
+ * @minItems 1
368
+ */
369
+ sizes?: Array<'nano' | 'micro' | 'medium' | 'large' | 'xl' | 'xxl' | 'ultra'>;
370
+ /**
371
+ * @default {"automaticSizing":false}
372
+ */
373
+ resourceSettings?: ProjectCreateParams.ResourceSettings | ProjectCreateParams.ResourceSettings2;
286
374
  }
287
375
  export declare namespace ProjectCreateParams {
288
376
  interface Schedule {
@@ -299,6 +387,66 @@ export declare namespace ProjectCreateParams {
299
387
  */
300
388
  timezone?: string;
301
389
  }
390
+ interface ResourceSettings {
391
+ automaticSizing: true;
392
+ allocation?: ResourceSettings.Allocation;
393
+ }
394
+ namespace ResourceSettings {
395
+ interface Allocation {
396
+ /**
397
+ * @exclusiveMinimum 0
398
+ * @multipleOf 1024
399
+ */
400
+ memoryMinMb: number;
401
+ /**
402
+ * @exclusiveMinimum 0
403
+ * @multipleOf 1024
404
+ */
405
+ memoryMaxMb: number;
406
+ /**
407
+ * @exclusiveMinimum 0
408
+ */
409
+ diskSizeGb: number;
410
+ /**
411
+ * @exclusiveMinimum 0
412
+ */
413
+ cpuMin?: number;
414
+ /**
415
+ * @exclusiveMinimum 0
416
+ */
417
+ cpuMax?: number;
418
+ }
419
+ }
420
+ interface ResourceSettings2 {
421
+ automaticSizing: false;
422
+ allocation?: ResourceSettings2.Allocation;
423
+ }
424
+ namespace ResourceSettings2 {
425
+ interface Allocation {
426
+ /**
427
+ * @exclusiveMinimum 0
428
+ * @multipleOf 1024
429
+ */
430
+ memoryMinMb: number;
431
+ /**
432
+ * @exclusiveMinimum 0
433
+ * @multipleOf 1024
434
+ */
435
+ memoryMaxMb: number;
436
+ /**
437
+ * @exclusiveMinimum 0
438
+ */
439
+ diskSizeGb: number;
440
+ /**
441
+ * @exclusiveMinimum 0
442
+ */
443
+ cpuMin?: number;
444
+ /**
445
+ * @exclusiveMinimum 0
446
+ */
447
+ cpuMax?: number;
448
+ }
449
+ }
302
450
  }
303
451
  export interface ProjectCreateResponse {
304
452
  jobIds: Array<string>;
@@ -316,8 +464,6 @@ export declare namespace ProjectCreateResponse {
316
464
  * @maxLength 255
317
465
  */
318
466
  id: string;
319
- includeDeps: boolean;
320
- includeSkills: boolean;
321
467
  name: string;
322
468
  setupScript: string | null;
323
469
  /**
@@ -325,6 +471,7 @@ export declare namespace ProjectCreateResponse {
325
471
  */
326
472
  updatedAt: string;
327
473
  activeSnapshots: Array<Project.ActiveSnapshot>;
474
+ resourceSettings: Project.ResourceSettings | Project.ResourceSettings2 | null;
328
475
  /**
329
476
  * @maxLength 20000
330
477
  */
@@ -339,6 +486,7 @@ export declare namespace ProjectCreateResponse {
339
486
  onboardingDefault: boolean;
340
487
  sizes: Array<'nano' | 'micro' | 'medium' | 'large' | 'xl' | 'xxl' | 'ultra'>;
341
488
  warmPoolEnabled: boolean;
489
+ warmPoolSchedule: Project.WarmPoolSchedule | null;
342
490
  }
343
491
  namespace Project {
344
492
  interface ActiveSnapshot {
@@ -353,6 +501,86 @@ export declare namespace ProjectCreateResponse {
353
501
  */
354
502
  builtAt: string;
355
503
  }
504
+ interface ResourceSettings {
505
+ automaticSizing: true;
506
+ allocation?: ResourceSettings.Allocation;
507
+ }
508
+ namespace ResourceSettings {
509
+ interface Allocation {
510
+ /**
511
+ * @exclusiveMinimum 0
512
+ * @multipleOf 1024
513
+ */
514
+ memoryMinMb: number;
515
+ /**
516
+ * @exclusiveMinimum 0
517
+ * @multipleOf 1024
518
+ */
519
+ memoryMaxMb: number;
520
+ /**
521
+ * @exclusiveMinimum 0
522
+ */
523
+ diskSizeGb: number;
524
+ /**
525
+ * @exclusiveMinimum 0
526
+ */
527
+ cpuMin?: number;
528
+ /**
529
+ * @exclusiveMinimum 0
530
+ */
531
+ cpuMax?: number;
532
+ }
533
+ }
534
+ interface ResourceSettings2 {
535
+ automaticSizing: false;
536
+ allocation?: ResourceSettings2.Allocation;
537
+ }
538
+ namespace ResourceSettings2 {
539
+ interface Allocation {
540
+ /**
541
+ * @exclusiveMinimum 0
542
+ * @multipleOf 1024
543
+ */
544
+ memoryMinMb: number;
545
+ /**
546
+ * @exclusiveMinimum 0
547
+ * @multipleOf 1024
548
+ */
549
+ memoryMaxMb: number;
550
+ /**
551
+ * @exclusiveMinimum 0
552
+ */
553
+ diskSizeGb: number;
554
+ /**
555
+ * @exclusiveMinimum 0
556
+ */
557
+ cpuMin?: number;
558
+ /**
559
+ * @exclusiveMinimum 0
560
+ */
561
+ cpuMax?: number;
562
+ }
563
+ }
564
+ interface WarmPoolSchedule {
565
+ /**
566
+ * @minLength 1
567
+ * @maxLength 100
568
+ */
569
+ timezone: string;
570
+ /**
571
+ * @minItems 1
572
+ * @maxItems 7
573
+ */
574
+ days: Array<number>;
575
+ /**
576
+ * @pattern ^([01]\d|2[0-3]):[0-5]\d$
577
+ */
578
+ startTime: string;
579
+ /**
580
+ * @pattern ^(?:([01]\d|2[0-3]):[0-5]\d|24:00)$
581
+ */
582
+ endTime: string;
583
+ }
356
584
  }
357
585
  }
358
586
  export interface ProjectRetrieveResponse {
@@ -366,8 +594,6 @@ export interface ProjectRetrieveResponse {
366
594
  * @maxLength 255
367
595
  */
368
596
  id: string;
369
- includeDeps: boolean;
370
- includeSkills: boolean;
371
597
  name: string;
372
598
  setupScript: string | null;
373
599
  /**
@@ -375,6 +601,7 @@ export interface ProjectRetrieveResponse {
375
601
  */
376
602
  updatedAt: string;
377
603
  activeSnapshots: Array<ProjectRetrieveResponse.ActiveSnapshot>;
604
+ resourceSettings: ProjectRetrieveResponse.ResourceSettings | ProjectRetrieveResponse.ResourceSettings2 | null;
378
605
  /**
379
606
  * @maxLength 20000
380
607
  */
@@ -389,6 +616,7 @@ export interface ProjectRetrieveResponse {
389
616
  onboardingDefault: boolean;
390
617
  sizes: Array<'nano' | 'micro' | 'medium' | 'large' | 'xl' | 'xxl' | 'ultra'>;
391
618
  warmPoolEnabled: boolean;
619
+ warmPoolSchedule: ProjectRetrieveResponse.WarmPoolSchedule | null;
392
620
  }
393
621
  export declare namespace ProjectRetrieveResponse {
394
622
  interface ActiveSnapshot {
@@ -403,6 +631,86 @@ export declare namespace ProjectRetrieveResponse {
403
631
  */
404
632
  builtAt: string;
405
633
  }
634
+ interface ResourceSettings {
635
+ automaticSizing: true;
636
+ allocation?: ResourceSettings.Allocation;
637
+ }
638
+ namespace ResourceSettings {
639
+ interface Allocation {
640
+ /**
641
+ * @exclusiveMinimum 0
642
+ * @multipleOf 1024
643
+ */
644
+ memoryMinMb: number;
645
+ /**
646
+ * @exclusiveMinimum 0
647
+ * @multipleOf 1024
648
+ */
649
+ memoryMaxMb: number;
650
+ /**
651
+ * @exclusiveMinimum 0
652
+ */
653
+ diskSizeGb: number;
654
+ /**
655
+ * @exclusiveMinimum 0
656
+ */
657
+ cpuMin?: number;
658
+ /**
659
+ * @exclusiveMinimum 0
660
+ */
661
+ cpuMax?: number;
662
+ }
663
+ }
664
+ interface ResourceSettings2 {
665
+ automaticSizing: false;
666
+ allocation?: ResourceSettings2.Allocation;
667
+ }
668
+ namespace ResourceSettings2 {
669
+ interface Allocation {
670
+ /**
671
+ * @exclusiveMinimum 0
672
+ * @multipleOf 1024
673
+ */
674
+ memoryMinMb: number;
675
+ /**
676
+ * @exclusiveMinimum 0
677
+ * @multipleOf 1024
678
+ */
679
+ memoryMaxMb: number;
680
+ /**
681
+ * @exclusiveMinimum 0
682
+ */
683
+ diskSizeGb: number;
684
+ /**
685
+ * @exclusiveMinimum 0
686
+ */
687
+ cpuMin?: number;
688
+ /**
689
+ * @exclusiveMinimum 0
690
+ */
691
+ cpuMax?: number;
692
+ }
693
+ }
694
+ interface WarmPoolSchedule {
695
+ /**
696
+ * @minLength 1
697
+ * @maxLength 100
698
+ */
699
+ timezone: string;
700
+ /**
701
+ * @minItems 1
702
+ * @maxItems 7
703
+ */
704
+ days: Array<number>;
705
+ /**
706
+ * @pattern ^([01]\d|2[0-3]):[0-5]\d$
707
+ */
708
+ startTime: string;
709
+ /**
710
+ * @pattern ^(?:([01]\d|2[0-3]):[0-5]\d|24:00)$
711
+ */
712
+ endTime: string;
713
+ }
406
714
  }
407
715
  export interface ProjectUpdateParams {
408
716
  /**
@@ -410,14 +718,6 @@ export interface ProjectUpdateParams {
410
718
  * @maxLength 300
411
719
  */
412
720
  description?: string | null;
413
- /**
414
- * Include project dependencies when building the environment. Defaults to true on creation.
415
- */
416
- includeDeps?: boolean;
417
- /**
418
- * Include skills in the project environment. Defaults to true on creation.
419
- */
420
- includeSkills?: boolean;
421
721
  /**
422
722
  * Project display name.
423
723
  * @minLength 1
@@ -446,6 +746,18 @@ export interface ProjectUpdateParams {
446
746
  * Project display icon.
447
747
  */
448
748
  icon?: 'folder' | 'code' | 'terminal' | 'book' | 'brain' | 'bug' | 'building' | 'cloud' | 'globe' | 'idea' | 'tools' | 'magic' | 'processor' | 'sandbox' | 'server' | 'tasks' | 'tactics' | 'images' | 'database' | 'api' | 'mobile' | 'package';
749
+ /**
750
+ * Deprecated and ignored. Project builds always install dependencies.
751
+ */
752
+ includeDeps?: boolean;
753
+ /**
754
+ * Deprecated and ignored. Project builds always include skills.
755
+ */
756
+ includeSkills?: boolean;
757
+ /**
758
+ * @default {"automaticSizing":false}
759
+ */
760
+ resourceSettings?: ProjectUpdateParams.ResourceSettings | ProjectUpdateParams.ResourceSettings2;
449
761
  /**
450
762
  * VM sizes for which this project is the organization default. An empty array removes its default assignments.
451
763
  */
@@ -463,12 +775,76 @@ export interface ProjectUpdateParams {
463
775
  * @minItems 1
464
776
  */
465
777
  sizes?: Array<'nano' | 'micro' | 'medium' | 'large' | 'xl' | 'xxl' | 'ultra'>;
778
+ /**
779
+ * Weekly availability for prewarmed VMs. Null means always on; days use 0=Sunday. Overnight windows end the following day.
780
+ */
781
+ warmPoolSchedule?: ProjectUpdateParams.WarmPoolSchedule | null;
466
782
  /**
467
783
  * Enable or disable prewarmed VMs for this project.
468
784
  */
469
785
  warmPoolEnabled?: boolean;
470
786
  }
471
787
  export declare namespace ProjectUpdateParams {
788
+ interface ResourceSettings {
789
+ automaticSizing: true;
790
+ allocation?: ResourceSettings.Allocation;
791
+ }
792
+ namespace ResourceSettings {
793
+ interface Allocation {
794
+ /**
795
+ * @exclusiveMinimum 0
796
+ * @multipleOf 1024
797
+ */
798
+ memoryMinMb: number;
799
+ /**
800
+ * @exclusiveMinimum 0
801
+ * @multipleOf 1024
802
+ */
803
+ memoryMaxMb: number;
804
+ /**
805
+ * @exclusiveMinimum 0
806
+ */
807
+ diskSizeGb: number;
808
+ /**
809
+ * @exclusiveMinimum 0
810
+ */
811
+ cpuMin?: number;
812
+ /**
813
+ * @exclusiveMinimum 0
814
+ */
815
+ cpuMax?: number;
816
+ }
817
+ }
818
+ interface ResourceSettings2 {
819
+ automaticSizing: false;
820
+ allocation?: ResourceSettings2.Allocation;
821
+ }
822
+ namespace ResourceSettings2 {
823
+ interface Allocation {
824
+ /**
825
+ * @exclusiveMinimum 0
826
+ * @multipleOf 1024
827
+ */
828
+ memoryMinMb: number;
829
+ /**
830
+ * @exclusiveMinimum 0
831
+ * @multipleOf 1024
832
+ */
833
+ memoryMaxMb: number;
834
+ /**
835
+ * @exclusiveMinimum 0
836
+ */
837
+ diskSizeGb: number;
838
+ /**
839
+ * @exclusiveMinimum 0
840
+ */
841
+ cpuMin?: number;
842
+ /**
843
+ * @exclusiveMinimum 0
844
+ */
845
+ cpuMax?: number;
846
+ }
847
+ }
472
848
  interface Schedule {
473
849
  /**
474
850
  * Replace the recurring project build cron expression.
@@ -487,6 +863,26 @@ export declare namespace ProjectUpdateParams {
487
863
  */
488
864
  timezone?: string | null;
489
865
  }
866
+ interface WarmPoolSchedule {
867
+ /**
868
+ * @minLength 1
869
+ * @maxLength 100
870
+ */
871
+ timezone: string;
872
+ /**
873
+ * @minItems 1
874
+ * @maxItems 7
875
+ */
876
+ days: Array<number>;
877
+ /**
878
+ * @pattern ^([01]\d|2[0-3]):[0-5]\d$
879
+ */
880
+ startTime: string;
881
+ /**
882
+ * @pattern ^(?:([01]\d|2[0-3]):[0-5]\d|24:00)$
883
+ */
884
+ endTime: string;
885
+ }
490
886
  }
491
887
  export interface ProjectUpdateResponse {
492
888
  /**
@@ -499,8 +895,6 @@ export interface ProjectUpdateResponse {
499
895
  * @maxLength 255
500
896
  */
501
897
  id: string;
502
- includeDeps: boolean;
503
- includeSkills: boolean;
504
898
  name: string;
505
899
  setupScript: string | null;
506
900
  /**
@@ -508,6 +902,7 @@ export interface ProjectUpdateResponse {
508
902
  */
509
903
  updatedAt: string;
510
904
  activeSnapshots: Array<ProjectUpdateResponse.ActiveSnapshot>;
905
+ resourceSettings: ProjectUpdateResponse.ResourceSettings | ProjectUpdateResponse.ResourceSettings2 | null;
511
906
  /**
512
907
  * @maxLength 20000
513
908
  */
@@ -522,6 +917,7 @@ export interface ProjectUpdateResponse {
522
917
  onboardingDefault: boolean;
523
918
  sizes: Array<'nano' | 'micro' | 'medium' | 'large' | 'xl' | 'xxl' | 'ultra'>;
524
919
  warmPoolEnabled: boolean;
920
+ warmPoolSchedule: ProjectUpdateResponse.WarmPoolSchedule | null;
525
921
  }
526
922
  export declare namespace ProjectUpdateResponse {
527
923
  interface ActiveSnapshot {
@@ -536,6 +932,86 @@ export declare namespace ProjectUpdateResponse {
536
932
  */
537
933
  builtAt: string;
538
934
  }
935
+ interface ResourceSettings {
936
+ automaticSizing: true;
937
+ allocation?: ResourceSettings.Allocation;
938
+ }
939
+ namespace ResourceSettings {
940
+ interface Allocation {
941
+ /**
942
+ * @exclusiveMinimum 0
943
+ * @multipleOf 1024
944
+ */
945
+ memoryMinMb: number;
946
+ /**
947
+ * @exclusiveMinimum 0
948
+ * @multipleOf 1024
949
+ */
950
+ memoryMaxMb: number;
951
+ /**
952
+ * @exclusiveMinimum 0
953
+ */
954
+ diskSizeGb: number;
955
+ /**
956
+ * @exclusiveMinimum 0
957
+ */
958
+ cpuMin?: number;
959
+ /**
960
+ * @exclusiveMinimum 0
961
+ */
962
+ cpuMax?: number;
963
+ }
964
+ }
965
+ interface ResourceSettings2 {
966
+ automaticSizing: false;
967
+ allocation?: ResourceSettings2.Allocation;
968
+ }
969
+ namespace ResourceSettings2 {
970
+ interface Allocation {
971
+ /**
972
+ * @exclusiveMinimum 0
973
+ * @multipleOf 1024
974
+ */
975
+ memoryMinMb: number;
976
+ /**
977
+ * @exclusiveMinimum 0
978
+ * @multipleOf 1024
979
+ */
980
+ memoryMaxMb: number;
981
+ /**
982
+ * @exclusiveMinimum 0
983
+ */
984
+ diskSizeGb: number;
985
+ /**
986
+ * @exclusiveMinimum 0
987
+ */
988
+ cpuMin?: number;
989
+ /**
990
+ * @exclusiveMinimum 0
991
+ */
992
+ cpuMax?: number;
993
+ }
994
+ }
995
+ interface WarmPoolSchedule {
996
+ /**
997
+ * @minLength 1
998
+ * @maxLength 100
999
+ */
1000
+ timezone: string;
1001
+ /**
1002
+ * @minItems 1
1003
+ * @maxItems 7
1004
+ */
1005
+ days: Array<number>;
1006
+ /**
1007
+ * @pattern ^([01]\d|2[0-3]):[0-5]\d$
1008
+ */
1009
+ startTime: string;
1010
+ /**
1011
+ * @pattern ^(?:([01]\d|2[0-3]):[0-5]\d|24:00)$
1012
+ */
1013
+ endTime: string;
1014
+ }
539
1015
  }
540
1016
  export interface ProjectDeleteResponse {
541
1017
  deleted: true;
@@ -561,8 +1037,6 @@ export declare namespace ProjectDuplicateResponse {
561
1037
  * @maxLength 255
562
1038
  */
563
1039
  id: string;
564
- includeDeps: boolean;
565
- includeSkills: boolean;
566
1040
  name: string;
567
1041
  setupScript: string | null;
568
1042
  /**
@@ -570,6 +1044,7 @@ export declare namespace ProjectDuplicateResponse {
570
1044
  */
571
1045
  updatedAt: string;
572
1046
  activeSnapshots: Array<Project.ActiveSnapshot>;
1047
+ resourceSettings: Project.ResourceSettings | Project.ResourceSettings2 | null;
573
1048
  /**
574
1049
  * @maxLength 20000
575
1050
  */
@@ -584,6 +1059,7 @@ export declare namespace ProjectDuplicateResponse {
584
1059
  onboardingDefault: boolean;
585
1060
  sizes: Array<'nano' | 'micro' | 'medium' | 'large' | 'xl' | 'xxl' | 'ultra'>;
586
1061
  warmPoolEnabled: boolean;
1062
+ warmPoolSchedule: Project.WarmPoolSchedule | null;
587
1063
  }
588
1064
  namespace Project {
589
1065
  interface ActiveSnapshot {
@@ -598,6 +1074,86 @@ export declare namespace ProjectDuplicateResponse {
598
1074
  */
599
1075
  builtAt: string;
600
1076
  }
1077
+ interface ResourceSettings {
1078
+ automaticSizing: true;
1079
+ allocation?: ResourceSettings.Allocation;
1080
+ }
1081
+ namespace ResourceSettings {
1082
+ interface Allocation {
1083
+ /**
1084
+ * @exclusiveMinimum 0
1085
+ * @multipleOf 1024
1086
+ */
1087
+ memoryMinMb: number;
1088
+ /**
1089
+ * @exclusiveMinimum 0
1090
+ * @multipleOf 1024
1091
+ */
1092
+ memoryMaxMb: number;
1093
+ /**
1094
+ * @exclusiveMinimum 0
1095
+ */
1096
+ diskSizeGb: number;
1097
+ /**
1098
+ * @exclusiveMinimum 0
1099
+ */
1100
+ cpuMin?: number;
1101
+ /**
1102
+ * @exclusiveMinimum 0
1103
+ */
1104
+ cpuMax?: number;
1105
+ }
1106
+ }
1107
+ interface ResourceSettings2 {
1108
+ automaticSizing: false;
1109
+ allocation?: ResourceSettings2.Allocation;
1110
+ }
1111
+ namespace ResourceSettings2 {
1112
+ interface Allocation {
1113
+ /**
1114
+ * @exclusiveMinimum 0
1115
+ * @multipleOf 1024
1116
+ */
1117
+ memoryMinMb: number;
1118
+ /**
1119
+ * @exclusiveMinimum 0
1120
+ * @multipleOf 1024
1121
+ */
1122
+ memoryMaxMb: number;
1123
+ /**
1124
+ * @exclusiveMinimum 0
1125
+ */
1126
+ diskSizeGb: number;
1127
+ /**
1128
+ * @exclusiveMinimum 0
1129
+ */
1130
+ cpuMin?: number;
1131
+ /**
1132
+ * @exclusiveMinimum 0
1133
+ */
1134
+ cpuMax?: number;
1135
+ }
1136
+ }
1137
+ interface WarmPoolSchedule {
1138
+ /**
1139
+ * @minLength 1
1140
+ * @maxLength 100
1141
+ */
1142
+ timezone: string;
1143
+ /**
1144
+ * @minItems 1
1145
+ * @maxItems 7
1146
+ */
1147
+ days: Array<number>;
1148
+ /**
1149
+ * @pattern ^([01]\d|2[0-3]):[0-5]\d$
1150
+ */
1151
+ startTime: string;
1152
+ /**
1153
+ * @pattern ^(?:([01]\d|2[0-3]):[0-5]\d|24:00)$
1154
+ */
1155
+ endTime: string;
1156
+ }
601
1157
  }
602
1158
  }
603
1159
  export declare namespace Projects {