@leaflow/sdk 0.74.2 → 0.74.4

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.
@@ -1502,18 +1502,6 @@ export interface components {
1502
1502
  /** Format: int64 */
1503
1503
  status: number;
1504
1504
  };
1505
- /**
1506
- * @description Names in other languages, keyed by BCP 47 language tag. Where your locale is absent, use
1507
- * the plain `name`; there is no fallback between related tags.
1508
- */
1509
- Translations: {
1510
- [key: string]: string;
1511
- };
1512
- /**
1513
- * @description A decimal string, in the currency stated alongside it.
1514
- * @example 10.2500000000
1515
- */
1516
- Money: string;
1517
1505
  CatalogProduct: {
1518
1506
  /** Format: uuid */
1519
1507
  id: string;
@@ -3086,6 +3074,36 @@ export interface components {
3086
3074
  id: string;
3087
3075
  lookup_key?: string;
3088
3076
  };
3077
+ /**
3078
+ * @description Text in other languages, keyed by BCP 47 language tag (`zh-Hans`, `en`, `ja`).
3079
+ *
3080
+ * When your locale is absent, use the plain field next to this one. **There is no fallback
3081
+ * chain**: a missing `zh-Hans` does not fall back to `zh`.
3082
+ *
3083
+ * Resolving server-side by `Accept-Language` is deliberately not done — the public catalogue is
3084
+ * cached and served from a CDN, and one cache serves every language only if the response does
3085
+ * not depend on the request's language.
3086
+ * @example {
3087
+ * "ja": "クラウドサーバー",
3088
+ * "fr": "Serveur cloud"
3089
+ * }
3090
+ */
3091
+ Translations: {
3092
+ [key: string]: string;
3093
+ };
3094
+ /**
3095
+ * @description A decimal string, in the currency stated alongside it.
3096
+ *
3097
+ * **The currency is not part of this type.** It is carried by a `currency` field next to the
3098
+ * amount, or by the account the amount belongs to. Reading an amount without that field is
3099
+ * reading a number with no unit.
3100
+ *
3101
+ * It is a string rather than a JSON number because a JSON number is a float in most parsers,
3102
+ * and a float loses precision on the first arithmetic. Nothing on this platform puts an amount
3103
+ * through a float.
3104
+ * @example 10.2500000000
3105
+ */
3106
+ Money: string;
3089
3107
  };
3090
3108
  responses: {
3091
3109
  /** @description Unchanged since the `ETag` that was sent. No body. */
@@ -1596,7 +1596,9 @@ export interface components {
1596
1596
  total_count?: number;
1597
1597
  };
1598
1598
  RegionResource: {
1599
+ /** @description ISO 3166-1 alpha-2 country this region sits in. Two letters, uppercase. */
1599
1600
  country_code: string;
1601
+ /** @description Display name for this place, shown to tenants (Hong Kong). It is the translatable one; the stable handle is code. */
1600
1602
  name: string;
1601
1603
  /** @description The region's code, the way the outside world names this place (hk-1). Stable and human-written; it is not an identifier for addressing — every endpoint takes ids. */
1602
1604
  code: string;
@@ -1607,6 +1609,7 @@ export interface components {
1607
1609
  items: components["schemas"]["RegionResource"][] | null;
1608
1610
  };
1609
1611
  ZoneResource: {
1612
+ /** @description Display name for this zone, shown to tenants (Hong Kong A). It is the translatable one; the stable handle is code. AWS has no equivalent — what it calls an Availability Zone name is our code. */
1610
1613
  name: string;
1611
1614
  /** @description The zone's code within its region (hk-1-a). Stable and human-written; addressing is by id. */
1612
1615
  code: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.74.2",
3
+ "version": "0.74.4",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {