@distilled.cloud/cloudflare 0.6.0 → 0.7.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.
Files changed (261) hide show
  1. package/lib/services/accounts.d.ts +901 -36
  2. package/lib/services/accounts.d.ts.map +1 -1
  3. package/lib/services/accounts.js +1386 -32
  4. package/lib/services/accounts.js.map +1 -1
  5. package/lib/services/addressing.d.ts +8 -2
  6. package/lib/services/addressing.d.ts.map +1 -1
  7. package/lib/services/addressing.js +14 -2
  8. package/lib/services/addressing.js.map +1 -1
  9. package/lib/services/ai-gateway.d.ts.map +1 -1
  10. package/lib/services/ai-gateway.js +7 -7
  11. package/lib/services/ai-gateway.js.map +1 -1
  12. package/lib/services/aisearch.d.ts.map +1 -1
  13. package/lib/services/aisearch.js +24 -9
  14. package/lib/services/aisearch.js.map +1 -1
  15. package/lib/services/alerting.js +2 -2
  16. package/lib/services/alerting.js.map +1 -1
  17. package/lib/services/api-gateway.d.ts +114 -16
  18. package/lib/services/api-gateway.d.ts.map +1 -1
  19. package/lib/services/api-gateway.js +187 -15
  20. package/lib/services/api-gateway.js.map +1 -1
  21. package/lib/services/audit-logs.d.ts +63 -3
  22. package/lib/services/audit-logs.d.ts.map +1 -1
  23. package/lib/services/audit-logs.js +62 -3
  24. package/lib/services/audit-logs.js.map +1 -1
  25. package/lib/services/bot-management.d.ts +54 -8
  26. package/lib/services/bot-management.d.ts.map +1 -1
  27. package/lib/services/bot-management.js +128 -16
  28. package/lib/services/bot-management.js.map +1 -1
  29. package/lib/services/brand-protection.d.ts.map +1 -1
  30. package/lib/services/brand-protection.js +26 -8
  31. package/lib/services/brand-protection.js.map +1 -1
  32. package/lib/services/browser-rendering.d.ts.map +1 -1
  33. package/lib/services/browser-rendering.js +13 -10
  34. package/lib/services/browser-rendering.js.map +1 -1
  35. package/lib/services/cloudforce-one.d.ts +61 -6
  36. package/lib/services/cloudforce-one.d.ts.map +1 -1
  37. package/lib/services/cloudforce-one.js +107 -6
  38. package/lib/services/cloudforce-one.js.map +1 -1
  39. package/lib/services/custom-certificates.d.ts +145 -8
  40. package/lib/services/custom-certificates.d.ts.map +1 -1
  41. package/lib/services/custom-certificates.js +226 -7
  42. package/lib/services/custom-certificates.js.map +1 -1
  43. package/lib/services/custom-hostnames.d.ts +8 -8
  44. package/lib/services/custom-hostnames.d.ts.map +1 -1
  45. package/lib/services/custom-hostnames.js +17 -14
  46. package/lib/services/custom-hostnames.js.map +1 -1
  47. package/lib/services/d1.d.ts +68 -8
  48. package/lib/services/d1.d.ts.map +1 -1
  49. package/lib/services/d1.js +96 -8
  50. package/lib/services/d1.js.map +1 -1
  51. package/lib/services/dns-firewall.d.ts +57 -4
  52. package/lib/services/dns-firewall.d.ts.map +1 -1
  53. package/lib/services/dns-firewall.js +86 -5
  54. package/lib/services/dns-firewall.js.map +1 -1
  55. package/lib/services/dns.d.ts +85 -745
  56. package/lib/services/dns.d.ts.map +1 -1
  57. package/lib/services/dns.js +118 -1424
  58. package/lib/services/dns.js.map +1 -1
  59. package/lib/services/email-routing.d.ts +59 -7
  60. package/lib/services/email-routing.d.ts.map +1 -1
  61. package/lib/services/email-routing.js +165 -7
  62. package/lib/services/email-routing.js.map +1 -1
  63. package/lib/services/firewall.d.ts +228 -39
  64. package/lib/services/firewall.d.ts.map +1 -1
  65. package/lib/services/firewall.js +220 -33
  66. package/lib/services/firewall.js.map +1 -1
  67. package/lib/services/healthchecks.d.ts +112 -6
  68. package/lib/services/healthchecks.d.ts.map +1 -1
  69. package/lib/services/healthchecks.js +248 -14
  70. package/lib/services/healthchecks.js.map +1 -1
  71. package/lib/services/hostnames.d.ts +5 -5
  72. package/lib/services/hostnames.d.ts.map +1 -1
  73. package/lib/services/hostnames.js +16 -4
  74. package/lib/services/hostnames.js.map +1 -1
  75. package/lib/services/hyperdrive.d.ts +223 -11
  76. package/lib/services/hyperdrive.d.ts.map +1 -1
  77. package/lib/services/hyperdrive.js +351 -11
  78. package/lib/services/hyperdrive.js.map +1 -1
  79. package/lib/services/iam.d.ts +62 -2
  80. package/lib/services/iam.d.ts.map +1 -1
  81. package/lib/services/iam.js +82 -11
  82. package/lib/services/iam.js.map +1 -1
  83. package/lib/services/images.d.ts +9 -1
  84. package/lib/services/images.d.ts.map +1 -1
  85. package/lib/services/images.js +12 -1
  86. package/lib/services/images.js.map +1 -1
  87. package/lib/services/intel.d.ts +4 -4
  88. package/lib/services/intel.d.ts.map +1 -1
  89. package/lib/services/intel.js +2 -3
  90. package/lib/services/intel.js.map +1 -1
  91. package/lib/services/kv.d.ts.map +1 -1
  92. package/lib/services/kv.js +2 -2
  93. package/lib/services/kv.js.map +1 -1
  94. package/lib/services/load-balancers.d.ts +537 -108
  95. package/lib/services/load-balancers.d.ts.map +1 -1
  96. package/lib/services/load-balancers.js +1266 -161
  97. package/lib/services/load-balancers.js.map +1 -1
  98. package/lib/services/logpush.d.ts +153 -9
  99. package/lib/services/logpush.d.ts.map +1 -1
  100. package/lib/services/logpush.js +246 -9
  101. package/lib/services/logpush.js.map +1 -1
  102. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  103. package/lib/services/magic-cloud-networking.js +54 -30
  104. package/lib/services/magic-cloud-networking.js.map +1 -1
  105. package/lib/services/magic-network-monitoring.d.ts +46 -5
  106. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  107. package/lib/services/magic-network-monitoring.js +79 -5
  108. package/lib/services/magic-network-monitoring.js.map +1 -1
  109. package/lib/services/magic-transit.d.ts +127 -21
  110. package/lib/services/magic-transit.d.ts.map +1 -1
  111. package/lib/services/magic-transit.js +291 -29
  112. package/lib/services/magic-transit.js.map +1 -1
  113. package/lib/services/memberships.d.ts +248 -52
  114. package/lib/services/memberships.d.ts.map +1 -1
  115. package/lib/services/memberships.js +360 -39
  116. package/lib/services/memberships.js.map +1 -1
  117. package/lib/services/page-rules.d.ts +432 -8
  118. package/lib/services/page-rules.d.ts.map +1 -1
  119. package/lib/services/page-rules.js +877 -33
  120. package/lib/services/page-rules.js.map +1 -1
  121. package/lib/services/pages.d.ts +457 -297
  122. package/lib/services/pages.d.ts.map +1 -1
  123. package/lib/services/pages.js +1366 -491
  124. package/lib/services/pages.js.map +1 -1
  125. package/lib/services/pipelines.d.ts +96 -76
  126. package/lib/services/pipelines.d.ts.map +1 -1
  127. package/lib/services/pipelines.js +145 -197
  128. package/lib/services/pipelines.js.map +1 -1
  129. package/lib/services/queues.d.ts +228 -12
  130. package/lib/services/queues.d.ts.map +1 -1
  131. package/lib/services/queues.js +487 -11
  132. package/lib/services/queues.js.map +1 -1
  133. package/lib/services/radar.d.ts +82 -18
  134. package/lib/services/radar.d.ts.map +1 -1
  135. package/lib/services/radar.js +111 -47
  136. package/lib/services/radar.js.map +1 -1
  137. package/lib/services/realtime-kit.d.ts +650 -334
  138. package/lib/services/realtime-kit.d.ts.map +1 -1
  139. package/lib/services/realtime-kit.js +1472 -693
  140. package/lib/services/realtime-kit.js.map +1 -1
  141. package/lib/services/request-tracers.d.ts +12 -1
  142. package/lib/services/request-tracers.d.ts.map +1 -1
  143. package/lib/services/request-tracers.js +28 -3
  144. package/lib/services/request-tracers.js.map +1 -1
  145. package/lib/services/rules.d.ts +65 -10
  146. package/lib/services/rules.d.ts.map +1 -1
  147. package/lib/services/rules.js +102 -8
  148. package/lib/services/rules.js.map +1 -1
  149. package/lib/services/rulesets.d.ts +7892 -1806
  150. package/lib/services/rulesets.d.ts.map +1 -1
  151. package/lib/services/rulesets.js +18720 -4149
  152. package/lib/services/rulesets.js.map +1 -1
  153. package/lib/services/rum.d.ts +45 -5
  154. package/lib/services/rum.d.ts.map +1 -1
  155. package/lib/services/rum.js +80 -4
  156. package/lib/services/rum.js.map +1 -1
  157. package/lib/services/schema-validation.js +2 -2
  158. package/lib/services/schema-validation.js.map +1 -1
  159. package/lib/services/spectrum.d.ts +139 -33
  160. package/lib/services/spectrum.d.ts.map +1 -1
  161. package/lib/services/spectrum.js +190 -34
  162. package/lib/services/spectrum.js.map +1 -1
  163. package/lib/services/speed.d.ts +345 -24
  164. package/lib/services/speed.d.ts.map +1 -1
  165. package/lib/services/speed.js +785 -19
  166. package/lib/services/speed.js.map +1 -1
  167. package/lib/services/ssl.d.ts +6 -6
  168. package/lib/services/ssl.d.ts.map +1 -1
  169. package/lib/services/ssl.js +5 -5
  170. package/lib/services/ssl.js.map +1 -1
  171. package/lib/services/stream.d.ts +171 -17
  172. package/lib/services/stream.d.ts.map +1 -1
  173. package/lib/services/stream.js +164 -11
  174. package/lib/services/stream.js.map +1 -1
  175. package/lib/services/token-validation.d.ts +16 -2
  176. package/lib/services/token-validation.d.ts.map +1 -1
  177. package/lib/services/token-validation.js +32 -2
  178. package/lib/services/token-validation.js.map +1 -1
  179. package/lib/services/url-scanner.d.ts +43 -11
  180. package/lib/services/url-scanner.d.ts.map +1 -1
  181. package/lib/services/url-scanner.js +46 -11
  182. package/lib/services/url-scanner.js.map +1 -1
  183. package/lib/services/user.d.ts +312 -21
  184. package/lib/services/user.d.ts.map +1 -1
  185. package/lib/services/user.js +442 -19
  186. package/lib/services/user.js.map +1 -1
  187. package/lib/services/workers-for-platforms.d.ts +223 -13
  188. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  189. package/lib/services/workers-for-platforms.js +481 -13
  190. package/lib/services/workers-for-platforms.js.map +1 -1
  191. package/lib/services/workers.d.ts +345 -31
  192. package/lib/services/workers.d.ts.map +1 -1
  193. package/lib/services/workers.js +649 -34
  194. package/lib/services/workers.js.map +1 -1
  195. package/lib/services/zaraz.d.ts +212 -11
  196. package/lib/services/zaraz.d.ts.map +1 -1
  197. package/lib/services/zaraz.js +311 -30
  198. package/lib/services/zaraz.js.map +1 -1
  199. package/lib/services/zero-trust.d.ts +19333 -1905
  200. package/lib/services/zero-trust.d.ts.map +1 -1
  201. package/lib/services/zero-trust.js +30269 -5710
  202. package/lib/services/zero-trust.js.map +1 -1
  203. package/lib/services/zones.d.ts +61 -7
  204. package/lib/services/zones.d.ts.map +1 -1
  205. package/lib/services/zones.js +188 -7
  206. package/lib/services/zones.js.map +1 -1
  207. package/package.json +2 -2
  208. package/src/services/accounts.ts +2897 -63
  209. package/src/services/addressing.ts +28 -4
  210. package/src/services/ai-gateway.ts +9 -7
  211. package/src/services/aisearch.ts +28 -9
  212. package/src/services/alerting.ts +2 -2
  213. package/src/services/api-gateway.ts +410 -27
  214. package/src/services/audit-logs.ts +135 -5
  215. package/src/services/bot-management.ts +282 -24
  216. package/src/services/brand-protection.ts +28 -8
  217. package/src/services/browser-rendering.ts +31 -11
  218. package/src/services/cloudforce-one.ts +201 -9
  219. package/src/services/custom-certificates.ts +405 -14
  220. package/src/services/custom-hostnames.ts +29 -22
  221. package/src/services/d1.ts +180 -12
  222. package/src/services/dns-firewall.ts +163 -7
  223. package/src/services/dns.ts +213 -2389
  224. package/src/services/email-routing.ts +346 -12
  225. package/src/services/firewall.ts +556 -72
  226. package/src/services/healthchecks.ts +463 -18
  227. package/src/services/hostnames.ts +21 -9
  228. package/src/services/hyperdrive.ts +730 -17
  229. package/src/services/iam.ts +228 -24
  230. package/src/services/images.ts +29 -2
  231. package/src/services/intel.ts +6 -5
  232. package/src/services/kv.ts +6 -2
  233. package/src/services/load-balancers.ts +2387 -294
  234. package/src/services/logpush.ts +659 -15
  235. package/src/services/magic-cloud-networking.ts +74 -30
  236. package/src/services/magic-network-monitoring.ts +170 -8
  237. package/src/services/magic-transit.ts +631 -62
  238. package/src/services/memberships.ts +710 -91
  239. package/src/services/page-rules.ts +1592 -88
  240. package/src/services/pages.ts +2011 -1098
  241. package/src/services/pipelines.ts +285 -331
  242. package/src/services/queues.ts +1110 -22
  243. package/src/services/radar.ts +128 -64
  244. package/src/services/realtime-kit.ts +2829 -1603
  245. package/src/services/request-tracers.ts +54 -4
  246. package/src/services/rules.ts +214 -18
  247. package/src/services/rulesets.ts +34524 -6913
  248. package/src/services/rum.ts +187 -9
  249. package/src/services/schema-validation.ts +2 -2
  250. package/src/services/spectrum.ts +357 -67
  251. package/src/services/speed.ts +1845 -42
  252. package/src/services/ssl.ts +11 -11
  253. package/src/services/stream.ts +397 -22
  254. package/src/services/token-validation.ts +64 -4
  255. package/src/services/url-scanner.ts +92 -20
  256. package/src/services/user.ts +973 -34
  257. package/src/services/workers-for-platforms.ts +1012 -39
  258. package/src/services/workers.ts +1472 -120
  259. package/src/services/zaraz.ts +640 -37
  260. package/src/services/zero-trust.ts +55498 -12667
  261. package/src/services/zones.ts +360 -14
@@ -991,8 +991,21 @@ export interface GetUserGroupResponse {
991
991
  | {
992
992
  id?: string | null;
993
993
  access?: "allow" | "deny" | null;
994
- permissionGroups?: { id: string }[] | null;
995
- resourceGroups?: { id: string }[] | null;
994
+ permissionGroups?:
995
+ | {
996
+ id: string;
997
+ meta?: { key?: string | null; value?: string | null } | null;
998
+ name?: string | null;
999
+ }[]
1000
+ | null;
1001
+ resourceGroups?:
1002
+ | {
1003
+ id: string;
1004
+ scope: unknown;
1005
+ meta?: { key?: string | null; value?: string | null } | null;
1006
+ name?: string | null;
1007
+ }[]
1008
+ | null;
996
1009
  }[]
997
1010
  | null;
998
1011
  }
@@ -1015,6 +1028,22 @@ export const GetUserGroupResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1015
1028
  Schema.Array(
1016
1029
  Schema.Struct({
1017
1030
  id: Schema.String,
1031
+ meta: Schema.optional(
1032
+ Schema.Union([
1033
+ Schema.Struct({
1034
+ key: Schema.optional(
1035
+ Schema.Union([Schema.String, Schema.Null]),
1036
+ ),
1037
+ value: Schema.optional(
1038
+ Schema.Union([Schema.String, Schema.Null]),
1039
+ ),
1040
+ }),
1041
+ Schema.Null,
1042
+ ]),
1043
+ ),
1044
+ name: Schema.optional(
1045
+ Schema.Union([Schema.String, Schema.Null]),
1046
+ ),
1018
1047
  }),
1019
1048
  ),
1020
1049
  Schema.Null,
@@ -1025,6 +1054,23 @@ export const GetUserGroupResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1025
1054
  Schema.Array(
1026
1055
  Schema.Struct({
1027
1056
  id: Schema.String,
1057
+ scope: Schema.Unknown,
1058
+ meta: Schema.optional(
1059
+ Schema.Union([
1060
+ Schema.Struct({
1061
+ key: Schema.optional(
1062
+ Schema.Union([Schema.String, Schema.Null]),
1063
+ ),
1064
+ value: Schema.optional(
1065
+ Schema.Union([Schema.String, Schema.Null]),
1066
+ ),
1067
+ }),
1068
+ Schema.Null,
1069
+ ]),
1070
+ ),
1071
+ name: Schema.optional(
1072
+ Schema.Union([Schema.String, Schema.Null]),
1073
+ ),
1028
1074
  }),
1029
1075
  ),
1030
1076
  Schema.Null,
@@ -1102,17 +1148,30 @@ export interface ListUserGroupsResponse {
1102
1148
  | {
1103
1149
  id?: string | null;
1104
1150
  access?: "allow" | "deny" | null;
1105
- permissionGroups?: { id: string }[] | null;
1106
- resourceGroups?: { id: string }[] | null;
1151
+ permissionGroups?:
1152
+ | {
1153
+ id: string;
1154
+ meta?: { key?: string | null; value?: string | null } | null;
1155
+ name?: string | null;
1156
+ }[]
1157
+ | null;
1158
+ resourceGroups?:
1159
+ | {
1160
+ id: string;
1161
+ scope: unknown;
1162
+ meta?: { key?: string | null; value?: string | null } | null;
1163
+ name?: string | null;
1164
+ }[]
1165
+ | null;
1107
1166
  }[]
1108
1167
  | null;
1109
1168
  }[];
1110
- resultInfo: {
1169
+ resultInfo?: {
1111
1170
  count?: number | null;
1112
1171
  page?: number | null;
1113
1172
  perPage?: number | null;
1114
1173
  totalCount?: number | null;
1115
- };
1174
+ } | null;
1116
1175
  }
1117
1176
 
1118
1177
  export const ListUserGroupsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
@@ -1139,6 +1198,22 @@ export const ListUserGroupsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
1139
1198
  Schema.Array(
1140
1199
  Schema.Struct({
1141
1200
  id: Schema.String,
1201
+ meta: Schema.optional(
1202
+ Schema.Union([
1203
+ Schema.Struct({
1204
+ key: Schema.optional(
1205
+ Schema.Union([Schema.String, Schema.Null]),
1206
+ ),
1207
+ value: Schema.optional(
1208
+ Schema.Union([Schema.String, Schema.Null]),
1209
+ ),
1210
+ }),
1211
+ Schema.Null,
1212
+ ]),
1213
+ ),
1214
+ name: Schema.optional(
1215
+ Schema.Union([Schema.String, Schema.Null]),
1216
+ ),
1142
1217
  }),
1143
1218
  ),
1144
1219
  Schema.Null,
@@ -1149,6 +1224,23 @@ export const ListUserGroupsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
1149
1224
  Schema.Array(
1150
1225
  Schema.Struct({
1151
1226
  id: Schema.String,
1227
+ scope: Schema.Unknown,
1228
+ meta: Schema.optional(
1229
+ Schema.Union([
1230
+ Schema.Struct({
1231
+ key: Schema.optional(
1232
+ Schema.Union([Schema.String, Schema.Null]),
1233
+ ),
1234
+ value: Schema.optional(
1235
+ Schema.Union([Schema.String, Schema.Null]),
1236
+ ),
1237
+ }),
1238
+ Schema.Null,
1239
+ ]),
1240
+ ),
1241
+ name: Schema.optional(
1242
+ Schema.Union([Schema.String, Schema.Null]),
1243
+ ),
1152
1244
  }),
1153
1245
  ),
1154
1246
  Schema.Null,
@@ -1176,18 +1268,25 @@ export const ListUserGroupsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
1176
1268
  }),
1177
1269
  ),
1178
1270
  ),
1179
- resultInfo: Schema.Struct({
1180
- count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1181
- page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1182
- perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1183
- totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1184
- }).pipe(
1185
- Schema.encodeKeys({
1186
- count: "count",
1187
- page: "page",
1188
- perPage: "per_page",
1189
- totalCount: "total_count",
1190
- }),
1271
+ resultInfo: Schema.optional(
1272
+ Schema.Union([
1273
+ Schema.Struct({
1274
+ count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1275
+ page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1276
+ perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1277
+ totalCount: Schema.optional(
1278
+ Schema.Union([Schema.Number, Schema.Null]),
1279
+ ),
1280
+ }).pipe(
1281
+ Schema.encodeKeys({
1282
+ count: "count",
1283
+ page: "page",
1284
+ perPage: "per_page",
1285
+ totalCount: "total_count",
1286
+ }),
1287
+ ),
1288
+ Schema.Null,
1289
+ ]),
1191
1290
  ),
1192
1291
  },
1193
1292
  ).pipe(
@@ -1219,8 +1318,21 @@ export const listUserGroups: API.PaginatedOperationMethod<
1219
1318
  | {
1220
1319
  id?: string | null;
1221
1320
  access?: "allow" | "deny" | null;
1222
- permissionGroups?: { id: string }[] | null;
1223
- resourceGroups?: { id: string }[] | null;
1321
+ permissionGroups?:
1322
+ | {
1323
+ id: string;
1324
+ meta?: { key?: string | null; value?: string | null } | null;
1325
+ name?: string | null;
1326
+ }[]
1327
+ | null;
1328
+ resourceGroups?:
1329
+ | {
1330
+ id: string;
1331
+ scope: { key: string; objects: { key: string }[] }[];
1332
+ meta?: { key?: string | null; value?: string | null } | null;
1333
+ name?: string | null;
1334
+ }[]
1335
+ | null;
1224
1336
  }[]
1225
1337
  | null;
1226
1338
  },
