@lilbox/client 0.0.4 → 0.0.5

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/README.md CHANGED
@@ -187,6 +187,8 @@ Error codes. New codes may be added; existing ones never change meaning.
187
187
  | `payment_required` | The account must subscribe (trial ended, or the feature needs a paid plan). `checkout_url` when available |
188
188
  | `quota_exceeded` | A plan limit is used up this billing period. `meter`, `used`, `limit`, `resets_at` |
189
189
  | `rate_limited` | Too many requests from this credential or IP. `retry_after_seconds` |
190
+ | `terms_required` | The user hasn't accepted the Terms yet; a person accepts them in the dashboard |
191
+ | `reauth_required` | The action needs a sign-in in the last 15 minutes (dashboard only) |
190
192
  | `suspended` | lilbox suspended the app or account. `reason` |
191
193
  | `invalid_request` | The input failed validation. `issues`, each with a path |
192
194
  | `invalid_manifest` | `app.yaml` is invalid. `issues` |
package/dist/openapi.d.ts CHANGED
@@ -812,7 +812,7 @@ export interface components {
812
812
  };
813
813
  ApiError: {
814
814
  /** @enum {string} */
815
- code: "unauthenticated" | "forbidden_scope" | "approval_required" | "payment_required" | "quota_exceeded" | "rate_limited" | "suspended" | "invalid_request" | "invalid_manifest" | "not_found" | "conflict" | "not_available" | "plan_unavailable" | "source_too_large" | "build_failed" | "image_too_large" | "migration_failed" | "healthcheck_failed" | "app_crashed_on_start" | "deploy_timeout" | "capability_requires_plan" | "capability_unconfirmed" | "domain_unverified" | "cert_pending" | "db_quota_exceeded" | "internal";
815
+ code: "unauthenticated" | "forbidden_scope" | "approval_required" | "payment_required" | "quota_exceeded" | "rate_limited" | "terms_required" | "reauth_required" | "suspended" | "invalid_request" | "invalid_manifest" | "not_found" | "conflict" | "not_available" | "plan_unavailable" | "source_too_large" | "build_failed" | "image_too_large" | "migration_failed" | "healthcheck_failed" | "app_crashed_on_start" | "deploy_timeout" | "capability_requires_plan" | "capability_unconfirmed" | "domain_unverified" | "cert_pending" | "db_quota_exceeded" | "internal";
816
816
  /** @description What went wrong, for a human. */
817
817
  message: string;
818
818
  /** @description True if the same call may succeed later unchanged. */
@@ -928,7 +928,7 @@ export interface components {
928
928
  /** @enum {string} */
929
929
  result: "succeeded" | "failed";
930
930
  /** @enum {string} */
931
- error_code?: "unauthenticated" | "forbidden_scope" | "approval_required" | "payment_required" | "quota_exceeded" | "rate_limited" | "suspended" | "invalid_request" | "invalid_manifest" | "not_found" | "conflict" | "not_available" | "plan_unavailable" | "source_too_large" | "build_failed" | "image_too_large" | "migration_failed" | "healthcheck_failed" | "app_crashed_on_start" | "deploy_timeout" | "capability_requires_plan" | "capability_unconfirmed" | "domain_unverified" | "cert_pending" | "db_quota_exceeded" | "internal";
931
+ error_code?: "unauthenticated" | "forbidden_scope" | "approval_required" | "payment_required" | "quota_exceeded" | "rate_limited" | "terms_required" | "reauth_required" | "suspended" | "invalid_request" | "invalid_manifest" | "not_found" | "conflict" | "not_available" | "plan_unavailable" | "source_too_large" | "build_failed" | "image_too_large" | "migration_failed" | "healthcheck_failed" | "app_crashed_on_start" | "deploy_timeout" | "capability_requires_plan" | "capability_unconfirmed" | "domain_unverified" | "cert_pending" | "db_quota_exceeded" | "internal";
932
932
  request_id: string;
933
933
  ip?: string;
934
934
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilbox/client",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Typed HTTP client for the lilbox API, generated from @lilbox/contracts' OpenAPI document.",
5
5
  "license": "MIT",
6
6
  "type": "module",