@distilled.cloud/cloudflare 0.24.6 → 0.24.8

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.8",
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.8"
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(
@@ -3712,18 +3714,18 @@ export const GetBillingTopupConfigRequest =
3712
3714
 
3713
3715
  export interface GetBillingTopupConfigResponse {
3714
3716
  amount: number | null;
3715
- disabledReason: string | null;
3716
- error: string | null;
3717
- lastFailedAt: number | null;
3717
+ disabledReason?: string | null;
3718
+ error?: string | null;
3719
+ lastFailedAt?: number | null;
3718
3720
  threshold: number | null;
3719
3721
  }
3720
3722
 
3721
3723
  export const GetBillingTopupConfigResponse =
3722
3724
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3723
3725
  amount: Schema.Union([Schema.Number, Schema.Null]),
3724
- disabledReason: Schema.Union([Schema.String, Schema.Null]),
3725
- error: Schema.Union([Schema.String, Schema.Null]),
3726
- lastFailedAt: Schema.Union([Schema.Number, Schema.Null]),
3726
+ disabledReason: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3727
+ error: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3728
+ lastFailedAt: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3727
3729
  threshold: Schema.Union([Schema.Number, Schema.Null]),
3728
3730
  }).pipe(
3729
3731
  T.ResponsePath("result"),