@@ -1297,8 +1409,21 @@ export interface CreateUserGroupResponse {
1297
1409
  | {
1298
1410
  id?: string | null;
1299
1411
  access?: "allow" | "deny" | null;
1300
- permissionGroups?: { id: string }[] | null;
1301
- resourceGroups?: { id: string }[] | null;
1412
+ permissionGroups?:
1413
+ | {
1414
+ id: string;
1415
+ meta?: { key?: string | null; value?: string | null } | null;
1416
+ name?: string | null;
1417
+ }[]
1418
+ | null;
1419
+ resourceGroups?:
1420
+ | {
1421
+ id: string;
1422
+ scope: unknown;
1423
+ meta?: { key?: string | null; value?: string | null } | null;
1424
+ name?: string | null;
1425
+ }[]
1426
+ | null;
1302
1427
  }[]
1303
1428
  | null;
1304
1429
  }
@@ -1322,6 +1447,22 @@ export const CreateUserGroupResponse =
1322
1447
  Schema.Array(
1323
1448
  Schema.Struct({
1324
1449
  id: Schema.String,
1450
+ meta: Schema.optional(
1451
+ Schema.Union([
1452
+ Schema.Struct({
1453
+ key: Schema.optional(
1454
+ Schema.Union([Schema.String, Schema.Null]),
1455
+ ),
1456
+ value: Schema.optional(
1457
+ Schema.Union([Schema.String, Schema.Null]),
1458
+ ),
1459
+ }),
1460
+ Schema.Null,
1461
+ ]),
1462
+ ),
1463
+ name: Schema.optional(
1464
+ Schema.Union([Schema.String, Schema.Null]),
1465
+ ),
1325
1466
  }),
1326
1467
  ),
