hcloud-sdk 22.18.0 → 22.19.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.
package/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
- ## [22.18.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.17.0...v22.18.0) (2026-08-11)
1
+ ## [22.19.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.18.0...v22.19.0) (2026-08-11)
2
2
 
3
3
  ### Features
4
4
 
5
- * add ai to products ([d678f80](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/d678f809f204ae248afa1268bafbd06452f11b83))
5
+ * update error codes ([839e7d0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/839e7d0ce5eb80ddc56be48d29a23c93a2c133c0))
@@ -1422,5 +1422,53 @@ export declare const ErrorCodes: readonly [{
1422
1422
  readonly code: "010.046.0001";
1423
1423
  readonly error: "short.not.found";
1424
1424
  readonly message: "Given short URL not found";
1425
+ }, {
1426
+ readonly code: "011.000.0002";
1427
+ readonly error: "internal.server.error";
1428
+ readonly message: "Specific message describing the problem";
1429
+ }, {
1430
+ readonly code: "011.000.0003";
1431
+ readonly error: "invalid.parameter";
1432
+ readonly message: "Failed to validate 'type' parameter 'paramKey' - specificMessage";
1433
+ }, {
1434
+ readonly code: "011.000.0004";
1435
+ readonly error: "invalid.body";
1436
+ readonly message: "Detailed message";
1437
+ }, {
1438
+ readonly code: "011.000.0005";
1439
+ readonly error: "payload.too.large";
1440
+ readonly message: "Payload sent is too large. Maximum is {{maxSize}}";
1441
+ }, {
1442
+ readonly code: "011.000.0006";
1443
+ readonly error: "not.implemented";
1444
+ readonly message: "Feature not implemented";
1445
+ }, {
1446
+ readonly code: "011.000.0007";
1447
+ readonly error: "empty.update";
1448
+ readonly message: "Update with no changes attempted";
1449
+ }, {
1450
+ readonly code: "011.000.0008";
1451
+ readonly error: "unsupported";
1452
+ readonly message: "Unsupported: {{message}}";
1453
+ }, {
1454
+ readonly code: "011.001.0001";
1455
+ readonly error: "unauthorized";
1456
+ readonly message: "You're not authorized";
1457
+ }, {
1458
+ readonly code: "011.001.0002";
1459
+ readonly error: "missing.auth.token";
1460
+ readonly message: "Expected an authentication token that has not been provided";
1461
+ }, {
1462
+ readonly code: "011.001.0003";
1463
+ readonly error: "wrong.auth.token";
1464
+ readonly message: "Your authentication token is invalid";
1465
+ }, {
1466
+ readonly code: "011.001.0004";
1467
+ readonly error: "insufficient.rights";
1468
+ readonly message: "You have not enough rights to access/manipulate this resource";
1469
+ }, {
1470
+ readonly code: "011.023.0001";
1471
+ readonly error: "search.invalid.filter";
1472
+ readonly message: "The value of the filter property 'field' is invalid";
1425
1473
  }];
1426
1474
  export type ErrorCode = (typeof ErrorCodes)[number]["code"];
@@ -1782,5 +1782,65 @@ exports.ErrorCodes = [
1782
1782
  code: "010.046.0001",
1783
1783
  error: "short.not.found",
1784
1784
  message: "Given short URL not found"
1785
+ },
1786
+ {
1787
+ code: "011.000.0002",
1788
+ error: "internal.server.error",
1789
+ message: "Specific message describing the problem"
1790
+ },
1791
+ {
1792
+ code: "011.000.0003",
1793
+ error: "invalid.parameter",
1794
+ message: "Failed to validate 'type' parameter 'paramKey' - specificMessage"
1795
+ },
1796
+ {
1797
+ code: "011.000.0004",
1798
+ error: "invalid.body",
1799
+ message: "Detailed message"
1800
+ },
1801
+ {
1802
+ code: "011.000.0005",
1803
+ error: "payload.too.large",
1804
+ message: "Payload sent is too large. Maximum is {{maxSize}}"
1805
+ },
1806
+ {
1807
+ code: "011.000.0006",
1808
+ error: "not.implemented",
1809
+ message: "Feature not implemented"
1810
+ },
1811
+ {
1812
+ code: "011.000.0007",
1813
+ error: "empty.update",
1814
+ message: "Update with no changes attempted"
1815
+ },
1816
+ {
1817
+ code: "011.000.0008",
1818
+ error: "unsupported",
1819
+ message: "Unsupported: {{message}}"
1820
+ },
1821
+ {
1822
+ code: "011.001.0001",
1823
+ error: "unauthorized",
1824
+ message: "You're not authorized"
1825
+ },
1826
+ {
1827
+ code: "011.001.0002",
1828
+ error: "missing.auth.token",
1829
+ message: "Expected an authentication token that has not been provided"
1830
+ },
1831
+ {
1832
+ code: "011.001.0003",
1833
+ error: "wrong.auth.token",
1834
+ message: "Your authentication token is invalid"
1835
+ },
1836
+ {
1837
+ code: "011.001.0004",
1838
+ error: "insufficient.rights",
1839
+ message: "You have not enough rights to access/manipulate this resource"
1840
+ },
1841
+ {
1842
+ code: "011.023.0001",
1843
+ error: "search.invalid.filter",
1844
+ message: "The value of the filter property 'field' is invalid"
1785
1845
  }
1786
1846
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "22.18.0",
3
+ "version": "22.19.0",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",