palbase 0.41.4 → 0.43.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 (47) hide show
  1. package/dist/ai/index.js +2 -2
  2. package/dist/backend/engine.js +2 -2
  3. package/dist/backend/env.js +1 -1
  4. package/dist/backend/index.js +3 -3
  5. package/dist/backend/stack.js +1 -1
  6. package/dist/backend/test.js +2 -2
  7. package/dist/chunks/{QSE6AXUX.js → 3ALES4GW.js} +2 -2
  8. package/dist/chunks/{VRZ7MRR6.js → 3V2R2TR6.js} +2 -2
  9. package/dist/chunks/{C6JQWQXK.js → AUC3MGB4.js} +2 -2
  10. package/dist/chunks/{K52TUTTG.js → BWIMMYGK.js} +1 -1
  11. package/dist/chunks/{6MKBZUG5.js → CBK44RD7.js} +2 -2
  12. package/dist/chunks/{C4OVKHUJ.js → CSID6M5K.js} +2 -2
  13. package/dist/chunks/{KNHSVBEA.js → EAJCQWVC.js} +2 -2
  14. package/dist/chunks/{H5WYPJLL.js → FZNQI5NX.js} +2 -2
  15. package/dist/chunks/{ZQCMWPHA.js → GZEMT4H6.js} +1 -1
  16. package/dist/chunks/{TYKPS74C.js → H5SQFLB3.js} +2 -2
  17. package/dist/chunks/{FVE3IWT3.js → MA5NFRFD.js} +2 -2
  18. package/dist/chunks/{KKABIMVR.js → NKCDKRXI.js} +1 -1
  19. package/dist/chunks/{IDSPY65Y.js → OGKO54KL.js} +2 -2
  20. package/dist/chunks/{SQN7IT6S.js → OLNURQ4L.js} +2 -2
  21. package/dist/chunks/{2SUA35T2.js → PJEZZBOH.js} +2 -2
  22. package/dist/chunks/{GD2XG6E7.js → S6A4TOX6.js} +2 -2
  23. package/dist/chunks/{C6YBUYN7.js → SPMDE427.js} +2 -2
  24. package/dist/chunks/{X36WQ74J.js → UGHHYBPH.js} +1 -1
  25. package/dist/chunks/{XOQ7TMUA.js → UKI3AVCQ.js} +1 -1
  26. package/dist/chunks/{AM2ZKQIS.js → VKHVVO5Q.js} +1 -1
  27. package/dist/chunks/{MGDPW7FN.js → W6Q2GC64.js} +2 -2
  28. package/dist/chunks/{FDS4L27H.js → YKF4DIDX.js} +2 -2
  29. package/dist/chunks/{5JIVYVVV.js → ZP5GL5XR.js} +1 -1
  30. package/dist/cli.js +126 -126
  31. package/dist/cloud/index.js +2 -2
  32. package/dist/refuse/ai.js +1 -1
  33. package/dist/refuse/backend.js +1 -1
  34. package/dist/refuse/cloud.js +1 -1
  35. package/dist/refuse/server.js +1 -1
  36. package/dist/server/index.js +2 -2
  37. package/dist/server/testing.js +2 -2
  38. package/dist/web/index.js +2 -2
  39. package/dist/web/message.js +2 -2
  40. package/dist/web/palbe.js +2 -2
  41. package/dist/web/paywall.js +2 -2
  42. package/dist/web/push-sw.js +1 -1
  43. package/dist/web/ssr.js +2 -2
  44. package/dist/web/vite.js +2 -2
  45. package/package.json +2 -2
  46. package/types/cloud/src/generated/studio.d.ts +92 -61
  47. package/types/internal/src/modules/machines.d.ts +90 -38
@@ -347,10 +347,10 @@ export declare function client(t: Transport): {
347
347
  signal?: AbortSignal;
348
348
  }): Promise<Reply<200, ({
349
349
  id: string;
350
- organization_id: string;
351
350
  name: string;
352
- created_by: string | null;
353
351
  created_at: string;
352
+ created_by: string | null;
353
+ organization_id: string;
354
354
  }) | null>>;