1327
1468
  Schema.Null,
@@ -1332,6 +1473,23 @@ export const CreateUserGroupResponse =
1332
1473
  Schema.Array(
1333
1474
  Schema.Struct({
1334
1475
  id: Schema.String,
1476
+ scope: Schema.Unknown,
1477
+ meta: Schema.optional(
1478
+ Schema.Union([
1479
+ Schema.Struct({
1480
+ key: Schema.optional(
1481
+ Schema.Union([Schema.String, Schema.Null]),
1482
+ ),
1483
+ value: Schema.optional(
1484
+ Schema.Union([Schema.String, Schema.Null]),
1485
+ ),
1486
+ }),
1487
+ Schema.Null,
1488
+ ]),
1489
+ ),
1490
+ name: Schema.optional(
1491
+ Schema.Union([Schema.String, Schema.Null]),
1492
+ ),
1335
1493
  }),
1336
1494
  ),
1337
1495
  Schema.Null,
@@ -1443,8 +1601,21 @@ export interface UpdateUserGroupResponse {
1443
1601
  | {
1444
1602
  id?: string | null;
1445
1603
  access?: "allow" | "deny" | null;
1446
- permissionGroups?: { id: string }[] | null;
1447
- resourceGroups?: { id: string }[] | null;
1604
+ permissionGroups?:
1605
+ | {
1606
+ id: string;
1607
+ meta?: { key?: string | null; value?: string | null } | null;
1608
+ name?: string | null;
1609
+ }[]
1610
+ | null;
1611
+ resourceGroups?:
1612
+ | {
1613
+ id: string;
1614
+ scope: unknown;
1615
+ meta?: { key?: string | null; value?: string | null } | null;
1616
+ name?: string | null;
1617
+ }[]
1618
+ | null;
1448
1619
  }[]
1449
1620
  | null;
1450
1621
  }
@@ -1468,6 +1639,22 @@ export const UpdateUserGroupResponse =
1468
1639
  Schema.Array(
1469
1640
  Schema.Struct({
1470
1641
  id: Schema.String,
1642
+ meta: Schema.optional(
1643
+ Schema.Union([
1644
+ Schema.Struct({
1645
+ key: Schema.optional(
1646
+ Schema.Union([Schema.String, Schema.Null]),
1647
+ ),
1648
+ value: Schema.optional(
1649
+ Schema.Union([Schema.String, Schema.Null]),
1650
+ ),
1651
+ }),
1652
+ Schema.Null,
1653
+ ]),
1654
+ ),
1655
+ name: Schema.optional(
1656
+ Schema.Union([Schema.String, Schema.Null]),
1657
+ ),
1471
1658
  }),
1472
1659
  ),
1473
1660
  Schema.Null,
@@ -1478,6 +1665,23 @@ export const UpdateUserGroupResponse =
1478
1665
  Schema.Array(
1479
1666
  Schema.Struct({
1480
1667
  id: Schema.String,
1668
+ scope: Schema.Unknown,
1669
+ meta: Schema.optional(
1670
+ Schema.Union([
1671
+ Schema.Struct({
1672
+ key: Schema.optional(
1673
+ Schema.Union([Schema.String, Schema.Null]),
1674
+ ),
1675
+ value: Schema.optional(
1676
+ Schema.Union([Schema.String, Schema.Null]),
1677
+ ),
1678
+ }),
1679
+ Schema.Null,
1680
+ ]),
1681
+ ),
1682
+ name: Schema.optional(
1683
+ Schema.Union([Schema.String, Schema.Null]),
1684
+ ),
1481
1685
  }),
1482
1686
  ),
1483
1687
  Schema.Null,
