@distilled.cloud/cloudflare 0.16.7 → 0.16.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.
@@ -3594,10 +3594,22 @@ export const PutScriptRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3594
3594
  })),
3595
3595
  Schema.Null,
3596
3596
  ])),
3597
+ traces: Schema.optional(Schema.Struct({
3598
+ enabled: Schema.Boolean,
3599
+ headSamplingRate: Schema.optional(Schema.Number),
3600
+ destinations: Schema.optional(Schema.Array(Schema.String)),
3601
+ persist: Schema.optional(Schema.Boolean),
3602
+ }).pipe(Schema.encodeKeys({
3603
+ enabled: "enabled",
3604
+ headSamplingRate: "head_sampling_rate",
3605
+ destinations: "destinations",
3606
+ persist: "persist",
3607
+ }))),
3597
3608
  }).pipe(Schema.encodeKeys({
3598
3609
  enabled: "enabled",
3599
3610
  headSamplingRate: "head_sampling_rate",
3600
3611
  logs: "logs",
3612
+ traces: "traces",
3601
3613
  }))),
3602
3614
  placement: Schema.optional(Schema.Union([
3603
3615
  Schema.Struct({
@@ -3693,10 +3705,25 @@ export const PutScriptResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3693
3705
  })),
3694
3706
  Schema.Null,
3695
3707
  ])),
3708
+ traces: Schema.optional(Schema.Union([
3709
+ Schema.Struct({
3710
+ enabled: Schema.Boolean,
3711
+ headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
3712
+ destinations: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
3713
+ persist: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
3714
+ }).pipe(Schema.encodeKeys({
3715
+ enabled: "enabled",
3716
+ headSamplingRate: "head_sampling_rate",
3717
+ destinations: "destinations",
3718
+ persist: "persist",
3719
+ })),
3720
+ Schema.Null,
3721
+ ])),
3696
3722
  }).pipe(Schema.encodeKeys({
3697
3723
  enabled: "enabled",
3698
3724
  headSamplingRate: "head_sampling_rate",
3699
3725
  logs: "logs",
3726
+ traces: "traces",
3700
3727
  })),
3701
3728
  Schema.Null,
3702
3729
  ])),
@@ -5081,10 +5108,25 @@ export const GetScriptScriptAndVersionSettingResponse =
5081
5108
  })),
5082
5109
  Schema.Null,
5083
5110
  ])),
5111
+ traces: Schema.optional(Schema.Union([
5112
+ Schema.Struct({
5113
+ enabled: Schema.Boolean,
5114
+ headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
5115
+ destinations: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
5116
+ persist: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
5117
+ }).pipe(Schema.encodeKeys({
5118
+ enabled: "enabled",
5119
+ headSamplingRate: "head_sampling_rate",
5120
+ destinations: "destinations",
5121
+ persist: "persist",
5122
+ })),
5123
+ Schema.Null,
5124
+ ])),
5084
5125
  }).pipe(Schema.encodeKeys({
5085
5126
  enabled: "enabled",
5086
5127
  headSamplingRate: "head_sampling_rate",
5087
5128
  logs: "logs",
5129
+ traces: "traces",
5088
5130
  })),
5089
5131
  Schema.Null,
5090
5132
  ])),
@@ -5962,10 +6004,25 @@ export const GetScriptSettingResponse =
5962
6004
  })),
5963
6005
  Schema.Null,
5964
6006
  ])),
6007
+ traces: Schema.optional(Schema.Union([
6008
+ Schema.Struct({
6009
+ enabled: Schema.Boolean,
6010
+ headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6011
+ destinations: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
6012
+ persist: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
6013
+ }).pipe(Schema.encodeKeys({
6014
+ enabled: "enabled",
6015
+ headSamplingRate: "head_sampling_rate",
6016
+ destinations: "destinations",
6017
+ persist: "persist",
6018
+ })),
6019
+ Schema.Null,
6020
+ ])),
5965
6021
  }).pipe(Schema.encodeKeys({
5966
6022
  enabled: "enabled",
5967
6023
  headSamplingRate: "head_sampling_rate",
5968
6024
  logs: "logs",
6025
+ traces: "traces",
5969
6026
  })),
5970
6027
  Schema.Null,
5971
6028
  ])),
@@ -6016,10 +6073,22 @@ export const PatchScriptSettingRequest =
6016
6073
  })),
6017
6074
  Schema.Null,
6018
6075
  ])),
6076
+ traces: Schema.optional(Schema.Struct({
6077
+ enabled: Schema.Boolean,
6078
+ headSamplingRate: Schema.optional(Schema.Number),
6079
+ destinations: Schema.optional(Schema.Array(Schema.String)),
6080
+ persist: Schema.optional(Schema.Boolean),
6081
+ }).pipe(Schema.encodeKeys({
6082
+ enabled: "enabled",
6083
+ headSamplingRate: "head_sampling_rate",
6084
+ destinations: "destinations",
6085
+ persist: "persist",
6086
+ }))),
6019
6087
  }).pipe(Schema.encodeKeys({
6020
6088
  enabled: "enabled",
6021
6089
  headSamplingRate: "head_sampling_rate",
6022
6090
  logs: "logs",
6091
+ traces: "traces",
6023
6092
  })),
6024
6093
  Schema.Null,
6025
6094
  ])),
@@ -6064,10 +6133,25 @@ export const PatchScriptSettingResponse =
6064
6133
  })),
6065
6134
  Schema.Null,
6066
6135
  ])),
6136
+ traces: Schema.optional(Schema.Union([
6137
+ Schema.Struct({
6138
+ enabled: Schema.Boolean,
6139
+ headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6140
+ destinations: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
6141
+ persist: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
6142
+ }).pipe(Schema.encodeKeys({
6143
+ enabled: "enabled",
6144
+ headSamplingRate: "head_sampling_rate",
6145
+ destinations: "destinations",
6146
+ persist: "persist",
6147
+ })),
6148
+ Schema.Null,
6149
+ ])),
6067
6150
  }).pipe(Schema.encodeKeys({
6068
6151
  enabled: "enabled",
6069
6152
  headSamplingRate: "head_sampling_rate",
6070
6153
  logs: "logs",
6154
+ traces: "traces",
6071
6155
  })),
6072
6156
  Schema.Null,
6073
6157
  ])),