@distilled.cloud/cloudflare 0.16.3 → 0.16.4
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/ai.js +25 -25
- package/lib/services/ai.js.map +1 -1
- package/lib/services/api-gateway.js +84 -84
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/connectivity.js +12 -12
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/dns.js +439 -439
- package/lib/services/dns.js.map +1 -1
- package/lib/services/firewall.js +76 -76
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/hyperdrive.js +26 -26
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/magic-cloud-networking.js +7 -7
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-transit.js +8 -8
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/pipelines.js +101 -101
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/radar.js +32 -32
- package/lib/services/radar.js.map +1 -1
- package/lib/services/realtime-kit.js +5 -5
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/rules.js +4 -4
- package/lib/services/rules.js.map +1 -1
- package/lib/services/token-validation.js +84 -84
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/workers-for-platforms.js +438 -438
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.js +1207 -1207
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.js +9 -9
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zero-trust.js +3979 -3979
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.js +50 -50
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/services/ai.ts +35 -35
- package/src/services/api-gateway.ts +130 -130
- package/src/services/connectivity.ts +12 -12
- package/src/services/dns.ts +523 -523
- package/src/services/firewall.ts +80 -80
- package/src/services/hyperdrive.ts +28 -28
- package/src/services/magic-cloud-networking.ts +8 -8
- package/src/services/magic-transit.ts +8 -8
- package/src/services/pipelines.ts +149 -149
- package/src/services/radar.ts +32 -32
- package/src/services/realtime-kit.ts +5 -5
- package/src/services/rules.ts +4 -4
- package/src/services/token-validation.ts +84 -84
- package/src/services/workers-for-platforms.ts +555 -555
- package/src/services/workers.ts +1524 -1524
- package/src/services/workflows.ts +9 -9
- package/src/services/zero-trust.ts +5599 -5599
- package/src/services/zones.ts +74 -74
|
@@ -420,6 +420,32 @@ export const GetSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
420
420
|
type: Schema.Literals(["r2", "r2_data_catalog"]),
|
|
421
421
|
config: Schema.optional(Schema.Union([
|
|
422
422
|
Schema.Union([
|
|
423
|
+
Schema.Struct({
|
|
424
|
+
token: Schema.String,
|
|
425
|
+
accountId: Schema.String,
|
|
426
|
+
bucket: Schema.String,
|
|
427
|
+
tableName: Schema.String,
|
|
428
|
+
namespace: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
429
|
+
rollingPolicy: Schema.optional(Schema.Union([
|
|
430
|
+
Schema.Struct({
|
|
431
|
+
fileSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
432
|
+
inactivitySeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
433
|
+
intervalSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
434
|
+
}).pipe(Schema.encodeKeys({
|
|
435
|
+
fileSizeBytes: "file_size_bytes",
|
|
436
|
+
inactivitySeconds: "inactivity_seconds",
|
|
437
|
+
intervalSeconds: "interval_seconds",
|
|
438
|
+
})),
|
|
439
|
+
Schema.Null,
|
|
440
|
+
])),
|
|
441
|
+
}).pipe(Schema.encodeKeys({
|
|
442
|
+
token: "token",
|
|
443
|
+
accountId: "account_id",
|
|
444
|
+
bucket: "bucket",
|
|
445
|
+
tableName: "table_name",
|
|
446
|
+
namespace: "namespace",
|
|
447
|
+
rollingPolicy: "rolling_policy",
|
|
448
|
+
})),
|
|
423
449
|
Schema.Struct({
|
|
424
450
|
accountId: Schema.String,
|
|
425
451
|
bucket: Schema.String,
|
|
@@ -471,32 +497,6 @@ export const GetSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
471
497
|
path: "path",
|
|
472
498
|
rollingPolicy: "rolling_policy",
|
|
473
499
|
})),
|
|
474
|
-
Schema.Struct({
|
|
475
|
-
token: Schema.String,
|
|
476
|
-
accountId: Schema.String,
|
|
477
|
-
bucket: Schema.String,
|
|
478
|
-
tableName: Schema.String,
|
|
479
|
-
namespace: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
480
|
-
rollingPolicy: Schema.optional(Schema.Union([
|
|
481
|
-
Schema.Struct({
|
|
482
|
-
fileSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
483
|
-
inactivitySeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
484
|
-
intervalSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
485
|
-
}).pipe(Schema.encodeKeys({
|
|
486
|
-
fileSizeBytes: "file_size_bytes",
|
|
487
|
-
inactivitySeconds: "inactivity_seconds",
|
|
488
|
-
intervalSeconds: "interval_seconds",
|
|
489
|
-
})),
|
|
490
|
-
Schema.Null,
|
|
491
|
-
])),
|
|
492
|
-
}).pipe(Schema.encodeKeys({
|
|
493
|
-
token: "token",
|
|
494
|
-
accountId: "account_id",
|
|
495
|
-
bucket: "bucket",
|
|
496
|
-
tableName: "table_name",
|
|
497
|
-
namespace: "namespace",
|
|
498
|
-
rollingPolicy: "rolling_policy",
|
|
499
|
-
})),
|
|
500
500
|
]),
|
|
501
501
|
Schema.Null,
|
|
502
502
|
])),
|
|
@@ -747,6 +747,32 @@ export const ListSinksResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
747
747
|
type: Schema.Literals(["r2", "r2_data_catalog"]),
|
|
748
748
|
config: Schema.optional(Schema.Union([
|
|
749
749
|
Schema.Union([
|
|
750
|
+
Schema.Struct({
|
|
751
|
+
token: Schema.String,
|
|
752
|
+
accountId: Schema.String,
|
|
753
|
+
bucket: Schema.String,
|
|
754
|
+
tableName: Schema.String,
|
|
755
|
+
namespace: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
756
|
+
rollingPolicy: Schema.optional(Schema.Union([
|
|
757
|
+
Schema.Struct({
|
|
758
|
+
fileSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
759
|
+
inactivitySeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
760
|
+
intervalSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
761
|
+
}).pipe(Schema.encodeKeys({
|
|
762
|
+
fileSizeBytes: "file_size_bytes",
|
|
763
|
+
inactivitySeconds: "inactivity_seconds",
|
|
764
|
+
intervalSeconds: "interval_seconds",
|
|
765
|
+
})),
|
|
766
|
+
Schema.Null,
|
|
767
|
+
])),
|
|
768
|
+
}).pipe(Schema.encodeKeys({
|
|
769
|
+
token: "token",
|
|
770
|
+
accountId: "account_id",
|
|
771
|
+
bucket: "bucket",
|
|
772
|
+
tableName: "table_name",
|
|
773
|
+
namespace: "namespace",
|
|
774
|
+
rollingPolicy: "rolling_policy",
|
|
775
|
+
})),
|
|
750
776
|
Schema.Struct({
|
|
751
777
|
accountId: Schema.String,
|
|
752
778
|
bucket: Schema.String,
|
|
@@ -798,32 +824,6 @@ export const ListSinksResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
798
824
|
path: "path",
|
|
799
825
|
rollingPolicy: "rolling_policy",
|
|
800
826
|
})),
|
|
801
|
-
Schema.Struct({
|
|
802
|
-
token: Schema.String,
|
|
803
|
-
accountId: Schema.String,
|
|
804
|
-
bucket: Schema.String,
|
|
805
|
-
tableName: Schema.String,
|
|
806
|
-
namespace: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
807
|
-
rollingPolicy: Schema.optional(Schema.Union([
|
|
808
|
-
Schema.Struct({
|
|
809
|
-
fileSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
810
|
-
inactivitySeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
811
|
-
intervalSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
812
|
-
}).pipe(Schema.encodeKeys({
|
|
813
|
-
fileSizeBytes: "file_size_bytes",
|
|
814
|
-
inactivitySeconds: "inactivity_seconds",
|
|
815
|
-
intervalSeconds: "interval_seconds",
|
|
816
|
-
})),
|
|
817
|
-
Schema.Null,
|
|
818
|
-
])),
|
|
819
|
-
}).pipe(Schema.encodeKeys({
|
|
820
|
-
token: "token",
|
|
821
|
-
accountId: "account_id",
|
|
822
|
-
bucket: "bucket",
|
|
823
|
-
tableName: "table_name",
|
|
824
|
-
namespace: "namespace",
|
|
825
|
-
rollingPolicy: "rolling_policy",
|
|
826
|
-
})),
|
|
827
827
|
]),
|
|
828
828
|
Schema.Null,
|
|
829
829
|
])),
|
|
@@ -1084,6 +1084,29 @@ export const CreateSinkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1084
1084
|
name: Schema.String,
|
|
1085
1085
|
type: Schema.Literals(["r2", "r2_data_catalog"]),
|
|
1086
1086
|
config: Schema.optional(Schema.Union([
|
|
1087
|
+
Schema.Struct({
|
|
1088
|
+
token: Schema.String,
|
|
1089
|
+
accountId: Schema.String,
|
|
1090
|
+
bucket: Schema.String,
|
|
1091
|
+
tableName: Schema.String,
|
|
1092
|
+
namespace: Schema.optional(Schema.String),
|
|
1093
|
+
rollingPolicy: Schema.optional(Schema.Struct({
|
|
1094
|
+
fileSizeBytes: Schema.optional(Schema.Number),
|
|
1095
|
+
inactivitySeconds: Schema.optional(Schema.Number),
|
|
1096
|
+
intervalSeconds: Schema.optional(Schema.Number),
|
|
1097
|
+
}).pipe(Schema.encodeKeys({
|
|
1098
|
+
fileSizeBytes: "file_size_bytes",
|
|
1099
|
+
inactivitySeconds: "inactivity_seconds",
|
|
1100
|
+
intervalSeconds: "interval_seconds",
|
|
1101
|
+
}))),
|
|
1102
|
+
}).pipe(Schema.encodeKeys({
|
|
1103
|
+
token: "token",
|
|
1104
|
+
accountId: "account_id",
|
|
1105
|
+
bucket: "bucket",
|
|
1106
|
+
tableName: "table_name",
|
|
1107
|
+
namespace: "namespace",
|
|
1108
|
+
rollingPolicy: "rolling_policy",
|
|
1109
|
+
})),
|
|
1087
1110
|
Schema.Struct({
|
|
1088
1111
|
accountId: Schema.String,
|
|
1089
1112
|
bucket: Schema.String,
|
|
@@ -1123,29 +1146,6 @@ export const CreateSinkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1123
1146
|
path: "path",
|
|
1124
1147
|
rollingPolicy: "rolling_policy",
|
|
1125
1148
|
})),
|
|
1126
|
-
Schema.Struct({
|
|
1127
|
-
token: Schema.String,
|
|
1128
|
-
accountId: Schema.String,
|
|
1129
|
-
bucket: Schema.String,
|
|
1130
|
-
tableName: Schema.String,
|
|
1131
|
-
namespace: Schema.optional(Schema.String),
|
|
1132
|
-
rollingPolicy: Schema.optional(Schema.Struct({
|
|
1133
|
-
fileSizeBytes: Schema.optional(Schema.Number),
|
|
1134
|
-
inactivitySeconds: Schema.optional(Schema.Number),
|
|
1135
|
-
intervalSeconds: Schema.optional(Schema.Number),
|
|
1136
|
-
}).pipe(Schema.encodeKeys({
|
|
1137
|
-
fileSizeBytes: "file_size_bytes",
|
|
1138
|
-
inactivitySeconds: "inactivity_seconds",
|
|
1139
|
-
intervalSeconds: "interval_seconds",
|
|
1140
|
-
}))),
|
|
1141
|
-
}).pipe(Schema.encodeKeys({
|
|
1142
|
-
token: "token",
|
|
1143
|
-
accountId: "account_id",
|
|
1144
|
-
bucket: "bucket",
|
|
1145
|
-
tableName: "table_name",
|
|
1146
|
-
namespace: "namespace",
|
|
1147
|
-
rollingPolicy: "rolling_policy",
|
|
1148
|
-
})),
|
|
1149
1149
|
])),
|
|
1150
1150
|
format: Schema.optional(Schema.Union([
|
|
1151
1151
|
Schema.Struct({
|
|
@@ -1338,6 +1338,32 @@ export const CreateSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1338
1338
|
type: Schema.Literals(["r2", "r2_data_catalog"]),
|
|
1339
1339
|
config: Schema.optional(Schema.Union([
|
|
1340
1340
|
Schema.Union([
|
|
1341
|
+
Schema.Struct({
|
|
1342
|
+
token: Schema.String,
|
|
1343
|
+
accountId: Schema.String,
|
|
1344
|
+
bucket: Schema.String,
|
|
1345
|
+
tableName: Schema.String,
|
|
1346
|
+
namespace: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1347
|
+
rollingPolicy: Schema.optional(Schema.Union([
|
|
1348
|
+
Schema.Struct({
|
|
1349
|
+
fileSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1350
|
+
inactivitySeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1351
|
+
intervalSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1352
|
+
}).pipe(Schema.encodeKeys({
|
|
1353
|
+
fileSizeBytes: "file_size_bytes",
|
|
1354
|
+
inactivitySeconds: "inactivity_seconds",
|
|
1355
|
+
intervalSeconds: "interval_seconds",
|
|
1356
|
+
})),
|
|
1357
|
+
Schema.Null,
|
|
1358
|
+
])),
|
|
1359
|
+
}).pipe(Schema.encodeKeys({
|
|
1360
|
+
token: "token",
|
|
1361
|
+
accountId: "account_id",
|
|
1362
|
+
bucket: "bucket",
|
|
1363
|
+
tableName: "table_name",
|
|
1364
|
+
namespace: "namespace",
|
|
1365
|
+
rollingPolicy: "rolling_policy",
|
|
1366
|
+
})),
|
|
1341
1367
|
Schema.Struct({
|
|
1342
1368
|
accountId: Schema.String,
|
|
1343
1369
|
bucket: Schema.String,
|
|
@@ -1389,32 +1415,6 @@ export const CreateSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1389
1415
|
path: "path",
|
|
1390
1416
|
rollingPolicy: "rolling_policy",
|
|
1391
1417
|
})),
|
|
1392
|
-
Schema.Struct({
|
|
1393
|
-
token: Schema.String,
|
|
1394
|
-
accountId: Schema.String,
|
|
1395
|
-
bucket: Schema.String,
|
|
1396
|
-
tableName: Schema.String,
|
|
1397
|
-
namespace: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1398
|
-
rollingPolicy: Schema.optional(Schema.Union([
|
|
1399
|
-
Schema.Struct({
|
|
1400
|
-
fileSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1401
|
-
inactivitySeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1402
|
-
intervalSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1403
|
-
}).pipe(Schema.encodeKeys({
|
|
1404
|
-
fileSizeBytes: "file_size_bytes",
|
|
1405
|
-
inactivitySeconds: "inactivity_seconds",
|
|
1406
|
-
intervalSeconds: "interval_seconds",
|
|
1407
|
-
})),
|
|
1408
|
-
Schema.Null,
|
|
1409
|
-
])),
|
|
1410
|
-
}).pipe(Schema.encodeKeys({
|
|
1411
|
-
token: "token",
|
|
1412
|
-
accountId: "account_id",
|
|
1413
|
-
bucket: "bucket",
|
|
1414
|
-
tableName: "table_name",
|
|
1415
|
-
namespace: "namespace",
|
|
1416
|
-
rollingPolicy: "rolling_policy",
|
|
1417
|
-
})),
|
|
1418
1418
|
]),
|
|
1419
1419
|
Schema.Null,
|
|
1420
1420
|
])),
|