@@ -1080,7 +1080,17 @@ export const ListV2sRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1080
1080
  export interface ListV2sResponse {
1081
1081
  /** Continuation token to fetch next page. Passed as a query param when requesting List V2 api endpoint. */
1082
1082
  continuationToken?: string | null;
1083
- images?: unknown[] | null;
1083
+ images?:
1084
+ | {
1085
+ id?: string | null;
1086
+ creator?: string | null;
1087
+ filename?: string | null;
1088
+ meta?: unknown | null;
1089
+ requireSignedURLs?: boolean | null;
1090
+ uploaded?: string | null;
1091
+ variants?: string[] | null;
1092
+ }[]
1093
+ | null;
1084
1094
  }
1085
1095
 
1086
1096
  export const ListV2sResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -1088,7 +1098,24 @@ export const ListV2sResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1088
1098
  Schema.Union([Schema.String, Schema.Null]),
1089
1099
  ),
1090
1100
  images: Schema.optional(
1091
- Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
1101
+ Schema.Union([
1102
+ Schema.Array(
1103
+ Schema.Struct({
1104
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1105
+ creator: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1106
+ filename: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1107
+ meta: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
1108
+ requireSignedURLs: Schema.optional(
1109
+ Schema.Union([Schema.Boolean, Schema.Null]),
1110
+ ),
1111
+ uploaded: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1112
+ variants: Schema.optional(
1113
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1114
+ ),
1115
+ }),
1116
+ ),
1117
+ Schema.Null,
1118
+ ]),
1092
1119
  ),
1093
1120
  })
1094
1121
  .pipe(
@@ -28,10 +28,11 @@ export const GetAsnRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
28
28
  T.Http({ method: "GET", path: "/accounts/{account_id}/intel/asn/{asn}" }),
29
29
  ) as unknown as Schema.Schema<GetAsnRequest>;
30
30
 
31
- export type GetAsnResponse = unknown;
31
+ export type GetAsnResponse = number;
32
32
 
33
- export const GetAsnResponse =
34
- /*@__PURE__*/ /*#__PURE__*/ Schema.Unknown as unknown as Schema.Schema<GetAsnResponse>;
33
+ export const GetAsnResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Number.pipe(
34
+ T.ResponsePath("result"),
35
+ ) as unknown as Schema.Schema<GetAsnResponse>;
35
36
 
36
37
  export type GetAsnError = DefaultErrors;
37
38
 
@@ -2069,10 +2070,10 @@ export const DataIndicatorFeedRequest =
2069
2070
  }),
2070
2071
  ) as unknown as Schema.Schema<DataIndicatorFeedRequest>;
2071
2072
 
2072
- export type DataIndicatorFeedResponse = unknown;
2073
+ export type DataIndicatorFeedResponse = string;
2073
2074
 
2074
2075
  export const DataIndicatorFeedResponse =
2075
- /*@__PURE__*/ /*#__PURE__*/ Schema.Unknown as unknown as Schema.Schema<DataIndicatorFeedResponse>;
2076
+ /*@__PURE__*/ /*#__PURE__*/ Schema.String as unknown as Schema.Schema<DataIndicatorFeedResponse>;
2076
2077
 
2077
2078
  export type DataIndicatorFeedError = DefaultErrors;
2078
2079
 
@@ -451,7 +451,9 @@ export type BulkGetNamespacesResponse = {
451
451
 
452
452
  export const BulkGetNamespacesResponse =
453
453
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
454
- values: Schema.optional(Schema.Union([Schema.Struct({}), Schema.Null])),
454
+ values: Schema.optional(
455
+ Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
456
+ ),
455
457
  }).pipe(
456
458
  T.ResponsePath("result"),
457
459
  ) as unknown as Schema.Schema<BulkGetNamespacesResponse>;
@@ -667,7 +669,9 @@ export type BulkGetNamespaceKeysResponse = {
667
669
 
668
670
  export const BulkGetNamespaceKeysResponse =
669
671
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
670
- values: Schema.optional(Schema.Union([Schema.Struct({}), Schema.Null])),
672
+ values: Schema.optional(
673
+ Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
674
+ ),
671
675
  }).pipe(
672
676
  T.ResponsePath("result"),
673
677
  ) as unknown as Schema.Schema<BulkGetNamespaceKeysResponse>;