355
355
  addEnvironment(input: {
356
356
  path: {
@@ -1336,13 +1336,6 @@ export declare function client(t: Transport): {
1336
1336
  }; /** Stops the call: the request in flight, a wait before a retry, a proof-of-work being solved. */
1337
1337
  signal?: AbortSignal;
1338
1338
  }): Promise<Reply<200, {
1339
- environments: ({
1340
- platform_id: string;
1341
- ref: string;
1342
- name: string;
1343
- project_id: string;
1344
- project_name: string;
1345
- })[];
1346
1339
  organization_id: string;
1347
1340
  exempt: boolean;
1348
1341
  has_account: boolean;
@@ -1374,14 +1367,11 @@ export declare function client(t: Transport): {
1374
1367
  owed_micros?: number;
1375
1368
  projects: ({
1376
1369
  project_id: string;
1377
- ref: string;
1378
1370
  name: string;
1379
1371
  plan: "free" | "pay_as_you_go";
1380
1372
  paid: boolean;
1381
- frozen: boolean;
1382
1373
  at_limit: boolean;
1383
1374
  gone: boolean;
1384
- deleted: boolean;
1385
1375
  monthly_limit_micros?: number | null;
1386
1376
  charged_micros?: number;
1387
1377
  gross_micros?: number;
@@ -1392,6 +1382,20 @@ export declare function client(t: Transport): {
1392
1382
  gross_micros?: number;
1393
1383
  micros?: number;
1394
1384
  })[];
1385
+ environments: ({
1386
+ id: string;
1387
+ ref: string;
1388
+ name: string;
1389
+ paid: boolean;
1390
+ frozen: boolean;
1391
+ deleted: boolean;
1392
+ items: ({
1393
+ item: string;
1394
+ units: number;
1395
+ gross_micros?: number;
1396
+ micros?: number;
1397
+ })[];
1398
+ })[];
1395
1399
  })[];
1396
1400
  }>>;
1397
1401
  confirm(input: {
@@ -1539,13 +1543,7 @@ export declare function client(t: Transport): {
1539
1543
  units: number;
1540
1544
  gross_micros: number;
1541
1545
  micros: number;
1542
- environment: ({
1543
- platform_id: string;
1544
- ref: string;
1545
- name: string;
1546
- project_id: string;
1547
- project_name: string;
1548
- }) | null;
1546
+ project: string | null;
1549
1547
  })[];
1550
1548
  owed_micros: {
1551
1549
  [key: string]: number;
@@ -1563,9 +1561,6 @@ export declare function client(t: Transport): {
1563
1561
  invoices(input: {
1564
1562
  path: {
1565
1563
  id: string;
1566
- };
1567
- query?: {
1568
- environment?: string;
1569
1564
  }; /** Stops the call: the request in flight, a wait before a retry, a proof-of-work being solved. */
1570
1565
  signal?: AbortSignal;
1571
1566
  }): Promise<Reply<200, {
@@ -1584,10 +1579,8 @@ export declare function client(t: Transport): {
1584
1579
  created_at: string;
1585
1580
  number: string | null;
1586
1581
  environment: ({
1587
- platform_id: string;
1588
1582
  ref: string;
1589
1583
  name: string;
1590
- project_id: string;
1591
1584
  project_name: string;
1592
1585
  }) | null;
1593
1586
  })[];
@@ -1604,13 +1597,6 @@ export declare function client(t: Transport): {
1604
1597
  }; /** Stops the call: the request in flight, a wait before a retry, a proof-of-work being solved. */
1605
1598
  signal?: AbortSignal;
1606
1599
  }): Promise<Reply<200, {
1607
- environments: ({
1608
- platform_id: string;
1609
- ref: string;
1610
- name: string;
1611
- project_id: string;
1612
- project_name: string;
1613
- })[];
1614
1600
  organization_id: string;
1615
1601
  exempt: boolean;
1616
1602
  has_account: boolean;
@@ -1642,14 +1628,11 @@ export declare function client(t: Transport): {
1642
1628
  owed_micros?: number;
1643
1629
  projects: ({
1644
1630
  project_id: string;
1645
- ref: string;
1646
1631
  name: string;
1647
1632
  plan: "free" | "pay_as_you_go";
1648
1633
  paid: boolean;
1649
- frozen: boolean;
1650
1634
  at_limit: boolean;
1651
1635
  gone: boolean;
1652
- deleted: boolean;
1653
1636
  monthly_limit_micros?: number | null;
1654
1637
  charged_micros?: number;
1655
1638
  gross_micros?: number;
@@ -1660,6 +1643,20 @@ export declare function client(t: Transport): {
1660
1643
  gross_micros?: number;
1661
1644
  micros?: number;
1662
1645
  })[];
1646
+ environments: ({
1647
+ id: string;
1648
+ ref: string;
1649
+ name: string;
1650
+ paid: boolean;
1651
+ frozen: boolean;
1652
+ deleted: boolean;
1653
+ items: ({
1654
+ item: string;
1655
+ units: number;
1656
+ gross_micros?: number;
1657
+ micros?: number;
1658
+ })[];
1659
+ })[];
1663
1660
  })[];
1664
1661
  }>>;
1665
1662
  paid(input: {
@@ -1671,7 +1668,7 @@ export declare function client(t: Transport): {
1671
1668
  organizations: ({
1672
1669
  organization_id: string;
1673
1670
  name: string;
1674
- environments: number;
1671
+ projects: number;
1675
1672
  pay_as_you_go: number;
1676
1673
  })[];
1677
1674
  }>>;
@@ -1705,9 +1702,8 @@ export declare function client(t: Transport): {
1705
1702
  owed_micros: number;
1706
1703
  charged_micros: number;
1707
1704
  gross_micros: number;
1708
- environments: ({
1705
+ projects: ({
1709
1706
  project_id: string;
1710
- ref: string;
1711
1707
  name: string;
1712
1708
  owed_micros: number;
1713
1709
  charged_micros: number;
@@ -1718,13 +1714,15 @@ export declare function client(t: Transport): {
1718
1714
  gross_micros: number;
1719
1715
  micros: number;
1720
1716
  })[];
1721
- environment: ({
1722
- platform_id: string;
1717
+ environments: ({
1718
+ id: string;
1723
1719
  ref: string;
1724
1720
  name: string;
1725
- project_id: string;
1726
- project_name: string;
1727
- }) | null;
1721
+ items: ({
1722
+ item: string;
1723
+ units: number;
1724
+ })[];
1725
+ })[];
1728
1726
  })[];
1729
1727
  })[];
1730
1728
  }>>;
@@ -1737,22 +1735,19 @@ export declare function client(t: Transport): {
1737
1735
  }; /** Stops the call: the request in flight, a wait before a retry, a proof-of-work being solved. */
1738
1736
  signal?: AbortSignal;
1739
1737
  }): Promise<Reply<number, Response>>;
1740
- environment(input: {
1738
+ project(input: {
1741
1739
  path: {
1742
1740
  id: string;
1743
- ref: string;
1741
+ project: string;
1744
1742
  }; /** Stops the call: the request in flight, a wait before a retry, a proof-of-work being solved. */
1745
1743
  signal?: AbortSignal;
1746
1744
  }): Promise<Reply<200, {
1747
1745
  project_id: string;
1748
- ref: string;
1749
1746
  name: string;
1750
1747
  plan: "free" | "pay_as_you_go";
1751
1748
  paid: boolean;
1752
- frozen: boolean;
1753
1749
  at_limit: boolean;
1754
1750
  gone: boolean;
1755
- deleted: boolean;
1756
1751
  monthly_limit_micros?: number | null;
1757
1752
  charged_micros?: number;
1758
1753
  gross_micros?: number;
@@ -1763,38 +1758,41 @@ export declare function client(t: Transport): {
1763
1758
  gross_micros?: number;
1764
1759
  micros?: number;
1765
1760
  })[];
1766
- environment: {
1767
- platform_id: string;
1761
+ environments: ({
1762
+ id: string;
1768
1763
  ref: string;
1769
1764
  name: string;
1770
- project_id: string;
1771
- project_name: string;
1772
- };
1765
+ paid: boolean;
1766
+ frozen: boolean;
1767
+ deleted: boolean;
1768
+ items: ({
1769
+ item: string;
1770
+ units: number;
1771
+ gross_micros?: number;
1772
+ micros?: number;
1773
+ })[];
1774
+ })[];
1773
1775
  }>>;
1774
1776
  steer(input: {
1775
1777
  path: {
1776
1778
  id: string;
1777
- ref: string;
1779
+ project: string;
1778
1780
  };
1779
1781
  headers?: {
1780
1782
  "Idempotency-Key"?: string;
1781
1783
  };
1782
1784
  body?: {
1783
1785
  plan?: "free" | "pay_as_you_go";
1784
- frozen?: boolean;
1785
1786
  monthly_limit_micros?: number | null;
1786
1787
  }; /** Stops the call: the request in flight, a wait before a retry, a proof-of-work being solved. */
1787
1788
  signal?: AbortSignal;
1788
1789
  }): Promise<Reply<200, {
1789
1790
  project_id: string;
1790
- ref: string;
1791
1791
  name: string;
1792
1792
  plan: "free" | "pay_as_you_go";
1793
1793
  paid: boolean;
1794
- frozen: boolean;
1795
1794
  at_limit: boolean;
1796
1795
  gone: boolean;
1797
- deleted: boolean;
1798
1796
  monthly_limit_micros?: number | null;
1799
1797
  charged_micros?: number;
1800
1798
  gross_micros?: number;
@@ -1805,13 +1803,46 @@ export declare function client(t: Transport): {
1805
1803
  gross_micros?: number;
1806
1804
  micros?: number;
1807
1805
  })[];
1808
- environment: {
1809
- platform_id: string;
1806
+ environments: ({
1807
+ id: string;
1810
1808
  ref: string;
1811
1809
  name: string;
1812
- project_id: string;
1813
- project_name: string;
1810
+ paid: boolean;
1811
+ frozen: boolean;
1812
+ deleted: boolean;
1813
+ items: ({
1814
+ item: string;
1815
+ units: number;
1816
+ gross_micros?: number;
1817
+ micros?: number;
1818
+ })[];
1819
+ })[];
1820
+ }>>;
1821
+ freeze(input: {
1822
+ path: {
1823
+ id: string;
1824
+ ref: string;
1825
+ };
1826
+ headers?: {
1827
+ "Idempotency-Key"?: string;
1814
1828
  };
1829
+ body: {
1830
+ frozen: boolean;
1831
+ }; /** Stops the call: the request in flight, a wait before a retry, a proof-of-work being solved. */
1832
+ signal?: AbortSignal;
1833
+ }): Promise<Reply<200, {
1834
+ id: string;
1835
+ ref: string;
1836
+ name: string;
1837
+ paid: boolean;
1838
+ frozen: boolean;
1839
+ deleted: boolean;
1840
+ items: ({
1841
+ item: string;
1842
+ units: number;
1843
+ gross_micros?: number;
1844
+ micros?: number;
1845
+ })[];
1815
1846
  }>>;
1816
1847
  };
1817
1848
  accessRequests: {