@distilled.cloud/cloudflare 0.22.4 → 0.23.1

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.
@@ -4006,187 +4006,197 @@ export const QueryObservabilityTelemetryResponse =
4006
4006
  granularity: Schema.Number,
4007
4007
  query: Schema.Struct({
4008
4008
  id: Schema.String,
4009
- adhoc: Schema.Boolean,
4010
- created: Schema.String,
4011
- createdBy: Schema.String,
4012
- description: Schema.Union([Schema.String, Schema.Null]),
4013
- name: Schema.String,
4014
- parameters: Schema.Struct({
4015
- calculations: Schema.optional(Schema.Union([
4016
- Schema.Array(Schema.Struct({
4017
- operator: Schema.Union([
4018
- Schema.Literals([
4019
- "uniq",
4020
- "count",
4021
- "max",
4022
- "min",
4023
- "sum",
4024
- "avg",
4025
- "median",
4026
- "p001",
4027
- "p01",
4028
- "p05",
4029
- "p10",
4030
- "p25",
4031
- "p75",
4032
- "p90",
4033
- "p95",
4034
- "p99",
4035
- "p999",
4036
- "stddev",
4037
- "variance",
4038
- "COUNT_DISTINCT",
4039
- "COUNT",
4040
- "MAX",
4041
- "MIN",
4042
- "SUM",
4043
- "AVG",
4044
- "MEDIAN",
4045
- "P001",
4046
- "P01",
4047
- "P05",
4048
- "P10",
4049
- "P25",
4050
- "P75",
4051
- "P90",
4052
- "P95",
4053
- "P99",
4054
- "P999",
4055
- "STDDEV",
4056
- "VARIANCE",
4009
+ adhoc: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
4010
+ created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4011
+ createdBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4012
+ description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4013
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4014
+ parameters: Schema.optional(Schema.Union([
4015
+ Schema.Struct({
4016
+ calculations: Schema.optional(Schema.Union([
4017
+ Schema.Array(Schema.Struct({
4018
+ operator: Schema.Union([
4019
+ Schema.Literals([
4020
+ "uniq",
4021
+ "count",
4022
+ "max",
4023
+ "min",
4024
+ "sum",
4025
+ "avg",
4026
+ "median",
4027
+ "p001",
4028
+ "p01",
4029
+ "p05",
4030
+ "p10",
4031
+ "p25",
4032
+ "p75",
4033
+ "p90",
4034
+ "p95",
4035
+ "p99",
4036
+ "p999",
4037
+ "stddev",
4038
+ "variance",
4039
+ "COUNT_DISTINCT",
4040
+ "COUNT",
4041
+ "MAX",
4042
+ "MIN",
4043
+ "SUM",
4044
+ "AVG",
4045
+ "MEDIAN",
4046
+ "P001",
4047
+ "P01",
4048
+ "P05",
4049
+ "P10",
4050
+ "P25",
4051
+ "P75",
4052
+ "P90",
4053
+ "P95",
4054
+ "P99",
4055
+ "P999",
4056
+ "STDDEV",
4057
+ "VARIANCE",
4058
+ ]),
4059
+ Schema.String,
4057
4060
  ]),
4061
+ alias: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4062
+ key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4063
+ keyType: Schema.optional(Schema.Union([
4064
+ Schema.Union([
4065
+ Schema.Literals(["string", "number", "boolean"]),
4066
+ Schema.String,
4067
+ ]),
4068
+ Schema.Null,
4069
+ ])),
4070
+ })),
4071
+ Schema.Null,
4072
+ ])),
4073
+ datasets: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
4074
+ filterCombination: Schema.optional(Schema.Union([
4075
+ Schema.Union([
4076
+ Schema.Literals(["and", "or", "AND", "OR"]),
4058
4077
  Schema.String,
4059
4078
  ]),
4060
- alias: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4061
- key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4062
- keyType: Schema.optional(Schema.Union([
4063
- Schema.Union([
4064
- Schema.Literals(["string", "number", "boolean"]),
4065
- Schema.String,
4066
- ]),
4067
- Schema.Null,
4079
+ Schema.Null,
4080
+ ])),
4081
+ filters: Schema.optional(Schema.Union([
4082
+ Schema.Array(Schema.Union([
4083
+ Schema.Struct({
4084
+ filterCombination: Schema.Union([
4085
+ Schema.Literals(["and", "or", "AND", "OR"]),
4086
+ Schema.String,
4087
+ ]),
4088
+ filters: Schema.Array(Schema.Unknown),
4089
+ kind: Schema.Literal("group"),
4090
+ }),
4091
+ Schema.Struct({
4092
+ key: Schema.String,
4093
+ operation: Schema.Union([
4094
+ Schema.Literals([
4095
+ "includes",
4096
+ "not_includes",
4097
+ "starts_with",
4098
+ "ends_with",
4099
+ "regex",
4100
+ "exists",
4101
+ "is_null",
4102
+ "in",
4103
+ "not_in",
4104
+ "eq",
4105
+ "neq",
4106
+ "gt",
4107
+ "gte",
4108
+ "lt",
4109
+ "lte",
4110
+ "=",
4111
+ "!=",
4112
+ ">",
4113
+ ">=",
4114
+ "<",
4115
+ "<=",
4116
+ "INCLUDES",
4117
+ "DOES_NOT_INCLUDE",
4118
+ "MATCH_REGEX",
4119
+ "EXISTS",
4120
+ "DOES_NOT_EXIST",
4121
+ "IN",
4122
+ "NOT_IN",
4123
+ "STARTS_WITH",
4124
+ "ENDS_WITH",
4125
+ ]),
4126
+ Schema.String,
4127
+ ]),
4128
+ type: Schema.Union([
4129
+ Schema.Literals(["string", "number", "boolean"]),
4130
+ Schema.String,
4131
+ ]),
4132
+ kind: Schema.optional(Schema.Union([Schema.Literal("filter"), Schema.Null])),
4133
+ value: Schema.optional(Schema.Union([
4134
+ Schema.Union([
4135
+ Schema.String,
4136
+ Schema.Number,
4137
+ Schema.Boolean,
4138
+ ]),
4139
+ Schema.Null,
4140
+ ])),
4141
+ }),
4068
4142
  ])),
4069
- })),
4070
- Schema.Null,
4071
- ])),
4072
- datasets: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
4073
- filterCombination: Schema.optional(Schema.Union([
4074
- Schema.Union([
4075
- Schema.Literals(["and", "or", "AND", "OR"]),
4076
- Schema.String,
4077
- ]),
4078
- Schema.Null,
4079
- ])),
4080
- filters: Schema.optional(Schema.Union([
4081
- Schema.Array(Schema.Union([
4082
- Schema.Struct({
4083
- filterCombination: Schema.Union([
4084
- Schema.Literals(["and", "or", "AND", "OR"]),
4143
+ Schema.Null,
4144
+ ])),
4145
+ groupBys: Schema.optional(Schema.Union([
4146
+ Schema.Array(Schema.Struct({
4147
+ type: Schema.Union([
4148
+ Schema.Literals(["string", "number", "boolean"]),
4085
4149
  Schema.String,
4086
4150
  ]),
4087
- filters: Schema.Array(Schema.Unknown),
4088
- kind: Schema.Literal("group"),
4089
- }),
4090
- Schema.Struct({
4151
+ value: Schema.String,
4152
+ })),
4153
+ Schema.Null,
4154
+ ])),
4155
+ havings: Schema.optional(Schema.Union([
4156
+ Schema.Array(Schema.Struct({
4091
4157
  key: Schema.String,
4092
4158
  operation: Schema.Union([
4093
4159
  Schema.Literals([
4094
- "includes",
4095
- "not_includes",
4096
- "starts_with",
4097
- "ends_with",
4098
- "regex",
4099
- "exists",
4100
- "is_null",
4101
- "in",
4102
- "not_in",
4103
4160
  "eq",
4104
4161
  "neq",
4105
4162
  "gt",
4106
4163
  "gte",
4107
4164
  "lt",
4108
4165
  "lte",
4109
- "=",
4110
- "!=",
4111
- ">",
4112
- ">=",
4113
- "<",
4114
- "<=",
4115
- "INCLUDES",
4116
- "DOES_NOT_INCLUDE",
4117
- "MATCH_REGEX",
4118
- "EXISTS",
4119
- "DOES_NOT_EXIST",
4120
- "IN",
4121
- "NOT_IN",
4122
- "STARTS_WITH",
4123
- "ENDS_WITH",
4124
4166
  ]),
4125
4167
  Schema.String,
4126
4168
  ]),
4127
- type: Schema.Union([
4128
- Schema.Literals(["string", "number", "boolean"]),
4129
- Schema.String,
4130
- ]),
4131
- kind: Schema.optional(Schema.Union([Schema.Literal("filter"), Schema.Null])),
4132
- value: Schema.optional(Schema.Union([
4169
+ value: Schema.Number,
4170
+ })),
4171
+ Schema.Null,
4172
+ ])),
4173
+ limit: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4174
+ needle: Schema.optional(Schema.Union([
4175
+ Schema.Struct({
4176
+ value: Schema.Unknown,
4177
+ isRegex: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
4178
+ matchCase: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
4179
+ }),
4180
+ Schema.Null,
4181
+ ])),
4182
+ orderBy: Schema.optional(Schema.Union([
4183
+ Schema.Struct({
4184
+ value: Schema.String,
4185
+ order: Schema.optional(Schema.Union([
4133
4186
  Schema.Union([
4187
+ Schema.Literals(["asc", "desc"]),
4134
4188
  Schema.String,
4135
- Schema.Number,
4136
- Schema.Boolean,
4137
4189
  ]),
4138
4190
  Schema.Null,
4139
4191
  ])),
4140
4192
  }),
4193
+ Schema.Null,
4141
4194
  ])),
4142
- Schema.Null,
4143
- ])),
4144
- groupBys: Schema.optional(Schema.Union([
4145
- Schema.Array(Schema.Struct({
4146
- type: Schema.Union([
4147
- Schema.Literals(["string", "number", "boolean"]),
4148
- Schema.String,
4149
- ]),
4150
- value: Schema.String,
4151
- })),
4152
- Schema.Null,
4153
- ])),
4154
- havings: Schema.optional(Schema.Union([
4155
- Schema.Array(Schema.Struct({
4156
- key: Schema.String,
4157
- operation: Schema.Union([
4158
- Schema.Literals(["eq", "neq", "gt", "gte", "lt", "lte"]),
4159
- Schema.String,
4160
- ]),
4161
- value: Schema.Number,
4162
- })),
4163
- Schema.Null,
4164
- ])),
4165
- limit: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
4166
- needle: Schema.optional(Schema.Union([
4167
- Schema.Struct({
4168
- value: Schema.Unknown,
4169
- isRegex: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
4170
- matchCase: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
4171
- }),
4172
- Schema.Null,
4173
- ])),
4174
- orderBy: Schema.optional(Schema.Union([
4175
- Schema.Struct({
4176
- value: Schema.String,
4177
- order: Schema.optional(Schema.Union([
4178
- Schema.Union([
4179
- Schema.Literals(["asc", "desc"]),
4180
- Schema.String,
4181
- ]),
4182
- Schema.Null,
4183
- ])),
4184
- }),
4185
- Schema.Null,
4186
- ])),
4187
- }),
4188
- updated: Schema.String,
4189
- updatedBy: Schema.String,
4195
+ }),
4196
+ Schema.Null,
4197
+ ])),
4198
+ updated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4199
+ updatedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4190
4200
  }),
4191
4201
  status: Schema.Union([
4192
4202
  Schema.Literals(["STARTED", "COMPLETED"]),