@distilled.cloud/cloudflare 0.23.0 → 0.24.0
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/lib/services/workers.d.ts +9 -9
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +166 -156
- package/lib/services/workers.js.map +1 -1
- package/package.json +2 -2
- package/src/services/workers.ts +224 -208
package/lib/services/workers.js
CHANGED
|
@@ -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.
|
|
4015
|
-
|
|
4016
|
-
Schema.
|
|
4017
|
-
|
|
4018
|
-
Schema.
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
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
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
Schema.
|
|
4066
|
-
|
|
4067
|
-
|
|
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
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
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
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
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
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
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
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
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"]),
|