@distilled.cloud/cloudflare 0.24.6 → 0.24.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distilled.cloud/cloudflare",
3
- "version": "0.24.6",
3
+ "version": "0.24.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/alchemy-run/distilled",
@@ -63,7 +63,7 @@
63
63
  "specs:update": "git -C specs/cloudflare-typescript fetch && git -C specs/cloudflare-typescript checkout main && git -C specs/cloudflare-typescript pull"
64
64
  },
65
65
  "dependencies": {
66
- "@distilled.cloud/core": "0.24.6"
66
+ "@distilled.cloud/core": "0.24.7"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@effect/platform-node": ">=4.0.0-beta.66 || >=4.0.0",
@@ -3373,9 +3373,9 @@ export interface CreditBalanceBillingResponse {
3373
3373
  paymentMethod: { brand?: string | null; last4?: string | null } | null;
3374
3374
  topupConfig: {
3375
3375
  amount: number | null;
3376
- disabledReason: string | null;
3377
- error: string | null;
3378
- lastFailedAt: number | null;
3376
+ disabledReason?: string | null;
3377
+ error?: string | null;
3378
+ lastFailedAt?: number | null;
3379
3379
  threshold: number | null;
3380
3380
  };
3381
3381
  firstTopupSuccess?: boolean | null;
@@ -3394,9 +3394,11 @@ export const CreditBalanceBillingResponse =
3394
3394
  ]),
3395
3395
  topupConfig: Schema.Struct({
3396
3396
  amount: Schema.Union([Schema.Number, Schema.Null]),
3397
- disabledReason: Schema.Union([Schema.String, Schema.Null]),
3398
- error: Schema.Union([Schema.String, Schema.Null]),
3399
- lastFailedAt: Schema.Union([Schema.Number, Schema.Null]),
3397
+ disabledReason: Schema.optional(
3398
+ Schema.Union([Schema.String, Schema.Null]),
3399
+ ),
3400
+ error: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3401
+ lastFailedAt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3400
3402
  threshold: Schema.Union([Schema.Number, Schema.Null]),
3401
3403
  }),
3402
3404
  firstTopupSuccess: Schema.optional(